@fluid-topics/ft-reader-toc 1.1.4 → 1.1.5

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,7 +12,7 @@
12
12
  * subject to an additional IP rights grant found at
13
13
  * http://polymer.github.io/PATENTS.txt
14
14
  */
15
- if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){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(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);h(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let p=o.call(i,t);p||(p=f(t),e.call(i,t,p)),this===window.customElements&&(a.set(r,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let i=this._awaitingUpgrade.get(e);i||this._awaitingUpgrade.set(e,i=new Set),o?i.add(t):i.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let e=t.getRootNode();if(!c(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},f=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const i=p(o)||window.customElements,r=i._getDefinition(e);return r?u(o,r):n.set(o,i),o}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,e,o)=>{if(0===e.size||void 0===o)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r),o.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);r.call(this,i),o.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const e=this.getAttribute(r);o.call(this,r,t,e)}else n.call(this,r,i)})},d=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):d(o)},u=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const b=(t,e,o=void 0)=>{const i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=i.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const i=e.call(this,...o);return t.set(i,this),i},o.forEach((e=>{const o=window.ElementInternals.prototype,i=o[e];o[e]=function(...e){const o=t.get(this);if(!0===r.get(o).formAssociated)return i?.call(this,...e);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,o)=>{const i=t.getAttribute("name"),r=e.get(i)||[];this[+o]=t,r.push(t),e.set(i,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=r.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(Qi){const t=window.customElements.define;window.customElements.define=(e,o,i)=>{if(null!==o)try{t.bind(window.customElements)(e,o,i)}catch(t){console.info(e,o,i,t)}}}
15
+ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,i=window.customElements,r=new WeakMap,n=new WeakMap,a=new WeakMap,s=new WeakMap;let l;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(t,r){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(r))throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");const s=r.prototype.attributeChangedCallback,l=new Set(r.observedAttributes||[]);h(r,l,s);const c={elementClass:r,connectedCallback:r.prototype.connectedCallback,disconnectedCallback:r.prototype.disconnectedCallback,adoptedCallback:r.prototype.adoptedCallback,attributeChangedCallback:s,formAssociated:r.formAssociated,formAssociatedCallback:r.prototype.formAssociatedCallback,formDisabledCallback:r.prototype.formDisabledCallback,formResetCallback:r.prototype.formResetCallback,formStateRestoreCallback:r.prototype.formStateRestoreCallback,observedAttributes:l};this._definitionsByTag.set(t,c),this._definitionsByClass.set(r,c);let p=o.call(i,t);p||(p=f(t),e.call(i,t,p)),this===window.customElements&&(a.set(r,c),c.standInClass=p);const d=this._awaitingUpgrade.get(t);if(d){this._awaitingUpgrade.delete(t);for(const t of d)n.delete(t),u(t,c,!0)}const y=this._whenDefinedPromises.get(t);return void 0!==y&&(y.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){g.push(this),i.upgrade.apply(i,arguments),g.pop()}get(t){const e=this._definitionsByTag.get(t);return e?.elementClass}_getDefinition(t){return this._definitionsByTag.get(t)}whenDefined(t){const e=this._getDefinition(t);if(void 0!==e)return Promise.resolve(e.elementClass);let o=this._whenDefinedPromises.get(t);return void 0===o&&(o={},o.promise=new Promise((t=>o.resolve=t)),this._whenDefinedPromises.set(t,o)),o.promise}_upgradeWhenDefined(t,e,o){let i=this._awaitingUpgrade.get(e);i||this._awaitingUpgrade.set(e,i=new Set),o?i.add(t):i.delete(t)}},window.HTMLElement=function(){let e=l;if(e)return l=void 0,e;const o=a.get(this.constructor);if(!o)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return e=Reflect.construct(t,[],o.standInClass),Object.setPrototypeOf(e,this.constructor.prototype),r.set(e,o),e},window.HTMLElement.prototype=t.prototype;const c=t=>t===document||t instanceof ShadowRoot,p=t=>{let e=t.getRootNode();if(!c(e)){const t=g[g.length-1];if(t instanceof CustomElementRegistry)return t;e=t.getRootNode(),c(e)||(e=s.get(e)?.getRootNode()||document)}return e.customElements},f=e=>class{static get formAssociated(){return!0}constructor(){const o=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(o,HTMLElement.prototype);const i=p(o)||window.customElements,r=i._getDefinition(e);return r?u(o,r):n.set(o,i),o}connectedCallback(){const t=r.get(this);t?t.connectedCallback&&t.connectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!0)}disconnectedCallback(){const t=r.get(this);t?t.disconnectedCallback&&t.disconnectedCallback.apply(this,arguments):n.get(this)._upgradeWhenDefined(this,e,!1)}adoptedCallback(){const t=r.get(this);t?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){const t=r.get(this);t&&t.formAssociated&&t?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){const t=r.get(this);t?.formAssociated&&t?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){const t=r.get(this);t?.formAssociated&&t?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){const t=r.get(this);t?.formAssociated&&t?.formStateRestoreCallback?.apply(this,arguments)}},h=(t,e,o)=>{if(0===e.size||void 0===o)return;const i=t.prototype.setAttribute;i&&(t.prototype.setAttribute=function(t,r){const n=t.toLowerCase();if(e.has(n)){const t=this.getAttribute(n);i.call(this,n,r),o.call(this,n,t,r)}else i.call(this,n,r)});const r=t.prototype.removeAttribute;r&&(t.prototype.removeAttribute=function(t){const i=t.toLowerCase();if(e.has(i)){const t=this.getAttribute(i);r.call(this,i),o.call(this,i,t,null)}else r.call(this,i)});const n=t.prototype.toggleAttribute;n&&(t.prototype.toggleAttribute=function(t,i){const r=t.toLowerCase();if(e.has(r)){const t=this.getAttribute(r);n.call(this,r,i);const e=this.getAttribute(r);o.call(this,r,t,e)}else n.call(this,r,i)})},d=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):d(o)},u=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){d(e.elementClass),new e.elementClass}e.attributeChangedCallback&&e.observedAttributes.forEach((o=>{t.hasAttribute(o)&&e.attributeChangedCallback.call(t,o,null,t.getAttribute(o))})),o&&e.connectedCallback&&t.isConnected&&e.connectedCallback.call(t)},y=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=y.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let g=[document];const b=(t,e,o=void 0)=>{const i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){g.push(this);const t=i.apply(o||this,arguments);return void 0!==t&&s.set(t,this),g.pop(),t}};b(ShadowRoot,"createElement",document),b(ShadowRoot,"importNode",document),b(Element,"insertAdjacentHTML");const m=(t,e)=>{const o=Object.getOwnPropertyDescriptor(t.prototype,e);Object.defineProperty(t.prototype,e,{...o,set(t){g.push(this),o.set.call(this,t),g.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,e=HTMLElement.prototype.attachInternals,o=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...o){const i=e.call(this,...o);return t.set(i,this),i},o.forEach((e=>{const o=window.ElementInternals.prototype,i=o[e];o[e]=function(...e){const o=t.get(this);if(!0===r.get(o).formAssociated)return i?.call(this,...e);throw new DOMException(`Failed to execute ${i} on 'ElementInternals': The target element is not a form-associated custom element.`)}}));class i extends Array{constructor(t){super(...t),this._elements=t}get value(){return this._elements.find((t=>!0===t.checked))?.value||""}}class n{constructor(t){const e=new Map;t.forEach(((t,o)=>{const i=t.getAttribute("name"),r=e.get(i)||[];this[+o]=t,r.push(t),e.set(i,r)})),this.length=t.length,e.forEach(((t,e)=>{t&&(1===t.length?this[e]=t[0]:this[e]=new i(t))}))}namedItem(t){return this[t]}}const a=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){const t=a.get.call(this,[]),e=[];for(const o of t){const t=r.get(o);t&&!0!==t.formAssociated||e.push(o)}return new n(e)}})}}try{window.customElements.define("custom-element",null)}catch(tr){const t=window.customElements.define;window.customElements.define=(e,o,i)=>{if(null!==o)try{t.bind(window.customElements)(e,o,i)}catch(t){console.info(e,o,i,t)}}}
16
16
  /**
17
17
  * @license
18
18
  * Copyright 2019 Google LLC
@@ -38,54 +38,59 @@ const S={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:x},N=(t=S,e,
38
38
  * @license
39
39
  * Copyright 2017 Google LLC
40
40
  * SPDX-License-Identifier: BSD-3-Clause
41
- */const $=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,o)
41
+ */function $(t){return(e,o)=>{const i="function"==typeof e?e:e[o];Object.assign(i,t)}}
42
42
  /**
43
43
  * @license
44
44
  * Copyright 2017 Google LLC
45
45
  * SPDX-License-Identifier: BSD-3-Clause
46
- */;function E(t,e){return(o,i,r)=>{const n=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof i?o:r??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return $(0,0,{get(){let o=t.call(this);return void 0===o&&(o=n(this),(null!==o||this.hasUpdated)&&e.call(this,o)),o}})}return $(0,0,{get(){return n(this)}})}}
46
+ */const E=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,o)
47
47
  /**
48
48
  * @license
49
49
  * Copyright 2017 Google LLC
50
50
  * SPDX-License-Identifier: BSD-3-Clause
51
- */class R{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}function k(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var o,i,r;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(i=o;0!=i--;)if(!k(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!k(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((o=(r=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(i=o;0!=i--;)if(!Object.prototype.hasOwnProperty.call(e,r[i]))return!1;for(i=o;0!=i--;){var n=r[i];if(!k(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const U=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function I(t,e){const o=()=>JSON.parse(JSON.stringify(t));return w({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!k(t,e),...null!=e?e:{}})}
51
+ */;function R(t,e){return(o,i,r)=>{const n=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof i?o:r??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return E(0,0,{get(){let o=t.call(this);return void 0===o&&(o=n(this),(null!==o||this.hasUpdated)&&e.call(this,o)),o}})}return E(0,0,{get(){return n(this)}})}}
52
52
  /**
53
53
  * @license
54
54
  * Copyright 2017 Google LLC
55
55
  * SPDX-License-Identifier: BSD-3-Clause
56
- */const L=globalThis,W=L.trustedTypes,z=W?W.createPolicy("lit-html",{createHTML:t=>t}):void 0,K="$lit$",F=`lit$${(Math.random()+"").slice(9)}$`,A="?"+F,Z=`<${A}>`,B=document,M=()=>B.createComment(""),D=t=>null===t||"object"!=typeof t&&"function"!=typeof t,P=Array.isArray,H=t=>P(t)||"function"==typeof t?.[Symbol.iterator],T="[ \t\n\f\r]",j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_=/-->/g,G=/>/g,V=RegExp(`>|${T}(?:([^\\s"'>=/]+)(${T}*=${T}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Y=/'/g,X=/"/g,J=/^(?:script|style|textarea|title)$/i,q=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),Q=Symbol.for("lit-noChange"),tt=Symbol.for("lit-nothing"),et=new WeakMap,ot=B.createTreeWalker(B,129);function it(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==z?z.createHTML(e):e}const rt=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=j;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,p=0;for(;p<o.length&&(a.lastIndex=p,l=a.exec(o),null!==l);)p=a.lastIndex,a===j?"!--"===l[1]?a=_:void 0!==l[1]?a=G:void 0!==l[2]?(J.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=V):void 0!==l[3]&&(a=V):a===V?">"===l[0]?(a=r??j,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?V:'"'===l[3]?X:Y):a===X||a===Y?a=V:a===_||a===G?a=j:(a=V,r=void 0);const f=a===V&&t[e+1].startsWith("/>")?" ":"";n+=a===j?o+Z:c>=0?(i.push(s),o.slice(0,c)+K+o.slice(c)+F+f):o+F+(-2===c?e:f)}return[it(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};let nt=class t{constructor({strings:e,_$litType$:o},i){let r;this.parts=[];let n=0,a=0;const s=e.length-1,l=this.parts,[c,p]=rt(e,o);if(this.el=t.createElement(c,i),ot.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=ot.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(K)){const e=p[a++],o=r.getAttribute(t).split(F),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:o,ctor:"."===i[1]?pt:"?"===i[1]?ft:"@"===i[1]?ht:ct}),r.removeAttribute(t)}else t.startsWith(F)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(J.test(r.tagName)){const t=r.textContent.split(F),e=t.length-1;if(e>0){r.textContent=W?W.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],M()),ot.nextNode(),l.push({type:2,index:++n});r.append(t[e],M())}}}else if(8===r.nodeType)if(r.data===A)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(F,t+1));)l.push({type:7,index:n}),t+=F.length-1}n++}}static createElement(t,e){const o=B.createElement("template");return o.innerHTML=t,o}};function at(t,e,o=t,i){if(e===Q)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=D(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=at(t,r._$AS(t,e.values),r,i)),e}let st=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,i=(t?.creationScope??B).importNode(e,!0);ot.currentNode=i;let r=ot.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new lt(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new dt(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=ot.nextNode(),n++)}return ot.currentNode=B,i}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},lt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=tt,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=at(this,t,e),D(t)?t===tt||null==t||""===t?(this._$AH!==tt&&this._$AR(),this._$AH=tt):t!==this._$AH&&t!==Q&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):H(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==tt&&D(this._$AH)?this._$AA.nextSibling.data=t:this.$(B.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=nt.createElement(it(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new st(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=et.get(t.strings);return void 0===e&&et.set(t.strings,e=new nt(t)),e}T(e){P(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let i,r=0;for(const n of e)r===o.length?o.push(i=new t(this.k(M()),this.k(M()),this,this.options)):i=o[r],i._$AI(n),r++;r<o.length&&(this._$AR(i&&i._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},ct=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=tt,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=tt}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=at(this,t,e,0),n=!D(t)||t!==this._$AH&&t!==Q,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=at(this,i[o+a],e,a),s===Q&&(s=this._$AH[a]),n||=!D(s)||s!==this._$AH[a],s===tt?t=tt:t!==tt&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===tt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},pt=class extends ct{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===tt?void 0:t}},ft=class extends ct{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==tt)}},ht=class extends ct{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=at(this,t,e,0)??tt)===Q)return;const o=this._$AH,i=t===tt&&o!==tt||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==tt&&(o===tt||i);i&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},dt=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){at(this,t)}};const ut={j:K,P:F,A,C:1,M:rt,L:st,R:H,V:at,D:lt,I:ct,H:ft,N:ht,U:pt,B:dt},yt=L.litHtmlPolyfillSupport;yt?.(nt,lt),(L.litHtmlVersions??=[]).push("3.1.0");
56
+ */class k{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,e){return this.callbacks=[t],this.debounce(e)}queue(t,e){return this.callbacks.push(t),this.debounce(e)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return null==this.promise&&(this.promise=new Promise(((t,e)=>{this.resolvePromise=t,this.rejectPromise=e}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,e;const o=[...this.callbacks];this.callbacks=[];const i=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,r=null!==(e=this.resolvePromise)&&void 0!==e?e:()=>null;this.clearPromise();for(let t of o)try{await t()}catch(t){return void i(t)}r(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}function U(t,e){try{return function(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){if(t.constructor!==e.constructor)return!1;var o,i,r;if(Array.isArray(t)){if((o=t.length)!=e.length)return!1;for(i=o;0!=i--;)if(!U(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!U(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if((o=(r=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(i=o;0!=i--;)if(!Object.prototype.hasOwnProperty.call(e,r[i]))return!1;for(i=o;0!=i--;){var n=r[i];if(!U(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}const I=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function L(t,e){const o=()=>JSON.parse(JSON.stringify(t));return w({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!U(t,e),...null!=e?e:{}})}
57
+ /**
58
+ * @license
59
+ * Copyright 2017 Google LLC
60
+ * SPDX-License-Identifier: BSD-3-Clause
61
+ */const W=globalThis,z=W.trustedTypes,K=z?z.createPolicy("lit-html",{createHTML:t=>t}):void 0,F="$lit$",A=`lit$${(Math.random()+"").slice(9)}$`,Z="?"+A,B=`<${Z}>`,M=document,D=()=>M.createComment(""),P=t=>null===t||"object"!=typeof t&&"function"!=typeof t,H=Array.isArray,T=t=>H(t)||"function"==typeof t?.[Symbol.iterator],j="[ \t\n\f\r]",_=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,G=/-->/g,V=/>/g,Y=RegExp(`>|${j}(?:([^\\s"'>=/]+)(${j}*=${j}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),X=/'/g,J=/"/g,q=/^(?:script|style|textarea|title)$/i,Q=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),tt=Symbol.for("lit-noChange"),et=Symbol.for("lit-nothing"),ot=new WeakMap,it=M.createTreeWalker(M,129);function rt(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==K?K.createHTML(e):e}const nt=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=_;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,p=0;for(;p<o.length&&(a.lastIndex=p,l=a.exec(o),null!==l);)p=a.lastIndex,a===_?"!--"===l[1]?a=G:void 0!==l[1]?a=V:void 0!==l[2]?(q.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=Y):void 0!==l[3]&&(a=Y):a===Y?">"===l[0]?(a=r??_,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?Y:'"'===l[3]?J:X):a===J||a===X?a=Y:a===G||a===V?a=_:(a=Y,r=void 0);const f=a===Y&&t[e+1].startsWith("/>")?" ":"";n+=a===_?o+B:c>=0?(i.push(s),o.slice(0,c)+F+o.slice(c)+A+f):o+A+(-2===c?e:f)}return[rt(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};let at=class t{constructor({strings:e,_$litType$:o},i){let r;this.parts=[];let n=0,a=0;const s=e.length-1,l=this.parts,[c,p]=nt(e,o);if(this.el=t.createElement(c,i),it.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=it.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(F)){const e=p[a++],o=r.getAttribute(t).split(A),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:o,ctor:"."===i[1]?ft:"?"===i[1]?ht:"@"===i[1]?dt:pt}),r.removeAttribute(t)}else t.startsWith(A)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(q.test(r.tagName)){const t=r.textContent.split(A),e=t.length-1;if(e>0){r.textContent=z?z.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],D()),it.nextNode(),l.push({type:2,index:++n});r.append(t[e],D())}}}else if(8===r.nodeType)if(r.data===Z)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(A,t+1));)l.push({type:7,index:n}),t+=A.length-1}n++}}static createElement(t,e){const o=M.createElement("template");return o.innerHTML=t,o}};function st(t,e,o=t,i){if(e===tt)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=P(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=st(t,r._$AS(t,e.values),r,i)),e}let lt=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,i=(t?.creationScope??M).importNode(e,!0);it.currentNode=i;let r=it.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new ct(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new ut(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=it.nextNode(),n++)}return it.currentNode=M,i}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},ct=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=et,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=st(this,t,e),P(t)?t===et||null==t||""===t?(this._$AH!==et&&this._$AR(),this._$AH=et):t!==this._$AH&&t!==tt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):T(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==et&&P(this._$AH)?this._$AA.nextSibling.data=t:this.$(M.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=at.createElement(rt(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new lt(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=ot.get(t.strings);return void 0===e&&ot.set(t.strings,e=new at(t)),e}T(e){H(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let i,r=0;for(const n of e)r===o.length?o.push(i=new t(this.k(D()),this.k(D()),this,this.options)):i=o[r],i._$AI(n),r++;r<o.length&&(this._$AR(i&&i._$AB.nextSibling,r),o.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}},pt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=et,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=et}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=st(this,t,e,0),n=!P(t)||t!==this._$AH&&t!==tt,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=st(this,i[o+a],e,a),s===tt&&(s=this._$AH[a]),n||=!P(s)||s!==this._$AH[a],s===et?t=et:t!==et&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===et?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ft=class extends pt{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===et?void 0:t}},ht=class extends pt{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==et)}},dt=class extends pt{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=st(this,t,e,0)??et)===tt)return;const o=this._$AH,i=t===et&&o!==et||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==et&&(o===et||i);i&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},ut=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){st(this,t)}};const yt={j:F,P:A,A:Z,C:1,M:nt,L:lt,R:T,V:st,D:ct,I:pt,H:ht,N:dt,U:ft,B:ut},gt=W.litHtmlPolyfillSupport;gt?.(at,ct),(W.litHtmlVersions??=[]).push("3.1.0");
57
62
  /**
58
63
  * @license
59
64
  * Copyright 2019 Google LLC
60
65
  * SPDX-License-Identifier: BSD-3-Clause
61
66
  */
62
- const gt=globalThis,bt=gt.ShadowRoot&&(void 0===gt.ShadyCSS||gt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,mt=Symbol(),xt=new WeakMap;let vt=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==mt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(bt&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=xt.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&xt.set(e,t))}return t}toString(){return this.cssText}};const Ot=t=>new vt("string"==typeof t?t:t+"",void 0,mt),St=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+t[i+1]),t[0]);return new vt(o,t,mt)},Nt=bt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return Ot(e)})(t):t
67
+ const bt=globalThis,mt=bt.ShadowRoot&&(void 0===bt.ShadyCSS||bt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,xt=Symbol(),vt=new WeakMap;let Ot=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==xt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(mt&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=vt.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&vt.set(e,t))}return t}toString(){return this.cssText}};const St=t=>new Ot("string"==typeof t?t:t+"",void 0,xt),Nt=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+t[i+1]),t[0]);return new Ot(o,t,xt)},wt=mt?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return St(e)})(t):t
63
68
  /**
64
69
  * @license
65
70
  * Copyright 2017 Google LLC
66
71
  * SPDX-License-Identifier: BSD-3-Clause
67
- */,{is:wt,defineProperty:Ct,getOwnPropertyDescriptor:$t,getOwnPropertyNames:Et,getOwnPropertySymbols:Rt,getPrototypeOf:kt}=Object,Ut=globalThis,It=Ut.trustedTypes,Lt=It?It.emptyScript:"",Wt=Ut.reactiveElementPolyfillSupport,zt=(t,e)=>t,Kt={toAttribute(t,e){switch(e){case Boolean:t=t?Lt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},Ft=(t,e)=>!wt(t,e),At={attribute:!0,type:String,converter:Kt,reflect:!1,hasChanged:Ft};Symbol.metadata??=Symbol("metadata"),Ut.litPropertyMetadata??=new WeakMap;class Zt extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=At){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&Ct(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=$t(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const n=i?.call(this);r.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??At}static _$Ei(){if(this.hasOwnProperty(zt("elementProperties")))return;const t=kt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(zt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(zt("properties"))){const t=this.properties,e=[...Et(t),...Rt(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(Nt(t))}else void 0!==t&&e.push(Nt(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(bt)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),i=gt.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,o);if(void 0!==i&&!0===o.reflect){const r=(void 0!==o.converter?.toAttribute?o.converter:Kt).toAttribute(e,o.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const o=this.constructor,i=o._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Kt;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??Ft)(i?r:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}}Zt.elementStyles=[],Zt.shadowRootOptions={mode:"open"},Zt[zt("elementProperties")]=new Map,Zt[zt("finalized")]=new Map,Wt?.({ReactiveElement:Zt}),(Ut.reactiveElementVersions??=[]).push("2.0.2");
72
+ */,{is:Ct,defineProperty:$t,getOwnPropertyDescriptor:Et,getOwnPropertyNames:Rt,getOwnPropertySymbols:kt,getPrototypeOf:Ut}=Object,It=globalThis,Lt=It.trustedTypes,Wt=Lt?Lt.emptyScript:"",zt=It.reactiveElementPolyfillSupport,Kt=(t,e)=>t,Ft={toAttribute(t,e){switch(e){case Boolean:t=t?Wt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},At=(t,e)=>!Ct(t,e),Zt={attribute:!0,type:String,converter:Ft,reflect:!1,hasChanged:At};Symbol.metadata??=Symbol("metadata"),It.litPropertyMetadata??=new WeakMap;class Bt extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Zt){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&$t(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=Et(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const n=i?.call(this);r.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Zt}static _$Ei(){if(this.hasOwnProperty(Kt("elementProperties")))return;const t=Ut(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Kt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Kt("properties"))){const t=this.properties,e=[...Rt(t),...kt(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(wt(t))}else void 0!==t&&e.push(wt(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,e)=>{if(mt)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),i=bt.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,o);if(void 0!==i&&!0===o.reflect){const r=(void 0!==o.converter?.toAttribute?o.converter:Ft).toAttribute(e,o.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const o=this.constructor,i=o._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Ft;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??At)(i?r:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}}Bt.elementStyles=[],Bt.shadowRootOptions={mode:"open"},Bt[Kt("elementProperties")]=new Map,Bt[Kt("finalized")]=new Map,zt?.({ReactiveElement:Bt}),(It.reactiveElementVersions??=[]).push("2.0.2");
68
73
  /**
69
74
  * @license
70
75
  * Copyright 2017 Google LLC
71
76
  * SPDX-License-Identifier: BSD-3-Clause
72
77
  */
73
- const Bt=globalThis,Mt=Bt.trustedTypes,Dt=Mt?Mt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Pt="$lit$",Ht=`lit$${(Math.random()+"").slice(9)}$`,Tt="?"+Ht,jt=`<${Tt}>`,_t=document,Gt=()=>_t.createComment(""),Vt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Yt=Array.isArray,Xt="[ \t\n\f\r]",Jt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,qt=/-->/g,Qt=/>/g,te=RegExp(`>|${Xt}(?:([^\\s"'>=/]+)(${Xt}*=${Xt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),ee=/'/g,oe=/"/g,ie=/^(?:script|style|textarea|title)$/i,re=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),ne=Symbol.for("lit-noChange"),ae=Symbol.for("lit-nothing"),se=new WeakMap,le=_t.createTreeWalker(_t,129);function ce(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Dt?Dt.createHTML(e):e}const pe=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=Jt;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,p=0;for(;p<o.length&&(a.lastIndex=p,l=a.exec(o),null!==l);)p=a.lastIndex,a===Jt?"!--"===l[1]?a=qt:void 0!==l[1]?a=Qt:void 0!==l[2]?(ie.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=te):void 0!==l[3]&&(a=te):a===te?">"===l[0]?(a=r??Jt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?te:'"'===l[3]?oe:ee):a===oe||a===ee?a=te:a===qt||a===Qt?a=Jt:(a=te,r=void 0);const f=a===te&&t[e+1].startsWith("/>")?" ":"";n+=a===Jt?o+jt:c>=0?(i.push(s),o.slice(0,c)+Pt+o.slice(c)+Ht+f):o+Ht+(-2===c?e:f)}return[ce(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};class fe{constructor({strings:t,_$litType$:e},o){let i;this.parts=[];let r=0,n=0;const a=t.length-1,s=this.parts,[l,c]=pe(t,e);if(this.el=fe.createElement(l,o),le.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=le.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Pt)){const e=c[n++],o=i.getAttribute(t).split(Ht),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:r,name:a[2],strings:o,ctor:"."===a[1]?ye:"?"===a[1]?ge:"@"===a[1]?be:ue}),i.removeAttribute(t)}else t.startsWith(Ht)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(ie.test(i.tagName)){const t=i.textContent.split(Ht),e=t.length-1;if(e>0){i.textContent=Mt?Mt.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],Gt()),le.nextNode(),s.push({type:2,index:++r});i.append(t[e],Gt())}}}else if(8===i.nodeType)if(i.data===Tt)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(Ht,t+1));)s.push({type:7,index:r}),t+=Ht.length-1}r++}}static createElement(t,e){const o=_t.createElement("template");return o.innerHTML=t,o}}function he(t,e,o=t,i){if(e===ne)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=Vt(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=he(t,r._$AS(t,e.values),r,i)),e}class de{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=ae,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=he(this,t,e),Vt(t)?t===ae||null==t||""===t?(this._$AH!==ae&&this._$AR(),this._$AH=ae):t!==this._$AH&&t!==ne&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Yt(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==ae&&Vt(this._$AH)?this._$AA.nextSibling.data=t:this.$(_t.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=fe.createElement(ce(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,i=(t?.creationScope??_t).importNode(e,!0);le.currentNode=i;let r=le.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new de(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new me(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=le.nextNode(),n++)}return le.currentNode=_t,i}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=se.get(t.strings);return void 0===e&&se.set(t.strings,e=new fe(t)),e}T(t){Yt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let o,i=0;for(const r of t)i===e.length?e.push(o=new de(this.k(Gt()),this.k(Gt()),this,this.options)):o=e[i],o._$AI(r),i++;i<e.length&&(this._$AR(o&&o._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class ue{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=ae,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=ae}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=he(this,t,e,0),n=!Vt(t)||t!==this._$AH&&t!==ne,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=he(this,i[o+a],e,a),s===ne&&(s=this._$AH[a]),n||=!Vt(s)||s!==this._$AH[a],s===ae?t=ae:t!==ae&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===ae?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class ye extends ue{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===ae?void 0:t}}class ge extends ue{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==ae)}}class be extends ue{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=he(this,t,e,0)??ae)===ne)return;const o=this._$AH,i=t===ae&&o!==ae||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==ae&&(o===ae||i);i&&this.element.removeEventListener(this.name,this,o),r&&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)}}class me{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){he(this,t)}}const xe=Bt.litHtmlPolyfillSupport;xe?.(fe,de),(Bt.litHtmlVersions??=[]).push("3.1.0");
78
+ const Mt=globalThis,Dt=Mt.trustedTypes,Pt=Dt?Dt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Ht="$lit$",Tt=`lit$${(Math.random()+"").slice(9)}$`,jt="?"+Tt,_t=`<${jt}>`,Gt=document,Vt=()=>Gt.createComment(""),Yt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Xt=Array.isArray,Jt="[ \t\n\f\r]",qt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Qt=/-->/g,te=/>/g,ee=RegExp(`>|${Jt}(?:([^\\s"'>=/]+)(${Jt}*=${Jt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),oe=/'/g,ie=/"/g,re=/^(?:script|style|textarea|title)$/i,ne=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),ae=Symbol.for("lit-noChange"),se=Symbol.for("lit-nothing"),le=new WeakMap,ce=Gt.createTreeWalker(Gt,129);function pe(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Pt?Pt.createHTML(e):e}const fe=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=qt;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,p=0;for(;p<o.length&&(a.lastIndex=p,l=a.exec(o),null!==l);)p=a.lastIndex,a===qt?"!--"===l[1]?a=Qt:void 0!==l[1]?a=te:void 0!==l[2]?(re.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=ee):void 0!==l[3]&&(a=ee):a===ee?">"===l[0]?(a=r??qt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?ee:'"'===l[3]?ie:oe):a===ie||a===oe?a=ee:a===Qt||a===te?a=qt:(a=ee,r=void 0);const f=a===ee&&t[e+1].startsWith("/>")?" ":"";n+=a===qt?o+_t:c>=0?(i.push(s),o.slice(0,c)+Ht+o.slice(c)+Tt+f):o+Tt+(-2===c?e:f)}return[pe(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};class he{constructor({strings:t,_$litType$:e},o){let i;this.parts=[];let r=0,n=0;const a=t.length-1,s=this.parts,[l,c]=fe(t,e);if(this.el=he.createElement(l,o),ce.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=ce.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(Ht)){const e=c[n++],o=i.getAttribute(t).split(Tt),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:r,name:a[2],strings:o,ctor:"."===a[1]?ge:"?"===a[1]?be:"@"===a[1]?me:ye}),i.removeAttribute(t)}else t.startsWith(Tt)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(re.test(i.tagName)){const t=i.textContent.split(Tt),e=t.length-1;if(e>0){i.textContent=Dt?Dt.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],Vt()),ce.nextNode(),s.push({type:2,index:++r});i.append(t[e],Vt())}}}else if(8===i.nodeType)if(i.data===jt)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(Tt,t+1));)s.push({type:7,index:r}),t+=Tt.length-1}r++}}static createElement(t,e){const o=Gt.createElement("template");return o.innerHTML=t,o}}function de(t,e,o=t,i){if(e===ae)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=Yt(e)?void 0:e._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),void 0===n?r=void 0:(r=new n(t),r._$AT(t,o,i)),void 0!==i?(o._$Co??=[])[i]=r:o._$Cl=r),void 0!==r&&(e=de(t,r._$AS(t,e.values),r,i)),e}class ue{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=se,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=de(this,t,e),Yt(t)?t===se||null==t||""===t?(this._$AH!==se&&this._$AR(),this._$AH=se):t!==this._$AH&&t!==ae&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):(t=>Xt(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==se&&Yt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Gt.createTextNode(t)),this._$AH=t}g(t){const{values:e,_$litType$:o}=t,i="number"==typeof o?this._$AC(t):(void 0===o.el&&(o.el=he.createElement(pe(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,i=(t?.creationScope??Gt).importNode(e,!0);ce.currentNode=i;let r=ce.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new ue(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new xe(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=ce.nextNode(),n++)}return ce.currentNode=Gt,i}p(t){let e=0;for(const o of this._$AV)void 0!==o&&(void 0!==o.strings?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}}(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=le.get(t.strings);return void 0===e&&le.set(t.strings,e=new he(t)),e}T(t){Xt(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let o,i=0;for(const r of t)i===e.length?e.push(o=new ue(this.k(Vt()),this.k(Vt()),this,this.options)):o=e[i],o._$AI(r),i++;i<e.length&&(this._$AR(o&&o._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class ye{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=se,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=r,o.length>2||""!==o[0]||""!==o[1]?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=se}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=de(this,t,e,0),n=!Yt(t)||t!==this._$AH&&t!==ae,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=de(this,i[o+a],e,a),s===ae&&(s=this._$AH[a]),n||=!Yt(s)||s!==this._$AH[a],s===se?t=se:t!==se&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===se?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class ge extends ye{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===se?void 0:t}}class be extends ye{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==se)}}class me extends ye{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=de(this,t,e,0)??se)===ae)return;const o=this._$AH,i=t===se&&o!==se||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==se&&(o===se||i);i&&this.element.removeEventListener(this.name,this,o),r&&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)}}class xe{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){de(this,t)}}const ve=Mt.litHtmlPolyfillSupport;ve?.(he,ue),(Mt.litHtmlVersions??=[]).push("3.1.0");
74
79
  /**
75
80
  * @license
76
81
  * Copyright 2017 Google LLC
77
82
  * SPDX-License-Identifier: BSD-3-Clause
78
83
  */
79
- let ve=class extends Zt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const i=o?.renderBefore??e;let r=i._$litPart$;if(void 0===r){const t=o?.renderBefore??null;i._$litPart$=r=new de(e.insertBefore(Gt(),t),t,void 0,o??{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ne}};ve._$litElement$=!0,ve.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ve});const Oe=globalThis.litElementPolyfillSupport;Oe?.({LitElement:ve}),(globalThis.litElementVersions??=[]).push("4.0.2");const Se=t=>"string"==typeof t?Ot(t):t;class Ne{static create(t,e,o,i){const r=t=>Se(null!=t?t:i),n=St`var(${Se(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>St`var(${Se(t)}, ${r(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,o,i){const r=t=>o.get(null!=t?t:i),n=St`var(${Se(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>St`var(${Se(t)}, ${r(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):Se(null!=e?e:t.lastResortDefaultValue()),i=St`var(${Se(t.name)}, ${o(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=e,i.defaultCssValue=o,i.get=e=>St`var(${Se(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function we(t,e){return Se(`${t.name}: ${e}`)}const Ce={colorWhite:Ne.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:Ne.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:Ne.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:Ne.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:Ne.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:Ne.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:Ne.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:Ne.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:Ne.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:Ne.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:Ne.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:Ne.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:Ne.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:Ne.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:Ne.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:Ne.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:Ne.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:Ne.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:Ne.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:Ne.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:Ne.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:Ne.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:Ne.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:Ne.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:Ne.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:Ne.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:Ne.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:Ne.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:Ne.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:Ne.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:Ne.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:Ne.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:Ne.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:Ne.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:Ne.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:Ne.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:Ne.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:Ne.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:Ne.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:Ne.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:Ne.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:Ne.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:Ne.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:Ne.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:Ne.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:Ne.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:Ne.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:Ne.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:Ne.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:Ne.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:Ne.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:Ne.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:Ne.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:Ne.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:Ne.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:Ne.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:Ne.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:Ne.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:Ne.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:Ne.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:Ne.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:Ne.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:Ne.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:Ne.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:Ne.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:Ne.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:Ne.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:Ne.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:Ne.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:Ne.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:Ne.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:Ne.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:Ne.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:Ne.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:Ne.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:Ne.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:Ne.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:Ne.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:Ne.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:Ne.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:Ne.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:Ne.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:Ne.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:Ne.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:Ne.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:Ne.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:Ne.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:Ne.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:Ne.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:Ne.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:Ne.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:Ne.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:Ne.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:Ne.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:Ne.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:Ne.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:Ne.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:Ne.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:Ne.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:Ne.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:Ne.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:Ne.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:Ne.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:Ne.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:Ne.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:Ne.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:Ne.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:Ne.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:Ne.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:Ne.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:Ne.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:Ne.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:Ne.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:Ne.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:Ne.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:Ne.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:Ne.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:Ne.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:Ne.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:Ne.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:Ne.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:Ne.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:Ne.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:Ne.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:Ne.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:Ne.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:Ne.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:Ne.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:Ne.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:Ne.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:Ne.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:Ne.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:Ne.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:Ne.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:Ne.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:Ne.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:Ne.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:Ne.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:Ne.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:Ne.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:Ne.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:Ne.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:Ne.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:Ne.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:Ne.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:Ne.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:Ne.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:Ne.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:Ne.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:Ne.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:Ne.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:Ne.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:Ne.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:Ne.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:Ne.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:Ne.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:Ne.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:Ne.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:Ne.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:Ne.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:Ne.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:Ne.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:Ne.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:Ne.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:Ne.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:Ne.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:Ne.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:Ne.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:Ne.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:Ne.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:Ne.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:Ne.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:Ne.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:Ne.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:Ne.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:Ne.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:Ne.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:Ne.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:Ne.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:Ne.create("--ft-icon-size-6","","SIZE","48px"),opacity0:Ne.create("--ft-opacity-0","","NUMBER","0"),opacity8:Ne.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:Ne.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:Ne.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:Ne.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:Ne.create("--ft-opacity-80","","NUMBER","0.8")},$e={display:{fontFamily:Ne.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:Ne.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:Ne.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ne.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:Ne.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:Ne.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:Ne.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ne.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:Ne.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:Ne.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:Ne.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:Ne.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:Ne.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:Ne.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:Ne.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:Ne.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:Ne.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ne.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:Ne.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:Ne.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ne.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:Ne.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ne.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:Ne.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:Ne.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ne.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:Ne.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:Ne.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:Ne.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ne.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:Ne.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:Ne.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:Ne.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:Ne.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:Ne.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:Ne.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ne.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:Ne.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ne.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:Ne.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:Ne.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:Ne.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ne.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:Ne.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:Ne.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:Ne.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ne.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:Ne.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:Ne.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:Ne.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ne.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:Ne.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:Ne.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:Ne.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ne.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ne.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:Ne.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ne.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:Ne.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:Ne.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:Ne.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ne.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:Ne.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ne.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:Ne.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ne.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:Ne.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ne.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:Ne.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:Ne.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ne.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:Ne.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ne.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:Ne.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ne.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:Ne.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ne.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:Ne.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:Ne.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:Ne.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ne.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:Ne.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:Ne.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:Ne.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ne.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:Ne.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:Ne.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:Ne.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:Ne.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ne.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:Ne.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ne.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:Ne.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:Ne.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:Ne.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ne.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:Ne.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:Ne.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:Ne.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:Ne.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:Ne.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:Ne.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:Ne.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:Ne.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:Ne.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ne.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:Ne.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:Ne.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:Ne.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:Ne.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:Ne.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:Ne.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:Ne.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:Ne.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:Ne.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:Ne.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:Ne.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Ee={backgroundActionPrimary:Ne.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Ce.colorBrand0),backgroundErrorPrimary:Ne.extend("--ft-background-error-primary","Used as background of error components.",Ce.colorRed0),backgroundErrorSubtle:Ne.extend("--ft-background-error-subtle","Used as background of subtle error components.",Ce.colorRed10),backgroundInfoPrimary:Ne.extend("--ft-background-info-primary","Used as background of information components.",Ce.colorCyan200),backgroundInfoSubtle:Ne.extend("--ft-background-info-subtle","Used as background of subtle information components.",Ce.colorCyan10),backgroundWarningPrimary:Ne.extend("--ft-background-warning-primary","Used as background of warning components.",Ce.colorOrange300),backgroundWarningSubtle:Ne.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Ce.colorOrange10),backgroundSuccessPrimary:Ne.extend("--ft-background-success-primary","Used as background of success components.",Ce.colorGreen200),backgroundSuccessSubtle:Ne.extend("--ft-background-success-subtle","Used as background of subtle success components.",Ce.colorGreen10),backgroundGlobalSurface:Ne.extend("--ft-background-global-surface","Used as app background.",Ce.colorWhite),backgroundGlobalOnSurface:Ne.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Ce.colorGray10),backgroundGlobalOnSurfaceDark:Ne.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Ce.colorGray30),contentActionPrimary:Ne.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Ce.colorBrand0),contentWarningPrimary:Ne.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Ce.colorOrange300),contentWarningIconOnly:Ne.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Ce.colorOrange0),contentErrorPrimary:Ne.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Ce.colorRed0),contentErrorIconOnly:Ne.extend("--ft-content-error-icon-only","Used on error status icons alone",Ce.colorRed0),contentInfoPrimary:Ne.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Ce.colorCyan200),contentInfoIconOnly:Ne.extend("--ft-content-info-icon-only","Used on info status icons alone",Ce.colorCyan0),contentSuccessIconOnly:Ne.extend("--ft-content-success-icon-only","Used on success status icons alone",Ce.colorGreen0),contentSuccessPrimary:Ne.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Ce.colorGreen200),contentGlobalPrimary:Ne.extend("--ft-content-global-primary","Used for main content on the page.",Ce.colorGray500),contentGlobalSecondary:Ne.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Ce.colorGray200),contentGlobalSubtle:Ne.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Ce.colorGray0),contentGlobalOnColor:Ne.extend("--ft-content-global-on-color","Used for content on a dominant color.",Ce.colorWhite),borderActionPrimary:Ne.extend("--ft-border-action-primary","Used as border for primary action components.",Ce.colorBrand0),borderActionFocusRing:Ne.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Ce.colorCyan0),borderWarningPrimary:Ne.extend("--ft-border-warning-primary","Used as border for warning components.",Ce.colorOrange30),borderSuccessPrimary:Ne.extend("--ft-border-success-primary","Used as border for success components.",Ce.colorGreen30),borderErrorPrimary:Ne.extend("--ft-border-error-primary","Used as border for error components.",Ce.colorRed30),borderInfoPrimary:Ne.extend("--ft-border-info-primary","Used as border for information components.",Ce.colorCyan30),borderGlobalSubtle:Ne.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Ce.colorGray30),borderGlobalPrimary:Ne.extend("--ft-border-global-primary","Used as border for element like input.",Ce.colorGray50),borderInputPrimary:Ne.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Ce.colorGray80)},Re={largeHeight:Ne.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:Ne.extend("--ft-button-large-horizontal-padding","",Ce.spacing4),largeGap:Ne.extend("--ft-button-large-gap","",Ce.spacing2),largeBorderRadius:Ne.extend("--ft-button-large-border-radius","",Ce.borderRadiusS),largeIconSize:Ne.extend("--ft-button-large-icon-size","",Ce.iconSize3),largeBorderWidth:Ne.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:Ne.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:Ne.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:Ne.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:Ne.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:Ne.extend("--ft-button-small-horizontal-padding","",Ce.spacing3),smallGap:Ne.extend("--ft-button-small-gap","",Ce.spacing2),smallBorderRadius:Ne.extend("--ft-button-small-border-radius","",Ce.borderRadiusS),smallIconSize:Ne.extend("--ft-button-small-icon-size","",Ce.iconSize2),smallBorderWidth:Ne.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:Ne.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:Ne.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:Ne.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:Ne.extend("--ft-button-primary-background-color","",Ee.backgroundActionPrimary),primaryColor:Ne.extend("--ft-button-primary-color","",Ee.contentGlobalOnColor),primaryIconColor:Ne.extend("--ft-button-primary-icon-color","",Ee.contentGlobalOnColor),primaryStateLayerColor:Ne.extend("--ft-button-primary-state-layer-color","",Ee.contentGlobalOnColor),primaryStateLayerOpacityHover:Ne.extend("--ft-button-primary-state-layer-opacity-hover","",Ce.opacity16),primaryStateLayerOpacityFocus:Ne.extend("--ft-button-primary-state-layer-opacity-focus","",Ce.opacity16),primaryStateLayerOpacityActive:Ne.extend("--ft-button-primary-state-layer-opacity-active","",Ce.opacity24),primaryComponentOpacityDisabled:Ne.extend("--ft-button-primary-component-opacity-disabled","",Ce.opacity40),focusFocusRingColor:Ne.extend("--ft-button-focus-focus-ring-color","",Ee.borderActionFocusRing),tertiaryBackgroundColor:Ne.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:Ne.extend("--ft-button-tertiary-color","",Ee.contentActionPrimary),tertiaryIconColor:Ne.extend("--ft-button-tertiary-icon-color","",Ee.contentActionPrimary),tertiaryStateLayerColor:Ne.extend("--ft-button-tertiary-state-layer-color","",Ee.contentActionPrimary),tertiaryStateLayerOpacityHover:Ne.extend("--ft-button-tertiary-state-layer-opacity-hover","",Ce.opacity8),tertiaryStateLayerOpacityFocus:Ne.extend("--ft-button-tertiary-state-layer-opacity-focus","",Ce.opacity8),tertiaryStateLayerOpacityActive:Ne.extend("--ft-button-tertiary-state-layer-opacity-active","",Ce.opacity16),tertiaryComponentOpacityDisabled:Ne.extend("--ft-button-tertiary-component-opacity-disabled","",Ce.opacity40),secondaryBackgroundColor:Ne.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:Ne.extend("--ft-button-secondary-color","",Ee.contentActionPrimary),secondaryIconColor:Ne.extend("--ft-button-secondary-icon-color","",Ee.contentActionPrimary),secondaryStateLayerColor:Ne.extend("--ft-button-secondary-state-layer-color","",Ee.contentActionPrimary),secondaryStateLayerOpacityHover:Ne.extend("--ft-button-secondary-state-layer-opacity-hover","",Ce.opacity8),secondaryStateLayerOpacityFocus:Ne.extend("--ft-button-secondary-state-layer-opacity-focus","",Ce.opacity8),secondaryStateLayerOpacityActive:Ne.extend("--ft-button-secondary-state-layer-opacity-active","",Ce.opacity16),secondaryComponentOpacityDisabled:Ne.extend("--ft-button-secondary-component-opacity-disabled","",Ce.opacity40),secondaryBorderColor:Ne.extend("--ft-button-secondary-border-color","",Ee.borderActionPrimary),neutralBackgroundColor:Ne.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:Ne.extend("--ft-button-neutral-icon-color","",Ee.contentGlobalSecondary),neutralColor:Ne.extend("--ft-button-neutral-color","",Ee.contentGlobalSecondary),neutralStateLayerColor:Ne.extend("--ft-button-neutral-state-layer-color","",Ee.contentGlobalSecondary),neutralStateLayerOpacityHover:Ne.extend("--ft-button-neutral-state-layer-opacity-hover","",Ce.opacity8),neutralStateLayerOpacityFocus:Ne.extend("--ft-button-neutral-state-layer-opacity-focus","",Ce.opacity8),neutralStateLayerOpacityActive:Ne.extend("--ft-button-neutral-state-layer-opacity-active","",Ce.opacity16),neutralComponentOpacityDisabled:Ne.extend("--ft-button-neutral-component-opacity-disabled","",Ce.opacity40)};Ne.extend("--ft-tabs-top-left-border-radius","",Ce.borderRadiusS),Ne.extend("--ft-tabs-top-right-border-radius","",Ce.borderRadiusS),Ne.extend("--ft-tabs-label-horizontal-padding","",Ce.spacing4),Ne.extend("--ft-tabs-label-vertical-padding","",Ce.spacing3),Ne.extend("--ft-tabs-label-gap","",Ce.spacing1),Ne.extend("--ft-switch-group-horizontal-padding","",Ce.spacing1),Ne.extend("--ft-switch-group-vertical-padding","",Ce.spacing1),Ne.extend("--ft-switch-group-gap","",Ce.spacing1),Ne.extend("--ft-switch-group-background-color","",Ee.backgroundGlobalSurface),Ne.extend("--ft-switch-group-border-color","",Ee.borderGlobalSubtle),Ne.create("--ft-switch-group-border-radius","","SIZE","6px"),Ne.extend("--ft-switch-label-horizontal-padding","",Ce.spacing2),Ne.extend("--ft-switch-label-vertical-padding","",Ce.spacing1),Ne.extend("--ft-switch-icon-horizontal-padding","",Ce.spacing1),Ne.extend("--ft-switch-icon-vertical-padding","",Ce.spacing1),Ne.create("--ft-switch-focus-outline-width","","SIZE","2px"),Ne.extend("--ft-switch-focus-focus-ring-color","",Ee.borderActionFocusRing),Ne.extend("--ft-switch-option-border-radius","",Ce.borderRadiusS),Ne.extend("--ft-switch-off-state-layer-opacity-hover","",Ce.opacity8),Ne.extend("--ft-switch-off-state-layer-opacity-focus","",Ce.opacity8),Ne.extend("--ft-switch-off-state-layer-opacity-active","",Ce.opacity16),Ne.extend("--ft-switch-off-component-opacity-disabled","",Ce.opacity40),Ne.extend("--ft-switch-off-color","",Ee.contentGlobalSubtle),Ne.extend("--ft-switch-off-state-layer-color","",Ee.contentGlobalSubtle),Ne.extend("--ft-chart-1-light","for area color charts",Ce.colorBrand40),Ne.extend("--ft-chart-1-base","for line charts",Ce.colorBrand0),Ne.extend("--ft-chart-2-light","for area color charts",Ce.colorYellow60),Ne.extend("--ft-chart-2-base","for line charts",Ce.colorYellow100),Ne.extend("--ft-chart-3-light","",Ce.colorUltramarine40),Ne.extend("--ft-chart-3-base","",Ce.colorUltramarine70),Ne.extend("--ft-chart-4-light","",Ce.colorCyan50),Ne.extend("--ft-chart-4-base","",Ce.colorCyan100),Ne.extend("--ft-chart-5-light","",Ce.colorRed40),Ne.extend("--ft-chart-5-base","",Ce.colorRed60),Ne.extend("--ft-chart-6-light","",Ce.colorGreen40),Ne.extend("--ft-chart-6-base","",Ce.colorGreen70),Ne.extend("--ft-chart-7-light","",Ce.colorOrange70),Ne.extend("--ft-chart-7-base","",Ce.colorOrange100),Ne.extend("--ft-chart-8-light","",Ce.colorAvocado70),Ne.extend("--ft-chart-8-base","",Ce.colorAvocado200),Ne.extend("--ft-chart-9-light","",Ce.colorBrown50),Ne.extend("--ft-chart-9-base","",Ce.colorBrown200),Ne.extend("--ft-chart-10-light","",Ce.colorGray50),Ne.extend("--ft-chart-10-base","",Ce.colorGray80),Ne.extend("--ft-chart-monochrome-10","",Ce.colorBrand10),Ne.extend("--ft-chart-monochrome-20","",Ce.colorBrand20),Ne.extend("--ft-chart-monochrome-30","",Ce.colorBrand40),Ne.extend("--ft-chart-monochrome-40","",Ce.colorBrand60),Ne.extend("--ft-chart-monochrome-50","",Ce.colorBrand0),Ne.extend("--ft-chart-monochrome-60","",Ce.colorBrand200),Ne.extend("--ft-chip-large-horizontal-padding","",Ce.spacing4),Ne.extend("--ft-chip-large-vertical-padding","",Ce.spacing2),Ne.extend("--ft-chip-large-gap","",Ce.spacing1),Ne.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),Ne.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),Ne.extend("--ft-chip-large-border-radius","",Ce.borderRadiusPill),Ne.create("--ft-chip-large-border-width","","SIZE","1px"),Ne.extend("--ft-chip-large-icon-size","",Ce.iconSize3),Ne.extend("--ft-chip-medium-horizontal-padding","",Ce.spacing3),Ne.extend("--ft-chip-medium-vertical-padding","",Ce.spacing1),Ne.extend("--ft-chip-medium-gap","",Ce.spacing1),Ne.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),Ne.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),Ne.extend("--ft-chip-medium-border-radius","",Ce.borderRadiusPill),Ne.create("--ft-chip-medium-border-width","","SIZE","1px"),Ne.extend("--ft-chip-medium-icon-size","",Ce.iconSize2),Ne.extend("--ft-chip-small-horizontal-padding","",Ce.spacing2),Ne.extend("--ft-chip-small-vertical-padding","",Ce.spacing05),Ne.extend("--ft-chip-small-gap","",Ce.spacing1),Ne.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),Ne.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),Ne.extend("--ft-chip-small-border-radius","",Ce.borderRadiusPill),Ne.create("--ft-chip-small-border-width","","SIZE","1px"),Ne.extend("--ft-chip-small-icon-size","",Ce.iconSize1),Ne.extend("--ft-chip-neutral-background-color","",Ee.backgroundGlobalOnSurface),Ne.extend("--ft-chip-neutral-color","",Ee.contentGlobalPrimary),Ne.extend("--ft-chip-neutral-border-color","",Ee.borderGlobalSubtle),Ne.extend("--ft-chip-info-background-color","",Ee.backgroundInfoSubtle),Ne.extend("--ft-chip-info-color","",Ee.contentInfoPrimary),Ne.extend("--ft-chip-info-border-color","",Ee.borderInfoPrimary),Ne.extend("--ft-chip-success-background-color","",Ee.backgroundSuccessSubtle),Ne.extend("--ft-chip-success-color","",Ee.contentSuccessPrimary),Ne.extend("--ft-chip-success-border-color","",Ee.borderSuccessPrimary),Ne.extend("--ft-chip-warning-background-color","",Ee.backgroundWarningSubtle),Ne.extend("--ft-chip-warning-color","",Ee.contentWarningPrimary),Ne.extend("--ft-chip-warning-border-color","",Ee.borderWarningPrimary),Ne.extend("--ft-chip-error-background-color","",Ee.backgroundErrorSubtle),Ne.extend("--ft-chip-error-color","",Ee.contentErrorPrimary),Ne.extend("--ft-chip-error-border-color","",Ee.borderErrorPrimary),Ne.create("--ft-notice-border-width","","SIZE","1px"),Ne.extend("--ft-notice-horizontal-padding","",Ce.spacing2),Ne.extend("--ft-notice-vertical-padding","",Ce.spacing1),Ne.extend("--ft-notice-border-radius","",Ce.borderRadiusS),Ne.extend("--ft-notice-gap","",Ce.spacing2),Ne.extend("--ft-notice-icon-size","",Ce.iconSize3),Ne.extend("--ft-notice-info-background-color","",Ee.backgroundInfoSubtle),Ne.extend("--ft-notice-info-border-color","",Ee.borderInfoPrimary),Ne.extend("--ft-notice-info-color","",Ee.contentInfoPrimary),Ne.extend("--ft-notice-warning-background-color","",Ee.backgroundWarningSubtle),Ne.extend("--ft-notice-warning-border-color","",Ee.borderWarningPrimary),Ne.extend("--ft-notice-warning-color","",Ee.contentWarningPrimary),Ne.extend("--ft-checkbox-label-color","",Ee.contentGlobalPrimary),Ne.extend("--ft-checkbox-checked-background-color","",Ee.contentActionPrimary),Ne.extend("--ft-checkbox-checked-state-layer-color","",Ee.contentActionPrimary),Ne.extend("--ft-checkbox-checked-color","",Ee.contentGlobalOnColor),Ne.extend("--ft-checkbox-checked-state-layer-opacity-hover","",Ce.opacity16),Ne.extend("--ft-checkbox-checked-state-layer-opacity-focus","",Ce.opacity16),Ne.extend("--ft-checkbox-checked-state-layer-opacity-active","",Ce.opacity24),Ne.extend("--ft-checkbox-checked-component-opacity-disabled","",Ce.opacity40),Ne.extend("--ft-checkbox-unchecked-border-color","",Ce.colorGray80),Ne.extend("--ft-checkbox-unchecked-state-layer-color","",Ce.colorGray80),Ne.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",Ce.opacity16),Ne.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",Ce.opacity16),Ne.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",Ce.opacity24),Ne.extend("--ft-checkbox-unchecked-component-opacity-disabled","",Ce.opacity40),Ne.extend("--ft-checkbox-focus-focus-ring-color","",Ee.borderActionFocusRing),Ne.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),Ne.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),Ne.extend("--ft-checkbox-gap","",Ce.spacing3),Ne.extend("--ft-toggle-off-state-layer-opacity-hover","",Ce.opacity16),Ne.extend("--ft-toggle-off-state-layer-opacity-focus","",Ce.opacity16),Ne.extend("--ft-toggle-off-state-layer-opacity-active","",Ce.opacity24),Ne.extend("--ft-toggle-off-component-opacity-disabled","",Ce.opacity40),Ne.extend("--ft-toggle-off-background-color","",Ee.contentGlobalSubtle),Ne.extend("--ft-toggle-off-icon-color","",Ee.contentGlobalSubtle),Ne.extend("--ft-toggle-off-state-layer-color","",Ee.contentGlobalSubtle),Ne.extend("--ft-toggle-on-state-layer-opacity-hover","",Ce.opacity16),Ne.extend("--ft-toggle-on-state-layer-opacity-focus","",Ce.opacity16),Ne.extend("--ft-toggle-on-state-layer-opacity-active","",Ce.opacity24),Ne.extend("--ft-toggle-on-component-opacity-disabled","",Ce.opacity40),Ne.extend("--ft-toggle-on-background-color","",Ee.contentActionPrimary),Ne.extend("--ft-toggle-on-icon-color","",Ee.contentActionPrimary),Ne.extend("--ft-toggle-on-state-layer-color","",Ee.contentActionPrimary),Ne.extend("--ft-toggle-label-color","",Ee.contentGlobalPrimary),Ne.extend("--ft-toggle-focus-focus-ring-color","",Ee.borderActionFocusRing),Ne.extend("--ft-toggle-gap","",Ce.spacing3),Ne.extend("--ft-radio-label-color","",Ee.contentGlobalPrimary),Ne.extend("--ft-radio-selected-color","",Ee.contentActionPrimary),Ne.extend("--ft-radio-selected-state-layer-color","",Ee.contentActionPrimary),Ne.extend("--ft-radio-selected-state-layer-opacity-hover","",Ce.opacity16),Ne.extend("--ft-radio-selected-state-layer-opacity-focus","",Ce.opacity16),Ne.extend("--ft-radio-selected-state-layer-opacity-active","",Ce.opacity24),Ne.extend("--ft-radio-selected-component-opacity-disabled","",Ce.opacity40),Ne.extend("--ft-radio-unselected-state-layer-color","",Ce.colorGray80),Ne.extend("--ft-radio-unselected-state-layer-opacity-hover","",Ce.opacity16),Ne.extend("--ft-radio-unselected-state-layer-opacity-focus","",Ce.opacity16),Ne.extend("--ft-radio-unselected-state-layer-opacity-active","",Ce.opacity24),Ne.extend("--ft-radio-unselected-component-opacity-disabled","",Ce.opacity40),Ne.extend("--ft-radio-focus-focus-ring-color","",Ee.borderActionFocusRing),Ne.create("--ft-radio-focus-outline-offset","","SIZE","3px"),Ne.create("--ft-radio-focus-outline-width","","SIZE","2px"),Ne.extend("--ft-radio-gap","",Ce.spacing3),Ne.extend("--ft-notification-icon-size","",Ce.iconSize4),Ne.extend("--ft-notification-horizontal-padding","",Ce.spacing4),Ne.extend("--ft-notification-vertical-padding","",Ce.spacing4),Ne.extend("--ft-notification-info-background-color","",Ee.backgroundInfoSubtle),Ne.extend("--ft-notification-info-color","",Ee.contentInfoPrimary),Ne.extend("--ft-notification-info-border-color","",Ee.borderInfoPrimary),Ne.extend("--ft-notification-success-background-color","",Ee.backgroundSuccessSubtle),Ne.extend("--ft-notification-success-color","",Ee.contentSuccessPrimary),Ne.extend("--ft-notification-success-border-color","",Ee.borderSuccessPrimary),Ne.extend("--ft-notification-warning-background-color","",Ee.backgroundWarningSubtle),Ne.extend("--ft-notification-warning-color","",Ee.contentWarningPrimary),Ne.extend("--ft-notification-warning-border-color","",Ee.borderWarningPrimary),Ne.extend("--ft-notification-error-background-color","",Ee.backgroundErrorSubtle),Ne.extend("--ft-notification-error-color","",Ee.contentErrorPrimary),Ne.extend("--ft-notification-error-border-color","",Ee.borderErrorPrimary),Ne.extend("--ft-notification-border-radius","",Ce.borderRadiusPill),Ne.create("--ft-notification-border-width","","SIZE","1px"),Ne.extend("--ft-notification-gap-leading","",Ce.spacing2),Ne.extend("--ft-notification-gap-trailing","",Ce.spacing8);const ke={colorPrimary:Ne.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:Ne.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:Ne.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:Ne.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:Ne.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:Ne.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:Ne.create("--ft-color-error","","COLOR","#B00020"),colorOutline:Ne.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:Ne.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:Ne.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:Ne.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:Ne.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:Ne.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:Ne.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:Ne.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:Ne.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:Ne.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:Ne.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:Ne.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:Ne.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:Ne.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:Ne.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:Ne.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:Ne.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:Ne.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:Ne.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:Ne.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:Ne.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:Ne.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:Ne.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:Ne.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:Ne.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:Ne.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:Ne.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:Ne.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:Ne.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:Ne.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:Ne.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:Ne.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:Ne.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:Ne.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:Ne.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:Ne.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:Ne.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:Ne.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:Ne.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:Ne.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:Ne.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:Ne.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:Ne.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:Ne.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:Ne.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:Ne.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:Ne.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:Ne.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:Ne.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:Ne.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:Ne.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:Ne.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:Ne.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:Ne.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:Ne.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Ue=window,Ie=Ue.ShadowRoot&&(void 0===Ue.ShadyCSS||Ue.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
84
+ let Oe=class extends Bt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,e,o)=>{const i=o?.renderBefore??e;let r=i._$litPart$;if(void 0===r){const t=o?.renderBefore??null;i._$litPart$=r=new ue(e.insertBefore(Vt(),t),t,void 0,o??{})}return r._$AI(t),r})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ae}};Oe._$litElement$=!0,Oe.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Oe});const Se=globalThis.litElementPolyfillSupport;Se?.({LitElement:Oe}),(globalThis.litElementVersions??=[]).push("4.0.2");const Ne=t=>"string"==typeof t?St(t):t;class we{static create(t,e,o,i){const r=t=>Ne(null!=t?t:i),n=Nt`var(${Ne(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>Nt`var(${Ne(t)}, ${r(e)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>i,n}static extend(t,e,o,i){const r=t=>o.get(null!=t?t:i),n=Nt`var(${Ne(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o.category,n.fallbackVariable=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>Nt`var(${Ne(t)}, ${r(e)})`,n.breadcrumb=()=>[o.name,...o.breadcrumb()],n.lastResortDefaultValue=()=>null!=i?i:o.lastResortDefaultValue(),n}static external(t,e){const o=e=>t.fallbackVariable?t.fallbackVariable.get(null!=e?e:t.defaultValue):Ne(null!=e?e:t.lastResortDefaultValue()),i=Nt`var(${Ne(t.name)}, ${o(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=e,i.defaultCssValue=o,i.get=e=>Nt`var(${Ne(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function Ce(t,e){return Ne(`${t.name}: ${e}`)}const $e={colorWhite:we.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:we.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:we.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:we.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:we.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:we.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:we.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:we.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:we.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:we.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:we.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:we.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:we.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:we.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:we.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:we.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:we.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:we.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:we.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:we.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:we.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:we.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:we.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:we.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:we.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:we.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:we.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:we.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:we.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:we.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:we.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:we.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:we.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:we.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:we.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:we.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:we.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:we.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:we.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:we.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:we.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:we.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:we.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:we.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:we.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:we.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:we.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:we.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:we.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:we.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:we.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:we.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:we.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:we.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:we.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:we.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:we.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:we.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:we.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:we.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:we.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:we.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:we.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:we.create("--ft-color-orange-0","","COLOR","#ee8d17"),colorOrange10:we.create("--ft-color-orange-10","","COLOR","#fef6ec"),colorOrange20:we.create("--ft-color-orange-20","","COLOR","#fbe7cd"),colorOrange30:we.create("--ft-color-orange-30","","COLOR","#f9d8af"),colorOrange40:we.create("--ft-color-orange-40","","COLOR","#f7c991"),colorOrange50:we.create("--ft-color-orange-50","","COLOR","#f5ba72"),colorOrange60:we.create("--ft-color-orange-60","","COLOR","#f2ab54"),colorOrange70:we.create("--ft-color-orange-70","","COLOR","#f09c35"),colorOrange100:we.create("--ft-color-orange-100","","COLOR","#cf7b14"),colorOrange200:we.create("--ft-color-orange-200","","COLOR","#b06811"),colorOrange300:we.create("--ft-color-orange-300","","COLOR","#90560e"),colorOrange400:we.create("--ft-color-orange-400","","COLOR","#71430b"),colorOrange500:we.create("--ft-color-orange-500","","COLOR","#523108"),colorOrange600:we.create("--ft-color-orange-600","","COLOR","#331e05"),colorOrange700:we.create("--ft-color-orange-700","","COLOR","#140c02"),colorRed0:we.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:we.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:we.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:we.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:we.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:we.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:we.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:we.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:we.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:we.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:we.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:we.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:we.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:we.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:we.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:we.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:we.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:we.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:we.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:we.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:we.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:we.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:we.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:we.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:we.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:we.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:we.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:we.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:we.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:we.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:we.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:we.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:we.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:we.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:we.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:we.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:we.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:we.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:we.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:we.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:we.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:we.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:we.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:we.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:we.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:we.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:we.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:we.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:we.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:we.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:we.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:we.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:we.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:we.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:we.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:we.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:we.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:we.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:we.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:we.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:we.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:we.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:we.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:we.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:we.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:we.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:we.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:we.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:we.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:we.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:we.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:we.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:we.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:we.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:we.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:we.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:we.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:we.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:we.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:we.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:we.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:we.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:we.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:we.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:we.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:we.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:we.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:we.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:we.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:we.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:we.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:we.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:we.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:we.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:we.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:we.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:we.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:we.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:we.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:we.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:we.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:we.create("--ft-icon-size-6","","SIZE","48px"),opacity0:we.create("--ft-opacity-0","","NUMBER","0"),opacity8:we.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:we.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:we.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:we.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:we.create("--ft-opacity-80","","NUMBER","0.8")},Ee={display:{fontFamily:we.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:we.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:we.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:we.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-display-textCase","","UNKNOWN","none")},"title-1":{fontFamily:we.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:we.create("--ft-typography-title-1-fontSize","","SIZE","2rem"),letterSpacing:we.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:we.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},"title-2":{fontFamily:we.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-title-2-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:we.create("--ft-typography-title-2-fontSize","","SIZE","1.5rem"),letterSpacing:we.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:we.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},"title-3":{fontFamily:we.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-title-3-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:we.create("--ft-typography-title-3-fontSize","","SIZE","1.25rem"),letterSpacing:we.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:we.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},"body-1-regular":{fontFamily:we.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:we.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:we.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},"body-1-medium":{fontFamily:we.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:we.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},"body-1-semibold":{fontFamily:we.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:we.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},"body-2-regular":{fontFamily:we.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:we.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},"body-2-medium":{fontFamily:we.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},"body-2-semibold":{fontFamily:we.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:we.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:we.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:we.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},"label-1-medium":{fontFamily:we.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},"label-1-semibold":{fontFamily:we.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},"label-1-bold":{fontFamily:we.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:we.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:we.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},"label-2-medium":{fontFamily:we.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},"label-2-semibold":{fontFamily:we.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},"label-2-bold":{fontFamily:we.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:we.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:we.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:we.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:we.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},"caption-1-medium":{fontFamily:we.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},"caption-1-semibold":{fontFamily:we.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},"caption-1-bold":{fontFamily:we.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:we.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:we.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},"caption-2-medium":{fontFamily:we.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:we.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:we.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},"caption-2-semibold":{fontFamily:we.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:we.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:we.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},"caption-2-bold":{fontFamily:we.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:we.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:we.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:we.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:we.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:we.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:we.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:we.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:we.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")}},Re={backgroundActionPrimary:we.extend("--ft-background-action-primary","Used as backgorund of primary action components.",$e.colorBrand0),backgroundErrorPrimary:we.extend("--ft-background-error-primary","Used as background of error components.",$e.colorRed0),backgroundErrorSubtle:we.extend("--ft-background-error-subtle","Used as background of subtle error components.",$e.colorRed10),backgroundInfoPrimary:we.extend("--ft-background-info-primary","Used as background of information components.",$e.colorCyan200),backgroundInfoSubtle:we.extend("--ft-background-info-subtle","Used as background of subtle information components.",$e.colorCyan10),backgroundWarningPrimary:we.extend("--ft-background-warning-primary","Used as background of warning components.",$e.colorOrange300),backgroundWarningSubtle:we.extend("--ft-background-warning-subtle","Used as background of subtle information components.",$e.colorOrange10),backgroundSuccessPrimary:we.extend("--ft-background-success-primary","Used as background of success components.",$e.colorGreen200),backgroundSuccessSubtle:we.extend("--ft-background-success-subtle","Used as background of subtle success components.",$e.colorGreen10),backgroundGlobalSurface:we.extend("--ft-background-global-surface","Used as app background.",$e.colorWhite),backgroundGlobalOnSurface:we.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",$e.colorGray10),backgroundGlobalOnSurfaceDark:we.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",$e.colorGray30),contentActionPrimary:we.extend("--ft-content-action-primary","Used on label of primary action on light surface.",$e.colorBrand0),contentWarningPrimary:we.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",$e.colorOrange300),contentWarningIconOnly:we.extend("--ft-content-warning-icon-only","Used on warning status icons alone",$e.colorOrange0),contentErrorPrimary:we.extend("--ft-content-error-primary","Used on label of error messages on light surface.",$e.colorRed0),contentErrorIconOnly:we.extend("--ft-content-error-icon-only","Used on error status icons alone",$e.colorRed0),contentInfoPrimary:we.extend("--ft-content-info-primary","Used on label of information messages on light surface.",$e.colorCyan200),contentInfoIconOnly:we.extend("--ft-content-info-icon-only","Used on info status icons alone",$e.colorCyan0),contentSuccessIconOnly:we.extend("--ft-content-success-icon-only","Used on success status icons alone",$e.colorGreen0),contentSuccessPrimary:we.extend("--ft-content-success-primary","Used on label of success messages on light surface.",$e.colorGreen200),contentGlobalPrimary:we.extend("--ft-content-global-primary","Used for main content on the page.",$e.colorGray500),contentGlobalSecondary:we.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",$e.colorGray200),contentGlobalSubtle:we.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",$e.colorGray0),contentGlobalOnColor:we.extend("--ft-content-global-on-color","Used for content on a dominant color.",$e.colorWhite),borderActionPrimary:we.extend("--ft-border-action-primary","Used as border for primary action components.",$e.colorBrand0),borderActionFocusRing:we.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",$e.colorCyan0),borderWarningPrimary:we.extend("--ft-border-warning-primary","Used as border for warning components.",$e.colorOrange30),borderSuccessPrimary:we.extend("--ft-border-success-primary","Used as border for success components.",$e.colorGreen30),borderErrorPrimary:we.extend("--ft-border-error-primary","Used as border for error components.",$e.colorRed30),borderInfoPrimary:we.extend("--ft-border-info-primary","Used as border for information components.",$e.colorCyan30),borderGlobalSubtle:we.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",$e.colorGray30),borderGlobalPrimary:we.extend("--ft-border-global-primary","Used as border for element like input.",$e.colorGray50),borderInputPrimary:we.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",$e.colorGray80)},ke={largeHeight:we.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:we.extend("--ft-button-large-horizontal-padding","",$e.spacing4),largeGap:we.extend("--ft-button-large-gap","",$e.spacing2),largeBorderRadius:we.extend("--ft-button-large-border-radius","",$e.borderRadiusS),largeIconSize:we.extend("--ft-button-large-icon-size","",$e.iconSize3),largeBorderWidth:we.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:we.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:we.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:we.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:we.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:we.extend("--ft-button-small-horizontal-padding","",$e.spacing3),smallGap:we.extend("--ft-button-small-gap","",$e.spacing2),smallBorderRadius:we.extend("--ft-button-small-border-radius","",$e.borderRadiusS),smallIconSize:we.extend("--ft-button-small-icon-size","",$e.iconSize2),smallBorderWidth:we.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:we.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:we.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:we.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:we.extend("--ft-button-primary-background-color","",Re.backgroundActionPrimary),primaryColor:we.extend("--ft-button-primary-color","",Re.contentGlobalOnColor),primaryIconColor:we.extend("--ft-button-primary-icon-color","",Re.contentGlobalOnColor),primaryStateLayerColor:we.extend("--ft-button-primary-state-layer-color","",Re.contentGlobalOnColor),primaryStateLayerOpacityHover:we.extend("--ft-button-primary-state-layer-opacity-hover","",$e.opacity16),primaryStateLayerOpacityFocus:we.extend("--ft-button-primary-state-layer-opacity-focus","",$e.opacity16),primaryStateLayerOpacityActive:we.extend("--ft-button-primary-state-layer-opacity-active","",$e.opacity24),primaryComponentOpacityDisabled:we.extend("--ft-button-primary-component-opacity-disabled","",$e.opacity40),focusFocusRingColor:we.extend("--ft-button-focus-focus-ring-color","",Re.borderActionFocusRing),tertiaryBackgroundColor:we.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:we.extend("--ft-button-tertiary-color","",Re.contentActionPrimary),tertiaryIconColor:we.extend("--ft-button-tertiary-icon-color","",Re.contentActionPrimary),tertiaryStateLayerColor:we.extend("--ft-button-tertiary-state-layer-color","",Re.contentActionPrimary),tertiaryStateLayerOpacityHover:we.extend("--ft-button-tertiary-state-layer-opacity-hover","",$e.opacity8),tertiaryStateLayerOpacityFocus:we.extend("--ft-button-tertiary-state-layer-opacity-focus","",$e.opacity8),tertiaryStateLayerOpacityActive:we.extend("--ft-button-tertiary-state-layer-opacity-active","",$e.opacity16),tertiaryComponentOpacityDisabled:we.extend("--ft-button-tertiary-component-opacity-disabled","",$e.opacity40),secondaryBackgroundColor:we.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:we.extend("--ft-button-secondary-color","",Re.contentActionPrimary),secondaryIconColor:we.extend("--ft-button-secondary-icon-color","",Re.contentActionPrimary),secondaryStateLayerColor:we.extend("--ft-button-secondary-state-layer-color","",Re.contentActionPrimary),secondaryStateLayerOpacityHover:we.extend("--ft-button-secondary-state-layer-opacity-hover","",$e.opacity8),secondaryStateLayerOpacityFocus:we.extend("--ft-button-secondary-state-layer-opacity-focus","",$e.opacity8),secondaryStateLayerOpacityActive:we.extend("--ft-button-secondary-state-layer-opacity-active","",$e.opacity16),secondaryComponentOpacityDisabled:we.extend("--ft-button-secondary-component-opacity-disabled","",$e.opacity40),secondaryBorderColor:we.extend("--ft-button-secondary-border-color","",Re.borderActionPrimary),neutralBackgroundColor:we.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:we.extend("--ft-button-neutral-icon-color","",Re.contentGlobalSecondary),neutralColor:we.extend("--ft-button-neutral-color","",Re.contentGlobalSecondary),neutralStateLayerColor:we.extend("--ft-button-neutral-state-layer-color","",Re.contentGlobalSecondary),neutralStateLayerOpacityHover:we.extend("--ft-button-neutral-state-layer-opacity-hover","",$e.opacity8),neutralStateLayerOpacityFocus:we.extend("--ft-button-neutral-state-layer-opacity-focus","",$e.opacity8),neutralStateLayerOpacityActive:we.extend("--ft-button-neutral-state-layer-opacity-active","",$e.opacity16),neutralComponentOpacityDisabled:we.extend("--ft-button-neutral-component-opacity-disabled","",$e.opacity40)};we.extend("--ft-tabs-top-left-border-radius","",$e.borderRadiusS),we.extend("--ft-tabs-top-right-border-radius","",$e.borderRadiusS),we.extend("--ft-tabs-label-horizontal-padding","",$e.spacing4),we.extend("--ft-tabs-label-vertical-padding","",$e.spacing3),we.extend("--ft-tabs-label-gap","",$e.spacing1),we.extend("--ft-switch-group-horizontal-padding","",$e.spacing1),we.extend("--ft-switch-group-vertical-padding","",$e.spacing1),we.extend("--ft-switch-group-gap","",$e.spacing1),we.extend("--ft-switch-group-background-color","",Re.backgroundGlobalSurface),we.extend("--ft-switch-group-border-color","",Re.borderGlobalSubtle),we.create("--ft-switch-group-border-radius","","SIZE","6px"),we.extend("--ft-switch-label-horizontal-padding","",$e.spacing2),we.extend("--ft-switch-label-vertical-padding","",$e.spacing1),we.extend("--ft-switch-icon-horizontal-padding","",$e.spacing1),we.extend("--ft-switch-icon-vertical-padding","",$e.spacing1),we.create("--ft-switch-focus-outline-width","","SIZE","2px"),we.extend("--ft-switch-focus-focus-ring-color","",Re.borderActionFocusRing),we.extend("--ft-switch-option-border-radius","",$e.borderRadiusS),we.extend("--ft-switch-off-state-layer-opacity-hover","",$e.opacity8),we.extend("--ft-switch-off-state-layer-opacity-focus","",$e.opacity8),we.extend("--ft-switch-off-state-layer-opacity-active","",$e.opacity16),we.extend("--ft-switch-off-component-opacity-disabled","",$e.opacity40),we.extend("--ft-switch-off-color","",Re.contentGlobalSubtle),we.extend("--ft-switch-off-state-layer-color","",Re.contentGlobalSubtle),we.extend("--ft-chart-1-light","for area color charts",$e.colorBrand40),we.extend("--ft-chart-1-base","for line charts",$e.colorBrand0),we.extend("--ft-chart-2-light","for area color charts",$e.colorYellow60),we.extend("--ft-chart-2-base","for line charts",$e.colorYellow100),we.extend("--ft-chart-3-light","",$e.colorUltramarine40),we.extend("--ft-chart-3-base","",$e.colorUltramarine70),we.extend("--ft-chart-4-light","",$e.colorCyan50),we.extend("--ft-chart-4-base","",$e.colorCyan100),we.extend("--ft-chart-5-light","",$e.colorRed40),we.extend("--ft-chart-5-base","",$e.colorRed60),we.extend("--ft-chart-6-light","",$e.colorGreen40),we.extend("--ft-chart-6-base","",$e.colorGreen70),we.extend("--ft-chart-7-light","",$e.colorOrange70),we.extend("--ft-chart-7-base","",$e.colorOrange100),we.extend("--ft-chart-8-light","",$e.colorAvocado70),we.extend("--ft-chart-8-base","",$e.colorAvocado200),we.extend("--ft-chart-9-light","",$e.colorBrown50),we.extend("--ft-chart-9-base","",$e.colorBrown200),we.extend("--ft-chart-10-light","",$e.colorGray50),we.extend("--ft-chart-10-base","",$e.colorGray80),we.extend("--ft-chart-monochrome-10","",$e.colorBrand10),we.extend("--ft-chart-monochrome-20","",$e.colorBrand20),we.extend("--ft-chart-monochrome-30","",$e.colorBrand40),we.extend("--ft-chart-monochrome-40","",$e.colorBrand60),we.extend("--ft-chart-monochrome-50","",$e.colorBrand0),we.extend("--ft-chart-monochrome-60","",$e.colorBrand200),we.extend("--ft-chip-large-horizontal-padding","",$e.spacing4),we.extend("--ft-chip-large-vertical-padding","",$e.spacing2),we.extend("--ft-chip-large-gap","",$e.spacing1),we.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),we.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),we.extend("--ft-chip-large-border-radius","",$e.borderRadiusPill),we.create("--ft-chip-large-border-width","","SIZE","1px"),we.extend("--ft-chip-large-icon-size","",$e.iconSize3),we.extend("--ft-chip-medium-horizontal-padding","",$e.spacing3),we.extend("--ft-chip-medium-vertical-padding","",$e.spacing1),we.extend("--ft-chip-medium-gap","",$e.spacing1),we.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),we.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),we.extend("--ft-chip-medium-border-radius","",$e.borderRadiusPill),we.create("--ft-chip-medium-border-width","","SIZE","1px"),we.extend("--ft-chip-medium-icon-size","",$e.iconSize2),we.extend("--ft-chip-small-horizontal-padding","",$e.spacing2),we.extend("--ft-chip-small-vertical-padding","",$e.spacing05),we.extend("--ft-chip-small-gap","",$e.spacing1),we.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),we.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),we.extend("--ft-chip-small-border-radius","",$e.borderRadiusPill),we.create("--ft-chip-small-border-width","","SIZE","1px"),we.extend("--ft-chip-small-icon-size","",$e.iconSize1),we.extend("--ft-chip-neutral-background-color","",Re.backgroundGlobalOnSurface),we.extend("--ft-chip-neutral-color","",Re.contentGlobalPrimary),we.extend("--ft-chip-neutral-border-color","",Re.borderGlobalSubtle),we.extend("--ft-chip-info-background-color","",Re.backgroundInfoSubtle),we.extend("--ft-chip-info-color","",Re.contentInfoPrimary),we.extend("--ft-chip-info-border-color","",Re.borderInfoPrimary),we.extend("--ft-chip-success-background-color","",Re.backgroundSuccessSubtle),we.extend("--ft-chip-success-color","",Re.contentSuccessPrimary),we.extend("--ft-chip-success-border-color","",Re.borderSuccessPrimary),we.extend("--ft-chip-warning-background-color","",Re.backgroundWarningSubtle),we.extend("--ft-chip-warning-color","",Re.contentWarningPrimary),we.extend("--ft-chip-warning-border-color","",Re.borderWarningPrimary),we.extend("--ft-chip-error-background-color","",Re.backgroundErrorSubtle),we.extend("--ft-chip-error-color","",Re.contentErrorPrimary),we.extend("--ft-chip-error-border-color","",Re.borderErrorPrimary),we.create("--ft-notice-border-width","","SIZE","1px"),we.extend("--ft-notice-horizontal-padding","",$e.spacing2),we.extend("--ft-notice-vertical-padding","",$e.spacing1),we.extend("--ft-notice-border-radius","",$e.borderRadiusS),we.extend("--ft-notice-gap","",$e.spacing2),we.extend("--ft-notice-icon-size","",$e.iconSize3),we.extend("--ft-notice-info-background-color","",Re.backgroundInfoSubtle),we.extend("--ft-notice-info-border-color","",Re.borderInfoPrimary),we.extend("--ft-notice-info-color","",Re.contentInfoPrimary),we.extend("--ft-notice-warning-background-color","",Re.backgroundWarningSubtle),we.extend("--ft-notice-warning-border-color","",Re.borderWarningPrimary),we.extend("--ft-notice-warning-color","",Re.contentWarningPrimary),we.extend("--ft-checkbox-label-color","",Re.contentGlobalPrimary),we.extend("--ft-checkbox-checked-background-color","",Re.contentActionPrimary),we.extend("--ft-checkbox-checked-state-layer-color","",Re.contentActionPrimary),we.extend("--ft-checkbox-checked-color","",Re.contentGlobalOnColor),we.extend("--ft-checkbox-checked-state-layer-opacity-hover","",$e.opacity16),we.extend("--ft-checkbox-checked-state-layer-opacity-focus","",$e.opacity16),we.extend("--ft-checkbox-checked-state-layer-opacity-active","",$e.opacity24),we.extend("--ft-checkbox-checked-component-opacity-disabled","",$e.opacity40),we.extend("--ft-checkbox-unchecked-border-color","",$e.colorGray80),we.extend("--ft-checkbox-unchecked-state-layer-color","",$e.colorGray80),we.extend("--ft-checkbox-unchecked-state-layer-opacity-hover","",$e.opacity16),we.extend("--ft-checkbox-unchecked-state-layer-opacity-focus","",$e.opacity16),we.extend("--ft-checkbox-unchecked-state-layer-opacity-active","",$e.opacity24),we.extend("--ft-checkbox-unchecked-component-opacity-disabled","",$e.opacity40),we.extend("--ft-checkbox-focus-focus-ring-color","",Re.borderActionFocusRing),we.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),we.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),we.extend("--ft-checkbox-gap","",$e.spacing3),we.extend("--ft-toggle-off-state-layer-opacity-hover","",$e.opacity16),we.extend("--ft-toggle-off-state-layer-opacity-focus","",$e.opacity16),we.extend("--ft-toggle-off-state-layer-opacity-active","",$e.opacity24),we.extend("--ft-toggle-off-component-opacity-disabled","",$e.opacity40),we.extend("--ft-toggle-off-background-color","",Re.contentGlobalSubtle),we.extend("--ft-toggle-off-icon-color","",Re.contentGlobalSubtle),we.extend("--ft-toggle-off-state-layer-color","",Re.contentGlobalSubtle),we.extend("--ft-toggle-on-state-layer-opacity-hover","",$e.opacity16),we.extend("--ft-toggle-on-state-layer-opacity-focus","",$e.opacity16),we.extend("--ft-toggle-on-state-layer-opacity-active","",$e.opacity24),we.extend("--ft-toggle-on-component-opacity-disabled","",$e.opacity40),we.extend("--ft-toggle-on-background-color","",Re.contentActionPrimary),we.extend("--ft-toggle-on-icon-color","",Re.contentActionPrimary),we.extend("--ft-toggle-on-state-layer-color","",Re.contentActionPrimary),we.extend("--ft-toggle-label-color","",Re.contentGlobalPrimary),we.extend("--ft-toggle-focus-focus-ring-color","",Re.borderActionFocusRing),we.extend("--ft-toggle-gap","",$e.spacing3),we.extend("--ft-radio-label-color","",Re.contentGlobalPrimary),we.extend("--ft-radio-selected-color","",Re.contentActionPrimary),we.extend("--ft-radio-selected-state-layer-color","",Re.contentActionPrimary),we.extend("--ft-radio-selected-state-layer-opacity-hover","",$e.opacity16),we.extend("--ft-radio-selected-state-layer-opacity-focus","",$e.opacity16),we.extend("--ft-radio-selected-state-layer-opacity-active","",$e.opacity24),we.extend("--ft-radio-selected-component-opacity-disabled","",$e.opacity40),we.extend("--ft-radio-unselected-state-layer-color","",$e.colorGray80),we.extend("--ft-radio-unselected-state-layer-opacity-hover","",$e.opacity16),we.extend("--ft-radio-unselected-state-layer-opacity-focus","",$e.opacity16),we.extend("--ft-radio-unselected-state-layer-opacity-active","",$e.opacity24),we.extend("--ft-radio-unselected-component-opacity-disabled","",$e.opacity40),we.extend("--ft-radio-focus-focus-ring-color","",Re.borderActionFocusRing),we.create("--ft-radio-focus-outline-offset","","SIZE","3px"),we.create("--ft-radio-focus-outline-width","","SIZE","2px"),we.extend("--ft-radio-gap","",$e.spacing3),we.extend("--ft-notification-icon-size","",$e.iconSize4),we.extend("--ft-notification-horizontal-padding","",$e.spacing4),we.extend("--ft-notification-vertical-padding","",$e.spacing4),we.extend("--ft-notification-info-background-color","",Re.backgroundInfoSubtle),we.extend("--ft-notification-info-color","",Re.contentInfoPrimary),we.extend("--ft-notification-info-border-color","",Re.borderInfoPrimary),we.extend("--ft-notification-success-background-color","",Re.backgroundSuccessSubtle),we.extend("--ft-notification-success-color","",Re.contentSuccessPrimary),we.extend("--ft-notification-success-border-color","",Re.borderSuccessPrimary),we.extend("--ft-notification-warning-background-color","",Re.backgroundWarningSubtle),we.extend("--ft-notification-warning-color","",Re.contentWarningPrimary),we.extend("--ft-notification-warning-border-color","",Re.borderWarningPrimary),we.extend("--ft-notification-error-background-color","",Re.backgroundErrorSubtle),we.extend("--ft-notification-error-color","",Re.contentErrorPrimary),we.extend("--ft-notification-error-border-color","",Re.borderErrorPrimary),we.extend("--ft-notification-border-radius","",$e.borderRadiusPill),we.create("--ft-notification-border-width","","SIZE","1px"),we.extend("--ft-notification-gap-leading","",$e.spacing2),we.extend("--ft-notification-gap-trailing","",$e.spacing8);const Ue={colorPrimary:we.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:we.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:we.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:we.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:we.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:we.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:we.create("--ft-color-error","","COLOR","#B00020"),colorOutline:we.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:we.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:we.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:we.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:we.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:we.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:we.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:we.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:we.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:we.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:we.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:we.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:we.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:we.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:we.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:we.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:we.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:we.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:we.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:we.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:we.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:we.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:we.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:we.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:we.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:we.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:we.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:we.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:we.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:we.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:we.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:we.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:we.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:we.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:we.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:we.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:we.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:we.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:we.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:we.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:we.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:we.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:we.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:we.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:we.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:we.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:we.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:we.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:we.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:we.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:we.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:we.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:we.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:we.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:we.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")},Ie=window,Le=Ie.ShadowRoot&&(void 0===Ie.ShadyCSS||Ie.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;
80
85
  /**
81
86
  * @license
82
87
  * Copyright 2019 Google LLC
83
88
  * SPDX-License-Identifier: BSD-3-Clause
84
- */class Le extends ve{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{Ie?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=Ue.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var We,ze=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Ke=Symbol("constructorPrototype"),Fe=Symbol("constructorName"),Ae=Symbol("exportpartsDebouncer");class Ze extends Le{constructor(){super(),this[We]=new R(5),this[Fe]=this.constructor.name,this[Ke]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Fe]&&Object.setPrototypeOf(this,this[Ke])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Ae].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}We=Ae,ze([w()],Ze.prototype,"exportpartsPrefix",void 0),ze([I([])],Ze.prototype,"exportpartsPrefixes",void 0),ze([w()],Ze.prototype,"customStylesheet",void 0);const Be=Ne.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");St`
89
+ */class We extends Oe{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{Le?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=Ie.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var ze,Ke=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};const Fe=Symbol("constructorPrototype"),Ae=Symbol("constructorName"),Ze=Symbol("exportpartsDebouncer");class Be extends We{constructor(){super(),this[ze]=new k(5),this[Ae]=this.constructor.name,this[Fe]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ae]&&Object.setPrototypeOf(this,this[Fe])}updated(t){super.updated(t),setTimeout((()=>{this.contentAvailableCallback(t),this.scheduleExportpartsUpdate()}),0)}contentAvailableCallback(t){var e,o;if((null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==o?o:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){this[Ze].run((()=>{var t;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&this.exportpartsPrefixes.length>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,i,r,n,a;const s=t=>null!=t&&t.trim().length>0,l=t.filter(s).map((t=>t.trim()));if(0===l.length)return void this.removeAttribute("exportparts");const c=new Set;for(let t of null!==(o=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll("[part],[exportparts]"))&&void 0!==o?o:[]){const e=null!==(r=null===(i=t.getAttribute("part"))||void 0===i?void 0:i.split(" "))&&void 0!==r?r:[],o=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...e,...o).filter(s).map((t=>t.trim())).forEach((t=>c.add(t)))}if(0===c.size)return void this.removeAttribute("exportparts");const p=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...p].join(", "))}}ze=Ze,Ke([w()],Be.prototype,"exportpartsPrefix",void 0),Ke([L([])],Be.prototype,"exportpartsPrefixes",void 0),Ke([w()],Be.prototype,"customStylesheet",void 0);const Me=we.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E");Nt`
85
90
  .highlight-html-match {
86
- background: ${Be};
91
+ background: ${Me};
87
92
  }
88
- `;const Me=St`
93
+ `;const De=Nt`
89
94
  .ft-no-text-select {
90
95
  -webkit-touch-callout: none;
91
96
  -webkit-user-select: none;
@@ -94,7 +99,7 @@ let ve=class extends Zt{constructor(){super(...arguments),this.renderOptions={ho
94
99
  -ms-user-select: none;
95
100
  user-select: none;
96
101
  }
97
- `;St`
102
+ `;Nt`
98
103
  .ft-word-wrap {
99
104
  white-space: normal;
100
105
  word-wrap: break-word;
@@ -106,7 +111,7 @@ let ve=class extends Zt{constructor(){super(...arguments),this.renderOptions={ho
106
111
  -webkit-hyphens: auto;
107
112
  hyphens: auto
108
113
  }
109
- `;const De=St`
114
+ `;const Pe=Nt`
110
115
  .ft-safari-ellipsis-fix {
111
116
  margin-right: 0;
112
117
 
@@ -117,123 +122,123 @@ let ve=class extends Zt{constructor(){super(...arguments),this.renderOptions={ho
117
122
  display: inline-block;
118
123
  width: 0;
119
124
  }
120
- `;class Pe{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,i;t=this.resolvePluralKey(t,e);let r=null!==(i=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==i?i:"";return e.forEach(((t,e)=>r=r.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),r}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}const He=t=>{const e=null!=t?t:{};return(t,o)=>{var i;const r={hasChanged:(t,e)=>!k(t,e),attribute:!1,...e};w(r)(t,o);const n=t;n.reduxProperties=n.reduxProperties||new Map,n.reduxProperties.set(o,{selector:null!==(i=e.selector)&&void 0!==i?i:t=>t[o],store:e.store})}};function Te(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var je,_e,Ge;const Ve=Symbol("internalReduxEventsUnsubscribers"),Ye=Symbol("internalStoresUnsubscribers"),Xe=Symbol("internalStores");class Je extends Ze{constructor(){super(...arguments),this[je]=new Map,this[_e]=new Map,this[Ge]=[]}update(t){var e;super.update(t),(null===(e=this.reduxReactiveProperties)||void 0===e?void 0:e.some((e=>t.has(e))))&&this.updateFromStores()}getUnnamedStore(){if(this[Xe].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Xe].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Xe].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:Te(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Xe].delete(e)}setupStore(t,e){this[Xe].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Xe].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[Ye].has(t.store):this[Ye].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[Ye].set(t,e.subscribe((()=>this.updateFromStores()))),Te(e)&&e.eventBus&&(null===(o=this.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const i=t=>this[o](t);e.eventBus.addEventListener(t.eventName,i),this[Ve].push((()=>e.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Ye].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Ve].forEach((t=>t())),this[Ve]=[]}unsubscribeFromStore(t){this[Ye].has(t)&&this[Ye].get(t)(),this[Ye].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}je=Ye,_e=Xe,Ge=Ve,window.ftReduxStores||(window.ftReduxStores={});const qe=Symbol("elementInternals");var Qe,to,eo;const oo=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(eo=null===(to=null===(Qe=window.safari)||void 0===Qe?void 0:Qe.pushNotification)||void 0===to?void 0:to.toString())&&void 0!==eo?eo:""),io=1,ro=2,no=t=>(...e)=>({_$litDirective$:t,values:e});
125
+ `;class He{constructor(t,e){this.defaultLabels=t,this.labels=e}resolve(t,...e){var o,i;t=this.resolvePluralKey(t,e);let r=null!==(i=null!==(o=this.labels[t])&&void 0!==o?o:this.defaultLabels[t])&&void 0!==i?i:"";return e.forEach(((t,e)=>r=r.replace(new RegExp(`\\{${e}([^}]*)\\}`,"g"),((e,o)=>this.formatValue(t,o))))),r}resolvePluralKey(t,e){for(let o of e)if("number"==typeof o){const e=`${String(t)}[\\=${o}]`;if(e in this.labels||e in this.defaultLabels)return e}return t}formatValue(t,e){return t instanceof Date?this.formatDate(t,e):null!=t?t:""}formatDate(t,e){const o=o=>(null==e?void 0:e.includes("date"))?t.toLocaleDateString(o):(null==e?void 0:e.includes("time"))?t.toLocaleTimeString(o):t.toLocaleString(o);try{return o(document.documentElement.lang)}catch(t){return o()}}}const Te=t=>{const e=null!=t?t:{};return(t,o)=>{var i;const r={hasChanged:(t,e)=>!U(t,e),attribute:!1,...e};w(r)(t,o);const n=t;n.reduxProperties=n.reduxProperties||new Map,n.reduxProperties.set(o,{selector:null!==(i=e.selector)&&void 0!==i?i:t=>t[o],store:e.store})}};function je(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var _e,Ge,Ve;const Ye=Symbol("internalReduxEventsUnsubscribers"),Xe=Symbol("internalStoresUnsubscribers"),Je=Symbol("internalStores");class qe extends Be{constructor(){super(...arguments),this[_e]=new Map,this[Ge]=new Map,this[Ve]=[]}update(t){var e;super.update(t),(null===(e=this.reduxReactiveProperties)||void 0===e?void 0:e.some((e=>t.has(e))))&&this.updateFromStores()}getUnnamedStore(){if(this[Je].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Je].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[Je].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:je(t)?t.name:void 0)&&void 0!==o?o:"default-store",this.unsubscribeFromStore(e),this.setupStore(e,t)}removeStore(t){const e="string"==typeof t?t:t.name;this.unsubscribeFromStore(e),this[Je].delete(e)}setupStore(t,e){this[Je].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Je].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxProperties&&this.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[Xe].has(t.store):this[Xe].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[Xe].set(t,e.subscribe((()=>this.updateFromStores()))),je(e)&&e.eventBus&&(null===(o=this.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const i=t=>this[o](t);e.eventBus.addEventListener(t.eventName,i),this[Ye].push((()=>e.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[Xe].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[Ye].forEach((t=>t())),this[Ye]=[]}unsubscribeFromStore(t){this[Xe].has(t)&&this[Xe].get(t)(),this[Xe].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}_e=Xe,Ge=Je,Ve=Ye,window.ftReduxStores||(window.ftReduxStores={});const Qe=Symbol("elementInternals");var to,eo,oo;const io=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(oo=null===(eo=null===(to=window.safari)||void 0===to?void 0:to.pushNotification)||void 0===eo?void 0:eo.toString())&&void 0!==oo?oo:""),ro=1,no=2,ao=t=>(...e)=>({_$litDirective$:t,values:e});
121
126
  /**
122
127
  * @license
123
128
  * Copyright 2017 Google LLC
124
129
  * SPDX-License-Identifier: BSD-3-Clause
125
- */let ao=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
130
+ */let so=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
126
131
  /**
127
132
  * @license
128
133
  * Copyright 2020 Google LLC
129
134
  * SPDX-License-Identifier: BSD-3-Clause
130
- */const{D:so}=ut,lo=()=>document.createComment(""),co=(t,e,o)=>{const i=t._$AA.parentNode,r=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=i.insertBefore(lo(),r),n=i.insertBefore(lo(),r);o=new so(e,n,t,t.options)}else{const e=o._$AB.nextSibling,n=o._$AM,a=n!==t;if(a){let e;o._$AQ?.(t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==n._$AU&&o._$AP(e)}if(e!==r||a){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;i.insertBefore(t,r),t=e}}}return o},po=(t,e,o=t)=>(t._$AI(e,o),t),fo={},ho=t=>{t._$AP?.(!1,!0);let e=t._$AA;const o=t._$AB.nextSibling;for(;e!==o;){const t=e.nextSibling;e.remove(),e=t}},uo=(t,e,o)=>{const i=new Map;for(let r=e;r<=o;r++)i.set(t[r],r);return i},yo=no(class extends ao{constructor(t){if(super(t),t.type!==ro)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let i;void 0===o?o=e:void 0!==e&&(i=e);const r=[],n=[];let a=0;for(const e of t)r[a]=i?i(e,a):a,n[a]=o(e,a),a++;return{values:n,keys:r}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,i]){const r=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(e,o,i);if(!Array.isArray(r))return this.dt=a,n;const s=this.dt??=[],l=[];let c,p,f=0,h=r.length-1,d=0,u=n.length-1;for(;f<=h&&d<=u;)if(null===r[f])f++;else if(null===r[h])h--;else if(s[f]===a[d])l[d]=po(r[f],n[d]),f++,d++;else if(s[h]===a[u])l[u]=po(r[h],n[u]),h--,u--;else if(s[f]===a[u])l[u]=po(r[f],n[u]),co(t,l[u+1],r[f]),f++,u--;else if(s[h]===a[d])l[d]=po(r[h],n[d]),co(t,r[f],r[h]),h--,d++;else if(void 0===c&&(c=uo(a,d,u),p=uo(s,f,h)),c.has(s[f]))if(c.has(s[h])){const e=p.get(a[d]),o=void 0!==e?r[e]:null;if(null===o){const e=co(t,r[f]);po(e,n[d]),l[d]=e}else l[d]=po(o,n[d]),co(t,r[f],o),r[e]=null;d++}else ho(r[h]),h--;else ho(r[f]),f++;for(;d<=u;){const e=co(t,l[u+1]);po(e,n[d]),l[d++]=e}for(;f<=h;){const t=r[f++];null!==t&&ho(t)}return this.dt=a,((t,e=fo)=>{t._$AH=e})(t,l),Q}}),go=no(class extends ao{constructor(t){if(super(t),t.type!==io||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const i=!!e[t];i===this.it.has(t)||this.st?.has(t)||(i?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return Q}}),bo="important",mo=" !"+bo,xo=no(class extends ao{constructor(t){if(super(t),t.type!==io||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,o)=>{const i=t[o];return null==i?e:e+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`}),"")}update(t,[e]){const{style:o}=t.element;if(void 0===this.ut)return this.ut=new Set(Object.keys(e)),this.render(e);for(const t of this.ut)null==e[t]&&(this.ut.delete(t),t.includes("-")?o.removeProperty(t):o[t]=null);for(const t in e){const i=e[t];if(null!=i){this.ut.add(t);const e="string"==typeof i&&i.endsWith(mo);t.includes("-")||e?o.setProperty(t,e?i.slice(0,-11):i,e?bo:""):o[t]=i}}return Q}});
135
+ */const{D:lo}=yt,co=()=>document.createComment(""),po=(t,e,o)=>{const i=t._$AA.parentNode,r=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=i.insertBefore(co(),r),n=i.insertBefore(co(),r);o=new lo(e,n,t,t.options)}else{const e=o._$AB.nextSibling,n=o._$AM,a=n!==t;if(a){let e;o._$AQ?.(t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==n._$AU&&o._$AP(e)}if(e!==r||a){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;i.insertBefore(t,r),t=e}}}return o},fo=(t,e,o=t)=>(t._$AI(e,o),t),ho={},uo=t=>{t._$AP?.(!1,!0);let e=t._$AA;const o=t._$AB.nextSibling;for(;e!==o;){const t=e.nextSibling;e.remove(),e=t}},yo=(t,e,o)=>{const i=new Map;for(let r=e;r<=o;r++)i.set(t[r],r);return i},go=ao(class extends so{constructor(t){if(super(t),t.type!==no)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let i;void 0===o?o=e:void 0!==e&&(i=e);const r=[],n=[];let a=0;for(const e of t)r[a]=i?i(e,a):a,n[a]=o(e,a),a++;return{values:n,keys:r}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,i]){const r=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(e,o,i);if(!Array.isArray(r))return this.dt=a,n;const s=this.dt??=[],l=[];let c,p,f=0,h=r.length-1,d=0,u=n.length-1;for(;f<=h&&d<=u;)if(null===r[f])f++;else if(null===r[h])h--;else if(s[f]===a[d])l[d]=fo(r[f],n[d]),f++,d++;else if(s[h]===a[u])l[u]=fo(r[h],n[u]),h--,u--;else if(s[f]===a[u])l[u]=fo(r[f],n[u]),po(t,l[u+1],r[f]),f++,u--;else if(s[h]===a[d])l[d]=fo(r[h],n[d]),po(t,r[f],r[h]),h--,d++;else if(void 0===c&&(c=yo(a,d,u),p=yo(s,f,h)),c.has(s[f]))if(c.has(s[h])){const e=p.get(a[d]),o=void 0!==e?r[e]:null;if(null===o){const e=po(t,r[f]);fo(e,n[d]),l[d]=e}else l[d]=fo(o,n[d]),po(t,r[f],o),r[e]=null;d++}else uo(r[h]),h--;else uo(r[f]),f++;for(;d<=u;){const e=po(t,l[u+1]);fo(e,n[d]),l[d++]=e}for(;f<=h;){const t=r[f++];null!==t&&uo(t)}return this.dt=a,((t,e=ho)=>{t._$AH=e})(t,l),tt}}),bo=ao(class extends so{constructor(t){if(super(t),t.type!==ro||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!this.st?.has(t)&&this.it.add(t);return this.render(e)}const o=t.element.classList;for(const t of this.it)t in e||(o.remove(t),this.it.delete(t));for(const t in e){const i=!!e[t];i===this.it.has(t)||this.st?.has(t)||(i?(o.add(t),this.it.add(t)):(o.remove(t),this.it.delete(t)))}return tt}}),mo="important",xo=" !"+mo,vo=ao(class extends so{constructor(t){if(super(t),t.type!==ro||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,o)=>{const i=t[o];return null==i?e:e+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`}),"")}update(t,[e]){const{style:o}=t.element;if(void 0===this.ut)return this.ut=new Set(Object.keys(e)),this.render(e);for(const t of this.ut)null==e[t]&&(this.ut.delete(t),t.includes("-")?o.removeProperty(t):o[t]=null);for(const t in e){const i=e[t];if(null!=i){this.ut.add(t);const e="string"==typeof i&&i.endsWith(xo);t.includes("-")||e?o.setProperty(t,e?i.slice(0,-11):i,e?mo:""):o[t]=i}}return tt}});
131
136
  /**
132
137
  * @license
133
138
  * Copyright 2017 Google LLC
134
139
  * SPDX-License-Identifier: BSD-3-Clause
135
- */var vo;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"}(vo||(vo={}));var Oo=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class So extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const No=Symbol("registerInterval");class wo extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[No]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[No]):this.dispatchEvent(new So)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=No,Oo([C()],o.prototype,"stateManager",void 0),o}(Je)){}
140
+ */var Oo;!function(t){t.FEEDBACK="FEEDBACK",t.RATING="RATING",t.PRINT="PRINT",t.BOOKMARK="BOOKMARK",t.COLLECTIONS="COLLECTIONS",t.PERSONAL_BOOKS="PERSONAL_BOOKS"}(Oo||(Oo={}));var So=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class No extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}}const wo=Symbol("registerInterval");class Co extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setReaderStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var t;return null===(t=this.stateManager)||void 0===t?void 0:t.service}connectedCallback(){super.connectedCallback(),this[wo]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[wo]):this.dispatchEvent(new No)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=wo,So([C()],o.prototype,"stateManager",void 0),o}(qe)){}
136
141
  /**
137
142
  * @license
138
143
  * Copyright 2020 Google LLC
139
144
  * SPDX-License-Identifier: BSD-3-Clause
140
- */const Co=Symbol.for(""),$o=t=>{if(t?.r===Co)return t?._$litStatic$},Eo=t=>({_$litStatic$:t,r:Co}),Ro=new Map,ko=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],s=[];let l,c=0,p=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=$o(n));)l+=r+e[++c],p=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(e[i]),p){const t=a.join("$$lit$$");void 0===(e=Ro.get(t))&&(a.raw=a,Ro.set(t,e=a)),o=s}return t(e,...o)})(q);var Uo;!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"}(Uo||(Uo={}));const Io=Ne.extend("--ft-typography-font-family","",ke.titleFont),Lo=Ne.extend("--ft-typography-font-family","",ke.contentFont),Wo={fontFamily:Lo,fontSize:Ne.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:Ne.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:Ne.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:Ne.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:Ne.create("--ft-typography-text-transform","","UNKNOWN","inherit")},zo=Ne.extend("--ft-typography-title-font-family","",Io),Ko=Ne.extend("--ft-typography-title-font-size","",Wo.fontSize,"20px"),Fo=Ne.extend("--ft-typography-title-font-weight","",Wo.fontWeight,"normal"),Ao=Ne.extend("--ft-typography-title-letter-spacing","",Wo.letterSpacing,"0.15px"),Zo=Ne.extend("--ft-typography-title-line-height","",Wo.lineHeight,"1.2"),Bo=Ne.extend("--ft-typography-title-text-transform","",Wo.textTransform,"inherit"),Mo=Ne.extend("--ft-typography-title-dense-font-family","",Io),Do=Ne.extend("--ft-typography-title-dense-font-size","",Wo.fontSize,"14px"),Po=Ne.extend("--ft-typography-title-dense-font-weight","",Wo.fontWeight,"normal"),Ho=Ne.extend("--ft-typography-title-dense-letter-spacing","",Wo.letterSpacing,"0.105px"),To=Ne.extend("--ft-typography-title-dense-line-height","",Wo.lineHeight,"1.7"),jo=Ne.extend("--ft-typography-title-dense-text-transform","",Wo.textTransform,"inherit"),_o=Ne.extend("--ft-typography-subtitle1-font-family","",Lo),Go=Ne.extend("--ft-typography-subtitle1-font-size","",Wo.fontSize,"16px"),Vo=Ne.extend("--ft-typography-subtitle1-font-weight","",Wo.fontWeight,"600"),Yo=Ne.extend("--ft-typography-subtitle1-letter-spacing","",Wo.letterSpacing,"0.144px"),Xo=Ne.extend("--ft-typography-subtitle1-line-height","",Wo.lineHeight,"1.5"),Jo=Ne.extend("--ft-typography-subtitle1-text-transform","",Wo.textTransform,"inherit"),qo=Ne.extend("--ft-typography-subtitle2-font-family","",Lo),Qo=Ne.extend("--ft-typography-subtitle2-font-size","",Wo.fontSize,"14px"),ti=Ne.extend("--ft-typography-subtitle2-font-weight","",Wo.fontWeight,"normal"),ei=Ne.extend("--ft-typography-subtitle2-letter-spacing","",Wo.letterSpacing,"0.098px"),oi=Ne.extend("--ft-typography-subtitle2-line-height","",Wo.lineHeight,"1.7"),ii=Ne.extend("--ft-typography-subtitle2-text-transform","",Wo.textTransform,"inherit"),ri=Ne.extend("--ft-typography-body1-font-family","",Lo),ni=Ne.extend("--ft-typography-body1-font-size","",Wo.fontSize,"16px"),ai=Ne.extend("--ft-typography-body1-font-weight","",Wo.fontWeight,"normal"),si=Ne.extend("--ft-typography-body1-letter-spacing","",Wo.letterSpacing,"0.496px"),li=Ne.extend("--ft-typography-body1-line-height","",Wo.lineHeight,"1.5"),ci=Ne.extend("--ft-typography-body1-text-transform","",Wo.textTransform,"inherit"),pi=Ne.extend("--ft-typography-body2-font-family","",Lo),fi=Ne.extend("--ft-typography-body2-font-size","",Wo.fontSize,"14px"),hi=Ne.extend("--ft-typography-body2-font-weight","",Wo.fontWeight,"normal"),di=Ne.extend("--ft-typography-body2-letter-spacing","",Wo.letterSpacing,"0.252px"),ui=Ne.extend("--ft-typography-body2-line-height","",Wo.lineHeight,"1.4"),yi=Ne.extend("--ft-typography-body2-text-transform","",Wo.textTransform,"inherit"),gi=Ne.extend("--ft-typography-caption-font-family","",Lo),bi=Ne.extend("--ft-typography-caption-font-size","",Wo.fontSize,"12px"),mi=Ne.extend("--ft-typography-caption-font-weight","",Wo.fontWeight,"normal"),xi=Ne.extend("--ft-typography-caption-letter-spacing","",Wo.letterSpacing,"0.396px"),vi=Ne.extend("--ft-typography-caption-line-height","",Wo.lineHeight,"1.33"),Oi=Ne.extend("--ft-typography-caption-text-transform","",Wo.textTransform,"inherit"),Si=Ne.extend("--ft-typography-breadcrumb-font-family","",Lo),Ni=Ne.extend("--ft-typography-breadcrumb-font-size","",Wo.fontSize,"10px"),wi=Ne.extend("--ft-typography-breadcrumb-font-weight","",Wo.fontWeight,"normal"),Ci=Ne.extend("--ft-typography-breadcrumb-letter-spacing","",Wo.letterSpacing,"0.33px"),$i=Ne.extend("--ft-typography-breadcrumb-line-height","",Wo.lineHeight,"1.6"),Ei=Ne.extend("--ft-typography-breadcrumb-text-transform","",Wo.textTransform,"inherit"),Ri=Ne.extend("--ft-typography-overline-font-family","",Lo),ki=Ne.extend("--ft-typography-overline-font-size","",Wo.fontSize,"10px"),Ui=Ne.extend("--ft-typography-overline-font-weight","",Wo.fontWeight,"normal"),Ii=Ne.extend("--ft-typography-overline-letter-spacing","",Wo.letterSpacing,"1.5px"),Li=Ne.extend("--ft-typography-overline-line-height","",Wo.lineHeight,"1.6"),Wi=Ne.extend("--ft-typography-overline-text-transform","",Wo.textTransform,"uppercase"),zi={fontFamily:Ne.extend("--ft-typography-button-font-family","",Lo),fontSize:Ne.extend("--ft-typography-button-font-size","",Wo.fontSize,"14px"),fontWeight:Ne.extend("--ft-typography-button-font-weight","",Wo.fontWeight,"600"),letterSpacing:Ne.extend("--ft-typography-button-letter-spacing","",Wo.letterSpacing,"1.246px"),lineHeight:Ne.extend("--ft-typography-button-line-height","",Wo.lineHeight,"1.15"),textTransform:Ne.extend("--ft-typography-button-text-transform","",Wo.textTransform,"uppercase")},Ki=St`
145
+ */const $o=Symbol.for(""),Eo=t=>{if(t?.r===$o)return t?._$litStatic$},Ro=t=>({_$litStatic$:t,r:$o}),ko=new Map,Uo=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],s=[];let l,c=0,p=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=Eo(n));)l+=r+e[++c],p=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(e[i]),p){const t=a.join("$$lit$$");void 0===(e=ko.get(t))&&(a.raw=a,ko.set(t,e=a)),o=s}return t(e,...o)})(Q);var Io;!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"}(Io||(Io={}));const Lo=we.extend("--ft-typography-font-family","",Ue.titleFont),Wo=we.extend("--ft-typography-font-family","",Ue.contentFont),zo={fontFamily:Wo,fontSize:we.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:we.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:we.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:we.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:we.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Ko=we.extend("--ft-typography-title-font-family","",Lo),Fo=we.extend("--ft-typography-title-font-size","",zo.fontSize,"20px"),Ao=we.extend("--ft-typography-title-font-weight","",zo.fontWeight,"normal"),Zo=we.extend("--ft-typography-title-letter-spacing","",zo.letterSpacing,"0.15px"),Bo=we.extend("--ft-typography-title-line-height","",zo.lineHeight,"1.2"),Mo=we.extend("--ft-typography-title-text-transform","",zo.textTransform,"inherit"),Do=we.extend("--ft-typography-title-dense-font-family","",Lo),Po=we.extend("--ft-typography-title-dense-font-size","",zo.fontSize,"14px"),Ho=we.extend("--ft-typography-title-dense-font-weight","",zo.fontWeight,"normal"),To=we.extend("--ft-typography-title-dense-letter-spacing","",zo.letterSpacing,"0.105px"),jo=we.extend("--ft-typography-title-dense-line-height","",zo.lineHeight,"1.7"),_o=we.extend("--ft-typography-title-dense-text-transform","",zo.textTransform,"inherit"),Go=we.extend("--ft-typography-subtitle1-font-family","",Wo),Vo=we.extend("--ft-typography-subtitle1-font-size","",zo.fontSize,"16px"),Yo=we.extend("--ft-typography-subtitle1-font-weight","",zo.fontWeight,"600"),Xo=we.extend("--ft-typography-subtitle1-letter-spacing","",zo.letterSpacing,"0.144px"),Jo=we.extend("--ft-typography-subtitle1-line-height","",zo.lineHeight,"1.5"),qo=we.extend("--ft-typography-subtitle1-text-transform","",zo.textTransform,"inherit"),Qo=we.extend("--ft-typography-subtitle2-font-family","",Wo),ti=we.extend("--ft-typography-subtitle2-font-size","",zo.fontSize,"14px"),ei=we.extend("--ft-typography-subtitle2-font-weight","",zo.fontWeight,"normal"),oi=we.extend("--ft-typography-subtitle2-letter-spacing","",zo.letterSpacing,"0.098px"),ii=we.extend("--ft-typography-subtitle2-line-height","",zo.lineHeight,"1.7"),ri=we.extend("--ft-typography-subtitle2-text-transform","",zo.textTransform,"inherit"),ni=we.extend("--ft-typography-body1-font-family","",Wo),ai=we.extend("--ft-typography-body1-font-size","",zo.fontSize,"16px"),si=we.extend("--ft-typography-body1-font-weight","",zo.fontWeight,"normal"),li=we.extend("--ft-typography-body1-letter-spacing","",zo.letterSpacing,"0.496px"),ci=we.extend("--ft-typography-body1-line-height","",zo.lineHeight,"1.5"),pi=we.extend("--ft-typography-body1-text-transform","",zo.textTransform,"inherit"),fi=we.extend("--ft-typography-body2-font-family","",Wo),hi=we.extend("--ft-typography-body2-font-size","",zo.fontSize,"14px"),di=we.extend("--ft-typography-body2-font-weight","",zo.fontWeight,"normal"),ui=we.extend("--ft-typography-body2-letter-spacing","",zo.letterSpacing,"0.252px"),yi=we.extend("--ft-typography-body2-line-height","",zo.lineHeight,"1.4"),gi=we.extend("--ft-typography-body2-text-transform","",zo.textTransform,"inherit"),bi=we.extend("--ft-typography-caption-font-family","",Wo),mi=we.extend("--ft-typography-caption-font-size","",zo.fontSize,"12px"),xi=we.extend("--ft-typography-caption-font-weight","",zo.fontWeight,"normal"),vi=we.extend("--ft-typography-caption-letter-spacing","",zo.letterSpacing,"0.396px"),Oi=we.extend("--ft-typography-caption-line-height","",zo.lineHeight,"1.33"),Si=we.extend("--ft-typography-caption-text-transform","",zo.textTransform,"inherit"),Ni=we.extend("--ft-typography-breadcrumb-font-family","",Wo),wi=we.extend("--ft-typography-breadcrumb-font-size","",zo.fontSize,"10px"),Ci=we.extend("--ft-typography-breadcrumb-font-weight","",zo.fontWeight,"normal"),$i=we.extend("--ft-typography-breadcrumb-letter-spacing","",zo.letterSpacing,"0.33px"),Ei=we.extend("--ft-typography-breadcrumb-line-height","",zo.lineHeight,"1.6"),Ri=we.extend("--ft-typography-breadcrumb-text-transform","",zo.textTransform,"inherit"),ki=we.extend("--ft-typography-overline-font-family","",Wo),Ui=we.extend("--ft-typography-overline-font-size","",zo.fontSize,"10px"),Ii=we.extend("--ft-typography-overline-font-weight","",zo.fontWeight,"normal"),Li=we.extend("--ft-typography-overline-letter-spacing","",zo.letterSpacing,"1.5px"),Wi=we.extend("--ft-typography-overline-line-height","",zo.lineHeight,"1.6"),zi=we.extend("--ft-typography-overline-text-transform","",zo.textTransform,"uppercase"),Ki={fontFamily:we.extend("--ft-typography-button-font-family","",Wo),fontSize:we.extend("--ft-typography-button-font-size","",zo.fontSize,"14px"),fontWeight:we.extend("--ft-typography-button-font-weight","",zo.fontWeight,"600"),letterSpacing:we.extend("--ft-typography-button-letter-spacing","",zo.letterSpacing,"1.246px"),lineHeight:we.extend("--ft-typography-button-line-height","",zo.lineHeight,"1.15"),textTransform:we.extend("--ft-typography-button-text-transform","",zo.textTransform,"uppercase")},Fi=Nt`
141
146
  .ft-typography--title {
142
- font-family: ${zo};
143
- font-size: ${Ko};
144
- font-weight: ${Fo};
145
- letter-spacing: ${Ao};
146
- line-height: ${Zo};
147
- text-transform: ${Bo};
148
- }
149
- `,Fi=St`
147
+ font-family: ${Ko};
148
+ font-size: ${Fo};
149
+ font-weight: ${Ao};
150
+ letter-spacing: ${Zo};
151
+ line-height: ${Bo};
152
+ text-transform: ${Mo};
153
+ }
154
+ `,Ai=Nt`
150
155
  .ft-typography--title-dense {
151
- font-family: ${Mo};
152
- font-size: ${Do};
153
- font-weight: ${Po};
154
- letter-spacing: ${Ho};
155
- line-height: ${To};
156
- text-transform: ${jo};
157
- }
158
- `,Ai=St`
156
+ font-family: ${Do};
157
+ font-size: ${Po};
158
+ font-weight: ${Ho};
159
+ letter-spacing: ${To};
160
+ line-height: ${jo};
161
+ text-transform: ${_o};
162
+ }
163
+ `,Zi=Nt`
159
164
  .ft-typography--subtitle1 {
160
- font-family: ${_o};
161
- font-size: ${Go};
162
- font-weight: ${Vo};
163
- letter-spacing: ${Yo};
164
- line-height: ${Xo};
165
- text-transform: ${Jo};
166
- }
167
- `,Zi=St`
165
+ font-family: ${Go};
166
+ font-size: ${Vo};
167
+ font-weight: ${Yo};
168
+ letter-spacing: ${Xo};
169
+ line-height: ${Jo};
170
+ text-transform: ${qo};
171
+ }
172
+ `,Bi=Nt`
168
173
  .ft-typography--subtitle2 {
169
- font-family: ${qo};
170
- font-size: ${Qo};
171
- font-weight: ${ti};
172
- letter-spacing: ${ei};
173
- line-height: ${oi};
174
- text-transform: ${ii};
174
+ font-family: ${Qo};
175
+ font-size: ${ti};
176
+ font-weight: ${ei};
177
+ letter-spacing: ${oi};
178
+ line-height: ${ii};
179
+ text-transform: ${ri};
175
180
  }
176
181
 
177
- `,Bi=St`
182
+ `,Mi=Nt`
178
183
  .ft-typography--body1 {
179
- font-family: ${ri};
180
- font-size: ${ni};
181
- font-weight: ${ai};
182
- letter-spacing: ${si};
183
- line-height: ${li};
184
- text-transform: ${ci};
185
- }
186
- `,Mi=St`
184
+ font-family: ${ni};
185
+ font-size: ${ai};
186
+ font-weight: ${si};
187
+ letter-spacing: ${li};
188
+ line-height: ${ci};
189
+ text-transform: ${pi};
190
+ }
191
+ `,Di=Nt`
187
192
  .ft-typography--body2 {
188
- font-family: ${pi};
189
- font-size: ${fi};
190
- font-weight: ${hi};
191
- letter-spacing: ${di};
192
- line-height: ${ui};
193
- text-transform: ${yi};
194
- }
195
- `,Di=St`
193
+ font-family: ${fi};
194
+ font-size: ${hi};
195
+ font-weight: ${di};
196
+ letter-spacing: ${ui};
197
+ line-height: ${yi};
198
+ text-transform: ${gi};
199
+ }
200
+ `,Pi=Nt`
196
201
  .ft-typography--caption {
197
- font-family: ${gi};
198
- font-size: ${bi};
199
- font-weight: ${mi};
200
- letter-spacing: ${xi};
201
- line-height: ${vi};
202
- text-transform: ${Oi};
203
- }
204
- `,Pi=St`
202
+ font-family: ${bi};
203
+ font-size: ${mi};
204
+ font-weight: ${xi};
205
+ letter-spacing: ${vi};
206
+ line-height: ${Oi};
207
+ text-transform: ${Si};
208
+ }
209
+ `,Hi=Nt`
205
210
  .ft-typography--breadcrumb {
206
- font-family: ${Si};
207
- font-size: ${Ni};
208
- font-weight: ${wi};
209
- letter-spacing: ${Ci};
210
- line-height: ${$i};
211
- text-transform: ${Ei};
212
- }
213
- `,Hi=St`
211
+ font-family: ${Ni};
212
+ font-size: ${wi};
213
+ font-weight: ${Ci};
214
+ letter-spacing: ${$i};
215
+ line-height: ${Ei};
216
+ text-transform: ${Ri};
217
+ }
218
+ `,Ti=Nt`
214
219
  .ft-typography--overline {
215
- font-family: ${Ri};
216
- font-size: ${ki};
217
- font-weight: ${Ui};
218
- letter-spacing: ${Ii};
219
- line-height: ${Li};
220
- text-transform: ${Wi};
221
- }
222
- `,Ti=St`
220
+ font-family: ${ki};
221
+ font-size: ${Ui};
222
+ font-weight: ${Ii};
223
+ letter-spacing: ${Li};
224
+ line-height: ${Wi};
225
+ text-transform: ${zi};
226
+ }
227
+ `,ji=Nt`
223
228
  .ft-typography--button {
224
- font-family: ${zi.fontFamily};
225
- font-size: ${zi.fontSize};
226
- font-weight: ${zi.fontWeight};
227
- letter-spacing: ${zi.letterSpacing};
228
- line-height: ${zi.lineHeight};
229
- text-transform: ${zi.textTransform};
230
- }
231
- `,ji=St`
229
+ font-family: ${Ki.fontFamily};
230
+ font-size: ${Ki.fontSize};
231
+ font-weight: ${Ki.fontWeight};
232
+ letter-spacing: ${Ki.letterSpacing};
233
+ line-height: ${Ki.lineHeight};
234
+ text-transform: ${Ki.textTransform};
235
+ }
236
+ `,_i=Nt`
232
237
  .ft-typography {
233
238
  vertical-align: inherit;
234
239
  }
