@fluid-topics/ft-search-selected-facets 1.1.68 → 1.1.69

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||[]);d(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 h=o.call(i,t);h||(h=f(t),e.call(i,t,h)),this===window.customElements&&(a.set(r,c),c.standInClass=h);const p=this._awaitingUpgrade.get(t);if(p){this._awaitingUpgrade.delete(t);for(const t of p)n.delete(t),u(t,c,!0)}const g=this._whenDefinedPromises.get(t);return void 0!==g&&(g.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){y.push(this),i.upgrade.apply(i,arguments),y.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,h=t=>{let e=t.getRootNode();if(!c(e)){const t=y[y.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=h(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)}},d=(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)})},p=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):p(o)},u=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){p(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)},g=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=g.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let y=[document];const b=(t,e,o=void 0)=>{const i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){y.push(this);const t=i.apply(o||this,arguments);return void 0!==t&&s.set(t,this),y.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){y.push(this),o.set.call(this,t),y.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,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(gl){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||[]);d(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 h=o.call(i,t);h||(h=f(t),e.call(i,t,h)),this===window.customElements&&(a.set(r,c),c.standInClass=h);const p=this._awaitingUpgrade.get(t);if(p){this._awaitingUpgrade.delete(t);for(const t of p)n.delete(t),u(t,c,!0)}const g=this._whenDefinedPromises.get(t);return void 0!==g&&(g.resolve(r),this._whenDefinedPromises.delete(t)),r}upgrade(){y.push(this),i.upgrade.apply(i,arguments),y.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,h=t=>{let e=t.getRootNode();if(!c(e)){const t=y[y.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=h(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)}},d=(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)})},p=e=>{const o=Object.getPrototypeOf(e);if(o!==window.HTMLElement)return o===t?Object.setPrototypeOf(e,window.HTMLElement):p(o)},u=(t,e,o=!1)=>{Object.setPrototypeOf(t,e.elementClass.prototype),r.set(t,e),l=t;try{new e.elementClass}catch(t){p(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)},g=Element.prototype.attachShadow;Element.prototype.attachShadow=function(t){const e=g.apply(this,arguments);return t.customElements&&(e.customElements=t.customElements),e};let y=[document];const b=(t,e,o=void 0)=>{const i=(o?Object.getPrototypeOf(o):t.prototype)[e];t.prototype[e]=function(){y.push(this);const t=i.apply(o||this,arguments);return void 0!==t&&s.set(t,this),y.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){y.push(this),o.set.call(this,t),y.pop()}})};if(m(Element,"innerHTML"),m(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){const t=new WeakMap,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(yl){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
@@ -28,7 +28,7 @@ if(!ShadowRoot.prototype.createElement){const t=window.HTMLElement,e=window.cust
28
28
  * Copyright 2017 Google LLC
29
29
  * SPDX-License-Identifier: BSD-3-Clause
30
30
  */
31
- const w=globalThis,S=w.trustedTypes,C=S?S.createPolicy("lit-html",{createHTML:t=>t}):void 0,N="$lit$",$=`lit$${(Math.random()+"").slice(9)}$`,E="?"+$,k=`<${E}>`,R=document,I=()=>R.createComment(""),L=t=>null===t||"object"!=typeof t&&"function"!=typeof t,U=Array.isArray,A=t=>U(t)||"function"==typeof t?.[Symbol.iterator],W="[ \t\n\f\r]",z=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,B=/-->/g,F=/>/g,_=RegExp(`>|${W}(?:([^\\s"'>=/]+)(${W}*=${W}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),P=/'/g,j=/"/g,D=/^(?:script|style|textarea|title)$/i,T=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),M=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),H=new WeakMap,Z=R.createTreeWalker(R,129);function G(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==C?C.createHTML(e):e}const V=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=z;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,h=0;for(;h<o.length&&(a.lastIndex=h,l=a.exec(o),null!==l);)h=a.lastIndex,a===z?"!--"===l[1]?a=B:void 0!==l[1]?a=F:void 0!==l[2]?(D.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=_):void 0!==l[3]&&(a=_):a===_?">"===l[0]?(a=r??z,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?_:'"'===l[3]?j:P):a===j||a===P?a=_:a===B||a===F?a=z:(a=_,r=void 0);const f=a===_&&t[e+1].startsWith("/>")?" ":"";n+=a===z?o+k:c>=0?(i.push(s),o.slice(0,c)+N+o.slice(c)+$+f):o+$+(-2===c?e:f)}return[G(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};let q=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,h]=V(e,o);if(this.el=t.createElement(c,i),Z.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=Z.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(N)){const e=h[a++],o=r.getAttribute(t).split($),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:o,ctor:"."===i[1]?tt:"?"===i[1]?et:"@"===i[1]?ot:X}),r.removeAttribute(t)}else t.startsWith($)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(D.test(r.tagName)){const t=r.textContent.split($),e=t.length-1;if(e>0){r.textContent=S?S.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],I()),Z.nextNode(),l.push({type:2,index:++n});r.append(t[e],I())}}}else if(8===r.nodeType)if(r.data===E)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf($,t+1));)l.push({type:7,index:n}),t+=$.length-1}n++}}static createElement(t,e){const o=R.createElement("template");return o.innerHTML=t,o}};function Y(t,e,o=t,i){if(e===M)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=L(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=Y(t,r._$AS(t,e.values),r,i)),e}let J=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,i=(t?.creationScope??R).importNode(e,!0);Z.currentNode=i;let r=Z.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new Q(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new it(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=Z.nextNode(),n++)}return Z.currentNode=R,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++}},Q=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=K,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=Y(this,t,e),L(t)?t===K||null==t||""===t?(this._$AH!==K&&this._$AR(),this._$AH=K):t!==this._$AH&&t!==M&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):A(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!==K&&L(this._$AH)?this._$AA.nextSibling.data=t:this.$(R.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=q.createElement(G(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new J(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=H.get(t.strings);return void 0===e&&H.set(t.strings,e=new q(t)),e}T(e){U(this._$AH)||(this._$AH=[],this._$AR());const o=this._$AH;let i,r=0;for(const n of e)r===o.length?o.push(i=new t(this.k(I()),this.k(I()),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))}},X=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=K,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=K}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=Y(this,t,e,0),n=!L(t)||t!==this._$AH&&t!==M,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=Y(this,i[o+a],e,a),s===M&&(s=this._$AH[a]),n||=!L(s)||s!==this._$AH[a],s===K?t=K:t!==K&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},tt=class extends X{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===K?void 0:t}},et=class extends X{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==K)}},ot=class extends X{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=Y(this,t,e,0)??K)===M)return;const o=this._$AH,i=t===K&&o!==K||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==K&&(o===K||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)}},it=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){Y(this,t)}};const rt={j:N,P:$,A:E,C:1,M:V,L:J,R:A,V:Y,D:Q,I:X,H:et,N:ot,U:tt,B:it},nt=w.litHtmlPolyfillSupport;nt?.(q,Q),(w.litHtmlVersions??=[]).push("3.1.0");
31
+ const w=globalThis,S=w.trustedTypes,C=S?S.createPolicy("lit-html",{createHTML:t=>t}):void 0,N="$lit$",$=`lit$${(Math.random()+"").slice(9)}$`,E="?"+$,k=`<${E}>`,R=document,I=()=>R.createComment(""),L=t=>null===t||"object"!=typeof t&&"function"!=typeof t,U=Array.isArray,A=t=>U(t)||"function"==typeof t?.[Symbol.iterator],W="[ \t\n\f\r]",z=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,B=/-->/g,F=/>/g,_=RegExp(`>|${W}(?:([^\\s"'>=/]+)(${W}*=${W}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),P=/'/g,j=/"/g,D=/^(?:script|style|textarea|title)$/i,T=(t=>(e,...o)=>({_$litType$:t,strings:e,values:o}))(1),M=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),K=new WeakMap,Z=R.createTreeWalker(R,129);function G(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==C?C.createHTML(e):e}const V=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=z;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,h=0;for(;h<o.length&&(a.lastIndex=h,l=a.exec(o),null!==l);)h=a.lastIndex,a===z?"!--"===l[1]?a=B:void 0!==l[1]?a=F:void 0!==l[2]?(D.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=_):void 0!==l[3]&&(a=_):a===_?">"===l[0]?(a=r??z,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?_:'"'===l[3]?j:P):a===j||a===P?a=_:a===B||a===F?a=z:(a=_,r=void 0);const f=a===_&&t[e+1].startsWith("/>")?" ":"";n+=a===z?o+k:c>=0?(i.push(s),o.slice(0,c)+N+o.slice(c)+$+f):o+$+(-2===c?e:f)}return[G(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};let q=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,h]=V(e,o);if(this.el=t.createElement(c,i),Z.currentNode=this.el.content,2===o){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(r=Z.nextNode())&&l.length<s;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(N)){const e=h[a++],o=r.getAttribute(t).split($),i=/([.?@])?(.*)/.exec(e);l.push({type:1,index:n,name:i[2],strings:o,ctor:"."===i[1]?tt:"?"===i[1]?et:"@"===i[1]?ot:X}),r.removeAttribute(t)}else t.startsWith($)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(D.test(r.tagName)){const t=r.textContent.split($),e=t.length-1;if(e>0){r.textContent=S?S.emptyScript:"";for(let o=0;o<e;o++)r.append(t[o],I()),Z.nextNode(),l.push({type:2,index:++n});r.append(t[e],I())}}}else if(8===r.nodeType)if(r.data===E)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf($,t+1));)l.push({type:7,index:n}),t+=$.length-1}n++}}static createElement(t,e){const o=R.createElement("template");return o.innerHTML=t,o}};function Y(t,e,o=t,i){if(e===M)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=L(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=Y(t,r._$AS(t,e.values),r,i)),e}let J=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,i=(t?.creationScope??R).importNode(e,!0);Z.currentNode=i;let r=Z.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new Q(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new it(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=Z.nextNode(),n++)}return Z.currentNode=R,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++}},Q=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=H,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=Y(this,t,e),L(t)?t===H||null==t||""===t?(this._$AH!==H&&this._$AR(),this._$AH=H):t!==this._$AH&&t!==M&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):A(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!==H&&L(this._$AH)?this._$AA.nextSibling.data=t:this.$(R.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=q.createElement(G(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new J(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=K.get(t.strings);return void 0===e&&K.set(t.strings,e=new q(t)),e}T(e){U(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(I()),this.k(I()),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))}},X=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=H,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=H}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=Y(this,t,e,0),n=!L(t)||t!==this._$AH&&t!==M,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=Y(this,i[o+a],e,a),s===M&&(s=this._$AH[a]),n||=!L(s)||s!==this._$AH[a],s===H?t=H:t!==H&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},tt=class extends X{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===H?void 0:t}},et=class extends X{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==H)}},ot=class extends X{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=Y(this,t,e,0)??H)===M)return;const o=this._$AH,i=t===H&&o!==H||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==H&&(o===H||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)}},it=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){Y(this,t)}};const rt={j:N,P:$,A:E,C:1,M:V,L:J,R:A,V:Y,D:Q,I:X,H:et,N:ot,U:tt,B:it},nt=w.litHtmlPolyfillSupport;nt?.(q,Q),(w.litHtmlVersions??=[]).push("3.1.0");
32
32
  /**
33
33
  * @license
34
34
  * Copyright 2019 Google LLC
@@ -45,7 +45,7 @@ const at=globalThis,st=at.ShadowRoot&&(void 0===at.ShadyCSS||at.ShadyCSS.nativeS
45
45
  * Copyright 2017 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
47
  */
48
- const It=globalThis,Lt=It.trustedTypes,Ut=Lt?Lt.createPolicy("lit-html",{createHTML:t=>t}):void 0,At="$lit$",Wt=`lit$${(Math.random()+"").slice(9)}$`,zt="?"+Wt,Bt=`<${zt}>`,Ft=document,_t=()=>Ft.createComment(""),Pt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,jt=Array.isArray,Dt=t=>jt(t)||"function"==typeof t?.[Symbol.iterator],Tt="[ \t\n\f\r]",Mt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Kt=/-->/g,Ht=/>/g,Zt=RegExp(`>|${Tt}(?:([^\\s"'>=/]+)(${Tt}*=${Tt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Gt=/'/g,Vt=/"/g,qt=/^(?:script|style|textarea|title)$/i,Yt=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),Jt=Yt(1),Qt=Yt(2),Xt=Symbol.for("lit-noChange"),te=Symbol.for("lit-nothing"),ee=new WeakMap,oe=Ft.createTreeWalker(Ft,129);function ie(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ut?Ut.createHTML(e):e}const re=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=Mt;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,h=0;for(;h<o.length&&(a.lastIndex=h,l=a.exec(o),null!==l);)h=a.lastIndex,a===Mt?"!--"===l[1]?a=Kt:void 0!==l[1]?a=Ht:void 0!==l[2]?(qt.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=Zt):void 0!==l[3]&&(a=Zt):a===Zt?">"===l[0]?(a=r??Mt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?Zt:'"'===l[3]?Vt:Gt):a===Vt||a===Gt?a=Zt:a===Kt||a===Ht?a=Mt:(a=Zt,r=void 0);const f=a===Zt&&t[e+1].startsWith("/>")?" ":"";n+=a===Mt?o+Bt:c>=0?(i.push(s),o.slice(0,c)+At+o.slice(c)+Wt+f):o+Wt+(-2===c?e:f)}return[ie(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};class ne{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]=re(t,e);if(this.el=ne.createElement(l,o),oe.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=oe.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(At)){const e=c[n++],o=i.getAttribute(t).split(Wt),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:r,name:a[2],strings:o,ctor:"."===a[1]?he:"?"===a[1]?fe:"@"===a[1]?de:ce}),i.removeAttribute(t)}else t.startsWith(Wt)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(qt.test(i.tagName)){const t=i.textContent.split(Wt),e=t.length-1;if(e>0){i.textContent=Lt?Lt.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],_t()),oe.nextNode(),s.push({type:2,index:++r});i.append(t[e],_t())}}}else if(8===i.nodeType)if(i.data===zt)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(Wt,t+1));)s.push({type:7,index:r}),t+=Wt.length-1}r++}}static createElement(t,e){const o=Ft.createElement("template");return o.innerHTML=t,o}}function ae(t,e,o=t,i){if(e===Xt)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=Pt(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=ae(t,r._$AS(t,e.values),r,i)),e}let se=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,i=(t?.creationScope??Ft).importNode(e,!0);oe.currentNode=i;let r=oe.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new le(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new pe(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=oe.nextNode(),n++)}return oe.currentNode=Ft,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++}},le=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=te,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=ae(this,t,e),Pt(t)?t===te||null==t||""===t?(this._$AH!==te&&this._$AR(),this._$AH=te):t!==this._$AH&&t!==Xt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):Dt(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==te&&Pt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Ft.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=ne.createElement(ie(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new se(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=ee.get(t.strings);return void 0===e&&ee.set(t.strings,e=new ne(t)),e}T(e){jt(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(_t()),this.k(_t()),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))}},ce=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=te,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=te}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=ae(this,t,e,0),n=!Pt(t)||t!==this._$AH&&t!==Xt,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=ae(this,i[o+a],e,a),s===Xt&&(s=this._$AH[a]),n||=!Pt(s)||s!==this._$AH[a],s===te?t=te:t!==te&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===te?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},he=class extends ce{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===te?void 0:t}},fe=class extends ce{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==te)}},de=class extends ce{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=ae(this,t,e,0)??te)===Xt)return;const o=this._$AH,i=t===te&&o!==te||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==te&&(o===te||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)}},pe=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){ae(this,t)}};const ue={j:At,P:Wt,A:zt,C:1,M:re,L:se,R:Dt,V:ae,D:le,I:ce,H:fe,N:de,U:he,B:pe},ge=It.litHtmlPolyfillSupport;ge?.(ne,le),(It.litHtmlVersions??=[]).push("3.1.0");const ye=(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 le(e.insertBefore(_t(),t),t,void 0,o??{})}return r._$AI(t),r
48
+ const It=globalThis,Lt=It.trustedTypes,Ut=Lt?Lt.createPolicy("lit-html",{createHTML:t=>t}):void 0,At="$lit$",Wt=`lit$${(Math.random()+"").slice(9)}$`,zt="?"+Wt,Bt=`<${zt}>`,Ft=document,_t=()=>Ft.createComment(""),Pt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,jt=Array.isArray,Dt=t=>jt(t)||"function"==typeof t?.[Symbol.iterator],Tt="[ \t\n\f\r]",Mt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ht=/-->/g,Kt=/>/g,Zt=RegExp(`>|${Tt}(?:([^\\s"'>=/]+)(${Tt}*=${Tt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Gt=/'/g,Vt=/"/g,qt=/^(?:script|style|textarea|title)$/i,Yt=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),Jt=Yt(1),Qt=Yt(2),Xt=Symbol.for("lit-noChange"),te=Symbol.for("lit-nothing"),ee=new WeakMap,oe=Ft.createTreeWalker(Ft,129);function ie(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Ut?Ut.createHTML(e):e}const re=(t,e)=>{const o=t.length-1,i=[];let r,n=2===e?"<svg>":"",a=Mt;for(let e=0;e<o;e++){const o=t[e];let s,l,c=-1,h=0;for(;h<o.length&&(a.lastIndex=h,l=a.exec(o),null!==l);)h=a.lastIndex,a===Mt?"!--"===l[1]?a=Ht:void 0!==l[1]?a=Kt:void 0!==l[2]?(qt.test(l[2])&&(r=RegExp("</"+l[2],"g")),a=Zt):void 0!==l[3]&&(a=Zt):a===Zt?">"===l[0]?(a=r??Mt,c=-1):void 0===l[1]?c=-2:(c=a.lastIndex-l[2].length,s=l[1],a=void 0===l[3]?Zt:'"'===l[3]?Vt:Gt):a===Vt||a===Gt?a=Zt:a===Ht||a===Kt?a=Mt:(a=Zt,r=void 0);const f=a===Zt&&t[e+1].startsWith("/>")?" ":"";n+=a===Mt?o+Bt:c>=0?(i.push(s),o.slice(0,c)+At+o.slice(c)+Wt+f):o+Wt+(-2===c?e:f)}return[ie(t,n+(t[o]||"<?>")+(2===e?"</svg>":"")),i]};class ne{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]=re(t,e);if(this.el=ne.createElement(l,o),oe.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=oe.nextNode())&&s.length<a;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(At)){const e=c[n++],o=i.getAttribute(t).split(Wt),a=/([.?@])?(.*)/.exec(e);s.push({type:1,index:r,name:a[2],strings:o,ctor:"."===a[1]?he:"?"===a[1]?fe:"@"===a[1]?de:ce}),i.removeAttribute(t)}else t.startsWith(Wt)&&(s.push({type:6,index:r}),i.removeAttribute(t));if(qt.test(i.tagName)){const t=i.textContent.split(Wt),e=t.length-1;if(e>0){i.textContent=Lt?Lt.emptyScript:"";for(let o=0;o<e;o++)i.append(t[o],_t()),oe.nextNode(),s.push({type:2,index:++r});i.append(t[e],_t())}}}else if(8===i.nodeType)if(i.data===zt)s.push({type:2,index:r});else{let t=-1;for(;-1!==(t=i.data.indexOf(Wt,t+1));)s.push({type:7,index:r}),t+=Wt.length-1}r++}}static createElement(t,e){const o=Ft.createElement("template");return o.innerHTML=t,o}}function ae(t,e,o=t,i){if(e===Xt)return e;let r=void 0!==i?o._$Co?.[i]:o._$Cl;const n=Pt(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=ae(t,r._$AS(t,e.values),r,i)),e}let se=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:o}=this._$AD,i=(t?.creationScope??Ft).importNode(e,!0);oe.currentNode=i;let r=oe.nextNode(),n=0,a=0,s=o[0];for(;void 0!==s;){if(n===s.index){let e;2===s.type?e=new le(r,r.nextSibling,this,t):1===s.type?e=new s.ctor(r,s.name,s.strings,this,t):6===s.type&&(e=new pe(r,this,t)),this._$AV.push(e),s=o[++a]}n!==s?.index&&(r=oe.nextNode(),n++)}return oe.currentNode=Ft,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++}},le=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,i){this.type=2,this._$AH=te,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=ae(this,t,e),Pt(t)?t===te||null==t||""===t?(this._$AH!==te&&this._$AR(),this._$AH=te):t!==this._$AH&&t!==Xt&&this._(t):void 0!==t._$litType$?this.g(t):void 0!==t.nodeType?this.$(t):Dt(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==te&&Pt(this._$AH)?this._$AA.nextSibling.data=t:this.$(Ft.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=ne.createElement(ie(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new se(i,this),o=t.u(this.options);t.p(e),this.$(o),this._$AH=t}}_$AC(t){let e=ee.get(t.strings);return void 0===e&&ee.set(t.strings,e=new ne(t)),e}T(e){jt(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(_t()),this.k(_t()),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))}},ce=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,i,r){this.type=1,this._$AH=te,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=te}_$AI(t,e=this,o,i){const r=this.strings;let n=!1;if(void 0===r)t=ae(this,t,e,0),n=!Pt(t)||t!==this._$AH&&t!==Xt,n&&(this._$AH=t);else{const i=t;let a,s;for(t=r[0],a=0;a<r.length-1;a++)s=ae(this,i[o+a],e,a),s===Xt&&(s=this._$AH[a]),n||=!Pt(s)||s!==this._$AH[a],s===te?t=te:t!==te&&(t+=(s??"")+r[a+1]),this._$AH[a]=s}n&&!i&&this.O(t)}O(t){t===te?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},he=class extends ce{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===te?void 0:t}},fe=class extends ce{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==te)}},de=class extends ce{constructor(t,e,o,i,r){super(t,e,o,i,r),this.type=5}_$AI(t,e=this){if((t=ae(this,t,e,0)??te)===Xt)return;const o=this._$AH,i=t===te&&o!==te||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==te&&(o===te||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)}},pe=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){ae(this,t)}};const ue={j:At,P:Wt,A:zt,C:1,M:re,L:se,R:Dt,V:ae,D:le,I:ce,H:fe,N:de,U:he,B:pe},ge=It.litHtmlPolyfillSupport;ge?.(ne,le),(It.litHtmlVersions??=[]).push("3.1.0");const ye=(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 le(e.insertBefore(_t(),t),t,void 0,o??{})}return r._$AI(t),r
49
49
  /**
50
50
  * @license
51
51
  * Copyright 2017 Google LLC
@@ -116,12 +116,12 @@ function Re(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=$
116
116
  * @license
117
117
  * Copyright 2017 Google LLC
118
118
  * SPDX-License-Identifier: BSD-3-Clause
119
- */var Ke=Object.freeze({__proto__:null,repeat:Me});
119
+ */var He=Object.freeze({__proto__:null,repeat:Me});
120
120
  /**
121
121
  * @license
122
122
  * Copyright 2018 Google LLC
123
123
  * SPDX-License-Identifier: BSD-3-Clause
124
- */const He=We(class extends ze{constructor(t){if(super(t),t.type!==Ue||"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 M}});var Ze=Object.freeze({__proto__:null,classMap:He});
124
+ */const Ke=We(class extends ze{constructor(t){if(super(t),t.type!==Ue||"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 M}});var Ze=Object.freeze({__proto__:null,classMap:Ke});
125
125
  /**
126
126
  * @license
127
127
  * Copyright 2018 Google LLC
@@ -131,16 +131,16 @@ function Re(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=$
131
131
  * @license
132
132
  * Copyright 2017 Google LLC
133
133
  * SPDX-License-Identifier: BSD-3-Clause
134
- */let Je=class extends ze{constructor(t){if(super(t),this.et=K,t.type!==Ae)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===K||null==t)return this.vt=void 0,this.et=t;if(t===M)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}};Je.directiveName="unsafeHTML",Je.resultType=1;const Qe=We(Je);var Xe=Object.freeze({__proto__:null,UnsafeHTMLDirective:Je,unsafeHTML:Qe});class to extends Error{constructor(t,e,o){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=o}}class eo extends Promise{constructor(t){super(((e,o)=>t((t=>{this.isCanceled?o(new to("Promise has been canceled",t)):e(t)}),(t=>{this.isCanceled?o(new to("Promise has been canceled",void 0,t)):o(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const oo=t=>new eo(((e,o)=>t.then(e).catch(o)));var io=Object.freeze({__proto__:null,CancelablePromise:eo,CanceledPromiseError:to,cancelable:oo});class ro{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,e){this.loaders[t]=e,this.finalContent.delete(t)}registerFinal(t,e){this.loaders[t]=e,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof eo&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,e){this.forceClear(t),this.register(t,(async()=>e)),this.content[t]=e}setFinal(t,e){this.forceClear(t),this.registerFinal(t,(async()=>e)),this.content[t]=e}async get(t,e,o){if(void 0===this.content[t]){if(null==(e=null!=e?e:this.loaders[t]))throw new Error("Unknown cache key "+t);const i=oo(e());return this.content[t]=i,i.then((e=>(this.content[t]=e,null!=o&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),o)),e)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}var no=Object.freeze({__proto__:null,CacheRegistry:ro});class ao{constructor(t,e,o,i){this.allResults=t,this.selectedResult=e,this.clusteringMetadata=o,this.metadataDescriptors=i}static extractResultMetadata(t,e){var o,i;let r=(null!==(i=null!==(o=null==t?void 0:t.map)&&void 0!==o?o:null==t?void 0:t.document)&&void 0!==i?i:null==t?void 0:t.topic).metadata.map((t=>ao.flattenMetadata(t)));return null==e?r:r.find((t=>t.key===e))}static flattenMetadata(t){if(t.hierarchicalValues){const e=[],o=[];return t.hierarchicalValues.forEach((t=>{e.push(t.join(" > ")),t.length>2?o.push(`... > ${t[t.length-1]}`):o.push(t.join(" > "))})),{key:t.key,label:t.label,value:e.join(", "),displayValue:o.join(", ")}}{const e=t.values.join(", ");return{key:t.key,label:t.label,value:e,displayValue:e}}}computeClustersItemsForMetadata(t,e,o="No value"){var i,r;let n=ao.extractResultMetadata(this.selectedResult,t),a=null!==(i=null==n?void 0:n.label)&&void 0!==i?i:null===(r=this.getMetadataDescriptor(t))||void 0===r?void 0:r.label;const s=this.allResults.map((e=>ao.extractResultMetadata(e,t))).map((e=>null!=e?e:{key:t,label:a,value:void 0,displayValue:o})).filter((t=>t.value!=(null==n?void 0:n.value))).filter(((t,e,o)=>o.findIndex((e=>e.value===t.value))===e));return s.map((e=>({result:this.findBestResultForMetadataValue(t,e.value),metadata:e}))).sort(((o,i)=>this.compareMetadata(o.metadata.value,i.metadata.value,t,e)))}compareMetadata(t,e,o,i){if(null==t)return-1;if(null==e)return 1;let r=this.getMetadataDescriptor(o),n=(null==r?void 0:r.sortRule)||"NONE",a=(null==r?void 0:r.reverseSort)||!1;if("ALPHABET"==n||"VERSION"==n){let o=t.localeCompare(e,i,{numeric:!0});return a?-1*o:o}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find((e=>t==e.key))}findBestResultForMetadataValue(t,e){const o=this.allResults.filter((o=>{var i;return(null===(i=ao.extractResultMetadata(o,t))||void 0===i?void 0:i.value)==e}));let i,r=ao.extractResultMetadata(this.selectedResult).filter((t=>this.clusteringMetadata.has(t.key))),n=[...r.filter((e=>e.key!==t))],a=-1;for(let t of o){let e=this.countMatchingMetadata(t,n);if(e>a&&(a=e,i=t,e===n.length))break}return i}countMatchingMetadata(t,e){return ao.extractResultMetadata(t).filter((t=>e.some((e=>e.key===t.key&&e.value===t.value)))).length}}var so=Object.freeze({__proto__:null,ClusteringHelper:ao});class lo{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}}var co=Object.freeze({__proto__:null,Debouncer:lo});const ho=t=>new Promise((e=>setTimeout(e,t)));async function fo(t,e=10,o=2e4){let i,r,n=await t();for(i=r=performance.now();null==n&&(!o||r-i<o);)await ho(e),n=await t(),r=performance.now();if(null==n)throw new Error("Timeout exceeded");return n}function po(t,e){return t.flatMap((t=>[t,...po(e(t),e)]))}function uo(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,((t,e,o,i)=>e+o+":"+i)),new Date(t)}function go(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(!go(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(!go(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(!go(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}var yo=Object.freeze({__proto__:null,dateReviver:function(...t){return function(e,o){return t.includes(e)?uo(o):o}},deepEqual:go,delay:ho,eventPathContainsMatchingElement:function(t,e,o=window.document.body){if(e.length>0){const i=t.composedPath();for(let t of i){if(t===o)return!1;if(t.matches&&e.some((e=>t.matches(e))))return!0}}return!1},flatDeep:po,last:function(t){return t[t.length-1]},minmax:function(t,e,o){return Math.min(Math.max(t,e),o)},parseDate:uo,waitFor:fo,waitUntil:async function(t,e=10,o=2e4){await fo((async()=>await t()||void 0),e,o)}});const bo=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function mo(t,e){const o=()=>JSON.parse(JSON.stringify(t));return we({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!go(t,e),...null!=e?e:{}})}function vo(t){return!isNaN(parseFloat(t))}var xo=Object.freeze({__proto__:null,customElement:bo,isNumber:vo,jsonProperty:mo,optionalNumberProperty:function(t){return we({type:Object,converter:{fromAttribute:t=>{if(null!=t)return vo(t)?+t:void 0},toAttribute:t=>null==t?void 0:""+t},...null!=t?t:{}})}});const Oo=t=>"string"==typeof t?ft(t):t;class wo{static create(t,e,o,i){const r=t=>Oo(null!=t?t:i),n=dt`var(${Oo(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>dt`var(${Oo(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=dt`var(${Oo(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=>dt`var(${Oo(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):Oo(null!=e?e:t.lastResortDefaultValue()),i=dt`var(${Oo(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=>dt`var(${Oo(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function So(t,e){return Oo(`${t.name}: ${e}`)}const Co={colorWhite:wo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:wo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:wo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:wo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:wo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:wo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:wo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:wo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:wo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:wo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:wo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:wo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:wo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:wo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:wo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:wo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:wo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:wo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:wo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:wo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:wo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:wo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:wo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:wo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:wo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:wo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:wo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:wo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:wo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:wo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:wo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:wo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:wo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:wo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:wo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:wo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:wo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:wo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:wo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:wo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:wo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:wo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:wo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:wo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:wo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:wo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:wo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:wo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:wo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:wo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:wo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:wo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:wo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:wo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:wo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:wo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:wo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:wo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:wo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:wo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:wo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:wo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:wo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:wo.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:wo.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:wo.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:wo.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:wo.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:wo.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:wo.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:wo.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:wo.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:wo.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:wo.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:wo.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:wo.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:wo.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:wo.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:wo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:wo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:wo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:wo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:wo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:wo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:wo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:wo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:wo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:wo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:wo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:wo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:wo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:wo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:wo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:wo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:wo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:wo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:wo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:wo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:wo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:wo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:wo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:wo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:wo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:wo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:wo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:wo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:wo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:wo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:wo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:wo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:wo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:wo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:wo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:wo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:wo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:wo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:wo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:wo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:wo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:wo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:wo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:wo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:wo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:wo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:wo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:wo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:wo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:wo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:wo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:wo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:wo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:wo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:wo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:wo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:wo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:wo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:wo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:wo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:wo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:wo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:wo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:wo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:wo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:wo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:wo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:wo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:wo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:wo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:wo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:wo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:wo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:wo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:wo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:wo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:wo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:wo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:wo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:wo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:wo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:wo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:wo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:wo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:wo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:wo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:wo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:wo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:wo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:wo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:wo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:wo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:wo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:wo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:wo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:wo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:wo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:wo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:wo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:wo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:wo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:wo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:wo.create("--ft-opacity-0","","NUMBER","0"),opacity8:wo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:wo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:wo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:wo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:wo.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:wo.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:wo.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:wo.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:wo.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:wo.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:wo.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:wo.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:wo.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:wo.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},No={fontFamily:wo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:wo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:wo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:wo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-display-textCase","","UNKNOWN","none")},$o={fontFamily:wo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:wo.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:wo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:wo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Eo={fontFamily:wo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:wo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:wo.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:wo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:wo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},ko={fontFamily:wo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:wo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:wo.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:wo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:wo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Ro={fontFamily:wo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:wo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:wo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:wo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:wo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Io={fontFamily:wo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:wo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:wo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:wo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:wo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Lo={fontFamily:wo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:wo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:wo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:wo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Uo={fontFamily:wo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:wo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:wo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:wo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:wo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Ao={fontFamily:wo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:wo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:wo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:wo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:wo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Wo={fontFamily:wo.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:wo.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:wo.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:wo.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:wo.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:wo.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:wo.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},zo={fontFamily:wo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:wo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:wo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:wo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Bo={fontFamily:wo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:wo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:wo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:wo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:wo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:wo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Fo={fontFamily:wo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:wo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:wo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:wo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:wo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},_o={fontFamily:wo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:wo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:wo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:wo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:wo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:wo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Po={fontFamily:wo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:wo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:wo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:wo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:wo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:wo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},jo={fontFamily:wo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:wo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:wo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:wo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:wo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Do={fontFamily:wo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:wo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:wo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:wo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:wo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:wo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},To={fontFamily:wo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:wo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:wo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:wo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:wo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:wo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Mo={fontFamily:wo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:wo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:wo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:wo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:wo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ko={fontFamily:wo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:wo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:wo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:wo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:wo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:wo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Ho={fontFamily:wo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:wo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:wo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:wo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:wo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:wo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Zo={fontFamily:wo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:wo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:wo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:wo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:wo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Go={fontFamily:wo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:wo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:wo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:wo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:wo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:wo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Vo={fontFamily:wo.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:wo.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:wo.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:wo.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:wo.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:wo.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},qo={fontFamily:wo.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:wo.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:wo.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:wo.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:wo.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Yo={fontFamily:wo.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:wo.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:wo.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:wo.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:wo.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:wo.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Jo={display:No,"title-1":$o,"title-2":Eo,"title-3":ko,"body-1-regular":Ro,"body-1-medium":Io,"body-1-semibold":Lo,"body-2-regular":Uo,"body-2-medium":Ao,"body-2-medium-underline":Wo,"body-2-semibold":zo,"label-1-medium":Bo,"label-1-semibold":Fo,"label-1-bold":_o,"label-2-medium":Po,"label-2-semibold":jo,"label-2-bold":Do,"caption-1-medium":To,"caption-1-semibold":Mo,"caption-1-bold":Ko,"caption-2-medium":Ho,"caption-2-semibold":Zo,"caption-2-bold":Go,"caption-3-medium":Vo,"caption-3-semibold":qo,"caption-3-bold":Yo},Qo={backgroundActionPrimary:wo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Co.colorBrand0),backgroundErrorSubtle:wo.extend("--ft-background-error-subtle","Used as background of subtle error components.",Co.colorRed10),backgroundInfoSubtle:wo.extend("--ft-background-info-subtle","Used as background of subtle information components.",Co.colorCyan10),backgroundWarningSubtle:wo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Co.colorOrange10),backgroundSuccessSubtle:wo.extend("--ft-background-success-subtle","Used as background of subtle success components.",Co.colorGreen10),backgroundGlobalSurface:wo.extend("--ft-background-global-surface","Used as app background.",Co.colorWhite),backgroundGlobalOnSurface:wo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Co.colorGray10),backgroundGlobalOnSurfaceDark:wo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Co.colorGray30),contentActionPrimary:wo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Co.colorBrand0),contentWarningPrimary:wo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Co.colorOrange200),contentWarningIconOnly:wo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Co.colorOrange0),contentErrorPrimary:wo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Co.colorRed0),contentErrorIconOnly:wo.extend("--ft-content-error-icon-only","Used on error status icons alone",Co.colorRed70),contentInfoPrimary:wo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Co.colorCyan200),contentInfoIconOnly:wo.extend("--ft-content-info-icon-only","Used on info status icons alone",Co.colorCyan0),contentSuccessPrimary:wo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Co.colorGreen200),contentSuccessIconOnly:wo.extend("--ft-content-success-icon-only","Used on success status icons alone",Co.colorGreen0),contentGlobalPrimary:wo.extend("--ft-content-global-primary","Used for main content on the page.",Co.colorGray500),contentGlobalSecondary:wo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Co.colorGray200),contentGlobalSubtle:wo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Co.colorGray0),contentGlobalOnColor:wo.extend("--ft-content-global-on-color","Used for content on a dominant color.",Co.colorWhite),borderActionPrimary:wo.extend("--ft-border-action-primary","Used as border for primary action components.",Co.colorBrand0),borderActionFocusRing:wo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Co.colorCyan0),borderWarningPrimary:wo.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",Co.colorOrange200),borderWarningSubtle:wo.extend("--ft-border-warning-subtle","Used as border for warning components.",Co.colorOrange30),borderSuccessPrimary:wo.extend("--ft-border-success-primary","Used as border for success buttons.",Co.colorGreen200),borderSuccessSubtle:wo.extend("--ft-border-success-subtle","Used as border for success components.",Co.colorGreen30),borderErrorPrimary:wo.extend("--ft-border-error-primary","Used as border for text fields in error states.",Co.colorRed0),borderErrorSubtle:wo.extend("--ft-border-error-subtle","Used as border for error components.",Co.colorRed30),borderInfoPrimary:wo.extend("--ft-border-info-primary","Used as border for buttons in info color.",Co.colorCyan200),borderInfoSubtle:wo.extend("--ft-border-info-subtle","Used as border for information components.",Co.colorCyan30),borderGlobalPrimary:wo.extend("--ft-border-global-primary","Used as border for element like input.",Co.colorGray50),borderGlobalSubtle:wo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Co.colorGray30),borderInputPrimary:wo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Co.colorGray80)},Xo={largeHeight:wo.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:wo.extend("--ft-button-large-horizontal-padding","",Co.spacing4),largeGap:wo.extend("--ft-button-large-gap","",Co.spacing2),largeBorderRadius:wo.extend("--ft-button-large-border-radius","",Co.borderRadiusS),largeIconSize:wo.extend("--ft-button-large-icon-size","",Co.iconSize3),largeBorderWidth:wo.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:wo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:wo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:wo.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:wo.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:wo.extend("--ft-button-small-horizontal-padding","",Co.spacing3),smallGap:wo.extend("--ft-button-small-gap","",Co.spacing2),smallBorderRadius:wo.extend("--ft-button-small-border-radius","",Co.borderRadiusS),smallIconSize:wo.extend("--ft-button-small-icon-size","",Co.iconSize2),smallBorderWidth:wo.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:wo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:wo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:wo.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:wo.extend("--ft-button-primary-background-color","",Qo.backgroundActionPrimary),primaryColor:wo.extend("--ft-button-primary-color","",Qo.contentGlobalOnColor),primaryIconColor:wo.extend("--ft-button-primary-icon-color","",Qo.contentGlobalOnColor),primaryStateLayerColor:wo.extend("--ft-button-primary-state-layer-color","",Qo.contentGlobalOnColor),primaryHoverStateLayerOpacity:wo.extend("--ft-button-primary-hover-state-layer-opacity","",Co.opacity16),primaryFocusStateLayerOpacity:wo.extend("--ft-button-primary-focus-state-layer-opacity","",Co.opacity16),primaryActiveStateLayerOpacity:wo.extend("--ft-button-primary-active-state-layer-opacity","",Co.opacity24),primaryDisabledComponentOpacity:wo.extend("--ft-button-primary-disabled-component-opacity","",Co.opacity40),focusFocusRingColor:wo.extend("--ft-button-focus-focus-ring-color","",Qo.borderActionFocusRing),tertiaryBackgroundColor:wo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:wo.extend("--ft-button-tertiary-color","",Qo.contentActionPrimary),tertiaryIconColor:wo.extend("--ft-button-tertiary-icon-color","",Qo.contentActionPrimary),tertiaryStateLayerColor:wo.extend("--ft-button-tertiary-state-layer-color","",Qo.contentActionPrimary),tertiaryHoverStateLayerOpacity:wo.extend("--ft-button-tertiary-hover-state-layer-opacity","",Co.opacity8),tertiaryFocusStateLayerOpacity:wo.extend("--ft-button-tertiary-focus-state-layer-opacity","",Co.opacity8),tertiaryActiveStateLayerOpacity:wo.extend("--ft-button-tertiary-active-state-layer-opacity","",Co.opacity16),tertiaryDisabledComponentOpacity:wo.extend("--ft-button-tertiary-disabled-component-opacity","",Co.opacity40),secondaryBackgroundColor:wo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:wo.extend("--ft-button-secondary-color","",Qo.contentActionPrimary),secondaryIconColor:wo.extend("--ft-button-secondary-icon-color","",Qo.contentActionPrimary),secondaryStateLayerColor:wo.extend("--ft-button-secondary-state-layer-color","",Qo.contentActionPrimary),secondaryHoverStateLayerOpacity:wo.extend("--ft-button-secondary-hover-state-layer-opacity","",Co.opacity8),secondaryFocusStateLayerOpacity:wo.extend("--ft-button-secondary-focus-state-layer-opacity","",Co.opacity8),secondaryActiveStateLayerOpacity:wo.extend("--ft-button-secondary-active-state-layer-opacity","",Co.opacity16),secondaryDisabledComponentOpacity:wo.extend("--ft-button-secondary-disabled-component-opacity","",Co.opacity40),secondaryBorderColor:wo.extend("--ft-button-secondary-border-color","",Qo.borderActionPrimary),neutralBackgroundColor:wo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:wo.extend("--ft-button-neutral-icon-color","",Qo.contentGlobalSecondary),neutralColor:wo.extend("--ft-button-neutral-color","",Qo.contentGlobalSecondary),neutralStateLayerColor:wo.extend("--ft-button-neutral-state-layer-color","",Qo.contentGlobalSecondary),neutralHoverStateLayerOpacity:wo.extend("--ft-button-neutral-hover-state-layer-opacity","",Co.opacity8),neutralFocusStateLayerOpacity:wo.extend("--ft-button-neutral-focus-state-layer-opacity","",Co.opacity8),neutralActiveStateLayerOpacity:wo.extend("--ft-button-neutral-active-state-layer-opacity","",Co.opacity16),neutralDisabledComponentOpacity:wo.extend("--ft-button-neutral-disabled-component-opacity","",Co.opacity40)},ti={iconSize:wo.extend("--ft-banner-icon-size","",Co.iconSize5),borderWidth:wo.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:wo.extend("--ft-banner-horizontal-padding","",Co.spacing6),verticalPadding:wo.extend("--ft-banner-vertical-padding","",Co.spacing6),horizontalSideGap:wo.extend("--ft-banner-horizontal-side-gap","",Co.spacing6),horizontalMobileGap:wo.extend("--ft-banner-horizontal-mobile-gap","",Co.spacing4),verticalMobileGap:wo.extend("--ft-banner-vertical-mobile-gap","",Co.spacing6),horizontalMiddleGap:wo.extend("--ft-banner-horizontal-middle-gap","",Co.spacing20),infoBackgroundColor:wo.extend("--ft-banner-info-background-color","",Qo.backgroundInfoSubtle),infoColor:wo.extend("--ft-banner-info-color","",Qo.contentInfoPrimary),infoIconColor:wo.extend("--ft-banner-info-icon-color","",Qo.contentInfoIconOnly)},ei={horizontalGap:wo.extend("--ft-breadcrumb-horizontal-gap","",Co.spacing1),verticalGap:wo.extend("--ft-breadcrumb-vertical-gap","",Co.spacing2),currentElementColor:wo.extend("--ft-breadcrumb-current-element-color","",Qo.contentGlobalPrimary),iconColor:wo.extend("--ft-breadcrumb-icon-color","",Qo.contentGlobalSubtle)},oi={horizontalPadding:wo.extend("--ft-page-header-horizontal-padding","",Co.spacing12),horizontalGap:wo.extend("--ft-page-header-horizontal-gap","",Co.spacing4),verticalGap:wo.extend("--ft-page-header-vertical-gap","",Co.spacing2),classicVerticalPadding:wo.extend("--ft-page-header-classic-vertical-padding","",Co.spacing6),multilineVerticalPadding:wo.extend("--ft-page-header-multiline-vertical-padding","",Co.spacing4),inlineVerticalPadding:wo.extend("--ft-page-header-inline-vertical-padding","",Co.spacing2),backgroundColor:wo.extend("--ft-page-header-background-color","",Co.colorWhite),bottomBorderColor:wo.extend("--ft-page-header-bottom-border-color","",Qo.borderGlobalSubtle),titleColor:wo.extend("--ft-page-header-title-color","",Qo.contentGlobalPrimary),subtitleColor:wo.extend("--ft-page-header-subtitle-color","",Qo.contentGlobalSecondary)},ii={smallContainerWidth:wo.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:wo.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:wo.extend("--ft-modal-overlay-background-color","",Co.colorGray700),overlayOpacity:wo.extend("--ft-modal-overlay-opacity","",Co.opacity40),shadow:wo.extend("--ft-modal-shadow","",Co.shadowElevation03),bodyBackgroundColor:wo.extend("--ft-modal-body-background-color","",Co.colorWhite),bodyColor:wo.extend("--ft-modal-body-color","",Qo.contentGlobalPrimary),bodyHorizontalPadding:wo.extend("--ft-modal-body-horizontal-padding","",Co.spacing6),bodyVerticalPadding:wo.extend("--ft-modal-body-vertical-padding","",Co.spacing6),bodyVerticalGap:wo.extend("--ft-modal-body-vertical-gap","",Co.spacing6),containerMargin:wo.extend("--ft-modal-container-margin","",Co.spacing3),headerBackgroundColor:wo.extend("--ft-modal-header-background-color","",Qo.backgroundGlobalOnSurface),headerBorderColor:wo.extend("--ft-modal-header-border-color","",Qo.borderGlobalSubtle),headerColor:wo.extend("--ft-modal-header-color","",Qo.contentGlobalPrimary),headerTrailingIconColor:wo.extend("--ft-modal-header-trailing-icon-color","",Qo.contentGlobalSecondary),headerVerticalPadding:wo.extend("--ft-modal-header-vertical-padding","",Co.spacing1),headerRightPadding:wo.extend("--ft-modal-header-right-padding","",Co.spacing1),headerLeftPadding:wo.extend("--ft-modal-header-left-padding","",Co.spacing6),headerGap:wo.extend("--ft-modal-header-gap","",Co.spacing2),headerBorderBottom:wo.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:wo.extend("--ft-modal-border-radius","",Co.borderRadiusM)},ri={overlayOpacity:wo.extend("--ft-drawer-overlay-opacity","",Co.opacity40),shadow:wo.extend("--ft-drawer-shadow","",Co.shadowElevation03),bodyColor:wo.extend("--ft-drawer-body-color","",Qo.contentGlobalPrimary),bodyHorizontalPadding:wo.extend("--ft-drawer-body-horizontal-padding","",Co.spacing6),bodyVerticalPadding:wo.extend("--ft-drawer-body-vertical-padding","",Co.spacing6),bodyGap:wo.extend("--ft-drawer-body-gap","",Co.spacing6),bodyBackgroundColor:wo.extend("--ft-drawer-body-background-color","",Co.colorWhite),headerBackgroundColor:wo.extend("--ft-drawer-header-background-color","",Qo.backgroundGlobalOnSurface),headerBorderColor:wo.extend("--ft-drawer-header-border-color","",Qo.borderGlobalSubtle),headerColor:wo.extend("--ft-drawer-header-color","",Qo.contentGlobalPrimary),headerTrailingIconColor:wo.extend("--ft-drawer-header-trailing-icon-color","",Qo.contentGlobalSecondary),headerHeight:wo.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:wo.extend("--ft-drawer-header-horizontal-padding","",Co.spacing2),headerBorderWidth:wo.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:wo.extend("--ft-drawer-header-gap","",Co.spacing3),buttonsBarBackgroundColor:wo.extend("--ft-drawer-buttons-bar-background-color","",Qo.backgroundGlobalOnSurface),buttonsBarBorderColor:wo.extend("--ft-drawer-buttons-bar-border-color","",Qo.borderGlobalSubtle),buttonsBarColor:wo.extend("--ft-drawer-buttons-bar-color","",Qo.contentGlobalPrimary),buttonsBarHorizontalPadding:wo.extend("--ft-drawer-buttons-bar-horizontal-padding","",Co.spacing4),buttonsBarVerticalPadding:wo.extend("--ft-drawer-buttons-bar-vertical-padding","",Co.spacing4),buttonsBarGap:wo.extend("--ft-drawer-buttons-bar-gap","",Co.spacing3),buttonsBarBorderWidth:wo.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:wo.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:wo.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:wo.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:wo.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:wo.extend("--ft-drawer-overlay-background-color","",Co.colorGray700)},ni={fieldHorizontalPadding:wo.extend("--ft-text-input-field-horizontal-padding","",Co.spacing4),fieldHorizontalGap:wo.extend("--ft-text-input-field-horizontal-gap","",Co.spacing3),fieldVerticalGap:wo.extend("--ft-text-input-field-vertical-gap","",Co.spacing05),fieldIconSize:wo.extend("--ft-text-input-field-icon-size","",Co.iconSize3),fieldHeight:wo.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:wo.extend("--ft-text-input-helper-horizontal-padding","",Co.spacing4),helperHorizontalGap:wo.extend("--ft-text-input-helper-horizontal-gap","",Co.spacing1),helperIconSize:wo.extend("--ft-text-input-helper-icon-size","",Co.iconSize2),borderRadius:wo.extend("--ft-text-input-border-radius","",Co.borderRadiusM),backgroundColor:wo.extend("--ft-text-input-background-color","",Co.colorWhite),contentValueColor:wo.extend("--ft-text-input-content-value-color","",Qo.contentGlobalPrimary),trailingIconColor:wo.extend("--ft-text-input-trailing-icon-color","",Qo.contentGlobalSubtle),labelColor:wo.extend("--ft-text-input-label-color","",Qo.contentGlobalSubtle),defaultBorderColor:wo.extend("--ft-text-input-default-border-color","",Qo.borderInputPrimary),defaultHelperTextColor:wo.extend("--ft-text-input-default-helper-text-color","",Qo.contentGlobalSubtle),defaultBorderWidth:wo.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:wo.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:wo.extend("--ft-text-input-error-border-color","",Qo.borderErrorPrimary),errorHelperTextColor:wo.extend("--ft-text-input-error-helper-text-color","",Qo.contentErrorPrimary),errorHelperIconColor:wo.extend("--ft-text-input-error-helper-icon-color","",Qo.contentErrorIconOnly),warningBorderWidth:wo.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:wo.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:wo.extend("--ft-text-input-focus-focus-ring-color","",Qo.borderActionFocusRing),focusOutlineOffset:wo.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:wo.extend("--ft-text-input-disabled-component-opacity","",Co.opacity40)},ai={backgroundColor:wo.extend("--ft-text-area-background-color","",Co.colorWhite),contentValueColor:wo.extend("--ft-text-area-content-value-color","",Qo.contentGlobalPrimary),labelColor:wo.extend("--ft-text-area-label-color","",Qo.contentGlobalSubtle),defaultBorderColor:wo.extend("--ft-text-area-default-border-color","",Qo.borderInputPrimary),defaultHelperTextColor:wo.extend("--ft-text-area-default-helper-text-color","",Qo.contentGlobalSubtle),defaultBorderWidth:wo.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:wo.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:wo.extend("--ft-text-area-error-border-color","",Qo.borderErrorPrimary),errorHelperTextColor:wo.extend("--ft-text-area-error-helper-text-color","",Qo.contentErrorPrimary),errorHelperIconColor:wo.extend("--ft-text-area-error-helper-icon-color","",Qo.contentErrorIconOnly),focusFocusRingColor:wo.extend("--ft-text-area-focus-focus-ring-color","",Qo.borderActionFocusRing),focusOutlineWidth:wo.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:wo.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:wo.extend("--ft-text-area-disabled-component-opacity","",Co.opacity40),fieldHorizontalLeftPadding:wo.extend("--ft-text-area-field-horizontal-left-padding","",Co.spacing4),fieldHorizontalGap:wo.extend("--ft-text-area-field-horizontal-gap","",Co.spacing3),fieldVerticalGap:wo.extend("--ft-text-area-field-vertical-gap","",Co.spacing05),fieldMinHeight:wo.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:wo.extend("--ft-text-area-helper-horizontal-padding","",Co.spacing4),helperHorizontalGap:wo.extend("--ft-text-area-helper-horizontal-gap","",Co.spacing1),helperIconSize:wo.extend("--ft-text-area-helper-icon-size","",Co.iconSize2),borderRadius:wo.extend("--ft-text-area-border-radius","",Co.borderRadiusM)},si={height:wo.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:wo.extend("--ft-floating-menu-horizontal-padding","",Co.spacing4),offIconColor:wo.extend("--ft-floating-menu-off-icon-color","",Qo.contentGlobalPrimary),offColor:wo.extend("--ft-floating-menu-off-color","",Qo.contentGlobalPrimary),onColor:wo.extend("--ft-floating-menu-on-color","",Qo.contentActionPrimary),onStateLayerColor:wo.extend("--ft-floating-menu-on-state-layer-color","",Qo.contentActionPrimary),gap:wo.extend("--ft-floating-menu-gap","",Co.spacing3),focusFocusRingColor:wo.extend("--ft-floating-menu-focus-focus-ring-color","",Qo.borderActionFocusRing),focusOutlineWidth:wo.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:wo.extend("--ft-floating-menu-focus-state-layer-opacity","",Co.opacity8),hoverStateLayerOpacity:wo.extend("--ft-floating-menu-hover-state-layer-opacity","",Co.opacity8),activeStateLayerOpacity:wo.extend("--ft-floating-menu-active-state-layer-opacity","",Co.opacity16),disabledComponentOpacity:wo.extend("--ft-floating-menu-disabled-component-opacity","",Co.opacity40),iconSize:wo.extend("--ft-floating-menu-icon-size","",Co.iconSize3),backgroundColor:wo.extend("--ft-floating-menu-background-color","",Qo.backgroundGlobalOnSurface)},li={fieldHorizontalPadding:wo.extend("--ft-combobox-single-select-field-horizontal-padding","",Co.spacing4),fieldHorizontalGap:wo.extend("--ft-combobox-single-select-field-horizontal-gap","",Co.spacing3),fieldVerticalGap:wo.extend("--ft-combobox-single-select-field-vertical-gap","",Co.spacing05),fieldIconSize:wo.extend("--ft-combobox-single-select-field-icon-size","",Co.iconSize3),fieldHeight:wo.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:wo.extend("--ft-combobox-single-select-helper-horizontal-padding","",Co.spacing4),helperHorizontalGap:wo.extend("--ft-combobox-single-select-helper-horizontal-gap","",Co.spacing1),helperVerticalGap:wo.extend("--ft-combobox-single-select-helper-vertical-gap","",Co.spacing1),helperIconSize:wo.extend("--ft-combobox-single-select-helper-icon-size","",Co.iconSize2),menuVerticalGap:wo.extend("--ft-combobox-single-select-menu-vertical-gap","",Co.spacing2),borderRadius:wo.extend("--ft-combobox-single-select-border-radius","",Co.borderRadiusM),backgroundColor:wo.extend("--ft-combobox-single-select-background-color","",Co.colorWhite),labelColor:wo.extend("--ft-combobox-single-select-label-color","",Qo.contentGlobalSubtle),contentValueColor:wo.extend("--ft-combobox-single-select-content-value-color","",Qo.contentGlobalPrimary),trailingIconColor:wo.extend("--ft-combobox-single-select-trailing-icon-color","",Qo.contentGlobalSubtle),defaultBorderColor:wo.extend("--ft-combobox-single-select-default-border-color","",Qo.borderInputPrimary),defaultHelperTextColor:wo.extend("--ft-combobox-single-select-default-helper-text-color","",Qo.contentGlobalSubtle),defaultBorderWidth:wo.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:wo.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:wo.extend("--ft-combobox-single-select-error-border-color","",Qo.borderErrorPrimary),errorHelperTextColor:wo.extend("--ft-combobox-single-select-error-helper-text-color","",Qo.contentErrorPrimary),warningBorderWidth:wo.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:wo.extend("--ft-combobox-single-select-warning-border-color","",Qo.borderWarningPrimary),warningHelperTextColor:wo.extend("--ft-combobox-single-select-warning-helper-text-color","",Qo.contentWarningPrimary),warningHelperIconColor:wo.extend("--ft-combobox-single-select-warning-helper-icon-color","",Qo.contentWarningIconOnly),focusOutlineWidth:wo.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:wo.extend("--ft-combobox-single-select-focus-focus-ring-color","",Qo.borderActionFocusRing),focusOutlineOffset:wo.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:wo.extend("--ft-combobox-single-select-disabled-component-opacity","",Co.opacity40)},ci={backgroundColor:wo.extend("--ft-combobox-multi-select-background-color","",Co.colorWhite),labelColor:wo.extend("--ft-combobox-multi-select-label-color","",Qo.contentGlobalSubtle),trailingIconColor:wo.extend("--ft-combobox-multi-select-trailing-icon-color","",Qo.contentGlobalSubtle),defaultBorderColor:wo.extend("--ft-combobox-multi-select-default-border-color","",Qo.borderInputPrimary),defaultHelperTextColor:wo.extend("--ft-combobox-multi-select-default-helper-text-color","",Qo.contentGlobalSubtle),defaultBorderWidth:wo.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:wo.extend("--ft-combobox-multi-select-error-border-color","",Qo.borderErrorPrimary),errorHelperTextColor:wo.extend("--ft-combobox-multi-select-error-helper-text-color","",Qo.contentErrorPrimary),errorHelperIcon:wo.extend("--ft-combobox-multi-select-error-helper-icon","",Qo.contentErrorIconOnly),errorBorderWidth:wo.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:wo.extend("--ft-combobox-multi-select-warning-border-color","",Qo.borderWarningPrimary),warningHelperTextColor:wo.extend("--ft-combobox-multi-select-warning-helper-text-color","",Qo.contentWarningPrimary),warningHelperIconColor:wo.extend("--ft-combobox-multi-select-warning-helper-icon-color","",Qo.contentWarningIconOnly),warningBorderWidth:wo.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:wo.extend("--ft-combobox-multi-select-focus-focus-ring-color","",Qo.borderActionFocusRing),focusOutlineWidth:wo.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:wo.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:wo.extend("--ft-combobox-multi-select-disabled-component-opacity","",Co.opacity40),helperHorizontalPadding:wo.extend("--ft-combobox-multi-select-helper-horizontal-padding","",Co.spacing4),helperHorizontalGap:wo.extend("--ft-combobox-multi-select-helper-horizontal-gap","",Co.spacing1),helperVerticalGap:wo.extend("--ft-combobox-multi-select-helper-vertical-gap","",Co.spacing1),helperIconSize:wo.extend("--ft-combobox-multi-select-helper-icon-size","",Co.iconSize2),fieldHorizontalPadding:wo.extend("--ft-combobox-multi-select-field-horizontal-padding","",Co.spacing4),fieldHorizontalGap:wo.extend("--ft-combobox-multi-select-field-horizontal-gap","",Co.spacing3),fieldVerticalGap:wo.extend("--ft-combobox-multi-select-field-vertical-gap","",Co.spacing05),fieldIconSize:wo.extend("--ft-combobox-multi-select-field-icon-size","",Co.iconSize3),fieldMaxHeight:wo.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:wo.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",Co.spacing1),contentValuesVerticalGap:wo.extend("--ft-combobox-multi-select-content-values-vertical-gap","",Co.spacing1),borderRadius:wo.extend("--ft-combobox-multi-select-border-radius","",Co.borderRadiusM)},hi={backgroundColor:wo.extend("--ft-popover-background-color","",Qo.backgroundGlobalOnSurface),horizontalPadding:wo.extend("--ft-popover-horizontal-padding","",Co.spacing6),verticalPadding:wo.extend("--ft-popover-vertical-padding","",Co.spacing6),iconColor:wo.extend("--ft-popover-icon-color","",Qo.contentGlobalSecondary),iconSize:wo.extend("--ft-popover-icon-size","",Co.iconSize2),titleColor:wo.extend("--ft-popover-title-color","",Qo.contentGlobalPrimary),bodyColor:wo.extend("--ft-popover-body-color","",Qo.contentGlobalSecondary),linkColor:wo.extend("--ft-popover-link-color","",Qo.contentActionPrimary),gap:wo.extend("--ft-popover-gap","",Co.spacing3),borderRadius:wo.extend("--ft-popover-border-radius","",Co.borderRadiusM),shadow:wo.extend("--ft-popover-shadow","",Co.shadowElevation02)},fi={topLeftBorderRadius:wo.extend("--ft-tabs-top-left-border-radius","",Co.borderRadiusS),topRightBorderRadius:wo.extend("--ft-tabs-top-right-border-radius","",Co.borderRadiusS),labelHorizontalPadding:wo.extend("--ft-tabs-label-horizontal-padding","",Co.spacing4),labelVerticalPadding:wo.extend("--ft-tabs-label-vertical-padding","",Co.spacing3),labelGap:wo.extend("--ft-tabs-label-gap","",Co.spacing1),offHoverStateLayerOpacity:wo.extend("--ft-tabs-off-hover-state-layer-opacity","",Co.opacity8),offFocusStateLayerOpacity:wo.extend("--ft-tabs-off-focus-state-layer-opacity","",Co.opacity8),offActiveStateLayerOpacity:wo.extend("--ft-tabs-off-active-state-layer-opacity","",Co.opacity16),offDisabledComponentOpacity:wo.extend("--ft-tabs-off-disabled-component-opacity","",Co.opacity40),offColor:wo.extend("--ft-tabs-off-color","",Qo.contentGlobalSubtle),offStateLayerColor:wo.extend("--ft-tabs-off-state-layer-color","",Qo.contentGlobalSubtle),onHoverStateLayerOpacity:wo.extend("--ft-tabs-on-hover-state-layer-opacity","",Co.opacity8),onFocusStateLayerOpacity:wo.extend("--ft-tabs-on-focus-state-layer-opacity","",Co.opacity8),onActiveStateLayerOpacity:wo.extend("--ft-tabs-on-active-state-layer-opacity","",Co.opacity16),onDisabledComponentOpacity:wo.extend("--ft-tabs-on-disabled-component-opacity","",Co.opacity40),onColor:wo.extend("--ft-tabs-on-color","",Qo.contentActionPrimary),onStateLayerColor:wo.extend("--ft-tabs-on-state-layer-color","",Qo.contentActionPrimary),iconHorizontalPadding:wo.extend("--ft-tabs-icon-horizontal-padding","",Co.spacing1),iconVerticalPadding:wo.extend("--ft-tabs-icon-vertical-padding","",Co.spacing4),focusOutlineWidth:wo.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:wo.extend("--ft-tabs-focus-focus-ring-color","",Qo.borderActionFocusRing)},di={hoverStateLayerOpacity:wo.extend("--ft-collapsible-hover-state-layer-opacity","",Co.opacity8),focusStateLayerOpacity:wo.extend("--ft-collapsible-focus-state-layer-opacity","",Co.opacity8),focusOutlineWidth:wo.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:wo.extend("--ft-collapsible-focus-focus-ring-color","",Qo.borderActionFocusRing),activeStateLayerOpacity:wo.extend("--ft-collapsible-active-state-layer-opacity","",Co.opacity16),disabledComponentOpacity:wo.extend("--ft-collapsible-disabled-component-opacity","",Co.opacity40),horizontalPadding:wo.extend("--ft-collapsible-horizontal-padding","",Co.spacing4),verticalPadding:wo.extend("--ft-collapsible-vertical-padding","",Co.spacing3),color:wo.extend("--ft-collapsible-color","",Qo.contentGlobalPrimary),stateLayerColor:wo.extend("--ft-collapsible-state-layer-color","",Qo.contentGlobalPrimary),backgroundColor:wo.extend("--ft-collapsible-background-color","",Qo.backgroundGlobalOnSurface),borderColor:wo.extend("--ft-collapsible-border-color","",Qo.borderGlobalSubtle),iconSize:wo.extend("--ft-collapsible-icon-size","",Co.iconSize3)},pi={groupHorizontalPadding:wo.extend("--ft-switch-group-horizontal-padding","",Co.spacing1),groupVerticalPadding:wo.extend("--ft-switch-group-vertical-padding","",Co.spacing1),groupGap:wo.extend("--ft-switch-group-gap","",Co.spacing1),groupBackgroundColor:wo.extend("--ft-switch-group-background-color","",Qo.backgroundGlobalSurface),groupBorderColor:wo.extend("--ft-switch-group-border-color","",Qo.borderGlobalSubtle),groupBorderRadius:wo.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:wo.extend("--ft-switch-label-horizontal-padding","",Co.spacing2),labelVerticalPadding:wo.extend("--ft-switch-label-vertical-padding","",Co.spacing1),offHoverStateLayerOpacity:wo.extend("--ft-switch-off-hover-state-layer-opacity","",Co.opacity8),offFocusStateLayerOpacity:wo.extend("--ft-switch-off-focus-state-layer-opacity","",Co.opacity8),offActiveStateLayerOpacity:wo.extend("--ft-switch-off-active-state-layer-opacity","",Co.opacity16),offDisabledComponentOpacity:wo.extend("--ft-switch-off-disabled-component-opacity","",Co.opacity40),offColor:wo.extend("--ft-switch-off-color","",Qo.contentGlobalSubtle),offStateLayerColor:wo.extend("--ft-switch-off-state-layer-color","",Qo.contentGlobalSubtle),onHoverStateLayerOpacity:wo.extend("--ft-switch-on-hover-state-layer-opacity","",Co.opacity8),onFocusStateLayerOpacity:wo.extend("--ft-switch-on-focus-state-layer-opacity","",Co.opacity8),onActiveStateLayerOpacity:wo.extend("--ft-switch-on-active-state-layer-opacity","",Co.opacity16),onDisabledComponentOpacity:wo.extend("--ft-switch-on-disabled-component-opacity","",Co.opacity40),onColor:wo.extend("--ft-switch-on-color","",Qo.contentActionPrimary),onStateLayerColor:wo.extend("--ft-switch-on-state-layer-color","",Qo.contentActionPrimary),iconHorizontalPadding:wo.extend("--ft-switch-icon-horizontal-padding","",Co.spacing1),iconVerticalPadding:wo.extend("--ft-switch-icon-vertical-padding","",Co.spacing1),focusOutlineWidth:wo.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:wo.extend("--ft-switch-focus-focus-ring-color","",Qo.borderActionFocusRing),optionBorderRadius:wo.extend("--ft-switch-option-border-radius","",Co.borderRadiusS)},ui={color1Light:wo.extend("--ft-chart-1-light","for area color charts",Co.colorBrand40),color1Base:wo.extend("--ft-chart-1-base","for line charts",Co.colorBrand0),color2Light:wo.extend("--ft-chart-2-light","for area color charts",Co.colorYellow60),color2Base:wo.extend("--ft-chart-2-base","for line charts",Co.colorYellow100),color3Light:wo.extend("--ft-chart-3-light","",Co.colorUltramarine40),color3Base:wo.extend("--ft-chart-3-base","",Co.colorUltramarine70),color4Light:wo.extend("--ft-chart-4-light","",Co.colorCyan50),color4Base:wo.extend("--ft-chart-4-base","",Co.colorCyan100),color5Light:wo.extend("--ft-chart-5-light","",Co.colorRed40),color5Base:wo.extend("--ft-chart-5-base","",Co.colorRed60),color6Light:wo.extend("--ft-chart-6-light","",Co.colorGreen40),color6Base:wo.extend("--ft-chart-6-base","",Co.colorGreen70),color7Light:wo.extend("--ft-chart-7-light","",Co.colorOrange70),color7Base:wo.extend("--ft-chart-7-base","",Co.colorOrange100),color8Light:wo.extend("--ft-chart-8-light","",Co.colorAvocado70),color8Base:wo.extend("--ft-chart-8-base","",Co.colorAvocado200),color9Light:wo.extend("--ft-chart-9-light","",Co.colorBrown50),color9Base:wo.extend("--ft-chart-9-base","",Co.colorBrown200),color10Light:wo.extend("--ft-chart-10-light","",Co.colorGray50),color10Base:wo.extend("--ft-chart-10-base","",Co.colorGray80),monochrome10:wo.extend("--ft-chart-monochrome-10","",Co.colorBrand10),monochrome20:wo.extend("--ft-chart-monochrome-20","",Co.colorBrand20),monochrome30:wo.extend("--ft-chart-monochrome-30","",Co.colorBrand40),monochrome40:wo.extend("--ft-chart-monochrome-40","",Co.colorBrand60),monochrome50:wo.extend("--ft-chart-monochrome-50","",Co.colorBrand0),monochrome60:wo.extend("--ft-chart-monochrome-60","",Co.colorBrand200)},gi={largeHorizontalPadding:wo.extend("--ft-chip-large-horizontal-padding","",Co.spacing4),largeVerticalPadding:wo.extend("--ft-chip-large-vertical-padding","",Co.spacing2),largeGap:wo.extend("--ft-chip-large-gap","",Co.spacing1),largeFocusOutlineOffset:wo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:wo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:wo.extend("--ft-chip-large-border-radius","",Co.borderRadiusPill),largeBorderWidth:wo.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:wo.extend("--ft-chip-large-icon-size","",Co.iconSize3),mediumHorizontalPadding:wo.extend("--ft-chip-medium-horizontal-padding","",Co.spacing3),mediumVerticalPadding:wo.extend("--ft-chip-medium-vertical-padding","",Co.spacing1),mediumGap:wo.extend("--ft-chip-medium-gap","",Co.spacing1),mediumFocusOutlineOffset:wo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:wo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:wo.extend("--ft-chip-medium-border-radius","",Co.borderRadiusPill),mediumBorderWidth:wo.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:wo.extend("--ft-chip-medium-icon-size","",Co.iconSize2),smallHorizontalPadding:wo.extend("--ft-chip-small-horizontal-padding","",Co.spacing2),smallVerticalPadding:wo.extend("--ft-chip-small-vertical-padding","",Co.spacing05),smallGap:wo.extend("--ft-chip-small-gap","",Co.spacing1),smallFocusOutlineOffset:wo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:wo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:wo.extend("--ft-chip-small-border-radius","",Co.borderRadiusPill),smallBorderWidth:wo.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:wo.extend("--ft-chip-small-icon-size","",Co.iconSize1),neutralBackgroundColor:wo.extend("--ft-chip-neutral-background-color","",Qo.backgroundGlobalOnSurface),neutralColor:wo.extend("--ft-chip-neutral-color","",Qo.contentGlobalPrimary),neutralIconColor:wo.extend("--ft-chip-neutral-icon-color","",Qo.contentGlobalPrimary),neutralBorderColor:wo.extend("--ft-chip-neutral-border-color","",Qo.borderGlobalSubtle),infoBackgroundColor:wo.extend("--ft-chip-info-background-color","",Qo.backgroundInfoSubtle),infoColor:wo.extend("--ft-chip-info-color","",Qo.contentInfoPrimary),infoIconColor:wo.extend("--ft-chip-info-icon-color","",Qo.contentInfoIconOnly),infoBorderColor:wo.extend("--ft-chip-info-border-color","",Qo.borderInfoSubtle),successBackgroundColor:wo.extend("--ft-chip-success-background-color","",Qo.backgroundSuccessSubtle),successColor:wo.extend("--ft-chip-success-color","",Qo.contentSuccessPrimary),successIconColor:wo.extend("--ft-chip-success-icon-color","",Qo.contentSuccessIconOnly),successBorderColor:wo.extend("--ft-chip-success-border-color","",Qo.borderSuccessSubtle),warningBackgroundColor:wo.extend("--ft-chip-warning-background-color","",Qo.backgroundWarningSubtle),warningColor:wo.extend("--ft-chip-warning-color","",Qo.contentWarningPrimary),warningIconColor:wo.extend("--ft-chip-warning-icon-color","",Qo.contentWarningIconOnly),warningBorderColor:wo.extend("--ft-chip-warning-border-color","",Qo.borderWarningSubtle),errorBackgroundColor:wo.extend("--ft-chip-error-background-color","",Qo.backgroundErrorSubtle),errorColor:wo.extend("--ft-chip-error-color","",Qo.contentErrorPrimary),errorIconColor:wo.extend("--ft-chip-error-icon-color","",Qo.contentErrorIconOnly),errorBorderColor:wo.extend("--ft-chip-error-border-color","",Qo.borderErrorSubtle)},yi={infoBorderColor:wo.extend("--ft-border-info-border-color","",Qo.borderInfoSubtle)},bi={borderWidth:wo.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:wo.extend("--ft-notice-horizontal-padding","",Co.spacing2),verticalPadding:wo.extend("--ft-notice-vertical-padding","",Co.spacing1),borderRadius:wo.extend("--ft-notice-border-radius","",Co.borderRadiusS),gap:wo.extend("--ft-notice-gap","",Co.spacing2),iconSize:wo.extend("--ft-notice-icon-size","",Co.iconSize3),infoBackgroundColor:wo.extend("--ft-notice-info-background-color","",Qo.backgroundInfoSubtle),infoBorderColor:wo.extend("--ft-notice-info-border-color","",Qo.borderInfoSubtle),infoColor:wo.extend("--ft-notice-info-color","",Qo.contentInfoPrimary),infoIconColor:wo.extend("--ft-notice-info-icon-color","",Qo.contentInfoIconOnly),warningBackgroundColor:wo.extend("--ft-notice-warning-background-color","",Qo.backgroundWarningSubtle),warningBorderColor:wo.extend("--ft-notice-warning-border-color","",Qo.borderWarningSubtle),warningColor:wo.extend("--ft-notice-warning-color","",Qo.contentWarningPrimary),warningIconColor:wo.extend("--ft-notice-warning-icon-color","",Qo.contentWarningIconOnly),errorBackgroundColor:wo.extend("--ft-notice-error-background-color","",Qo.backgroundErrorSubtle),errorBorderColor:wo.extend("--ft-notice-error-border-color","",Qo.borderErrorSubtle),errorColor:wo.extend("--ft-notice-error-color","",Qo.contentErrorPrimary),errorIconColor:wo.extend("--ft-notice-error-icon-color","",Qo.contentErrorIconOnly),successBackgroundColor:wo.extend("--ft-notice-success-background-color","",Qo.backgroundSuccessSubtle),successBorderColor:wo.extend("--ft-notice-success-border-color","",Qo.borderSuccessSubtle),successColor:wo.extend("--ft-notice-success-color","",Qo.contentSuccessPrimary),successIconColor:wo.extend("--ft-notice-success-icon-color","",Qo.contentSuccessIconOnly)},mi={color:wo.extend("--ft-checkbox-color","",Qo.contentGlobalPrimary),checkedBackgroundColor:wo.extend("--ft-checkbox-checked-background-color","",Qo.contentActionPrimary),checkedStateLayerColor:wo.extend("--ft-checkbox-checked-state-layer-color","",Qo.contentActionPrimary),checkedIconColor:wo.extend("--ft-checkbox-checked-icon-color","",Qo.contentGlobalOnColor),checkedHoverStateLayerOpacity:wo.extend("--ft-checkbox-checked-hover-state-layer-opacity","",Co.opacity16),checkedFocusStateLayerOpacity:wo.extend("--ft-checkbox-checked-focus-state-layer-opacity","",Co.opacity16),checkedActiveStateLayerOpacity:wo.extend("--ft-checkbox-checked-active-state-layer-opacity","",Co.opacity24),checkedDisabledComponentOpacity:wo.extend("--ft-checkbox-checked-disabled-component-opacity","",Co.opacity40),uncheckedBorderColor:wo.extend("--ft-checkbox-unchecked-border-color","",Co.colorGray80),uncheckedStateLayerColor:wo.extend("--ft-checkbox-unchecked-state-layer-color","",Co.colorGray80),uncheckedHoverStateLayerOpacity:wo.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",Co.opacity16),uncheckedFocusStateLayerOpacity:wo.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",Co.opacity16),uncheckedActiveStateLayerOpacity:wo.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",Co.opacity24),uncheckedDisabledComponentOpacity:wo.extend("--ft-checkbox-unchecked-disabled-component-opacity","",Co.opacity40),focusFocusRingColor:wo.extend("--ft-checkbox-focus-focus-ring-color","",Qo.borderActionFocusRing),focusOutlineOffset:wo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:wo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:wo.extend("--ft-checkbox-gap","",Co.spacing3)},vi={offHoverStateLayerOpacity:wo.extend("--ft-toggle-off-hover-state-layer-opacity","",Co.opacity16),offFocusStateLayerOpacity:wo.extend("--ft-toggle-off-focus-state-layer-opacity","",Co.opacity16),offActiveStateLayerOpacity:wo.extend("--ft-toggle-off-active-state-layer-opacity","",Co.opacity24),offDisabledComponentOpacity:wo.extend("--ft-toggle-off-disabled-component-opacity","",Co.opacity40),offBackgroundColor:wo.extend("--ft-toggle-off-background-color","",Qo.contentGlobalSubtle),offIconColor:wo.extend("--ft-toggle-off-icon-color","",Qo.contentGlobalSubtle),offStateLayerColor:wo.extend("--ft-toggle-off-state-layer-color","",Qo.contentGlobalSubtle),onHoverStateLayerOpacity:wo.extend("--ft-toggle-on-hover-state-layer-opacity","",Co.opacity16),onFocusStateLayerOpacity:wo.extend("--ft-toggle-on-focus-state-layer-opacity","",Co.opacity16),onActiveStateLayerOpacity:wo.extend("--ft-toggle-on-active-state-layer-opacity","",Co.opacity24),onDisabledComponentOpacity:wo.extend("--ft-toggle-on-disabled-component-opacity","",Co.opacity40),onBackgroundColor:wo.extend("--ft-toggle-on-background-color","",Qo.contentActionPrimary),onStateLayerColor:wo.extend("--ft-toggle-on-state-layer-color","",Qo.contentActionPrimary),onIconColor:wo.extend("--ft-toggle-on-icon-color","",Qo.contentActionPrimary),color:wo.extend("--ft-toggle-color","",Qo.contentGlobalPrimary),focusFocusRingColor:wo.extend("--ft-toggle-focus-focus-ring-color","",Qo.borderActionFocusRing),gap:wo.extend("--ft-toggle-gap","",Co.spacing3)},xi={color:wo.extend("--ft-radio-color","",Qo.contentGlobalPrimary),selectedRadioColor:wo.extend("--ft-radio-selected-radio-color","",Qo.contentActionPrimary),selectedStateLayerColor:wo.extend("--ft-radio-selected-state-layer-color","",Qo.contentActionPrimary),selectedHoverStateLayerOpacity:wo.extend("--ft-radio-selected-hover-state-layer-opacity","",Co.opacity16),selectedFocusStateLayerOpacity:wo.extend("--ft-radio-selected-focus-state-layer-opacity","",Co.opacity16),selectedActiveStateLayerOpacity:wo.extend("--ft-radio-selected-active-state-layer-opacity","",Co.opacity24),selectedDisabledComponentOpacity:wo.extend("--ft-radio-selected-disabled-component-opacity","",Co.opacity40),unselectedStateLayerColor:wo.extend("--ft-radio-unselected-state-layer-color","",Qo.borderInputPrimary),unselectedBorderColor:wo.extend("--ft-radio-unselected-border-color","",Qo.borderInputPrimary),unselectedHoverStateLayerOpacity:wo.extend("--ft-radio-unselected-hover-state-layer-opacity","",Co.opacity16),unselectedFocusStateLayerOpacity:wo.extend("--ft-radio-unselected-focus-state-layer-opacity","",Co.opacity16),unselectedActiveStateLayerOpacity:wo.extend("--ft-radio-unselected-active-state-layer-opacity","",Co.opacity24),unselectedDisabledComponentOpacity:wo.extend("--ft-radio-unselected-disabled-component-opacity","",Co.opacity40),focusFocusRingColor:wo.extend("--ft-radio-focus-focus-ring-color","",Qo.borderActionFocusRing),focusOutlineOffset:wo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:wo.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:wo.extend("--ft-radio-gap","",Co.spacing3)},Oi={iconSize:wo.extend("--ft-notification-icon-size","",Co.iconSize4),horizontalPadding:wo.extend("--ft-notification-horizontal-padding","",Co.spacing4),verticalPadding:wo.extend("--ft-notification-vertical-padding","",Co.spacing4),infoBackgroundColor:wo.extend("--ft-notification-info-background-color","",Qo.backgroundInfoSubtle),infoColor:wo.extend("--ft-notification-info-color","",Qo.contentInfoPrimary),infoIconColor:wo.extend("--ft-notification-info-icon-color","",Qo.contentInfoIconOnly),infoBorderColor:wo.extend("--ft-notification-info-border-color","",Qo.borderInfoSubtle),successBackgroundColor:wo.extend("--ft-notification-success-background-color","",Qo.backgroundSuccessSubtle),successColor:wo.extend("--ft-notification-success-color","",Qo.contentSuccessPrimary),successIconColor:wo.extend("--ft-notification-success-icon-color","",Qo.contentSuccessIconOnly),successBorderColor:wo.extend("--ft-notification-success-border-color","",Qo.borderSuccessSubtle),warningBackgroundColor:wo.extend("--ft-notification-warning-background-color","",Qo.backgroundWarningSubtle),warningColor:wo.extend("--ft-notification-warning-color","",Qo.contentWarningPrimary),warningIconColor:wo.extend("--ft-notification-warning-icon-color","",Qo.contentWarningIconOnly),warningBorderColor:wo.extend("--ft-notification-warning-border-color","",Qo.borderWarningSubtle),errorBackgroundColor:wo.extend("--ft-notification-error-background-color","",Qo.backgroundErrorSubtle),errorColor:wo.extend("--ft-notification-error-color","",Qo.contentErrorPrimary),errorIconColor:wo.extend("--ft-notification-error-icon-color","",Qo.contentErrorIconOnly),errorBorderColor:wo.extend("--ft-notification-error-border-color","",Qo.borderErrorSubtle),borderRadius:wo.extend("--ft-notification-border-radius","",Co.borderRadiusPill),borderWidth:wo.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:wo.extend("--ft-notification-leading-gap","",Co.spacing2),trailingGap:wo.extend("--ft-notification-trailing-gap","",Co.spacing8)},wi={horizontalPadding:wo.extend("--ft-tooltip-horizontal-padding","",Co.spacing2),verticalPadding:wo.extend("--ft-tooltip-vertical-padding","",Co.spacing2),borderRadius:wo.extend("--ft-tooltip-border-radius","",Co.borderRadiusS),color:wo.extend("--ft-tooltip-color","",Qo.contentGlobalOnColor),backgroundColor:wo.extend("--ft-tooltip-background-color","",Qo.contentGlobalPrimary),backgroundOpacity:wo.extend("--ft-tooltip-background-opacity","",Co.opacity80),shadow:wo.extend("--ft-tooltip-shadow","",Co.shadowElevation03),maxWidth:wo.create("--ft-tooltip-max-width","","SIZE","256px"),gap:wo.extend("--ft-tooltip-gap","",Co.spacing05)};var Si=Object.freeze({__proto__:null,FtCssVariableFactory:wo,banner:ti,border:yi,breadcrumb:ei,button:Xo,chart:ui,checkbox:mi,chip:gi,collapsible:di,comboboxMultiSelect:ci,comboboxSingleSelect:li,drawer:ri,floatingMenu:si,foundation:Co,modal:ii,notice:bi,notification:Oi,pageHeader:oi,popover:hi,radio:xi,semantic:Qo,setVariable:So,switch_:pi,tabs:fi,textArea:ai,textInput:ni,toggle:vi,tooltip:wi,typographies:Jo,typographyBody1Medium:Io,typographyBody1Regular:Ro,typographyBody1Semibold:Lo,typographyBody2Medium:Ao,typographyBody2MediumUnderline:Wo,typographyBody2Regular:Uo,typographyBody2Semibold:zo,typographyCaption1Bold:Ko,typographyCaption1Medium:To,typographyCaption1Semibold:Mo,typographyCaption2Bold:Go,typographyCaption2Medium:Ho,typographyCaption2Semibold:Zo,typographyCaption3Bold:Yo,typographyCaption3Medium:Vo,typographyCaption3Semibold:qo,typographyDisplay:No,typographyLabel1Bold:_o,typographyLabel1Medium:Bo,typographyLabel1Semibold:Fo,typographyLabel2Bold:Do,typographyLabel2Medium:Po,typographyLabel2Semibold:jo,typographyTitle1:$o,typographyTitle2:Eo,typographyTitle3:ko,typographyVariants:["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"]});const Ci={colorPrimary:wo.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:wo.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:wo.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:wo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:wo.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:wo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:wo.create("--ft-color-error","","COLOR","#B00020"),colorOutline:wo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:wo.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:wo.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:wo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:wo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:wo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:wo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:wo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:wo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:wo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:wo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:wo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:wo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:wo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:wo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:wo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:wo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:wo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:wo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:wo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:wo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:wo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:wo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:wo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:wo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:wo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:wo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:wo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:wo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:wo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:wo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:wo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:wo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:wo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:wo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:wo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:wo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:wo.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:wo.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:wo.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:wo.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:wo.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:wo.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:wo.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:wo.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:wo.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:wo.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:wo.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:wo.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:wo.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:wo.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:wo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:wo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:wo.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:wo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Ni=Object.freeze({__proto__:null,designSystemVariables:Ci});class $i extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class Ei extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class ki extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var Ri=Object.freeze({__proto__:null,FtNotificationEvent:$i,PostResizeEvent:ki,PreResizeEvent:Ei});const Ii=["start","end"],Li=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Ii[0],e+"-"+Ii[1])),[]),Ui=Math.min,Ai=Math.max,Wi=Math.round,zi=t=>({x:t,y:t}),Bi={left:"right",right:"left",bottom:"top",top:"bottom"},Fi={start:"end",end:"start"};function _i(t,e,o){return Ai(t,Ui(e,o))}function Pi(t,e){return"function"==typeof t?t(e):t}function ji(t){return t.split("-")[0]}function Di(t){return t.split("-")[1]}function Ti(t){return"x"===t?"y":"x"}function Mi(t){return"y"===t?"height":"width"}function Ki(t){return["top","bottom"].includes(ji(t))?"y":"x"}function Hi(t){return Ti(Ki(t))}function Zi(t){return t.replace(/left|right|bottom|top/g,(t=>Bi[t]))}function Gi(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Vi(t,e,o){let{reference:i,floating:r}=t;const n=Ki(e),a=Hi(e),s=Mi(a),l=ji(e),c="y"===n,h=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,d=i[s]/2-r[s]/2;let p;switch(l){case"top":p={x:h,y:i.y-r.height};break;case"bottom":p={x:h,y:i.y+i.height};break;case"right":p={x:i.x+i.width,y:f};break;case"left":p={x:i.x-r.width,y:f};break;default:p={x:i.x,y:i.y}}switch(Di(e)){case"start":p[a]-=d*(o&&c?-1:1);break;case"end":p[a]+=d*(o&&c?-1:1)}return p}async function qi(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:h="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=Pi(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}}(p),g=s[d?"floating"===f?"reference":"floating":f],y=Gi(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(g)))||o?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:h,strategy:l})),b="floating"===f?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},x=Gi(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(y.top-x.top+u.top)/v.y,bottom:(x.bottom-y.bottom+u.bottom)/v.y,left:(y.left-x.left+u.left)/v.x,right:(x.right-y.right+u.right)/v.x}}function Yi(t,e,o){return(t?[...o.filter((e=>Di(e)===t)),...o.filter((e=>Di(e)!==t))]:o.filter((t=>ji(t)===t))).filter((o=>!t||(Di(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Fi[t]))}(o)!==o)))}const Ji=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:h=!1,alignment:f,allowedPlacements:d=Li,autoAlignment:p=!0,...u}=Pi(t,e),g=void 0!==f||d===Li?Yi(f||null,p,d):d,y=await qi(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=g[b];if(null==m)return{};const v=function(t,e,o){void 0===o&&(o=!1);const i=Di(t),r=Hi(t),n=Mi(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Zi(a)),[a,Zi(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:g[0]}};const x=[y[ji(m)],y[v[0]],y[v[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:x}],w=g[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=Di(t.placement);return[t.placement,e&&h?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),C=S.filter((t=>t[2].slice(0,Di(t[0])?2:3).every((t=>t<=0)))),N=(null==(r=C[0])?void 0:r[0])||S[0][0];return N!==s?{data:{index:b+1,overflows:O},reset:{placement:N}}:{}}}};function Qi(t){return er(t)?(t.nodeName||"").toLowerCase():"#document"}function Xi(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function tr(t){var e;return null==(e=(er(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function er(t){return t instanceof Node||t instanceof Xi(t).Node}function or(t){return t instanceof Element||t instanceof Xi(t).Element}function ir(t){return t instanceof HTMLElement||t instanceof Xi(t).HTMLElement}function rr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Xi(t).ShadowRoot)}function nr(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=hr(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function ar(t){return["table","td","th"].includes(Qi(t))}function sr(t){const e=lr(),o=hr(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 lr(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function cr(t){return["html","body","#document"].includes(Qi(t))}function hr(t){return Xi(t).getComputedStyle(t)}function fr(t){return or(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function dr(t){if("html"===Qi(t))return t;const e=t.assignedSlot||t.parentNode||rr(t)&&t.host||tr(t);return rr(e)?e.host:e}function pr(t){const e=dr(t);return cr(e)?t.ownerDocument?t.ownerDocument.body:t.body:ir(e)&&nr(e)?e:pr(e)}function ur(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=pr(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=Xi(r);return n?e.concat(a,a.visualViewport||[],nr(r)?r:[],a.frameElement&&o?ur(a.frameElement):[]):e.concat(r,ur(r,[],o))}function gr(t){const e=hr(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=ir(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=Wi(o)!==n||Wi(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function yr(t){return or(t)?t:t.contextElement}function br(t){const e=yr(t);if(!ir(e))return zi(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=gr(e);let a=(n?Wi(o.width):o.width)/i,s=(n?Wi(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const mr=zi(0);function vr(t){const e=Xi(t);return lr()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:mr}function xr(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=yr(t);let a=zi(1);e&&(i?or(i)&&(a=br(i)):a=br(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==Xi(t))&&e}(n,o,i)?vr(n):zi(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,h=r.width/a.x,f=r.height/a.y;if(n){const t=Xi(n),e=i&&or(i)?Xi(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=br(o),e=o.getBoundingClientRect(),i=hr(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,h*=t.x,f*=t.y,l+=r,c+=n,o=Xi(o).frameElement}}return Gi({width:h,height:f,x:l,y:c})}function Or(t){return xr(tr(t)).left+fr(t).scrollLeft}function wr(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=Xi(t),i=tr(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=lr();(!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=tr(t),o=fr(t),i=t.ownerDocument.body,r=Ai(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=Ai(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+Or(t);const s=-o.scrollTop;return"rtl"===hr(i).direction&&(a+=Ai(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(tr(t));else if(or(e))i=function(t,e){const o=xr(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=ir(t)?br(t):zi(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=vr(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return Gi(i)}function Sr(t,e){const o=dr(t);return!(o===e||!or(o)||cr(o))&&("fixed"===hr(o).position||Sr(o,e))}function Cr(t,e,o){const i=ir(e),r=tr(e),n="fixed"===o,a=xr(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=zi(0);if(i||!i&&!n)if(("body"!==Qi(e)||nr(r))&&(s=fr(e)),i){const t=xr(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=Or(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Nr(t,e){return ir(t)&&"fixed"!==hr(t).position?e?e(t):t.offsetParent:null}function $r(t,e){const o=Xi(t);if(!ir(t))return o;let i=Nr(t,e);for(;i&&ar(i)&&"static"===hr(i).position;)i=Nr(i,e);return i&&("html"===Qi(i)||"body"===Qi(i)&&"static"===hr(i).position&&!sr(i))?o:i||function(t){let e=dr(t);for(;ir(e)&&!cr(e);){if(sr(e))return e;e=dr(e)}return null}(t)||o}const Er={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=ir(o),n=tr(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=zi(1);const l=zi(0);if((r||!r&&"fixed"!==i)&&(("body"!==Qi(o)||nr(n))&&(a=fr(o)),ir(o))){const t=xr(o);s=br(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:tr,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=ur(t,[],!1).filter((t=>or(t)&&"body"!==Qi(t))),r=null;const n="fixed"===hr(t).position;let a=n?dr(t):t;for(;or(a)&&!cr(a);){const e=hr(a),o=sr(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||nr(a)&&!o&&Sr(t,a))?i=i.filter((t=>t!==a)):r=e,a=dr(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=wr(e,o,r);return t.top=Ai(i.top,t.top),t.right=Ui(i.right,t.right),t.bottom=Ui(i.bottom,t.bottom),t.left=Ai(i.left,t.left),t}),wr(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:$r,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||$r,n=this.getDimensions;return{reference:Cr(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 gr(t)},getScale:br,isElement:or,isRTL:function(t){return"rtl"===hr(t).direction}},kr=(t,e,o)=>{const i=new Map,r={platform:Er,...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:h,y:f}=Vi(c,i,l),d=i,p={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:g}=s[o],{x:y,y:b,data:m,reset:v}=await g({x:h,y:f,initialPlacement:i,placement:d,strategy:r,middlewareData:p,rects:c,platform:a,elements:{reference:t,floating:e}});h=null!=y?y:h,f=null!=b?b:f,p={...p,[n]:{...p[n],...m}},v&&u<=50&&(u++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):v.rects),({x:h,y:f}=Vi(c,d,l))),o=-1)}return{x:h,y:f,placement:d,strategy:r,middlewareData:p}})(t,e,{...r,platform:n})};function Rr(t){return function(t){for(let e=t;e;e=Ir(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Ir(t);e;e=Ir(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function Ir(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}async function Lr(t,e,o){return kr(t,e,{platform:{...Er,getOffsetParent:t=>Er.getOffsetParent(t,Rr)},middleware:[(i={crossAxis:!0},void 0===i&&(i={}),{name:"shift",options:i,async fn(t){const{x:e,y:o,placement:r}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=Pi(i,t),c={x:e,y:o},h=await qi(t,l),f=Ki(ji(r)),d=Ti(f);let p=c[d],u=c[f];if(n){const t="y"===d?"bottom":"right";p=_i(p+h["y"===d?"top":"left"],p,p-h[t])}if(a){const t="y"===f?"bottom":"right";u=_i(u+h["y"===f?"top":"left"],u,u-h[t])}const g=s.fn({...t,[d]:p,[f]:u});return{...g,data:{x:g.x-e,y:g.y-o}}}}),Ji({allowedPlacements:[o]})]});var i}var Ur=Object.freeze({__proto__:null,computeOffsetPosition:Lr});
134
+ */let Je=class extends ze{constructor(t){if(super(t),this.et=H,t.type!==Ae)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===H||null==t)return this.vt=void 0,this.et=t;if(t===M)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const e=[t];return e.raw=e,this.vt={_$litType$:this.constructor.resultType,strings:e,values:[]}}};Je.directiveName="unsafeHTML",Je.resultType=1;const Qe=We(Je);var Xe=Object.freeze({__proto__:null,UnsafeHTMLDirective:Je,unsafeHTML:Qe});class to extends Error{constructor(t,e,o){super(t),this.canceledPromiseResult=e,this.canceledPromiseError=o}}class eo extends Promise{constructor(t){super(((e,o)=>t((t=>{this.isCanceled?o(new to("Promise has been canceled",t)):e(t)}),(t=>{this.isCanceled?o(new to("Promise has been canceled",void 0,t)):o(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const oo=t=>new eo(((e,o)=>t.then(e).catch(o)));var io=Object.freeze({__proto__:null,CancelablePromise:eo,CanceledPromiseError:to,cancelable:oo});class ro{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,e){this.loaders[t]=e,this.finalContent.delete(t)}registerFinal(t,e){this.loaders[t]=e,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof eo&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,e){this.forceClear(t),this.register(t,(async()=>e)),this.content[t]=e}setFinal(t,e){this.forceClear(t),this.registerFinal(t,(async()=>e)),this.content[t]=e}async get(t,e,o){if(void 0===this.content[t]){if(null==(e=null!=e?e:this.loaders[t]))throw new Error("Unknown cache key "+t);const i=oo(e());return this.content[t]=i,i.then((e=>(this.content[t]=e,null!=o&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),o)),e)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}resolvedKeys(){return Object.keys(this.content).filter((t=>this.isResolvedValue(this.content[t])))}resolvedValues(){return Object.values(this.content).filter((t=>this.isResolvedValue(t)))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}}var no=Object.freeze({__proto__:null,CacheRegistry:ro});class ao{constructor(t,e,o,i){this.allResults=t,this.selectedResult=e,this.clusteringMetadata=o,this.metadataDescriptors=i}static extractResultMetadata(t,e){var o,i;let r=(null!==(i=null!==(o=null==t?void 0:t.map)&&void 0!==o?o:null==t?void 0:t.document)&&void 0!==i?i:null==t?void 0:t.topic).metadata.map((t=>ao.flattenMetadata(t)));return null==e?r:r.find((t=>t.key===e))}static flattenMetadata(t){if(t.hierarchicalValues){const e=[],o=[];return t.hierarchicalValues.forEach((t=>{e.push(t.join(" > ")),t.length>2?o.push(`... > ${t[t.length-1]}`):o.push(t.join(" > "))})),{key:t.key,label:t.label,value:e.join(", "),displayValue:o.join(", ")}}{const e=t.values.join(", ");return{key:t.key,label:t.label,value:e,displayValue:e}}}computeClustersItemsForMetadata(t,e,o="No value"){var i,r;let n=ao.extractResultMetadata(this.selectedResult,t),a=null!==(i=null==n?void 0:n.label)&&void 0!==i?i:null===(r=this.getMetadataDescriptor(t))||void 0===r?void 0:r.label;const s=this.allResults.map((e=>ao.extractResultMetadata(e,t))).map((e=>null!=e?e:{key:t,label:a,value:void 0,displayValue:o})).filter((t=>t.value!=(null==n?void 0:n.value))).filter(((t,e,o)=>o.findIndex((e=>e.value===t.value))===e));return s.map((e=>({result:this.findBestResultForMetadataValue(t,e.value),metadata:e}))).sort(((o,i)=>this.compareMetadata(o.metadata.value,i.metadata.value,t,e)))}compareMetadata(t,e,o,i){if(null==t)return-1;if(null==e)return 1;let r=this.getMetadataDescriptor(o),n=(null==r?void 0:r.sortRule)||"NONE",a=(null==r?void 0:r.reverseSort)||!1;if("ALPHABET"==n||"VERSION"==n){let o=t.localeCompare(e,i,{numeric:!0});return a?-1*o:o}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find((e=>t==e.key))}findBestResultForMetadataValue(t,e){const o=this.allResults.filter((o=>{var i;return(null===(i=ao.extractResultMetadata(o,t))||void 0===i?void 0:i.value)==e}));let i,r=ao.extractResultMetadata(this.selectedResult).filter((t=>this.clusteringMetadata.has(t.key))),n=[...r.filter((e=>e.key!==t))],a=-1;for(let t of o){let e=this.countMatchingMetadata(t,n);if(e>a&&(a=e,i=t,e===n.length))break}return i}countMatchingMetadata(t,e){return ao.extractResultMetadata(t).filter((t=>e.some((e=>e.key===t.key&&e.value===t.value)))).length}}var so=Object.freeze({__proto__:null,ClusteringHelper:ao});class lo{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}}var co=Object.freeze({__proto__:null,Debouncer:lo});const ho=t=>new Promise((e=>setTimeout(e,t)));async function fo(t,e=10,o=2e4){let i,r,n=await t();for(i=r=performance.now();null==n&&(!o||r-i<o);)await ho(e),n=await t(),r=performance.now();if(null==n)throw new Error("Timeout exceeded");return n}function po(t,e){return t.flatMap((t=>[t,...po(e(t),e)]))}function uo(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,((t,e,o,i)=>e+o+":"+i)),new Date(t)}function go(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(!go(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(!go(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(!go(t[n],e[n]))return!1}return!0}return t!=t&&e!=e}(t,e)}catch(t){return!1}}var yo=Object.freeze({__proto__:null,dateReviver:function(...t){return function(e,o){return t.includes(e)?uo(o):o}},deepEqual:go,delay:ho,eventPathContainsMatchingElement:function(t,e,o=window.document.body){if(e.length>0){const i=t.composedPath();for(let t of i){if(t===o)return!1;if(t.matches&&e.some((e=>t.matches(e))))return!0}}return!1},flatDeep:po,last:function(t){return t[t.length-1]},minmax:function(t,e,o){return Math.min(Math.max(t,e),o)},parseDate:uo,waitFor:fo,waitUntil:async function(t,e=10,o=2e4){await fo((async()=>await t()||void 0),e,o)}});const bo=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function mo(t,e){const o=()=>JSON.parse(JSON.stringify(t));return we({type:Object,converter:{fromAttribute:t=>{if(null==t)return o();try{return JSON.parse(t)}catch{return o()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,e)=>!go(t,e),...null!=e?e:{}})}function vo(t){return!isNaN(parseFloat(t))}var xo=Object.freeze({__proto__:null,customElement:bo,isNumber:vo,jsonProperty:mo,optionalNumberProperty:function(t){return we({type:Object,converter:{fromAttribute:t=>{if(null!=t)return vo(t)?+t:void 0},toAttribute:t=>null==t?void 0:""+t},...null!=t?t:{}})}});const Oo=t=>"string"==typeof t?ft(t):t;class wo{static create(t,e,o,i){const r=t=>Oo(null!=t?t:i),n=dt`var(${Oo(t)}, ${r(i)})`;return n.name=t,n.description=e,n.category=o,n.defaultValue=i,n.defaultCssValue=r,n.get=e=>dt`var(${Oo(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=dt`var(${Oo(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=>dt`var(${Oo(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):Oo(null!=e?e:t.lastResortDefaultValue()),i=dt`var(${Oo(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=>dt`var(${Oo(t.name)}, ${o(e)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}}function So(t,e){return Oo(`${t.name}: ${e}`)}const Co={colorWhite:wo.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:wo.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:wo.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:wo.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:wo.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:wo.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:wo.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:wo.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:wo.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:wo.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:wo.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:wo.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:wo.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:wo.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:wo.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:wo.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:wo.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:wo.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:wo.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:wo.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:wo.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:wo.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:wo.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:wo.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:wo.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:wo.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:wo.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:wo.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:wo.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:wo.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:wo.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:wo.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:wo.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:wo.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:wo.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:wo.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:wo.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:wo.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:wo.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:wo.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:wo.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:wo.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:wo.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:wo.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:wo.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:wo.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:wo.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:wo.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:wo.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:wo.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:wo.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:wo.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:wo.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:wo.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:wo.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:wo.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:wo.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:wo.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:wo.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:wo.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:wo.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:wo.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:wo.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:wo.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:wo.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:wo.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:wo.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:wo.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:wo.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:wo.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:wo.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:wo.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:wo.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:wo.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:wo.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:wo.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:wo.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:wo.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:wo.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:wo.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:wo.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:wo.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:wo.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:wo.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:wo.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:wo.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:wo.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:wo.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:wo.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:wo.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:wo.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:wo.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:wo.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:wo.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:wo.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:wo.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:wo.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:wo.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:wo.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:wo.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:wo.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:wo.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:wo.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:wo.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:wo.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:wo.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:wo.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:wo.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:wo.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:wo.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:wo.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:wo.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:wo.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:wo.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:wo.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:wo.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:wo.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:wo.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:wo.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:wo.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:wo.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:wo.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:wo.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:wo.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:wo.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:wo.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:wo.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:wo.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:wo.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:wo.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:wo.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:wo.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:wo.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:wo.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:wo.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:wo.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:wo.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:wo.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:wo.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:wo.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:wo.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:wo.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:wo.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:wo.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:wo.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:wo.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:wo.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:wo.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:wo.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:wo.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:wo.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:wo.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:wo.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:wo.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:wo.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:wo.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:wo.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:wo.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:wo.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:wo.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:wo.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:wo.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:wo.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:wo.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:wo.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:wo.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:wo.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:wo.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:wo.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:wo.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:wo.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:wo.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:wo.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:wo.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:wo.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:wo.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:wo.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:wo.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:wo.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:wo.create("--ft-icon-size-6","","SIZE","48px"),opacity0:wo.create("--ft-opacity-0","","NUMBER","0"),opacity8:wo.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:wo.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:wo.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:wo.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:wo.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:wo.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:wo.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:wo.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:wo.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:wo.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:wo.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:wo.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:wo.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:wo.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},No={fontFamily:wo.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:wo.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:wo.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:wo.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-display-textCase","","UNKNOWN","none")},$o={fontFamily:wo.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:wo.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:wo.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:wo.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Eo={fontFamily:wo.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:wo.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:wo.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:wo.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:wo.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},ko={fontFamily:wo.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:wo.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:wo.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:wo.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:wo.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Ro={fontFamily:wo.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:wo.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:wo.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:wo.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:wo.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Io={fontFamily:wo.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:wo.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:wo.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:wo.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:wo.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Lo={fontFamily:wo.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:wo.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:wo.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:wo.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Uo={fontFamily:wo.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:wo.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:wo.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:wo.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:wo.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Ao={fontFamily:wo.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:wo.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:wo.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:wo.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:wo.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Wo={fontFamily:wo.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:wo.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:wo.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:wo.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:wo.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:wo.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:wo.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},zo={fontFamily:wo.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:wo.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:wo.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:wo.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:wo.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Bo={fontFamily:wo.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:wo.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:wo.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:wo.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:wo.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:wo.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Fo={fontFamily:wo.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:wo.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:wo.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:wo.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:wo.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},_o={fontFamily:wo.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:wo.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:wo.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:wo.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:wo.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:wo.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Po={fontFamily:wo.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:wo.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:wo.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:wo.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:wo.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:wo.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},jo={fontFamily:wo.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:wo.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:wo.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:wo.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:wo.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Do={fontFamily:wo.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:wo.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:wo.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:wo.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:wo.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:wo.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},To={fontFamily:wo.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:wo.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:wo.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:wo.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:wo.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:wo.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Mo={fontFamily:wo.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:wo.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:wo.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:wo.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:wo.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ho={fontFamily:wo.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:wo.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:wo.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:wo.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:wo.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:wo.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Ko={fontFamily:wo.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:wo.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:wo.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:wo.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:wo.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:wo.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Zo={fontFamily:wo.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:wo.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:wo.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:wo.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:wo.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Go={fontFamily:wo.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:wo.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:wo.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:wo.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:wo.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:wo.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Vo={fontFamily:wo.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:wo.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:wo.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:wo.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:wo.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:wo.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},qo={fontFamily:wo.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:wo.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:wo.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:wo.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:wo.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:wo.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Yo={fontFamily:wo.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:wo.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:wo.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:wo.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:wo.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:wo.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:wo.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:wo.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:wo.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Jo={display:No,"title-1":$o,"title-2":Eo,"title-3":ko,"body-1-regular":Ro,"body-1-medium":Io,"body-1-semibold":Lo,"body-2-regular":Uo,"body-2-medium":Ao,"body-2-medium-underline":Wo,"body-2-semibold":zo,"label-1-medium":Bo,"label-1-semibold":Fo,"label-1-bold":_o,"label-2-medium":Po,"label-2-semibold":jo,"label-2-bold":Do,"caption-1-medium":To,"caption-1-semibold":Mo,"caption-1-bold":Ho,"caption-2-medium":Ko,"caption-2-semibold":Zo,"caption-2-bold":Go,"caption-3-medium":Vo,"caption-3-semibold":qo,"caption-3-bold":Yo},Qo={backgroundActionPrimary:wo.extend("--ft-background-action-primary","Used as backgorund of primary action components.",Co.colorBrand0),backgroundErrorSubtle:wo.extend("--ft-background-error-subtle","Used as background of subtle error components.",Co.colorRed10),backgroundInfoSubtle:wo.extend("--ft-background-info-subtle","Used as background of subtle information components.",Co.colorCyan10),backgroundWarningSubtle:wo.extend("--ft-background-warning-subtle","Used as background of subtle information components.",Co.colorOrange10),backgroundSuccessSubtle:wo.extend("--ft-background-success-subtle","Used as background of subtle success components.",Co.colorGreen10),backgroundGlobalSurface:wo.extend("--ft-background-global-surface","Used as app background.",Co.colorWhite),backgroundGlobalOnSurface:wo.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",Co.colorGray10),backgroundGlobalOnSurfaceDark:wo.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",Co.colorGray30),contentActionPrimary:wo.extend("--ft-content-action-primary","Used on label of primary action on light surface.",Co.colorBrand0),contentWarningPrimary:wo.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",Co.colorOrange200),contentWarningIconOnly:wo.extend("--ft-content-warning-icon-only","Used on warning status icons alone",Co.colorOrange0),contentErrorPrimary:wo.extend("--ft-content-error-primary","Used on label of error messages on light surface.",Co.colorRed0),contentErrorIconOnly:wo.extend("--ft-content-error-icon-only","Used on error status icons alone",Co.colorRed70),contentInfoPrimary:wo.extend("--ft-content-info-primary","Used on label of information messages on light surface.",Co.colorCyan200),contentInfoIconOnly:wo.extend("--ft-content-info-icon-only","Used on info status icons alone",Co.colorCyan0),contentSuccessPrimary:wo.extend("--ft-content-success-primary","Used on label of success messages on light surface.",Co.colorGreen200),contentSuccessIconOnly:wo.extend("--ft-content-success-icon-only","Used on success status icons alone",Co.colorGreen0),contentGlobalPrimary:wo.extend("--ft-content-global-primary","Used for main content on the page.",Co.colorGray500),contentGlobalSecondary:wo.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",Co.colorGray200),contentGlobalSubtle:wo.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",Co.colorGray0),contentGlobalOnColor:wo.extend("--ft-content-global-on-color","Used for content on a dominant color.",Co.colorWhite),borderActionPrimary:wo.extend("--ft-border-action-primary","Used as border for primary action components.",Co.colorBrand0),borderActionFocusRing:wo.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",Co.colorCyan0),borderWarningPrimary:wo.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",Co.colorOrange200),borderWarningSubtle:wo.extend("--ft-border-warning-subtle","Used as border for warning components.",Co.colorOrange30),borderSuccessPrimary:wo.extend("--ft-border-success-primary","Used as border for success buttons.",Co.colorGreen200),borderSuccessSubtle:wo.extend("--ft-border-success-subtle","Used as border for success components.",Co.colorGreen30),borderErrorPrimary:wo.extend("--ft-border-error-primary","Used as border for text fields in error states.",Co.colorRed0),borderErrorSubtle:wo.extend("--ft-border-error-subtle","Used as border for error components.",Co.colorRed30),borderInfoPrimary:wo.extend("--ft-border-info-primary","Used as border for buttons in info color.",Co.colorCyan200),borderInfoSubtle:wo.extend("--ft-border-info-subtle","Used as border for information components.",Co.colorCyan30),borderGlobalPrimary:wo.extend("--ft-border-global-primary","Used as border for element like input.",Co.colorGray50),borderGlobalSubtle:wo.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",Co.colorGray30),borderInputPrimary:wo.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",Co.colorGray80)},Xo={largeHeight:wo.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:wo.extend("--ft-button-large-horizontal-padding","",Co.spacing4),largeGap:wo.extend("--ft-button-large-gap","",Co.spacing2),largeBorderRadius:wo.extend("--ft-button-large-border-radius","",Co.borderRadiusS),largeIconSize:wo.extend("--ft-button-large-icon-size","",Co.iconSize3),largeBorderWidth:wo.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:wo.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:wo.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:wo.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:wo.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:wo.extend("--ft-button-small-horizontal-padding","",Co.spacing3),smallGap:wo.extend("--ft-button-small-gap","",Co.spacing2),smallBorderRadius:wo.extend("--ft-button-small-border-radius","",Co.borderRadiusS),smallIconSize:wo.extend("--ft-button-small-icon-size","",Co.iconSize2),smallBorderWidth:wo.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:wo.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:wo.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:wo.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:wo.extend("--ft-button-primary-background-color","",Qo.backgroundActionPrimary),primaryColor:wo.extend("--ft-button-primary-color","",Qo.contentGlobalOnColor),primaryIconColor:wo.extend("--ft-button-primary-icon-color","",Qo.contentGlobalOnColor),primaryStateLayerColor:wo.extend("--ft-button-primary-state-layer-color","",Qo.contentGlobalOnColor),primaryHoverStateLayerOpacity:wo.extend("--ft-button-primary-hover-state-layer-opacity","",Co.opacity16),primaryFocusStateLayerOpacity:wo.extend("--ft-button-primary-focus-state-layer-opacity","",Co.opacity16),primaryActiveStateLayerOpacity:wo.extend("--ft-button-primary-active-state-layer-opacity","",Co.opacity24),primaryDisabledComponentOpacity:wo.extend("--ft-button-primary-disabled-component-opacity","",Co.opacity40),focusFocusRingColor:wo.extend("--ft-button-focus-focus-ring-color","",Qo.borderActionFocusRing),tertiaryBackgroundColor:wo.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:wo.extend("--ft-button-tertiary-color","",Qo.contentActionPrimary),tertiaryIconColor:wo.extend("--ft-button-tertiary-icon-color","",Qo.contentActionPrimary),tertiaryStateLayerColor:wo.extend("--ft-button-tertiary-state-layer-color","",Qo.contentActionPrimary),tertiaryHoverStateLayerOpacity:wo.extend("--ft-button-tertiary-hover-state-layer-opacity","",Co.opacity8),tertiaryFocusStateLayerOpacity:wo.extend("--ft-button-tertiary-focus-state-layer-opacity","",Co.opacity8),tertiaryActiveStateLayerOpacity:wo.extend("--ft-button-tertiary-active-state-layer-opacity","",Co.opacity16),tertiaryDisabledComponentOpacity:wo.extend("--ft-button-tertiary-disabled-component-opacity","",Co.opacity40),secondaryBackgroundColor:wo.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:wo.extend("--ft-button-secondary-color","",Qo.contentActionPrimary),secondaryIconColor:wo.extend("--ft-button-secondary-icon-color","",Qo.contentActionPrimary),secondaryStateLayerColor:wo.extend("--ft-button-secondary-state-layer-color","",Qo.contentActionPrimary),secondaryHoverStateLayerOpacity:wo.extend("--ft-button-secondary-hover-state-layer-opacity","",Co.opacity8),secondaryFocusStateLayerOpacity:wo.extend("--ft-button-secondary-focus-state-layer-opacity","",Co.opacity8),secondaryActiveStateLayerOpacity:wo.extend("--ft-button-secondary-active-state-layer-opacity","",Co.opacity16),secondaryDisabledComponentOpacity:wo.extend("--ft-button-secondary-disabled-component-opacity","",Co.opacity40),secondaryBorderColor:wo.extend("--ft-button-secondary-border-color","",Qo.borderActionPrimary),neutralBackgroundColor:wo.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:wo.extend("--ft-button-neutral-icon-color","",Qo.contentGlobalSecondary),neutralColor:wo.extend("--ft-button-neutral-color","",Qo.contentGlobalSecondary),neutralStateLayerColor:wo.extend("--ft-button-neutral-state-layer-color","",Qo.contentGlobalSecondary),neutralHoverStateLayerOpacity:wo.extend("--ft-button-neutral-hover-state-layer-opacity","",Co.opacity8),neutralFocusStateLayerOpacity:wo.extend("--ft-button-neutral-focus-state-layer-opacity","",Co.opacity8),neutralActiveStateLayerOpacity:wo.extend("--ft-button-neutral-active-state-layer-opacity","",Co.opacity16),neutralDisabledComponentOpacity:wo.extend("--ft-button-neutral-disabled-component-opacity","",Co.opacity40)},ti={iconSize:wo.extend("--ft-banner-icon-size","",Co.iconSize5),borderWidth:wo.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:wo.extend("--ft-banner-horizontal-padding","",Co.spacing6),verticalPadding:wo.extend("--ft-banner-vertical-padding","",Co.spacing6),horizontalSideGap:wo.extend("--ft-banner-horizontal-side-gap","",Co.spacing6),horizontalMobileGap:wo.extend("--ft-banner-horizontal-mobile-gap","",Co.spacing4),verticalMobileGap:wo.extend("--ft-banner-vertical-mobile-gap","",Co.spacing6),horizontalMiddleGap:wo.extend("--ft-banner-horizontal-middle-gap","",Co.spacing20),infoBackgroundColor:wo.extend("--ft-banner-info-background-color","",Qo.backgroundInfoSubtle),infoColor:wo.extend("--ft-banner-info-color","",Qo.contentInfoPrimary),infoIconColor:wo.extend("--ft-banner-info-icon-color","",Qo.contentInfoIconOnly)},ei={horizontalGap:wo.extend("--ft-breadcrumb-horizontal-gap","",Co.spacing1),verticalGap:wo.extend("--ft-breadcrumb-vertical-gap","",Co.spacing2),currentElementColor:wo.extend("--ft-breadcrumb-current-element-color","",Qo.contentGlobalPrimary),iconColor:wo.extend("--ft-breadcrumb-icon-color","",Qo.contentGlobalSubtle)},oi={horizontalPadding:wo.extend("--ft-page-header-horizontal-padding","",Co.spacing12),horizontalGap:wo.extend("--ft-page-header-horizontal-gap","",Co.spacing4),verticalGap:wo.extend("--ft-page-header-vertical-gap","",Co.spacing2),classicVerticalPadding:wo.extend("--ft-page-header-classic-vertical-padding","",Co.spacing6),multilineVerticalPadding:wo.extend("--ft-page-header-multiline-vertical-padding","",Co.spacing4),inlineVerticalPadding:wo.extend("--ft-page-header-inline-vertical-padding","",Co.spacing2),backgroundColor:wo.extend("--ft-page-header-background-color","",Co.colorWhite),bottomBorderColor:wo.extend("--ft-page-header-bottom-border-color","",Qo.borderGlobalSubtle),titleColor:wo.extend("--ft-page-header-title-color","",Qo.contentGlobalPrimary),subtitleColor:wo.extend("--ft-page-header-subtitle-color","",Qo.contentGlobalSecondary)},ii={smallContainerWidth:wo.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:wo.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:wo.extend("--ft-modal-overlay-background-color","",Co.colorGray700),overlayOpacity:wo.extend("--ft-modal-overlay-opacity","",Co.opacity40),shadow:wo.extend("--ft-modal-shadow","",Co.shadowElevation03),bodyBackgroundColor:wo.extend("--ft-modal-body-background-color","",Co.colorWhite),bodyColor:wo.extend("--ft-modal-body-color","",Qo.contentGlobalPrimary),bodyHorizontalPadding:wo.extend("--ft-modal-body-horizontal-padding","",Co.spacing6),bodyVerticalPadding:wo.extend("--ft-modal-body-vertical-padding","",Co.spacing6),bodyVerticalGap:wo.extend("--ft-modal-body-vertical-gap","",Co.spacing6),containerMargin:wo.extend("--ft-modal-container-margin","",Co.spacing3),headerBackgroundColor:wo.extend("--ft-modal-header-background-color","",Qo.backgroundGlobalOnSurface),headerBorderColor:wo.extend("--ft-modal-header-border-color","",Qo.borderGlobalSubtle),headerColor:wo.extend("--ft-modal-header-color","",Qo.contentGlobalPrimary),headerTrailingIconColor:wo.extend("--ft-modal-header-trailing-icon-color","",Qo.contentGlobalSecondary),headerVerticalPadding:wo.extend("--ft-modal-header-vertical-padding","",Co.spacing1),headerRightPadding:wo.extend("--ft-modal-header-right-padding","",Co.spacing1),headerLeftPadding:wo.extend("--ft-modal-header-left-padding","",Co.spacing6),headerGap:wo.extend("--ft-modal-header-gap","",Co.spacing2),headerBorderBottom:wo.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:wo.extend("--ft-modal-border-radius","",Co.borderRadiusM)},ri={overlayOpacity:wo.extend("--ft-drawer-overlay-opacity","",Co.opacity40),shadow:wo.extend("--ft-drawer-shadow","",Co.shadowElevation03),bodyColor:wo.extend("--ft-drawer-body-color","",Qo.contentGlobalPrimary),bodyHorizontalPadding:wo.extend("--ft-drawer-body-horizontal-padding","",Co.spacing6),bodyVerticalPadding:wo.extend("--ft-drawer-body-vertical-padding","",Co.spacing6),bodyGap:wo.extend("--ft-drawer-body-gap","",Co.spacing6),bodyBackgroundColor:wo.extend("--ft-drawer-body-background-color","",Co.colorWhite),headerBackgroundColor:wo.extend("--ft-drawer-header-background-color","",Qo.backgroundGlobalOnSurface),headerBorderColor:wo.extend("--ft-drawer-header-border-color","",Qo.borderGlobalSubtle),headerColor:wo.extend("--ft-drawer-header-color","",Qo.contentGlobalPrimary),headerTrailingIconColor:wo.extend("--ft-drawer-header-trailing-icon-color","",Qo.contentGlobalSecondary),headerHeight:wo.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:wo.extend("--ft-drawer-header-horizontal-padding","",Co.spacing2),headerBorderWidth:wo.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:wo.extend("--ft-drawer-header-gap","",Co.spacing3),buttonsBarBackgroundColor:wo.extend("--ft-drawer-buttons-bar-background-color","",Qo.backgroundGlobalOnSurface),buttonsBarBorderColor:wo.extend("--ft-drawer-buttons-bar-border-color","",Qo.borderGlobalSubtle),buttonsBarColor:wo.extend("--ft-drawer-buttons-bar-color","",Qo.contentGlobalPrimary),buttonsBarHorizontalPadding:wo.extend("--ft-drawer-buttons-bar-horizontal-padding","",Co.spacing4),buttonsBarVerticalPadding:wo.extend("--ft-drawer-buttons-bar-vertical-padding","",Co.spacing4),buttonsBarGap:wo.extend("--ft-drawer-buttons-bar-gap","",Co.spacing3),buttonsBarBorderWidth:wo.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:wo.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:wo.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:wo.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:wo.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:wo.extend("--ft-drawer-overlay-background-color","",Co.colorGray700)},ni={fieldHorizontalPadding:wo.extend("--ft-text-input-field-horizontal-padding","",Co.spacing4),fieldHorizontalGap:wo.extend("--ft-text-input-field-horizontal-gap","",Co.spacing3),fieldVerticalGap:wo.extend("--ft-text-input-field-vertical-gap","",Co.spacing05),fieldIconSize:wo.extend("--ft-text-input-field-icon-size","",Co.iconSize3),fieldHeight:wo.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:wo.extend("--ft-text-input-helper-horizontal-padding","",Co.spacing4),helperHorizontalGap:wo.extend("--ft-text-input-helper-horizontal-gap","",Co.spacing1),helperIconSize:wo.extend("--ft-text-input-helper-icon-size","",Co.iconSize2),borderRadius:wo.extend("--ft-text-input-border-radius","",Co.borderRadiusM),backgroundColor:wo.extend("--ft-text-input-background-color","",Co.colorWhite),contentValueColor:wo.extend("--ft-text-input-content-value-color","",Qo.contentGlobalPrimary),trailingIconColor:wo.extend("--ft-text-input-trailing-icon-color","",Qo.contentGlobalSubtle),labelColor:wo.extend("--ft-text-input-label-color","",Qo.contentGlobalSubtle),defaultBorderColor:wo.extend("--ft-text-input-default-border-color","",Qo.borderInputPrimary),defaultHelperTextColor:wo.extend("--ft-text-input-default-helper-text-color","",Qo.contentGlobalSubtle),defaultBorderWidth:wo.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:wo.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:wo.extend("--ft-text-input-error-border-color","",Qo.borderErrorPrimary),errorHelperTextColor:wo.extend("--ft-text-input-error-helper-text-color","",Qo.contentErrorPrimary),errorHelperIconColor:wo.extend("--ft-text-input-error-helper-icon-color","",Qo.contentErrorIconOnly),warningBorderWidth:wo.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:wo.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:wo.extend("--ft-text-input-focus-focus-ring-color","",Qo.borderActionFocusRing),focusOutlineOffset:wo.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:wo.extend("--ft-text-input-disabled-component-opacity","",Co.opacity40)},ai={backgroundColor:wo.extend("--ft-text-area-background-color","",Co.colorWhite),contentValueColor:wo.extend("--ft-text-area-content-value-color","",Qo.contentGlobalPrimary),labelColor:wo.extend("--ft-text-area-label-color","",Qo.contentGlobalSubtle),defaultBorderColor:wo.extend("--ft-text-area-default-border-color","",Qo.borderInputPrimary),defaultHelperTextColor:wo.extend("--ft-text-area-default-helper-text-color","",Qo.contentGlobalSubtle),defaultBorderWidth:wo.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:wo.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:wo.extend("--ft-text-area-error-border-color","",Qo.borderErrorPrimary),errorHelperTextColor:wo.extend("--ft-text-area-error-helper-text-color","",Qo.contentErrorPrimary),errorHelperIconColor:wo.extend("--ft-text-area-error-helper-icon-color","",Qo.contentErrorIconOnly),focusFocusRingColor:wo.extend("--ft-text-area-focus-focus-ring-color","",Qo.borderActionFocusRing),focusOutlineWidth:wo.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:wo.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:wo.extend("--ft-text-area-disabled-component-opacity","",Co.opacity40),fieldHorizontalLeftPadding:wo.extend("--ft-text-area-field-horizontal-left-padding","",Co.spacing4),fieldHorizontalGap:wo.extend("--ft-text-area-field-horizontal-gap","",Co.spacing3),fieldVerticalGap:wo.extend("--ft-text-area-field-vertical-gap","",Co.spacing05),fieldMinHeight:wo.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:wo.extend("--ft-text-area-helper-horizontal-padding","",Co.spacing4),helperHorizontalGap:wo.extend("--ft-text-area-helper-horizontal-gap","",Co.spacing1),helperIconSize:wo.extend("--ft-text-area-helper-icon-size","",Co.iconSize2),borderRadius:wo.extend("--ft-text-area-border-radius","",Co.borderRadiusM)},si={height:wo.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:wo.extend("--ft-floating-menu-horizontal-padding","",Co.spacing4),offIconColor:wo.extend("--ft-floating-menu-off-icon-color","",Qo.contentGlobalPrimary),offColor:wo.extend("--ft-floating-menu-off-color","",Qo.contentGlobalPrimary),onColor:wo.extend("--ft-floating-menu-on-color","",Qo.contentActionPrimary),onStateLayerColor:wo.extend("--ft-floating-menu-on-state-layer-color","",Qo.contentActionPrimary),gap:wo.extend("--ft-floating-menu-gap","",Co.spacing3),focusFocusRingColor:wo.extend("--ft-floating-menu-focus-focus-ring-color","",Qo.borderActionFocusRing),focusOutlineWidth:wo.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:wo.extend("--ft-floating-menu-focus-state-layer-opacity","",Co.opacity8),hoverStateLayerOpacity:wo.extend("--ft-floating-menu-hover-state-layer-opacity","",Co.opacity8),activeStateLayerOpacity:wo.extend("--ft-floating-menu-active-state-layer-opacity","",Co.opacity16),disabledComponentOpacity:wo.extend("--ft-floating-menu-disabled-component-opacity","",Co.opacity40),iconSize:wo.extend("--ft-floating-menu-icon-size","",Co.iconSize3),backgroundColor:wo.extend("--ft-floating-menu-background-color","",Qo.backgroundGlobalOnSurface)},li={fieldHorizontalPadding:wo.extend("--ft-combobox-single-select-field-horizontal-padding","",Co.spacing4),fieldHorizontalGap:wo.extend("--ft-combobox-single-select-field-horizontal-gap","",Co.spacing3),fieldVerticalGap:wo.extend("--ft-combobox-single-select-field-vertical-gap","",Co.spacing05),fieldIconSize:wo.extend("--ft-combobox-single-select-field-icon-size","",Co.iconSize3),fieldHeight:wo.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:wo.extend("--ft-combobox-single-select-helper-horizontal-padding","",Co.spacing4),helperHorizontalGap:wo.extend("--ft-combobox-single-select-helper-horizontal-gap","",Co.spacing1),helperVerticalGap:wo.extend("--ft-combobox-single-select-helper-vertical-gap","",Co.spacing1),helperIconSize:wo.extend("--ft-combobox-single-select-helper-icon-size","",Co.iconSize2),menuVerticalGap:wo.extend("--ft-combobox-single-select-menu-vertical-gap","",Co.spacing2),borderRadius:wo.extend("--ft-combobox-single-select-border-radius","",Co.borderRadiusM),backgroundColor:wo.extend("--ft-combobox-single-select-background-color","",Co.colorWhite),labelColor:wo.extend("--ft-combobox-single-select-label-color","",Qo.contentGlobalSubtle),contentValueColor:wo.extend("--ft-combobox-single-select-content-value-color","",Qo.contentGlobalPrimary),trailingIconColor:wo.extend("--ft-combobox-single-select-trailing-icon-color","",Qo.contentGlobalSubtle),defaultBorderColor:wo.extend("--ft-combobox-single-select-default-border-color","",Qo.borderInputPrimary),defaultHelperTextColor:wo.extend("--ft-combobox-single-select-default-helper-text-color","",Qo.contentGlobalSubtle),defaultBorderWidth:wo.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:wo.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:wo.extend("--ft-combobox-single-select-error-border-color","",Qo.borderErrorPrimary),errorHelperTextColor:wo.extend("--ft-combobox-single-select-error-helper-text-color","",Qo.contentErrorPrimary),warningBorderWidth:wo.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:wo.extend("--ft-combobox-single-select-warning-border-color","",Qo.borderWarningPrimary),warningHelperTextColor:wo.extend("--ft-combobox-single-select-warning-helper-text-color","",Qo.contentWarningPrimary),warningHelperIconColor:wo.extend("--ft-combobox-single-select-warning-helper-icon-color","",Qo.contentWarningIconOnly),focusOutlineWidth:wo.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:wo.extend("--ft-combobox-single-select-focus-focus-ring-color","",Qo.borderActionFocusRing),focusOutlineOffset:wo.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:wo.extend("--ft-combobox-single-select-disabled-component-opacity","",Co.opacity40)},ci={backgroundColor:wo.extend("--ft-combobox-multi-select-background-color","",Co.colorWhite),labelColor:wo.extend("--ft-combobox-multi-select-label-color","",Qo.contentGlobalSubtle),trailingIconColor:wo.extend("--ft-combobox-multi-select-trailing-icon-color","",Qo.contentGlobalSubtle),defaultBorderColor:wo.extend("--ft-combobox-multi-select-default-border-color","",Qo.borderInputPrimary),defaultHelperTextColor:wo.extend("--ft-combobox-multi-select-default-helper-text-color","",Qo.contentGlobalSubtle),defaultBorderWidth:wo.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:wo.extend("--ft-combobox-multi-select-error-border-color","",Qo.borderErrorPrimary),errorHelperTextColor:wo.extend("--ft-combobox-multi-select-error-helper-text-color","",Qo.contentErrorPrimary),errorHelperIcon:wo.extend("--ft-combobox-multi-select-error-helper-icon","",Qo.contentErrorIconOnly),errorBorderWidth:wo.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:wo.extend("--ft-combobox-multi-select-warning-border-color","",Qo.borderWarningPrimary),warningHelperTextColor:wo.extend("--ft-combobox-multi-select-warning-helper-text-color","",Qo.contentWarningPrimary),warningHelperIconColor:wo.extend("--ft-combobox-multi-select-warning-helper-icon-color","",Qo.contentWarningIconOnly),warningBorderWidth:wo.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:wo.extend("--ft-combobox-multi-select-focus-focus-ring-color","",Qo.borderActionFocusRing),focusOutlineWidth:wo.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:wo.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:wo.extend("--ft-combobox-multi-select-disabled-component-opacity","",Co.opacity40),helperHorizontalPadding:wo.extend("--ft-combobox-multi-select-helper-horizontal-padding","",Co.spacing4),helperHorizontalGap:wo.extend("--ft-combobox-multi-select-helper-horizontal-gap","",Co.spacing1),helperVerticalGap:wo.extend("--ft-combobox-multi-select-helper-vertical-gap","",Co.spacing1),helperIconSize:wo.extend("--ft-combobox-multi-select-helper-icon-size","",Co.iconSize2),fieldHorizontalPadding:wo.extend("--ft-combobox-multi-select-field-horizontal-padding","",Co.spacing4),fieldHorizontalGap:wo.extend("--ft-combobox-multi-select-field-horizontal-gap","",Co.spacing3),fieldVerticalGap:wo.extend("--ft-combobox-multi-select-field-vertical-gap","",Co.spacing05),fieldIconSize:wo.extend("--ft-combobox-multi-select-field-icon-size","",Co.iconSize3),fieldMaxHeight:wo.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:wo.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",Co.spacing1),contentValuesVerticalGap:wo.extend("--ft-combobox-multi-select-content-values-vertical-gap","",Co.spacing1),borderRadius:wo.extend("--ft-combobox-multi-select-border-radius","",Co.borderRadiusM)},hi={backgroundColor:wo.extend("--ft-popover-background-color","",Qo.backgroundGlobalOnSurface),horizontalPadding:wo.extend("--ft-popover-horizontal-padding","",Co.spacing6),verticalPadding:wo.extend("--ft-popover-vertical-padding","",Co.spacing6),iconColor:wo.extend("--ft-popover-icon-color","",Qo.contentGlobalSecondary),iconSize:wo.extend("--ft-popover-icon-size","",Co.iconSize2),titleColor:wo.extend("--ft-popover-title-color","",Qo.contentGlobalPrimary),bodyColor:wo.extend("--ft-popover-body-color","",Qo.contentGlobalSecondary),linkColor:wo.extend("--ft-popover-link-color","",Qo.contentActionPrimary),gap:wo.extend("--ft-popover-gap","",Co.spacing3),borderRadius:wo.extend("--ft-popover-border-radius","",Co.borderRadiusM),shadow:wo.extend("--ft-popover-shadow","",Co.shadowElevation02)},fi={topLeftBorderRadius:wo.extend("--ft-tabs-top-left-border-radius","",Co.borderRadiusS),topRightBorderRadius:wo.extend("--ft-tabs-top-right-border-radius","",Co.borderRadiusS),labelHorizontalPadding:wo.extend("--ft-tabs-label-horizontal-padding","",Co.spacing4),labelVerticalPadding:wo.extend("--ft-tabs-label-vertical-padding","",Co.spacing3),labelGap:wo.extend("--ft-tabs-label-gap","",Co.spacing1),offHoverStateLayerOpacity:wo.extend("--ft-tabs-off-hover-state-layer-opacity","",Co.opacity8),offFocusStateLayerOpacity:wo.extend("--ft-tabs-off-focus-state-layer-opacity","",Co.opacity8),offActiveStateLayerOpacity:wo.extend("--ft-tabs-off-active-state-layer-opacity","",Co.opacity16),offDisabledComponentOpacity:wo.extend("--ft-tabs-off-disabled-component-opacity","",Co.opacity40),offColor:wo.extend("--ft-tabs-off-color","",Qo.contentGlobalSubtle),offStateLayerColor:wo.extend("--ft-tabs-off-state-layer-color","",Qo.contentGlobalSubtle),onHoverStateLayerOpacity:wo.extend("--ft-tabs-on-hover-state-layer-opacity","",Co.opacity8),onFocusStateLayerOpacity:wo.extend("--ft-tabs-on-focus-state-layer-opacity","",Co.opacity8),onActiveStateLayerOpacity:wo.extend("--ft-tabs-on-active-state-layer-opacity","",Co.opacity16),onDisabledComponentOpacity:wo.extend("--ft-tabs-on-disabled-component-opacity","",Co.opacity40),onColor:wo.extend("--ft-tabs-on-color","",Qo.contentActionPrimary),onStateLayerColor:wo.extend("--ft-tabs-on-state-layer-color","",Qo.contentActionPrimary),iconHorizontalPadding:wo.extend("--ft-tabs-icon-horizontal-padding","",Co.spacing1),iconVerticalPadding:wo.extend("--ft-tabs-icon-vertical-padding","",Co.spacing4),focusOutlineWidth:wo.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:wo.extend("--ft-tabs-focus-focus-ring-color","",Qo.borderActionFocusRing)},di={hoverStateLayerOpacity:wo.extend("--ft-collapsible-hover-state-layer-opacity","",Co.opacity8),focusStateLayerOpacity:wo.extend("--ft-collapsible-focus-state-layer-opacity","",Co.opacity8),focusOutlineWidth:wo.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:wo.extend("--ft-collapsible-focus-focus-ring-color","",Qo.borderActionFocusRing),activeStateLayerOpacity:wo.extend("--ft-collapsible-active-state-layer-opacity","",Co.opacity16),disabledComponentOpacity:wo.extend("--ft-collapsible-disabled-component-opacity","",Co.opacity40),horizontalPadding:wo.extend("--ft-collapsible-horizontal-padding","",Co.spacing4),verticalPadding:wo.extend("--ft-collapsible-vertical-padding","",Co.spacing3),color:wo.extend("--ft-collapsible-color","",Qo.contentGlobalPrimary),stateLayerColor:wo.extend("--ft-collapsible-state-layer-color","",Qo.contentGlobalPrimary),backgroundColor:wo.extend("--ft-collapsible-background-color","",Qo.backgroundGlobalOnSurface),borderColor:wo.extend("--ft-collapsible-border-color","",Qo.borderGlobalSubtle),iconSize:wo.extend("--ft-collapsible-icon-size","",Co.iconSize3)},pi={groupHorizontalPadding:wo.extend("--ft-switch-group-horizontal-padding","",Co.spacing1),groupVerticalPadding:wo.extend("--ft-switch-group-vertical-padding","",Co.spacing1),groupGap:wo.extend("--ft-switch-group-gap","",Co.spacing1),groupBackgroundColor:wo.extend("--ft-switch-group-background-color","",Qo.backgroundGlobalSurface),groupBorderColor:wo.extend("--ft-switch-group-border-color","",Qo.borderGlobalSubtle),groupBorderRadius:wo.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:wo.extend("--ft-switch-label-horizontal-padding","",Co.spacing2),labelVerticalPadding:wo.extend("--ft-switch-label-vertical-padding","",Co.spacing1),offHoverStateLayerOpacity:wo.extend("--ft-switch-off-hover-state-layer-opacity","",Co.opacity8),offFocusStateLayerOpacity:wo.extend("--ft-switch-off-focus-state-layer-opacity","",Co.opacity8),offActiveStateLayerOpacity:wo.extend("--ft-switch-off-active-state-layer-opacity","",Co.opacity16),offDisabledComponentOpacity:wo.extend("--ft-switch-off-disabled-component-opacity","",Co.opacity40),offColor:wo.extend("--ft-switch-off-color","",Qo.contentGlobalSubtle),offStateLayerColor:wo.extend("--ft-switch-off-state-layer-color","",Qo.contentGlobalSubtle),onHoverStateLayerOpacity:wo.extend("--ft-switch-on-hover-state-layer-opacity","",Co.opacity8),onFocusStateLayerOpacity:wo.extend("--ft-switch-on-focus-state-layer-opacity","",Co.opacity8),onActiveStateLayerOpacity:wo.extend("--ft-switch-on-active-state-layer-opacity","",Co.opacity16),onDisabledComponentOpacity:wo.extend("--ft-switch-on-disabled-component-opacity","",Co.opacity40),onColor:wo.extend("--ft-switch-on-color","",Qo.contentActionPrimary),onStateLayerColor:wo.extend("--ft-switch-on-state-layer-color","",Qo.contentActionPrimary),iconHorizontalPadding:wo.extend("--ft-switch-icon-horizontal-padding","",Co.spacing1),iconVerticalPadding:wo.extend("--ft-switch-icon-vertical-padding","",Co.spacing1),focusOutlineWidth:wo.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:wo.extend("--ft-switch-focus-focus-ring-color","",Qo.borderActionFocusRing),optionBorderRadius:wo.extend("--ft-switch-option-border-radius","",Co.borderRadiusS)},ui={color1Light:wo.extend("--ft-chart-1-light","for area color charts",Co.colorBrand40),color1Base:wo.extend("--ft-chart-1-base","for line charts",Co.colorBrand0),color2Light:wo.extend("--ft-chart-2-light","for area color charts",Co.colorYellow60),color2Base:wo.extend("--ft-chart-2-base","for line charts",Co.colorYellow100),color3Light:wo.extend("--ft-chart-3-light","",Co.colorUltramarine40),color3Base:wo.extend("--ft-chart-3-base","",Co.colorUltramarine70),color4Light:wo.extend("--ft-chart-4-light","",Co.colorCyan50),color4Base:wo.extend("--ft-chart-4-base","",Co.colorCyan100),color5Light:wo.extend("--ft-chart-5-light","",Co.colorRed40),color5Base:wo.extend("--ft-chart-5-base","",Co.colorRed60),color6Light:wo.extend("--ft-chart-6-light","",Co.colorGreen40),color6Base:wo.extend("--ft-chart-6-base","",Co.colorGreen70),color7Light:wo.extend("--ft-chart-7-light","",Co.colorOrange70),color7Base:wo.extend("--ft-chart-7-base","",Co.colorOrange100),color8Light:wo.extend("--ft-chart-8-light","",Co.colorAvocado70),color8Base:wo.extend("--ft-chart-8-base","",Co.colorAvocado200),color9Light:wo.extend("--ft-chart-9-light","",Co.colorBrown50),color9Base:wo.extend("--ft-chart-9-base","",Co.colorBrown200),color10Light:wo.extend("--ft-chart-10-light","",Co.colorGray50),color10Base:wo.extend("--ft-chart-10-base","",Co.colorGray80),monochrome10:wo.extend("--ft-chart-monochrome-10","",Co.colorBrand10),monochrome20:wo.extend("--ft-chart-monochrome-20","",Co.colorBrand20),monochrome30:wo.extend("--ft-chart-monochrome-30","",Co.colorBrand40),monochrome40:wo.extend("--ft-chart-monochrome-40","",Co.colorBrand60),monochrome50:wo.extend("--ft-chart-monochrome-50","",Co.colorBrand0),monochrome60:wo.extend("--ft-chart-monochrome-60","",Co.colorBrand200)},gi={largeHorizontalPadding:wo.extend("--ft-chip-large-horizontal-padding","",Co.spacing4),largeVerticalPadding:wo.extend("--ft-chip-large-vertical-padding","",Co.spacing2),largeGap:wo.extend("--ft-chip-large-gap","",Co.spacing1),largeFocusOutlineOffset:wo.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:wo.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:wo.extend("--ft-chip-large-border-radius","",Co.borderRadiusPill),largeBorderWidth:wo.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:wo.extend("--ft-chip-large-icon-size","",Co.iconSize3),mediumHorizontalPadding:wo.extend("--ft-chip-medium-horizontal-padding","",Co.spacing3),mediumVerticalPadding:wo.extend("--ft-chip-medium-vertical-padding","",Co.spacing1),mediumGap:wo.extend("--ft-chip-medium-gap","",Co.spacing1),mediumFocusOutlineOffset:wo.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:wo.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:wo.extend("--ft-chip-medium-border-radius","",Co.borderRadiusPill),mediumBorderWidth:wo.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:wo.extend("--ft-chip-medium-icon-size","",Co.iconSize2),smallHorizontalPadding:wo.extend("--ft-chip-small-horizontal-padding","",Co.spacing2),smallVerticalPadding:wo.extend("--ft-chip-small-vertical-padding","",Co.spacing05),smallGap:wo.extend("--ft-chip-small-gap","",Co.spacing1),smallFocusOutlineOffset:wo.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:wo.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:wo.extend("--ft-chip-small-border-radius","",Co.borderRadiusPill),smallBorderWidth:wo.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:wo.extend("--ft-chip-small-icon-size","",Co.iconSize1),neutralBackgroundColor:wo.extend("--ft-chip-neutral-background-color","",Qo.backgroundGlobalOnSurface),neutralColor:wo.extend("--ft-chip-neutral-color","",Qo.contentGlobalPrimary),neutralIconColor:wo.extend("--ft-chip-neutral-icon-color","",Qo.contentGlobalPrimary),neutralBorderColor:wo.extend("--ft-chip-neutral-border-color","",Qo.borderGlobalSubtle),infoBackgroundColor:wo.extend("--ft-chip-info-background-color","",Qo.backgroundInfoSubtle),infoColor:wo.extend("--ft-chip-info-color","",Qo.contentInfoPrimary),infoIconColor:wo.extend("--ft-chip-info-icon-color","",Qo.contentInfoIconOnly),infoBorderColor:wo.extend("--ft-chip-info-border-color","",Qo.borderInfoSubtle),successBackgroundColor:wo.extend("--ft-chip-success-background-color","",Qo.backgroundSuccessSubtle),successColor:wo.extend("--ft-chip-success-color","",Qo.contentSuccessPrimary),successIconColor:wo.extend("--ft-chip-success-icon-color","",Qo.contentSuccessIconOnly),successBorderColor:wo.extend("--ft-chip-success-border-color","",Qo.borderSuccessSubtle),warningBackgroundColor:wo.extend("--ft-chip-warning-background-color","",Qo.backgroundWarningSubtle),warningColor:wo.extend("--ft-chip-warning-color","",Qo.contentWarningPrimary),warningIconColor:wo.extend("--ft-chip-warning-icon-color","",Qo.contentWarningIconOnly),warningBorderColor:wo.extend("--ft-chip-warning-border-color","",Qo.borderWarningSubtle),errorBackgroundColor:wo.extend("--ft-chip-error-background-color","",Qo.backgroundErrorSubtle),errorColor:wo.extend("--ft-chip-error-color","",Qo.contentErrorPrimary),errorIconColor:wo.extend("--ft-chip-error-icon-color","",Qo.contentErrorIconOnly),errorBorderColor:wo.extend("--ft-chip-error-border-color","",Qo.borderErrorSubtle)},yi={infoBorderColor:wo.extend("--ft-border-info-border-color","",Qo.borderInfoSubtle)},bi={borderWidth:wo.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:wo.extend("--ft-notice-horizontal-padding","",Co.spacing2),verticalPadding:wo.extend("--ft-notice-vertical-padding","",Co.spacing1),borderRadius:wo.extend("--ft-notice-border-radius","",Co.borderRadiusS),gap:wo.extend("--ft-notice-gap","",Co.spacing2),iconSize:wo.extend("--ft-notice-icon-size","",Co.iconSize3),infoBackgroundColor:wo.extend("--ft-notice-info-background-color","",Qo.backgroundInfoSubtle),infoBorderColor:wo.extend("--ft-notice-info-border-color","",Qo.borderInfoSubtle),infoColor:wo.extend("--ft-notice-info-color","",Qo.contentInfoPrimary),infoIconColor:wo.extend("--ft-notice-info-icon-color","",Qo.contentInfoIconOnly),warningBackgroundColor:wo.extend("--ft-notice-warning-background-color","",Qo.backgroundWarningSubtle),warningBorderColor:wo.extend("--ft-notice-warning-border-color","",Qo.borderWarningSubtle),warningColor:wo.extend("--ft-notice-warning-color","",Qo.contentWarningPrimary),warningIconColor:wo.extend("--ft-notice-warning-icon-color","",Qo.contentWarningIconOnly),errorBackgroundColor:wo.extend("--ft-notice-error-background-color","",Qo.backgroundErrorSubtle),errorBorderColor:wo.extend("--ft-notice-error-border-color","",Qo.borderErrorSubtle),errorColor:wo.extend("--ft-notice-error-color","",Qo.contentErrorPrimary),errorIconColor:wo.extend("--ft-notice-error-icon-color","",Qo.contentErrorIconOnly),successBackgroundColor:wo.extend("--ft-notice-success-background-color","",Qo.backgroundSuccessSubtle),successBorderColor:wo.extend("--ft-notice-success-border-color","",Qo.borderSuccessSubtle),successColor:wo.extend("--ft-notice-success-color","",Qo.contentSuccessPrimary),successIconColor:wo.extend("--ft-notice-success-icon-color","",Qo.contentSuccessIconOnly)},mi={color:wo.extend("--ft-checkbox-color","",Qo.contentGlobalPrimary),checkedBackgroundColor:wo.extend("--ft-checkbox-checked-background-color","",Qo.contentActionPrimary),checkedStateLayerColor:wo.extend("--ft-checkbox-checked-state-layer-color","",Qo.contentActionPrimary),checkedIconColor:wo.extend("--ft-checkbox-checked-icon-color","",Qo.contentGlobalOnColor),checkedHoverStateLayerOpacity:wo.extend("--ft-checkbox-checked-hover-state-layer-opacity","",Co.opacity16),checkedFocusStateLayerOpacity:wo.extend("--ft-checkbox-checked-focus-state-layer-opacity","",Co.opacity16),checkedActiveStateLayerOpacity:wo.extend("--ft-checkbox-checked-active-state-layer-opacity","",Co.opacity24),checkedDisabledComponentOpacity:wo.extend("--ft-checkbox-checked-disabled-component-opacity","",Co.opacity40),uncheckedBorderColor:wo.extend("--ft-checkbox-unchecked-border-color","",Co.colorGray80),uncheckedStateLayerColor:wo.extend("--ft-checkbox-unchecked-state-layer-color","",Co.colorGray80),uncheckedHoverStateLayerOpacity:wo.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",Co.opacity16),uncheckedFocusStateLayerOpacity:wo.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",Co.opacity16),uncheckedActiveStateLayerOpacity:wo.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",Co.opacity24),uncheckedDisabledComponentOpacity:wo.extend("--ft-checkbox-unchecked-disabled-component-opacity","",Co.opacity40),focusFocusRingColor:wo.extend("--ft-checkbox-focus-focus-ring-color","",Qo.borderActionFocusRing),focusOutlineOffset:wo.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:wo.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:wo.extend("--ft-checkbox-gap","",Co.spacing3)},vi={offHoverStateLayerOpacity:wo.extend("--ft-toggle-off-hover-state-layer-opacity","",Co.opacity16),offFocusStateLayerOpacity:wo.extend("--ft-toggle-off-focus-state-layer-opacity","",Co.opacity16),offActiveStateLayerOpacity:wo.extend("--ft-toggle-off-active-state-layer-opacity","",Co.opacity24),offDisabledComponentOpacity:wo.extend("--ft-toggle-off-disabled-component-opacity","",Co.opacity40),offBackgroundColor:wo.extend("--ft-toggle-off-background-color","",Qo.contentGlobalSubtle),offIconColor:wo.extend("--ft-toggle-off-icon-color","",Qo.contentGlobalSubtle),offStateLayerColor:wo.extend("--ft-toggle-off-state-layer-color","",Qo.contentGlobalSubtle),onHoverStateLayerOpacity:wo.extend("--ft-toggle-on-hover-state-layer-opacity","",Co.opacity16),onFocusStateLayerOpacity:wo.extend("--ft-toggle-on-focus-state-layer-opacity","",Co.opacity16),onActiveStateLayerOpacity:wo.extend("--ft-toggle-on-active-state-layer-opacity","",Co.opacity24),onDisabledComponentOpacity:wo.extend("--ft-toggle-on-disabled-component-opacity","",Co.opacity40),onBackgroundColor:wo.extend("--ft-toggle-on-background-color","",Qo.contentActionPrimary),onStateLayerColor:wo.extend("--ft-toggle-on-state-layer-color","",Qo.contentActionPrimary),onIconColor:wo.extend("--ft-toggle-on-icon-color","",Qo.contentActionPrimary),color:wo.extend("--ft-toggle-color","",Qo.contentGlobalPrimary),focusFocusRingColor:wo.extend("--ft-toggle-focus-focus-ring-color","",Qo.borderActionFocusRing),gap:wo.extend("--ft-toggle-gap","",Co.spacing3)},xi={color:wo.extend("--ft-radio-color","",Qo.contentGlobalPrimary),selectedRadioColor:wo.extend("--ft-radio-selected-radio-color","",Qo.contentActionPrimary),selectedStateLayerColor:wo.extend("--ft-radio-selected-state-layer-color","",Qo.contentActionPrimary),selectedHoverStateLayerOpacity:wo.extend("--ft-radio-selected-hover-state-layer-opacity","",Co.opacity16),selectedFocusStateLayerOpacity:wo.extend("--ft-radio-selected-focus-state-layer-opacity","",Co.opacity16),selectedActiveStateLayerOpacity:wo.extend("--ft-radio-selected-active-state-layer-opacity","",Co.opacity24),selectedDisabledComponentOpacity:wo.extend("--ft-radio-selected-disabled-component-opacity","",Co.opacity40),unselectedStateLayerColor:wo.extend("--ft-radio-unselected-state-layer-color","",Qo.borderInputPrimary),unselectedBorderColor:wo.extend("--ft-radio-unselected-border-color","",Qo.borderInputPrimary),unselectedHoverStateLayerOpacity:wo.extend("--ft-radio-unselected-hover-state-layer-opacity","",Co.opacity16),unselectedFocusStateLayerOpacity:wo.extend("--ft-radio-unselected-focus-state-layer-opacity","",Co.opacity16),unselectedActiveStateLayerOpacity:wo.extend("--ft-radio-unselected-active-state-layer-opacity","",Co.opacity24),unselectedDisabledComponentOpacity:wo.extend("--ft-radio-unselected-disabled-component-opacity","",Co.opacity40),focusFocusRingColor:wo.extend("--ft-radio-focus-focus-ring-color","",Qo.borderActionFocusRing),focusOutlineOffset:wo.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:wo.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:wo.extend("--ft-radio-gap","",Co.spacing3)},Oi={iconSize:wo.extend("--ft-notification-icon-size","",Co.iconSize4),horizontalPadding:wo.extend("--ft-notification-horizontal-padding","",Co.spacing4),verticalPadding:wo.extend("--ft-notification-vertical-padding","",Co.spacing4),infoBackgroundColor:wo.extend("--ft-notification-info-background-color","",Qo.backgroundInfoSubtle),infoColor:wo.extend("--ft-notification-info-color","",Qo.contentInfoPrimary),infoIconColor:wo.extend("--ft-notification-info-icon-color","",Qo.contentInfoIconOnly),infoBorderColor:wo.extend("--ft-notification-info-border-color","",Qo.borderInfoSubtle),successBackgroundColor:wo.extend("--ft-notification-success-background-color","",Qo.backgroundSuccessSubtle),successColor:wo.extend("--ft-notification-success-color","",Qo.contentSuccessPrimary),successIconColor:wo.extend("--ft-notification-success-icon-color","",Qo.contentSuccessIconOnly),successBorderColor:wo.extend("--ft-notification-success-border-color","",Qo.borderSuccessSubtle),warningBackgroundColor:wo.extend("--ft-notification-warning-background-color","",Qo.backgroundWarningSubtle),warningColor:wo.extend("--ft-notification-warning-color","",Qo.contentWarningPrimary),warningIconColor:wo.extend("--ft-notification-warning-icon-color","",Qo.contentWarningIconOnly),warningBorderColor:wo.extend("--ft-notification-warning-border-color","",Qo.borderWarningSubtle),errorBackgroundColor:wo.extend("--ft-notification-error-background-color","",Qo.backgroundErrorSubtle),errorColor:wo.extend("--ft-notification-error-color","",Qo.contentErrorPrimary),errorIconColor:wo.extend("--ft-notification-error-icon-color","",Qo.contentErrorIconOnly),errorBorderColor:wo.extend("--ft-notification-error-border-color","",Qo.borderErrorSubtle),borderRadius:wo.extend("--ft-notification-border-radius","",Co.borderRadiusPill),borderWidth:wo.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:wo.extend("--ft-notification-leading-gap","",Co.spacing2),trailingGap:wo.extend("--ft-notification-trailing-gap","",Co.spacing8)},wi={horizontalPadding:wo.extend("--ft-tooltip-horizontal-padding","",Co.spacing2),verticalPadding:wo.extend("--ft-tooltip-vertical-padding","",Co.spacing2),borderRadius:wo.extend("--ft-tooltip-border-radius","",Co.borderRadiusS),color:wo.extend("--ft-tooltip-color","",Qo.contentGlobalOnColor),backgroundColor:wo.extend("--ft-tooltip-background-color","",Qo.contentGlobalPrimary),backgroundOpacity:wo.extend("--ft-tooltip-background-opacity","",Co.opacity80),shadow:wo.extend("--ft-tooltip-shadow","",Co.shadowElevation03),maxWidth:wo.create("--ft-tooltip-max-width","","SIZE","256px"),gap:wo.extend("--ft-tooltip-gap","",Co.spacing05)};var Si=Object.freeze({__proto__:null,FtCssVariableFactory:wo,banner:ti,border:yi,breadcrumb:ei,button:Xo,chart:ui,checkbox:mi,chip:gi,collapsible:di,comboboxMultiSelect:ci,comboboxSingleSelect:li,drawer:ri,floatingMenu:si,foundation:Co,modal:ii,notice:bi,notification:Oi,pageHeader:oi,popover:hi,radio:xi,semantic:Qo,setVariable:So,switch_:pi,tabs:fi,textArea:ai,textInput:ni,toggle:vi,tooltip:wi,typographies:Jo,typographyBody1Medium:Io,typographyBody1Regular:Ro,typographyBody1Semibold:Lo,typographyBody2Medium:Ao,typographyBody2MediumUnderline:Wo,typographyBody2Regular:Uo,typographyBody2Semibold:zo,typographyCaption1Bold:Ho,typographyCaption1Medium:To,typographyCaption1Semibold:Mo,typographyCaption2Bold:Go,typographyCaption2Medium:Ko,typographyCaption2Semibold:Zo,typographyCaption3Bold:Yo,typographyCaption3Medium:Vo,typographyCaption3Semibold:qo,typographyDisplay:No,typographyLabel1Bold:_o,typographyLabel1Medium:Bo,typographyLabel1Semibold:Fo,typographyLabel2Bold:Do,typographyLabel2Medium:Po,typographyLabel2Semibold:jo,typographyTitle1:$o,typographyTitle2:Eo,typographyTitle3:ko,typographyVariants:["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"]});const Ci={colorPrimary:wo.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:wo.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:wo.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:wo.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:wo.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:wo.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:wo.create("--ft-color-error","","COLOR","#B00020"),colorOutline:wo.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:wo.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:wo.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:wo.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:wo.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:wo.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:wo.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:wo.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:wo.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:wo.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:wo.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:wo.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:wo.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:wo.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:wo.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:wo.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:wo.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:wo.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:wo.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:wo.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:wo.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:wo.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:wo.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:wo.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:wo.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:wo.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:wo.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:wo.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:wo.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:wo.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:wo.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:wo.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:wo.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:wo.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:wo.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:wo.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:wo.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:wo.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:wo.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:wo.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:wo.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:wo.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:wo.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:wo.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:wo.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:wo.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:wo.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:wo.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:wo.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:wo.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:wo.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:wo.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:wo.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:wo.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:wo.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Ni=Object.freeze({__proto__:null,designSystemVariables:Ci});class $i extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class Ei extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class ki extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var Ri=Object.freeze({__proto__:null,FtNotificationEvent:$i,PostResizeEvent:ki,PreResizeEvent:Ei});const Ii=["start","end"],Li=["top","right","bottom","left"].reduce(((t,e)=>t.concat(e,e+"-"+Ii[0],e+"-"+Ii[1])),[]),Ui=Math.min,Ai=Math.max,Wi=Math.round,zi=t=>({x:t,y:t}),Bi={left:"right",right:"left",bottom:"top",top:"bottom"},Fi={start:"end",end:"start"};function _i(t,e,o){return Ai(t,Ui(e,o))}function Pi(t,e){return"function"==typeof t?t(e):t}function ji(t){return t.split("-")[0]}function Di(t){return t.split("-")[1]}function Ti(t){return"x"===t?"y":"x"}function Mi(t){return"y"===t?"height":"width"}function Hi(t){return["top","bottom"].includes(ji(t))?"y":"x"}function Ki(t){return Ti(Hi(t))}function Zi(t){return t.replace(/left|right|bottom|top/g,(t=>Bi[t]))}function Gi(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Vi(t,e,o){let{reference:i,floating:r}=t;const n=Hi(e),a=Ki(e),s=Mi(a),l=ji(e),c="y"===n,h=i.x+i.width/2-r.width/2,f=i.y+i.height/2-r.height/2,d=i[s]/2-r[s]/2;let p;switch(l){case"top":p={x:h,y:i.y-r.height};break;case"bottom":p={x:h,y:i.y+i.height};break;case"right":p={x:i.x+i.width,y:f};break;case"left":p={x:i.x-r.width,y:f};break;default:p={x:i.x,y:i.y}}switch(Di(e)){case"start":p[a]-=d*(o&&c?-1:1);break;case"end":p[a]+=d*(o&&c?-1:1)}return p}async function qi(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:h="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=Pi(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}}(p),g=s[d?"floating"===f?"reference":"floating":f],y=Gi(await n.getClippingRect({element:null==(o=await(null==n.isElement?void 0:n.isElement(g)))||o?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(s.floating)),boundary:c,rootBoundary:h,strategy:l})),b="floating"===f?{...a.floating,x:i,y:r}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(s.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},x=Gi(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(y.top-x.top+u.top)/v.y,bottom:(x.bottom-y.bottom+u.bottom)/v.y,left:(y.left-x.left+u.left)/v.x,right:(x.right-y.right+u.right)/v.x}}function Yi(t,e,o){return(t?[...o.filter((e=>Di(e)===t)),...o.filter((e=>Di(e)!==t))]:o.filter((t=>ji(t)===t))).filter((o=>!t||(Di(o)===t||!!e&&function(t){return t.replace(/start|end/g,(t=>Fi[t]))}(o)!==o)))}const Ji=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:h=!1,alignment:f,allowedPlacements:d=Li,autoAlignment:p=!0,...u}=Pi(t,e),g=void 0!==f||d===Li?Yi(f||null,p,d):d,y=await qi(e,u),b=(null==(o=a.autoPlacement)?void 0:o.index)||0,m=g[b];if(null==m)return{};const v=function(t,e,o){void 0===o&&(o=!1);const i=Di(t),r=Ki(t),n=Mi(r);let a="x"===r?i===(o?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[n]>e.floating[n]&&(a=Zi(a)),[a,Zi(a)]}(m,n,await(null==l.isRTL?void 0:l.isRTL(c.floating)));if(s!==m)return{reset:{placement:g[0]}};const x=[y[ji(m)],y[v[0]],y[v[1]]],O=[...(null==(i=a.autoPlacement)?void 0:i.overflows)||[],{placement:m,overflows:x}],w=g[b+1];if(w)return{data:{index:b+1,overflows:O},reset:{placement:w}};const S=O.map((t=>{const e=Di(t.placement);return[t.placement,e&&h?t.overflows.slice(0,2).reduce(((t,e)=>t+e),0):t.overflows[0],t.overflows]})).sort(((t,e)=>t[1]-e[1])),C=S.filter((t=>t[2].slice(0,Di(t[0])?2:3).every((t=>t<=0)))),N=(null==(r=C[0])?void 0:r[0])||S[0][0];return N!==s?{data:{index:b+1,overflows:O},reset:{placement:N}}:{}}}};function Qi(t){return er(t)?(t.nodeName||"").toLowerCase():"#document"}function Xi(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function tr(t){var e;return null==(e=(er(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function er(t){return t instanceof Node||t instanceof Xi(t).Node}function or(t){return t instanceof Element||t instanceof Xi(t).Element}function ir(t){return t instanceof HTMLElement||t instanceof Xi(t).HTMLElement}function rr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Xi(t).ShadowRoot)}function nr(t){const{overflow:e,overflowX:o,overflowY:i,display:r}=hr(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+o)&&!["inline","contents"].includes(r)}function ar(t){return["table","td","th"].includes(Qi(t))}function sr(t){const e=lr(),o=hr(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 lr(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function cr(t){return["html","body","#document"].includes(Qi(t))}function hr(t){return Xi(t).getComputedStyle(t)}function fr(t){return or(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function dr(t){if("html"===Qi(t))return t;const e=t.assignedSlot||t.parentNode||rr(t)&&t.host||tr(t);return rr(e)?e.host:e}function pr(t){const e=dr(t);return cr(e)?t.ownerDocument?t.ownerDocument.body:t.body:ir(e)&&nr(e)?e:pr(e)}function ur(t,e,o){var i;void 0===e&&(e=[]),void 0===o&&(o=!0);const r=pr(t),n=r===(null==(i=t.ownerDocument)?void 0:i.body),a=Xi(r);return n?e.concat(a,a.visualViewport||[],nr(r)?r:[],a.frameElement&&o?ur(a.frameElement):[]):e.concat(r,ur(r,[],o))}function gr(t){const e=hr(t);let o=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const r=ir(t),n=r?t.offsetWidth:o,a=r?t.offsetHeight:i,s=Wi(o)!==n||Wi(i)!==a;return s&&(o=n,i=a),{width:o,height:i,$:s}}function yr(t){return or(t)?t:t.contextElement}function br(t){const e=yr(t);if(!ir(e))return zi(1);const o=e.getBoundingClientRect(),{width:i,height:r,$:n}=gr(e);let a=(n?Wi(o.width):o.width)/i,s=(n?Wi(o.height):o.height)/r;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}const mr=zi(0);function vr(t){const e=Xi(t);return lr()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:mr}function xr(t,e,o,i){void 0===e&&(e=!1),void 0===o&&(o=!1);const r=t.getBoundingClientRect(),n=yr(t);let a=zi(1);e&&(i?or(i)&&(a=br(i)):a=br(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==Xi(t))&&e}(n,o,i)?vr(n):zi(0);let l=(r.left+s.x)/a.x,c=(r.top+s.y)/a.y,h=r.width/a.x,f=r.height/a.y;if(n){const t=Xi(n),e=i&&or(i)?Xi(i):i;let o=t.frameElement;for(;o&&i&&e!==t;){const t=br(o),e=o.getBoundingClientRect(),i=hr(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,h*=t.x,f*=t.y,l+=r,c+=n,o=Xi(o).frameElement}}return Gi({width:h,height:f,x:l,y:c})}function Or(t){return xr(tr(t)).left+fr(t).scrollLeft}function wr(t,e,o){let i;if("viewport"===e)i=function(t,e){const o=Xi(t),i=tr(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=lr();(!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=tr(t),o=fr(t),i=t.ownerDocument.body,r=Ai(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),n=Ai(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-o.scrollLeft+Or(t);const s=-o.scrollTop;return"rtl"===hr(i).direction&&(a+=Ai(e.clientWidth,i.clientWidth)-r),{width:r,height:n,x:a,y:s}}(tr(t));else if(or(e))i=function(t,e){const o=xr(t,!0,"fixed"===e),i=o.top+t.clientTop,r=o.left+t.clientLeft,n=ir(t)?br(t):zi(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=vr(t);i={...e,x:e.x-o.x,y:e.y-o.y}}return Gi(i)}function Sr(t,e){const o=dr(t);return!(o===e||!or(o)||cr(o))&&("fixed"===hr(o).position||Sr(o,e))}function Cr(t,e,o){const i=ir(e),r=tr(e),n="fixed"===o,a=xr(t,!0,n,e);let s={scrollLeft:0,scrollTop:0};const l=zi(0);if(i||!i&&!n)if(("body"!==Qi(e)||nr(r))&&(s=fr(e)),i){const t=xr(e,!0,n,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else r&&(l.x=Or(r));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function Nr(t,e){return ir(t)&&"fixed"!==hr(t).position?e?e(t):t.offsetParent:null}function $r(t,e){const o=Xi(t);if(!ir(t))return o;let i=Nr(t,e);for(;i&&ar(i)&&"static"===hr(i).position;)i=Nr(i,e);return i&&("html"===Qi(i)||"body"===Qi(i)&&"static"===hr(i).position&&!sr(i))?o:i||function(t){let e=dr(t);for(;ir(e)&&!cr(e);){if(sr(e))return e;e=dr(e)}return null}(t)||o}const Er={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:o,strategy:i}=t;const r=ir(o),n=tr(o);if(o===n)return e;let a={scrollLeft:0,scrollTop:0},s=zi(1);const l=zi(0);if((r||!r&&"fixed"!==i)&&(("body"!==Qi(o)||nr(n))&&(a=fr(o)),ir(o))){const t=xr(o);s=br(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:tr,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=ur(t,[],!1).filter((t=>or(t)&&"body"!==Qi(t))),r=null;const n="fixed"===hr(t).position;let a=n?dr(t):t;for(;or(a)&&!cr(a);){const e=hr(a),o=sr(a);o||"fixed"!==e.position||(r=null),(n?!o&&!r:!o&&"static"===e.position&&r&&["absolute","fixed"].includes(r.position)||nr(a)&&!o&&Sr(t,a))?i=i.filter((t=>t!==a)):r=e,a=dr(a)}return e.set(t,i),i}(e,this._c):[].concat(o),i],a=n[0],s=n.reduce(((t,o)=>{const i=wr(e,o,r);return t.top=Ai(i.top,t.top),t.right=Ui(i.right,t.right),t.bottom=Ui(i.bottom,t.bottom),t.left=Ai(i.left,t.left),t}),wr(e,a,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:$r,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||$r,n=this.getDimensions;return{reference:Cr(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 gr(t)},getScale:br,isElement:or,isRTL:function(t){return"rtl"===hr(t).direction}},kr=(t,e,o)=>{const i=new Map,r={platform:Er,...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:h,y:f}=Vi(c,i,l),d=i,p={},u=0;for(let o=0;o<s.length;o++){const{name:n,fn:g}=s[o],{x:y,y:b,data:m,reset:v}=await g({x:h,y:f,initialPlacement:i,placement:d,strategy:r,middlewareData:p,rects:c,platform:a,elements:{reference:t,floating:e}});h=null!=y?y:h,f=null!=b?b:f,p={...p,[n]:{...p[n],...m}},v&&u<=50&&(u++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:e,strategy:r}):v.rects),({x:h,y:f}=Vi(c,d,l))),o=-1)}return{x:h,y:f,placement:d,strategy:r,middlewareData:p}})(t,e,{...r,platform:n})};function Rr(t){return function(t){for(let e=t;e;e=Ir(e))if(e instanceof Element&&"none"===getComputedStyle(e).display)return null;for(let e=Ir(t);e;e=Ir(e)){if(!(e instanceof Element))continue;const t=getComputedStyle(e);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return e;if("BODY"===e.tagName)return e}}return null}(t)}function Ir(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}async function Lr(t,e,o){return kr(t,e,{platform:{...Er,getOffsetParent:t=>Er.getOffsetParent(t,Rr)},middleware:[(i={crossAxis:!0},void 0===i&&(i={}),{name:"shift",options:i,async fn(t){const{x:e,y:o,placement:r}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=Pi(i,t),c={x:e,y:o},h=await qi(t,l),f=Hi(ji(r)),d=Ti(f);let p=c[d],u=c[f];if(n){const t="y"===d?"bottom":"right";p=_i(p+h["y"===d?"top":"left"],p,p-h[t])}if(a){const t="y"===f?"bottom":"right";u=_i(u+h["y"===f?"top":"left"],u,u-h[t])}const g=s.fn({...t,[d]:p,[f]:u});return{...g,data:{x:g.x-e,y:g.y-o}}}}),Ji({allowedPlacements:[o]})]});var i}var Ur=Object.freeze({__proto__:null,computeOffsetPosition:Lr});
135
135
  /**
136
136
  * @license
137
137
  * Copyright 2019 Google LLC
138
138
  * SPDX-License-Identifier: BSD-3-Clause
139
- */const Ar=window,Wr=Ar.ShadowRoot&&(void 0===Ar.ShadyCSS||Ar.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class zr extends be{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{Wr?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=Ar.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Br,Fr=Object.freeze({__proto__:null,ScopedRegistryLitElement:zr}),_r=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 Pr=Symbol("constructorPrototype"),jr=Symbol("constructorName"),Dr=Symbol("exportpartsDebouncer");class Tr extends zr{constructor(){super(),this.adoptedCustomStyleSheet=new CSSStyleSheet,this.useAdoptedStyleSheets=!0,this[Br]=new lo(5),this[jr]=this.constructor.name,this[Pr]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[jr]&&Object.setPrototypeOf(this,this[Pr])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet])}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}}updated(t){super.updated(t),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){}applyCustomStylesheet(t){var e,o,i;if(this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync(null!==(e=this.customStylesheet)&&void 0!==e?e:"")}catch(t){console.error(t,this.customStylesheet)}}else if((null!==(i=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==i?i:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){var t,e,o;((null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())||null!==(o=null===(e=this.exportpartsPrefixes)||void 0===e?void 0:e.length)&&void 0!==o&&o)&&this[Dr].run((()=>{var t,e;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&(null===(e=this.exportpartsPrefixes)||void 0===e?void 0:e.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,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 h=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}}Br=Dr,_r([we()],Tr.prototype,"exportpartsPrefix",void 0),_r([mo([])],Tr.prototype,"exportpartsPrefixes",void 0),_r([we()],Tr.prototype,"customStylesheet",void 0);var Mr=Object.freeze({__proto__:null,FtLitElement:Tr}),Kr=Object.freeze({__proto__:null});class Hr{constructor(t,e=!0,o=[],i=5e3){this.ctx=t,this.iframes=e,this.exclude=o,this.iframesTimeout=i}static matches(t,e){const o="string"==typeof e?[e]:e,i=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(i){let e=!1;return o.every((o=>!i.call(t,o)||(e=!0,!1))),e}return!1}getContexts(){let t,e=[];return t=void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[],t.forEach((t=>{const o=e.filter((e=>e.contains(t))).length>0;-1!==e.indexOf(t)||o||e.push(t)})),e}getIframeContents(t,e,o=(()=>{})){let i;try{const e=t.contentWindow;if(i=e.document,!e||!i)throw new Error("iframe inaccessible")}catch(t){o()}i&&e(i)}isIframeBlank(t){const e="about:blank",o=t.getAttribute("src").trim();return t.contentWindow.location.href===e&&o!==e&&o}observeIframeLoad(t,e,o){let i=!1,r=null;const n=()=>{if(!i){i=!0,clearTimeout(r);try{this.isIframeBlank(t)||(t.removeEventListener("load",n),this.getIframeContents(t,e,o))}catch(t){o()}}};t.addEventListener("load",n),r=setTimeout(n,this.iframesTimeout)}onIframeReady(t,e,o){try{"complete"===t.contentWindow.document.readyState?this.isIframeBlank(t)?this.observeIframeLoad(t,e,o):this.getIframeContents(t,e,o):this.observeIframeLoad(t,e,o)}catch(t){o()}}waitForIframes(t,e){let o=0;this.forEachIframe(t,(()=>!0),(t=>{o++,this.waitForIframes(t.querySelector("html"),(()=>{--o||e()}))}),(t=>{t||e()}))}forEachIframe(t,e,o,i=(()=>{})){let r=t.querySelectorAll("iframe"),n=r.length,a=0;r=Array.prototype.slice.call(r);const s=()=>{--n<=0&&i(a)};n||s(),r.forEach((t=>{Hr.matches(t,this.exclude)?s():this.onIframeReady(t,(i=>{e(t)&&(a++,o(i)),s()}),s)}))}createIterator(t,e,o){return document.createNodeIterator(t,e,o,!1)}createInstanceOnIframe(t){return new Hr(t.querySelector("html"),this.iframes)}compareNodeIframe(t,e,o){if(t.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_PRECEDING){if(null===e)return!0;if(e.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}getIteratorNode(t){const e=t.previousNode();let o;return o=(null===e||t.nextNode())&&t.nextNode(),{prevNode:e,node:o}}checkIframeFilter(t,e,o,i){let r=!1,n=!1;return i.forEach(((t,e)=>{t.val===o&&(r=e,n=t.handled)})),this.compareNodeIframe(t,e,o)?(!1!==r||n?!1===r||n||(i[r].handled=!0):i.push({val:o,handled:!0}),!0):(!1===r&&i.push({val:o,handled:!1}),!1)}handleOpenIframes(t,e,o,i){t.forEach((t=>{t.handled||this.getIframeContents(t.val,(t=>{this.createInstanceOnIframe(t).forEachNode(e,o,i)}))}))}iterateThroughNodes(t,e,o,i,r){const n=this.createIterator(e,t,i);let a,s,l=[],c=[],h=()=>(({prevNode:s,node:a}=this.getIteratorNode(n)),a);for(;h();)this.iframes&&this.forEachIframe(e,(t=>this.checkIframeFilter(a,s,t,l)),(e=>{this.createInstanceOnIframe(e).forEachNode(t,(t=>c.push(t)),i)})),c.push(a);c.forEach((t=>{o(t)})),this.iframes&&this.handleOpenIframes(l,t,o,i),r()}forEachNode(t,e,o,i=(()=>{})){const r=this.getContexts();let n=r.length;n||i(),r.forEach((r=>{const a=()=>{this.iterateThroughNodes(t,r,e,o,(()=>{--n<=0&&i()}))};this.iframes?this.waitForIframes(r,a):a()}))}}const Zr=function(t){const e=new class{constructor(t){this.ctx=t,this.ie=!1;const e=window.navigator.userAgent;(e.indexOf("MSIE")>-1||e.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new Hr(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,e="debug"){const o=this.opt.log;this.opt.debug&&"object"==typeof o&&"function"==typeof o[e]&&o[e](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return"disabled"!==this.opt.wildcards&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),"disabled"!==this.opt.wildcards&&(t=this.createWildcardsRegExp(t)),this.createAccuracyRegExp(t)}createSynonymsRegExp(t){const e=this.opt.synonyms,o=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let r in e)if(e.hasOwnProperty(r)){const n=e[r],a="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(r):this.escapeStr(r),s="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(n):this.escapeStr(n);""!==a&&""!==s&&(t=t.replace(new RegExp(`(${this.escapeStr(a)}|${this.escapeStr(s)})`,`gm${o}`),i+`(${this.processSynomyms(a)}|`+`${this.processSynomyms(s)})`+i))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return(t=t.replace(/(?:\\)*\?/g,(t=>"\\"===t.charAt(0)?"?":""))).replace(/(?:\\)*\*/g,(t=>"\\"===t.charAt(0)?"*":""))}createWildcardsRegExp(t){let e="withSpaces"===this.opt.wildcards;return t.replace(/\u0001/g,e?"[\\S\\s]?":"\\S?").replace(/\u0002/g,e?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,((t,e,o)=>{let i=o.charAt(e+1);return/[(|)\\]/.test(i)||""===i?t:t+"\0"}))}createJoinersRegExp(t){let e=[];const o=this.opt.ignorePunctuation;return Array.isArray(o)&&o.length&&e.push(this.escapeStr(o.join(""))),this.opt.ignoreJoiners&&e.push("\\u00ad\\u200b\\u200c\\u200d"),e.length?t.split(/\u0000+/).join(`[${e.join("")}]*`):t}createDiacriticsRegExp(t){const e=this.opt.caseSensitive?"":"i",o=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let i=[];return t.split("").forEach((r=>{o.every((o=>{if(-1!==o.indexOf(r)){if(i.indexOf(o)>-1)return!1;t=t.replace(new RegExp(`[${o}]`,`gm${e}`),`[${o}]`),i.push(o)}return!0}))})),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gim,"[\\s]+")}createAccuracyRegExp(t){let e=this.opt.accuracy,o="string"==typeof e?e:e.value,i="string"==typeof e?[]:e.limiters,r="";switch(i.forEach((t=>{r+=`|${this.escapeStr(t)}`})),o){case"partially":default:return`()(${t})`;case"complementary":return r="\\s"+(r||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿")),`()([^${r}]*${t}[^${r}]*)`;case"exactly":return`(^|\\s${r})(${t})(?=$|\\s${r})`}}getSeparatedKeywords(t){let e=[];return t.forEach((t=>{this.opt.separateWordSearch?t.split(" ").forEach((t=>{t.trim()&&-1===e.indexOf(t)&&e.push(t)})):t.trim()&&-1===e.indexOf(t)&&e.push(t)})),{keywords:e.sort(((t,e)=>e.length-t.length)),length:e.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||"[object Object]"!==Object.prototype.toString.call(t[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];const e=[];let o=0;return t.sort(((t,e)=>t.start-e.start)).forEach((t=>{let{start:i,end:r,valid:n}=this.callNoMatchOnInvalidRanges(t,o);n&&(t.start=i,t.length=r-i,e.push(t),o=r)})),e}callNoMatchOnInvalidRanges(t,e){let o,i,r=!1;return t&&void 0!==t.start?(o=parseInt(t.start,10),i=o+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&i-e>0&&i-o>0?r=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:o,end:i,valid:r}}checkWhitespaceRanges(t,e,o){let i,r=!0,n=o.length,a=e-n,s=parseInt(t.start,10)-a;return s=s>n?n:s,i=s+parseInt(t.length,10),i>n&&(i=n,this.log(`End range automatically set to the max value of ${n}`)),s<0||i-s<0||s>n||i>n?(r=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):""===o.substring(s,i).replace(/\s+/g,"")&&(r=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:s,end:i,valid:r}}getTextNodes(t){let e="",o=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(t=>{o.push({start:e.length,end:(e+=t.textContent).length,node:t})}),(t=>this.matchesExclude(t.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT),(()=>{t({value:e,nodes:o})}))}matchesExclude(t){return Hr.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,e,o){const i=this.opt.element?this.opt.element:"mark",r=t.splitText(e),n=r.splitText(o-e);let a=document.createElement(i);return a.setAttribute("data-markjs","true"),this.opt.className&&a.setAttribute("class",this.opt.className),a.textContent=r.textContent,r.parentNode.replaceChild(a,r),n}wrapRangeInMappedTextNode(t,e,o,i,r){t.nodes.every(((n,a)=>{const s=t.nodes[a+1];if(void 0===s||s.start>e){if(!i(n.node))return!1;const s=e-n.start,l=(o>n.end?n.end:o)-n.start,c=t.value.substr(0,n.start),h=t.value.substr(l+n.start);if(n.node=this.wrapRangeInTextNode(n.node,s,l),t.value=c+h,t.nodes.forEach(((e,o)=>{o>=a&&(t.nodes[o].start>0&&o!==a&&(t.nodes[o].start-=l),t.nodes[o].end-=l)})),o-=l,r(n.node.previousSibling,n.start),!(o>n.end))return!1;e=n.end}return!0}))}wrapMatches(t,e,o,i,r){const n=0===e?0:e+1;this.getTextNodes((e=>{e.nodes.forEach((e=>{let r;for(e=e.node;null!==(r=t.exec(e.textContent))&&""!==r[n];){if(!o(r[n],e))continue;let a=r.index;if(0!==n)for(let t=1;t<n;t++)a+=r[t].length;e=this.wrapRangeInTextNode(e,a,a+r[n].length),i(e.previousSibling),t.lastIndex=0}})),r()}))}wrapMatchesAcrossElements(t,e,o,i,r){const n=0===e?0:e+1;this.getTextNodes((e=>{let a;for(;null!==(a=t.exec(e.value))&&""!==a[n];){let r=a.index;if(0!==n)for(let t=1;t<n;t++)r+=a[t].length;const s=r+a[n].length;this.wrapRangeInMappedTextNode(e,r,s,(t=>o(a[n],t)),((e,o)=>{t.lastIndex=o,i(e)}))}r()}))}wrapRangeFromIndex(t,e,o,i){this.getTextNodes((r=>{const n=r.value.length;t.forEach(((t,i)=>{let{start:a,end:s,valid:l}=this.checkWhitespaceRanges(t,n,r.value);l&&this.wrapRangeInMappedTextNode(r,a,s,(o=>e(o,t,r.value.substring(a,s),i)),(e=>{o(e,t)}))})),i()}))}unwrapMatches(t){const e=t.parentNode;let o=document.createDocumentFragment();for(;t.firstChild;)o.appendChild(t.removeChild(t.firstChild));e.replaceChild(o,t),this.ie?this.normalizeTextNode(e):e.normalize()}normalizeTextNode(t){if(t){if(3===t.nodeType)for(;t.nextSibling&&3===t.nextSibling.nodeType;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,e){this.opt=e,this.log(`Searching with expression "${t}"`);let o=0,i="wrapMatches";this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](t,this.opt.ignoreGroups,((t,e)=>this.opt.filter(e,t,o)),(t=>{o++,this.opt.each(t)}),(()=>{0===o&&this.opt.noMatch(t),this.opt.done(o)}))}mark(t,e){this.opt=e;let o=0,i="wrapMatches";const{keywords:r,length:n}=this.getSeparatedKeywords("string"==typeof t?[t]:t),a=this.opt.caseSensitive?"":"i",s=t=>{let e=new RegExp(this.createRegExp(t),`gm${a}`),l=0;this.log(`Searching with expression "${e}"`),this[i](e,1,((e,i)=>this.opt.filter(i,t,o,l)),(t=>{l++,o++,this.opt.each(t)}),(()=>{0===l&&this.opt.noMatch(t),r[n-1]===t?this.opt.done(o):s(r[r.indexOf(t)+1])}))};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),0===n?this.opt.done(o):s(r[0])}markRanges(t,e){this.opt=e;let o=0,i=this.checkRanges(t);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,((t,e,o,i)=>this.opt.filter(t,e,o,i)),((t,e)=>{o++,this.opt.each(t,e)}),(()=>{this.opt.done(o)}))):this.opt.done(o)}unmark(t){this.opt=t;let e=this.opt.element?this.opt.element:"*";e+="[data-markjs]",this.opt.className&&(e+=`.${this.opt.className}`),this.log(`Removal selector "${e}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,(t=>{this.unwrapMatches(t)}),(t=>{const o=Hr.matches(t,e),i=this.matchesExclude(t);return!o||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),this.opt.done)}}(t);return this.mark=(t,o)=>(e.mark(t,o),this),this.markRegExp=(t,o)=>(e.markRegExp(t,o),this),this.markRanges=(t,o)=>(e.markRanges(t,o),this),this.unmark=t=>(e.unmark(t),this),this},Gr=wo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Vr=dt`
139
+ */const Ar=window,Wr=Ar.ShadowRoot&&(void 0===Ar.ShadyCSS||Ar.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class zr extends be{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([e,o])=>t.registry.define(e,o))));const e={...t.shadowRootOptions,customElements:t.registry},o=this.renderOptions.creationScope=this.attachShadow(e);return((t,e)=>{Wr?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{const o=document.createElement("style"),i=Ar.litNonce;void 0!==i&&o.setAttribute("nonce",i),o.textContent=e.cssText,t.appendChild(o)}))})(o,t.elementStyles),o}}var Br,Fr=Object.freeze({__proto__:null,ScopedRegistryLitElement:zr}),_r=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 Pr=Symbol("constructorPrototype"),jr=Symbol("constructorName"),Dr=Symbol("exportpartsDebouncer");class Tr extends zr{constructor(){super(),this.adoptedCustomStyleSheet=new CSSStyleSheet,this.useAdoptedStyleSheets=!0,this[Br]=new lo(5),this[jr]=this.constructor.name,this[Pr]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[jr]&&Object.setPrototypeOf(this,this[Pr])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet])}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}}updated(t){super.updated(t),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){}applyCustomStylesheet(t){var e,o,i;if(this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync(null!==(e=this.customStylesheet)&&void 0!==e?e:"")}catch(t){console.error(t,this.customStylesheet)}}else if((null!==(i=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==i?i:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){var t,e,o;((null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())||null!==(o=null===(e=this.exportpartsPrefixes)||void 0===e?void 0:e.length)&&void 0!==o&&o)&&this[Dr].run((()=>{var t,e;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&(null===(e=this.exportpartsPrefixes)||void 0===e?void 0:e.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var e,o,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 h=[...c.values()].flatMap((t=>l.map((e=>`${t}:${e}--${t}`))));this.setAttribute("exportparts",[...this.part,...h].join(", "))}}Br=Dr,_r([we()],Tr.prototype,"exportpartsPrefix",void 0),_r([mo([])],Tr.prototype,"exportpartsPrefixes",void 0),_r([we()],Tr.prototype,"customStylesheet",void 0);var Mr=Object.freeze({__proto__:null,FtLitElement:Tr}),Hr=Object.freeze({__proto__:null});class Kr{constructor(t,e=!0,o=[],i=5e3){this.ctx=t,this.iframes=e,this.exclude=o,this.iframesTimeout=i}static matches(t,e){const o="string"==typeof e?[e]:e,i=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(i){let e=!1;return o.every((o=>!i.call(t,o)||(e=!0,!1))),e}return!1}getContexts(){let t,e=[];return t=void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[],t.forEach((t=>{const o=e.filter((e=>e.contains(t))).length>0;-1!==e.indexOf(t)||o||e.push(t)})),e}getIframeContents(t,e,o=(()=>{})){let i;try{const e=t.contentWindow;if(i=e.document,!e||!i)throw new Error("iframe inaccessible")}catch(t){o()}i&&e(i)}isIframeBlank(t){const e="about:blank",o=t.getAttribute("src").trim();return t.contentWindow.location.href===e&&o!==e&&o}observeIframeLoad(t,e,o){let i=!1,r=null;const n=()=>{if(!i){i=!0,clearTimeout(r);try{this.isIframeBlank(t)||(t.removeEventListener("load",n),this.getIframeContents(t,e,o))}catch(t){o()}}};t.addEventListener("load",n),r=setTimeout(n,this.iframesTimeout)}onIframeReady(t,e,o){try{"complete"===t.contentWindow.document.readyState?this.isIframeBlank(t)?this.observeIframeLoad(t,e,o):this.getIframeContents(t,e,o):this.observeIframeLoad(t,e,o)}catch(t){o()}}waitForIframes(t,e){let o=0;this.forEachIframe(t,(()=>!0),(t=>{o++,this.waitForIframes(t.querySelector("html"),(()=>{--o||e()}))}),(t=>{t||e()}))}forEachIframe(t,e,o,i=(()=>{})){let r=t.querySelectorAll("iframe"),n=r.length,a=0;r=Array.prototype.slice.call(r);const s=()=>{--n<=0&&i(a)};n||s(),r.forEach((t=>{Kr.matches(t,this.exclude)?s():this.onIframeReady(t,(i=>{e(t)&&(a++,o(i)),s()}),s)}))}createIterator(t,e,o){return document.createNodeIterator(t,e,o,!1)}createInstanceOnIframe(t){return new Kr(t.querySelector("html"),this.iframes)}compareNodeIframe(t,e,o){if(t.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_PRECEDING){if(null===e)return!0;if(e.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}getIteratorNode(t){const e=t.previousNode();let o;return o=(null===e||t.nextNode())&&t.nextNode(),{prevNode:e,node:o}}checkIframeFilter(t,e,o,i){let r=!1,n=!1;return i.forEach(((t,e)=>{t.val===o&&(r=e,n=t.handled)})),this.compareNodeIframe(t,e,o)?(!1!==r||n?!1===r||n||(i[r].handled=!0):i.push({val:o,handled:!0}),!0):(!1===r&&i.push({val:o,handled:!1}),!1)}handleOpenIframes(t,e,o,i){t.forEach((t=>{t.handled||this.getIframeContents(t.val,(t=>{this.createInstanceOnIframe(t).forEachNode(e,o,i)}))}))}iterateThroughNodes(t,e,o,i,r){const n=this.createIterator(e,t,i);let a,s,l=[],c=[],h=()=>(({prevNode:s,node:a}=this.getIteratorNode(n)),a);for(;h();)this.iframes&&this.forEachIframe(e,(t=>this.checkIframeFilter(a,s,t,l)),(e=>{this.createInstanceOnIframe(e).forEachNode(t,(t=>c.push(t)),i)})),c.push(a);c.forEach((t=>{o(t)})),this.iframes&&this.handleOpenIframes(l,t,o,i),r()}forEachNode(t,e,o,i=(()=>{})){const r=this.getContexts();let n=r.length;n||i(),r.forEach((r=>{const a=()=>{this.iterateThroughNodes(t,r,e,o,(()=>{--n<=0&&i()}))};this.iframes?this.waitForIframes(r,a):a()}))}}const Zr=function(t){const e=new class{constructor(t){this.ctx=t,this.ie=!1;const e=window.navigator.userAgent;(e.indexOf("MSIE")>-1||e.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new Kr(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,e="debug"){const o=this.opt.log;this.opt.debug&&"object"==typeof o&&"function"==typeof o[e]&&o[e](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return"disabled"!==this.opt.wildcards&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),"disabled"!==this.opt.wildcards&&(t=this.createWildcardsRegExp(t)),this.createAccuracyRegExp(t)}createSynonymsRegExp(t){const e=this.opt.synonyms,o=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let r in e)if(e.hasOwnProperty(r)){const n=e[r],a="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(r):this.escapeStr(r),s="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(n):this.escapeStr(n);""!==a&&""!==s&&(t=t.replace(new RegExp(`(${this.escapeStr(a)}|${this.escapeStr(s)})`,`gm${o}`),i+`(${this.processSynomyms(a)}|`+`${this.processSynomyms(s)})`+i))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return(t=t.replace(/(?:\\)*\?/g,(t=>"\\"===t.charAt(0)?"?":""))).replace(/(?:\\)*\*/g,(t=>"\\"===t.charAt(0)?"*":""))}createWildcardsRegExp(t){let e="withSpaces"===this.opt.wildcards;return t.replace(/\u0001/g,e?"[\\S\\s]?":"\\S?").replace(/\u0002/g,e?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,((t,e,o)=>{let i=o.charAt(e+1);return/[(|)\\]/.test(i)||""===i?t:t+"\0"}))}createJoinersRegExp(t){let e=[];const o=this.opt.ignorePunctuation;return Array.isArray(o)&&o.length&&e.push(this.escapeStr(o.join(""))),this.opt.ignoreJoiners&&e.push("\\u00ad\\u200b\\u200c\\u200d"),e.length?t.split(/\u0000+/).join(`[${e.join("")}]*`):t}createDiacriticsRegExp(t){const e=this.opt.caseSensitive?"":"i",o=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let i=[];return t.split("").forEach((r=>{o.every((o=>{if(-1!==o.indexOf(r)){if(i.indexOf(o)>-1)return!1;t=t.replace(new RegExp(`[${o}]`,`gm${e}`),`[${o}]`),i.push(o)}return!0}))})),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gim,"[\\s]+")}createAccuracyRegExp(t){let e=this.opt.accuracy,o="string"==typeof e?e:e.value,i="string"==typeof e?[]:e.limiters,r="";switch(i.forEach((t=>{r+=`|${this.escapeStr(t)}`})),o){case"partially":default:return`()(${t})`;case"complementary":return r="\\s"+(r||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿")),`()([^${r}]*${t}[^${r}]*)`;case"exactly":return`(^|\\s${r})(${t})(?=$|\\s${r})`}}getSeparatedKeywords(t){let e=[];return t.forEach((t=>{this.opt.separateWordSearch?t.split(" ").forEach((t=>{t.trim()&&-1===e.indexOf(t)&&e.push(t)})):t.trim()&&-1===e.indexOf(t)&&e.push(t)})),{keywords:e.sort(((t,e)=>e.length-t.length)),length:e.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||"[object Object]"!==Object.prototype.toString.call(t[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];const e=[];let o=0;return t.sort(((t,e)=>t.start-e.start)).forEach((t=>{let{start:i,end:r,valid:n}=this.callNoMatchOnInvalidRanges(t,o);n&&(t.start=i,t.length=r-i,e.push(t),o=r)})),e}callNoMatchOnInvalidRanges(t,e){let o,i,r=!1;return t&&void 0!==t.start?(o=parseInt(t.start,10),i=o+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&i-e>0&&i-o>0?r=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:o,end:i,valid:r}}checkWhitespaceRanges(t,e,o){let i,r=!0,n=o.length,a=e-n,s=parseInt(t.start,10)-a;return s=s>n?n:s,i=s+parseInt(t.length,10),i>n&&(i=n,this.log(`End range automatically set to the max value of ${n}`)),s<0||i-s<0||s>n||i>n?(r=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):""===o.substring(s,i).replace(/\s+/g,"")&&(r=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:s,end:i,valid:r}}getTextNodes(t){let e="",o=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(t=>{o.push({start:e.length,end:(e+=t.textContent).length,node:t})}),(t=>this.matchesExclude(t.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT),(()=>{t({value:e,nodes:o})}))}matchesExclude(t){return Kr.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,e,o){const i=this.opt.element?this.opt.element:"mark",r=t.splitText(e),n=r.splitText(o-e);let a=document.createElement(i);return a.setAttribute("data-markjs","true"),this.opt.className&&a.setAttribute("class",this.opt.className),a.textContent=r.textContent,r.parentNode.replaceChild(a,r),n}wrapRangeInMappedTextNode(t,e,o,i,r){t.nodes.every(((n,a)=>{const s=t.nodes[a+1];if(void 0===s||s.start>e){if(!i(n.node))return!1;const s=e-n.start,l=(o>n.end?n.end:o)-n.start,c=t.value.substr(0,n.start),h=t.value.substr(l+n.start);if(n.node=this.wrapRangeInTextNode(n.node,s,l),t.value=c+h,t.nodes.forEach(((e,o)=>{o>=a&&(t.nodes[o].start>0&&o!==a&&(t.nodes[o].start-=l),t.nodes[o].end-=l)})),o-=l,r(n.node.previousSibling,n.start),!(o>n.end))return!1;e=n.end}return!0}))}wrapMatches(t,e,o,i,r){const n=0===e?0:e+1;this.getTextNodes((e=>{e.nodes.forEach((e=>{let r;for(e=e.node;null!==(r=t.exec(e.textContent))&&""!==r[n];){if(!o(r[n],e))continue;let a=r.index;if(0!==n)for(let t=1;t<n;t++)a+=r[t].length;e=this.wrapRangeInTextNode(e,a,a+r[n].length),i(e.previousSibling),t.lastIndex=0}})),r()}))}wrapMatchesAcrossElements(t,e,o,i,r){const n=0===e?0:e+1;this.getTextNodes((e=>{let a;for(;null!==(a=t.exec(e.value))&&""!==a[n];){let r=a.index;if(0!==n)for(let t=1;t<n;t++)r+=a[t].length;const s=r+a[n].length;this.wrapRangeInMappedTextNode(e,r,s,(t=>o(a[n],t)),((e,o)=>{t.lastIndex=o,i(e)}))}r()}))}wrapRangeFromIndex(t,e,o,i){this.getTextNodes((r=>{const n=r.value.length;t.forEach(((t,i)=>{let{start:a,end:s,valid:l}=this.checkWhitespaceRanges(t,n,r.value);l&&this.wrapRangeInMappedTextNode(r,a,s,(o=>e(o,t,r.value.substring(a,s),i)),(e=>{o(e,t)}))})),i()}))}unwrapMatches(t){const e=t.parentNode;let o=document.createDocumentFragment();for(;t.firstChild;)o.appendChild(t.removeChild(t.firstChild));e.replaceChild(o,t),this.ie?this.normalizeTextNode(e):e.normalize()}normalizeTextNode(t){if(t){if(3===t.nodeType)for(;t.nextSibling&&3===t.nextSibling.nodeType;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,e){this.opt=e,this.log(`Searching with expression "${t}"`);let o=0,i="wrapMatches";this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](t,this.opt.ignoreGroups,((t,e)=>this.opt.filter(e,t,o)),(t=>{o++,this.opt.each(t)}),(()=>{0===o&&this.opt.noMatch(t),this.opt.done(o)}))}mark(t,e){this.opt=e;let o=0,i="wrapMatches";const{keywords:r,length:n}=this.getSeparatedKeywords("string"==typeof t?[t]:t),a=this.opt.caseSensitive?"":"i",s=t=>{let e=new RegExp(this.createRegExp(t),`gm${a}`),l=0;this.log(`Searching with expression "${e}"`),this[i](e,1,((e,i)=>this.opt.filter(i,t,o,l)),(t=>{l++,o++,this.opt.each(t)}),(()=>{0===l&&this.opt.noMatch(t),r[n-1]===t?this.opt.done(o):s(r[r.indexOf(t)+1])}))};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),0===n?this.opt.done(o):s(r[0])}markRanges(t,e){this.opt=e;let o=0,i=this.checkRanges(t);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,((t,e,o,i)=>this.opt.filter(t,e,o,i)),((t,e)=>{o++,this.opt.each(t,e)}),(()=>{this.opt.done(o)}))):this.opt.done(o)}unmark(t){this.opt=t;let e=this.opt.element?this.opt.element:"*";e+="[data-markjs]",this.opt.className&&(e+=`.${this.opt.className}`),this.log(`Removal selector "${e}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,(t=>{this.unwrapMatches(t)}),(t=>{const o=Kr.matches(t,e),i=this.matchesExclude(t);return!o||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),this.opt.done)}}(t);return this.mark=(t,o)=>(e.mark(t,o),this),this.markRegExp=(t,o)=>(e.markRegExp(t,o),this),this.markRanges=(t,o)=>(e.markRanges(t,o),this),this.unmark=t=>(e.unmark(t),this),this},Gr=wo.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Vr=dt`
140
140
  .highlight-html-match {
141
141
  background: ${Gr};
142
142
  }
143
- `,qr={className:"highlight-html-match"};var Yr=Object.freeze({__proto__:null,highlightHtml:function(t,e){var o;let i=t.getAttribute("data-highlight-html-query");if((null!=i?i:"")!==(null!=e?e:"")){const i=new Zr(t);if(i.unmark(qr),e&&e.trim()){i.mark(e.replace(/"[^"]+"/g,""),{...qr,separateWordSearch:!0});(null!==(o=e.match(/"[^"]+"/g))&&void 0!==o?o:[]).forEach((t=>i.mark(t.replace(/"/g,""),{...qr,separateWordSearch:!1})))}}t.setAttribute("data-highlight-html-query",null!=e?e:"")},highlightHtmlColorCssVariable:Gr,highlightHtmlStyles:Vr});const Jr=dt`
143
+ `,qr={className:"highlight-html-match"};function Yr(t,e){var o;let i=t.getAttribute("data-highlight-html-query");if((null!=i?i:"")!==(null!=e?e:"")){const i=new Zr(t);if(i.unmark(qr),e&&e.trim()){i.mark(e.replace(/"[^"]+"/g,""),{...qr,separateWordSearch:!0});(null!==(o=e.match(/"[^"]+"/g))&&void 0!==o?o:[]).forEach((t=>i.mark(t.replace(/"/g,""),{...qr,separateWordSearch:!1})))}}t.setAttribute("data-highlight-html-query",null!=e?e:"")}var Jr=Object.freeze({__proto__:null,highlightHtml:Yr,highlightHtmlColorCssVariable:Gr,highlightHtmlStyles:Vr});const Qr=dt`
144
144
  .ft-no-text-select {
145
145
  -webkit-touch-callout: none;
146
146
  -webkit-user-select: none;
@@ -149,7 +149,7 @@ function Re(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=$
149
149
  -ms-user-select: none;
150
150
  user-select: none;
151
151
  }
152
- `,Qr=dt`
152
+ `,Xr=dt`
153
153
  .ft-word-wrap {
154
154
  white-space: normal;
155
155
  word-wrap: break-word;
@@ -161,7 +161,7 @@ function Re(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=$
161
161
  -webkit-hyphens: auto;
162
162
  hyphens: auto
163
163
  }
164
- `,Xr=dt`
164
+ `,tn=dt`
165
165
  .ft-safari-ellipsis-fix {
166
166
  margin-right: 0;
167
167
 
@@ -172,20 +172,20 @@ function Re(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=$
172
172
  display: inline-block;
173
173
  width: 0;
174
174
  }
175
- `;var tn=Object.freeze({__proto__:null,noTextSelect:Jr,safariEllipsisFix:Xr,wordWrap:Qr}),en=Object.freeze({__proto__:null});class on{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()}}}var rn=Object.freeze({__proto__:null,ParametrizedLabelResolver:on});const nn=t=>{const e=null!=t?t:{};return(t,o)=>{var i;const r={hasChanged:(t,e)=>!go(t,e),attribute:!1,...e};we(r)(t,o);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(o,{selector:null!==(i=e.selector)&&void 0!==i?i:t=>t[o],store:e.store})}};class an{constructor(){this.queue=[]}add(t,e=!1){e&&(this.queue=this.queue.filter((e=>e.type!==t.type))),this.queue.push(t)}consume(t){const e=this.queue.find((e=>e.type===t));return e&&(this.queue=this.queue.filter((t=>t!==e))),e}}function sn(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var ln,cn,hn;const fn=Symbol("internalReduxEventsUnsubscribers"),dn=Symbol("internalStoresUnsubscribers"),pn=Symbol("internalStores");class un extends Tr{constructor(){super(...arguments),this[ln]=new Map,this[cn]=new Map,this[hn]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[pn].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[pn].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[pn].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:sn(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[pn].delete(e)}setupStore(t,e){this[pn].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[pn].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[dn].has(t.store):this[dn].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[dn].set(t,e.subscribe((()=>this.updateFromStores()))),sn(e)&&e.eventBus&&(null===(o=this.reduxConstructor.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const i=t=>this[o](t);e.eventBus.addEventListener(t.eventName,i),this[fn].push((()=>e.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[dn].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[fn].forEach((t=>t())),this[fn]=[]}unsubscribeFromStore(t){this[dn].has(t)&&this[dn].get(t)(),this[dn].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function gn(t){for(var e=arguments.length,o=Array(e>1?e-1:0),i=1;i<e;i++)o[i-1]=arguments[i];throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function yn(t){return!!t&&!!t[oa]}function bn(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var o=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return o===Object||"function"==typeof o&&Function.toString.call(o)===ia}(t)||Array.isArray(t)||!!t[ea]||!!(null===(e=t.constructor)||void 0===e?void 0:e[ea])||Sn(t)||Cn(t))}function mn(t,e,o){void 0===o&&(o=!1),0===vn(t)?(o?Object.keys:ra)(t).forEach((function(i){o&&"symbol"==typeof i||e(i,t[i],t)})):t.forEach((function(o,i){return e(i,o,t)}))}function vn(t){var e=t[oa];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Sn(t)?2:Cn(t)?3:0}function xn(t,e){return 2===vn(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function On(t,e,o){var i=vn(t);2===i?t.set(e,o):3===i?t.add(o):t[e]=o}function wn(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function Sn(t){return Jn&&t instanceof Map}function Cn(t){return Qn&&t instanceof Set}function Nn(t){return t.o||t.t}function $n(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=na(t);delete e[oa];for(var o=ra(e),i=0;i<o.length;i++){var r=o[i],n=e[r];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[r]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[r]})}return Object.create(Object.getPrototypeOf(t),e)}function En(t,e){return void 0===e&&(e=!1),Rn(t)||yn(t)||!bn(t)||(vn(t)>1&&(t.set=t.add=t.clear=t.delete=kn),Object.freeze(t),e&&mn(t,(function(t,e){return En(e,!0)}),!0)),t}function kn(){gn(2)}function Rn(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function In(t){var e=aa[t];return e||gn(18,t),e}function Ln(){return qn}function Un(t,e){e&&(In("Patches"),t.u=[],t.s=[],t.v=e)}function An(t){Wn(t),t.p.forEach(Bn),t.p=null}function Wn(t){t===qn&&(qn=t.l)}function zn(t){return qn={p:[],l:qn,h:t,m:!0,_:0}}function Bn(t){var e=t[oa];0===e.i||1===e.i?e.j():e.g=!0}function Fn(t,e){e._=e.p.length;var o=e.p[0],i=void 0!==t&&t!==o;return e.h.O||In("ES5").S(e,t,i),i?(o[oa].P&&(An(e),gn(4)),bn(t)&&(t=_n(e,t),e.l||jn(e,t)),e.u&&In("Patches").M(o[oa].t,t,e.u,e.s)):t=_n(e,o,[]),An(e),e.u&&e.v(e.u,e.s),t!==ta?t:void 0}function _n(t,e,o){if(Rn(e))return e;var i=e[oa];if(!i)return mn(e,(function(r,n){return Pn(t,i,e,r,n,o)}),!0),e;if(i.A!==t)return e;if(!i.P)return jn(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var r=4===i.i||5===i.i?i.o=$n(i.k):i.o,n=r,a=!1;3===i.i&&(n=new Set(r),r.clear(),a=!0),mn(n,(function(e,n){return Pn(t,i,r,e,n,o,a)})),jn(t,r,!1),o&&t.u&&In("Patches").N(i,o,t.u,t.s)}return i.o}function Pn(t,e,o,i,r,n,a){if(yn(r)){var s=_n(t,r,n&&e&&3!==e.i&&!xn(e.R,i)?n.concat(i):void 0);if(On(o,i,s),!yn(s))return;t.m=!1}else a&&o.add(r);if(bn(r)&&!Rn(r)){if(!t.h.D&&t._<1)return;_n(t,r),e&&e.A.l||jn(t,r)}}function jn(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&En(e,o)}function Dn(t,e){var o=t[oa];return(o?Nn(o):t)[e]}function Tn(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var i=Object.getOwnPropertyDescriptor(o,e);if(i)return i;o=Object.getPrototypeOf(o)}}function Mn(t){t.P||(t.P=!0,t.l&&Mn(t.l))}function Kn(t){t.o||(t.o=$n(t.t))}function Hn(t,e,o){var i=Sn(e)?In("MapSet").F(e,o):Cn(e)?In("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),i={i:o?1:0,A:e?e.A:Ln(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},r=i,n=sa;o&&(r=[i],n=la);var a=Proxy.revocable(r,n),s=a.revoke,l=a.proxy;return i.k=l,i.j=s,l}(e,o):In("ES5").J(e,o);return(o?o.A:Ln()).p.push(i),i}function Zn(t){return yn(t)||gn(22,t),function t(e){if(!bn(e))return e;var o,i=e[oa],r=vn(e);if(i){if(!i.P&&(i.i<4||!In("ES5").K(i)))return i.t;i.I=!0,o=Gn(e,r),i.I=!1}else o=Gn(e,r);return mn(o,(function(e,r){i&&function(t,e){return 2===vn(t)?t.get(e):t[e]}(i.t,e)===r||On(o,e,t(r))})),3===r?new Set(o):o}(t)}function Gn(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return $n(t)}ln=dn,cn=pn,hn=fn,un.reduxProperties=new Map,un.reduxReactiveProperties=new Set,un.reduxEventListeners=new Map;var Vn,qn,Yn="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Jn="undefined"!=typeof Map,Qn="undefined"!=typeof Set,Xn="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,ta=Yn?Symbol.for("immer-nothing"):((Vn={})["immer-nothing"]=!0,Vn),ea=Yn?Symbol.for("immer-draftable"):"__$immer_draftable",oa=Yn?Symbol.for("immer-state"):"__$immer_state",ia=""+Object.prototype.constructor,ra="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,na=Object.getOwnPropertyDescriptors||function(t){var e={};return ra(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},aa={},sa={get:function(t,e){if(e===oa)return t;var o=Nn(t);if(!xn(o,e))return function(t,e,o){var i,r=Tn(e,o);return r?"value"in r?r.value:null===(i=r.get)||void 0===i?void 0:i.call(t.k):void 0}(t,o,e);var i=o[e];return t.I||!bn(i)?i:i===Dn(t.t,e)?(Kn(t),t.o[e]=Hn(t.A.h,i,t)):i},has:function(t,e){return e in Nn(t)},ownKeys:function(t){return Reflect.ownKeys(Nn(t))},set:function(t,e,o){var i=Tn(Nn(t),e);if(null==i?void 0:i.set)return i.set.call(t.k,o),!0;if(!t.P){var r=Dn(Nn(t),e),n=null==r?void 0:r[oa];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(wn(o,r)&&(void 0!==o||xn(t.t,e)))return!0;Kn(t),Mn(t)}return t.o[e]===o&&(void 0!==o||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==Dn(t.t,e)||e in t.t?(t.R[e]=!1,Kn(t),Mn(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=Nn(t),i=Reflect.getOwnPropertyDescriptor(o,e);return i?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:i.enumerable,value:o[e]}:i},defineProperty:function(){gn(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){gn(12)}},la={};mn(sa,(function(t,e){la[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),la.deleteProperty=function(t,e){return la.set.call(this,t,e,void 0)},la.set=function(t,e,o){return sa.set.call(this,t[0],e,o,t[0])};var ca=function(){function t(t){var e=this;this.O=Xn,this.D=!0,this.produce=function(t,o,i){if("function"==typeof t&&"function"!=typeof o){var r=o;o=t;var n=e;return function(t){var e=this;void 0===t&&(t=r);for(var i=arguments.length,a=Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var i;return(i=o).call.apply(i,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&gn(6),void 0!==i&&"function"!=typeof i&&gn(7),bn(t)){var s=zn(e),l=Hn(e,t,void 0),c=!0;try{a=o(l),c=!1}finally{c?An(s):Wn(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return Un(s,i),Fn(t,s)}),(function(t){throw An(s),t})):(Un(s,i),Fn(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===ta&&(a=void 0),e.D&&En(a,!0),i){var h=[],f=[];In("Patches").M(t,a,h,f),i(h,f)}return a}gn(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var i=arguments.length,r=Array(i>1?i-1:0),n=1;n<i;n++)r[n-1]=arguments[n];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(r))}))};var i,r,n=e.produce(t,o,(function(t,e){i=t,r=e}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,i,r]})):[n,i,r]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){bn(t)||gn(8),yn(t)&&(t=Zn(t));var e=zn(this),o=Hn(this,t,void 0);return o[oa].C=!0,Wn(e),o},e.finishDraft=function(t,e){var o=(t&&t[oa]).A;return Un(o,e),Fn(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!Xn&&gn(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var i=e[o];if(0===i.path.length&&"replace"===i.op){t=i.value;break}}o>-1&&(e=e.slice(o+1));var r=In("Patches").$;return yn(t)?r(t,e):this.produce(t,(function(t){return r(t,e)}))},t}(),ha=new ca,fa=ha.produce;function da(t){return da="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},da(t)}function pa(t){var e=function(t,e){if("object"!==da(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!==da(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===da(e)?e:String(e)}function ua(t,e,o){return(e=pa(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function ga(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,i)}return o}function ya(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?ga(Object(o),!0).forEach((function(e){ua(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):ga(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function ba(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}ha.produceWithPatches.bind(ha),ha.setAutoFreeze.bind(ha),ha.setUseProxies.bind(ha),ha.applyPatches.bind(ha),ha.createDraft.bind(ha),ha.finishDraft.bind(ha);var ma="function"==typeof Symbol&&Symbol.observable||"@@observable",va=function(){return Math.random().toString(36).substring(7).split("").join(".")},xa={INIT:"@@redux/INIT"+va(),REPLACE:"@@redux/REPLACE"+va(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+va()}};function Oa(t,e,o){var i;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(ba(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(ba(1));return o(Oa)(t,e)}if("function"!=typeof t)throw new Error(ba(2));var r=t,n=e,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function h(){if(l)throw new Error(ba(3));return n}function f(t){if("function"!=typeof t)throw new Error(ba(4));if(l)throw new Error(ba(5));var e=!0;return c(),s.push(t),function(){if(e){if(l)throw new Error(ba(6));e=!1,c();var o=s.indexOf(t);s.splice(o,1),a=null}}}function d(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(ba(7));if(void 0===t.type)throw new Error(ba(8));if(l)throw new Error(ba(9));try{l=!0,n=r(n,t)}finally{l=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return d({type:xa.INIT}),(i={dispatch:d,subscribe:f,getState:h,replaceReducer:function(t){if("function"!=typeof t)throw new Error(ba(10));r=t,d({type:xa.REPLACE})}})[ma]=function(){var t,e=f;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(ba(11));function o(){t.next&&t.next(h())}return o(),{unsubscribe:e(o)}}})[ma]=function(){return this},t},i}function wa(t){for(var e=Object.keys(t),o={},i=0;i<e.length;i++){var r=e[i];"function"==typeof t[r]&&(o[r]=t[r])}var n,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:xa.INIT}))throw new Error(ba(12));if(void 0===o(void 0,{type:xa.PROBE_UNKNOWN_ACTION()}))throw new Error(ba(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var i=!1,r={},s=0;s<a.length;s++){var l=a[s],c=o[l],h=t[l],f=c(h,e);if(void 0===f)throw e&&e.type,new Error(ba(14));r[l]=f,i=i||f!==h}return(i=i||a.length!==Object.keys(t).length)?r:t}}function Sa(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function Ca(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(t){return function(){var o=t.apply(void 0,arguments),i=function(){throw new Error(ba(15))},r={getState:o.getState,dispatch:function(){return i.apply(void 0,arguments)}},n=e.map((function(t){return t(r)}));return i=Sa.apply(void 0,n)(o.dispatch),ya(ya({},o),{},{dispatch:i})}}}function Na(t){return function(e){var o=e.dispatch,i=e.getState;return function(e){return function(r){return"function"==typeof r?r(o,i,t):e(r)}}}}var $a=Na();$a.withExtraArgument=Na;var Ea,ka=$a,Ra=(Ea=function(t,e){return Ea=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},Ea(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}Ea(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),Ia=function(t,e){var o,i,r,n,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,i&&(r=2&n[0]?i.return:n[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,n[1])).done)return r;switch(i=0,r&&(n=[2&n[0],r.value]),n[0]){case 0:case 1:r=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,i=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]<r[3])){a.label=n[1];break}if(6===n[0]&&a.label<r[1]){a.label=r[1],r=n;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(n);break}r[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}catch(t){n=[6,t],i=0}finally{o=r=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},La=function(t,e){for(var o=0,i=e.length,r=t.length;o<i;o++,r++)t[r]=e[o];return t},Ua=Object.defineProperty,Aa=Object.defineProperties,Wa=Object.getOwnPropertyDescriptors,za=Object.getOwnPropertySymbols,Ba=Object.prototype.hasOwnProperty,Fa=Object.prototype.propertyIsEnumerable,_a=function(t,e,o){return e in t?Ua(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Pa=function(t,e){for(var o in e||(e={}))Ba.call(e,o)&&_a(t,o,e[o]);if(za)for(var i=0,r=za(e);i<r.length;i++){o=r[i];Fa.call(e,o)&&_a(t,o,e[o])}return t},ja=function(t,e){return Aa(t,Wa(e))},Da="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?Sa:Sa.apply(null,arguments)};var Ta=function(t){function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var r=t.apply(this,o)||this;return Object.setPrototypeOf(r,e.prototype),r}return Ra(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,La([void 0],t[0].concat(this)))):new(e.bind.apply(e,La([void 0],t.concat(this))))},e}(Array),Ma=function(t){function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var r=t.apply(this,o)||this;return Object.setPrototypeOf(r,e.prototype),r}return Ra(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,La([void 0],t[0].concat(this)))):new(e.bind.apply(e,La([void 0],t.concat(this))))},e}(Array);function Ka(t){return bn(t)?fa(t,(function(){})):t}function Ha(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var i=new Ta;o&&(!function(t){return"boolean"==typeof t}(o)?i.push(ka.withExtraArgument(o.extraArgument)):i.push(ka));return i}(t)}}function Za(t){var e,o=Ha(),i=t||{},r=i.reducer,n=void 0===r?void 0:r,a=i.middleware,s=void 0===a?o():a,l=i.devTools,c=void 0===l||l,h=i.preloadedState,f=void 0===h?void 0:h,d=i.enhancers,p=void 0===d?void 0:d;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=wa(n)}var u=s;"function"==typeof u&&(u=u(o));var g=Ca.apply(void 0,u),y=Sa;c&&(y=Da(Pa({trace:!1},"object"==typeof c&&c)));var b=new Ma(g),m=b;return Array.isArray(p)?m=La([g],p):"function"==typeof p&&(m=p(b)),Oa(e,f,y.apply(void 0,m))}function Ga(t,e){function o(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];if(e){var r=e.apply(void 0,o);if(!r)throw new Error("prepareAction did not return an object");return Pa(Pa({type:t,payload:r.payload},"meta"in r&&{meta:r.meta}),"error"in r&&{error:r.error})}return{type:t,payload:o[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(e){return e.type===t},o}function Va(t){var e,o={},i=[],r={addCase:function(t,e){var i="string"==typeof t?t:t.type;if(i in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[i]=e,r},addMatcher:function(t,e){return i.push({matcher:t,reducer:e}),r},addDefaultCase:function(t){return e=t,r}};return t(r),[o,i,e]}function qa(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,i="function"==typeof t.initialState?t.initialState:Ka(t.initialState),r=t.reducers||{},n=Object.keys(r),a={},s={},l={};function c(){var e="function"==typeof t.extraReducers?Va(t.extraReducers):[t.extraReducers],o=e[0],r=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,l=e[2],c=void 0===l?void 0:l,h=Pa(Pa({},r),s);return function(t,e,o,i){void 0===o&&(o=[]);var r,n="function"==typeof e?Va(e):[e,o,i],a=n[0],s=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))r=function(){return Ka(t())};else{var c=Ka(t);r=function(){return c}}function h(t,e){void 0===t&&(t=r());var o=La([a[e.type]],s.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[l]),o.reduce((function(t,o){if(o){var i;if(yn(t))return void 0===(i=o(t,e))?t:i;if(bn(t))return fa(t,(function(t){return o(t,e)}));if(void 0===(i=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return i}return t}),t)}return h.getInitialState=r,h}(i,(function(t){for(var e in h)t.addCase(e,h[e]);for(var o=0,i=a;o<i.length;o++){var r=i[o];t.addMatcher(r.matcher,r.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var o,i,n=r[t],c=e+"/"+t;"reducer"in n?(o=n.reducer,i=n.prepare):o=n,a[t]=o,s[c]=o,l[t]=i?Ga(c,i):Ga(c)})),{name:e,reducer:function(t,e){return o||(o=c()),o(t,e)},actions:l,caseReducers:a,getInitialState:function(){return o||(o=c()),o.getInitialState()}}}var Ya=["name","message","stack","code"],Ja=function(t,e){this.payload=t,this.meta=e},Qa=function(t,e){this.payload=t,this.meta=e},Xa=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,i=Ya;o<i.length;o++){var r=i[o];"string"==typeof t[r]&&(e[r]=t[r])}return e}return{message:String(t)}};function ts(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,o){var i=Ga(t+"/fulfilled",(function(t,e,o,i){return{payload:t,meta:ja(Pa({},i||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),r=Ga(t+"/pending",(function(t,e,o){return{payload:void 0,meta:ja(Pa({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=Ga(t+"/rejected",(function(t,e,i,r,n){return{payload:r,error:(o&&o.serializeError||Xa)(t||"Rejected"),meta:ja(Pa({},n||{}),{arg:i,requestId:e,rejectedWithValue:!!r,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,l,c){var h,f=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),d=new a;function p(t){h=t,d.abort()}var u=function(){return a=this,u=null,g=function(){var a,u,g,y,b,m;return Ia(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),y=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:l,extra:c}),null===(x=y)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,y];case 1:y=v.sent(),v.label=2;case 2:if(!1===y||d.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,e){return d.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:h||"Aborted"})}))})),s(r(f,t,null==(u=null==o?void 0:o.getPendingMeta)?void 0:u.call(o,{requestId:f,arg:t},{getState:l,extra:c}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:s,getState:l,extra:c,requestId:f,signal:d.signal,abort:p,rejectWithValue:function(t,e){return new Ja(t,e)},fulfillWithValue:function(t,e){return new Qa(t,e)}})).then((function(e){if(e instanceof Ja)throw e;return e instanceof Qa?i(e.payload,f,t,e.meta):i(e,f,t)}))])];case 3:return g=v.sent(),[3,5];case 4:return m=v.sent(),g=m instanceof Ja?n(null,f,t,m.payload,m.meta):n(m,f,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(g)&&g.meta.condition||s(g),[2,g]}var x}))},new Promise((function(t,e){var o=function(t){try{r(g.next(t))}catch(t){e(t)}},i=function(t){try{r(g.throw(t))}catch(t){e(t)}},r=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,i)};r((g=g.apply(a,u)).next())}));var a,u,g}();return Object.assign(u,{abort:p,requestId:f,arg:t,unwrap:function(){return u.then(ts)}})}}),{pending:r,rejected:n,fulfilled:i,typePrefix:t})}t.withTypes=function(){return t}}();var es="listenerMiddleware";Ga(es+"/add"),Ga(es+"/removeAll"),Ga(es+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=r[t];return o?o.enumerable=e:r[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[oa];return sa.get(e,t)},set:function(e){var o=this[oa];sa.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var r=t[e][oa];if(!r.P)switch(r.i){case 5:i(r)&&Mn(r);break;case 4:o(r)&&Mn(r)}}}function o(t){for(var e=t.t,o=t.k,i=ra(o),r=i.length-1;r>=0;r--){var n=i[r];if(n!==oa){var a=e[n];if(void 0===a&&!xn(e,n))return!0;var s=o[n],l=s&&s[oa];if(l?l.t!==a:!wn(s,a))return!0}}var c=!!e[oa];return i.length!==ra(e).length+(c?0:1)}function i(t){var e=t.k;if(e.length!==t.t.length)return!0;var o=Object.getOwnPropertyDescriptor(e,e.length-1);if(o&&!o.get)return!0;for(var i=0;i<e.length;i++)if(!e.hasOwnProperty(i))return!0;return!1}var r={};!function(t,e){aa[t]||(aa[t]=e)}("ES5",{J:function(e,o){var i=Array.isArray(e),r=function(e,o){if(e){for(var i=Array(o.length),r=0;r<o.length;r++)Object.defineProperty(i,""+r,t(r,!0));return i}var n=na(o);delete n[oa];for(var a=ra(n),s=0;s<a.length;s++){var l=a[s];n[l]=t(l,e||!!n[l].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(i,e),n={i:i?5:4,A:o?o.A:Ln(),P:!1,I:!1,R:{},l:o,t:e,k:r,o:null,g:!1,C:!1};return Object.defineProperty(r,oa,{value:n,writable:!0}),r},S:function(t,o,r){r?yn(o)&&o[oa].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[oa];if(o){var r=o.t,n=o.k,a=o.R,s=o.i;if(4===s)mn(n,(function(e){e!==oa&&(void 0!==r[e]||xn(r,e)?a[e]||t(n[e]):(a[e]=!0,Mn(o)))})),mn(r,(function(t){void 0!==n[t]||xn(n,t)||(a[t]=!1,Mn(o))}));else if(5===s){if(i(o)&&(Mn(o),a.length=!0),n.length<r.length)for(var l=n.length;l<r.length;l++)a[l]=!1;else for(var c=r.length;c<n.length;c++)a[c]=!0;for(var h=Math.min(n.length,r.length),f=0;f<h;f++)n.hasOwnProperty(f)||(a[f]=!0),void 0===a[f]&&t(n[f])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):i(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class os{static get(t){var e;const o="string"==typeof t?t:t.name,i="string"==typeof t?void 0:t,r=window.ftReduxStores[o];if(sn(r))return r;if(null==i)return;const n=qa({...i,reducers:null!==(e=i.reducers)&&void 0!==e?e:{}}),a=Za({reducer:(t,e)=>"CLEAR_FT_REDUX_STORE"===e.type?n.getInitialState():"string"==typeof e.type&&e.type.startsWith("DEFAULT_VALUE_SETTER__")?{...t,...e.overwrites}:n.reducer(t,e)});return window.ftReduxStores[i.name]=new os(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new an,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const i=e,r=t[i];return r?(...t)=>{const e=r(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[i]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}var is=Object.freeze({__proto__:null,FtCommandQueue:an,FtLitElementRedux:un,FtReduxStore:os,clearAllStores:function(){var t;for(let e of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))sn(e)&&e.clear()},isFtReduxStore:sn,redux:nn,reduxEventListener:t=>(e,o)=>{const i=e.constructor;i.reduxEventListeners=new Map(i.reduxEventListeners),i.reduxEventListeners.set(o,t)},reduxReactive:()=>(t,e)=>{var o;const i=t.constructor;i.reduxReactiveProperties=new Set(i.reduxReactiveProperties),null===(o=i.reduxReactiveProperties)||void 0===o||o.add(e)}});var rs=Object.freeze({__proto__:null,serializeRequest:function(t,e){var o,i,r,n;const a=new URLSearchParams({"content-lang":null!==(o=e.contentLocale)&&void 0!==o?o:"all"});if((null===(i=e.query)||void 0===i?void 0:i.length)>0&&a.append("query",e.query),e.scope&&"DEFAULT"!==e.scope&&a.append("scope",e.scope.toLowerCase()),e.virtualField&&a.append("virtual-field",e.virtualField.toLowerCase()),e.periodFilter){let t=e.periodFilter.period;const o=t?`_${t.from}_${t.to}`:"";a.append("period",e.periodFilter.periodType.toLowerCase()+o)}if((null===(r=e.sort)||void 0===r?void 0:r.length)>0&&"ft:lastEdition"===e.sort[0].key&&a.append("sort","last_update"),(null===(n=e.filters)||void 0===n?void 0:n.length)>0){const t=e.filters.map((t=>{const e=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${e}`})).join("*");a.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${a.toString()}`).href}});const ns=Symbol("elementInternals");function as(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[ns].form}constructor(...t){super(t),this[ns]=this.attachInternals(),this[ns].role=e}setFormValue(t){this[ns].setFormValue(t)}}}var ss,ls,cs,hs,fs=Object.freeze({__proto__:null,toFtFormComponent:as});const ds=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(cs=null===(ls=null===(ss=window.safari)||void 0===ss?void 0:ss.pushNotification)||void 0===ls?void 0:ls.toString())&&void 0!==cs?cs:""),ps="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(hs=window.ftGlobals)&&void 0!==hs?hs:{lit:ve,litDecorators:Le,litRepeat:Ke,litClassMap:Ze,litStyleMap:Ye,litUnsafeHTML:Xe,wcUtils:{...no,...io,...so,...co,...xo,...Ni,...Ri,...Ur,...Si,...Mr,...Kr,...yo,...Yr,...tn,...en,...rn,...is,...Fr,...rs,...fs,isSafari:ds,isTouchScreen:ps}};const us={spacing:wo.create("--ft-search-selected-facets-spacing","","SIZE","8px")},gs=dt`
175
+ `;var en=Object.freeze({__proto__:null,noTextSelect:Qr,safariEllipsisFix:tn,wordWrap:Xr}),on=Object.freeze({__proto__:null});class rn{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()}}}var nn=Object.freeze({__proto__:null,ParametrizedLabelResolver:rn});const an=t=>{const e=null!=t?t:{};return(t,o)=>{var i;const r={hasChanged:(t,e)=>!go(t,e),attribute:!1,...e};we(r)(t,o);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(o,{selector:null!==(i=e.selector)&&void 0!==i?i:t=>t[o],store:e.store})}};class sn{constructor(){this.queue=[]}add(t,e=!1){e&&(this.queue=this.queue.filter((e=>e.type!==t.type))),this.queue.push(t)}consume(t){const e=this.queue.find((e=>e.type===t));return e&&(this.queue=this.queue.filter((t=>t!==e))),e}}function ln(t){var e;return null!==(e=null==t?void 0:t.isFtReduxStore)&&void 0!==e&&e}var cn,hn,fn;const dn=Symbol("internalReduxEventsUnsubscribers"),pn=Symbol("internalStoresUnsubscribers"),un=Symbol("internalStores");class gn extends Tr{constructor(){super(...arguments),this[cn]=new Map,this[hn]=new Map,this[fn]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((e=>t.has(e)))&&this.updateFromStores()}getUnnamedStore(){if(this[un].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[un].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[un].get(t)}addStore(t,e){var o;e=null!==(o=null!=e?e:ln(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[un].delete(e)}setupStore(t,e){this[un].set(t,e),this.subscribeToStore(t,e),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[un].forEach(((t,e)=>this.subscribeToStore(e,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,e)=>{const o=this.constructor.getPropertyOptions(e);if(!(null==o?void 0:o.attribute)||!this.hasAttribute("string"==typeof(null==o?void 0:o.attribute)?o.attribute:e)){const o=this.getStore(t.store);o&&(t.store?this[pn].has(t.store):this[pn].size>0)&&(this[e]=t.selector(o.getState(),this))}}))}subscribeToStore(t,e){var o;this[pn].set(t,e.subscribe((()=>this.updateFromStores()))),ln(e)&&e.eventBus&&(null===(o=this.reduxConstructor.reduxEventListeners)||void 0===o||o.forEach(((t,o)=>{if("function"==typeof this[o]&&(!t.store||e.name===t.store)){const i=t=>this[o](t);e.eventBus.addEventListener(t.eventName,i),this[dn].push((()=>e.eventBus.removeEventListener(t.eventName,i)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[pn].forEach(((t,e)=>this.unsubscribeFromStore(e))),this[dn].forEach((t=>t())),this[dn]=[]}unsubscribeFromStore(t){this[pn].has(t)&&this[pn].get(t)(),this[pn].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function yn(t){for(var e=arguments.length,o=Array(e>1?e-1:0),i=1;i<e;i++)o[i-1]=arguments[i];throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function bn(t){return!!t&&!!t[ia]}function mn(t){var e;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var o=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return o===Object||"function"==typeof o&&Function.toString.call(o)===ra}(t)||Array.isArray(t)||!!t[oa]||!!(null===(e=t.constructor)||void 0===e?void 0:e[oa])||Cn(t)||Nn(t))}function vn(t,e,o){void 0===o&&(o=!1),0===xn(t)?(o?Object.keys:na)(t).forEach((function(i){o&&"symbol"==typeof i||e(i,t[i],t)})):t.forEach((function(o,i){return e(i,o,t)}))}function xn(t){var e=t[ia];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Cn(t)?2:Nn(t)?3:0}function On(t,e){return 2===xn(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function wn(t,e,o){var i=xn(t);2===i?t.set(e,o):3===i?t.add(o):t[e]=o}function Sn(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function Cn(t){return Qn&&t instanceof Map}function Nn(t){return Xn&&t instanceof Set}function $n(t){return t.o||t.t}function En(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=aa(t);delete e[ia];for(var o=na(e),i=0;i<o.length;i++){var r=o[i],n=e[r];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(e[r]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[r]})}return Object.create(Object.getPrototypeOf(t),e)}function kn(t,e){return void 0===e&&(e=!1),In(t)||bn(t)||!mn(t)||(xn(t)>1&&(t.set=t.add=t.clear=t.delete=Rn),Object.freeze(t),e&&vn(t,(function(t,e){return kn(e,!0)}),!0)),t}function Rn(){yn(2)}function In(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function Ln(t){var e=sa[t];return e||yn(18,t),e}function Un(){return Yn}function An(t,e){e&&(Ln("Patches"),t.u=[],t.s=[],t.v=e)}function Wn(t){zn(t),t.p.forEach(Fn),t.p=null}function zn(t){t===Yn&&(Yn=t.l)}function Bn(t){return Yn={p:[],l:Yn,h:t,m:!0,_:0}}function Fn(t){var e=t[ia];0===e.i||1===e.i?e.j():e.g=!0}function _n(t,e){e._=e.p.length;var o=e.p[0],i=void 0!==t&&t!==o;return e.h.O||Ln("ES5").S(e,t,i),i?(o[ia].P&&(Wn(e),yn(4)),mn(t)&&(t=Pn(e,t),e.l||Dn(e,t)),e.u&&Ln("Patches").M(o[ia].t,t,e.u,e.s)):t=Pn(e,o,[]),Wn(e),e.u&&e.v(e.u,e.s),t!==ea?t:void 0}function Pn(t,e,o){if(In(e))return e;var i=e[ia];if(!i)return vn(e,(function(r,n){return jn(t,i,e,r,n,o)}),!0),e;if(i.A!==t)return e;if(!i.P)return Dn(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var r=4===i.i||5===i.i?i.o=En(i.k):i.o,n=r,a=!1;3===i.i&&(n=new Set(r),r.clear(),a=!0),vn(n,(function(e,n){return jn(t,i,r,e,n,o,a)})),Dn(t,r,!1),o&&t.u&&Ln("Patches").N(i,o,t.u,t.s)}return i.o}function jn(t,e,o,i,r,n,a){if(bn(r)){var s=Pn(t,r,n&&e&&3!==e.i&&!On(e.R,i)?n.concat(i):void 0);if(wn(o,i,s),!bn(s))return;t.m=!1}else a&&o.add(r);if(mn(r)&&!In(r)){if(!t.h.D&&t._<1)return;Pn(t,r),e&&e.A.l||Dn(t,r)}}function Dn(t,e,o){void 0===o&&(o=!1),!t.l&&t.h.D&&t.m&&kn(e,o)}function Tn(t,e){var o=t[ia];return(o?$n(o):t)[e]}function Mn(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var i=Object.getOwnPropertyDescriptor(o,e);if(i)return i;o=Object.getPrototypeOf(o)}}function Hn(t){t.P||(t.P=!0,t.l&&Hn(t.l))}function Kn(t){t.o||(t.o=En(t.t))}function Zn(t,e,o){var i=Cn(e)?Ln("MapSet").F(e,o):Nn(e)?Ln("MapSet").T(e,o):t.O?function(t,e){var o=Array.isArray(t),i={i:o?1:0,A:e?e.A:Un(),P:!1,I:!1,R:{},l:e,t,k:null,o:null,j:null,C:!1},r=i,n=la;o&&(r=[i],n=ca);var a=Proxy.revocable(r,n),s=a.revoke,l=a.proxy;return i.k=l,i.j=s,l}(e,o):Ln("ES5").J(e,o);return(o?o.A:Un()).p.push(i),i}function Gn(t){return bn(t)||yn(22,t),function t(e){if(!mn(e))return e;var o,i=e[ia],r=xn(e);if(i){if(!i.P&&(i.i<4||!Ln("ES5").K(i)))return i.t;i.I=!0,o=Vn(e,r),i.I=!1}else o=Vn(e,r);return vn(o,(function(e,r){i&&function(t,e){return 2===xn(t)?t.get(e):t[e]}(i.t,e)===r||wn(o,e,t(r))})),3===r?new Set(o):o}(t)}function Vn(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return En(t)}cn=pn,hn=un,fn=dn,gn.reduxProperties=new Map,gn.reduxReactiveProperties=new Set,gn.reduxEventListeners=new Map;var qn,Yn,Jn="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Qn="undefined"!=typeof Map,Xn="undefined"!=typeof Set,ta="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,ea=Jn?Symbol.for("immer-nothing"):((qn={})["immer-nothing"]=!0,qn),oa=Jn?Symbol.for("immer-draftable"):"__$immer_draftable",ia=Jn?Symbol.for("immer-state"):"__$immer_state",ra=""+Object.prototype.constructor,na="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,aa=Object.getOwnPropertyDescriptors||function(t){var e={};return na(t).forEach((function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)})),e},sa={},la={get:function(t,e){if(e===ia)return t;var o=$n(t);if(!On(o,e))return function(t,e,o){var i,r=Mn(e,o);return r?"value"in r?r.value:null===(i=r.get)||void 0===i?void 0:i.call(t.k):void 0}(t,o,e);var i=o[e];return t.I||!mn(i)?i:i===Tn(t.t,e)?(Kn(t),t.o[e]=Zn(t.A.h,i,t)):i},has:function(t,e){return e in $n(t)},ownKeys:function(t){return Reflect.ownKeys($n(t))},set:function(t,e,o){var i=Mn($n(t),e);if(null==i?void 0:i.set)return i.set.call(t.k,o),!0;if(!t.P){var r=Tn($n(t),e),n=null==r?void 0:r[ia];if(n&&n.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(Sn(o,r)&&(void 0!==o||On(t.t,e)))return!0;Kn(t),Hn(t)}return t.o[e]===o&&(void 0!==o||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return void 0!==Tn(t.t,e)||e in t.t?(t.R[e]=!1,Kn(t),Hn(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=$n(t),i=Reflect.getOwnPropertyDescriptor(o,e);return i?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:i.enumerable,value:o[e]}:i},defineProperty:function(){yn(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){yn(12)}},ca={};vn(la,(function(t,e){ca[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),ca.deleteProperty=function(t,e){return ca.set.call(this,t,e,void 0)},ca.set=function(t,e,o){return la.set.call(this,t[0],e,o,t[0])};var ha=function(){function t(t){var e=this;this.O=ta,this.D=!0,this.produce=function(t,o,i){if("function"==typeof t&&"function"!=typeof o){var r=o;o=t;var n=e;return function(t){var e=this;void 0===t&&(t=r);for(var i=arguments.length,a=Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];return n.produce(t,(function(t){var i;return(i=o).call.apply(i,[e,t].concat(a))}))}}var a;if("function"!=typeof o&&yn(6),void 0!==i&&"function"!=typeof i&&yn(7),mn(t)){var s=Bn(e),l=Zn(e,t,void 0),c=!0;try{a=o(l),c=!1}finally{c?Wn(s):zn(s)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return An(s,i),_n(t,s)}),(function(t){throw Wn(s),t})):(An(s,i),_n(a,s))}if(!t||"object"!=typeof t){if(void 0===(a=o(t))&&(a=t),a===ea&&(a=void 0),e.D&&kn(a,!0),i){var h=[],f=[];Ln("Patches").M(t,a,h,f),i(h,f)}return a}yn(21,t)},this.produceWithPatches=function(t,o){if("function"==typeof t)return function(o){for(var i=arguments.length,r=Array(i>1?i-1:0),n=1;n<i;n++)r[n-1]=arguments[n];return e.produceWithPatches(o,(function(e){return t.apply(void 0,[e].concat(r))}))};var i,r,n=e.produce(t,o,(function(t,e){i=t,r=e}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,i,r]})):[n,i,r]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){mn(t)||yn(8),bn(t)&&(t=Gn(t));var e=Bn(this),o=Zn(this,t,void 0);return o[ia].C=!0,zn(e),o},e.finishDraft=function(t,e){var o=(t&&t[ia]).A;return An(o,e),_n(void 0,o)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!ta&&yn(20),this.O=t},e.applyPatches=function(t,e){var o;for(o=e.length-1;o>=0;o--){var i=e[o];if(0===i.path.length&&"replace"===i.op){t=i.value;break}}o>-1&&(e=e.slice(o+1));var r=Ln("Patches").$;return bn(t)?r(t,e):this.produce(t,(function(t){return r(t,e)}))},t}(),fa=new ha,da=fa.produce;function pa(t){return pa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},pa(t)}function ua(t){var e=function(t,e){if("object"!==pa(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var i=o.call(t,e||"default");if("object"!==pa(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===pa(e)?e:String(e)}function ga(t,e,o){return(e=ua(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function ya(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,i)}return o}function ba(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?ya(Object(o),!0).forEach((function(e){ga(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):ya(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function ma(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}fa.produceWithPatches.bind(fa),fa.setAutoFreeze.bind(fa),fa.setUseProxies.bind(fa),fa.applyPatches.bind(fa),fa.createDraft.bind(fa),fa.finishDraft.bind(fa);var va="function"==typeof Symbol&&Symbol.observable||"@@observable",xa=function(){return Math.random().toString(36).substring(7).split("").join(".")},Oa={INIT:"@@redux/INIT"+xa(),REPLACE:"@@redux/REPLACE"+xa(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+xa()}};function wa(t,e,o){var i;if("function"==typeof e&&"function"==typeof o||"function"==typeof o&&"function"==typeof arguments[3])throw new Error(ma(0));if("function"==typeof e&&void 0===o&&(o=e,e=void 0),void 0!==o){if("function"!=typeof o)throw new Error(ma(1));return o(wa)(t,e)}if("function"!=typeof t)throw new Error(ma(2));var r=t,n=e,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function h(){if(l)throw new Error(ma(3));return n}function f(t){if("function"!=typeof t)throw new Error(ma(4));if(l)throw new Error(ma(5));var e=!0;return c(),s.push(t),function(){if(e){if(l)throw new Error(ma(6));e=!1,c();var o=s.indexOf(t);s.splice(o,1),a=null}}}function d(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}(t))throw new Error(ma(7));if(void 0===t.type)throw new Error(ma(8));if(l)throw new Error(ma(9));try{l=!0,n=r(n,t)}finally{l=!1}for(var e=a=s,o=0;o<e.length;o++){(0,e[o])()}return t}return d({type:Oa.INIT}),(i={dispatch:d,subscribe:f,getState:h,replaceReducer:function(t){if("function"!=typeof t)throw new Error(ma(10));r=t,d({type:Oa.REPLACE})}})[va]=function(){var t,e=f;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(ma(11));function o(){t.next&&t.next(h())}return o(),{unsubscribe:e(o)}}})[va]=function(){return this},t},i}function Sa(t){for(var e=Object.keys(t),o={},i=0;i<e.length;i++){var r=e[i];"function"==typeof t[r]&&(o[r]=t[r])}var n,a=Object.keys(o);try{!function(t){Object.keys(t).forEach((function(e){var o=t[e];if(void 0===o(void 0,{type:Oa.INIT}))throw new Error(ma(12));if(void 0===o(void 0,{type:Oa.PROBE_UNKNOWN_ACTION()}))throw new Error(ma(13))}))}(o)}catch(t){n=t}return function(t,e){if(void 0===t&&(t={}),n)throw n;for(var i=!1,r={},s=0;s<a.length;s++){var l=a[s],c=o[l],h=t[l],f=c(h,e);if(void 0===f)throw e&&e.type,new Error(ma(14));r[l]=f,i=i||f!==h}return(i=i||a.length!==Object.keys(t).length)?r:t}}function Ca(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}function Na(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(t){return function(){var o=t.apply(void 0,arguments),i=function(){throw new Error(ma(15))},r={getState:o.getState,dispatch:function(){return i.apply(void 0,arguments)}},n=e.map((function(t){return t(r)}));return i=Ca.apply(void 0,n)(o.dispatch),ba(ba({},o),{},{dispatch:i})}}}function $a(t){return function(e){var o=e.dispatch,i=e.getState;return function(e){return function(r){return"function"==typeof r?r(o,i,t):e(r)}}}}var Ea=$a();Ea.withExtraArgument=$a;var ka,Ra=Ea,Ia=(ka=function(t,e){return ka=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},ka(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}ka(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}),La=function(t,e){var o,i,r,n,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return n={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function s(n){return function(s){return function(n){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,i&&(r=2&n[0]?i.return:n[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,n[1])).done)return r;switch(i=0,r&&(n=[2&n[0],r.value]),n[0]){case 0:case 1:r=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,i=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!r||n[1]>r[0]&&n[1]<r[3])){a.label=n[1];break}if(6===n[0]&&a.label<r[1]){a.label=r[1],r=n;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(n);break}r[2]&&a.ops.pop(),a.trys.pop();continue}n=e.call(t,a)}catch(t){n=[6,t],i=0}finally{o=r=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,s])}}},Ua=function(t,e){for(var o=0,i=e.length,r=t.length;o<i;o++,r++)t[r]=e[o];return t},Aa=Object.defineProperty,Wa=Object.defineProperties,za=Object.getOwnPropertyDescriptors,Ba=Object.getOwnPropertySymbols,Fa=Object.prototype.hasOwnProperty,_a=Object.prototype.propertyIsEnumerable,Pa=function(t,e,o){return e in t?Aa(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},ja=function(t,e){for(var o in e||(e={}))Fa.call(e,o)&&Pa(t,o,e[o]);if(Ba)for(var i=0,r=Ba(e);i<r.length;i++){o=r[i];_a.call(e,o)&&Pa(t,o,e[o])}return t},Da=function(t,e){return Wa(t,za(e))},Ta="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?Ca:Ca.apply(null,arguments)};var Ma=function(t){function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var r=t.apply(this,o)||this;return Object.setPrototypeOf(r,e.prototype),r}return Ia(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,Ua([void 0],t[0].concat(this)))):new(e.bind.apply(e,Ua([void 0],t.concat(this))))},e}(Array),Ha=function(t){function e(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var r=t.apply(this,o)||this;return Object.setPrototypeOf(r,e.prototype),r}return Ia(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,Ua([void 0],t[0].concat(this)))):new(e.bind.apply(e,Ua([void 0],t.concat(this))))},e}(Array);function Ka(t){return mn(t)?da(t,(function(){})):t}function Za(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,o=void 0===e||e;t.immutableCheck,t.serializableCheck;var i=new Ma;o&&(!function(t){return"boolean"==typeof t}(o)?i.push(Ra.withExtraArgument(o.extraArgument)):i.push(Ra));return i}(t)}}function Ga(t){var e,o=Za(),i=t||{},r=i.reducer,n=void 0===r?void 0:r,a=i.middleware,s=void 0===a?o():a,l=i.devTools,c=void 0===l||l,h=i.preloadedState,f=void 0===h?void 0:h,d=i.enhancers,p=void 0===d?void 0:d;if("function"==typeof n)e=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var o=e;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return e===o}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=Sa(n)}var u=s;"function"==typeof u&&(u=u(o));var g=Na.apply(void 0,u),y=Ca;c&&(y=Ta(ja({trace:!1},"object"==typeof c&&c)));var b=new Ha(g),m=b;return Array.isArray(p)?m=Ua([g],p):"function"==typeof p&&(m=p(b)),wa(e,f,y.apply(void 0,m))}function Va(t,e){function o(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];if(e){var r=e.apply(void 0,o);if(!r)throw new Error("prepareAction did not return an object");return ja(ja({type:t,payload:r.payload},"meta"in r&&{meta:r.meta}),"error"in r&&{error:r.error})}return{type:t,payload:o[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(e){return e.type===t},o}function qa(t){var e,o={},i=[],r={addCase:function(t,e){var i="string"==typeof t?t:t.type;if(i in o)throw new Error("addCase cannot be called with two reducers for the same action type");return o[i]=e,r},addMatcher:function(t,e){return i.push({matcher:t,reducer:e}),r},addDefaultCase:function(t){return e=t,r}};return t(r),[o,i,e]}function Ya(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");var o,i="function"==typeof t.initialState?t.initialState:Ka(t.initialState),r=t.reducers||{},n=Object.keys(r),a={},s={},l={};function c(){var e="function"==typeof t.extraReducers?qa(t.extraReducers):[t.extraReducers],o=e[0],r=void 0===o?{}:o,n=e[1],a=void 0===n?[]:n,l=e[2],c=void 0===l?void 0:l,h=ja(ja({},r),s);return function(t,e,o,i){void 0===o&&(o=[]);var r,n="function"==typeof e?qa(e):[e,o,i],a=n[0],s=n[1],l=n[2];if(function(t){return"function"==typeof t}(t))r=function(){return Ka(t())};else{var c=Ka(t);r=function(){return c}}function h(t,e){void 0===t&&(t=r());var o=Ua([a[e.type]],s.filter((function(t){return(0,t.matcher)(e)})).map((function(t){return t.reducer})));return 0===o.filter((function(t){return!!t})).length&&(o=[l]),o.reduce((function(t,o){if(o){var i;if(bn(t))return void 0===(i=o(t,e))?t:i;if(mn(t))return da(t,(function(t){return o(t,e)}));if(void 0===(i=o(t,e))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return i}return t}),t)}return h.getInitialState=r,h}(i,(function(t){for(var e in h)t.addCase(e,h[e]);for(var o=0,i=a;o<i.length;o++){var r=i[o];t.addMatcher(r.matcher,r.reducer)}c&&t.addDefaultCase(c)}))}return n.forEach((function(t){var o,i,n=r[t],c=e+"/"+t;"reducer"in n?(o=n.reducer,i=n.prepare):o=n,a[t]=o,s[c]=o,l[t]=i?Va(c,i):Va(c)})),{name:e,reducer:function(t,e){return o||(o=c()),o(t,e)},actions:l,caseReducers:a,getInitialState:function(){return o||(o=c()),o.getInitialState()}}}var Ja=["name","message","stack","code"],Qa=function(t,e){this.payload=t,this.meta=e},Xa=function(t,e){this.payload=t,this.meta=e},ts=function(t){if("object"==typeof t&&null!==t){for(var e={},o=0,i=Ja;o<i.length;o++){var r=i[o];"string"==typeof t[r]&&(e[r]=t[r])}return e}return{message:String(t)}};function es(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,e,o){var i=Va(t+"/fulfilled",(function(t,e,o,i){return{payload:t,meta:Da(ja({},i||{}),{arg:o,requestId:e,requestStatus:"fulfilled"})}})),r=Va(t+"/pending",(function(t,e,o){return{payload:void 0,meta:Da(ja({},o||{}),{arg:e,requestId:t,requestStatus:"pending"})}})),n=Va(t+"/rejected",(function(t,e,i,r,n){return{payload:r,error:(o&&o.serializeError||ts)(t||"Rejected"),meta:Da(ja({},n||{}),{arg:i,requestId:e,rejectedWithValue:!!r,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(s,l,c){var h,f=(null==o?void 0:o.idGenerator)?o.idGenerator(t):function(t){void 0===t&&(t=21);for(var e="",o=t;o--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}(),d=new a;function p(t){h=t,d.abort()}var u=function(){return a=this,u=null,g=function(){var a,u,g,y,b,m;return La(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),y=null==(a=null==o?void 0:o.condition)?void 0:a.call(o,t,{getState:l,extra:c}),null===(x=y)||"object"!=typeof x||"function"!=typeof x.then?[3,2]:[4,y];case 1:y=v.sent(),v.label=2;case 2:if(!1===y||d.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,e){return d.signal.addEventListener("abort",(function(){return e({name:"AbortError",message:h||"Aborted"})}))})),s(r(f,t,null==(u=null==o?void 0:o.getPendingMeta)?void 0:u.call(o,{requestId:f,arg:t},{getState:l,extra:c}))),[4,Promise.race([b,Promise.resolve(e(t,{dispatch:s,getState:l,extra:c,requestId:f,signal:d.signal,abort:p,rejectWithValue:function(t,e){return new Qa(t,e)},fulfillWithValue:function(t,e){return new Xa(t,e)}})).then((function(e){if(e instanceof Qa)throw e;return e instanceof Xa?i(e.payload,f,t,e.meta):i(e,f,t)}))])];case 3:return g=v.sent(),[3,5];case 4:return m=v.sent(),g=m instanceof Qa?n(null,f,t,m.payload,m.meta):n(m,f,t),[3,5];case 5:return o&&!o.dispatchConditionRejection&&n.match(g)&&g.meta.condition||s(g),[2,g]}var x}))},new Promise((function(t,e){var o=function(t){try{r(g.next(t))}catch(t){e(t)}},i=function(t){try{r(g.throw(t))}catch(t){e(t)}},r=function(e){return e.done?t(e.value):Promise.resolve(e.value).then(o,i)};r((g=g.apply(a,u)).next())}));var a,u,g}();return Object.assign(u,{abort:p,requestId:f,arg:t,unwrap:function(){return u.then(es)}})}}),{pending:r,rejected:n,fulfilled:i,typePrefix:t})}t.withTypes=function(){return t}}();var os="listenerMiddleware";Va(os+"/add"),Va(os+"/removeAll"),Va(os+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,e){var o=r[t];return o?o.enumerable=e:r[t]=o={configurable:!0,enumerable:e,get:function(){var e=this[ia];return la.get(e,t)},set:function(e){var o=this[ia];la.set(o,t,e)}},o}function e(t){for(var e=t.length-1;e>=0;e--){var r=t[e][ia];if(!r.P)switch(r.i){case 5:i(r)&&Hn(r);break;case 4:o(r)&&Hn(r)}}}function o(t){for(var e=t.t,o=t.k,i=na(o),r=i.length-1;r>=0;r--){var n=i[r];if(n!==ia){var a=e[n];if(void 0===a&&!On(e,n))return!0;var s=o[n],l=s&&s[ia];if(l?l.t!==a:!Sn(s,a))return!0}}var c=!!e[ia];return i.length!==na(e).length+(c?0:1)}function i(t){var e=t.k;if(e.length!==t.t.length)return!0;var o=Object.getOwnPropertyDescriptor(e,e.length-1);if(o&&!o.get)return!0;for(var i=0;i<e.length;i++)if(!e.hasOwnProperty(i))return!0;return!1}var r={};!function(t,e){sa[t]||(sa[t]=e)}("ES5",{J:function(e,o){var i=Array.isArray(e),r=function(e,o){if(e){for(var i=Array(o.length),r=0;r<o.length;r++)Object.defineProperty(i,""+r,t(r,!0));return i}var n=aa(o);delete n[ia];for(var a=na(n),s=0;s<a.length;s++){var l=a[s];n[l]=t(l,e||!!n[l].enumerable)}return Object.create(Object.getPrototypeOf(o),n)}(i,e),n={i:i?5:4,A:o?o.A:Un(),P:!1,I:!1,R:{},l:o,t:e,k:r,o:null,g:!1,C:!1};return Object.defineProperty(r,ia,{value:n,writable:!0}),r},S:function(t,o,r){r?bn(o)&&o[ia].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var o=e[ia];if(o){var r=o.t,n=o.k,a=o.R,s=o.i;if(4===s)vn(n,(function(e){e!==ia&&(void 0!==r[e]||On(r,e)?a[e]||t(n[e]):(a[e]=!0,Hn(o)))})),vn(r,(function(t){void 0!==n[t]||On(n,t)||(a[t]=!1,Hn(o))}));else if(5===s){if(i(o)&&(Hn(o),a.length=!0),n.length<r.length)for(var l=n.length;l<r.length;l++)a[l]=!1;else for(var c=r.length;c<n.length;c++)a[c]=!0;for(var h=Math.min(n.length,r.length),f=0;f<h;f++)n.hasOwnProperty(f)||(a[f]=!0),void 0===a[f]&&t(n[f])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?o(t):i(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class is{static get(t){var e;const o="string"==typeof t?t:t.name,i="string"==typeof t?void 0:t,r=window.ftReduxStores[o];if(ln(r))return r;if(null==i)return;const n=Ya({...i,reducers:null!==(e=i.reducers)&&void 0!==e?e:{}}),a=Ga({reducer:(t,e)=>"CLEAR_FT_REDUX_STORE"===e.type?n.getInitialState():"string"==typeof e.type&&e.type.startsWith("DEFAULT_VALUE_SETTER__")?{...t,...e.overwrites}:n.reducer(t,e)});return window.ftReduxStores[i.name]=new is(n,a)}constructor(t,e){this.reduxSlice=t,this.reduxStore=e,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new sn,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,e,o)=>{const i=e,r=t[i];return r?(...t)=>{const e=r(...t);return this.reduxStore.dispatch(e),e}:t=>{this.setState({[i]:t})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}}var rs=Object.freeze({__proto__:null,FtCommandQueue:sn,FtLitElementRedux:gn,FtReduxStore:is,clearAllStores:function(){var t;for(let e of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))ln(e)&&e.clear()},isFtReduxStore:ln,redux:an,reduxEventListener:t=>(e,o)=>{const i=e.constructor;i.reduxEventListeners=new Map(i.reduxEventListeners),i.reduxEventListeners.set(o,t)},reduxReactive:()=>(t,e)=>{var o;const i=t.constructor;i.reduxReactiveProperties=new Set(i.reduxReactiveProperties),null===(o=i.reduxReactiveProperties)||void 0===o||o.add(e)}});var ns=Object.freeze({__proto__:null,serializeRequest:function(t,e){var o,i,r,n;const a=new URLSearchParams({"content-lang":null!==(o=e.contentLocale)&&void 0!==o?o:"all"});if((null===(i=e.query)||void 0===i?void 0:i.length)>0&&a.append("query",e.query),e.scope&&"DEFAULT"!==e.scope&&a.append("scope",e.scope.toLowerCase()),e.virtualField&&a.append("virtual-field",e.virtualField.toLowerCase()),e.periodFilter){let t=e.periodFilter.period;const o=t?`_${t.from}_${t.to}`:"";a.append("period",e.periodFilter.periodType.toLowerCase()+o)}if((null===(r=e.sort)||void 0===r?void 0:r.length)>0&&"ft:lastEdition"===e.sort[0].key&&a.append("sort","last_update"),(null===(n=e.filters)||void 0===n?void 0:n.length)>0){const t=e.filters.map((t=>{const e=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${e}`})).join("*");a.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${a.toString()}`).href}});const as=Symbol("elementInternals");function ss(t,e){return class extends t{static get formAssociated(){return!0}get form(){return this[as].form}constructor(...t){super(t),this[as]=this.attachInternals(),this[as].role=e}setFormValue(t){this[as].setFormValue(t)}}}var ls,cs,hs,fs,ds=Object.freeze({__proto__:null,toFtFormComponent:ss});const ps=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(hs=null===(cs=null===(ls=window.safari)||void 0===ls?void 0:ls.pushNotification)||void 0===cs?void 0:cs.toString())&&void 0!==hs?hs:""),us="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(fs=window.ftGlobals)&&void 0!==fs?fs:{lit:ve,litDecorators:Le,litRepeat:He,litClassMap:Ze,litStyleMap:Ye,litUnsafeHTML:Xe,wcUtils:{...no,...io,...so,...co,...xo,...Ni,...Ri,...Ur,...Si,...Mr,...Hr,...yo,...Jr,...en,...on,...nn,...rs,...Fr,...ns,...ds,isSafari:ps,isTouchScreen:us}};const gs={spacing:wo.create("--ft-search-selected-facets-spacing","","SIZE","8px")},ys=dt`
176
176
  .ft-search-selected-facets--container {
177
177
  display: flex;
178
178
  flex-wrap: wrap;
179
- gap: ${us.spacing};
179
+ gap: ${gs.spacing};
180
180
  }
181
181
 
182
182
  .ft-search-selected-facets--container > * {
183
183
  min-width: 0;
184
184
  }
185
- `,ys={setRequest:(t,e)=>{t.request=e.payload},setRequestQuery:(t,e)=>{t.request.query=e.payload},setRequestContentLocale:(t,e)=>{t.request.contentLocale=e.payload},setPageSize:(t,e)=>{t.request.paging.perPage=e.payload},setPageNumber:(t,e)=>{t.request.paging.page=e.payload},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestFilters:(t,e)=>{t.request.filters=e.payload},setRequestFacets:(t,e)=>{t.request.facets=e.payload},setRequestVirtualField:(t,e)=>{t.request.virtualField=e.payload},setRequestScope:(t,e)=>{t.request.scope=e.payload},setRequestClusterSortCriterion:(t,e)=>{t.request.clusterSortCriterions=e.payload},setResults:(t,e)=>{t.results=e.payload},setFacets:(t,e)=>{t.facets=e.payload},setSpellcheck:(t,e)=>{t.spellcheck=e.payload},setLocales:(t,e)=>{t.locales=e.payload},setPaging:(t,e)=>{t.paging=e.payload},setLiveQuery:(t,e)=>{t.liveQuery=e.payload},setSuggestResults:(t,e)=>{t.suggestResults=e.payload},setRequestPeriodFilter:(t,e)=>{t.request.periodFilter=e.payload}};var bs,ms,vs,xs,Os,ws,Ss,Cs,Ns,$s,Es,ks,Rs,Is,Ls,Us,As,Ws;!function(t){!function(e){var o={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(o.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o.iterable&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function h(t){return new Promise((function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}}))}function f(t){var e=new FileReader,o=h(e);return e.readAsArrayBuffer(t),o}function d(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function p(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o.arrayBuffer&&o.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=d(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||r(t))?this._bodyArrayBuffer=d(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(f)}),this.text=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,o=h(e);return e.readAsText(t),o}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),o=new Array(e.length),i=0;i<e.length;i++)o[i]=String.fromCharCode(e[i]);return o.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(y)}),this.json=function(){return this.text().then(JSON.parse)},this}l.prototype.append=function(t,e){t=n(t),e=a(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},l.prototype.delete=function(t){delete this.map[n(t)]},l.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},l.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},l.prototype.set=function(t,e){this.map[n(t)]=a(e)},l.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},l.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),s(t)},l.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),s(t)},l.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),s(t)},o.iterable&&(l.prototype[Symbol.iterator]=l.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function g(t,e){var o,i,r=(e=e||{}).body;if(t instanceof g){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new l(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new l(e.headers)),this.method=(o=e.method||this.method||"GET",i=o.toUpperCase(),u.indexOf(i)>-1?i:o),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function y(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var o=t.split("="),i=o.shift().replace(/\+/g," "),r=o.join("=").replace(/\+/g," ");e.append(decodeURIComponent(i),decodeURIComponent(r))}})),e}function b(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new l(e.headers),this.url=e.url||"",this._initBody(t)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},p.call(g.prototype),p.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,e){if(-1===m.indexOf(e))throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var o=Error(t);this.stack=o.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function v(t,i){return new Promise((function(r,n){var a=new g(t,i);if(a.signal&&a.signal.aborted)return n(new e.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function c(){s.abort()}s.onload=function(){var t,e,o={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new l,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var o=t.split(":"),i=o.shift().trim();if(i){var r=o.join(":").trim();e.append(i,r)}})),e)};o.url="responseURL"in s?s.responseURL:o.headers.get("X-Request-URL");var i="response"in s?s.response:s.responseText;r(new b(i,o))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new e.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&o.blob&&(s.responseType="blob"),a.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),a.signal&&(a.signal.addEventListener("abort",c),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",c)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=l,t.Request=g,t.Response=b),e.Headers=l,e.Request=g,e.Response=b,e.fetch=v,Object.defineProperty(e,"W",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(bs||(bs={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(ms||(ms={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(vs||(vs={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(xs||(xs={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(Os||(Os={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(ws||(ws={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(Ss||(Ss={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(Cs||(Cs={})),function(t){t.ASC="ASC",t.DESC="DESC"}(Ns||(Ns={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}($s||($s={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(Es||(Es={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(ks||(ks={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(Rs||(Rs={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Is||(Is={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Ls||(Ls={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(Us||(Us={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(As||(As={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(Ws||(Ws={})),As.PERSONAL_BOOK_SHARE_USER,As.PERSONAL_BOOK_USER,As.HTML_EXPORT_USER,As.PERSONAL_BOOK_USER,As.PDF_EXPORT_USER,As.PERSONAL_BOOK_USER,As.KHUB_ADMIN,As.CONTENT_PUBLISHER,As.ADMIN,As.KHUB_ADMIN,As.USERS_ADMIN,As.PORTAL_ADMIN,As.DEVELOPER,As.BETA_USER,As.DEBUG_USER;const zs=dt`
186
- `,Bs=os.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});class Fs{static get(t){const{baseUrl:e,apiIntegrationIdentifier:o}=Bs.getState(),i=null!=t?t:o;if(e&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,i,!0)}static await(t){return new Promise((e=>{let o=Fs.get(t);if(o)e(o);else{const i=Bs.subscribe((()=>{o=Fs.get(t),o&&(i(),e(o))}))}}))}}class _s{constructor(t=!0,e){var o;this.overrideApi=e;let i=this.constructor;i.commonCache=null!==(o=i.commonCache)&&void 0!==o?o:new ro,this.cache=t?i.commonCache:new ro}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Fs.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Fs.await()}clearCache(){this.cache.clearAll()}}var Ps;const js=Symbol("clearAfterUnitTest");class Ds extends _s{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Ps]=()=>{this.defaultMessages={},this.cache=new ro,this.listeners={}},this.currentUiLocale=Bs.getState().uiLocale,Bs.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Bs.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var o;if(t=t.toLowerCase(),Object.keys(e).length>0){const i={...null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},...e};go(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){var i,r,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(r=null===(i=this.cache.getNow(t))||void 0===i?void 0:i.messages)&&void 0!==r?r:{};return new on(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).resolve(e,...o)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>ho(0).then((()=>t())).catch((()=>null)))))}}Ps=js,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends Ds{constructor(){super((async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends Ds{constructor(){super((async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e)))}});const Ts=window.FluidTopicsI18nService,Ms=window.FluidTopicsCustomI18nService;var Ks=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 Hs extends Tr{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Fs.get(),this.messageContexts=[],this.cache=new ro,this.cleanSessionDebouncer=new lo}render(){return Jt`
185
+ `,bs={setRequest:(t,e)=>{t.request=e.payload},setRequestQuery:(t,e)=>{t.request.query=e.payload},setRequestContentLocale:(t,e)=>{t.request.contentLocale=e.payload},setPageSize:(t,e)=>{t.request.paging.perPage=e.payload},setPageNumber:(t,e)=>{t.request.paging.page=e.payload},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestFilters:(t,e)=>{t.request.filters=e.payload},setRequestFacets:(t,e)=>{t.request.facets=e.payload},setRequestVirtualField:(t,e)=>{t.request.virtualField=e.payload},setRequestScope:(t,e)=>{t.request.scope=e.payload},setRequestClusterSortCriterion:(t,e)=>{t.request.clusterSortCriterions=e.payload},setResults:(t,e)=>{t.results=e.payload},setFacets:(t,e)=>{t.facets=e.payload},setSpellcheck:(t,e)=>{t.spellcheck=e.payload},setLocales:(t,e)=>{t.locales=e.payload},setPaging:(t,e)=>{t.paging=e.payload},setLiveQuery:(t,e)=>{t.liveQuery=e.payload},setSuggestResults:(t,e)=>{t.suggestResults=e.payload},setRequestPeriodFilter:(t,e)=>{t.request.periodFilter=e.payload}};var ms,vs,xs,Os,ws,Ss,Cs,Ns,$s,Es,ks,Rs,Is,Ls,Us,As,Ws,zs;!function(t){!function(e){var o={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(o.arrayBuffer)var i=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],r=ArrayBuffer.isView||function(t){return t&&i.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function a(t){return"string"!=typeof t&&(t=String(t)),t}function s(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return o.iterable&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function c(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function h(t){return new Promise((function(e,o){t.onload=function(){e(t.result)},t.onerror=function(){o(t.error)}}))}function f(t){var e=new FileReader,o=h(e);return e.readAsArrayBuffer(t),o}function d(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function p(){return this.bodyUsed=!1,this._initBody=function(t){var e;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o.arrayBuffer&&o.blob&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=d(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||r(t))?this._bodyArrayBuffer=d(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):o.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?c(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(f)}),this.text=function(){var t=c(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,o=h(e);return e.readAsText(t),o}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),o=new Array(e.length),i=0;i<e.length;i++)o[i]=String.fromCharCode(e[i]);return o.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o.formData&&(this.formData=function(){return this.text().then(y)}),this.json=function(){return this.text().then(JSON.parse)},this}l.prototype.append=function(t,e){t=n(t),e=a(e);var o=this.map[t];this.map[t]=o?o+", "+e:e},l.prototype.delete=function(t){delete this.map[n(t)]},l.prototype.get=function(t){return t=n(t),this.has(t)?this.map[t]:null},l.prototype.has=function(t){return this.map.hasOwnProperty(n(t))},l.prototype.set=function(t,e){this.map[n(t)]=a(e)},l.prototype.forEach=function(t,e){for(var o in this.map)this.map.hasOwnProperty(o)&&t.call(e,this.map[o],o,this)},l.prototype.keys=function(){var t=[];return this.forEach((function(e,o){t.push(o)})),s(t)},l.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),s(t)},l.prototype.entries=function(){var t=[];return this.forEach((function(e,o){t.push([o,e])})),s(t)},o.iterable&&(l.prototype[Symbol.iterator]=l.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function g(t,e){var o,i,r=(e=e||{}).body;if(t instanceof g){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new l(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new l(e.headers)),this.method=(o=e.method||this.method||"GET",i=o.toUpperCase(),u.indexOf(i)>-1?i:o),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function y(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var o=t.split("="),i=o.shift().replace(/\+/g," "),r=o.join("=").replace(/\+/g," ");e.append(decodeURIComponent(i),decodeURIComponent(r))}})),e}function b(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new l(e.headers),this.url=e.url||"",this._initBody(t)}g.prototype.clone=function(){return new g(this,{body:this._bodyInit})},p.call(g.prototype),p.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,e){if(-1===m.indexOf(e))throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})},e.DOMException=t.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var o=Error(t);this.stack=o.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function v(t,i){return new Promise((function(r,n){var a=new g(t,i);if(a.signal&&a.signal.aborted)return n(new e.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function c(){s.abort()}s.onload=function(){var t,e,o={status:s.status,statusText:s.statusText,headers:(t=s.getAllResponseHeaders()||"",e=new l,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var o=t.split(":"),i=o.shift().trim();if(i){var r=o.join(":").trim();e.append(i,r)}})),e)};o.url="responseURL"in s?s.responseURL:o.headers.get("X-Request-URL");var i="response"in s?s.response:s.responseText;r(new b(i,o))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.onabort=function(){n(new e.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&o.blob&&(s.responseType="blob"),a.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),a.signal&&(a.signal.addEventListener("abort",c),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",c)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}v.polyfill=!0,t.fetch||(t.fetch=v,t.Headers=l,t.Request=g,t.Response=b),e.Headers=l,e.Request=g,e.Response=b,e.fetch=v,Object.defineProperty(e,"W",{value:!0})}({})}("undefined"!=typeof self?self:void 0),function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"}(ms||(ms={})),function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"}(vs||(vs={})),function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"}(xs||(xs={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(Os||(Os={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(ws||(ws={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(Ss||(Ss={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(Cs||(Cs={})),function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"}(Ns||(Ns={})),function(t){t.ASC="ASC",t.DESC="DESC"}($s||($s={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(Es||(Es={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(ks||(ks={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Rs||(Rs={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(Is||(Is={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Ls||(Ls={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(Us||(Us={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(As||(As={})),function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"}(Ws||(Ws={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(zs||(zs={})),Ws.PERSONAL_BOOK_SHARE_USER,Ws.PERSONAL_BOOK_USER,Ws.HTML_EXPORT_USER,Ws.PERSONAL_BOOK_USER,Ws.PDF_EXPORT_USER,Ws.PERSONAL_BOOK_USER,Ws.KHUB_ADMIN,Ws.CONTENT_PUBLISHER,Ws.ADMIN,Ws.KHUB_ADMIN,Ws.USERS_ADMIN,Ws.PORTAL_ADMIN,Ws.DEVELOPER,Ws.BETA_USER,Ws.DEBUG_USER;const Bs=dt`
186
+ `,Fs=is.get({name:"ft-app-info",reducers:{},initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});class _s{static get(t){const{baseUrl:e,apiIntegrationIdentifier:o}=Fs.getState(),i=null!=t?t:o;if(e&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(e,i,!0)}static await(t){return new Promise((e=>{let o=_s.get(t);if(o)e(o);else{const i=Fs.subscribe((()=>{o=_s.get(t),o&&(i(),e(o))}))}}))}}class Ps{constructor(t=!0,e){var o;this.overrideApi=e;let i=this.constructor;i.commonCache=null!==(o=i.commonCache)&&void 0!==o?o:new ro,this.cache=t?i.commonCache:new ro}get api(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:_s.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:_s.await()}clearCache(){this.cache.clearAll()}}var js;const Ds=Symbol("clearAfterUnitTest");class Ts extends Ps{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[js]=()=>{this.defaultMessages={},this.cache=new ro,this.listeners={}},this.currentUiLocale=Fs.getState().uiLocale,Fs.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=Fs.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){const e=t.name.toLowerCase();this.cache.setFinal(e,t),this.notify(e)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,e){var o;if(t=t.toLowerCase(),Object.keys(e).length>0){const i={...null!==(o=this.defaultMessages[t])&&void 0!==o?o:{},...e};go(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,e,...o){var i,r,n;t=t.toLowerCase(),this.fetchContext(t);const a=null!==(r=null===(i=this.cache.getNow(t))||void 0===i?void 0:i.messages)&&void 0!==r?r:{};return new rn(null!==(n=this.defaultMessages[t])&&void 0!==n?n:{},a).resolve(e,...o)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,(()=>this.messageContextProvider(this.currentUiLocale,t))),await this.notify(t)}catch(t){console.error(t)}}subscribe(t,e){var o;return t=t.toLowerCase(),this.listeners[t]=null!==(o=this.listeners[t])&&void 0!==o?o:new Set,this.listeners[t].add(e),()=>{var o;return null===(o=this.listeners[t])||void 0===o?void 0:o.delete(e)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map((t=>this.notify(t))))}async notify(t){null!=this.listeners[t]&&await Promise.all([...this.listeners[t].values()].map((t=>ho(0).then((()=>t())).catch((()=>null)))))}}js=Ds,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends Ts{constructor(){super((async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends Ts{constructor(){super((async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e)))}});const Ms=window.FluidTopicsI18nService,Hs=window.FluidTopicsCustomI18nService;var Ks=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 Zs extends Tr{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>_s.get(),this.messageContexts=[],this.cache=new ro,this.cleanSessionDebouncer=new lo}render(){return Jt`
187
187
  <slot></slot>
188
- `}update(t){super.update(t),t.has("baseUrl")&&(Bs.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&Bs.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Bs.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&Bs.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&Bs.actions.noCustom(this.noCustom),t.has("editorMode")&&Bs.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&Bs.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&Bs.actions.session(this.session),t.has("availableUiLocales")&&Bs.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Ts.addContext(t))),t.has("openExternalDocumentInNewTab")&&Bs.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&Bs.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&Bs.actions.forcedOffline(this.forcedOffline),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}Hs.elementDefinitions={},Hs.styles=zs,Ks([we()],Hs.prototype,"baseUrl",void 0),Ks([we()],Hs.prototype,"apiIntegrationIdentifier",void 0),Ks([we()],Hs.prototype,"uiLocale",void 0),Ks([mo(null)],Hs.prototype,"availableUiLocales",void 0),Ks([mo(null)],Hs.prototype,"metadataConfiguration",void 0),Ks([we({type:Boolean})],Hs.prototype,"editorMode",void 0),Ks([we({type:Boolean})],Hs.prototype,"noCustom",void 0),Ks([we({type:Boolean})],Hs.prototype,"openExternalDocumentInNewTab",void 0),Ks([we({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Hs.prototype,"noCustomComponent",void 0),Ks([we({type:Boolean})],Hs.prototype,"withManualResources",void 0),Ks([we({type:Boolean})],Hs.prototype,"navigatorOnline",void 0),Ks([we({type:Boolean})],Hs.prototype,"forcedOffline",void 0),Ks([we({type:Object})],Hs.prototype,"apiProvider",void 0),Ks([mo([])],Hs.prototype,"messageContexts",void 0),Ks([mo(void 0)],Hs.prototype,"session",void 0);class Zs extends _s{async listMySearches(){let t=Bs.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class Gs extends _s{async listMyBookmarks(){let t=Bs.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const Vs=os.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const qs=new class{constructor(){this.currentSession=Bs.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Gs,this.savedSearchesService=new Zs,Bs.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=Bs.getState();go(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Vs.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Vs.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();Vs.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;Vs.actions.bookmarks(e)}}};bo("ft-app-context")(Hs);class Ys extends _s{constructor(){super(),this.cache.registerFinal("available-locales",(()=>this.api.getAvailableSearchLocales()))}async launchSearch(t){return this.api.search(t)}async launchSuggest(t){return this.api.getSuggestions(t)}async getAvailableSearchLocales(){return this.cache.get("available-locales")}}const Js=t=>t.request.virtualField===Es.TITLE_ONLY&&t.request.scope===Us.DOCUMENTS;class Qs extends Event{constructor(){super(Qs.eventName)}}Qs.eventName="search-context-clear-all-filters";class Xs{static build(t,e){return new Xs((t=>os.get({name:"ft-search-"+t,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:ys}))(t.trim()||"context"),e)}constructor(t,e){this.store=t,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.searchDebouncer=new lo(100),this.suggestDebouncer=new lo(300),this.service=null!=e?e:new Ys}async initService(){return this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales),this.launchSearch()}setQuery(t){this.store.actions.setRequestQuery(t),this.store.actions.setLiveQuery(t),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(t){let e=this.store.getState().locales,o=this.store.getState().request.contentLocale;if(t!=o){if(e){const i=t=>e.some((e=>e.lang==t));i(t)||(t=i(o)?o:e[0].lang)}this.store.actions.setRequestContentLocale(t),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return t}setPageSize(t){this.store.actions.setPageSize(t),this.launchSearch()}setPageNumber(t){this.store.actions.setPageNumber(t),this.launchSearch()}setSort(t){this.store.actions.setRequestSort(t),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(t){const e=t.filter((t=>t.values.length>0));this.store.actions.setRequestFilters(e),this.store.actions.setPageNumber(1),e.forEach((t=>{this.facetIds.includes(t.key)||(this.facetIds=[...this.facetIds,t.key])})),this.launchSearch()}setClusterSortCriterion(t){this.store.actions.setRequestClusterSortCriterion(t),this.launchSearch()}setSearchInDocumentTitlesOnly(t){t?(this.store.actions.setRequestVirtualField(Es.TITLE_ONLY),this.store.actions.setRequestScope(Us.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Es.EVERYWHERE),this.store.actions.setRequestScope(Us.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return Js(this.store.getState())}get periodFilter(){return this.store.getState().request.periodFilter}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new Qs)}addFacet(t){this.facetIds=[...this.facetIds,t],this.launchSearch()}replaceFacet(t,e){let o=this.facetIds.filter((e=>e!=t));e&&o.push(e),this.facetIds=o,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map((t=>t.id))}set facetIds(t){let e=[...new Set(t)].map((t=>({id:t})));this.store.actions.setRequestFacets(e)}setFilter(t,e){let o=this.store.getState().request.filters,i={key:t,values:e,negative:!1},r=[...o.filter((e=>e.key!==t)),i];this.setFilters(r)}setLiveQuery(t){this.store.actions.setLiveQuery(t),this.launchSuggest()}setRequest(t){this.store.actions.setRequest(t),this.store.actions.setLiveQuery(t.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(t){this.store.actions.setRequestScope(t),this.launchSearch()}setIgnoreEmptyQuery(t){this.ignoreEmptyQuery=t,this.launchSearch()}setOpenExternalDocumentInNewTab(t){this.openExternalDocumentInNewTab=t}setPeriodFilter(t){this.store.actions.setRequestPeriodFilter(t),this.store.actions.setPageNumber(1),this.launchSearch()}launchSearch(){return this.searchDebouncer.run((()=>this.fetchSearchData()))}launchSuggest(){return this.suggestDebouncer.run((()=>this.fetchSuggestData()))}async fetchSearchData(){var t,e;try{null===(t=this.cancelableSearch)||void 0===t||t.cancel();let o=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&0==o.query.length)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=oo(this.service.launchSearch(o));const t=await this.cancelableSearch;if(t.paging.currentPage<=1)this.store.actions.setResults(t.results),this.store.actions.setFacets(t.facets),this.store.actions.setSpellcheck(t.spellcheck);else{let o=(null!==(e=this.store.getState().results)&&void 0!==e?e:[]).concat(t.results);this.store.actions.setResults(o)}this.store.actions.setPaging(t.paging)}}catch(t){t instanceof to||!this.errorHandler||this.errorHandler(t)}}async fetchSuggestData(){var t;try{const e=this.store.getState(),o=e.request,i={input:e.liveQuery,filters:o.filters,sort:o.sort,contentLocale:o.contentLocale,scope:o.scope};null===(t=this.cancelableSuggest)||void 0===t||t.cancel(),this.cancelableSuggest=oo(this.service.launchSuggest(i));let r=await this.cancelableSuggest;this.store.actions.setSuggestResults(r.suggestions)}catch(t){t instanceof to||!this.errorHandler||this.errorHandler(t)}}clear(){this.store.clear()}}var tl=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 el extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const ol=Symbol("registerInterval");class il extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[ol]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[ol]):this.dispatchEvent(new el)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=ol,tl([Se()],o.prototype,"stateManager",void 0),o}(un)){}const rl=wo.extend("--ft-ripple-color","",Ci.colorContent),nl={color:rl,backgroundColor:wo.extend("--ft-ripple-background-color","",rl),opacityContentOnSurfacePressed:wo.external(Ci.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:wo.external(Ci.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:wo.external(Ci.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:wo.external(Ci.opacityContentOnSurfaceSelected,"Design system"),borderRadius:wo.create("--ft-ripple-border-radius","","SIZE","0px")},al=wo.extend("--ft-ripple-color","",Ci.colorPrimary),sl=al,ll=wo.extend("--ft-ripple-background-color","",al),cl=wo.extend("--ft-ripple-color","",Ci.colorSecondary),hl=cl,fl=wo.extend("--ft-ripple-background-color","",cl),dl=dt`
188
+ `}update(t){super.update(t),t.has("baseUrl")&&(Fs.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&Fs.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&Fs.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&Fs.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&Fs.actions.noCustom(this.noCustom),t.has("editorMode")&&Fs.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&Fs.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&Fs.actions.session(this.session),t.has("availableUiLocales")&&Fs.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Ms.addContext(t))),t.has("openExternalDocumentInNewTab")&&Fs.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&Fs.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&Fs.actions.forcedOffline(this.forcedOffline),setTimeout((()=>this.updateIfNeeded()))}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(null==this.session&&this.updateSession(),null==this.availableUiLocales&&this.updateUiLocales(),null==this.metadataConfiguration&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",(async()=>{const t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run((()=>{this.cache.clear("session"),this.session=void 0}),t.idleTimeoutInMillis),t}))}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",(()=>this.apiProvider().getAvailableUiLocales()))}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",(()=>this.apiProvider().getMetadataConfiguration()))}}Zs.elementDefinitions={},Zs.styles=Bs,Ks([we()],Zs.prototype,"baseUrl",void 0),Ks([we()],Zs.prototype,"apiIntegrationIdentifier",void 0),Ks([we()],Zs.prototype,"uiLocale",void 0),Ks([mo(null)],Zs.prototype,"availableUiLocales",void 0),Ks([mo(null)],Zs.prototype,"metadataConfiguration",void 0),Ks([we({type:Boolean})],Zs.prototype,"editorMode",void 0),Ks([we({type:Boolean})],Zs.prototype,"noCustom",void 0),Ks([we({type:Boolean})],Zs.prototype,"openExternalDocumentInNewTab",void 0),Ks([we({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Zs.prototype,"noCustomComponent",void 0),Ks([we({type:Boolean})],Zs.prototype,"withManualResources",void 0),Ks([we({type:Boolean})],Zs.prototype,"navigatorOnline",void 0),Ks([we({type:Boolean})],Zs.prototype,"forcedOffline",void 0),Ks([we({type:Object})],Zs.prototype,"apiProvider",void 0),Ks([mo([])],Zs.prototype,"messageContexts",void 0),Ks([mo(void 0)],Zs.prototype,"session",void 0);class Gs extends Ps{async listMySearches(){let t=Fs.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class Vs extends Ps{async listMyBookmarks(){let t=Fs.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const qs=is.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const Ys=new class{constructor(){this.currentSession=Fs.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Vs,this.savedSearchesService=new Gs,Fs.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=Fs.getState();go(null===(t=this.currentSession)||void 0===t?void 0:t.profile,null==e?void 0:e.profile)||(this.currentSession=e,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),qs.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),qs.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();qs.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){const e=(null===(t=this.currentSession)||void 0===t?void 0:t.sessionAuthenticated)?await this.bookmarksService.listMyBookmarks():void 0;qs.actions.bookmarks(e)}}};window.FluidTopicsAppInfoStoreService=new class{addCommand(t,e=!1){Fs.commands.add(t,e)}consumeCommand(t){return Fs.commands.consume(t)}};window.FluidTopicsHighlightHtmlService=new class{highlightHtml(t,e){Yr(t,e)}},bo("ft-app-context")(Zs);class Js extends Ps{constructor(){super(),this.cache.registerFinal("available-locales",(()=>this.api.getAvailableSearchLocales()))}async launchSearch(t){return this.api.search(t)}async launchSuggest(t){return this.api.getSuggestions(t)}async getAvailableSearchLocales(){return this.cache.get("available-locales")}}const Qs=t=>t.request.virtualField===ks.TITLE_ONLY&&t.request.scope===As.DOCUMENTS;class Xs extends Event{constructor(){super(Xs.eventName)}}Xs.eventName="search-context-clear-all-filters";class tl{static build(t,e){return new tl((t=>is.get({name:"ft-search-"+t,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:bs}))(t.trim()||"context"),e)}constructor(t,e){this.store=t,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.searchDebouncer=new lo(100),this.suggestDebouncer=new lo(300),this.service=null!=e?e:new Js}async initService(){return this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales),this.launchSearch()}setQuery(t){this.store.actions.setRequestQuery(t),this.store.actions.setLiveQuery(t),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(t){let e=this.store.getState().locales,o=this.store.getState().request.contentLocale;if(t!=o){if(e){const i=t=>e.some((e=>e.lang==t));i(t)||(t=i(o)?o:e[0].lang)}this.store.actions.setRequestContentLocale(t),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return t}setPageSize(t){this.store.actions.setPageSize(t),this.launchSearch()}setPageNumber(t){this.store.actions.setPageNumber(t),this.launchSearch()}setSort(t){this.store.actions.setRequestSort(t),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(t){const e=t.filter((t=>t.values.length>0));this.store.actions.setRequestFilters(e),this.store.actions.setPageNumber(1),e.forEach((t=>{this.facetIds.includes(t.key)||(this.facetIds=[...this.facetIds,t.key])})),this.launchSearch()}setClusterSortCriterion(t){this.store.actions.setRequestClusterSortCriterion(t),this.launchSearch()}setSearchInDocumentTitlesOnly(t){t?(this.store.actions.setRequestVirtualField(ks.TITLE_ONLY),this.store.actions.setRequestScope(As.DOCUMENTS)):(this.store.actions.setRequestVirtualField(ks.EVERYWHERE),this.store.actions.setRequestScope(As.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return Qs(this.store.getState())}get periodFilter(){return this.store.getState().request.periodFilter}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new Xs)}addFacet(t){this.facetIds=[...this.facetIds,t],this.launchSearch()}replaceFacet(t,e){let o=this.facetIds.filter((e=>e!=t));e&&o.push(e),this.facetIds=o,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map((t=>t.id))}set facetIds(t){let e=[...new Set(t)].map((t=>({id:t})));this.store.actions.setRequestFacets(e)}setFilter(t,e){let o=this.store.getState().request.filters,i={key:t,values:e,negative:!1},r=[...o.filter((e=>e.key!==t)),i];this.setFilters(r)}setLiveQuery(t){this.store.actions.setLiveQuery(t),this.launchSuggest()}setRequest(t){this.store.actions.setRequest(t),this.store.actions.setLiveQuery(t.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(t){this.store.actions.setRequestScope(t),this.launchSearch()}setIgnoreEmptyQuery(t){this.ignoreEmptyQuery=t,this.launchSearch()}setOpenExternalDocumentInNewTab(t){this.openExternalDocumentInNewTab=t}setPeriodFilter(t){this.store.actions.setRequestPeriodFilter(t),this.store.actions.setPageNumber(1),this.launchSearch()}launchSearch(){return this.searchDebouncer.run((()=>this.fetchSearchData()))}launchSuggest(){return this.suggestDebouncer.run((()=>this.fetchSuggestData()))}async fetchSearchData(){var t,e;try{null===(t=this.cancelableSearch)||void 0===t||t.cancel();let o=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&0==o.query.length)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=oo(this.service.launchSearch(o));const t=await this.cancelableSearch;if(t.paging.currentPage<=1)this.store.actions.setResults(t.results),this.store.actions.setFacets(t.facets),this.store.actions.setSpellcheck(t.spellcheck);else{let o=(null!==(e=this.store.getState().results)&&void 0!==e?e:[]).concat(t.results);this.store.actions.setResults(o)}this.store.actions.setPaging(t.paging)}}catch(t){t instanceof to||!this.errorHandler||this.errorHandler(t)}}async fetchSuggestData(){var t;try{const e=this.store.getState(),o=e.request,i={input:e.liveQuery,filters:o.filters,sort:o.sort,contentLocale:o.contentLocale,scope:o.scope};null===(t=this.cancelableSuggest)||void 0===t||t.cancel(),this.cancelableSuggest=oo(this.service.launchSuggest(i));let r=await this.cancelableSuggest;this.store.actions.setSuggestResults(r.suggestions)}catch(t){t instanceof to||!this.errorHandler||this.errorHandler(t)}}clear(){this.store.clear()}}var el=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 ol extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const il=Symbol("registerInterval");class rl extends(function(t){var e;class o extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(t){this.clearStateManager(),this.stateManager=t,this.addStore(t.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[il]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[il]):this.dispatchEvent(new ol)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=il,el([Se()],o.prototype,"stateManager",void 0),o}(gn)){}const nl=wo.extend("--ft-ripple-color","",Ci.colorContent),al={color:nl,backgroundColor:wo.extend("--ft-ripple-background-color","",nl),opacityContentOnSurfacePressed:wo.external(Ci.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:wo.external(Ci.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:wo.external(Ci.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:wo.external(Ci.opacityContentOnSurfaceSelected,"Design system"),borderRadius:wo.create("--ft-ripple-border-radius","","SIZE","0px")},sl=wo.extend("--ft-ripple-color","",Ci.colorPrimary),ll=sl,cl=wo.extend("--ft-ripple-background-color","",sl),hl=wo.extend("--ft-ripple-color","",Ci.colorSecondary),fl=hl,dl=wo.extend("--ft-ripple-background-color","",hl),pl=dt`
189
189
  :host {
190
190
  display: contents;
191
191
  }
@@ -198,7 +198,7 @@ function Re(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=$
198
198
 
199
199
  .ft-ripple:not(.ft-ripple--unbounded) {
200
200
  overflow: hidden;
201
- border-radius: ${nl.borderRadius};
201
+ border-radius: ${al.borderRadius};
202
202
  }
203
203
 
204
204
  .ft-ripple .ft-ripple--background,
@@ -232,27 +232,27 @@ function Re(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=$
232
232
  }
233
233
 
234
234
  .ft-ripple .ft-ripple--background {
235
- background-color: ${nl.backgroundColor};
235
+ background-color: ${al.backgroundColor};
236
236
  }
237
237
 
238
238
  .ft-ripple .ft-ripple--effect {
239
- background-color: ${nl.color};
239
+ background-color: ${al.color};
240
240
  }
241
241
 
242
242
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
243
- background-color: ${fl};
243
+ background-color: ${dl};
244
244
  }
245
245
 
246
246
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
247
- background-color: ${hl};
247
+ background-color: ${fl};
248
248
  }
249
249
 
250
250
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
251
- background-color: ${ll};
251
+ background-color: ${cl};
252
252
  }
253
253
 
254
254
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
255
- background-color: ${sl};
255
+ background-color: ${ll};
256
256
  }
257
257
 
258
258
  .ft-ripple .ft-ripple--background {
@@ -282,134 +282,134 @@ function Re(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=$
282
282
  }
283
283
 
284
284
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
285
- opacity: ${nl.opacityContentOnSurfaceHover};
285
+ opacity: ${al.opacityContentOnSurfaceHover};
286
286
  }
287
287
 
288
288
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
289
- opacity: ${nl.opacityContentOnSurfaceSelected};
289
+ opacity: ${al.opacityContentOnSurfaceSelected};
290
290
  }
291
291
 
292
292
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
293
- opacity: ${nl.opacityContentOnSurfaceFocused};
293
+ opacity: ${al.opacityContentOnSurfaceFocused};
294
294
  }
295
295
 
296
296
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
297
- opacity: ${nl.opacityContentOnSurfacePressed};
297
+ opacity: ${al.opacityContentOnSurfacePressed};
298
298
  transform: translate(-50%, -50%) scale(1);
299
299
  }
300
- `;var pl=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 ul extends Tr{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 lo(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 lo(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 Jt`
300
+ `;var ul=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 gl extends Tr{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 lo(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 lo(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 Jt`
301
301
  <style>
302
302
  .ft-ripple .ft-ripple--effect {
303
303
  left: ${this.originX}px;
304
304
  top: ${this.originY}px;
305
305
  }
306
306
  </style>
307
- <div class="${He(t)}">
307
+ <div class="${Ke(t)}">
308
308
  <div class="ft-ripple--background"></div>
309
309
  <div class="ft-ripple--effect"></div>
310
310
  </div>
311
- `}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()}}ul.elementDefinitions={},ul.styles=dl,pl([we({type:Boolean})],ul.prototype,"primary",void 0),pl([we({type:Boolean})],ul.prototype,"secondary",void 0),pl([we({type:Boolean})],ul.prototype,"unbounded",void 0),pl([we({type:Boolean})],ul.prototype,"activated",void 0),pl([we({type:Boolean})],ul.prototype,"selected",void 0),pl([we({type:Boolean})],ul.prototype,"disabled",void 0),pl([Se()],ul.prototype,"hovered",void 0),pl([Se()],ul.prototype,"focused",void 0),pl([Se()],ul.prototype,"pressed",void 0),pl([Se()],ul.prototype,"rippling",void 0),pl([Se()],ul.prototype,"originX",void 0),pl([Se()],ul.prototype,"originY",void 0),pl([$e(".ft-ripple")],ul.prototype,"ripple",void 0),pl([$e(".ft-ripple--effect")],ul.prototype,"rippleEffect",void 0),bo("ft-ripple")(ul);
311
+ `}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()}}gl.elementDefinitions={},gl.styles=pl,ul([we({type:Boolean})],gl.prototype,"primary",void 0),ul([we({type:Boolean})],gl.prototype,"secondary",void 0),ul([we({type:Boolean})],gl.prototype,"unbounded",void 0),ul([we({type:Boolean})],gl.prototype,"activated",void 0),ul([we({type:Boolean})],gl.prototype,"selected",void 0),ul([we({type:Boolean})],gl.prototype,"disabled",void 0),ul([Se()],gl.prototype,"hovered",void 0),ul([Se()],gl.prototype,"focused",void 0),ul([Se()],gl.prototype,"pressed",void 0),ul([Se()],gl.prototype,"rippling",void 0),ul([Se()],gl.prototype,"originX",void 0),ul([Se()],gl.prototype,"originY",void 0),ul([$e(".ft-ripple")],gl.prototype,"ripple",void 0),ul([$e(".ft-ripple--effect")],gl.prototype,"rippleEffect",void 0),bo("ft-ripple")(gl);
312
312
  /**
313
313
  * @license
314
314
  * Copyright 2020 Google LLC
315
315
  * SPDX-License-Identifier: BSD-3-Clause
316
316
  */
317
- const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$litStatic$:t,r:gl}),ml=new Map,vl=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],s=[];let l,c=0,h=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=yl(n));)l+=r+e[++c],h=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(e[i]),h){const t=a.join("$$lit$$");void 0===(e=ml.get(t))&&(a.raw=a,ml.set(t,e=a)),o=s}return t(e,...o)})(T);var xl;!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"}(xl||(xl={}));const Ol=wo.extend("--ft-typography-font-family","",Ci.titleFont),wl=wo.extend("--ft-typography-font-family","",Ci.contentFont),Sl={fontFamily:wl,fontSize:wo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:wo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:wo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:wo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:wo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Cl=wo.extend("--ft-typography-title-font-family","",Ol),Nl=wo.extend("--ft-typography-title-font-size","",Sl.fontSize,"20px"),$l=wo.extend("--ft-typography-title-font-weight","",Sl.fontWeight,"normal"),El=wo.extend("--ft-typography-title-letter-spacing","",Sl.letterSpacing,"0.15px"),kl=wo.extend("--ft-typography-title-line-height","",Sl.lineHeight,"1.2"),Rl=wo.extend("--ft-typography-title-text-transform","",Sl.textTransform,"inherit"),Il=wo.extend("--ft-typography-title-dense-font-family","",Ol),Ll=wo.extend("--ft-typography-title-dense-font-size","",Sl.fontSize,"14px"),Ul=wo.extend("--ft-typography-title-dense-font-weight","",Sl.fontWeight,"normal"),Al=wo.extend("--ft-typography-title-dense-letter-spacing","",Sl.letterSpacing,"0.105px"),Wl=wo.extend("--ft-typography-title-dense-line-height","",Sl.lineHeight,"1.7"),zl=wo.extend("--ft-typography-title-dense-text-transform","",Sl.textTransform,"inherit"),Bl=wo.extend("--ft-typography-subtitle1-font-family","",wl),Fl=wo.extend("--ft-typography-subtitle1-font-size","",Sl.fontSize,"16px"),_l=wo.extend("--ft-typography-subtitle1-font-weight","",Sl.fontWeight,"600"),Pl=wo.extend("--ft-typography-subtitle1-letter-spacing","",Sl.letterSpacing,"0.144px"),jl=wo.extend("--ft-typography-subtitle1-line-height","",Sl.lineHeight,"1.5"),Dl=wo.extend("--ft-typography-subtitle1-text-transform","",Sl.textTransform,"inherit"),Tl=wo.extend("--ft-typography-subtitle2-font-family","",wl),Ml=wo.extend("--ft-typography-subtitle2-font-size","",Sl.fontSize,"14px"),Kl=wo.extend("--ft-typography-subtitle2-font-weight","",Sl.fontWeight,"normal"),Hl=wo.extend("--ft-typography-subtitle2-letter-spacing","",Sl.letterSpacing,"0.098px"),Zl=wo.extend("--ft-typography-subtitle2-line-height","",Sl.lineHeight,"1.7"),Gl=wo.extend("--ft-typography-subtitle2-text-transform","",Sl.textTransform,"inherit"),Vl=wo.extend("--ft-typography-body1-font-family","",wl),ql=wo.extend("--ft-typography-body1-font-size","",Sl.fontSize,"16px"),Yl=wo.extend("--ft-typography-body1-font-weight","",Sl.fontWeight,"normal"),Jl=wo.extend("--ft-typography-body1-letter-spacing","",Sl.letterSpacing,"0.496px"),Ql=wo.extend("--ft-typography-body1-line-height","",Sl.lineHeight,"1.5"),Xl=wo.extend("--ft-typography-body1-text-transform","",Sl.textTransform,"inherit"),tc={fontFamily:wo.extend("--ft-typography-body2-font-family","",wl),fontSize:wo.extend("--ft-typography-body2-font-size","",Sl.fontSize,"14px"),fontWeight:wo.extend("--ft-typography-body2-font-weight","",Sl.fontWeight,"normal"),letterSpacing:wo.extend("--ft-typography-body2-letter-spacing","",Sl.letterSpacing,"0.252px"),lineHeight:wo.extend("--ft-typography-body2-line-height","",Sl.lineHeight,"1.4"),textTransform:wo.extend("--ft-typography-body2-text-transform","",Sl.textTransform,"inherit")},ec=wo.extend("--ft-typography-caption-font-family","",wl),oc=wo.extend("--ft-typography-caption-font-size","",Sl.fontSize,"12px"),ic=wo.extend("--ft-typography-caption-font-weight","",Sl.fontWeight,"normal"),rc=wo.extend("--ft-typography-caption-letter-spacing","",Sl.letterSpacing,"0.396px"),nc=wo.extend("--ft-typography-caption-line-height","",Sl.lineHeight,"1.33"),ac=wo.extend("--ft-typography-caption-text-transform","",Sl.textTransform,"inherit"),sc=wo.extend("--ft-typography-breadcrumb-font-family","",wl),lc=wo.extend("--ft-typography-breadcrumb-font-size","",Sl.fontSize,"10px"),cc=wo.extend("--ft-typography-breadcrumb-font-weight","",Sl.fontWeight,"normal"),hc=wo.extend("--ft-typography-breadcrumb-letter-spacing","",Sl.letterSpacing,"0.33px"),fc=wo.extend("--ft-typography-breadcrumb-line-height","",Sl.lineHeight,"1.6"),dc=wo.extend("--ft-typography-breadcrumb-text-transform","",Sl.textTransform,"inherit"),pc=wo.extend("--ft-typography-overline-font-family","",wl),uc=wo.extend("--ft-typography-overline-font-size","",Sl.fontSize,"10px"),gc=wo.extend("--ft-typography-overline-font-weight","",Sl.fontWeight,"normal"),yc=wo.extend("--ft-typography-overline-letter-spacing","",Sl.letterSpacing,"1.5px"),bc=wo.extend("--ft-typography-overline-line-height","",Sl.lineHeight,"1.6"),mc=wo.extend("--ft-typography-overline-text-transform","",Sl.textTransform,"uppercase"),vc={fontFamily:wo.extend("--ft-typography-button-font-family","",wl),fontSize:wo.extend("--ft-typography-button-font-size","",Sl.fontSize,"14px"),fontWeight:wo.extend("--ft-typography-button-font-weight","",Sl.fontWeight,"600"),letterSpacing:wo.extend("--ft-typography-button-letter-spacing","",Sl.letterSpacing,"1.246px"),lineHeight:wo.extend("--ft-typography-button-line-height","",Sl.lineHeight,"1.15"),textTransform:wo.extend("--ft-typography-button-text-transform","",Sl.textTransform,"uppercase")},xc=dt`
317
+ const yl=Symbol.for(""),bl=t=>{if(t?.r===yl)return t?._$litStatic$},ml=t=>({_$litStatic$:t,r:yl}),vl=new Map,xl=(t=>(e,...o)=>{const i=o.length;let r,n;const a=[],s=[];let l,c=0,h=!1;for(;c<i;){for(l=e[c];c<i&&void 0!==(n=o[c],r=bl(n));)l+=r+e[++c],h=!0;c!==i&&s.push(n),a.push(l),c++}if(c===i&&a.push(e[i]),h){const t=a.join("$$lit$$");void 0===(e=vl.get(t))&&(a.raw=a,vl.set(t,e=a)),o=s}return t(e,...o)})(T);var Ol;!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"}(Ol||(Ol={}));const wl=wo.extend("--ft-typography-font-family","",Ci.titleFont),Sl=wo.extend("--ft-typography-font-family","",Ci.contentFont),Cl={fontFamily:Sl,fontSize:wo.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:wo.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:wo.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:wo.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:wo.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Nl=wo.extend("--ft-typography-title-font-family","",wl),$l=wo.extend("--ft-typography-title-font-size","",Cl.fontSize,"20px"),El=wo.extend("--ft-typography-title-font-weight","",Cl.fontWeight,"normal"),kl=wo.extend("--ft-typography-title-letter-spacing","",Cl.letterSpacing,"0.15px"),Rl=wo.extend("--ft-typography-title-line-height","",Cl.lineHeight,"1.2"),Il=wo.extend("--ft-typography-title-text-transform","",Cl.textTransform,"inherit"),Ll=wo.extend("--ft-typography-title-dense-font-family","",wl),Ul=wo.extend("--ft-typography-title-dense-font-size","",Cl.fontSize,"14px"),Al=wo.extend("--ft-typography-title-dense-font-weight","",Cl.fontWeight,"normal"),Wl=wo.extend("--ft-typography-title-dense-letter-spacing","",Cl.letterSpacing,"0.105px"),zl=wo.extend("--ft-typography-title-dense-line-height","",Cl.lineHeight,"1.7"),Bl=wo.extend("--ft-typography-title-dense-text-transform","",Cl.textTransform,"inherit"),Fl=wo.extend("--ft-typography-subtitle1-font-family","",Sl),_l=wo.extend("--ft-typography-subtitle1-font-size","",Cl.fontSize,"16px"),Pl=wo.extend("--ft-typography-subtitle1-font-weight","",Cl.fontWeight,"600"),jl=wo.extend("--ft-typography-subtitle1-letter-spacing","",Cl.letterSpacing,"0.144px"),Dl=wo.extend("--ft-typography-subtitle1-line-height","",Cl.lineHeight,"1.5"),Tl=wo.extend("--ft-typography-subtitle1-text-transform","",Cl.textTransform,"inherit"),Ml=wo.extend("--ft-typography-subtitle2-font-family","",Sl),Hl=wo.extend("--ft-typography-subtitle2-font-size","",Cl.fontSize,"14px"),Kl=wo.extend("--ft-typography-subtitle2-font-weight","",Cl.fontWeight,"normal"),Zl=wo.extend("--ft-typography-subtitle2-letter-spacing","",Cl.letterSpacing,"0.098px"),Gl=wo.extend("--ft-typography-subtitle2-line-height","",Cl.lineHeight,"1.7"),Vl=wo.extend("--ft-typography-subtitle2-text-transform","",Cl.textTransform,"inherit"),ql=wo.extend("--ft-typography-body1-font-family","",Sl),Yl=wo.extend("--ft-typography-body1-font-size","",Cl.fontSize,"16px"),Jl=wo.extend("--ft-typography-body1-font-weight","",Cl.fontWeight,"normal"),Ql=wo.extend("--ft-typography-body1-letter-spacing","",Cl.letterSpacing,"0.496px"),Xl=wo.extend("--ft-typography-body1-line-height","",Cl.lineHeight,"1.5"),tc=wo.extend("--ft-typography-body1-text-transform","",Cl.textTransform,"inherit"),ec={fontFamily:wo.extend("--ft-typography-body2-font-family","",Sl),fontSize:wo.extend("--ft-typography-body2-font-size","",Cl.fontSize,"14px"),fontWeight:wo.extend("--ft-typography-body2-font-weight","",Cl.fontWeight,"normal"),letterSpacing:wo.extend("--ft-typography-body2-letter-spacing","",Cl.letterSpacing,"0.252px"),lineHeight:wo.extend("--ft-typography-body2-line-height","",Cl.lineHeight,"1.4"),textTransform:wo.extend("--ft-typography-body2-text-transform","",Cl.textTransform,"inherit")},oc=wo.extend("--ft-typography-caption-font-family","",Sl),ic=wo.extend("--ft-typography-caption-font-size","",Cl.fontSize,"12px"),rc=wo.extend("--ft-typography-caption-font-weight","",Cl.fontWeight,"normal"),nc=wo.extend("--ft-typography-caption-letter-spacing","",Cl.letterSpacing,"0.396px"),ac=wo.extend("--ft-typography-caption-line-height","",Cl.lineHeight,"1.33"),sc=wo.extend("--ft-typography-caption-text-transform","",Cl.textTransform,"inherit"),lc=wo.extend("--ft-typography-breadcrumb-font-family","",Sl),cc=wo.extend("--ft-typography-breadcrumb-font-size","",Cl.fontSize,"10px"),hc=wo.extend("--ft-typography-breadcrumb-font-weight","",Cl.fontWeight,"normal"),fc=wo.extend("--ft-typography-breadcrumb-letter-spacing","",Cl.letterSpacing,"0.33px"),dc=wo.extend("--ft-typography-breadcrumb-line-height","",Cl.lineHeight,"1.6"),pc=wo.extend("--ft-typography-breadcrumb-text-transform","",Cl.textTransform,"inherit"),uc=wo.extend("--ft-typography-overline-font-family","",Sl),gc=wo.extend("--ft-typography-overline-font-size","",Cl.fontSize,"10px"),yc=wo.extend("--ft-typography-overline-font-weight","",Cl.fontWeight,"normal"),bc=wo.extend("--ft-typography-overline-letter-spacing","",Cl.letterSpacing,"1.5px"),mc=wo.extend("--ft-typography-overline-line-height","",Cl.lineHeight,"1.6"),vc=wo.extend("--ft-typography-overline-text-transform","",Cl.textTransform,"uppercase"),xc={fontFamily:wo.extend("--ft-typography-button-font-family","",Sl),fontSize:wo.extend("--ft-typography-button-font-size","",Cl.fontSize,"14px"),fontWeight:wo.extend("--ft-typography-button-font-weight","",Cl.fontWeight,"600"),letterSpacing:wo.extend("--ft-typography-button-letter-spacing","",Cl.letterSpacing,"1.246px"),lineHeight:wo.extend("--ft-typography-button-line-height","",Cl.lineHeight,"1.15"),textTransform:wo.extend("--ft-typography-button-text-transform","",Cl.textTransform,"uppercase")},Oc=dt`
318
318
  .ft-typography--title {
319
- font-family: ${Cl};
320
- font-size: ${Nl};
321
- font-weight: ${$l};
322
- letter-spacing: ${El};
323
- line-height: ${kl};
324
- text-transform: ${Rl};
325
- }
326
- `,Oc=dt`
327
- .ft-typography--title-dense {
328
- font-family: ${Il};
329
- font-size: ${Ll};
330
- font-weight: ${Ul};
331
- letter-spacing: ${Al};
332
- line-height: ${Wl};
333
- text-transform: ${zl};
319
+ font-family: ${Nl};
320
+ font-size: ${$l};
321
+ font-weight: ${El};
322
+ letter-spacing: ${kl};
323
+ line-height: ${Rl};
324
+ text-transform: ${Il};
334
325
  }
335
326
  `,wc=dt`
336
- .ft-typography--subtitle1 {
337
- font-family: ${Bl};
338
- font-size: ${Fl};
339
- font-weight: ${_l};
340
- letter-spacing: ${Pl};
341
- line-height: ${jl};
342
- text-transform: ${Dl};
327
+ .ft-typography--title-dense {
328
+ font-family: ${Ll};
329
+ font-size: ${Ul};
330
+ font-weight: ${Al};
331
+ letter-spacing: ${Wl};
332
+ line-height: ${zl};
333
+ text-transform: ${Bl};
343
334
  }
344
335
  `,Sc=dt`
336
+ .ft-typography--subtitle1 {
337
+ font-family: ${Fl};
338
+ font-size: ${_l};
339
+ font-weight: ${Pl};
340
+ letter-spacing: ${jl};
341
+ line-height: ${Dl};
342
+ text-transform: ${Tl};
343
+ }
344
+ `,Cc=dt`
345
345
  .ft-typography--subtitle2 {
346
- font-family: ${Tl};
347
- font-size: ${Ml};
346
+ font-family: ${Ml};
347
+ font-size: ${Hl};
348
348
  font-weight: ${Kl};
349
- letter-spacing: ${Hl};
350
- line-height: ${Zl};
351
- text-transform: ${Gl};
349
+ letter-spacing: ${Zl};
350
+ line-height: ${Gl};
351
+ text-transform: ${Vl};
352
352
  }
353
353
 
354
- `,Cc=dt`
355
- .ft-typography--body1 {
356
- font-family: ${Vl};
357
- font-size: ${ql};
358
- font-weight: ${Yl};
359
- letter-spacing: ${Jl};
360
- line-height: ${Ql};
361
- text-transform: ${Xl};
362
- }
363
354
  `,Nc=dt`
364
- .ft-typography--body2 {
365
- font-family: ${tc.fontFamily};
366
- font-size: ${tc.fontSize};
367
- font-weight: ${tc.fontWeight};
368
- letter-spacing: ${tc.letterSpacing};
369
- line-height: ${tc.lineHeight};
370
- text-transform: ${tc.textTransform};
355
+ .ft-typography--body1 {
356
+ font-family: ${ql};
357
+ font-size: ${Yl};
358
+ font-weight: ${Jl};
359
+ letter-spacing: ${Ql};
360
+ line-height: ${Xl};
361
+ text-transform: ${tc};
371
362
  }
372
363
  `,$c=dt`
373
- .ft-typography--caption {
374
- font-family: ${ec};
375
- font-size: ${oc};
376
- font-weight: ${ic};
377
- letter-spacing: ${rc};
378
- line-height: ${nc};
379
- text-transform: ${ac};
364
+ .ft-typography--body2 {
365
+ font-family: ${ec.fontFamily};
366
+ font-size: ${ec.fontSize};
367
+ font-weight: ${ec.fontWeight};
368
+ letter-spacing: ${ec.letterSpacing};
369
+ line-height: ${ec.lineHeight};
370
+ text-transform: ${ec.textTransform};
380
371
  }
381
372
  `,Ec=dt`
382
- .ft-typography--breadcrumb {
383
- font-family: ${sc};
384
- font-size: ${lc};
385
- font-weight: ${cc};
386
- letter-spacing: ${hc};
387
- line-height: ${fc};
388
- text-transform: ${dc};
373
+ .ft-typography--caption {
374
+ font-family: ${oc};
375
+ font-size: ${ic};
376
+ font-weight: ${rc};
377
+ letter-spacing: ${nc};
378
+ line-height: ${ac};
379
+ text-transform: ${sc};
389
380
  }
390
381
  `,kc=dt`
391
- .ft-typography--overline {
392
- font-family: ${pc};
393
- font-size: ${uc};
394
- font-weight: ${gc};
395
- letter-spacing: ${yc};
396
- line-height: ${bc};
397
- text-transform: ${mc};
382
+ .ft-typography--breadcrumb {
383
+ font-family: ${lc};
384
+ font-size: ${cc};
385
+ font-weight: ${hc};
386
+ letter-spacing: ${fc};
387
+ line-height: ${dc};
388
+ text-transform: ${pc};
398
389
  }
399
390
  `,Rc=dt`
400
- .ft-typography--button {
401
- font-family: ${vc.fontFamily};
402
- font-size: ${vc.fontSize};
403
- font-weight: ${vc.fontWeight};
404
- letter-spacing: ${vc.letterSpacing};
405
- line-height: ${vc.lineHeight};
406
- text-transform: ${vc.textTransform};
391
+ .ft-typography--overline {
392
+ font-family: ${uc};
393
+ font-size: ${gc};
394
+ font-weight: ${yc};
395
+ letter-spacing: ${bc};
396
+ line-height: ${mc};
397
+ text-transform: ${vc};
407
398
  }
408
399
  `,Ic=dt`
400
+ .ft-typography--button {
401
+ font-family: ${xc.fontFamily};
402
+ font-size: ${xc.fontSize};
403
+ font-weight: ${xc.fontWeight};
404
+ letter-spacing: ${xc.letterSpacing};
405
+ line-height: ${xc.lineHeight};
406
+ text-transform: ${xc.textTransform};
407
+ }
408
+ `,Lc=dt`
409
409
  .ft-typography {
410
410
  vertical-align: inherit;
411
411
  }
412
- `,Lc=[Object.keys(Jo).map((t=>function(t){const e=Jo[t];return dt`
412
+ `,Uc=[Object.keys(Jo).map((t=>function(t){const e=Jo[t];return dt`
413
413
  .ft-typography--${ft(t)} {
414
414
  font-family: ${e.fontFamily};
415
415
  font-size: ${e.fontSize};
@@ -418,14 +418,14 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
418
418
  line-height: ${e.lineHeight};
419
419
  text-transform: ${e.textCase};
420
420
  }
421
- `}(t)))];var Uc,Ac,Wc=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 zc extends Tr{constructor(){super(...arguments),this.variant=xl.body1}render(){return this.element?vl`
422
- <${bl(this.element)}
421
+ `}(t)))];var Ac,Wc,zc=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 Bc extends Tr{constructor(){super(...arguments),this.variant=Ol.body1}render(){return this.element?xl`
422
+ <${ml(this.element)}
423
423
  class="ft-typography ft-typography--${this.variant}">
424
424
  <slot></slot>
425
- </${bl(this.element)}>
426
- `:vl`
425
+ </${ml(this.element)}>
426
+ `:xl`
427
427
  <slot class="ft-typography ft-typography--${this.variant}"></slot>
428
- `}}zc.styles=[xc,Oc,wc,Sc,Cc,Nc,$c,Ec,kc,Rc,Ic,...Lc],Wc([we()],zc.prototype,"element",void 0),Wc([we()],zc.prototype,"variant",void 0),bo("ft-typography")(zc),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE="&#xe909;",t.OCTAGON_XMARK="&#xe97d;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CONSUMER="&#xe97c;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;"}(Uc||(Uc={})),function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"}(Ac||(Ac={})),new Map([...["abw"].map((t=>[t,Ac.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,Ac.AUDIO])),...["avi"].map((t=>[t,Ac.AVI])),...["chm","xhs"].map((t=>[t,Ac.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,Ac.CODE])),...["csv"].map((t=>[t,Ac.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Ac.DITA])),...["epub"].map((t=>[t,Ac.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Ac.EXCEL])),...["flac"].map((t=>[t,Ac.FLAC])),...["gif"].map((t=>[t,Ac.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Ac.GZIP])),...["html","htm","xhtml"].map((t=>[t,Ac.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,Ac.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Ac.JPEG])),...["json"].map((t=>[t,Ac.JSON])),...["m4a","m4p"].map((t=>[t,Ac.M4A])),...["mov","qt"].map((t=>[t,Ac.MOV])),...["mp3"].map((t=>[t,Ac.MP3])),...["mp4","m4v"].map((t=>[t,Ac.MP4])),...["ogg","oga"].map((t=>[t,Ac.OGG])),...["pdf","ps"].map((t=>[t,Ac.PDF])),...["png"].map((t=>[t,Ac.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Ac.POWERPOINT])),...["rar"].map((t=>[t,Ac.RAR])),...["stp"].map((t=>[t,Ac.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Ac.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,Ac.VIDEO])),...["wav"].map((t=>[t,Ac.WAV])),...["wma"].map((t=>[t,Ac.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Ac.WORD])),...["xml","xsl","rdf"].map((t=>[t,Ac.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Ac.YAML])),...["zip"].map((t=>[t,Ac.ZIP]))]),Ac.ABW,Ac.AUDIO,Ac.AVI,Ac.CHM,Ac.CODE,Ac.CSV,Ac.DITA,Ac.EPUB,Ac.EXCEL,Ac.FLAC,Ac.GIF,Ac.GZIP,Ac.HTML,Ac.IMAGE,Ac.JPEG,Ac.JSON,Ac.M4A,Ac.MOV,Ac.MP3,Ac.MP4,Ac.OGG,Ac.PDF,Ac.PNG,Ac.POWERPOINT,Ac.RAR,Ac.STP,Ac.TEXT,Ac.UNKNOWN,Ac.VIDEO,Ac.WAV,Ac.WMA,Ac.WORD,Ac.XML,Ac.YAML,Ac.ZIP;const Bc={size:wo.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:wo.extend("--ft-icon-fluid-topics-font-family","",wo.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:wo.extend("--ft-icon-file-format-font-family","",wo.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:wo.extend("--ft-icon-material-font-family","",wo.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:wo.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Fc=dt`
428
+ `}}Bc.styles=[Oc,wc,Sc,Cc,Nc,$c,Ec,kc,Rc,Ic,Lc,...Uc],zc([we()],Bc.prototype,"element",void 0),zc([we()],Bc.prototype,"variant",void 0),bo("ft-typography")(Bc),function(t){t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.STAR="&#xe94c;",t.STAR_PLAIN="&#xe900;",t.DESKTOP="&#xe95e;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.THIN_ARROW_UP="&#xe95c;",t.CONTEXTUAL="&#xe95b;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.UNSTRUCTURED_DOC="&#xe95a;",t.RESET="&#xe958;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.MY_COLLECTIONS="&#xe955;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_LIBRARY="&#xe959;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.FEEDBACK_PLAIN="&#xe951;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.SHORTCUT_MENU="&#xe946;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.ACCOUNT_SETTINGS="&#xe943;",t.ONLINE="&#xe941;",t.OFFLINE="&#xe816;",t.UPLOAD="&#xe940;",t.BOOK_PLAIN="&#xe93f;",t.SYNC="&#xe93d;",t.SHARED_PBK="&#xe931;",t.COLLECTIONS="&#xe92a;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.BOOKS="&#xe806;",t.LOCKER="&#xe93b;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SAVE="&#xe93a;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.FILTERS="&#xe935;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.STRIPE_ARROW_LEFT="&#xe933;",t.ATTACHMENTS="&#xe932;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.EXPORT="&#xe80f;",t.MENU="&#xe807;",t.TAG="&#xe93e;",t.TAG_PLAIN="&#xe942;",t.COPY_TO_CLIPBOARD="&#xe930;",t.COLUMNS="&#xe928;",t.ARTICLE="&#xe927;",t.CLOSE="&#xe909;",t.OCTAGON_XMARK="&#xe97d;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.LOGOUT="&#xe923;",t.SIGN_IN="&#xe922;",t.THIN_ARROW="&#xe921;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.INFO="&#xe919;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.SHARE="&#xe80f1;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.EXTLINK="&#xe814;",t.EXTLINK_LIGHT="&#xe978;",t.CALENDAR="&#xe815;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.TOPICS="&#xe901;",t.EYE="&#xf06e;",t.EYE_SLASH="&#xe970;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN_THEME="&#xe911;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.HOME="&#xe80b;",t.TRANSLATE="&#xe924;",t.USER="&#xe813;",t.ADMIN="&#xe90f;",t.ANALYTICS="&#xe929;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_USERS="&#xe912;",t.ADMIN_INTEGRATION="&#xe93c;",t.ADMIN_PORTAL="&#xe94b;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.EXPAND_WIDE="&#xe972;",t.X_MARK="&#xe971;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CONSUMER="&#xe97c;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;"}(Ac||(Ac={})),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;"}(Wc||(Wc={})),new Map([...["abw"].map((t=>[t,Wc.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,Wc.AUDIO])),...["avi"].map((t=>[t,Wc.AVI])),...["chm","xhs"].map((t=>[t,Wc.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,Wc.CODE])),...["csv"].map((t=>[t,Wc.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,Wc.DITA])),...["epub"].map((t=>[t,Wc.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,Wc.EXCEL])),...["flac"].map((t=>[t,Wc.FLAC])),...["gif"].map((t=>[t,Wc.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,Wc.GZIP])),...["html","htm","xhtml"].map((t=>[t,Wc.HTML])),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map((t=>[t,Wc.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,Wc.JPEG])),...["json"].map((t=>[t,Wc.JSON])),...["m4a","m4p"].map((t=>[t,Wc.M4A])),...["mov","qt"].map((t=>[t,Wc.MOV])),...["mp3"].map((t=>[t,Wc.MP3])),...["mp4","m4v"].map((t=>[t,Wc.MP4])),...["ogg","oga"].map((t=>[t,Wc.OGG])),...["pdf","ps"].map((t=>[t,Wc.PDF])),...["png"].map((t=>[t,Wc.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,Wc.POWERPOINT])),...["rar"].map((t=>[t,Wc.RAR])),...["stp"].map((t=>[t,Wc.STP])),...["txt","rtf","md","mdown"].map((t=>[t,Wc.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,Wc.VIDEO])),...["wav"].map((t=>[t,Wc.WAV])),...["wma"].map((t=>[t,Wc.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,Wc.WORD])),...["xml","xsl","rdf"].map((t=>[t,Wc.XML])),...["yaml","yml","x-yaml"].map((t=>[t,Wc.YAML])),...["zip"].map((t=>[t,Wc.ZIP]))]),Wc.ABW,Wc.AUDIO,Wc.AVI,Wc.CHM,Wc.CODE,Wc.CSV,Wc.DITA,Wc.EPUB,Wc.EXCEL,Wc.FLAC,Wc.GIF,Wc.GZIP,Wc.HTML,Wc.IMAGE,Wc.JPEG,Wc.JSON,Wc.M4A,Wc.MOV,Wc.MP3,Wc.MP4,Wc.OGG,Wc.PDF,Wc.PNG,Wc.POWERPOINT,Wc.RAR,Wc.STP,Wc.TEXT,Wc.UNKNOWN,Wc.VIDEO,Wc.WAV,Wc.WMA,Wc.WORD,Wc.XML,Wc.YAML,Wc.ZIP;const Fc={size:wo.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:wo.extend("--ft-icon-fluid-topics-font-family","",wo.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:wo.extend("--ft-icon-file-format-font-family","",wo.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:wo.extend("--ft-icon-material-font-family","",wo.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:wo.create("--ft-icon-vertical-align","","UNKNOWN","unset")},_c=dt`
429
429
  :host, i.ft-icon {
430
430
  display: inline-flex;
431
431
  align-items: center;
@@ -434,14 +434,14 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
434
434
  }
435
435
 
436
436
  :host {
437
- width: ${Bc.size};
438
- height: ${Bc.size};
437
+ width: ${Fc.size};
438
+ height: ${Fc.size};
439
439
  }
440
440
 
441
441
  i.ft-icon {
442
442
  width: 100%;
443
443
  height: 100%;
444
- font-size: ${Bc.size};
444
+ font-size: ${Fc.size};
445
445
  line-height: 1;
446
446
  font-weight: normal;
447
447
  text-transform: none;
@@ -452,33 +452,33 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
452
452
  text-rendering: auto;
453
453
  -webkit-font-smoothing: antialiased;
454
454
  -moz-osx-font-smoothing: grayscale;
455
- vertical-align: ${Bc.verticalAlign};
455
+ vertical-align: ${Fc.verticalAlign};
456
456
  }
457
457
 
458
458
  i.ft-icon.ft-icon--fluid-topics {
459
- font-family: ${Bc.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
459
+ font-family: ${Fc.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
460
460
 
461
461
  /* Ugly fix because font is broken */
462
- font-size: calc(0.75 * ${Bc.size});
463
- line-height: ${Bc.size};
462
+ font-size: calc(0.75 * ${Fc.size});
463
+ line-height: ${Fc.size};
464
464
  position: relative;
465
465
  top: -4%;
466
466
  justify-content: center;
467
467
  }
468
468
 
469
469
  .ft-icon--file-format {
470
- font-family: ${Bc.fileFormatFontFamily}, ft-mime, sans-serif;
470
+ font-family: ${Fc.fileFormatFontFamily}, ft-mime, sans-serif;
471
471
  }
472
472
 
473
473
  .ft-icon--material {
474
- font-family: ${Bc.materialFontFamily}, "Material Icons", sans-serif;
474
+ font-family: ${Fc.materialFontFamily}, "Material Icons", sans-serif;
475
475
  }
476
- `;var _c;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(_c||(_c={}));var Pc=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 jc extends Tr{constructor(){super(...arguments),this.resolvedIcon=te}render(){const t=this.variant&&Object.values(_c).includes(this.variant)?this.variant:_c.fluid_topics,e=t!==_c.material||!!this.value;return Jt`
476
+ `;var Pc;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(Pc||(Pc={}));var jc=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 Dc extends Tr{constructor(){super(...arguments),this.resolvedIcon=te}render(){const t=this.variant&&Object.values(Pc).includes(this.variant)?this.variant:Pc.fluid_topics,e=t!==Pc.material||!!this.value;return Jt`
477
477
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
478
478
  ${Qe(this.resolvedIcon)}
479
479
  <slot ?hidden=${e}></slot>
480
480
  </i>
481
- `}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 _c.file_format:this.resolvedIcon=null!==(t=Ac[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case _c.material:this.resolvedIcon=this.value||te;break;default:this.resolvedIcon=null!==(e=Uc[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}jc.elementDefinitions={},jc.styles=Fc,Pc([we()],jc.prototype,"variant",void 0),Pc([we()],jc.prototype,"value",void 0),Pc([Se()],jc.prototype,"resolvedIcon",void 0),Pc([$e("slot")],jc.prototype,"slottedContent",void 0),bo("ft-icon")(jc);const Dc={color:wo.extend("--ft-loader-color","",Ci.colorPrimary),size:wo.create("--ft-loader-size","","SIZE","80px")},Tc=dt`
481
+ `}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 Pc.file_format:this.resolvedIcon=null!==(t=Wc[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case Pc.material:this.resolvedIcon=this.value||te;break;default:this.resolvedIcon=null!==(e=Ac[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Dc.elementDefinitions={},Dc.styles=_c,jc([we()],Dc.prototype,"variant",void 0),jc([we()],Dc.prototype,"value",void 0),jc([Se()],Dc.prototype,"resolvedIcon",void 0),jc([$e("slot")],Dc.prototype,"slottedContent",void 0),bo("ft-icon")(Dc);const Tc={color:wo.extend("--ft-loader-color","",Ci.colorPrimary),size:wo.create("--ft-loader-size","","SIZE","80px")},Mc=dt`
482
482
  :host {
483
483
  line-height: 0;
484
484
  }
@@ -487,8 +487,8 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
487
487
  display: inline-block;
488
488
  position: relative;
489
489
 
490
- width: ${Dc.size};
491
- height: ${Dc.size};
490
+ width: ${Tc.size};
491
+ height: ${Tc.size};
492
492
  }
493
493
 
494
494
  .ft-loader div {
@@ -497,7 +497,7 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
497
497
  width: 25%;
498
498
  height: 25%;
499
499
  border-radius: 50%;
500
- background: ${Dc.color};
500
+ background: ${Tc.color};
501
501
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
502
502
  }
503
503
 
@@ -544,10 +544,10 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
544
544
  transform: translate(0, 0);
545
545
  }
546
546
  100% {
547
- transform: translate(calc(0.35 * ${Dc.size}), 0);
547
+ transform: translate(calc(0.35 * ${Tc.size}), 0);
548
548
  }
549
549
  }
550
- `,Mc=wo.extend("--ft-button-color","",Ci.colorPrimary),Kc={backgroundColor:wo.extend("--ft-button-background-color","",Ci.colorSurface),borderRadius:wo.extend("--ft-button-border-radius","",Ci.borderRadiusL),color:Mc,fontSize:wo.extend("--ft-button-font-size","",vc.fontSize),iconSize:wo.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:wo.extend("--ft-button-ripple-color","",Mc),verticalPadding:wo.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:wo.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:wo.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:wo.external(Ci.colorOpacityDisabled,"Design system")},Hc=wo.extend("--ft-button-primary-color","",wo.extend("--ft-button-color","",Ci.colorOnPrimary)),Zc={backgroundColor:wo.extend("--ft-button-primary-background-color","",wo.extend("--ft-button-background-color","",Ci.colorPrimary)),color:Hc,rippleColor:wo.extend("--ft-button-primary-ripple-color","",Hc)},Gc=wo.extend("--ft-button-dense-border-radius","",wo.extend("--ft-button-border-radius","",Ci.borderRadiusM)),Vc=wo.create("--ft-button-dense-vertical-padding","","SIZE","2px"),qc=wo.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Yc=wo.create("--ft-button-dense-icon-padding","","SIZE","4px"),Jc=[dt`
550
+ `,Hc=wo.extend("--ft-button-color","",Ci.colorPrimary),Kc={backgroundColor:wo.extend("--ft-button-background-color","",Ci.colorSurface),borderRadius:wo.extend("--ft-button-border-radius","",Ci.borderRadiusL),color:Hc,fontSize:wo.extend("--ft-button-font-size","",xc.fontSize),iconSize:wo.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:wo.extend("--ft-button-ripple-color","",Hc),verticalPadding:wo.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:wo.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:wo.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:wo.external(Ci.colorOpacityDisabled,"Design system")},Zc=wo.extend("--ft-button-primary-color","",wo.extend("--ft-button-color","",Ci.colorOnPrimary)),Gc={backgroundColor:wo.extend("--ft-button-primary-background-color","",wo.extend("--ft-button-background-color","",Ci.colorPrimary)),color:Zc,rippleColor:wo.extend("--ft-button-primary-ripple-color","",Zc)},Vc=wo.extend("--ft-button-dense-border-radius","",wo.extend("--ft-button-border-radius","",Ci.borderRadiusM)),qc=wo.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Yc=wo.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Jc=wo.create("--ft-button-dense-icon-padding","","SIZE","4px"),Qc=[dt`
551
551
  :host {
552
552
  display: inline-block;
553
553
  max-width: 100%;
@@ -589,8 +589,8 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
589
589
 
590
590
  --ft-button-internal-line-height: max(calc(${Kc.fontSize} + 2px), ${Kc.iconSize});
591
591
  --ft-button-internal-color: ${Kc.color};
592
- ${So(Bc.size,Kc.iconSize)};
593
- ${So(nl.color,Kc.rippleColor)};
592
+ ${So(Fc.size,Kc.iconSize)};
593
+ ${So(al.color,Kc.rippleColor)};
594
594
 
595
595
  border-radius: ${Kc.borderRadius};
596
596
  padding: ${Kc.verticalPadding} ${Kc.horizontalPadding};
@@ -605,13 +605,13 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
605
605
  }
606
606
 
607
607
  .ft-button.ft-button--dense {
608
- padding: ${Vc} ${qc};
609
- border-radius: ${Gc};
610
- gap: ${Yc};
608
+ padding: ${qc} ${Yc};
609
+ border-radius: ${Vc};
610
+ gap: ${Jc};
611
611
  }
612
612
 
613
613
  .ft-button.ft-button--dense.ft-button--outlined {
614
- padding: calc(${Vc} - 1px) calc(${qc} - 1px);
614
+ padding: calc(${qc} - 1px) calc(${Yc} - 1px);
615
615
  }
616
616
 
617
617
  .ft-button:not([disabled]):hover {
@@ -623,7 +623,7 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
623
623
  }
624
624
 
625
625
  .ft-button--round.ft-button--dense {
626
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Vc});
626
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${qc});
627
627
  }
628
628
 
629
629
  .ft-button[disabled] {
@@ -632,9 +632,9 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
632
632
  }
633
633
 
634
634
  .ft-button.ft-button--primary {
635
- background-color: ${Zc.backgroundColor};
636
- --ft-button-internal-color: ${Zc.color};
637
- ${So(nl.color,Zc.rippleColor)};
635
+ background-color: ${Gc.backgroundColor};
636
+ --ft-button-internal-color: ${Gc.color};
637
+ ${So(al.color,Gc.rippleColor)};
638
638
  }
639
639
 
640
640
  .ft-button:focus {
@@ -648,12 +648,12 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
648
648
  text-overflow: ellipsis;
649
649
  display: block;
650
650
  margin: 0 ${Kc.iconPadding};
651
- ${So(vc.fontSize,"1em")};
652
- ${So(vc.lineHeight,"var(--ft-button-internal-line-height)")};
651
+ ${So(xc.fontSize,"1em")};
652
+ ${So(xc.lineHeight,"var(--ft-button-internal-line-height)")};
653
653
  }
654
654
 
655
655
  .ft-button--dense .ft-button--label {
656
- margin: 0 ${Yc};
656
+ margin: 0 ${Jc};
657
657
  }
658
658
 
659
659
  .ft-button--label[hidden] {
@@ -671,8 +671,8 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
671
671
  }
672
672
 
673
673
  .ft-button--dense .ft-button--label[hidden] + ft-icon {
674
- margin: 0 calc(${qc} * -1);
675
- padding: 0 ${Vc};
674
+ margin: 0 calc(${Yc} * -1);
675
+ padding: 0 ${qc};
676
676
  }
677
677
 
678
678
  .ft-button:not(.ft-button--trailing-icon) ft-icon,
@@ -681,10 +681,10 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
681
681
  }
682
682
 
683
683
  ft-loader {
684
- ${So(Dc.size,Kc.iconSize)};
685
- ${So(Dc.color,"var(--ft-button-internal-color)")};
684
+ ${So(Tc.size,Kc.iconSize)};
685
+ ${So(Tc.color,"var(--ft-button-internal-color)")};
686
686
  }
687
- `,Jr],Qc=wo.create("--ft-tooltip-distance","","SIZE","4px"),Xc=wo.create("--ft-tooltip-color","","COLOR","#FFFFFF"),th=wo.create("--ft-tooltip-background-color","","COLOR","#666666"),eh=wo.create("--ft-tooltip-z-index","","NUMBER","100"),oh=wo.external(Ci.borderRadiusS,"Design system"),ih=wo.create("--ft-tooltip-max-width","","SIZE","150px"),rh=dt`
687
+ `,Qr],Xc=wo.create("--ft-tooltip-distance","","SIZE","4px"),th=wo.create("--ft-tooltip-color","","COLOR","#FFFFFF"),eh=wo.create("--ft-tooltip-background-color","","COLOR","#666666"),oh=wo.create("--ft-tooltip-z-index","","NUMBER","100"),ih=wo.external(Ci.borderRadiusS,"Design system"),rh=wo.create("--ft-tooltip-max-width","","SIZE","150px"),nh=dt`
688
688
  .ft-tooltip--container {
689
689
  display: block;
690
690
  }
@@ -699,21 +699,21 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
699
699
  box-sizing: border-box;
700
700
  overflow: hidden;
701
701
  width: max-content;
702
- max-width: ${ih};
702
+ max-width: ${rh};
703
703
  text-align: center;
704
- padding: ${Qc};
705
- z-index: ${eh};
704
+ padding: ${Xc};
705
+ z-index: ${oh};
706
706
  }
707
707
 
708
708
  .ft-tooltip--content {
709
709
  padding: 4px 8px;
710
- border-radius: ${oh};
711
- background-color: ${th};
712
- color: ${Xc};
710
+ border-radius: ${ih};
711
+ background-color: ${eh};
712
+ color: ${th};
713
713
  position: relative;
714
714
  word-break: break-word;
715
715
  }
716
- `;var nh=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 ah extends Tr{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 lo,this.revealDebouncer=new lo}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Jt`
716
+ `;var ah=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 sh extends Tr{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 lo,this.revealDebouncer=new lo}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return Jt`
717
717
  <div part="container"
718
718
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
719
719
  @mouseenter=${this.onHover}
@@ -731,23 +731,23 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
731
731
  </div>
732
732
  </div>
733
733
  </div>
734
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Lr(this.slottedElement,this.tooltip,this.position).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}ah.elementDefinitions={"ft-typography":zc},ah.styles=rh,nh([we()],ah.prototype,"text",void 0),nh([we({type:Boolean})],ah.prototype,"manual",void 0),nh([we({type:Boolean})],ah.prototype,"inline",void 0),nh([we({type:Number})],ah.prototype,"delay",void 0),nh([we()],ah.prototype,"position",void 0),nh([Ie()],ah.prototype,"slotNodes",void 0),nh([$e(".ft-tooltip--container")],ah.prototype,"container",void 0),nh([$e(".ft-tooltip")],ah.prototype,"tooltip",void 0),nh([$e(".ft-tooltip--content")],ah.prototype,"tooltipContent",void 0),nh([Se()],ah.prototype,"visible",void 0),nh([Ce({passive:!0})],ah.prototype,"onTouch",null),nh([Ce({passive:!0})],ah.prototype,"onHover",null),nh([Ce({passive:!0})],ah.prototype,"onOut",null),nh([Ce({passive:!0})],ah.prototype,"onClick",null),bo("ft-tooltip")(ah);class sh extends Tr{render(){return Jt`
734
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some((e=>t.has(e)))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,null!=t&&await this.hideDebounce.run((()=>{this.hide()}),t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return(null!==(t=this.slotNodes)&&void 0!==t?t:[]).filter((t=>t.nodeType==Node.ELEMENT_NODE))[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){const t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px"}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Lr(this.slottedElement,this.tooltip,this.position).then((({x:t,y:e})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${e}px`)}))),this.revealDebouncer.run((()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")}),this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout((()=>window.addEventListener("touchstart",(t=>{t.composedPath().includes(this.container)||this.onOut()}),{once:!0})),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,e){return Math.max(t,Math.min(0,-e))}}sh.elementDefinitions={"ft-typography":Bc},sh.styles=nh,ah([we()],sh.prototype,"text",void 0),ah([we({type:Boolean})],sh.prototype,"manual",void 0),ah([we({type:Boolean})],sh.prototype,"inline",void 0),ah([we({type:Number})],sh.prototype,"delay",void 0),ah([we()],sh.prototype,"position",void 0),ah([Ie()],sh.prototype,"slotNodes",void 0),ah([$e(".ft-tooltip--container")],sh.prototype,"container",void 0),ah([$e(".ft-tooltip")],sh.prototype,"tooltip",void 0),ah([$e(".ft-tooltip--content")],sh.prototype,"tooltipContent",void 0),ah([Se()],sh.prototype,"visible",void 0),ah([Ce({passive:!0})],sh.prototype,"onTouch",null),ah([Ce({passive:!0})],sh.prototype,"onHover",null),ah([Ce({passive:!0})],sh.prototype,"onOut",null),ah([Ce({passive:!0})],sh.prototype,"onClick",null),bo("ft-tooltip")(sh);class lh extends Tr{render(){return Jt`
735
735
  <div class="ft-loader">
736
736
  <div></div>
737
737
  <div></div>
738
738
  <div></div>
739
739
  <div></div>
740
740
  </div>
741
- `}}sh.styles=Tc,bo("ft-loader")(sh);var lh=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 ch extends(as(Tr,"button")){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",(t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}))}render(){return this.addTooltipIfNeeded(Jt`
741
+ `}}lh.styles=Mc,bo("ft-loader")(lh);var ch=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 hh extends(ss(Tr,"button")){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",(t=>{var e;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):"submit"==this.type&&(null===(e=this.form)||void 0===e||e.requestSubmit())}))}render(){return this.addTooltipIfNeeded(Jt`
742
742
  <button part="button"
743
- class="${He(this.buttonClasses)}"
743
+ class="${Ke(this.buttonClasses)}"
744
744
  aria-label="${this.getLabel()}"
745
745
  ?disabled=${this.isDisabled()}>
746
746
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
747
747
  <ft-typography part="label"
748
748
  variant=${this.typographyVariant}
749
749
  element="span"
750
- class="ft-button--label ${ds?"ft-safari-ellipsis-fix":""}"
750
+ class="ft-button--label ${ps?"ft-safari-ellipsis-fix":""}"
751
751
  ?hidden=${!this.hasTextContent()}>
752
752
  <slot @slotchange=${this.onSlotchange}></slot>
753
753
  </ft-typography>
@@ -761,7 +761,7 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
761
761
  </ft-tooltip>
762
762
  `:t}resolveIcon(){return this.loading?Jt`
763
763
  <ft-loader part="loader icon"></ft-loader> `:this.icon?Jt`
764
- <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:te}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}ch.elementDefinitions={"ft-ripple":ul,"ft-tooltip":ah,"ft-typography":zc,"ft-icon":jc,"ft-loader":sh},lh([we({type:String,reflect:!0})],ch.prototype,"role",void 0),lh([we()],ch.prototype,"type",void 0),lh([we({type:Boolean})],ch.prototype,"disabled",void 0),lh([we()],ch.prototype,"label",void 0),lh([we()],ch.prototype,"icon",void 0),lh([we()],ch.prototype,"iconVariant",void 0),lh([we({type:Boolean})],ch.prototype,"trailingIcon",void 0),lh([we({type:Boolean})],ch.prototype,"loading",void 0),lh([we()],ch.prototype,"tooltipPosition",void 0),lh([we({type:Boolean})],ch.prototype,"hideTooltip",void 0),lh([we({type:Boolean})],ch.prototype,"forceTooltip",void 0),lh([$e(".ft-button")],ch.prototype,"button",void 0),lh([$e(".ft-button--label slot")],ch.prototype,"slottedContent",void 0);var hh=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 fh extends ch{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"}}fh.styles=[Xr,Jc],hh([we({type:Boolean})],fh.prototype,"primary",void 0),hh([we({type:Boolean})],fh.prototype,"outlined",void 0),hh([we({type:Boolean})],fh.prototype,"dense",void 0),hh([we({type:Boolean})],fh.prototype,"round",void 0);const dh=[dt`
764
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon> `:te}focus(){var t;null===(t=this.button)||void 0===t||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map((t=>this.unslotText(t))).join(""):(null==t?void 0:t.textContent)||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}}hh.elementDefinitions={"ft-ripple":gl,"ft-tooltip":sh,"ft-typography":Bc,"ft-icon":Dc,"ft-loader":lh},ch([we({type:String,reflect:!0})],hh.prototype,"role",void 0),ch([we()],hh.prototype,"type",void 0),ch([we({type:Boolean})],hh.prototype,"disabled",void 0),ch([we()],hh.prototype,"label",void 0),ch([we()],hh.prototype,"icon",void 0),ch([we()],hh.prototype,"iconVariant",void 0),ch([we({type:Boolean})],hh.prototype,"trailingIcon",void 0),ch([we({type:Boolean})],hh.prototype,"loading",void 0),ch([we()],hh.prototype,"tooltipPosition",void 0),ch([we({type:Boolean})],hh.prototype,"hideTooltip",void 0),ch([we({type:Boolean})],hh.prototype,"forceTooltip",void 0),ch([$e(".ft-button")],hh.prototype,"button",void 0),ch([$e(".ft-button--label slot")],hh.prototype,"slottedContent",void 0);var fh=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 dh extends hh{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"}}dh.styles=[tn,Qc],fh([we({type:Boolean})],dh.prototype,"primary",void 0),fh([we({type:Boolean})],dh.prototype,"outlined",void 0),fh([we({type:Boolean})],dh.prototype,"dense",void 0),fh([we({type:Boolean})],dh.prototype,"round",void 0);const ph=[dt`
765
765
  :host {
766
766
  display: inline-block;
767
767
  max-width: 100%;
@@ -840,13 +840,13 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
840
840
  /** Primary styles **/
841
841
 
842
842
  .ft-button--primary {
843
- ${So(Dc.color,Xo.primaryIconColor)};
843
+ ${So(Tc.color,Xo.primaryIconColor)};
844
844
 
845
- ${So(nl.color,Xo.primaryStateLayerColor)};
846
- ${So(nl.opacityContentOnSurfaceHover,Xo.primaryHoverStateLayerOpacity)};
847
- ${So(nl.opacityContentOnSurfaceFocused,Xo.primaryFocusStateLayerOpacity)};
848
- ${So(nl.opacityContentOnSurfaceSelected,Xo.primaryActiveStateLayerOpacity)};
849
- ${So(nl.opacityContentOnSurfacePressed,Xo.primaryActiveStateLayerOpacity)};
845
+ ${So(al.color,Xo.primaryStateLayerColor)};
846
+ ${So(al.opacityContentOnSurfaceHover,Xo.primaryHoverStateLayerOpacity)};
847
+ ${So(al.opacityContentOnSurfaceFocused,Xo.primaryFocusStateLayerOpacity)};
848
+ ${So(al.opacityContentOnSurfaceSelected,Xo.primaryActiveStateLayerOpacity)};
849
+ ${So(al.opacityContentOnSurfacePressed,Xo.primaryActiveStateLayerOpacity)};
850
850
 
851
851
  background-color: ${Xo.primaryBackgroundColor};
852
852
  color: ${Xo.primaryColor};
@@ -864,13 +864,13 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
864
864
  /** Secondary styles **/
865
865
 
866
866
  .ft-button--secondary {
867
- ${So(Dc.color,Xo.secondaryIconColor)};
867
+ ${So(Tc.color,Xo.secondaryIconColor)};
868
868
 
869
- ${So(nl.color,Xo.secondaryStateLayerColor)};
870
- ${So(nl.opacityContentOnSurfaceHover,Xo.secondaryHoverStateLayerOpacity)};
871
- ${So(nl.opacityContentOnSurfaceFocused,Xo.secondaryFocusStateLayerOpacity)};
872
- ${So(nl.opacityContentOnSurfaceSelected,Xo.secondaryActiveStateLayerOpacity)};
873
- ${So(nl.opacityContentOnSurfacePressed,Xo.secondaryActiveStateLayerOpacity)};
869
+ ${So(al.color,Xo.secondaryStateLayerColor)};
870
+ ${So(al.opacityContentOnSurfaceHover,Xo.secondaryHoverStateLayerOpacity)};
871
+ ${So(al.opacityContentOnSurfaceFocused,Xo.secondaryFocusStateLayerOpacity)};
872
+ ${So(al.opacityContentOnSurfaceSelected,Xo.secondaryActiveStateLayerOpacity)};
873
+ ${So(al.opacityContentOnSurfacePressed,Xo.secondaryActiveStateLayerOpacity)};
874
874
 
875
875
  background-color: ${Xo.secondaryBackgroundColor};
876
876
  color: ${Xo.secondaryColor};
@@ -889,13 +889,13 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
889
889
  /** Tertiary styles **/
890
890
 
891
891
  .ft-button--tertiary {
892
- ${So(Dc.color,Xo.tertiaryIconColor)};
892
+ ${So(Tc.color,Xo.tertiaryIconColor)};
893
893
 
894
- ${So(nl.color,Xo.tertiaryStateLayerColor)};
895
- ${So(nl.opacityContentOnSurfaceHover,Xo.tertiaryHoverStateLayerOpacity)};
896
- ${So(nl.opacityContentOnSurfaceFocused,Xo.tertiaryFocusStateLayerOpacity)};
897
- ${So(nl.opacityContentOnSurfaceSelected,Xo.tertiaryActiveStateLayerOpacity)};
898
- ${So(nl.opacityContentOnSurfacePressed,Xo.tertiaryActiveStateLayerOpacity)};
894
+ ${So(al.color,Xo.tertiaryStateLayerColor)};
895
+ ${So(al.opacityContentOnSurfaceHover,Xo.tertiaryHoverStateLayerOpacity)};
896
+ ${So(al.opacityContentOnSurfaceFocused,Xo.tertiaryFocusStateLayerOpacity)};
897
+ ${So(al.opacityContentOnSurfaceSelected,Xo.tertiaryActiveStateLayerOpacity)};
898
+ ${So(al.opacityContentOnSurfacePressed,Xo.tertiaryActiveStateLayerOpacity)};
899
899
 
900
900
  background-color: ${Xo.tertiaryBackgroundColor};
901
901
  color: ${Xo.tertiaryColor};
@@ -913,13 +913,13 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
913
913
  /** Neutral styles **/
914
914
 
915
915
  .ft-button--neutral {
916
- ${So(Dc.color,Xo.neutralIconColor)};
916
+ ${So(Tc.color,Xo.neutralIconColor)};
917
917
 
918
- ${So(nl.backgroundColor,Xo.neutralStateLayerColor)};
919
- ${So(nl.opacityContentOnSurfaceHover,Xo.neutralHoverStateLayerOpacity)};
920
- ${So(nl.opacityContentOnSurfaceFocused,Xo.neutralFocusStateLayerOpacity)};
921
- ${So(nl.opacityContentOnSurfaceSelected,Xo.neutralActiveStateLayerOpacity)};
922
- ${So(nl.opacityContentOnSurfacePressed,Xo.neutralActiveStateLayerOpacity)};
918
+ ${So(al.backgroundColor,Xo.neutralStateLayerColor)};
919
+ ${So(al.opacityContentOnSurfaceHover,Xo.neutralHoverStateLayerOpacity)};
920
+ ${So(al.opacityContentOnSurfaceFocused,Xo.neutralFocusStateLayerOpacity)};
921
+ ${So(al.opacityContentOnSurfaceSelected,Xo.neutralActiveStateLayerOpacity)};
922
+ ${So(al.opacityContentOnSurfacePressed,Xo.neutralActiveStateLayerOpacity)};
923
923
 
924
924
  background-color: ${Xo.neutralBackgroundColor};
925
925
  color: ${Xo.neutralColor};
@@ -937,8 +937,8 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
937
937
  /** Large styles **/
938
938
 
939
939
  .ft-button--large {
940
- ${So(Bc.size,Xo.largeIconSize)};
941
- ${So(Dc.size,Xo.largeIconSize)};
940
+ ${So(Fc.size,Xo.largeIconSize)};
941
+ ${So(Tc.size,Xo.largeIconSize)};
942
942
 
943
943
  height: ${Xo.largeHeight};
944
944
  padding: 0 ${Xo.largeHorizontalPadding};
@@ -960,8 +960,8 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
960
960
  /** Small styles **/
961
961
 
962
962
  .ft-button--small {
963
- ${So(Bc.size,Xo.smallIconSize)};
964
- ${So(Dc.size,Xo.smallIconSize)};
963
+ ${So(Fc.size,Xo.smallIconSize)};
964
+ ${So(Tc.size,Xo.smallIconSize)};
965
965
 
966
966
  height: ${Xo.smallHeight};
967
967
  padding: 0 ${Xo.smallHorizontalPadding};
@@ -979,7 +979,7 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
979
979
  width: ${Xo.smallIconOnlyWidth};
980
980
  padding: unset;
981
981
  }
982
- `,Jr];var ph=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 uh extends ch{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?xl.caption1medium:xl.body2medium}}uh.styles=[Xr,dh],ph([we({type:Boolean})],uh.prototype,"primary",void 0),ph([we({type:Boolean})],uh.prototype,"secondary",void 0),ph([we({type:Boolean})],uh.prototype,"tertiary",void 0),ph([we({type:Boolean})],uh.prototype,"neutral",void 0),ph([we({type:Boolean})],uh.prototype,"small",void 0),bo("ft-button")(fh),bo("ftds-button")(uh);const gh=wo.extend("--ft-chip-color","",Ci.colorOnSurface),yh={backgroundColor:wo.extend("--ft-chip-background-color","",Ci.colorSurface),color:gh,fontSize:wo.extend("--ft-chip-font-size","",tc.fontSize),iconSize:wo.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:wo.create("--ft-chip-border-radius","","SIZE",""),rippleColor:wo.extend("--ft-chip-ripple-color","",gh),horizontalPadding:wo.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:wo.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:wo.external(Ci.colorOutline,"Design system"),opacityDisabled:wo.external(Ci.colorOpacityDisabled,"Design system")},bh=wo.extend("--ft-chip-highlighted-color","",wo.extend("--ft-chip-color","",Ci.colorOnPrimary)),mh={backgroundColor:wo.extend("--ft-chip-highlighted-background-color","",wo.extend("--ft-chip-background-color","",Ci.colorPrimary)),color:bh,rippleColor:wo.extend("--ft-chip-highlighted-ripple-color","",bh)},vh=wo.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),xh=wo.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),Oh=[Jr,dt`
982
+ `,Qr];var uh=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 gh extends hh{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?Ol.caption1medium:Ol.body2medium}}gh.styles=[tn,ph],uh([we({type:Boolean})],gh.prototype,"primary",void 0),uh([we({type:Boolean})],gh.prototype,"secondary",void 0),uh([we({type:Boolean})],gh.prototype,"tertiary",void 0),uh([we({type:Boolean})],gh.prototype,"neutral",void 0),uh([we({type:Boolean})],gh.prototype,"small",void 0),bo("ft-button")(dh),bo("ftds-button")(gh);const yh=wo.extend("--ft-chip-color","",Ci.colorOnSurface),bh={backgroundColor:wo.extend("--ft-chip-background-color","",Ci.colorSurface),color:yh,fontSize:wo.extend("--ft-chip-font-size","",ec.fontSize),iconSize:wo.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:wo.create("--ft-chip-border-radius","","SIZE",""),rippleColor:wo.extend("--ft-chip-ripple-color","",yh),horizontalPadding:wo.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:wo.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:wo.external(Ci.colorOutline,"Design system"),opacityDisabled:wo.external(Ci.colorOpacityDisabled,"Design system")},mh=wo.extend("--ft-chip-highlighted-color","",wo.extend("--ft-chip-color","",Ci.colorOnPrimary)),vh={backgroundColor:wo.extend("--ft-chip-highlighted-background-color","",wo.extend("--ft-chip-background-color","",Ci.colorPrimary)),color:mh,rippleColor:wo.extend("--ft-chip-highlighted-ripple-color","",mh)},xh=wo.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),Oh=wo.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),wh=[Qr,dt`
983
983
  :host {
984
984
  display: inline-block;
985
985
  max-width: 100%;
@@ -995,20 +995,20 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
995
995
  box-sizing: border-box;
996
996
  pointer-events: auto;
997
997
 
998
- --ft-chip-internal-font-size: ${yh.fontSize};
998
+ --ft-chip-internal-font-size: ${bh.fontSize};
999
999
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
1000
- ${So(Bc.size,yh.iconSize)};
1001
- --ft-chip-internal-vertical-padding: ${yh.verticalPadding};
1002
- --ft-chip-internal-horizontal-padding: ${yh.horizontalPadding};
1000
+ ${So(Fc.size,bh.iconSize)};
1001
+ --ft-chip-internal-vertical-padding: ${bh.verticalPadding};
1002
+ --ft-chip-internal-horizontal-padding: ${bh.horizontalPadding};
1003
1003
  --ft-chip-internal-icon-padding: 3px;
1004
- --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${yh.iconSize});
1004
+ --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${bh.iconSize});
1005
1005
 
1006
- border: 1px solid ${yh.colorOutline};
1007
- color: ${yh.color};
1008
- ${So(nl.color,yh.rippleColor)};
1009
- border-radius: var(${ft(yh.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
1006
+ border: 1px solid ${bh.colorOutline};
1007
+ color: ${bh.color};
1008
+ ${So(al.color,bh.rippleColor)};
1009
+ border-radius: var(${ft(bh.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
1010
1010
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
1011
- background-color: ${yh.backgroundColor};
1011
+ background-color: ${bh.backgroundColor};
1012
1012
  line-height: var(--ft-chip-internal-content-height);
1013
1013
  }
1014
1014
 
@@ -1018,8 +1018,8 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
1018
1018
 
1019
1019
  .ft-chip--dense {
1020
1020
  --ft-chip-internal-icon-padding: 3px;
1021
- --ft-chip-internal-vertical-padding: ${xh};
1022
- --ft-chip-internal-horizontal-padding: ${vh};
1021
+ --ft-chip-internal-vertical-padding: ${Oh};
1022
+ --ft-chip-internal-horizontal-padding: ${xh};
1023
1023
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
1024
1024
  }
1025
1025
 
@@ -1031,15 +1031,15 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
1031
1031
  cursor: default;
1032
1032
  pointer-events: none;
1033
1033
  filter: grayscale(1);
1034
- opacity: ${yh.opacityDisabled};
1034
+ opacity: ${bh.opacityDisabled};
1035
1035
  }
1036
1036
 
1037
1037
  .ft-chip--highlighted {
1038
1038
  border: none;
1039
1039
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
1040
- background-color: ${mh.backgroundColor};
1041
- ${So(nl.color,mh.rippleColor)};
1042
- color: ${mh.color};
1040
+ background-color: ${vh.backgroundColor};
1041
+ ${So(al.color,vh.rippleColor)};
1042
+ color: ${vh.color};
1043
1043
  }
1044
1044
 
1045
1045
  .ft-chip--clickable {
@@ -1069,7 +1069,7 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
1069
1069
  }
1070
1070
 
1071
1071
  .ft-chip--icon-button {
1072
- ${So(Kc.iconSize,yh.iconSize)};
1072
+ ${So(Kc.iconSize,bh.iconSize)};
1073
1073
  ${So(Kc.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
1074
1074
  ${So(Kc.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
1075
1075
  margin: calc((-1) * var(--ft-chip-internal-icon-padding));
@@ -1079,8 +1079,8 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
1079
1079
  vertical-align: bottom;
1080
1080
  display: block;
1081
1081
  margin: 0 var(--ft-chip-internal-horizontal-padding);
1082
- ${So(tc.fontSize,"var(--ft-chip-internal-font-size)")};
1083
- ${So(tc.lineHeight,"var(--ft-chip-internal-content-height)")};
1082
+ ${So(ec.fontSize,"var(--ft-chip-internal-font-size)")};
1083
+ ${So(ec.lineHeight,"var(--ft-chip-internal-content-height)")};
1084
1084
  }
1085
1085
 
1086
1086
  .ft-chip--safari-fix .ft-chip--label {
@@ -1116,8 +1116,8 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
1116
1116
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
1117
1117
  order: -1;
1118
1118
  }
1119
- `];var wh=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 Sh extends CustomEvent{constructor(){super("icon-click")}}class Ch extends Tr{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":ds};return Jt`
1120
- <div class="${He(t)}"
1119
+ `];var Sh=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 Ch extends CustomEvent{constructor(){super("icon-click")}}class Nh extends Tr{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){const t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":ps};return Jt`
1120
+ <div class="${Ke(t)}"
1121
1121
  aria-label="${this.getLabel()}"
1122
1122
  tabindex="${this.interactionsOnChip?0:-1}"
1123
1123
  @keyup=${this.onKeyUp}
@@ -1141,23 +1141,23 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
1141
1141
  <div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
1142
1142
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
1143
1143
  </div>
1144
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Sh))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Sh))}getLabel(){return this.label||this.textContent}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:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}Ch.elementDefinitions={"ft-ripple":ul,"ft-typography":zc,"ft-icon":jc,"ft-button":fh},Ch.styles=Oh,wh([we({type:Boolean})],Ch.prototype,"highlighted",void 0),wh([we({type:Boolean})],Ch.prototype,"removable",void 0),wh([we({type:Boolean})],Ch.prototype,"disabled",void 0),wh([we({type:Boolean})],Ch.prototype,"clickable",void 0),wh([we({type:Boolean})],Ch.prototype,"iconClickable",void 0),wh([we({type:Boolean})],Ch.prototype,"dense",void 0),wh([we({type:Boolean})],Ch.prototype,"multiLine",void 0),wh([we()],Ch.prototype,"label",void 0),wh([we()],Ch.prototype,"iconLabel",void 0),wh([we()],Ch.prototype,"icon",void 0),wh([we()],Ch.prototype,"iconVariant",void 0),wh([we({type:Boolean})],Ch.prototype,"trailingIcon",void 0),wh([$e("ft-typography slot")],Ch.prototype,"slottedContent",void 0),bo("ft-chip")(Ch);const Nh=dt`
1145
- `;var $h=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 Eh=Symbol("i18nAttributes"),kh=Symbol("i18nProperties"),Rh=Symbol("i18nUnsubs");function Ih(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Ms:Ts}i18n(t,e,...o){var i;if("string"==typeof t)return this.i18nService.resolveMessage(t,e,...o);const r=null!==(i=t.args)&&void 0!==i?i:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...r)}onI18nUpdate(t){var e,o;null===(e=this[Eh])||void 0===e||e.forEach(((e,o)=>{var i;const r=this.getI18nAttributeValue(o);(null===(i=null==r?void 0:r.context)||void 0===i?void 0:i.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(o,r,e)})),null===(o=this[kh])||void 0===o||o.forEach(((e,o)=>{e.context.toLowerCase()===t.toLowerCase()&&(this[o]=this.i18n(e))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,e,o){this[t]={...e,message:this.i18n({context:e.context,key:e.key,...o})}}update(t){var e,o;super.update(t),null===(e=this[Eh])||void 0===e||e.forEach(((e,o)=>{const i=this.getI18nAttributeValue(o);(null==i?void 0:i.context)&&i.key&&(t.has(o)||null!=e.argsProvider)&&(t.has(o)&&this.addI18nContext(i.context),this.updateI18nAttributeMessage(o,i,e))})),null===(o=this[kh])||void 0===o||o.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,e,o,i;super.connectedCallback(),new Set([...null!==(e=null===(t=this[kh])||void 0===t?void 0:t.values())&&void 0!==e?e:[],...[...null!==(i=null===(o=this[Eh])||void 0===o?void 0:o.keys())&&void 0!==i?i:[]].map((t=>this.getI18nAttributeValue(t)))].map((t=>null==t?void 0:t.context))).forEach((t=>t&&this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[Rh].has(t)||this[Rh].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=e?e:{})}addI18nContext(t,e){this.addI18nMessages("string"==typeof t?t:t.name,e)}disconnectedCallback(){super.disconnectedCallback(),this[Rh].forEach((t=>t())),this[Rh].clear()}}return e=Rh,$h([we({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class Lh extends(Ih(Tr)){}class Uh extends(Ih(un)){}var Ah=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 Wh extends Uh{constructor(){super(),this.editorMode=!1,this.addStore(Bs)}render(){return this.key&&this.context?Jt`
1144
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Ch))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Ch))}getLabel(){return this.label||this.textContent}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:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}}Nh.elementDefinitions={"ft-ripple":gl,"ft-typography":Bc,"ft-icon":Dc,"ft-button":dh},Nh.styles=wh,Sh([we({type:Boolean})],Nh.prototype,"highlighted",void 0),Sh([we({type:Boolean})],Nh.prototype,"removable",void 0),Sh([we({type:Boolean})],Nh.prototype,"disabled",void 0),Sh([we({type:Boolean})],Nh.prototype,"clickable",void 0),Sh([we({type:Boolean})],Nh.prototype,"iconClickable",void 0),Sh([we({type:Boolean})],Nh.prototype,"dense",void 0),Sh([we({type:Boolean})],Nh.prototype,"multiLine",void 0),Sh([we()],Nh.prototype,"label",void 0),Sh([we()],Nh.prototype,"iconLabel",void 0),Sh([we()],Nh.prototype,"icon",void 0),Sh([we()],Nh.prototype,"iconVariant",void 0),Sh([we({type:Boolean})],Nh.prototype,"trailingIcon",void 0),Sh([$e("ft-typography slot")],Nh.prototype,"slottedContent",void 0),bo("ft-chip")(Nh);const $h=dt`
1145
+ `;var Eh=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 kh=Symbol("i18nAttributes"),Rh=Symbol("i18nProperties"),Ih=Symbol("i18nUnsubs");function Lh(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Hs:Ms}i18n(t,e,...o){var i;if("string"==typeof t)return this.i18nService.resolveMessage(t,e,...o);const r=null!==(i=t.args)&&void 0!==i?i:t.argsProvider?t.argsProvider(this):[];return this.i18nService.resolveMessage(t.context,t.key,...r)}onI18nUpdate(t){var e,o;null===(e=this[kh])||void 0===e||e.forEach(((e,o)=>{var i;const r=this.getI18nAttributeValue(o);(null===(i=null==r?void 0:r.context)||void 0===i?void 0:i.toLowerCase())===t.toLowerCase()&&this.updateI18nAttributeMessage(o,r,e)})),null===(o=this[Rh])||void 0===o||o.forEach(((e,o)=>{e.context.toLowerCase()===t.toLowerCase()&&(this[o]=this.i18n(e))})),setTimeout((()=>this.requestUpdate()),0)}updateI18nAttributeMessage(t,e,o){this[t]={...e,message:this.i18n({context:e.context,key:e.key,...o})}}update(t){var e,o;super.update(t),null===(e=this[kh])||void 0===e||e.forEach(((e,o)=>{const i=this.getI18nAttributeValue(o);(null==i?void 0:i.context)&&i.key&&(t.has(o)||null!=e.argsProvider)&&(t.has(o)&&this.addI18nContext(i.context),this.updateI18nAttributeMessage(o,i,e))})),null===(o=this[Rh])||void 0===o||o.forEach(((t,e)=>{null!=t.argsProvider&&(this[e]=this.i18n(t))}))}getI18nAttributeValue(t){return this[t]}connectedCallback(){var t,e,o,i;super.connectedCallback(),new Set([...null!==(e=null===(t=this[Rh])||void 0===t?void 0:t.values())&&void 0!==e?e:[],...[...null!==(i=null===(o=this[kh])||void 0===o?void 0:o.keys())&&void 0!==i?i:[]].map((t=>this.getI18nAttributeValue(t)))].map((t=>null==t?void 0:t.context))).forEach((t=>t&&this.addI18nMessages(t)))}addI18nMessages(t,e){t=t.toLowerCase(),this[Ih].has(t)||this[Ih].set(t,this.i18nService.subscribe(t,(()=>this.onI18nUpdate(t)))),this.i18nService.prepareContext(t,null!=e?e:{})}addI18nContext(t,e){this.addI18nMessages("string"==typeof t?t:t.name,e)}disconnectedCallback(){super.disconnectedCallback(),this[Ih].forEach((t=>t())),this[Ih].clear()}}return e=Ih,Eh([we({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class Uh extends(Lh(Tr)){}class Ah extends(Lh(gn)){}var Wh=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 zh extends Ah{constructor(){super(),this.editorMode=!1,this.addStore(Fs)}render(){return this.key&&this.context?Jt`
1146
1146
  <span class="ft-i18n">
1147
1147
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
1148
1148
  </span>
1149
- `:this.editorMode?"Select a context and a label key.":te}update(t){var e;super.update(t),["context","key","defaultMessage"].some((e=>t.has(e)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(e=this.defaultMessage)&&void 0!==e?e:""})}}Wh.elementDefinitions={},Wh.styles=Nh,Ah([nn()],Wh.prototype,"editorMode",void 0),Ah([we()],Wh.prototype,"context",void 0),Ah([we()],Wh.prototype,"key",void 0),Ah([mo([])],Wh.prototype,"args",void 0),Ah([we()],Wh.prototype,"defaultMessage",void 0);class zh{static build(t){return new zh(t)}static fromGwt(t){return new zh(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,e)=>{const o=e;return t=>({context:this.name,key:o,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,e)=>(...t)=>Ts.resolveMessage(this.name,e,...t)})}}bo("ft-i18n")(Wh);const Bh=dt`
1150
- `;var Fh=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 _h extends CustomEvent{constructor(t){super("ft-search-load-error",{detail:t})}}class Ph extends CustomEvent{constructor(t){super("ft-search-request-change",{detail:t})}}class jh extends CustomEvent{constructor(t,e,o){super("ft-search-results-change",{detail:{request:t,paging:e,spellcheck:o}})}}class Dh extends un{get stateManager(){if(null==this._stateManager){const t=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=Xs.build(this.id||(""+Math.round(999e3*Math.random())).padStart(6,"0"),t),this._stateManager.errorHandler=t=>this.handleLoadError(t),this.addStore(this.stateManager.store,"search")}return this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.addStore(Bs)}render(){return Jt`
1149
+ `:this.editorMode?"Select a context and a label key.":te}update(t){var e;super.update(t),["context","key","defaultMessage"].some((e=>t.has(e)))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:null!==(e=this.defaultMessage)&&void 0!==e?e:""})}}zh.elementDefinitions={},zh.styles=$h,Wh([an()],zh.prototype,"editorMode",void 0),Wh([we()],zh.prototype,"context",void 0),Wh([we()],zh.prototype,"key",void 0),Wh([mo([])],zh.prototype,"args",void 0),Wh([we()],zh.prototype,"defaultMessage",void 0);class Bh{static build(t){return new Bh(t)}static fromGwt(t){return new Bh(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(t,e)=>{const o=e;return t=>({context:this.name,key:o,args:"function"==typeof t?void 0:t,argsProvider:"function"==typeof t?t:void 0})}}),this.messages=new Proxy({},{get:(t,e)=>(...t)=>Ms.resolveMessage(this.name,e,...t)})}}bo("ft-i18n")(zh);const Fh=dt`
1150
+ `;var _h=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 Ph extends CustomEvent{constructor(t){super("ft-search-load-error",{detail:t})}}class jh extends CustomEvent{constructor(t){super("ft-search-request-change",{detail:t})}}class Dh extends CustomEvent{constructor(t,e,o){super("ft-search-results-change",{detail:{request:t,paging:e,spellcheck:o}})}}class Th extends gn{get stateManager(){if(null==this._stateManager){const t=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=tl.build(this.id||(""+Math.round(999e3*Math.random())).padStart(6,"0"),t),this._stateManager.errorHandler=t=>this.handleLoadError(t),this.addStore(this.stateManager.store,"search")}return this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.addStore(Fs)}render(){return Jt`
1151
1151
  <slot @register-ft-search-component=${this.registerComponent}></slot>
1152
- `}update(t){super.update(t),t.has("query")&&void 0!==this.query&&this.stateManager.setQuery(this.query),t.has("contentLocale")&&void 0!==this.contentLocale&&this.stateManager.setContentLocale(this.contentLocale),t.has("session")&&this.session&&this.stateManager.initService(),t.has("filters")&&void 0!==this.filters&&this.stateManager.setFilters(this.filters),t.has("sort")&&void 0!==this.sort&&this.stateManager.setSort(this.sort),t.has("pageSize")&&void 0!==this.pageSize&&this.stateManager.setPageSize(this.pageSize),t.has("searchInDocumentTitlesOnly")&&void 0!==this.searchInDocumentTitlesOnly&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),t.has("scope")&&void 0!==this.scope&&this.stateManager.setScope(this.scope),t.has("ignoreEmptyQuery")&&void 0!==this.ignoreEmptyQuery&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),t.has("openExternalDocumentInNewTab")&&void 0!==this.openExternalDocumentInNewTab&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("periodFilter")&&void 0!==this.periodFilter&&this.stateManager.setPeriodFilter(this.periodFilter)}connectedCallback(){super.connectedCallback(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("request")&&this.request&&this.dispatchEvent(new Ph(this.request)),t.has("paging")&&void 0!==this.paging&&this.dispatchEvent(new jh(this.request,this.paging,this.autocorrect))}registerComponent(t){t.stopPropagation();const e=t.composedPath()[0];this.register(e)}register(t){t.setSearchStateManager(this.stateManager)}handleLoadError(t){this.dispatchEvent(new _h(t))}reloadSavedSearches(){qs.clearMySearches()}clear(){this.stateManager.clear()}}Dh.elementDefinitions={},Dh.styles=Bh,Fh([we()],Dh.prototype,"query",void 0),Fh([we()],Dh.prototype,"contentLocale",void 0),Fh([we({type:Number})],Dh.prototype,"pageSize",void 0),Fh([we({type:Boolean})],Dh.prototype,"searchInDocumentTitlesOnly",void 0),Fh([we()],Dh.prototype,"periodFilter",void 0),Fh([we()],Dh.prototype,"scope",void 0),Fh([we({type:Boolean})],Dh.prototype,"ignoreEmptyQuery",void 0),Fh([nn({store:Bs.name})],Dh.prototype,"openExternalDocumentInNewTab",void 0),Fh([mo([])],Dh.prototype,"filters",void 0),Fh([mo([])],Dh.prototype,"sort",void 0),Fh([nn({store:"search"})],Dh.prototype,"request",void 0),Fh([nn({store:"search"})],Dh.prototype,"paging",void 0),Fh([nn({store:"search",selector:t=>t.spellcheck})],Dh.prototype,"autocorrect",void 0),Fh([nn({store:Bs.name})],Dh.prototype,"session",void 0),Fh([we({attribute:!1})],Dh.prototype,"searchServiceProvider",void 0),bo("ft-search-context")(Dh);const Th=dt`
1153
- `,Mh=wo.extend("--ft-checkbox-text-color","",Ci.colorOnSurfaceHigh),Kh=wo.extend("--ft-checkbox-font-size","",Sl.fontSize),Hh=wo.external(Ci.colorPrimary,"Design system"),Zh=wo.external(Ci.colorOnPrimary,"Design system"),Gh=wo.extend("--ft-checkbox-border-color","",Ci.colorOnSurfaceMedium),Vh=wo.external(Ci.colorOnSurfaceDisabled,"Design system"),qh=dt`
1152
+ `}update(t){super.update(t),t.has("query")&&void 0!==this.query&&this.stateManager.setQuery(this.query),t.has("contentLocale")&&void 0!==this.contentLocale&&this.stateManager.setContentLocale(this.contentLocale),t.has("session")&&this.session&&this.stateManager.initService(),t.has("filters")&&void 0!==this.filters&&this.stateManager.setFilters(this.filters),t.has("sort")&&void 0!==this.sort&&this.stateManager.setSort(this.sort),t.has("pageSize")&&void 0!==this.pageSize&&this.stateManager.setPageSize(this.pageSize),t.has("searchInDocumentTitlesOnly")&&void 0!==this.searchInDocumentTitlesOnly&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),t.has("scope")&&void 0!==this.scope&&this.stateManager.setScope(this.scope),t.has("ignoreEmptyQuery")&&void 0!==this.ignoreEmptyQuery&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),t.has("openExternalDocumentInNewTab")&&void 0!==this.openExternalDocumentInNewTab&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("periodFilter")&&void 0!==this.periodFilter&&this.stateManager.setPeriodFilter(this.periodFilter)}connectedCallback(){super.connectedCallback(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("request")&&this.request&&this.dispatchEvent(new jh(this.request)),t.has("paging")&&void 0!==this.paging&&this.dispatchEvent(new Dh(this.request,this.paging,this.autocorrect))}registerComponent(t){t.stopPropagation();const e=t.composedPath()[0];this.register(e)}register(t){t.setSearchStateManager(this.stateManager)}handleLoadError(t){this.dispatchEvent(new Ph(t))}reloadSavedSearches(){Ys.clearMySearches()}clear(){this.stateManager.clear()}}Th.elementDefinitions={},Th.styles=Fh,_h([we()],Th.prototype,"query",void 0),_h([we()],Th.prototype,"contentLocale",void 0),_h([we({type:Number})],Th.prototype,"pageSize",void 0),_h([we({type:Boolean})],Th.prototype,"searchInDocumentTitlesOnly",void 0),_h([we()],Th.prototype,"periodFilter",void 0),_h([we()],Th.prototype,"scope",void 0),_h([we({type:Boolean})],Th.prototype,"ignoreEmptyQuery",void 0),_h([an({store:Fs.name})],Th.prototype,"openExternalDocumentInNewTab",void 0),_h([mo([])],Th.prototype,"filters",void 0),_h([mo([])],Th.prototype,"sort",void 0),_h([an({store:"search"})],Th.prototype,"request",void 0),_h([an({store:"search"})],Th.prototype,"paging",void 0),_h([an({store:"search",selector:t=>t.spellcheck})],Th.prototype,"autocorrect",void 0),_h([an({store:Fs.name})],Th.prototype,"session",void 0),_h([we({attribute:!1})],Th.prototype,"searchServiceProvider",void 0),bo("ft-search-context")(Th);const Mh=dt`
1153
+ `,Hh=wo.extend("--ft-checkbox-text-color","",Ci.colorOnSurfaceHigh),Kh=wo.extend("--ft-checkbox-font-size","",Cl.fontSize),Zh=wo.external(Ci.colorPrimary,"Design system"),Gh=wo.external(Ci.colorOnPrimary,"Design system"),Vh=wo.extend("--ft-checkbox-border-color","",Ci.colorOnSurfaceMedium),qh=wo.external(Ci.colorOnSurfaceDisabled,"Design system"),Yh=dt`
1154
1154
  * {
1155
1155
  box-sizing: border-box;
1156
1156
  }
1157
1157
 
1158
1158
  .ft-checkbox {
1159
1159
  box-sizing: border-box;
1160
- color: ${Mh};
1160
+ color: ${Hh};
1161
1161
  font-size: ${Kh};
1162
1162
 
1163
1163
  display: inline-flex;
@@ -1166,7 +1166,7 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
1166
1166
  }
1167
1167
 
1168
1168
  .ft-checkbox--disabled {
1169
- color: ${Vh};
1169
+ color: ${qh};
1170
1170
  }
1171
1171
 
1172
1172
  input {
@@ -1190,26 +1190,26 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
1190
1190
 
1191
1191
  .ft-checkbox--box {
1192
1192
  display: flex;
1193
- border: 2px solid ${Gh};
1193
+ border: 2px solid ${Vh};
1194
1194
  border-radius: 2px;
1195
1195
 
1196
1196
  width: 18px;
1197
1197
  height: 18px;
1198
1198
 
1199
- color: ${Zh};
1199
+ color: ${Gh};
1200
1200
  }
1201
1201
 
1202
1202
 
1203
1203
  .ft-checkbox--checked .ft-checkbox--box,
1204
1204
  .ft-checkbox--indeterminate .ft-checkbox--box {
1205
- border-color: ${Hh};
1206
- background-color: ${Hh};
1205
+ border-color: ${Zh};
1206
+ background-color: ${Zh};
1207
1207
  }
1208
1208
 
1209
1209
  .ft-checkbox--disabled .ft-checkbox--box {
1210
- border-color: ${Vh};
1210
+ border-color: ${qh};
1211
1211
  background-color: transparent;
1212
- color: ${Vh};
1212
+ color: ${qh};
1213
1213
  }
1214
1214
 
1215
1215
  .ft-checkbox--checkmark {
@@ -1228,8 +1228,8 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
1228
1228
  .ft-checkbox--indeterminate .ft-checkbox--checkmark {
1229
1229
  opacity: 1;
1230
1230
  }
1231
- `;var Yh=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 Jh extends Tr{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){const t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return Jt`
1232
- <label class="${He(t)}" for="checkbox-input">
1231
+ `;var Jh=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 Qh extends Tr{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){const t={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return Jt`
1232
+ <label class="${Ke(t)}" for="checkbox-input">
1233
1233
  <div class="ft-checkbox--box-container">
1234
1234
  <ft-ripple
1235
1235
  ?disabled=${this.disabled}
@@ -1255,14 +1255,14 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
1255
1255
  <slot></slot>
1256
1256
  </ft-typography>
1257
1257
  </label>
1258
- `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}}Jh.elementDefinitions={"ft-ripple":ul,"ft-typography":zc},Jh.styles=qh,Yh([we()],Jh.prototype,"name",void 0),Yh([we({type:Boolean,reflect:!0})],Jh.prototype,"checked",void 0),Yh([we({type:Boolean})],Jh.prototype,"indeterminate",void 0),Yh([we({type:Boolean})],Jh.prototype,"disabled",void 0),Yh([$e(".ft-checkbox")],Jh.prototype,"container",void 0),Yh([$e("ft-ripple")],Jh.prototype,"ripple",void 0),bo("ft-checkbox")(Jh);const Qh=wo.extend("--ft-radio-text-color","",Ci.colorOnSurfaceHigh),Xh=wo.external(Ci.colorPrimary,"Design system"),tf=(wo.external(Ci.colorOnPrimary,"Design system"),wo.extend("--ft-radio-border-color","",Ci.colorOnSurfaceMedium)),ef=wo.external(Ci.colorOnSurfaceDisabled,"Design system"),of=dt`
1258
+ `}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}}Qh.elementDefinitions={"ft-ripple":gl,"ft-typography":Bc},Qh.styles=Yh,Jh([we()],Qh.prototype,"name",void 0),Jh([we({type:Boolean,reflect:!0})],Qh.prototype,"checked",void 0),Jh([we({type:Boolean})],Qh.prototype,"indeterminate",void 0),Jh([we({type:Boolean})],Qh.prototype,"disabled",void 0),Jh([$e(".ft-checkbox")],Qh.prototype,"container",void 0),Jh([$e("ft-ripple")],Qh.prototype,"ripple",void 0),bo("ft-checkbox")(Qh);const Xh=wo.extend("--ft-radio-text-color","",Ci.colorOnSurfaceHigh),tf=wo.external(Ci.colorPrimary,"Design system"),ef=(wo.external(Ci.colorOnPrimary,"Design system"),wo.extend("--ft-radio-border-color","",Ci.colorOnSurfaceMedium)),of=wo.external(Ci.colorOnSurfaceDisabled,"Design system"),rf=dt`
1259
1259
  * {
1260
1260
  box-sizing: border-box;
1261
1261
  }
1262
1262
 
1263
1263
  .ft-radio {
1264
1264
  box-sizing: border-box;
1265
- color: ${Qh};
1265
+ color: ${Xh};
1266
1266
 
1267
1267
  display: inline-flex;
1268
1268
  align-items: center;
@@ -1270,7 +1270,7 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
1270
1270
  }
1271
1271
 
1272
1272
  .ft-radio--disabled {
1273
- color: ${ef};
1273
+ color: ${of};
1274
1274
  }
1275
1275
 
1276
1276
  input {
@@ -1293,7 +1293,7 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
1293
1293
  }
1294
1294
 
1295
1295
  .ft-radio--box {
1296
- border: 2px solid ${tf};
1296
+ border: 2px solid ${ef};
1297
1297
  border-radius: 50%;
1298
1298
 
1299
1299
  display: flex;
@@ -1306,7 +1306,7 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
1306
1306
 
1307
1307
  .ft-radio--box:after {
1308
1308
  content: " ";
1309
- background-color: ${Xh};
1309
+ background-color: ${tf};
1310
1310
 
1311
1311
  border-radius: 50%;
1312
1312
 
@@ -1318,7 +1318,7 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
1318
1318
  }
1319
1319
 
1320
1320
  .ft-radio--checked .ft-radio--box {
1321
- border-color: ${Xh};
1321
+ border-color: ${tf};
1322
1322
  }
1323
1323
 
1324
1324
 
@@ -1327,15 +1327,15 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
1327
1327
  }
1328
1328
 
1329
1329
  .ft-radio--disabled .ft-radio--box {
1330
- border-color: ${ef};
1330
+ border-color: ${of};
1331
1331
  background-color: transparent;
1332
1332
  }
1333
1333
 
1334
1334
  .ft-radio--disabled .ft-radio--box:after {
1335
- background-color: ${ef};
1335
+ background-color: ${of};
1336
1336
  }
1337
- `;var rf=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 nf extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class af extends Tr{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.disabled=!1,this.tabIndex=-1,this.role="radio"}render(){const t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return Jt`
1338
- <div class="${He(t)}">
1337
+ `;var nf=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 af extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class sf extends Tr{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.disabled=!1,this.tabIndex=-1,this.role="radio"}render(){const t={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return Jt`
1338
+ <div class="${Ke(t)}">
1339
1339
  <div class="ft-radio--box-container">
1340
1340
  <ft-ripple
1341
1341
  ?disabled=${this.disabled}
@@ -1359,16 +1359,16 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
1359
1359
  </ft-typography>
1360
1360
  </label>
1361
1361
  </div>
1362
- `}update(t){super.update(t),t.has("checked")&&!t.has("aria-checked")&&(this.checked?(this.setAttribute("aria-checked","true"),this.tabIndex=0):(this.setAttribute("aria-checked","false"),this.tabIndex=-1))}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new nf(this.value,this.checked))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new nf(this.value,this.checked))}}af.elementDefinitions={"ft-ripple":ul,"ft-typography":zc},af.styles=of,rf([we()],af.prototype,"value",void 0),rf([we()],af.prototype,"name",void 0),rf([we({type:Boolean,reflect:!0})],af.prototype,"checked",void 0),rf([we({type:Boolean})],af.prototype,"disabled",void 0),rf([we({reflect:!0})],af.prototype,"tabIndex",void 0),rf([we({reflect:!0,attribute:"role"})],af.prototype,"role",void 0),rf([$e(".ft-radio")],af.prototype,"container",void 0),rf([$e("ft-ripple")],af.prototype,"ripple",void 0),rf([$e("input")],af.prototype,"input",void 0);const sf=dt`
1362
+ `}update(t){super.update(t),t.has("checked")&&!t.has("aria-checked")&&(this.checked?(this.setAttribute("aria-checked","true"),this.tabIndex=0):(this.setAttribute("aria-checked","false"),this.tabIndex=-1))}onChange(t){t.stopPropagation(),this.checked=t.target.checked,this.dispatchEvent(new af(this.value,this.checked))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),null===(e=this.ripple)||void 0===e||e.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new af(this.value,this.checked))}}sf.elementDefinitions={"ft-ripple":gl,"ft-typography":Bc},sf.styles=rf,nf([we()],sf.prototype,"value",void 0),nf([we()],sf.prototype,"name",void 0),nf([we({type:Boolean,reflect:!0})],sf.prototype,"checked",void 0),nf([we({type:Boolean})],sf.prototype,"disabled",void 0),nf([we({reflect:!0})],sf.prototype,"tabIndex",void 0),nf([we({reflect:!0,attribute:"role"})],sf.prototype,"role",void 0),nf([$e(".ft-radio")],sf.prototype,"container",void 0),nf([$e("ft-ripple")],sf.prototype,"ripple",void 0),nf([$e("input")],sf.prototype,"input",void 0);const lf=dt`
1363
1363
  :host {
1364
1364
  display: contents;
1365
1365
  }
1366
- `;var lf=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 cf extends Tr{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.ariaLabelledBy=""}render(){return Jt`
1366
+ `;var cf=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 hf extends Tr{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.ariaLabelledBy=""}render(){return Jt`
1367
1367
  <slot @slotchange=${this.onSlotChange}
1368
1368
  @change=${this.onChange}
1369
1369
  @keydown=${this.onKeyDown}
1370
1370
  ></slot>
1371
- `}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}contentAvailableCallback(t){super.contentAvailableCallback(t),this.radioButtons[0].setAttribute("tabindex","0")}onChange(t){t.stopPropagation(),this.radioButtons.forEach((e=>e.checked=t.detail.value===e.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){let e=!1;switch(t.key){case"ArrowUp":case"ArrowLeft":{e=!0;let o=this.findFtRadio(t),i=this.radioButtons.indexOf(o)-1;this.radioButtons[i<0?this.radioButtons.length-1:i].select(),this.radioButtons[i<0?this.radioButtons.length-1:i].focus();break}case"ArrowDown":case"ArrowRight":{e=!0;let o=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[o>this.radioButtons.length-1?0:o].select(),this.radioButtons[o>this.radioButtons.length-1?0:o].focus();break}case"Enter":{let e=this.radioButtons.indexOf(this.findFtRadio(t));this.radioButtons[e].select()}}e&&(t.stopPropagation(),t.preventDefault())}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}focusCurrentValue(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}cf.elementDefinitions={},cf.styles=sf,lf([we()],cf.prototype,"name",void 0),lf([we({reflect:!0,attribute:"role"})],cf.prototype,"role",void 0),lf([we({reflect:!0,attribute:"aria-labelledby"})],cf.prototype,"ariaLabelledBy",void 0),lf([Re()],cf.prototype,"radioButtons",void 0),bo("ft-radio")(af),bo("ft-radio-group")(cf);const hf={borderRadiusM:wo.external(Ci.borderRadiusM,"Design system"),colorOutline:wo.external(Ci.colorOutline,"Design system"),colorOnSurface:wo.external(Ci.colorOnSurface,"Design system"),colorOnSurfaceMedium:wo.external(Ci.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:wo.external(Ci.colorOnSurfaceDisabled,"Design system"),colorPrimary:wo.external(Ci.colorPrimary,"Design system"),colorOnPrimary:wo.external(Ci.colorOnPrimary,"Design system"),fontFamily:wo.external(tc.fontFamily,"Body2 typography"),fontSize:wo.external(tc.fontSize,"Body2 typography"),fontWeight:wo.external(tc.fontWeight,"Body2 typography"),letterSpacing:wo.external(tc.letterSpacing,"Body2 typography"),lineHeight:wo.external(tc.lineHeight,"Body2 typography"),textTransform:wo.external(tc.textTransform,"Body2 typography")},ff=dt`
1371
+ `}onSlotChange(){this.radioButtons.forEach((t=>t.name=this.name))}contentAvailableCallback(t){super.contentAvailableCallback(t),this.radioButtons[0].setAttribute("tabindex","0")}onChange(t){t.stopPropagation(),this.radioButtons.forEach((e=>e.checked=t.detail.value===e.value)),this.dispatchEvent(new CustomEvent("change",{detail:t.detail.value})),this.focusCurrentValue()}onKeyDown(t){let e=!1;switch(t.key){case"ArrowUp":case"ArrowLeft":{e=!0;let o=this.findFtRadio(t),i=this.radioButtons.indexOf(o)-1;this.radioButtons[i<0?this.radioButtons.length-1:i].select(),this.radioButtons[i<0?this.radioButtons.length-1:i].focus();break}case"ArrowDown":case"ArrowRight":{e=!0;let o=this.radioButtons.indexOf(this.findFtRadio(t))+1;this.radioButtons[o>this.radioButtons.length-1?0:o].select(),this.radioButtons[o>this.radioButtons.length-1?0:o].focus();break}case"Enter":{let e=this.radioButtons.indexOf(this.findFtRadio(t));this.radioButtons[e].select()}}e&&(t.stopPropagation(),t.preventDefault())}findFtRadio(t){return t.composedPath().find((t=>"FT-RADIO"===t.tagName))}focusCurrentValue(){setTimeout((()=>{var t;return null===(t=this.radioButtons.find((t=>t.checked)))||void 0===t?void 0:t.focus()}),10)}}hf.elementDefinitions={},hf.styles=lf,cf([we()],hf.prototype,"name",void 0),cf([we({reflect:!0,attribute:"role"})],hf.prototype,"role",void 0),cf([we({reflect:!0,attribute:"aria-labelledby"})],hf.prototype,"ariaLabelledBy",void 0),cf([Re()],hf.prototype,"radioButtons",void 0),bo("ft-radio")(sf),bo("ft-radio-group")(hf);const ff={borderRadiusM:wo.external(Ci.borderRadiusM,"Design system"),colorOutline:wo.external(Ci.colorOutline,"Design system"),colorOnSurface:wo.external(Ci.colorOnSurface,"Design system"),colorOnSurfaceMedium:wo.external(Ci.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:wo.external(Ci.colorOnSurfaceDisabled,"Design system"),colorPrimary:wo.external(Ci.colorPrimary,"Design system"),colorOnPrimary:wo.external(Ci.colorOnPrimary,"Design system"),fontFamily:wo.external(ec.fontFamily,"Body2 typography"),fontSize:wo.external(ec.fontSize,"Body2 typography"),fontWeight:wo.external(ec.fontWeight,"Body2 typography"),letterSpacing:wo.external(ec.letterSpacing,"Body2 typography"),lineHeight:wo.external(ec.lineHeight,"Body2 typography"),textTransform:wo.external(ec.textTransform,"Body2 typography")},df=dt`
1372
1372
  .ft-filter-level--container {
1373
1373
  display: flex;
1374
1374
  flex-direction: column;
@@ -1382,14 +1382,14 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
1382
1382
  flex-shrink: 0;
1383
1383
  text-decoration: none;
1384
1384
  position: relative;
1385
- border-radius: ${hf.borderRadiusM};
1385
+ border-radius: ${ff.borderRadiusM};
1386
1386
  overflow: hidden;
1387
1387
  display: flex;
1388
1388
  align-items: center;
1389
1389
  padding: 4px 4px;
1390
1390
  gap: 4px;
1391
1391
  cursor: pointer;
1392
- color: ${hf.colorOnSurface};
1392
+ color: ${ff.colorOnSurface};
1393
1393
  }
1394
1394
 
1395
1395
  .ft-filter-level--go-back:focus {
@@ -1418,7 +1418,7 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
1418
1418
  }
1419
1419
 
1420
1420
  ft-button {
1421
- ${So(Kc.color,hf.colorOnSurface)};
1421
+ ${So(Kc.color,ff.colorOnSurface)};
1422
1422
  }
1423
1423
 
1424
1424
  ft-radio, ft-checkbox {
@@ -1432,9 +1432,9 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
1432
1432
 
1433
1433
  .ft-filter-level--no-values {
1434
1434
  margin: 10px 0;
1435
- color: ${hf.colorOnSurfaceMedium};
1435
+ color: ${ff.colorOnSurfaceMedium};
1436
1436
  }
1437
- `;var df=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 pf extends Tr{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.displayCount=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return null!=t&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,e;return null!==(e=null===(t=this.container)||void 0===t?void 0:t.scrollHeight)&&void 0!==e?e:0}render(){let t=[...this.options];this.hideSelectedOptions&&(t=t.filter((t=>!t.selected))),this.filter&&(t=t.filter((t=>t.label.toLowerCase().includes(this.filter.toLowerCase()))));const e=t.slice(0,this.limit);return Jt`
1437
+ `;var pf=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 uf extends Tr{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.displayCount=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let t=this.limit;return null!=t&&t<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var t,e;return null!==(e=null===(t=this.container)||void 0===t?void 0:t.scrollHeight)&&void 0!==e?e:0}render(){let t=[...this.options];this.hideSelectedOptions&&(t=t.filter((t=>!t.selected))),this.filter&&(t=t.filter((t=>t.label.toLowerCase().includes(this.filter.toLowerCase()))));const e=t.slice(0,this.limit);return Jt`
1438
1438
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1439
1439
  ${null==this.parent?null:Jt`
1440
1440
  <div tabindex="0"
@@ -1499,7 +1499,7 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
1499
1499
  @change=${t=>t.stopPropagation()}>
1500
1500
  ${t.renderOption?t.renderOption:t.label}${this.displayCount?` (${t.count})`:""}
1501
1501
  </ft-radio>
1502
- `}onRadioKeyUp(t,e){e.selected&&" "===t.key&&this.optionsChanged(t,e)}optionsChanged(t,e){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:e}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}pf.elementDefinitions={"ft-button":fh,"ft-ripple":ul,"ft-typography":zc,"ft-checkbox":Jh,"ft-icon":jc,"ft-radio":af},pf.styles=ff,df([we({type:String})],pf.prototype,"filterId",void 0),df([we({type:Object})],pf.prototype,"parent",void 0),df([we({type:Array})],pf.prototype,"options",void 0),df([we({type:Boolean})],pf.prototype,"multivalued",void 0),df([we({type:Boolean})],pf.prototype,"disabled",void 0),df([we({type:Boolean})],pf.prototype,"hideSelectedOptions",void 0),df([we({type:Boolean})],pf.prototype,"displayCount",void 0),df([we({type:Boolean})],pf.prototype,"preventNavigation",void 0),df([we({type:String})],pf.prototype,"filter",void 0),df([we({type:String})],pf.prototype,"moreValuesButtonLabel",void 0),df([we({type:String})],pf.prototype,"noValuesLabel",void 0),df([we({type:Number})],pf.prototype,"displayedValuesLimit",void 0),df([$e(".ft-filter-level--container")],pf.prototype,"container",void 0),df([Se()],pf.prototype,"displayedPages",void 0);const uf={buttonsColor:wo.extend("--ft-snap-scroll-buttons-color","",Ci.colorPrimary),buttonsZIndex:wo.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:wo.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:wo.external(Ci.colorSurface,"Design system")},gf=dt`
1502
+ `}onRadioKeyUp(t,e){e.selected&&" "===t.key&&this.optionsChanged(t,e)}optionsChanged(t,e){t.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:e}))}displayLevel(t){this.dispatchEvent(new CustomEvent("display-level",{detail:t}))}}uf.elementDefinitions={"ft-button":dh,"ft-ripple":gl,"ft-typography":Bc,"ft-checkbox":Qh,"ft-icon":Dc,"ft-radio":sf},uf.styles=df,pf([we({type:String})],uf.prototype,"filterId",void 0),pf([we({type:Object})],uf.prototype,"parent",void 0),pf([we({type:Array})],uf.prototype,"options",void 0),pf([we({type:Boolean})],uf.prototype,"multivalued",void 0),pf([we({type:Boolean})],uf.prototype,"disabled",void 0),pf([we({type:Boolean})],uf.prototype,"hideSelectedOptions",void 0),pf([we({type:Boolean})],uf.prototype,"displayCount",void 0),pf([we({type:Boolean})],uf.prototype,"preventNavigation",void 0),pf([we({type:String})],uf.prototype,"filter",void 0),pf([we({type:String})],uf.prototype,"moreValuesButtonLabel",void 0),pf([we({type:String})],uf.prototype,"noValuesLabel",void 0),pf([we({type:Number})],uf.prototype,"displayedValuesLimit",void 0),pf([$e(".ft-filter-level--container")],uf.prototype,"container",void 0),pf([Se()],uf.prototype,"displayedPages",void 0);const gf={buttonsColor:wo.extend("--ft-snap-scroll-buttons-color","",Ci.colorPrimary),buttonsZIndex:wo.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:wo.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:wo.external(Ci.colorSurface,"Design system")},yf=dt`
1503
1503
  .ft-snap-scroll {
1504
1504
  box-sizing: border-box;
1505
1505
  position: relative;
@@ -1534,7 +1534,7 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
1534
1534
  flex-wrap: nowrap;
1535
1535
  align-items: flex-start;
1536
1536
  justify-content: flex-start;
1537
- gap: ${uf.gap};
1537
+ gap: ${gf.gap};
1538
1538
  }
1539
1539
 
1540
1540
  .ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
@@ -1577,11 +1577,11 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
1577
1577
  .ft-snap-scroll--next {
1578
1578
  position: absolute;
1579
1579
  display: flex;
1580
- z-index: ${uf.buttonsZIndex};
1580
+ z-index: ${gf.buttonsZIndex};
1581
1581
  opacity: 1;
1582
1582
  transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
1583
1583
  ${So(Kc.backgroundColor,"transparent")};
1584
- ${So(Kc.color,uf.buttonsColor)};
1584
+ ${So(Kc.color,gf.buttonsColor)};
1585
1585
  }
1586
1586
 
1587
1587
  .ft-snap-scroll--previous[hidden],
@@ -1594,37 +1594,37 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
1594
1594
  top: 0;
1595
1595
  left: -1px;
1596
1596
  bottom: 0;
1597
- background: linear-gradient(to right, ${uf.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1597
+ background: linear-gradient(to right, ${gf.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1598
1598
  }
1599
1599
 
1600
1600
  .ft-snap-scroll--vertical .ft-snap-scroll--previous {
1601
1601
  top: -1px;
1602
1602
  left: 0;
1603
1603
  right: 0;
1604
- background: linear-gradient(to bottom, ${uf.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1604
+ background: linear-gradient(to bottom, ${gf.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1605
1605
  }
1606
1606
 
1607
1607
  .ft-snap-scroll--horizontal .ft-snap-scroll--next {
1608
1608
  top: 0;
1609
1609
  right: -1px;
1610
1610
  bottom: 0;
1611
- background: linear-gradient(to left, ${uf.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1611
+ background: linear-gradient(to left, ${gf.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1612
1612
  }
1613
1613
 
1614
1614
  .ft-snap-scroll--vertical .ft-snap-scroll--next {
1615
1615
  left: 0;
1616
1616
  right: 0;
1617
1617
  bottom: -1px;
1618
- background: linear-gradient(to top, ${uf.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1618
+ background: linear-gradient(to top, ${gf.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1619
1619
  }
1620
1620
 
1621
1621
  .ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
1622
1622
  .ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
1623
1623
  .ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
1624
1624
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1625
- background-color: ${uf.colorSurface};
1625
+ background-color: ${gf.colorSurface};
1626
1626
  }
1627
- `;var yf=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 bf extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class mf extends Tr{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver((()=>this.scheduleUpdateScroll())),this.scrollDebouncer=new lo(200),this.updateScrollDebouncer=new lo(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let e=this.elements[t];if(e){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,o=this.contentSlot[this.scrollAttribute]+this.prevSize;(e[this.offsetAttribute]<o||e[this.offsetAttribute]+e[this.sizeAttribute]>t)&&this.scrollToElement(e)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){const t=He({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":ds}),e=this.controls&&this.withScroll;return Jt`
1627
+ `;var bf=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 mf extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class vf extends Tr{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver((()=>this.scheduleUpdateScroll())),this.scrollDebouncer=new lo(200),this.updateScrollDebouncer=new lo(100)}scrollToIndex(t){this.scrollToElement(this.elements[t])}scrollIndexIntoView(t){let e=this.elements[t];if(e){const t=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,o=this.contentSlot[this.scrollAttribute]+this.prevSize;(e[this.offsetAttribute]<o||e[this.offsetAttribute]+e[this.sizeAttribute]>t)&&this.scrollToElement(e)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){const t=Ke({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":ps}),e=this.controls&&this.withScroll;return Jt`
1628
1628
  <div part="container" class="${t}">
1629
1629
  <ft-button
1630
1630
  class="ft-snap-scroll--previous"
@@ -1648,7 +1648,7 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
1648
1648
  @click=${this.next}
1649
1649
  ></ft-button>
1650
1650
  </div>
1651
- `}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new bf(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(e=this.listenedContainer)||void 0===e||e.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const e=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<e&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var e,o;t&&(this.horizontal?null===(e=this.contentSlot)||void 0===e||e.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(o=this.contentSlot)||void 0===o||o.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,e;this.elements=null!==(e=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==e?e:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let e=0;e<this.elements.length;e++)(t<0||this.getDistanceFromStart(this.elements[e])<this.getDistanceFromStart(this.elements[t]))&&(t=e);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const e=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-e)}}mf.elementDefinitions={"ft-button":fh},mf.styles=gf,yf([we({type:Boolean})],mf.prototype,"horizontal",void 0),yf([we({type:Boolean})],mf.prototype,"hideScrollbar",void 0),yf([we({type:Boolean})],mf.prototype,"controls",void 0),yf([we({type:Boolean})],mf.prototype,"limitSize",void 0),yf([Se()],mf.prototype,"elements",void 0),yf([Se()],mf.prototype,"currentElement",void 0),yf([Se()],mf.prototype,"withScroll",void 0),yf([Se()],mf.prototype,"startReached",void 0),yf([Se()],mf.prototype,"endReached",void 0),yf([$e(".ft-snap-scroll--content")],mf.prototype,"contentSlot",void 0),bo("ft-snap-scroll")(mf);const vf=wo.external(Ci.colorOutline,"Design system"),xf=wo.external(Ci.colorOnSurface,"Design system"),Of=wo.external(Ci.colorOnSurfaceMedium,"Design system"),wf=wo.external(Ci.colorPrimary,"Design system"),Sf=wo.external(Ci.colorSurface,"Design system"),Cf=wo.external(Ci.transitionDuration,"Design system"),Nf=wo.external(Ci.transitionTimingFunction,"Design system"),$f=wo.extend("--ft-filter-label-color","",Ci.colorOnSurface),Ef=wo.extend("--ft-filter-label-font-size","",Sl.fontSize,"16px"),kf=[$c,dt`
1651
+ `}update(t){super.update(t),t.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),t.has("currentElement")&&this.dispatchEvent(new mf(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(t){var e;super.contentAvailableCallback(t),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,null===(e=this.listenedContainer)||void 0===e||e.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run((()=>this.snap())),this.scheduleUpdateScroll()}snap(){let t=this.closestElementFromStart();if(null!=t){const e=this.getDistanceFromStart(t);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<e&&(t=this.lastElement),this.scrollToElement(t)}}scrollToElement(t){var e,o;t&&(this.horizontal?null===(e=this.contentSlot)||void 0===e||e.scrollTo({left:this.getOffset(t)-this.controlsSize,behavior:"smooth"}):null===(o=this.contentSlot)||void 0===o||o.scrollTo({top:this.getOffset(t)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(t))}onSlotChange(){var t,e;this.elements=null!==(e=null===(t=this.contentSlot)||void 0===t?void 0:t.assignedElements().map((t=>t)))&&void 0!==e?e:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let t=-1;for(let e=0;e<this.elements.length;e++)(t<0||this.getDistanceFromStart(this.elements[e])<this.getDistanceFromStart(this.elements[t]))&&(t=e);return t}scheduleUpdateScroll(){this.updateScrollDebouncer.run((()=>this.updateScroll()))}updateScroll(){null!=this.contentSlot?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=0===this.contentSlot[this.scrollAttribute],this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let t=this.elements[0];return t?t[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(t){return t[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(t){const e=t===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(t)-this.contentSlot[this.scrollAttribute]-e)}}vf.elementDefinitions={"ft-button":dh},vf.styles=yf,bf([we({type:Boolean})],vf.prototype,"horizontal",void 0),bf([we({type:Boolean})],vf.prototype,"hideScrollbar",void 0),bf([we({type:Boolean})],vf.prototype,"controls",void 0),bf([we({type:Boolean})],vf.prototype,"limitSize",void 0),bf([Se()],vf.prototype,"elements",void 0),bf([Se()],vf.prototype,"currentElement",void 0),bf([Se()],vf.prototype,"withScroll",void 0),bf([Se()],vf.prototype,"startReached",void 0),bf([Se()],vf.prototype,"endReached",void 0),bf([$e(".ft-snap-scroll--content")],vf.prototype,"contentSlot",void 0),bo("ft-snap-scroll")(vf);const xf=wo.external(Ci.colorOutline,"Design system"),Of=wo.external(Ci.colorOnSurface,"Design system"),wf=wo.external(Ci.colorOnSurfaceMedium,"Design system"),Sf=wo.external(Ci.colorPrimary,"Design system"),Cf=wo.external(Ci.colorSurface,"Design system"),Nf=wo.external(Ci.transitionDuration,"Design system"),$f=wo.external(Ci.transitionTimingFunction,"Design system"),Ef=wo.extend("--ft-filter-label-color","",Ci.colorOnSurface),kf=wo.extend("--ft-filter-label-font-size","",Cl.fontSize,"16px"),Rf=[Ec,dt`
1652
1652
  :host {
1653
1653
  display: flex;
1654
1654
  max-height: 100%;
@@ -1686,10 +1686,10 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
1686
1686
  flex-shrink: 1;
1687
1687
  flex-grow: 1;
1688
1688
  word-break: break-word;
1689
- color: ${$f};
1690
- font-size: ${Ef};
1691
- ${So(Sl.lineHeight,"22px")};
1692
- ${So(Sl.fontWeight,"bold")};
1689
+ color: ${Ef};
1690
+ font-size: ${kf};
1691
+ ${So(Cl.lineHeight,"22px")};
1692
+ ${So(Cl.fontWeight,"bold")};
1693
1693
  }
1694
1694
 
1695
1695
  .ft-filter--filter {
@@ -1700,8 +1700,8 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
1700
1700
  padding: 0 10px;
1701
1701
  overflow: hidden;
1702
1702
  height: 32px;
1703
- transition: height ${Cf} ${Nf},
1704
- margin ${Cf} ${Nf};
1703
+ transition: height ${Nf} ${$f},
1704
+ margin ${Nf} ${$f};
1705
1705
  transition-delay: 500ms;
1706
1706
  }
1707
1707
 
@@ -1714,15 +1714,15 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
1714
1714
  display: block;
1715
1715
  width: 100%;
1716
1716
  border-radius: 4px;
1717
- border: 1px solid ${vf};
1717
+ border: 1px solid ${xf};
1718
1718
  padding: 4px;
1719
- background-color: ${Sf};
1720
- color: ${xf};
1721
- outline-color: ${wf};
1719
+ background-color: ${Cf};
1720
+ color: ${Of};
1721
+ outline-color: ${Sf};
1722
1722
  }
1723
1723
 
1724
1724
  input::placeholder {
1725
- color: ${Of};
1725
+ color: ${wf};
1726
1726
  }
1727
1727
 
1728
1728
  input:placeholder-shown {
@@ -1738,7 +1738,7 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
1738
1738
  }
1739
1739
 
1740
1740
  .ft-filter--separator {
1741
- border-top: 1px solid ${vf};
1741
+ border-top: 1px solid ${xf};
1742
1742
  margin: 4px 10px;
1743
1743
  }
1744
1744
 
@@ -1763,7 +1763,7 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
1763
1763
  slot:not([name]) {
1764
1764
  display: none;
1765
1765
  }
1766
- `];var Rf=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 If extends CustomEvent{constructor(t){super("change",{detail:t})}}class Lf extends Tr{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayCount=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new lo(300),this.changeDebouncer=new lo(10),this.lastDispatchedValues=[]}get flatOptions(){return po(this.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get childrenFilteredFlatOptions(){return po(this.options,(t=>{var e;return t.selected?[]:null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get selectedValues(){return this.childrenFilteredFlatOptions.filter((t=>t.selected)).map((t=>t.value))}render(){const t=this.flatOptions.some((t=>t.selected)),e=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,o=this.filterPlaceHolder.replace("{0}",this.label);return Jt`
1766
+ `];var If=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 Lf extends CustomEvent{constructor(t){super("change",{detail:t})}}class Uf extends Tr{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayCount=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver((()=>this.updateScroll())),this.levelsScrollDebouncer=new lo(300),this.changeDebouncer=new lo(10),this.lastDispatchedValues=[]}get flatOptions(){return po(this.options,(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get childrenFilteredFlatOptions(){return po(this.options,(t=>{var e;return t.selected?[]:null!==(e=t.subOptions)&&void 0!==e?e:[]}))}get selectedValues(){return this.childrenFilteredFlatOptions.filter((t=>t.selected)).map((t=>t.value))}render(){const t=this.flatOptions.some((t=>t.selected)),e=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,o=this.filterPlaceHolder.replace("{0}",this.label);return Jt`
1767
1767
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1768
1768
  part="container">
1769
1769
  ${this.label||t?Jt`
@@ -1840,18 +1840,18 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
1840
1840
  .exportpartsPrefixes=${["values","available-values"]}
1841
1841
  noValuesLabel="${this.noValuesLabel}"
1842
1842
  ></ft-filter-level>
1843
- `}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var e;t.stopPropagation();const o=this.flatOptions.find((e=>e.value===t.detail.value));o.selected=!o.selected;const i=t=>{var e;t!==o&&(t.selected=!1),null===(e=t.subOptions)||void 0===e||e.forEach(i)};this.multivalued?null===(e=o.subOptions)||void 0===e||e.forEach(i):this.options.forEach(i),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}sendEventIfValuesChanged(){const t=this.selectedValues;go(this.lastDispatchedValues,t)||(this.dispatchEvent(new If(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(){var t,e;this.filter=null!==(e=null===(t=this.filterInput)||void 0===t?void 0:t.value)&&void 0!==e?e:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}Lf.elementDefinitions={"ft-button":fh,"ft-filter-level":pf,"ft-snap-scroll":mf,"ft-typography":zc},Lf.styles=kf,Rf([we({type:String})],Lf.prototype,"id",void 0),Rf([we({type:String})],Lf.prototype,"label",void 0),Rf([we({type:String})],Lf.prototype,"filterPlaceHolder",void 0),Rf([we({type:String})],Lf.prototype,"clearButtonLabel",void 0),Rf([we({type:String})],Lf.prototype,"moreValuesButtonLabel",void 0),Rf([we({type:String})],Lf.prototype,"noValuesLabel",void 0),Rf([mo([])],Lf.prototype,"options",void 0),Rf([we({type:Boolean})],Lf.prototype,"multivalued",void 0),Rf([we({type:Boolean})],Lf.prototype,"disabled",void 0),Rf([we({type:Boolean})],Lf.prototype,"raiseSelectedOptions",void 0),Rf([we({type:Boolean})],Lf.prototype,"displayCount",void 0),Rf([we({type:Number})],Lf.prototype,"displayedValuesLimit",void 0),Rf([we({type:Boolean})],Lf.prototype,"hideClearButton",void 0),Rf([$e(".ft-filter--slot")],Lf.prototype,"slotElement",void 0),Rf([$e(".ft-filter--container")],Lf.prototype,"container",void 0),Rf([$e(".ft-filter--values")],Lf.prototype,"valuesContainer",void 0),Rf([$e(".ft-filter--levels")],Lf.prototype,"levelsContainer",void 0),Rf([Se()],Lf.prototype,"lastLevelHasHiddenvalues",void 0),Rf([$e(".ft-filter--filter input")],Lf.prototype,"filterInput",void 0),Rf([ke(".ft-filter--levels ft-filter-level")],Lf.prototype,"levels",void 0),Rf([Se()],Lf.prototype,"withScroll",void 0),Rf([Se()],Lf.prototype,"filter",void 0),Rf([Se()],Lf.prototype,"slideIn",void 0),Rf([Se()],Lf.prototype,"slideOut",void 0);var Uf=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 Af extends Tr{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return Jt`
1843
+ `}goBack(t){this.slideOut=t.detail.value}onDisplayLevel(t){this.displayedLevels.push(t.detail.value),this.slideIn=t.detail.value}clear(){if(this.flatOptions.forEach((t=>t.selected=!1)),this.displayedLevels.length>0){let t=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[t],this.slideOut=t}this.optionsChanged()}onChange(t){var e;t.stopPropagation();const o=this.flatOptions.find((e=>e.value===t.detail.value));o.selected=!o.selected;const i=t=>{var e;t!==o&&(t.selected=!1),null===(e=t.subOptions)||void 0===e||e.forEach(i)};this.multivalued?null===(e=o.subOptions)||void 0===e||e.forEach(i):this.options.forEach(i),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run((()=>{var t;this.sendEventIfValuesChanged(),this.requestUpdate(),null===(t=this.levels)||void 0===t||t.forEach((t=>t.requestUpdate()))}))}sendEventIfValuesChanged(){const t=this.selectedValues;go(this.lastDispatchedValues,t)||(this.dispatchEvent(new Lf(t)),this.lastDispatchedValues=t)}updateOptionsFromSlot(t){t.stopPropagation(),this.options=this.slotElement.assignedElements().map((t=>t)),this.optionsChanged()}onFilterChange(){var t,e;this.filter=null!==(e=null===(t=this.filterInput)||void 0===t?void 0:t.value)&&void 0!==e?e:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}}Uf.elementDefinitions={"ft-button":dh,"ft-filter-level":uf,"ft-snap-scroll":vf,"ft-typography":Bc},Uf.styles=Rf,If([we({type:String})],Uf.prototype,"id",void 0),If([we({type:String})],Uf.prototype,"label",void 0),If([we({type:String})],Uf.prototype,"filterPlaceHolder",void 0),If([we({type:String})],Uf.prototype,"clearButtonLabel",void 0),If([we({type:String})],Uf.prototype,"moreValuesButtonLabel",void 0),If([we({type:String})],Uf.prototype,"noValuesLabel",void 0),If([mo([])],Uf.prototype,"options",void 0),If([we({type:Boolean})],Uf.prototype,"multivalued",void 0),If([we({type:Boolean})],Uf.prototype,"disabled",void 0),If([we({type:Boolean})],Uf.prototype,"raiseSelectedOptions",void 0),If([we({type:Boolean})],Uf.prototype,"displayCount",void 0),If([we({type:Number})],Uf.prototype,"displayedValuesLimit",void 0),If([we({type:Boolean})],Uf.prototype,"hideClearButton",void 0),If([$e(".ft-filter--slot")],Uf.prototype,"slotElement",void 0),If([$e(".ft-filter--container")],Uf.prototype,"container",void 0),If([$e(".ft-filter--values")],Uf.prototype,"valuesContainer",void 0),If([$e(".ft-filter--levels")],Uf.prototype,"levelsContainer",void 0),If([Se()],Uf.prototype,"lastLevelHasHiddenvalues",void 0),If([$e(".ft-filter--filter input")],Uf.prototype,"filterInput",void 0),If([ke(".ft-filter--levels ft-filter-level")],Uf.prototype,"levels",void 0),If([Se()],Uf.prototype,"withScroll",void 0),If([Se()],Uf.prototype,"filter",void 0),If([Se()],Uf.prototype,"slideIn",void 0),If([Se()],Uf.prototype,"slideOut",void 0);var Af=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 Wf extends Tr{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return Jt`
1844
1844
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1845
- `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}Af.elementDefinitions={},Uf([we({type:String})],Af.prototype,"label",void 0),Uf([we({type:Object,converter:t=>t})],Af.prototype,"value",void 0),Uf([we({type:Boolean,reflect:!0})],Af.prototype,"selected",void 0),Uf([we({type:Object})],Af.prototype,"subOptions",void 0),Uf([mo({})],Af.prototype,"renderOption",void 0),Uf([$e(".ft-filter-option--slot")],Af.prototype,"slotElement",void 0),bo("ft-filter")(Lf),bo("ft-filter-option")(Af);const Wf=zh.build("designedSearchType"),zf={label:"Search scope",documentTitlesOnly:"Search in document titles only"};var Bf=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 Ff extends(Ih(il)){constructor(){super(),this.addI18nContext(Wf,zf)}render(){return Jt`
1845
+ `}updateSubOptionsFromSlot(t){t.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map((t=>t))}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}}Wf.elementDefinitions={},Af([we({type:String})],Wf.prototype,"label",void 0),Af([we({type:Object,converter:t=>t})],Wf.prototype,"value",void 0),Af([we({type:Boolean,reflect:!0})],Wf.prototype,"selected",void 0),Af([we({type:Object})],Wf.prototype,"subOptions",void 0),Af([mo({})],Wf.prototype,"renderOption",void 0),Af([$e(".ft-filter-option--slot")],Wf.prototype,"slotElement",void 0),bo("ft-filter")(Uf),bo("ft-filter-option")(Wf);const zf=Bh.build("designedSearchType"),Bf={label:"Search scope",documentTitlesOnly:"Search in document titles only"};var Ff=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 _f extends(Lh(rl)){constructor(){super(),this.addI18nContext(zf,Bf)}render(){return Jt`
1846
1846
  <ft-filter
1847
- label=${Wf.messages.label()}
1848
- .options=${[{label:Wf.messages.documentTitlesOnly(),value:t=>{var e;return null===(e=this.stateManager)||void 0===e?void 0:e.setSearchInDocumentTitlesOnly(t)},selected:this.searchInDocumentTitlesOnly}]}
1847
+ label=${zf.messages.label()}
1848
+ .options=${[{label:zf.messages.documentTitlesOnly(),value:t=>{var e;return null===(e=this.stateManager)||void 0===e?void 0:e.setSearchInDocumentTitlesOnly(t)},selected:this.searchInDocumentTitlesOnly}]}
1849
1849
  part="filter"
1850
1850
  .exportpartsPrefixes=${["filter"]}
1851
1851
  multivalued
1852
1852
  @change=${this.onSelected}
1853
1853
  ></ft-filter>
1854
- `}onSelected(t){var e;null===(e=this.filter)||void 0===e||e.options.forEach((t=>t.value(t.selected)))}}Ff.elementDefinitions={"ft-filter":Lf},Ff.styles=Th,Bf([nn({selector:Js})],Ff.prototype,"searchInDocumentTitlesOnly",void 0),Bf([$e("ft-filter")],Ff.prototype,"filter",void 0),bo("ft-search-type")(Ff);const _f=wo.extend("--ft-search-period-filter-header-color","",Ci.colorOnSurface),Pf=dt`
1854
+ `}onSelected(t){var e;null===(e=this.filter)||void 0===e||e.options.forEach((t=>t.value(t.selected)))}}_f.elementDefinitions={"ft-filter":Uf},_f.styles=Mh,Ff([an({selector:Qs})],_f.prototype,"searchInDocumentTitlesOnly",void 0),Ff([$e("ft-filter")],_f.prototype,"filter",void 0),bo("ft-search-type")(_f);const Pf=wo.extend("--ft-search-period-filter-header-color","",Ci.colorOnSurface),jf=dt`
1855
1855
  [part="container"] {
1856
1856
  flex-grow: 1;
1857
1857
  display: flex;
@@ -1866,7 +1866,7 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
1866
1866
  overflow: auto;
1867
1867
  display: flex;
1868
1868
  flex-direction: column;
1869
- ${So(Sl.lineHeight,"22px")};
1869
+ ${So(Cl.lineHeight,"22px")};
1870
1870
  }
1871
1871
 
1872
1872
  [part="header"] {
@@ -1876,7 +1876,7 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
1876
1876
  flex-shrink: 0;
1877
1877
  padding: 0 10px;
1878
1878
  margin-bottom: 8px;
1879
- color: ${_f};
1879
+ color: ${Pf};
1880
1880
  }
1881
1881
 
1882
1882
  [part="label"] {
@@ -1884,24 +1884,24 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
1884
1884
  flex-shrink: 1;
1885
1885
  flex-grow: 1;
1886
1886
  word-break: break-word;
1887
- font-size: ${Ef};
1888
- ${So(Sl.fontWeight,"bold")};
1887
+ font-size: ${kf};
1888
+ ${So(Cl.fontWeight,"bold")};
1889
1889
  }
1890
1890
 
1891
- `,jf=zh.build("designedSearchPeriodFilter"),Df={label:"Last update",anyTime:"Any time",LAST_WEEK:"Less than a week",LAST_MONTH:"Less than a month",LAST_QUARTER:"Less than a quarter",LAST_YEAR:"Less than a year",CUSTOM:"Custom period",customPeriod:"From {0} to {1}",period:"Period: {0}"};var Tf=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 Mf extends(Ih(il)){constructor(){super(),this.addI18nContext(jf,Df)}render(){var t,e,o,i;return Jt`<div part="container">
1891
+ `,Df=Bh.build("designedSearchPeriodFilter"),Tf={label:"Last update",anyTime:"Any time",LAST_WEEK:"Less than a week",LAST_MONTH:"Less than a month",LAST_QUARTER:"Less than a quarter",LAST_YEAR:"Less than a year",CUSTOM:"Custom period",customPeriod:"From {0} to {1}",period:"Period: {0}"};var Mf=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 Hf extends(Lh(rl)){constructor(){super(),this.addI18nContext(Df,Tf)}render(){var t,e,o,i;return Jt`<div part="container">
1892
1892
  <div part="header">
1893
1893
  <ft-typography variant="overline" part="label" id="label">
1894
- ${jf.messages.label()}
1894
+ ${Df.messages.label()}
1895
1895
  </ft-typography>
1896
1896
  </div>
1897
1897
  <ft-radio-group @change=${t=>this.setPeriodFilter(t)} aria-labelledby="label">
1898
- <ft-radio value="anyTime" ?checked=${void 0===this.periodFilter||void 0===this.periodFilter.periodType}>${jf.messages.anyTime()}</ft-radio>
1899
- ${this.lessThanAWeek?Jt`<ft-radio ?checked=${"LAST_WEEK"==(null===(t=this.periodFilter)||void 0===t?void 0:t.periodType)} value="LAST_WEEK">${jf.messages.LAST_WEEK()}</ft-radio>`:te}
1900
- ${this.lessThanAMonth?Jt`<ft-radio ?checked=${"LAST_MONTH"==(null===(e=this.periodFilter)||void 0===e?void 0:e.periodType)} value="LAST_MONTH">${jf.messages.LAST_MONTH()}</ft-radio>`:te}
1901
- ${this.lessThanAQuarter?Jt`<ft-radio ?checked=${"LAST_QUARTER"==(null===(o=this.periodFilter)||void 0===o?void 0:o.periodType)} value="LAST_QUARTER">${jf.messages.LAST_QUARTER()}</ft-radio>`:te}
1902
- ${this.lessThanAYear?Jt`<ft-radio ?checked=${"LAST_YEAR"==(null===(i=this.periodFilter)||void 0===i?void 0:i.periodType)} value="LAST_YEAR">${jf.messages.LAST_YEAR()}</ft-radio>`:te}
1898
+ <ft-radio value="anyTime" ?checked=${void 0===this.periodFilter||void 0===this.periodFilter.periodType}>${Df.messages.anyTime()}</ft-radio>
1899
+ ${this.lessThanAWeek?Jt`<ft-radio ?checked=${"LAST_WEEK"==(null===(t=this.periodFilter)||void 0===t?void 0:t.periodType)} value="LAST_WEEK">${Df.messages.LAST_WEEK()}</ft-radio>`:te}
1900
+ ${this.lessThanAMonth?Jt`<ft-radio ?checked=${"LAST_MONTH"==(null===(e=this.periodFilter)||void 0===e?void 0:e.periodType)} value="LAST_MONTH">${Df.messages.LAST_MONTH()}</ft-radio>`:te}
1901
+ ${this.lessThanAQuarter?Jt`<ft-radio ?checked=${"LAST_QUARTER"==(null===(o=this.periodFilter)||void 0===o?void 0:o.periodType)} value="LAST_QUARTER">${Df.messages.LAST_QUARTER()}</ft-radio>`:te}
1902
+ ${this.lessThanAYear?Jt`<ft-radio ?checked=${"LAST_YEAR"==(null===(i=this.periodFilter)||void 0===i?void 0:i.periodType)} value="LAST_YEAR">${Df.messages.LAST_YEAR()}</ft-radio>`:te}
1903
1903
  </ft-radio-group>
1904
- </div>`}setPeriodFilter(t){var e;const o=Cs[t.detail];null===(e=this.stateManager)||void 0===e||e.setPeriodFilter(void 0===o?void 0:{periodType:o})}}Mf.elementDefinitions={"ft-radio-group":cf,"ft-radio":af,"ft-typography":zc},Mf.styles=Pf,Tf([we({type:Boolean})],Mf.prototype,"lessThanAWeek",void 0),Tf([we({type:Boolean})],Mf.prototype,"lessThanAMonth",void 0),Tf([we({type:Boolean})],Mf.prototype,"lessThanAQuarter",void 0),Tf([we({type:Boolean})],Mf.prototype,"lessThanAYear",void 0),Tf([nn({store:"search",selector:t=>t.request.periodFilter})],Mf.prototype,"periodFilter",void 0),bo("ft-search-period-filter")(Mf);var Kf=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 Hf extends(Ih(il)){get hasSomethingToDisplay(){var t;return this.searchInDocumentTitlesOnly||(null===(t=this.facets)||void 0===t?void 0:t.some((t=>this.getSelectedValues(t).length>0)))||this.periodFilter&&this.periodFilter.periodType}constructor(){super(),this.addI18nContext(Wf,zf),this.addI18nContext(jf,Df)}render(){return this.hasSomethingToDisplay?Jt`
1904
+ </div>`}setPeriodFilter(t){var e;const o=Ns[t.detail];null===(e=this.stateManager)||void 0===e||e.setPeriodFilter(void 0===o?void 0:{periodType:o})}}Hf.elementDefinitions={"ft-radio-group":hf,"ft-radio":sf,"ft-typography":Bc},Hf.styles=jf,Mf([we({type:Boolean})],Hf.prototype,"lessThanAWeek",void 0),Mf([we({type:Boolean})],Hf.prototype,"lessThanAMonth",void 0),Mf([we({type:Boolean})],Hf.prototype,"lessThanAQuarter",void 0),Mf([we({type:Boolean})],Hf.prototype,"lessThanAYear",void 0),Mf([an({store:"search",selector:t=>t.request.periodFilter})],Hf.prototype,"periodFilter",void 0),bo("ft-search-period-filter")(Hf);var Kf=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 Zf extends(Lh(rl)){get hasSomethingToDisplay(){var t;return this.searchInDocumentTitlesOnly||(null===(t=this.facets)||void 0===t?void 0:t.some((t=>this.getSelectedValues(t).length>0)))||this.periodFilter&&this.periodFilter.periodType}constructor(){super(),this.addI18nContext(zf,Bf),this.addI18nContext(Df,Tf)}render(){return this.hasSomethingToDisplay?Jt`
1905
1905
  <div class="ft-search-selected-facets--container">
1906
1906
  ${Me(this.facets||[],(t=>t.key),(t=>{const e=this.getSelectedValues(t);return Me(e,(e=>t.key+"-"+e),(o=>this.renderFacet(t.key,t.label,e,o)))}))}
1907
1907
  ${this.renderSearchInDocumentTitlesOnly()}
@@ -1921,23 +1921,23 @@ const gl=Symbol.for(""),yl=t=>{if(t?.r===gl)return t?._$litStatic$},bl=t=>({_$li
1921
1921
  </ft-chip>
1922
1922
  </ft-tooltip>
1923
1923
  `}getSelectedValues(t){return po(t.rootNodes,(t=>t.selected?[]:t.childNodes)).filter((t=>t.selected)).map((t=>t.value))}getLabelFromValue(t){return this.unquote(t).split("|").pop()}getBreadcrumbFromValue(t){return this.unquote(t).split("|").join(" > ")}unquote(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}renderSearchInDocumentTitlesOnly(){return this.searchInDocumentTitlesOnly?Jt`
1924
- <ft-tooltip inline text="${Wf.messages.documentTitlesOnly()}"
1924
+ <ft-tooltip inline text="${zf.messages.documentTitlesOnly()}"
1925
1925
  part="tooltips tooltip-search-in-document-titles-only">
1926
1926
  <ft-chip
1927
1927
  part="ft-search-selected-facets ft-search-selected-facet-search-in-document-titles-only"
1928
1928
  removable
1929
1929
  @icon-click=${()=>{var t;return null===(t=this.stateManager)||void 0===t?void 0:t.setSearchInDocumentTitlesOnly(!1)}}>
1930
- ${Wf.messages.documentTitlesOnly()}
1930
+ ${zf.messages.documentTitlesOnly()}
1931
1931
  </ft-chip>
1932
1932
  </ft-tooltip>
1933
1933
  `:te}renderPeriodFilter(){var t,e;return this.periodFilter&&this.periodFilter.periodType?Jt`
1934
- <ft-tooltip inline text="${jf.messages.period("CUSTOM"===this.periodFilter.periodType?jf.messages.customPeriod(null===(t=this.periodFilter.period)||void 0===t?void 0:t.from,null===(e=this.periodFilter.period)||void 0===e?void 0:e.to):jf.messages[this.periodFilter.periodType]())}"
1934
+ <ft-tooltip inline text="${Df.messages.period("CUSTOM"===this.periodFilter.periodType?Df.messages.customPeriod(null===(t=this.periodFilter.period)||void 0===t?void 0:t.from,null===(e=this.periodFilter.period)||void 0===e?void 0:e.to):Df.messages[this.periodFilter.periodType]())}"
1935
1935
  part=" tooltips tooltip-search-period-filter">
1936
1936
  <ft-chip
1937
1937
  part="ft-search-selected-facets ft-search-selected-facet-period-filter"
1938
1938
  removable
1939
1939
  @icon-click=${()=>{var t;return null===(t=this.stateManager)||void 0===t?void 0:t.setPeriodFilter(void 0)}}>
1940
- ${jf.messages[this.periodFilter.periodType]()}
1940
+ ${Df.messages[this.periodFilter.periodType]()}
1941
1941
  </ft-chip>
1942
1942
  </ft-tooltip>
1943
- `:te}}Hf.elementDefinitions={"ft-chip":Ch,"ft-tooltip":ah},Hf.styles=gs,Kf([nn({store:"search"})],Hf.prototype,"facets",void 0),Kf([nn({store:"search",selector:Js})],Hf.prototype,"searchInDocumentTitlesOnly",void 0),Kf([nn({store:"search",selector:t=>t.request.periodFilter})],Hf.prototype,"periodFilter",void 0),bo("ft-search-selected-facets")(Hf),t.FtSearchSelectedFacets=Hf,t.FtSearchSelectedFacetsCssVariables=us,t.styles=gs}({});
1943
+ `:te}}Zf.elementDefinitions={"ft-chip":Nh,"ft-tooltip":sh},Zf.styles=ys,Kf([an({store:"search"})],Zf.prototype,"facets",void 0),Kf([an({store:"search",selector:Qs})],Zf.prototype,"searchInDocumentTitlesOnly",void 0),Kf([an({store:"search",selector:t=>t.request.periodFilter})],Zf.prototype,"periodFilter",void 0),bo("ft-search-selected-facets")(Zf),t.FtSearchSelectedFacets=Zf,t.FtSearchSelectedFacetsCssVariables=gs,t.styles=ys}({});