@fluid-topics/ft-icon 1.1.75 → 1.1.76

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,13 +1,13 @@
1
- "use strict";(()=>{var _i=Object.defineProperty;var I=(t,e)=>{for(var r in e)_i(t,r,{get:e[r],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,n=window.customElements,a=new WeakMap,i=new WeakMap,c=new WeakMap,d=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(x,b){if(x=x.toLowerCase(),this._getDefinition(x)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${x}" has already been used with this registry`);if(this._definitionsByClass.get(b)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let S=b.prototype.attributeChangedCallback,A=new Set(b.observedAttributes||[]);m(b,A,S);let P={elementClass:b,connectedCallback:b.prototype.connectedCallback,disconnectedCallback:b.prototype.disconnectedCallback,adoptedCallback:b.prototype.adoptedCallback,attributeChangedCallback:S,formAssociated:b.formAssociated,formAssociatedCallback:b.prototype.formAssociatedCallback,formDisabledCallback:b.prototype.formDisabledCallback,formResetCallback:b.prototype.formResetCallback,formStateRestoreCallback:b.prototype.formStateRestoreCallback,observedAttributes:A};this._definitionsByTag.set(x,P),this._definitionsByClass.set(b,P);let D=r.call(n,x);D||(D=p(x),e.call(n,x,D)),this===window.customElements&&(c.set(b,P),P.standInClass=D);let L=this._awaitingUpgrade.get(x);if(L){this._awaitingUpgrade.delete(x);for(let R of L)i.delete(R),y(R,P,!0)}let N=this._whenDefinedPromises.get(x);return N!==void 0&&(N.resolve(b),this._whenDefinedPromises.delete(x)),b}upgrade(){w.push(this),n.upgrade.apply(n,arguments),w.pop()}get(x){return this._definitionsByTag.get(x)?.elementClass}_getDefinition(x){return this._definitionsByTag.get(x)}whenDefined(x){let b=this._getDefinition(x);if(b!==void 0)return Promise.resolve(b.elementClass);let S=this._whenDefinedPromises.get(x);return S===void 0&&(S={},S.promise=new Promise(A=>S.resolve=A),this._whenDefinedPromises.set(x,S)),S.promise}_upgradeWhenDefined(x,b,S){let A=this._awaitingUpgrade.get(b);A||this._awaitingUpgrade.set(b,A=new Set),S?A.add(x):A.delete(x)}};let s;window.HTMLElement=function(){let b=s;if(b)return s=void 0,b;let S=c.get(this.constructor);if(!S)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return b=Reflect.construct(t,[],S.standInClass),Object.setPrototypeOf(b,this.constructor.prototype),a.set(b,S),b},window.HTMLElement.prototype=t.prototype;let f=x=>x===document||x instanceof ShadowRoot,h=x=>{let b=x.getRootNode();if(!f(b)){let S=w[w.length-1];if(S instanceof CustomElementRegistry)return S;b=S.getRootNode(),f(b)||(b=d.get(b)?.getRootNode()||document)}return b.customElements},p=x=>class{static get formAssociated(){return!0}constructor(){let S=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(S,HTMLElement.prototype);let A=h(S)||window.customElements,P=A._getDefinition(x);return P?y(S,P):i.set(S,A),S}connectedCallback(){let S=a.get(this);S?S.connectedCallback&&S.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,x,!0)}disconnectedCallback(){let S=a.get(this);S?S.disconnectedCallback&&S.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,x,!1)}adoptedCallback(){a.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let S=a.get(this);S&&S.formAssociated&&S?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let S=a.get(this);S?.formAssociated&&S?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let S=a.get(this);S?.formAssociated&&S?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let S=a.get(this);S?.formAssociated&&S?.formStateRestoreCallback?.apply(this,arguments)}},m=(x,b,S)=>{if(b.size===0||S===void 0)return;let A=x.prototype.setAttribute;A&&(x.prototype.setAttribute=function(L,N){let R=L.toLowerCase();if(b.has(R)){let _=this.getAttribute(R);A.call(this,R,N),S.call(this,R,_,N)}else A.call(this,R,N)});let P=x.prototype.removeAttribute;P&&(x.prototype.removeAttribute=function(L){let N=L.toLowerCase();if(b.has(N)){let R=this.getAttribute(N);P.call(this,N),S.call(this,N,R,null)}else P.call(this,N)});let D=x.prototype.toggleAttribute;D&&(x.prototype.toggleAttribute=function(L,N){let R=L.toLowerCase();if(b.has(R)){let _=this.getAttribute(R);D.call(this,R,N);let U=this.getAttribute(R);S.call(this,R,_,U)}else D.call(this,R,N)})},g=x=>{let b=Object.getPrototypeOf(x);if(b!==window.HTMLElement)return b===t?Object.setPrototypeOf(x,window.HTMLElement):g(b)},y=(x,b,S=!1)=>{Object.setPrototypeOf(x,b.elementClass.prototype),a.set(x,b),s=x;try{new b.elementClass}catch{g(b.elementClass),new b.elementClass}b.attributeChangedCallback&&b.observedAttributes.forEach(A=>{x.hasAttribute(A)&&b.attributeChangedCallback.call(x,A,null,x.getAttribute(A))}),S&&b.connectedCallback&&x.isConnected&&b.connectedCallback.call(x)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(x){let b=v.apply(this,arguments);return x.customElements&&(b.customElements=x.customElements),b};let w=[document],E=(x,b,S=void 0)=>{let A=(S?Object.getPrototypeOf(S):x.prototype)[b];x.prototype[b]=function(){w.push(this);let P=A.apply(S||this,arguments);return P!==void 0&&d.set(P,this),w.pop(),P}};E(ShadowRoot,"createElement",document),E(ShadowRoot,"importNode",document),E(Element,"insertAdjacentHTML");let C=(x,b)=>{let S=Object.getOwnPropertyDescriptor(x.prototype,b);Object.defineProperty(x.prototype,b,{...S,set(A){w.push(this),S.set.call(this,A),w.pop()}})};if(C(Element,"innerHTML"),C(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let x=new WeakMap,b=HTMLElement.prototype.attachInternals,S=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...L){let N=b.call(this,...L);return x.set(N,this),N},S.forEach(L=>{let N=window.ElementInternals.prototype,R=N[L];N[L]=function(..._){let U=x.get(this);if(a.get(U).formAssociated===!0)return R?.call(this,..._);throw new DOMException(`Failed to execute ${R} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class A extends Array{constructor(N){super(...N),this._elements=N}get value(){return this._elements.find(N=>N.checked===!0)?.value||""}}class P{constructor(N){let R=new Map;N.forEach((_,U)=>{let mr=_.getAttribute("name"),rn=R.get(mr)||[];this[+U]=_,rn.push(_),R.set(mr,rn)}),this.length=N.length,R.forEach((_,U)=>{_&&(_.length===1?this[U]=_[0]:this[U]=new A(_))})}namedItem(N){return this[N]}}let D=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let L=D.get.call(this,[]),N=[];for(let R of L){let _=a.get(R);(!_||_.formAssociated===!0)&&N.push(R)}return new P(N)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,n,a)=>{if(n!==null)try{e.bind(window.customElements)(r,n,a)}catch(i){console.info(r,n,a,i)}}}var _r={};I(_r,{CSSResult:()=>ze,LitElement:()=>oe,ReactiveElement:()=>q,_$LE:()=>Qi,_$LH:()=>Yi,adoptStyles:()=>Ht,css:()=>k,defaultConverter:()=>jt,getCompatibleStyle:()=>lt,html:()=>Ar,isServer:()=>Ml,noChange:()=>de,notEqual:()=>Or,nothing:()=>$,render:()=>Rr,supportsAdoptingStyleSheets:()=>ct,svg:()=>qi,unsafeCSS:()=>st});var Rt=globalThis,Pt=Rt.ShadowRoot&&(Rt.ShadyCSS===void 0||Rt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,nn=Symbol(),on=new WeakMap,_t=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==nn)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(Pt&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=on.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&on.set(r,e))}return e}toString(){return this.cssText}},an=t=>new _t(typeof t=="string"?t:t+"",void 0,nn);var gr=(t,e)=>{if(Pt)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),a=Rt.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,t.appendChild(n)}},Lt=Pt?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return an(r)})(t):t;var{is:Pi,defineProperty:Li,getOwnPropertyDescriptor:Ii,getOwnPropertyNames:Ti,getOwnPropertySymbols:$i,getPrototypeOf:Mi}=Object,It=globalThis,cn=It.trustedTypes,ki=cn?cn.emptyScript:"",Ui=It.reactiveElementPolyfillSupport,tt=(t,e)=>t,rt={toAttribute(t,e){switch(e){case Boolean:t=t?ki: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}},Tt=(t,e)=>!Pi(t,e),sn={attribute:!0,type:String,converter:rt,reflect:!1,hasChanged:Tt};Symbol.metadata??=Symbol("metadata"),It.litPropertyMetadata??=new WeakMap;var Ee=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=sn){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(e,n,r);a!==void 0&&Li(this.prototype,e,a)}}static getPropertyDescriptor(e,r,n){let{get:a,set:i}=Ii(this.prototype,e)??{get(){return this[r]},set(c){this[r]=c}};return{get(){return a?.call(this)},set(c){let d=a?.call(this);i.call(this,c),this.requestUpdate(e,d,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??sn}static _$Ei(){if(this.hasOwnProperty(tt("elementProperties")))return;let e=Mi(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(tt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(tt("properties"))){let r=this.properties,n=[...Ti(r),...$i(r)];for(let a of n)this.createProperty(a,r[a])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,a]of r)this.elementProperties.set(n,a)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let a=this._$Eu(r,n);a!==void 0&&this._$Eh.set(a,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let a of n)r.unshift(Lt(a))}else e!==void 0&&r.push(Lt(e));return r}static _$Eu(e,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n: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 n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return gr(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,n){this._$AK(e,n)}_$EO(e,r){let n=this.constructor.elementProperties.get(e),a=this.constructor._$Eu(e,n);if(a!==void 0&&n.reflect===!0){let i=(n.converter?.toAttribute!==void 0?n.converter:rt).toAttribute(r,n.type);this._$Em=e,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(e,r){let n=this.constructor,a=n._$Eh.get(e);if(a!==void 0&&this._$Em!==a){let i=n.getPropertyOptions(a),c=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:rt;this._$Em=a,this[a]=c.fromAttribute(r,i.type),this._$Em=null}}requestUpdate(e,r,n,a=!1,i){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Tt)(a?i:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.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[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[a,i]of n)i.wrapped!==!0||this._$AL.has(a)||this[a]===void 0||this.C(a,this[a],i)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}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){}};Ee.elementStyles=[],Ee.shadowRootOptions={mode:"open"},Ee[tt("elementProperties")]=new Map,Ee[tt("finalized")]=new Map,Ui?.({ReactiveElement:Ee}),(It.reactiveElementVersions??=[]).push("2.0.2");var br=globalThis,$t=br.trustedTypes,ln=$t?$t.createPolicy("lit-html",{createHTML:t=>t}):void 0,xr="$lit$",te=`lit$${(Math.random()+"").slice(9)}$`,vr="?"+te,Wi=`<${vr}>`,Ae=document,Mt=()=>Ae.createComment(""),nt=t=>t===null||typeof t!="object"&&typeof t!="function",mn=Array.isArray,gn=t=>mn(t)||typeof t?.[Symbol.iterator]=="function",yr=`[
1
+ "use strict";(()=>{var _i=Object.defineProperty;var I=(t,e)=>{for(var o in e)_i(t,o,{get:e[o],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,n=window.customElements,a=new WeakMap,i=new WeakMap,c=new WeakMap,d=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(x,b){if(x=x.toLowerCase(),this._getDefinition(x)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${x}" has already been used with this registry`);if(this._definitionsByClass.get(b)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let S=b.prototype.attributeChangedCallback,A=new Set(b.observedAttributes||[]);m(b,A,S);let P={elementClass:b,connectedCallback:b.prototype.connectedCallback,disconnectedCallback:b.prototype.disconnectedCallback,adoptedCallback:b.prototype.adoptedCallback,attributeChangedCallback:S,formAssociated:b.formAssociated,formAssociatedCallback:b.prototype.formAssociatedCallback,formDisabledCallback:b.prototype.formDisabledCallback,formResetCallback:b.prototype.formResetCallback,formStateRestoreCallback:b.prototype.formStateRestoreCallback,observedAttributes:A};this._definitionsByTag.set(x,P),this._definitionsByClass.set(b,P);let D=o.call(n,x);D||(D=p(x),e.call(n,x,D)),this===window.customElements&&(c.set(b,P),P.standInClass=D);let L=this._awaitingUpgrade.get(x);if(L){this._awaitingUpgrade.delete(x);for(let R of L)i.delete(R),y(R,P,!0)}let N=this._whenDefinedPromises.get(x);return N!==void 0&&(N.resolve(b),this._whenDefinedPromises.delete(x)),b}upgrade(){w.push(this),n.upgrade.apply(n,arguments),w.pop()}get(x){return this._definitionsByTag.get(x)?.elementClass}_getDefinition(x){return this._definitionsByTag.get(x)}whenDefined(x){let b=this._getDefinition(x);if(b!==void 0)return Promise.resolve(b.elementClass);let S=this._whenDefinedPromises.get(x);return S===void 0&&(S={},S.promise=new Promise(A=>S.resolve=A),this._whenDefinedPromises.set(x,S)),S.promise}_upgradeWhenDefined(x,b,S){let A=this._awaitingUpgrade.get(b);A||this._awaitingUpgrade.set(b,A=new Set),S?A.add(x):A.delete(x)}};let s;window.HTMLElement=function(){let b=s;if(b)return s=void 0,b;let S=c.get(this.constructor);if(!S)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return b=Reflect.construct(t,[],S.standInClass),Object.setPrototypeOf(b,this.constructor.prototype),a.set(b,S),b},window.HTMLElement.prototype=t.prototype;let f=x=>x===document||x instanceof ShadowRoot,h=x=>{let b=x.getRootNode();if(!f(b)){let S=w[w.length-1];if(S instanceof CustomElementRegistry)return S;b=S.getRootNode(),f(b)||(b=d.get(b)?.getRootNode()||document)}return b.customElements},p=x=>class{static get formAssociated(){return!0}constructor(){let S=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(S,HTMLElement.prototype);let A=h(S)||window.customElements,P=A._getDefinition(x);return P?y(S,P):i.set(S,A),S}connectedCallback(){let S=a.get(this);S?S.connectedCallback&&S.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,x,!0)}disconnectedCallback(){let S=a.get(this);S?S.disconnectedCallback&&S.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,x,!1)}adoptedCallback(){a.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let S=a.get(this);S&&S.formAssociated&&S?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let S=a.get(this);S?.formAssociated&&S?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let S=a.get(this);S?.formAssociated&&S?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let S=a.get(this);S?.formAssociated&&S?.formStateRestoreCallback?.apply(this,arguments)}},m=(x,b,S)=>{if(b.size===0||S===void 0)return;let A=x.prototype.setAttribute;A&&(x.prototype.setAttribute=function(L,N){let R=L.toLowerCase();if(b.has(R)){let _=this.getAttribute(R);A.call(this,R,N),S.call(this,R,_,N)}else A.call(this,R,N)});let P=x.prototype.removeAttribute;P&&(x.prototype.removeAttribute=function(L){let N=L.toLowerCase();if(b.has(N)){let R=this.getAttribute(N);P.call(this,N),S.call(this,N,R,null)}else P.call(this,N)});let D=x.prototype.toggleAttribute;D&&(x.prototype.toggleAttribute=function(L,N){let R=L.toLowerCase();if(b.has(R)){let _=this.getAttribute(R);D.call(this,R,N);let U=this.getAttribute(R);S.call(this,R,_,U)}else D.call(this,R,N)})},g=x=>{let b=Object.getPrototypeOf(x);if(b!==window.HTMLElement)return b===t?Object.setPrototypeOf(x,window.HTMLElement):g(b)},y=(x,b,S=!1)=>{Object.setPrototypeOf(x,b.elementClass.prototype),a.set(x,b),s=x;try{new b.elementClass}catch{g(b.elementClass),new b.elementClass}b.attributeChangedCallback&&b.observedAttributes.forEach(A=>{x.hasAttribute(A)&&b.attributeChangedCallback.call(x,A,null,x.getAttribute(A))}),S&&b.connectedCallback&&x.isConnected&&b.connectedCallback.call(x)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(x){let b=v.apply(this,arguments);return x.customElements&&(b.customElements=x.customElements),b};let w=[document],E=(x,b,S=void 0)=>{let A=(S?Object.getPrototypeOf(S):x.prototype)[b];x.prototype[b]=function(){w.push(this);let P=A.apply(S||this,arguments);return P!==void 0&&d.set(P,this),w.pop(),P}};E(ShadowRoot,"createElement",document),E(ShadowRoot,"importNode",document),E(Element,"insertAdjacentHTML");let C=(x,b)=>{let S=Object.getOwnPropertyDescriptor(x.prototype,b);Object.defineProperty(x.prototype,b,{...S,set(A){w.push(this),S.set.call(this,A),w.pop()}})};if(C(Element,"innerHTML"),C(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let x=new WeakMap,b=HTMLElement.prototype.attachInternals,S=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...L){let N=b.call(this,...L);return x.set(N,this),N},S.forEach(L=>{let N=window.ElementInternals.prototype,R=N[L];N[L]=function(..._){let U=x.get(this);if(a.get(U).formAssociated===!0)return R?.call(this,..._);throw new DOMException(`Failed to execute ${R} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class A extends Array{constructor(N){super(...N),this._elements=N}get value(){return this._elements.find(N=>N.checked===!0)?.value||""}}class P{constructor(N){let R=new Map;N.forEach((_,U)=>{let mr=_.getAttribute("name"),rn=R.get(mr)||[];this[+U]=_,rn.push(_),R.set(mr,rn)}),this.length=N.length,R.forEach((_,U)=>{_&&(_.length===1?this[U]=_[0]:this[U]=new A(_))})}namedItem(N){return this[N]}}let D=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let L=D.get.call(this,[]),N=[];for(let R of L){let _=a.get(R);(!_||_.formAssociated===!0)&&N.push(R)}return new P(N)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(o,n,a)=>{if(n!==null)try{e.bind(window.customElements)(o,n,a)}catch(i){console.info(o,n,a,i)}}}var _r={};I(_r,{CSSResult:()=>ze,LitElement:()=>oe,ReactiveElement:()=>q,_$LE:()=>Qi,_$LH:()=>Yi,adoptStyles:()=>Ht,css:()=>k,defaultConverter:()=>jt,getCompatibleStyle:()=>lt,html:()=>Ar,isServer:()=>kl,noChange:()=>de,notEqual:()=>Or,nothing:()=>$,render:()=>Rr,supportsAdoptingStyleSheets:()=>ct,svg:()=>qi,unsafeCSS:()=>st});var Rt=globalThis,Pt=Rt.ShadowRoot&&(Rt.ShadyCSS===void 0||Rt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,nn=Symbol(),on=new WeakMap,_t=class{constructor(e,o,n){if(this._$cssResult$=!0,n!==nn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=o}get styleSheet(){let e=this.o,o=this.t;if(Pt&&e===void 0){let n=o!==void 0&&o.length===1;n&&(e=on.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&on.set(o,e))}return e}toString(){return this.cssText}},an=t=>new _t(typeof t=="string"?t:t+"",void 0,nn);var gr=(t,e)=>{if(Pt)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let n=document.createElement("style"),a=Rt.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,t.appendChild(n)}},Lt=Pt?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let o="";for(let n of e.cssRules)o+=n.cssText;return an(o)})(t):t;var{is:Pi,defineProperty:Li,getOwnPropertyDescriptor:Ii,getOwnPropertyNames:Ti,getOwnPropertySymbols:$i,getPrototypeOf:Mi}=Object,It=globalThis,cn=It.trustedTypes,ki=cn?cn.emptyScript:"",Ui=It.reactiveElementPolyfillSupport,tt=(t,e)=>t,rt={toAttribute(t,e){switch(e){case Boolean:t=t?ki:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=t!==null;break;case Number:o=t===null?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch{o=null}}return o}},Tt=(t,e)=>!Pi(t,e),sn={attribute:!0,type:String,converter:rt,reflect:!1,hasChanged:Tt};Symbol.metadata??=Symbol("metadata"),It.litPropertyMetadata??=new WeakMap;var Ee=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,o=sn){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(e,o),!o.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(e,n,o);a!==void 0&&Li(this.prototype,e,a)}}static getPropertyDescriptor(e,o,n){let{get:a,set:i}=Ii(this.prototype,e)??{get(){return this[o]},set(c){this[o]=c}};return{get(){return a?.call(this)},set(c){let d=a?.call(this);i.call(this,c),this.requestUpdate(e,d,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??sn}static _$Ei(){if(this.hasOwnProperty(tt("elementProperties")))return;let e=Mi(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(tt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(tt("properties"))){let o=this.properties,n=[...Ti(o),...$i(o)];for(let a of n)this.createProperty(a,o[a])}let e=this[Symbol.metadata];if(e!==null){let o=litPropertyMetadata.get(e);if(o!==void 0)for(let[n,a]of o)this.elementProperties.set(n,a)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let a=this._$Eu(o,n);a!==void 0&&this._$Eh.set(a,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let o=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let a of n)o.unshift(Lt(a))}else e!==void 0&&o.push(Lt(e));return o}static _$Eu(e,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n: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,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return gr(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,o,n){this._$AK(e,n)}_$EO(e,o){let n=this.constructor.elementProperties.get(e),a=this.constructor._$Eu(e,n);if(a!==void 0&&n.reflect===!0){let i=(n.converter?.toAttribute!==void 0?n.converter:rt).toAttribute(o,n.type);this._$Em=e,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(e,o){let n=this.constructor,a=n._$Eh.get(e);if(a!==void 0&&this._$Em!==a){let i=n.getPropertyOptions(a),c=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:rt;this._$Em=a,this[a]=c.fromAttribute(o,i.type),this._$Em=null}}requestUpdate(e,o,n,a=!1,i){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Tt)(a?i:this[e],o))return;this.C(e,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,o,n){this._$AL.has(e)||this._$AL.set(e,o),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}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[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[a,i]of n)i.wrapped!==!0||this._$AL.has(a)||this[a]===void 0||this.C(a,this[a],i)}let e=!1,o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(o)}willUpdate(e){}_$AE(e){this._$E_?.forEach(o=>o.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(o=>this._$EO(o,this[o])),this._$ET()}updated(e){}firstUpdated(e){}};Ee.elementStyles=[],Ee.shadowRootOptions={mode:"open"},Ee[tt("elementProperties")]=new Map,Ee[tt("finalized")]=new Map,Ui?.({ReactiveElement:Ee}),(It.reactiveElementVersions??=[]).push("2.0.2");var br=globalThis,$t=br.trustedTypes,ln=$t?$t.createPolicy("lit-html",{createHTML:t=>t}):void 0,xr="$lit$",te=`lit$${(Math.random()+"").slice(9)}$`,vr="?"+te,Wi=`<${vr}>`,Ae=document,Mt=()=>Ae.createComment(""),nt=t=>t===null||typeof t!="object"&&typeof t!="function",mn=Array.isArray,gn=t=>mn(t)||typeof t?.[Symbol.iterator]=="function",yr=`[
2
2
  \f\r]`,ot=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,dn=/-->/g,fn=/>/g,Ce=RegExp(`>|${yr}(?:([^\\s"'>=/]+)(${yr}*=${yr}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),un=/'/g,pn=/"/g,yn=/^(?:script|style|textarea|title)$/i,bn=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),Ol=bn(1),wl=bn(2),H=Symbol.for("lit-noChange"),M=Symbol.for("lit-nothing"),hn=new WeakMap,Ne=Ae.createTreeWalker(Ae,129);function xn(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return ln!==void 0?ln.createHTML(e):e}var vn=(t,e)=>{let r=t.length-1,n=[],a,i=e===2?"<svg>":"",c=ot;for(let d=0;d<r;d++){let s=t[d],f,h,p=-1,m=0;for(;m<s.length&&(c.lastIndex=m,h=c.exec(s),h!==null);)m=c.lastIndex,c===ot?h[1]==="!--"?c=dn:h[1]!==void 0?c=fn:h[2]!==void 0?(yn.test(h[2])&&(a=RegExp("</"+h[2],"g")),c=Ce):h[3]!==void 0&&(c=Ce):c===Ce?h[0]===">"?(c=a??ot,p=-1):h[1]===void 0?p=-2:(p=c.lastIndex-h[2].length,f=h[1],c=h[3]===void 0?Ce:h[3]==='"'?pn:un):c===pn||c===un?c=Ce:c===dn||c===fn?c=ot:(c=Ce,a=void 0);let g=c===Ce&&t[d+1].startsWith("/>")?" ":"";i+=c===ot?s+Wi:p>=0?(n.push(f),s.slice(0,p)+xr+s.slice(p)+te+g):s+te+(p===-2?d:g)}return[xn(t,i+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},at=class t{constructor({strings:e,_$litType$:r},n){let a;this.parts=[];let i=0,c=0,d=e.length-1,s=this.parts,[f,h]=vn(e,r);if(this.el=t.createElement(f,n),Ne.currentNode=this.el.content,r===2){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(a=Ne.nextNode())!==null&&s.length<d;){if(a.nodeType===1){if(a.hasAttributes())for(let p of a.getAttributeNames())if(p.endsWith(xr)){let m=h[c++],g=a.getAttribute(p).split(te),y=/([.?@])?(.*)/.exec(m);s.push({type:1,index:i,name:y[2],strings:g,ctor:y[1]==="."?Ut:y[1]==="?"?Wt:y[1]==="@"?Dt:_e}),a.removeAttribute(p)}else p.startsWith(te)&&(s.push({type:6,index:i}),a.removeAttribute(p));if(yn.test(a.tagName)){let p=a.textContent.split(te),m=p.length-1;if(m>0){a.textContent=$t?$t.emptyScript:"";for(let g=0;g<m;g++)a.append(p[g],Mt()),Ne.nextNode(),s.push({type:2,index:++i});a.append(p[m],Mt())}}}else if(a.nodeType===8)if(a.data===vr)s.push({type:2,index:i});else{let p=-1;for(;(p=a.data.indexOf(te,p+1))!==-1;)s.push({type:7,index:i}),p+=te.length-1}i++}}static createElement(e,r){let n=Ae.createElement("template");return n.innerHTML=e,n}};function Re(t,e,r=t,n){if(e===H)return e;let a=n!==void 0?r._$Co?.[n]:r._$Cl,i=nt(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(t),a._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=a:r._$Cl=a),a!==void 0&&(e=Re(t,a._$AS(t,e.values),a,n)),e}var kt=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:n}=this._$AD,a=(e?.creationScope??Ae).importNode(r,!0);Ne.currentNode=a;let i=Ne.nextNode(),c=0,d=0,s=n[0];for(;s!==void 0;){if(c===s.index){let f;s.type===2?f=new it(i,i.nextSibling,this,e):s.type===1?f=new s.ctor(i,s.name,s.strings,this,e):s.type===6&&(f=new Bt(i,this,e)),this._$AV.push(f),s=n[++d]}c!==s?.index&&(i=Ne.nextNode(),c++)}return Ne.currentNode=Ae,a}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},it=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,a){this.type=2,this._$AH=M,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=a,this._$Cv=a?.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=Re(this,e,r),nt(e)?e===M||e==null||e===""?(this._$AH!==M&&this._$AR(),this._$AH=M):e!==this._$AH&&e!==H&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):gn(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!==M&&nt(this._$AH)?this._$AA.nextSibling.data=e:this.$(Ae.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,a=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=at.createElement(xn(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new kt(a,this),c=i.u(this.options);i.p(r),this.$(c),this._$AH=i}}_$AC(e){let r=hn.get(e.strings);return r===void 0&&hn.set(e.strings,r=new at(e)),r}T(e){mn(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,a=0;for(let i of e)a===r.length?r.push(n=new t(this.k(Mt()),this.k(Mt()),this,this.options)):n=r[a],n._$AI(i),a++;a<r.length&&(this._$AR(n&&n._$AB.nextSibling,a),r.length=a)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},_e=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,a,i){this.type=1,this._$AH=M,this._$AN=void 0,this.element=e,this.name=r,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=M}_$AI(e,r=this,n,a){let i=this.strings,c=!1;if(i===void 0)e=Re(this,e,r,0),c=!nt(e)||e!==this._$AH&&e!==H,c&&(this._$AH=e);else{let d=e,s,f;for(e=i[0],s=0;s<i.length-1;s++)f=Re(this,d[n+s],r,s),f===H&&(f=this._$AH[s]),c||=!nt(f)||f!==this._$AH[s],f===M?e=M:e!==M&&(e+=(f??"")+i[s+1]),this._$AH[s]=f}c&&!a&&this.O(e)}O(e){e===M?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Ut=class extends _e{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===M?void 0:e}},Wt=class extends _e{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==M)}},Dt=class extends _e{constructor(e,r,n,a,i){super(e,r,n,a,i),this.type=5}_$AI(e,r=this){if((e=Re(this,e,r,0)??M)===H)return;let n=this._$AH,a=e===M&&n!==M||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==M&&(n===M||a);a&&this.element.removeEventListener(this.name,this,n),i&&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)}},Bt=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Re(this,e)}},Sn={j:xr,P:te,A:vr,C:1,M:vn,L:kt,R:gn,V:Re,D:it,I:_e,H:Wt,N:Dt,U:Ut,B:Bt},Di=br.litHtmlPolyfillSupport;Di?.(at,it),(br.litHtmlVersions??=[]).push("3.1.0");var zt=globalThis,ct=zt.ShadowRoot&&(zt.ShadyCSS===void 0||zt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Sr=Symbol(),On=new WeakMap,ze=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Sr)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(ct&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=On.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&On.set(r,e))}return e}toString(){return this.cssText}},st=t=>new ze(typeof t=="string"?t:t+"",void 0,Sr),k=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((n,a,i)=>n+(c=>{if(c._$cssResult$===!0)return c.cssText;if(typeof c=="number")return c;throw Error("Value passed to 'css' function must be a 'css' function result: "+c+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(a)+t[i+1],t[0]);return new ze(r,t,Sr)},Ht=(t,e)=>{if(ct)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),a=zt.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,t.appendChild(n)}},lt=ct?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return st(r)})(t):t;var{is:Bi,defineProperty:zi,getOwnPropertyDescriptor:Hi,getOwnPropertyNames:ji,getOwnPropertySymbols:Ki,getPrototypeOf:Gi}=Object,Kt=globalThis,wn=Kt.trustedTypes,Vi=wn?wn.emptyScript:"",Zi=Kt.reactiveElementPolyfillSupport,dt=(t,e)=>t,jt={toAttribute(t,e){switch(e){case Boolean:t=t?Vi: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}},Or=(t,e)=>!Bi(t,e),En={attribute:!0,type:String,converter:jt,reflect:!1,hasChanged:Or};Symbol.metadata??=Symbol("metadata"),Kt.litPropertyMetadata??=new WeakMap;var q=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=En){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(e,n,r);a!==void 0&&zi(this.prototype,e,a)}}static getPropertyDescriptor(e,r,n){let{get:a,set:i}=Hi(this.prototype,e)??{get(){return this[r]},set(c){this[r]=c}};return{get(){return a?.call(this)},set(c){let d=a?.call(this);i.call(this,c),this.requestUpdate(e,d,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??En}static _$Ei(){if(this.hasOwnProperty(dt("elementProperties")))return;let e=Gi(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(dt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(dt("properties"))){let r=this.properties,n=[...ji(r),...Ki(r)];for(let a of n)this.createProperty(a,r[a])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,a]of r)this.elementProperties.set(n,a)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let a=this._$Eu(r,n);a!==void 0&&this._$Eh.set(a,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let a of n)r.unshift(lt(a))}else e!==void 0&&r.push(lt(e));return r}static _$Eu(e,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n: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 n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Ht(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,n){this._$AK(e,n)}_$EO(e,r){let n=this.constructor.elementProperties.get(e),a=this.constructor._$Eu(e,n);if(a!==void 0&&n.reflect===!0){let i=(n.converter?.toAttribute!==void 0?n.converter:jt).toAttribute(r,n.type);this._$Em=e,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(e,r){let n=this.constructor,a=n._$Eh.get(e);if(a!==void 0&&this._$Em!==a){let i=n.getPropertyOptions(a),c=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:jt;this._$Em=a,this[a]=c.fromAttribute(r,i.type),this._$Em=null}}requestUpdate(e,r,n,a=!1,i){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Or)(a?i:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.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[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[a,i]of n)i.wrapped!==!0||this._$AL.has(a)||this[a]===void 0||this.C(a,this[a],i)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}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){}};q.elementStyles=[],q.shadowRootOptions={mode:"open"},q[dt("elementProperties")]=new Map,q[dt("finalized")]=new Map,Zi?.({ReactiveElement:q}),(Kt.reactiveElementVersions??=[]).push("2.0.2");var Er=globalThis,Gt=Er.trustedTypes,Cn=Gt?Gt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Cr="$lit$",re=`lit$${(Math.random()+"").slice(9)}$`,Nr="?"+re,Fi=`<${Nr}>`,Ie=document,ut=()=>Ie.createComment(""),pt=t=>t===null||typeof t!="object"&&typeof t!="function",Ln=Array.isArray,In=t=>Ln(t)||typeof t?.[Symbol.iterator]=="function",wr=`[
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),un=/'/g,pn=/"/g,yn=/^(?:script|style|textarea|title)$/i,bn=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),wl=bn(1),El=bn(2),H=Symbol.for("lit-noChange"),M=Symbol.for("lit-nothing"),hn=new WeakMap,Ne=Ae.createTreeWalker(Ae,129);function xn(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return ln!==void 0?ln.createHTML(e):e}var vn=(t,e)=>{let o=t.length-1,n=[],a,i=e===2?"<svg>":"",c=ot;for(let d=0;d<o;d++){let s=t[d],f,h,p=-1,m=0;for(;m<s.length&&(c.lastIndex=m,h=c.exec(s),h!==null);)m=c.lastIndex,c===ot?h[1]==="!--"?c=dn:h[1]!==void 0?c=fn:h[2]!==void 0?(yn.test(h[2])&&(a=RegExp("</"+h[2],"g")),c=Ce):h[3]!==void 0&&(c=Ce):c===Ce?h[0]===">"?(c=a??ot,p=-1):h[1]===void 0?p=-2:(p=c.lastIndex-h[2].length,f=h[1],c=h[3]===void 0?Ce:h[3]==='"'?pn:un):c===pn||c===un?c=Ce:c===dn||c===fn?c=ot:(c=Ce,a=void 0);let g=c===Ce&&t[d+1].startsWith("/>")?" ":"";i+=c===ot?s+Wi:p>=0?(n.push(f),s.slice(0,p)+xr+s.slice(p)+te+g):s+te+(p===-2?d:g)}return[xn(t,i+(t[o]||"<?>")+(e===2?"</svg>":"")),n]},at=class t{constructor({strings:e,_$litType$:o},n){let a;this.parts=[];let i=0,c=0,d=e.length-1,s=this.parts,[f,h]=vn(e,o);if(this.el=t.createElement(f,n),Ne.currentNode=this.el.content,o===2){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(a=Ne.nextNode())!==null&&s.length<d;){if(a.nodeType===1){if(a.hasAttributes())for(let p of a.getAttributeNames())if(p.endsWith(xr)){let m=h[c++],g=a.getAttribute(p).split(te),y=/([.?@])?(.*)/.exec(m);s.push({type:1,index:i,name:y[2],strings:g,ctor:y[1]==="."?Ut:y[1]==="?"?Wt:y[1]==="@"?Dt:_e}),a.removeAttribute(p)}else p.startsWith(te)&&(s.push({type:6,index:i}),a.removeAttribute(p));if(yn.test(a.tagName)){let p=a.textContent.split(te),m=p.length-1;if(m>0){a.textContent=$t?$t.emptyScript:"";for(let g=0;g<m;g++)a.append(p[g],Mt()),Ne.nextNode(),s.push({type:2,index:++i});a.append(p[m],Mt())}}}else if(a.nodeType===8)if(a.data===vr)s.push({type:2,index:i});else{let p=-1;for(;(p=a.data.indexOf(te,p+1))!==-1;)s.push({type:7,index:i}),p+=te.length-1}i++}}static createElement(e,o){let n=Ae.createElement("template");return n.innerHTML=e,n}};function Re(t,e,o=t,n){if(e===H)return e;let a=n!==void 0?o._$Co?.[n]:o._$Cl,i=nt(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(t),a._$AT(t,o,n)),n!==void 0?(o._$Co??=[])[n]=a:o._$Cl=a),a!==void 0&&(e=Re(t,a._$AS(t,e.values),a,n)),e}var kt=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:n}=this._$AD,a=(e?.creationScope??Ae).importNode(o,!0);Ne.currentNode=a;let i=Ne.nextNode(),c=0,d=0,s=n[0];for(;s!==void 0;){if(c===s.index){let f;s.type===2?f=new it(i,i.nextSibling,this,e):s.type===1?f=new s.ctor(i,s.name,s.strings,this,e):s.type===6&&(f=new Bt(i,this,e)),this._$AV.push(f),s=n[++d]}c!==s?.index&&(i=Ne.nextNode(),c++)}return Ne.currentNode=Ae,a}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},it=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,a){this.type=2,this._$AH=M,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=Re(this,e,o),nt(e)?e===M||e==null||e===""?(this._$AH!==M&&this._$AR(),this._$AH=M):e!==this._$AH&&e!==H&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):gn(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!==M&&nt(this._$AH)?this._$AA.nextSibling.data=e:this.$(Ae.createTextNode(e)),this._$AH=e}g(e){let{values:o,_$litType$:n}=e,a=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=at.createElement(xn(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let i=new kt(a,this),c=i.u(this.options);i.p(o),this.$(c),this._$AH=i}}_$AC(e){let o=hn.get(e.strings);return o===void 0&&hn.set(e.strings,o=new at(e)),o}T(e){mn(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let i of e)a===o.length?o.push(n=new t(this.k(Mt()),this.k(Mt()),this,this.options)):n=o[a],n._$AI(i),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},_e=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,a,i){this.type=1,this._$AH=M,this._$AN=void 0,this.element=e,this.name=o,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=M}_$AI(e,o=this,n,a){let i=this.strings,c=!1;if(i===void 0)e=Re(this,e,o,0),c=!nt(e)||e!==this._$AH&&e!==H,c&&(this._$AH=e);else{let d=e,s,f;for(e=i[0],s=0;s<i.length-1;s++)f=Re(this,d[n+s],o,s),f===H&&(f=this._$AH[s]),c||=!nt(f)||f!==this._$AH[s],f===M?e=M:e!==M&&(e+=(f??"")+i[s+1]),this._$AH[s]=f}c&&!a&&this.O(e)}O(e){e===M?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Ut=class extends _e{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===M?void 0:e}},Wt=class extends _e{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==M)}},Dt=class extends _e{constructor(e,o,n,a,i){super(e,o,n,a,i),this.type=5}_$AI(e,o=this){if((e=Re(this,e,o,0)??M)===H)return;let n=this._$AH,a=e===M&&n!==M||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==M&&(n===M||a);a&&this.element.removeEventListener(this.name,this,n),i&&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)}},Bt=class{constructor(e,o,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Re(this,e)}},Sn={j:xr,P:te,A:vr,C:1,M:vn,L:kt,R:gn,V:Re,D:it,I:_e,H:Wt,N:Dt,U:Ut,B:Bt},Di=br.litHtmlPolyfillSupport;Di?.(at,it),(br.litHtmlVersions??=[]).push("3.1.0");var zt=globalThis,ct=zt.ShadowRoot&&(zt.ShadyCSS===void 0||zt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Sr=Symbol(),On=new WeakMap,ze=class{constructor(e,o,n){if(this._$cssResult$=!0,n!==Sr)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=o}get styleSheet(){let e=this.o,o=this.t;if(ct&&e===void 0){let n=o!==void 0&&o.length===1;n&&(e=On.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&On.set(o,e))}return e}toString(){return this.cssText}},st=t=>new ze(typeof t=="string"?t:t+"",void 0,Sr),k=(t,...e)=>{let o=t.length===1?t[0]:e.reduce((n,a,i)=>n+(c=>{if(c._$cssResult$===!0)return c.cssText;if(typeof c=="number")return c;throw Error("Value passed to 'css' function must be a 'css' function result: "+c+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(a)+t[i+1],t[0]);return new ze(o,t,Sr)},Ht=(t,e)=>{if(ct)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let n=document.createElement("style"),a=zt.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,t.appendChild(n)}},lt=ct?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let o="";for(let n of e.cssRules)o+=n.cssText;return st(o)})(t):t;var{is:Bi,defineProperty:zi,getOwnPropertyDescriptor:Hi,getOwnPropertyNames:ji,getOwnPropertySymbols:Ki,getPrototypeOf:Gi}=Object,Kt=globalThis,wn=Kt.trustedTypes,Vi=wn?wn.emptyScript:"",Zi=Kt.reactiveElementPolyfillSupport,dt=(t,e)=>t,jt={toAttribute(t,e){switch(e){case Boolean:t=t?Vi:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=t!==null;break;case Number:o=t===null?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch{o=null}}return o}},Or=(t,e)=>!Bi(t,e),En={attribute:!0,type:String,converter:jt,reflect:!1,hasChanged:Or};Symbol.metadata??=Symbol("metadata"),Kt.litPropertyMetadata??=new WeakMap;var q=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,o=En){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(e,o),!o.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(e,n,o);a!==void 0&&zi(this.prototype,e,a)}}static getPropertyDescriptor(e,o,n){let{get:a,set:i}=Hi(this.prototype,e)??{get(){return this[o]},set(c){this[o]=c}};return{get(){return a?.call(this)},set(c){let d=a?.call(this);i.call(this,c),this.requestUpdate(e,d,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??En}static _$Ei(){if(this.hasOwnProperty(dt("elementProperties")))return;let e=Gi(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(dt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(dt("properties"))){let o=this.properties,n=[...ji(o),...Ki(o)];for(let a of n)this.createProperty(a,o[a])}let e=this[Symbol.metadata];if(e!==null){let o=litPropertyMetadata.get(e);if(o!==void 0)for(let[n,a]of o)this.elementProperties.set(n,a)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let a=this._$Eu(o,n);a!==void 0&&this._$Eh.set(a,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let o=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let a of n)o.unshift(lt(a))}else e!==void 0&&o.push(lt(e));return o}static _$Eu(e,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n: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,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Ht(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,o,n){this._$AK(e,n)}_$EO(e,o){let n=this.constructor.elementProperties.get(e),a=this.constructor._$Eu(e,n);if(a!==void 0&&n.reflect===!0){let i=(n.converter?.toAttribute!==void 0?n.converter:jt).toAttribute(o,n.type);this._$Em=e,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(e,o){let n=this.constructor,a=n._$Eh.get(e);if(a!==void 0&&this._$Em!==a){let i=n.getPropertyOptions(a),c=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:jt;this._$Em=a,this[a]=c.fromAttribute(o,i.type),this._$Em=null}}requestUpdate(e,o,n,a=!1,i){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Or)(a?i:this[e],o))return;this.C(e,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,o,n){this._$AL.has(e)||this._$AL.set(e,o),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}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[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[a,i]of n)i.wrapped!==!0||this._$AL.has(a)||this[a]===void 0||this.C(a,this[a],i)}let e=!1,o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(o)}willUpdate(e){}_$AE(e){this._$E_?.forEach(o=>o.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(o=>this._$EO(o,this[o])),this._$ET()}updated(e){}firstUpdated(e){}};q.elementStyles=[],q.shadowRootOptions={mode:"open"},q[dt("elementProperties")]=new Map,q[dt("finalized")]=new Map,Zi?.({ReactiveElement:q}),(Kt.reactiveElementVersions??=[]).push("2.0.2");var Er=globalThis,Gt=Er.trustedTypes,Cn=Gt?Gt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Cr="$lit$",re=`lit$${(Math.random()+"").slice(9)}$`,Nr="?"+re,Fi=`<${Nr}>`,Ie=document,ut=()=>Ie.createComment(""),pt=t=>t===null||typeof t!="object"&&typeof t!="function",Ln=Array.isArray,In=t=>Ln(t)||typeof t?.[Symbol.iterator]=="function",wr=`[
4
4
  \f\r]`,ft=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Nn=/-->/g,An=/>/g,Pe=RegExp(`>|${wr}(?:([^\\s"'>=/]+)(${wr}*=${wr}*(?:[^
5
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Rn=/'/g,_n=/"/g,Tn=/^(?:script|style|textarea|title)$/i,$n=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),Ar=$n(1),qi=$n(2),de=Symbol.for("lit-noChange"),$=Symbol.for("lit-nothing"),Pn=new WeakMap,Le=Ie.createTreeWalker(Ie,129);function Mn(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Cn!==void 0?Cn.createHTML(e):e}var kn=(t,e)=>{let r=t.length-1,n=[],a,i=e===2?"<svg>":"",c=ft;for(let d=0;d<r;d++){let s=t[d],f,h,p=-1,m=0;for(;m<s.length&&(c.lastIndex=m,h=c.exec(s),h!==null);)m=c.lastIndex,c===ft?h[1]==="!--"?c=Nn:h[1]!==void 0?c=An:h[2]!==void 0?(Tn.test(h[2])&&(a=RegExp("</"+h[2],"g")),c=Pe):h[3]!==void 0&&(c=Pe):c===Pe?h[0]===">"?(c=a??ft,p=-1):h[1]===void 0?p=-2:(p=c.lastIndex-h[2].length,f=h[1],c=h[3]===void 0?Pe:h[3]==='"'?_n:Rn):c===_n||c===Rn?c=Pe:c===Nn||c===An?c=ft:(c=Pe,a=void 0);let g=c===Pe&&t[d+1].startsWith("/>")?" ":"";i+=c===ft?s+Fi:p>=0?(n.push(f),s.slice(0,p)+Cr+s.slice(p)+re+g):s+re+(p===-2?d:g)}return[Mn(t,i+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},ht=class t{constructor({strings:e,_$litType$:r},n){let a;this.parts=[];let i=0,c=0,d=e.length-1,s=this.parts,[f,h]=kn(e,r);if(this.el=t.createElement(f,n),Le.currentNode=this.el.content,r===2){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(a=Le.nextNode())!==null&&s.length<d;){if(a.nodeType===1){if(a.hasAttributes())for(let p of a.getAttributeNames())if(p.endsWith(Cr)){let m=h[c++],g=a.getAttribute(p).split(re),y=/([.?@])?(.*)/.exec(m);s.push({type:1,index:i,name:y[2],strings:g,ctor:y[1]==="."?Zt:y[1]==="?"?Ft:y[1]==="@"?qt:$e}),a.removeAttribute(p)}else p.startsWith(re)&&(s.push({type:6,index:i}),a.removeAttribute(p));if(Tn.test(a.tagName)){let p=a.textContent.split(re),m=p.length-1;if(m>0){a.textContent=Gt?Gt.emptyScript:"";for(let g=0;g<m;g++)a.append(p[g],ut()),Le.nextNode(),s.push({type:2,index:++i});a.append(p[m],ut())}}}else if(a.nodeType===8)if(a.data===Nr)s.push({type:2,index:i});else{let p=-1;for(;(p=a.data.indexOf(re,p+1))!==-1;)s.push({type:7,index:i}),p+=re.length-1}i++}}static createElement(e,r){let n=Ie.createElement("template");return n.innerHTML=e,n}};function Te(t,e,r=t,n){if(e===de)return e;let a=n!==void 0?r._$Co?.[n]:r._$Cl,i=pt(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(t),a._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=a:r._$Cl=a),a!==void 0&&(e=Te(t,a._$AS(t,e.values),a,n)),e}var Vt=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:n}=this._$AD,a=(e?.creationScope??Ie).importNode(r,!0);Le.currentNode=a;let i=Le.nextNode(),c=0,d=0,s=n[0];for(;s!==void 0;){if(c===s.index){let f;s.type===2?f=new He(i,i.nextSibling,this,e):s.type===1?f=new s.ctor(i,s.name,s.strings,this,e):s.type===6&&(f=new Yt(i,this,e)),this._$AV.push(f),s=n[++d]}c!==s?.index&&(i=Le.nextNode(),c++)}return Le.currentNode=Ie,a}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},He=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,a){this.type=2,this._$AH=$,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=a,this._$Cv=a?.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=Te(this,e,r),pt(e)?e===$||e==null||e===""?(this._$AH!==$&&this._$AR(),this._$AH=$):e!==this._$AH&&e!==de&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):In(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!==$&&pt(this._$AH)?this._$AA.nextSibling.data=e:this.$(Ie.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,a=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=ht.createElement(Mn(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(r);else{let i=new Vt(a,this),c=i.u(this.options);i.p(r),this.$(c),this._$AH=i}}_$AC(e){let r=Pn.get(e.strings);return r===void 0&&Pn.set(e.strings,r=new ht(e)),r}T(e){Ln(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,a=0;for(let i of e)a===r.length?r.push(n=new t(this.k(ut()),this.k(ut()),this,this.options)):n=r[a],n._$AI(i),a++;a<r.length&&(this._$AR(n&&n._$AB.nextSibling,a),r.length=a)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},$e=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,a,i){this.type=1,this._$AH=$,this._$AN=void 0,this.element=e,this.name=r,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=$}_$AI(e,r=this,n,a){let i=this.strings,c=!1;if(i===void 0)e=Te(this,e,r,0),c=!pt(e)||e!==this._$AH&&e!==de,c&&(this._$AH=e);else{let d=e,s,f;for(e=i[0],s=0;s<i.length-1;s++)f=Te(this,d[n+s],r,s),f===de&&(f=this._$AH[s]),c||=!pt(f)||f!==this._$AH[s],f===$?e=$:e!==$&&(e+=(f??"")+i[s+1]),this._$AH[s]=f}c&&!a&&this.O(e)}O(e){e===$?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Zt=class extends $e{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===$?void 0:e}},Ft=class extends $e{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==$)}},qt=class extends $e{constructor(e,r,n,a,i){super(e,r,n,a,i),this.type=5}_$AI(e,r=this){if((e=Te(this,e,r,0)??$)===de)return;let n=this._$AH,a=e===$&&n!==$||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==$&&(n===$||a);a&&this.element.removeEventListener(this.name,this,n),i&&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)}},Yt=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Te(this,e)}},Yi={j:Cr,P:re,A:Nr,C:1,M:kn,L:Vt,R:In,V:Te,D:He,I:$e,H:Ft,N:qt,U:Zt,B:Yt},Ji=Er.litHtmlPolyfillSupport;Ji?.(ht,He),(Er.litHtmlVersions??=[]).push("3.1.0");var Rr=(t,e,r)=>{let n=r?.renderBefore??e,a=n._$litPart$;if(a===void 0){let i=r?.renderBefore??null;n._$litPart$=a=new He(e.insertBefore(ut(),i),i,void 0,r??{})}return a._$AI(t),a};var oe=class extends q{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=Rr(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return de}};oe._$litElement$=!0,oe.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:oe});var Xi=globalThis.litElementPolyfillSupport;Xi?.({LitElement:oe});var Qi={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Ml=!1;var Ir={};I(Ir,{customElement:()=>ec,eventOptions:()=>rc,property:()=>B,query:()=>Lr,queryAll:()=>nc,queryAssignedElements:()=>ic,queryAssignedNodes:()=>cc,queryAsync:()=>ac,standardProperty:()=>Un,state:()=>Pr});var ec=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var tc={attribute:!0,type:String,converter:rt,reflect:!1,hasChanged:Tt},Un=(t=tc,e,r)=>{let{kind:n,metadata:a}=r,i=globalThis.litPropertyMetadata.get(a);if(i===void 0&&globalThis.litPropertyMetadata.set(a,i=new Map),i.set(r.name,t),n==="accessor"){let{name:c}=r;return{set(d){let s=e.get.call(this);e.set.call(this,d),this.requestUpdate(c,s,t)},init(d){return d!==void 0&&this.C(c,void 0,t),d}}}if(n==="setter"){let{name:c}=r;return function(d){let s=this[c];e.call(this,d),this.requestUpdate(c,s,t)}}throw Error("Unsupported decorator location: "+n)};function B(t){return(e,r)=>typeof r=="object"?Un(t,e,r):((n,a,i)=>{let c=a.hasOwnProperty(i);return a.constructor.createProperty(i,c?{...n,wrapped:!0}:n),c?Object.getOwnPropertyDescriptor(a,i):void 0})(t,e,r)}function Pr(t){return B({...t,state:!0,attribute:!1})}function rc(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var V=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function Lr(t,e){return(r,n,a)=>{let i=c=>c.renderRoot?.querySelector(t)??null;if(e){let{get:c,set:d}=typeof n=="object"?r:a??(()=>{let s=Symbol();return{get(){return this[s]},set(f){this[s]=f}}})();return V(r,n,{get(){let s=c.call(this);return s===void 0&&(s=i(this),(s!==null||this.hasUpdated)&&d.call(this,s)),s}})}return V(r,n,{get(){return i(this)}})}}var oc;function nc(t){return(e,r)=>V(e,r,{get(){return(this.renderRoot??(oc??=document.createDocumentFragment())).querySelectorAll(t)}})}function ac(t){return(e,r)=>V(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function ic(t){return(e,r)=>{let{slot:n,selector:a}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return V(e,r,{get(){let c=this.renderRoot?.querySelector(i),d=c?.assignedElements(t)??[];return a===void 0?d:d.filter(s=>s.matches(a))}})}}function cc(t){return(e,r)=>{let{slot:n}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return V(e,r,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(t)??[]}})}}var Tr={};I(Tr,{repeat:()=>dc});var fe={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ue=t=>(...e)=>({_$litDirective$:t,values:e}),Y=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,n){this._$Ct=e,this._$AM=r,this._$Ci=n}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{D:sc}=Sn;var Wn=()=>document.createComment(""),je=(t,e,r)=>{let n=t._$AA.parentNode,a=e===void 0?t._$AB:e._$AA;if(r===void 0){let i=n.insertBefore(Wn(),a),c=n.insertBefore(Wn(),a);r=new sc(i,c,t,t.options)}else{let i=r._$AB.nextSibling,c=r._$AM,d=c!==t;if(d){let s;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(s=t._$AU)!==c._$AU&&r._$AP(s)}if(i!==a||d){let s=r._$AA;for(;s!==i;){let f=s.nextSibling;n.insertBefore(s,a),s=f}}}return r},pe=(t,e,r=t)=>(t._$AI(e,r),t),lc={},Dn=(t,e=lc)=>t._$AH=e,Bn=t=>t._$AH,Jt=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let n=e.nextSibling;e.remove(),e=n}};var zn=(t,e,r)=>{let n=new Map;for(let a=e;a<=r;a++)n.set(t[a],a);return n},dc=ue(class extends Y{constructor(t){if(super(t),t.type!==fe.CHILD)throw Error("repeat() can only be used in text expressions")}ht(t,e,r){let n;r===void 0?r=e:e!==void 0&&(n=e);let a=[],i=[],c=0;for(let d of t)a[c]=n?n(d,c):c,i[c]=r(d,c),c++;return{values:i,keys:a}}render(t,e,r){return this.ht(t,e,r).values}update(t,[e,r,n]){let a=Bn(t),{values:i,keys:c}=this.ht(e,r,n);if(!Array.isArray(a))return this.dt=c,i;let d=this.dt??=[],s=[],f,h,p=0,m=a.length-1,g=0,y=i.length-1;for(;p<=m&&g<=y;)if(a[p]===null)p++;else if(a[m]===null)m--;else if(d[p]===c[g])s[g]=pe(a[p],i[g]),p++,g++;else if(d[m]===c[y])s[y]=pe(a[m],i[y]),m--,y--;else if(d[p]===c[y])s[y]=pe(a[p],i[y]),je(t,s[y+1],a[p]),p++,y--;else if(d[m]===c[g])s[g]=pe(a[m],i[g]),je(t,a[p],a[m]),m--,g++;else if(f===void 0&&(f=zn(c,g,y),h=zn(d,p,m)),f.has(d[p]))if(f.has(d[m])){let v=h.get(c[g]),w=v!==void 0?a[v]:null;if(w===null){let E=je(t,a[p]);pe(E,i[g]),s[g]=E}else s[g]=pe(w,i[g]),je(t,a[p],w),a[v]=null;g++}else Jt(a[m]),m--;else Jt(a[p]),p++;for(;g<=y;){let v=je(t,s[y+1]);pe(v,i[g]),s[g++]=v}for(;p<=m;){let v=a[p++];v!==null&&Jt(v)}return this.dt=c,Dn(t,s),H}});var $r={};I($r,{classMap:()=>fc});var fc=ue(class extends Y{constructor(t){if(super(t),t.type!==fe.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(n=>n!=="")));for(let n in e)e[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(e)}let r=t.element.classList;for(let n of this.it)n in e||(r.remove(n),this.it.delete(n));for(let n in e){let a=!!e[n];a===this.it.has(n)||this.st?.has(n)||(a?(r.add(n),this.it.add(n)):(r.remove(n),this.it.delete(n)))}return H}});var Mr={};I(Mr,{styleMap:()=>pc});var Hn="important",uc=" !"+Hn,pc=ue(class extends Y{constructor(t){if(super(t),t.type!==fe.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 n=t[r];return n==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}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 n of this.ut)e[n]==null&&(this.ut.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in e){let a=e[n];if(a!=null){this.ut.add(n);let i=typeof a=="string"&&a.endsWith(uc);n.includes("-")||i?r.setProperty(n,i?a.slice(0,-11):a,i?Hn:""):r[n]=a}}return H}});var Ur={};I(Ur,{UnsafeHTMLDirective:()=>Ke,unsafeHTML:()=>kr});var Ke=class extends Y{constructor(e){if(super(e),this.et=M,e.type!==fe.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===M||e==null)return this.vt=void 0,this.et=e;if(e===H)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:[]}}};Ke.directiveName="unsafeHTML",Ke.resultType=1;var kr=ue(Ke);var zr={};I(zr,{CacheRegistry:()=>Br});var Dr={};I(Dr,{CancelablePromise:()=>Ge,CanceledPromiseError:()=>mt,cancelable:()=>Wr});var mt=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},Ge=class extends Promise{constructor(e){super((r,n)=>e(a=>{this.isCanceled?n(new mt("Promise has been canceled",a)):r(a)},a=>{this.isCanceled?n(new mt("Promise has been canceled",void 0,a)):n(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Wr=t=>new Ge((e,r)=>t.then(e).catch(r));var Br=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 Ge&&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,n){if(this.content[e]===void 0){if(r=r??this.loaders[e],r==null)throw new Error("Unknown cache key "+e);let a=Wr(r());return this.content[e]=a,a.then(i=>(this.content[e]=i,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),i))}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 jr={};I(jr,{ClusteringHelper:()=>Hr});var Hr=class t{constructor(e,r,n,a){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=a}static extractResultMetadata(e,r){var n,a;let i=((a=(n=e?.map)!==null&&n!==void 0?n:e?.document)!==null&&a!==void 0?a:e?.topic).metadata;return r==null?t.flattenMetadata(i):t.flattenMetadata(i.find(c=>c.key===r))}static flattenMetadata(e){if(Array.isArray(e))return e.map(n=>t.flattenMetadata(n)).filter(n=>n!=null);let r=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!r))if(r){let n=[],a=[];return e.hierarchicalValues.forEach(i=>{n.push(i.join(" > ")),i.length>2?a.push(`... > ${i[i.length-1]}`):a.push(i.join(" > "))}),{key:e.key,label:e.label,value:n.join(", "),displayValue:a.join(", ")}}else{let n=e.values.join(", ");return{key:e.key,label:e.label,value:n,displayValue:n}}}computeClustersItemsForMetadata(e,r,n="No value"){var a,i;let c=t.extractResultMetadata(this.selectedResult,e),d=(a=c?.label)!==null&&a!==void 0?a:(i=this.getMetadataDescriptor(e))===null||i===void 0?void 0:i.label;return this.allResults.map(f=>t.extractResultMetadata(f,e)).map(f=>f??{key:e,label:d,value:void 0,displayValue:n}).filter(f=>f.value!=c?.value).filter((f,h,p)=>p.findIndex(m=>m.value===f.value)===h).map(f=>({result:this.findBestResultForMetadataValue(e,f.value),metadata:f})).sort((f,h)=>this.compareMetadata(f.metadata.value,h.metadata.value,e,r))}compareMetadata(e,r,n,a){if(e==null)return-1;if(r==null)return 1;let i=this.getMetadataDescriptor(n),c=i?.sortRule||"NONE",d=i?.reverseSort||!1;if(c=="ALPHABET"||c=="VERSION"){let s=e.localeCompare(r,a,{numeric:!0});return d?s*-1:s}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let n=this.allResults.filter(s=>{var f;return((f=t.extractResultMetadata(s,e))===null||f===void 0?void 0:f.value)==r}),i=[...t.extractResultMetadata(this.selectedResult).filter(s=>this.clusteringMetadata.has(s.key)).filter(s=>s.key!==e)],c,d=-1;for(let s of n){let f=this.countMatchingMetadata(s,i);if(f>d&&(d=f,c=s,f===i.length))break}return c}countMatchingMetadata(e,r){return t.extractResultMetadata(e).filter(n=>r.some(a=>a.key===n.key&&a.value===n.value)).length}};var Kr={};I(Kr,{Debouncer:()=>gt});var gt=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,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let a=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,i=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let c of n)try{await c()}catch(d){a(d);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Fr={};I(Fr,{customElement:()=>Vr,isNumber:()=>Zn,jsonProperty:()=>Zr,optionalNumberProperty:()=>vc});var Gr={};I(Gr,{dateReviver:()=>mc,deepEqual:()=>he,delay:()=>jn,eventPathContainsMatchingElement:()=>yc,flatDeep:()=>Gn,last:()=>xc,minmax:()=>bc,parseDate:()=>Vn,waitFor:()=>Kn,waitUntil:()=>hc});var jn=t=>new Promise(e=>setTimeout(e,t));async function hc(t,e=10,r=2e4){await Kn(async()=>await t()||void 0,e,r)}async function Kn(t,e=10,r=2e4){let n=await t(),a,i;for(a=i=performance.now();n==null&&(!r||i-a<r);)await jn(e),n=await t(),i=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Gn(t,e){return t.flatMap(r=>[r,...Gn(e(r),e)])}function mc(...t){return function(e,r){return t.includes(e)?Vn(r):r}}function Vn(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,n,a)=>r+n+":"+a),new Date(t)}function gc(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,n,a;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!he(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!he(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[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(a=Object.keys(t),r=a.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[n]))return!1;for(n=r;n--!==0;){var i=a[n];if(!he(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function he(t,e){try{return gc(t,e)}catch{return!1}}function yc(t,e,r=window.document.body){if(e.length>0){let n=t.composedPath();for(let a of n){if(a===r)return!1;if(a.matches&&e.some(i=>a.matches(i)))return!0}}return!1}function bc(t,e,r){return Math.min(Math.max(t,e),r)}function xc(t){return t[t.length-1]}var Vr=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function Zr(t,e){let r=()=>JSON.parse(JSON.stringify(t));return B({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:(n,a)=>!he(n,a),...e??{}})}function vc(t){return B({type:Object,converter:{fromAttribute:e=>{if(e!=null)return Zn(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function Zn(t){return!isNaN(parseFloat(t))}var Yr={};I(Yr,{designSystemVariables:()=>Fc});var qr={};I(qr,{FtCssVariableFactory:()=>o,banner:()=>Cc,border:()=>zc,breadcrumb:()=>Nc,button:()=>Ec,chart:()=>Dc,checkbox:()=>jc,chip:()=>Bc,collapsible:()=>Uc,comboboxMultiSelect:()=>$c,comboboxSingleSelect:()=>Tc,drawer:()=>_c,floatingMenu:()=>Ic,foundation:()=>l,modal:()=>Rc,notice:()=>Hc,notification:()=>Vc,pageHeader:()=>Ac,popover:()=>Mc,radio:()=>Gc,semantic:()=>u,setVariable:()=>Sc,switch_:()=>Wc,tabs:()=>kc,textArea:()=>Lc,textInput:()=>Pc,toggle:()=>Kc,tooltip:()=>Zc,typographies:()=>Oc,typographyBody1Medium:()=>Qn,typographyBody1Regular:()=>Xn,typographyBody1Semibold:()=>ea,typographyBody2Medium:()=>ra,typographyBody2MediumUnderline:()=>oa,typographyBody2Regular:()=>ta,typographyBody2Semibold:()=>na,typographyCaption1Bold:()=>pa,typographyCaption1Medium:()=>fa,typographyCaption1Semibold:()=>ua,typographyCaption2Bold:()=>ga,typographyCaption2Medium:()=>ha,typographyCaption2Semibold:()=>ma,typographyCaption3Bold:()=>xa,typographyCaption3Medium:()=>ya,typographyCaption3Semibold:()=>ba,typographyDisplay:()=>Fn,typographyLabel1Bold:()=>ca,typographyLabel1Medium:()=>aa,typographyLabel1Semibold:()=>ia,typographyLabel2Bold:()=>da,typographyLabel2Medium:()=>sa,typographyLabel2Semibold:()=>la,typographyTitle1:()=>qn,typographyTitle2:()=>Yn,typographyTitle3:()=>Jn,typographyVariants:()=>wc});var ne=t=>typeof t=="string"?st(t):t,o=class{static create(e,r,n,a){let i=d=>ne(d??a),c=k`var(${ne(e)}, ${i(a)})`;return c.name=e,c.description=r,c.category=n,c.defaultValue=a,c.defaultCssValue=i,c.get=d=>k`var(${ne(e)}, ${i(d)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>a,c}static extend(e,r,n,a){let i=d=>n.get(d??a),c=k`var(${ne(e)}, ${i(a)})`;return c.name=e,c.description=r,c.category=n.category,c.fallbackVariable=n,c.defaultValue=a,c.defaultCssValue=i,c.get=d=>k`var(${ne(e)}, ${i(d)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),c}static external(e,r){let n=i=>e.fallbackVariable?e.fallbackVariable.get(i??e.defaultValue):ne(i??e.lastResortDefaultValue()),a=k`var(${ne(e.name)}, ${n(e.defaultValue)})`;return a.name=e.name,a.category=e.category,a.fallbackVariable=e.fallbackVariable,a.defaultValue=e.defaultValue,a.context=r,a.defaultCssValue=n,a.get=i=>k`var(${ne(e.name)}, ${n(i)})`,a.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>e.lastResortDefaultValue(),a}};function Sc(t,e){return ne(`${t.name}: ${e}`)}var l={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:o.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:o.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:o.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:o.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:o.create("--ft-icon-size-6","","SIZE","48px"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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)")},Fn={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},qn={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Yn={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Jn={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Xn={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Qn={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},ea={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},ta={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},ra={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},oa={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},na={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},aa={fontFamily:o.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},ia={fontFamily:o.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},ca={fontFamily:o.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},sa={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},la={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},da={fontFamily:o.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},fa={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},ua={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},pa={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},ha={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},ma={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},ga={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},ya={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},ba={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},xa={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Oc={display:Fn,"title-1":qn,"title-2":Yn,"title-3":Jn,"body-1-regular":Xn,"body-1-medium":Qn,"body-1-semibold":ea,"body-2-regular":ta,"body-2-medium":ra,"body-2-medium-underline":oa,"body-2-semibold":na,"label-1-medium":aa,"label-1-semibold":ia,"label-1-bold":ca,"label-2-medium":sa,"label-2-semibold":la,"label-2-bold":da,"caption-1-medium":fa,"caption-1-semibold":ua,"caption-1-bold":pa,"caption-2-medium":ha,"caption-2-semibold":ma,"caption-2-bold":ga,"caption-3-medium":ya,"caption-3-semibold":ba,"caption-3-bold":xa},wc=["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:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
6
- Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80)};var Ec={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:o.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:o.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",l.spacing3),smallGap:o.extend("--ft-button-small-gap","",l.spacing2),smallBorderRadius:o.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",l.iconSize2),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:o.extend("--ft-button-primary-background-color","",u.backgroundActionPrimary),primaryColor:o.extend("--ft-button-primary-color","",u.contentGlobalOnColor),primaryIconColor:o.extend("--ft-button-primary-icon-color","",u.contentGlobalOnColor),primaryStateLayerColor:o.extend("--ft-button-primary-state-layer-color","",u.contentGlobalOnColor),primaryHoverStateLayerOpacity:o.extend("--ft-button-primary-hover-state-layer-opacity","",l.opacity16),primaryFocusStateLayerOpacity:o.extend("--ft-button-primary-focus-state-layer-opacity","",l.opacity16),primaryActiveStateLayerOpacity:o.extend("--ft-button-primary-active-state-layer-opacity","",l.opacity24),primaryDisabledComponentOpacity:o.extend("--ft-button-primary-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBackgroundColor:o.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:o.extend("--ft-button-tertiary-color","",u.contentActionPrimary),tertiaryIconColor:o.extend("--ft-button-tertiary-icon-color","",u.contentActionPrimary),tertiaryStateLayerColor:o.extend("--ft-button-tertiary-state-layer-color","",u.contentActionPrimary),tertiaryHoverStateLayerOpacity:o.extend("--ft-button-tertiary-hover-state-layer-opacity","",l.opacity8),tertiaryFocusStateLayerOpacity:o.extend("--ft-button-tertiary-focus-state-layer-opacity","",l.opacity8),tertiaryActiveStateLayerOpacity:o.extend("--ft-button-tertiary-active-state-layer-opacity","",l.opacity16),tertiaryDisabledComponentOpacity:o.extend("--ft-button-tertiary-disabled-component-opacity","",l.opacity40),secondaryBackgroundColor:o.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:o.extend("--ft-button-secondary-color","",u.contentActionPrimary),secondaryIconColor:o.extend("--ft-button-secondary-icon-color","",u.contentActionPrimary),secondaryStateLayerColor:o.extend("--ft-button-secondary-state-layer-color","",u.contentActionPrimary),secondaryHoverStateLayerOpacity:o.extend("--ft-button-secondary-hover-state-layer-opacity","",l.opacity8),secondaryFocusStateLayerOpacity:o.extend("--ft-button-secondary-focus-state-layer-opacity","",l.opacity8),secondaryActiveStateLayerOpacity:o.extend("--ft-button-secondary-active-state-layer-opacity","",l.opacity16),secondaryDisabledComponentOpacity:o.extend("--ft-button-secondary-disabled-component-opacity","",l.opacity40),secondaryBorderColor:o.extend("--ft-button-secondary-border-color","",u.borderActionPrimary),neutralBackgroundColor:o.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:o.extend("--ft-button-neutral-icon-color","",u.contentGlobalSecondary),neutralColor:o.extend("--ft-button-neutral-color","",u.contentGlobalSecondary),neutralStateLayerColor:o.extend("--ft-button-neutral-state-layer-color","",u.contentGlobalSecondary),neutralHoverStateLayerOpacity:o.extend("--ft-button-neutral-hover-state-layer-opacity","",l.opacity8),neutralFocusStateLayerOpacity:o.extend("--ft-button-neutral-focus-state-layer-opacity","",l.opacity8),neutralActiveStateLayerOpacity:o.extend("--ft-button-neutral-active-state-layer-opacity","",l.opacity16),neutralDisabledComponentOpacity:o.extend("--ft-button-neutral-disabled-component-opacity","",l.opacity40)};var Cc={iconSize:o.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-banner-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly)};var Nc={horizontalGap:o.extend("--ft-breadcrumb-horizontal-gap","",l.spacing1),verticalGap:o.extend("--ft-breadcrumb-vertical-gap","",l.spacing2),currentElementColor:o.extend("--ft-breadcrumb-current-element-color","",u.contentGlobalPrimary),iconColor:o.extend("--ft-breadcrumb-icon-color","",u.contentGlobalSubtle)};var Ac={horizontalPadding:o.extend("--ft-page-header-horizontal-padding","",l.spacing12),horizontalGap:o.extend("--ft-page-header-horizontal-gap","",l.spacing4),verticalGap:o.extend("--ft-page-header-vertical-gap","",l.spacing2),classicVerticalPadding:o.extend("--ft-page-header-classic-vertical-padding","",l.spacing6),multilineVerticalPadding:o.extend("--ft-page-header-multiline-vertical-padding","",l.spacing4),inlineVerticalPadding:o.extend("--ft-page-header-inline-vertical-padding","",l.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",u.borderGlobalSubtle),titleColor:o.extend("--ft-page-header-title-color","",u.contentGlobalPrimary),subtitleColor:o.extend("--ft-page-header-subtitle-color","",u.contentGlobalSecondary)};var Rc={smallContainerWidth:o.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:o.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",l.spacing6),containerMargin:o.extend("--ft-modal-container-margin","",l.spacing3),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-modal-header-trailing-icon-color","",u.contentGlobalSecondary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:o.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottom:o.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",l.borderRadiusM)};var _c={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:o.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing4),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",l.colorGray700)};var Pc={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)};var Lc={backgroundColor:o.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",l.borderRadiusM)};var Ic={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",u.backgroundGlobalOnSurface)};var Tc={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)};var $c={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)};var Mc={backgroundColor:o.extend("--ft-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",l.spacing6),iconColor:o.extend("--ft-popover-icon-color","",u.contentGlobalSecondary),iconSize:o.extend("--ft-popover-icon-size","",l.iconSize2),titleColor:o.extend("--ft-popover-title-color","",u.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",u.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",u.contentActionPrimary),gap:o.extend("--ft-popover-gap","",l.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",l.shadowElevation02)};var kc={topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),labelHorizontalPadding:o.extend("--ft-tabs-label-horizontal-padding","",l.spacing4),labelVerticalPadding:o.extend("--ft-tabs-label-vertical-padding","",l.spacing3),labelGap:o.extend("--ft-tabs-label-gap","",l.spacing1),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:o.extend("--ft-tabs-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:o.extend("--ft-tabs-on-disabled-component-opacity","",l.opacity40),onColor:o.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-tabs-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:o.extend("--ft-tabs-icon-vertical-padding","",l.spacing4),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var Uc={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:o.extend("--ft-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",l.iconSize3)};var Wc={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:o.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ft-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:o.extend("--ft-switch-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",l.borderRadiusS)};var Dc={color1Light:o.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",l.colorRed40),color5Base:o.extend("--ft-chart-5-base","",l.colorRed60),color6Light:o.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",l.colorGray50),color10Base:o.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",l.colorBrand200)};var Bc={largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",l.spacing4),largeVerticalPadding:o.extend("--ft-chip-large-vertical-padding","",l.spacing2),largeGap:o.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.extend("--ft-chip-large-border-radius","",l.borderRadiusPill),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",l.spacing3),mediumVerticalPadding:o.extend("--ft-chip-medium-vertical-padding","",l.spacing1),mediumGap:o.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.extend("--ft-chip-medium-border-radius","",l.borderRadiusPill),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",l.spacing2),smallVerticalPadding:o.extend("--ft-chip-small-vertical-padding","",l.spacing05),smallGap:o.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.extend("--ft-chip-small-border-radius","",l.borderRadiusPill),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",u.contentGlobalPrimary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",u.contentGlobalPrimary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)};var zc={infoBorderColor:o.extend("--ft-border-info-border-color","",u.borderInfoSubtle)};var Hc={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",l.spacing2),verticalPadding:o.extend("--ft-notice-vertical-padding","",l.spacing1),borderRadius:o.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:o.extend("--ft-notice-gap","",l.spacing2),iconSize:o.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly)};var jc={color:o.extend("--ft-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-checkbox-gap","",l.spacing3)};var Kc={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:o.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",l.spacing3)};var Gc={color:o.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",l.spacing3)};var Vc={iconSize:o.extend("--ft-notification-icon-size","",l.iconSize4),horizontalPadding:o.extend("--ft-notification-horizontal-padding","",l.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",l.spacing4),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",u.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",l.spacing8)};var Zc={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:o.extend("--ft-tooltip-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:o.extend("--ft-tooltip-shadow","",l.shadowElevation03),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",l.spacing05)};var Fc={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var eo={};I(eo,{FtNotificationEvent:()=>Jr,PostResizeEvent:()=>Qr,PreResizeEvent:()=>Xr});var Jr=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Xr=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Qr=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var uo={};I(uo,{computeOffsetPosition:()=>ps});var Sa=["top","right","bottom","left"],va=["start","end"],ro=Sa.reduce((t,e)=>t.concat(e,e+"-"+va[0],e+"-"+va[1]),[]),yt=Math.min,me=Math.max,bt=Math.round;var ae=t=>({x:t,y:t}),qc={left:"right",right:"left",bottom:"top",top:"bottom"},Yc={start:"end",end:"start"};function oo(t,e,r){return me(t,yt(e,r))}function Xt(t,e){return typeof t=="function"?t(e):t}function Ve(t){return t.split("-")[0]}function ge(t){return t.split("-")[1]}function no(t){return t==="x"?"y":"x"}function ao(t){return t==="y"?"height":"width"}function Qt(t){return["top","bottom"].includes(Ve(t))?"y":"x"}function io(t){return no(Qt(t))}function Oa(t,e,r){r===void 0&&(r=!1);let n=ge(t),a=io(t),i=ao(a),c=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(c=to(c)),[c,to(c)]}function wa(t){return t.replace(/start|end/g,e=>Yc[e])}function to(t){return t.replace(/left|right|bottom|top/g,e=>qc[e])}function Jc(t){return{top:0,right:0,bottom:0,left:0,...t}}function Ea(t){return typeof t!="number"?Jc(t):{top:t,right:t,bottom:t,left:t}}function Me(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Ca(t,e,r){let{reference:n,floating:a}=t,i=Qt(e),c=io(e),d=ao(c),s=Ve(e),f=i==="y",h=n.x+n.width/2-a.width/2,p=n.y+n.height/2-a.height/2,m=n[d]/2-a[d]/2,g;switch(s){case"top":g={x:h,y:n.y-a.height};break;case"bottom":g={x:h,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:p};break;case"left":g={x:n.x-a.width,y:p};break;default:g={x:n.x,y:n.y}}switch(ge(e)){case"start":g[c]-=m*(r&&f?-1:1);break;case"end":g[c]+=m*(r&&f?-1:1);break}return g}var Na=async(t,e,r)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:c}=r,d=i.filter(Boolean),s=await(c.isRTL==null?void 0:c.isRTL(e)),f=await c.getElementRects({reference:t,floating:e,strategy:a}),{x:h,y:p}=Ca(f,n,s),m=n,g={},y=0;for(let v=0;v<d.length;v++){let{name:w,fn:E}=d[v],{x:C,y:x,data:b,reset:S}=await E({x:h,y:p,initialPlacement:n,placement:m,strategy:a,middlewareData:g,rects:f,platform:c,elements:{reference:t,floating:e}});if(h=C??h,p=x??p,g={...g,[w]:{...g[w],...b}},S&&y<=50){y++,typeof S=="object"&&(S.placement&&(m=S.placement),S.rects&&(f=S.rects===!0?await c.getElementRects({reference:t,floating:e,strategy:a}):S.rects),{x:h,y:p}=Ca(f,m,s)),v=-1;continue}}return{x:h,y:p,placement:m,strategy:a,middlewareData:g}};async function co(t,e){var r;e===void 0&&(e={});let{x:n,y:a,platform:i,rects:c,elements:d,strategy:s}=t,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:p="floating",altBoundary:m=!1,padding:g=0}=Xt(e,t),y=Ea(g),w=d[m?p==="floating"?"reference":"floating":p],E=Me(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(w)))==null||r?w:w.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(d.floating)),boundary:f,rootBoundary:h,strategy:s})),C=p==="floating"?{...c.floating,x:n,y:a}:c.reference,x=await(i.getOffsetParent==null?void 0:i.getOffsetParent(d.floating)),b=await(i.isElement==null?void 0:i.isElement(x))?await(i.getScale==null?void 0:i.getScale(x))||{x:1,y:1}:{x:1,y:1},S=Me(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:C,offsetParent:x,strategy:s}):C);return{top:(E.top-S.top+y.top)/b.y,bottom:(S.bottom-E.bottom+y.bottom)/b.y,left:(E.left-S.left+y.left)/b.x,right:(S.right-E.right+y.right)/b.x}}function Xc(t,e,r){return(t?[...r.filter(a=>ge(a)===t),...r.filter(a=>ge(a)!==t)]:r.filter(a=>Ve(a)===a)).filter(a=>t?ge(a)===t||(e?wa(a)!==a:!1):!0)}var so=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,a;let{rects:i,middlewareData:c,placement:d,platform:s,elements:f}=e,{crossAxis:h=!1,alignment:p,allowedPlacements:m=ro,autoAlignment:g=!0,...y}=Xt(t,e),v=p!==void 0||m===ro?Xc(p||null,g,m):m,w=await co(e,y),E=((r=c.autoPlacement)==null?void 0:r.index)||0,C=v[E];if(C==null)return{};let x=Oa(C,i,await(s.isRTL==null?void 0:s.isRTL(f.floating)));if(d!==C)return{reset:{placement:v[0]}};let b=[w[Ve(C)],w[x[0]],w[x[1]]],S=[...((n=c.autoPlacement)==null?void 0:n.overflows)||[],{placement:C,overflows:b}],A=v[E+1];if(A)return{data:{index:E+1,overflows:S},reset:{placement:A}};let P=S.map(N=>{let R=ge(N.placement);return[N.placement,R&&h?N.overflows.slice(0,2).reduce((_,U)=>_+U,0):N.overflows[0],N.overflows]}).sort((N,R)=>N[1]-R[1]),L=((a=P.filter(N=>N[2].slice(0,ge(N[0])?2:3).every(R=>R<=0))[0])==null?void 0:a[0])||P[0][0];return L!==d?{data:{index:E+1,overflows:S},reset:{placement:L}}:{}}}};var lo=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:a}=e,{mainAxis:i=!0,crossAxis:c=!1,limiter:d={fn:w=>{let{x:E,y:C}=w;return{x:E,y:C}}},...s}=Xt(t,e),f={x:r,y:n},h=await co(e,s),p=Qt(Ve(a)),m=no(p),g=f[m],y=f[p];if(i){let w=m==="y"?"top":"left",E=m==="y"?"bottom":"right",C=g+h[w],x=g-h[E];g=oo(C,g,x)}if(c){let w=p==="y"?"top":"left",E=p==="y"?"bottom":"right",C=y+h[w],x=y-h[E];y=oo(C,y,x)}let v=d.fn({...e,[m]:g,[p]:y});return{...v,data:{x:v.x-r,y:v.y-n}}}}};function ie(t){return Ra(t)?(t.nodeName||"").toLowerCase():"#document"}function z(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function ce(t){var e;return(e=(Ra(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ra(t){return t instanceof Node||t instanceof z(t).Node}function J(t){return t instanceof Element||t instanceof z(t).Element}function Z(t){return t instanceof HTMLElement||t instanceof z(t).HTMLElement}function Aa(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof z(t).ShadowRoot}function Ze(t){let{overflow:e,overflowX:r,overflowY:n,display:a}=j(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(a)}function _a(t){return["table","td","th"].includes(ie(t))}function tr(t){let e=rr(),r=j(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(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function Pa(t){let e=ke(t);for(;Z(e)&&!xt(e);){if(tr(e))return e;e=ke(e)}return null}function rr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function xt(t){return["html","body","#document"].includes(ie(t))}function j(t){return z(t).getComputedStyle(t)}function vt(t){return J(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ke(t){if(ie(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Aa(t)&&t.host||ce(t);return Aa(e)?e.host:e}function La(t){let e=ke(t);return xt(e)?t.ownerDocument?t.ownerDocument.body:t.body:Z(e)&&Ze(e)?e:La(e)}function er(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let a=La(t),i=a===((n=t.ownerDocument)==null?void 0:n.body),c=z(a);return i?e.concat(c,c.visualViewport||[],Ze(a)?a:[],c.frameElement&&r?er(c.frameElement):[]):e.concat(a,er(a,[],r))}function $a(t){let e=j(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,a=Z(t),i=a?t.offsetWidth:r,c=a?t.offsetHeight:n,d=bt(r)!==i||bt(n)!==c;return d&&(r=i,n=c),{width:r,height:n,$:d}}function Ma(t){return J(t)?t:t.contextElement}function Fe(t){let e=Ma(t);if(!Z(e))return ae(1);let r=e.getBoundingClientRect(),{width:n,height:a,$:i}=$a(e),c=(i?bt(r.width):r.width)/n,d=(i?bt(r.height):r.height)/a;return(!c||!Number.isFinite(c))&&(c=1),(!d||!Number.isFinite(d))&&(d=1),{x:c,y:d}}var Qc=ae(0);function ka(t){let e=z(t);return!rr()||!e.visualViewport?Qc:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function es(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==z(t)?!1:e}function St(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let a=t.getBoundingClientRect(),i=Ma(t),c=ae(1);e&&(n?J(n)&&(c=Fe(n)):c=Fe(t));let d=es(i,r,n)?ka(i):ae(0),s=(a.left+d.x)/c.x,f=(a.top+d.y)/c.y,h=a.width/c.x,p=a.height/c.y;if(i){let m=z(i),g=n&&J(n)?z(n):n,y=m.frameElement;for(;y&&n&&g!==m;){let v=Fe(y),w=y.getBoundingClientRect(),E=j(y),C=w.left+(y.clientLeft+parseFloat(E.paddingLeft))*v.x,x=w.top+(y.clientTop+parseFloat(E.paddingTop))*v.y;s*=v.x,f*=v.y,h*=v.x,p*=v.y,s+=C,f+=x,y=z(y).frameElement}}return Me({width:h,height:p,x:s,y:f})}function ts(t){let{rect:e,offsetParent:r,strategy:n}=t,a=Z(r),i=ce(r);if(r===i)return e;let c={scrollLeft:0,scrollTop:0},d=ae(1),s=ae(0);if((a||!a&&n!=="fixed")&&((ie(r)!=="body"||Ze(i))&&(c=vt(r)),Z(r))){let f=St(r);d=Fe(r),s.x=f.x+r.clientLeft,s.y=f.y+r.clientTop}return{width:e.width*d.x,height:e.height*d.y,x:e.x*d.x-c.scrollLeft*d.x+s.x,y:e.y*d.y-c.scrollTop*d.y+s.y}}function rs(t){return Array.from(t.getClientRects())}function Ua(t){return St(ce(t)).left+vt(t).scrollLeft}function os(t){let e=ce(t),r=vt(t),n=t.ownerDocument.body,a=me(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=me(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),c=-r.scrollLeft+Ua(t),d=-r.scrollTop;return j(n).direction==="rtl"&&(c+=me(e.clientWidth,n.clientWidth)-a),{width:a,height:i,x:c,y:d}}function ns(t,e){let r=z(t),n=ce(t),a=r.visualViewport,i=n.clientWidth,c=n.clientHeight,d=0,s=0;if(a){i=a.width,c=a.height;let f=rr();(!f||f&&e==="fixed")&&(d=a.offsetLeft,s=a.offsetTop)}return{width:i,height:c,x:d,y:s}}function as(t,e){let r=St(t,!0,e==="fixed"),n=r.top+t.clientTop,a=r.left+t.clientLeft,i=Z(t)?Fe(t):ae(1),c=t.clientWidth*i.x,d=t.clientHeight*i.y,s=a*i.x,f=n*i.y;return{width:c,height:d,x:s,y:f}}function Ia(t,e,r){let n;if(e==="viewport")n=ns(t,r);else if(e==="document")n=os(ce(t));else if(J(e))n=as(e,r);else{let a=ka(t);n={...e,x:e.x-a.x,y:e.y-a.y}}return Me(n)}function Wa(t,e){let r=ke(t);return r===e||!J(r)||xt(r)?!1:j(r).position==="fixed"||Wa(r,e)}function is(t,e){let r=e.get(t);if(r)return r;let n=er(t,[],!1).filter(d=>J(d)&&ie(d)!=="body"),a=null,i=j(t).position==="fixed",c=i?ke(t):t;for(;J(c)&&!xt(c);){let d=j(c),s=tr(c);!s&&d.position==="fixed"&&(a=null),(i?!s&&!a:!s&&d.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||Ze(c)&&!s&&Wa(t,c))?n=n.filter(h=>h!==c):a=d,c=ke(c)}return e.set(t,n),n}function cs(t){let{element:e,boundary:r,rootBoundary:n,strategy:a}=t,c=[...r==="clippingAncestors"?is(e,this._c):[].concat(r),n],d=c[0],s=c.reduce((f,h)=>{let p=Ia(e,h,a);return f.top=me(p.top,f.top),f.right=yt(p.right,f.right),f.bottom=yt(p.bottom,f.bottom),f.left=me(p.left,f.left),f},Ia(e,d,a));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function ss(t){return $a(t)}function ls(t,e,r){let n=Z(e),a=ce(e),i=r==="fixed",c=St(t,!0,i,e),d={scrollLeft:0,scrollTop:0},s=ae(0);if(n||!n&&!i)if((ie(e)!=="body"||Ze(a))&&(d=vt(e)),n){let f=St(e,!0,i,e);s.x=f.x+e.clientLeft,s.y=f.y+e.clientTop}else a&&(s.x=Ua(a));return{x:c.left+d.scrollLeft-s.x,y:c.top+d.scrollTop-s.y,width:c.width,height:c.height}}function Ta(t,e){return!Z(t)||j(t).position==="fixed"?null:e?e(t):t.offsetParent}function Da(t,e){let r=z(t);if(!Z(t))return r;let n=Ta(t,e);for(;n&&_a(n)&&j(n).position==="static";)n=Ta(n,e);return n&&(ie(n)==="html"||ie(n)==="body"&&j(n).position==="static"&&!tr(n))?r:n||Pa(t)||r}var ds=async function(t){let{reference:e,floating:r,strategy:n}=t,a=this.getOffsetParent||Da,i=this.getDimensions;return{reference:ls(e,await a(r),n),floating:{x:0,y:0,...await i(r)}}};function fs(t){return j(t).direction==="rtl"}var or={convertOffsetParentRelativeRectToViewportRelativeRect:ts,getDocumentElement:ce,getClippingRect:cs,getOffsetParent:Da,getElementRects:ds,getClientRects:rs,getDimensions:ss,getScale:Fe,isElement:J,isRTL:fs};var Ba=(t,e,r)=>{let n=new Map,a={platform:or,...r},i={...a.platform,_c:n};return Na(t,e,{...a,platform:i})};function za(t){return us(t)}function fo(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function us(t){for(let e=t;e;e=fo(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=fo(t);e;e=fo(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 ps(t,e,r){return Ba(t,e,{platform:{...or,getOffsetParent:n=>or.getOffsetParent(n,za)},middleware:[lo({crossAxis:!0}),so({allowedPlacements:[r]})]})}var mo={};I(mo,{FtLitElement:()=>X});var po={};I(po,{ScopedRegistryLitElement:()=>Ot});var nr=window,hs=nr.ShadowRoot&&(nr.ShadyCSS===void 0||nr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,$p=Symbol();var Ha=(t,e)=>{hs?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),a=nr.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=r.cssText,t.appendChild(n)})};var Ot=class extends oe{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([a,i])=>e.registry.define(a,i)));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return Ha(n,e.elementStyles),n}};var ho=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var d=t.length-1;d>=0;d--)(c=t[d])&&(i=(a<3?c(i):a>3?c(e,r,i):c(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},Ga,ja=Symbol("constructorPrototype"),Ka=Symbol("constructorName"),Va=Symbol("exportpartsDebouncer"),X=class extends Ot{constructor(){super(),this.adoptedCustomStyleSheet=new CSSStyleSheet,this.useAdoptedStyleSheets=!0,this[Ga]=new gt(5),this[Ka]=this.constructor.name,this[ja]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ka]&&Object.setPrototypeOf(this,this[ja])}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,n,a;if(this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((r=this.customStylesheet)!==null&&r!==void 0?r:"")}catch(i){console.error(i,this.customStylesheet)}}else if(((a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&a!==void 0?a:[]).forEach(i=>i.remove()),this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}scheduleExportpartsUpdate(){var e,r,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[Va].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,n,a,i,c,d;let s=m=>m!=null&&m.trim().length>0,f=e.filter(s).map(m=>m.trim());if(f.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let m of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let g=(i=(a=m.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],y=(d=(c=m.getAttribute("exportparts"))===null||c===void 0?void 0:c.split(",").map(v=>v.split(":")[1]))!==null&&d!==void 0?d:[];new Array(...g,...y).filter(s).map(v=>v.trim()).forEach(v=>h.add(v))}if(h.size===0){this.removeAttribute("exportparts");return}let p=[...h.values()].flatMap(m=>f.map(g=>`${m}:${g}--${m}`));this.setAttribute("exportparts",[...this.part,...p].join(", "))}};Ga=Va;ho([B()],X.prototype,"exportpartsPrefix",void 0);ho([Zr([])],X.prototype,"exportpartsPrefixes",void 0);ho([B()],X.prototype,"customStylesheet",void 0);var Za={};var bo={};I(bo,{highlightHtml:()=>ys,highlightHtmlColorCssVariable:()=>Fa,highlightHtmlStyles:()=>gs});var Ue=class t{constructor(e,r=!0,n=[],a=5e3){this.ctx=e,this.iframes=r,this.exclude=n,this.iframesTimeout=a}static matches(e,r){let n=typeof r=="string"?[r]:r,a=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(a){let i=!1;return n.every(c=>a.call(e,c)?(i=!0,!1):!0),i}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(n=>{let a=r.filter(i=>i.contains(n)).length>0;r.indexOf(n)===-1&&!a&&r.push(n)}),r}getIframeContents(e,r,n=()=>{}){let a;try{let i=e.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{n()}a&&r(a)}isIframeBlank(e){let r="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(e,r,n){let a=!1,i=null,c=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(e)||(e.removeEventListener("load",c),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",c),i=setTimeout(c,this.iframesTimeout)}onIframeReady(e,r,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,n):this.getIframeContents(e,r,n):this.observeIframeLoad(e,r,n)}catch{n()}}waitForIframes(e,r){let n=0;this.forEachIframe(e,()=>!0,a=>{n++,this.waitForIframes(a.querySelector("html"),()=>{--n||r()})},a=>{a||r()})}forEachIframe(e,r,n,a=()=>{}){let i=e.querySelectorAll("iframe"),c=i.length,d=0;i=Array.prototype.slice.call(i);let s=()=>{--c<=0&&a(d)};c||s(),i.forEach(f=>{t.matches(f,this.exclude)?s():this.onIframeReady(f,h=>{r(f)&&(d++,n(h)),s()},s)})}createIterator(e,r,n){return document.createNodeIterator(e,r,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,n){let a=e.compareDocumentPosition(n),i=Node.DOCUMENT_POSITION_PRECEDING;if(a&i)if(r!==null){let c=r.compareDocumentPosition(n),d=Node.DOCUMENT_POSITION_FOLLOWING;if(c&d)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),n;return r===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:r,node:n}}checkIframeFilter(e,r,n,a){let i=!1,c=!1;return a.forEach((d,s)=>{d.val===n&&(i=s,c=d.handled)}),this.compareNodeIframe(e,r,n)?(i===!1&&!c?a.push({val:n,handled:!0}):i!==!1&&!c&&(a[i].handled=!0),!0):(i===!1&&a.push({val:n,handled:!1}),!1)}handleOpenIframes(e,r,n,a){e.forEach(i=>{i.handled||this.getIframeContents(i.val,c=>{this.createInstanceOnIframe(c).forEachNode(r,n,a)})})}iterateThroughNodes(e,r,n,a,i){let c=this.createIterator(r,e,a),d=[],s=[],f,h,p=()=>({prevNode:h,node:f}=this.getIteratorNode(c),f);for(;p();)this.iframes&&this.forEachIframe(r,m=>this.checkIframeFilter(f,h,m,d),m=>{this.createInstanceOnIframe(m).forEachNode(e,g=>s.push(g),a)}),s.push(f);s.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(d,e,n,a),i()}forEachNode(e,r,n,a=()=>{}){let i=this.getContexts(),c=i.length;c||a(),i.forEach(d=>{let s=()=>{this.iterateThroughNodes(e,d,r,n,()=>{--c<=0&&a()})};this.iframes?this.waitForIframes(d,s):s()})}};var wt=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 Ue(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[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,n=this.opt.caseSensitive?"":"i",a=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in r)if(r.hasOwnProperty(i)){let c=r[i],d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i),s=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(c):this.escapeStr(c);d!==""&&s!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(d)}|${this.escapeStr(s)})`,`gm${n}`),a+`(${this.processSynomyms(d)}|${this.processSynomyms(s)})`+a))}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,n,a)=>{let i=a.charAt(n+1);return/[(|)\\]/.test(i)||i===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.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",n=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"],a=[];return e.split("").forEach(i=>{n.every(c=>{if(c.indexOf(i)!==-1){if(a.indexOf(c)>-1)return!1;e=e.replace(new RegExp(`[${c}]`,`gm${r}`),`[${c}]`),a.push(c)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,a=typeof n=="string"?n:n.value,i=typeof n=="string"?[]:n.limiters,c="";switch(i.forEach(d=>{c+=`|${this.escapeStr(d)}`}),a){case"partially":default:return`()(${e})`;case"complementary":return c="\\s"+(c||this.escapeStr(r)),`()([^${c}]*${e}[^${c}]*)`;case"exactly":return`(^|\\s${c})(${e})(?=$|\\s${c})`}}getSeparatedKeywords(e){let r=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(a=>{a.trim()&&r.indexOf(a)===-1&&r.push(a)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,a)=>a.length-n.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=[],n=0;return e.sort((a,i)=>a.start-i.start).forEach(a=>{let{start:i,end:c,valid:d}=this.callNoMatchOnInvalidRanges(a,n);d&&(a.start=i,a.length=c-i,r.push(a),n=c)}),r}callNoMatchOnInvalidRanges(e,r){let n,a,i=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),a=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&a-r>0&&a-n>0?i=!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:n,end:a,valid:i}}checkWhitespaceRanges(e,r,n){let a,i=!0,c=n.length,d=r-c,s=parseInt(e.start,10)-d;return s=s>c?c:s,a=s+parseInt(e.length,10),a>c&&(a=c,this.log(`End range automatically set to the max value of ${c}`)),s<0||a-s<0||s>c||a>c?(i=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(s,a).replace(/\s+/g,"")===""&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:s,end:a,valid:i}}getTextNodes(e){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,a=>{n.push({start:r.length,end:(r+=a.textContent).length,node:a})},a=>this.matchesExclude(a.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:n})})}matchesExclude(e){return Ue.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,n){let a=this.opt.element?this.opt.element:"mark",i=e.splitText(r),c=i.splitText(n-r),d=document.createElement(a);return d.setAttribute("data-markjs","true"),this.opt.className&&d.setAttribute("class",this.opt.className),d.textContent=i.textContent,i.parentNode.replaceChild(d,i),c}wrapRangeInMappedTextNode(e,r,n,a,i){e.nodes.every((c,d)=>{let s=e.nodes[d+1];if(typeof s>"u"||s.start>r){if(!a(c.node))return!1;let f=r-c.start,h=(n>c.end?c.end:n)-c.start,p=e.value.substr(0,c.start),m=e.value.substr(h+c.start);if(c.node=this.wrapRangeInTextNode(c.node,f,h),e.value=p+m,e.nodes.forEach((g,y)=>{y>=d&&(e.nodes[y].start>0&&y!==d&&(e.nodes[y].start-=h),e.nodes[y].end-=h)}),n-=h,i(c.node.previousSibling,c.start),n>c.end)r=c.end;else return!1}return!0})}wrapMatches(e,r,n,a,i){let c=r===0?0:r+1;this.getTextNodes(d=>{d.nodes.forEach(s=>{s=s.node;let f;for(;(f=e.exec(s.textContent))!==null&&f[c]!=="";){if(!n(f[c],s))continue;let h=f.index;if(c!==0)for(let p=1;p<c;p++)h+=f[p].length;s=this.wrapRangeInTextNode(s,h,h+f[c].length),a(s.previousSibling),e.lastIndex=0}}),i()})}wrapMatchesAcrossElements(e,r,n,a,i){let c=r===0?0:r+1;this.getTextNodes(d=>{let s;for(;(s=e.exec(d.value))!==null&&s[c]!=="";){let f=s.index;if(c!==0)for(let p=1;p<c;p++)f+=s[p].length;let h=f+s[c].length;this.wrapRangeInMappedTextNode(d,f,h,p=>n(s[c],p),(p,m)=>{e.lastIndex=m,a(p)})}i()})}wrapRangeFromIndex(e,r,n,a){this.getTextNodes(i=>{let c=i.value.length;e.forEach((d,s)=>{let{start:f,end:h,valid:p}=this.checkWhitespaceRanges(d,c,i.value);p&&this.wrapRangeInMappedTextNode(i,f,h,m=>r(m,d,i.value.substring(f,h),s),m=>{n(m,d)})}),a()})}unwrapMatches(e){let r=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));r.replaceChild(n,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 n=0,a="wrapMatches",i=c=>{n++,this.opt.each(c)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](e,this.opt.ignoreGroups,(c,d)=>this.opt.filter(d,c,n),i,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,r){this.opt=r;let n=0,a="wrapMatches",{keywords:i,length:c}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),d=this.opt.caseSensitive?"":"i",s=f=>{let h=new RegExp(this.createRegExp(f),`gm${d}`),p=0;this.log(`Searching with expression "${h}"`),this[a](h,1,(m,g)=>this.opt.filter(g,f,n,p),m=>{p++,n++,this.opt.each(m)},()=>{p===0&&this.opt.noMatch(f),i[c-1]===f?this.opt.done(n):s(i[i.indexOf(f)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),c===0?this.opt.done(n):s(i[0])}markRanges(e,r){this.opt=r;let n=0,a=this.checkRanges(e);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,(i,c,d,s)=>this.opt.filter(i,c,d,s),(i,c)=>{n++,this.opt.each(i,c)},()=>{this.opt.done(n)})):this.opt.done(n)}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,n=>{this.unwrapMatches(n)},n=>{let a=Ue.matches(n,r),i=this.matchesExclude(n);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function go(t){let e=new wt(t);return this.mark=(r,n)=>(e.mark(r,n),this),this.markRegExp=(r,n)=>(e.markRegExp(r,n),this),this.markRanges=(r,n)=>(e.markRanges(r,n),this),this.unmark=r=>(e.unmark(r),this),this}var ms=go,Fa=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),gs=k`
5
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Rn=/'/g,_n=/"/g,Tn=/^(?:script|style|textarea|title)$/i,$n=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),Ar=$n(1),qi=$n(2),de=Symbol.for("lit-noChange"),$=Symbol.for("lit-nothing"),Pn=new WeakMap,Le=Ie.createTreeWalker(Ie,129);function Mn(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Cn!==void 0?Cn.createHTML(e):e}var kn=(t,e)=>{let o=t.length-1,n=[],a,i=e===2?"<svg>":"",c=ft;for(let d=0;d<o;d++){let s=t[d],f,h,p=-1,m=0;for(;m<s.length&&(c.lastIndex=m,h=c.exec(s),h!==null);)m=c.lastIndex,c===ft?h[1]==="!--"?c=Nn:h[1]!==void 0?c=An:h[2]!==void 0?(Tn.test(h[2])&&(a=RegExp("</"+h[2],"g")),c=Pe):h[3]!==void 0&&(c=Pe):c===Pe?h[0]===">"?(c=a??ft,p=-1):h[1]===void 0?p=-2:(p=c.lastIndex-h[2].length,f=h[1],c=h[3]===void 0?Pe:h[3]==='"'?_n:Rn):c===_n||c===Rn?c=Pe:c===Nn||c===An?c=ft:(c=Pe,a=void 0);let g=c===Pe&&t[d+1].startsWith("/>")?" ":"";i+=c===ft?s+Fi:p>=0?(n.push(f),s.slice(0,p)+Cr+s.slice(p)+re+g):s+re+(p===-2?d:g)}return[Mn(t,i+(t[o]||"<?>")+(e===2?"</svg>":"")),n]},ht=class t{constructor({strings:e,_$litType$:o},n){let a;this.parts=[];let i=0,c=0,d=e.length-1,s=this.parts,[f,h]=kn(e,o);if(this.el=t.createElement(f,n),Le.currentNode=this.el.content,o===2){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(a=Le.nextNode())!==null&&s.length<d;){if(a.nodeType===1){if(a.hasAttributes())for(let p of a.getAttributeNames())if(p.endsWith(Cr)){let m=h[c++],g=a.getAttribute(p).split(re),y=/([.?@])?(.*)/.exec(m);s.push({type:1,index:i,name:y[2],strings:g,ctor:y[1]==="."?Zt:y[1]==="?"?Ft:y[1]==="@"?qt:$e}),a.removeAttribute(p)}else p.startsWith(re)&&(s.push({type:6,index:i}),a.removeAttribute(p));if(Tn.test(a.tagName)){let p=a.textContent.split(re),m=p.length-1;if(m>0){a.textContent=Gt?Gt.emptyScript:"";for(let g=0;g<m;g++)a.append(p[g],ut()),Le.nextNode(),s.push({type:2,index:++i});a.append(p[m],ut())}}}else if(a.nodeType===8)if(a.data===Nr)s.push({type:2,index:i});else{let p=-1;for(;(p=a.data.indexOf(re,p+1))!==-1;)s.push({type:7,index:i}),p+=re.length-1}i++}}static createElement(e,o){let n=Ie.createElement("template");return n.innerHTML=e,n}};function Te(t,e,o=t,n){if(e===de)return e;let a=n!==void 0?o._$Co?.[n]:o._$Cl,i=pt(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(t),a._$AT(t,o,n)),n!==void 0?(o._$Co??=[])[n]=a:o._$Cl=a),a!==void 0&&(e=Te(t,a._$AS(t,e.values),a,n)),e}var Vt=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:n}=this._$AD,a=(e?.creationScope??Ie).importNode(o,!0);Le.currentNode=a;let i=Le.nextNode(),c=0,d=0,s=n[0];for(;s!==void 0;){if(c===s.index){let f;s.type===2?f=new He(i,i.nextSibling,this,e):s.type===1?f=new s.ctor(i,s.name,s.strings,this,e):s.type===6&&(f=new Yt(i,this,e)),this._$AV.push(f),s=n[++d]}c!==s?.index&&(i=Le.nextNode(),c++)}return Le.currentNode=Ie,a}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},He=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,a){this.type=2,this._$AH=$,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=Te(this,e,o),pt(e)?e===$||e==null||e===""?(this._$AH!==$&&this._$AR(),this._$AH=$):e!==this._$AH&&e!==de&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):In(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!==$&&pt(this._$AH)?this._$AA.nextSibling.data=e:this.$(Ie.createTextNode(e)),this._$AH=e}g(e){let{values:o,_$litType$:n}=e,a=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=ht.createElement(Mn(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let i=new Vt(a,this),c=i.u(this.options);i.p(o),this.$(c),this._$AH=i}}_$AC(e){let o=Pn.get(e.strings);return o===void 0&&Pn.set(e.strings,o=new ht(e)),o}T(e){Ln(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let i of e)a===o.length?o.push(n=new t(this.k(ut()),this.k(ut()),this,this.options)):n=o[a],n._$AI(i),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},$e=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,a,i){this.type=1,this._$AH=$,this._$AN=void 0,this.element=e,this.name=o,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=$}_$AI(e,o=this,n,a){let i=this.strings,c=!1;if(i===void 0)e=Te(this,e,o,0),c=!pt(e)||e!==this._$AH&&e!==de,c&&(this._$AH=e);else{let d=e,s,f;for(e=i[0],s=0;s<i.length-1;s++)f=Te(this,d[n+s],o,s),f===de&&(f=this._$AH[s]),c||=!pt(f)||f!==this._$AH[s],f===$?e=$:e!==$&&(e+=(f??"")+i[s+1]),this._$AH[s]=f}c&&!a&&this.O(e)}O(e){e===$?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Zt=class extends $e{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===$?void 0:e}},Ft=class extends $e{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==$)}},qt=class extends $e{constructor(e,o,n,a,i){super(e,o,n,a,i),this.type=5}_$AI(e,o=this){if((e=Te(this,e,o,0)??$)===de)return;let n=this._$AH,a=e===$&&n!==$||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==$&&(n===$||a);a&&this.element.removeEventListener(this.name,this,n),i&&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)}},Yt=class{constructor(e,o,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Te(this,e)}},Yi={j:Cr,P:re,A:Nr,C:1,M:kn,L:Vt,R:In,V:Te,D:He,I:$e,H:Ft,N:qt,U:Zt,B:Yt},Ji=Er.litHtmlPolyfillSupport;Ji?.(ht,He),(Er.litHtmlVersions??=[]).push("3.1.0");var Rr=(t,e,o)=>{let n=o?.renderBefore??e,a=n._$litPart$;if(a===void 0){let i=o?.renderBefore??null;n._$litPart$=a=new He(e.insertBefore(ut(),i),i,void 0,o??{})}return a._$AI(t),a};var oe=class extends q{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 o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Rr(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return de}};oe._$litElement$=!0,oe.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:oe});var Xi=globalThis.litElementPolyfillSupport;Xi?.({LitElement:oe});var Qi={_$AK:(t,e,o)=>{t._$AK(e,o)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var kl=!1;var Ir={};I(Ir,{customElement:()=>ec,eventOptions:()=>rc,property:()=>B,query:()=>Lr,queryAll:()=>nc,queryAssignedElements:()=>ic,queryAssignedNodes:()=>cc,queryAsync:()=>ac,standardProperty:()=>Un,state:()=>Pr});var ec=t=>(e,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var tc={attribute:!0,type:String,converter:rt,reflect:!1,hasChanged:Tt},Un=(t=tc,e,o)=>{let{kind:n,metadata:a}=o,i=globalThis.litPropertyMetadata.get(a);if(i===void 0&&globalThis.litPropertyMetadata.set(a,i=new Map),i.set(o.name,t),n==="accessor"){let{name:c}=o;return{set(d){let s=e.get.call(this);e.set.call(this,d),this.requestUpdate(c,s,t)},init(d){return d!==void 0&&this.C(c,void 0,t),d}}}if(n==="setter"){let{name:c}=o;return function(d){let s=this[c];e.call(this,d),this.requestUpdate(c,s,t)}}throw Error("Unsupported decorator location: "+n)};function B(t){return(e,o)=>typeof o=="object"?Un(t,e,o):((n,a,i)=>{let c=a.hasOwnProperty(i);return a.constructor.createProperty(i,c?{...n,wrapped:!0}:n),c?Object.getOwnPropertyDescriptor(a,i):void 0})(t,e,o)}function Pr(t){return B({...t,state:!0,attribute:!1})}function rc(t){return(e,o)=>{let n=typeof e=="function"?e:e[o];Object.assign(n,t)}}var V=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,o),o);function Lr(t,e){return(o,n,a)=>{let i=c=>c.renderRoot?.querySelector(t)??null;if(e){let{get:c,set:d}=typeof n=="object"?o:a??(()=>{let s=Symbol();return{get(){return this[s]},set(f){this[s]=f}}})();return V(o,n,{get(){let s=c.call(this);return s===void 0&&(s=i(this),(s!==null||this.hasUpdated)&&d.call(this,s)),s}})}return V(o,n,{get(){return i(this)}})}}var oc;function nc(t){return(e,o)=>V(e,o,{get(){return(this.renderRoot??(oc??=document.createDocumentFragment())).querySelectorAll(t)}})}function ac(t){return(e,o)=>V(e,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function ic(t){return(e,o)=>{let{slot:n,selector:a}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return V(e,o,{get(){let c=this.renderRoot?.querySelector(i),d=c?.assignedElements(t)??[];return a===void 0?d:d.filter(s=>s.matches(a))}})}}function cc(t){return(e,o)=>{let{slot:n}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return V(e,o,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(t)??[]}})}}var Tr={};I(Tr,{repeat:()=>dc});var fe={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ue=t=>(...e)=>({_$litDirective$:t,values:e}),Y=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,o,n){this._$Ct=e,this._$AM=o,this._$Ci=n}_$AS(e,o){return this.update(e,o)}update(e,o){return this.render(...o)}};var{D:sc}=Sn;var Wn=()=>document.createComment(""),je=(t,e,o)=>{let n=t._$AA.parentNode,a=e===void 0?t._$AB:e._$AA;if(o===void 0){let i=n.insertBefore(Wn(),a),c=n.insertBefore(Wn(),a);o=new sc(i,c,t,t.options)}else{let i=o._$AB.nextSibling,c=o._$AM,d=c!==t;if(d){let s;o._$AQ?.(t),o._$AM=t,o._$AP!==void 0&&(s=t._$AU)!==c._$AU&&o._$AP(s)}if(i!==a||d){let s=o._$AA;for(;s!==i;){let f=s.nextSibling;n.insertBefore(s,a),s=f}}}return o},pe=(t,e,o=t)=>(t._$AI(e,o),t),lc={},Dn=(t,e=lc)=>t._$AH=e,Bn=t=>t._$AH,Jt=t=>{t._$AP?.(!1,!0);let e=t._$AA,o=t._$AB.nextSibling;for(;e!==o;){let n=e.nextSibling;e.remove(),e=n}};var zn=(t,e,o)=>{let n=new Map;for(let a=e;a<=o;a++)n.set(t[a],a);return n},dc=ue(class extends Y{constructor(t){if(super(t),t.type!==fe.CHILD)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let n;o===void 0?o=e:e!==void 0&&(n=e);let a=[],i=[],c=0;for(let d of t)a[c]=n?n(d,c):c,i[c]=o(d,c),c++;return{values:i,keys:a}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,n]){let a=Bn(t),{values:i,keys:c}=this.ht(e,o,n);if(!Array.isArray(a))return this.dt=c,i;let d=this.dt??=[],s=[],f,h,p=0,m=a.length-1,g=0,y=i.length-1;for(;p<=m&&g<=y;)if(a[p]===null)p++;else if(a[m]===null)m--;else if(d[p]===c[g])s[g]=pe(a[p],i[g]),p++,g++;else if(d[m]===c[y])s[y]=pe(a[m],i[y]),m--,y--;else if(d[p]===c[y])s[y]=pe(a[p],i[y]),je(t,s[y+1],a[p]),p++,y--;else if(d[m]===c[g])s[g]=pe(a[m],i[g]),je(t,a[p],a[m]),m--,g++;else if(f===void 0&&(f=zn(c,g,y),h=zn(d,p,m)),f.has(d[p]))if(f.has(d[m])){let v=h.get(c[g]),w=v!==void 0?a[v]:null;if(w===null){let E=je(t,a[p]);pe(E,i[g]),s[g]=E}else s[g]=pe(w,i[g]),je(t,a[p],w),a[v]=null;g++}else Jt(a[m]),m--;else Jt(a[p]),p++;for(;g<=y;){let v=je(t,s[y+1]);pe(v,i[g]),s[g++]=v}for(;p<=m;){let v=a[p++];v!==null&&Jt(v)}return this.dt=c,Dn(t,s),H}});var $r={};I($r,{classMap:()=>fc});var fc=ue(class extends Y{constructor(t){if(super(t),t.type!==fe.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(n=>n!=="")));for(let n in e)e[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(e)}let o=t.element.classList;for(let n of this.it)n in e||(o.remove(n),this.it.delete(n));for(let n in e){let a=!!e[n];a===this.it.has(n)||this.st?.has(n)||(a?(o.add(n),this.it.add(n)):(o.remove(n),this.it.delete(n)))}return H}});var Mr={};I(Mr,{styleMap:()=>pc});var Hn="important",uc=" !"+Hn,pc=ue(class extends Y{constructor(t){if(super(t),t.type!==fe.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,o)=>{let n=t[o];return n==null?e:e+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:o}=t.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let n of this.ut)e[n]==null&&(this.ut.delete(n),n.includes("-")?o.removeProperty(n):o[n]=null);for(let n in e){let a=e[n];if(a!=null){this.ut.add(n);let i=typeof a=="string"&&a.endsWith(uc);n.includes("-")||i?o.setProperty(n,i?a.slice(0,-11):a,i?Hn:""):o[n]=a}}return H}});var Ur={};I(Ur,{UnsafeHTMLDirective:()=>Ke,unsafeHTML:()=>kr});var Ke=class extends Y{constructor(e){if(super(e),this.et=M,e.type!==fe.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===M||e==null)return this.vt=void 0,this.et=e;if(e===H)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 o=[e];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};Ke.directiveName="unsafeHTML",Ke.resultType=1;var kr=ue(Ke);var zr={};I(zr,{CacheRegistry:()=>Br});var Dr={};I(Dr,{CancelablePromise:()=>Ge,CanceledPromiseError:()=>mt,cancelable:()=>Wr});var mt=class extends Error{constructor(e,o,n){super(e),this.canceledPromiseResult=o,this.canceledPromiseError=n}},Ge=class extends Promise{constructor(e){super((o,n)=>e(a=>{this.isCanceled?n(new mt("Promise has been canceled",a)):o(a)},a=>{this.isCanceled?n(new mt("Promise has been canceled",void 0,a)):n(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Wr=t=>new Ge((e,o)=>t.then(e).catch(o));var Br=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,o){this.loaders[e]=o,this.finalContent.delete(e)}registerFinal(e,o){this.loaders[e]=o,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 Ge&&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,o){this.forceClear(e),this.register(e,async()=>o),this.content[e]=o}setFinal(e,o){this.forceClear(e),this.registerFinal(e,async()=>o),this.content[e]=o}async get(e,o,n){if(this.content[e]===void 0){if(o=o??this.loaders[e],o==null)throw new Error("Unknown cache key "+e);let a=Wr(o());return this.content[e]=a,a.then(i=>(this.content[e]=i,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),i))}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 jr={};I(jr,{ClusteringHelper:()=>Hr});var Hr=class t{constructor(e,o,n,a){this.allResults=e,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=a}static extractResultMetadata(e,o){var n,a;let i=((a=(n=e?.map)!==null&&n!==void 0?n:e?.document)!==null&&a!==void 0?a:e?.topic).metadata;return o==null?t.flattenMetadata(i):t.flattenMetadata(i.find(c=>c.key===o))}static flattenMetadata(e){if(Array.isArray(e))return e.map(n=>t.flattenMetadata(n)).filter(n=>n!=null);let o=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!o))if(o){let n=[],a=[];return e.hierarchicalValues.forEach(i=>{n.push(i.join(" > ")),i.length>2?a.push(`... > ${i[i.length-1]}`):a.push(i.join(" > "))}),{key:e.key,label:e.label,value:n.join(", "),displayValue:a.join(", ")}}else{let n=e.values.join(", ");return{key:e.key,label:e.label,value:n,displayValue:n}}}computeClustersItemsForMetadata(e,o,n="No value"){var a,i;let c=t.extractResultMetadata(this.selectedResult,e),d=(a=c?.label)!==null&&a!==void 0?a:(i=this.getMetadataDescriptor(e))===null||i===void 0?void 0:i.label;return this.allResults.map(f=>t.extractResultMetadata(f,e)).map(f=>f??{key:e,label:d,value:void 0,displayValue:n}).filter(f=>f.value!=c?.value).filter((f,h,p)=>p.findIndex(m=>m.value===f.value)===h).map(f=>({result:this.findBestResultForMetadataValue(e,f.value),metadata:f})).sort((f,h)=>this.compareMetadata(f.metadata.value,h.metadata.value,e,o))}compareMetadata(e,o,n,a){if(e==null)return-1;if(o==null)return 1;let i=this.getMetadataDescriptor(n),c=i?.sortRule||"NONE",d=i?.reverseSort||!1;if(c=="ALPHABET"||c=="VERSION"){let s=e.localeCompare(o,a,{numeric:!0});return d?s*-1:s}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(o=>e==o.key)}findBestResultForMetadataValue(e,o){let n=this.allResults.filter(s=>{var f;return((f=t.extractResultMetadata(s,e))===null||f===void 0?void 0:f.value)==o}),i=[...t.extractResultMetadata(this.selectedResult).filter(s=>this.clusteringMetadata.has(s.key)).filter(s=>s.key!==e)],c,d=-1;for(let s of n){let f=this.countMatchingMetadata(s,i);if(f>d&&(d=f,c=s,f===i.length))break}return c}countMatchingMetadata(e,o){return t.extractResultMetadata(e).filter(n=>o.some(a=>a.key===n.key&&a.value===n.value)).length}};var Kr={};I(Kr,{Debouncer:()=>gt});var gt=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,o){return this.callbacks=[e],this.debounce(o)}queue(e,o){return this.callbacks.push(e),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,o;let n=[...this.callbacks];this.callbacks=[];let a=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,i=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let c of n)try{await c()}catch(d){a(d);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Fr={};I(Fr,{customElement:()=>Vr,isNumber:()=>Zn,jsonProperty:()=>Zr,optionalNumberProperty:()=>vc});var Gr={};I(Gr,{dateReviver:()=>mc,deepEqual:()=>he,delay:()=>jn,eventPathContainsMatchingElement:()=>yc,flatDeep:()=>Gn,last:()=>xc,minmax:()=>bc,parseDate:()=>Vn,waitFor:()=>Kn,waitUntil:()=>hc});var jn=t=>new Promise(e=>setTimeout(e,t));async function hc(t,e=10,o=2e4){await Kn(async()=>await t()||void 0,e,o)}async function Kn(t,e=10,o=2e4){let n=await t(),a,i;for(a=i=performance.now();n==null&&(!o||i-a<o);)await jn(e),n=await t(),i=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Gn(t,e){return t.flatMap(o=>[o,...Gn(e(o),e)])}function mc(...t){return function(e,o){return t.includes(e)?Vn(o):o}}function Vn(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,o,n,a)=>o+n+":"+a),new Date(t)}function gc(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var o,n,a;if(Array.isArray(t)){if(o=t.length,o!=e.length)return!1;for(n=o;n--!==0;)if(!he(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!he(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[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(a=Object.keys(t),o=a.length,o!==Object.keys(e).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[n]))return!1;for(n=o;n--!==0;){var i=a[n];if(!he(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function he(t,e){try{return gc(t,e)}catch{return!1}}function yc(t,e,o=window.document.body){if(e.length>0){let n=t.composedPath();for(let a of n){if(a===o)return!1;if(a.matches&&e.some(i=>a.matches(i)))return!0}}return!1}function bc(t,e,o){return Math.min(Math.max(t,e),o)}function xc(t){return t[t.length-1]}var Vr=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function Zr(t,e){let o=()=>JSON.parse(JSON.stringify(t));return B({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:(n,a)=>!he(n,a),...e??{}})}function vc(t){return B({type:Object,converter:{fromAttribute:e=>{if(e!=null)return Zn(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function Zn(t){return!isNaN(parseFloat(t))}var Yr={};I(Yr,{designSystemVariables:()=>qc});var qr={};I(qr,{FtCssVariableFactory:()=>r,badge:()=>Ac,banner:()=>Nc,breadcrumb:()=>Rc,button:()=>Ec,chart:()=>zc,checkbox:()=>Kc,chip:()=>Hc,collapsible:()=>Dc,comboboxMultiSelect:()=>kc,comboboxSingleSelect:()=>Mc,drawer:()=>Lc,floatingMenu:()=>$c,foundation:()=>l,link:()=>Cc,modal:()=>Pc,notice:()=>jc,notification:()=>Zc,pageHeader:()=>_c,popover:()=>Uc,radio:()=>Vc,semantic:()=>u,setVariable:()=>Sc,switch_:()=>Bc,tabs:()=>Wc,textArea:()=>Tc,textInput:()=>Ic,toggle:()=>Gc,tooltip:()=>Fc,typographies:()=>Oc,typographyBody1Medium:()=>Qn,typographyBody1Regular:()=>Xn,typographyBody1Semibold:()=>ea,typographyBody2Medium:()=>ra,typographyBody2MediumUnderline:()=>oa,typographyBody2Regular:()=>ta,typographyBody2Semibold:()=>na,typographyCaption1Bold:()=>pa,typographyCaption1Medium:()=>fa,typographyCaption1Semibold:()=>ua,typographyCaption2Bold:()=>ga,typographyCaption2Medium:()=>ha,typographyCaption2Semibold:()=>ma,typographyCaption3Bold:()=>xa,typographyCaption3Medium:()=>ya,typographyCaption3Semibold:()=>ba,typographyDisplay:()=>Fn,typographyLabel1Bold:()=>ca,typographyLabel1Medium:()=>aa,typographyLabel1Semibold:()=>ia,typographyLabel2Bold:()=>da,typographyLabel2Medium:()=>sa,typographyLabel2Semibold:()=>la,typographyTitle1:()=>qn,typographyTitle2:()=>Yn,typographyTitle3:()=>Jn,typographyVariants:()=>wc});var ne=t=>typeof t=="string"?st(t):t,r=class{static create(e,o,n,a){let i=d=>ne(d??a),c=k`var(${ne(e)}, ${i(a)})`;return c.name=e,c.description=o,c.category=n,c.defaultValue=a,c.defaultCssValue=i,c.get=d=>k`var(${ne(e)}, ${i(d)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>a,c}static extend(e,o,n,a){let i=d=>n.get(d??a),c=k`var(${ne(e)}, ${i(a)})`;return c.name=e,c.description=o,c.category=n.category,c.fallbackVariable=n,c.defaultValue=a,c.defaultCssValue=i,c.get=d=>k`var(${ne(e)}, ${i(d)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),c}static external(e,o){let n=i=>e.fallbackVariable?e.fallbackVariable.get(i??e.defaultValue):ne(i??e.lastResortDefaultValue()),a=k`var(${ne(e.name)}, ${n(e.defaultValue)})`;return a.name=e.name,a.category=e.category,a.fallbackVariable=e.fallbackVariable,a.defaultValue=e.defaultValue,a.context=o,a.defaultCssValue=n,a.get=i=>k`var(${ne(e.name)}, ${n(i)})`,a.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>e.lastResortDefaultValue(),a}};function Sc(t,e){return ne(`${t.name}: ${e}`)}var l={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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)")},Fn={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},qn={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Yn={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Jn={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Xn={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Qn={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},ea={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},ta={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},ra={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},oa={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},na={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},aa={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},ia={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},ca={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},sa={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},la={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},da={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},fa={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},ua={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},pa={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},ha={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},ma={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},ga={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},ya={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},ba={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},xa={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Oc={display:Fn,"title-1":qn,"title-2":Yn,"title-3":Jn,"body-1-regular":Xn,"body-1-medium":Qn,"body-1-semibold":ea,"body-2-regular":ta,"body-2-medium":ra,"body-2-medium-underline":oa,"body-2-semibold":na,"label-1-medium":aa,"label-1-semibold":ia,"label-1-bold":ca,"label-2-medium":sa,"label-2-semibold":la,"label-2-bold":da,"caption-1-medium":fa,"caption-1-semibold":ua,"caption-1-bold":pa,"caption-2-medium":ha,"caption-2-semibold":ma,"caption-2-bold":ga,"caption-3-medium":ya,"caption-3-semibold":ba,"caption-3-bold":xa},wc=["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:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
6
+ Also for action icons.`,l.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80)};var Ec={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:r.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:r.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",l.spacing3),smallGap:r.extend("--ft-button-small-gap","",l.spacing2),smallBorderRadius:r.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",l.iconSize2),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:r.extend("--ft-button-primary-background-color","",u.backgroundActionPrimary),primaryColor:r.extend("--ft-button-primary-color","",u.contentGlobalOnColor),primaryIconColor:r.extend("--ft-button-primary-icon-color","",u.contentGlobalOnColor),primaryStateLayerColor:r.extend("--ft-button-primary-state-layer-color","",u.contentGlobalOnColor),primaryHoverStateLayerOpacity:r.extend("--ft-button-primary-hover-state-layer-opacity","",l.opacity16),primaryFocusStateLayerOpacity:r.extend("--ft-button-primary-focus-state-layer-opacity","",l.opacity16),primaryActiveStateLayerOpacity:r.extend("--ft-button-primary-active-state-layer-opacity","",l.opacity24),primaryDisabledComponentOpacity:r.extend("--ft-button-primary-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBackgroundColor:r.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:r.extend("--ft-button-tertiary-color","",u.contentActionPrimary),tertiaryIconColor:r.extend("--ft-button-tertiary-icon-color","",u.contentActionPrimary),tertiaryStateLayerColor:r.extend("--ft-button-tertiary-state-layer-color","",u.contentActionPrimary),tertiaryHoverStateLayerOpacity:r.extend("--ft-button-tertiary-hover-state-layer-opacity","",l.opacity8),tertiaryFocusStateLayerOpacity:r.extend("--ft-button-tertiary-focus-state-layer-opacity","",l.opacity8),tertiaryActiveStateLayerOpacity:r.extend("--ft-button-tertiary-active-state-layer-opacity","",l.opacity16),tertiaryDisabledComponentOpacity:r.extend("--ft-button-tertiary-disabled-component-opacity","",l.opacity40),secondaryBackgroundColor:r.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:r.extend("--ft-button-secondary-color","",u.contentActionPrimary),secondaryIconColor:r.extend("--ft-button-secondary-icon-color","",u.contentActionPrimary),secondaryStateLayerColor:r.extend("--ft-button-secondary-state-layer-color","",u.contentActionPrimary),secondaryHoverStateLayerOpacity:r.extend("--ft-button-secondary-hover-state-layer-opacity","",l.opacity8),secondaryFocusStateLayerOpacity:r.extend("--ft-button-secondary-focus-state-layer-opacity","",l.opacity8),secondaryActiveStateLayerOpacity:r.extend("--ft-button-secondary-active-state-layer-opacity","",l.opacity16),secondaryDisabledComponentOpacity:r.extend("--ft-button-secondary-disabled-component-opacity","",l.opacity40),secondaryBorderColor:r.extend("--ft-button-secondary-border-color","",u.borderActionPrimary),neutralBackgroundColor:r.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:r.extend("--ft-button-neutral-icon-color","",u.contentGlobalSecondary),neutralColor:r.extend("--ft-button-neutral-color","",u.contentGlobalSecondary),neutralStateLayerColor:r.extend("--ft-button-neutral-state-layer-color","",u.contentGlobalSecondary),neutralHoverStateLayerOpacity:r.extend("--ft-button-neutral-hover-state-layer-opacity","",l.opacity8),neutralFocusStateLayerOpacity:r.extend("--ft-button-neutral-focus-state-layer-opacity","",l.opacity8),neutralActiveStateLayerOpacity:r.extend("--ft-button-neutral-active-state-layer-opacity","",l.opacity16),neutralDisabledComponentOpacity:r.extend("--ft-button-neutral-disabled-component-opacity","",l.opacity40)};var Cc={focusOpacity:r.extend("--ft-link-focus-opacity","",l.opacity80),focusFocusRingColor:r.extend("--ft-link-focus-focus-ring-color","",u.borderActionFocusRing),brandColor:r.extend("--ft-link-brand-color","",u.contentActionPrimary),infoColor:r.extend("--ft-link-info-color","",u.contentInfoPrimary)};var Nc={iconSize:r.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-banner-horizontal-padding","",l.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",u.borderInfoSubtle)};var Ac={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",l.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",l.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",l.borderRadiusPill),color:r.extend("--ft-badge-color","",u.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",u.contentActionPrimary)};var Rc={horizontalGap:r.extend("--ft-breadcrumb-horizontal-gap","",l.spacing1),verticalGap:r.extend("--ft-breadcrumb-vertical-gap","",l.spacing2),currentColor:r.extend("--ft-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:r.extend("--ft-breadcrumb-icon-color","",u.contentGlobalSubtle)};var _c={horizontalPadding:r.extend("--ft-page-header-horizontal-padding","",l.spacing12),horizontalGap:r.extend("--ft-page-header-horizontal-gap","",l.spacing4),verticalGap:r.extend("--ft-page-header-vertical-gap","",l.spacing2),classicVerticalPadding:r.extend("--ft-page-header-classic-vertical-padding","",l.spacing6),multilineVerticalPadding:r.extend("--ft-page-header-multiline-vertical-padding","",l.spacing4),inlineVerticalPadding:r.extend("--ft-page-header-inline-vertical-padding","",l.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",u.borderGlobalSubtle),titleColor:r.extend("--ft-page-header-title-color","",u.contentGlobalPrimary),subtitleColor:r.extend("--ft-page-header-subtitle-color","",u.contentGlobalSecondary)};var Pc={smallContainerWidth:r.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:r.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:r.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",l.spacing6),containerMargin:r.extend("--ft-modal-container-margin","",l.spacing3),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-modal-header-trailing-icon-color","",u.contentGlobalSecondary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:r.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottom:r.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",l.borderRadiusM)};var Lc={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:r.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing4),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",l.colorGray700)};var Ic={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)};var Tc={backgroundColor:r.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",l.borderRadiusM)};var $c={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",u.backgroundGlobalOnSurface)};var Mc={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)};var kc={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)};var Uc={backgroundColor:r.extend("--ft-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",l.spacing6),iconColor:r.extend("--ft-popover-icon-color","",u.contentGlobalSecondary),iconSize:r.extend("--ft-popover-icon-size","",l.iconSize2),titleColor:r.extend("--ft-popover-title-color","",u.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",u.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",u.contentActionPrimary),gap:r.extend("--ft-popover-gap","",l.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",l.shadowElevation02)};var Wc={topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",l.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",l.spacing1),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ft-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:r.extend("--ft-tabs-on-disabled-component-opacity","",l.opacity40),onColor:r.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",l.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var Dc={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:r.extend("--ft-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",l.iconSize3)};var Bc={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:r.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:r.extend("--ft-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:r.extend("--ft-switch-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",l.borderRadiusS)};var zc={color1Light:r.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",l.colorRed40),color5Base:r.extend("--ft-chart-5-base","",l.colorRed60),color6Light:r.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",l.colorGray50),color10Base:r.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",l.colorBrand200)};var Hc={largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",l.spacing4),largeVerticalPadding:r.extend("--ft-chip-large-vertical-padding","",l.spacing2),largeGap:r.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.extend("--ft-chip-large-border-radius","",l.borderRadiusPill),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",l.spacing3),mediumVerticalPadding:r.extend("--ft-chip-medium-vertical-padding","",l.spacing1),mediumGap:r.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.extend("--ft-chip-medium-border-radius","",l.borderRadiusPill),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",l.spacing2),smallVerticalPadding:r.extend("--ft-chip-small-vertical-padding","",l.spacing05),smallGap:r.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.extend("--ft-chip-small-border-radius","",l.borderRadiusPill),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)};var jc={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",l.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",l.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:r.extend("--ft-notice-gap","",l.spacing2),iconSize:r.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly)};var Kc={color:r.extend("--ft-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",l.spacing3)};var Gc={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:r.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",l.spacing3)};var Vc={color:r.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",l.spacing3)};var Zc={iconSize:r.extend("--ft-notification-icon-size","",l.iconSize4),horizontalPadding:r.extend("--ft-notification-horizontal-padding","",l.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",l.spacing4),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",u.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",l.spacing8)};var Fc={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:r.extend("--ft-tooltip-color","",u.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:r.extend("--ft-tooltip-shadow","",l.shadowElevation03),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",l.spacing05)};var qc={colorPrimary:r.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:r.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:r.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:r.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:r.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:r.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:r.create("--ft-color-error","","COLOR","#B00020"),colorOutline:r.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:r.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:r.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:r.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:r.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:r.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:r.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:r.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:r.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:r.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:r.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:r.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:r.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:r.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:r.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:r.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:r.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:r.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:r.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:r.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:r.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:r.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:r.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:r.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:r.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:r.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:r.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:r.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:r.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:r.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:r.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:r.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:r.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:r.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:r.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:r.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:r.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:r.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:r.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:r.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:r.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:r.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var eo={};I(eo,{FtNotificationEvent:()=>Jr,PostResizeEvent:()=>Qr,PreResizeEvent:()=>Xr});var Jr=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Xr=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Qr=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var uo={};I(uo,{computeOffsetPosition:()=>hs});var Sa=["top","right","bottom","left"],va=["start","end"],ro=Sa.reduce((t,e)=>t.concat(e,e+"-"+va[0],e+"-"+va[1]),[]),yt=Math.min,me=Math.max,bt=Math.round;var ae=t=>({x:t,y:t}),Yc={left:"right",right:"left",bottom:"top",top:"bottom"},Jc={start:"end",end:"start"};function oo(t,e,o){return me(t,yt(e,o))}function Xt(t,e){return typeof t=="function"?t(e):t}function Ve(t){return t.split("-")[0]}function ge(t){return t.split("-")[1]}function no(t){return t==="x"?"y":"x"}function ao(t){return t==="y"?"height":"width"}function Qt(t){return["top","bottom"].includes(Ve(t))?"y":"x"}function io(t){return no(Qt(t))}function Oa(t,e,o){o===void 0&&(o=!1);let n=ge(t),a=io(t),i=ao(a),c=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(c=to(c)),[c,to(c)]}function wa(t){return t.replace(/start|end/g,e=>Jc[e])}function to(t){return t.replace(/left|right|bottom|top/g,e=>Yc[e])}function Xc(t){return{top:0,right:0,bottom:0,left:0,...t}}function Ea(t){return typeof t!="number"?Xc(t):{top:t,right:t,bottom:t,left:t}}function Me(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Ca(t,e,o){let{reference:n,floating:a}=t,i=Qt(e),c=io(e),d=ao(c),s=Ve(e),f=i==="y",h=n.x+n.width/2-a.width/2,p=n.y+n.height/2-a.height/2,m=n[d]/2-a[d]/2,g;switch(s){case"top":g={x:h,y:n.y-a.height};break;case"bottom":g={x:h,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:p};break;case"left":g={x:n.x-a.width,y:p};break;default:g={x:n.x,y:n.y}}switch(ge(e)){case"start":g[c]-=m*(o&&f?-1:1);break;case"end":g[c]+=m*(o&&f?-1:1);break}return g}var Na=async(t,e,o)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:c}=o,d=i.filter(Boolean),s=await(c.isRTL==null?void 0:c.isRTL(e)),f=await c.getElementRects({reference:t,floating:e,strategy:a}),{x:h,y:p}=Ca(f,n,s),m=n,g={},y=0;for(let v=0;v<d.length;v++){let{name:w,fn:E}=d[v],{x:C,y:x,data:b,reset:S}=await E({x:h,y:p,initialPlacement:n,placement:m,strategy:a,middlewareData:g,rects:f,platform:c,elements:{reference:t,floating:e}});if(h=C??h,p=x??p,g={...g,[w]:{...g[w],...b}},S&&y<=50){y++,typeof S=="object"&&(S.placement&&(m=S.placement),S.rects&&(f=S.rects===!0?await c.getElementRects({reference:t,floating:e,strategy:a}):S.rects),{x:h,y:p}=Ca(f,m,s)),v=-1;continue}}return{x:h,y:p,placement:m,strategy:a,middlewareData:g}};async function co(t,e){var o;e===void 0&&(e={});let{x:n,y:a,platform:i,rects:c,elements:d,strategy:s}=t,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:p="floating",altBoundary:m=!1,padding:g=0}=Xt(e,t),y=Ea(g),w=d[m?p==="floating"?"reference":"floating":p],E=Me(await i.getClippingRect({element:(o=await(i.isElement==null?void 0:i.isElement(w)))==null||o?w:w.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(d.floating)),boundary:f,rootBoundary:h,strategy:s})),C=p==="floating"?{...c.floating,x:n,y:a}:c.reference,x=await(i.getOffsetParent==null?void 0:i.getOffsetParent(d.floating)),b=await(i.isElement==null?void 0:i.isElement(x))?await(i.getScale==null?void 0:i.getScale(x))||{x:1,y:1}:{x:1,y:1},S=Me(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:C,offsetParent:x,strategy:s}):C);return{top:(E.top-S.top+y.top)/b.y,bottom:(S.bottom-E.bottom+y.bottom)/b.y,left:(E.left-S.left+y.left)/b.x,right:(S.right-E.right+y.right)/b.x}}function Qc(t,e,o){return(t?[...o.filter(a=>ge(a)===t),...o.filter(a=>ge(a)!==t)]:o.filter(a=>Ve(a)===a)).filter(a=>t?ge(a)===t||(e?wa(a)!==a:!1):!0)}var so=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,n,a;let{rects:i,middlewareData:c,placement:d,platform:s,elements:f}=e,{crossAxis:h=!1,alignment:p,allowedPlacements:m=ro,autoAlignment:g=!0,...y}=Xt(t,e),v=p!==void 0||m===ro?Qc(p||null,g,m):m,w=await co(e,y),E=((o=c.autoPlacement)==null?void 0:o.index)||0,C=v[E];if(C==null)return{};let x=Oa(C,i,await(s.isRTL==null?void 0:s.isRTL(f.floating)));if(d!==C)return{reset:{placement:v[0]}};let b=[w[Ve(C)],w[x[0]],w[x[1]]],S=[...((n=c.autoPlacement)==null?void 0:n.overflows)||[],{placement:C,overflows:b}],A=v[E+1];if(A)return{data:{index:E+1,overflows:S},reset:{placement:A}};let P=S.map(N=>{let R=ge(N.placement);return[N.placement,R&&h?N.overflows.slice(0,2).reduce((_,U)=>_+U,0):N.overflows[0],N.overflows]}).sort((N,R)=>N[1]-R[1]),L=((a=P.filter(N=>N[2].slice(0,ge(N[0])?2:3).every(R=>R<=0))[0])==null?void 0:a[0])||P[0][0];return L!==d?{data:{index:E+1,overflows:S},reset:{placement:L}}:{}}}};var lo=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:o,y:n,placement:a}=e,{mainAxis:i=!0,crossAxis:c=!1,limiter:d={fn:w=>{let{x:E,y:C}=w;return{x:E,y:C}}},...s}=Xt(t,e),f={x:o,y:n},h=await co(e,s),p=Qt(Ve(a)),m=no(p),g=f[m],y=f[p];if(i){let w=m==="y"?"top":"left",E=m==="y"?"bottom":"right",C=g+h[w],x=g-h[E];g=oo(C,g,x)}if(c){let w=p==="y"?"top":"left",E=p==="y"?"bottom":"right",C=y+h[w],x=y-h[E];y=oo(C,y,x)}let v=d.fn({...e,[m]:g,[p]:y});return{...v,data:{x:v.x-o,y:v.y-n}}}}};function ie(t){return Ra(t)?(t.nodeName||"").toLowerCase():"#document"}function z(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function ce(t){var e;return(e=(Ra(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ra(t){return t instanceof Node||t instanceof z(t).Node}function J(t){return t instanceof Element||t instanceof z(t).Element}function Z(t){return t instanceof HTMLElement||t instanceof z(t).HTMLElement}function Aa(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof z(t).ShadowRoot}function Ze(t){let{overflow:e,overflowX:o,overflowY:n,display:a}=j(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(a)}function _a(t){return["table","td","th"].includes(ie(t))}function tr(t){let e=rr(),o=j(t);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function Pa(t){let e=ke(t);for(;Z(e)&&!xt(e);){if(tr(e))return e;e=ke(e)}return null}function rr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function xt(t){return["html","body","#document"].includes(ie(t))}function j(t){return z(t).getComputedStyle(t)}function vt(t){return J(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ke(t){if(ie(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Aa(t)&&t.host||ce(t);return Aa(e)?e.host:e}function La(t){let e=ke(t);return xt(e)?t.ownerDocument?t.ownerDocument.body:t.body:Z(e)&&Ze(e)?e:La(e)}function er(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);let a=La(t),i=a===((n=t.ownerDocument)==null?void 0:n.body),c=z(a);return i?e.concat(c,c.visualViewport||[],Ze(a)?a:[],c.frameElement&&o?er(c.frameElement):[]):e.concat(a,er(a,[],o))}function $a(t){let e=j(t),o=parseFloat(e.width)||0,n=parseFloat(e.height)||0,a=Z(t),i=a?t.offsetWidth:o,c=a?t.offsetHeight:n,d=bt(o)!==i||bt(n)!==c;return d&&(o=i,n=c),{width:o,height:n,$:d}}function Ma(t){return J(t)?t:t.contextElement}function Fe(t){let e=Ma(t);if(!Z(e))return ae(1);let o=e.getBoundingClientRect(),{width:n,height:a,$:i}=$a(e),c=(i?bt(o.width):o.width)/n,d=(i?bt(o.height):o.height)/a;return(!c||!Number.isFinite(c))&&(c=1),(!d||!Number.isFinite(d))&&(d=1),{x:c,y:d}}var es=ae(0);function ka(t){let e=z(t);return!rr()||!e.visualViewport?es:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function ts(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==z(t)?!1:e}function St(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);let a=t.getBoundingClientRect(),i=Ma(t),c=ae(1);e&&(n?J(n)&&(c=Fe(n)):c=Fe(t));let d=ts(i,o,n)?ka(i):ae(0),s=(a.left+d.x)/c.x,f=(a.top+d.y)/c.y,h=a.width/c.x,p=a.height/c.y;if(i){let m=z(i),g=n&&J(n)?z(n):n,y=m.frameElement;for(;y&&n&&g!==m;){let v=Fe(y),w=y.getBoundingClientRect(),E=j(y),C=w.left+(y.clientLeft+parseFloat(E.paddingLeft))*v.x,x=w.top+(y.clientTop+parseFloat(E.paddingTop))*v.y;s*=v.x,f*=v.y,h*=v.x,p*=v.y,s+=C,f+=x,y=z(y).frameElement}}return Me({width:h,height:p,x:s,y:f})}function rs(t){let{rect:e,offsetParent:o,strategy:n}=t,a=Z(o),i=ce(o);if(o===i)return e;let c={scrollLeft:0,scrollTop:0},d=ae(1),s=ae(0);if((a||!a&&n!=="fixed")&&((ie(o)!=="body"||Ze(i))&&(c=vt(o)),Z(o))){let f=St(o);d=Fe(o),s.x=f.x+o.clientLeft,s.y=f.y+o.clientTop}return{width:e.width*d.x,height:e.height*d.y,x:e.x*d.x-c.scrollLeft*d.x+s.x,y:e.y*d.y-c.scrollTop*d.y+s.y}}function os(t){return Array.from(t.getClientRects())}function Ua(t){return St(ce(t)).left+vt(t).scrollLeft}function ns(t){let e=ce(t),o=vt(t),n=t.ownerDocument.body,a=me(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=me(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),c=-o.scrollLeft+Ua(t),d=-o.scrollTop;return j(n).direction==="rtl"&&(c+=me(e.clientWidth,n.clientWidth)-a),{width:a,height:i,x:c,y:d}}function as(t,e){let o=z(t),n=ce(t),a=o.visualViewport,i=n.clientWidth,c=n.clientHeight,d=0,s=0;if(a){i=a.width,c=a.height;let f=rr();(!f||f&&e==="fixed")&&(d=a.offsetLeft,s=a.offsetTop)}return{width:i,height:c,x:d,y:s}}function is(t,e){let o=St(t,!0,e==="fixed"),n=o.top+t.clientTop,a=o.left+t.clientLeft,i=Z(t)?Fe(t):ae(1),c=t.clientWidth*i.x,d=t.clientHeight*i.y,s=a*i.x,f=n*i.y;return{width:c,height:d,x:s,y:f}}function Ia(t,e,o){let n;if(e==="viewport")n=as(t,o);else if(e==="document")n=ns(ce(t));else if(J(e))n=is(e,o);else{let a=ka(t);n={...e,x:e.x-a.x,y:e.y-a.y}}return Me(n)}function Wa(t,e){let o=ke(t);return o===e||!J(o)||xt(o)?!1:j(o).position==="fixed"||Wa(o,e)}function cs(t,e){let o=e.get(t);if(o)return o;let n=er(t,[],!1).filter(d=>J(d)&&ie(d)!=="body"),a=null,i=j(t).position==="fixed",c=i?ke(t):t;for(;J(c)&&!xt(c);){let d=j(c),s=tr(c);!s&&d.position==="fixed"&&(a=null),(i?!s&&!a:!s&&d.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||Ze(c)&&!s&&Wa(t,c))?n=n.filter(h=>h!==c):a=d,c=ke(c)}return e.set(t,n),n}function ss(t){let{element:e,boundary:o,rootBoundary:n,strategy:a}=t,c=[...o==="clippingAncestors"?cs(e,this._c):[].concat(o),n],d=c[0],s=c.reduce((f,h)=>{let p=Ia(e,h,a);return f.top=me(p.top,f.top),f.right=yt(p.right,f.right),f.bottom=yt(p.bottom,f.bottom),f.left=me(p.left,f.left),f},Ia(e,d,a));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function ls(t){return $a(t)}function ds(t,e,o){let n=Z(e),a=ce(e),i=o==="fixed",c=St(t,!0,i,e),d={scrollLeft:0,scrollTop:0},s=ae(0);if(n||!n&&!i)if((ie(e)!=="body"||Ze(a))&&(d=vt(e)),n){let f=St(e,!0,i,e);s.x=f.x+e.clientLeft,s.y=f.y+e.clientTop}else a&&(s.x=Ua(a));return{x:c.left+d.scrollLeft-s.x,y:c.top+d.scrollTop-s.y,width:c.width,height:c.height}}function Ta(t,e){return!Z(t)||j(t).position==="fixed"?null:e?e(t):t.offsetParent}function Da(t,e){let o=z(t);if(!Z(t))return o;let n=Ta(t,e);for(;n&&_a(n)&&j(n).position==="static";)n=Ta(n,e);return n&&(ie(n)==="html"||ie(n)==="body"&&j(n).position==="static"&&!tr(n))?o:n||Pa(t)||o}var fs=async function(t){let{reference:e,floating:o,strategy:n}=t,a=this.getOffsetParent||Da,i=this.getDimensions;return{reference:ds(e,await a(o),n),floating:{x:0,y:0,...await i(o)}}};function us(t){return j(t).direction==="rtl"}var or={convertOffsetParentRelativeRectToViewportRelativeRect:rs,getDocumentElement:ce,getClippingRect:ss,getOffsetParent:Da,getElementRects:fs,getClientRects:os,getDimensions:ls,getScale:Fe,isElement:J,isRTL:us};var Ba=(t,e,o)=>{let n=new Map,a={platform:or,...o},i={...a.platform,_c:n};return Na(t,e,{...a,platform:i})};function za(t){return ps(t)}function fo(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function ps(t){for(let e=t;e;e=fo(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=fo(t);e;e=fo(e)){if(!(e instanceof Element))continue;let o=getComputedStyle(e);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||e.tagName==="BODY"))return e}return null}async function hs(t,e,o){return Ba(t,e,{platform:{...or,getOffsetParent:n=>or.getOffsetParent(n,za)},middleware:[lo({crossAxis:!0}),so({allowedPlacements:[o]})]})}var mo={};I(mo,{FtLitElement:()=>X});var po={};I(po,{ScopedRegistryLitElement:()=>Ot});var nr=window,ms=nr.ShadowRoot&&(nr.ShadyCSS===void 0||nr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,zp=Symbol();var Ha=(t,e)=>{ms?t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):e.forEach(o=>{let n=document.createElement("style"),a=nr.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,t.appendChild(n)})};var Ot=class extends oe{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([a,i])=>e.registry.define(a,i)));let o={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Ha(n,e.elementStyles),n}};var ho=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var d=t.length-1;d>=0;d--)(c=t[d])&&(i=(a<3?c(i):a>3?c(e,o,i):c(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Ga,ja=Symbol("constructorPrototype"),Ka=Symbol("constructorName"),Va=Symbol("exportpartsDebouncer"),X=class extends Ot{constructor(){super(),this.adoptedCustomStyleSheet=new CSSStyleSheet,this.useAdoptedStyleSheets=!0,this[Ga]=new gt(5),this[Ka]=this.constructor.name,this[ja]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ka]&&Object.setPrototypeOf(this,this[ja])}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 o,n,a;if(this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((o=this.customStylesheet)!==null&&o!==void 0?o:"")}catch(i){console.error(i,this.customStylesheet)}}else if(((a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&a!==void 0?a:[]).forEach(i=>i.remove()),this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}scheduleExportpartsUpdate(){var e,o,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Va].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var o,n,a,i,c,d;let s=m=>m!=null&&m.trim().length>0,f=e.filter(s).map(m=>m.trim());if(f.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let m of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let g=(i=(a=m.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],y=(d=(c=m.getAttribute("exportparts"))===null||c===void 0?void 0:c.split(",").map(v=>v.split(":")[1]))!==null&&d!==void 0?d:[];new Array(...g,...y).filter(s).map(v=>v.trim()).forEach(v=>h.add(v))}if(h.size===0){this.removeAttribute("exportparts");return}let p=[...h.values()].flatMap(m=>f.map(g=>`${m}:${g}--${m}`));this.setAttribute("exportparts",[...this.part,...p].join(", "))}};Ga=Va;ho([B()],X.prototype,"exportpartsPrefix",void 0);ho([Zr([])],X.prototype,"exportpartsPrefixes",void 0);ho([B()],X.prototype,"customStylesheet",void 0);var Za={};var bo={};I(bo,{highlightHtml:()=>bs,highlightHtmlColorCssVariable:()=>Fa,highlightHtmlStyles:()=>ys});var Ue=class t{constructor(e,o=!0,n=[],a=5e3){this.ctx=e,this.iframes=o,this.exclude=n,this.iframesTimeout=a}static matches(e,o){let n=typeof o=="string"?[o]:o,a=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(a){let i=!1;return n.every(c=>a.call(e,c)?(i=!0,!1):!0),i}else return!1}getContexts(){let e,o=[];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(n=>{let a=o.filter(i=>i.contains(n)).length>0;o.indexOf(n)===-1&&!a&&o.push(n)}),o}getIframeContents(e,o,n=()=>{}){let a;try{let i=e.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{n()}a&&o(a)}isIframeBlank(e){let o="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===o&&n!==o&&n}observeIframeLoad(e,o,n){let a=!1,i=null,c=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(e)||(e.removeEventListener("load",c),this.getIframeContents(e,o,n))}catch{n()}}};e.addEventListener("load",c),i=setTimeout(c,this.iframesTimeout)}onIframeReady(e,o,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,o,n):this.getIframeContents(e,o,n):this.observeIframeLoad(e,o,n)}catch{n()}}waitForIframes(e,o){let n=0;this.forEachIframe(e,()=>!0,a=>{n++,this.waitForIframes(a.querySelector("html"),()=>{--n||o()})},a=>{a||o()})}forEachIframe(e,o,n,a=()=>{}){let i=e.querySelectorAll("iframe"),c=i.length,d=0;i=Array.prototype.slice.call(i);let s=()=>{--c<=0&&a(d)};c||s(),i.forEach(f=>{t.matches(f,this.exclude)?s():this.onIframeReady(f,h=>{o(f)&&(d++,n(h)),s()},s)})}createIterator(e,o,n){return document.createNodeIterator(e,o,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,o,n){let a=e.compareDocumentPosition(n),i=Node.DOCUMENT_POSITION_PRECEDING;if(a&i)if(o!==null){let c=o.compareDocumentPosition(n),d=Node.DOCUMENT_POSITION_FOLLOWING;if(c&d)return!0}else return!0;return!1}getIteratorNode(e){let o=e.previousNode(),n;return o===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:o,node:n}}checkIframeFilter(e,o,n,a){let i=!1,c=!1;return a.forEach((d,s)=>{d.val===n&&(i=s,c=d.handled)}),this.compareNodeIframe(e,o,n)?(i===!1&&!c?a.push({val:n,handled:!0}):i!==!1&&!c&&(a[i].handled=!0),!0):(i===!1&&a.push({val:n,handled:!1}),!1)}handleOpenIframes(e,o,n,a){e.forEach(i=>{i.handled||this.getIframeContents(i.val,c=>{this.createInstanceOnIframe(c).forEachNode(o,n,a)})})}iterateThroughNodes(e,o,n,a,i){let c=this.createIterator(o,e,a),d=[],s=[],f,h,p=()=>({prevNode:h,node:f}=this.getIteratorNode(c),f);for(;p();)this.iframes&&this.forEachIframe(o,m=>this.checkIframeFilter(f,h,m,d),m=>{this.createInstanceOnIframe(m).forEachNode(e,g=>s.push(g),a)}),s.push(f);s.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(d,e,n,a),i()}forEachNode(e,o,n,a=()=>{}){let i=this.getContexts(),c=i.length;c||a(),i.forEach(d=>{let s=()=>{this.iterateThroughNodes(e,d,o,n,()=>{--c<=0&&a()})};this.iframes?this.waitForIframes(d,s):s()})}};var wt=class{constructor(e){this.ctx=e,this.ie=!1;let o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.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 Ue(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,o="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[o]=="function"&&n[o](`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 o=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",a=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in o)if(o.hasOwnProperty(i)){let c=o[i],d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i),s=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(c):this.escapeStr(c);d!==""&&s!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(d)}|${this.escapeStr(s)})`,`gm${n}`),a+`(${this.processSynomyms(d)}|${this.processSynomyms(s)})`+a))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,o=>o.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,o=>o.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let o=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(o,n,a)=>{let i=a.charAt(n+1);return/[(|)\\]/.test(i)||i===""?o:o+"\0"})}createJoinersRegExp(e){let o=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&o.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?e.split(/\u0000+/).join(`[${o.join("")}]*`):e}createDiacriticsRegExp(e){let o=this.opt.caseSensitive?"":"i",n=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"],a=[];return e.split("").forEach(i=>{n.every(c=>{if(c.indexOf(i)!==-1){if(a.indexOf(c)>-1)return!1;e=e.replace(new RegExp(`[${c}]`,`gm${o}`),`[${c}]`),a.push(c)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let o="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,a=typeof n=="string"?n:n.value,i=typeof n=="string"?[]:n.limiters,c="";switch(i.forEach(d=>{c+=`|${this.escapeStr(d)}`}),a){case"partially":default:return`()(${e})`;case"complementary":return c="\\s"+(c||this.escapeStr(o)),`()([^${c}]*${e}[^${c}]*)`;case"exactly":return`(^|\\s${c})(${e})(?=$|\\s${c})`}}getSeparatedKeywords(e){let o=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(a=>{a.trim()&&o.indexOf(a)===-1&&o.push(a)}):n.trim()&&o.indexOf(n)===-1&&o.push(n)}),{keywords:o.sort((n,a)=>a.length-n.length),length:o.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 o=[],n=0;return e.sort((a,i)=>a.start-i.start).forEach(a=>{let{start:i,end:c,valid:d}=this.callNoMatchOnInvalidRanges(a,n);d&&(a.start=i,a.length=c-i,o.push(a),n=c)}),o}callNoMatchOnInvalidRanges(e,o){let n,a,i=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),a=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&a-o>0&&a-n>0?i=!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:n,end:a,valid:i}}checkWhitespaceRanges(e,o,n){let a,i=!0,c=n.length,d=o-c,s=parseInt(e.start,10)-d;return s=s>c?c:s,a=s+parseInt(e.length,10),a>c&&(a=c,this.log(`End range automatically set to the max value of ${c}`)),s<0||a-s<0||s>c||a>c?(i=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(s,a).replace(/\s+/g,"")===""&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:s,end:a,valid:i}}getTextNodes(e){let o="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,a=>{n.push({start:o.length,end:(o+=a.textContent).length,node:a})},a=>this.matchesExclude(a.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:o,nodes:n})})}matchesExclude(e){return Ue.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,o,n){let a=this.opt.element?this.opt.element:"mark",i=e.splitText(o),c=i.splitText(n-o),d=document.createElement(a);return d.setAttribute("data-markjs","true"),this.opt.className&&d.setAttribute("class",this.opt.className),d.textContent=i.textContent,i.parentNode.replaceChild(d,i),c}wrapRangeInMappedTextNode(e,o,n,a,i){e.nodes.every((c,d)=>{let s=e.nodes[d+1];if(typeof s>"u"||s.start>o){if(!a(c.node))return!1;let f=o-c.start,h=(n>c.end?c.end:n)-c.start,p=e.value.substr(0,c.start),m=e.value.substr(h+c.start);if(c.node=this.wrapRangeInTextNode(c.node,f,h),e.value=p+m,e.nodes.forEach((g,y)=>{y>=d&&(e.nodes[y].start>0&&y!==d&&(e.nodes[y].start-=h),e.nodes[y].end-=h)}),n-=h,i(c.node.previousSibling,c.start),n>c.end)o=c.end;else return!1}return!0})}wrapMatches(e,o,n,a,i){let c=o===0?0:o+1;this.getTextNodes(d=>{d.nodes.forEach(s=>{s=s.node;let f;for(;(f=e.exec(s.textContent))!==null&&f[c]!=="";){if(!n(f[c],s))continue;let h=f.index;if(c!==0)for(let p=1;p<c;p++)h+=f[p].length;s=this.wrapRangeInTextNode(s,h,h+f[c].length),a(s.previousSibling),e.lastIndex=0}}),i()})}wrapMatchesAcrossElements(e,o,n,a,i){let c=o===0?0:o+1;this.getTextNodes(d=>{let s;for(;(s=e.exec(d.value))!==null&&s[c]!=="";){let f=s.index;if(c!==0)for(let p=1;p<c;p++)f+=s[p].length;let h=f+s[c].length;this.wrapRangeInMappedTextNode(d,f,h,p=>n(s[c],p),(p,m)=>{e.lastIndex=m,a(p)})}i()})}wrapRangeFromIndex(e,o,n,a){this.getTextNodes(i=>{let c=i.value.length;e.forEach((d,s)=>{let{start:f,end:h,valid:p}=this.checkWhitespaceRanges(d,c,i.value);p&&this.wrapRangeInMappedTextNode(i,f,h,m=>o(m,d,i.value.substring(f,h),s),m=>{n(m,d)})}),a()})}unwrapMatches(e){let o=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));o.replaceChild(n,e),this.ie?this.normalizeTextNode(o):o.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,o){this.opt=o,this.log(`Searching with expression "${e}"`);let n=0,a="wrapMatches",i=c=>{n++,this.opt.each(c)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](e,this.opt.ignoreGroups,(c,d)=>this.opt.filter(d,c,n),i,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,o){this.opt=o;let n=0,a="wrapMatches",{keywords:i,length:c}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),d=this.opt.caseSensitive?"":"i",s=f=>{let h=new RegExp(this.createRegExp(f),`gm${d}`),p=0;this.log(`Searching with expression "${h}"`),this[a](h,1,(m,g)=>this.opt.filter(g,f,n,p),m=>{p++,n++,this.opt.each(m)},()=>{p===0&&this.opt.noMatch(f),i[c-1]===f?this.opt.done(n):s(i[i.indexOf(f)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),c===0?this.opt.done(n):s(i[0])}markRanges(e,o){this.opt=o;let n=0,a=this.checkRanges(e);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,(i,c,d,s)=>this.opt.filter(i,c,d,s),(i,c)=>{n++,this.opt.each(i,c)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let a=Ue.matches(n,o),i=this.matchesExclude(n);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function go(t){let e=new wt(t);return this.mark=(o,n)=>(e.mark(o,n),this),this.markRegExp=(o,n)=>(e.markRegExp(o,n),this),this.markRanges=(o,n)=>(e.markRanges(o,n),this),this.unmark=o=>(e.unmark(o),this),this}var gs=go,Fa=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),ys=k`
7
7
  .highlight-html-match {
8
8
  background: ${Fa};
9
9
  }
10
- `,yo={className:"highlight-html-match"};function ys(t,e){var r;let n=t.getAttribute("data-highlight-html-query");if((n??"")!==(e??"")){let a=new ms(t);a.unmark(yo),e&&e.trim()&&(a.mark(e.replace(/"[^"]+"/g,""),{...yo,separateWordSearch:!0}),((r=e.match(/"[^"]+"/g))!==null&&r!==void 0?r:[]).forEach(c=>a.mark(c.replace(/"/g,""),{...yo,separateWordSearch:!1})))}t.setAttribute("data-highlight-html-query",e??"")}var xo={};I(xo,{noTextSelect:()=>bs,safariEllipsisFix:()=>vs,wordWrap:()=>xs});var bs=k`
10
+ `,yo={className:"highlight-html-match"};function bs(t,e){var o;let n=t.getAttribute("data-highlight-html-query");if((n??"")!==(e??"")){let a=new gs(t);a.unmark(yo),e&&e.trim()&&(a.mark(e.replace(/"[^"]+"/g,""),{...yo,separateWordSearch:!0}),((o=e.match(/"[^"]+"/g))!==null&&o!==void 0?o:[]).forEach(c=>a.mark(c.replace(/"/g,""),{...yo,separateWordSearch:!1})))}t.setAttribute("data-highlight-html-query",e??"")}var xo={};I(xo,{noTextSelect:()=>xs,safariEllipsisFix:()=>Ss,wordWrap:()=>vs});var xs=k`
11
11
  .ft-no-text-select {
12
12
  -webkit-touch-callout: none;
13
13
  -webkit-user-select: none;
@@ -16,7 +16,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
16
16
  -ms-user-select: none;
17
17
  user-select: none;
18
18
  }
19
- `,xs=k`
19
+ `,vs=k`
20
20
  .ft-word-wrap {
21
21
  white-space: normal;
22
22
  word-wrap: break-word;
@@ -28,7 +28,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
28
28
  -webkit-hyphens: auto;
29
29
  hyphens: auto
30
30
  }
31
- `,vs=k`
31
+ `,Ss=k`
32
32
  .ft-safari-ellipsis-fix {
33
33
  margin-right: 0;
34
34
 
@@ -39,7 +39,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
39
39
  display: inline-block;
40
40
  width: 0;
41
41
  }
42
- `;var qa={};var So={};I(So,{ParametrizedLabelResolver:()=>vo});var vo=class{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var n,a;e=this.resolvePluralKey(e,r);let i=(a=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&a!==void 0?a:"";return r.forEach((c,d)=>i=i.replace(new RegExp(`\\{${d}([^}]*)\\}`,"g"),(s,f)=>this.formatValue(c,f))),i}resolvePluralKey(e,r){for(let n of r)if(typeof n=="number"){let a=`${String(e)}[\\=${n}]`;if(a in this.labels||a in this.defaultLabels)return a}return e}formatValue(e,r){return e instanceof Date?this.formatDate(e,r):e??""}formatDate(e,r){let n=a=>r?.includes("date")?e.toLocaleDateString(a):r?.includes("time")?e.toLocaleTimeString(a):e.toLocaleString(a);try{return n(document.documentElement.lang)}catch{return n()}}};var Fo={};I(Fo,{FtCommandQueue:()=>Et,FtLitElementRedux:()=>qe,FtReduxStore:()=>Zo,clearAllStores:()=>il,isFtReduxStore:()=>We,redux:()=>Os,reduxEventListener:()=>ws,reduxReactive:()=>Ss});var Ss=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},Os=t=>{let e=t??{};return(r,n)=>{var a;let i={hasChanged:(d,s)=>!he(d,s),attribute:!1,...e};B(i)(r,n);let c=r.constructor;c.reduxProperties=new Map(c.reduxProperties),c.reduxProperties.set(n,{selector:(a=e.selector)!==null&&a!==void 0?a:d=>d[n],store:e.store})}},ws=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)};var Et=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(n=>n.type===e);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};function We(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Ya,Ja,Xa,ar=Symbol("internalReduxEventsUnsubscribers"),ye=Symbol("internalStoresUnsubscribers"),De=Symbol("internalStores"),qe=class extends X{constructor(){super(...arguments),this[Ya]=new Map,this[Ja]=new Map,this[Xa]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[De].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[De].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[De].get(e)}addStore(e,r){var n;r=(n=r??(We(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,e)}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[De].delete(r)}setupStore(e,r){this[De].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[De].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let a=this.getStore(e.store);a&&(e.store?this[ye].has(e.store):this[ye].size>0)&&(this[r]=e.selector(a.getState(),this))}})}subscribeToStore(e,r){var n;this[ye].set(e,r.subscribe(()=>this.updateFromStores())),We(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||r.name===a.store)){let c=d=>this[i](d);r.eventBus.addEventListener(a.eventName,c),this[ar].push(()=>r.eventBus.removeEventListener(a.eventName,c))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[ye].forEach((e,r)=>this.unsubscribeFromStore(r)),this[ar].forEach(e=>e()),this[ar]=[]}unsubscribeFromStore(e){this[ye].has(e)&&this[ye].get(e)(),this[ye].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Ya=ye,Ja=De,Xa=ar;qe.reduxProperties=new Map;qe.reduxReactiveProperties=new Set;qe.reduxEventListeners=new Map;function G(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(c){return"'"+c+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function se(t){return!!t&&!!t[T]}function F(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===Ls}(t)||Array.isArray(t)||!!t[ai]||!!(!((e=t.constructor)===null||e===void 0)&&e[ai])||Po(t)||Lo(t))}function Be(t,e,r){r===void 0&&(r=!1),Xe(t)===0?(r?Object.keys:Je)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,a){return e(a,n,t)})}function Xe(t){var e=t[T];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Po(t)?2:Lo(t)?3:0}function Ye(t,e){return Xe(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Es(t,e){return Xe(t)===2?t.get(e):t[e]}function ii(t,e,r){var n=Xe(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function ci(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Po(t){return _s&&t instanceof Map}function Lo(t){return Ps&&t instanceof Set}function be(t){return t.o||t.t}function Io(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=di(t);delete e[T];for(var r=Je(e),n=0;n<r.length;n++){var a=r[n],i=e[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[a]})}return Object.create(Object.getPrototypeOf(t),e)}function To(t,e){return e===void 0&&(e=!1),$o(t)||se(t)||!F(t)||(Xe(t)>1&&(t.set=t.add=t.clear=t.delete=Cs),Object.freeze(t),e&&Be(t,function(r,n){return To(n,!0)},!0)),t}function Cs(){G(2)}function $o(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Q(t){var e=_o[t];return e||G(18,t),e}function Ns(t,e){_o[t]||(_o[t]=e)}function No(){return Nt}function Oo(t,e){e&&(Q("Patches"),t.u=[],t.s=[],t.v=e)}function ir(t){Ao(t),t.p.forEach(As),t.p=null}function Ao(t){t===Nt&&(Nt=t.l)}function Qa(t){return Nt={p:[],l:Nt,h:t,m:!0,_:0}}function As(t){var e=t[T];e.i===0||e.i===1?e.j():e.g=!0}function wo(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||Q("ES5").S(e,t,n),n?(r[T].P&&(ir(e),G(4)),F(t)&&(t=cr(e,t),e.l||sr(e,t)),e.u&&Q("Patches").M(r[T].t,t,e.u,e.s)):t=cr(e,r,[]),ir(e),e.u&&e.v(e.u,e.s),t!==li?t:void 0}function cr(t,e,r){if($o(e))return e;var n=e[T];if(!n)return Be(e,function(d,s){return ei(t,n,e,d,s,r)},!0),e;if(n.A!==t)return e;if(!n.P)return sr(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Io(n.k):n.o,i=a,c=!1;n.i===3&&(i=new Set(a),a.clear(),c=!0),Be(i,function(d,s){return ei(t,n,a,d,s,r,c)}),sr(t,a,!1),r&&t.u&&Q("Patches").N(n,r,t.u,t.s)}return n.o}function ei(t,e,r,n,a,i,c){if(se(a)){var d=cr(t,a,i&&e&&e.i!==3&&!Ye(e.R,n)?i.concat(n):void 0);if(ii(r,n,d),!se(d))return;t.m=!1}else c&&r.add(a);if(F(a)&&!$o(a)){if(!t.h.D&&t._<1)return;cr(t,a),e&&e.A.l||sr(t,a)}}function sr(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&To(e,r)}function Eo(t,e){var r=t[T];return(r?be(r):t)[e]}function ti(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Object.getPrototypeOf(r)}}function xe(t){t.P||(t.P=!0,t.l&&xe(t.l))}function Co(t){t.o||(t.o=Io(t.t))}function Ro(t,e,r){var n=Po(e)?Q("MapSet").F(e,r):Lo(e)?Q("MapSet").T(e,r):t.O?function(a,i){var c=Array.isArray(a),d={i:c?1:0,A:i?i.A:No(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},s=d,f=At;c&&(s=[d],f=Ct);var h=Proxy.revocable(s,f),p=h.revoke,m=h.proxy;return d.k=m,d.j=p,m}(e,r):Q("ES5").J(e,r);return(r?r.A:No()).p.push(n),n}function Rs(t){return se(t)||G(22,t),function e(r){if(!F(r))return r;var n,a=r[T],i=Xe(r);if(a){if(!a.P&&(a.i<4||!Q("ES5").K(a)))return a.t;a.I=!0,n=ri(r,i),a.I=!1}else n=ri(r,i);return Be(n,function(c,d){a&&Es(a.t,c)===d||ii(n,c,e(d))}),i===3?new Set(n):n}(t)}function ri(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Io(t)}function si(){function t(c,d){var s=i[c];return s?s.enumerable=d:i[c]=s={configurable:!0,enumerable:d,get:function(){var f=this[T];return At.get(f,c)},set:function(f){var h=this[T];At.set(h,c,f)}},s}function e(c){for(var d=c.length-1;d>=0;d--){var s=c[d][T];if(!s.P)switch(s.i){case 5:n(s)&&xe(s);break;case 4:r(s)&&xe(s)}}}function r(c){for(var d=c.t,s=c.k,f=Je(s),h=f.length-1;h>=0;h--){var p=f[h];if(p!==T){var m=d[p];if(m===void 0&&!Ye(d,p))return!0;var g=s[p],y=g&&g[T];if(y?y.t!==m:!ci(g,m))return!0}}var v=!!d[T];return f.length!==Je(d).length+(v?0:1)}function n(c){var d=c.k;if(d.length!==c.t.length)return!0;var s=Object.getOwnPropertyDescriptor(d,d.length-1);if(s&&!s.get)return!0;for(var f=0;f<d.length;f++)if(!d.hasOwnProperty(f))return!0;return!1}function a(c){c.g&&G(3,JSON.stringify(be(c)))}var i={};Ns("ES5",{J:function(c,d){var s=Array.isArray(c),f=function(p,m){if(p){for(var g=Array(m.length),y=0;y<m.length;y++)Object.defineProperty(g,""+y,t(y,!0));return g}var v=di(m);delete v[T];for(var w=Je(v),E=0;E<w.length;E++){var C=w[E];v[C]=t(C,p||!!v[C].enumerable)}return Object.create(Object.getPrototypeOf(m),v)}(s,c),h={i:s?5:4,A:d?d.A:No(),P:!1,I:!1,R:{},l:d,t:c,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,T,{value:h,writable:!0}),f},S:function(c,d,s){s?se(d)&&d[T].A===c&&e(c.p):(c.u&&function f(h){if(h&&typeof h=="object"){var p=h[T];if(p){var m=p.t,g=p.k,y=p.R,v=p.i;if(v===4)Be(g,function(b){b!==T&&(m[b]!==void 0||Ye(m,b)?y[b]||f(g[b]):(y[b]=!0,xe(p)))}),Be(m,function(b){g[b]!==void 0||Ye(g,b)||(y[b]=!1,xe(p))});else if(v===5){if(n(p)&&(xe(p),y.length=!0),g.length<m.length)for(var w=g.length;w<m.length;w++)y[w]=!1;else for(var E=m.length;E<g.length;E++)y[E]=!0;for(var C=Math.min(g.length,m.length),x=0;x<C;x++)g.hasOwnProperty(x)||(y[x]=!0),y[x]===void 0&&f(g[x])}}}}(c.p[0]),e(c.p))},K:function(c){return c.i===4?r(c):n(c)}})}var oi,Nt,Mo=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",_s=typeof Map<"u",Ps=typeof Set<"u",ni=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",li=Mo?Symbol.for("immer-nothing"):((oi={})["immer-nothing"]=!0,oi),ai=Mo?Symbol.for("immer-draftable"):"__$immer_draftable",T=Mo?Symbol.for("immer-state"):"__$immer_state";var Ls=""+Object.prototype.constructor,Je=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,di=Object.getOwnPropertyDescriptors||function(t){var e={};return Je(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},_o={},At={get:function(t,e){if(e===T)return t;var r=be(t);if(!Ye(r,e))return function(a,i,c){var d,s=ti(i,c);return s?"value"in s?s.value:(d=s.get)===null||d===void 0?void 0:d.call(a.k):void 0}(t,r,e);var n=r[e];return t.I||!F(n)?n:n===Eo(t.t,e)?(Co(t),t.o[e]=Ro(t.A.h,n,t)):n},has:function(t,e){return e in be(t)},ownKeys:function(t){return Reflect.ownKeys(be(t))},set:function(t,e,r){var n=ti(be(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var a=Eo(be(t),e),i=a?.[T];if(i&&i.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(ci(r,a)&&(r!==void 0||Ye(t.t,e)))return!0;Co(t),xe(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 Eo(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Co(t),xe(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=be(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){G(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){G(12)}},Ct={};Be(At,function(t,e){Ct[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Ct.deleteProperty=function(t,e){return Ct.set.call(this,t,e,void 0)},Ct.set=function(t,e,r){return At.set.call(this,t[0],e,r,t[0])};var Is=function(){function t(r){var n=this;this.O=ni,this.D=!0,this.produce=function(a,i,c){if(typeof a=="function"&&typeof i!="function"){var d=i;i=a;var s=n;return function(v){var w=this;v===void 0&&(v=d);for(var E=arguments.length,C=Array(E>1?E-1:0),x=1;x<E;x++)C[x-1]=arguments[x];return s.produce(v,function(b){var S;return(S=i).call.apply(S,[w,b].concat(C))})}}var f;if(typeof i!="function"&&G(6),c!==void 0&&typeof c!="function"&&G(7),F(a)){var h=Qa(n),p=Ro(n,a,void 0),m=!0;try{f=i(p),m=!1}finally{m?ir(h):Ao(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(v){return Oo(h,c),wo(v,h)},function(v){throw ir(h),v}):(Oo(h,c),wo(f,h))}if(!a||typeof a!="object"){if((f=i(a))===void 0&&(f=a),f===li&&(f=void 0),n.D&&To(f,!0),c){var g=[],y=[];Q("Patches").M(a,f,g,y),c(g,y)}return f}G(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(f){for(var h=arguments.length,p=Array(h>1?h-1:0),m=1;m<h;m++)p[m-1]=arguments[m];return n.produceWithPatches(f,function(g){return a.apply(void 0,[g].concat(p))})};var c,d,s=n.produce(a,i,function(f,h){c=f,d=h});return typeof Promise<"u"&&s instanceof Promise?s.then(function(f){return[f,c,d]}):[s,c,d]},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){F(r)||G(8),se(r)&&(r=Rs(r));var n=Qa(this),a=Ro(this,r,void 0);return a[T].C=!0,Ao(n),a},e.finishDraft=function(r,n){var a=r&&r[T],i=a.A;return Oo(i,n),wo(void 0,i)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!ni&&G(20),this.O=r},e.applyPatches=function(r,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}a>-1&&(n=n.slice(a+1));var c=Q("Patches").$;return se(r)?c(r,n):this.produce(r,function(d){return c(d,n)})},t}(),K=new Is,Ts=K.produce,ah=K.produceWithPatches.bind(K),ih=K.setAutoFreeze.bind(K),ch=K.setUseProxies.bind(K),sh=K.applyPatches.bind(K),lh=K.createDraft.bind(K),dh=K.finishDraft.bind(K),lr=Ts;function ve(t){"@babel/helpers - typeof";return ve=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},ve(t)}function ko(t,e){if(ve(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(ve(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Uo(t){var e=ko(t,"string");return ve(e)==="symbol"?e:String(e)}function Wo(t,e,r){return e=Uo(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function fi(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function dr(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?fi(Object(r),!0).forEach(function(n){Wo(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):fi(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function W(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 ui=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Do=function(){return Math.random().toString(36).substring(7).split("").join(".")},fr={INIT:"@@redux/INIT"+Do(),REPLACE:"@@redux/REPLACE"+Do(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Do()}};function $s(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 Bo(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(W(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(W(1));return r(Bo)(t,e)}if(typeof t!="function")throw new Error(W(2));var a=t,i=e,c=[],d=c,s=!1;function f(){d===c&&(d=c.slice())}function h(){if(s)throw new Error(W(3));return i}function p(v){if(typeof v!="function")throw new Error(W(4));if(s)throw new Error(W(5));var w=!0;return f(),d.push(v),function(){if(w){if(s)throw new Error(W(6));w=!1,f();var C=d.indexOf(v);d.splice(C,1),c=null}}}function m(v){if(!$s(v))throw new Error(W(7));if(typeof v.type>"u")throw new Error(W(8));if(s)throw new Error(W(9));try{s=!0,i=a(i,v)}finally{s=!1}for(var w=c=d,E=0;E<w.length;E++){var C=w[E];C()}return v}function g(v){if(typeof v!="function")throw new Error(W(10));a=v,m({type:fr.REPLACE})}function y(){var v,w=p;return v={subscribe:function(C){if(typeof C!="object"||C===null)throw new Error(W(11));function x(){C.next&&C.next(h())}x();var b=w(x);return{unsubscribe:b}}},v[ui]=function(){return this},v}return m({type:fr.INIT}),n={dispatch:m,subscribe:p,getState:h,replaceReducer:g},n[ui]=y,n}function Ms(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:fr.INIT});if(typeof n>"u")throw new Error(W(12));if(typeof r(void 0,{type:fr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(W(13))})}function pi(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var a=e[n];typeof t[a]=="function"&&(r[a]=t[a])}var i=Object.keys(r),c,d;try{Ms(r)}catch(s){d=s}return function(f,h){if(f===void 0&&(f={}),d)throw d;if(0)var p;for(var m=!1,g={},y=0;y<i.length;y++){var v=i[y],w=r[v],E=f[v],C=w(E,h);if(typeof C>"u"){var x=h&&h.type;throw new Error(W(14))}g[v]=C,m=m||C!==E}return m=m||i.length!==Object.keys(f).length,m?g:f}}function Qe(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function hi(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(W(15))},c={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},d=e.map(function(s){return s(c)});return i=Qe.apply(void 0,d)(a.dispatch),dr(dr({},a),{},{dispatch:i})}}}function mi(t){var e=function(n){var a=n.dispatch,i=n.getState;return function(c){return function(d){return typeof d=="function"?d(a,i,t):c(d)}}};return e}var gi=mi();gi.withExtraArgument=mi;var zo=gi;var Si=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},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 n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),ks=function(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,c;return c={next:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function d(f){return function(h){return s([f,h])}}function s(f){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,a&&(i=f[0]&2?a.return:f[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,f[1])).done)return i;switch(a=0,i&&(f=[f[0]&2,i.value]),f[0]){case 0:case 1:i=f;break;case 4:return r.label++,{value:f[1],done:!1};case 5:r.label++,a=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!i||f[1]>i[0]&&f[1]<i[3])){r.label=f[1];break}if(f[0]===6&&r.label<i[1]){r.label=i[1],i=f;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(f);break}i[2]&&r.ops.pop(),r.trys.pop();continue}f=e.call(t,r)}catch(h){f=[6,h],a=0}finally{n=i=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},et=function(t,e){for(var r=0,n=e.length,a=t.length;r<n;r++,a++)t[a]=e[r];return t},Us=Object.defineProperty,Ws=Object.defineProperties,Ds=Object.getOwnPropertyDescriptors,yi=Object.getOwnPropertySymbols,Bs=Object.prototype.hasOwnProperty,zs=Object.prototype.propertyIsEnumerable,bi=function(t,e,r){return e in t?Us(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Se=function(t,e){for(var r in e||(e={}))Bs.call(e,r)&&bi(t,r,e[r]);if(yi)for(var n=0,a=yi(e);n<a.length;n++){var r=a[n];zs.call(e,r)&&bi(t,r,e[r])}return t},Ho=function(t,e){return Ws(t,Ds(e))},Hs=function(t,e,r){return new Promise(function(n,a){var i=function(s){try{d(r.next(s))}catch(f){a(f)}},c=function(s){try{d(r.throw(s))}catch(f){a(f)}},d=function(s){return s.done?n(s.value):Promise.resolve(s.value).then(i,c)};d((r=r.apply(t,e)).next())})};var js=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Qe:Qe.apply(null,arguments)},Rh=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Ks(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 Gs=function(t){Si(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,et([void 0],r[0].concat(this)))):new(e.bind.apply(e,et([void 0],r.concat(this))))},e}(Array),Vs=function(t){Si(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var a=t.apply(this,r)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,et([void 0],r[0].concat(this)))):new(e.bind.apply(e,et([void 0],r.concat(this))))},e}(Array);function Go(t){return F(t)?lr(t,function(){}):t}function Zs(t){return typeof t=="boolean"}function Fs(){return function(e){return qs(e)}}function qs(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,n=t.immutableCheck,a=n===void 0?!0:n,i=t.serializableCheck,c=i===void 0?!0:i,d=new Gs;if(r&&(Zs(r)?d.push(zo):d.push(zo.withExtraArgument(r.extraArgument))),0){if(a)var s;if(c)var f}return d}var jo=!0;function Oi(t){var e=Fs(),r=t||{},n=r.reducer,a=n===void 0?void 0:n,i=r.middleware,c=i===void 0?e():i,d=r.devTools,s=d===void 0?!0:d,f=r.preloadedState,h=f===void 0?void 0:f,p=r.enhancers,m=p===void 0?void 0:p,g;if(typeof a=="function")g=a;else if(Ks(a))g=pi(a);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 y=c;if(typeof y=="function"&&(y=y(e),!jo&&!Array.isArray(y)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!jo&&y.some(function(b){return typeof b!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=hi.apply(void 0,y),w=Qe;s&&(w=js(Se({trace:!jo},typeof s=="object"&&s)));var E=new Vs(v),C=E;Array.isArray(m)?C=et([v],m):typeof m=="function"&&(C=m(E));var x=w.apply(void 0,C);return Bo(g,h,x)}function Oe(t,e){function r(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(e){var i=e.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return Se(Se({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:n[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(n){return n.type===t},r}function wi(t){var e={},r=[],n,a={addCase:function(i,c){var d=typeof i=="string"?i:i.type;if(d in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[d]=c,a},addMatcher:function(i,c){return r.push({matcher:i,reducer:c}),a},addDefaultCase:function(i){return n=i,a}};return t(a),[e,r,n]}function Ys(t){return typeof t=="function"}function Js(t,e,r,n){r===void 0&&(r=[]);var a=typeof e=="function"?wi(e):[e,r,n],i=a[0],c=a[1],d=a[2],s;if(Ys(t))s=function(){return Go(t())};else{var f=Go(t);s=function(){return f}}function h(p,m){p===void 0&&(p=s());var g=et([i[m.type]],c.filter(function(y){var v=y.matcher;return v(m)}).map(function(y){var v=y.reducer;return v}));return g.filter(function(y){return!!y}).length===0&&(g=[d]),g.reduce(function(y,v){if(v)if(se(y)){var w=y,E=v(w,m);return E===void 0?y:E}else{if(F(y))return lr(y,function(C){return v(C,m)});var E=v(y,m);if(E===void 0){if(y===null)return y;throw Error("A case reducer on a non-draftable value must not return undefined")}return E}return y},p)}return h.getInitialState=s,h}function Xs(t,e){return t+"/"+e}function Ei(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:Go(t.initialState),n=t.reducers||{},a=Object.keys(n),i={},c={},d={};a.forEach(function(h){var p=n[h],m=Xs(e,h),g,y;"reducer"in p?(g=p.reducer,y=p.prepare):g=p,i[h]=g,c[m]=g,d[h]=y?Oe(m,y):Oe(m)});function s(){var h=typeof t.extraReducers=="function"?wi(t.extraReducers):[t.extraReducers],p=h[0],m=p===void 0?{}:p,g=h[1],y=g===void 0?[]:g,v=h[2],w=v===void 0?void 0:v,E=Se(Se({},m),c);return Js(r,function(C){for(var x in E)C.addCase(x,E[x]);for(var b=0,S=y;b<S.length;b++){var A=S[b];C.addMatcher(A.matcher,A.reducer)}w&&C.addDefaultCase(w)})}var f;return{name:e,reducer:function(h,p){return f||(f=s()),f(h,p)},actions:d,caseReducers:i,getInitialState:function(){return f||(f=s()),f.getInitialState()}}}var Qs="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",el=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=Qs[Math.random()*64|0];return e},tl=["name","message","stack","code"],Ko=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),xi=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),rl=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=tl;r<n.length;r++){var a=n[r];typeof t[a]=="string"&&(e[a]=t[a])}return e}return{message:String(t)}},Ih=function(){function t(e,r,n){var a=Oe(e+"/fulfilled",function(h,p,m,g){return{payload:h,meta:Ho(Se({},g||{}),{arg:m,requestId:p,requestStatus:"fulfilled"})}}),i=Oe(e+"/pending",function(h,p,m){return{payload:void 0,meta:Ho(Se({},m||{}),{arg:p,requestId:h,requestStatus:"pending"})}}),c=Oe(e+"/rejected",function(h,p,m,g,y){return{payload:g,error:(n&&n.serializeError||rl)(h||"Rejected"),meta:Ho(Se({},y||{}),{arg:m,requestId:p,rejectedWithValue:!!g,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),d=!1,s=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function f(h){return function(p,m,g){var y=n?.idGenerator?n.idGenerator(h):el(),v=new s,w,E=!1;function C(b){w=b,v.abort()}var x=function(){return Hs(this,null,function(){var b,S,A,P,D,L,N;return ks(this,function(R){switch(R.label){case 0:return R.trys.push([0,4,,5]),P=(b=n?.condition)==null?void 0:b.call(n,h,{getState:m,extra:g}),nl(P)?[4,P]:[3,2];case 1:P=R.sent(),R.label=2;case 2:if(P===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return E=!0,D=new Promise(function(_,U){return v.signal.addEventListener("abort",function(){return U({name:"AbortError",message:w||"Aborted"})})}),p(i(y,h,(S=n?.getPendingMeta)==null?void 0:S.call(n,{requestId:y,arg:h},{getState:m,extra:g}))),[4,Promise.race([D,Promise.resolve(r(h,{dispatch:p,getState:m,extra:g,requestId:y,signal:v.signal,abort:C,rejectWithValue:function(_,U){return new Ko(_,U)},fulfillWithValue:function(_,U){return new xi(_,U)}})).then(function(_){if(_ instanceof Ko)throw _;return _ instanceof xi?a(_.payload,y,h,_.meta):a(_,y,h)})])];case 3:return A=R.sent(),[3,5];case 4:return L=R.sent(),A=L instanceof Ko?c(null,y,h,L.payload,L.meta):c(L,y,h),[3,5];case 5:return N=n&&!n.dispatchConditionRejection&&c.match(A)&&A.meta.condition,N||p(A),[2,A]}})})}();return Object.assign(x,{abort:C,requestId:y,arg:h,unwrap:function(){return x.then(ol)}})}}return Object.assign(f,{pending:i,rejected:c,fulfilled:a,typePrefix:e})}return t.withTypes=function(){return t},t}();function ol(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function nl(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Ci="listener",Ni="completed",Ai="cancelled",Th="task-"+Ai,$h="task-"+Ni,Mh=Ci+"-"+Ai,kh=Ci+"-"+Ni;var Vo="listenerMiddleware";var Uh=Oe(Vo+"/add"),Wh=Oe(Vo+"/removeAll"),Dh=Oe(Vo+"/remove");var vi,Bh=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(vi||(vi=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},al=function(t){return function(e){setTimeout(e,t)}},zh=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:al(10);si();window.ftReduxStores||(window.ftReduxStores={});var Zo=class t{static get(e){var r;let n=typeof e=="string"?e:e.name,a=typeof e=="string"?void 0:e,i=window.ftReduxStores[n];if(We(i))return i;if(a==null)return;let c=Ei({...a,reducers:(r=a.reducers)!==null&&r!==void 0?r:{}}),d=Oi({reducer:(s,f)=>f.type==="CLEAR_FT_REDUX_STORE"?c.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...s,...f.overwrites}:c.reducer(s,f)});return window.ftReduxStores[a.name]=new t(c,d)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Et,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,a,i)=>{let c=a,d=n[c];return d?(...s)=>{let f=d(...s);return this.reduxStore.dispatch(f),f}:s=>{this.setState({[c]:s})}}})}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 il(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))We(e)&&e.clear()}var qo={};I(qo,{serializeRequest:()=>sl});function cl(t){return`"${t}"`}function sl(t,e){var r,n,a,i;let c=new URLSearchParams({"content-lang":(r=e.contentLocale)!==null&&r!==void 0?r:"all"});if(((n=e.query)===null||n===void 0?void 0:n.length)>0&&c.append("query",e.query),e.scope&&e.scope!=="DEFAULT"&&c.append("scope",e.scope.toLowerCase()),e.virtualField&&c.append("virtual-field",e.virtualField.toLowerCase()),e.periodFilter){let s=e.periodFilter.period,f=s?`_${s.from}_${s.to}`:"";c.append("period",e.periodFilter.periodType.toLowerCase()+f)}if(((a=e.sort)===null||a===void 0?void 0:a.length)>0&&e.sort[0].key==="ft:lastEdition"&&c.append("sort","last_update"),((i=e.filters)===null||i===void 0?void 0:i.length)>0){let s=e.filters.map(f=>{let h=f.values.map(p=>p.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(p=>encodeURIComponent(cl(p))).join("_");return`${f.key}~${h}`}).join("*");c.append("filters",s)}return new URL(`${t.replace(/\/+$/,"")}/search?${c.toString()}`).href}var Yo={};I(Yo,{toFtFormComponent:()=>ll});var ur=Symbol("elementInternals");function ll(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[ur].form}constructor(...a){super(a),this[ur]=this.attachInternals(),this[ur].role=e}setFormValue(a){this[ur].setFormValue(a)}}return r}var Jo,Xo,Qo,en,dl=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Qo=(Xo=(Jo=window.safari)===null||Jo===void 0?void 0:Jo.pushNotification)===null||Xo===void 0?void 0:Xo.toString())!==null&&Qo!==void 0?Qo:"")==="[object SafariRemoteNotification]",fl="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(en=window.ftGlobals)!==null&&en!==void 0?en:{lit:_r,litDecorators:Ir,litRepeat:Tr,litClassMap:$r,litStyleMap:Mr,litUnsafeHTML:Ur,wcUtils:{...zr,...Dr,...jr,...Kr,...Fr,...Yr,...eo,...uo,...qr,...mo,...Za,...Gr,...bo,...xo,...qa,...So,...Fo,...po,...qo,...Yo,isSafari:dl,isTouchScreen:fl}};var pr;(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;"})(pr||(pr={}));var O;(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;"})(O||(O={}));var tn=new Map([...["abw"].map(t=>[t,O.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,O.AUDIO]),...["avi"].map(t=>[t,O.AVI]),...["chm","xhs"].map(t=>[t,O.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,O.CODE]),...["csv"].map(t=>[t,O.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,O.DITA]),...["epub"].map(t=>[t,O.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,O.EXCEL]),...["flac"].map(t=>[t,O.FLAC]),...["gif"].map(t=>[t,O.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,O.GZIP]),...["html","htm","xhtml"].map(t=>[t,O.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,O.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,O.JPEG]),...["json"].map(t=>[t,O.JSON]),...["m4a","m4p"].map(t=>[t,O.M4A]),...["mov","qt"].map(t=>[t,O.MOV]),...["mp3"].map(t=>[t,O.MP3]),...["mp4","m4v"].map(t=>[t,O.MP4]),...["ogg","oga"].map(t=>[t,O.OGG]),...["pdf","ps"].map(t=>[t,O.PDF]),...["png"].map(t=>[t,O.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,O.POWERPOINT]),...["rar"].map(t=>[t,O.RAR]),...["stp"].map(t=>[t,O.STP]),...["txt","rtf","md","mdown"].map(t=>[t,O.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,O.VIDEO]),...["wav"].map(t=>[t,O.WAV]),...["wma"].map(t=>[t,O.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,O.WORD]),...["xml","xsl","rdf"].map(t=>[t,O.XML]),...["yaml","yml","x-yaml"].map(t=>[t,O.YAML]),...["zip"].map(t=>[t,O.ZIP])]),ul=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);function Sm(t,e){var r,n,a,i;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[c,d]=(((r=ul.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(i=(a=(n=tn.get(d))!==null&&n!==void 0?n:tn.get(e))!==null&&a!==void 0?a:tn.get(c))!==null&&i!==void 0?i:O.UNKNOWN}var Om={[O.ABW]:"#91ABC6",[O.AUDIO]:"#1795E3",[O.AVI]:"#E63324",[O.CHM]:"#71C3EB",[O.CODE]:"#71C3EB",[O.CSV]:"#1F7345",[O.DITA]:"#71C3EB",[O.EPUB]:"#85B926",[O.EXCEL]:"#1F7345",[O.FLAC]:"#1795E3",[O.GIF]:"#59B031",[O.GZIP]:"#F8AB36",[O.HTML]:"#71C3EB",[O.IMAGE]:"#59B031",[O.JPEG]:"#59B031",[O.JSON]:"#71C3EB",[O.M4A]:"#1795E3",[O.MOV]:"#E63324",[O.MP3]:"#1795E3",[O.MP4]:"#E63324",[O.OGG]:"#1795E3",[O.PDF]:"#E44948",[O.PNG]:"#59B031",[O.POWERPOINT]:"#B54A2B",[O.RAR]:"#F8AB36",[O.STP]:"#3764B1",[O.TEXT]:"#3162AB",[O.UNKNOWN]:"#999999",[O.VIDEO]:"#E63324",[O.WAV]:"#1795E3",[O.WMA]:"#1795E3",[O.WORD]:"#3162AB",[O.XML]:"#71C3EB",[O.YAML]:"#71C3EB",[O.ZIP]:"#F8AB36"};var le={size:o.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.extend("--ft-icon-fluid-topics-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.extend("--ft-icon-file-format-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.extend("--ft-icon-material-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ri=k`
42
+ `;var qa={};var So={};I(So,{ParametrizedLabelResolver:()=>vo});var vo=class{constructor(e,o){this.defaultLabels=e,this.labels=o}resolve(e,...o){var n,a;e=this.resolvePluralKey(e,o);let i=(a=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&a!==void 0?a:"";return o.forEach((c,d)=>i=i.replace(new RegExp(`\\{${d}([^}]*)\\}`,"g"),(s,f)=>this.formatValue(c,f))),i}resolvePluralKey(e,o){for(let n of o)if(typeof n=="number"){let a=`${String(e)}[\\=${n}]`;if(a in this.labels||a in this.defaultLabels)return a}return e}formatValue(e,o){return e instanceof Date?this.formatDate(e,o):e??""}formatDate(e,o){let n=a=>o?.includes("date")?e.toLocaleDateString(a):o?.includes("time")?e.toLocaleTimeString(a):e.toLocaleString(a);try{return n(document.documentElement.lang)}catch{return n()}}};var Fo={};I(Fo,{FtCommandQueue:()=>Et,FtLitElementRedux:()=>qe,FtReduxStore:()=>Zo,clearAllStores:()=>cl,isFtReduxStore:()=>We,redux:()=>ws,reduxEventListener:()=>Es,reduxReactive:()=>Os});var Os=()=>(t,e)=>{var o;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(e)},ws=t=>{let e=t??{};return(o,n)=>{var a;let i={hasChanged:(d,s)=>!he(d,s),attribute:!1,...e};B(i)(o,n);let c=o.constructor;c.reduxProperties=new Map(c.reduxProperties),c.reduxProperties.set(n,{selector:(a=e.selector)!==null&&a!==void 0?a:d=>d[n],store:e.store})}},Es=t=>(e,o)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,t)};var Et=class{constructor(){this.queue=[]}add(e,o=!1){o&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let o=this.queue.find(n=>n.type===e);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}};function We(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Ya,Ja,Xa,ar=Symbol("internalReduxEventsUnsubscribers"),ye=Symbol("internalStoresUnsubscribers"),De=Symbol("internalStores"),qe=class extends X{constructor(){super(...arguments),this[Ya]=new Map,this[Ja]=new Map,this[Xa]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(o=>e.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[De].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[De].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[De].get(e)}addStore(e,o){var n;o=(n=o??(We(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,e)}removeStore(e){let o=typeof e=="string"?e:e.name;this.unsubscribeFromStore(o),this[De].delete(o)}setupStore(e,o){this[De].set(e,o),this.subscribeToStore(e,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[De].forEach((e,o)=>this.subscribeToStore(o,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let a=this.getStore(e.store);a&&(e.store?this[ye].has(e.store):this[ye].size>0)&&(this[o]=e.selector(a.getState(),this))}})}subscribeToStore(e,o){var n;this[ye].set(e,o.subscribe(()=>this.updateFromStores())),We(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||o.name===a.store)){let c=d=>this[i](d);o.eventBus.addEventListener(a.eventName,c),this[ar].push(()=>o.eventBus.removeEventListener(a.eventName,c))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[ye].forEach((e,o)=>this.unsubscribeFromStore(o)),this[ar].forEach(e=>e()),this[ar]=[]}unsubscribeFromStore(e){this[ye].has(e)&&this[ye].get(e)(),this[ye].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Ya=ye,Ja=De,Xa=ar;qe.reduxProperties=new Map;qe.reduxReactiveProperties=new Set;qe.reduxEventListeners=new Map;function G(t){for(var e=arguments.length,o=Array(e>1?e-1:0),n=1;n<e;n++)o[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map(function(c){return"'"+c+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function se(t){return!!t&&!!t[T]}function F(t){var e;return!!t&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===Is}(t)||Array.isArray(t)||!!t[ai]||!!(!((e=t.constructor)===null||e===void 0)&&e[ai])||Po(t)||Lo(t))}function Be(t,e,o){o===void 0&&(o=!1),Xe(t)===0?(o?Object.keys:Je)(t).forEach(function(n){o&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,a){return e(a,n,t)})}function Xe(t){var e=t[T];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Po(t)?2:Lo(t)?3:0}function Ye(t,e){return Xe(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Cs(t,e){return Xe(t)===2?t.get(e):t[e]}function ii(t,e,o){var n=Xe(t);n===2?t.set(e,o):n===3?t.add(o):t[e]=o}function ci(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Po(t){return Ps&&t instanceof Map}function Lo(t){return Ls&&t instanceof Set}function be(t){return t.o||t.t}function Io(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=di(t);delete e[T];for(var o=Je(e),n=0;n<o.length;n++){var a=o[n],i=e[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[a]})}return Object.create(Object.getPrototypeOf(t),e)}function To(t,e){return e===void 0&&(e=!1),$o(t)||se(t)||!F(t)||(Xe(t)>1&&(t.set=t.add=t.clear=t.delete=Ns),Object.freeze(t),e&&Be(t,function(o,n){return To(n,!0)},!0)),t}function Ns(){G(2)}function $o(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Q(t){var e=_o[t];return e||G(18,t),e}function As(t,e){_o[t]||(_o[t]=e)}function No(){return Nt}function Oo(t,e){e&&(Q("Patches"),t.u=[],t.s=[],t.v=e)}function ir(t){Ao(t),t.p.forEach(Rs),t.p=null}function Ao(t){t===Nt&&(Nt=t.l)}function Qa(t){return Nt={p:[],l:Nt,h:t,m:!0,_:0}}function Rs(t){var e=t[T];e.i===0||e.i===1?e.j():e.g=!0}function wo(t,e){e._=e.p.length;var o=e.p[0],n=t!==void 0&&t!==o;return e.h.O||Q("ES5").S(e,t,n),n?(o[T].P&&(ir(e),G(4)),F(t)&&(t=cr(e,t),e.l||sr(e,t)),e.u&&Q("Patches").M(o[T].t,t,e.u,e.s)):t=cr(e,o,[]),ir(e),e.u&&e.v(e.u,e.s),t!==li?t:void 0}function cr(t,e,o){if($o(e))return e;var n=e[T];if(!n)return Be(e,function(d,s){return ei(t,n,e,d,s,o)},!0),e;if(n.A!==t)return e;if(!n.P)return sr(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Io(n.k):n.o,i=a,c=!1;n.i===3&&(i=new Set(a),a.clear(),c=!0),Be(i,function(d,s){return ei(t,n,a,d,s,o,c)}),sr(t,a,!1),o&&t.u&&Q("Patches").N(n,o,t.u,t.s)}return n.o}function ei(t,e,o,n,a,i,c){if(se(a)){var d=cr(t,a,i&&e&&e.i!==3&&!Ye(e.R,n)?i.concat(n):void 0);if(ii(o,n,d),!se(d))return;t.m=!1}else c&&o.add(a);if(F(a)&&!$o(a)){if(!t.h.D&&t._<1)return;cr(t,a),e&&e.A.l||sr(t,a)}}function sr(t,e,o){o===void 0&&(o=!1),!t.l&&t.h.D&&t.m&&To(e,o)}function Eo(t,e){var o=t[T];return(o?be(o):t)[e]}function ti(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var n=Object.getOwnPropertyDescriptor(o,e);if(n)return n;o=Object.getPrototypeOf(o)}}function xe(t){t.P||(t.P=!0,t.l&&xe(t.l))}function Co(t){t.o||(t.o=Io(t.t))}function Ro(t,e,o){var n=Po(e)?Q("MapSet").F(e,o):Lo(e)?Q("MapSet").T(e,o):t.O?function(a,i){var c=Array.isArray(a),d={i:c?1:0,A:i?i.A:No(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},s=d,f=At;c&&(s=[d],f=Ct);var h=Proxy.revocable(s,f),p=h.revoke,m=h.proxy;return d.k=m,d.j=p,m}(e,o):Q("ES5").J(e,o);return(o?o.A:No()).p.push(n),n}function _s(t){return se(t)||G(22,t),function e(o){if(!F(o))return o;var n,a=o[T],i=Xe(o);if(a){if(!a.P&&(a.i<4||!Q("ES5").K(a)))return a.t;a.I=!0,n=ri(o,i),a.I=!1}else n=ri(o,i);return Be(n,function(c,d){a&&Cs(a.t,c)===d||ii(n,c,e(d))}),i===3?new Set(n):n}(t)}function ri(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Io(t)}function si(){function t(c,d){var s=i[c];return s?s.enumerable=d:i[c]=s={configurable:!0,enumerable:d,get:function(){var f=this[T];return At.get(f,c)},set:function(f){var h=this[T];At.set(h,c,f)}},s}function e(c){for(var d=c.length-1;d>=0;d--){var s=c[d][T];if(!s.P)switch(s.i){case 5:n(s)&&xe(s);break;case 4:o(s)&&xe(s)}}}function o(c){for(var d=c.t,s=c.k,f=Je(s),h=f.length-1;h>=0;h--){var p=f[h];if(p!==T){var m=d[p];if(m===void 0&&!Ye(d,p))return!0;var g=s[p],y=g&&g[T];if(y?y.t!==m:!ci(g,m))return!0}}var v=!!d[T];return f.length!==Je(d).length+(v?0:1)}function n(c){var d=c.k;if(d.length!==c.t.length)return!0;var s=Object.getOwnPropertyDescriptor(d,d.length-1);if(s&&!s.get)return!0;for(var f=0;f<d.length;f++)if(!d.hasOwnProperty(f))return!0;return!1}function a(c){c.g&&G(3,JSON.stringify(be(c)))}var i={};As("ES5",{J:function(c,d){var s=Array.isArray(c),f=function(p,m){if(p){for(var g=Array(m.length),y=0;y<m.length;y++)Object.defineProperty(g,""+y,t(y,!0));return g}var v=di(m);delete v[T];for(var w=Je(v),E=0;E<w.length;E++){var C=w[E];v[C]=t(C,p||!!v[C].enumerable)}return Object.create(Object.getPrototypeOf(m),v)}(s,c),h={i:s?5:4,A:d?d.A:No(),P:!1,I:!1,R:{},l:d,t:c,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,T,{value:h,writable:!0}),f},S:function(c,d,s){s?se(d)&&d[T].A===c&&e(c.p):(c.u&&function f(h){if(h&&typeof h=="object"){var p=h[T];if(p){var m=p.t,g=p.k,y=p.R,v=p.i;if(v===4)Be(g,function(b){b!==T&&(m[b]!==void 0||Ye(m,b)?y[b]||f(g[b]):(y[b]=!0,xe(p)))}),Be(m,function(b){g[b]!==void 0||Ye(g,b)||(y[b]=!1,xe(p))});else if(v===5){if(n(p)&&(xe(p),y.length=!0),g.length<m.length)for(var w=g.length;w<m.length;w++)y[w]=!1;else for(var E=m.length;E<g.length;E++)y[E]=!0;for(var C=Math.min(g.length,m.length),x=0;x<C;x++)g.hasOwnProperty(x)||(y[x]=!0),y[x]===void 0&&f(g[x])}}}}(c.p[0]),e(c.p))},K:function(c){return c.i===4?o(c):n(c)}})}var oi,Nt,Mo=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Ps=typeof Map<"u",Ls=typeof Set<"u",ni=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",li=Mo?Symbol.for("immer-nothing"):((oi={})["immer-nothing"]=!0,oi),ai=Mo?Symbol.for("immer-draftable"):"__$immer_draftable",T=Mo?Symbol.for("immer-state"):"__$immer_state";var Is=""+Object.prototype.constructor,Je=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,di=Object.getOwnPropertyDescriptors||function(t){var e={};return Je(t).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)}),e},_o={},At={get:function(t,e){if(e===T)return t;var o=be(t);if(!Ye(o,e))return function(a,i,c){var d,s=ti(i,c);return s?"value"in s?s.value:(d=s.get)===null||d===void 0?void 0:d.call(a.k):void 0}(t,o,e);var n=o[e];return t.I||!F(n)?n:n===Eo(t.t,e)?(Co(t),t.o[e]=Ro(t.A.h,n,t)):n},has:function(t,e){return e in be(t)},ownKeys:function(t){return Reflect.ownKeys(be(t))},set:function(t,e,o){var n=ti(be(t),e);if(n?.set)return n.set.call(t.k,o),!0;if(!t.P){var a=Eo(be(t),e),i=a?.[T];if(i&&i.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(ci(o,a)&&(o!==void 0||Ye(t.t,e)))return!0;Co(t),xe(t)}return t.o[e]===o&&(o!==void 0||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 Eo(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Co(t),xe(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=be(t),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:o[e]}},defineProperty:function(){G(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){G(12)}},Ct={};Be(At,function(t,e){Ct[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Ct.deleteProperty=function(t,e){return Ct.set.call(this,t,e,void 0)},Ct.set=function(t,e,o){return At.set.call(this,t[0],e,o,t[0])};var Ts=function(){function t(o){var n=this;this.O=ni,this.D=!0,this.produce=function(a,i,c){if(typeof a=="function"&&typeof i!="function"){var d=i;i=a;var s=n;return function(v){var w=this;v===void 0&&(v=d);for(var E=arguments.length,C=Array(E>1?E-1:0),x=1;x<E;x++)C[x-1]=arguments[x];return s.produce(v,function(b){var S;return(S=i).call.apply(S,[w,b].concat(C))})}}var f;if(typeof i!="function"&&G(6),c!==void 0&&typeof c!="function"&&G(7),F(a)){var h=Qa(n),p=Ro(n,a,void 0),m=!0;try{f=i(p),m=!1}finally{m?ir(h):Ao(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(v){return Oo(h,c),wo(v,h)},function(v){throw ir(h),v}):(Oo(h,c),wo(f,h))}if(!a||typeof a!="object"){if((f=i(a))===void 0&&(f=a),f===li&&(f=void 0),n.D&&To(f,!0),c){var g=[],y=[];Q("Patches").M(a,f,g,y),c(g,y)}return f}G(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(f){for(var h=arguments.length,p=Array(h>1?h-1:0),m=1;m<h;m++)p[m-1]=arguments[m];return n.produceWithPatches(f,function(g){return a.apply(void 0,[g].concat(p))})};var c,d,s=n.produce(a,i,function(f,h){c=f,d=h});return typeof Promise<"u"&&s instanceof Promise?s.then(function(f){return[f,c,d]}):[s,c,d]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var e=t.prototype;return e.createDraft=function(o){F(o)||G(8),se(o)&&(o=_s(o));var n=Qa(this),a=Ro(this,o,void 0);return a[T].C=!0,Ao(n),a},e.finishDraft=function(o,n){var a=o&&o[T],i=a.A;return Oo(i,n),wo(void 0,i)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!ni&&G(20),this.O=o},e.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){o=i.value;break}}a>-1&&(n=n.slice(a+1));var c=Q("Patches").$;return se(o)?c(o,n):this.produce(o,function(d){return c(d,n)})},t}(),K=new Ts,$s=K.produce,uh=K.produceWithPatches.bind(K),ph=K.setAutoFreeze.bind(K),hh=K.setUseProxies.bind(K),mh=K.applyPatches.bind(K),gh=K.createDraft.bind(K),yh=K.finishDraft.bind(K),lr=$s;function ve(t){"@babel/helpers - typeof";return ve=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},ve(t)}function ko(t,e){if(ve(t)!=="object"||t===null)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var n=o.call(t,e||"default");if(ve(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Uo(t){var e=ko(t,"string");return ve(e)==="symbol"?e:String(e)}function Wo(t,e,o){return e=Uo(e),e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function fi(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),o.push.apply(o,n)}return o}function dr(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?fi(Object(o),!0).forEach(function(n){Wo(t,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):fi(Object(o)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))})}return t}function W(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 ui=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Do=function(){return Math.random().toString(36).substring(7).split("").join(".")},fr={INIT:"@@redux/INIT"+Do(),REPLACE:"@@redux/REPLACE"+Do(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Do()}};function Ms(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 Bo(t,e,o){var n;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(W(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(W(1));return o(Bo)(t,e)}if(typeof t!="function")throw new Error(W(2));var a=t,i=e,c=[],d=c,s=!1;function f(){d===c&&(d=c.slice())}function h(){if(s)throw new Error(W(3));return i}function p(v){if(typeof v!="function")throw new Error(W(4));if(s)throw new Error(W(5));var w=!0;return f(),d.push(v),function(){if(w){if(s)throw new Error(W(6));w=!1,f();var C=d.indexOf(v);d.splice(C,1),c=null}}}function m(v){if(!Ms(v))throw new Error(W(7));if(typeof v.type>"u")throw new Error(W(8));if(s)throw new Error(W(9));try{s=!0,i=a(i,v)}finally{s=!1}for(var w=c=d,E=0;E<w.length;E++){var C=w[E];C()}return v}function g(v){if(typeof v!="function")throw new Error(W(10));a=v,m({type:fr.REPLACE})}function y(){var v,w=p;return v={subscribe:function(C){if(typeof C!="object"||C===null)throw new Error(W(11));function x(){C.next&&C.next(h())}x();var b=w(x);return{unsubscribe:b}}},v[ui]=function(){return this},v}return m({type:fr.INIT}),n={dispatch:m,subscribe:p,getState:h,replaceReducer:g},n[ui]=y,n}function ks(t){Object.keys(t).forEach(function(e){var o=t[e],n=o(void 0,{type:fr.INIT});if(typeof n>"u")throw new Error(W(12));if(typeof o(void 0,{type:fr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(W(13))})}function pi(t){for(var e=Object.keys(t),o={},n=0;n<e.length;n++){var a=e[n];typeof t[a]=="function"&&(o[a]=t[a])}var i=Object.keys(o),c,d;try{ks(o)}catch(s){d=s}return function(f,h){if(f===void 0&&(f={}),d)throw d;if(0)var p;for(var m=!1,g={},y=0;y<i.length;y++){var v=i[y],w=o[v],E=f[v],C=w(E,h);if(typeof C>"u"){var x=h&&h.type;throw new Error(W(14))}g[v]=C,m=m||C!==E}return m=m||i.length!==Object.keys(f).length,m?g:f}}function Qe(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function hi(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(W(15))},c={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},d=e.map(function(s){return s(c)});return i=Qe.apply(void 0,d)(a.dispatch),dr(dr({},a),{},{dispatch:i})}}}function mi(t){var e=function(n){var a=n.dispatch,i=n.getState;return function(c){return function(d){return typeof d=="function"?d(a,i,t):c(d)}}};return e}var gi=mi();gi.withExtraArgument=mi;var zo=gi;var Si=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,o)};return function(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(e,o);function n(){this.constructor=e}e.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),Us=function(t,e){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,c;return c={next:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function d(f){return function(h){return s([f,h])}}function s(f){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(i=f[0]&2?a.return:f[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,f[1])).done)return i;switch(a=0,i&&(f=[f[0]&2,i.value]),f[0]){case 0:case 1:i=f;break;case 4:return o.label++,{value:f[1],done:!1};case 5:o.label++,a=f[1],f=[0];continue;case 7:f=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(f[0]===6||f[0]===2)){o=0;continue}if(f[0]===3&&(!i||f[1]>i[0]&&f[1]<i[3])){o.label=f[1];break}if(f[0]===6&&o.label<i[1]){o.label=i[1],i=f;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(f);break}i[2]&&o.ops.pop(),o.trys.pop();continue}f=e.call(t,o)}catch(h){f=[6,h],a=0}finally{n=i=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},et=function(t,e){for(var o=0,n=e.length,a=t.length;o<n;o++,a++)t[a]=e[o];return t},Ws=Object.defineProperty,Ds=Object.defineProperties,Bs=Object.getOwnPropertyDescriptors,yi=Object.getOwnPropertySymbols,zs=Object.prototype.hasOwnProperty,Hs=Object.prototype.propertyIsEnumerable,bi=function(t,e,o){return e in t?Ws(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Se=function(t,e){for(var o in e||(e={}))zs.call(e,o)&&bi(t,o,e[o]);if(yi)for(var n=0,a=yi(e);n<a.length;n++){var o=a[n];Hs.call(e,o)&&bi(t,o,e[o])}return t},Ho=function(t,e){return Ds(t,Bs(e))},js=function(t,e,o){return new Promise(function(n,a){var i=function(s){try{d(o.next(s))}catch(f){a(f)}},c=function(s){try{d(o.throw(s))}catch(f){a(f)}},d=function(s){return s.done?n(s.value):Promise.resolve(s.value).then(i,c)};d((o=o.apply(t,e)).next())})};var Ks=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Qe:Qe.apply(null,arguments)},Mh=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Gs(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var o=e;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return e===o}var Vs=function(t){Si(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=t.apply(this,o)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,et([void 0],o[0].concat(this)))):new(e.bind.apply(e,et([void 0],o.concat(this))))},e}(Array),Zs=function(t){Si(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=t.apply(this,o)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,et([void 0],o[0].concat(this)))):new(e.bind.apply(e,et([void 0],o.concat(this))))},e}(Array);function Go(t){return F(t)?lr(t,function(){}):t}function Fs(t){return typeof t=="boolean"}function qs(){return function(e){return Ys(e)}}function Ys(t){t===void 0&&(t={});var e=t.thunk,o=e===void 0?!0:e,n=t.immutableCheck,a=n===void 0?!0:n,i=t.serializableCheck,c=i===void 0?!0:i,d=new Vs;if(o&&(Fs(o)?d.push(zo):d.push(zo.withExtraArgument(o.extraArgument))),0){if(a)var s;if(c)var f}return d}var jo=!0;function Oi(t){var e=qs(),o=t||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,c=i===void 0?e():i,d=o.devTools,s=d===void 0?!0:d,f=o.preloadedState,h=f===void 0?void 0:f,p=o.enhancers,m=p===void 0?void 0:p,g;if(typeof a=="function")g=a;else if(Gs(a))g=pi(a);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 y=c;if(typeof y=="function"&&(y=y(e),!jo&&!Array.isArray(y)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!jo&&y.some(function(b){return typeof b!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=hi.apply(void 0,y),w=Qe;s&&(w=Ks(Se({trace:!jo},typeof s=="object"&&s)));var E=new Zs(v),C=E;Array.isArray(m)?C=et([v],m):typeof m=="function"&&(C=m(E));var x=w.apply(void 0,C);return Bo(g,h,x)}function Oe(t,e){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(e){var i=e.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return Se(Se({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:n[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(n){return n.type===t},o}function wi(t){var e={},o=[],n,a={addCase:function(i,c){var d=typeof i=="string"?i:i.type;if(d in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[d]=c,a},addMatcher:function(i,c){return o.push({matcher:i,reducer:c}),a},addDefaultCase:function(i){return n=i,a}};return t(a),[e,o,n]}function Js(t){return typeof t=="function"}function Xs(t,e,o,n){o===void 0&&(o=[]);var a=typeof e=="function"?wi(e):[e,o,n],i=a[0],c=a[1],d=a[2],s;if(Js(t))s=function(){return Go(t())};else{var f=Go(t);s=function(){return f}}function h(p,m){p===void 0&&(p=s());var g=et([i[m.type]],c.filter(function(y){var v=y.matcher;return v(m)}).map(function(y){var v=y.reducer;return v}));return g.filter(function(y){return!!y}).length===0&&(g=[d]),g.reduce(function(y,v){if(v)if(se(y)){var w=y,E=v(w,m);return E===void 0?y:E}else{if(F(y))return lr(y,function(C){return v(C,m)});var E=v(y,m);if(E===void 0){if(y===null)return y;throw Error("A case reducer on a non-draftable value must not return undefined")}return E}return y},p)}return h.getInitialState=s,h}function Qs(t,e){return t+"/"+e}function Ei(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof t.initialState=="function"?t.initialState:Go(t.initialState),n=t.reducers||{},a=Object.keys(n),i={},c={},d={};a.forEach(function(h){var p=n[h],m=Qs(e,h),g,y;"reducer"in p?(g=p.reducer,y=p.prepare):g=p,i[h]=g,c[m]=g,d[h]=y?Oe(m,y):Oe(m)});function s(){var h=typeof t.extraReducers=="function"?wi(t.extraReducers):[t.extraReducers],p=h[0],m=p===void 0?{}:p,g=h[1],y=g===void 0?[]:g,v=h[2],w=v===void 0?void 0:v,E=Se(Se({},m),c);return Xs(o,function(C){for(var x in E)C.addCase(x,E[x]);for(var b=0,S=y;b<S.length;b++){var A=S[b];C.addMatcher(A.matcher,A.reducer)}w&&C.addDefaultCase(w)})}var f;return{name:e,reducer:function(h,p){return f||(f=s()),f(h,p)},actions:d,caseReducers:i,getInitialState:function(){return f||(f=s()),f.getInitialState()}}}var el="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",tl=function(t){t===void 0&&(t=21);for(var e="",o=t;o--;)e+=el[Math.random()*64|0];return e},rl=["name","message","stack","code"],Ko=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),xi=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),ol=function(t){if(typeof t=="object"&&t!==null){for(var e={},o=0,n=rl;o<n.length;o++){var a=n[o];typeof t[a]=="string"&&(e[a]=t[a])}return e}return{message:String(t)}},Dh=function(){function t(e,o,n){var a=Oe(e+"/fulfilled",function(h,p,m,g){return{payload:h,meta:Ho(Se({},g||{}),{arg:m,requestId:p,requestStatus:"fulfilled"})}}),i=Oe(e+"/pending",function(h,p,m){return{payload:void 0,meta:Ho(Se({},m||{}),{arg:p,requestId:h,requestStatus:"pending"})}}),c=Oe(e+"/rejected",function(h,p,m,g,y){return{payload:g,error:(n&&n.serializeError||ol)(h||"Rejected"),meta:Ho(Se({},y||{}),{arg:m,requestId:p,rejectedWithValue:!!g,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),d=!1,s=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function f(h){return function(p,m,g){var y=n?.idGenerator?n.idGenerator(h):tl(),v=new s,w,E=!1;function C(b){w=b,v.abort()}var x=function(){return js(this,null,function(){var b,S,A,P,D,L,N;return Us(this,function(R){switch(R.label){case 0:return R.trys.push([0,4,,5]),P=(b=n?.condition)==null?void 0:b.call(n,h,{getState:m,extra:g}),al(P)?[4,P]:[3,2];case 1:P=R.sent(),R.label=2;case 2:if(P===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return E=!0,D=new Promise(function(_,U){return v.signal.addEventListener("abort",function(){return U({name:"AbortError",message:w||"Aborted"})})}),p(i(y,h,(S=n?.getPendingMeta)==null?void 0:S.call(n,{requestId:y,arg:h},{getState:m,extra:g}))),[4,Promise.race([D,Promise.resolve(o(h,{dispatch:p,getState:m,extra:g,requestId:y,signal:v.signal,abort:C,rejectWithValue:function(_,U){return new Ko(_,U)},fulfillWithValue:function(_,U){return new xi(_,U)}})).then(function(_){if(_ instanceof Ko)throw _;return _ instanceof xi?a(_.payload,y,h,_.meta):a(_,y,h)})])];case 3:return A=R.sent(),[3,5];case 4:return L=R.sent(),A=L instanceof Ko?c(null,y,h,L.payload,L.meta):c(L,y,h),[3,5];case 5:return N=n&&!n.dispatchConditionRejection&&c.match(A)&&A.meta.condition,N||p(A),[2,A]}})})}();return Object.assign(x,{abort:C,requestId:y,arg:h,unwrap:function(){return x.then(nl)}})}}return Object.assign(f,{pending:i,rejected:c,fulfilled:a,typePrefix:e})}return t.withTypes=function(){return t},t}();function nl(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function al(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Ci="listener",Ni="completed",Ai="cancelled",Bh="task-"+Ai,zh="task-"+Ni,Hh=Ci+"-"+Ai,jh=Ci+"-"+Ni;var Vo="listenerMiddleware";var Kh=Oe(Vo+"/add"),Gh=Oe(Vo+"/removeAll"),Vh=Oe(Vo+"/remove");var vi,Zh=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(vi||(vi=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},il=function(t){return function(e){setTimeout(e,t)}},Fh=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:il(10);si();window.ftReduxStores||(window.ftReduxStores={});var Zo=class t{static get(e){var o;let n=typeof e=="string"?e:e.name,a=typeof e=="string"?void 0:e,i=window.ftReduxStores[n];if(We(i))return i;if(a==null)return;let c=Ei({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),d=Oi({reducer:(s,f)=>f.type==="CLEAR_FT_REDUX_STORE"?c.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...s,...f.overwrites}:c.reducer(s,f)});return window.ftReduxStores[a.name]=new t(c,d)}constructor(e,o){this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Et,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,a,i)=>{let c=a,d=n[c];return d?(...s)=>{let f=d(...s);return this.reduxStore.dispatch(f),f}:s=>{this.setState({[c]:s})}}})}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 cl(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))We(e)&&e.clear()}var qo={};I(qo,{serializeRequest:()=>ll});function sl(t){return`"${t}"`}function ll(t,e){var o,n,a,i;let c=new URLSearchParams({"content-lang":(o=e.contentLocale)!==null&&o!==void 0?o:"all"});if(((n=e.query)===null||n===void 0?void 0:n.length)>0&&c.append("query",e.query),e.scope&&e.scope!=="DEFAULT"&&c.append("scope",e.scope.toLowerCase()),e.virtualField&&c.append("virtual-field",e.virtualField.toLowerCase()),e.periodFilter){let s=e.periodFilter.period,f=s?`_${s.from}_${s.to}`:"";c.append("period",e.periodFilter.periodType.toLowerCase()+f)}if(((a=e.sort)===null||a===void 0?void 0:a.length)>0&&e.sort[0].key==="ft:lastEdition"&&c.append("sort","last_update"),((i=e.filters)===null||i===void 0?void 0:i.length)>0){let s=e.filters.map(f=>{let h=f.values.map(p=>p.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(p=>encodeURIComponent(sl(p))).join("_");return`${f.key}~${h}`}).join("*");c.append("filters",s)}return new URL(`${t.replace(/\/+$/,"")}/search?${c.toString()}`).href}var Yo={};I(Yo,{toFtFormComponent:()=>dl});var ur=Symbol("elementInternals");function dl(t,e){class o extends t{static get formAssociated(){return!0}get form(){return this[ur].form}constructor(...a){super(a),this[ur]=this.attachInternals(),this[ur].role=e}setFormValue(a){this[ur].setFormValue(a)}}return o}var Jo,Xo,Qo,en,fl=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Qo=(Xo=(Jo=window.safari)===null||Jo===void 0?void 0:Jo.pushNotification)===null||Xo===void 0?void 0:Xo.toString())!==null&&Qo!==void 0?Qo:"")==="[object SafariRemoteNotification]",ul="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(en=window.ftGlobals)!==null&&en!==void 0?en:{lit:_r,litDecorators:Ir,litRepeat:Tr,litClassMap:$r,litStyleMap:Mr,litUnsafeHTML:Ur,wcUtils:{...zr,...Dr,...jr,...Kr,...Fr,...Yr,...eo,...uo,...qr,...mo,...Za,...Gr,...bo,...xo,...qa,...So,...Fo,...po,...qo,...Yo,isSafari:fl,isTouchScreen:ul}};var pr;(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;"})(pr||(pr={}));var O;(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;"})(O||(O={}));var tn=new Map([...["abw"].map(t=>[t,O.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,O.AUDIO]),...["avi"].map(t=>[t,O.AVI]),...["chm","xhs"].map(t=>[t,O.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,O.CODE]),...["csv"].map(t=>[t,O.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,O.DITA]),...["epub"].map(t=>[t,O.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,O.EXCEL]),...["flac"].map(t=>[t,O.FLAC]),...["gif"].map(t=>[t,O.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,O.GZIP]),...["html","htm","xhtml"].map(t=>[t,O.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,O.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,O.JPEG]),...["json"].map(t=>[t,O.JSON]),...["m4a","m4p"].map(t=>[t,O.M4A]),...["mov","qt"].map(t=>[t,O.MOV]),...["mp3"].map(t=>[t,O.MP3]),...["mp4","m4v"].map(t=>[t,O.MP4]),...["ogg","oga"].map(t=>[t,O.OGG]),...["pdf","ps"].map(t=>[t,O.PDF]),...["png"].map(t=>[t,O.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,O.POWERPOINT]),...["rar"].map(t=>[t,O.RAR]),...["stp"].map(t=>[t,O.STP]),...["txt","rtf","md","mdown"].map(t=>[t,O.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,O.VIDEO]),...["wav"].map(t=>[t,O.WAV]),...["wma"].map(t=>[t,O.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,O.WORD]),...["xml","xsl","rdf"].map(t=>[t,O.XML]),...["yaml","yml","x-yaml"].map(t=>[t,O.YAML]),...["zip"].map(t=>[t,O.ZIP])]),pl=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);function Rm(t,e){var o,n,a,i;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[c,d]=(((o=pl.get(t))!==null&&o!==void 0?o:t)+"/").split("/");return(i=(a=(n=tn.get(d))!==null&&n!==void 0?n:tn.get(e))!==null&&a!==void 0?a:tn.get(c))!==null&&i!==void 0?i:O.UNKNOWN}var _m={[O.ABW]:"#91ABC6",[O.AUDIO]:"#1795E3",[O.AVI]:"#E63324",[O.CHM]:"#71C3EB",[O.CODE]:"#71C3EB",[O.CSV]:"#1F7345",[O.DITA]:"#71C3EB",[O.EPUB]:"#85B926",[O.EXCEL]:"#1F7345",[O.FLAC]:"#1795E3",[O.GIF]:"#59B031",[O.GZIP]:"#F8AB36",[O.HTML]:"#71C3EB",[O.IMAGE]:"#59B031",[O.JPEG]:"#59B031",[O.JSON]:"#71C3EB",[O.M4A]:"#1795E3",[O.MOV]:"#E63324",[O.MP3]:"#1795E3",[O.MP4]:"#E63324",[O.OGG]:"#1795E3",[O.PDF]:"#E44948",[O.PNG]:"#59B031",[O.POWERPOINT]:"#B54A2B",[O.RAR]:"#F8AB36",[O.STP]:"#3764B1",[O.TEXT]:"#3162AB",[O.UNKNOWN]:"#999999",[O.VIDEO]:"#E63324",[O.WAV]:"#1795E3",[O.WMA]:"#1795E3",[O.WORD]:"#3162AB",[O.XML]:"#71C3EB",[O.YAML]:"#71C3EB",[O.ZIP]:"#F8AB36"};var le={size:r.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:r.extend("--ft-icon-fluid-topics-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:r.extend("--ft-icon-file-format-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:r.extend("--ft-icon-material-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:r.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Ri=k`
43
43
  :host, i.ft-icon {
44
44
  display: inline-flex;
45
45
  align-items: center;
@@ -87,12 +87,12 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
87
87
  .ft-icon--material {
88
88
  font-family: ${le.materialFontFamily}, "Material Icons", sans-serif;
89
89
  }
90
- `;var we;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(we||(we={}));var hr=function(t,e,r,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,r,n);else for(var d=t.length-1;d>=0;d--)(c=t[d])&&(i=(a<3?c(i):a>3?c(e,r,i):c(e,r))||i);return a>3&&i&&Object.defineProperty(e,r,i),i},ee=class extends X{constructor(){super(...arguments),this.resolvedIcon=$}render(){let e=this.variant&&Object.values(we).includes(this.variant)?this.variant:we.fluid_topics,r=e!==we.material||!!this.value;return Ar`
90
+ `;var we;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(we||(we={}));var hr=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var d=t.length-1;d>=0;d--)(c=t[d])&&(i=(a<3?c(i):a>3?c(e,o,i):c(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},ee=class extends X{constructor(){super(...arguments),this.resolvedIcon=$}render(){let e=this.variant&&Object.values(we).includes(this.variant)?this.variant:we.fluid_topics,o=e!==we.material||!!this.value;return Ar`
91
91
  <i class="ft-icon ft-icon--${e}" part="icon icon-${e}">
92
92
  ${kr(this.resolvedIcon)}
93
- <slot ?hidden=${r}></slot>
93
+ <slot ?hidden=${o}></slot>
94
94
  </i>
95
- `}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.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 n=this.value||this.textContent;switch(this.variant){case we.file_format:this.resolvedIcon=(e=O[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case we.material:this.resolvedIcon=this.value||$;break;default:this.resolvedIcon=(r=pr[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};ee.elementDefinitions={};ee.styles=Ri;hr([B()],ee.prototype,"variant",void 0);hr([B()],ee.prototype,"value",void 0);hr([Pr()],ee.prototype,"resolvedIcon",void 0);hr([Lr("slot")],ee.prototype,"slottedContent",void 0);Vr("ft-icon")(ee);})();
95
+ `}get textContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(e){super.update(e),["value","variant"].some(o=>e.has(o))&&this.resolveIcon()}resolveIcon(){var e,o;let n=this.value||this.textContent;switch(this.variant){case we.file_format:this.resolvedIcon=(e=O[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case we.material:this.resolvedIcon=this.value||$;break;default:this.resolvedIcon=(o=pr[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};ee.elementDefinitions={};ee.styles=Ri;hr([B()],ee.prototype,"variant",void 0);hr([B()],ee.prototype,"value",void 0);hr([Pr()],ee.prototype,"resolvedIcon",void 0);hr([Lr("slot")],ee.prototype,"slottedContent",void 0);Vr("ft-icon")(ee);})();
96
96
  /*! Bundled license information:
97
97
 
98
98
  @webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js: