@fluid-topics/ft-search-selected-facets 1.1.70 → 1.1.72

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,146 +1,13 @@
1
- !function(t){
2
- /**
3
- * @license
4
- * Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
5
- * This code may only be used under the BSD style license found at
6
- * http://polymer.github.io/LICENSE.txt
7
- * The complete set of authors may be found at
8
- * http://polymer.github.io/AUTHORS.txt
9
- * The complete set of contributors may be found at
10
- * http://polymer.github.io/CONTRIBUTORS.txt
11
- * Code distributed by Google as part of the polymer project is also
12
- * subject to an additional IP rights grant found at
13
- * http://polymer.github.io/PATENTS.txt
14
- */
15
- 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(bl){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
- /**
17
- * @license
18
- * Copyright 2019 Google LLC
19
- * SPDX-License-Identifier: BSD-3-Clause
20
- */const e=globalThis,o=e.ShadowRoot&&(void 0===e.ShadyCSS||e.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,i=Symbol(),r=new WeakMap;const n=t=>new class{constructor(t,e,o){if(this._$cssResult$=!0,o!==i)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(o&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=r.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&r.set(e,t))}return t}toString(){return this.cssText}}("string"==typeof t?t:t+"",void 0,i),a=o?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return n(e)})(t):t
21
- /**
22
- * @license
23
- * Copyright 2017 Google LLC
24
- * SPDX-License-Identifier: BSD-3-Clause
25
- */,{is:s,defineProperty:l,getOwnPropertyDescriptor:c,getOwnPropertyNames:h,getOwnPropertySymbols:f,getPrototypeOf:d}=Object,p=globalThis,u=p.trustedTypes,g=u?u.emptyScript:"",y=p.reactiveElementPolyfillSupport,b=(t,e)=>t,m={toAttribute(t,e){switch(e){case Boolean:t=t?g:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},v=(t,e)=>!s(t,e),x={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:v};Symbol.metadata??=Symbol("metadata"),p.litPropertyMetadata??=new WeakMap;let O=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=x){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&l(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=c(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const n=i?.call(this);r.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??x}static _$Ei(){if(this.hasOwnProperty(b("elementProperties")))return;const t=d(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(b("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(b("properties"))){const t=this.properties,e=[...h(t),...f(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(a(t))}else void 0!==t&&e.push(a(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,i)=>{if(o)t.adoptedStyleSheets=i.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of i){const i=document.createElement("style"),r=e.litNonce;void 0!==r&&i.setAttribute("nonce",r),i.textContent=o.cssText,t.appendChild(i)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,o);if(void 0!==i&&!0===o.reflect){const r=(void 0!==o.converter?.toAttribute?o.converter:m).toAttribute(e,o.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const o=this.constructor,i=o._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:m;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??v)(i?r:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};O.elementStyles=[],O.shadowRootOptions={mode:"open"},O[b("elementProperties")]=new Map,O[b("finalized")]=new Map,y?.({ReactiveElement:O}),(p.reactiveElementVersions??=[]).push("2.0.2");
26
- /**
27
- * @license
28
- * Copyright 2017 Google LLC
29
- * SPDX-License-Identifier: BSD-3-Clause
30
- */
31
- const w=globalThis,S=w.trustedTypes,C=S?S.createPolicy("lit-html",{createHTML:t=>t}):void 0,N="$lit$",E=`lit$${(Math.random()+"").slice(9)}$`,$="?"+E,k=`<${$}>`,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)+E+f):o+E+(-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(E),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(E)&&(l.push({type:6,index:n}),r.removeAttribute(t));if(D.test(r.tagName)){const t=r.textContent.split(E),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===$)l.push({type:2,index:n});else{let t=-1;for(;-1!==(t=r.data.indexOf(E,t+1));)l.push({type:7,index:n}),t+=E.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:E,A:$,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
- /**
33
- * @license
34
- * Copyright 2019 Google LLC
35
- * SPDX-License-Identifier: BSD-3-Clause
36
- */
37
- const at=globalThis,st=at.ShadowRoot&&(void 0===at.ShadyCSS||at.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,lt=Symbol(),ct=new WeakMap;let ht=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==lt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(st&&void 0===t){const o=void 0!==e&&1===e.length;o&&(t=ct.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&ct.set(e,t))}return t}toString(){return this.cssText}};const ft=t=>new ht("string"==typeof t?t:t+"",void 0,lt),dt=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,o,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+t[i+1]),t[0]);return new ht(o,t,lt)},pt=(t,e)=>{if(st)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const o of e){const e=document.createElement("style"),i=at.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=o.cssText,t.appendChild(e)}},ut=st?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const o of t.cssRules)e+=o.cssText;return ft(e)})(t):t
38
- /**
39
- * @license
40
- * Copyright 2017 Google LLC
41
- * SPDX-License-Identifier: BSD-3-Clause
42
- */,{is:gt,defineProperty:yt,getOwnPropertyDescriptor:bt,getOwnPropertyNames:mt,getOwnPropertySymbols:vt,getPrototypeOf:xt}=Object,Ot=globalThis,wt=Ot.trustedTypes,St=wt?wt.emptyScript:"",Ct=Ot.reactiveElementPolyfillSupport,Nt=(t,e)=>t,Et={toAttribute(t,e){switch(e){case Boolean:t=t?St:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=null!==t;break;case Number:o=null===t?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch(t){o=null}}return o}},$t=(t,e)=>!gt(t,e),kt={attribute:!0,type:String,converter:Et,reflect:!1,hasChanged:$t};Symbol.metadata??=Symbol("metadata"),Ot.litPropertyMetadata??=new WeakMap;let Rt=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=kt){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const o=Symbol(),i=this.getPropertyDescriptor(t,o,e);void 0!==i&&yt(this.prototype,t,i)}}static getPropertyDescriptor(t,e,o){const{get:i,set:r}=bt(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const n=i?.call(this);r.call(this,e),this.requestUpdate(t,n,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??kt}static _$Ei(){if(this.hasOwnProperty(Nt("elementProperties")))return;const t=xt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Nt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Nt("properties"))){const t=this.properties,e=[...mt(t),...vt(t)];for(const o of e)this.createProperty(o,t[o])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,o]of e)this.elementProperties.set(t,o)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const o=this._$Eu(t,e);void 0!==o&&this._$Eh.set(o,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const o=new Set(t.flat(1/0).reverse());for(const t of o)e.unshift(ut(t))}else void 0!==t&&e.push(ut(t));return e}static _$Eu(t,e){const o=e.attribute;return!1===o?void 0:"string"==typeof o?o:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$E_??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){const t=new Map,e=this.constructor.elementProperties;for(const o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return pt(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$EO(t,e){const o=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,o);if(void 0!==i&&!0===o.reflect){const r=(void 0!==o.converter?.toAttribute?o.converter:Et).toAttribute(e,o.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const o=this.constructor,i=o._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=o.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:Et;this._$Em=i,this[i]=r.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,o,i=!1,r){if(void 0!==t){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??$t)(i?r:this[t],e))return;this.C(t,e,o)}!1===this.isUpdatePending&&(this._$Eg=this._$EP())}C(t,e,o){this._$AL.has(t)||this._$AL.set(t,e),!0===o.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,o]of t)!0!==o.wrapped||this._$AL.has(e)||void 0===this[e]||this.C(e,this[e],o)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$E_?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$ET()}catch(e){throw t=!1,this._$ET(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$E_?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EO(t,this[t]))),this._$ET()}updated(t){}firstUpdated(t){}};Rt.elementStyles=[],Rt.shadowRootOptions={mode:"open"},Rt[Nt("elementProperties")]=new Map,Rt[Nt("finalized")]=new Map,Ct?.({ReactiveElement:Rt}),(Ot.reactiveElementVersions??=[]).push("2.0.2");
43
- /**
44
- * @license
45
- * Copyright 2017 Google LLC
46
- * SPDX-License-Identifier: BSD-3-Clause
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,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
- /**
50
- * @license
51
- * Copyright 2017 Google LLC
52
- * SPDX-License-Identifier: BSD-3-Clause
53
- */};let be=class extends Rt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=ye(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Xt}};be._$litElement$=!0,be.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:be});const me=globalThis.litElementPolyfillSupport;me?.({LitElement:be});(globalThis.litElementVersions??=[]).push("4.0.2");var ve=Object.freeze({__proto__:null,CSSResult:ht,LitElement:be,ReactiveElement:Rt,_$LE:{_$AK:(t,e,o)=>{t._$AK(e,o)},_$AL:t=>t._$AL},_$LH:ue,adoptStyles:pt,css:dt,defaultConverter:Et,getCompatibleStyle:ut,html:Jt,isServer:!1,noChange:Xt,notEqual:$t,nothing:te,render:ye,supportsAdoptingStyleSheets:st,svg:Qt,unsafeCSS:ft});
54
- /**
55
- * @license
56
- * Copyright 2017 Google LLC
57
- * SPDX-License-Identifier: BSD-3-Clause
58
- */const xe={attribute:!0,type:String,converter:m,reflect:!1,hasChanged:v},Oe=(t=xe,e,o)=>{const{kind:i,metadata:r}=o;let n=globalThis.litPropertyMetadata.get(r);if(void 0===n&&globalThis.litPropertyMetadata.set(r,n=new Map),n.set(o.name,t),"accessor"===i){const{name:i}=o;return{set(o){const r=e.get.call(this);e.set.call(this,o),this.requestUpdate(i,r,t)},init(e){return void 0!==e&&this.C(i,void 0,t),e}}}if("setter"===i){const{name:i}=o;return function(o){const r=this[i];e.call(this,o),this.requestUpdate(i,r,t)}}throw Error("Unsupported decorator location: "+i)};
59
- /**
60
- * @license
61
- * Copyright 2017 Google LLC
62
- * SPDX-License-Identifier: BSD-3-Clause
63
- */function we(t){return(e,o)=>"object"==typeof o?Oe(t,e,o):((t,e,o)=>{const i=e.hasOwnProperty(o);return e.constructor.createProperty(o,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)
64
- /**
65
- * @license
66
- * Copyright 2017 Google LLC
67
- * SPDX-License-Identifier: BSD-3-Clause
68
- */}function Se(t){return we({...t,state:!0,attribute:!1})}
69
- /**
70
- * @license
71
- * Copyright 2017 Google LLC
72
- * SPDX-License-Identifier: BSD-3-Clause
73
- */function Ce(t){return(e,o)=>{const i="function"==typeof e?e:e[o];Object.assign(i,t)}}
74
- /**
75
- * @license
76
- * Copyright 2017 Google LLC
77
- * SPDX-License-Identifier: BSD-3-Clause
78
- */const Ne=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,o)
79
- /**
80
- * @license
81
- * Copyright 2017 Google LLC
82
- * SPDX-License-Identifier: BSD-3-Clause
83
- */;function Ee(t,e){return(o,i,r)=>{const n=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof i?o:r??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return Ne(0,0,{get(){let o=t.call(this);return void 0===o&&(o=n(this),(null!==o||this.hasUpdated)&&e.call(this,o)),o}})}return Ne(0,0,{get(){return n(this)}})}}
84
- /**
85
- * @license
86
- * Copyright 2017 Google LLC
87
- * SPDX-License-Identifier: BSD-3-Clause
88
- */let $e;function ke(t){return(e,o)=>Ne(0,0,{get(){return(this.renderRoot??($e??=document.createDocumentFragment())).querySelectorAll(t)}})
89
- /**
90
- * @license
91
- * Copyright 2017 Google LLC
92
- * SPDX-License-Identifier: BSD-3-Clause
93
- */}
94
- /**
95
- * @license
96
- * Copyright 2021 Google LLC
97
- * SPDX-License-Identifier: BSD-3-Clause
98
- */
99
- function Re(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return Ne(0,0,{get(){const e=this.renderRoot?.querySelector(n),o=e?.assignedElements(t)??[];return void 0===r?o:o.filter((t=>t.matches(r)))}})}}
100
- /**
101
- * @license
102
- * Copyright 2017 Google LLC
103
- * SPDX-License-Identifier: BSD-3-Clause
104
- */function Ie(t){return(e,o)=>{const{slot:i}=t??{},r="slot"+(i?`[name=${i}]`:":not([name])");return Ne(0,0,{get(){const e=this.renderRoot?.querySelector(r);return e?.assignedNodes(t)??[]}})}}var Le=Object.freeze({__proto__:null,customElement:t=>(e,o)=>{void 0!==o?o.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)},eventOptions:Ce,property:we,query:Ee,queryAll:ke,queryAssignedElements:Re,queryAssignedNodes:Ie,queryAsync:function(t){return(e,o)=>Ne(0,0,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})},standardProperty:Oe,state:Se});
105
- /**
106
- * @license
107
- * Copyright 2017 Google LLC
108
- * SPDX-License-Identifier: BSD-3-Clause
109
- */const Ue=1,Ae=2,We=t=>(...e)=>({_$litDirective$:t,values:e});let ze=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};
110
- /**
111
- * @license
112
- * Copyright 2020 Google LLC
113
- * SPDX-License-Identifier: BSD-3-Clause
114
- */const{D:Be}=rt,Fe=()=>document.createComment(""),_e=(t,e,o)=>{const i=t._$AA.parentNode,r=void 0===e?t._$AB:e._$AA;if(void 0===o){const e=i.insertBefore(Fe(),r),n=i.insertBefore(Fe(),r);o=new Be(e,n,t,t.options)}else{const e=o._$AB.nextSibling,n=o._$AM,a=n!==t;if(a){let e;o._$AQ?.(t),o._$AM=t,void 0!==o._$AP&&(e=t._$AU)!==n._$AU&&o._$AP(e)}if(e!==r||a){let t=o._$AA;for(;t!==e;){const e=t.nextSibling;i.insertBefore(t,r),t=e}}}return o},Pe=(t,e,o=t)=>(t._$AI(e,o),t),je={},De=t=>{t._$AP?.(!1,!0);let e=t._$AA;const o=t._$AB.nextSibling;for(;e!==o;){const t=e.nextSibling;e.remove(),e=t}},Te=(t,e,o)=>{const i=new Map;for(let r=e;r<=o;r++)i.set(t[r],r);return i},Me=We(class extends ze{constructor(t){if(super(t),t.type!==Ae)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let i;void 0===o?o=e:void 0!==e&&(i=e);const r=[],n=[];let a=0;for(const e of t)r[a]=i?i(e,a):a,n[a]=o(e,a),a++;return{values:n,keys:r}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,i]){const r=(t=>t._$AH)(t),{values:n,keys:a}=this.ht(e,o,i);if(!Array.isArray(r))return this.dt=a,n;const s=this.dt??=[],l=[];let c,h,f=0,d=r.length-1,p=0,u=n.length-1;for(;f<=d&&p<=u;)if(null===r[f])f++;else if(null===r[d])d--;else if(s[f]===a[p])l[p]=Pe(r[f],n[p]),f++,p++;else if(s[d]===a[u])l[u]=Pe(r[d],n[u]),d--,u--;else if(s[f]===a[u])l[u]=Pe(r[f],n[u]),_e(t,l[u+1],r[f]),f++,u--;else if(s[d]===a[p])l[p]=Pe(r[d],n[p]),_e(t,r[f],r[d]),d--,p++;else if(void 0===c&&(c=Te(a,p,u),h=Te(s,f,d)),c.has(s[f]))if(c.has(s[d])){const e=h.get(a[p]),o=void 0!==e?r[e]:null;if(null===o){const e=_e(t,r[f]);Pe(e,n[p]),l[p]=e}else l[p]=Pe(o,n[p]),_e(t,r[f],o),r[e]=null;p++}else De(r[d]),d--;else De(r[f]),f++;for(;p<=u;){const e=_e(t,l[u+1]);Pe(e,n[p]),l[p++]=e}for(;f<=d;){const t=r[f++];null!==t&&De(t)}return this.dt=a,((t,e=je)=>{t._$AH=e})(t,l),M}});
115
- /**
116
- * @license
117
- * Copyright 2017 Google LLC
118
- * SPDX-License-Identifier: BSD-3-Clause
119
- */var He=Object.freeze({__proto__:null,repeat:Me});
120
- /**
121
- * @license
122
- * Copyright 2018 Google LLC
123
- * SPDX-License-Identifier: BSD-3-Clause
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
- /**
126
- * @license
127
- * Copyright 2018 Google LLC
128
- * SPDX-License-Identifier: BSD-3-Clause
129
- */const Ge="important",Ve=" !"+Ge,qe=We(class extends ze{constructor(t){if(super(t),t.type!==Ue||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,o)=>{const i=t[o];return null==i?e:e+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`}),"")}update(t,[e]){const{style:o}=t.element;if(void 0===this.ut)return this.ut=new Set(Object.keys(e)),this.render(e);for(const t of this.ut)null==e[t]&&(this.ut.delete(t),t.includes("-")?o.removeProperty(t):o[t]=null);for(const t in e){const i=e[t];if(null!=i){this.ut.add(t);const e="string"==typeof i&&i.endsWith(Ve);t.includes("-")||e?o.setProperty(t,e?i.slice(0,-11):i,e?Ge:""):o[t]=i}}return M}});var Ye=Object.freeze({__proto__:null,styleMap:qe});
130
- /**
131
- * @license
132
- * Copyright 2017 Google LLC
133
- * SPDX-License-Identifier: BSD-3-Clause
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")},Eo={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")},$o={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":Eo,"title-2":$o,"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:Eo,typographyTitle2:$o,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 Ei extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class $i 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:Ei,PostResizeEvent:ki,PreResizeEvent:$i});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 Er(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 $r={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:Er,getElementRects:async function(t){let{reference:e,floating:o,strategy:i}=t;const r=this.getOffsetParent||Er,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:$r,...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:{...$r,getOffsetParent:t=>$r.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
- /**
136
- * @license
137
- * Copyright 2019 Google LLC
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}),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`
1
+ "use strict";(()=>{var pp=Object.create;var Rn=Object.defineProperty;var dp=Object.getOwnPropertyDescriptor;var fp=Object.getOwnPropertyNames;var up=Object.getPrototypeOf,hp=Object.prototype.hasOwnProperty;var mp=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),X=(t,e)=>{for(var r in e)Rn(t,r,{get:e[r],enumerable:!0})},yp=(t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of fp(e))!hp.call(t,i)&&i!==r&&Rn(t,i,{get:()=>e[i],enumerable:!(o=dp(e,i))||o.enumerable});return t};var gp=(t,e,r)=>(r=t!=null?pp(up(t)):{},yp(e||!t||!t.__esModule?Rn(r,"default",{value:t,enumerable:!0}):r,t));var Jl=mp(Xl=>{(function(t){var e=function(r){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{return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};function i(m){return m&&DataView.prototype.isPrototypeOf(m)}if(o.arrayBuffer)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=ArrayBuffer.isView||function(m){return m&&a.indexOf(Object.prototype.toString.call(m))>-1};function l(m){if(typeof m!="string"&&(m=String(m)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(m))throw new TypeError("Invalid character in header field name");return m.toLowerCase()}function c(m){return typeof m!="string"&&(m=String(m)),m}function d(m){var v={next:function(){var A=m.shift();return{done:A===void 0,value:A}}};return o.iterable&&(v[Symbol.iterator]=function(){return v}),v}function f(m){this.map={},m instanceof f?m.forEach(function(v,A){this.append(A,v)},this):Array.isArray(m)?m.forEach(function(v){this.append(v[0],v[1])},this):m&&Object.getOwnPropertyNames(m).forEach(function(v){this.append(v,m[v])},this)}f.prototype.append=function(m,v){m=l(m),v=c(v);var A=this.map[m];this.map[m]=A?A+", "+v:v},f.prototype.delete=function(m){delete this.map[l(m)]},f.prototype.get=function(m){return m=l(m),this.has(m)?this.map[m]:null},f.prototype.has=function(m){return this.map.hasOwnProperty(l(m))},f.prototype.set=function(m,v){this.map[l(m)]=c(v)},f.prototype.forEach=function(m,v){for(var A in this.map)this.map.hasOwnProperty(A)&&m.call(v,this.map[A],A,this)},f.prototype.keys=function(){var m=[];return this.forEach(function(v,A){m.push(A)}),d(m)},f.prototype.values=function(){var m=[];return this.forEach(function(v){m.push(v)}),d(m)},f.prototype.entries=function(){var m=[];return this.forEach(function(v,A){m.push([A,v])}),d(m)},o.iterable&&(f.prototype[Symbol.iterator]=f.prototype.entries);function h(m){if(m.bodyUsed)return Promise.reject(new TypeError("Already read"));m.bodyUsed=!0}function y(m){return new Promise(function(v,A){m.onload=function(){v(m.result)},m.onerror=function(){A(m.error)}})}function b(m){var v=new FileReader,A=y(v);return v.readAsArrayBuffer(m),A}function x(m){var v=new FileReader,A=y(v);return v.readAsText(m),A}function C(m){for(var v=new Uint8Array(m),A=new Array(v.length),V=0;V<v.length;V++)A[V]=String.fromCharCode(v[V]);return A.join("")}function N(m){if(m.slice)return m.slice(0);var v=new Uint8Array(m.byteLength);return v.set(new Uint8Array(m)),v.buffer}function _(){return this.bodyUsed=!1,this._initBody=function(m){this._bodyInit=m,m?typeof m=="string"?this._bodyText=m:o.blob&&Blob.prototype.isPrototypeOf(m)?this._bodyBlob=m:o.formData&&FormData.prototype.isPrototypeOf(m)?this._bodyFormData=m:o.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)?this._bodyText=m.toString():o.arrayBuffer&&o.blob&&i(m)?(this._bodyArrayBuffer=N(m.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(m)||s(m))?this._bodyArrayBuffer=N(m):this._bodyText=m=Object.prototype.toString.call(m):this._bodyText="",this.headers.get("content-type")||(typeof m=="string"?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(m)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o.blob&&(this.blob=function(){var m=h(this);if(m)return m;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?h(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(b)}),this.text=function(){var m=h(this);if(m)return m;if(this._bodyBlob)return x(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(C(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(E)}),this.json=function(){return this.text().then(JSON.parse)},this}var L=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function O(m){var v=m.toUpperCase();return L.indexOf(v)>-1?v:m}function S(m,v){v=v||{};var A=v.body;if(m instanceof S){if(m.bodyUsed)throw new TypeError("Already read");this.url=m.url,this.credentials=m.credentials,v.headers||(this.headers=new f(m.headers)),this.method=m.method,this.mode=m.mode,this.signal=m.signal,!A&&m._bodyInit!=null&&(A=m._bodyInit,m.bodyUsed=!0)}else this.url=String(m);if(this.credentials=v.credentials||this.credentials||"same-origin",(v.headers||!this.headers)&&(this.headers=new f(v.headers)),this.method=O(v.method||this.method||"GET"),this.mode=v.mode||this.mode||null,this.signal=v.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&A)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(A)}S.prototype.clone=function(){return new S(this,{body:this._bodyInit})};function E(m){var v=new FormData;return m.trim().split("&").forEach(function(A){if(A){var V=A.split("="),oe=V.shift().replace(/\+/g," "),G=V.join("=").replace(/\+/g," ");v.append(decodeURIComponent(oe),decodeURIComponent(G))}}),v}function D(m){var v=new f,A=m.replace(/\r?\n[\t ]+/g," ");return A.split(/\r?\n/).forEach(function(V){var oe=V.split(":"),G=oe.shift().trim();if(G){var vo=oe.join(":").trim();v.append(G,vo)}}),v}_.call(S.prototype);function U(m,v){v||(v={}),this.type="default",this.status=v.status===void 0?200:v.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in v?v.statusText:"OK",this.headers=new f(v.headers),this.url=v.url||"",this._initBody(m)}_.call(U.prototype),U.prototype.clone=function(){return new U(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},U.error=function(){var m=new U(null,{status:0,statusText:""});return m.type="error",m};var ge=[301,302,303,307,308];U.redirect=function(m,v){if(ge.indexOf(v)===-1)throw new RangeError("Invalid status code");return new U(null,{status:v,headers:{location:m}})},r.DOMException=t.DOMException;try{new r.DOMException}catch{r.DOMException=function(v,A){this.message=v,this.name=A;var V=Error(v);this.stack=V.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function K(m,v){return new Promise(function(A,V){var oe=new S(m,v);if(oe.signal&&oe.signal.aborted)return V(new r.DOMException("Aborted","AbortError"));var G=new XMLHttpRequest;function vo(){G.abort()}G.onload=function(){var Ur={status:G.status,statusText:G.statusText,headers:D(G.getAllResponseHeaders()||"")};Ur.url="responseURL"in G?G.responseURL:Ur.headers.get("X-Request-URL");var An="response"in G?G.response:G.responseText;A(new U(An,Ur))},G.onerror=function(){V(new TypeError("Network request failed"))},G.ontimeout=function(){V(new TypeError("Network request failed"))},G.onabort=function(){V(new r.DOMException("Aborted","AbortError"))},G.open(oe.method,oe.url,!0),oe.credentials==="include"?G.withCredentials=!0:oe.credentials==="omit"&&(G.withCredentials=!1),"responseType"in G&&o.blob&&(G.responseType="blob"),oe.headers.forEach(function(Ur,An){G.setRequestHeader(An,Ur)}),oe.signal&&(oe.signal.addEventListener("abort",vo),G.onreadystatechange=function(){G.readyState===4&&oe.signal.removeEventListener("abort",vo)}),G.send(typeof oe._bodyInit>"u"?null:oe._bodyInit)})}return K.polyfill=!0,t.fetch||(t.fetch=K,t.Headers=f,t.Request=S,t.Response=U),r.Headers=f,r.Request=S,r.Response=U,r.fetch=K,Object.defineProperty(r,"__esModule",{value:!0}),r}({})})(typeof self<"u"?self:Xl)});if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,o=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(O,S){if(O=O.toLowerCase(),this._getDefinition(O)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${O}" has already been used with this registry`);if(this._definitionsByClass.get(S)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let E=S.prototype.attributeChangedCallback,D=new Set(S.observedAttributes||[]);y(S,D,E);let U={elementClass:S,connectedCallback:S.prototype.connectedCallback,disconnectedCallback:S.prototype.disconnectedCallback,adoptedCallback:S.prototype.adoptedCallback,attributeChangedCallback:E,formAssociated:S.formAssociated,formAssociatedCallback:S.prototype.formAssociatedCallback,formDisabledCallback:S.prototype.formDisabledCallback,formResetCallback:S.prototype.formResetCallback,formStateRestoreCallback:S.prototype.formStateRestoreCallback,observedAttributes:D};this._definitionsByTag.set(O,U),this._definitionsByClass.set(S,U);let ge=r.call(o,O);ge||(ge=h(O),e.call(o,O,ge)),this===window.customElements&&(s.set(S,U),U.standInClass=ge);let K=this._awaitingUpgrade.get(O);if(K){this._awaitingUpgrade.delete(O);for(let v of K)a.delete(v),x(v,U,!0)}let m=this._whenDefinedPromises.get(O);return m!==void 0&&(m.resolve(S),this._whenDefinedPromises.delete(O)),S}upgrade(){N.push(this),o.upgrade.apply(o,arguments),N.pop()}get(O){return this._definitionsByTag.get(O)?.elementClass}_getDefinition(O){return this._definitionsByTag.get(O)}whenDefined(O){let S=this._getDefinition(O);if(S!==void 0)return Promise.resolve(S.elementClass);let E=this._whenDefinedPromises.get(O);return E===void 0&&(E={},E.promise=new Promise(D=>E.resolve=D),this._whenDefinedPromises.set(O,E)),E.promise}_upgradeWhenDefined(O,S,E){let D=this._awaitingUpgrade.get(S);D||this._awaitingUpgrade.set(S,D=new Set),E?D.add(O):D.delete(O)}};let c;window.HTMLElement=function(){let S=c;if(S)return c=void 0,S;let E=s.get(this.constructor);if(!E)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return S=Reflect.construct(t,[],E.standInClass),Object.setPrototypeOf(S,this.constructor.prototype),i.set(S,E),S},window.HTMLElement.prototype=t.prototype;let d=O=>O===document||O instanceof ShadowRoot,f=O=>{let S=O.getRootNode();if(!d(S)){let E=N[N.length-1];if(E instanceof CustomElementRegistry)return E;S=E.getRootNode(),d(S)||(S=l.get(S)?.getRootNode()||document)}return S.customElements},h=O=>class{static get formAssociated(){return!0}constructor(){let E=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(E,HTMLElement.prototype);let D=f(E)||window.customElements,U=D._getDefinition(O);return U?x(E,U):a.set(E,D),E}connectedCallback(){let E=i.get(this);E?E.connectedCallback&&E.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,O,!0)}disconnectedCallback(){let E=i.get(this);E?E.disconnectedCallback&&E.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,O,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let E=i.get(this);E&&E.formAssociated&&E?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let E=i.get(this);E?.formAssociated&&E?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let E=i.get(this);E?.formAssociated&&E?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let E=i.get(this);E?.formAssociated&&E?.formStateRestoreCallback?.apply(this,arguments)}},y=(O,S,E)=>{if(S.size===0||E===void 0)return;let D=O.prototype.setAttribute;D&&(O.prototype.setAttribute=function(K,m){let v=K.toLowerCase();if(S.has(v)){let A=this.getAttribute(v);D.call(this,v,m),E.call(this,v,A,m)}else D.call(this,v,m)});let U=O.prototype.removeAttribute;U&&(O.prototype.removeAttribute=function(K){let m=K.toLowerCase();if(S.has(m)){let v=this.getAttribute(m);U.call(this,m),E.call(this,m,v,null)}else U.call(this,m)});let ge=O.prototype.toggleAttribute;ge&&(O.prototype.toggleAttribute=function(K,m){let v=K.toLowerCase();if(S.has(v)){let A=this.getAttribute(v);ge.call(this,v,m);let V=this.getAttribute(v);E.call(this,v,A,V)}else ge.call(this,v,m)})},b=O=>{let S=Object.getPrototypeOf(O);if(S!==window.HTMLElement)return S===t?Object.setPrototypeOf(O,window.HTMLElement):b(S)},x=(O,S,E=!1)=>{Object.setPrototypeOf(O,S.elementClass.prototype),i.set(O,S),c=O;try{new S.elementClass}catch{b(S.elementClass),new S.elementClass}S.attributeChangedCallback&&S.observedAttributes.forEach(D=>{O.hasAttribute(D)&&S.attributeChangedCallback.call(O,D,null,O.getAttribute(D))}),E&&S.connectedCallback&&O.isConnected&&S.connectedCallback.call(O)},C=Element.prototype.attachShadow;Element.prototype.attachShadow=function(O){let S=C.apply(this,arguments);return O.customElements&&(S.customElements=O.customElements),S};let N=[document],_=(O,S,E=void 0)=>{let D=(E?Object.getPrototypeOf(E):O.prototype)[S];O.prototype[S]=function(){N.push(this);let U=D.apply(E||this,arguments);return U!==void 0&&l.set(U,this),N.pop(),U}};_(ShadowRoot,"createElement",document),_(ShadowRoot,"importNode",document),_(Element,"insertAdjacentHTML");let L=(O,S)=>{let E=Object.getOwnPropertyDescriptor(O.prototype,S);Object.defineProperty(O.prototype,S,{...E,set(D){N.push(this),E.set.call(this,D),N.pop()}})};if(L(Element,"innerHTML"),L(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let O=new WeakMap,S=HTMLElement.prototype.attachInternals,E=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...K){let m=S.call(this,...K);return O.set(m,this),m},E.forEach(K=>{let m=window.ElementInternals.prototype,v=m[K];m[K]=function(...A){let V=O.get(this);if(i.get(V).formAssociated===!0)return v?.call(this,...A);throw new DOMException(`Failed to execute ${v} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class D extends Array{constructor(m){super(...m),this._elements=m}get value(){return this._elements.find(m=>m.checked===!0)?.value||""}}class U{constructor(m){let v=new Map;m.forEach((A,V)=>{let oe=A.getAttribute("name"),G=v.get(oe)||[];this[+V]=A,G.push(A),v.set(oe,G)}),this.length=m.length,v.forEach((A,V)=>{A&&(A.length===1?this[V]=A[0]:this[V]=new D(A))})}namedItem(m){return this[m]}}let ge=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let K=ge.get.call(this,[]),m=[];for(let v of K){let A=i.get(v);(!A||A.formAssociated===!0)&&m.push(v)}return new U(m)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,o,i)=>{if(o!==null)try{e.bind(window.customElements)(r,o,i)}catch(a){console.info(r,o,i,a)}}}var Bn={};X(Bn,{CSSResult:()=>sr,LitElement:()=>st,ReactiveElement:()=>Ze,_$LE:()=>zp,_$LH:()=>Up,adoptStyles:()=>ko,css:()=>R,defaultConverter:()=>Do,getCompatibleStyle:()=>Kr,html:()=>$,isServer:()=>mu,noChange:()=>xt,notEqual:()=>In,nothing:()=>B,render:()=>Fn,supportsAdoptingStyleSheets:()=>jr,svg:()=>Mp,unsafeCSS:()=>it});var So=globalThis,Co=So.ShadowRoot&&(So.ShadyCSS===void 0||So.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Xa=Symbol(),Ya=new WeakMap,Oo=class{constructor(e,r,o){if(this._$cssResult$=!0,o!==Xa)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(Co&&e===void 0){let o=r!==void 0&&r.length===1;o&&(e=Ya.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),o&&Ya.set(r,e))}return e}toString(){return this.cssText}},Ja=t=>new Oo(typeof t=="string"?t:t+"",void 0,Xa);var Nn=(t,e)=>{if(Co)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let o=document.createElement("style"),i=So.litNonce;i!==void 0&&o.setAttribute("nonce",i),o.textContent=r.cssText,t.appendChild(o)}},Eo=Co?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let o of e.cssRules)r+=o.cssText;return Ja(r)})(t):t;var{is:bp,defineProperty:xp,getOwnPropertyDescriptor:vp,getOwnPropertyNames:Sp,getOwnPropertySymbols:Op,getPrototypeOf:Cp}=Object,wo=globalThis,Qa=wo.trustedTypes,Ep=Qa?Qa.emptyScript:"",wp=wo.reactiveElementPolyfillSupport,Fr=(t,e)=>t,Br={toAttribute(t,e){switch(e){case Boolean:t=t?Ep:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},Ao=(t,e)=>!bp(t,e),es={attribute:!0,type:String,converter:Br,reflect:!1,hasChanged:Ao};Symbol.metadata??=Symbol("metadata"),wo.litPropertyMetadata??=new WeakMap;var Ut=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=es){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let o=Symbol(),i=this.getPropertyDescriptor(e,o,r);i!==void 0&&xp(this.prototype,e,i)}}static getPropertyDescriptor(e,r,o){let{get:i,set:a}=vp(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let l=i?.call(this);a.call(this,s),this.requestUpdate(e,l,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??es}static _$Ei(){if(this.hasOwnProperty(Fr("elementProperties")))return;let e=Cp(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Fr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Fr("properties"))){let r=this.properties,o=[...Sp(r),...Op(r)];for(let i of o)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[o,i]of r)this.elementProperties.set(o,i)}this._$Eh=new Map;for(let[r,o]of this.elementProperties){let i=this._$Eu(r,o);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let o=new Set(e.flat(1/0).reverse());for(let i of o)r.unshift(Eo(i))}else e!==void 0&&r.push(Eo(e));return r}static _$Eu(e,r){let o=r.attribute;return o===!1?void 0:typeof o=="string"?o:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,r=this.constructor.elementProperties;for(let o of r.keys())this.hasOwnProperty(o)&&(e.set(o,this[o]),delete this[o]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Nn(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,o){this._$AK(e,o)}_$EO(e,r){let o=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,o);if(i!==void 0&&o.reflect===!0){let a=(o.converter?.toAttribute!==void 0?o.converter:Br).toAttribute(r,o.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,r){let o=this.constructor,i=o._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=o.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Br;this._$Em=i,this[i]=s.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(e,r,o,i=!1,a){if(e!==void 0){if(o??=this.constructor.getPropertyOptions(e),!(o.hasChanged??Ao)(i?a:this[e],r))return;this.C(e,r,o)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,o){this._$AL.has(e)||this._$AL.set(e,r),o.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[i,a]of o)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(o=>o.hostUpdate?.()),this.update(r)):this._$ET()}catch(o){throw e=!1,this._$ET(),o}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};Ut.elementStyles=[],Ut.shadowRootOptions={mode:"open"},Ut[Fr("elementProperties")]=new Map,Ut[Fr("finalized")]=new Map,wp?.({ReactiveElement:Ut}),(wo.reactiveElementVersions??=[]).push("2.0.2");var Pn=globalThis,Ro=Pn.trustedTypes,ts=Ro?Ro.createPolicy("lit-html",{createHTML:t=>t}):void 0,Tn="$lit$",nt=`lit$${(Math.random()+"").slice(9)}$`,$n="?"+nt,Ap=`<${$n}>`,zt=document,No=()=>zt.createComment(""),Wr=t=>t===null||typeof t!="object"&&typeof t!="function",ss=Array.isArray,ls=t=>ss(t)||typeof t?.[Symbol.iterator]=="function",_n=`[
2
+ \f\r]`,zr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,rs=/-->/g,os=/>/g,Ft=RegExp(`>|${_n}(?:([^\\s"'>=/]+)(${_n}*=${_n}*(?:[^
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),ns=/'/g,is=/"/g,cs=/^(?:script|style|textarea|title)$/i,ps=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),ds=ps(1),fs=ps(2),$e=Symbol.for("lit-noChange"),ne=Symbol.for("lit-nothing"),as=new WeakMap,Bt=zt.createTreeWalker(zt,129);function us(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return ts!==void 0?ts.createHTML(e):e}var hs=(t,e)=>{let r=t.length-1,o=[],i,a=e===2?"<svg>":"",s=zr;for(let l=0;l<r;l++){let c=t[l],d,f,h=-1,y=0;for(;y<c.length&&(s.lastIndex=y,f=s.exec(c),f!==null);)y=s.lastIndex,s===zr?f[1]==="!--"?s=rs:f[1]!==void 0?s=os:f[2]!==void 0?(cs.test(f[2])&&(i=RegExp("</"+f[2],"g")),s=Ft):f[3]!==void 0&&(s=Ft):s===Ft?f[0]===">"?(s=i??zr,h=-1):f[1]===void 0?h=-2:(h=s.lastIndex-f[2].length,d=f[1],s=f[3]===void 0?Ft:f[3]==='"'?is:ns):s===is||s===ns?s=Ft:s===rs||s===os?s=zr:(s=Ft,i=void 0);let b=s===Ft&&t[l+1].startsWith("/>")?" ":"";a+=s===zr?c+Ap:h>=0?(o.push(d),c.slice(0,h)+Tn+c.slice(h)+nt+b):c+nt+(h===-2?l:b)}return[us(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),o]},Hr=class t{constructor({strings:e,_$litType$:r},o){let i;this.parts=[];let a=0,s=0,l=e.length-1,c=this.parts,[d,f]=hs(e,r);if(this.el=t.createElement(d,o),Bt.currentNode=this.el.content,r===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=Bt.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(Tn)){let y=f[s++],b=i.getAttribute(h).split(nt),x=/([.?@])?(.*)/.exec(y);c.push({type:1,index:a,name:x[2],strings:b,ctor:x[1]==="."?Po:x[1]==="?"?To:x[1]==="@"?$o:Ht}),i.removeAttribute(h)}else h.startsWith(nt)&&(c.push({type:6,index:a}),i.removeAttribute(h));if(cs.test(i.tagName)){let h=i.textContent.split(nt),y=h.length-1;if(y>0){i.textContent=Ro?Ro.emptyScript:"";for(let b=0;b<y;b++)i.append(h[b],No()),Bt.nextNode(),c.push({type:2,index:++a});i.append(h[y],No())}}}else if(i.nodeType===8)if(i.data===$n)c.push({type:2,index:a});else{let h=-1;for(;(h=i.data.indexOf(nt,h+1))!==-1;)c.push({type:7,index:a}),h+=nt.length-1}a++}}static createElement(e,r){let o=zt.createElement("template");return o.innerHTML=e,o}};function Wt(t,e,r=t,o){if(e===$e)return e;let i=o!==void 0?r._$Co?.[o]:r._$Cl,a=Wr(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,r,o)),o!==void 0?(r._$Co??=[])[o]=i:r._$Cl=i),i!==void 0&&(e=Wt(t,i._$AS(t,e.values),i,o)),e}var _o=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:o}=this._$AD,i=(e?.creationScope??zt).importNode(r,!0);Bt.currentNode=i;let a=Bt.nextNode(),s=0,l=0,c=o[0];for(;c!==void 0;){if(s===c.index){let d;c.type===2?d=new Vr(a,a.nextSibling,this,e):c.type===1?d=new c.ctor(a,c.name,c.strings,this,e):c.type===6&&(d=new Lo(a,this,e)),this._$AV.push(d),c=o[++l]}s!==c?.index&&(a=Bt.nextNode(),s++)}return Bt.currentNode=zt,i}p(e){let r=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(e,o,r),r+=o.strings.length-2):o._$AI(e[r])),r++}},Vr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,o,i){this.type=2,this._$AH=ne,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=o,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Wt(this,e,r),Wr(e)?e===ne||e==null||e===""?(this._$AH!==ne&&this._$AR(),this._$AH=ne):e!==this._$AH&&e!==$e&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):ls(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==ne&&Wr(this._$AH)?this._$AA.nextSibling.data=e:this.$(zt.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:o}=e,i=typeof o=="number"?this._$AC(e):(o.el===void 0&&(o.el=Hr.createElement(us(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new _o(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=as.get(e.strings);return r===void 0&&as.set(e.strings,r=new Hr(e)),r}T(e){ss(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,o,i=0;for(let a of e)i===r.length?r.push(o=new t(this.k(No()),this.k(No()),this,this.options)):o=r[i],o._$AI(a),i++;i<r.length&&(this._$AR(o&&o._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let o=e.nextSibling;e.remove(),e=o}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Ht=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,o,i,a){this.type=1,this._$AH=ne,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=a,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=ne}_$AI(e,r=this,o,i){let a=this.strings,s=!1;if(a===void 0)e=Wt(this,e,r,0),s=!Wr(e)||e!==this._$AH&&e!==$e,s&&(this._$AH=e);else{let l=e,c,d;for(e=a[0],c=0;c<a.length-1;c++)d=Wt(this,l[o+c],r,c),d===$e&&(d=this._$AH[c]),s||=!Wr(d)||d!==this._$AH[c],d===ne?e=ne:e!==ne&&(e+=(d??"")+a[c+1]),this._$AH[c]=d}s&&!i&&this.O(e)}O(e){e===ne?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Po=class extends Ht{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===ne?void 0:e}},To=class extends Ht{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==ne)}},$o=class extends Ht{constructor(e,r,o,i,a){super(e,r,o,i,a),this.type=5}_$AI(e,r=this){if((e=Wt(this,e,r,0)??ne)===$e)return;let o=this._$AH,i=e===ne&&o!==ne||e.capture!==o.capture||e.once!==o.once||e.passive!==o.passive,a=e!==ne&&(o===ne||i);i&&this.element.removeEventListener(this.name,this,o),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Lo=class{constructor(e,r,o){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(e){Wt(this,e)}},ms={j:Tn,P:nt,A:$n,C:1,M:hs,L:_o,R:ls,V:Wt,D:Vr,I:Ht,H:To,N:$o,U:Po,B:Lo},Rp=Pn.litHtmlPolyfillSupport;Rp?.(Hr,Vr),(Pn.litHtmlVersions??=[]).push("3.1.0");var Io=globalThis,jr=Io.ShadowRoot&&(Io.ShadyCSS===void 0||Io.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ln=Symbol(),ys=new WeakMap,sr=class{constructor(e,r,o){if(this._$cssResult$=!0,o!==Ln)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(jr&&e===void 0){let o=r!==void 0&&r.length===1;o&&(e=ys.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),o&&ys.set(r,e))}return e}toString(){return this.cssText}},it=t=>new sr(typeof t=="string"?t:t+"",void 0,Ln),R=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((o,i,a)=>o+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[a+1],t[0]);return new sr(r,t,Ln)},ko=(t,e)=>{if(jr)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let o=document.createElement("style"),i=Io.litNonce;i!==void 0&&o.setAttribute("nonce",i),o.textContent=r.cssText,t.appendChild(o)}},Kr=jr?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let o of e.cssRules)r+=o.cssText;return it(r)})(t):t;var{is:Np,defineProperty:_p,getOwnPropertyDescriptor:Pp,getOwnPropertyNames:Tp,getOwnPropertySymbols:$p,getPrototypeOf:Lp}=Object,Mo=globalThis,gs=Mo.trustedTypes,Ip=gs?gs.emptyScript:"",kp=Mo.reactiveElementPolyfillSupport,Gr=(t,e)=>t,Do={toAttribute(t,e){switch(e){case Boolean:t=t?Ip:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},In=(t,e)=>!Np(t,e),bs={attribute:!0,type:String,converter:Do,reflect:!1,hasChanged:In};Symbol.metadata??=Symbol("metadata"),Mo.litPropertyMetadata??=new WeakMap;var Ze=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=bs){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let o=Symbol(),i=this.getPropertyDescriptor(e,o,r);i!==void 0&&_p(this.prototype,e,i)}}static getPropertyDescriptor(e,r,o){let{get:i,set:a}=Pp(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let l=i?.call(this);a.call(this,s),this.requestUpdate(e,l,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??bs}static _$Ei(){if(this.hasOwnProperty(Gr("elementProperties")))return;let e=Lp(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Gr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Gr("properties"))){let r=this.properties,o=[...Tp(r),...$p(r)];for(let i of o)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[o,i]of r)this.elementProperties.set(o,i)}this._$Eh=new Map;for(let[r,o]of this.elementProperties){let i=this._$Eu(r,o);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let o=new Set(e.flat(1/0).reverse());for(let i of o)r.unshift(Kr(i))}else e!==void 0&&r.push(Kr(e));return r}static _$Eu(e,r){let o=r.attribute;return o===!1?void 0:typeof o=="string"?o:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,r=this.constructor.elementProperties;for(let o of r.keys())this.hasOwnProperty(o)&&(e.set(o,this[o]),delete this[o]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return ko(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,o){this._$AK(e,o)}_$EO(e,r){let o=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,o);if(i!==void 0&&o.reflect===!0){let a=(o.converter?.toAttribute!==void 0?o.converter:Do).toAttribute(r,o.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,r){let o=this.constructor,i=o._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=o.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Do;this._$Em=i,this[i]=s.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(e,r,o,i=!1,a){if(e!==void 0){if(o??=this.constructor.getPropertyOptions(e),!(o.hasChanged??In)(i?a:this[e],r))return;this.C(e,r,o)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,o){this._$AL.has(e)||this._$AL.set(e,r),o.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[i,a]of o)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(o=>o.hostUpdate?.()),this.update(r)):this._$ET()}catch(o){throw e=!1,this._$ET(),o}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};Ze.elementStyles=[],Ze.shadowRootOptions={mode:"open"},Ze[Gr("elementProperties")]=new Map,Ze[Gr("finalized")]=new Map,kp?.({ReactiveElement:Ze}),(Mo.reactiveElementVersions??=[]).push("2.0.2");var Dn=globalThis,Uo=Dn.trustedTypes,xs=Uo?Uo.createPolicy("lit-html",{createHTML:t=>t}):void 0,Mn="$lit$",at=`lit$${(Math.random()+"").slice(9)}$`,Un="?"+at,Dp=`<${Un}>`,Kt=document,qr=()=>Kt.createComment(""),Yr=t=>t===null||typeof t!="object"&&typeof t!="function",ws=Array.isArray,As=t=>ws(t)||typeof t?.[Symbol.iterator]=="function",kn=`[
4
+ \f\r]`,Zr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,vs=/-->/g,Ss=/>/g,Vt=RegExp(`>|${kn}(?:([^\\s"'>=/]+)(${kn}*=${kn}*(?:[^
5
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Os=/'/g,Cs=/"/g,Rs=/^(?:script|style|textarea|title)$/i,Ns=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),$=Ns(1),Mp=Ns(2),xt=Symbol.for("lit-noChange"),B=Symbol.for("lit-nothing"),Es=new WeakMap,jt=Kt.createTreeWalker(Kt,129);function _s(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return xs!==void 0?xs.createHTML(e):e}var Ps=(t,e)=>{let r=t.length-1,o=[],i,a=e===2?"<svg>":"",s=Zr;for(let l=0;l<r;l++){let c=t[l],d,f,h=-1,y=0;for(;y<c.length&&(s.lastIndex=y,f=s.exec(c),f!==null);)y=s.lastIndex,s===Zr?f[1]==="!--"?s=vs:f[1]!==void 0?s=Ss:f[2]!==void 0?(Rs.test(f[2])&&(i=RegExp("</"+f[2],"g")),s=Vt):f[3]!==void 0&&(s=Vt):s===Vt?f[0]===">"?(s=i??Zr,h=-1):f[1]===void 0?h=-2:(h=s.lastIndex-f[2].length,d=f[1],s=f[3]===void 0?Vt:f[3]==='"'?Cs:Os):s===Cs||s===Os?s=Vt:s===vs||s===Ss?s=Zr:(s=Vt,i=void 0);let b=s===Vt&&t[l+1].startsWith("/>")?" ":"";a+=s===Zr?c+Dp:h>=0?(o.push(d),c.slice(0,h)+Mn+c.slice(h)+at+b):c+at+(h===-2?l:b)}return[_s(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),o]},Xr=class t{constructor({strings:e,_$litType$:r},o){let i;this.parts=[];let a=0,s=0,l=e.length-1,c=this.parts,[d,f]=Ps(e,r);if(this.el=t.createElement(d,o),jt.currentNode=this.el.content,r===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=jt.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(Mn)){let y=f[s++],b=i.getAttribute(h).split(at),x=/([.?@])?(.*)/.exec(y);c.push({type:1,index:a,name:x[2],strings:b,ctor:x[1]==="."?Bo:x[1]==="?"?zo:x[1]==="@"?Wo:Zt}),i.removeAttribute(h)}else h.startsWith(at)&&(c.push({type:6,index:a}),i.removeAttribute(h));if(Rs.test(i.tagName)){let h=i.textContent.split(at),y=h.length-1;if(y>0){i.textContent=Uo?Uo.emptyScript:"";for(let b=0;b<y;b++)i.append(h[b],qr()),jt.nextNode(),c.push({type:2,index:++a});i.append(h[y],qr())}}}else if(i.nodeType===8)if(i.data===Un)c.push({type:2,index:a});else{let h=-1;for(;(h=i.data.indexOf(at,h+1))!==-1;)c.push({type:7,index:a}),h+=at.length-1}a++}}static createElement(e,r){let o=Kt.createElement("template");return o.innerHTML=e,o}};function Gt(t,e,r=t,o){if(e===xt)return e;let i=o!==void 0?r._$Co?.[o]:r._$Cl,a=Yr(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,r,o)),o!==void 0?(r._$Co??=[])[o]=i:r._$Cl=i),i!==void 0&&(e=Gt(t,i._$AS(t,e.values),i,o)),e}var Fo=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:o}=this._$AD,i=(e?.creationScope??Kt).importNode(r,!0);jt.currentNode=i;let a=jt.nextNode(),s=0,l=0,c=o[0];for(;c!==void 0;){if(s===c.index){let d;c.type===2?d=new lr(a,a.nextSibling,this,e):c.type===1?d=new c.ctor(a,c.name,c.strings,this,e):c.type===6&&(d=new Ho(a,this,e)),this._$AV.push(d),c=o[++l]}s!==c?.index&&(a=jt.nextNode(),s++)}return jt.currentNode=Kt,i}p(e){let r=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(e,o,r),r+=o.strings.length-2):o._$AI(e[r])),r++}},lr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,o,i){this.type=2,this._$AH=B,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=o,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Gt(this,e,r),Yr(e)?e===B||e==null||e===""?(this._$AH!==B&&this._$AR(),this._$AH=B):e!==this._$AH&&e!==xt&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):As(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==B&&Yr(this._$AH)?this._$AA.nextSibling.data=e:this.$(Kt.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:o}=e,i=typeof o=="number"?this._$AC(e):(o.el===void 0&&(o.el=Xr.createElement(_s(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new Fo(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=Es.get(e.strings);return r===void 0&&Es.set(e.strings,r=new Xr(e)),r}T(e){ws(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,o,i=0;for(let a of e)i===r.length?r.push(o=new t(this.k(qr()),this.k(qr()),this,this.options)):o=r[i],o._$AI(a),i++;i<r.length&&(this._$AR(o&&o._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let o=e.nextSibling;e.remove(),e=o}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Zt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,o,i,a){this.type=1,this._$AH=B,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=a,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=B}_$AI(e,r=this,o,i){let a=this.strings,s=!1;if(a===void 0)e=Gt(this,e,r,0),s=!Yr(e)||e!==this._$AH&&e!==xt,s&&(this._$AH=e);else{let l=e,c,d;for(e=a[0],c=0;c<a.length-1;c++)d=Gt(this,l[o+c],r,c),d===xt&&(d=this._$AH[c]),s||=!Yr(d)||d!==this._$AH[c],d===B?e=B:e!==B&&(e+=(d??"")+a[c+1]),this._$AH[c]=d}s&&!i&&this.O(e)}O(e){e===B?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Bo=class extends Zt{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===B?void 0:e}},zo=class extends Zt{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==B)}},Wo=class extends Zt{constructor(e,r,o,i,a){super(e,r,o,i,a),this.type=5}_$AI(e,r=this){if((e=Gt(this,e,r,0)??B)===xt)return;let o=this._$AH,i=e===B&&o!==B||e.capture!==o.capture||e.once!==o.once||e.passive!==o.passive,a=e!==B&&(o===B||i);i&&this.element.removeEventListener(this.name,this,o),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Ho=class{constructor(e,r,o){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(e){Gt(this,e)}},Up={j:Mn,P:at,A:Un,C:1,M:Ps,L:Fo,R:As,V:Gt,D:lr,I:Zt,H:zo,N:Wo,U:Bo,B:Ho},Fp=Dn.litHtmlPolyfillSupport;Fp?.(Xr,lr),(Dn.litHtmlVersions??=[]).push("3.1.0");var Fn=(t,e,r)=>{let o=r?.renderBefore??e,i=o._$litPart$;if(i===void 0){let a=r?.renderBefore??null;o._$litPart$=i=new lr(e.insertBefore(qr(),a),a,void 0,r??{})}return i._$AI(t),i};var st=class extends Ze{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Fn(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return xt}};st._$litElement$=!0,st.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:st});var Bp=globalThis.litElementPolyfillSupport;Bp?.({LitElement:st});var zp={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var mu=!1;var Vn={};X(Vn,{customElement:()=>Wp,eventOptions:()=>cr,property:()=>g,query:()=>W,queryAll:()=>zn,queryAssignedElements:()=>Wn,queryAssignedNodes:()=>Hn,queryAsync:()=>jp,standardProperty:()=>Ts,state:()=>q});var Wp=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var Hp={attribute:!0,type:String,converter:Br,reflect:!1,hasChanged:Ao},Ts=(t=Hp,e,r)=>{let{kind:o,metadata:i}=r,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(r.name,t),o==="accessor"){let{name:s}=r;return{set(l){let c=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,c,t)},init(l){return l!==void 0&&this.C(s,void 0,t),l}}}if(o==="setter"){let{name:s}=r;return function(l){let c=this[s];e.call(this,l),this.requestUpdate(s,c,t)}}throw Error("Unsupported decorator location: "+o)};function g(t){return(e,r)=>typeof r=="object"?Ts(t,e,r):((o,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,s?{...o,wrapped:!0}:o),s?Object.getOwnPropertyDescriptor(i,a):void 0})(t,e,r)}function q(t){return g({...t,state:!0,attribute:!1})}function cr(t){return(e,r)=>{let o=typeof e=="function"?e:e[r];Object.assign(o,t)}}var We=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function W(t,e){return(r,o,i)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:l}=typeof o=="object"?r:i??(()=>{let c=Symbol();return{get(){return this[c]},set(d){this[c]=d}}})();return We(r,o,{get(){let c=s.call(this);return c===void 0&&(c=a(this),(c!==null||this.hasUpdated)&&l.call(this,c)),c}})}return We(r,o,{get(){return a(this)}})}}var Vp;function zn(t){return(e,r)=>We(e,r,{get(){return(this.renderRoot??(Vp??=document.createDocumentFragment())).querySelectorAll(t)}})}function jp(t){return(e,r)=>We(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function Wn(t){return(e,r)=>{let{slot:o,selector:i}=t??{},a="slot"+(o?`[name=${o}]`:":not([name])");return We(e,r,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(t)??[];return i===void 0?l:l.filter(c=>c.matches(i))}})}}function Hn(t){return(e,r)=>{let{slot:o}=t??{},i="slot"+(o?`[name=${o}]`:":not([name])");return We(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var jn={};X(jn,{repeat:()=>dr});var vt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},St=t=>(...e)=>({_$litDirective$:t,values:e}),qe=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,o){this._$Ct=e,this._$AM=r,this._$Ci=o}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{D:Kp}=ms;var $s=()=>document.createComment(""),pr=(t,e,r)=>{let o=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=o.insertBefore($s(),i),s=o.insertBefore($s(),i);r=new Kp(a,s,t,t.options)}else{let a=r._$AB.nextSibling,s=r._$AM,l=s!==t;if(l){let c;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(c=t._$AU)!==s._$AU&&r._$AP(c)}if(a!==i||l){let c=r._$AA;for(;c!==a;){let d=c.nextSibling;o.insertBefore(c,i),c=d}}}return r},Ot=(t,e,r=t)=>(t._$AI(e,r),t),Gp={},Ls=(t,e=Gp)=>t._$AH=e,Is=t=>t._$AH,Vo=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let o=e.nextSibling;e.remove(),e=o}};var ks=(t,e,r)=>{let o=new Map;for(let i=e;i<=r;i++)o.set(t[i],i);return o},dr=St(class extends qe{constructor(t){if(super(t),t.type!==vt.CHILD)throw Error("repeat() can only be used in text expressions")}ht(t,e,r){let o;r===void 0?r=e:e!==void 0&&(o=e);let i=[],a=[],s=0;for(let l of t)i[s]=o?o(l,s):s,a[s]=r(l,s),s++;return{values:a,keys:i}}render(t,e,r){return this.ht(t,e,r).values}update(t,[e,r,o]){let i=Is(t),{values:a,keys:s}=this.ht(e,r,o);if(!Array.isArray(i))return this.dt=s,a;let l=this.dt??=[],c=[],d,f,h=0,y=i.length-1,b=0,x=a.length-1;for(;h<=y&&b<=x;)if(i[h]===null)h++;else if(i[y]===null)y--;else if(l[h]===s[b])c[b]=Ot(i[h],a[b]),h++,b++;else if(l[y]===s[x])c[x]=Ot(i[y],a[x]),y--,x--;else if(l[h]===s[x])c[x]=Ot(i[h],a[x]),pr(t,c[x+1],i[h]),h++,x--;else if(l[y]===s[b])c[b]=Ot(i[y],a[b]),pr(t,i[h],i[y]),y--,b++;else if(d===void 0&&(d=ks(s,b,x),f=ks(l,h,y)),d.has(l[h]))if(d.has(l[y])){let C=f.get(s[b]),N=C!==void 0?i[C]:null;if(N===null){let _=pr(t,i[h]);Ot(_,a[b]),c[b]=_}else c[b]=Ot(N,a[b]),pr(t,i[h],N),i[C]=null;b++}else Vo(i[y]),y--;else Vo(i[h]),h++;for(;b<=x;){let C=pr(t,c[x+1]);Ot(C,a[b]),c[b++]=C}for(;h<=y;){let C=i[h++];C!==null&&Vo(C)}return this.dt=s,Ls(t,c),$e}});var Kn={};X(Kn,{classMap:()=>Le});var Le=St(class extends qe{constructor(t){if(super(t),t.type!==vt.ATTRIBUTE||t.name!=="class"||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(this.it===void 0){this.it=new Set,t.strings!==void 0&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(let o in e)e[o]&&!this.st?.has(o)&&this.it.add(o);return this.render(e)}let r=t.element.classList;for(let o of this.it)o in e||(r.remove(o),this.it.delete(o));for(let o in e){let i=!!e[o];i===this.it.has(o)||this.st?.has(o)||(i?(r.add(o),this.it.add(o)):(r.remove(o),this.it.delete(o)))}return $e}});var Gn={};X(Gn,{styleMap:()=>qp});var Ds="important",Zp=" !"+Ds,qp=St(class extends qe{constructor(t){if(super(t),t.type!==vt.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{let o=t[r];return o==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let o of this.ut)e[o]==null&&(this.ut.delete(o),o.includes("-")?r.removeProperty(o):r[o]=null);for(let o in e){let i=e[o];if(i!=null){this.ut.add(o);let a=typeof i=="string"&&i.endsWith(Zp);o.includes("-")||a?r.setProperty(o,a?i.slice(0,-11):i,a?Ds:""):r[o]=i}}return $e}});var qn={};X(qn,{UnsafeHTMLDirective:()=>fr,unsafeHTML:()=>Zn});var fr=class extends qe{constructor(e){if(super(e),this.et=ne,e.type!==vt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===ne||e==null)return this.vt=void 0,this.et=e;if(e===$e)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;let r=[e];return r.raw=r,this.vt={_$litType$:this.constructor.resultType,strings:r,values:[]}}};fr.directiveName="unsafeHTML",fr.resultType=1;var Zn=St(fr);var Xn={};X(Xn,{CacheRegistry:()=>Ye});var Yn={};X(Yn,{CancelablePromise:()=>ur,CanceledPromiseError:()=>Ct,cancelable:()=>hr});var Ct=class extends Error{constructor(e,r,o){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=o}},ur=class extends Promise{constructor(e){super((r,o)=>e(i=>{this.isCanceled?o(new Ct("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?o(new Ct("Promise has been canceled",void 0,i)):o(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},hr=t=>new ur((e,r)=>t.then(e).catch(r));var Ye=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,r){this.loaders[e]=r,this.finalContent.delete(e)}registerFinal(e,r){this.loaders[e]=r,this.finalContent.add(e)}clearAll(){for(let e in this.content)this.clear(e)}clear(e){this.finalContent.has(e)||this.forceClear(e)}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof ur&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,r){this.forceClear(e),this.register(e,async()=>r),this.content[e]=r}setFinal(e,r){this.forceClear(e),this.registerFinal(e,async()=>r),this.content[e]=r}async get(e,r,o){if(this.content[e]===void 0){if(r=r??this.loaders[e],r==null)throw new Error("Unknown cache key "+e);let i=hr(r());return this.content[e]=i,i.then(a=>(this.content[e]=a,o!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),o)),a))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var Qn={};X(Qn,{ClusteringHelper:()=>Jn});var Jn=class t{constructor(e,r,o,i){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=o,this.metadataDescriptors=i}static extractResultMetadata(e,r){var o,i;let a=((i=(o=e?.map)!==null&&o!==void 0?o:e?.document)!==null&&i!==void 0?i:e?.topic).metadata.map(s=>t.flattenMetadata(s));return r==null?a:a.find(s=>s.key===r)}static flattenMetadata(e){if(e.hierarchicalValues){let r=[],o=[];return e.hierarchicalValues.forEach(i=>{r.push(i.join(" > ")),i.length>2?o.push(`... > ${i[i.length-1]}`):o.push(i.join(" > "))}),{key:e.key,label:e.label,value:r.join(", "),displayValue:o.join(", ")}}else{let r=e.values.join(", ");return{key:e.key,label:e.label,value:r,displayValue:r}}}computeClustersItemsForMetadata(e,r,o="No value"){var i,a;let s=t.extractResultMetadata(this.selectedResult,e),l=(i=s?.label)!==null&&i!==void 0?i:(a=this.getMetadataDescriptor(e))===null||a===void 0?void 0:a.label;return this.allResults.map(d=>t.extractResultMetadata(d,e)).map(d=>d??{key:e,label:l,value:void 0,displayValue:o}).filter(d=>d.value!=s?.value).filter((d,f,h)=>h.findIndex(y=>y.value===d.value)===f).map(d=>({result:this.findBestResultForMetadataValue(e,d.value),metadata:d})).sort((d,f)=>this.compareMetadata(d.metadata.value,f.metadata.value,e,r))}compareMetadata(e,r,o,i){if(e==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(o),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let c=e.localeCompare(r,i,{numeric:!0});return l?c*-1:c}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let o=this.allResults.filter(c=>{var d;return((d=t.extractResultMetadata(c,e))===null||d===void 0?void 0:d.value)==r}),a=[...t.extractResultMetadata(this.selectedResult).filter(c=>this.clusteringMetadata.has(c.key)).filter(c=>c.key!==e)],s,l=-1;for(let c of o){let d=this.countMatchingMetadata(c,a);if(d>l&&(l=d,s=c,d===a.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata(e).filter(o=>r.some(i=>i.key===o.key&&i.value===o.value)).length}};var ei={};X(ei,{Debouncer:()=>re});var re=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,o)=>{this.resolvePromise=r,this.rejectPromise=o})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let o=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of o)try{await s()}catch(l){i(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var ri={};X(ri,{customElement:()=>F,isNumber:()=>Fs,jsonProperty:()=>ue,optionalNumberProperty:()=>rd});var ti={};X(ti,{dateReviver:()=>Xp,deepEqual:()=>Ee,delay:()=>jo,eventPathContainsMatchingElement:()=>Qp,flatDeep:()=>lt,last:()=>td,minmax:()=>ed,parseDate:()=>Us,waitFor:()=>Ms,waitUntil:()=>Yp});var jo=t=>new Promise(e=>setTimeout(e,t));async function Yp(t,e=10,r=2e4){await Ms(async()=>await t()||void 0,e,r)}async function Ms(t,e=10,r=2e4){let o=await t(),i,a;for(i=a=performance.now();o==null&&(!r||a-i<r);)await jo(e),o=await t(),a=performance.now();if(o==null)throw new Error("Timeout exceeded");return o}function lt(t,e){return t.flatMap(r=>[r,...lt(e(r),e)])}function Xp(...t){return function(e,r){return t.includes(e)?Us(r):r}}function Us(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,o,i)=>r+o+":"+i),new Date(t)}function Jp(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,o,i;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(o=r;o--!==0;)if(!Ee(t[o],e[o]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[0]))return!1;for(o of t.entries())if(!Ee(o[1],e.get(o[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(o of t.entries())if(!e.has(o[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(i=Object.keys(t),r=i.length,r!==Object.keys(e).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[o]))return!1;for(o=r;o--!==0;){var a=i[o];if(!Ee(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function Ee(t,e){try{return Jp(t,e)}catch{return!1}}function Qp(t,e,r=window.document.body){if(e.length>0){let o=t.composedPath();for(let i of o){if(i===r)return!1;if(i.matches&&e.some(a=>i.matches(a)))return!0}}return!1}function ed(t,e,r){return Math.min(Math.max(t,e),r)}function td(t){return t[t.length-1]}var F=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function ue(t,e){let r=()=>JSON.parse(JSON.stringify(t));return g({type:Object,converter:{fromAttribute:o=>{if(o==null)return r();try{return JSON.parse(o)}catch{return r()}},toAttribute:o=>JSON.stringify(o)},hasChanged:(o,i)=>!Ee(o,i),...e??{}})}function rd(t){return g({type:Object,converter:{fromAttribute:e=>{if(e!=null)return Fs(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function Fs(t){return!isNaN(parseFloat(t))}var _i={};X(_i,{designSystemVariables:()=>T});var Ni={};X(Ni,{FtCssVariableFactory:()=>n,banner:()=>nd,border:()=>vd,breadcrumb:()=>id,button:()=>P,chart:()=>bd,checkbox:()=>Od,chip:()=>xd,collapsible:()=>yd,comboboxMultiSelect:()=>ud,comboboxSingleSelect:()=>fd,drawer:()=>ld,floatingMenu:()=>dd,foundation:()=>p,modal:()=>sd,notice:()=>Sd,notification:()=>wd,pageHeader:()=>ad,popover:()=>hd,radio:()=>Ed,semantic:()=>u,setVariable:()=>I,switch_:()=>gd,tabs:()=>md,textArea:()=>pd,textInput:()=>cd,toggle:()=>Cd,tooltip:()=>Ad,typographies:()=>Jr,typographyBody1Medium:()=>li,typographyBody1Regular:()=>si,typographyBody1Semibold:()=>ci,typographyBody2Medium:()=>di,typographyBody2MediumUnderline:()=>Bs,typographyBody2Regular:()=>pi,typographyBody2Semibold:()=>fi,typographyCaption1Bold:()=>Si,typographyCaption1Medium:()=>xi,typographyCaption1Semibold:()=>vi,typographyCaption2Bold:()=>Ei,typographyCaption2Medium:()=>Oi,typographyCaption2Semibold:()=>Ci,typographyCaption3Bold:()=>Ri,typographyCaption3Medium:()=>wi,typographyCaption3Semibold:()=>Ai,typographyDisplay:()=>oi,typographyLabel1Bold:()=>mi,typographyLabel1Medium:()=>ui,typographyLabel1Semibold:()=>hi,typographyLabel2Bold:()=>bi,typographyLabel2Medium:()=>yi,typographyLabel2Semibold:()=>gi,typographyTitle1:()=>ni,typographyTitle2:()=>ii,typographyTitle3:()=>ai,typographyVariants:()=>od});var ct=t=>typeof t=="string"?it(t):t,n=class{static create(e,r,o,i){let a=l=>ct(l??i),s=R`var(${ct(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=o,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>R`var(${ct(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,r,o,i){let a=l=>o.get(l??i),s=R`var(${ct(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=o.category,s.fallbackVariable=o,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>R`var(${ct(e)}, ${a(l)})`,s.breadcrumb=()=>[o.name,...o.breadcrumb()],s.lastResortDefaultValue=()=>i??o.lastResortDefaultValue(),s}static external(e,r){let o=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):ct(a??e.lastResortDefaultValue()),i=R`var(${ct(e.name)}, ${o(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=r,i.defaultCssValue=o,i.get=a=>R`var(${ct(e.name)}, ${o(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function I(t,e){return ct(`${t.name}: ${e}`)}var p={colorWhite:n.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:n.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:n.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:n.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:n.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:n.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:n.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:n.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:n.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:n.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:n.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:n.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:n.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:n.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:n.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:n.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:n.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:n.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:n.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:n.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:n.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:n.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:n.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:n.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:n.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:n.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:n.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:n.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:n.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:n.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:n.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:n.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:n.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:n.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:n.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:n.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:n.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:n.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:n.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:n.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:n.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:n.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:n.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:n.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:n.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:n.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:n.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:n.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:n.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:n.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:n.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:n.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:n.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:n.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:n.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:n.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:n.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:n.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:n.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:n.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:n.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:n.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:n.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:n.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:n.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:n.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:n.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:n.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:n.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:n.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:n.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:n.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:n.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:n.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:n.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:n.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:n.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:n.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:n.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:n.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:n.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:n.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:n.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:n.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:n.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:n.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:n.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:n.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:n.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:n.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:n.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:n.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:n.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:n.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:n.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:n.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:n.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:n.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:n.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:n.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:n.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:n.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:n.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:n.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:n.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:n.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:n.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:n.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:n.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:n.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:n.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:n.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:n.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:n.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:n.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:n.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:n.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:n.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:n.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:n.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:n.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:n.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:n.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:n.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:n.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:n.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:n.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:n.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:n.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:n.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:n.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:n.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:n.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:n.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:n.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:n.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:n.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:n.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:n.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:n.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:n.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:n.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:n.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:n.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:n.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:n.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:n.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:n.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:n.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:n.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:n.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:n.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:n.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:n.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:n.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:n.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:n.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:n.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:n.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:n.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:n.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:n.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:n.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:n.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:n.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:n.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:n.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:n.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:n.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:n.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:n.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:n.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:n.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:n.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:n.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:n.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:n.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:n.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:n.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:n.create("--ft-icon-size-6","","SIZE","48px"),opacity0:n.create("--ft-opacity-0","","NUMBER","0"),opacity8:n.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:n.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:n.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:n.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:n.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:n.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:n.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:n.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:n.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:n.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:n.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:n.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:n.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:n.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)")},oi={fontFamily:n.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:n.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:n.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:n.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-display-textCase","","UNKNOWN","none")},ni={fontFamily:n.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:n.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:n.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:n.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},ii={fontFamily:n.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:n.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:n.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:n.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},ai={fontFamily:n.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:n.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:n.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:n.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},si={fontFamily:n.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:n.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:n.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:n.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},li={fontFamily:n.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:n.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:n.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},ci={fontFamily:n.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:n.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:n.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},pi={fontFamily:n.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:n.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:n.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},di={fontFamily:n.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:n.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Bs={fontFamily:n.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:n.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:n.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:n.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},fi={fontFamily:n.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:n.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:n.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:n.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},ui={fontFamily:n.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:n.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:n.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},hi={fontFamily:n.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:n.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:n.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},mi={fontFamily:n.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:n.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:n.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:n.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:n.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},yi={fontFamily:n.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:n.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:n.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:n.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},gi={fontFamily:n.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:n.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:n.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:n.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},bi={fontFamily:n.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:n.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:n.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:n.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:n.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:n.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},xi={fontFamily:n.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:n.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:n.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},vi={fontFamily:n.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:n.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:n.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Si={fontFamily:n.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:n.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:n.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:n.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Oi={fontFamily:n.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:n.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:n.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Ci={fontFamily:n.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:n.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:n.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Ei={fontFamily:n.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:n.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:n.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:n.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},wi={fontFamily:n.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:n.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:n.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:n.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Ai={fontFamily:n.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:n.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:n.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:n.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Ri={fontFamily:n.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:n.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:n.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:n.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:n.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:n.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:n.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:n.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:n.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Jr={display:oi,"title-1":ni,"title-2":ii,"title-3":ai,"body-1-regular":si,"body-1-medium":li,"body-1-semibold":ci,"body-2-regular":pi,"body-2-medium":di,"body-2-medium-underline":Bs,"body-2-semibold":fi,"label-1-medium":ui,"label-1-semibold":hi,"label-1-bold":mi,"label-2-medium":yi,"label-2-semibold":gi,"label-2-bold":bi,"caption-1-medium":xi,"caption-1-semibold":vi,"caption-1-bold":Si,"caption-2-medium":Oi,"caption-2-semibold":Ci,"caption-2-bold":Ei,"caption-3-medium":wi,"caption-3-semibold":Ai,"caption-3-bold":Ri},od=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var u={backgroundActionPrimary:n.extend("--ft-background-action-primary","Used as backgorund of primary action components.",p.colorBrand0),backgroundErrorSubtle:n.extend("--ft-background-error-subtle","Used as background of subtle error components.",p.colorRed10),backgroundInfoSubtle:n.extend("--ft-background-info-subtle","Used as background of subtle information components.",p.colorCyan10),backgroundWarningSubtle:n.extend("--ft-background-warning-subtle","Used as background of subtle information components.",p.colorOrange10),backgroundSuccessSubtle:n.extend("--ft-background-success-subtle","Used as background of subtle success components.",p.colorGreen10),backgroundGlobalSurface:n.extend("--ft-background-global-surface","Used as app background.",p.colorWhite),backgroundGlobalOnSurface:n.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",p.colorGray10),backgroundGlobalOnSurfaceDark:n.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",p.colorGray30),contentActionPrimary:n.extend("--ft-content-action-primary","Used on label of primary action on light surface.",p.colorBrand0),contentWarningPrimary:n.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",p.colorOrange200),contentWarningIconOnly:n.extend("--ft-content-warning-icon-only","Used on warning status icons alone",p.colorOrange0),contentErrorPrimary:n.extend("--ft-content-error-primary","Used on label of error messages on light surface.",p.colorRed0),contentErrorIconOnly:n.extend("--ft-content-error-icon-only","Used on error status icons alone",p.colorRed70),contentInfoPrimary:n.extend("--ft-content-info-primary","Used on label of information messages on light surface.",p.colorCyan200),contentInfoIconOnly:n.extend("--ft-content-info-icon-only","Used on info status icons alone",p.colorCyan0),contentSuccessPrimary:n.extend("--ft-content-success-primary","Used on label of success messages on light surface.",p.colorGreen200),contentSuccessIconOnly:n.extend("--ft-content-success-icon-only","Used on success status icons alone",p.colorGreen0),contentGlobalPrimary:n.extend("--ft-content-global-primary","Used for main content on the page.",p.colorGray500),contentGlobalSecondary:n.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
6
+ Also for action icons.`,p.colorGray200),contentGlobalSubtle:n.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",p.colorGray0),contentGlobalOnColor:n.extend("--ft-content-global-on-color","Used for content on a dominant color.",p.colorWhite),borderActionPrimary:n.extend("--ft-border-action-primary","Used as border for primary action components.",p.colorBrand0),borderActionFocusRing:n.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",p.colorCyan0),borderWarningPrimary:n.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",p.colorOrange200),borderWarningSubtle:n.extend("--ft-border-warning-subtle","Used as border for warning components.",p.colorOrange30),borderSuccessPrimary:n.extend("--ft-border-success-primary","Used as border for success buttons.",p.colorGreen200),borderSuccessSubtle:n.extend("--ft-border-success-subtle","Used as border for success components.",p.colorGreen30),borderErrorPrimary:n.extend("--ft-border-error-primary","Used as border for text fields in error states.",p.colorRed0),borderErrorSubtle:n.extend("--ft-border-error-subtle","Used as border for error components.",p.colorRed30),borderInfoPrimary:n.extend("--ft-border-info-primary","Used as border for buttons in info color.",p.colorCyan200),borderInfoSubtle:n.extend("--ft-border-info-subtle","Used as border for information components.",p.colorCyan30),borderGlobalPrimary:n.extend("--ft-border-global-primary","Used as border for element like input.",p.colorGray50),borderGlobalSubtle:n.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",p.colorGray30),borderInputPrimary:n.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",p.colorGray80)};var P={largeHeight:n.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:n.extend("--ft-button-large-horizontal-padding","",p.spacing4),largeGap:n.extend("--ft-button-large-gap","",p.spacing2),largeBorderRadius:n.extend("--ft-button-large-border-radius","",p.borderRadiusS),largeIconSize:n.extend("--ft-button-large-icon-size","",p.iconSize3),largeBorderWidth:n.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:n.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:n.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:n.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:n.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:n.extend("--ft-button-small-horizontal-padding","",p.spacing3),smallGap:n.extend("--ft-button-small-gap","",p.spacing2),smallBorderRadius:n.extend("--ft-button-small-border-radius","",p.borderRadiusS),smallIconSize:n.extend("--ft-button-small-icon-size","",p.iconSize2),smallBorderWidth:n.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:n.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:n.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:n.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:n.extend("--ft-button-primary-background-color","",u.backgroundActionPrimary),primaryColor:n.extend("--ft-button-primary-color","",u.contentGlobalOnColor),primaryIconColor:n.extend("--ft-button-primary-icon-color","",u.contentGlobalOnColor),primaryStateLayerColor:n.extend("--ft-button-primary-state-layer-color","",u.contentGlobalOnColor),primaryHoverStateLayerOpacity:n.extend("--ft-button-primary-hover-state-layer-opacity","",p.opacity16),primaryFocusStateLayerOpacity:n.extend("--ft-button-primary-focus-state-layer-opacity","",p.opacity16),primaryActiveStateLayerOpacity:n.extend("--ft-button-primary-active-state-layer-opacity","",p.opacity24),primaryDisabledComponentOpacity:n.extend("--ft-button-primary-disabled-component-opacity","",p.opacity40),focusFocusRingColor:n.extend("--ft-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBackgroundColor:n.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:n.extend("--ft-button-tertiary-color","",u.contentActionPrimary),tertiaryIconColor:n.extend("--ft-button-tertiary-icon-color","",u.contentActionPrimary),tertiaryStateLayerColor:n.extend("--ft-button-tertiary-state-layer-color","",u.contentActionPrimary),tertiaryHoverStateLayerOpacity:n.extend("--ft-button-tertiary-hover-state-layer-opacity","",p.opacity8),tertiaryFocusStateLayerOpacity:n.extend("--ft-button-tertiary-focus-state-layer-opacity","",p.opacity8),tertiaryActiveStateLayerOpacity:n.extend("--ft-button-tertiary-active-state-layer-opacity","",p.opacity16),tertiaryDisabledComponentOpacity:n.extend("--ft-button-tertiary-disabled-component-opacity","",p.opacity40),secondaryBackgroundColor:n.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:n.extend("--ft-button-secondary-color","",u.contentActionPrimary),secondaryIconColor:n.extend("--ft-button-secondary-icon-color","",u.contentActionPrimary),secondaryStateLayerColor:n.extend("--ft-button-secondary-state-layer-color","",u.contentActionPrimary),secondaryHoverStateLayerOpacity:n.extend("--ft-button-secondary-hover-state-layer-opacity","",p.opacity8),secondaryFocusStateLayerOpacity:n.extend("--ft-button-secondary-focus-state-layer-opacity","",p.opacity8),secondaryActiveStateLayerOpacity:n.extend("--ft-button-secondary-active-state-layer-opacity","",p.opacity16),secondaryDisabledComponentOpacity:n.extend("--ft-button-secondary-disabled-component-opacity","",p.opacity40),secondaryBorderColor:n.extend("--ft-button-secondary-border-color","",u.borderActionPrimary),neutralBackgroundColor:n.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:n.extend("--ft-button-neutral-icon-color","",u.contentGlobalSecondary),neutralColor:n.extend("--ft-button-neutral-color","",u.contentGlobalSecondary),neutralStateLayerColor:n.extend("--ft-button-neutral-state-layer-color","",u.contentGlobalSecondary),neutralHoverStateLayerOpacity:n.extend("--ft-button-neutral-hover-state-layer-opacity","",p.opacity8),neutralFocusStateLayerOpacity:n.extend("--ft-button-neutral-focus-state-layer-opacity","",p.opacity8),neutralActiveStateLayerOpacity:n.extend("--ft-button-neutral-active-state-layer-opacity","",p.opacity16),neutralDisabledComponentOpacity:n.extend("--ft-button-neutral-disabled-component-opacity","",p.opacity40)};var nd={iconSize:n.extend("--ft-banner-icon-size","",p.iconSize5),borderWidth:n.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:n.extend("--ft-banner-horizontal-padding","",p.spacing6),verticalPadding:n.extend("--ft-banner-vertical-padding","",p.spacing6),horizontalSideGap:n.extend("--ft-banner-horizontal-side-gap","",p.spacing6),horizontalMobileGap:n.extend("--ft-banner-horizontal-mobile-gap","",p.spacing4),verticalMobileGap:n.extend("--ft-banner-vertical-mobile-gap","",p.spacing6),horizontalMiddleGap:n.extend("--ft-banner-horizontal-middle-gap","",p.spacing20),infoBackgroundColor:n.extend("--ft-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:n.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:n.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly)};var id={horizontalGap:n.extend("--ft-breadcrumb-horizontal-gap","",p.spacing1),verticalGap:n.extend("--ft-breadcrumb-vertical-gap","",p.spacing2),currentElementColor:n.extend("--ft-breadcrumb-current-element-color","",u.contentGlobalPrimary),iconColor:n.extend("--ft-breadcrumb-icon-color","",u.contentGlobalSubtle)};var ad={horizontalPadding:n.extend("--ft-page-header-horizontal-padding","",p.spacing12),horizontalGap:n.extend("--ft-page-header-horizontal-gap","",p.spacing4),verticalGap:n.extend("--ft-page-header-vertical-gap","",p.spacing2),classicVerticalPadding:n.extend("--ft-page-header-classic-vertical-padding","",p.spacing6),multilineVerticalPadding:n.extend("--ft-page-header-multiline-vertical-padding","",p.spacing4),inlineVerticalPadding:n.extend("--ft-page-header-inline-vertical-padding","",p.spacing2),backgroundColor:n.extend("--ft-page-header-background-color","",p.colorWhite),bottomBorderColor:n.extend("--ft-page-header-bottom-border-color","",u.borderGlobalSubtle),titleColor:n.extend("--ft-page-header-title-color","",u.contentGlobalPrimary),subtitleColor:n.extend("--ft-page-header-subtitle-color","",u.contentGlobalSecondary)};var sd={smallContainerWidth:n.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:n.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:n.extend("--ft-modal-overlay-background-color","",p.colorGray700),overlayOpacity:n.extend("--ft-modal-overlay-opacity","",p.opacity40),shadow:n.extend("--ft-modal-shadow","",p.shadowElevation03),bodyBackgroundColor:n.extend("--ft-modal-body-background-color","",p.colorWhite),bodyColor:n.extend("--ft-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:n.extend("--ft-modal-body-horizontal-padding","",p.spacing6),bodyVerticalPadding:n.extend("--ft-modal-body-vertical-padding","",p.spacing6),bodyVerticalGap:n.extend("--ft-modal-body-vertical-gap","",p.spacing6),containerMargin:n.extend("--ft-modal-container-margin","",p.spacing3),headerBackgroundColor:n.extend("--ft-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:n.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:n.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:n.extend("--ft-modal-header-trailing-icon-color","",u.contentGlobalSecondary),headerVerticalPadding:n.extend("--ft-modal-header-vertical-padding","",p.spacing1),headerRightPadding:n.extend("--ft-modal-header-right-padding","",p.spacing1),headerLeftPadding:n.extend("--ft-modal-header-left-padding","",p.spacing6),headerGap:n.extend("--ft-modal-header-gap","",p.spacing2),headerBorderBottom:n.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:n.extend("--ft-modal-border-radius","",p.borderRadiusM)};var ld={overlayOpacity:n.extend("--ft-drawer-overlay-opacity","",p.opacity40),shadow:n.extend("--ft-drawer-shadow","",p.shadowElevation03),bodyColor:n.extend("--ft-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:n.extend("--ft-drawer-body-horizontal-padding","",p.spacing6),bodyVerticalPadding:n.extend("--ft-drawer-body-vertical-padding","",p.spacing6),bodyGap:n.extend("--ft-drawer-body-gap","",p.spacing6),bodyBackgroundColor:n.extend("--ft-drawer-body-background-color","",p.colorWhite),headerBackgroundColor:n.extend("--ft-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:n.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:n.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:n.extend("--ft-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:n.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:n.extend("--ft-drawer-header-horizontal-padding","",p.spacing2),headerBorderWidth:n.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:n.extend("--ft-drawer-header-gap","",p.spacing3),buttonsBarBackgroundColor:n.extend("--ft-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:n.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:n.extend("--ft-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:n.extend("--ft-drawer-buttons-bar-horizontal-padding","",p.spacing4),buttonsBarVerticalPadding:n.extend("--ft-drawer-buttons-bar-vertical-padding","",p.spacing4),buttonsBarGap:n.extend("--ft-drawer-buttons-bar-gap","",p.spacing3),buttonsBarBorderWidth:n.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:n.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:n.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:n.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:n.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:n.extend("--ft-drawer-overlay-background-color","",p.colorGray700)};var cd={fieldHorizontalPadding:n.extend("--ft-text-input-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:n.extend("--ft-text-input-field-horizontal-gap","",p.spacing3),fieldVerticalGap:n.extend("--ft-text-input-field-vertical-gap","",p.spacing05),fieldIconSize:n.extend("--ft-text-input-field-icon-size","",p.iconSize3),fieldHeight:n.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:n.extend("--ft-text-input-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:n.extend("--ft-text-input-helper-horizontal-gap","",p.spacing1),helperIconSize:n.extend("--ft-text-input-helper-icon-size","",p.iconSize2),borderRadius:n.extend("--ft-text-input-border-radius","",p.borderRadiusM),backgroundColor:n.extend("--ft-text-input-background-color","",p.colorWhite),contentValueColor:n.extend("--ft-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:n.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:n.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:n.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:n.extend("--ft-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:n.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:n.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:n.extend("--ft-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:n.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:n.extend("--ft-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderWidth:n.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:n.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ft-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:n.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ft-text-input-disabled-component-opacity","",p.opacity40)};var pd={backgroundColor:n.extend("--ft-text-area-background-color","",p.colorWhite),contentValueColor:n.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:n.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:n.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:n.extend("--ft-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:n.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:n.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:n.extend("--ft-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:n.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:n.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:n.extend("--ft-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:n.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:n.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ft-text-area-disabled-component-opacity","",p.opacity40),fieldHorizontalLeftPadding:n.extend("--ft-text-area-field-horizontal-left-padding","",p.spacing4),fieldHorizontalGap:n.extend("--ft-text-area-field-horizontal-gap","",p.spacing3),fieldVerticalGap:n.extend("--ft-text-area-field-vertical-gap","",p.spacing05),fieldMinHeight:n.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:n.extend("--ft-text-area-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:n.extend("--ft-text-area-helper-horizontal-gap","",p.spacing1),helperIconSize:n.extend("--ft-text-area-helper-icon-size","",p.iconSize2),borderRadius:n.extend("--ft-text-area-border-radius","",p.borderRadiusM)};var dd={height:n.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:n.extend("--ft-floating-menu-horizontal-padding","",p.spacing4),offIconColor:n.extend("--ft-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:n.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:n.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:n.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:n.extend("--ft-floating-menu-gap","",p.spacing3),focusFocusRingColor:n.extend("--ft-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:n.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:n.extend("--ft-floating-menu-focus-state-layer-opacity","",p.opacity8),hoverStateLayerOpacity:n.extend("--ft-floating-menu-hover-state-layer-opacity","",p.opacity8),activeStateLayerOpacity:n.extend("--ft-floating-menu-active-state-layer-opacity","",p.opacity16),disabledComponentOpacity:n.extend("--ft-floating-menu-disabled-component-opacity","",p.opacity40),iconSize:n.extend("--ft-floating-menu-icon-size","",p.iconSize3),backgroundColor:n.extend("--ft-floating-menu-background-color","",u.backgroundGlobalOnSurface)};var fd={fieldHorizontalPadding:n.extend("--ft-combobox-single-select-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:n.extend("--ft-combobox-single-select-field-horizontal-gap","",p.spacing3),fieldVerticalGap:n.extend("--ft-combobox-single-select-field-vertical-gap","",p.spacing05),fieldIconSize:n.extend("--ft-combobox-single-select-field-icon-size","",p.iconSize3),fieldHeight:n.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:n.extend("--ft-combobox-single-select-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:n.extend("--ft-combobox-single-select-helper-horizontal-gap","",p.spacing1),helperVerticalGap:n.extend("--ft-combobox-single-select-helper-vertical-gap","",p.spacing1),helperIconSize:n.extend("--ft-combobox-single-select-helper-icon-size","",p.iconSize2),menuVerticalGap:n.extend("--ft-combobox-single-select-menu-vertical-gap","",p.spacing2),borderRadius:n.extend("--ft-combobox-single-select-border-radius","",p.borderRadiusM),backgroundColor:n.extend("--ft-combobox-single-select-background-color","",p.colorWhite),labelColor:n.extend("--ft-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:n.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:n.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:n.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:n.extend("--ft-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:n.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:n.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:n.extend("--ft-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:n.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:n.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:n.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:n.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:n.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:n.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:n.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ft-combobox-single-select-disabled-component-opacity","",p.opacity40)};var ud={backgroundColor:n.extend("--ft-combobox-multi-select-background-color","",p.colorWhite),labelColor:n.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:n.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:n.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:n.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:n.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:n.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:n.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:n.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:n.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:n.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:n.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:n.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:n.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:n.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:n.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:n.extend("--ft-combobox-multi-select-disabled-component-opacity","",p.opacity40),helperHorizontalPadding:n.extend("--ft-combobox-multi-select-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:n.extend("--ft-combobox-multi-select-helper-horizontal-gap","",p.spacing1),helperVerticalGap:n.extend("--ft-combobox-multi-select-helper-vertical-gap","",p.spacing1),helperIconSize:n.extend("--ft-combobox-multi-select-helper-icon-size","",p.iconSize2),fieldHorizontalPadding:n.extend("--ft-combobox-multi-select-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:n.extend("--ft-combobox-multi-select-field-horizontal-gap","",p.spacing3),fieldVerticalGap:n.extend("--ft-combobox-multi-select-field-vertical-gap","",p.spacing05),fieldIconSize:n.extend("--ft-combobox-multi-select-field-icon-size","",p.iconSize3),fieldMaxHeight:n.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:n.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",p.spacing1),contentValuesVerticalGap:n.extend("--ft-combobox-multi-select-content-values-vertical-gap","",p.spacing1),borderRadius:n.extend("--ft-combobox-multi-select-border-radius","",p.borderRadiusM)};var hd={backgroundColor:n.extend("--ft-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:n.extend("--ft-popover-horizontal-padding","",p.spacing6),verticalPadding:n.extend("--ft-popover-vertical-padding","",p.spacing6),iconColor:n.extend("--ft-popover-icon-color","",u.contentGlobalSecondary),iconSize:n.extend("--ft-popover-icon-size","",p.iconSize2),titleColor:n.extend("--ft-popover-title-color","",u.contentGlobalPrimary),bodyColor:n.extend("--ft-popover-body-color","",u.contentGlobalSecondary),linkColor:n.extend("--ft-popover-link-color","",u.contentActionPrimary),gap:n.extend("--ft-popover-gap","",p.spacing3),borderRadius:n.extend("--ft-popover-border-radius","",p.borderRadiusM),shadow:n.extend("--ft-popover-shadow","",p.shadowElevation02)};var md={topLeftBorderRadius:n.extend("--ft-tabs-top-left-border-radius","",p.borderRadiusS),topRightBorderRadius:n.extend("--ft-tabs-top-right-border-radius","",p.borderRadiusS),labelHorizontalPadding:n.extend("--ft-tabs-label-horizontal-padding","",p.spacing4),labelVerticalPadding:n.extend("--ft-tabs-label-vertical-padding","",p.spacing3),labelGap:n.extend("--ft-tabs-label-gap","",p.spacing1),offHoverStateLayerOpacity:n.extend("--ft-tabs-off-hover-state-layer-opacity","",p.opacity8),offFocusStateLayerOpacity:n.extend("--ft-tabs-off-focus-state-layer-opacity","",p.opacity8),offActiveStateLayerOpacity:n.extend("--ft-tabs-off-active-state-layer-opacity","",p.opacity16),offDisabledComponentOpacity:n.extend("--ft-tabs-off-disabled-component-opacity","",p.opacity40),offColor:n.extend("--ft-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:n.extend("--ft-tabs-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:n.extend("--ft-tabs-on-hover-state-layer-opacity","",p.opacity8),onFocusStateLayerOpacity:n.extend("--ft-tabs-on-focus-state-layer-opacity","",p.opacity8),onActiveStateLayerOpacity:n.extend("--ft-tabs-on-active-state-layer-opacity","",p.opacity16),onDisabledComponentOpacity:n.extend("--ft-tabs-on-disabled-component-opacity","",p.opacity40),onColor:n.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:n.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:n.extend("--ft-tabs-icon-horizontal-padding","",p.spacing1),iconVerticalPadding:n.extend("--ft-tabs-icon-vertical-padding","",p.spacing4),focusOutlineWidth:n.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ft-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var yd={hoverStateLayerOpacity:n.extend("--ft-collapsible-hover-state-layer-opacity","",p.opacity8),focusStateLayerOpacity:n.extend("--ft-collapsible-focus-state-layer-opacity","",p.opacity8),focusOutlineWidth:n.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:n.extend("--ft-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:n.extend("--ft-collapsible-active-state-layer-opacity","",p.opacity16),disabledComponentOpacity:n.extend("--ft-collapsible-disabled-component-opacity","",p.opacity40),horizontalPadding:n.extend("--ft-collapsible-horizontal-padding","",p.spacing4),verticalPadding:n.extend("--ft-collapsible-vertical-padding","",p.spacing3),color:n.extend("--ft-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:n.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:n.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:n.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:n.extend("--ft-collapsible-icon-size","",p.iconSize3)};var gd={groupHorizontalPadding:n.extend("--ft-switch-group-horizontal-padding","",p.spacing1),groupVerticalPadding:n.extend("--ft-switch-group-vertical-padding","",p.spacing1),groupGap:n.extend("--ft-switch-group-gap","",p.spacing1),groupBackgroundColor:n.extend("--ft-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:n.extend("--ft-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:n.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:n.extend("--ft-switch-label-horizontal-padding","",p.spacing2),labelVerticalPadding:n.extend("--ft-switch-label-vertical-padding","",p.spacing1),offHoverStateLayerOpacity:n.extend("--ft-switch-off-hover-state-layer-opacity","",p.opacity8),offFocusStateLayerOpacity:n.extend("--ft-switch-off-focus-state-layer-opacity","",p.opacity8),offActiveStateLayerOpacity:n.extend("--ft-switch-off-active-state-layer-opacity","",p.opacity16),offDisabledComponentOpacity:n.extend("--ft-switch-off-disabled-component-opacity","",p.opacity40),offColor:n.extend("--ft-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:n.extend("--ft-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:n.extend("--ft-switch-on-hover-state-layer-opacity","",p.opacity8),onFocusStateLayerOpacity:n.extend("--ft-switch-on-focus-state-layer-opacity","",p.opacity8),onActiveStateLayerOpacity:n.extend("--ft-switch-on-active-state-layer-opacity","",p.opacity16),onDisabledComponentOpacity:n.extend("--ft-switch-on-disabled-component-opacity","",p.opacity40),onColor:n.extend("--ft-switch-on-color","",u.contentActionPrimary),onStateLayerColor:n.extend("--ft-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:n.extend("--ft-switch-icon-horizontal-padding","",p.spacing1),iconVerticalPadding:n.extend("--ft-switch-icon-vertical-padding","",p.spacing1),focusOutlineWidth:n.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:n.extend("--ft-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:n.extend("--ft-switch-option-border-radius","",p.borderRadiusS)};var bd={color1Light:n.extend("--ft-chart-1-light","for area color charts",p.colorBrand40),color1Base:n.extend("--ft-chart-1-base","for line charts",p.colorBrand0),color2Light:n.extend("--ft-chart-2-light","for area color charts",p.colorYellow60),color2Base:n.extend("--ft-chart-2-base","for line charts",p.colorYellow100),color3Light:n.extend("--ft-chart-3-light","",p.colorUltramarine40),color3Base:n.extend("--ft-chart-3-base","",p.colorUltramarine70),color4Light:n.extend("--ft-chart-4-light","",p.colorCyan50),color4Base:n.extend("--ft-chart-4-base","",p.colorCyan100),color5Light:n.extend("--ft-chart-5-light","",p.colorRed40),color5Base:n.extend("--ft-chart-5-base","",p.colorRed60),color6Light:n.extend("--ft-chart-6-light","",p.colorGreen40),color6Base:n.extend("--ft-chart-6-base","",p.colorGreen70),color7Light:n.extend("--ft-chart-7-light","",p.colorOrange70),color7Base:n.extend("--ft-chart-7-base","",p.colorOrange100),color8Light:n.extend("--ft-chart-8-light","",p.colorAvocado70),color8Base:n.extend("--ft-chart-8-base","",p.colorAvocado200),color9Light:n.extend("--ft-chart-9-light","",p.colorBrown50),color9Base:n.extend("--ft-chart-9-base","",p.colorBrown200),color10Light:n.extend("--ft-chart-10-light","",p.colorGray50),color10Base:n.extend("--ft-chart-10-base","",p.colorGray80),monochrome10:n.extend("--ft-chart-monochrome-10","",p.colorBrand10),monochrome20:n.extend("--ft-chart-monochrome-20","",p.colorBrand20),monochrome30:n.extend("--ft-chart-monochrome-30","",p.colorBrand40),monochrome40:n.extend("--ft-chart-monochrome-40","",p.colorBrand60),monochrome50:n.extend("--ft-chart-monochrome-50","",p.colorBrand0),monochrome60:n.extend("--ft-chart-monochrome-60","",p.colorBrand200)};var xd={largeHorizontalPadding:n.extend("--ft-chip-large-horizontal-padding","",p.spacing4),largeVerticalPadding:n.extend("--ft-chip-large-vertical-padding","",p.spacing2),largeGap:n.extend("--ft-chip-large-gap","",p.spacing1),largeFocusOutlineOffset:n.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:n.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:n.extend("--ft-chip-large-border-radius","",p.borderRadiusPill),largeBorderWidth:n.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:n.extend("--ft-chip-large-icon-size","",p.iconSize3),mediumHorizontalPadding:n.extend("--ft-chip-medium-horizontal-padding","",p.spacing3),mediumVerticalPadding:n.extend("--ft-chip-medium-vertical-padding","",p.spacing1),mediumGap:n.extend("--ft-chip-medium-gap","",p.spacing1),mediumFocusOutlineOffset:n.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:n.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:n.extend("--ft-chip-medium-border-radius","",p.borderRadiusPill),mediumBorderWidth:n.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:n.extend("--ft-chip-medium-icon-size","",p.iconSize2),smallHorizontalPadding:n.extend("--ft-chip-small-horizontal-padding","",p.spacing2),smallVerticalPadding:n.extend("--ft-chip-small-vertical-padding","",p.spacing05),smallGap:n.extend("--ft-chip-small-gap","",p.spacing1),smallFocusOutlineOffset:n.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:n.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:n.extend("--ft-chip-small-border-radius","",p.borderRadiusPill),smallBorderWidth:n.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:n.extend("--ft-chip-small-icon-size","",p.iconSize1),neutralBackgroundColor:n.extend("--ft-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:n.extend("--ft-chip-neutral-color","",u.contentGlobalPrimary),neutralIconColor:n.extend("--ft-chip-neutral-icon-color","",u.contentGlobalPrimary),neutralBorderColor:n.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:n.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:n.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:n.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:n.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:n.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:n.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:n.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:n.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:n.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:n.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:n.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:n.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:n.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:n.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:n.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:n.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)};var vd={infoBorderColor:n.extend("--ft-border-info-border-color","",u.borderInfoSubtle)};var Sd={borderWidth:n.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:n.extend("--ft-notice-horizontal-padding","",p.spacing2),verticalPadding:n.extend("--ft-notice-vertical-padding","",p.spacing1),borderRadius:n.extend("--ft-notice-border-radius","",p.borderRadiusS),gap:n.extend("--ft-notice-gap","",p.spacing2),iconSize:n.extend("--ft-notice-icon-size","",p.iconSize3),infoBackgroundColor:n.extend("--ft-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:n.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:n.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:n.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:n.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:n.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:n.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:n.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:n.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:n.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:n.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:n.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:n.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:n.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:n.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:n.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly)};var Od={color:n.extend("--ft-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:n.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:n.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:n.extend("--ft-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:n.extend("--ft-checkbox-checked-hover-state-layer-opacity","",p.opacity16),checkedFocusStateLayerOpacity:n.extend("--ft-checkbox-checked-focus-state-layer-opacity","",p.opacity16),checkedActiveStateLayerOpacity:n.extend("--ft-checkbox-checked-active-state-layer-opacity","",p.opacity24),checkedDisabledComponentOpacity:n.extend("--ft-checkbox-checked-disabled-component-opacity","",p.opacity40),uncheckedBorderColor:n.extend("--ft-checkbox-unchecked-border-color","",p.colorGray80),uncheckedStateLayerColor:n.extend("--ft-checkbox-unchecked-state-layer-color","",p.colorGray80),uncheckedHoverStateLayerOpacity:n.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",p.opacity16),uncheckedFocusStateLayerOpacity:n.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",p.opacity16),uncheckedActiveStateLayerOpacity:n.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",p.opacity24),uncheckedDisabledComponentOpacity:n.extend("--ft-checkbox-unchecked-disabled-component-opacity","",p.opacity40),focusFocusRingColor:n.extend("--ft-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:n.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:n.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:n.extend("--ft-checkbox-gap","",p.spacing3)};var Cd={offHoverStateLayerOpacity:n.extend("--ft-toggle-off-hover-state-layer-opacity","",p.opacity16),offFocusStateLayerOpacity:n.extend("--ft-toggle-off-focus-state-layer-opacity","",p.opacity16),offActiveStateLayerOpacity:n.extend("--ft-toggle-off-active-state-layer-opacity","",p.opacity24),offDisabledComponentOpacity:n.extend("--ft-toggle-off-disabled-component-opacity","",p.opacity40),offBackgroundColor:n.extend("--ft-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:n.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:n.extend("--ft-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:n.extend("--ft-toggle-on-hover-state-layer-opacity","",p.opacity16),onFocusStateLayerOpacity:n.extend("--ft-toggle-on-focus-state-layer-opacity","",p.opacity16),onActiveStateLayerOpacity:n.extend("--ft-toggle-on-active-state-layer-opacity","",p.opacity24),onDisabledComponentOpacity:n.extend("--ft-toggle-on-disabled-component-opacity","",p.opacity40),onBackgroundColor:n.extend("--ft-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:n.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:n.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:n.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:n.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:n.extend("--ft-toggle-gap","",p.spacing3)};var Ed={color:n.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:n.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:n.extend("--ft-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:n.extend("--ft-radio-selected-hover-state-layer-opacity","",p.opacity16),selectedFocusStateLayerOpacity:n.extend("--ft-radio-selected-focus-state-layer-opacity","",p.opacity16),selectedActiveStateLayerOpacity:n.extend("--ft-radio-selected-active-state-layer-opacity","",p.opacity24),selectedDisabledComponentOpacity:n.extend("--ft-radio-selected-disabled-component-opacity","",p.opacity40),unselectedStateLayerColor:n.extend("--ft-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:n.extend("--ft-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:n.extend("--ft-radio-unselected-hover-state-layer-opacity","",p.opacity16),unselectedFocusStateLayerOpacity:n.extend("--ft-radio-unselected-focus-state-layer-opacity","",p.opacity16),unselectedActiveStateLayerOpacity:n.extend("--ft-radio-unselected-active-state-layer-opacity","",p.opacity24),unselectedDisabledComponentOpacity:n.extend("--ft-radio-unselected-disabled-component-opacity","",p.opacity40),focusFocusRingColor:n.extend("--ft-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:n.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:n.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:n.extend("--ft-radio-gap","",p.spacing3)};var wd={iconSize:n.extend("--ft-notification-icon-size","",p.iconSize4),horizontalPadding:n.extend("--ft-notification-horizontal-padding","",p.spacing4),verticalPadding:n.extend("--ft-notification-vertical-padding","",p.spacing4),infoBackgroundColor:n.extend("--ft-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:n.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:n.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:n.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:n.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:n.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:n.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:n.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:n.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:n.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:n.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:n.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:n.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:n.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:n.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:n.extend("--ft-notification-error-border-color","",u.borderErrorSubtle),borderRadius:n.extend("--ft-notification-border-radius","",p.borderRadiusPill),borderWidth:n.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:n.extend("--ft-notification-leading-gap","",p.spacing2),trailingGap:n.extend("--ft-notification-trailing-gap","",p.spacing8)};var Ad={horizontalPadding:n.extend("--ft-tooltip-horizontal-padding","",p.spacing2),verticalPadding:n.extend("--ft-tooltip-vertical-padding","",p.spacing2),borderRadius:n.extend("--ft-tooltip-border-radius","",p.borderRadiusS),color:n.extend("--ft-tooltip-color","",u.contentGlobalOnColor),backgroundColor:n.extend("--ft-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:n.extend("--ft-tooltip-background-opacity","",p.opacity80),shadow:n.extend("--ft-tooltip-shadow","",p.shadowElevation03),maxWidth:n.create("--ft-tooltip-max-width","","SIZE","256px"),gap:n.extend("--ft-tooltip-gap","",p.spacing05)};var T={colorPrimary:n.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:n.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:n.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:n.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:n.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:n.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:n.create("--ft-color-error","","COLOR","#B00020"),colorOutline:n.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:n.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:n.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:n.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:n.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:n.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:n.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:n.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:n.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:n.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:n.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:n.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:n.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:n.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:n.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:n.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:n.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:n.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:n.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:n.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:n.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:n.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:n.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:n.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:n.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:n.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:n.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:n.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:n.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:n.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:n.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:n.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:n.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:n.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:n.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:n.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:n.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:n.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:n.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:n.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:n.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:n.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:n.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:n.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:n.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:n.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:n.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:n.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:n.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:n.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:n.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:n.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:n.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:n.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:n.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Li={};X(Li,{FtNotificationEvent:()=>Pi,PostResizeEvent:()=>$i,PreResizeEvent:()=>Ti});var Pi=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Ti=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},$i=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var ji={};X(ji,{computeOffsetPosition:()=>Vi});var Ws=["top","right","bottom","left"],zs=["start","end"],ki=Ws.reduce((t,e)=>t.concat(e,e+"-"+zs[0],e+"-"+zs[1]),[]),Qr=Math.min,Et=Math.max,eo=Math.round;var pt=t=>({x:t,y:t}),Rd={left:"right",right:"left",bottom:"top",top:"bottom"},Nd={start:"end",end:"start"};function Di(t,e,r){return Et(t,Qr(e,r))}function Ko(t,e){return typeof t=="function"?t(e):t}function mr(t){return t.split("-")[0]}function wt(t){return t.split("-")[1]}function Mi(t){return t==="x"?"y":"x"}function Ui(t){return t==="y"?"height":"width"}function Go(t){return["top","bottom"].includes(mr(t))?"y":"x"}function Fi(t){return Mi(Go(t))}function Hs(t,e,r){r===void 0&&(r=!1);let o=wt(t),i=Fi(t),a=Ui(i),s=i==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Ii(s)),[s,Ii(s)]}function Vs(t){return t.replace(/start|end/g,e=>Nd[e])}function Ii(t){return t.replace(/left|right|bottom|top/g,e=>Rd[e])}function _d(t){return{top:0,right:0,bottom:0,left:0,...t}}function js(t){return typeof t!="number"?_d(t):{top:t,right:t,bottom:t,left:t}}function qt(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Ks(t,e,r){let{reference:o,floating:i}=t,a=Go(e),s=Fi(e),l=Ui(s),c=mr(e),d=a==="y",f=o.x+o.width/2-i.width/2,h=o.y+o.height/2-i.height/2,y=o[l]/2-i[l]/2,b;switch(c){case"top":b={x:f,y:o.y-i.height};break;case"bottom":b={x:f,y:o.y+o.height};break;case"right":b={x:o.x+o.width,y:h};break;case"left":b={x:o.x-i.width,y:h};break;default:b={x:o.x,y:o.y}}switch(wt(e)){case"start":b[s]-=y*(r&&d?-1:1);break;case"end":b[s]+=y*(r&&d?-1:1);break}return b}var Gs=async(t,e,r)=>{let{placement:o="bottom",strategy:i="absolute",middleware:a=[],platform:s}=r,l=a.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(e)),d=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:h}=Ks(d,o,c),y=o,b={},x=0;for(let C=0;C<l.length;C++){let{name:N,fn:_}=l[C],{x:L,y:O,data:S,reset:E}=await _({x:f,y:h,initialPlacement:o,placement:y,strategy:i,middlewareData:b,rects:d,platform:s,elements:{reference:t,floating:e}});if(f=L??f,h=O??h,b={...b,[N]:{...b[N],...S}},E&&x<=50){x++,typeof E=="object"&&(E.placement&&(y=E.placement),E.rects&&(d=E.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):E.rects),{x:f,y:h}=Ks(d,y,c)),C=-1;continue}}return{x:f,y:h,placement:y,strategy:i,middlewareData:b}};async function Bi(t,e){var r;e===void 0&&(e={});let{x:o,y:i,platform:a,rects:s,elements:l,strategy:c}=t,{boundary:d="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:y=!1,padding:b=0}=Ko(e,t),x=js(b),N=l[y?h==="floating"?"reference":"floating":h],_=qt(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(N)))==null||r?N:N.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:d,rootBoundary:f,strategy:c})),L=h==="floating"?{...s.floating,x:o,y:i}:s.reference,O=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),S=await(a.isElement==null?void 0:a.isElement(O))?await(a.getScale==null?void 0:a.getScale(O))||{x:1,y:1}:{x:1,y:1},E=qt(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:L,offsetParent:O,strategy:c}):L);return{top:(_.top-E.top+x.top)/S.y,bottom:(E.bottom-_.bottom+x.bottom)/S.y,left:(_.left-E.left+x.left)/S.x,right:(E.right-_.right+x.right)/S.x}}function Pd(t,e,r){return(t?[...r.filter(i=>wt(i)===t),...r.filter(i=>wt(i)!==t)]:r.filter(i=>mr(i)===i)).filter(i=>t?wt(i)===t||(e?Vs(i)!==i:!1):!0)}var zi=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,o,i;let{rects:a,middlewareData:s,placement:l,platform:c,elements:d}=e,{crossAxis:f=!1,alignment:h,allowedPlacements:y=ki,autoAlignment:b=!0,...x}=Ko(t,e),C=h!==void 0||y===ki?Pd(h||null,b,y):y,N=await Bi(e,x),_=((r=s.autoPlacement)==null?void 0:r.index)||0,L=C[_];if(L==null)return{};let O=Hs(L,a,await(c.isRTL==null?void 0:c.isRTL(d.floating)));if(l!==L)return{reset:{placement:C[0]}};let S=[N[mr(L)],N[O[0]],N[O[1]]],E=[...((o=s.autoPlacement)==null?void 0:o.overflows)||[],{placement:L,overflows:S}],D=C[_+1];if(D)return{data:{index:_+1,overflows:E},reset:{placement:D}};let U=E.map(m=>{let v=wt(m.placement);return[m.placement,v&&f?m.overflows.slice(0,2).reduce((A,V)=>A+V,0):m.overflows[0],m.overflows]}).sort((m,v)=>m[1]-v[1]),K=((i=U.filter(m=>m[2].slice(0,wt(m[0])?2:3).every(v=>v<=0))[0])==null?void 0:i[0])||U[0][0];return K!==l?{data:{index:_+1,overflows:E},reset:{placement:K}}:{}}}};var Wi=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:o,placement:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:N=>{let{x:_,y:L}=N;return{x:_,y:L}}},...c}=Ko(t,e),d={x:r,y:o},f=await Bi(e,c),h=Go(mr(i)),y=Mi(h),b=d[y],x=d[h];if(a){let N=y==="y"?"top":"left",_=y==="y"?"bottom":"right",L=b+f[N],O=b-f[_];b=Di(L,b,O)}if(s){let N=h==="y"?"top":"left",_=h==="y"?"bottom":"right",L=x+f[N],O=x-f[_];x=Di(L,x,O)}let C=l.fn({...e,[y]:b,[h]:x});return{...C,data:{x:C.x-r,y:C.y-o}}}}};function dt(t){return qs(t)?(t.nodeName||"").toLowerCase():"#document"}function we(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function ft(t){var e;return(e=(qs(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function qs(t){return t instanceof Node||t instanceof we(t).Node}function Xe(t){return t instanceof Element||t instanceof we(t).Element}function He(t){return t instanceof HTMLElement||t instanceof we(t).HTMLElement}function Zs(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof we(t).ShadowRoot}function yr(t){let{overflow:e,overflowX:r,overflowY:o,display:i}=Ie(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+r)&&!["inline","contents"].includes(i)}function Ys(t){return["table","td","th"].includes(dt(t))}function qo(t){let e=Yo(),r=Ie(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(o=>(r.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(r.contain||"").includes(o))}function Xs(t){let e=Yt(t);for(;He(e)&&!to(e);){if(qo(e))return e;e=Yt(e)}return null}function Yo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function to(t){return["html","body","#document"].includes(dt(t))}function Ie(t){return we(t).getComputedStyle(t)}function ro(t){return Xe(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Yt(t){if(dt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Zs(t)&&t.host||ft(t);return Zs(e)?e.host:e}function Js(t){let e=Yt(t);return to(e)?t.ownerDocument?t.ownerDocument.body:t.body:He(e)&&yr(e)?e:Js(e)}function Zo(t,e,r){var o;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=Js(t),a=i===((o=t.ownerDocument)==null?void 0:o.body),s=we(i);return a?e.concat(s,s.visualViewport||[],yr(i)?i:[],s.frameElement&&r?Zo(s.frameElement):[]):e.concat(i,Zo(i,[],r))}function tl(t){let e=Ie(t),r=parseFloat(e.width)||0,o=parseFloat(e.height)||0,i=He(t),a=i?t.offsetWidth:r,s=i?t.offsetHeight:o,l=eo(r)!==a||eo(o)!==s;return l&&(r=a,o=s),{width:r,height:o,$:l}}function rl(t){return Xe(t)?t:t.contextElement}function gr(t){let e=rl(t);if(!He(e))return pt(1);let r=e.getBoundingClientRect(),{width:o,height:i,$:a}=tl(e),s=(a?eo(r.width):r.width)/o,l=(a?eo(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Td=pt(0);function ol(t){let e=we(t);return!Yo()||!e.visualViewport?Td:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function $d(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==we(t)?!1:e}function oo(t,e,r,o){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),a=rl(t),s=pt(1);e&&(o?Xe(o)&&(s=gr(o)):s=gr(t));let l=$d(a,r,o)?ol(a):pt(0),c=(i.left+l.x)/s.x,d=(i.top+l.y)/s.y,f=i.width/s.x,h=i.height/s.y;if(a){let y=we(a),b=o&&Xe(o)?we(o):o,x=y.frameElement;for(;x&&o&&b!==y;){let C=gr(x),N=x.getBoundingClientRect(),_=Ie(x),L=N.left+(x.clientLeft+parseFloat(_.paddingLeft))*C.x,O=N.top+(x.clientTop+parseFloat(_.paddingTop))*C.y;c*=C.x,d*=C.y,f*=C.x,h*=C.y,c+=L,d+=O,x=we(x).frameElement}}return qt({width:f,height:h,x:c,y:d})}function Ld(t){let{rect:e,offsetParent:r,strategy:o}=t,i=He(r),a=ft(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},l=pt(1),c=pt(0);if((i||!i&&o!=="fixed")&&((dt(r)!=="body"||yr(a))&&(s=ro(r)),He(r))){let d=oo(r);l=gr(r),c.x=d.x+r.clientLeft,c.y=d.y+r.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+c.x,y:e.y*l.y-s.scrollTop*l.y+c.y}}function Id(t){return Array.from(t.getClientRects())}function nl(t){return oo(ft(t)).left+ro(t).scrollLeft}function kd(t){let e=ft(t),r=ro(t),o=t.ownerDocument.body,i=Et(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),a=Et(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight),s=-r.scrollLeft+nl(t),l=-r.scrollTop;return Ie(o).direction==="rtl"&&(s+=Et(e.clientWidth,o.clientWidth)-i),{width:i,height:a,x:s,y:l}}function Dd(t,e){let r=we(t),o=ft(t),i=r.visualViewport,a=o.clientWidth,s=o.clientHeight,l=0,c=0;if(i){a=i.width,s=i.height;let d=Yo();(!d||d&&e==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:a,height:s,x:l,y:c}}function Md(t,e){let r=oo(t,!0,e==="fixed"),o=r.top+t.clientTop,i=r.left+t.clientLeft,a=He(t)?gr(t):pt(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,c=i*a.x,d=o*a.y;return{width:s,height:l,x:c,y:d}}function Qs(t,e,r){let o;if(e==="viewport")o=Dd(t,r);else if(e==="document")o=kd(ft(t));else if(Xe(e))o=Md(e,r);else{let i=ol(t);o={...e,x:e.x-i.x,y:e.y-i.y}}return qt(o)}function il(t,e){let r=Yt(t);return r===e||!Xe(r)||to(r)?!1:Ie(r).position==="fixed"||il(r,e)}function Ud(t,e){let r=e.get(t);if(r)return r;let o=Zo(t,[],!1).filter(l=>Xe(l)&&dt(l)!=="body"),i=null,a=Ie(t).position==="fixed",s=a?Yt(t):t;for(;Xe(s)&&!to(s);){let l=Ie(s),c=qo(s);!c&&l.position==="fixed"&&(i=null),(a?!c&&!i:!c&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||yr(s)&&!c&&il(t,s))?o=o.filter(f=>f!==s):i=l,s=Yt(s)}return e.set(t,o),o}function Fd(t){let{element:e,boundary:r,rootBoundary:o,strategy:i}=t,s=[...r==="clippingAncestors"?Ud(e,this._c):[].concat(r),o],l=s[0],c=s.reduce((d,f)=>{let h=Qs(e,f,i);return d.top=Et(h.top,d.top),d.right=Qr(h.right,d.right),d.bottom=Qr(h.bottom,d.bottom),d.left=Et(h.left,d.left),d},Qs(e,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Bd(t){return tl(t)}function zd(t,e,r){let o=He(e),i=ft(e),a=r==="fixed",s=oo(t,!0,a,e),l={scrollLeft:0,scrollTop:0},c=pt(0);if(o||!o&&!a)if((dt(e)!=="body"||yr(i))&&(l=ro(e)),o){let d=oo(e,!0,a,e);c.x=d.x+e.clientLeft,c.y=d.y+e.clientTop}else i&&(c.x=nl(i));return{x:s.left+l.scrollLeft-c.x,y:s.top+l.scrollTop-c.y,width:s.width,height:s.height}}function el(t,e){return!He(t)||Ie(t).position==="fixed"?null:e?e(t):t.offsetParent}function al(t,e){let r=we(t);if(!He(t))return r;let o=el(t,e);for(;o&&Ys(o)&&Ie(o).position==="static";)o=el(o,e);return o&&(dt(o)==="html"||dt(o)==="body"&&Ie(o).position==="static"&&!qo(o))?r:o||Xs(t)||r}var Wd=async function(t){let{reference:e,floating:r,strategy:o}=t,i=this.getOffsetParent||al,a=this.getDimensions;return{reference:zd(e,await i(r),o),floating:{x:0,y:0,...await a(r)}}};function Hd(t){return Ie(t).direction==="rtl"}var Xo={convertOffsetParentRelativeRectToViewportRelativeRect:Ld,getDocumentElement:ft,getClippingRect:Fd,getOffsetParent:al,getElementRects:Wd,getClientRects:Id,getDimensions:Bd,getScale:gr,isElement:Xe,isRTL:Hd};var sl=(t,e,r)=>{let o=new Map,i={platform:Xo,...r},a={...i.platform,_c:o};return Gs(t,e,{...i,platform:a})};function ll(t){return Vd(t)}function Hi(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Vd(t){for(let e=t;e;e=Hi(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Hi(t);e;e=Hi(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}async function Vi(t,e,r){return sl(t,e,{platform:{...Xo,getOffsetParent:o=>Xo.getOffsetParent(o,ll)},middleware:[Wi({crossAxis:!0}),zi({allowedPlacements:[r]})]})}var Zi={};X(Zi,{FtLitElement:()=>M});var Ki={};X(Ki,{ScopedRegistryLitElement:()=>no});var Jo=window,jd=Jo.ShadowRoot&&(Jo.ShadyCSS===void 0||Jo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ug=Symbol();var cl=(t,e)=>{jd?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let o=document.createElement("style"),i=Jo.litNonce;i!==void 0&&o.setAttribute("nonce",i),o.textContent=r.cssText,t.appendChild(o)})};var no=class extends st{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let r={...e.shadowRootOptions,customElements:e.registry},o=this.renderOptions.creationScope=this.attachShadow(r);return cl(o,e.elementStyles),o}};var Gi=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},fl,pl=Symbol("constructorPrototype"),dl=Symbol("constructorName"),ul=Symbol("exportpartsDebouncer"),M=class extends no{constructor(){super(),this.adoptedCustomStyleSheet=new CSSStyleSheet,this.useAdoptedStyleSheets=!0,this[fl]=new re(5),this[dl]=this.constructor.name,this[pl]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[dl]&&Object.setPrototypeOf(this,this[pl])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet])}catch(e){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",e)}}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var r,o,i;if(this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((r=this.customStylesheet)!==null&&r!==void 0?r:"")}catch(a){console.error(a,this.customStylesheet)}}else if(((i=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,r,o;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(o=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&o!==void 0&&o)&&this[ul].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,o,i,a,s,l;let c=y=>y!=null&&y.trim().length>0,d=e.filter(c).map(y=>y.trim());if(d.length===0){this.removeAttribute("exportparts");return}let f=new Set;for(let y of(o=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&o!==void 0?o:[]){let b=(a=(i=y.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],x=(l=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(C=>C.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...b,...x).filter(c).map(C=>C.trim()).forEach(C=>f.add(C))}if(f.size===0){this.removeAttribute("exportparts");return}let h=[...f.values()].flatMap(y=>d.map(b=>`${y}:${b}--${y}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};fl=ul;Gi([g()],M.prototype,"exportpartsPrefix",void 0);Gi([ue([])],M.prototype,"exportpartsPrefixes",void 0);Gi([g()],M.prototype,"customStylesheet",void 0);var hl={};var Ji={};X(Ji,{highlightHtml:()=>Xi,highlightHtmlColorCssVariable:()=>ml,highlightHtmlStyles:()=>Gd});var Xt=class t{constructor(e,r=!0,o=[],i=5e3){this.ctx=e,this.iframes=r,this.exclude=o,this.iframesTimeout=i}static matches(e,r){let o=typeof r=="string"?[r]:r,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let a=!1;return o.every(s=>i.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(o=>{let i=r.filter(a=>a.contains(o)).length>0;r.indexOf(o)===-1&&!i&&r.push(o)}),r}getIframeContents(e,r,o=()=>{}){let i;try{let a=e.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{o()}i&&r(i)}isIframeBlank(e){let r="about:blank",o=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&o!==r&&o}observeIframeLoad(e,r,o){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,o))}catch{o()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,o){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,o):this.getIframeContents(e,r,o):this.observeIframeLoad(e,r,o)}catch{o()}}waitForIframes(e,r){let o=0;this.forEachIframe(e,()=>!0,i=>{o++,this.waitForIframes(i.querySelector("html"),()=>{--o||r()})},i=>{i||r()})}forEachIframe(e,r,o,i=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let c=()=>{--s<=0&&i(l)};s||c(),a.forEach(d=>{t.matches(d,this.exclude)?c():this.onIframeReady(d,f=>{r(d)&&(l++,o(f)),c()},c)})}createIterator(e,r,o){return document.createNodeIterator(e,r,o,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,o){let i=e.compareDocumentPosition(o),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(r!==null){let s=r.compareDocumentPosition(o),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),o;return r===null?o=e.nextNode():o=e.nextNode()&&e.nextNode(),{prevNode:r,node:o}}checkIframeFilter(e,r,o,i){let a=!1,s=!1;return i.forEach((l,c)=>{l.val===o&&(a=c,s=l.handled)}),this.compareNodeIframe(e,r,o)?(a===!1&&!s?i.push({val:o,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:o,handled:!1}),!1)}handleOpenIframes(e,r,o,i){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,o,i)})})}iterateThroughNodes(e,r,o,i,a){let s=this.createIterator(r,e,i),l=[],c=[],d,f,h=()=>({prevNode:f,node:d}=this.getIteratorNode(s),d);for(;h();)this.iframes&&this.forEachIframe(r,y=>this.checkIframeFilter(d,f,y,l),y=>{this.createInstanceOnIframe(y).forEachNode(e,b=>c.push(b),i)}),c.push(d);c.forEach(y=>{o(y)}),this.iframes&&this.handleOpenIframes(l,e,o,i),a()}forEachNode(e,r,o,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(l=>{let c=()=>{this.iterateThroughNodes(e,l,r,o,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(l,c):c()})}};var io=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){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},e)}get opt(){return this._opt}get iterator(){return new Xt(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let o=this.opt.log;this.opt.debug&&typeof o=="object"&&typeof o[r]=="function"&&o[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,o=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let s=r[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&c!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(c)})`,`gm${o}`),i+`(${this.processSynomyms(l)}|${this.processSynomyms(c)})`+i))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,o,i)=>{let a=i.charAt(o+1);return/[(|)\\]/.test(a)||a===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],o=this.opt.ignorePunctuation;return Array.isArray(o)&&o.length&&r.push(this.escapeStr(o.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",o=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return e.split("").forEach(a=>{o.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),i.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",o=this.opt.accuracy,i=typeof o=="string"?o:o.value,a=typeof o=="string"?[]:o.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let r=[];return e.forEach(o=>{this.opt.separateWordSearch?o.split(" ").forEach(i=>{i.trim()&&r.indexOf(i)===-1&&r.push(i)}):o.trim()&&r.indexOf(o)===-1&&r.push(o)}),{keywords:r.sort((o,i)=>i.length-o.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],o=0;return e.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(i,o);l&&(i.start=a,i.length=s-a,r.push(i),o=s)}),r}callNoMatchOnInvalidRanges(e,r){let o,i,a=!1;return e&&typeof e.start<"u"?(o=parseInt(e.start,10),i=o+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-r>0&&i-o>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:o,end:i,valid:a}}checkWhitespaceRanges(e,r,o){let i,a=!0,s=o.length,l=r-s,c=parseInt(e.start,10)-l;return c=c>s?s:c,i=c+parseInt(e.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),c<0||i-c<0||c>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):o.substring(c,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:c,end:i,valid:a}}getTextNodes(e){let r="",o=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{o.push({start:r.length,end:(r+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:o})})}matchesExclude(e){return Xt.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,o){let i=this.opt.element?this.opt.element:"mark",a=e.splitText(r),s=a.splitText(o-r),l=document.createElement(i);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(e,r,o,i,a){e.nodes.every((s,l)=>{let c=e.nodes[l+1];if(typeof c>"u"||c.start>r){if(!i(s.node))return!1;let d=r-s.start,f=(o>s.end?s.end:o)-s.start,h=e.value.substr(0,s.start),y=e.value.substr(f+s.start);if(s.node=this.wrapRangeInTextNode(s.node,d,f),e.value=h+y,e.nodes.forEach((b,x)=>{x>=l&&(e.nodes[x].start>0&&x!==l&&(e.nodes[x].start-=f),e.nodes[x].end-=f)}),o-=f,a(s.node.previousSibling,s.start),o>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,o,i,a){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(c=>{c=c.node;let d;for(;(d=e.exec(c.textContent))!==null&&d[s]!=="";){if(!o(d[s],c))continue;let f=d.index;if(s!==0)for(let h=1;h<s;h++)f+=d[h].length;c=this.wrapRangeInTextNode(c,f,f+d[s].length),i(c.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,r,o,i,a){let s=r===0?0:r+1;this.getTextNodes(l=>{let c;for(;(c=e.exec(l.value))!==null&&c[s]!=="";){let d=c.index;if(s!==0)for(let h=1;h<s;h++)d+=c[h].length;let f=d+c[s].length;this.wrapRangeInMappedTextNode(l,d,f,h=>o(c[s],h),(h,y)=>{e.lastIndex=y,i(h)})}a()})}wrapRangeFromIndex(e,r,o,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,c)=>{let{start:d,end:f,valid:h}=this.checkWhitespaceRanges(l,s,a.value);h&&this.wrapRangeInMappedTextNode(a,d,f,y=>r(y,l,a.value.substring(d,f),c),y=>{o(y,l)})}),i()})}unwrapMatches(e){let r=e.parentNode,o=document.createDocumentFragment();for(;e.firstChild;)o.appendChild(e.removeChild(e.firstChild));r.replaceChild(o,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let o=0,i="wrapMatches",a=s=>{o++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,o),a,()=>{o===0&&this.opt.noMatch(e),this.opt.done(o)})}mark(e,r){this.opt=r;let o=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",c=d=>{let f=new RegExp(this.createRegExp(d),`gm${l}`),h=0;this.log(`Searching with expression "${f}"`),this[i](f,1,(y,b)=>this.opt.filter(b,d,o,h),y=>{h++,o++,this.opt.each(y)},()=>{h===0&&this.opt.noMatch(d),a[s-1]===d?this.opt.done(o):c(a[a.indexOf(d)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(o):c(a[0])}markRanges(e,r){this.opt=r;let o=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,l,c)=>this.opt.filter(a,s,l,c),(a,s)=>{o++,this.opt.each(a,s)},()=>{this.opt.done(o)})):this.opt.done(o)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,o=>{this.unwrapMatches(o)},o=>{let i=Xt.matches(o,r),a=this.matchesExclude(o);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function qi(t){let e=new io(t);return this.mark=(r,o)=>(e.mark(r,o),this),this.markRegExp=(r,o)=>(e.markRegExp(r,o),this),this.markRanges=(r,o)=>(e.markRanges(r,o),this),this.unmark=r=>(e.unmark(r),this),this}var Kd=qi,ml=n.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Gd=R`
140
7
  .highlight-html-match {
141
- background: ${Gr};
8
+ background: ${ml};
142
9
  }
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`
10
+ `,Yi={className:"highlight-html-match"};function Xi(t,e){var r;let o=t.getAttribute("data-highlight-html-query");if((o??"")!==(e??"")){let i=new Kd(t);i.unmark(Yi),e&&e.trim()&&(i.mark(e.replace(/"[^"]+"/g,""),{...Yi,separateWordSearch:!0}),((r=e.match(/"[^"]+"/g))!==null&&r!==void 0?r:[]).forEach(s=>i.mark(s.replace(/"/g,""),{...Yi,separateWordSearch:!1})))}t.setAttribute("data-highlight-html-query",e??"")}var Qi={};X(Qi,{noTextSelect:()=>Jt,safariEllipsisFix:()=>ao,wordWrap:()=>Zd});var Jt=R`
144
11
  .ft-no-text-select {
145
12
  -webkit-touch-callout: none;
146
13
  -webkit-user-select: none;
@@ -149,7 +16,7 @@ function Re(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=$
149
16
  -ms-user-select: none;
150
17
  user-select: none;
151
18
  }
152
- `,Xr=dt`
19
+ `,Zd=R`
153
20
  .ft-word-wrap {
154
21
  white-space: normal;
155
22
  word-wrap: break-word;
@@ -161,7 +28,7 @@ function Re(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=$
161
28
  -webkit-hyphens: auto;
162
29
  hyphens: auto
163
30
  }
164
- `,tn=dt`
31
+ `,ao=R`
165
32
  .ft-safari-ellipsis-fix {
166
33
  margin-right: 0;
167
34
 
@@ -172,20 +39,20 @@ function Re(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=$
172
39
  display: inline-block;
173
40
  width: 0;
174
41
  }
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 En(t){return t.o||t.t}function $n(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=$n(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?En(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=$n(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 $n(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=En(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 En(t)},ownKeys:function(t){return Reflect.ownKeys(En(t))},set:function(t,e,o){var i=Mn(En(t),e);if(null==i?void 0:i.set)return i.set.call(t.k,o),!0;if(!t.P){var r=Tn(En(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=En(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 Ea(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=Ea();$a.withExtraArgument=Ea;var ka,Ra=$a,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`
42
+ `;var yl={};var ea={};X(ea,{ParametrizedLabelResolver:()=>so});var so=class{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var o,i;e=this.resolvePluralKey(e,r);let a=(i=(o=this.labels[e])!==null&&o!==void 0?o:this.defaultLabels[e])!==null&&i!==void 0?i:"";return r.forEach((s,l)=>a=a.replace(new RegExp(`\\{${l}([^}]*)\\}`,"g"),(c,d)=>this.formatValue(s,d))),a}resolvePluralKey(e,r){for(let o of r)if(typeof o=="number"){let i=`${String(e)}[\\=${o}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}formatValue(e,r){return e instanceof Date?this.formatDate(e,r):e??""}formatDate(e,r){let o=i=>r?.includes("date")?e.toLocaleDateString(i):r?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return o(document.documentElement.lang)}catch{return o()}}};var Aa={};X(Aa,{FtCommandQueue:()=>lo,FtLitElementRedux:()=>Ue,FtReduxStore:()=>ht,clearAllStores:()=>If,isFtReduxStore:()=>Qt,redux:()=>he,reduxEventListener:()=>Yd,reduxReactive:()=>qd});var qd=()=>(t,e)=>{var r;let o=t.constructor;o.reduxReactiveProperties=new Set(o.reduxReactiveProperties),(r=o.reduxReactiveProperties)===null||r===void 0||r.add(e)},he=t=>{let e=t??{};return(r,o)=>{var i;let a={hasChanged:(l,c)=>!Ee(l,c),attribute:!1,...e};g(a)(r,o);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(o,{selector:(i=e.selector)!==null&&i!==void 0?i:l=>l[o],store:e.store})}},Yd=t=>(e,r)=>{let o=e.constructor;o.reduxEventListeners=new Map(o.reduxEventListeners),o.reduxEventListeners.set(r,t)};var lo=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(o=>o.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(o=>o.type===e);return r&&(this.queue=this.queue.filter(o=>o!==r)),r}};function Qt(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var gl,bl,xl,Qo=Symbol("internalReduxEventsUnsubscribers"),At=Symbol("internalStoresUnsubscribers"),er=Symbol("internalStores"),Ue=class extends M{constructor(){super(...arguments),this[gl]=new Map,this[bl]=new Map,this[xl]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[er].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[er].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[er].get(e)}addStore(e,r){var o;r=(o=r??(Qt(e)?e.name:void 0))!==null&&o!==void 0?o:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,e)}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[er].delete(r)}setupStore(e,r){this[er].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[er].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let o=this.constructor.getPropertyOptions(r);if(!o?.attribute||!this.hasAttribute(typeof o?.attribute=="string"?o.attribute:r)){let i=this.getStore(e.store);i&&(e.store?this[At].has(e.store):this[At].size>0)&&(this[r]=e.selector(i.getState(),this))}})}subscribeToStore(e,r){var o;this[At].set(e,r.subscribe(()=>this.updateFromStores())),Qt(r)&&r.eventBus&&((o=this.reduxConstructor.reduxEventListeners)===null||o===void 0||o.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||r.name===i.store)){let s=l=>this[a](l);r.eventBus.addEventListener(i.eventName,s),this[Qo].push(()=>r.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[At].forEach((e,r)=>this.unsubscribeFromStore(r)),this[Qo].forEach(e=>e()),this[Qo]=[]}unsubscribeFromStore(e){this[At].has(e)&&this[At].get(e)(),this[At].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};gl=At,bl=er,xl=Qo;Ue.reduxProperties=new Map;Ue.reduxReactiveProperties=new Set;Ue.reduxEventListeners=new Map;function Fe(t){for(var e=arguments.length,r=Array(e>1?e-1:0),o=1;o<e;o++)r[o-1]=arguments[o];if(0)var i,a;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function ut(t){return!!t&&!!t[J]}function Ve(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var o=Object.getPrototypeOf(r);if(o===null)return!0;var i=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===nf}(t)||Array.isArray(t)||!!t[Al]||!!(!((e=t.constructor)===null||e===void 0)&&e[Al])||ca(t)||pa(t))}function tr(t,e,r){r===void 0&&(r=!1),vr(t)===0?(r?Object.keys:xr)(t).forEach(function(o){r&&typeof o=="symbol"||e(o,t[o],t)}):t.forEach(function(o,i){return e(i,o,t)})}function vr(t){var e=t[J];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:ca(t)?2:pa(t)?3:0}function br(t,e){return vr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Xd(t,e){return vr(t)===2?t.get(e):t[e]}function Rl(t,e,r){var o=vr(t);o===2?t.set(e,r):o===3?t.add(r):t[e]=r}function Nl(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function ca(t){return rf&&t instanceof Map}function pa(t){return of&&t instanceof Set}function Rt(t){return t.o||t.t}function da(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Tl(t);delete e[J];for(var r=xr(e),o=0;o<r.length;o++){var i=r[o],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function fa(t,e){return e===void 0&&(e=!1),ua(t)||ut(t)||!Ve(t)||(vr(t)>1&&(t.set=t.add=t.clear=t.delete=Jd),Object.freeze(t),e&&tr(t,function(r,o){return fa(o,!0)},!0)),t}function Jd(){Fe(2)}function ua(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Je(t){var e=la[t];return e||Fe(18,t),e}function Qd(t,e){la[t]||(la[t]=e)}function ia(){return po}function ta(t,e){e&&(Je("Patches"),t.u=[],t.s=[],t.v=e)}function en(t){aa(t),t.p.forEach(ef),t.p=null}function aa(t){t===po&&(po=t.l)}function vl(t){return po={p:[],l:po,h:t,m:!0,_:0}}function ef(t){var e=t[J];e.i===0||e.i===1?e.j():e.g=!0}function ra(t,e){e._=e.p.length;var r=e.p[0],o=t!==void 0&&t!==r;return e.h.O||Je("ES5").S(e,t,o),o?(r[J].P&&(en(e),Fe(4)),Ve(t)&&(t=tn(e,t),e.l||rn(e,t)),e.u&&Je("Patches").M(r[J].t,t,e.u,e.s)):t=tn(e,r,[]),en(e),e.u&&e.v(e.u,e.s),t!==Pl?t:void 0}function tn(t,e,r){if(ua(e))return e;var o=e[J];if(!o)return tr(e,function(l,c){return Sl(t,o,e,l,c,r)},!0),e;if(o.A!==t)return e;if(!o.P)return rn(t,o.t,!0),o.t;if(!o.I){o.I=!0,o.A._--;var i=o.i===4||o.i===5?o.o=da(o.k):o.o,a=i,s=!1;o.i===3&&(a=new Set(i),i.clear(),s=!0),tr(a,function(l,c){return Sl(t,o,i,l,c,r,s)}),rn(t,i,!1),r&&t.u&&Je("Patches").N(o,r,t.u,t.s)}return o.o}function Sl(t,e,r,o,i,a,s){if(ut(i)){var l=tn(t,i,a&&e&&e.i!==3&&!br(e.R,o)?a.concat(o):void 0);if(Rl(r,o,l),!ut(l))return;t.m=!1}else s&&r.add(i);if(Ve(i)&&!ua(i)){if(!t.h.D&&t._<1)return;tn(t,i),e&&e.A.l||rn(t,i)}}function rn(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&fa(e,r)}function oa(t,e){var r=t[J];return(r?Rt(r):t)[e]}function Ol(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var o=Object.getOwnPropertyDescriptor(r,e);if(o)return o;r=Object.getPrototypeOf(r)}}function Nt(t){t.P||(t.P=!0,t.l&&Nt(t.l))}function na(t){t.o||(t.o=da(t.t))}function sa(t,e,r){var o=ca(e)?Je("MapSet").F(e,r):pa(e)?Je("MapSet").T(e,r):t.O?function(i,a){var s=Array.isArray(i),l={i:s?1:0,A:a?a.A:ia(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},c=l,d=fo;s&&(c=[l],d=co);var f=Proxy.revocable(c,d),h=f.revoke,y=f.proxy;return l.k=y,l.j=h,y}(e,r):Je("ES5").J(e,r);return(r?r.A:ia()).p.push(o),o}function tf(t){return ut(t)||Fe(22,t),function e(r){if(!Ve(r))return r;var o,i=r[J],a=vr(r);if(i){if(!i.P&&(i.i<4||!Je("ES5").K(i)))return i.t;i.I=!0,o=Cl(r,a),i.I=!1}else o=Cl(r,a);return tr(o,function(s,l){i&&Xd(i.t,s)===l||Rl(o,s,e(l))}),a===3?new Set(o):o}(t)}function Cl(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return da(t)}function _l(){function t(s,l){var c=a[s];return c?c.enumerable=l:a[s]=c={configurable:!0,enumerable:l,get:function(){var d=this[J];return fo.get(d,s)},set:function(d){var f=this[J];fo.set(f,s,d)}},c}function e(s){for(var l=s.length-1;l>=0;l--){var c=s[l][J];if(!c.P)switch(c.i){case 5:o(c)&&Nt(c);break;case 4:r(c)&&Nt(c)}}}function r(s){for(var l=s.t,c=s.k,d=xr(c),f=d.length-1;f>=0;f--){var h=d[f];if(h!==J){var y=l[h];if(y===void 0&&!br(l,h))return!0;var b=c[h],x=b&&b[J];if(x?x.t!==y:!Nl(b,y))return!0}}var C=!!l[J];return d.length!==xr(l).length+(C?0:1)}function o(s){var l=s.k;if(l.length!==s.t.length)return!0;var c=Object.getOwnPropertyDescriptor(l,l.length-1);if(c&&!c.get)return!0;for(var d=0;d<l.length;d++)if(!l.hasOwnProperty(d))return!0;return!1}function i(s){s.g&&Fe(3,JSON.stringify(Rt(s)))}var a={};Qd("ES5",{J:function(s,l){var c=Array.isArray(s),d=function(h,y){if(h){for(var b=Array(y.length),x=0;x<y.length;x++)Object.defineProperty(b,""+x,t(x,!0));return b}var C=Tl(y);delete C[J];for(var N=xr(C),_=0;_<N.length;_++){var L=N[_];C[L]=t(L,h||!!C[L].enumerable)}return Object.create(Object.getPrototypeOf(y),C)}(c,s),f={i:c?5:4,A:l?l.A:ia(),P:!1,I:!1,R:{},l,t:s,k:d,o:null,g:!1,C:!1};return Object.defineProperty(d,J,{value:f,writable:!0}),d},S:function(s,l,c){c?ut(l)&&l[J].A===s&&e(s.p):(s.u&&function d(f){if(f&&typeof f=="object"){var h=f[J];if(h){var y=h.t,b=h.k,x=h.R,C=h.i;if(C===4)tr(b,function(S){S!==J&&(y[S]!==void 0||br(y,S)?x[S]||d(b[S]):(x[S]=!0,Nt(h)))}),tr(y,function(S){b[S]!==void 0||br(b,S)||(x[S]=!1,Nt(h))});else if(C===5){if(o(h)&&(Nt(h),x.length=!0),b.length<y.length)for(var N=b.length;N<y.length;N++)x[N]=!1;else for(var _=y.length;_<b.length;_++)x[_]=!0;for(var L=Math.min(b.length,y.length),O=0;O<L;O++)b.hasOwnProperty(O)||(x[O]=!0),x[O]===void 0&&d(b[O])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):o(s)}})}var El,po,ha=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",rf=typeof Map<"u",of=typeof Set<"u",wl=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Pl=ha?Symbol.for("immer-nothing"):((El={})["immer-nothing"]=!0,El),Al=ha?Symbol.for("immer-draftable"):"__$immer_draftable",J=ha?Symbol.for("immer-state"):"__$immer_state";var nf=""+Object.prototype.constructor,xr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Tl=Object.getOwnPropertyDescriptors||function(t){var e={};return xr(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},la={},fo={get:function(t,e){if(e===J)return t;var r=Rt(t);if(!br(r,e))return function(i,a,s){var l,c=Ol(a,s);return c?"value"in c?c.value:(l=c.get)===null||l===void 0?void 0:l.call(i.k):void 0}(t,r,e);var o=r[e];return t.I||!Ve(o)?o:o===oa(t.t,e)?(na(t),t.o[e]=sa(t.A.h,o,t)):o},has:function(t,e){return e in Rt(t)},ownKeys:function(t){return Reflect.ownKeys(Rt(t))},set:function(t,e,r){var o=Ol(Rt(t),e);if(o?.set)return o.set.call(t.k,r),!0;if(!t.P){var i=oa(Rt(t),e),a=i?.[J];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Nl(r,i)&&(r!==void 0||br(t.t,e)))return!0;na(t),Nt(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return oa(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,na(t),Nt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=Rt(t),o=Reflect.getOwnPropertyDescriptor(r,e);return o&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:o.enumerable,value:r[e]}},defineProperty:function(){Fe(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Fe(12)}},co={};tr(fo,function(t,e){co[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),co.deleteProperty=function(t,e){return co.set.call(this,t,e,void 0)},co.set=function(t,e,r){return fo.set.call(this,t[0],e,r,t[0])};var af=function(){function t(r){var o=this;this.O=wl,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var l=a;a=i;var c=o;return function(C){var N=this;C===void 0&&(C=l);for(var _=arguments.length,L=Array(_>1?_-1:0),O=1;O<_;O++)L[O-1]=arguments[O];return c.produce(C,function(S){var E;return(E=a).call.apply(E,[N,S].concat(L))})}}var d;if(typeof a!="function"&&Fe(6),s!==void 0&&typeof s!="function"&&Fe(7),Ve(i)){var f=vl(o),h=sa(o,i,void 0),y=!0;try{d=a(h),y=!1}finally{y?en(f):aa(f)}return typeof Promise<"u"&&d instanceof Promise?d.then(function(C){return ta(f,s),ra(C,f)},function(C){throw en(f),C}):(ta(f,s),ra(d,f))}if(!i||typeof i!="object"){if((d=a(i))===void 0&&(d=i),d===Pl&&(d=void 0),o.D&&fa(d,!0),s){var b=[],x=[];Je("Patches").M(i,d,b,x),s(b,x)}return d}Fe(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(d){for(var f=arguments.length,h=Array(f>1?f-1:0),y=1;y<f;y++)h[y-1]=arguments[y];return o.produceWithPatches(d,function(b){return i.apply(void 0,[b].concat(h))})};var s,l,c=o.produce(i,a,function(d,f){s=d,l=f});return typeof Promise<"u"&&c instanceof Promise?c.then(function(d){return[d,s,l]}):[c,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){Ve(r)||Fe(8),ut(r)&&(r=tf(r));var o=vl(this),i=sa(this,r,void 0);return i[J].C=!0,aa(o),i},e.finishDraft=function(r,o){var i=r&&r[J],a=i.A;return ta(a,o),ra(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!wl&&Fe(20),this.O=r},e.applyPatches=function(r,o){var i;for(i=o.length-1;i>=0;i--){var a=o[i];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}i>-1&&(o=o.slice(i+1));var s=Je("Patches").$;return ut(r)?s(r,o):this.produce(r,function(l){return s(l,o)})},t}(),ke=new af,sf=ke.produce,Ug=ke.produceWithPatches.bind(ke),Fg=ke.setAutoFreeze.bind(ke),Bg=ke.setUseProxies.bind(ke),zg=ke.applyPatches.bind(ke),Wg=ke.createDraft.bind(ke),Hg=ke.finishDraft.bind(ke),on=sf;function _t(t){"@babel/helpers - typeof";return _t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_t(t)}function ma(t,e){if(_t(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e||"default");if(_t(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function ya(t){var e=ma(t,"string");return _t(e)==="symbol"?e:String(e)}function ga(t,e,r){return e=ya(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function $l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,o)}return r}function nn(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?$l(Object(r),!0).forEach(function(o){ga(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):$l(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function be(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. "}var Ll=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ba=function(){return Math.random().toString(36).substring(7).split("").join(".")},an={INIT:"@@redux/INIT"+ba(),REPLACE:"@@redux/REPLACE"+ba(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ba()}};function lf(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function xa(t,e,r){var o;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(be(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(be(1));return r(xa)(t,e)}if(typeof t!="function")throw new Error(be(2));var i=t,a=e,s=[],l=s,c=!1;function d(){l===s&&(l=s.slice())}function f(){if(c)throw new Error(be(3));return a}function h(C){if(typeof C!="function")throw new Error(be(4));if(c)throw new Error(be(5));var N=!0;return d(),l.push(C),function(){if(N){if(c)throw new Error(be(6));N=!1,d();var L=l.indexOf(C);l.splice(L,1),s=null}}}function y(C){if(!lf(C))throw new Error(be(7));if(typeof C.type>"u")throw new Error(be(8));if(c)throw new Error(be(9));try{c=!0,a=i(a,C)}finally{c=!1}for(var N=s=l,_=0;_<N.length;_++){var L=N[_];L()}return C}function b(C){if(typeof C!="function")throw new Error(be(10));i=C,y({type:an.REPLACE})}function x(){var C,N=h;return C={subscribe:function(L){if(typeof L!="object"||L===null)throw new Error(be(11));function O(){L.next&&L.next(f())}O();var S=N(O);return{unsubscribe:S}}},C[Ll]=function(){return this},C}return y({type:an.INIT}),o={dispatch:y,subscribe:h,getState:f,replaceReducer:b},o[Ll]=x,o}function cf(t){Object.keys(t).forEach(function(e){var r=t[e],o=r(void 0,{type:an.INIT});if(typeof o>"u")throw new Error(be(12));if(typeof r(void 0,{type:an.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(be(13))})}function Il(t){for(var e=Object.keys(t),r={},o=0;o<e.length;o++){var i=e[o];typeof t[i]=="function"&&(r[i]=t[i])}var a=Object.keys(r),s,l;try{cf(r)}catch(c){l=c}return function(d,f){if(d===void 0&&(d={}),l)throw l;if(0)var h;for(var y=!1,b={},x=0;x<a.length;x++){var C=a[x],N=r[C],_=d[C],L=N(_,f);if(typeof L>"u"){var O=f&&f.type;throw new Error(be(14))}b[C]=L,y=y||L!==_}return y=y||a.length!==Object.keys(d).length,y?b:d}}function Sr(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(o){return o}:e.length===1?e[0]:e.reduce(function(o,i){return function(){return o(i.apply(void 0,arguments))}})}function kl(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(o){return function(){var i=o.apply(void 0,arguments),a=function(){throw new Error(be(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(c){return c(s)});return a=Sr.apply(void 0,l)(i.dispatch),nn(nn({},i),{},{dispatch:a})}}}function Dl(t){var e=function(o){var i=o.dispatch,a=o.getState;return function(s){return function(l){return typeof l=="function"?l(i,a,t):s(l)}}};return e}var Ml=Dl();Ml.withExtraArgument=Dl;var va=Ml;var Wl=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,i){o.__proto__=i}||function(o,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(o[a]=i[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function o(){this.constructor=e}e.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}}(),pf=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},o,i,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(d){return function(f){return c([d,f])}}function c(d){if(o)throw new TypeError("Generator is already executing.");for(;r;)try{if(o=1,i&&(a=d[0]&2?i.return:d[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,d[1])).done)return a;switch(i=0,a&&(d=[d[0]&2,a.value]),d[0]){case 0:case 1:a=d;break;case 4:return r.label++,{value:d[1],done:!1};case 5:r.label++,i=d[1],d=[0];continue;case 7:d=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(d[0]===6||d[0]===2)){r=0;continue}if(d[0]===3&&(!a||d[1]>a[0]&&d[1]<a[3])){r.label=d[1];break}if(d[0]===6&&r.label<a[1]){r.label=a[1],a=d;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(d);break}a[2]&&r.ops.pop(),r.trys.pop();continue}d=e.call(t,r)}catch(f){d=[6,f],i=0}finally{o=a=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}},Or=function(t,e){for(var r=0,o=e.length,i=t.length;r<o;r++,i++)t[i]=e[r];return t},df=Object.defineProperty,ff=Object.defineProperties,uf=Object.getOwnPropertyDescriptors,Ul=Object.getOwnPropertySymbols,hf=Object.prototype.hasOwnProperty,mf=Object.prototype.propertyIsEnumerable,Fl=function(t,e,r){return e in t?df(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Pt=function(t,e){for(var r in e||(e={}))hf.call(e,r)&&Fl(t,r,e[r]);if(Ul)for(var o=0,i=Ul(e);o<i.length;o++){var r=i[o];mf.call(e,r)&&Fl(t,r,e[r])}return t},Sa=function(t,e){return ff(t,uf(e))},yf=function(t,e,r){return new Promise(function(o,i){var a=function(c){try{l(r.next(c))}catch(d){i(d)}},s=function(c){try{l(r.throw(c))}catch(d){i(d)}},l=function(c){return c.done?o(c.value):Promise.resolve(c.value).then(a,s)};l((r=r.apply(t,e)).next())})};var gf=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Sr:Sr.apply(null,arguments)},sb=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function bf(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}var xf=function(t){Wl(e,t);function e(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Or([void 0],r[0].concat(this)))):new(e.bind.apply(e,Or([void 0],r.concat(this))))},e}(Array),vf=function(t){Wl(e,t);function e(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Or([void 0],r[0].concat(this)))):new(e.bind.apply(e,Or([void 0],r.concat(this))))},e}(Array);function Ea(t){return Ve(t)?on(t,function(){}):t}function Sf(t){return typeof t=="boolean"}function Of(){return function(e){return Cf(e)}}function Cf(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,o=t.immutableCheck,i=o===void 0?!0:o,a=t.serializableCheck,s=a===void 0?!0:a,l=new xf;if(r&&(Sf(r)?l.push(va):l.push(va.withExtraArgument(r.extraArgument))),0){if(i)var c;if(s)var d}return l}var Oa=!0;function Hl(t){var e=Of(),r=t||{},o=r.reducer,i=o===void 0?void 0:o,a=r.middleware,s=a===void 0?e():a,l=r.devTools,c=l===void 0?!0:l,d=r.preloadedState,f=d===void 0?void 0:d,h=r.enhancers,y=h===void 0?void 0:h,b;if(typeof i=="function")b=i;else if(bf(i))b=Il(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var x=s;if(typeof x=="function"&&(x=x(e),!Oa&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Oa&&x.some(function(S){return typeof S!="function"}))throw new Error("each middleware provided to configureStore must be a function");var C=kl.apply(void 0,x),N=Sr;c&&(N=gf(Pt({trace:!Oa},typeof c=="object"&&c)));var _=new vf(C),L=_;Array.isArray(y)?L=Or([C],y):typeof y=="function"&&(L=y(_));var O=N.apply(void 0,L);return xa(b,f,O)}function Tt(t,e){function r(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];if(e){var a=e.apply(void 0,o);if(!a)throw new Error("prepareAction did not return an object");return Pt(Pt({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:o[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(o){return o.type===t},r}function Vl(t){var e={},r=[],o,i={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,i},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return o=a,i}};return t(i),[e,r,o]}function Ef(t){return typeof t=="function"}function wf(t,e,r,o){r===void 0&&(r=[]);var i=typeof e=="function"?Vl(e):[e,r,o],a=i[0],s=i[1],l=i[2],c;if(Ef(t))c=function(){return Ea(t())};else{var d=Ea(t);c=function(){return d}}function f(h,y){h===void 0&&(h=c());var b=Or([a[y.type]],s.filter(function(x){var C=x.matcher;return C(y)}).map(function(x){var C=x.reducer;return C}));return b.filter(function(x){return!!x}).length===0&&(b=[l]),b.reduce(function(x,C){if(C)if(ut(x)){var N=x,_=C(N,y);return _===void 0?x:_}else{if(Ve(x))return on(x,function(L){return C(L,y)});var _=C(x,y);if(_===void 0){if(x===null)return x;throw Error("A case reducer on a non-draftable value must not return undefined")}return _}return x},h)}return f.getInitialState=c,f}function Af(t,e){return t+"/"+e}function jl(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:Ea(t.initialState),o=t.reducers||{},i=Object.keys(o),a={},s={},l={};i.forEach(function(f){var h=o[f],y=Af(e,f),b,x;"reducer"in h?(b=h.reducer,x=h.prepare):b=h,a[f]=b,s[y]=b,l[f]=x?Tt(y,x):Tt(y)});function c(){var f=typeof t.extraReducers=="function"?Vl(t.extraReducers):[t.extraReducers],h=f[0],y=h===void 0?{}:h,b=f[1],x=b===void 0?[]:b,C=f[2],N=C===void 0?void 0:C,_=Pt(Pt({},y),s);return wf(r,function(L){for(var O in _)L.addCase(O,_[O]);for(var S=0,E=x;S<E.length;S++){var D=E[S];L.addMatcher(D.matcher,D.reducer)}N&&L.addDefaultCase(N)})}var d;return{name:e,reducer:function(f,h){return d||(d=c()),d(f,h)},actions:l,caseReducers:a,getInitialState:function(){return d||(d=c()),d.getInitialState()}}}var Rf="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Nf=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=Rf[Math.random()*64|0];return e},_f=["name","message","stack","code"],Ca=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Bl=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Pf=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,o=_f;r<o.length;r++){var i=o[r];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},db=function(){function t(e,r,o){var i=Tt(e+"/fulfilled",function(f,h,y,b){return{payload:f,meta:Sa(Pt({},b||{}),{arg:y,requestId:h,requestStatus:"fulfilled"})}}),a=Tt(e+"/pending",function(f,h,y){return{payload:void 0,meta:Sa(Pt({},y||{}),{arg:h,requestId:f,requestStatus:"pending"})}}),s=Tt(e+"/rejected",function(f,h,y,b,x){return{payload:b,error:(o&&o.serializeError||Pf)(f||"Rejected"),meta:Sa(Pt({},x||{}),{arg:y,requestId:h,rejectedWithValue:!!b,requestStatus:"rejected",aborted:f?.name==="AbortError",condition:f?.name==="ConditionError"})}}),l=!1,c=typeof AbortController<"u"?AbortController:function(){function f(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return f.prototype.abort=function(){},f}();function d(f){return function(h,y,b){var x=o?.idGenerator?o.idGenerator(f):Nf(),C=new c,N,_=!1;function L(S){N=S,C.abort()}var O=function(){return yf(this,null,function(){var S,E,D,U,ge,K,m;return pf(this,function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),U=(S=o?.condition)==null?void 0:S.call(o,f,{getState:y,extra:b}),$f(U)?[4,U]:[3,2];case 1:U=v.sent(),v.label=2;case 2:if(U===!1||C.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return _=!0,ge=new Promise(function(A,V){return C.signal.addEventListener("abort",function(){return V({name:"AbortError",message:N||"Aborted"})})}),h(a(x,f,(E=o?.getPendingMeta)==null?void 0:E.call(o,{requestId:x,arg:f},{getState:y,extra:b}))),[4,Promise.race([ge,Promise.resolve(r(f,{dispatch:h,getState:y,extra:b,requestId:x,signal:C.signal,abort:L,rejectWithValue:function(A,V){return new Ca(A,V)},fulfillWithValue:function(A,V){return new Bl(A,V)}})).then(function(A){if(A instanceof Ca)throw A;return A instanceof Bl?i(A.payload,x,f,A.meta):i(A,x,f)})])];case 3:return D=v.sent(),[3,5];case 4:return K=v.sent(),D=K instanceof Ca?s(null,x,f,K.payload,K.meta):s(K,x,f),[3,5];case 5:return m=o&&!o.dispatchConditionRejection&&s.match(D)&&D.meta.condition,m||h(D),[2,D]}})})}();return Object.assign(O,{abort:L,requestId:x,arg:f,unwrap:function(){return O.then(Tf)}})}}return Object.assign(d,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();function Tf(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function $f(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Kl="listener",Gl="completed",Zl="cancelled",fb="task-"+Zl,ub="task-"+Gl,hb=Kl+"-"+Zl,mb=Kl+"-"+Gl;var wa="listenerMiddleware";var yb=Tt(wa+"/add"),gb=Tt(wa+"/removeAll"),bb=Tt(wa+"/remove");var zl,xb=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(zl||(zl=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Lf=function(t){return function(e){setTimeout(e,t)}},vb=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Lf(10);_l();window.ftReduxStores||(window.ftReduxStores={});var ht=class t{static get(e){var r;let o=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[o];if(Qt(a))return a;if(i==null)return;let s=jl({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),l=Hl({reducer:(c,d)=>d.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof d.type=="string"&&d.type.startsWith("DEFAULT_VALUE_SETTER__")?{...c,...d.overwrites}:s.reducer(c,d)});return window.ftReduxStores[i.name]=new t(s,l)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new lo,this.actions=new Proxy(this.reduxSlice.actions,{get:(o,i,a)=>{let s=i,l=o[s];return l?(...c)=>{let d=l(...c);return this.reduxStore.dispatch(d),d}:c=>{this.setState({[s]:c})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}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(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function If(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))Qt(e)&&e.clear()}var Ra={};X(Ra,{serializeRequest:()=>Df});function kf(t){return`"${t}"`}function Df(t,e){var r,o,i,a;let s=new URLSearchParams({"content-lang":(r=e.contentLocale)!==null&&r!==void 0?r:"all"});if(((o=e.query)===null||o===void 0?void 0:o.length)>0&&s.append("query",e.query),e.scope&&e.scope!=="DEFAULT"&&s.append("scope",e.scope.toLowerCase()),e.virtualField&&s.append("virtual-field",e.virtualField.toLowerCase()),e.periodFilter){let c=e.periodFilter.period,d=c?`_${c.from}_${c.to}`:"";s.append("period",e.periodFilter.periodType.toLowerCase()+d)}if(((i=e.sort)===null||i===void 0?void 0:i.length)>0&&e.sort[0].key==="ft:lastEdition"&&s.append("sort","last_update"),((a=e.filters)===null||a===void 0?void 0:a.length)>0){let c=e.filters.map(d=>{let f=d.values.map(h=>h.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(h=>encodeURIComponent(kf(h))).join("_");return`${d.key}~${f}`}).join("*");s.append("filters",c)}return new URL(`${t.replace(/\/+$/,"")}/search?${s.toString()}`).href}var _a={};X(_a,{toFtFormComponent:()=>Na});var sn=Symbol("elementInternals");function Na(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[sn].form}constructor(...i){super(i),this[sn]=this.attachInternals(),this[sn].role=e}setFormValue(i){this[sn].setFormValue(i)}}return r}var Pa,Ta,$a,La,rr=navigator.vendor&&!!navigator.vendor.match(/apple/i)||(($a=(Ta=(Pa=window.safari)===null||Pa===void 0?void 0:Pa.pushNotification)===null||Ta===void 0?void 0:Ta.toString())!==null&&$a!==void 0?$a:"")==="[object SafariRemoteNotification]",Mf="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(La=window.ftGlobals)!==null&&La!==void 0?La:{lit:Bn,litDecorators:Vn,litRepeat:jn,litClassMap:Kn,litStyleMap:Gn,litUnsafeHTML:qn,wcUtils:{...Xn,...Yn,...Qn,...ei,...ri,..._i,...Li,...ji,...Ni,...Zi,...hl,...ti,...Ji,...Qi,...yl,...ea,...Aa,...Ki,...Ra,..._a,isSafari:rr,isTouchScreen:Mf}};var Uf={spacing:n.create("--ft-search-selected-facets-spacing","","SIZE","8px")},ql=R`
176
43
  .ft-search-selected-facets--container {
177
44
  display: flex;
178
45
  flex-wrap: wrap;
179
- gap: ${gs.spacing};
46
+ gap: ${Uf.spacing};
180
47
  }
181
48
 
182
49
  .ft-search-selected-facets--container > * {
183
50
  min-width: 0;
184
51
  }
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,Es,$s,ks,Rs,Is,Ls,Us,As,Ws,zs,Bs;!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.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT"}(Os||(Os={})),function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"}(ws||(ws={})),function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"}(Ss||(Ss={})),function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"}(Cs||(Cs={})),function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"}(Ns||(Ns={})),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"}(Es||(Es={})),function(t){t.ASC="ASC",t.DESC="DESC"}($s||($s={})),function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"}(ks||(ks={})),function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"}(Rs||(Rs={})),function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Is||(Is={})),function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"}(Ls||(Ls={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"}(Us||(Us={})),function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"}(As||(As={})),function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"}(Ws||(Ws={})),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"}(zs||(zs={})),function(t){t.VALID="VALID",t.INVALID="INVALID"}(Bs||(Bs={})),zs.PERSONAL_BOOK_SHARE_USER,zs.PERSONAL_BOOK_USER,zs.HTML_EXPORT_USER,zs.PERSONAL_BOOK_USER,zs.PDF_EXPORT_USER,zs.PERSONAL_BOOK_USER,zs.KHUB_ADMIN,zs.CONTENT_PUBLISHER,zs.ADMIN,zs.KHUB_ADMIN,zs.USERS_ADMIN,zs.PORTAL_ADMIN,zs.DEVELOPER,zs.BETA_USER,zs.DEBUG_USER;const Fs=dt`
186
- `,_s=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 Ps{static get(t){const{baseUrl:e,apiIntegrationIdentifier:o}=_s.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=Ps.get(t);if(o)e(o);else{const i=_s.subscribe((()=>{o=Ps.get(t),o&&(i(),e(o))}))}}))}}class js{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:Ps.get()}get awaitApi(){var t;return null!==(t=this.overrideApi)&&void 0!==t?t:Ps.await()}clearCache(){this.cache.clearAll()}}var Ds;const Ts=Symbol("clearAfterUnitTest");class Ms extends js{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Ds]=()=>{this.defaultMessages={},this.cache=new ro,this.listeners={}},this.currentUiLocale=_s.getState().uiLocale,_s.subscribe((()=>this.clearWhenUiLocaleChanges()))}clearWhenUiLocaleChanges(){const{uiLocale:t}=_s.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)))))}}Ds=Ts,null==window.FluidTopicsI18nService&&(window.FluidTopicsI18nService=new class extends Ms{constructor(){super((async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e)))}}),null==window.FluidTopicsCustomI18nService&&(window.FluidTopicsCustomI18nService=new class extends Ms{constructor(){super((async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e)))}});const Hs=window.FluidTopicsI18nService,Ks=window.FluidTopicsCustomI18nService;var Zs=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 Gs 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=()=>Ps.get(),this.messageContexts=[],this.cache=new ro,this.cleanSessionDebouncer=new lo}render(){return Jt`
52
+ `;var Ff={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}},Yl=t=>ht.get({name:"ft-search-"+t,initialState:{request:{query:"",filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:Ff});var hx=gp(Jl(),1);var Ql;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Ql||(Ql={}));var ec;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(ec||(ec={}));var tc;(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"})(tc||(tc={}));var rc;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT"})(rc||(rc={}));var oc;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(oc||(oc={}));var nc;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(nc||(nc={}));var ic;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(ic||(ic={}));var ac;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(ac||(ac={}));var ln;(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"})(ln||(ln={}));var sc;(function(t){t.ASC="ASC",t.DESC="DESC"})(sc||(sc={}));var lc;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(lc||(lc={}));var Cr;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Cr||(Cr={}));var cc;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(cc||(cc={}));var pc;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(pc||(pc={}));var dc;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(dc||(dc={}));var fc;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(fc||(fc={}));var Er;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"})(Er||(Er={}));var de;(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"})(de||(de={}));var uc;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(uc||(uc={}));var px={[de.PERSONAL_BOOK_SHARE_USER]:[de.PERSONAL_BOOK_USER],[de.HTML_EXPORT_USER]:[de.PERSONAL_BOOK_USER],[de.PDF_EXPORT_USER]:[de.PERSONAL_BOOK_USER],[de.KHUB_ADMIN]:[de.CONTENT_PUBLISHER],[de.ADMIN]:[de.KHUB_ADMIN,de.USERS_ADMIN,de.PORTAL_ADMIN],[de.DEVELOPER]:[de.BETA_USER,de.DEBUG_USER]};var hc=R`
53
+ `;var Bf="ft-app-info",zf={},z=ht.get({name:Bf,reducers:zf,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}});var or=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:o}=z.getState(),i=e??o;if(r&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,i,!0)}static await(e){return new Promise(r=>{let o=t.get(e);if(o)r(o);else{let i=z.subscribe(()=>{o=t.get(e),o&&(i(),r(o))})}})}};var Qe=class{constructor(e=!0,r){var o;this.overrideApi=r;let i=this.constructor;i.commonCache=(o=i.commonCache)!==null&&o!==void 0?o:new Ye,this.cache=e?i.commonCache:new Ye}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:or.get()}get awaitApi(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:or.await()}clearCache(){this.cache.clearAll()}};var mc,Wf=Symbol("clearAfterUnitTest"),cn=class extends Qe{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[mc]=()=>{this.defaultMessages={},this.cache=new Ye,this.listeners={}},this.currentUiLocale=z.getState().uiLocale,z.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=z.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var o;if(e=e.toLowerCase(),Object.keys(r).length>0){let i={...(o=this.defaultMessages[e])!==null&&o!==void 0?o:{},...r};Ee(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}await this.fetchContext(e)}resolveMessage(e,r,...o){var i,a,s;e=e.toLowerCase(),this.fetchContext(e);let l=(a=(i=this.cache.getNow(e))===null||i===void 0?void 0:i.messages)!==null&&a!==void 0?a:{};return new so((s=this.defaultMessages[e])!==null&&s!==void 0?s:{},l).resolve(r,...o)}async fetchContext(e){if(!this.cache.has(e))try{await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),await this.notify(e)}catch(r){console.error(r)}}subscribe(e,r){var o;return e=e.toLowerCase(),this.listeners[e]=(o=this.listeners[e])!==null&&o!==void 0?o:new Set,this.listeners[e].add(r),()=>{var i;return(i=this.listeners[e])===null||i===void 0?void 0:i.delete(r)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(e=>this.notify(e)))}async notify(e){this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(r=>jo(0).then(()=>r()).catch(()=>null)))}};mc=Wf;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends cn{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends cn{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var wr=window.FluidTopicsI18nService,yc=window.FluidTopicsCustomI18nService;var Se=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ie=class extends M{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=()=>or.get(),this.messageContexts=[],this.cache=new Ye,this.cleanSessionDebouncer=new re}render(){return $`
187
54
  <slot></slot>
188
- `}update(t){super.update(t),t.has("baseUrl")&&(_s.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&_s.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&_s.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&_s.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&_s.actions.noCustom(this.noCustom),t.has("editorMode")&&_s.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&_s.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&_s.actions.session(this.session),t.has("availableUiLocales")&&_s.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&null!=this.messageContexts&&this.messageContexts.forEach((t=>Hs.addContext(t))),t.has("openExternalDocumentInNewTab")&&_s.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&_s.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&_s.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()))}}Gs.elementDefinitions={},Gs.styles=Fs,Zs([we()],Gs.prototype,"baseUrl",void 0),Zs([we()],Gs.prototype,"apiIntegrationIdentifier",void 0),Zs([we()],Gs.prototype,"uiLocale",void 0),Zs([mo(null)],Gs.prototype,"availableUiLocales",void 0),Zs([mo(null)],Gs.prototype,"metadataConfiguration",void 0),Zs([we({type:Boolean})],Gs.prototype,"editorMode",void 0),Zs([we({type:Boolean})],Gs.prototype,"noCustom",void 0),Zs([we({type:Boolean})],Gs.prototype,"openExternalDocumentInNewTab",void 0),Zs([we({converter:{fromAttribute:t=>"false"!==t&&("true"===t||null!=t&&t)}})],Gs.prototype,"noCustomComponent",void 0),Zs([we({type:Boolean})],Gs.prototype,"withManualResources",void 0),Zs([we({type:Boolean})],Gs.prototype,"navigatorOnline",void 0),Zs([we({type:Boolean})],Gs.prototype,"forcedOffline",void 0),Zs([we({type:Object})],Gs.prototype,"apiProvider",void 0),Zs([mo([])],Gs.prototype,"messageContexts",void 0),Zs([mo(void 0)],Gs.prototype,"session",void 0);class Vs extends js{async listMySearches(){let t=_s.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-searches",(async()=>(await this.awaitApi).listMySearches(t.profile.userId)),3e5):[]}}class qs extends js{async listMyBookmarks(){let t=_s.getState().session;return(null==t?void 0:t.sessionAuthenticated)?this.cache.get("my-bookmarks",(async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId)),3e5):[]}}const Ys=is.get({name:"ft-user-assets",initialState:{savedSearches:void 0,bookmarks:void 0}});const Js=new class{constructor(){this.currentSession=_s.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new qs,this.savedSearchesService=new Vs,_s.subscribe((()=>this.reloadWhenUserSessionChanges()))}reloadWhenUserSessionChanges(){var t;const{session:e}=_s.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(),Ys.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Ys.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();const t=await this.savedSearchesService.listMySearches();Ys.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;Ys.actions.bookmarks(e)}}};window.FluidTopicsAppInfoStoreService=new class{addCommand(t,e=!1){_s.commands.add(t,e)}consumeCommand(t){return _s.commands.consume(t)}};window.FluidTopicsHighlightHtmlService=new class{highlightHtml(t,e){Yr(t,e)}},bo("ft-app-context")(Gs);class Qs extends js{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 Xs=t=>t.request.virtualField===Rs.TITLE_ONLY&&t.request.scope===Ws.DOCUMENTS;class tl extends Event{constructor(){super(tl.eventName)}}tl.eventName="search-context-clear-all-filters";class el{static build(t,e){return new el((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 Qs}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(Rs.TITLE_ONLY),this.store.actions.setRequestScope(Ws.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Rs.EVERYWHERE),this.store.actions.setRequestScope(Ws.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return Xs(this.store.getState())}get periodFilter(){return this.store.getState().request.periodFilter}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new tl)}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 ol=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 il extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}}const rl=Symbol("registerInterval");class nl 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[rl]=window.setInterval((()=>this.tryToRegisterToContext()),50)}tryToRegisterToContext(){null!=this.stateManager?window.clearInterval(this[rl]):this.dispatchEvent(new il)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=rl,ol([Se()],o.prototype,"stateManager",void 0),o}(gn)){}const al=wo.extend("--ft-ripple-color","",Ci.colorContent),sl={color:al,backgroundColor:wo.extend("--ft-ripple-background-color","",al),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")},ll=wo.extend("--ft-ripple-color","",Ci.colorPrimary),cl=ll,hl=wo.extend("--ft-ripple-background-color","",ll),fl=wo.extend("--ft-ripple-color","",Ci.colorSecondary),dl=fl,pl=wo.extend("--ft-ripple-background-color","",fl),ul=dt`
55
+ `}update(e){super.update(e),e.has("baseUrl")&&(z.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&z.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&z.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&z.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&z.actions.noCustom(this.noCustom),e.has("editorMode")&&z.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&z.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&z.actions.session(this.session),e.has("availableUiLocales")&&z.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>wr.addContext(r)),e.has("openExternalDocumentInNewTab")&&z.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&z.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&z.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};ie.elementDefinitions={};ie.styles=hc;Se([g()],ie.prototype,"baseUrl",void 0);Se([g()],ie.prototype,"apiIntegrationIdentifier",void 0);Se([g()],ie.prototype,"uiLocale",void 0);Se([ue(null)],ie.prototype,"availableUiLocales",void 0);Se([ue(null)],ie.prototype,"metadataConfiguration",void 0);Se([g({type:Boolean})],ie.prototype,"editorMode",void 0);Se([g({type:Boolean})],ie.prototype,"noCustom",void 0);Se([g({type:Boolean})],ie.prototype,"openExternalDocumentInNewTab",void 0);Se([g({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],ie.prototype,"noCustomComponent",void 0);Se([g({type:Boolean})],ie.prototype,"withManualResources",void 0);Se([g({type:Boolean})],ie.prototype,"navigatorOnline",void 0);Se([g({type:Boolean})],ie.prototype,"forcedOffline",void 0);Se([g({type:Object})],ie.prototype,"apiProvider",void 0);Se([ue([])],ie.prototype,"messageContexts",void 0);Se([ue(void 0)],ie.prototype,"session",void 0);var pn=class extends Qe{async listMySearches(){let e=z.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var dn=class extends Qe{async listMyBookmarks(){let e=z.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var Hf="ft-user-assets",fn=ht.get({name:Hf,initialState:{savedSearches:void 0,bookmarks:void 0}}),Ia=class{constructor(){this.currentSession=z.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new dn,this.savedSearchesService=new pn,z.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=z.getState();Ee((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),fn.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),fn.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();fn.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;fn.actions.bookmarks(r)}}},gc=new Ia;var ka=class{addCommand(e,r=!1){z.commands.add(e,r)}consumeCommand(e){return z.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new ka;var Da=class{highlightHtml(e,r){Xi(e,r)}};window.FluidTopicsHighlightHtmlService=new Da;F("ft-app-context")(ie);var un=class extends Qe{constructor(){super(),this.cache.registerFinal("available-locales",()=>this.api.getAvailableSearchLocales())}async launchSearch(e){return this.api.search(e)}async launchSuggest(e){return this.api.getSuggestions(e)}async getAvailableSearchLocales(){return this.cache.get("available-locales")}};var ho=t=>t.request.virtualField===Cr.TITLE_ONLY&&t.request.scope===Er.DOCUMENTS,hn=class t extends Event{constructor(){super(t.eventName)}};hn.eventName="search-context-clear-all-filters";var uo=class t{static build(e,r){return new t(Yl(e.trim()||"context"),r)}constructor(e,r){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.searchDebouncer=new re(100),this.suggestDebouncer=new re(300),this.service=r??new un}async initService(){return this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales),this.launchSearch()}setQuery(e){this.store.actions.setRequestQuery(e),this.store.actions.setLiveQuery(e),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(e){let r=this.store.getState().locales,o=this.store.getState().request.contentLocale;if(e!=o){if(r){let i=a=>r.some(s=>s.lang==a);i(e)||(e=i(o)?o:r[0].lang)}this.store.actions.setRequestContentLocale(e),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return e}setPageSize(e){this.store.actions.setPageSize(e),this.launchSearch()}setPageNumber(e){this.store.actions.setPageNumber(e),this.launchSearch()}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(e){let r=e.filter(o=>o.values.length>0);this.store.actions.setRequestFilters(r),this.store.actions.setPageNumber(1),r.forEach(o=>{this.facetIds.includes(o.key)||(this.facetIds=[...this.facetIds,o.key])}),this.launchSearch()}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e),this.launchSearch()}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(Cr.TITLE_ONLY),this.store.actions.setRequestScope(Er.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Cr.EVERYWHERE),this.store.actions.setRequestScope(Er.DEFAULT)),this.launchSearch()}get searchInDocumentTitlesOnly(){return ho(this.store.getState())}get periodFilter(){return this.store.getState().request.periodFilter}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new hn)}addFacet(e){this.facetIds=[...this.facetIds,e],this.launchSearch()}replaceFacet(e,r){let o=this.facetIds.filter(i=>i!=e);r&&o.push(r),this.facetIds=o,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map(e=>e.id)}set facetIds(e){let o=[...new Set(e)].map(i=>({id:i}));this.store.actions.setRequestFacets(o)}setFilter(e,r){let o=this.store.getState().request.filters,i={key:e,values:r,negative:!1},a=[...o.filter(s=>s.key!==e),i];this.setFilters(a)}setLiveQuery(e){this.store.actions.setLiveQuery(e),this.launchSuggest()}setRequest(e){this.store.actions.setRequest(e),this.store.actions.setLiveQuery(e.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(e){this.store.actions.setRequestScope(e),this.launchSearch()}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e,this.launchSearch()}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}setPeriodFilter(e){this.store.actions.setRequestPeriodFilter(e),this.store.actions.setPageNumber(1),this.launchSearch()}launchSearch(){return this.searchDebouncer.run(()=>this.fetchSearchData())}launchSuggest(){return this.suggestDebouncer.run(()=>this.fetchSuggestData())}async fetchSearchData(){var e,r;try{(e=this.cancelableSearch)===null||e===void 0||e.cancel();let o=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&o.query.length==0)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=hr(this.service.launchSearch(o));let i=await this.cancelableSearch;if(i.paging.currentPage<=1)this.store.actions.setResults(i.results),this.store.actions.setFacets(i.facets),this.store.actions.setSpellcheck(i.spellcheck);else{let a=((r=this.store.getState().results)!==null&&r!==void 0?r:[]).concat(i.results);this.store.actions.setResults(a)}this.store.actions.setPaging(i.paging)}}catch(o){!(o instanceof Ct)&&this.errorHandler&&this.errorHandler(o)}}async fetchSuggestData(){var e;try{let r=this.store.getState(),o=r.request,i={input:r.liveQuery,filters:o.filters,sort:o.sort,contentLocale:o.contentLocale,scope:o.scope};(e=this.cancelableSuggest)===null||e===void 0||e.cancel(),this.cancelableSuggest=hr(this.service.launchSuggest(i));let a=await this.cancelableSuggest;this.store.actions.setSuggestResults(a.suggestions)}catch(r){!(r instanceof Ct)&&this.errorHandler&&this.errorHandler(r)}}clear(){this.store.clear()}};var Vf=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ua=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Ma=Symbol("registerInterval");function jf(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Ma]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Ma]):this.dispatchEvent(new Ua)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Ma,Vf([q()],r.prototype,"stateManager",void 0),r}var $t=class extends jf(Ue){};var bc=n.extend("--ft-ripple-color","",T.colorContent),H={color:bc,backgroundColor:n.extend("--ft-ripple-background-color","",bc),opacityContentOnSurfacePressed:n.external(T.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:n.external(T.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:n.external(T.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:n.external(T.opacityContentOnSurfaceSelected,"Design system"),borderRadius:n.create("--ft-ripple-border-radius","","SIZE","0px")},xc=n.extend("--ft-ripple-color","",T.colorPrimary),vc={color:xc,backgroundColor:n.extend("--ft-ripple-background-color","",xc)},Sc=n.extend("--ft-ripple-color","",T.colorSecondary),Oc={color:Sc,backgroundColor:n.extend("--ft-ripple-background-color","",Sc)},Cc=R`
189
56
  :host {
190
57
  display: contents;
191
58
  }
@@ -198,7 +65,7 @@ function Re(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=$
198
65
 
199
66
  .ft-ripple:not(.ft-ripple--unbounded) {
200
67
  overflow: hidden;
201
- border-radius: ${sl.borderRadius};
68
+ border-radius: ${H.borderRadius};
202
69
  }
203
70
 
204
71
  .ft-ripple .ft-ripple--background,
@@ -232,27 +99,27 @@ function Re(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=$
232
99
  }
233
100
 
234
101
  .ft-ripple .ft-ripple--background {
235
- background-color: ${sl.backgroundColor};
102
+ background-color: ${H.backgroundColor};
236
103
  }
237
104
 
238
105
  .ft-ripple .ft-ripple--effect {
239
- background-color: ${sl.color};
106
+ background-color: ${H.color};
240
107
  }
241
108
 
242
109
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
243
- background-color: ${pl};
110
+ background-color: ${Oc.backgroundColor};
244
111
  }
245
112
 
246
113
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
247
- background-color: ${dl};
114
+ background-color: ${Oc.color};
248
115
  }
249
116
 
250
117
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
251
- background-color: ${hl};
118
+ background-color: ${vc.backgroundColor};
252
119
  }
253
120
 
254
121
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
255
- background-color: ${cl};
122
+ background-color: ${vc.color};
256
123
  }
257
124
 
258
125
  .ft-ripple .ft-ripple--background {
@@ -282,150 +149,145 @@ function Re(t){return(e,o)=>{const{slot:i,selector:r}=t??{},n="slot"+(i?`[name=$
282
149
  }
283
150
 
284
151
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
285
- opacity: ${sl.opacityContentOnSurfaceHover};
152
+ opacity: ${H.opacityContentOnSurfaceHover};
286
153
  }
287
154
 
288
155
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
289
- opacity: ${sl.opacityContentOnSurfaceSelected};
156
+ opacity: ${H.opacityContentOnSurfaceSelected};
290
157
  }
291
158
 
292
159
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
293
- opacity: ${sl.opacityContentOnSurfaceFocused};
160
+ opacity: ${H.opacityContentOnSurfaceFocused};
294
161
  }
295
162
 
296
163
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
297
- opacity: ${sl.opacityContentOnSurfacePressed};
164
+ opacity: ${H.opacityContentOnSurfacePressed};
298
165
  transform: translate(-50%, -50%) scale(1);
299
166
  }
300
- `;var gl=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 yl 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`
167
+ `;var Ae=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Z=class extends M{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 re(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new re(10),this.moveRipple=e=>{var r,o;let{x:i,y:a}=this.getCoordinates(e),s=(o=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&o!==void 0?o:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"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 $`
301
168
  <style>
302
169
  .ft-ripple .ft-ripple--effect {
303
170
  left: ${this.originX}px;
304
171
  top: ${this.originY}px;
305
172
  }
306
173
  </style>
307
- <div class="${Ke(t)}">
174
+ <div class="${Le(e)}">
308
175
  <div class="ft-ripple--background"></div>
309
176
  <div class="ft-ripple--effect"></div>
310
177
  </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()}}yl.elementDefinitions={},yl.styles=ul,gl([we({type:Boolean})],yl.prototype,"primary",void 0),gl([we({type:Boolean})],yl.prototype,"secondary",void 0),gl([we({type:Boolean})],yl.prototype,"unbounded",void 0),gl([we({type:Boolean})],yl.prototype,"activated",void 0),gl([we({type:Boolean})],yl.prototype,"selected",void 0),gl([we({type:Boolean})],yl.prototype,"disabled",void 0),gl([Se()],yl.prototype,"hovered",void 0),gl([Se()],yl.prototype,"focused",void 0),gl([Se()],yl.prototype,"pressed",void 0),gl([Se()],yl.prototype,"rippling",void 0),gl([Se()],yl.prototype,"originX",void 0),gl([Se()],yl.prototype,"originY",void 0),gl([Ee(".ft-ripple")],yl.prototype,"ripple",void 0),gl([Ee(".ft-ripple--effect")],yl.prototype,"rippleEffect",void 0),bo("ft-ripple")(yl);
312
- /**
313
- * @license
314
- * Copyright 2020 Google LLC
315
- * SPDX-License-Identifier: BSD-3-Clause
316
- */
317
- const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$litStatic$:t,r:bl}),xl=new Map,Ol=(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=ml(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=xl.get(t))&&(a.raw=a,xl.set(t,e=a)),o=s}return t(e,...o)})(T);var wl;!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"}(wl||(wl={}));const Sl=wo.extend("--ft-typography-font-family","",Ci.titleFont),Cl=wo.extend("--ft-typography-font-family","",Ci.contentFont),Nl={fontFamily:Cl,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")},El=wo.extend("--ft-typography-title-font-family","",Sl),$l=wo.extend("--ft-typography-title-font-size","",Nl.fontSize,"20px"),kl=wo.extend("--ft-typography-title-font-weight","",Nl.fontWeight,"normal"),Rl=wo.extend("--ft-typography-title-letter-spacing","",Nl.letterSpacing,"0.15px"),Il=wo.extend("--ft-typography-title-line-height","",Nl.lineHeight,"1.2"),Ll=wo.extend("--ft-typography-title-text-transform","",Nl.textTransform,"inherit"),Ul=wo.extend("--ft-typography-title-dense-font-family","",Sl),Al=wo.extend("--ft-typography-title-dense-font-size","",Nl.fontSize,"14px"),Wl=wo.extend("--ft-typography-title-dense-font-weight","",Nl.fontWeight,"normal"),zl=wo.extend("--ft-typography-title-dense-letter-spacing","",Nl.letterSpacing,"0.105px"),Bl=wo.extend("--ft-typography-title-dense-line-height","",Nl.lineHeight,"1.7"),Fl=wo.extend("--ft-typography-title-dense-text-transform","",Nl.textTransform,"inherit"),_l=wo.extend("--ft-typography-subtitle1-font-family","",Cl),Pl=wo.extend("--ft-typography-subtitle1-font-size","",Nl.fontSize,"16px"),jl=wo.extend("--ft-typography-subtitle1-font-weight","",Nl.fontWeight,"600"),Dl=wo.extend("--ft-typography-subtitle1-letter-spacing","",Nl.letterSpacing,"0.144px"),Tl=wo.extend("--ft-typography-subtitle1-line-height","",Nl.lineHeight,"1.5"),Ml=wo.extend("--ft-typography-subtitle1-text-transform","",Nl.textTransform,"inherit"),Hl=wo.extend("--ft-typography-subtitle2-font-family","",Cl),Kl=wo.extend("--ft-typography-subtitle2-font-size","",Nl.fontSize,"14px"),Zl=wo.extend("--ft-typography-subtitle2-font-weight","",Nl.fontWeight,"normal"),Gl=wo.extend("--ft-typography-subtitle2-letter-spacing","",Nl.letterSpacing,"0.098px"),Vl=wo.extend("--ft-typography-subtitle2-line-height","",Nl.lineHeight,"1.7"),ql=wo.extend("--ft-typography-subtitle2-text-transform","",Nl.textTransform,"inherit"),Yl=wo.extend("--ft-typography-body1-font-family","",Cl),Jl=wo.extend("--ft-typography-body1-font-size","",Nl.fontSize,"16px"),Ql=wo.extend("--ft-typography-body1-font-weight","",Nl.fontWeight,"normal"),Xl=wo.extend("--ft-typography-body1-letter-spacing","",Nl.letterSpacing,"0.496px"),tc=wo.extend("--ft-typography-body1-line-height","",Nl.lineHeight,"1.5"),ec=wo.extend("--ft-typography-body1-text-transform","",Nl.textTransform,"inherit"),oc={fontFamily:wo.extend("--ft-typography-body2-font-family","",Cl),fontSize:wo.extend("--ft-typography-body2-font-size","",Nl.fontSize,"14px"),fontWeight:wo.extend("--ft-typography-body2-font-weight","",Nl.fontWeight,"normal"),letterSpacing:wo.extend("--ft-typography-body2-letter-spacing","",Nl.letterSpacing,"0.252px"),lineHeight:wo.extend("--ft-typography-body2-line-height","",Nl.lineHeight,"1.4"),textTransform:wo.extend("--ft-typography-body2-text-transform","",Nl.textTransform,"inherit")},ic=wo.extend("--ft-typography-caption-font-family","",Cl),rc=wo.extend("--ft-typography-caption-font-size","",Nl.fontSize,"12px"),nc=wo.extend("--ft-typography-caption-font-weight","",Nl.fontWeight,"normal"),ac=wo.extend("--ft-typography-caption-letter-spacing","",Nl.letterSpacing,"0.396px"),sc=wo.extend("--ft-typography-caption-line-height","",Nl.lineHeight,"1.33"),lc=wo.extend("--ft-typography-caption-text-transform","",Nl.textTransform,"inherit"),cc=wo.extend("--ft-typography-breadcrumb-font-family","",Cl),hc=wo.extend("--ft-typography-breadcrumb-font-size","",Nl.fontSize,"10px"),fc=wo.extend("--ft-typography-breadcrumb-font-weight","",Nl.fontWeight,"normal"),dc=wo.extend("--ft-typography-breadcrumb-letter-spacing","",Nl.letterSpacing,"0.33px"),pc=wo.extend("--ft-typography-breadcrumb-line-height","",Nl.lineHeight,"1.6"),uc=wo.extend("--ft-typography-breadcrumb-text-transform","",Nl.textTransform,"inherit"),gc=wo.extend("--ft-typography-overline-font-family","",Cl),yc=wo.extend("--ft-typography-overline-font-size","",Nl.fontSize,"10px"),bc=wo.extend("--ft-typography-overline-font-weight","",Nl.fontWeight,"normal"),mc=wo.extend("--ft-typography-overline-letter-spacing","",Nl.letterSpacing,"1.5px"),vc=wo.extend("--ft-typography-overline-line-height","",Nl.lineHeight,"1.6"),xc=wo.extend("--ft-typography-overline-text-transform","",Nl.textTransform,"uppercase"),Oc={fontFamily:wo.extend("--ft-typography-button-font-family","",Cl),fontSize:wo.extend("--ft-typography-button-font-size","",Nl.fontSize,"14px"),fontWeight:wo.extend("--ft-typography-button-font-weight","",Nl.fontWeight,"600"),letterSpacing:wo.extend("--ft-typography-button-letter-spacing","",Nl.letterSpacing,"1.246px"),lineHeight:wo.extend("--ft-typography-button-line-height","",Nl.lineHeight,"1.15"),textTransform:wo.extend("--ft-typography-button-text-transform","",Nl.textTransform,"uppercase")},wc=dt`
178
+ `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,o;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(o=this.target)===null||o===void 0||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 e,r;let o=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;o&&this.setupFor((r=this.target)!==null&&r!==void 0?r:o)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...l)=>c=>{l.forEach(d=>window.addEventListener(d,this.endPress,{once:!0})),this.startPress(c)},o=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&r("keyup")(l)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",o,s),e.addEventListener("touchstart",i,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",o,s),e.removeEventListener("touchstart",i,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,o=e,i,a;return r.x!=null?{x:i,y:a}=r:o.touches!=null&&(i=o.touches[0].clientX,a=o.touches[0].clientY),{x:i,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};Z.elementDefinitions={};Z.styles=Cc;Ae([g({type:Boolean})],Z.prototype,"primary",void 0);Ae([g({type:Boolean})],Z.prototype,"secondary",void 0);Ae([g({type:Boolean})],Z.prototype,"unbounded",void 0);Ae([g({type:Boolean})],Z.prototype,"activated",void 0);Ae([g({type:Boolean})],Z.prototype,"selected",void 0);Ae([g({type:Boolean})],Z.prototype,"disabled",void 0);Ae([q()],Z.prototype,"hovered",void 0);Ae([q()],Z.prototype,"focused",void 0);Ae([q()],Z.prototype,"pressed",void 0);Ae([q()],Z.prototype,"rippling",void 0);Ae([q()],Z.prototype,"originX",void 0);Ae([q()],Z.prototype,"originY",void 0);Ae([W(".ft-ripple")],Z.prototype,"ripple",void 0);Ae([W(".ft-ripple--effect")],Z.prototype,"rippleEffect",void 0);F("ft-ripple")(Z);var wc=Symbol.for(""),Kf=t=>{if(t?.r===wc)return t?._$litStatic$},Fa=t=>({_$litStatic$:t,r:wc});var Ec=new Map,Ac=t=>(e,...r)=>{let o=r.length,i,a,s=[],l=[],c,d=0,f=!1;for(;d<o;){for(c=e[d];d<o&&(a=r[d],(i=Kf(a))!==void 0);)c+=i+e[++d],f=!0;d!==o&&l.push(a),s.push(c),d++}if(d===o&&s.push(e[o]),f){let h=s.join("$$lit$$");(e=Ec.get(h))===void 0&&(s.raw=s,Ec.set(h,e=s)),r=l}return t(e,...r)},Ba=Ac(ds),Yv=Ac(fs);var nr;(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"})(nr||(nr={}));function Rc(t){let e=Jr[t];return R`
179
+ .ft-typography--${it(t)} {
180
+ font-family: ${e.fontFamily};
181
+ font-size: ${e.fontSize};
182
+ font-weight: ${e.fontWeight};
183
+ letter-spacing: ${e.letterSpacing};
184
+ line-height: ${e.lineHeight};
185
+ text-transform: ${e.textCase};
186
+ }
187
+ `}var Nc=n.extend("--ft-typography-font-family","",T.titleFont),mt=n.extend("--ft-typography-font-family","",T.contentFont),k={fontFamily:mt,fontSize:n.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:n.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:n.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:n.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:n.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Ar={fontFamily:n.extend("--ft-typography-title-font-family","",Nc),fontSize:n.extend("--ft-typography-title-font-size","",k.fontSize,"20px"),fontWeight:n.extend("--ft-typography-title-font-weight","",k.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-title-letter-spacing","",k.letterSpacing,"0.15px"),lineHeight:n.extend("--ft-typography-title-line-height","",k.lineHeight,"1.2"),textTransform:n.extend("--ft-typography-title-text-transform","",k.textTransform,"inherit")},Rr={fontFamily:n.extend("--ft-typography-title-dense-font-family","",Nc),fontSize:n.extend("--ft-typography-title-dense-font-size","",k.fontSize,"14px"),fontWeight:n.extend("--ft-typography-title-dense-font-weight","",k.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-title-dense-letter-spacing","",k.letterSpacing,"0.105px"),lineHeight:n.extend("--ft-typography-title-dense-line-height","",k.lineHeight,"1.7"),textTransform:n.extend("--ft-typography-title-dense-text-transform","",k.textTransform,"inherit")},Nr={fontFamily:n.extend("--ft-typography-subtitle1-font-family","",mt),fontSize:n.extend("--ft-typography-subtitle1-font-size","",k.fontSize,"16px"),fontWeight:n.extend("--ft-typography-subtitle1-font-weight","",k.fontWeight,"600"),letterSpacing:n.extend("--ft-typography-subtitle1-letter-spacing","",k.letterSpacing,"0.144px"),lineHeight:n.extend("--ft-typography-subtitle1-line-height","",k.lineHeight,"1.5"),textTransform:n.extend("--ft-typography-subtitle1-text-transform","",k.textTransform,"inherit")},_r={fontFamily:n.extend("--ft-typography-subtitle2-font-family","",mt),fontSize:n.extend("--ft-typography-subtitle2-font-size","",k.fontSize,"14px"),fontWeight:n.extend("--ft-typography-subtitle2-font-weight","",k.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-subtitle2-letter-spacing","",k.letterSpacing,"0.098px"),lineHeight:n.extend("--ft-typography-subtitle2-line-height","",k.lineHeight,"1.7"),textTransform:n.extend("--ft-typography-subtitle2-text-transform","",k.textTransform,"inherit")},Pr={fontFamily:n.extend("--ft-typography-body1-font-family","",mt),fontSize:n.extend("--ft-typography-body1-font-size","",k.fontSize,"16px"),fontWeight:n.extend("--ft-typography-body1-font-weight","",k.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-body1-letter-spacing","",k.letterSpacing,"0.496px"),lineHeight:n.extend("--ft-typography-body1-line-height","",k.lineHeight,"1.5"),textTransform:n.extend("--ft-typography-body1-text-transform","",k.textTransform,"inherit")},me={fontFamily:n.extend("--ft-typography-body2-font-family","",mt),fontSize:n.extend("--ft-typography-body2-font-size","",k.fontSize,"14px"),fontWeight:n.extend("--ft-typography-body2-font-weight","",k.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-body2-letter-spacing","",k.letterSpacing,"0.252px"),lineHeight:n.extend("--ft-typography-body2-line-height","",k.lineHeight,"1.4"),textTransform:n.extend("--ft-typography-body2-text-transform","",k.textTransform,"inherit")},Tr={fontFamily:n.extend("--ft-typography-caption-font-family","",mt),fontSize:n.extend("--ft-typography-caption-font-size","",k.fontSize,"12px"),fontWeight:n.extend("--ft-typography-caption-font-weight","",k.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-caption-letter-spacing","",k.letterSpacing,"0.396px"),lineHeight:n.extend("--ft-typography-caption-line-height","",k.lineHeight,"1.33"),textTransform:n.extend("--ft-typography-caption-text-transform","",k.textTransform,"inherit")},$r={fontFamily:n.extend("--ft-typography-breadcrumb-font-family","",mt),fontSize:n.extend("--ft-typography-breadcrumb-font-size","",k.fontSize,"10px"),fontWeight:n.extend("--ft-typography-breadcrumb-font-weight","",k.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-breadcrumb-letter-spacing","",k.letterSpacing,"0.33px"),lineHeight:n.extend("--ft-typography-breadcrumb-line-height","",k.lineHeight,"1.6"),textTransform:n.extend("--ft-typography-breadcrumb-text-transform","",k.textTransform,"inherit")},Lr={fontFamily:n.extend("--ft-typography-overline-font-family","",mt),fontSize:n.extend("--ft-typography-overline-font-size","",k.fontSize,"10px"),fontWeight:n.extend("--ft-typography-overline-font-weight","",k.fontWeight,"normal"),letterSpacing:n.extend("--ft-typography-overline-letter-spacing","",k.letterSpacing,"1.5px"),lineHeight:n.extend("--ft-typography-overline-line-height","",k.lineHeight,"1.6"),textTransform:n.extend("--ft-typography-overline-text-transform","",k.textTransform,"uppercase")},et={fontFamily:n.extend("--ft-typography-button-font-family","",mt),fontSize:n.extend("--ft-typography-button-font-size","",k.fontSize,"14px"),fontWeight:n.extend("--ft-typography-button-font-weight","",k.fontWeight,"600"),letterSpacing:n.extend("--ft-typography-button-letter-spacing","",k.letterSpacing,"1.246px"),lineHeight:n.extend("--ft-typography-button-line-height","",k.lineHeight,"1.15"),textTransform:n.extend("--ft-typography-button-text-transform","",k.textTransform,"uppercase")},_c=R`
318
188
  .ft-typography--title {
319
- font-family: ${El};
320
- font-size: ${$l};
321
- font-weight: ${kl};
322
- letter-spacing: ${Rl};
323
- line-height: ${Il};
324
- text-transform: ${Ll};
325
- }
326
- `,Sc=dt`
189
+ font-family: ${Ar.fontFamily};
190
+ font-size: ${Ar.fontSize};
191
+ font-weight: ${Ar.fontWeight};
192
+ letter-spacing: ${Ar.letterSpacing};
193
+ line-height: ${Ar.lineHeight};
194
+ text-transform: ${Ar.textTransform};
195
+ }
196
+ `,Pc=R`
327
197
  .ft-typography--title-dense {
328
- font-family: ${Ul};
329
- font-size: ${Al};
330
- font-weight: ${Wl};
331
- letter-spacing: ${zl};
332
- line-height: ${Bl};
333
- text-transform: ${Fl};
334
- }
335
- `,Cc=dt`
198
+ font-family: ${Rr.fontFamily};
199
+ font-size: ${Rr.fontSize};
200
+ font-weight: ${Rr.fontWeight};
201
+ letter-spacing: ${Rr.letterSpacing};
202
+ line-height: ${Rr.lineHeight};
203
+ text-transform: ${Rr.textTransform};
204
+ }
205
+ `,Tc=R`
336
206
  .ft-typography--subtitle1 {
337
- font-family: ${_l};
338
- font-size: ${Pl};
339
- font-weight: ${jl};
340
- letter-spacing: ${Dl};
341
- line-height: ${Tl};
342
- text-transform: ${Ml};
343
- }
344
- `,Nc=dt`
207
+ font-family: ${Nr.fontFamily};
208
+ font-size: ${Nr.fontSize};
209
+ font-weight: ${Nr.fontWeight};
210
+ letter-spacing: ${Nr.letterSpacing};
211
+ line-height: ${Nr.lineHeight};
212
+ text-transform: ${Nr.textTransform};
213
+ }
214
+ `,$c=R`
345
215
  .ft-typography--subtitle2 {
346
- font-family: ${Hl};
347
- font-size: ${Kl};
348
- font-weight: ${Zl};
349
- letter-spacing: ${Gl};
350
- line-height: ${Vl};
351
- text-transform: ${ql};
216
+ font-family: ${_r.fontFamily};
217
+ font-size: ${_r.fontSize};
218
+ font-weight: ${_r.fontWeight};
219
+ letter-spacing: ${_r.letterSpacing};
220
+ line-height: ${_r.lineHeight};
221
+ text-transform: ${_r.textTransform};
352
222
  }
353
223
 
354
- `,Ec=dt`
224
+ `,Lc=R`
355
225
  .ft-typography--body1 {
356
- font-family: ${Yl};
357
- font-size: ${Jl};
358
- font-weight: ${Ql};
359
- letter-spacing: ${Xl};
360
- line-height: ${tc};
361
- text-transform: ${ec};
362
- }
363
- `,$c=dt`
226
+ font-family: ${Pr.fontFamily};
227
+ font-size: ${Pr.fontSize};
228
+ font-weight: ${Pr.fontWeight};
229
+ letter-spacing: ${Pr.letterSpacing};
230
+ line-height: ${Pr.lineHeight};
231
+ text-transform: ${Pr.textTransform};
232
+ }
233
+ `,Ic=R`
364
234
  .ft-typography--body2 {
365
- font-family: ${oc.fontFamily};
366
- font-size: ${oc.fontSize};
367
- font-weight: ${oc.fontWeight};
368
- letter-spacing: ${oc.letterSpacing};
369
- line-height: ${oc.lineHeight};
370
- text-transform: ${oc.textTransform};
371
- }
372
- `,kc=dt`
235
+ font-family: ${me.fontFamily};
236
+ font-size: ${me.fontSize};
237
+ font-weight: ${me.fontWeight};
238
+ letter-spacing: ${me.letterSpacing};
239
+ line-height: ${me.lineHeight};
240
+ text-transform: ${me.textTransform};
241
+ }
242
+ `,mn=R`
373
243
  .ft-typography--caption {
374
- font-family: ${ic};
375
- font-size: ${rc};
376
- font-weight: ${nc};
377
- letter-spacing: ${ac};
378
- line-height: ${sc};
379
- text-transform: ${lc};
380
- }
381
- `,Rc=dt`
244
+ font-family: ${Tr.fontFamily};
245
+ font-size: ${Tr.fontSize};
246
+ font-weight: ${Tr.fontWeight};
247
+ letter-spacing: ${Tr.letterSpacing};
248
+ line-height: ${Tr.lineHeight};
249
+ text-transform: ${Tr.textTransform};
250
+ }
251
+ `,kc=R`
382
252
  .ft-typography--breadcrumb {
383
- font-family: ${cc};
384
- font-size: ${hc};
385
- font-weight: ${fc};
386
- letter-spacing: ${dc};
387
- line-height: ${pc};
388
- text-transform: ${uc};
389
- }
390
- `,Ic=dt`
253
+ font-family: ${$r.fontFamily};
254
+ font-size: ${$r.fontSize};
255
+ font-weight: ${$r.fontWeight};
256
+ letter-spacing: ${$r.letterSpacing};
257
+ line-height: ${$r.lineHeight};
258
+ text-transform: ${$r.textTransform};
259
+ }
260
+ `,Dc=R`
391
261
  .ft-typography--overline {
392
- font-family: ${gc};
393
- font-size: ${yc};
394
- font-weight: ${bc};
395
- letter-spacing: ${mc};
396
- line-height: ${vc};
397
- text-transform: ${xc};
398
- }
399
- `,Lc=dt`
262
+ font-family: ${Lr.fontFamily};
263
+ font-size: ${Lr.fontSize};
264
+ font-weight: ${Lr.fontWeight};
265
+ letter-spacing: ${Lr.letterSpacing};
266
+ line-height: ${Lr.lineHeight};
267
+ text-transform: ${Lr.textTransform};
268
+ }
269
+ `,Mc=R`
400
270
  .ft-typography--button {
401
- font-family: ${Oc.fontFamily};
402
- font-size: ${Oc.fontSize};
403
- font-weight: ${Oc.fontWeight};
404
- letter-spacing: ${Oc.letterSpacing};
405
- line-height: ${Oc.lineHeight};
406
- text-transform: ${Oc.textTransform};
407
- }
408
- `,Uc=dt`
271
+ font-family: ${et.fontFamily};
272
+ font-size: ${et.fontSize};
273
+ font-weight: ${et.fontWeight};
274
+ letter-spacing: ${et.letterSpacing};
275
+ line-height: ${et.lineHeight};
276
+ text-transform: ${et.textTransform};
277
+ }
278
+ `,Uc=R`
409
279
  .ft-typography {
410
280
  vertical-align: inherit;
411
281
  }
412
- `,Ac=[Object.keys(Jo).map((t=>function(t){const e=Jo[t];return dt`
413
- .ft-typography--${ft(t)} {
414
- font-family: ${e.fontFamily};
415
- font-size: ${e.fontSize};
416
- font-weight: ${e.fontWeight};
417
- letter-spacing: ${e.letterSpacing};
418
- line-height: ${e.lineHeight};
419
- text-transform: ${e.textCase};
420
- }
421
- `}(t)))];var Wc,zc,Bc=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 Fc extends Tr{constructor(){super(...arguments),this.variant=wl.body1}render(){return this.element?Ol`
422
- <${vl(this.element)}
282
+ `,Fc=[Object.keys(Jr).map(t=>Rc(t))];var Bc=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},te=class extends M{constructor(){super(...arguments),this.variant=nr.body1}render(){return this.element?Ba`
283
+ <${Fa(this.element)}
284
+ part="text"
423
285
  class="ft-typography ft-typography--${this.variant}">
424
286
  <slot></slot>
425
- </${vl(this.element)}>
426
- `:Ol`
427
- <slot class="ft-typography ft-typography--${this.variant}"></slot>
428
- `}}Fc.styles=[wc,Sc,Cc,Nc,Ec,$c,kc,Rc,Ic,Lc,Uc,...Ac],Bc([we()],Fc.prototype,"element",void 0),Bc([we()],Fc.prototype,"variant",void 0),bo("ft-typography")(Fc),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;"}(Wc||(Wc={})),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;"}(zc||(zc={})),new Map([...["abw"].map((t=>[t,zc.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,zc.AUDIO])),...["avi"].map((t=>[t,zc.AVI])),...["chm","xhs"].map((t=>[t,zc.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,zc.CODE])),...["csv"].map((t=>[t,zc.CSV])),...["dita","ditamap","ditaval"].map((t=>[t,zc.DITA])),...["epub"].map((t=>[t,zc.EPUB])),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map((t=>[t,zc.EXCEL])),...["flac"].map((t=>[t,zc.FLAC])),...["gif"].map((t=>[t,zc.GIF])),...["gzip","x-gzip","giz","gz","tgz"].map((t=>[t,zc.GZIP])),...["html","htm","xhtml"].map((t=>[t,zc.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,zc.IMAGE])),...["jpeg","jpg","jpe"].map((t=>[t,zc.JPEG])),...["json"].map((t=>[t,zc.JSON])),...["m4a","m4p"].map((t=>[t,zc.M4A])),...["mov","qt"].map((t=>[t,zc.MOV])),...["mp3"].map((t=>[t,zc.MP3])),...["mp4","m4v"].map((t=>[t,zc.MP4])),...["ogg","oga"].map((t=>[t,zc.OGG])),...["pdf","ps"].map((t=>[t,zc.PDF])),...["png"].map((t=>[t,zc.PNG])),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map((t=>[t,zc.POWERPOINT])),...["rar"].map((t=>[t,zc.RAR])),...["stp"].map((t=>[t,zc.STP])),...["txt","rtf","md","mdown"].map((t=>[t,zc.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,zc.VIDEO])),...["wav"].map((t=>[t,zc.WAV])),...["wma"].map((t=>[t,zc.WMA])),...["doc","dot","docx","docm","dotx","dotm","docb"].map((t=>[t,zc.WORD])),...["xml","xsl","rdf"].map((t=>[t,zc.XML])),...["yaml","yml","x-yaml"].map((t=>[t,zc.YAML])),...["zip"].map((t=>[t,zc.ZIP]))]),zc.ABW,zc.AUDIO,zc.AVI,zc.CHM,zc.CODE,zc.CSV,zc.DITA,zc.EPUB,zc.EXCEL,zc.FLAC,zc.GIF,zc.GZIP,zc.HTML,zc.IMAGE,zc.JPEG,zc.JSON,zc.M4A,zc.MOV,zc.MP3,zc.MP4,zc.OGG,zc.PDF,zc.PNG,zc.POWERPOINT,zc.RAR,zc.STP,zc.TEXT,zc.UNKNOWN,zc.VIDEO,zc.WAV,zc.WMA,zc.WORD,zc.XML,zc.YAML,zc.ZIP;const _c={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")},Pc=dt`
287
+ </${Fa(this.element)}>
288
+ `:Ba`
289
+ <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
290
+ `}};te.styles=[_c,Pc,Tc,$c,Lc,Ic,mn,kc,Dc,Mc,Uc,...Fc];Bc([g()],te.prototype,"element",void 0);Bc([g()],te.prototype,"variant",void 0);F("ft-typography")(te);var yn;(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;"})(yn||(yn={}));var w;(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;"})(w||(w={}));var K0=new Map([...["abw"].map(t=>[t,w.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,w.AUDIO]),...["avi"].map(t=>[t,w.AVI]),...["chm","xhs"].map(t=>[t,w.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,w.CODE]),...["csv"].map(t=>[t,w.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,w.DITA]),...["epub"].map(t=>[t,w.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,w.EXCEL]),...["flac"].map(t=>[t,w.FLAC]),...["gif"].map(t=>[t,w.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,w.GZIP]),...["html","htm","xhtml"].map(t=>[t,w.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,w.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,w.JPEG]),...["json"].map(t=>[t,w.JSON]),...["m4a","m4p"].map(t=>[t,w.M4A]),...["mov","qt"].map(t=>[t,w.MOV]),...["mp3"].map(t=>[t,w.MP3]),...["mp4","m4v"].map(t=>[t,w.MP4]),...["ogg","oga"].map(t=>[t,w.OGG]),...["pdf","ps"].map(t=>[t,w.PDF]),...["png"].map(t=>[t,w.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,w.POWERPOINT]),...["rar"].map(t=>[t,w.RAR]),...["stp"].map(t=>[t,w.STP]),...["txt","rtf","md","mdown"].map(t=>[t,w.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,w.VIDEO]),...["wav"].map(t=>[t,w.WAV]),...["wma"].map(t=>[t,w.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,w.WORD]),...["xml","xsl","rdf"].map(t=>[t,w.XML]),...["yaml","yml","x-yaml"].map(t=>[t,w.YAML]),...["zip"].map(t=>[t,w.ZIP])]);var G0={[w.ABW]:"#91ABC6",[w.AUDIO]:"#1795E3",[w.AVI]:"#E63324",[w.CHM]:"#71C3EB",[w.CODE]:"#71C3EB",[w.CSV]:"#1F7345",[w.DITA]:"#71C3EB",[w.EPUB]:"#85B926",[w.EXCEL]:"#1F7345",[w.FLAC]:"#1795E3",[w.GIF]:"#59B031",[w.GZIP]:"#F8AB36",[w.HTML]:"#71C3EB",[w.IMAGE]:"#59B031",[w.JPEG]:"#59B031",[w.JSON]:"#71C3EB",[w.M4A]:"#1795E3",[w.MOV]:"#E63324",[w.MP3]:"#1795E3",[w.MP4]:"#E63324",[w.OGG]:"#1795E3",[w.PDF]:"#E44948",[w.PNG]:"#59B031",[w.POWERPOINT]:"#B54A2B",[w.RAR]:"#F8AB36",[w.STP]:"#3764B1",[w.TEXT]:"#3162AB",[w.UNKNOWN]:"#999999",[w.VIDEO]:"#E63324",[w.WAV]:"#1795E3",[w.WMA]:"#1795E3",[w.WORD]:"#3162AB",[w.XML]:"#71C3EB",[w.YAML]:"#71C3EB",[w.ZIP]:"#F8AB36"};var xe={size:n.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:n.extend("--ft-icon-fluid-topics-font-family","",n.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:n.extend("--ft-icon-file-format-font-family","",n.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:n.extend("--ft-icon-material-font-family","",n.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:n.create("--ft-icon-vertical-align","","UNKNOWN","unset")},zc=R`
429
291
  :host, i.ft-icon {
430
292
  display: inline-flex;
431
293
  align-items: center;
@@ -434,14 +296,14 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
434
296
  }
435
297
 
436
298
  :host {
437
- width: ${_c.size};
438
- height: ${_c.size};
299
+ width: ${xe.size};
300
+ height: ${xe.size};
439
301
  }
440
302
 
441
303
  i.ft-icon {
442
304
  width: 100%;
443
305
  height: 100%;
444
- font-size: ${_c.size};
306
+ font-size: ${xe.size};
445
307
  line-height: 1;
446
308
  font-weight: normal;
447
309
  text-transform: none;
@@ -452,33 +314,33 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
452
314
  text-rendering: auto;
453
315
  -webkit-font-smoothing: antialiased;
454
316
  -moz-osx-font-smoothing: grayscale;
455
- vertical-align: ${_c.verticalAlign};
317
+ vertical-align: ${xe.verticalAlign};
456
318
  }
457
319
 
458
320
  i.ft-icon.ft-icon--fluid-topics {
459
- font-family: ${_c.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
321
+ font-family: ${xe.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
460
322
 
461
323
  /* Ugly fix because font is broken */
462
- font-size: calc(0.75 * ${_c.size});
463
- line-height: ${_c.size};
324
+ font-size: calc(0.75 * ${xe.size});
325
+ line-height: ${xe.size};
464
326
  position: relative;
465
327
  top: -4%;
466
328
  justify-content: center;
467
329
  }
468
330
 
469
331
  .ft-icon--file-format {
470
- font-family: ${_c.fileFormatFontFamily}, ft-mime, sans-serif;
332
+ font-family: ${xe.fileFormatFontFamily}, ft-mime, sans-serif;
471
333
  }
472
334
 
473
335
  .ft-icon--material {
474
- font-family: ${_c.materialFontFamily}, "Material Icons", sans-serif;
336
+ font-family: ${xe.materialFontFamily}, "Material Icons", sans-serif;
475
337
  }
476
- `;var jc;!function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"}(jc||(jc={}));var Dc=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 Tc extends Tr{constructor(){super(...arguments),this.resolvedIcon=te}render(){const t=this.variant&&Object.values(jc).includes(this.variant)?this.variant:jc.fluid_topics,e=t!==jc.material||!!this.value;return Jt`
477
- <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
478
- ${Qe(this.resolvedIcon)}
479
- <slot ?hidden=${e}></slot>
338
+ `;var Lt;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Lt||(Lt={}));var gn=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ve=class extends M{constructor(){super(...arguments),this.resolvedIcon=B}render(){let e=this.variant&&Object.values(Lt).includes(this.variant)?this.variant:Lt.fluid_topics,r=e!==Lt.material||!!this.value;return $`
339
+ <i class="ft-icon ft-icon--${e}" part="icon icon-${e}">
340
+ ${Zn(this.resolvedIcon)}
341
+ <slot ?hidden=${r}></slot>
480
342
  </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 jc.file_format:this.resolvedIcon=null!==(t=zc[o.replace("-","_").toUpperCase()])&&void 0!==t?t:o;break;case jc.material:this.resolvedIcon=this.value||te;break;default:this.resolvedIcon=null!==(e=Wc[o.replace("-","_").toUpperCase()])&&void 0!==e?e:o}}firstUpdated(t){super.firstUpdated(t),setTimeout((()=>this.resolveIcon()))}}Tc.elementDefinitions={},Tc.styles=Pc,Dc([we()],Tc.prototype,"variant",void 0),Dc([we()],Tc.prototype,"value",void 0),Dc([Se()],Tc.prototype,"resolvedIcon",void 0),Dc([Ee("slot")],Tc.prototype,"slottedContent",void 0),bo("ft-icon")(Tc);const Mc={color:wo.extend("--ft-loader-color","",Ci.colorPrimary),size:wo.create("--ft-loader-size","","SIZE","80px")},Hc=dt`
343
+ `}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(o=>o.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let o=this.value||this.textContent;switch(this.variant){case Lt.file_format:this.resolvedIcon=(e=w[o.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:o;break;case Lt.material:this.resolvedIcon=this.value||B;break;default:this.resolvedIcon=(r=yn[o.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:o;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};ve.elementDefinitions={};ve.styles=zc;gn([g()],ve.prototype,"variant",void 0);gn([g()],ve.prototype,"value",void 0);gn([q()],ve.prototype,"resolvedIcon",void 0);gn([W("slot")],ve.prototype,"slottedContent",void 0);F("ft-icon")(ve);var Re={color:n.extend("--ft-loader-color","",T.colorPrimary),size:n.create("--ft-loader-size","","SIZE","80px")},Wc=R`
482
344
  :host {
483
345
  line-height: 0;
484
346
  }
@@ -487,8 +349,8 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
487
349
  display: inline-block;
488
350
  position: relative;
489
351
 
490
- width: ${Mc.size};
491
- height: ${Mc.size};
352
+ width: ${Re.size};
353
+ height: ${Re.size};
492
354
  }
493
355
 
494
356
  .ft-loader div {
@@ -497,7 +359,7 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
497
359
  width: 25%;
498
360
  height: 25%;
499
361
  border-radius: 50%;
500
- background: ${Mc.color};
362
+ background: ${Re.color};
501
363
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
502
364
  }
503
365
 
@@ -544,10 +406,10 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
544
406
  transform: translate(0, 0);
545
407
  }
546
408
  100% {
547
- transform: translate(calc(0.35 * ${Mc.size}), 0);
409
+ transform: translate(calc(0.35 * ${Re.size}), 0);
548
410
  }
549
411
  }
550
- `,Kc=wo.extend("--ft-button-color","",Ci.colorPrimary),Zc={backgroundColor:wo.extend("--ft-button-background-color","",Ci.colorSurface),borderRadius:wo.extend("--ft-button-border-radius","",Ci.borderRadiusL),color:Kc,fontSize:wo.extend("--ft-button-font-size","",Oc.fontSize),iconSize:wo.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:wo.extend("--ft-button-ripple-color","",Kc),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")},Gc=wo.extend("--ft-button-primary-color","",wo.extend("--ft-button-color","",Ci.colorOnPrimary)),Vc={backgroundColor:wo.extend("--ft-button-primary-background-color","",wo.extend("--ft-button-background-color","",Ci.colorPrimary)),color:Gc,rippleColor:wo.extend("--ft-button-primary-ripple-color","",Gc)},qc=wo.extend("--ft-button-dense-border-radius","",wo.extend("--ft-button-border-radius","",Ci.borderRadiusM)),Yc=wo.create("--ft-button-dense-vertical-padding","","SIZE","2px"),Jc=wo.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),Qc=wo.create("--ft-button-dense-icon-padding","","SIZE","4px"),Xc=[dt`
412
+ `;var Hc=n.extend("--ft-button-color","",T.colorPrimary),Y={backgroundColor:n.extend("--ft-button-background-color","",T.colorSurface),borderRadius:n.extend("--ft-button-border-radius","",T.borderRadiusL),color:Hc,fontSize:n.extend("--ft-button-font-size","",et.fontSize),iconSize:n.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:n.extend("--ft-button-ripple-color","",Hc),verticalPadding:n.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:n.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:n.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:n.external(T.colorOpacityDisabled,"Design system")},Vc=n.extend("--ft-button-primary-color","",n.extend("--ft-button-color","",T.colorOnPrimary)),za={backgroundColor:n.extend("--ft-button-primary-background-color","",n.extend("--ft-button-background-color","",T.colorPrimary)),color:Vc,rippleColor:n.extend("--ft-button-primary-ripple-color","",Vc)},tt={borderRadius:n.extend("--ft-button-dense-border-radius","",n.extend("--ft-button-border-radius","",T.borderRadiusM)),verticalPadding:n.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:n.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:n.create("--ft-button-dense-icon-padding","","SIZE","4px")},jc=[R`
551
413
  :host {
552
414
  display: inline-block;
553
415
  max-width: 100%;
@@ -558,7 +420,7 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
558
420
  box-shadow: 0px 0px 0px transparent;
559
421
  border: 0px solid transparent;
560
422
  text-shadow: 0px 0px 0px transparent;
561
- font-size: ${Zc.fontSize};
423
+ font-size: ${Y.fontSize};
562
424
  }
563
425
 
564
426
  button:hover {
@@ -587,31 +449,31 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
587
449
  border: none;
588
450
  pointer-events: auto;
589
451
 
590
- --ft-button-internal-line-height: max(calc(${Zc.fontSize} + 2px), ${Zc.iconSize});
591
- --ft-button-internal-color: ${Zc.color};
592
- ${So(_c.size,Zc.iconSize)};
593
- ${So(sl.color,Zc.rippleColor)};
452
+ --ft-button-internal-line-height: max(calc(${Y.fontSize} + 2px), ${Y.iconSize});
453
+ --ft-button-internal-color: ${Y.color};
454
+ ${I(xe.size,Y.iconSize)};
455
+ ${I(H.color,Y.rippleColor)};
594
456
 
595
- border-radius: ${Zc.borderRadius};
596
- padding: ${Zc.verticalPadding} ${Zc.horizontalPadding};
597
- background-color: ${Zc.backgroundColor};
457
+ border-radius: ${Y.borderRadius};
458
+ padding: ${Y.verticalPadding} ${Y.horizontalPadding};
459
+ background-color: ${Y.backgroundColor};
598
460
  color: var(--ft-button-internal-color);
599
461
  -webkit-mask-image: radial-gradient(white, black);
600
462
  }
601
463
 
602
464
  .ft-button.ft-button--outlined {
603
465
  border: 1px solid var(--ft-button-internal-color);
604
- padding: calc(${Zc.verticalPadding} - 1px) calc(${Zc.horizontalPadding} - 1px);
466
+ padding: calc(${Y.verticalPadding} - 1px) calc(${Y.horizontalPadding} - 1px);
605
467
  }
606
468
 
607
469
  .ft-button.ft-button--dense {
608
- padding: ${Yc} ${Jc};
609
- border-radius: ${qc};
610
- gap: ${Qc};
470
+ padding: ${tt.verticalPadding} ${tt.horizontalPadding};
471
+ border-radius: ${tt.borderRadius};
472
+ gap: ${tt.iconPadding};
611
473
  }
612
474
 
613
475
  .ft-button.ft-button--dense.ft-button--outlined {
614
- padding: calc(${Yc} - 1px) calc(${Jc} - 1px);
476
+ padding: calc(${tt.verticalPadding} - 1px) calc(${tt.horizontalPadding} - 1px);
615
477
  }
616
478
 
617
479
  .ft-button:not([disabled]):hover {
@@ -619,22 +481,22 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
619
481
  }
620
482
 
621
483
  .ft-button--round {
622
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Zc.verticalPadding});
484
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Y.verticalPadding});
623
485
  }
624
486
 
625
487
  .ft-button--round.ft-button--dense {
626
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Yc});
488
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${tt.verticalPadding});
627
489
  }
628
490
 
629
491
  .ft-button[disabled] {
630
492
  filter: grayscale(1);
631
- opacity: ${Zc.opacityDisabled};
493
+ opacity: ${Y.opacityDisabled};
632
494
  }
633
495
 
634
496
  .ft-button.ft-button--primary {
635
- background-color: ${Vc.backgroundColor};
636
- --ft-button-internal-color: ${Vc.color};
637
- ${So(sl.color,Vc.rippleColor)};
497
+ background-color: ${za.backgroundColor};
498
+ --ft-button-internal-color: ${za.color};
499
+ ${I(H.color,za.rippleColor)};
638
500
  }
639
501
 
640
502
  .ft-button:focus {
@@ -647,44 +509,43 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
647
509
  white-space: nowrap;
648
510
  text-overflow: ellipsis;
649
511
  display: block;
650
- margin: 0 ${Zc.iconPadding};
651
- ${So(Oc.fontSize,"1em")};
652
- ${So(Oc.lineHeight,"var(--ft-button-internal-line-height)")};
512
+ margin: 0 ${Y.iconPadding};
513
+ ${I(et.fontSize,"1em")};
514
+ ${I(et.lineHeight,"var(--ft-button-internal-line-height)")};
653
515
  }
654
516
 
655
517
  .ft-button--dense .ft-button--label {
656
- margin: 0 ${Qc};
518
+ margin: 0 ${tt.iconPadding};
657
519
  }
658
520
 
659
521
  .ft-button--label[hidden] {
660
522
  display: none;
661
523
  }
662
524
 
663
- ft-icon {
525
+ [part="icon"] {
664
526
  flex-shrink: 0;
665
527
  position: relative;
666
528
  }
667
529
 
668
- .ft-button--label[hidden] + ft-icon {
669
- margin: 0 calc(${Zc.horizontalPadding} * -1);
670
- padding: 0 ${Zc.verticalPadding};
530
+ .ft-button--label[hidden] + [part="icon"] {
531
+ margin: 0 calc(${Y.horizontalPadding} * -1);
532
+ padding: 0 ${Y.verticalPadding};
671
533
  }
672
534
 
673
- .ft-button--dense .ft-button--label[hidden] + ft-icon {
674
- margin: 0 calc(${Jc} * -1);
675
- padding: 0 ${Yc};
535
+ .ft-button--dense .ft-button--label[hidden] + [part="icon"] {
536
+ margin: 0 calc(${tt.horizontalPadding} * -1);
537
+ padding: 0 ${tt.verticalPadding};
676
538
  }
677
539
 
678
- .ft-button:not(.ft-button--trailing-icon) ft-icon,
679
- .ft-button:not(.ft-button--trailing-icon) ft-loader {
680
- order: -1;
540
+ .ft-button:not(.ft-button--trailing-icon) [part="label"]{
541
+ order: 2;
681
542
  }
682
543
 
683
544
  ft-loader {
684
- ${So(Mc.size,Zc.iconSize)};
685
- ${So(Mc.color,"var(--ft-button-internal-color)")};
545
+ ${I(Re.size,Y.iconSize)};
546
+ ${I(Re.color,"var(--ft-button-internal-color)")};
686
547
  }
687
- `,Qr],th=wo.create("--ft-tooltip-distance","","SIZE","4px"),eh=wo.create("--ft-tooltip-color","","COLOR","#FFFFFF"),oh=wo.create("--ft-tooltip-background-color","","COLOR","#666666"),ih=wo.create("--ft-tooltip-z-index","","NUMBER","100"),rh=wo.external(Ci.borderRadiusS,"Design system"),nh=wo.create("--ft-tooltip-max-width","","SIZE","150px"),ah=dt`
548
+ `,Jt];var Ir={distance:n.create("--ft-tooltip-distance","","SIZE","4px"),color:n.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:n.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:n.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:n.external(T.borderRadiusS,"Design system"),maxWidth:n.create("--ft-tooltip-max-width","","SIZE","150px")},Kc=R`
688
549
  .ft-tooltip--container {
689
550
  display: block;
690
551
  }
@@ -699,21 +560,21 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
699
560
  box-sizing: border-box;
700
561
  overflow: hidden;
701
562
  width: max-content;
702
- max-width: ${nh};
563
+ max-width: ${Ir.maxWidth};
703
564
  text-align: center;
704
- padding: ${th};
705
- z-index: ${ih};
565
+ padding: ${Ir.distance};
566
+ z-index: ${Ir.zIndex};
706
567
  }
707
568
 
708
569
  .ft-tooltip--content {
709
570
  padding: 4px 8px;
710
- border-radius: ${rh};
711
- background-color: ${oh};
712
- color: ${eh};
571
+ border-radius: ${Ir.borderRadiusS};
572
+ background-color: ${Ir.backgroundColor};
573
+ color: ${Ir.color};
713
574
  position: relative;
714
575
  word-break: break-word;
715
576
  }
716
- `;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 lh 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`
577
+ `;var Ne=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Q=class extends M{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 re,this.revealDebouncer=new re}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return $`
717
578
  <div part="container"
718
579
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
719
580
  @mouseenter=${this.onHover}
@@ -731,37 +592,40 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
731
592
  </div>
732
593
  </div>
733
594
  </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))}}lh.elementDefinitions={"ft-typography":Fc},lh.styles=ah,sh([we()],lh.prototype,"text",void 0),sh([we({type:Boolean})],lh.prototype,"manual",void 0),sh([we({type:Boolean})],lh.prototype,"inline",void 0),sh([we({type:Number})],lh.prototype,"delay",void 0),sh([we()],lh.prototype,"position",void 0),sh([Ie()],lh.prototype,"slotNodes",void 0),sh([Ee(".ft-tooltip--container")],lh.prototype,"container",void 0),sh([Ee(".ft-tooltip")],lh.prototype,"tooltip",void 0),sh([Ee(".ft-tooltip--content")],lh.prototype,"tooltipContent",void 0),sh([Se()],lh.prototype,"visible",void 0),sh([Ce({passive:!0})],lh.prototype,"onTouch",null),sh([Ce({passive:!0})],lh.prototype,"onHover",null),sh([Ce({passive:!0})],lh.prototype,"onOut",null),sh([Ce({passive:!0})],lh.prototype,"onClick",null),bo("ft-tooltip")(lh);class ch extends Tr{render(){return Jt`
595
+ `}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Vi(this.slottedElement,this.tooltip,this.position).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${r}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",e=>{e.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(e,r){return Math.max(e,Math.min(0,-r))}};Q.elementDefinitions={"ft-typography":te};Q.styles=Kc;Ne([g()],Q.prototype,"text",void 0);Ne([g({type:Boolean})],Q.prototype,"manual",void 0);Ne([g({type:Boolean})],Q.prototype,"inline",void 0);Ne([g({type:Number})],Q.prototype,"delay",void 0);Ne([g()],Q.prototype,"position",void 0);Ne([Hn()],Q.prototype,"slotNodes",void 0);Ne([W(".ft-tooltip--container")],Q.prototype,"container",void 0);Ne([W(".ft-tooltip")],Q.prototype,"tooltip",void 0);Ne([W(".ft-tooltip--content")],Q.prototype,"tooltipContent",void 0);Ne([q()],Q.prototype,"visible",void 0);Ne([cr({passive:!0})],Q.prototype,"onTouch",null);Ne([cr({passive:!0})],Q.prototype,"onHover",null);Ne([cr({passive:!0})],Q.prototype,"onOut",null);Ne([cr({passive:!0})],Q.prototype,"onClick",null);F("ft-tooltip")(Q);var ir=class extends M{render(){return $`
735
596
  <div class="ft-loader">
736
597
  <div></div>
737
598
  <div></div>
738
599
  <div></div>
739
600
  <div></div>
740
601
  </div>
741
- `}}ch.styles=Hc,bo("ft-loader")(ch);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(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`
602
+ `}};ir.styles=Wc;F("ft-loader")(ir);var De=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ce=class extends Na(M,"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",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){return this.addTooltipIfNeeded($`
742
603
  <button part="button"
743
- class="${Ke(this.buttonClasses)}"
604
+ class="${Le(this.buttonClasses)}"
744
605
  aria-label="${this.getLabel()}"
745
606
  ?disabled=${this.isDisabled()}>
746
607
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
747
608
  <ft-typography part="label"
748
609
  variant=${this.typographyVariant}
749
610
  element="span"
750
- class="ft-button--label ${ps?"ft-safari-ellipsis-fix":""}"
611
+ class="ft-button--label ${rr?"ft-safari-ellipsis-fix":""}"
751
612
  ?hidden=${!this.hasTextContent()}>
752
613
  <slot @slotchange=${this.onSlotchange}></slot>
753
614
  </ft-typography>
754
615
  ${this.resolveIcon()}
755
616
  </button>
756
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?Jt`
617
+ `)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?$`
757
618
  <ft-tooltip part="tooltip"
758
619
  text="${this.getLabel()}"
759
620
  position="${this.tooltipPosition}">
760
- ${t}
621
+ ${e}
761
622
  </ft-tooltip>
762
- `:t}resolveIcon(){return this.loading?Jt`
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}}fh.elementDefinitions={"ft-ripple":yl,"ft-tooltip":lh,"ft-typography":Fc,"ft-icon":Tc,"ft-loader":ch},hh([we({type:String,reflect:!0})],fh.prototype,"role",void 0),hh([we()],fh.prototype,"type",void 0),hh([we({type:Boolean})],fh.prototype,"disabled",void 0),hh([we()],fh.prototype,"label",void 0),hh([we()],fh.prototype,"icon",void 0),hh([we()],fh.prototype,"iconVariant",void 0),hh([we({type:Boolean})],fh.prototype,"trailingIcon",void 0),hh([we({type:Boolean})],fh.prototype,"loading",void 0),hh([we()],fh.prototype,"tooltipPosition",void 0),hh([we({type:Boolean})],fh.prototype,"hideTooltip",void 0),hh([we({type:Boolean})],fh.prototype,"forceTooltip",void 0),hh([Ee(".ft-button")],fh.prototype,"button",void 0),hh([Ee(".ft-button--label slot")],fh.prototype,"slottedContent",void 0);var dh=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 fh{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"}}ph.styles=[tn,Xc],dh([we({type:Boolean})],ph.prototype,"primary",void 0),dh([we({type:Boolean})],ph.prototype,"outlined",void 0),dh([we({type:Boolean})],ph.prototype,"dense",void 0),dh([we({type:Boolean})],ph.prototype,"round",void 0);const uh=[dt`
623
+ `:e}resolveIcon(){return this.loading?$`
624
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?$`
625
+ <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
626
+ `:$`
627
+ <slot part="icon" name="icon"></slot>
628
+ `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(r=>this.unslotText(r)).join(""):e?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};ce.elementDefinitions={"ft-ripple":Z,"ft-tooltip":Q,"ft-typography":te,"ft-icon":ve,"ft-loader":ir};De([g({type:String,reflect:!0})],ce.prototype,"role",void 0);De([g()],ce.prototype,"type",void 0);De([g({type:Boolean})],ce.prototype,"disabled",void 0);De([g()],ce.prototype,"label",void 0);De([g()],ce.prototype,"icon",void 0);De([g()],ce.prototype,"iconVariant",void 0);De([g({type:Boolean})],ce.prototype,"trailingIcon",void 0);De([g({type:Boolean})],ce.prototype,"loading",void 0);De([g()],ce.prototype,"tooltipPosition",void 0);De([g({type:Boolean})],ce.prototype,"hideTooltip",void 0);De([g({type:Boolean})],ce.prototype,"forceTooltip",void 0);De([W(".ft-button")],ce.prototype,"button",void 0);De([W(".ft-button--label slot")],ce.prototype,"slottedContent",void 0);var bn=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ye=class extends ce{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"}};ye.styles=[ao,jc];bn([g({type:Boolean})],ye.prototype,"primary",void 0);bn([g({type:Boolean})],ye.prototype,"outlined",void 0);bn([g({type:Boolean})],ye.prototype,"dense",void 0);bn([g({type:Boolean})],ye.prototype,"round",void 0);var Gc=[R`
765
629
  :host {
766
630
  display: inline-block;
767
631
  max-width: 100%;
@@ -811,7 +675,7 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
811
675
  }
812
676
 
813
677
  .ft-button:focus-visible {
814
- outline-color: ${Xo.focusFocusRingColor};
678
+ outline-color: ${P.focusFocusRingColor};
815
679
  outline-style: solid;
816
680
  }
817
681
 
@@ -840,146 +704,146 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
840
704
  /** Primary styles **/
841
705
 
842
706
  .ft-button--primary {
843
- ${So(Mc.color,Xo.primaryIconColor)};
707
+ ${I(Re.color,P.primaryIconColor)};
844
708
 
845
- ${So(sl.color,Xo.primaryStateLayerColor)};
846
- ${So(sl.opacityContentOnSurfaceHover,Xo.primaryHoverStateLayerOpacity)};
847
- ${So(sl.opacityContentOnSurfaceFocused,Xo.primaryFocusStateLayerOpacity)};
848
- ${So(sl.opacityContentOnSurfaceSelected,Xo.primaryActiveStateLayerOpacity)};
849
- ${So(sl.opacityContentOnSurfacePressed,Xo.primaryActiveStateLayerOpacity)};
709
+ ${I(H.color,P.primaryStateLayerColor)};
710
+ ${I(H.opacityContentOnSurfaceHover,P.primaryHoverStateLayerOpacity)};
711
+ ${I(H.opacityContentOnSurfaceFocused,P.primaryFocusStateLayerOpacity)};
712
+ ${I(H.opacityContentOnSurfaceSelected,P.primaryActiveStateLayerOpacity)};
713
+ ${I(H.opacityContentOnSurfacePressed,P.primaryActiveStateLayerOpacity)};
850
714
 
851
- background-color: ${Xo.primaryBackgroundColor};
852
- color: ${Xo.primaryColor};
715
+ background-color: ${P.primaryBackgroundColor};
716
+ color: ${P.primaryColor};
853
717
  border-style: none;
854
718
  }
855
719
 
856
720
  .ft-button--primary[disabled] {
857
- opacity: ${Xo.primaryDisabledComponentOpacity};
721
+ opacity: ${P.primaryDisabledComponentOpacity};
858
722
  }
859
723
 
860
724
  .ft-button--primary ft-icon {
861
- color: ${Xo.primaryIconColor};
725
+ color: ${P.primaryIconColor};
862
726
  }
863
727
 
864
728
  /** Secondary styles **/
865
729
 
866
730
  .ft-button--secondary {
867
- ${So(Mc.color,Xo.secondaryIconColor)};
731
+ ${I(Re.color,P.secondaryIconColor)};
868
732
 
869
- ${So(sl.color,Xo.secondaryStateLayerColor)};
870
- ${So(sl.opacityContentOnSurfaceHover,Xo.secondaryHoverStateLayerOpacity)};
871
- ${So(sl.opacityContentOnSurfaceFocused,Xo.secondaryFocusStateLayerOpacity)};
872
- ${So(sl.opacityContentOnSurfaceSelected,Xo.secondaryActiveStateLayerOpacity)};
873
- ${So(sl.opacityContentOnSurfacePressed,Xo.secondaryActiveStateLayerOpacity)};
733
+ ${I(H.color,P.secondaryStateLayerColor)};
734
+ ${I(H.opacityContentOnSurfaceHover,P.secondaryHoverStateLayerOpacity)};
735
+ ${I(H.opacityContentOnSurfaceFocused,P.secondaryFocusStateLayerOpacity)};
736
+ ${I(H.opacityContentOnSurfaceSelected,P.secondaryActiveStateLayerOpacity)};
737
+ ${I(H.opacityContentOnSurfacePressed,P.secondaryActiveStateLayerOpacity)};
874
738
 
875
- background-color: ${Xo.secondaryBackgroundColor};
876
- color: ${Xo.secondaryColor};
877
- border-color: ${Xo.secondaryBorderColor};
739
+ background-color: ${P.secondaryBackgroundColor};
740
+ color: ${P.secondaryColor};
741
+ border-color: ${P.secondaryBorderColor};
878
742
  border-style: solid;
879
743
  }
880
744
 
881
745
  .ft-button--secondary[disabled] {
882
- opacity: ${Xo.secondaryDisabledComponentOpacity};
746
+ opacity: ${P.secondaryDisabledComponentOpacity};
883
747
  }
884
748
 
885
749
  .ft-button--secondary ft-icon {
886
- color: ${Xo.secondaryIconColor};
750
+ color: ${P.secondaryIconColor};
887
751
  }
888
752
 
889
753
  /** Tertiary styles **/
890
754
 
891
755
  .ft-button--tertiary {
892
- ${So(Mc.color,Xo.tertiaryIconColor)};
756
+ ${I(Re.color,P.tertiaryIconColor)};
893
757
 
894
- ${So(sl.color,Xo.tertiaryStateLayerColor)};
895
- ${So(sl.opacityContentOnSurfaceHover,Xo.tertiaryHoverStateLayerOpacity)};
896
- ${So(sl.opacityContentOnSurfaceFocused,Xo.tertiaryFocusStateLayerOpacity)};
897
- ${So(sl.opacityContentOnSurfaceSelected,Xo.tertiaryActiveStateLayerOpacity)};
898
- ${So(sl.opacityContentOnSurfacePressed,Xo.tertiaryActiveStateLayerOpacity)};
758
+ ${I(H.color,P.tertiaryStateLayerColor)};
759
+ ${I(H.opacityContentOnSurfaceHover,P.tertiaryHoverStateLayerOpacity)};
760
+ ${I(H.opacityContentOnSurfaceFocused,P.tertiaryFocusStateLayerOpacity)};
761
+ ${I(H.opacityContentOnSurfaceSelected,P.tertiaryActiveStateLayerOpacity)};
762
+ ${I(H.opacityContentOnSurfacePressed,P.tertiaryActiveStateLayerOpacity)};
899
763
 
900
- background-color: ${Xo.tertiaryBackgroundColor};
901
- color: ${Xo.tertiaryColor};
764
+ background-color: ${P.tertiaryBackgroundColor};
765
+ color: ${P.tertiaryColor};
902
766
  border-style: none;
903
767
  }
904
768
 
905
769
  .ft-button--tertiary[disabled] {
906
- opacity: ${Xo.tertiaryDisabledComponentOpacity};
770
+ opacity: ${P.tertiaryDisabledComponentOpacity};
907
771
  }
908
772
 
909
773
  .ft-button--tertiary ft-icon {
910
- color: ${Xo.tertiaryIconColor};
774
+ color: ${P.tertiaryIconColor};
911
775
  }
912
776
 
913
777
  /** Neutral styles **/
914
778
 
915
779
  .ft-button--neutral {
916
- ${So(Mc.color,Xo.neutralIconColor)};
780
+ ${I(Re.color,P.neutralIconColor)};
917
781
 
918
- ${So(sl.backgroundColor,Xo.neutralStateLayerColor)};
919
- ${So(sl.opacityContentOnSurfaceHover,Xo.neutralHoverStateLayerOpacity)};
920
- ${So(sl.opacityContentOnSurfaceFocused,Xo.neutralFocusStateLayerOpacity)};
921
- ${So(sl.opacityContentOnSurfaceSelected,Xo.neutralActiveStateLayerOpacity)};
922
- ${So(sl.opacityContentOnSurfacePressed,Xo.neutralActiveStateLayerOpacity)};
782
+ ${I(H.backgroundColor,P.neutralStateLayerColor)};
783
+ ${I(H.opacityContentOnSurfaceHover,P.neutralHoverStateLayerOpacity)};
784
+ ${I(H.opacityContentOnSurfaceFocused,P.neutralFocusStateLayerOpacity)};
785
+ ${I(H.opacityContentOnSurfaceSelected,P.neutralActiveStateLayerOpacity)};
786
+ ${I(H.opacityContentOnSurfacePressed,P.neutralActiveStateLayerOpacity)};
923
787
 
924
- background-color: ${Xo.neutralBackgroundColor};
925
- color: ${Xo.neutralColor};
788
+ background-color: ${P.neutralBackgroundColor};
789
+ color: ${P.neutralColor};
926
790
  border-style: none;
927
791
  }
928
792
 
929
793
  .ft-button--neutral[disabled] {
930
- opacity: ${Xo.neutralDisabledComponentOpacity};
794
+ opacity: ${P.neutralDisabledComponentOpacity};
931
795
  }
932
796
 
933
797
  .ft-button--neutral ft-icon {
934
- color: ${Xo.neutralIconColor};
798
+ color: ${P.neutralIconColor};
935
799
  }
936
800
 
937
801
  /** Large styles **/
938
802
 
939
803
  .ft-button--large {
940
- ${So(_c.size,Xo.largeIconSize)};
941
- ${So(Mc.size,Xo.largeIconSize)};
804
+ ${I(xe.size,P.largeIconSize)};
805
+ ${I(Re.size,P.largeIconSize)};
942
806
 
943
- height: ${Xo.largeHeight};
944
- padding: 0 ${Xo.largeHorizontalPadding};
945
- gap: ${Xo.largeGap};
946
- border-radius: ${Xo.largeBorderRadius};
947
- border-width: ${Xo.largeBorderWidth};
807
+ height: ${P.largeHeight};
808
+ padding: 0 ${P.largeHorizontalPadding};
809
+ gap: ${P.largeGap};
810
+ border-radius: ${P.largeBorderRadius};
811
+ border-width: ${P.largeBorderWidth};
948
812
  }
949
813
 
950
814
  .ft-button--large:focus-visible {
951
- outline-width: ${Xo.largeFocusOutlineWidth};
952
- outline-offset: ${Xo.largeFocusOutlineOffset};
815
+ outline-width: ${P.largeFocusOutlineWidth};
816
+ outline-offset: ${P.largeFocusOutlineOffset};
953
817
  }
954
818
 
955
819
  .ft-button--large.ft-button--icon-only {
956
- width: ${Xo.largeIconOnlyWidth};
820
+ width: ${P.largeIconOnlyWidth};
957
821
  padding: unset;
958
822
  }
959
823
 
960
824
  /** Small styles **/
961
825
 
962
826
  .ft-button--small {
963
- ${So(_c.size,Xo.smallIconSize)};
964
- ${So(Mc.size,Xo.smallIconSize)};
827
+ ${I(xe.size,P.smallIconSize)};
828
+ ${I(Re.size,P.smallIconSize)};
965
829
 
966
- height: ${Xo.smallHeight};
967
- padding: 0 ${Xo.smallHorizontalPadding};
968
- gap: ${Xo.smallGap};
969
- border-radius: ${Xo.smallBorderRadius};
970
- border-width: ${Xo.smallBorderWidth};
830
+ height: ${P.smallHeight};
831
+ padding: 0 ${P.smallHorizontalPadding};
832
+ gap: ${P.smallGap};
833
+ border-radius: ${P.smallBorderRadius};
834
+ border-width: ${P.smallBorderWidth};
971
835
  }
972
836
 
973
837
  .ft-button--small:focus-visible {
974
- outline-width: ${Xo.smallFocusOutlineWidth};
975
- outline-offset: ${Xo.smallFocusOutlineOffset};
838
+ outline-width: ${P.smallFocusOutlineWidth};
839
+ outline-offset: ${P.smallFocusOutlineOffset};
976
840
  }
977
841
 
978
842
  .ft-button--small.ft-button--icon-only {
979
- width: ${Xo.smallIconOnlyWidth};
843
+ width: ${P.smallIconOnlyWidth};
980
844
  padding: unset;
981
845
  }
982
- `,Qr];var gh=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 yh extends fh{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?wl.caption1medium:wl.body2medium}}yh.styles=[tn,uh],gh([we({type:Boolean})],yh.prototype,"primary",void 0),gh([we({type:Boolean})],yh.prototype,"secondary",void 0),gh([we({type:Boolean})],yh.prototype,"tertiary",void 0),gh([we({type:Boolean})],yh.prototype,"neutral",void 0),gh([we({type:Boolean})],yh.prototype,"small",void 0),bo("ft-button")(ph),bo("ftds-button")(yh);const bh=wo.extend("--ft-chip-color","",Ci.colorOnSurface),mh={backgroundColor:wo.extend("--ft-chip-background-color","",Ci.colorSurface),color:bh,fontSize:wo.extend("--ft-chip-font-size","",oc.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","",bh),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")},vh=wo.extend("--ft-chip-highlighted-color","",wo.extend("--ft-chip-color","",Ci.colorOnPrimary)),xh={backgroundColor:wo.extend("--ft-chip-highlighted-background-color","",wo.extend("--ft-chip-background-color","",Ci.colorPrimary)),color:vh,rippleColor:wo.extend("--ft-chip-highlighted-ripple-color","",vh)},Oh=wo.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),wh=wo.create("--ft-chip-dense-vertical-padding","","SIZE","4px"),Sh=[Qr,dt`
846
+ `,Jt];var mo=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},rt=class extends ce{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?nr.caption1medium:nr.body2medium}};rt.styles=[ao,Gc];mo([g({type:Boolean})],rt.prototype,"primary",void 0);mo([g({type:Boolean})],rt.prototype,"secondary",void 0);mo([g({type:Boolean})],rt.prototype,"tertiary",void 0);mo([g({type:Boolean})],rt.prototype,"neutral",void 0);mo([g({type:Boolean})],rt.prototype,"small",void 0);F("ft-button")(ye);F("ftds-button")(rt);var Zc=n.extend("--ft-chip-color","",T.colorOnSurface),Be={backgroundColor:n.extend("--ft-chip-background-color","",T.colorSurface),color:Zc,fontSize:n.extend("--ft-chip-font-size","",me.fontSize),iconSize:n.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:n.create("--ft-chip-border-radius","","SIZE",""),rippleColor:n.extend("--ft-chip-ripple-color","",Zc),horizontalPadding:n.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:n.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:n.external(T.colorOutline,"Design system"),opacityDisabled:n.external(T.colorOpacityDisabled,"Design system")},qc=n.extend("--ft-chip-highlighted-color","",n.extend("--ft-chip-color","",T.colorOnPrimary)),Wa={backgroundColor:n.extend("--ft-chip-highlighted-background-color","",n.extend("--ft-chip-background-color","",T.colorPrimary)),color:qc,rippleColor:n.extend("--ft-chip-highlighted-ripple-color","",qc)},Yc={horizontalPadding:n.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:n.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},Xc=[Jt,R`
983
847
  :host {
984
848
  display: inline-block;
985
849
  max-width: 100%;
@@ -995,20 +859,20 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
995
859
  box-sizing: border-box;
996
860
  pointer-events: auto;
997
861
 
998
- --ft-chip-internal-font-size: ${mh.fontSize};
862
+ --ft-chip-internal-font-size: ${Be.fontSize};
999
863
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
1000
- ${So(_c.size,mh.iconSize)};
1001
- --ft-chip-internal-vertical-padding: ${mh.verticalPadding};
1002
- --ft-chip-internal-horizontal-padding: ${mh.horizontalPadding};
864
+ ${I(xe.size,Be.iconSize)};
865
+ --ft-chip-internal-vertical-padding: ${Be.verticalPadding};
866
+ --ft-chip-internal-horizontal-padding: ${Be.horizontalPadding};
1003
867
  --ft-chip-internal-icon-padding: 3px;
1004
- --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${mh.iconSize});
868
+ --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${Be.iconSize});
1005
869
 
1006
- border: 1px solid ${mh.colorOutline};
1007
- color: ${mh.color};
1008
- ${So(sl.color,mh.rippleColor)};
1009
- border-radius: var(${ft(mh.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
870
+ border: 1px solid ${Be.colorOutline};
871
+ color: ${Be.color};
872
+ ${I(H.color,Be.rippleColor)};
873
+ border-radius: var(${it(Be.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
1010
874
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
1011
- background-color: ${mh.backgroundColor};
875
+ background-color: ${Be.backgroundColor};
1012
876
  line-height: var(--ft-chip-internal-content-height);
1013
877
  }
1014
878
 
@@ -1018,8 +882,8 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
1018
882
 
1019
883
  .ft-chip--dense {
1020
884
  --ft-chip-internal-icon-padding: 3px;
1021
- --ft-chip-internal-vertical-padding: ${wh};
1022
- --ft-chip-internal-horizontal-padding: ${Oh};
885
+ --ft-chip-internal-vertical-padding: ${Yc.verticalPadding};
886
+ --ft-chip-internal-horizontal-padding: ${Yc.horizontalPadding};
1023
887
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
1024
888
  }
1025
889
 
@@ -1031,15 +895,15 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
1031
895
  cursor: default;
1032
896
  pointer-events: none;
1033
897
  filter: grayscale(1);
1034
- opacity: ${mh.opacityDisabled};
898
+ opacity: ${Be.opacityDisabled};
1035
899
  }
1036
900
 
1037
901
  .ft-chip--highlighted {
1038
902
  border: none;
1039
903
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
1040
- background-color: ${xh.backgroundColor};
1041
- ${So(sl.color,xh.rippleColor)};
1042
- color: ${xh.color};
904
+ background-color: ${Wa.backgroundColor};
905
+ ${I(H.color,Wa.rippleColor)};
906
+ color: ${Wa.color};
1043
907
  }
1044
908
 
1045
909
  .ft-chip--clickable {
@@ -1069,9 +933,9 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
1069
933
  }
1070
934
 
1071
935
  .ft-chip--icon-button {
1072
- ${So(Zc.iconSize,mh.iconSize)};
1073
- ${So(Zc.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
1074
- ${So(Zc.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
936
+ ${I(Y.iconSize,Be.iconSize)};
937
+ ${I(Y.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
938
+ ${I(Y.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
1075
939
  margin: calc((-1) * var(--ft-chip-internal-icon-padding));
1076
940
  }
1077
941
 
@@ -1079,8 +943,8 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
1079
943
  vertical-align: bottom;
1080
944
  display: block;
1081
945
  margin: 0 var(--ft-chip-internal-horizontal-padding);
1082
- ${So(oc.fontSize,"var(--ft-chip-internal-font-size)")};
1083
- ${So(oc.lineHeight,"var(--ft-chip-internal-content-height)")};
946
+ ${I(me.fontSize,"var(--ft-chip-internal-font-size)")};
947
+ ${I(me.lineHeight,"var(--ft-chip-internal-content-height)")};
1084
948
  }
1085
949
 
1086
950
  .ft-chip--safari-fix .ft-chip--label {
@@ -1116,8 +980,8 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
1116
980
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
1117
981
  order: -1;
1118
982
  }
1119
- `];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 Nh extends CustomEvent{constructor(){super("icon-click")}}class Eh 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)}"
983
+ `];var Me=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},xn=class extends CustomEvent{constructor(){super("icon-click")}},ae=class extends M{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(){let e={"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":rr};return $`
984
+ <div class="${Le(e)}"
1121
985
  aria-label="${this.getLabel()}"
1122
986
  tabindex="${this.interactionsOnChip?0:-1}"
1123
987
  @keyup=${this.onKeyUp}
@@ -1128,7 +992,7 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
1128
992
  </ft-typography>
1129
993
  ${this.internalIcon?this.renderIcon():null}
1130
994
  </div>
1131
- `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?Jt`
995
+ `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?$`
1132
996
  <ft-button round
1133
997
  class="ft-chip--icon-button"
1134
998
  @click=${this.onIconClick}
@@ -1137,28 +1001,28 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
1137
1001
  label="${this.iconLabel}"
1138
1002
  part="icon-button"
1139
1003
  ></ft-button>
1140
- `:Jt`
1004
+ `:$`
1141
1005
  <div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
1142
1006
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
1143
1007
  </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 Nh))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Nh))}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)}}Eh.elementDefinitions={"ft-ripple":yl,"ft-typography":Fc,"ft-icon":Tc,"ft-button":ph},Eh.styles=Sh,Ch([we({type:Boolean})],Eh.prototype,"highlighted",void 0),Ch([we({type:Boolean})],Eh.prototype,"removable",void 0),Ch([we({type:Boolean})],Eh.prototype,"disabled",void 0),Ch([we({type:Boolean})],Eh.prototype,"clickable",void 0),Ch([we({type:Boolean})],Eh.prototype,"iconClickable",void 0),Ch([we({type:Boolean})],Eh.prototype,"dense",void 0),Ch([we({type:Boolean})],Eh.prototype,"multiLine",void 0),Ch([we()],Eh.prototype,"label",void 0),Ch([we()],Eh.prototype,"iconLabel",void 0),Ch([we()],Eh.prototype,"icon",void 0),Ch([we()],Eh.prototype,"iconVariant",void 0),Ch([we({type:Boolean})],Eh.prototype,"trailingIcon",void 0),Ch([Ee("ft-typography slot")],Eh.prototype,"slottedContent",void 0),bo("ft-chip")(Eh);const $h=dt`
1145
- `;var kh=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 Rh=Symbol("i18nAttributes"),Ih=Symbol("i18nProperties"),Lh=Symbol("i18nUnsubs");function Uh(t){var e;class o extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Ks:Hs}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[Rh])||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[Ih])||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[Rh])||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[Ih])||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[Ih])||void 0===t?void 0:t.values())&&void 0!==e?e:[],...[...null!==(i=null===(o=this[Rh])||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[Lh].has(t)||this[Lh].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[Lh].forEach((t=>t())),this[Lh].clear()}}return e=Lh,kh([we({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}class Ah extends(Uh(Tr)){}class Wh extends(Uh(gn)){}var zh=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 Bh extends Wh{constructor(){super(),this.editorMode=!1,this.addStore(_s)}render(){return this.key&&this.context?Jt`
1008
+ `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new xn))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new xn))}getLabel(){return this.label||this.textContent}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(o=>o.textContent).join("").trim())!==null&&r!==void 0?r:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};ae.elementDefinitions={"ft-ripple":Z,"ft-typography":te,"ft-icon":ve,"ft-button":ye};ae.styles=Xc;Me([g({type:Boolean})],ae.prototype,"highlighted",void 0);Me([g({type:Boolean})],ae.prototype,"removable",void 0);Me([g({type:Boolean})],ae.prototype,"disabled",void 0);Me([g({type:Boolean})],ae.prototype,"clickable",void 0);Me([g({type:Boolean})],ae.prototype,"iconClickable",void 0);Me([g({type:Boolean})],ae.prototype,"dense",void 0);Me([g({type:Boolean})],ae.prototype,"multiLine",void 0);Me([g()],ae.prototype,"label",void 0);Me([g()],ae.prototype,"iconLabel",void 0);Me([g()],ae.prototype,"icon",void 0);Me([g()],ae.prototype,"iconVariant",void 0);Me([g({type:Boolean})],ae.prototype,"trailingIcon",void 0);Me([W("ft-typography slot")],ae.prototype,"slottedContent",void 0);F("ft-chip")(ae);var Jc=R`
1009
+ `;var Gf=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ha=Symbol("i18nAttributes"),vn=Symbol("i18nProperties"),yo=Symbol("i18nUnsubs");function It(t){var e;class r extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?yc:wr}i18n(i,a,...s){var l;if(typeof i=="string")return this.i18nService.resolveMessage(i,a,...s);let c=(l=i.args)!==null&&l!==void 0?l:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...c)}onI18nUpdate(i){var a,s;(a=this[Ha])===null||a===void 0||a.forEach((l,c)=>{var d;let f=this.getI18nAttributeValue(c);((d=f?.context)===null||d===void 0?void 0:d.toLowerCase())===i.toLowerCase()&&this.updateI18nAttributeMessage(c,f,l)}),(s=this[vn])===null||s===void 0||s.forEach((l,c)=>{l.context.toLowerCase()===i.toLowerCase()&&(this[c]=this.i18n(l))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(i,a,s){this[i]={...a,message:this.i18n({context:a.context,key:a.key,...s})}}update(i){var a,s;super.update(i),(a=this[Ha])===null||a===void 0||a.forEach((l,c)=>{let d=this.getI18nAttributeValue(c);d?.context&&d.key&&(i.has(c)||l.argsProvider!=null)&&(i.has(c)&&this.addI18nContext(d.context),this.updateI18nAttributeMessage(c,d,l))}),(s=this[vn])===null||s===void 0||s.forEach((l,c)=>{l.argsProvider!=null&&(this[c]=this.i18n(l))})}getI18nAttributeValue(i){return this[i]}connectedCallback(){var i,a,s,l;super.connectedCallback(),new Set([...(a=(i=this[vn])===null||i===void 0?void 0:i.values())!==null&&a!==void 0?a:[],...[...(l=(s=this[Ha])===null||s===void 0?void 0:s.keys())!==null&&l!==void 0?l:[]].map(c=>this.getI18nAttributeValue(c))].map(c=>c?.context)).forEach(c=>c&&this.addI18nMessages(c))}addI18nMessages(i,a){i=i.toLowerCase(),this[yo].has(i)||this[yo].set(i,this.i18nService.subscribe(i,()=>this.onI18nUpdate(i))),this.i18nService.prepareContext(i,a??{})}addI18nContext(i,a){this.addI18nMessages(typeof i=="string"?i:i.name,a)}disconnectedCallback(){super.disconnectedCallback(),this[yo].forEach(i=>i()),this[yo].clear()}}return e=yo,Gf([g({type:Boolean})],r.prototype,"useCustomMessageContexts",void 0),r}var Qc=class extends It(M){},Sn=class extends It(Ue){};var go=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},je=class extends Sn{constructor(){super(),this.editorMode=!1,this.addStore(z)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":B:$`
1146
1010
  <span class="ft-i18n">
1147
1011
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
1148
1012
  </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:""})}}Bh.elementDefinitions={},Bh.styles=$h,zh([an()],Bh.prototype,"editorMode",void 0),zh([we()],Bh.prototype,"context",void 0),zh([we()],Bh.prototype,"key",void 0),zh([mo([])],Bh.prototype,"args",void 0),zh([we()],Bh.prototype,"defaultMessage",void 0);class Fh{static build(t){return new Fh(t)}static fromGwt(t){return new Fh(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)=>Hs.resolveMessage(this.name,e,...t)})}}bo("ft-i18n")(Bh);const _h=dt`
1150
- `;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 jh extends CustomEvent{constructor(t){super("ft-search-load-error",{detail:t})}}class Dh extends CustomEvent{constructor(t){super("ft-search-request-change",{detail:t})}}class Th extends CustomEvent{constructor(t,e,o){super("ft-search-results-change",{detail:{request:t,paging:e,spellcheck:o}})}}class Mh extends gn{get stateManager(){if(null==this._stateManager){const t=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=el.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(_s)}render(){return Jt`
1013
+ `}update(e){var r;super.update(e),["context","key","defaultMessage"].some(o=>e.has(o))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};je.elementDefinitions={};je.styles=Jc;go([he()],je.prototype,"editorMode",void 0);go([g()],je.prototype,"context",void 0);go([g()],je.prototype,"key",void 0);go([ue([])],je.prototype,"args",void 0);go([g()],je.prototype,"defaultMessage",void 0);var kr=class t{static build(e){return new t(e)}static fromGwt(e){return new t(e)}constructor(e){this.name=e,this.properties=new Proxy({},{get:(r,o)=>{let i=o;return a=>({context:this.name,key:i,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(r,o)=>(...i)=>wr.resolveMessage(this.name,o,...i)})}};F("ft-i18n")(je);var ep=R`
1014
+ `;var Oe=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Va=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},ja=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},Ka=class extends CustomEvent{constructor(e,r,o){super("ft-search-results-change",{detail:{request:e,paging:r,spellcheck:o}})}},se=class extends Ue{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=uo.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),e),this._stateManager.errorHandler=r=>this.handleLoadError(r),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(z)}render(){return $`
1151
1015
  <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 Dh(this.request)),t.has("paging")&&void 0!==this.paging&&this.dispatchEvent(new Th(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 jh(t))}reloadSavedSearches(){Js.clearMySearches()}clear(){this.stateManager.clear()}}Mh.elementDefinitions={},Mh.styles=_h,Ph([we()],Mh.prototype,"query",void 0),Ph([we()],Mh.prototype,"contentLocale",void 0),Ph([we({type:Number})],Mh.prototype,"pageSize",void 0),Ph([we({type:Boolean})],Mh.prototype,"searchInDocumentTitlesOnly",void 0),Ph([we()],Mh.prototype,"periodFilter",void 0),Ph([we()],Mh.prototype,"scope",void 0),Ph([we({type:Boolean})],Mh.prototype,"ignoreEmptyQuery",void 0),Ph([an({store:_s.name})],Mh.prototype,"openExternalDocumentInNewTab",void 0),Ph([mo([])],Mh.prototype,"filters",void 0),Ph([mo([])],Mh.prototype,"sort",void 0),Ph([an({store:"search"})],Mh.prototype,"request",void 0),Ph([an({store:"search"})],Mh.prototype,"paging",void 0),Ph([an({store:"search",selector:t=>t.spellcheck})],Mh.prototype,"autocorrect",void 0),Ph([an({store:_s.name})],Mh.prototype,"session",void 0),Ph([we({attribute:!1})],Mh.prototype,"searchServiceProvider",void 0),bo("ft-search-context")(Mh);const Hh=dt`
1153
- `,Kh=wo.extend("--ft-checkbox-text-color","",Ci.colorOnSurfaceHigh),Zh=wo.extend("--ft-checkbox-font-size","",Nl.fontSize),Gh=wo.external(Ci.colorPrimary,"Design system"),Vh=wo.external(Ci.colorOnPrimary,"Design system"),qh=wo.extend("--ft-checkbox-border-color","",Ci.colorOnSurfaceMedium),Yh=wo.external(Ci.colorOnSurfaceDisabled,"Design system"),Jh=dt`
1016
+ `}update(e){super.update(e),e.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),e.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.setContentLocale(this.contentLocale),e.has("session")&&this.session&&this.stateManager.initService(),e.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),e.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),e.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),e.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),e.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),e.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),e.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("periodFilter")&&this.periodFilter!==void 0&&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(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new ja(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new Ka(this.request,this.paging,this.autocorrect))}registerComponent(e){e.stopPropagation();let r=e.composedPath()[0];this.register(r)}register(e){e.setSearchStateManager(this.stateManager)}handleLoadError(e){this.dispatchEvent(new Va(e))}reloadSavedSearches(){gc.clearMySearches()}clear(){this.stateManager.clear()}};se.elementDefinitions={};se.styles=ep;Oe([g()],se.prototype,"query",void 0);Oe([g()],se.prototype,"contentLocale",void 0);Oe([g({type:Number})],se.prototype,"pageSize",void 0);Oe([g({type:Boolean})],se.prototype,"searchInDocumentTitlesOnly",void 0);Oe([g()],se.prototype,"periodFilter",void 0);Oe([g()],se.prototype,"scope",void 0);Oe([g({type:Boolean})],se.prototype,"ignoreEmptyQuery",void 0);Oe([he({store:z.name})],se.prototype,"openExternalDocumentInNewTab",void 0);Oe([ue([])],se.prototype,"filters",void 0);Oe([ue([])],se.prototype,"sort",void 0);Oe([he({store:"search"})],se.prototype,"request",void 0);Oe([he({store:"search"})],se.prototype,"paging",void 0);Oe([he({store:"search",selector:t=>t.spellcheck})],se.prototype,"autocorrect",void 0);Oe([he({store:z.name})],se.prototype,"session",void 0);Oe([g({attribute:!1})],se.prototype,"searchServiceProvider",void 0);F("ft-search-context")(se);var tp=R`
1017
+ `;var yt={textColor:n.extend("--ft-checkbox-text-color","",T.colorOnSurfaceHigh),fontSize:n.extend("--ft-checkbox-font-size","",k.fontSize),colorPrimary:n.external(T.colorPrimary,"Design system"),colorOnPrimary:n.external(T.colorOnPrimary,"Design system"),borderColor:n.extend("--ft-checkbox-border-color","",T.colorOnSurfaceMedium),colorOnSurfaceDisabled:n.external(T.colorOnSurfaceDisabled,"Design system")},rp=R`
1154
1018
  * {
1155
1019
  box-sizing: border-box;
1156
1020
  }
1157
1021
 
1158
1022
  .ft-checkbox {
1159
1023
  box-sizing: border-box;
1160
- color: ${Kh};
1161
- font-size: ${Zh};
1024
+ color: ${yt.textColor};
1025
+ font-size: ${yt.fontSize};
1162
1026
 
1163
1027
  display: inline-flex;
1164
1028
  align-items: center;
@@ -1166,7 +1030,7 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
1166
1030
  }
1167
1031
 
1168
1032
  .ft-checkbox--disabled {
1169
- color: ${Yh};
1033
+ color: ${yt.colorOnSurfaceDisabled};
1170
1034
  }
1171
1035
 
1172
1036
  input {
@@ -1190,26 +1054,26 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
1190
1054
 
1191
1055
  .ft-checkbox--box {
1192
1056
  display: flex;
1193
- border: 2px solid ${qh};
1057
+ border: 2px solid ${yt.borderColor};
1194
1058
  border-radius: 2px;
1195
1059
 
1196
1060
  width: 18px;
1197
1061
  height: 18px;
1198
1062
 
1199
- color: ${Vh};
1063
+ color: ${yt.colorOnPrimary};
1200
1064
  }
1201
1065
 
1202
1066
 
1203
1067
  .ft-checkbox--checked .ft-checkbox--box,
1204
1068
  .ft-checkbox--indeterminate .ft-checkbox--box {
1205
- border-color: ${Gh};
1206
- background-color: ${Gh};
1069
+ border-color: ${yt.colorPrimary};
1070
+ background-color: ${yt.colorPrimary};
1207
1071
  }
1208
1072
 
1209
1073
  .ft-checkbox--disabled .ft-checkbox--box {
1210
- border-color: ${Yh};
1074
+ border-color: ${yt.colorOnSurfaceDisabled};
1211
1075
  background-color: transparent;
1212
- color: ${Yh};
1076
+ color: ${yt.colorOnSurfaceDisabled};
1213
1077
  }
1214
1078
 
1215
1079
  .ft-checkbox--checkmark {
@@ -1228,8 +1092,8 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
1228
1092
  .ft-checkbox--indeterminate .ft-checkbox--checkmark {
1229
1093
  opacity: 1;
1230
1094
  }
1231
- `;var Qh=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 Xh 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">
1095
+ `;var Dr=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},_e=class extends M{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){let e={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return $`
1096
+ <label class="${Le(e)}" for="checkbox-input">
1233
1097
  <div class="ft-checkbox--box-container">
1234
1098
  <ft-ripple
1235
1099
  ?disabled=${this.disabled}
@@ -1255,14 +1119,14 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
1255
1119
  <slot></slot>
1256
1120
  </ft-typography>
1257
1121
  </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)}}Xh.elementDefinitions={"ft-ripple":yl,"ft-typography":Fc},Xh.styles=Jh,Qh([we()],Xh.prototype,"name",void 0),Qh([we({type:Boolean,reflect:!0})],Xh.prototype,"checked",void 0),Qh([we({type:Boolean})],Xh.prototype,"indeterminate",void 0),Qh([we({type:Boolean})],Xh.prototype,"disabled",void 0),Qh([Ee(".ft-checkbox")],Xh.prototype,"container",void 0),Qh([Ee("ft-ripple")],Xh.prototype,"ripple",void 0),bo("ft-checkbox")(Xh);const tf=wo.extend("--ft-radio-text-color","",Ci.colorOnSurfaceHigh),ef=wo.external(Ci.colorPrimary,"Design system"),of=(wo.external(Ci.colorOnPrimary,"Design system"),wo.extend("--ft-radio-border-color","",Ci.colorOnSurfaceMedium)),rf=wo.external(Ci.colorOnSurfaceDisabled,"Design system"),nf=dt`
1122
+ `}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}};_e.elementDefinitions={"ft-ripple":Z,"ft-typography":te};_e.styles=rp;Dr([g()],_e.prototype,"name",void 0);Dr([g({type:Boolean,reflect:!0})],_e.prototype,"checked",void 0);Dr([g({type:Boolean})],_e.prototype,"indeterminate",void 0);Dr([g({type:Boolean})],_e.prototype,"disabled",void 0);Dr([W(".ft-checkbox")],_e.prototype,"container",void 0);Dr([W("ft-ripple")],_e.prototype,"ripple",void 0);F("ft-checkbox")(_e);var ar={textColor:n.extend("--ft-radio-text-color","",T.colorOnSurfaceHigh),colorPrimary:n.external(T.colorPrimary,"Design system"),colorOnPrimary:n.external(T.colorOnPrimary,"Design system"),borderColor:n.extend("--ft-radio-border-color","",T.colorOnSurfaceMedium),colorOnSurfaceDisabled:n.external(T.colorOnSurfaceDisabled,"Design system")},op=R`
1259
1123
  * {
1260
1124
  box-sizing: border-box;
1261
1125
  }
1262
1126
 
1263
1127
  .ft-radio {
1264
1128
  box-sizing: border-box;
1265
- color: ${tf};
1129
+ color: ${ar.textColor};
1266
1130
 
1267
1131
  display: inline-flex;
1268
1132
  align-items: center;
@@ -1270,7 +1134,7 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
1270
1134
  }
1271
1135
 
1272
1136
  .ft-radio--disabled {
1273
- color: ${rf};
1137
+ color: ${ar.colorOnSurfaceDisabled};
1274
1138
  }
1275
1139
 
1276
1140
  input {
@@ -1293,7 +1157,7 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
1293
1157
  }
1294
1158
 
1295
1159
  .ft-radio--box {
1296
- border: 2px solid ${of};
1160
+ border: 2px solid ${ar.borderColor};
1297
1161
  border-radius: 50%;
1298
1162
 
1299
1163
  display: flex;
@@ -1306,7 +1170,7 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
1306
1170
 
1307
1171
  .ft-radio--box:after {
1308
1172
  content: " ";
1309
- background-color: ${ef};
1173
+ background-color: ${ar.colorPrimary};
1310
1174
 
1311
1175
  border-radius: 50%;
1312
1176
 
@@ -1318,7 +1182,7 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
1318
1182
  }
1319
1183
 
1320
1184
  .ft-radio--checked .ft-radio--box {
1321
- border-color: ${ef};
1185
+ border-color: ${ar.colorPrimary};
1322
1186
  }
1323
1187
 
1324
1188
 
@@ -1327,15 +1191,15 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
1327
1191
  }
1328
1192
 
1329
1193
  .ft-radio--disabled .ft-radio--box {
1330
- border-color: ${rf};
1194
+ border-color: ${ar.colorOnSurfaceDisabled};
1331
1195
  background-color: transparent;
1332
1196
  }
1333
1197
 
1334
1198
  .ft-radio--disabled .ft-radio--box:after {
1335
- background-color: ${rf};
1199
+ background-color: ${ar.colorOnSurfaceDisabled};
1336
1200
  }
1337
- `;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 sf extends CustomEvent{constructor(t,e){super("change",{detail:{value:t,checked:e},bubbles:!0,composed:!0})}}class lf 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)}">
1201
+ `;var gt=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},bo=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},pe=class extends M{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.disabled=!1,this.tabIndex=-1,this.role="radio"}render(){let e={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return $`
1202
+ <div class="${Le(e)}">
1339
1203
  <div class="ft-radio--box-container">
1340
1204
  <ft-ripple
1341
1205
  ?disabled=${this.disabled}
@@ -1353,22 +1217,22 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
1353
1217
  @change=${this.onChange}
1354
1218
  >
1355
1219
  </div>
1356
- <label for="radio-button" @click=${t=>t.stopPropagation()}>
1220
+ <label for="radio-button" @click=${r=>r.stopPropagation()}>
1357
1221
  <ft-typography variant="body2">
1358
1222
  <slot></slot>
1359
1223
  </ft-typography>
1360
1224
  </label>
1361
1225
  </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 sf(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 sf(this.value,this.checked))}}lf.elementDefinitions={"ft-ripple":yl,"ft-typography":Fc},lf.styles=nf,af([we()],lf.prototype,"value",void 0),af([we()],lf.prototype,"name",void 0),af([we({type:Boolean,reflect:!0})],lf.prototype,"checked",void 0),af([we({type:Boolean})],lf.prototype,"disabled",void 0),af([we({reflect:!0})],lf.prototype,"tabIndex",void 0),af([we({reflect:!0,attribute:"role"})],lf.prototype,"role",void 0),af([Ee(".ft-radio")],lf.prototype,"container",void 0),af([Ee("ft-ripple")],lf.prototype,"ripple",void 0),af([Ee("input")],lf.prototype,"input",void 0);const cf=dt`
1226
+ `}update(e){super.update(e),e.has("checked")&&!e.has("aria-checked")&&(this.checked?(this.setAttribute("aria-checked","true"),this.tabIndex=0):(this.setAttribute("aria-checked","false"),this.tabIndex=-1))}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.dispatchEvent(new bo(this.value,this.checked))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container),this.addEventListener("focus",this.onFocus)}disconnectedCallback(){this.removeEventListener("focus",this.onFocus),super.disconnectedCallback()}onFocus(e){this.dispatchEvent(new bo(this.name,this.checked))}select(){this.checked=!0,this.dispatchEvent(new bo(this.value,this.checked))}};pe.elementDefinitions={"ft-ripple":Z,"ft-typography":te};pe.styles=op;gt([g()],pe.prototype,"value",void 0);gt([g()],pe.prototype,"name",void 0);gt([g({type:Boolean,reflect:!0})],pe.prototype,"checked",void 0);gt([g({type:Boolean})],pe.prototype,"disabled",void 0);gt([g({reflect:!0})],pe.prototype,"tabIndex",void 0);gt([g({reflect:!0,attribute:"role"})],pe.prototype,"role",void 0);gt([W(".ft-radio")],pe.prototype,"container",void 0);gt([W("ft-ripple")],pe.prototype,"ripple",void 0);gt([W("input")],pe.prototype,"input",void 0);var np=R`
1363
1227
  :host {
1364
1228
  display: contents;
1365
1229
  }
1366
- `;var hf=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 Tr{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.ariaLabelledBy=""}render(){return Jt`
1230
+ `;var On=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},ze=class extends M{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.ariaLabelledBy=""}render(){return $`
1367
1231
  <slot @slotchange=${this.onSlotChange}
1368
1232
  @change=${this.onChange}
1369
1233
  @keydown=${this.onKeyDown}
1370
1234
  ></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)}}ff.elementDefinitions={},ff.styles=cf,hf([we()],ff.prototype,"name",void 0),hf([we({reflect:!0,attribute:"role"})],ff.prototype,"role",void 0),hf([we({reflect:!0,attribute:"aria-labelledby"})],ff.prototype,"ariaLabelledBy",void 0),hf([Re()],ff.prototype,"radioButtons",void 0),bo("ft-radio")(lf),bo("ft-radio-group")(ff);const df={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(oc.fontFamily,"Body2 typography"),fontSize:wo.external(oc.fontSize,"Body2 typography"),fontWeight:wo.external(oc.fontWeight,"Body2 typography"),letterSpacing:wo.external(oc.letterSpacing,"Body2 typography"),lineHeight:wo.external(oc.lineHeight,"Body2 typography"),textTransform:wo.external(oc.textTransform,"Body2 typography")},pf=dt`
1235
+ `}onSlotChange(){this.radioButtons.forEach(e=>e.name=this.name)}contentAvailableCallback(e){super.contentAvailableCallback(e),this.radioButtons[0].setAttribute("tabindex","0")}onChange(e){e.stopPropagation(),this.radioButtons.forEach(r=>r.checked=e.detail.value===r.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.focusCurrentValue()}onKeyDown(e){let r=!1;switch(e.key){case"ArrowUp":case"ArrowLeft":{r=!0;let o=this.findFtRadio(e),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":{r=!0;let o=this.radioButtons.indexOf(this.findFtRadio(e))+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 o=this.radioButtons.indexOf(this.findFtRadio(e));this.radioButtons[o].select()}}r&&(e.stopPropagation(),e.preventDefault())}findFtRadio(e){return e.composedPath().find(r=>r.tagName==="FT-RADIO")}focusCurrentValue(){setTimeout(()=>{var e;return(e=this.radioButtons.find(r=>r.checked))===null||e===void 0?void 0:e.focus()},10)}};ze.elementDefinitions={};ze.styles=np;On([g()],ze.prototype,"name",void 0);On([g({reflect:!0,attribute:"role"})],ze.prototype,"role",void 0);On([g({reflect:!0,attribute:"aria-labelledby"})],ze.prototype,"ariaLabelledBy",void 0);On([Wn()],ze.prototype,"radioButtons",void 0);F("ft-radio")(pe);F("ft-radio-group")(ze);var Cn={borderRadiusM:n.external(T.borderRadiusM,"Design system"),colorOutline:n.external(T.colorOutline,"Design system"),colorOnSurface:n.external(T.colorOnSurface,"Design system"),colorOnSurfaceMedium:n.external(T.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:n.external(T.colorOnSurfaceDisabled,"Design system"),colorPrimary:n.external(T.colorPrimary,"Design system"),colorOnPrimary:n.external(T.colorOnPrimary,"Design system"),fontFamily:n.external(me.fontFamily,"Body2 typography"),fontSize:n.external(me.fontSize,"Body2 typography"),fontWeight:n.external(me.fontWeight,"Body2 typography"),letterSpacing:n.external(me.letterSpacing,"Body2 typography"),lineHeight:n.external(me.lineHeight,"Body2 typography"),textTransform:n.external(me.textTransform,"Body2 typography")},ip=R`
1372
1236
  .ft-filter-level--container {
1373
1237
  display: flex;
1374
1238
  flex-direction: column;
@@ -1382,14 +1246,14 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
1382
1246
  flex-shrink: 0;
1383
1247
  text-decoration: none;
1384
1248
  position: relative;
1385
- border-radius: ${df.borderRadiusM};
1249
+ border-radius: ${Cn.borderRadiusM};
1386
1250
  overflow: hidden;
1387
1251
  display: flex;
1388
1252
  align-items: center;
1389
1253
  padding: 4px 4px;
1390
1254
  gap: 4px;
1391
1255
  cursor: pointer;
1392
- color: ${df.colorOnSurface};
1256
+ color: ${Cn.colorOnSurface};
1393
1257
  }
1394
1258
 
1395
1259
  .ft-filter-level--go-back:focus {
@@ -1418,7 +1282,7 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
1418
1282
  }
1419
1283
 
1420
1284
  ft-button {
1421
- ${So(Zc.color,df.colorOnSurface)};
1285
+ ${I(Y.color,Cn.colorOnSurface)};
1422
1286
  }
1423
1287
 
1424
1288
  ft-radio, ft-checkbox {
@@ -1432,14 +1296,15 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
1432
1296
 
1433
1297
  .ft-filter-level--no-values {
1434
1298
  margin: 10px 0;
1435
- color: ${df.colorOnSurfaceMedium};
1299
+ color: ${Cn.colorOnSurfaceMedium};
1436
1300
  }
1437
- `;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 gf 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`
1301
+ `;var Ce=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},le=class extends M{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 e=this.limit;return e!=null&&e<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var e,r;return(r=(e=this.container)===null||e===void 0?void 0:e.scrollHeight)!==null&&r!==void 0?r:0}render(){let e=[...this.options];this.hideSelectedOptions&&(e=e.filter(o=>!o.selected)),this.filter&&(e=e.filter(o=>o.label.toLowerCase().includes(this.filter.toLowerCase())));let r=e.slice(0,this.limit);return $`
1438
1302
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1439
- ${null==this.parent?null:Jt`
1303
+ ${this.parent==null?null:$`
1440
1304
  <div tabindex="0"
1441
1305
  part="controls go-back"
1442
1306
  class="ft-filter-level--go-back"
1307
+ aria-label="back to ${this.parent.label}"
1443
1308
  ?disabled=${this.disabled}
1444
1309
  @keyup=${this.goBackOnKeyPress}
1445
1310
  @click=${this.goBackOnClick}>
@@ -1448,25 +1313,26 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
1448
1313
  <ft-typography variant="body2">${this.parent.label}</ft-typography>
1449
1314
  </div>
1450
1315
  `}
1451
- ${0===this.options.length&&this.noValuesLabel?Jt`
1316
+ ${this.options.length===0&&this.noValuesLabel?$`
1452
1317
  <ft-typography class="ft-filter-level--no-values" element="span" variant="body2">
1453
1318
  ${this.noValuesLabel}
1454
1319
  </ft-typography>
1455
- `:te}
1456
- ${Me(e,(t=>t.value),(t=>{var e;return Jt`
1457
- <div class="ft-filter-level--option" part="options">
1458
- ${this.multivalued?this.buildMultiValuedOption(t):this.buildMonoValuedOption(t)}
1459
- ${this.preventNavigation||t.selected||0===(null!==(e=t.subOptions)&&void 0!==e?e:[]).length?te:Jt`
1320
+ `:B}
1321
+ ${dr(r,o=>o.value,o=>{var i;return $`
1322
+ <div class="ft-filter-level--option" part="options" tabindex="-1">
1323
+ ${this.multivalued?this.buildMultiValuedOption(o):this.buildMonoValuedOption(o)}
1324
+ ${this.preventNavigation||o.selected||((i=o.subOptions)!==null&&i!==void 0?i:[]).length===0?B:$`
1460
1325
  <ft-button icon="thin_arrow_right"
1461
1326
  part="controls navigate-hierarchy"
1462
- label="${t.label}"
1327
+ aria-label="expand node"
1328
+ label="${o.label}"
1463
1329
  ?disabled=${this.disabled}
1464
1330
  tooltipPosition="left"
1465
- @click=${()=>this.displayLevel(t)}></ft-button>
1331
+ @click=${()=>this.displayLevel(o)}></ft-button>
1466
1332
  `}
1467
1333
  </div>
1468
- `}))}
1469
- ${e.length<t.length?Jt`
1334
+ `})}
1335
+ ${r.length<e.length?$`
1470
1336
  <ft-button
1471
1337
  class="ft-filter-level--display-more"
1472
1338
  icon="thin_arrow"
@@ -1475,31 +1341,31 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
1475
1341
  @click=${this.displayMore}>
1476
1342
  ${this.moreValuesButtonLabel}
1477
1343
  </ft-button>
1478
- `:te}
1344
+ `:B}
1479
1345
  </div>
1480
- `}goBackOnKeyPress(t){"Enter"!==t.key&&" "!==t.key||this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(t){t.stopPropagation(),t.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){this.displayedPages++}buildMultiValuedOption(t){var e;return Jt`
1346
+ `}goBackOnKeyPress(e){(e.key==="Enter"||e.key===" ")&&this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(e){e.stopPropagation(),e.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){this.displayedPages++,this.makeRadioKeyBoardNavigable()}onRadioChange(e){var r;e.stopPropagation();let o=e;(r=this.radios)===null||r===void 0||r.forEach(i=>{i.checked=i.name===o.detail.value,i.setAttribute("tabindex","0")})}buildMultiValuedOption(e){var r;return $`
1481
1347
  <ft-checkbox name="${this.filterId}"
1482
1348
  part="multivalued-option"
1483
- data-value="${t.value}"
1349
+ data-value="${e.value}"
1484
1350
 
1485
- .checked=${t.selected}
1351
+ .checked=${e.selected}
1486
1352
  .disabled=${this.disabled}
1487
- .indeterminate=${po(null!==(e=t.subOptions)&&void 0!==e?e:[],(t=>{var e;return null!==(e=t.subOptions)&&void 0!==e?e:[]})).some((t=>t.selected))}
1488
- @change=${e=>this.optionsChanged(e,t)}>
1489
- ${t.renderOption?t.renderOption:t.label}${this.displayCount?` (${t.count})`:""}
1353
+ .indeterminate=${lt((r=e.subOptions)!==null&&r!==void 0?r:[],o=>{var i;return(i=o.subOptions)!==null&&i!==void 0?i:[]}).some(o=>o.selected)}
1354
+ @change=${o=>this.optionsChanged(o,e)}>
1355
+ ${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
1490
1356
  </ft-checkbox>
1491
- `}buildMonoValuedOption(t){return Jt`
1492
- <ft-radio name="${this.filterId+Math.round(1e6*Math.random())}"
1357
+ `}buildMonoValuedOption(e){return $`
1358
+ <ft-radio name="${this.filterId+Math.round(Math.random()*1e6)}"
1493
1359
  part="monovalued-option"
1494
- data-value="${t.value}"
1495
- .checked=${t.selected}
1360
+ data-value="${e.value}"
1361
+ .checked=${e.selected}
1496
1362
  .disabled=${this.disabled}
1497
- @click=${e=>this.optionsChanged(e,t)}
1498
- @keyup=${e=>this.onRadioKeyUp(e,t)}
1499
- @change=${t=>t.stopPropagation()}>
1500
- ${t.renderOption?t.renderOption:t.label}${this.displayCount?` (${t.count})`:""}
1363
+ @click=${r=>this.optionsChanged(r,e)}
1364
+ @keyup=${r=>this.onRadioKeyUp(r,e)}
1365
+ @change=${r=>this.onRadioChange(r)}>
1366
+ ${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
1501
1367
  </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}))}}gf.elementDefinitions={"ft-button":ph,"ft-ripple":yl,"ft-typography":Fc,"ft-checkbox":Xh,"ft-icon":Tc,"ft-radio":lf},gf.styles=pf,uf([we({type:String})],gf.prototype,"filterId",void 0),uf([we({type:Object})],gf.prototype,"parent",void 0),uf([we({type:Array})],gf.prototype,"options",void 0),uf([we({type:Boolean})],gf.prototype,"multivalued",void 0),uf([we({type:Boolean})],gf.prototype,"disabled",void 0),uf([we({type:Boolean})],gf.prototype,"hideSelectedOptions",void 0),uf([we({type:Boolean})],gf.prototype,"displayCount",void 0),uf([we({type:Boolean})],gf.prototype,"preventNavigation",void 0),uf([we({type:String})],gf.prototype,"filter",void 0),uf([we({type:String})],gf.prototype,"moreValuesButtonLabel",void 0),uf([we({type:String})],gf.prototype,"noValuesLabel",void 0),uf([we({type:Number})],gf.prototype,"displayedValuesLimit",void 0),uf([Ee(".ft-filter-level--container")],gf.prototype,"container",void 0),uf([Se()],gf.prototype,"displayedPages",void 0);const yf={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")},bf=dt`
1368
+ `}onRadioKeyUp(e,r){r.selected&&e.key===" "&&this.optionsChanged(e,r)}optionsChanged(e,r){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}connectedCallback(){super.connectedCallback(),this.makeRadioKeyBoardNavigable()}makeRadioKeyBoardNavigable(){this.multivalued||setTimeout(()=>{var e,r;this.radios=Array.from((e=this.shadowRoot)===null||e===void 0?void 0:e.querySelectorAll("ft-radio")),(r=this.radios)===null||r===void 0||r.forEach(o=>{var i,a;o.setAttribute("tabindex","0"),(a=(i=o.shadowRoot)===null||i===void 0?void 0:i.querySelector('input[type="radio"]'))===null||a===void 0||a.setAttribute("tabindex","-1")})},5)}};le.elementDefinitions={"ft-button":ye,"ft-ripple":Z,"ft-typography":te,"ft-checkbox":_e,"ft-icon":ve,"ft-radio":pe};le.styles=ip;Ce([g({type:String})],le.prototype,"filterId",void 0);Ce([g({type:Object})],le.prototype,"parent",void 0);Ce([g({type:Array})],le.prototype,"options",void 0);Ce([g({type:Boolean})],le.prototype,"multivalued",void 0);Ce([g({type:Boolean})],le.prototype,"disabled",void 0);Ce([g({type:Boolean})],le.prototype,"hideSelectedOptions",void 0);Ce([g({type:Boolean})],le.prototype,"displayCount",void 0);Ce([g({type:Boolean})],le.prototype,"preventNavigation",void 0);Ce([g({type:String})],le.prototype,"filter",void 0);Ce([g({type:String})],le.prototype,"moreValuesButtonLabel",void 0);Ce([g({type:String})],le.prototype,"noValuesLabel",void 0);Ce([g({type:Number})],le.prototype,"displayedValuesLimit",void 0);Ce([W(".ft-filter-level--container")],le.prototype,"container",void 0);Ce([q()],le.prototype,"radios",void 0);Ce([q()],le.prototype,"displayedPages",void 0);var kt={buttonsColor:n.extend("--ft-snap-scroll-buttons-color","",T.colorPrimary),buttonsZIndex:n.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:n.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:n.external(T.colorSurface,"Design system")},ap=R`
1503
1369
  .ft-snap-scroll {
1504
1370
  box-sizing: border-box;
1505
1371
  position: relative;
@@ -1534,7 +1400,7 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
1534
1400
  flex-wrap: nowrap;
1535
1401
  align-items: flex-start;
1536
1402
  justify-content: flex-start;
1537
- gap: ${yf.gap};
1403
+ gap: ${kt.gap};
1538
1404
  }
1539
1405
 
1540
1406
  .ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
@@ -1577,11 +1443,11 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
1577
1443
  .ft-snap-scroll--next {
1578
1444
  position: absolute;
1579
1445
  display: flex;
1580
- z-index: ${yf.buttonsZIndex};
1446
+ z-index: ${kt.buttonsZIndex};
1581
1447
  opacity: 1;
1582
1448
  transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
1583
- ${So(Zc.backgroundColor,"transparent")};
1584
- ${So(Zc.color,yf.buttonsColor)};
1449
+ ${I(Y.backgroundColor,"transparent")};
1450
+ ${I(Y.color,kt.buttonsColor)};
1585
1451
  }
1586
1452
 
1587
1453
  .ft-snap-scroll--previous[hidden],
@@ -1594,45 +1460,45 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
1594
1460
  top: 0;
1595
1461
  left: -1px;
1596
1462
  bottom: 0;
1597
- background: linear-gradient(to right, ${yf.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1463
+ background: linear-gradient(to right, ${kt.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1598
1464
  }
1599
1465
 
1600
1466
  .ft-snap-scroll--vertical .ft-snap-scroll--previous {
1601
1467
  top: -1px;
1602
1468
  left: 0;
1603
1469
  right: 0;
1604
- background: linear-gradient(to bottom, ${yf.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1470
+ background: linear-gradient(to bottom, ${kt.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1605
1471
  }
1606
1472
 
1607
1473
  .ft-snap-scroll--horizontal .ft-snap-scroll--next {
1608
1474
  top: 0;
1609
1475
  right: -1px;
1610
1476
  bottom: 0;
1611
- background: linear-gradient(to left, ${yf.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1477
+ background: linear-gradient(to left, ${kt.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1612
1478
  }
1613
1479
 
1614
1480
  .ft-snap-scroll--vertical .ft-snap-scroll--next {
1615
1481
  left: 0;
1616
1482
  right: 0;
1617
1483
  bottom: -1px;
1618
- background: linear-gradient(to top, ${yf.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1484
+ background: linear-gradient(to top, ${kt.colorSurface} 50%, var(--ft-snap-scroll-transparent-color));
1619
1485
  }
1620
1486
 
1621
1487
  .ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
1622
1488
  .ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
1623
1489
  .ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
1624
1490
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1625
- background-color: ${yf.colorSurface};
1491
+ background-color: ${kt.colorSurface};
1626
1492
  }
1627
- `;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 vf extends CustomEvent{constructor(t,e){super("current-element-change",{detail:{index:t,element:e}})}}class xf 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
- <div part="container" class="${t}">
1493
+ `;var ot=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ga=class extends CustomEvent{constructor(e,r){super("current-element-change",{detail:{index:e,element:r}})}},fe=class extends M{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 re(200),this.updateScrollDebouncer=new re(100)}scrollToIndex(e){this.scrollToElement(this.elements[e])}scrollIndexIntoView(e){let r=this.elements[e];if(r){let o=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,i=this.contentSlot[this.scrollAttribute]+this.prevSize;(r[this.offsetAttribute]<i||r[this.offsetAttribute]+r[this.sizeAttribute]>o)&&this.scrollToElement(r)}}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(){let e=Le({"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":rr}),r=this.controls&&this.withScroll;return $`
1494
+ <div part="container" class="${e}">
1629
1495
  <ft-button
1630
1496
  class="ft-snap-scroll--previous"
1631
1497
  part="controls"
1632
1498
  primary
1633
1499
  icon="${this.horizontal?"THIN_ARROW_LEFT":"THIN_ARROW_UP"}"
1634
- ?hidden=${!e||this.startReached}
1635
- ?disabled=${!e||this.startReached}
1500
+ ?hidden=${!r||this.startReached}
1501
+ ?disabled=${!r||this.startReached}
1636
1502
  @click=${this.previous}
1637
1503
  ></ft-button>
1638
1504
  <slot class="ft-snap-scroll--content"
@@ -1643,12 +1509,12 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
1643
1509
  part="controls"
1644
1510
  primary
1645
1511
  icon="${this.horizontal?"THIN_ARROW_RIGHT":"THIN_ARROW"}"
1646
- ?hidden=${!e||this.endReached}
1647
- ?disabled=${!e||this.endReached}
1512
+ ?hidden=${!r||this.endReached}
1513
+ ?disabled=${!r||this.endReached}
1648
1514
  @click=${this.next}
1649
1515
  ></ft-button>
1650
1516
  </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 vf(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)}}xf.elementDefinitions={"ft-button":ph},xf.styles=bf,mf([we({type:Boolean})],xf.prototype,"horizontal",void 0),mf([we({type:Boolean})],xf.prototype,"hideScrollbar",void 0),mf([we({type:Boolean})],xf.prototype,"controls",void 0),mf([we({type:Boolean})],xf.prototype,"limitSize",void 0),mf([Se()],xf.prototype,"elements",void 0),mf([Se()],xf.prototype,"currentElement",void 0),mf([Se()],xf.prototype,"withScroll",void 0),mf([Se()],xf.prototype,"startReached",void 0),mf([Se()],xf.prototype,"endReached",void 0),mf([Ee(".ft-snap-scroll--content")],xf.prototype,"contentSlot",void 0),bo("ft-snap-scroll")(xf);const Of=wo.external(Ci.colorOutline,"Design system"),wf=wo.external(Ci.colorOnSurface,"Design system"),Sf=wo.external(Ci.colorOnSurfaceMedium,"Design system"),Cf=wo.external(Ci.colorPrimary,"Design system"),Nf=wo.external(Ci.colorSurface,"Design system"),Ef=wo.external(Ci.transitionDuration,"Design system"),$f=wo.external(Ci.transitionTimingFunction,"Design system"),kf=wo.extend("--ft-filter-label-color","",Ci.colorOnSurface),Rf=wo.extend("--ft-filter-label-font-size","",Nl.fontSize,"16px"),If=[kc,dt`
1517
+ `}update(e){super.update(e),e.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")),e.has("currentElement")&&this.dispatchEvent(new Ga(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(r=this.listenedContainer)===null||r===void 0||r.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let e=this.closestElementFromStart();if(e!=null){let r=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<r&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var r,o;e&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(e)-this.controlsSize,behavior:"smooth"}):(o=this.contentSlot)===null||o===void 0||o.scrollTo({top:this.getOffset(e)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(e))}onSlotChange(){var e,r;this.elements=(r=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(o=>o))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let r=0;r<this.elements.length;r++)(e<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[e]))&&(e=r);return e}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,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 e=this.elements[0];return e?e[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(e){return e[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(e){let r=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-r)}};fe.elementDefinitions={"ft-button":ye};fe.styles=ap;ot([g({type:Boolean})],fe.prototype,"horizontal",void 0);ot([g({type:Boolean})],fe.prototype,"hideScrollbar",void 0);ot([g({type:Boolean})],fe.prototype,"controls",void 0);ot([g({type:Boolean})],fe.prototype,"limitSize",void 0);ot([q()],fe.prototype,"elements",void 0);ot([q()],fe.prototype,"currentElement",void 0);ot([q()],fe.prototype,"withScroll",void 0);ot([q()],fe.prototype,"startReached",void 0);ot([q()],fe.prototype,"endReached",void 0);ot([W(".ft-snap-scroll--content")],fe.prototype,"contentSlot",void 0);F("ft-snap-scroll")(fe);var Pe={colorOutline:n.external(T.colorOutline,"Design system"),colorOnSurface:n.external(T.colorOnSurface,"Design system"),colorOnSurfaceMedium:n.external(T.colorOnSurfaceMedium,"Design system"),colorPrimary:n.external(T.colorPrimary,"Design system"),colorSurface:n.external(T.colorSurface,"Design system"),transitionDuration:n.external(T.transitionDuration,"Design system"),transitionTimingFunction:n.external(T.transitionTimingFunction,"Design system"),labelColor:n.extend("--ft-filter-label-color","",T.colorOnSurface),labelFontSize:n.extend("--ft-filter-label-font-size","",k.fontSize,"16px")},sp=[mn,R`
1652
1518
  :host {
1653
1519
  display: flex;
1654
1520
  max-height: 100%;
@@ -1675,7 +1541,7 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
1675
1541
  .ft-filter--header ft-button {
1676
1542
  flex-shrink: 0;
1677
1543
  margin-left: auto;
1678
- ${So(Zc.iconSize,"18px")};
1544
+ ${I(Y.iconSize,"18px")};
1679
1545
  }
1680
1546
  .filter-label {
1681
1547
  display: contents;
@@ -1686,10 +1552,10 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
1686
1552
  flex-shrink: 1;
1687
1553
  flex-grow: 1;
1688
1554
  word-break: break-word;
1689
- color: ${kf};
1690
- font-size: ${Rf};
1691
- ${So(Nl.lineHeight,"22px")};
1692
- ${So(Nl.fontWeight,"bold")};
1555
+ color: ${Pe.labelColor};
1556
+ font-size: ${Pe.labelFontSize};
1557
+ ${I(k.lineHeight,"22px")};
1558
+ ${I(k.fontWeight,"bold")};
1693
1559
  }
1694
1560
 
1695
1561
  .ft-filter--filter {
@@ -1700,8 +1566,8 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
1700
1566
  padding: 0 10px;
1701
1567
  overflow: hidden;
1702
1568
  height: 32px;
1703
- transition: height ${Ef} ${$f},
1704
- margin ${Ef} ${$f};
1569
+ transition: height ${Pe.transitionDuration} ${Pe.transitionTimingFunction},
1570
+ margin ${Pe.transitionDuration} ${Pe.transitionTimingFunction};
1705
1571
  transition-delay: 500ms;
1706
1572
  }
1707
1573
 
@@ -1714,15 +1580,15 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
1714
1580
  display: block;
1715
1581
  width: 100%;
1716
1582
  border-radius: 4px;
1717
- border: 1px solid ${Of};
1583
+ border: 1px solid ${Pe.colorOutline};
1718
1584
  padding: 4px;
1719
- background-color: ${Nf};
1720
- color: ${wf};
1721
- outline-color: ${Cf};
1585
+ background-color: ${Pe.colorSurface};
1586
+ color: ${Pe.colorOnSurface};
1587
+ outline-color: ${Pe.colorPrimary};
1722
1588
  }
1723
1589
 
1724
1590
  input::placeholder {
1725
- color: ${Sf};
1591
+ color: ${Pe.colorOnSurfaceMedium};
1726
1592
  }
1727
1593
 
1728
1594
  input:placeholder-shown {
@@ -1738,7 +1604,7 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
1738
1604
  }
1739
1605
 
1740
1606
  .ft-filter--separator {
1741
- border-top: 1px solid ${Of};
1607
+ border-top: 1px solid ${Pe.colorOutline};
1742
1608
  margin: 4px 10px;
1743
1609
  }
1744
1610
 
@@ -1763,10 +1629,10 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
1763
1629
  slot:not([name]) {
1764
1630
  display: none;
1765
1631
  }
1766
- `];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 Uf extends CustomEvent{constructor(t){super("change",{detail:t})}}class Af 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`
1632
+ `];var ee=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Za=class extends CustomEvent{constructor(e){super("change",{detail:e})}},j=class extends M{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 re(300),this.changeDebouncer=new re(10),this.lastDispatchedValues=[]}get flatOptions(){return lt(this.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return lt(this.options,e=>{var r;return e.selected?[]:(r=e.subOptions)!==null&&r!==void 0?r:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(e=>e.selected).map(e=>e.value)}render(){let e=this.flatOptions.some(i=>i.selected),r=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,o=this.filterPlaceHolder.replace("{0}",this.label);return $`
1767
1633
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1768
1634
  part="container">
1769
- ${this.label||t?Jt`
1635
+ ${!this.label&&!e?null:$`
1770
1636
 
1771
1637
  <div class="ft-filter--header" part="header">
1772
1638
  <div class="filter-label" id="id-group-${this.id}">
@@ -1775,20 +1641,20 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
1775
1641
  </ft-typography>
1776
1642
  <slot name="label"></slot>
1777
1643
  </div>
1778
- ${t&&!this.hideClearButton?Jt`
1644
+ ${e&&!this.hideClearButton?$`
1779
1645
  <ft-button icon="close" dense @click=${this.clear} part="clear-button">
1780
1646
  ${this.clearButtonLabel}
1781
1647
  </ft-button>
1782
1648
  `:null}
1783
1649
  </div>
1784
- `:null}
1785
- <div class="ft-filter--filter" ?hidden=${!e}>
1650
+ `}
1651
+ <div class="ft-filter--filter" ?hidden=${!r}>
1786
1652
  <input type="search"
1787
1653
  part="input"
1788
1654
  class="ft-typography--caption"
1789
- ?disabled=${!e}
1655
+ ?disabled=${!r}
1790
1656
  placeholder="${o}"
1791
- size="${e?o.length:0}"
1657
+ size="${r?o.length:0}"
1792
1658
  @search=${this.onFilterChange}
1793
1659
  @keyup=${this.onFilterChange}>
1794
1660
  </div>
@@ -1799,15 +1665,15 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
1799
1665
  @slotchange=${this.updateOptionsFromSlot}
1800
1666
  @option-change=${this.optionsChanged}></slot>
1801
1667
  </div>
1802
- `}update(t){if(super.update(t),t.has("options")){const t=new Set(this.flatOptions.map((t=>t.value)));this.displayedLevels=this.displayedLevels.filter((e=>t.has(e))),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(t){var e,o,i,r,n;super.contentAvailableCallback(t),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),t.has("options")&&(this.updateScroll(),null===(e=this.levelsContainer)||void 0===e||e.scrollToIndex(this.displayedLevels.length)),t.has("slideIn")&&this.slideIn&&setTimeout((()=>{var t;null===(t=this.levelsContainer)||void 0===t||t.next(),this.slideIn=void 0}),0),t.has("slideOut")&&this.slideOut&&(null===(o=this.levelsContainer)||void 0===o||o.previous(),setTimeout((()=>{this.displayedLevels.pop(),this.slideOut=void 0}),300)),this.lastLevelHasHiddenvalues=null!==(n=null===(r=null===(i=this.shadowRoot)||void 0===i?void 0:i.querySelector(".ft-filter--levels ft-filter-level:last-child"))||void 0===r?void 0:r.hasHiddenValues)&&void 0!==n&&n}renderLevels(){const t=this.flatOptions,e=t.filter((t=>t.selected)),o=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,i=o<0?"ft-filter--level-center":"ft-filter--level-left";return Jt`
1803
- ${this.raiseSelectedOptions&&e.length>0?Jt`
1668
+ `}update(e){if(super.update(e),e.has("options")){let r=new Set(this.flatOptions.map(o=>o.value));this.displayedLevels=this.displayedLevels.filter(o=>r.has(o)),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(e){var r,o,i,a,s;super.contentAvailableCallback(e),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),e.has("options")&&(this.updateScroll(),(r=this.levelsContainer)===null||r===void 0||r.scrollToIndex(this.displayedLevels.length)),e.has("slideIn")&&this.slideIn&&setTimeout(()=>{var l;(l=this.levelsContainer)===null||l===void 0||l.next(),this.slideIn=void 0},0),e.has("slideOut")&&this.slideOut&&((o=this.levelsContainer)===null||o===void 0||o.previous(),setTimeout(()=>{this.displayedLevels.pop(),this.slideOut=void 0},300)),this.lastLevelHasHiddenvalues=(s=(a=(i=this.shadowRoot)===null||i===void 0?void 0:i.querySelector(".ft-filter--levels ft-filter-level:last-child"))===null||a===void 0?void 0:a.hasHiddenValues)!==null&&s!==void 0?s:!1}renderLevels(){let e=this.flatOptions,r=e.filter(a=>a.selected),o=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,i=o<0?"ft-filter--level-center":"ft-filter--level-left";return $`
1669
+ ${this.raiseSelectedOptions&&r.length>0?$`
1804
1670
  <ft-filter-level
1805
1671
  filterId="${this.id}"
1806
1672
  ?multivalued=${this.multivalued}
1807
1673
  ?disabled=${this.disabled}
1808
1674
  ?displayCount="${this.displayCount}"
1809
1675
  preventNavigation
1810
- .options=${e}
1676
+ .options=${r}
1811
1677
  @change=${this.onChange}
1812
1678
  part="values selected-values"
1813
1679
  .exportpartsPrefixes=${["values","selected-values"]}
@@ -1816,22 +1682,22 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
1816
1682
  `:null}
1817
1683
  <ft-snap-scroll horizontal hideScrollbar
1818
1684
  class="ft-filter--levels"
1819
- @current-element-change=${t=>this.levelsScrollDebouncer.run((()=>{for(;t.detail.index<this.displayedLevels.length;)this.displayedLevels.pop();this.requestUpdate()}))}>
1685
+ @current-element-change=${a=>this.levelsScrollDebouncer.run(()=>{for(;a.detail.index<this.displayedLevels.length;)this.displayedLevels.pop();this.requestUpdate()})}>
1820
1686
  ${this.renderLevel(i,this.options)}
1821
- ${this.displayedLevels.map((e=>t.find((t=>t.value===e)))).map(((t,e)=>{var i;const r=(null==t?void 0:t.value)===this.slideIn||(null==t?void 0:t.value)===this.slideOut?"ft-filter--level-right":e===o?"ft-filter--level-center":"ft-filter--level-left";return this.renderLevel(r,null!==(i=null==t?void 0:t.subOptions)&&void 0!==i?i:[],t)}))}
1687
+ ${this.displayedLevels.map(a=>e.find(s=>s.value===a)).map((a,s)=>{var l;let c=a?.value===this.slideIn||a?.value===this.slideOut?"ft-filter--level-right":s===o?"ft-filter--level-center":"ft-filter--level-left";return this.renderLevel(c,(l=a?.subOptions)!==null&&l!==void 0?l:[],a)})}
1822
1688
  </ft-snap-scroll>
1823
- `}renderLevel(t,e,o){return Jt`
1689
+ `}renderLevel(e,r,o){return $`
1824
1690
  <ft-filter-level
1825
- class="${t}"
1691
+ class="${e}"
1826
1692
  filterId="${this.id}"
1827
1693
  .filter="${this.filter}"
1828
1694
  moreValuesButtonLabel="${this.moreValuesButtonLabel}"
1829
1695
  ?multivalued=${this.multivalued}
1830
- ?disabled=${this.disabled||"ft-filter--level-center"!==t}
1696
+ ?disabled=${this.disabled||e!=="ft-filter--level-center"}
1831
1697
  ?hideSelectedOptions=${this.raiseSelectedOptions}
1832
1698
  ?displayCount="${this.displayCount}"
1833
1699
  .parent=${o}
1834
- .options=${e}
1700
+ .options=${r}
1835
1701
  .displayedValuesLimit=${this.displayedValuesLimit}
1836
1702
  @change=${this.onChange}
1837
1703
  @go-back=${this.goBack}
@@ -1840,18 +1706,18 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
1840
1706
  .exportpartsPrefixes=${["values","available-values"]}
1841
1707
  noValuesLabel="${this.noValuesLabel}"
1842
1708
  ></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 Uf(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)}}Af.elementDefinitions={"ft-button":ph,"ft-filter-level":gf,"ft-snap-scroll":xf,"ft-typography":Fc},Af.styles=If,Lf([we({type:String})],Af.prototype,"id",void 0),Lf([we({type:String})],Af.prototype,"label",void 0),Lf([we({type:String})],Af.prototype,"filterPlaceHolder",void 0),Lf([we({type:String})],Af.prototype,"clearButtonLabel",void 0),Lf([we({type:String})],Af.prototype,"moreValuesButtonLabel",void 0),Lf([we({type:String})],Af.prototype,"noValuesLabel",void 0),Lf([mo([])],Af.prototype,"options",void 0),Lf([we({type:Boolean})],Af.prototype,"multivalued",void 0),Lf([we({type:Boolean})],Af.prototype,"disabled",void 0),Lf([we({type:Boolean})],Af.prototype,"raiseSelectedOptions",void 0),Lf([we({type:Boolean})],Af.prototype,"displayCount",void 0),Lf([we({type:Number})],Af.prototype,"displayedValuesLimit",void 0),Lf([we({type:Boolean})],Af.prototype,"hideClearButton",void 0),Lf([Ee(".ft-filter--slot")],Af.prototype,"slotElement",void 0),Lf([Ee(".ft-filter--container")],Af.prototype,"container",void 0),Lf([Ee(".ft-filter--values")],Af.prototype,"valuesContainer",void 0),Lf([Ee(".ft-filter--levels")],Af.prototype,"levelsContainer",void 0),Lf([Se()],Af.prototype,"lastLevelHasHiddenvalues",void 0),Lf([Ee(".ft-filter--filter input")],Af.prototype,"filterInput",void 0),Lf([ke(".ft-filter--levels ft-filter-level")],Af.prototype,"levels",void 0),Lf([Se()],Af.prototype,"withScroll",void 0),Lf([Se()],Af.prototype,"filter",void 0),Lf([Se()],Af.prototype,"slideIn",void 0),Lf([Se()],Af.prototype,"slideOut",void 0);var Wf=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 Tr{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return Jt`
1709
+ `}goBack(e){this.slideOut=e.detail.value}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value}clear(){if(this.flatOptions.forEach(e=>e.selected=!1),this.displayedLevels.length>0){let e=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[e],this.slideOut=e}this.optionsChanged()}onChange(e){var r;e.stopPropagation();let o=this.flatOptions.find(a=>a.value===e.detail.value);o.selected=!o.selected;let i=a=>{var s;a!==o&&(a.selected=!1),(s=a.subOptions)===null||s===void 0||s.forEach(i)};this.multivalued?(r=o.subOptions)===null||r===void 0||r.forEach(i):this.options.forEach(i),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var e;this.sendEventIfValuesChanged(),this.requestUpdate(),(e=this.levels)===null||e===void 0||e.forEach(r=>r.requestUpdate())})}sendEventIfValuesChanged(){let e=this.selectedValues;Ee(this.lastDispatchedValues,e)||(this.dispatchEvent(new Za(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(r=>r),this.optionsChanged()}onFilterChange(){var e,r;this.filter=(r=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&r!==void 0?r:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};j.elementDefinitions={"ft-button":ye,"ft-filter-level":le,"ft-snap-scroll":fe,"ft-typography":te};j.styles=sp;ee([g({type:String})],j.prototype,"id",void 0);ee([g({type:String})],j.prototype,"label",void 0);ee([g({type:String})],j.prototype,"filterPlaceHolder",void 0);ee([g({type:String})],j.prototype,"clearButtonLabel",void 0);ee([g({type:String})],j.prototype,"moreValuesButtonLabel",void 0);ee([g({type:String})],j.prototype,"noValuesLabel",void 0);ee([ue([])],j.prototype,"options",void 0);ee([g({type:Boolean})],j.prototype,"multivalued",void 0);ee([g({type:Boolean})],j.prototype,"disabled",void 0);ee([g({type:Boolean})],j.prototype,"raiseSelectedOptions",void 0);ee([g({type:Boolean})],j.prototype,"displayCount",void 0);ee([g({type:Number})],j.prototype,"displayedValuesLimit",void 0);ee([g({type:Boolean})],j.prototype,"hideClearButton",void 0);ee([W(".ft-filter--slot")],j.prototype,"slotElement",void 0);ee([W(".ft-filter--container")],j.prototype,"container",void 0);ee([W(".ft-filter--values")],j.prototype,"valuesContainer",void 0);ee([W(".ft-filter--levels")],j.prototype,"levelsContainer",void 0);ee([q()],j.prototype,"lastLevelHasHiddenvalues",void 0);ee([W(".ft-filter--filter input")],j.prototype,"filterInput",void 0);ee([zn(".ft-filter--levels ft-filter-level")],j.prototype,"levels",void 0);ee([q()],j.prototype,"withScroll",void 0);ee([q()],j.prototype,"filter",void 0);ee([q()],j.prototype,"slideIn",void 0);ee([q()],j.prototype,"slideOut",void 0);var Mr=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ke=class extends M{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return $`
1844
1710
  <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}))}}zf.elementDefinitions={},Wf([we({type:String})],zf.prototype,"label",void 0),Wf([we({type:Object,converter:t=>t})],zf.prototype,"value",void 0),Wf([we({type:Boolean,reflect:!0})],zf.prototype,"selected",void 0),Wf([we({type:Object})],zf.prototype,"subOptions",void 0),Wf([mo({})],zf.prototype,"renderOption",void 0),Wf([Ee(".ft-filter-option--slot")],zf.prototype,"slotElement",void 0),bo("ft-filter")(Af),bo("ft-filter-option")(zf);const Bf=Fh.build("designedSearchType"),Ff={label:"Search scope",documentTitlesOnly:"Search in document titles only"};var _f=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(Uh(nl)){constructor(){super(),this.addI18nContext(Bf,Ff)}render(){return Jt`
1711
+ `}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(r=>r)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Ke.elementDefinitions={};Mr([g({type:String})],Ke.prototype,"label",void 0);Mr([g({type:Object,converter:t=>t})],Ke.prototype,"value",void 0);Mr([g({type:Boolean,reflect:!0})],Ke.prototype,"selected",void 0);Mr([g({type:Object})],Ke.prototype,"subOptions",void 0);Mr([ue({})],Ke.prototype,"renderOption",void 0);Mr([W(".ft-filter-option--slot")],Ke.prototype,"slotElement",void 0);F("ft-filter")(j);F("ft-filter-option")(Ke);var Dt=kr.build("designedSearchType"),En={label:"Search scope",documentTitlesOnly:"Search in document titles only"};var lp=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Mt=class extends It($t){constructor(){super(),this.addI18nContext(Dt,En)}render(){return $`
1846
1712
  <ft-filter
1847
- label=${Bf.messages.label()}
1848
- .options=${[{label:Bf.messages.documentTitlesOnly(),value:t=>{var e;return null===(e=this.stateManager)||void 0===e?void 0:e.setSearchInDocumentTitlesOnly(t)},selected:this.searchInDocumentTitlesOnly}]}
1713
+ label=${Dt.messages.label()}
1714
+ .options=${[{label:Dt.messages.documentTitlesOnly(),value:e=>{var r;return(r=this.stateManager)===null||r===void 0?void 0:r.setSearchInDocumentTitlesOnly(e)},selected:this.searchInDocumentTitlesOnly}]}
1849
1715
  part="filter"
1850
1716
  .exportpartsPrefixes=${["filter"]}
1851
1717
  multivalued
1852
1718
  @change=${this.onSelected}
1853
1719
  ></ft-filter>
1854
- `}onSelected(t){var e;null===(e=this.filter)||void 0===e||e.options.forEach((t=>t.value(t.selected)))}}Pf.elementDefinitions={"ft-filter":Af},Pf.styles=Hh,_f([an({selector:Xs})],Pf.prototype,"searchInDocumentTitlesOnly",void 0),_f([Ee("ft-filter")],Pf.prototype,"filter",void 0),bo("ft-search-type")(Pf);const jf=wo.extend("--ft-search-period-filter-header-color","",Ci.colorOnSurface),Df=dt`
1720
+ `}onSelected(e){var r;(r=this.filter)===null||r===void 0||r.options.forEach(o=>o.value(o.selected))}};Mt.elementDefinitions={"ft-filter":j};Mt.styles=tp;lp([he({selector:ho})],Mt.prototype,"searchInDocumentTitlesOnly",void 0);lp([W("ft-filter")],Mt.prototype,"filter",void 0);F("ft-search-type")(Mt);var Zf={headerColor:n.extend("--ft-search-period-filter-header-color","",T.colorOnSurface)},cp=R`
1855
1721
  [part="container"] {
1856
1722
  flex-grow: 1;
1857
1723
  display: flex;
@@ -1866,7 +1732,7 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
1866
1732
  overflow: auto;
1867
1733
  display: flex;
1868
1734
  flex-direction: column;
1869
- ${So(Nl.lineHeight,"22px")};
1735
+ ${I(k.lineHeight,"22px")};
1870
1736
  }
1871
1737
 
1872
1738
  [part="header"] {
@@ -1876,7 +1742,7 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
1876
1742
  flex-shrink: 0;
1877
1743
  padding: 0 10px;
1878
1744
  margin-bottom: 8px;
1879
- color: ${jf};
1745
+ color: ${Zf.headerColor};
1880
1746
  }
1881
1747
 
1882
1748
  [part="label"] {
@@ -1884,60 +1750,259 @@ const bl=Symbol.for(""),ml=t=>{if(t?.r===bl)return t?._$litStatic$},vl=t=>({_$li
1884
1750
  flex-shrink: 1;
1885
1751
  flex-grow: 1;
1886
1752
  word-break: break-word;
1887
- font-size: ${Rf};
1888
- ${So(Nl.fontWeight,"bold")};
1753
+ font-size: ${Pe.labelFontSize};
1754
+ ${I(k.fontWeight,"bold")};
1889
1755
  }
1890
1756
 
1891
- `,Tf=Fh.build("designedSearchPeriodFilter"),Mf={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 Hf=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 Kf extends(Uh(nl)){constructor(){super(),this.addI18nContext(Tf,Mf)}render(){var t,e,o,i;return Jt`<div part="container">
1757
+ `;var Te=kr.build("designedSearchPeriodFilter"),wn={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 xo=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ge=class extends It($t){constructor(){super(),this.addI18nContext(Te,wn)}render(){var e,r,o,i;return $`<div part="container">
1892
1758
  <div part="header">
1893
1759
  <ft-typography variant="overline" part="label" id="label">
1894
- ${Tf.messages.label()}
1760
+ ${Te.messages.label()}
1895
1761
  </ft-typography>
1896
1762
  </div>
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}>${Tf.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">${Tf.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">${Tf.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">${Tf.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">${Tf.messages.LAST_YEAR()}</ft-radio>`:te}
1763
+ <ft-radio-group @change=${a=>this.setPeriodFilter(a)} aria-labelledby="label">
1764
+ <ft-radio value="anyTime" ?checked=${this.periodFilter===void 0||this.periodFilter.periodType===void 0}>${Te.messages.anyTime()}</ft-radio>
1765
+ ${this.lessThanAWeek?$`<ft-radio ?checked=${((e=this.periodFilter)===null||e===void 0?void 0:e.periodType)=="LAST_WEEK"} value="LAST_WEEK">${Te.messages.LAST_WEEK()}</ft-radio>`:B}
1766
+ ${this.lessThanAMonth?$`<ft-radio ?checked=${((r=this.periodFilter)===null||r===void 0?void 0:r.periodType)=="LAST_MONTH"} value="LAST_MONTH">${Te.messages.LAST_MONTH()}</ft-radio>`:B}
1767
+ ${this.lessThanAQuarter?$`<ft-radio ?checked=${((o=this.periodFilter)===null||o===void 0?void 0:o.periodType)=="LAST_QUARTER"} value="LAST_QUARTER">${Te.messages.LAST_QUARTER()}</ft-radio>`:B}
1768
+ ${this.lessThanAYear?$`<ft-radio ?checked=${((i=this.periodFilter)===null||i===void 0?void 0:i.periodType)=="LAST_YEAR"} value="LAST_YEAR">${Te.messages.LAST_YEAR()}</ft-radio>`:B}
1903
1769
  </ft-radio-group>
1904
- </div>`}setPeriodFilter(t){var e;const o=Es[t.detail];null===(e=this.stateManager)||void 0===e||e.setPeriodFilter(void 0===o?void 0:{periodType:o})}}Kf.elementDefinitions={"ft-radio-group":ff,"ft-radio":lf,"ft-typography":Fc},Kf.styles=Df,Hf([we({type:Boolean})],Kf.prototype,"lessThanAWeek",void 0),Hf([we({type:Boolean})],Kf.prototype,"lessThanAMonth",void 0),Hf([we({type:Boolean})],Kf.prototype,"lessThanAQuarter",void 0),Hf([we({type:Boolean})],Kf.prototype,"lessThanAYear",void 0),Hf([an({store:"search",selector:t=>t.request.periodFilter})],Kf.prototype,"periodFilter",void 0),bo("ft-search-period-filter")(Kf);var Zf=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 Gf extends(Uh(nl)){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(Bf,Ff),this.addI18nContext(Tf,Mf)}render(){return this.hasSomethingToDisplay?Jt`
1770
+ </div>`}setPeriodFilter(e){var r;let o=ln[e.detail];(r=this.stateManager)===null||r===void 0||r.setPeriodFilter(o===void 0?void 0:{periodType:o})}};Ge.elementDefinitions={"ft-radio-group":ze,"ft-radio":pe,"ft-typography":te};Ge.styles=cp;xo([g({type:Boolean})],Ge.prototype,"lessThanAWeek",void 0);xo([g({type:Boolean})],Ge.prototype,"lessThanAMonth",void 0);xo([g({type:Boolean})],Ge.prototype,"lessThanAQuarter",void 0);xo([g({type:Boolean})],Ge.prototype,"lessThanAYear",void 0);xo([he({store:"search",selector:t=>t.request.periodFilter})],Ge.prototype,"periodFilter",void 0);F("ft-search-period-filter")(Ge);var qa=function(t,e,r,o){var i=arguments.length,a=i<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,o);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},bt=class extends It($t){get hasSomethingToDisplay(){var e;return this.searchInDocumentTitlesOnly||((e=this.facets)===null||e===void 0?void 0:e.some(r=>this.getSelectedValues(r).length>0))||this.periodFilter&&this.periodFilter.periodType}constructor(){super(),this.addI18nContext(Dt,En),this.addI18nContext(Te,wn)}render(){return this.hasSomethingToDisplay?$`
1905
1771
  <div class="ft-search-selected-facets--container">
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)))}))}
1772
+ ${dr(this.facets||[],e=>e.key,e=>{let r=this.getSelectedValues(e);return dr(r,o=>e.key+"-"+o,o=>this.renderFacet(e.key,e.label,r,o))})}
1907
1773
  ${this.renderSearchInDocumentTitlesOnly()}
1908
1774
  ${this.renderPeriodFilter()}
1909
1775
  </div>
1910
- `:te}renderFacet(t,e,o,i){let r=e+": "+this.getBreadcrumbFromValue(i);const n=t.replace(":","-");return Jt`
1911
- <ft-tooltip inline text="${r}"
1912
- part="tooltips tooltip-${n}">
1776
+ `:B}renderFacet(e,r,o,i){let a=r+": "+this.getBreadcrumbFromValue(i),s=e.replace(":","-");return $`
1777
+ <ft-tooltip inline text="${a}"
1778
+ part="tooltips tooltip-${s}">
1913
1779
  <ft-chip
1914
- part="ft-search-selected-facets ft-search-selected-facet-${n}"
1780
+ part="ft-search-selected-facets ft-search-selected-facet-${s}"
1915
1781
  removable
1916
- label="${r}"
1917
- @icon-click=${()=>{var e;return null===(e=this.stateManager)||void 0===e?void 0:e.setFilter(t,o.filter((t=>t!==i)))}}
1918
- data-key="${t}"
1782
+ label="${a}"
1783
+ @icon-click=${()=>{var l;return(l=this.stateManager)===null||l===void 0?void 0:l.setFilter(e,o.filter(c=>c!==i))}}
1784
+ data-key="${e}"
1919
1785
  data-value="${i}">
1920
1786
  ${this.getLabelFromValue(i)}
1921
1787
  </ft-chip>
1922
1788
  </ft-tooltip>
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="${Bf.messages.documentTitlesOnly()}"
1789
+ `}getSelectedValues(e){return lt(e.rootNodes,r=>r.selected?[]:r.childNodes).filter(r=>r.selected).map(r=>r.value)}getLabelFromValue(e){return this.unquote(e).split("|").pop()}getBreadcrumbFromValue(e){return this.unquote(e).split("|").join(" > ")}unquote(e){return e.startsWith('"')&&e.endsWith('"')?e.replace(/(^"+)|("+$)/g,""):e}renderSearchInDocumentTitlesOnly(){return this.searchInDocumentTitlesOnly?$`
1790
+ <ft-tooltip inline text="${Dt.messages.documentTitlesOnly()}"
1925
1791
  part="tooltips tooltip-search-in-document-titles-only">
1926
1792
  <ft-chip
1927
1793
  part="ft-search-selected-facets ft-search-selected-facet-search-in-document-titles-only"
1928
1794
  removable
1929
- @icon-click=${()=>{var t;return null===(t=this.stateManager)||void 0===t?void 0:t.setSearchInDocumentTitlesOnly(!1)}}>
1930
- ${Bf.messages.documentTitlesOnly()}
1795
+ @icon-click=${()=>{var e;return(e=this.stateManager)===null||e===void 0?void 0:e.setSearchInDocumentTitlesOnly(!1)}}>
1796
+ ${Dt.messages.documentTitlesOnly()}
1931
1797
  </ft-chip>
1932
1798
  </ft-tooltip>
1933
- `:te}renderPeriodFilter(){var t,e;return this.periodFilter&&this.periodFilter.periodType?Jt`
1934
- <ft-tooltip inline text="${Tf.messages.period("CUSTOM"===this.periodFilter.periodType?Tf.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):Tf.messages[this.periodFilter.periodType]())}"
1799
+ `:B}renderPeriodFilter(){var e,r;return this.periodFilter&&this.periodFilter.periodType?$`
1800
+ <ft-tooltip inline text="${Te.messages.period(this.periodFilter.periodType==="CUSTOM"?Te.messages.customPeriod((e=this.periodFilter.period)===null||e===void 0?void 0:e.from,(r=this.periodFilter.period)===null||r===void 0?void 0:r.to):Te.messages[this.periodFilter.periodType]())}"
1935
1801
  part=" tooltips tooltip-search-period-filter">
1936
1802
  <ft-chip
1937
1803
  part="ft-search-selected-facets ft-search-selected-facet-period-filter"
1938
1804
  removable
1939
- @icon-click=${()=>{var t;return null===(t=this.stateManager)||void 0===t?void 0:t.setPeriodFilter(void 0)}}>
1940
- ${Tf.messages[this.periodFilter.periodType]()}
1805
+ @icon-click=${()=>{var o;return(o=this.stateManager)===null||o===void 0?void 0:o.setPeriodFilter(void 0)}}>
1806
+ ${Te.messages[this.periodFilter.periodType]()}
1941
1807
  </ft-chip>
1942
1808
  </ft-tooltip>
1943
- `:te}}Gf.elementDefinitions={"ft-chip":Eh,"ft-tooltip":lh},Gf.styles=ys,Zf([an({store:"search"})],Gf.prototype,"facets",void 0),Zf([an({store:"search",selector:Xs})],Gf.prototype,"searchInDocumentTitlesOnly",void 0),Zf([an({store:"search",selector:t=>t.request.periodFilter})],Gf.prototype,"periodFilter",void 0),bo("ft-search-selected-facets")(Gf),t.FtSearchSelectedFacets=Gf,t.FtSearchSelectedFacetsCssVariables=gs,t.styles=ys}({});
1809
+ `:B}};bt.elementDefinitions={"ft-chip":ae,"ft-tooltip":Q};bt.styles=ql;qa([he({store:"search"})],bt.prototype,"facets",void 0);qa([he({store:"search",selector:ho})],bt.prototype,"searchInDocumentTitlesOnly",void 0);qa([he({store:"search",selector:t=>t.request.periodFilter})],bt.prototype,"periodFilter",void 0);F("ft-search-selected-facets")(bt);})();
1810
+ /*! Bundled license information:
1811
+
1812
+ @webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js:
1813
+ (**
1814
+ * @license
1815
+ * Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
1816
+ * This code may only be used under the BSD style license found at
1817
+ * http://polymer.github.io/LICENSE.txt
1818
+ * The complete set of authors may be found at
1819
+ * http://polymer.github.io/AUTHORS.txt
1820
+ * The complete set of contributors may be found at
1821
+ * http://polymer.github.io/CONTRIBUTORS.txt
1822
+ * Code distributed by Google as part of the polymer project is also
1823
+ * subject to an additional IP rights grant found at
1824
+ * http://polymer.github.io/PATENTS.txt
1825
+ *)
1826
+
1827
+ @lit/reactive-element/css-tag.js:
1828
+ (**
1829
+ * @license
1830
+ * Copyright 2019 Google LLC
1831
+ * SPDX-License-Identifier: BSD-3-Clause
1832
+ *)
1833
+
1834
+ @lit/reactive-element/reactive-element.js:
1835
+ (**
1836
+ * @license
1837
+ * Copyright 2017 Google LLC
1838
+ * SPDX-License-Identifier: BSD-3-Clause
1839
+ *)
1840
+
1841
+ lit-html/lit-html.js:
1842
+ (**
1843
+ * @license
1844
+ * Copyright 2017 Google LLC
1845
+ * SPDX-License-Identifier: BSD-3-Clause
1846
+ *)
1847
+
1848
+ @lit/reactive-element/css-tag.js:
1849
+ (**
1850
+ * @license
1851
+ * Copyright 2019 Google LLC
1852
+ * SPDX-License-Identifier: BSD-3-Clause
1853
+ *)
1854
+
1855
+ @lit/reactive-element/reactive-element.js:
1856
+ (**
1857
+ * @license
1858
+ * Copyright 2017 Google LLC
1859
+ * SPDX-License-Identifier: BSD-3-Clause
1860
+ *)
1861
+
1862
+ lit-html/lit-html.js:
1863
+ (**
1864
+ * @license
1865
+ * Copyright 2017 Google LLC
1866
+ * SPDX-License-Identifier: BSD-3-Clause
1867
+ *)
1868
+
1869
+ lit-element/lit-element.js:
1870
+ (**
1871
+ * @license
1872
+ * Copyright 2017 Google LLC
1873
+ * SPDX-License-Identifier: BSD-3-Clause
1874
+ *)
1875
+
1876
+ lit-html/is-server.js:
1877
+ (**
1878
+ * @license
1879
+ * Copyright 2022 Google LLC
1880
+ * SPDX-License-Identifier: BSD-3-Clause
1881
+ *)
1882
+
1883
+ @lit/reactive-element/decorators/custom-element.js:
1884
+ (**
1885
+ * @license
1886
+ * Copyright 2017 Google LLC
1887
+ * SPDX-License-Identifier: BSD-3-Clause
1888
+ *)
1889
+
1890
+ @lit/reactive-element/decorators/property.js:
1891
+ (**
1892
+ * @license
1893
+ * Copyright 2017 Google LLC
1894
+ * SPDX-License-Identifier: BSD-3-Clause
1895
+ *)
1896
+
1897
+ @lit/reactive-element/decorators/state.js:
1898
+ (**
1899
+ * @license
1900
+ * Copyright 2017 Google LLC
1901
+ * SPDX-License-Identifier: BSD-3-Clause
1902
+ *)
1903
+
1904
+ @lit/reactive-element/decorators/event-options.js:
1905
+ (**
1906
+ * @license
1907
+ * Copyright 2017 Google LLC
1908
+ * SPDX-License-Identifier: BSD-3-Clause
1909
+ *)
1910
+
1911
+ @lit/reactive-element/decorators/base.js:
1912
+ (**
1913
+ * @license
1914
+ * Copyright 2017 Google LLC
1915
+ * SPDX-License-Identifier: BSD-3-Clause
1916
+ *)
1917
+
1918
+ @lit/reactive-element/decorators/query.js:
1919
+ (**
1920
+ * @license
1921
+ * Copyright 2017 Google LLC
1922
+ * SPDX-License-Identifier: BSD-3-Clause
1923
+ *)
1924
+
1925
+ @lit/reactive-element/decorators/query-all.js:
1926
+ (**
1927
+ * @license
1928
+ * Copyright 2017 Google LLC
1929
+ * SPDX-License-Identifier: BSD-3-Clause
1930
+ *)
1931
+
1932
+ @lit/reactive-element/decorators/query-async.js:
1933
+ (**
1934
+ * @license
1935
+ * Copyright 2017 Google LLC
1936
+ * SPDX-License-Identifier: BSD-3-Clause
1937
+ *)
1938
+
1939
+ @lit/reactive-element/decorators/query-assigned-elements.js:
1940
+ (**
1941
+ * @license
1942
+ * Copyright 2021 Google LLC
1943
+ * SPDX-License-Identifier: BSD-3-Clause
1944
+ *)
1945
+
1946
+ @lit/reactive-element/decorators/query-assigned-nodes.js:
1947
+ (**
1948
+ * @license
1949
+ * Copyright 2017 Google LLC
1950
+ * SPDX-License-Identifier: BSD-3-Clause
1951
+ *)
1952
+
1953
+ lit-html/directive.js:
1954
+ (**
1955
+ * @license
1956
+ * Copyright 2017 Google LLC
1957
+ * SPDX-License-Identifier: BSD-3-Clause
1958
+ *)
1959
+
1960
+ lit-html/directive-helpers.js:
1961
+ (**
1962
+ * @license
1963
+ * Copyright 2020 Google LLC
1964
+ * SPDX-License-Identifier: BSD-3-Clause
1965
+ *)
1966
+
1967
+ lit-html/directives/repeat.js:
1968
+ (**
1969
+ * @license
1970
+ * Copyright 2017 Google LLC
1971
+ * SPDX-License-Identifier: BSD-3-Clause
1972
+ *)
1973
+
1974
+ lit-html/directives/class-map.js:
1975
+ (**
1976
+ * @license
1977
+ * Copyright 2018 Google LLC
1978
+ * SPDX-License-Identifier: BSD-3-Clause
1979
+ *)
1980
+
1981
+ lit-html/directives/style-map.js:
1982
+ (**
1983
+ * @license
1984
+ * Copyright 2018 Google LLC
1985
+ * SPDX-License-Identifier: BSD-3-Clause
1986
+ *)
1987
+
1988
+ lit-html/directives/unsafe-html.js:
1989
+ (**
1990
+ * @license
1991
+ * Copyright 2017 Google LLC
1992
+ * SPDX-License-Identifier: BSD-3-Clause
1993
+ *)
1994
+
1995
+ @lit/reactive-element/css-tag.js:
1996
+ (**
1997
+ * @license
1998
+ * Copyright 2019 Google LLC
1999
+ * SPDX-License-Identifier: BSD-3-Clause
2000
+ *)
2001
+
2002
+ lit-html/static.js:
2003
+ (**
2004
+ * @license
2005
+ * Copyright 2020 Google LLC
2006
+ * SPDX-License-Identifier: BSD-3-Clause
2007
+ *)
2008
+ */