235
- `,_i=[Object.keys($e).map((t=>function(t){const e=$e[t];return St`
236
- .ft-typography--${Ot(t)} {
240
+ `,Gi=[Object.keys(Ee).map((t=>function(t){const e=Ee[t];return Nt`
241
+ .ft-typography--${St(t)} {
237
242
  font-family: ${e.fontFamily};
238
243
  font-size: ${e.fontSize};
239
244
  font-weight: ${e.fontWeight};
@@ -241,39 +246,39 @@ let ve=class extends Zt{constructor(){super(...arguments),this.renderOptions={ho
241
246
  line-height: ${e.lineHeight};
242
247
  text-transform: ${e.textCase};
243
248
  }
244
- `}(t)))];var Gi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Vi extends Ze{constructor(){super(...arguments),this.variant=Uo.body1}render(){return this.element?ko`
245
- <${Eo(this.element)}
249
+ `}(t)))];var Vi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Yi extends Be{constructor(){super(...arguments),this.variant=Io.body1}render(){return this.element?Uo`
250
+ <${Ro(this.element)}
246
251
  class="ft-typography ft-typography--${this.variant}">
247
252
  <slot></slot>
248
- </${Eo(this.element)}>
249
- `:ko`
253
+ </${Ro(this.element)}>
254
+ `:Uo`
250
255
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
251
- `}}Vi.styles=[Ki,Fi,Ai,Zi,Bi,Mi,Di,Pi,Hi,Ti,ji,..._i],Gi([w()],Vi.prototype,"element",void 0),Gi([w()],Vi.prototype,"variant",void 0),U("ft-typography")(Vi);const Yi=Ne.extend("--ft-reader-internal-link-outline-color","",ke.colorPrimary),Xi=St`
256
+ `}}Yi.styles=[Fi,Ai,Zi,Bi,Mi,Di,Pi,Hi,Ti,ji,_i,...Gi],Vi([w()],Yi.prototype,"element",void 0),Vi([w()],Yi.prototype,"variant",void 0),I("ft-typography")(Yi);const Xi=we.extend("--ft-reader-internal-link-outline-color","",Ue.colorPrimary),Ji=Nt`
252
257
  :host {
253
258
  display: contents;
254
259
  }
255
260
 
256
261
  a:focus {
257
- outline-color: ${Yi};
262
+ outline-color: ${Xi};
258
263
  }
259
264
 
260
265
  .ft-reader-link--remove-style {
261
266
  text-decoration: none;
262
267
  color: inherit;
263
268
  }
264
- `;var Ji=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class qi extends wo{constructor(){super(...arguments),this.removeStyle=!1}render(){var t;let e=go({"ft-reader-link":!0,"ft-reader-link--remove-style":this.removeStyle});return re`
269
+ `;var qi=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Qi extends Co{constructor(){super(...arguments),this.removeStyle=!1}render(){var t;let e=bo({"ft-reader-link":!0,"ft-reader-link--remove-style":this.removeStyle});return ne`
265
270
  <a class=${e}
266
271
  href="${null===(t=this.service)||void 0===t?void 0:t.getLink(this.tocId,this.pageNumber,this.section)}"
267
272
  @click=${t=>this.onLinkClick(t)}>
268
273
  <slot></slot>
269
274
  </a>
270
- `}onLinkClick(t){var e;t.ctrlKey||t.metaKey||(t.stopPropagation(),t.preventDefault(),null===(e=this.stateManager)||void 0===e||e.navigateToTopic(this.tocId,this.section,this.pageNumber),this.click())}}qi.styles=Xi,Ji([w()],qi.prototype,"tocId",void 0),Ji([w()],qi.prototype,"section",void 0),Ji([w({type:Number})],qi.prototype,"pageNumber",void 0),Ji([w({type:Boolean})],qi.prototype,"removeStyle",void 0),U("ft-reader-internal-link")(qi);
275
+ `}onLinkClick(t){var e;t.ctrlKey||t.metaKey||(t.stopPropagation(),t.preventDefault(),null===(e=this.stateManager)||void 0===e||e.navigateToTopic(this.tocId,this.section,this.pageNumber),this.click())}}Qi.styles=Ji,qi([w()],Qi.prototype,"tocId",void 0),qi([w()],Qi.prototype,"section",void 0),qi([w({type:Number})],Qi.prototype,"pageNumber",void 0),qi([w({type:Boolean})],Qi.prototype,"removeStyle",void 0),I("ft-reader-internal-link")(Qi);
271
276
  /**
272
277
  * @license
273
278
  * Copyright 2017 Google LLC
274
279
  * SPDX-License-Identifier: BSD-3-Clause
275
280
  */
276
- class Qi extends ao{constructor(t){if(super(t),this.et=tt,t.type!==ro)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===tt||null==t)return this.vt=void 0,this.et=t;if(t===Q)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Qi.directiveName="unsafeHTML",Qi.resultType=1;const tr=no(Qi);var er,or;!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.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(er||(er={})),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;"}(or||(or={})),new Map([...["abw"].map((t=>[t,or.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,or.AUDIO])),...["avi"].map((t=>[t,or.AVI])),...["chm","xhs"].map((t=>[t,or.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,or.CODE])),...["csv"].map((t=>[t,or.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,or.DITA])),...["epub"].map((t=>[t,or.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,or.EXCEL])),...["flac"].map((t=>[t,or.FLAC])),...["gif"].map((t=>[t,or.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,or.GZIP])),...["html","htm","xhtml"].map((t=>[t,or.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,or.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,or.JPEG])),...["json"].map((t=>[t,or.JSON])),...["m4a","m4p"].map((t=>[t,or.M4A])),...["mov","qt"].map((t=>[t,or.MOV])),...["mp3"].map((t=>[t,or.MP3])),...["mp4","m4v"].map((t=>[t,or.MP4])),...["ogg","oga"].map((t=>[t,or.OGG])),...["pdf","ps"].map((t=>[t,or.PDF])),...["png"].map((t=>[t,or.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,or.POWERPOINT])),...["rar"].map((t=>[t,or.RAR])),...["stp"].map((t=>[t,or.STP])),...["txt","rtf","md","mdown"].map((t=>[t,or.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,or.VIDEO])),...["wav"].map((t=>[t,or.WAV])),...["wma"].map((t=>[t,or.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,or.WORD])),...["xml","xsl","rdf"].map((t=>[t,or.XML])),...["yaml","yml","x-yaml"].map((t=>[t,or.YAML])),...["zip"].map((t=>[t,or.ZIP]))]);const ir={size:Ne.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:Ne.extend("--ft-icon-fluid-topics-font-family","",Ne.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:Ne.extend("--ft-icon-file-format-font-family","",Ne.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:Ne.extend("--ft-icon-material-font-family","",Ne.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:Ne.create("--ft-icon-vertical-align","","UNKNOWN","unset")},rr=St`
281
+ class tr extends so{constructor(t){if(super(t),this.et=et,t.type!==no)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===et||null==t)return this.vt=void 0,this.et=t;if(t===tt)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}}tr.directiveName="unsafeHTML",tr.resultType=1;const er=ao(tr);var or,ir;!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.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;"}(or||(or={})),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;"}(ir||(ir={})),new Map([...["abw"].map((t=>[t,ir.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,ir.AUDIO])),...["avi"].map((t=>[t,ir.AVI])),...["chm","xhs"].map((t=>[t,ir.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,ir.CODE])),...["csv"].map((t=>[t,ir.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,ir.DITA])),...["epub"].map((t=>[t,ir.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,ir.EXCEL])),...["flac"].map((t=>[t,ir.FLAC])),...["gif"].map((t=>[t,ir.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,ir.GZIP])),...["html","htm","xhtml"].map((t=>[t,ir.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf"].map((t=>[t,ir.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,ir.JPEG])),...["json"].map((t=>[t,ir.JSON])),...["m4a","m4p"].map((t=>[t,ir.M4A])),...["mov","qt"].map((t=>[t,ir.MOV])),...["mp3"].map((t=>[t,ir.MP3])),...["mp4","m4v"].map((t=>[t,ir.MP4])),...["ogg","oga"].map((t=>[t,ir.OGG])),...["pdf","ps"].map((t=>[t,ir.PDF])),...["png"].map((t=>[t,ir.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,ir.POWERPOINT])),...["rar"].map((t=>[t,ir.RAR])),...["stp"].map((t=>[t,ir.STP])),...["txt","rtf","md","mdown"].map((t=>[t,ir.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,ir.VIDEO])),...["wav"].map((t=>[t,ir.WAV])),...["wma"].map((t=>[t,ir.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,ir.WORD])),...["xml","xsl","rdf"].map((t=>[t,ir.XML])),...["yaml","yml","x-yaml"].map((t=>[t,ir.YAML])),...["zip"].map((t=>[t,ir.ZIP]))]);const rr={size:we.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:we.extend("--ft-icon-fluid-topics-font-family","",we.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:we.extend("--ft-icon-file-format-font-family","",we.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:we.extend("--ft-icon-material-font-family","",we.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:we.create("--ft-icon-vertical-align","","UNKNOWN","unset")},nr=Nt`
277
282
  :host, i.ft-icon {
278
283
  display: inline-flex;
279
284
  align-items: center;
@@ -282,14 +287,14 @@ class Qi extends ao{constructor(t){if(super(t),this.et=tt,t.type!==ro)throw Erro
282
287
  }
283
288
 
284
289
  :host {
285
- width: ${ir.size};
286
- height: ${ir.size};
290
+ width: ${rr.size};
291
+ height: ${rr.size};
287
292
  }
288
293
 
289
294
  i.ft-icon {
290
295
  width: 100%;
291
296
  height: 100%;
292
- font-size: ${ir.size};
297
+ font-size: ${rr.size};
293
298
  line-height: 1;
294
299
  font-weight: normal;
295
300
  text-transform: none;
@@ -300,33 +305,33 @@ class Qi extends ao{constructor(t){if(super(t),this.et=tt,t.type!==ro)throw Erro
300
305
  text-rendering: auto;
301
306
  -webkit-font-smoothing: antialiased;
302
307
  -moz-osx-font-smoothing: grayscale;
303
- vertical-align: ${ir.verticalAlign};
308
+ vertical-align: ${rr.verticalAlign};
304
309
  }
305
310
 
306
311
  i.ft-icon.ft-icon--fluid-topics {
307
- font-family: ${ir.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
312
+ font-family: ${rr.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
308
313
 
309
314
  /* Ugly fix because font is broken */
310
- font-size: calc(0.75 * ${ir.size});
311
- line-height: ${ir.size};
315
+ font-size: calc(0.75 * ${rr.size});
316
+ line-height: ${rr.size};
312
317
  position: relative;
313
318
  top: -4%;
314
319
  justify-content: center;
315
320
  }
316
321
 
317
322
  .ft-icon--file-format {
318
- font-family: ${ir.fileFormatFontFamily}, ft-mime, sans-serif;
323
+ font-family: ${rr.fileFormatFontFamily}, ft-mime, sans-serif;
319
324
  }
320
325
 
321
326
  .ft-icon--material {
322
- font-family: ${ir.materialFontFamily}, "Material Icons", sans-serif;
327
+ font-family: ${rr.materialFontFamily}, "Material Icons", sans-serif;
323
328
  }
324
- `;var nr;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(nr||(nr={}));var ar=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class sr extends Ze{constructor(){super(...arguments),this.resolvedIcon=ae}render(){const t=this.variant&&Object.values(nr).includes(this.variant)?this.variant:nr.fluid_topics,e=t!==nr.material||!!this.value;return re`
329
+ `;var ar;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(ar||(ar={}));var sr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class lr extends Be{constructor(){super(...arguments),this.resolvedIcon=se}render(){const t=this.variant&&Object.values(ar).includes(this.variant)?this.variant:ar.fluid_topics,e=t!==ar.material||!!this.value;return ne`
325
330
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
326
- ${tr(this.resolvedIcon)}
331
+ ${er(this.resolvedIcon)}
327
332
  <slot ?hidden=${e}></slot>
328
333
  </i>
329
- `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case nr.file_format:this.resolvedIcon=null!==(t=or[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case nr.material:this.resolvedIcon=this.value||ae;break;default:this.resolvedIcon=null!==(e=er[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}sr.elementDefinitions={},sr.styles=rr,ar([w()],sr.prototype,"variant",void 0),ar([w()],sr.prototype,"value",void 0),ar([C()],sr.prototype,"resolvedIcon",void 0),ar([E("slot")],sr.prototype,"slottedContent",void 0),U("ft-icon")(sr);const lr=Ne.extend("--ft-ripple-color","",ke.colorContent),cr={color:lr,backgroundColor:Ne.extend("--ft-ripple-background-color","",lr),opacityContentOnSurfacePressed:Ne.external(ke.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:Ne.external(ke.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:Ne.external(ke.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:Ne.external(ke.opacityContentOnSurfaceSelected,"Design system"),borderRadius:Ne.create("--ft-ripple-border-radius","","SIZE","0px")},pr=Ne.extend("--ft-ripple-color","",ke.colorPrimary),fr=pr,hr=Ne.extend("--ft-ripple-background-color","",pr),dr=Ne.extend("--ft-ripple-color","",ke.colorSecondary),ur=dr,yr=Ne.extend("--ft-ripple-background-color","",dr),gr=St`
334
+ `}get textContent(){var t,e;return null!==(e=null===(t=this.slottedContent)||void 0===t?void 0:t.assignedNodes().map((t=>t.textContent)).join("").trim())&&void 0!==e?e:""}update(t){super.update(t),["value","variant"].some((e=>t.has(e)))&&this.resolveIcon()}resolveIcon(){var t,e;let o=this.value||this.textContent;switch(this.variant){case ar.file_format:this.resolvedIcon=null!==(t=ir[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case ar.material:this.resolvedIcon=this.value||se;break;default:this.resolvedIcon=null!==(e=or[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}lr.elementDefinitions={},lr.styles=nr,sr([w()],lr.prototype,"variant",void 0),sr([w()],lr.prototype,"value",void 0),sr([C()],lr.prototype,"resolvedIcon",void 0),sr([R("slot")],lr.prototype,"slottedContent",void 0),I("ft-icon")(lr);const cr=we.extend("--ft-ripple-color","",Ue.colorContent),pr={color:cr,backgroundColor:we.extend("--ft-ripple-background-color","",cr),opacityContentOnSurfacePressed:we.external(Ue.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:we.external(Ue.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:we.external(Ue.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:we.external(Ue.opacityContentOnSurfaceSelected,"Design system"),borderRadius:we.create("--ft-ripple-border-radius","","SIZE","0px")},fr=we.extend("--ft-ripple-color","",Ue.colorPrimary),hr=fr,dr=we.extend("--ft-ripple-background-color","",fr),ur=we.extend("--ft-ripple-color","",Ue.colorSecondary),yr=ur,gr=we.extend("--ft-ripple-background-color","",ur),br=Nt`
330
335
  :host {
331
336
  display: contents;
332
337
  }
@@ -339,7 +344,7 @@ class Qi extends ao{constructor(t){if(super(t),this.et=tt,t.type!==ro)throw Erro
339
344
 
340
345
  .ft-ripple:not(.ft-ripple--unbounded) {
341
346
  overflow: hidden;
342
- border-radius: ${cr.borderRadius};
347
+ border-radius: ${pr.borderRadius};
343
348
  }
344
349
 
345
350
  .ft-ripple .ft-ripple--background,
@@ -373,27 +378,27 @@ class Qi extends ao{constructor(t){if(super(t),this.et=tt,t.type!==ro)throw Erro
373
378
  }
374
379
 
375
380
  .ft-ripple .ft-ripple--background {
376
- background-color: ${cr.backgroundColor};
381
+ background-color: ${pr.backgroundColor};
377
382
  }
378
383
 
379
384
  .ft-ripple .ft-ripple--effect {
380
- background-color: ${cr.color};
385
+ background-color: ${pr.color};
381
386
  }
382
387
 
383
388
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
384
- background-color: ${yr};
389
+ background-color: ${gr};
385
390
  }
386
391
 
387
392
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
388
- background-color: ${ur};
393
+ background-color: ${yr};
389
394
  }
390
395
 
391
396
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
392
- background-color: ${hr};
397
+ background-color: ${dr};
393
398
  }
394
399
 
395
400
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
396
- background-color: ${fr};
401
+ background-color: ${hr};
397
402
  }
398
403
 
399
404
  .ft-ripple .ft-ripple--background {
@@ -423,22 +428,22 @@ class Qi extends ao{constructor(t){if(super(t),this.et=tt,t.type!==ro)throw Erro
423
428
  }
424
429
 
425
430
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
426
- opacity: ${cr.opacityContentOnSurfaceHover};
431
+ opacity: ${pr.opacityContentOnSurfaceHover};
427
432
  }
428
433
 
429
434
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
430
- opacity: ${cr.opacityContentOnSurfaceSelected};
435
+ opacity: ${pr.opacityContentOnSurfaceSelected};
431
436
  }
432
437
 
433
438
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
434
- opacity: ${cr.opacityContentOnSurfaceFocused};
439
+ opacity: ${pr.opacityContentOnSurfaceFocused};
435
440
  }
436
441
 
437
442
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
438
- opacity: ${cr.opacityContentOnSurfacePressed};
443
+ opacity: ${pr.opacityContentOnSurfacePressed};
439
444
  transform: translate(-50%, -50%) scale(1);
440
445
  }
441
- `,br={color:Ne.extend("--ft-loader-color","",ke.colorPrimary),size:Ne.create("--ft-loader-size","","SIZE","80px")},mr=St`
446
+ `,mr={color:we.extend("--ft-loader-color","",Ue.colorPrimary),size:we.create("--ft-loader-size","","SIZE","80px")},xr=Nt`
442
447
  :host {
443
448
  line-height: 0;
444
449
  }
@@ -447,8 +452,8 @@ class Qi extends ao{constructor(t){if(super(t),this.et=tt,t.type!==ro)throw Erro
447
452
  display: inline-block;
448
453
  position: relative;
449
454
 
450
- width: ${br.size};
451
- height: ${br.size};
455
+ width: ${mr.size};
456
+ height: ${mr.size};
452
457
  }
453
458
 
454
459
  .ft-loader div {
@@ -457,7 +462,7 @@ class Qi extends ao{constructor(t){if(super(t),this.et=tt,t.type!==ro)throw Erro
457
462
  width: 25%;
458
463
  height: 25%;
459
464
  border-radius: 50%;
460
- background: ${br.color};
465
+ background: ${mr.color};
461
466
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
462
467
  }
463
468
 
@@ -504,10 +509,10 @@ class Qi extends ao{constructor(t){if(super(t),this.et=tt,t.type!==ro)throw Erro
504
509
  transform: translate(0, 0);
505
510
  }
506
511
  100% {
507
- transform: translate(calc(0.35 * ${br.size}), 0);
512
+ transform: translate(calc(0.35 * ${mr.size}), 0);
508
513
  }
509
514
  }
510
- `,xr=Ne.extend("--ft-button-color","",ke.colorPrimary),vr={backgroundColor:Ne.extend("--ft-button-background-color","",ke.colorSurface),borderRadius:Ne.extend("--ft-button-border-radius","",ke.borderRadiusL),color:xr,fontSize:Ne.extend("--ft-button-font-size","",zi.fontSize),iconSize:Ne.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:Ne.extend("--ft-button-ripple-color","",xr),verticalPadding:Ne.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:Ne.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:Ne.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:Ne.external(ke.colorOpacityDisabled,"Design system")},Or=Ne.extend("--ft-button-primary-color","",Ne.extend("--ft-button-color","",ke.colorOnPrimary)),Sr={backgroundColor:Ne.extend("--ft-button-primary-background-color","",Ne.extend("--ft-button-background-color","",ke.colorPrimary)),color:Or,rippleColor:Ne.extend("--ft-button-primary-ripple-color","",Or)},Nr=Ne.extend("--ft-button-dense-border-radius","",Ne.extend("--ft-button-border-radius","",ke.borderRadiusM)),wr=Ne.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Cr=Ne.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),$r=Ne.create("--ft-button-dense-icon-padding","","SIZE","4px"),Er=[St`
515
+ `,vr=we.extend("--ft-button-color","",Ue.colorPrimary),Or={backgroundColor:we.extend("--ft-button-background-color","",Ue.colorSurface),borderRadius:we.extend("--ft-button-border-radius","",Ue.borderRadiusL),color:vr,fontSize:we.extend("--ft-button-font-size","",Ki.fontSize),iconSize:we.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:we.extend("--ft-button-ripple-color","",vr),verticalPadding:we.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:we.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:we.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:we.external(Ue.colorOpacityDisabled,"Design system")},Sr=we.extend("--ft-button-primary-color","",we.extend("--ft-button-color","",Ue.colorOnPrimary)),Nr={backgroundColor:we.extend("--ft-button-primary-background-color","",we.extend("--ft-button-background-color","",Ue.colorPrimary)),color:Sr,rippleColor:we.extend("--ft-button-primary-ripple-color","",Sr)},wr=we.extend("--ft-button-dense-border-radius","",we.extend("--ft-button-border-radius","",Ue.borderRadiusM)),Cr=we.create("--ft-button-dense-vertical-padding","","SIZE","2px"),$r=we.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Er=we.create("--ft-button-dense-icon-padding","","SIZE","4px"),Rr=[Nt`
511
516
  :host {
512
517
  display: inline-block;
513
518
  max-width: 100%;
@@ -518,7 +523,7 @@ class Qi extends ao{constructor(t){if(super(t),this.et=tt,t.type!==ro)throw Erro
518
523
  box-shadow: 0px 0px 0px transparent;
519
524
  border: 0px solid transparent;
520
525
  text-shadow: 0px 0px 0px transparent;
521
- font-size: ${vr.fontSize};
526
+ font-size: ${Or.fontSize};
522
527
  }
523
528
 
524
529
  button:hover {
@@ -547,31 +552,31 @@ class Qi extends ao{constructor(t){if(super(t),this.et=tt,t.type!==ro)throw Erro
547
552
  border: none;
548
553
  pointer-events: auto;
549
554
 
550
- --ft-button-internal-line-height: max(calc(${vr.fontSize} + 2px), ${vr.iconSize});
551
- --ft-button-internal-color: ${vr.color};
552
- ${we(ir.size,vr.iconSize)};
553
- ${we(cr.color,vr.rippleColor)};
555
+ --ft-button-internal-line-height: max(calc(${Or.fontSize} + 2px), ${Or.iconSize});
556
+ --ft-button-internal-color: ${Or.color};
557
+ ${Ce(rr.size,Or.iconSize)};
558
+ ${Ce(pr.color,Or.rippleColor)};
554
559
 
555
- border-radius: ${vr.borderRadius};
556
- padding: ${vr.verticalPadding} ${vr.horizontalPadding};
557
- background-color: ${vr.backgroundColor};
560
+ border-radius: ${Or.borderRadius};
561
+ padding: ${Or.verticalPadding} ${Or.horizontalPadding};
562
+ background-color: ${Or.backgroundColor};
558
563
  color: var(--ft-button-internal-color);
559
564
  -webkit-mask-image: radial-gradient(white, black);
560
565
  }
561
566
 
562
567
  .ft-button.ft-button--outlined {
563
568
  border: 1px solid var(--ft-button-internal-color);
564
- padding: calc(${vr.verticalPadding} - 1px) calc(${vr.horizontalPadding} - 1px);
569
+ padding: calc(${Or.verticalPadding} - 1px) calc(${Or.horizontalPadding} - 1px);
565
570
  }
566
571
 
567
572
  .ft-button.ft-button--dense {
568
- padding: ${wr} ${Cr};
569
- border-radius: ${Nr};
570
- gap: ${$r};
573
+ padding: ${Cr} ${$r};
574
+ border-radius: ${wr};
575
+ gap: ${Er};
571
576
  }
572
577
 
573
578
  .ft-button.ft-button--dense.ft-button--outlined {
574
- padding: calc(${wr} - 1px) calc(${Cr} - 1px);
579
+ padding: calc(${Cr} - 1px) calc(${$r} - 1px);
575
580
  }
576
581
 
577
582
  .ft-button:not([disabled]):hover {
@@ -579,22 +584,22 @@ class Qi extends ao{constructor(t){if(super(t),this.et=tt,t.type!==ro)throw Erro
579
584
  }
580
585
 
581
586
  .ft-button--round {
582
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${vr.verticalPadding});
587
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Or.verticalPadding});
583
588
  }
584
589
 
585
590
  .ft-button--round.ft-button--dense {
586
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${wr});
591
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Cr});
587
592
  }
588
593
 
589
594
  .ft-button[disabled] {
590
595
  filter: grayscale(1);
591
- opacity: ${vr.opacityDisabled};
596
+ opacity: ${Or.opacityDisabled};
592
597
  }
593
598
 
594
599
  .ft-button.ft-button--primary {
595
- background-color: ${Sr.backgroundColor};
596
- --ft-button-internal-color: ${Sr.color};
597
- ${we(cr.color,Sr.rippleColor)};
600
+ background-color: ${Nr.backgroundColor};
601
+ --ft-button-internal-color: ${Nr.color};
602
+ ${Ce(pr.color,Nr.rippleColor)};
598
603
  }
599
604
 
600
605
  .ft-button:focus {
@@ -607,13 +612,13 @@ class Qi extends ao{constructor(t){if(super(t),this.et=tt,t.type!==ro)throw Erro
607
612
  white-space: nowrap;
608
613
  text-overflow: ellipsis;
609
614
  display: block;
610
- margin: 0 ${vr.iconPadding};
611
- ${we(zi.fontSize,"1em")};
612
- ${we(zi.lineHeight,"var(--ft-button-internal-line-height)")};
615
+ margin: 0 ${Or.iconPadding};
616
+ ${Ce(Ki.fontSize,"1em")};
617
+ ${Ce(Ki.lineHeight,"var(--ft-button-internal-line-height)")};
613
618
  }
614
619
 
615
620
  .ft-button--dense .ft-button--label {
616
- margin: 0 ${$r};
621
+ margin: 0 ${Er};
617
622
  }
618
623
 
619
624
  .ft-button--label[hidden] {
@@ -626,13 +631,13 @@ class Qi extends ao{constructor(t){if(super(t),this.et=tt,t.type!==ro)throw Erro
626
631
  }
627
632
 
628
633
  .ft-button--label[hidden] + ft-icon {
629
- margin: 0 calc(${vr.horizontalPadding} * -1);
630
- padding: 0 ${vr.verticalPadding};
634
+ margin: 0 calc(${Or.horizontalPadding} * -1);
635
+ padding: 0 ${Or.verticalPadding};
631
636
  }
632
637
 
633
638
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
634
- margin: 0 calc(${Cr} * -1);
635
- padding: 0 ${wr};
639
+ margin: 0 calc(${$r} * -1);
640
+ padding: 0 ${Cr};
636
641
  }
637
642
 
638
643
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -641,21 +646,21 @@ class Qi extends ao{constructor(t){if(super(t),this.et=tt,t.type!==ro)throw Erro
641
646
  }
642
647
 
643
648
  ft-loader {
644
- ${we(br.size,vr.iconSize)};
645
- ${we(br.color,"var(--ft-button-internal-color)")};
649
+ ${Ce(mr.size,Or.iconSize)};
650
+ ${Ce(mr.color,"var(--ft-button-internal-color)")};
646
651
  }
647
- `,Me];var Rr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class kr extends Ze{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new R(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 R(10),this.moveRipple=t=>{var e,o;let{x:i,y:r}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-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 re`
652
+ `,De];var kr=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Ur extends Be{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 k(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 k(10),this.moveRipple=t=>{var e,o;let{x:i,y:r}=this.getCoordinates(t),n=null!==(o=null===(e=this.ripple)||void 0===e?void 0:e.getBoundingClientRect())&&void 0!==o?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(null!=i?i-n.x:n.width/2),this.originY=Math.round(null!=r?r-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 ne`
648
653
  <style>
649
654
  .ft-ripple .ft-ripple--effect {
650
655
  left: ${this.originX}px;
651
656
  top: ${this.originY}px;
652
657
  }
653
658
  </style>
654
- <div class="${go(t)}">
659
+ <div class="${bo(t)}">
655
660
  <div class="ft-ripple--background"></div>
656
661
  <div class="ft-ripple--effect"></div>
657
662
  </div>
658
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)};t.addEventListener("mouseover",this.startHover),t.addEventListener("mousemove",this.moveRipple),t.addEventListener("mouseleave",this.endHover),t.addEventListener("mousedown",o),t.addEventListener("touchstart",i),t.addEventListener("touchmove",this.moveRipple),t.addEventListener("keydown",r),t.addEventListener("focus",this.startFocus),t.addEventListener("blur",this.endFocus),t.addEventListener("focusin",this.startFocus),t.addEventListener("focusout",this.endFocus),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover),t.removeEventListener("mousemove",this.moveRipple),t.removeEventListener("mouseleave",this.endHover),t.removeEventListener("mousedown",o),t.removeEventListener("touchstart",i),t.removeEventListener("touchmove",this.moveRipple),t.removeEventListener("keydown",r),t.removeEventListener("focus",this.startFocus),t.removeEventListener("blur",this.endFocus),t.removeEventListener("focusin",this.startFocus),t.removeEventListener("focusout",this.endFocus),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}kr.elementDefinitions={},kr.styles=gr,Rr([w({type:Boolean})],kr.prototype,"primary",void 0),Rr([w({type:Boolean})],kr.prototype,"secondary",void 0),Rr([w({type:Boolean})],kr.prototype,"unbounded",void 0),Rr([w({type:Boolean})],kr.prototype,"activated",void 0),Rr([w({type:Boolean})],kr.prototype,"selected",void 0),Rr([w({type:Boolean})],kr.prototype,"disabled",void 0),Rr([C()],kr.prototype,"hovered",void 0),Rr([C()],kr.prototype,"focused",void 0),Rr([C()],kr.prototype,"pressed",void 0),Rr([C()],kr.prototype,"rippling",void 0),Rr([C()],kr.prototype,"originX",void 0),Rr([C()],kr.prototype,"originY",void 0),Rr([E(".ft-ripple")],kr.prototype,"ripple",void 0),Rr([E(".ft-ripple--effect")],kr.prototype,"rippleEffect",void 0),U("ft-ripple")(kr);const Ur=Ne.create("--ft-tooltip-distance","","SIZE","4px"),Ir=Ne.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Lr=Ne.create("--ft-tooltip-background-color","","COLOR","#666666"),Wr=Ne.create("--ft-tooltip-z-index","","NUMBER","100"),zr=Ne.external(ke.borderRadiusS,"Design system"),Kr=Ne.create("--ft-tooltip-max-width","","SIZE","150px"),Fr=St`
663
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var e,o;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),null===(e=this.target)||void 0===e||e.removeAttribute("data-is-ft-ripple-target")):null===(o=this.target)||void 0===o||o.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run((()=>this.defaultSetup()))}defaultSetup(){var t,e;const o=null===(t=this.shadowRoot)||void 0===t?void 0:t.host.parentElement;o&&this.setupFor(null!==(e=this.target)&&void 0!==e?e:o)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");const e=(...t)=>e=>{t.forEach((t=>window.addEventListener(t,this.endPress,{once:!0}))),this.startPress(e)},o=e("mouseup","contextmenu"),i=e("touchend","touchcancel"),r=t=>{["Enter"," "].includes(t.key)&&e("keyup")(t)},n={passive:!0};t.addEventListener("mouseover",this.startHover,n),t.addEventListener("mousemove",this.moveRipple,n),t.addEventListener("mouseleave",this.endHover,n),t.addEventListener("mousedown",o,n),t.addEventListener("touchstart",i,n),t.addEventListener("touchmove",this.moveRipple,n),t.addEventListener("keydown",r,n),t.addEventListener("focus",this.startFocus,n),t.addEventListener("blur",this.endFocus,n),t.addEventListener("focusin",this.startFocus,n),t.addEventListener("focusout",this.endFocus,n),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,n),t.removeEventListener("mousemove",this.moveRipple,n),t.removeEventListener("mouseleave",this.endHover,n),t.removeEventListener("mousedown",o,n),t.removeEventListener("touchstart",i,n),t.removeEventListener("touchmove",this.moveRipple,n),t.removeEventListener("keydown",r,n),t.removeEventListener("focus",this.startFocus,n),t.removeEventListener("blur",this.endFocus,n),t.removeEventListener("focusin",this.startFocus,n),t.removeEventListener("focusout",this.endFocus,n),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){const e=t,o=t;let i,r;return null!=e.x?({x:i,y:r}=e):null!=o.touches&&(i=o.touches[0].clientX,r=o.touches[0].clientY),{x:i,y:r}}isFocusVisible(t){return!(t instanceof HTMLElement)||t.matches(":focus-visible")}isIgnored(t){if(this.disabled)return!0;if(null!=t)for(let e of t.composedPath()){if(e===this.target)break;if("hasAttribute"in e&&e.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}}Ur.elementDefinitions={},Ur.styles=br,kr([w({type:Boolean})],Ur.prototype,"primary",void 0),kr([w({type:Boolean})],Ur.prototype,"secondary",void 0),kr([w({type:Boolean})],Ur.prototype,"unbounded",void 0),kr([w({type:Boolean})],Ur.prototype,"activated",void 0),kr([w({type:Boolean})],Ur.prototype,"selected",void 0),kr([w({type:Boolean})],Ur.prototype,"disabled",void 0),kr([C()],Ur.prototype,"hovered",void 0),kr([C()],Ur.prototype,"focused",void 0),kr([C()],Ur.prototype,"pressed",void 0),kr([C()],Ur.prototype,"rippling",void 0),kr([C()],Ur.prototype,"originX",void 0),kr([C()],Ur.prototype,"originY",void 0),kr([R(".ft-ripple")],Ur.prototype,"ripple",void 0),kr([R(".ft-ripple--effect")],Ur.prototype,"rippleEffect",void 0),I("ft-ripple")(Ur);const Ir=we.create("--ft-tooltip-distance","","SIZE","4px"),Lr=we.create("--ft-tooltip-color","","COLOR","#FFFFFF"),Wr=we.create("--ft-tooltip-background-color","","COLOR","#666666"),zr=we.create("--ft-tooltip-z-index","","NUMBER","100"),Kr=we.external(Ue.borderRadiusS,"Design system"),Fr=we.create("--ft-tooltip-max-width","","SIZE","150px"),Ar=Nt`
659
664
  .ft-tooltip--container {
660
665
  display: block;
661
666
  }
@@ -670,21 +675,21 @@ class Qi extends ao{constructor(t){if(super(t),this.et=tt,t.type!==ro)throw Erro
670
675
  box-sizing: border-box;
671
676
  overflow: hidden;
672
677
  width: max-content;
673
- max-width: ${Kr};
678
+ max-width: ${Fr};
674
679
  text-align: center;
675
- padding: ${Ur};
676
- z-index: ${Wr};
680
+ padding: ${Ir};
681
+ z-index: ${zr};
677
682
  }
678
683
 
679
684
  .ft-tooltip--content {
680
685
  padding: 4px 8px;
681
- border-radius: ${zr};
682
- background-color: ${Lr};
683
- color: ${Ir};
686
+ border-radius: ${Kr};
687
+ background-color: ${Wr};
688
+ color: ${Lr};
684
689
  position: relative;
685
690
  word-break: break-word;
686
691
  }
687
- `,Ar=["start","end"],Zr=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Ar[0],e+"-"+Ar[1])),[]),Br=Math.min,Mr=Math.max,Dr=Math.round,Pr=t=>({x:t,y:t}),Hr={left:"right",right:"left",bottom:"top",top:"bottom"},Tr={start:"end",end:"start"};function jr(t,e,o){return Mr(t,Br(e,o))}function _r(t,e){return"function"==typeof t?t(e):t}function Gr(t){return t.split("-")[0]}function Vr(t){return t.split("-")[1]}function Yr(t){return"x"===t?"y":"x"}function Xr(t){return"y"===t?"height":"width"}function Jr(t){return["top","bottom"].includes(Gr(t))?"y":"x"}function qr(t){return Yr(Jr(t))}function Qr(t){return t.replace(/left|right|bottom|top/g,(t=>Hr[t]))}function tn(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function en(t,e,o){let{reference:i,floating:r}=t;const n=Jr(e),a=qr(e),s=Xr(a),l=Gr(e),c="y"===n,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,h=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:p,y:i.y-r.height};break;case"bottom":d={x:p,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-r.width,y:f};break;default:d={x:i.x,y:i.y}}switch(Vr(e)){case"start":d[a]-=h*(o&&c?-1:1);break;case"end":d[a]+=h*(o&&c?-1:1)}return d}async function on(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=_r(e,t),u=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}}(d),y=s[h?"floating"===f?"reference":"floating":f],g=tn(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=tn(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-v.top+u.top)/x.y,bottom:(v.bottom-g.bottom+u.bottom)/x.y,left:(g.left-v.left+u.left)/x.x,right:(v.right-g.right+u.right)/x.x}}function rn(t,e,o){return(t?[...o.filter((e=>Vr(e)===t)),...o.filter((e=>Vr(e)!==t))]:o.filter((t=>Gr(t)===t))).filter((o=>!t||(Vr(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Tr[t]))}(o)!==o)))}const nn=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:p=!1,alignment:f,allowedPlacements:h=Zr,autoAlignment:d=!0,...u}=_r(t,e),y=void 0!==f||h===Zr?rn(f||null,d,h):h,g=await on(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const x=function(t,e,o){void 0===o&&(o=!1);const i=Vr(t),r=qr(t),n=Xr(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Qr(a)),[a,Qr(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[Gr(m)],g[x[0]],g[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],S=y[b+1];if(S)return{data:{index:b+1,overflows:O},reset:{placement:S}};const N=O.map((t=>{const e=Vr(t.placement);return[t.placement,e&&p?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),w=N.filter((t=>t[2].slice(0,Vr(t[0])?2:3).every((t=>t<=0)))),C=(null==(r=w[0])?void 0:r[0])||N[0][0];return C!==s?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function an(t){return cn(t)?(t.nodeName||"").toLowerCase():"#document"}function sn(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function ln(t){var e;return null==(e=(cn(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function cn(t){return t instanceof Node||t instanceof sn(t).Node}function pn(t){return t instanceof Element||t instanceof sn(t).Element}function fn(t){return t instanceof HTMLElement||t instanceof sn(t).HTMLElement}function hn(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof sn(t).ShadowRoot)}function dn(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=mn(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function un(t){return["table","td","th"].includes(an(t))}function yn(t){const e=gn(),o=mn(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function gn(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function bn(t){return["html","body","#document"].includes(an(t))}function mn(t){return sn(t).getComputedStyle(t)}function xn(t){return pn(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function vn(t){if("html"===an(t))return t;const e=t.assignedSlot||t.parentNode||hn(t)&&t.host||ln(t);return hn(e)?e.host:e}function On(t){const e=vn(t);return bn(e)?t.ownerDocument?t.ownerDocument.body:t.body:fn(e)&&dn(e)?e:On(e)}function Sn(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=On(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=sn(r);return n?e.concat(a,a.visualViewport||[],dn(r)?r:[],a.frameElement&&o?Sn(a.frameElement):[]):e.concat(r,Sn(r,[],o))}function Nn(t){const e=mn(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=fn(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=Dr(o)!==n||Dr(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function wn(t){return pn(t)?t:t.contextElement}function Cn(t){const e=wn(t);if(!fn(e))return Pr(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=Nn(e);let a=(n?Dr(o.width):o.width)/i,s=(n?Dr(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const $n=Pr(0);function En(t){const e=sn(t);return gn()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:$n}function Rn(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=wn(t);let a=Pr(1);e&&(i?pn(i)&&(a=Cn(i)):a=Cn(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==sn(t))&&e}(n,o,i)?En(n):Pr(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,p=r.width/a.x,f=r.height/a.y;if(n){const t=sn(n),e=i&&pn(i)?sn(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=Cn(o),e=o.getBoundingClientRect(),i=mn(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=r,c+=n,o=sn(o).frameElement}}return tn({width:p,height:f,x:l,y:c})}function kn(t){return Rn(ln(t)).left+xn(t).scrollLeft}function Un(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=sn(t),i=ln(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=gn();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=ln(t),o=xn(t),i=t.ownerDocument.body,r=Mr(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=Mr(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+kn(t);const s=-o.scrollTop;return"rtl"===mn(i).direction&&(a+=Mr(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(ln(t));else if(pn(e))i=function(t,e){const o=Rn(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=fn(t)?Cn(t):Pr(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=En(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return tn(i)}function In(t,e){const o=vn(t);return!(o===e||!pn(o)||bn(o))&&("fixed"===mn(o).position||In(o,e))}function Ln(t,e,o){const i=fn(e),r=ln(e),n="fixed"===o,a=Rn(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=Pr(0);if(i||!i&&!n)if(("body"!==an(e)||dn(r))&&(s=xn(e)),i){const t=Rn(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=kn(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Wn(t,e){return fn(t)&&"fixed"!==mn(t).position?e?e(t):t.offsetParent:null}function zn(t,e){const o=sn(t);if(!fn(t))return o;let i=Wn(t,e);for(;i&&un(i)&&"static"===mn(i).position;)i=Wn(i,e);return i&&("html"===an(i)||"body"===an(i)&&"static"===mn(i).position&&!yn(i))?o:i||function(t){let e=vn(t);for(;fn(e)&&!bn(e);){if(yn(e))return e;e=vn(e)}return null}(t)||o}const Kn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=fn(o),n=ln(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=Pr(1);const l=Pr(0);if((r||!r&&"fixed"!==i)&&(("body"!==an(o)||dn(n))&&(a=xn(o)),fn(o))){const t=Rn(o);s=Cn(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:ln,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=Sn(t,[],!1).filter((t=>pn(t)&&"body"!==an(t))),r=null;const n="fixed"===mn(t).position;let a=n?vn(t):t;for(;pn(a)&&!bn(a);){const e=mn(a),o=yn(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||dn(a)&&!o&&In(t,a))?i=i.filter((t=>t!==a)):r=e,a=vn(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=Un(e,o,r);return t.top=Mr(i.top,t.top),t.right=Br(i.right,t.right),t.bottom=Br(i.bottom,t.bottom),t.left=Mr(i.left,t.left),t}),Un(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:zn,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||zn,n=this.getDimensions;return{reference:Ln(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return Nn(t)},getScale:Cn,isElement:pn,isRTL:function(t){return"rtl"===mn(t).direction}},Fn=(t,e,o)=>{const i=new Map,r={platform:Kn,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:p,y:f}=en(c,i,l),h=i,d={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:e}});p=null!=g?g:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):x.rects),({x:p,y:f}=en(c,h,l))),o=-1)}return{x:p,y:f,placement:h,strategy:r,middlewareData:d}})(t,e,{...r,platform:n})};var An=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Zn extends Ze{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new R,this.revealDebouncer=new R}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return re`
692
+ `,Zr=["start","end"],Br=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Zr[0],e+"-"+Zr[1])),[]),Mr=Math.min,Dr=Math.max,Pr=Math.round,Hr=t=>({x:t,y:t}),Tr={left:"right",right:"left",bottom:"top",top:"bottom"},jr={start:"end",end:"start"};function _r(t,e,o){return Dr(t,Mr(e,o))}function Gr(t,e){return"function"==typeof t?t(e):t}function Vr(t){return t.split("-")[0]}function Yr(t){return t.split("-")[1]}function Xr(t){return"x"===t?"y":"x"}function Jr(t){return"y"===t?"height":"width"}function qr(t){return["top","bottom"].includes(Vr(t))?"y":"x"}function Qr(t){return Xr(qr(t))}function tn(t){return t.replace(/left|right|bottom|top/g,(t=>Tr[t]))}function en(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function on(t,e,o){let{reference:i,floating:r}=t;const n=qr(e),a=Qr(e),s=Jr(a),l=Vr(e),c="y"===n,p=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,h=i[s]/2-r[s]/2;let d;switch(l){case"top":d={x:p,y:i.y-r.height};break;case"bottom":d={x:p,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-r.width,y:f};break;default:d={x:i.x,y:i.y}}switch(Yr(e)){case"start":d[a]-=h*(o&&c?-1:1);break;case"end":d[a]+=h*(o&&c?-1:1)}return d}async function rn(t,e){var o;void 0===e&&(e={});const{x:i,y:r,platform:n,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=Gr(e,t),u=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}}(d),y=s[h?"floating"===f?"reference":"floating":f],g=en(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(y)))||o?y:y.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:p,strategy:l})),b="floating"===f?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),x=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},v=en(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(g.top-v.top+u.top)/x.y,bottom:(v.bottom-g.bottom+u.bottom)/x.y,left:(g.left-v.left+u.left)/x.x,right:(v.right-g.right+u.right)/x.x}}function nn(t,e,o){return(t?[...o.filter((e=>Yr(e)===t)),...o.filter((e=>Yr(e)!==t))]:o.filter((t=>Vr(t)===t))).filter((o=>!t||(Yr(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>jr[t]))}(o)!==o)))}const an=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,i,r;const{rects:n,middlewareData:a,placement:s,platform:l,elements:c}=e,{crossAxis:p=!1,alignment:f,allowedPlacements:h=Br,autoAlignment:d=!0,...u}=Gr(t,e),y=void 0!==f||h===Br?nn(f||null,d,h):h,g=await rn(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=y[b];if(null==m)return{};const x=function(t,e,o){void 0===o&&(o=!1);const i=Yr(t),r=Qr(t),n=Jr(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=tn(a)),[a,tn(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:y[0]}};const v=[g[Vr(m)],g[x[0]],g[x[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:v}],S=y[b+1];if(S)return{data:{index:b+1,overflows:O},reset:{placement:S}};const N=O.map((t=>{const e=Yr(t.placement);return[t.placement,e&&p?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),w=N.filter((t=>t[2].slice(0,Yr(t[0])?2:3).every((t=>t<=0)))),C=(null==(r=w[0])?void 0:r[0])||N[0][0];return C!==s?{data:{index:b+1,overflows:O},reset:{placement:C}}:{}}}};function sn(t){return pn(t)?(t.nodeName||"").toLowerCase():"#document"}function ln(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function cn(t){var e;return null==(e=(pn(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function pn(t){return t instanceof Node||t instanceof ln(t).Node}function fn(t){return t instanceof Element||t instanceof ln(t).Element}function hn(t){return t instanceof HTMLElement||t instanceof ln(t).HTMLElement}function dn(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof ln(t).ShadowRoot)}function un(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=xn(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function yn(t){return["table","td","th"].includes(sn(t))}function gn(t){const e=bn(),o=xn(t);return"none"!==o.transform||"none"!==o.perspective||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","perspective","filter"].some((t=>(o.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(o.contain||"").includes(t)))}function bn(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function mn(t){return["html","body","#document"].includes(sn(t))}function xn(t){return ln(t).getComputedStyle(t)}function vn(t){return fn(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function On(t){if("html"===sn(t))return t;const e=t.assignedSlot||t.parentNode||dn(t)&&t.host||cn(t);return dn(e)?e.host:e}function Sn(t){const e=On(t);return mn(e)?t.ownerDocument?t.ownerDocument.body:t.body:hn(e)&&un(e)?e:Sn(e)}function Nn(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=Sn(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=ln(r);return n?e.concat(a,a.visualViewport||[],un(r)?r:[],a.frameElement&&o?Nn(a.frameElement):[]):e.concat(r,Nn(r,[],o))}function wn(t){const e=xn(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=hn(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=Pr(o)!==n||Pr(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function Cn(t){return fn(t)?t:t.contextElement}function $n(t){const e=Cn(t);if(!hn(e))return Hr(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=wn(e);let a=(n?Pr(o.width):o.width)/i,s=(n?Pr(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const En=Hr(0);function Rn(t){const e=ln(t);return bn()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:En}function kn(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=Cn(t);let a=Hr(1);e&&(i?fn(i)&&(a=$n(i)):a=$n(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==ln(t))&&e}(n,o,i)?Rn(n):Hr(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,p=r.width/a.x,f=r.height/a.y;if(n){const t=ln(n),e=i&&fn(i)?ln(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=$n(o),e=o.getBoundingClientRect(),i=xn(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,n=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;l*=t.x,c*=t.y,p*=t.x,f*=t.y,l+=r,c+=n,o=ln(o).frameElement}}return en({width:p,height:f,x:l,y:c})}function Un(t){return kn(cn(t)).left+vn(t).scrollLeft}function In(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=ln(t),i=cn(t),r=o.visualViewport;let n=i.clientWidth,a=i.clientHeight,s=0,l=0;if(r){n=r.width,a=r.height;const t=bn();(!t||t&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop)}return{width:n,height:a,x:s,y:l}}(t,o);else if("document"===e)i=function(t){const e=cn(t),o=vn(t),i=t.ownerDocument.body,r=Dr(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=Dr(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+Un(t);const s=-o.scrollTop;return"rtl"===xn(i).direction&&(a+=Dr(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(cn(t));else if(fn(e))i=function(t,e){const o=kn(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=hn(t)?$n(t):Hr(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:r*n.x,y:i*n.y}}(e,o);else{const o=Rn(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return en(i)}function Ln(t,e){const o=On(t);return!(o===e||!fn(o)||mn(o))&&("fixed"===xn(o).position||Ln(o,e))}function Wn(t,e,o){const i=hn(e),r=cn(e),n="fixed"===o,a=kn(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=Hr(0);if(i||!i&&!n)if(("body"!==sn(e)||un(r))&&(s=vn(e)),i){const t=kn(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=Un(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function zn(t,e){return hn(t)&&"fixed"!==xn(t).position?e?e(t):t.offsetParent:null}function Kn(t,e){const o=ln(t);if(!hn(t))return o;let i=zn(t,e);for(;i&&yn(i)&&"static"===xn(i).position;)i=zn(i,e);return i&&("html"===sn(i)||"body"===sn(i)&&"static"===xn(i).position&&!gn(i))?o:i||function(t){let e=On(t);for(;hn(e)&&!mn(e);){if(gn(e))return e;e=On(e)}return null}(t)||o}const Fn={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=hn(o),n=cn(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=Hr(1);const l=Hr(0);if((r||!r&&"fixed"!==i)&&(("body"!==sn(o)||un(n))&&(a=vn(o)),hn(o))){const t=kn(o);s=$n(o),l.x=t.x+o.clientLeft,l.y=t.y+o.clientTop}return{width:e.width*s.x,height:e.height*s.y,x:e.x*s.x-a.scrollLeft*s.x+l.x,y:e.y*s.y-a.scrollTop*s.y+l.y}},getDocumentElement:cn,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:i,strategy:r}=t;const n=[..."clippingAncestors"===o?function(t,e){const o=e.get(t);if(o)return o;let i=Nn(t,[],!1).filter((t=>fn(t)&&"body"!==sn(t))),r=null;const n="fixed"===xn(t).position;let a=n?On(t):t;for(;fn(a)&&!mn(a);){const e=xn(a),o=gn(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||un(a)&&!o&&Ln(t,a))?i=i.filter((t=>t!==a)):r=e,a=On(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=In(e,o,r);return t.top=Dr(i.top,t.top),t.right=Mr(i.right,t.right),t.bottom=Mr(i.bottom,t.bottom),t.left=Dr(i.left,t.left),t}),In(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:Kn,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||Kn,n=this.getDimensions;return{reference:Wn(e,await r(o),i),floating:{x:0,y:0,...await n(o)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return wn(t)},getScale:$n,isElement:fn,isRTL:function(t){return"rtl"===xn(t).direction}},An=(t,e,o)=>{const i=new Map,r={platform:Fn,...o},n={...r.platform,_c:i};return(async(t,e,o)=>{const{placement:i="bottom",strategy:r="absolute",middleware:n=[],platform:a}=o,s=n.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:r}),{x:p,y:f}=on(c,i,l),h=i,d={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:y}=s[o],{x:g,y:b,data:m,reset:x}=await y({x:p,y:f,initialPlacement:i,placement:h,strategy:r,middlewareData:d,rects:c,platform:a,elements:{reference:t,floating:e}});p=null!=g?g:p,f=null!=b?b:f,d={...d,[n]:{...d[n],...m}},x&&u<=50&&(u++,"object"==typeof x&&(x.placement&&(h=x.placement),x.rects&&(c=!0===x.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):x.rects),({x:p,y:f}=on(c,h,l))),o=-1)}return{x:p,y:f,placement:h,strategy:r,middlewareData:d}})(t,e,{...r,platform:n})};var Zn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Bn extends Be{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 k,this.revealDebouncer=new k}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return ne`
688
693
  <div part="container"
689
694
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
690
695
  @mouseenter=${this.onHover}
@@ -702,37 +707,37 @@ class Qi extends ao{constructor(t){if(super(t),this.et=tt,t.type!==ro)throw Erro
702
707
  </div>
703
708
  </div>
704
709
  </div>
705
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&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(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Fn(this.slottedElement,this.tooltip,{middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=_r(t,e),c={x:o,y:i},p=await on(e,l),f=Jr(Gr(r)),h=Yr(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=jr(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=jr(u+p["y"===f?"top":"left"],u,u-p[t])}const y=s.fn({...e,[h]:d,[f]:u});return{...y,data:{x:y.x-o,y:y.y-i}}}}),nn({allowedPlacements:[this.position]})]}).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}Zn.elementDefinitions={"ft-typography":Vi},Zn.styles=Fr,An([w()],Zn.prototype,"text",void 0),An([w({type:Boolean})],Zn.prototype,"manual",void 0),An([w({type:Boolean})],Zn.prototype,"inline",void 0),An([w({type:Number})],Zn.prototype,"delay",void 0),An([w()],Zn.prototype,"position",void 0),An([function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return $(0,0,{get(){const e=this.renderRoot?.querySelector(r);return e?.assignedNodes(t)??[]}})}}()],Zn.prototype,"slotNodes",void 0),An([E(".ft-tooltip--container")],Zn.prototype,"container",void 0),An([E(".ft-tooltip")],Zn.prototype,"tooltip",void 0),An([E(".ft-tooltip--content")],Zn.prototype,"tooltipContent",void 0),An([C()],Zn.prototype,"visible",void 0),U("ft-tooltip")(Zn);class Bn extends Ze{render(){return re`
710
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}show(t){this.visible=!0,null!=t&&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(){var t;this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",An(this.slottedElement,this.tooltip,{middleware:[(t={crossAxis:!0},void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:i,placement:r}=e,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=Gr(t,e),c={x:o,y:i},p=await rn(e,l),f=qr(Vr(r)),h=Xr(f);let d=c[h],u=c[f];if(n){const t="y"===h?"bottom":"right";d=_r(d+p["y"===h?"top":"left"],d,d-p[t])}if(a){const t="y"===f?"bottom":"right";u=_r(u+p["y"===f?"top":"left"],u,u-p[t])}const y=s.fn({...e,[h]:d,[f]:u});return{...y,data:{x:y.x-o,y:y.y-i}}}}),an({allowedPlacements:[this.position]})]}).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}Bn.elementDefinitions={"ft-typography":Yi},Bn.styles=Ar,Zn([w()],Bn.prototype,"text",void 0),Zn([w({type:Boolean})],Bn.prototype,"manual",void 0),Zn([w({type:Boolean})],Bn.prototype,"inline",void 0),Zn([w({type:Number})],Bn.prototype,"delay",void 0),Zn([w()],Bn.prototype,"position",void 0),Zn([function(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return E(0,0,{get(){const e=this.renderRoot?.querySelector(r);return e?.assignedNodes(t)??[]}})}}()],Bn.prototype,"slotNodes",void 0),Zn([R(".ft-tooltip--container")],Bn.prototype,"container",void 0),Zn([R(".ft-tooltip")],Bn.prototype,"tooltip",void 0),Zn([R(".ft-tooltip--content")],Bn.prototype,"tooltipContent",void 0),Zn([C()],Bn.prototype,"visible",void 0),Zn([$({passive:!0})],Bn.prototype,"onTouch",null),Zn([$({passive:!0})],Bn.prototype,"onHover",null),Zn([$({passive:!0})],Bn.prototype,"onOut",null),I("ft-tooltip")(Bn);class Mn extends Be{render(){return ne`
706
711
  <div class="ft-loader">
707
712
  <div></div>
708
713
  <div></div>
709
714
  <div></div>
710
715
  <div></div>
711
716
  </div>
712
- `}}Bn.styles=mr,U("ft-loader")(Bn);var Mn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Dn extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[qe].form}constructor(...t){super(t),this[qe]=this.attachInternals(),this[qe].role=e}setFormValue(t){this[qe].setFormValue(t)}}}(Ze,"button")){constructor(){super(...arguments),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.onclick=t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}}render(){return this.addTooltipIfNeeded(re`
717
+ `}}Mn.styles=xr,I("ft-loader")(Mn);var Dn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Pn extends(function(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[Qe].form}constructor(...t){super(t),this[Qe]=this.attachInternals(),this[Qe].role=e}setFormValue(t){this[Qe].setFormValue(t)}}}(Be,"button")){constructor(){super(...arguments),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.onclick=t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}}render(){return this.addTooltipIfNeeded(ne`
713
718
  <button part="button"
714
- class="${go(this.buttonClasses)}"
719
+ class="${bo(this.buttonClasses)}"
715
720
  aria-label="${this.getLabel()}"
716
721
  ?disabled=${this.isDisabled()}>
717
722
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
718
723
  <ft-typography part="label"
719
724
  variant=${this.typographyVariant}
720
725
  element="span"
721
- class="ft-button--label ${oo?"ft-safari-ellipsis-fix":""}"
726
+ class="ft-button--label ${io?"ft-safari-ellipsis-fix":""}"
722
727
  ?hidden=${!this.hasTextContent()}>
723
728
  <slot @slotchange=${this.onSlotchange}></slot>
724
729
  </ft-typography>
725
730
  ${this.resolveIcon()}
726
731
  </button>
727
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?re`
732
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?ne`
728
733
  <ft-tooltip part="tooltip"
729
734
  text="${this.getLabel()}"
730
735
  position="${this.tooltipPosition}">
731
736
  ${t}
732
737
  </ft-tooltip>
733
- `:t}resolveIcon(){return this.loading?re`
734
- <ft-loader part="loader icon"></ft-loader> `:this.icon?re`
735
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:ae}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Dn.elementDefinitions={"ft-ripple":kr,"ft-tooltip":Zn,"ft-typography":Vi,"ft-icon":sr,"ft-loader":Bn},Mn([w({type:String,reflect:!0})],Dn.prototype,"role",void 0),Mn([w()],Dn.prototype,"type",void 0),Mn([w({type:Boolean})],Dn.prototype,"disabled",void 0),Mn([w()],Dn.prototype,"label",void 0),Mn([w()],Dn.prototype,"icon",void 0),Mn([w()],Dn.prototype,"iconVariant",void 0),Mn([w({type:Boolean})],Dn.prototype,"trailingIcon",void 0),Mn([w({type:Boolean})],Dn.prototype,"loading",void 0),Mn([w()],Dn.prototype,"tooltipPosition",void 0),Mn([w({type:Boolean})],Dn.prototype,"hideTooltip",void 0),Mn([w({type:Boolean})],Dn.prototype,"forceTooltip",void 0),Mn([E(".ft-button")],Dn.prototype,"button",void 0),Mn([E(".ft-button--label slot")],Dn.prototype,"slottedContent",void 0);var Pn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Hn extends Dn{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}Hn.styles=[De,Er],Pn([w({type:Boolean})],Hn.prototype,"primary",void 0),Pn([w({type:Boolean})],Hn.prototype,"outlined",void 0),Pn([w({type:Boolean})],Hn.prototype,"dense",void 0),Pn([w({type:Boolean})],Hn.prototype,"round",void 0);const Tn=[St`
738
+ `:t}resolveIcon(){return this.loading?ne`
739
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?ne`
740
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:se}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}Pn.elementDefinitions={"ft-ripple":Ur,"ft-tooltip":Bn,"ft-typography":Yi,"ft-icon":lr,"ft-loader":Mn},Dn([w({type:String,reflect:!0})],Pn.prototype,"role",void 0),Dn([w()],Pn.prototype,"type",void 0),Dn([w({type:Boolean})],Pn.prototype,"disabled",void 0),Dn([w()],Pn.prototype,"label",void 0),Dn([w()],Pn.prototype,"icon",void 0),Dn([w()],Pn.prototype,"iconVariant",void 0),Dn([w({type:Boolean})],Pn.prototype,"trailingIcon",void 0),Dn([w({type:Boolean})],Pn.prototype,"loading",void 0),Dn([w()],Pn.prototype,"tooltipPosition",void 0),Dn([w({type:Boolean})],Pn.prototype,"hideTooltip",void 0),Dn([w({type:Boolean})],Pn.prototype,"forceTooltip",void 0),Dn([R(".ft-button")],Pn.prototype,"button",void 0),Dn([R(".ft-button--label slot")],Pn.prototype,"slottedContent",void 0);var Hn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Tn extends Pn{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}}Tn.styles=[Pe,Rr],Hn([w({type:Boolean})],Tn.prototype,"primary",void 0),Hn([w({type:Boolean})],Tn.prototype,"outlined",void 0),Hn([w({type:Boolean})],Tn.prototype,"dense",void 0),Hn([w({type:Boolean})],Tn.prototype,"round",void 0);const jn=[Nt`
736
741
  :host {
737
742
  display: inline-block;
738
743
  max-width: 100%;
@@ -782,7 +787,7 @@ class Qi extends ao{constructor(t){if(super(t),this.et=tt,t.type!==ro)throw Erro
782
787
  }
783
788
 
784
789
  .ft-button:focus-visible {
785
- outline-color: ${Re.focusFocusRingColor};
790
+ outline-color: ${ke.focusFocusRingColor};
786
791
  outline-style: solid;
787
792
  }
788
793
 
@@ -811,146 +816,146 @@ class Qi extends ao{constructor(t){if(super(t),this.et=tt,t.type!==ro)throw Erro
811
816
  /** Primary styles **/
812
817
 
813
818
  .ft-button--primary {
814
- ${we(br.color,Re.primaryIconColor)};
819
+ ${Ce(mr.color,ke.primaryIconColor)};
815
820
 
816
- ${we(cr.color,Re.primaryStateLayerColor)};
817
- ${we(cr.opacityContentOnSurfaceHover,Re.primaryStateLayerOpacityHover)};
818
- ${we(cr.opacityContentOnSurfaceFocused,Re.primaryStateLayerOpacityFocus)};
819
- ${we(cr.opacityContentOnSurfaceSelected,Re.primaryStateLayerOpacityActive)};
820
- ${we(cr.opacityContentOnSurfacePressed,Re.primaryStateLayerOpacityActive)};
821
+ ${Ce(pr.color,ke.primaryStateLayerColor)};
822
+ ${Ce(pr.opacityContentOnSurfaceHover,ke.primaryStateLayerOpacityHover)};
823
+ ${Ce(pr.opacityContentOnSurfaceFocused,ke.primaryStateLayerOpacityFocus)};
824
+ ${Ce(pr.opacityContentOnSurfaceSelected,ke.primaryStateLayerOpacityActive)};
825
+ ${Ce(pr.opacityContentOnSurfacePressed,ke.primaryStateLayerOpacityActive)};
821
826
 
822
- background-color: ${Re.primaryBackgroundColor};
823
- color: ${Re.primaryColor};
827
+ background-color: ${ke.primaryBackgroundColor};
828
+ color: ${ke.primaryColor};
824
829
  border-style: none;
825
830
  }
826
831
 
827
832
  .ft-button--primary[disabled] {
828
- opacity: ${Re.primaryComponentOpacityDisabled};
833
+ opacity: ${ke.primaryComponentOpacityDisabled};
829
834
  }
830
835
 
831
836
  .ft-button--primary ft-icon {
832
- color: ${Re.primaryIconColor};
837
+ color: ${ke.primaryIconColor};
833
838
  }
834
839
 
835
840
  /** Secondary styles **/
836
841
 
837
842
  .ft-button--secondary {
838
- ${we(br.color,Re.secondaryIconColor)};
843
+ ${Ce(mr.color,ke.secondaryIconColor)};
839
844
 
840
- ${we(cr.color,Re.secondaryStateLayerColor)};
841
- ${we(cr.opacityContentOnSurfaceHover,Re.secondaryStateLayerOpacityHover)};
842
- ${we(cr.opacityContentOnSurfaceFocused,Re.secondaryStateLayerOpacityFocus)};
843
- ${we(cr.opacityContentOnSurfaceSelected,Re.secondaryStateLayerOpacityActive)};
844
- ${we(cr.opacityContentOnSurfacePressed,Re.secondaryStateLayerOpacityActive)};
845
+ ${Ce(pr.color,ke.secondaryStateLayerColor)};
846
+ ${Ce(pr.opacityContentOnSurfaceHover,ke.secondaryStateLayerOpacityHover)};
847
+ ${Ce(pr.opacityContentOnSurfaceFocused,ke.secondaryStateLayerOpacityFocus)};
848
+ ${Ce(pr.opacityContentOnSurfaceSelected,ke.secondaryStateLayerOpacityActive)};
849
+ ${Ce(pr.opacityContentOnSurfacePressed,ke.secondaryStateLayerOpacityActive)};
845
850
 
846
- background-color: ${Re.secondaryBackgroundColor};
847
- color: ${Re.secondaryColor};
848
- border-color: ${Re.secondaryBorderColor};
851
+ background-color: ${ke.secondaryBackgroundColor};
852
+ color: ${ke.secondaryColor};
853
+ border-color: ${ke.secondaryBorderColor};
849
854
  border-style: solid;
850
855
  }
851
856
 
852
857
  .ft-button--secondary[disabled] {
853
- opacity: ${Re.secondaryComponentOpacityDisabled};
858
+ opacity: ${ke.secondaryComponentOpacityDisabled};
854
859
  }
855
860
 
856
861
  .ft-button--secondary ft-icon {
857
- color: ${Re.secondaryIconColor};
862
+ color: ${ke.secondaryIconColor};
858
863
  }
859
864
 
860
865
  /** Tertiary styles **/
861
866
 
862
867
  .ft-button--tertiary {
863
- ${we(br.color,Re.tertiaryIconColor)};
868
+ ${Ce(mr.color,ke.tertiaryIconColor)};
864
869
 
865
- ${we(cr.color,Re.tertiaryStateLayerColor)};
866
- ${we(cr.opacityContentOnSurfaceHover,Re.tertiaryStateLayerOpacityHover)};
867
- ${we(cr.opacityContentOnSurfaceFocused,Re.tertiaryStateLayerOpacityFocus)};
868
- ${we(cr.opacityContentOnSurfaceSelected,Re.tertiaryStateLayerOpacityActive)};
869
- ${we(cr.opacityContentOnSurfacePressed,Re.tertiaryStateLayerOpacityActive)};
870
+ ${Ce(pr.color,ke.tertiaryStateLayerColor)};
871
+ ${Ce(pr.opacityContentOnSurfaceHover,ke.tertiaryStateLayerOpacityHover)};
872
+ ${Ce(pr.opacityContentOnSurfaceFocused,ke.tertiaryStateLayerOpacityFocus)};
873
+ ${Ce(pr.opacityContentOnSurfaceSelected,ke.tertiaryStateLayerOpacityActive)};
874
+ ${Ce(pr.opacityContentOnSurfacePressed,ke.tertiaryStateLayerOpacityActive)};
870
875
 
871
- background-color: ${Re.tertiaryBackgroundColor};
872
- color: ${Re.tertiaryColor};
876
+ background-color: ${ke.tertiaryBackgroundColor};
877
+ color: ${ke.tertiaryColor};
873
878
  border-style: none;
874
879
  }
875
880
 
876
881
  .ft-button--tertiary[disabled] {
877
- opacity: ${Re.tertiaryComponentOpacityDisabled};
882
+ opacity: ${ke.tertiaryComponentOpacityDisabled};
878
883
  }
879
884
 
880
885
  .ft-button--tertiary ft-icon {
881
- color: ${Re.tertiaryIconColor};
886
+ color: ${ke.tertiaryIconColor};
882
887
  }
883
888
 
884
889
  /** Neutral styles **/
885
890
 
886
891
  .ft-button--neutral {
887
- ${we(br.color,Re.neutralIconColor)};
892
+ ${Ce(mr.color,ke.neutralIconColor)};
888
893
 
889
- ${we(cr.backgroundColor,Re.neutralStateLayerColor)};
890
- ${we(cr.opacityContentOnSurfaceHover,Re.neutralStateLayerOpacityHover)};
891
- ${we(cr.opacityContentOnSurfaceFocused,Re.neutralStateLayerOpacityFocus)};
892
- ${we(cr.opacityContentOnSurfaceSelected,Re.neutralStateLayerOpacityActive)};
893
- ${we(cr.opacityContentOnSurfacePressed,Re.neutralStateLayerOpacityActive)};
894
+ ${Ce(pr.backgroundColor,ke.neutralStateLayerColor)};
895
+ ${Ce(pr.opacityContentOnSurfaceHover,ke.neutralStateLayerOpacityHover)};
896
+ ${Ce(pr.opacityContentOnSurfaceFocused,ke.neutralStateLayerOpacityFocus)};
897
+ ${Ce(pr.opacityContentOnSurfaceSelected,ke.neutralStateLayerOpacityActive)};
898
+ ${Ce(pr.opacityContentOnSurfacePressed,ke.neutralStateLayerOpacityActive)};
894
899
 
895
- background-color: ${Re.neutralBackgroundColor};
896
- color: ${Re.neutralColor};
900
+ background-color: ${ke.neutralBackgroundColor};
901
+ color: ${ke.neutralColor};
897
902
  border-style: none;
898
903
  }
899
904
 
900
905
  .ft-button--neutral[disabled] {
901
- opacity: ${Re.neutralComponentOpacityDisabled};
906
+ opacity: ${ke.neutralComponentOpacityDisabled};
902
907
  }
903
908
 
904
909
  .ft-button--neutral ft-icon {
905
- color: ${Re.neutralIconColor};
910
+ color: ${ke.neutralIconColor};
906
911
  }
907
912
 
908
913
  /** Large styles **/
909
914
 
910
915
  .ft-button--large {
911
- ${we(ir.size,Re.largeIconSize)};
912
- ${we(br.size,Re.largeIconSize)};
913
-
914
- height: ${Re.largeHeight};
915
- padding: 0 ${Re.largeHorizontalPadding};
916
- gap: ${Re.largeGap};
917
- border-radius: ${Re.largeBorderRadius};
918
- border-width: ${Re.largeBorderWidth};
916
+ ${Ce(rr.size,ke.largeIconSize)};
917
+ ${Ce(mr.size,ke.largeIconSize)};
918
+
919
+ height: ${ke.largeHeight};
920
+ padding: 0 ${ke.largeHorizontalPadding};
921
+ gap: ${ke.largeGap};
922
+ border-radius: ${ke.largeBorderRadius};
923
+ border-width: ${ke.largeBorderWidth};
919
924
  }
920
925
 
921
926
  .ft-button--large:focus-visible {
922
- outline-width: ${Re.largeFocusOutlineWidth};
923
- outline-offset: ${Re.largeFocusOutlineOffset};
927
+ outline-width: ${ke.largeFocusOutlineWidth};
928
+ outline-offset: ${ke.largeFocusOutlineOffset};
924
929
  }
925
930
 
926
931
  .ft-button--large.ft-button--icon-only {
927
- width: ${Re.largeIconOnlyWidth};
932
+ width: ${ke.largeIconOnlyWidth};
928
933
  padding: unset;
929
934
  }
930
935
 
931
936
  /** Small styles **/
932
937
 
933
938
  .ft-button--small {
934
- ${we(ir.size,Re.smallIconSize)};
935
- ${we(br.size,Re.smallIconSize)};
936
-
937
- height: ${Re.smallHeight};
938
- padding: 0 ${Re.smallHorizontalPadding};
939
- gap: ${Re.smallGap};
940
- border-radius: ${Re.smallBorderRadius};
941
- border-width: ${Re.smallBorderWidth};
939
+ ${Ce(rr.size,ke.smallIconSize)};
940
+ ${Ce(mr.size,ke.smallIconSize)};
941
+
942
+ height: ${ke.smallHeight};
943
+ padding: 0 ${ke.smallHorizontalPadding};
944
+ gap: ${ke.smallGap};
945
+ border-radius: ${ke.smallBorderRadius};
946
+ border-width: ${ke.smallBorderWidth};
942
947
  }
943
948
 
944
949
  .ft-button--small:focus-visible {
945
- outline-width: ${Re.smallFocusOutlineWidth};
946
- outline-offset: ${Re.smallFocusOutlineOffset};
950
+ outline-width: ${ke.smallFocusOutlineWidth};
951
+ outline-offset: ${ke.smallFocusOutlineOffset};
947
952
  }
948
953
 
949
954
  .ft-button--small.ft-button--icon-only {
950
- width: ${Re.smallIconOnlyWidth};
955
+ width: ${ke.smallIconOnlyWidth};
951
956
  padding: unset;
952
957
  }
953
- `,Me];var jn,_n=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Gn extends Dn{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?Uo.caption1medium:Uo.body2medium}}Gn.styles=[De,Tn],_n([w({type:Boolean})],Gn.prototype,"primary",void 0),_n([w({type:Boolean})],Gn.prototype,"secondary",void 0),_n([w({type:Boolean})],Gn.prototype,"tertiary",void 0),_n([w({type:Boolean})],Gn.prototype,"neutral",void 0),_n([w({type:Boolean})],Gn.prototype,"small",void 0),U("ft-button")(Hn),U("ftds-button")(Gn),function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"}(jn||(jn={}));const Vn=St`
958
+ `,De];var _n,Gn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Vn extends Pn{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?Io.caption1medium:Io.body2medium}}Vn.styles=[Pe,jn],Gn([w({type:Boolean})],Vn.prototype,"primary",void 0),Gn([w({type:Boolean})],Vn.prototype,"secondary",void 0),Gn([w({type:Boolean})],Vn.prototype,"tertiary",void 0),Gn([w({type:Boolean})],Vn.prototype,"neutral",void 0),Gn([w({type:Boolean})],Vn.prototype,"small",void 0),I("ft-button")(Tn),I("ftds-button")(Vn),function(t){t.S="S",t.M="M",t.L="L",t.XL="XL",t.XXL="XXL"}(_n||(_n={}));const Yn=Nt`
954
959
  .ft-size-watcher--pixel {
955
960
  width: 0;
956
961
  height: 0;
@@ -969,34 +974,34 @@ class Qi extends ao{constructor(t){if(super(t),this.et=tt,t.type!==ro)throw Erro
969
974
  .ft-size-watcher--local .ft-size-watcher--watcher {
970
975
  width: 100%;
971
976
  }
972
- `;var Yn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Xn extends CustomEvent{constructor(t,e){super("change",{detail:{size:t,category:e}})}}class Jn extends Ze{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=jn.S,this.resizeObserver=new ResizeObserver((()=>this.updateSize())),this.debouncer=new R}render(){return re`
977
+ `;var Xn=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class Jn extends CustomEvent{constructor(t,e){super("change",{detail:{size:t,category:e}})}}class qn extends Be{constructor(){super(...arguments),this.debounceTimeout=100,this.local=!1,this.size=0,this.category=_n.S,this.resizeObserver=new ResizeObserver((()=>this.updateSize())),this.debouncer=new k}render(){return ne`
973
978
  <div class="ft-size-watcher--pixel ${this.local?"ft-size-watcher--local":""}">
974
979
  <div class="ft-size-watcher--watcher"></div>
975
980
  </div>
976
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run((()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=jn.S:this.size<976?this.category=jn.M:this.size<1024?this.category=jn.L:this.size<1440?this.category=jn.XL:this.category=jn.XXL,this.dispatchEvent(new Xn(this.size,this.category)))}),this.debounceTimeout)}}Jn.elementDefinitions={},Jn.styles=Vn,Yn([w({type:Number})],Jn.prototype,"debounceTimeout",void 0),Yn([w({type:Boolean})],Jn.prototype,"local",void 0),Yn([w({type:Number,reflect:!0})],Jn.prototype,"size",void 0),Yn([w({type:String,reflect:!0})],Jn.prototype,"category",void 0),Yn([E(".ft-size-watcher--watcher")],Jn.prototype,"watcher",void 0),U("ft-size-watcher")(Jn);const qn={expand:"Expand {0}",collapse:"Collapse {0}",expandAll:"Expand all",expandAllLong:"Expand all table of contents",collapseAll:"Collapse all",collapseAllLong:"Collapse all table of contents"},Qn={tabulationSize:Ne.create("--ft-reader-toc-tabulation-size","","SIZE","16px"),verticalSpacing:Ne.create("--ft-reader-toc-vertical-spacing","","SIZE","4px"),textColor:Ne.extend("--ft-reader-toc-text-color","",ke.colorOnSurface),hoverColor:Ne.extend("--ft-reader-toc-hover-color","",ke.colorPrimary),highlightedTextColor:Ne.extend("--ft-reader-toc-highlighted-text-color","",ke.colorPrimary),highlightedFontWeight:Ne.create("--ft-reader-toc-highlighted-font-weight","","UNKNOWN","bold"),highlightedBackgroundColor:Ne.create("--ft-reader-toc-highlighted-background-color","","COLOR","transparent"),iconFontSize:Ne.create("--ft-reader-toc-icon-font-size","","SIZE","16px")},ta=St`
981
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.watcher&&this.resizeObserver.observe(this.watcher),this.updateSize()}updateSize(){this.debouncer.run((()=>{this.watcher&&this.size!==this.watcher.clientWidth&&(this.size=this.watcher.clientWidth,this.size<768?this.category=_n.S:this.size<976?this.category=_n.M:this.size<1024?this.category=_n.L:this.size<1440?this.category=_n.XL:this.category=_n.XXL,this.dispatchEvent(new Jn(this.size,this.category)))}),this.debounceTimeout)}}qn.elementDefinitions={},qn.styles=Yn,Xn([w({type:Number})],qn.prototype,"debounceTimeout",void 0),Xn([w({type:Boolean})],qn.prototype,"local",void 0),Xn([w({type:Number,reflect:!0})],qn.prototype,"size",void 0),Xn([w({type:String,reflect:!0})],qn.prototype,"category",void 0),Xn([R(".ft-size-watcher--watcher")],qn.prototype,"watcher",void 0),I("ft-size-watcher")(qn);const Qn={expand:"Expand {0}",collapse:"Collapse {0}",expandAll:"Expand all",expandAllLong:"Expand all table of contents",collapseAll:"Collapse all",collapseAllLong:"Collapse all table of contents"},ta={tabulationSize:we.create("--ft-reader-toc-tabulation-size","","SIZE","16px"),verticalSpacing:we.create("--ft-reader-toc-vertical-spacing","","SIZE","4px"),textColor:we.extend("--ft-reader-toc-text-color","",Ue.colorOnSurface),hoverColor:we.extend("--ft-reader-toc-hover-color","",Ue.colorPrimary),highlightedTextColor:we.extend("--ft-reader-toc-highlighted-text-color","",Ue.colorPrimary),highlightedFontWeight:we.create("--ft-reader-toc-highlighted-font-weight","","UNKNOWN","bold"),highlightedBackgroundColor:we.create("--ft-reader-toc-highlighted-background-color","","COLOR","transparent"),iconFontSize:we.create("--ft-reader-toc-icon-font-size","","SIZE","16px")},ea=Nt`
977
982
  .ft-reader-toc {
978
- color: ${Qn.textColor};
983
+ color: ${ta.textColor};
979
984
  }
980
985
 
981
986
  .ft-reader-toc--node-highlighted > .ft-reader-toc--link-container {
982
- background-color: ${Qn.highlightedBackgroundColor};
983
- color: ${Qn.highlightedTextColor};
984
- ${we(Wo.fontWeight,Qn.highlightedFontWeight)}
987
+ background-color: ${ta.highlightedBackgroundColor};
988
+ color: ${ta.highlightedTextColor};
989
+ ${Ce(zo.fontWeight,ta.highlightedFontWeight)}
985
990
  }
986
991
 
987
992
  .ft-reader-toc--link-container {
988
993
  display: flex;
989
994
  gap: 4px;
990
- padding: ${Qn.verticalSpacing} 4px; /* left padding is override on inline style */
995
+ padding: ${ta.verticalSpacing} 4px; /* left padding is override on inline style */
991
996
  align-items: center;
992
997
  }
993
998
 
994
999
  .ft-reader-toc--link-container ft-reader-internal-link:hover {
995
- color: ${Qn.hoverColor};
1000
+ color: ${ta.hoverColor};
996
1001
  }
997
1002
 
998
1003
  ft-button {
999
- ${we(vr.iconSize,Qn.iconFontSize)};
1004
+ ${Ce(Or.iconSize,ta.iconFontSize)};
1000
1005
  }
1001
1006
 
1002
1007
  .ft-reader-toc--toggle-container {
@@ -1004,11 +1009,11 @@ class Qi extends ao{constructor(t){if(super(t),this.et=tt,t.type!==ro)throw Erro
1004
1009
  }
1005
1010
 
1006
1011
  .ft-reader-toc-mobile .ft-reader-toc--toggle-container {
1007
- width: calc(${Qn.iconFontSize} + 12px); /*--ft-button-internal-horizontal-padding: 8px; in ft-button NOT dense*/
1012
+ width: calc(${ta.iconFontSize} + 12px); /*--ft-button-internal-horizontal-padding: 8px; in ft-button NOT dense*/
1008
1013
  }
1009
1014
 
1010
1015
  .ft-reader-toc-desktop .ft-reader-toc--toggle-container {
1011
- width: calc(${Qn.iconFontSize} + 4px); /*--ft-button-internal-horizontal-padding: 4px; in ft-button dense*/
1016
+ width: calc(${ta.iconFontSize} + 4px); /*--ft-button-internal-horizontal-padding: 4px; in ft-button dense*/
1012
1017
  }
1013
1018
 
1014
1019
  .ft-reader-toc-expanded .ft-reader-toc--toggle-container {
@@ -1031,20 +1036,20 @@ class Qi extends ao{constructor(t){if(super(t),this.et=tt,t.type!==ro)throw Erro
1031
1036
  .ft-reader-toc-expand-collapse-all-justify ft-button {
1032
1037
  flex-grow: 1;
1033
1038
  }
1034
- `;var ea=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class oa extends wo{constructor(){super(...arguments),this.expanded=!1,this.iconVariant=nr.fluid_topics,this.collapseIcon="MINUS",this.expandIcon="PLUS",this.expandCollapseAll=!1,this.expandCollapseAllHideLabel=!1,this.expandCollapseAllTrailingIcon=!1,this.expandCollapseAllAlignment="left",this.expandCollapseAllHideIcon=!1,this.collapseAllIcon="ICON_COLLAPSE",this.expandAllIcon="ICON_EXPAND",this.autoCollapse=!1,this.scope="pages",this.hideIfEmpty=!1,this.empty=!0,this.labels={},this.labelResolver=new Pe(qn,{}),this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set,this.expandAll=!1,this.viewportSize=jn.M,this.nodesToExpandExist=!1}get isCurrentPageToc(){return"current-page"===this.scope}update(t){var e,o,i;super.update(t),t.has("toc")&&(this.nodesToExpandExist=(null!==(e=this.toc)&&void 0!==e?e:[]).some((t=>t.children.length>0))),t.has("labels")&&(this.labelResolver=new Pe(qn,this.labels)),t.has("highlightedTocIds")&&!this.expanded&&(this.automaticallyExpandedNodes=this.buildAutomaticallyExpandedNodes(null!==(o=this.highlightedTocIds)&&void 0!==o?o:[])),this.empty=0===(null!==(i=this.toc)&&void 0!==i?i:[]).length}render(){var t;const e={"ft-reader-toc":!0,"ft-reader-toc-mobile":this.viewportSize===jn.S,"ft-reader-toc-desktop":this.viewportSize!==jn.S,"ft-reader-toc-loaded":null!=this.currentPage,"ft-reader-toc-expanded":this.expanded};return re`
1035
- ${this.hideIfEmpty&&this.empty?re`
1039
+ `;var oa=function(t,e,o,i){for(var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i,s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a};class ia extends Co{constructor(){super(...arguments),this.expanded=!1,this.iconVariant=ar.fluid_topics,this.collapseIcon="MINUS",this.expandIcon="PLUS",this.expandCollapseAll=!1,this.expandCollapseAllHideLabel=!1,this.expandCollapseAllTrailingIcon=!1,this.expandCollapseAllAlignment="left",this.expandCollapseAllHideIcon=!1,this.collapseAllIcon="ICON_COLLAPSE",this.expandAllIcon="ICON_EXPAND",this.autoCollapse=!1,this.scope="pages",this.hideIfEmpty=!1,this.empty=!0,this.labels={},this.labelResolver=new He(Qn,{}),this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set,this.expandAll=!1,this.viewportSize=_n.M,this.nodesToExpandExist=!1}get isCurrentPageToc(){return"current-page"===this.scope}update(t){var e,o,i;super.update(t),t.has("toc")&&(this.nodesToExpandExist=(null!==(e=this.toc)&&void 0!==e?e:[]).some((t=>t.children.length>0))),t.has("labels")&&(this.labelResolver=new He(Qn,this.labels)),t.has("highlightedTocIds")&&!this.expanded&&(this.automaticallyExpandedNodes=this.buildAutomaticallyExpandedNodes(null!==(o=this.highlightedTocIds)&&void 0!==o?o:[])),this.empty=0===(null!==(i=this.toc)&&void 0!==i?i:[]).length}render(){var t;const e={"ft-reader-toc":!0,"ft-reader-toc-mobile":this.viewportSize===_n.S,"ft-reader-toc-desktop":this.viewportSize!==_n.S,"ft-reader-toc-loaded":null!=this.currentPage,"ft-reader-toc-expanded":this.expanded};return ne`
1040
+ ${this.hideIfEmpty&&this.empty?ne`
1036
1041
  <style>
1037
1042
  :host {
1038
1043
  display: none !important;
1039
1044
  }
1040
1045
  </style>
1041
- `:ae}
1042
- <div class=${go(e)}>
1046
+ `:se}
1047
+ <div class=${bo(e)}>
1043
1048
  <ft-size-watcher @change=${this.onViewportSizeChange}></ft-size-watcher>
1044
1049
  ${this.renderExpandCollapseAll()}
1045
- ${yo(null!==(t=this.toc)&&void 0!==t?t:[],(t=>t.tocId),(t=>this.renderNode(t)))}
1050
+ ${go(null!==(t=this.toc)&&void 0!==t?t:[],(t=>t.tocId),(t=>this.renderNode(t)))}
1046
1051
  </div>
1047
- `}renderExpandCollapseAll(){return this.expandCollapseAll&&!this.expanded&&this.nodesToExpandExist?re`
1052
+ `}renderExpandCollapseAll(){return this.expandCollapseAll&&!this.expanded&&this.nodesToExpandExist?ne`
1048
1053
  <div part="expand-collapse-all-container"
1049
1054
  class="ft-reader-toc-expand-collapse-all-container ft-reader-toc-expand-collapse-all-${this.expandCollapseAllAlignment}">
1050
1055
  <ft-button
@@ -1059,16 +1064,16 @@ class Qi extends ao{constructor(t){if(super(t),this.et=tt,t.type!==ro)throw Erro
1059
1064
  ${this.expandCollapseAllHideLabel?"":this.labelResolver.resolve(this.expandAll?"collapseAll":"expandAll")}
1060
1065
  </ft-button>
1061
1066
  </div>
1062
- `:ae}renderNode(t){var e,o,i;const r=null===(e=this.highlightedTocIds)||void 0===e?void 0:e.includes(t.tocId),n=this.expanded||this.manuallyExpandedNodes.has(t.tocId)||(this.expandAll||this.automaticallyExpandedNodes.has(t.tocId))&&!this.manuallyCollapsedNodes.has(t.tocId),a=t.children.length>0,s=this.isCurrentPageToc?(null!==(i=null===(o=this.currentPage)||void 0===o?void 0:o.breadcrumb.length)&&void 0!==i?i:0)+1:0,l=t.depth-1-s,c={"padding-left":`calc( ${Qn.tabulationSize} * ${l} + 4px)`};return re`
1067
+ `:se}renderNode(t){var e,o,i;const r=null===(e=this.highlightedTocIds)||void 0===e?void 0:e.includes(t.tocId),n=this.expanded||this.manuallyExpandedNodes.has(t.tocId)||(this.expandAll||this.automaticallyExpandedNodes.has(t.tocId))&&!this.manuallyCollapsedNodes.has(t.tocId),a=t.children.length>0,s=this.isCurrentPageToc?(null!==(i=null===(o=this.currentPage)||void 0===o?void 0:o.breadcrumb.length)&&void 0!==i?i:0)+1:0,l=t.depth-1-s,c={"padding-left":`calc( ${ta.tabulationSize} * ${l} + 4px)`};return ne`
1063
1068
  <div class="ft-reader-toc--node ${r?"ft-reader-toc--node-highlighted":""}">
1064
- <div class="ft-reader-toc--link-container" data-depth="${t.depth}" style=${xo(c)}>
1065
- ${this.nodesToExpandExist&&!this.expanded?re`
1069
+ <div class="ft-reader-toc--link-container" data-depth="${t.depth}" style=${vo(c)}>
1070
+ ${this.nodesToExpandExist&&!this.expanded?ne`
1066
1071
  <div class="ft-reader-toc--toggle-container">
1067
- ${a?re`
1072
+ ${a?ne`
1068
1073
  <ft-button
1069
1074
  part="expand-collapse-node"
1070
1075
  round hideTooltip
1071
- ?dense=${this.viewportSize!==jn.S}
1076
+ ?dense=${this.viewportSize!==_n.S}
1072
1077
  label="${this.labelResolver.resolve(n?"collapse":"expand",t.title)}"
1073
1078
  .iconVariant="${this.iconVariant}"
1074
1079
  icon="${n?this.collapseIcon||"MINUS":this.expandIcon||"PLUS"}"
@@ -1078,9 +1083,9 @@ class Qi extends ao{constructor(t){if(super(t),this.et=tt,t.type!==ro)throw Erro
1078
1083
  aria-expanded="${n}"
1079
1084
  >
1080
1085
  </ft-button>
1081
- `:ae}
1086
+ `:se}
1082
1087
  </div>
1083
- `:ae}
1088
+ `:se}
1084
1089
  <ft-reader-internal-link
1085
1090
  part="node-link"
1086
1091
  tocId="${t.tocId}"
@@ -1088,11 +1093,11 @@ class Qi extends ao{constructor(t){if(super(t),this.et=tt,t.type!==ro)throw Erro
1088
1093
  <ft-typography part="node-label" variant="body2">${t.title}</ft-typography>
1089
1094
  </ft-reader-internal-link>
1090
1095
  </div>
1091
- ${a?re`
1096
+ ${a?ne`
1092
1097
  <div class="ft-reader-toc--node-children" id="${t.tocId}-children"
1093
1098
  ?hidden=${!n}>
1094
- ${n?yo(t.children,(t=>t.tocId),(t=>this.renderNode(t))):ae}
1099
+ ${n?go(t.children,(t=>t.tocId),(t=>this.renderNode(t))):se}
1095
1100
  </div>
1096
- `:ae}
1101
+ `:se}
1097
1102
  </div>
1098
- `}buildAutomaticallyExpandedNodes(t){var e,o;let i=new Set(this.autoCollapse?[]:this.automaticallyExpandedNodes);for(let r of t){let t=r;for(;t&&!i.has(t);)i.add(t),this.manuallyCollapsedNodes.delete(t),t=null===(o=null===(e=this.service)||void 0===e?void 0:e.getTocNodeNow(t))||void 0===o?void 0:o.parentTocId}return i}manuallyToggle(t,e){e?(this.manuallyCollapsedNodes.add(t),this.manuallyExpandedNodes.delete(t)):(this.manuallyExpandedNodes.add(t),this.manuallyCollapsedNodes.delete(t)),this.requestUpdate()}onViewportSizeChange(t){this.viewportSize=t.detail.category}toggleExpandCollapseAll(){this.expandAll=!this.expandAll,this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set}getExpandCollapseAllTooltipPosition(){switch(this.expandCollapseAllAlignment){case"right":return"left";case"left":return"right";default:return"bottom"}}}oa.elementDefinitions={"ft-button":Hn,"ft-reader-internal-link":qi,"ft-size-watcher":Jn,"ft-typography":Vi},oa.styles=ta,ea([w({type:Boolean})],oa.prototype,"expanded",void 0),ea([w()],oa.prototype,"iconVariant",void 0),ea([w()],oa.prototype,"collapseIcon",void 0),ea([w()],oa.prototype,"expandIcon",void 0),ea([w({type:Boolean})],oa.prototype,"expandCollapseAll",void 0),ea([w({type:Boolean})],oa.prototype,"expandCollapseAllHideLabel",void 0),ea([w({type:Boolean})],oa.prototype,"expandCollapseAllTrailingIcon",void 0),ea([w()],oa.prototype,"expandCollapseAllAlignment",void 0),ea([w({type:Boolean})],oa.prototype,"expandCollapseAllHideIcon",void 0),ea([w()],oa.prototype,"expandCollapseAllIconVariant",void 0),ea([w()],oa.prototype,"collapseAllIcon",void 0),ea([w()],oa.prototype,"expandAllIcon",void 0),ea([w({type:Boolean})],oa.prototype,"autoCollapse",void 0),ea([w()],oa.prototype,"scope",void 0),ea([w({type:Boolean})],oa.prototype,"hideIfEmpty",void 0),ea([w({type:Boolean,reflect:!0})],oa.prototype,"empty",void 0),ea([I({})],oa.prototype,"labels",void 0),ea([He({selector:(t,e)=>{var o,i,r;return e.isCurrentPageToc?(null===(o=t.paginationConfiguration)||void 0===o?void 0:o.splitCurrentPageToc)?null===(i=t.currentPage)||void 0===i?void 0:i.toc:void 0:(null===(r=t.paginationConfiguration)||void 0===r?void 0:r.splitCurrentPageToc)?t.pagesToc:t.toc}})],oa.prototype,"toc",void 0),ea([He({selector:t=>{var e;return null===(e=t.paginationConfiguration)||void 0===e?void 0:e.splitCurrentPageToc}})],oa.prototype,"splitToc",void 0),ea([He()],oa.prototype,"currentPage",void 0),ea([He({selector:(t,e)=>{var o,i;return(null===(o=t.paginationConfiguration)||void 0===o?void 0:o.splitCurrentPageToc)&&!e.isCurrentPageToc?[null===(i=t.currentPage)||void 0===i?void 0:i.rootTocId]:t.visibleTopics}})],oa.prototype,"highlightedTocIds",void 0),ea([C({hasChanged:(t,e)=>!k(t,e)})],oa.prototype,"automaticallyExpandedNodes",void 0),ea([C({hasChanged:(t,e)=>!k(t,e)})],oa.prototype,"manuallyExpandedNodes",void 0),ea([C({hasChanged:(t,e)=>!k(t,e)})],oa.prototype,"manuallyCollapsedNodes",void 0),ea([C()],oa.prototype,"expandAll",void 0),ea([C()],oa.prototype,"viewportSize",void 0),U("ft-reader-toc")(oa),t.DEFAULT_LABELS=qn,t.FtReaderToc=oa,t.FtReaderTocCssVariables=Qn,t.styles=ta}({});
1103
+ `}buildAutomaticallyExpandedNodes(t){var e,o;let i=new Set(this.autoCollapse?[]:this.automaticallyExpandedNodes);for(let r of t){let t=r;for(;t&&!i.has(t);)i.add(t),this.manuallyCollapsedNodes.delete(t),t=null===(o=null===(e=this.service)||void 0===e?void 0:e.getTocNodeNow(t))||void 0===o?void 0:o.parentTocId}return i}manuallyToggle(t,e){e?(this.manuallyCollapsedNodes.add(t),this.manuallyExpandedNodes.delete(t)):(this.manuallyExpandedNodes.add(t),this.manuallyCollapsedNodes.delete(t)),this.requestUpdate()}onViewportSizeChange(t){this.viewportSize=t.detail.category}toggleExpandCollapseAll(){this.expandAll=!this.expandAll,this.automaticallyExpandedNodes=new Set,this.manuallyExpandedNodes=new Set,this.manuallyCollapsedNodes=new Set}getExpandCollapseAllTooltipPosition(){switch(this.expandCollapseAllAlignment){case"right":return"left";case"left":return"right";default:return"bottom"}}}ia.elementDefinitions={"ft-button":Tn,"ft-reader-internal-link":Qi,"ft-size-watcher":qn,"ft-typography":Yi},ia.styles=ea,oa([w({type:Boolean})],ia.prototype,"expanded",void 0),oa([w()],ia.prototype,"iconVariant",void 0),oa([w()],ia.prototype,"collapseIcon",void 0),oa([w()],ia.prototype,"expandIcon",void 0),oa([w({type:Boolean})],ia.prototype,"expandCollapseAll",void 0),oa([w({type:Boolean})],ia.prototype,"expandCollapseAllHideLabel",void 0),oa([w({type:Boolean})],ia.prototype,"expandCollapseAllTrailingIcon",void 0),oa([w()],ia.prototype,"expandCollapseAllAlignment",void 0),oa([w({type:Boolean})],ia.prototype,"expandCollapseAllHideIcon",void 0),oa([w()],ia.prototype,"expandCollapseAllIconVariant",void 0),oa([w()],ia.prototype,"collapseAllIcon",void 0),oa([w()],ia.prototype,"expandAllIcon",void 0),oa([w({type:Boolean})],ia.prototype,"autoCollapse",void 0),oa([w()],ia.prototype,"scope",void 0),oa([w({type:Boolean})],ia.prototype,"hideIfEmpty",void 0),oa([w({type:Boolean,reflect:!0})],ia.prototype,"empty",void 0),oa([L({})],ia.prototype,"labels",void 0),oa([Te({selector:(t,e)=>{var o,i,r;return e.isCurrentPageToc?(null===(o=t.paginationConfiguration)||void 0===o?void 0:o.splitCurrentPageToc)?null===(i=t.currentPage)||void 0===i?void 0:i.toc:void 0:(null===(r=t.paginationConfiguration)||void 0===r?void 0:r.splitCurrentPageToc)?t.pagesToc:t.toc}})],ia.prototype,"toc",void 0),oa([Te({selector:t=>{var e;return null===(e=t.paginationConfiguration)||void 0===e?void 0:e.splitCurrentPageToc}})],ia.prototype,"splitToc",void 0),oa([Te()],ia.prototype,"currentPage",void 0),oa([Te({selector:(t,e)=>{var o,i;return(null===(o=t.paginationConfiguration)||void 0===o?void 0:o.splitCurrentPageToc)&&!e.isCurrentPageToc?[null===(i=t.currentPage)||void 0===i?void 0:i.rootTocId]:t.visibleTopics}})],ia.prototype,"highlightedTocIds",void 0),oa([C({hasChanged:(t,e)=>!U(t,e)})],ia.prototype,"automaticallyExpandedNodes",void 0),oa([C({hasChanged:(t,e)=>!U(t,e)})],ia.prototype,"manuallyExpandedNodes",void 0),oa([C({hasChanged:(t,e)=>!U(t,e)})],ia.prototype,"manuallyCollapsedNodes",void 0),oa([C()],ia.prototype,"expandAll",void 0),oa([C()],ia.prototype,"viewportSize",void 0),I("ft-reader-toc")(ia),t.DEFAULT_LABELS=Qn,t.FtReaderToc=ia,t.FtReaderTocCssVariables=ta,t.styles=ea}({});