@fluid-topics/ft-number-field 1.1.112 → 1.1.114

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,14 @@
1
- "use strict";(()=>{var Us=Object.defineProperty;var k=(o,e)=>{for(var r in e)Us(o,r,{get:e[r],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let o=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,c=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(b,x){if(b=b.toLowerCase(),this._getDefinition(b)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${b}" has already been used with this registry`);if(this._definitionsByClass.get(x)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let S=x.prototype.attributeChangedCallback,A=new Set(x.observedAttributes||[]);m(x,A,S);let L={elementClass:x,connectedCallback:x.prototype.connectedCallback,disconnectedCallback:x.prototype.disconnectedCallback,adoptedCallback:x.prototype.adoptedCallback,attributeChangedCallback:S,formAssociated:x.formAssociated,formAssociatedCallback:x.prototype.formAssociatedCallback,formDisabledCallback:x.prototype.formDisabledCallback,formResetCallback:x.prototype.formResetCallback,formStateRestoreCallback:x.prototype.formStateRestoreCallback,observedAttributes:A};this._definitionsByTag.set(b,L),this._definitionsByClass.set(x,L);let K=r.call(n,b);K||(K=u(b),e.call(n,b,K)),this===window.customElements&&(s.set(x,L),L.standInClass=K);let T=this._awaitingUpgrade.get(b);if(T){this._awaitingUpgrade.delete(b);for(let R of T)a.delete(R),y(R,L,!0)}let N=this._whenDefinedPromises.get(b);return N!==void 0&&(N.resolve(x),this._whenDefinedPromises.delete(b)),x}upgrade(){O.push(this),n.upgrade.apply(n,arguments),O.pop()}get(b){return this._definitionsByTag.get(b)?.elementClass}_getDefinition(b){return this._definitionsByTag.get(b)}whenDefined(b){let x=this._getDefinition(b);if(x!==void 0)return Promise.resolve(x.elementClass);let S=this._whenDefinedPromises.get(b);return S===void 0&&(S={},S.promise=new Promise(A=>S.resolve=A),this._whenDefinedPromises.set(b,S)),S.promise}_upgradeWhenDefined(b,x,S){let A=this._awaitingUpgrade.get(x);A||this._awaitingUpgrade.set(x,A=new Set),S?A.add(b):A.delete(b)}};let d;window.HTMLElement=function(){let x=d;if(x)return d=void 0,x;let S=s.get(this.constructor);if(!S)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return x=Reflect.construct(o,[],S.standInClass),Object.setPrototypeOf(x,this.constructor.prototype),i.set(x,S),x},window.HTMLElement.prototype=o.prototype;let f=b=>b===document||b instanceof ShadowRoot,h=b=>{let x=b.getRootNode();if(!f(x)){let S=O[O.length-1];if(S instanceof CustomElementRegistry)return S;x=S.getRootNode(),f(x)||(x=c.get(x)?.getRootNode()||document)}return x.customElements},u=b=>class{static get formAssociated(){return!0}constructor(){let S=Reflect.construct(o,[],this.constructor);Object.setPrototypeOf(S,HTMLElement.prototype);let A=h(S)||window.customElements,L=A._getDefinition(b);return L?y(S,L):a.set(S,A),S}connectedCallback(){let S=i.get(this);S?S.connectedCallback&&S.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,b,!0)}disconnectedCallback(){let S=i.get(this);S?S.disconnectedCallback&&S.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,b,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let S=i.get(this);S&&S.formAssociated&&S?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let S=i.get(this);S?.formAssociated&&S?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let S=i.get(this);S?.formAssociated&&S?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let S=i.get(this);S?.formAssociated&&S?.formStateRestoreCallback?.apply(this,arguments)}},m=(b,x,S)=>{if(x.size===0||S===void 0)return;let A=b.prototype.setAttribute;A&&(b.prototype.setAttribute=function(T,N){let R=T.toLowerCase();if(x.has(R)){let _=this.getAttribute(R);A.call(this,R,N),S.call(this,R,_,N)}else A.call(this,R,N)});let L=b.prototype.removeAttribute;L&&(b.prototype.removeAttribute=function(T){let N=T.toLowerCase();if(x.has(N)){let R=this.getAttribute(N);L.call(this,N),S.call(this,N,R,null)}else L.call(this,N)});let K=b.prototype.toggleAttribute;K&&(b.prototype.toggleAttribute=function(T,N){let R=T.toLowerCase();if(x.has(R)){let _=this.getAttribute(R);K.call(this,R,N);let j=this.getAttribute(R);S.call(this,R,_,j)}else K.call(this,R,N)})},g=b=>{let x=Object.getPrototypeOf(b);if(x!==window.HTMLElement)return x===o?Object.setPrototypeOf(b,window.HTMLElement):g(x)},y=(b,x,S=!1)=>{Object.setPrototypeOf(b,x.elementClass.prototype),i.set(b,x),d=b;try{new x.elementClass}catch{g(x.elementClass),new x.elementClass}x.attributeChangedCallback&&x.observedAttributes.forEach(A=>{b.hasAttribute(A)&&x.attributeChangedCallback.call(b,A,null,b.getAttribute(A))}),S&&x.connectedCallback&&b.isConnected&&x.connectedCallback.call(b)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(b){let x=v.apply(this,arguments);return b.customElements&&(x.customElements=b.customElements),x};let O=[document],w=(b,x,S=void 0)=>{let A=(S?Object.getPrototypeOf(S):b.prototype)[x];b.prototype[x]=function(){O.push(this);let L=A.apply(S||this,arguments);return L!==void 0&&c.set(L,this),O.pop(),L}};w(ShadowRoot,"createElement",document),w(ShadowRoot,"importNode",document),w(Element,"insertAdjacentHTML");let C=(b,x)=>{let S=Object.getOwnPropertyDescriptor(b.prototype,x);Object.defineProperty(b.prototype,x,{...S,set(A){O.push(this),S.set.call(this,A),O.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 b=new WeakMap,x=HTMLElement.prototype.attachInternals,S=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...T){let N=x.call(this,...T);return b.set(N,this),N},S.forEach(T=>{let N=window.ElementInternals.prototype,R=N[T];N[T]=function(..._){let j=b.get(this);if(i.get(j).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 L{constructor(N){let R=new Map;N.forEach((_,j)=>{let Kr=_.getAttribute("name"),fi=R.get(Kr)||[];this[+j]=_,fi.push(_),R.set(Kr,fi)}),this.length=N.length,R.forEach((_,j)=>{_&&(_.length===1?this[j]=_[0]:this[j]=new A(_))})}namedItem(N){return this[N]}}let K=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let T=K.get.call(this,[]),N=[];for(let R of T){let _=i.get(R);(!_||_.formAssociated===!0)&&N.push(R)}return new L(N)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,n,i)=>{if(n!==null)try{e.bind(window.customElements)(r,n,i)}catch(a){console.info(r,n,i,a)}}}var ao={};k(ao,{CSSResult:()=>nt,LitElement:()=>me,ReactiveElement:()=>ae,_$LE:()=>fc,_$LH:()=>cc,adoptStyles:()=>br,css:()=>$,defaultConverter:()=>xr,getCompatibleStyle:()=>kt,html:()=>se,isServer:()=>Zd,noChange:()=>Ee,notEqual:()=>eo,nothing:()=>z,render:()=>io,supportsAdoptingStyleSheets:()=>_t,svg:()=>sc,unsafeCSS:()=>je});var nr=globalThis,ar=nr.ShadowRoot&&(nr.ShadyCSS===void 0||nr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ui=Symbol(),pi=new WeakMap,ir=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==ui)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(ar&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=pi.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&pi.set(r,e))}return e}toString(){return this.cssText}},hi=o=>new ir(typeof o=="string"?o:o+"",void 0,ui);var Gr=(o,e)=>{if(ar)o.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=nr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,o.appendChild(n)}},sr=ar?o=>o:o=>o instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return hi(r)})(o):o;var{is:Bs,defineProperty:Hs,getOwnPropertyDescriptor:js,getOwnPropertyNames:Vs,getOwnPropertySymbols:Zs,getPrototypeOf:Ks}=Object,cr=globalThis,mi=cr.trustedTypes,Gs=mi?mi.emptyScript:"",qs=cr.reactiveElementPolyfillSupport,Nt=(o,e)=>o,At={toAttribute(o,e){switch(e){case Boolean:o=o?Gs:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,e){let r=o;switch(e){case Boolean:r=o!==null;break;case Number:r=o===null?null:Number(o);break;case Object:case Array:try{r=JSON.parse(o)}catch{r=null}}return r}},lr=(o,e)=>!Bs(o,e),gi={attribute:!0,type:String,converter:At,reflect:!1,hasChanged:lr};Symbol.metadata??=Symbol("metadata"),cr.litPropertyMetadata??=new WeakMap;var Me=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=gi){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&Hs(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=js(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??gi}static _$Ei(){if(this.hasOwnProperty(Nt("elementProperties")))return;let e=Ks(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Nt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Nt("properties"))){let r=this.properties,n=[...Vs(r),...Zs(r)];for(let i of n)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,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 i of n)r.unshift(sr(i))}else e!==void 0&&r.push(sr(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),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:At).toAttribute(r,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,r){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:At;this._$Em=i,this[i]=s.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(e,r,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??lr)(i?a: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[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(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){}};Me.elementStyles=[],Me.shadowRootOptions={mode:"open"},Me[Nt("elementProperties")]=new Map,Me[Nt("finalized")]=new Map,qs?.({ReactiveElement:Me}),(cr.reactiveElementVersions??=[]).push("2.0.2");var Yr=globalThis,dr=Yr.trustedTypes,yi=dr?dr.createPolicy("lit-html",{createHTML:o=>o}):void 0,Jr="$lit$",ue=`lit$${(Math.random()+"").slice(9)}$`,Xr="?"+ue,Ys=`<${Xr}>`,Ue=document,fr=()=>Ue.createComment(""),$t=o=>o===null||typeof o!="object"&&typeof o!="function",wi=Array.isArray,Ci=o=>wi(o)||typeof o?.[Symbol.iterator]=="function",qr=`[
2
- \f\r]`,Rt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,bi=/-->/g,xi=/>/g,ze=RegExp(`>|${qr}(?:([^\\s"'>=/]+)(${qr}*=${qr}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),vi=/'/g,Si=/"/g,Ei=/^(?:script|style|textarea|title)$/i,Ni=o=>(e,...r)=>({_$litType$:o,strings:e,values:r}),Ai=Ni(1),Ri=Ni(2),Y=Symbol.for("lit-noChange"),U=Symbol.for("lit-nothing"),Oi=new WeakMap,De=Ue.createTreeWalker(Ue,129);function $i(o,e){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return yi!==void 0?yi.createHTML(e):e}var Pi=(o,e)=>{let r=o.length-1,n=[],i,a=e===2?"<svg>":"",s=Rt;for(let c=0;c<r;c++){let d=o[c],f,h,u=-1,m=0;for(;m<d.length&&(s.lastIndex=m,h=s.exec(d),h!==null);)m=s.lastIndex,s===Rt?h[1]==="!--"?s=bi:h[1]!==void 0?s=xi:h[2]!==void 0?(Ei.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=ze):h[3]!==void 0&&(s=ze):s===ze?h[0]===">"?(s=i??Rt,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,f=h[1],s=h[3]===void 0?ze:h[3]==='"'?Si:vi):s===Si||s===vi?s=ze:s===bi||s===xi?s=Rt:(s=ze,i=void 0);let g=s===ze&&o[c+1].startsWith("/>")?" ":"";a+=s===Rt?d+Ys:u>=0?(n.push(f),d.slice(0,u)+Jr+d.slice(u)+ue+g):d+ue+(u===-2?c:g)}return[$i(o,a+(o[r]||"<?>")+(e===2?"</svg>":"")),n]},Pt=class o{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,d=this.parts,[f,h]=Pi(e,r);if(this.el=o.createElement(f,n),De.currentNode=this.el.content,r===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=De.nextNode())!==null&&d.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(Jr)){let m=h[s++],g=i.getAttribute(u).split(ue),y=/([.?@])?(.*)/.exec(m);d.push({type:1,index:a,name:y[2],strings:g,ctor:y[1]==="."?ur:y[1]==="?"?hr:y[1]==="@"?mr:He}),i.removeAttribute(u)}else u.startsWith(ue)&&(d.push({type:6,index:a}),i.removeAttribute(u));if(Ei.test(i.tagName)){let u=i.textContent.split(ue),m=u.length-1;if(m>0){i.textContent=dr?dr.emptyScript:"";for(let g=0;g<m;g++)i.append(u[g],fr()),De.nextNode(),d.push({type:2,index:++a});i.append(u[m],fr())}}}else if(i.nodeType===8)if(i.data===Xr)d.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(ue,u+1))!==-1;)d.push({type:7,index:a}),u+=ue.length-1}a++}}static createElement(e,r){let n=Ue.createElement("template");return n.innerHTML=e,n}};function Be(o,e,r=o,n){if(e===Y)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=$t(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(o),i._$AT(o,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=Be(o,i._$AS(o,e.values),i,n)),e}var pr=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,i=(e?.creationScope??Ue).importNode(r,!0);De.currentNode=i;let a=De.nextNode(),s=0,c=0,d=n[0];for(;d!==void 0;){if(s===d.index){let f;d.type===2?f=new It(a,a.nextSibling,this,e):d.type===1?f=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(f=new gr(a,this,e)),this._$AV.push(f),d=n[++c]}s!==d?.index&&(a=De.nextNode(),s++)}return De.currentNode=Ue,i}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 o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=U,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Be(this,e,r),$t(e)?e===U||e==null||e===""?(this._$AH!==U&&this._$AR(),this._$AH=U):e!==this._$AH&&e!==Y&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Ci(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!==U&&$t(this._$AH)?this._$AA.nextSibling.data=e:this.$(Ue.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Pt.createElement($i(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new pr(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=Oi.get(e.strings);return r===void 0&&Oi.set(e.strings,r=new Pt(e)),r}T(e){wi(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of e)i===r.length?r.push(n=new o(this.k(fr()),this.k(fr()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$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))}},He=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=U,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=U}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=Be(this,e,r,0),s=!$t(e)||e!==this._$AH&&e!==Y,s&&(this._$AH=e);else{let c=e,d,f;for(e=a[0],d=0;d<a.length-1;d++)f=Be(this,c[n+d],r,d),f===Y&&(f=this._$AH[d]),s||=!$t(f)||f!==this._$AH[d],f===U?e=U:e!==U&&(e+=(f??"")+a[d+1]),this._$AH[d]=f}s&&!i&&this.O(e)}O(e){e===U?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},ur=class extends He{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===U?void 0:e}},hr=class extends He{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==U)}},mr=class extends He{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=Be(this,e,r,0)??U)===Y)return;let n=this._$AH,i=e===U&&n!==U||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==U&&(n===U||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},gr=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){Be(this,e)}},Ii={j:Jr,P:ue,A:Xr,C:1,M:Pi,L:pr,R:Ci,V:Be,D:It,I:He,H:hr,N:mr,U:ur,B:gr},Js=Yr.litHtmlPolyfillSupport;Js?.(Pt,It),(Yr.litHtmlVersions??=[]).push("3.1.0");var yr=globalThis,_t=yr.ShadowRoot&&(yr.ShadyCSS===void 0||yr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Qr=Symbol(),_i=new WeakMap,nt=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Qr)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(_t&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=_i.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&_i.set(r,e))}return e}toString(){return this.cssText}},je=o=>new nt(typeof o=="string"?o:o+"",void 0,Qr),$=(o,...e)=>{let r=o.length===1?o[0]:e.reduce((n,i,a)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+o[a+1],o[0]);return new nt(r,o,Qr)},br=(o,e)=>{if(_t)o.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=yr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,o.appendChild(n)}},kt=_t?o=>o:o=>o instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return je(r)})(o):o;var{is:Xs,defineProperty:Qs,getOwnPropertyDescriptor:ec,getOwnPropertyNames:tc,getOwnPropertySymbols:rc,getPrototypeOf:oc}=Object,vr=globalThis,ki=vr.trustedTypes,nc=ki?ki.emptyScript:"",ic=vr.reactiveElementPolyfillSupport,Lt=(o,e)=>o,xr={toAttribute(o,e){switch(e){case Boolean:o=o?nc:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,e){let r=o;switch(e){case Boolean:r=o!==null;break;case Number:r=o===null?null:Number(o);break;case Object:case Array:try{r=JSON.parse(o)}catch{r=null}}return r}},eo=(o,e)=>!Xs(o,e),Li={attribute:!0,type:String,converter:xr,reflect:!1,hasChanged:eo};Symbol.metadata??=Symbol("metadata"),vr.litPropertyMetadata??=new WeakMap;var ae=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=Li){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&Qs(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=ec(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Li}static _$Ei(){if(this.hasOwnProperty(Lt("elementProperties")))return;let e=oc(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Lt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Lt("properties"))){let r=this.properties,n=[...tc(r),...rc(r)];for(let i of n)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,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 i of n)r.unshift(kt(i))}else e!==void 0&&r.push(kt(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 br(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),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:xr).toAttribute(r,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,r){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:xr;this._$Em=i,this[i]=s.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(e,r,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??eo)(i?a: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[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(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){}};ae.elementStyles=[],ae.shadowRootOptions={mode:"open"},ae[Lt("elementProperties")]=new Map,ae[Lt("finalized")]=new Map,ic?.({ReactiveElement:ae}),(vr.reactiveElementVersions??=[]).push("2.0.2");var ro=globalThis,Sr=ro.trustedTypes,Fi=Sr?Sr.createPolicy("lit-html",{createHTML:o=>o}):void 0,oo="$lit$",he=`lit$${(Math.random()+"").slice(9)}$`,no="?"+he,ac=`<${no}>`,Ke=document,Tt=()=>Ke.createComment(""),Wt=o=>o===null||typeof o!="object"&&typeof o!="function",Ui=Array.isArray,Bi=o=>Ui(o)||typeof o?.[Symbol.iterator]=="function",to=`[
4
- \f\r]`,Ft=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ti=/-->/g,Wi=/>/g,Ve=RegExp(`>|${to}(?:([^\\s"'>=/]+)(${to}*=${to}*(?:[^
5
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Mi=/'/g,zi=/"/g,Hi=/^(?:script|style|textarea|title)$/i,ji=o=>(e,...r)=>({_$litType$:o,strings:e,values:r}),se=ji(1),sc=ji(2),Ee=Symbol.for("lit-noChange"),z=Symbol.for("lit-nothing"),Di=new WeakMap,Ze=Ke.createTreeWalker(Ke,129);function Vi(o,e){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Fi!==void 0?Fi.createHTML(e):e}var Zi=(o,e)=>{let r=o.length-1,n=[],i,a=e===2?"<svg>":"",s=Ft;for(let c=0;c<r;c++){let d=o[c],f,h,u=-1,m=0;for(;m<d.length&&(s.lastIndex=m,h=s.exec(d),h!==null);)m=s.lastIndex,s===Ft?h[1]==="!--"?s=Ti:h[1]!==void 0?s=Wi:h[2]!==void 0?(Hi.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=Ve):h[3]!==void 0&&(s=Ve):s===Ve?h[0]===">"?(s=i??Ft,u=-1):h[1]===void 0?u=-2:(u=s.lastIndex-h[2].length,f=h[1],s=h[3]===void 0?Ve:h[3]==='"'?zi:Mi):s===zi||s===Mi?s=Ve:s===Ti||s===Wi?s=Ft:(s=Ve,i=void 0);let g=s===Ve&&o[c+1].startsWith("/>")?" ":"";a+=s===Ft?d+ac:u>=0?(n.push(f),d.slice(0,u)+oo+d.slice(u)+he+g):d+he+(u===-2?c:g)}return[Vi(o,a+(o[r]||"<?>")+(e===2?"</svg>":"")),n]},Mt=class o{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,d=this.parts,[f,h]=Zi(e,r);if(this.el=o.createElement(f,n),Ze.currentNode=this.el.content,r===2){let u=this.el.content.firstChild;u.replaceWith(...u.childNodes)}for(;(i=Ze.nextNode())!==null&&d.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let u of i.getAttributeNames())if(u.endsWith(oo)){let m=h[s++],g=i.getAttribute(u).split(he),y=/([.?@])?(.*)/.exec(m);d.push({type:1,index:a,name:y[2],strings:g,ctor:y[1]==="."?wr:y[1]==="?"?Cr:y[1]==="@"?Er:qe}),i.removeAttribute(u)}else u.startsWith(he)&&(d.push({type:6,index:a}),i.removeAttribute(u));if(Hi.test(i.tagName)){let u=i.textContent.split(he),m=u.length-1;if(m>0){i.textContent=Sr?Sr.emptyScript:"";for(let g=0;g<m;g++)i.append(u[g],Tt()),Ze.nextNode(),d.push({type:2,index:++a});i.append(u[m],Tt())}}}else if(i.nodeType===8)if(i.data===no)d.push({type:2,index:a});else{let u=-1;for(;(u=i.data.indexOf(he,u+1))!==-1;)d.push({type:7,index:a}),u+=he.length-1}a++}}static createElement(e,r){let n=Ke.createElement("template");return n.innerHTML=e,n}};function Ge(o,e,r=o,n){if(e===Ee)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=Wt(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(o),i._$AT(o,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=Ge(o,i._$AS(o,e.values),i,n)),e}var Or=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,i=(e?.creationScope??Ke).importNode(r,!0);Ze.currentNode=i;let a=Ze.nextNode(),s=0,c=0,d=n[0];for(;d!==void 0;){if(s===d.index){let f;d.type===2?f=new it(a,a.nextSibling,this,e):d.type===1?f=new d.ctor(a,d.name,d.strings,this,e):d.type===6&&(f=new Nr(a,this,e)),this._$AV.push(f),d=n[++c]}s!==d?.index&&(a=Ze.nextNode(),s++)}return Ze.currentNode=Ke,i}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 o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=z,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Ge(this,e,r),Wt(e)?e===z||e==null||e===""?(this._$AH!==z&&this._$AR(),this._$AH=z):e!==this._$AH&&e!==Ee&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Bi(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!==z&&Wt(this._$AH)?this._$AA.nextSibling.data=e:this.$(Ke.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Mt.createElement(Vi(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new Or(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=Di.get(e.strings);return r===void 0&&Di.set(e.strings,r=new Mt(e)),r}T(e){Ui(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of e)i===r.length?r.push(n=new o(this.k(Tt()),this.k(Tt()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$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))}},qe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=z,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=z}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=Ge(this,e,r,0),s=!Wt(e)||e!==this._$AH&&e!==Ee,s&&(this._$AH=e);else{let c=e,d,f;for(e=a[0],d=0;d<a.length-1;d++)f=Ge(this,c[n+d],r,d),f===Ee&&(f=this._$AH[d]),s||=!Wt(f)||f!==this._$AH[d],f===z?e=z:e!==z&&(e+=(f??"")+a[d+1]),this._$AH[d]=f}s&&!i&&this.O(e)}O(e){e===z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},wr=class extends qe{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===z?void 0:e}},Cr=class extends qe{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==z)}},Er=class extends qe{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=Ge(this,e,r,0)??z)===Ee)return;let n=this._$AH,i=e===z&&n!==z||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==z&&(n===z||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Nr=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){Ge(this,e)}},cc={j:oo,P:he,A:no,C:1,M:Zi,L:Or,R:Bi,V:Ge,D:it,I:qe,H:Cr,N:Er,U:wr,B:Nr},lc=ro.litHtmlPolyfillSupport;lc?.(Mt,it),(ro.litHtmlVersions??=[]).push("3.1.0");var io=(o,e,r)=>{let n=r?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=r?.renderBefore??null;n._$litPart$=i=new it(e.insertBefore(Tt(),a),a,void 0,r??{})}return i._$AI(o),i};var me=class extends ae{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=io(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Ee}};me._$litElement$=!0,me.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:me});var dc=globalThis.litElementPolyfillSupport;dc?.({LitElement:me});var fc={_$AK:(o,e,r)=>{o._$AK(e,r)},_$AL:o=>o._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Zd=!1;var so={};k(so,{customElement:()=>pc,eventOptions:()=>hc,property:()=>P,query:()=>Ye,queryAll:()=>gc,queryAssignedElements:()=>bc,queryAssignedNodes:()=>xc,queryAsync:()=>yc,standardProperty:()=>Ki,state:()=>ee});var pc=o=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(o,e)}):customElements.define(o,e)};var uc={attribute:!0,type:String,converter:At,reflect:!1,hasChanged:lr},Ki=(o=uc,e,r)=>{let{kind:n,metadata:i}=r,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(r.name,o),n==="accessor"){let{name:s}=r;return{set(c){let d=e.get.call(this);e.set.call(this,c),this.requestUpdate(s,d,o)},init(c){return c!==void 0&&this.C(s,void 0,o),c}}}if(n==="setter"){let{name:s}=r;return function(c){let d=this[s];e.call(this,c),this.requestUpdate(s,d,o)}}throw Error("Unsupported decorator location: "+n)};function P(o){return(e,r)=>typeof r=="object"?Ki(o,e,r):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(o,e,r)}function ee(o){return P({...o,state:!0,attribute:!1})}function hc(o){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,o)}}var re=(o,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(o,e,r),r);function Ye(o,e){return(r,n,i)=>{let a=s=>s.renderRoot?.querySelector(o)??null;if(e){let{get:s,set:c}=typeof n=="object"?r:i??(()=>{let d=Symbol();return{get(){return this[d]},set(f){this[d]=f}}})();return re(r,n,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&c.call(this,d)),d}})}return re(r,n,{get(){return a(this)}})}}var mc;function gc(o){return(e,r)=>re(e,r,{get(){return(this.renderRoot??(mc??=document.createDocumentFragment())).querySelectorAll(o)}})}function yc(o){return(e,r)=>re(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(o)??null}})}function bc(o){return(e,r)=>{let{slot:n,selector:i}=o??{},a="slot"+(n?`[name=${n}]`:":not([name])");return re(e,r,{get(){let s=this.renderRoot?.querySelector(a),c=s?.assignedElements(o)??[];return i===void 0?c:c.filter(d=>d.matches(i))}})}}function xc(o){return(e,r)=>{let{slot:n}=o??{},i="slot"+(n?`[name=${n}]`:":not([name])");return re(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(o)??[]}})}}var co={};k(co,{repeat:()=>Oc});var Ne={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Ae=o=>(...e)=>({_$litDirective$:o,values:e}),ce=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:vc}=Ii;var Gi=()=>document.createComment(""),at=(o,e,r)=>{let n=o._$AA.parentNode,i=e===void 0?o._$AB:e._$AA;if(r===void 0){let a=n.insertBefore(Gi(),i),s=n.insertBefore(Gi(),i);r=new vc(a,s,o,o.options)}else{let a=r._$AB.nextSibling,s=r._$AM,c=s!==o;if(c){let d;r._$AQ?.(o),r._$AM=o,r._$AP!==void 0&&(d=o._$AU)!==s._$AU&&r._$AP(d)}if(a!==i||c){let d=r._$AA;for(;d!==a;){let f=d.nextSibling;n.insertBefore(d,i),d=f}}}return r},Re=(o,e,r=o)=>(o._$AI(e,r),o),Sc={},qi=(o,e=Sc)=>o._$AH=e,Yi=o=>o._$AH,Ar=o=>{o._$AP?.(!1,!0);let e=o._$AA,r=o._$AB.nextSibling;for(;e!==r;){let n=e.nextSibling;e.remove(),e=n}};var Ji=(o,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(o[i],i);return n},Oc=Ae(class extends ce{constructor(o){if(super(o),o.type!==Ne.CHILD)throw Error("repeat() can only be used in text expressions")}ht(o,e,r){let n;r===void 0?r=e:e!==void 0&&(n=e);let i=[],a=[],s=0;for(let c of o)i[s]=n?n(c,s):s,a[s]=r(c,s),s++;return{values:a,keys:i}}render(o,e,r){return this.ht(o,e,r).values}update(o,[e,r,n]){let i=Yi(o),{values:a,keys:s}=this.ht(e,r,n);if(!Array.isArray(i))return this.dt=s,a;let c=this.dt??=[],d=[],f,h,u=0,m=i.length-1,g=0,y=a.length-1;for(;u<=m&&g<=y;)if(i[u]===null)u++;else if(i[m]===null)m--;else if(c[u]===s[g])d[g]=Re(i[u],a[g]),u++,g++;else if(c[m]===s[y])d[y]=Re(i[m],a[y]),m--,y--;else if(c[u]===s[y])d[y]=Re(i[u],a[y]),at(o,d[y+1],i[u]),u++,y--;else if(c[m]===s[g])d[g]=Re(i[m],a[g]),at(o,i[u],i[m]),m--,g++;else if(f===void 0&&(f=Ji(s,g,y),h=Ji(c,u,m)),f.has(c[u]))if(f.has(c[m])){let v=h.get(s[g]),O=v!==void 0?i[v]:null;if(O===null){let w=at(o,i[u]);Re(w,a[g]),d[g]=w}else d[g]=Re(O,a[g]),at(o,i[u],O),i[v]=null;g++}else Ar(i[m]),m--;else Ar(i[u]),u++;for(;g<=y;){let v=at(o,d[y+1]);Re(v,a[g]),d[g++]=v}for(;u<=m;){let v=i[u++];v!==null&&Ar(v)}return this.dt=s,qi(o,d),Y}});var lo={};k(lo,{classMap:()=>Je});var Je=Ae(class extends ce{constructor(o){if(super(o),o.type!==Ne.ATTRIBUTE||o.name!=="class"||o.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(o){return" "+Object.keys(o).filter(e=>o[e]).join(" ")+" "}update(o,[e]){if(this.it===void 0){this.it=new Set,o.strings!==void 0&&(this.st=new Set(o.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=o.element.classList;for(let n of this.it)n in e||(r.remove(n),this.it.delete(n));for(let n in e){let i=!!e[n];i===this.it.has(n)||this.st?.has(n)||(i?(r.add(n),this.it.add(n)):(r.remove(n),this.it.delete(n)))}return Y}});var fo={};k(fo,{styleMap:()=>Cc});var Xi="important",wc=" !"+Xi,Cc=Ae(class extends ce{constructor(o){if(super(o),o.type!==Ne.ATTRIBUTE||o.name!=="style"||o.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(o){return Object.keys(o).reduce((e,r)=>{let n=o[r];return n==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(o,[e]){let{style:r}=o.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 i=e[n];if(i!=null){this.ut.add(n);let a=typeof i=="string"&&i.endsWith(wc);n.includes("-")||a?r.setProperty(n,a?i.slice(0,-11):i,a?Xi:""):r[n]=i}}return Y}});var po={};k(po,{UnsafeHTMLDirective:()=>st,unsafeHTML:()=>Ec});var st=class extends ce{constructor(e){if(super(e),this.et=U,e.type!==Ne.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===U||e==null)return this.vt=void 0,this.et=e;if(e===Y)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:[]}}};st.directiveName="unsafeHTML",st.resultType=1;var Ec=Ae(st);var go={};k(go,{CacheRegistry:()=>mo});var ho={};k(ho,{CancelablePromise:()=>ct,CanceledPromiseError:()=>zt,cancelable:()=>uo});var zt=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},ct=class extends Promise{constructor(e){super((r,n)=>e(i=>{this.isCanceled?n(new zt("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new zt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},uo=o=>new ct((e,r)=>o.then(e).catch(r));var mo=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 ct&&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 i=uo(r());return this.content[e]=i,i.then(a=>(this.content[e]=a,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),a))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var bo={};k(bo,{ClusteringHelper:()=>yo});var yo=class o{constructor(e,r,n,i){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(e,r){var n,i;let a=((i=(n=e?.map)!==null&&n!==void 0?n:e?.document)!==null&&i!==void 0?i:e?.topic).metadata;return r==null?o.flattenMetadata(a):o.flattenMetadata(a.find(s=>s.key===r))}static flattenMetadata(e){if(Array.isArray(e))return e.map(n=>o.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=[],i=[];return e.hierarchicalValues.forEach(a=>{n.push(a.join(" > ")),a.length>2?i.push(`... > ${a[a.length-1]}`):i.push(a.join(" > "))}),{key:e.key,label:e.label,value:n.join(", "),displayValue:i.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 i,a;let s=o.extractResultMetadata(this.selectedResult,e),c=(i=s?.label)!==null&&i!==void 0?i:(a=this.getMetadataDescriptor(e))===null||a===void 0?void 0:a.label;return this.allResults.map(f=>o.extractResultMetadata(f,e)).map(f=>f??{key:e,label:c,value:void 0,displayValue:n}).filter(f=>f.value!=s?.value).filter((f,h,u)=>u.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,i){if(e==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",c=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(r,i,{numeric:!0});return c?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let n=this.allResults.filter(d=>{var f;return((f=o.extractResultMetadata(d,e))===null||f===void 0?void 0:f.value)==r}),a=[...o.extractResultMetadata(this.selectedResult).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,c=-1;for(let d of n){let f=this.countMatchingMetadata(d,a);if(f>c&&(c=f,s=d,f===a.length))break}return s}countMatchingMetadata(e,r){return o.extractResultMetadata(e).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}};var xo={};k(xo,{Debouncer:()=>$e});var $e=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 i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(c){i(c);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var wo={};k(wo,{customElement:()=>ge,isNumber:()=>oa,jsonProperty:()=>Oo,optionalNumberProperty:()=>Bt});var So={};k(So,{dateReviver:()=>Ac,deepEqual:()=>Dt,delay:()=>Qi,eventPathContainsMatchingElement:()=>$c,flatDeep:()=>ta,hasChanged:()=>Ut,last:()=>Pc,minmax:()=>vo,parseDate:()=>ra,waitFor:()=>ea,waitUntil:()=>Nc});var Qi=o=>new Promise(e=>setTimeout(e,o));async function Nc(o,e=10,r=2e4){await ea(async()=>await o()||void 0,e,r)}async function ea(o,e=10,r=2e4){let n=await o(),i,a;for(i=a=performance.now();n==null&&(!r||a-i<r);)await Qi(e),n=await o(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function ta(o,e){return o.flatMap(r=>[r,...ta(e(r),e)])}function Ac(...o){return function(e,r){return o.includes(e)?ra(r):r}}function ra(o){return o.match(/^\d{4}-\d{2}-\d{2}$/)&&(o=o.replace(/-/g,"/")),o=o.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,n,i)=>r+n+":"+i),new Date(o)}function Rc(o,e){if(o===e)return!0;if(o&&e&&typeof o=="object"&&typeof e=="object"){if(o.constructor!==e.constructor)return!1;var r,n,i;if(Array.isArray(o)){if(r=o.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!Dt(o[n],e[n]))return!1;return!0}if(o instanceof Map&&e instanceof Map){if(o.size!==e.size)return!1;for(n of o.entries())if(!e.has(n[0]))return!1;for(n of o.entries())if(!Dt(n[1],e.get(n[0])))return!1;return!0}if(o instanceof Set&&e instanceof Set){if(o.size!==e.size)return!1;for(n of o.entries())if(!e.has(n[0]))return!1;return!0}if(o.constructor===RegExp)return o.source===e.source&&o.flags===e.flags;if(o.valueOf!==Object.prototype.valueOf)return o.valueOf()===e.valueOf();if(i=Object.keys(o),r=i.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=r;n--!==0;){var a=i[n];if(!Dt(o[a],e[a]))return!1}return!0}return o!==o&&e!==e}function Dt(o,e){try{return Rc(o,e)}catch{return!1}}function Ut(o,e){return!Dt(o,e)}function $c(o,e,r=window.document.body){if(e.length>0){let n=o.composedPath();for(let i of n){if(i===r)return!1;if(i.matches&&e.some(a=>i.matches(a)))return!0}}return!1}function vo(o,e,r){return Math.min(Math.max(o,e),r)}function Pc(o){return o[o.length-1]}var ge=o=>e=>{window.customElements.get(o)||window.customElements.define(o,e)};function Oo(o,e){let r=()=>JSON.parse(JSON.stringify(o));return P({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Ut,...e??{}})}function Bt(o){return P({type:Object,converter:{fromAttribute:e=>{if(e!=null)return oa(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...o??{}})}function oa(o){return!isNaN(parseFloat(o))}var Xo={};k(Xo,{designSystemVariables:()=>F});var Jo={};k(Jo,{DesignSystemFamily:()=>jt,DesignSystemSize:()=>Vt,FtCssVariableFactory:()=>t,badge:()=>Wc,banner:()=>Tc,breadcrumb:()=>Mc,button:()=>_c,chart:()=>Jc,checkbox:()=>Qc,chip:()=>Lc,chipChoice:()=>kc,collapsible:()=>qc,comboboxMultiSelect:()=>Kc,comboboxSingleSelect:()=>Zc,drawer:()=>Uc,floatingMenu:()=>Vc,foundation:()=>l,link:()=>Fc,modal:()=>Dc,notice:()=>Xc,notification:()=>rl,pageHeader:()=>zc,popover:()=>Gc,radio:()=>tl,resolveFamilyClass:()=>qo,resolveSizeClass:()=>Yo,semantic:()=>p,setVariable:()=>B,switch_:()=>Yc,tabs:()=>Bc,textArea:()=>jc,textInput:()=>Hc,toggle:()=>el,tooltip:()=>ol,typographies:()=>Ht,typographyBody1Medium:()=>$o,typographyBody1Regular:()=>Ro,typographyBody1Semibold:()=>Po,typographyBody2Medium:()=>_o,typographyBody2MediumUnderline:()=>na,typographyBody2Regular:()=>Io,typographyBody2Semibold:()=>ko,typographyCaption1Bold:()=>Bo,typographyCaption1Medium:()=>Do,typographyCaption1Semibold:()=>Uo,typographyCaption2Bold:()=>Vo,typographyCaption2Medium:()=>Ho,typographyCaption2Semibold:()=>jo,typographyCaption3Bold:()=>Go,typographyCaption3Medium:()=>Zo,typographyCaption3Semibold:()=>Ko,typographyDisplay:()=>Co,typographyLabel1Bold:()=>To,typographyLabel1Medium:()=>Lo,typographyLabel1Semibold:()=>Fo,typographyLabel2Bold:()=>zo,typographyLabel2Medium:()=>Wo,typographyLabel2Semibold:()=>Mo,typographyTitle1:()=>Eo,typographyTitle2:()=>No,typographyTitle3:()=>Ao,typographyVariants:()=>Ic});var ye=o=>typeof o=="string"?je(o):o,t=class{static create(e,r,n,i){let a=c=>ye(c??i),s=$`var(${ye(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>$`var(${ye(e)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,r,n,i){let a=c=>n.get(c??i),s=$`var(${ye(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>$`var(${ye(e)}, ${a(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,r){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):ye(a??e.lastResortDefaultValue()),i=$`var(${ye(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=r,i.defaultCssValue=n,i.get=a=>$`var(${ye(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function B(o,e){return ye(`${o.name}: ${e}`)}var l={colorWhite:t.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:t.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:t.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:t.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:t.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:t.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:t.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:t.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:t.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:t.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:t.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:t.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:t.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:t.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:t.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:t.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:t.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:t.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:t.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:t.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:t.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:t.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:t.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:t.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:t.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:t.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:t.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:t.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:t.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:t.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:t.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:t.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:t.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:t.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:t.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:t.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:t.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:t.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:t.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:t.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:t.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:t.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:t.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:t.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:t.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:t.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:t.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:t.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:t.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:t.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:t.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:t.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:t.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:t.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:t.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:t.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:t.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:t.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:t.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:t.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:t.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:t.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:t.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:t.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:t.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:t.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:t.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:t.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:t.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:t.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:t.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:t.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:t.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:t.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:t.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:t.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:t.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:t.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:t.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:t.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:t.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:t.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:t.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:t.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:t.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:t.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:t.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:t.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:t.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:t.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:t.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:t.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:t.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:t.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:t.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:t.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:t.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:t.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:t.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:t.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:t.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:t.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:t.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:t.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:t.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:t.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:t.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:t.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:t.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:t.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:t.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:t.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:t.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:t.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:t.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:t.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:t.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:t.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:t.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:t.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:t.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:t.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:t.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:t.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:t.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:t.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:t.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:t.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:t.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:t.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:t.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:t.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:t.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:t.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:t.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:t.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:t.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:t.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:t.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:t.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:t.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:t.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:t.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:t.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:t.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:t.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:t.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:t.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:t.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:t.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:t.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:t.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:t.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:t.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:t.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:t.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:t.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:t.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:t.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:t.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:t.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:t.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:t.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:t.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:t.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:t.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:t.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:t.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:t.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:t.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:t.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:t.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:t.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:t.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:t.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:t.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:t.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:t.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:t.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:t.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:t.create("--ft-opacity-0","","NUMBER","0"),opacity8:t.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:t.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:t.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:t.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:t.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:t.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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)")},Co={fontFamily:t.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:t.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-display-textCase","","UNKNOWN","none")},Eo={fontFamily:t.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:t.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},No={fontFamily:t.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:t.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Ao={fontFamily:t.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:t.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:t.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Ro={fontFamily:t.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},$o={fontFamily:t.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Po={fontFamily:t.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Io={fontFamily:t.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},_o={fontFamily:t.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},na={fontFamily:t.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:t.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:t.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},ko={fontFamily:t.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Lo={fontFamily:t.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Fo={fontFamily:t.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},To={fontFamily:t.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Wo={fontFamily:t.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Mo={fontFamily:t.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},zo={fontFamily:t.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Do={fontFamily:t.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Uo={fontFamily:t.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Bo={fontFamily:t.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Ho={fontFamily:t.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},jo={fontFamily:t.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Vo={fontFamily:t.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Zo={fontFamily:t.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Ko={fontFamily:t.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Go={fontFamily:t.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Ht={display:Co,"title-1":Eo,"title-2":No,"title-3":Ao,"body-1-regular":Ro,"body-1-medium":$o,"body-1-semibold":Po,"body-2-regular":Io,"body-2-medium":_o,"body-2-medium-underline":na,"body-2-semibold":ko,"label-1-medium":Lo,"label-1-semibold":Fo,"label-1-bold":To,"label-2-medium":Wo,"label-2-semibold":Mo,"label-2-bold":zo,"caption-1-medium":Do,"caption-1-semibold":Uo,"caption-1-bold":Bo,"caption-2-medium":Ho,"caption-2-semibold":jo,"caption-2-bold":Vo,"caption-3-medium":Zo,"caption-3-semibold":Ko,"caption-3-bold":Go},Ic=["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 p={backgroundActionPrimary:t.extend("--ft-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:t.extend("--ft-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:t.extend("--ft-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:t.extend("--ft-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:t.extend("--ft-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:t.extend("--ft-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:t.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:t.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:t.extend("--ft-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:t.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:t.extend("--ft-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:t.extend("--ft-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:t.extend("--ft-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:t.extend("--ft-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:t.extend("--ft-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:t.extend("--ft-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:t.extend("--ft-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:t.extend("--ft-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:t.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
6
- Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:t.extend("--ft-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:t.extend("--ft-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:t.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:t.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:t.extend("--ft-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:t.extend("--ft-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:t.extend("--ft-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:t.extend("--ft-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:t.extend("--ft-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:t.extend("--ft-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:t.extend("--ft-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:t.extend("--ft-border-global-primary","Used as border for element like input.",l.colorGray50),borderGlobalSubtle:t.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",l.colorGray30),borderInputPrimary:t.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80)};var _c={largeHeight:t.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:t.extend("--ft-button-large-horizontal-padding","",l.spacing4),largeGap:t.extend("--ft-button-large-gap","",l.spacing2),largeBorderRadius:t.extend("--ft-button-large-border-radius","",l.borderRadiusS),largeIconSize:t.extend("--ft-button-large-icon-size","",l.iconSize3),largeBorderWidth:t.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:t.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:t.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:t.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:t.extend("--ft-button-medium-horizontal-padding","",l.spacing3),mediumGap:t.extend("--ft-button-medium-gap","",l.spacing2),mediumBorderRadius:t.extend("--ft-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:t.extend("--ft-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:t.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:t.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:t.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:t.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-button-small-horizontal-padding","",l.spacing2),smallGap:t.extend("--ft-button-small-gap","",l.spacing1),smallBorderRadius:t.extend("--ft-button-small-border-radius","",l.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",l.iconSize1),smallBorderWidth:t.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:t.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:t.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:t.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:t.extend("--ft-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:t.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:t.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:t.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:t.extend("--ft-button-round-border-radius","",l.borderRadiusPill),primaryBackgroundColor:t.extend("--ft-button-primary-background-color","",p.backgroundActionPrimary),primaryColor:t.extend("--ft-button-primary-color","",p.contentGlobalOnColor),primaryIconColor:t.extend("--ft-button-primary-icon-color","",p.contentGlobalOnColor),primaryStateLayerColor:t.extend("--ft-button-primary-state-layer-color","",p.contentGlobalOnColor),primaryHoverStateLayerOpacity:t.extend("--ft-button-primary-hover-state-layer-opacity","",l.opacity16),primaryFocusStateLayerOpacity:t.extend("--ft-button-primary-focus-state-layer-opacity","",l.opacity16),primaryActiveStateLayerOpacity:t.extend("--ft-button-primary-active-state-layer-opacity","",l.opacity24),primaryDisabledComponentOpacity:t.extend("--ft-button-primary-disabled-component-opacity","",l.opacity40),focusFocusRingColor:t.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBackgroundColor:t.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:t.extend("--ft-button-tertiary-color","",p.contentActionPrimary),tertiaryIconColor:t.extend("--ft-button-tertiary-icon-color","",p.contentActionPrimary),tertiaryStateLayerColor:t.extend("--ft-button-tertiary-state-layer-color","",p.contentActionPrimary),tertiaryHoverStateLayerOpacity:t.extend("--ft-button-tertiary-hover-state-layer-opacity","",l.opacity8),tertiaryFocusStateLayerOpacity:t.extend("--ft-button-tertiary-focus-state-layer-opacity","",l.opacity8),tertiaryActiveStateLayerOpacity:t.extend("--ft-button-tertiary-active-state-layer-opacity","",l.opacity16),tertiaryDisabledComponentOpacity:t.extend("--ft-button-tertiary-disabled-component-opacity","",l.opacity40),secondaryBackgroundColor:t.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:t.extend("--ft-button-secondary-color","",p.contentActionPrimary),secondaryIconColor:t.extend("--ft-button-secondary-icon-color","",p.contentActionPrimary),secondaryStateLayerColor:t.extend("--ft-button-secondary-state-layer-color","",p.contentActionPrimary),secondaryHoverStateLayerOpacity:t.extend("--ft-button-secondary-hover-state-layer-opacity","",l.opacity8),secondaryFocusStateLayerOpacity:t.extend("--ft-button-secondary-focus-state-layer-opacity","",l.opacity8),secondaryActiveStateLayerOpacity:t.extend("--ft-button-secondary-active-state-layer-opacity","",l.opacity16),secondaryDisabledComponentOpacity:t.extend("--ft-button-secondary-disabled-component-opacity","",l.opacity40),secondaryBorderColor:t.extend("--ft-button-secondary-border-color","",p.borderActionPrimary),neutralBackgroundColor:t.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:t.extend("--ft-button-neutral-icon-color","",p.contentGlobalSecondary),neutralColor:t.extend("--ft-button-neutral-color","",p.contentGlobalSecondary),neutralStateLayerColor:t.extend("--ft-button-neutral-state-layer-color","",p.contentGlobalSecondary),neutralHoverStateLayerOpacity:t.extend("--ft-button-neutral-hover-state-layer-opacity","",l.opacity8),neutralFocusStateLayerOpacity:t.extend("--ft-button-neutral-focus-state-layer-opacity","",l.opacity8),neutralActiveStateLayerOpacity:t.extend("--ft-button-neutral-active-state-layer-opacity","",l.opacity16),neutralDisabledComponentOpacity:t.extend("--ft-button-neutral-disabled-component-opacity","",l.opacity40)};var kc={neutralOffHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",l.opacity8),neutralOffFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",l.opacity8),neutralOffFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",p.borderActionFocusRing),neutralOffActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",l.opacity16),neutralOffBackgroundColor:t.extend("--ft-chip-choice-neutral-off-background-color","",p.backgroundGlobalOnSurface),neutralOffBorderColor:t.extend("--ft-chip-choice-neutral-off-border-color","",p.borderGlobalPrimary),neutralOffColor:t.extend("--ft-chip-choice-neutral-off-color","",p.contentGlobalSecondary),neutralOffStateLayerColor:t.extend("--ft-chip-choice-neutral-off-state-layer-color","",p.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",l.opacity16),neutralOnHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",l.opacity24),neutralOnFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",l.opacity24),neutralOnFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",p.borderActionFocusRing),neutralOnActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",l.opacity32),neutralOnBackgroundColor:t.extend("--ft-chip-choice-neutral-on-background-color","",p.backgroundGlobalOnSurface),neutralOnBorderColor:t.extend("--ft-chip-choice-neutral-on-border-color","",p.borderGlobalPrimary),neutralOnColor:t.extend("--ft-chip-choice-neutral-on-color","",p.contentGlobalPrimary),neutralOnIconColor:t.extend("--ft-chip-choice-neutral-on-icon-color","",p.contentGlobalPrimary),neutralOnStateLayerColor:t.extend("--ft-chip-choice-neutral-on-state-layer-color","",p.contentGlobalPrimary),largeMinHeight:t.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-choice-large-horizontal-padding","",l.spacing3),largeGap:t.extend("--ft-chip-choice-large-gap","",l.spacing1),largeBorderRadius:t.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-choice-large-icon-size","",l.iconSize3),mediumMinHeight:t.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-choice-medium-horizontal-padding","",l.spacing2),mediumGap:t.extend("--ft-chip-choice-medium-gap","",l.spacing1),mediumBorderRadius:t.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-choice-medium-icon-size","",l.iconSize2)};var Lc={largeMinHeight:t.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:t.extend("--ft-chip-large-button-right-padding","",l.spacing1),largeGap:t.extend("--ft-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:t.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:t.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-large-icon-size","",l.iconSize3),mediumMinHeight:t.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:t.extend("--ft-chip-medium-button-right-padding","",l.spacing05),mediumGap:t.extend("--ft-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:t.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:t.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-medium-icon-size","",l.iconSize2),smallMinHeight:t.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:t.extend("--ft-chip-small-button-right-padding","",l.spacing05),smallGap:t.extend("--ft-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:t.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:t.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:t.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:t.extend("--ft-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:t.extend("--ft-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:t.extend("--ft-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:t.extend("--ft-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:t.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:t.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:t.extend("--ft-chip-info-color","",p.contentInfoPrimary),infoIconColor:t.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:t.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:t.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:t.extend("--ft-chip-success-color","",p.contentSuccessPrimary),successIconColor:t.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:t.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:t.extend("--ft-chip-warning-color","",p.contentWarningPrimary),warningIconColor:t.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:t.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:t.extend("--ft-chip-error-color","",p.contentErrorPrimary),errorIconColor:t.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:t.extend("--ft-chip-error-border-color","",p.borderErrorSubtle)};var Fc={brandHoverOpacity:t.extend("--ft-link-brand-hover-opacity","",l.opacity80),brandHoverColor:t.extend("--ft-link-brand-hover-color","",p.contentActionPrimary),brandFocusFocusRingColor:t.extend("--ft-link-brand-focus-focus-ring-color","",p.borderActionFocusRing),brandFocusColor:t.extend("--ft-link-brand-focus-color","",p.contentActionPrimary),brandDefaultColor:t.extend("--ft-link-brand-default-color","",p.contentActionPrimary),brandActiveColor:t.extend("--ft-link-brand-active-color","",p.contentActionPrimary),infoHoverOpacity:t.extend("--ft-link-info-hover-opacity","",l.opacity80),infoHoverColor:t.extend("--ft-link-info-hover-color","",p.contentInfoPrimary),infoFocusFocusRingColor:t.extend("--ft-link-info-focus-focus-ring-color","",p.borderActionFocusRing),infoFocusColor:t.extend("--ft-link-info-focus-color","",p.contentInfoPrimary),infoDefaultColor:t.extend("--ft-link-info-default-color","",p.contentInfoPrimary),infoActiveColor:t.extend("--ft-link-info-active-color","",p.contentInfoPrimary),neutralFocusFocusRingColor:t.extend("--ft-link-neutral-focus-focus-ring-color","",p.borderActionFocusRing),neutralFocusColor:t.extend("--ft-link-neutral-focus-color","",p.contentActionPrimary),neutralDefaultColor:t.extend("--ft-link-neutral-default-color","",p.contentGlobalPrimary),neutralHoverColor:t.extend("--ft-link-neutral-hover-color","",p.contentActionPrimary),neutralActiveColor:t.extend("--ft-link-neutral-active-color","",p.contentActionPrimary)};var Tc={iconSize:t.extend("--ft-banner-icon-size","",l.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:t.extend("--ft-banner-left-padding","",l.spacing6),rightPadding:t.extend("--ft-banner-right-padding","",l.spacing6),verticalPadding:t.extend("--ft-banner-vertical-padding","",l.spacing6),horizontalSideGap:t.extend("--ft-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:t.extend("--ft-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:t.extend("--ft-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:t.extend("--ft-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:t.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:t.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:t.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:t.extend("--ft-banner-info-border-color","",p.borderInfoSubtle)};var Wc={horizontalPadding:t.extend("--ft-badge-horizontal-padding","",l.spacing1),verticalPadding:t.extend("--ft-badge-vertical-padding","",l.spacing1),borderRadius:t.extend("--ft-badge-border-radius","",l.borderRadiusPill),color:t.extend("--ft-badge-color","",p.contentGlobalOnColor),backgroundColor:t.extend("--ft-badge-background-color","",p.contentActionPrimary)};var Mc={horizontalGap:t.extend("--ft-breadcrumb-horizontal-gap","",l.spacing1),verticalGap:t.extend("--ft-breadcrumb-vertical-gap","",l.spacing2),currentColor:t.extend("--ft-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:t.extend("--ft-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:t.extend("--ft-breadcrumb-icon-color","",p.contentGlobalSubtle)};var zc={horizontalPadding:t.extend("--ft-page-header-horizontal-padding","",l.spacing6),horizontalGap:t.extend("--ft-page-header-horizontal-gap","",l.spacing4),verticalGap:t.extend("--ft-page-header-vertical-gap","",l.spacing2),classicVerticalPadding:t.extend("--ft-page-header-classic-vertical-padding","",l.spacing6),multilineVerticalPadding:t.extend("--ft-page-header-multiline-vertical-padding","",l.spacing4),inlineVerticalPadding:t.extend("--ft-page-header-inline-vertical-padding","",l.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",l.colorWhite),bottomBorderColor:t.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),titleColor:t.extend("--ft-page-header-title-color","",p.contentGlobalPrimary),subtitleColor:t.extend("--ft-page-header-subtitle-color","",p.contentGlobalSecondary)};var Dc={smallContainerWidth:t.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:t.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:t.extend("--ft-modal-overlay-background-color","",l.colorGray700),overlayOpacity:t.extend("--ft-modal-overlay-opacity","",l.opacity40),shadow:t.extend("--ft-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:t.extend("--ft-modal-body-background-color","",l.colorWhite),bodyColor:t.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:t.extend("--ft-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:t.extend("--ft-modal-body-vertical-gap","",l.spacing6),containerMargin:t.extend("--ft-modal-container-margin","",l.spacing3),headerBackgroundColor:t.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),headerColor:t.extend("--ft-modal-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-modal-header-trailing-icon-color","",p.contentGlobalSecondary),headerVerticalPadding:t.extend("--ft-modal-header-vertical-padding","",l.spacing1),headerRightPadding:t.extend("--ft-modal-header-right-padding","",l.spacing1),headerLeftPadding:t.extend("--ft-modal-header-left-padding","",l.spacing6),headerGap:t.extend("--ft-modal-header-gap","",l.spacing2),headerBorderBottom:t.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",l.borderRadiusM)};var Uc={overlayOpacity:t.extend("--ft-drawer-overlay-opacity","",l.opacity40),shadow:t.extend("--ft-drawer-shadow","",l.shadowElevation03),bodyColor:t.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:t.extend("--ft-drawer-body-vertical-padding","",l.spacing6),bodyGap:t.extend("--ft-drawer-body-gap","",l.spacing6),bodyBackgroundColor:t.extend("--ft-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:t.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:t.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:t.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:t.extend("--ft-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:t.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:t.extend("--ft-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:t.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:t.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:t.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:t.extend("--ft-drawer-buttons-bar-horizontal-padding","",l.spacing6),buttonsBarVerticalPadding:t.extend("--ft-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:t.extend("--ft-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:t.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:t.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:t.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:t.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:t.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:t.extend("--ft-drawer-overlay-background-color","",l.colorGray700)};var Bc={offBorderBottomWidth:t.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:t.extend("--ft-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:t.extend("--ft-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:t.extend("--ft-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:t.extend("--ft-tabs-off-disabled-component-opacity","",l.opacity40),offColor:t.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),offBorderBottomColor:t.extend("--ft-tabs-off-border-bottom-color","",p.borderGlobalSubtle),activeTabIndicatorHeight:t.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:t.extend("--ft-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:t.extend("--ft-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:t.extend("--ft-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:t.extend("--ft-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:t.extend("--ft-tabs-horizontal-gap","",l.spacing1),verticalGap:t.extend("--ft-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:t.extend("--ft-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:t.extend("--ft-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:t.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:t.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),onActiveTabIndicatorColor:t.extend("--ft-tabs-on-active-tab-indicator-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:t.extend("--ft-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:t.extend("--ft-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:t.extend("--ft-tabs-alert-top-padding","",l.spacing1),alertRightPadding:t.extend("--ft-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:t.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)};var Hc={fieldHorizontalPadding:t.extend("--ft-text-input-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:t.extend("--ft-text-input-field-horizontal-gap","",l.spacing3),fieldVerticalGap:t.extend("--ft-text-input-field-vertical-gap","",l.spacing05),fieldIconSize:t.extend("--ft-text-input-field-icon-size","",l.iconSize3),fieldHeight:t.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:t.extend("--ft-text-input-helper-horizontal-gap","",l.spacing1),helperIconSize:t.extend("--ft-text-input-helper-icon-size","",l.iconSize2),borderRadius:t.extend("--ft-text-input-border-radius","",l.borderRadiusM),backgroundColor:t.extend("--ft-text-input-background-color","",l.colorWhite),contentValueColor:t.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:t.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:t.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderWidth:t.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:t.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:t.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-input-disabled-component-opacity","",l.opacity40)};var jc={backgroundColor:t.extend("--ft-text-area-background-color","",l.colorWhite),contentValueColor:t.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:t.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-area-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-area-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:t.extend("--ft-text-area-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:t.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-area-disabled-component-opacity","",l.opacity40),fieldHorizontalLeftPadding:t.extend("--ft-text-area-field-horizontal-left-padding","",l.spacing4),fieldHorizontalGap:t.extend("--ft-text-area-field-horizontal-gap","",l.spacing3),fieldVerticalGap:t.extend("--ft-text-area-field-vertical-gap","",l.spacing05),fieldMinHeight:t.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:t.extend("--ft-text-area-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:t.extend("--ft-text-area-helper-horizontal-gap","",l.spacing1),helperIconSize:t.extend("--ft-text-area-helper-icon-size","",l.iconSize2),borderRadius:t.extend("--ft-text-area-border-radius","",l.borderRadiusM)};var Vc={height:t.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:t.extend("--ft-floating-menu-horizontal-padding","",l.spacing4),offIconColor:t.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:t.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),onColor:t.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:t.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:t.extend("--ft-floating-menu-gap","",l.spacing3),focusFocusRingColor:t.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:t.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:t.extend("--ft-floating-menu-focus-state-layer-opacity","",l.opacity8),hoverStateLayerOpacity:t.extend("--ft-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:t.extend("--ft-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:t.extend("--ft-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:t.extend("--ft-floating-menu-icon-size","",l.iconSize3),backgroundColor:t.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface),shadow:t.extend("--ft-floating-menu-shadow","",l.shadowElevation02)};var Zc={fieldHorizontalPadding:t.extend("--ft-combobox-single-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-single-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:t.extend("--ft-combobox-single-select-field-vertical-gap","",l.spacing05),fieldIconSize:t.extend("--ft-combobox-single-select-field-icon-size","",l.iconSize3),fieldHeight:t.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-combobox-single-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:t.extend("--ft-combobox-single-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:t.extend("--ft-combobox-single-select-helper-vertical-gap","",l.spacing1),helperIconSize:t.extend("--ft-combobox-single-select-helper-icon-size","",l.iconSize2),menuVerticalGap:t.extend("--ft-combobox-single-select-menu-vertical-gap","",l.spacing2),borderRadius:t.extend("--ft-combobox-single-select-border-radius","",l.borderRadiusM),backgroundColor:t.extend("--ft-combobox-single-select-background-color","",l.colorWhite),labelColor:t.extend("--ft-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:t.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:t.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-single-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-combobox-single-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:t.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:t.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:t.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-single-select-disabled-component-opacity","",l.opacity40)};var Kc={backgroundColor:t.extend("--ft-combobox-multi-select-background-color","",l.colorWhite),labelColor:t.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:t.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:t.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:t.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:t.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:t.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:t.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-multi-select-disabled-component-opacity","",l.opacity40),helperHorizontalPadding:t.extend("--ft-combobox-multi-select-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:t.extend("--ft-combobox-multi-select-helper-horizontal-gap","",l.spacing1),helperVerticalGap:t.extend("--ft-combobox-multi-select-helper-vertical-gap","",l.spacing1),helperIconSize:t.extend("--ft-combobox-multi-select-helper-icon-size","",l.iconSize2),fieldHorizontalPadding:t.extend("--ft-combobox-multi-select-field-horizontal-padding","",l.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-multi-select-field-horizontal-gap","",l.spacing3),fieldVerticalGap:t.extend("--ft-combobox-multi-select-field-vertical-gap","",l.spacing05),fieldIconSize:t.extend("--ft-combobox-multi-select-field-icon-size","",l.iconSize3),fieldMaxHeight:t.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:t.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",l.spacing1),contentValuesVerticalGap:t.extend("--ft-combobox-multi-select-content-values-vertical-gap","",l.spacing1),borderRadius:t.extend("--ft-combobox-multi-select-border-radius","",l.borderRadiusM)};var Gc={backgroundColor:t.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:t.extend("--ft-popover-horizontal-padding","",l.spacing6),verticalPadding:t.extend("--ft-popover-vertical-padding","",l.spacing6),titleColor:t.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:t.extend("--ft-popover-body-color","",p.contentGlobalSecondary),linkColor:t.extend("--ft-popover-link-color","",p.contentActionPrimary),gap:t.extend("--ft-popover-gap","",l.spacing3),borderRadius:t.extend("--ft-popover-border-radius","",l.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",l.shadowElevation02)};var qc={hoverStateLayerOpacity:t.extend("--ft-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:t.extend("--ft-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:t.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:t.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:t.extend("--ft-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:t.extend("--ft-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:t.extend("--ft-collapsible-horizontal-padding","",l.spacing4),verticalPadding:t.extend("--ft-collapsible-vertical-padding","",l.spacing3),color:t.extend("--ft-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:t.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:t.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:t.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),iconSize:t.extend("--ft-collapsible-icon-size","",l.iconSize3)};var Yc={groupHorizontalPadding:t.extend("--ft-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:t.extend("--ft-switch-group-vertical-padding","",l.spacing1),groupGap:t.extend("--ft-switch-group-gap","",l.spacing1),groupBackgroundColor:t.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:t.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:t.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:t.extend("--ft-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:t.extend("--ft-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:t.extend("--ft-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:t.extend("--ft-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:t.extend("--ft-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:t.extend("--ft-switch-off-disabled-component-opacity","",l.opacity40),offColor:t.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:t.extend("--ft-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:t.extend("--ft-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:t.extend("--ft-switch-on-disabled-component-opacity","",l.opacity40),onColor:t.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:t.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:t.extend("--ft-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:t.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:t.extend("--ft-switch-option-border-radius","",l.borderRadiusS)};var Jc={color1Light:t.extend("--ft-chart-1-light","for area color charts",l.colorBrand40),color1Base:t.extend("--ft-chart-1-base","for line charts",l.colorBrand0),color2Light:t.extend("--ft-chart-2-light","for area color charts",l.colorYellow60),color2Base:t.extend("--ft-chart-2-base","for line charts",l.colorYellow100),color3Light:t.extend("--ft-chart-3-light","",l.colorUltramarine40),color3Base:t.extend("--ft-chart-3-base","",l.colorUltramarine70),color4Light:t.extend("--ft-chart-4-light","",l.colorCyan50),color4Base:t.extend("--ft-chart-4-base","",l.colorCyan100),color5Light:t.extend("--ft-chart-5-light","",l.colorRed40),color5Base:t.extend("--ft-chart-5-base","",l.colorRed60),color6Light:t.extend("--ft-chart-6-light","",l.colorGreen40),color6Base:t.extend("--ft-chart-6-base","",l.colorGreen70),color7Light:t.extend("--ft-chart-7-light","",l.colorOrange70),color7Base:t.extend("--ft-chart-7-base","",l.colorOrange100),color8Light:t.extend("--ft-chart-8-light","",l.colorAvocado70),color8Base:t.extend("--ft-chart-8-base","",l.colorAvocado200),color9Light:t.extend("--ft-chart-9-light","",l.colorBrown50),color9Base:t.extend("--ft-chart-9-base","",l.colorBrown200),color10Light:t.extend("--ft-chart-10-light","",l.colorGray50),color10Base:t.extend("--ft-chart-10-base","",l.colorGray80),monochrome10:t.extend("--ft-chart-monochrome-10","",l.colorBrand10),monochrome20:t.extend("--ft-chart-monochrome-20","",l.colorBrand20),monochrome30:t.extend("--ft-chart-monochrome-30","",l.colorBrand40),monochrome40:t.extend("--ft-chart-monochrome-40","",l.colorBrand60),monochrome50:t.extend("--ft-chart-monochrome-50","",l.colorBrand0),monochrome60:t.extend("--ft-chart-monochrome-60","",l.colorBrand200)};var Xc={borderWidth:t.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-notice-horizontal-padding","",l.spacing3),verticalPadding:t.extend("--ft-notice-vertical-padding","",l.spacing2),borderRadius:t.extend("--ft-notice-border-radius","",l.borderRadiusS),gap:t.extend("--ft-notice-gap","",l.spacing2),iconSize:t.extend("--ft-notice-icon-size","",l.iconSize3),infoBackgroundColor:t.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:t.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:t.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:t.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:t.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:t.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:t.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:t.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:t.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:t.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:t.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:t.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:t.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:t.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:t.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:t.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly)};var Qc={color:t.extend("--ft-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:t.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:t.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:t.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:t.extend("--ft-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:t.extend("--ft-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:t.extend("--ft-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:t.extend("--ft-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:t.extend("--ft-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:t.extend("--ft-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:t.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:t.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:t.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:t.extend("--ft-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:t.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:t.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-checkbox-gap","",l.spacing3)};var el={offHoverStateLayerOpacity:t.extend("--ft-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:t.extend("--ft-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:t.extend("--ft-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:t.extend("--ft-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:t.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:t.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:t.extend("--ft-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:t.extend("--ft-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:t.extend("--ft-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:t.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:t.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:t.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),color:t.extend("--ft-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:t.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:t.extend("--ft-toggle-gap","",l.spacing3)};var tl={color:t.extend("--ft-radio-color","",p.contentGlobalPrimary),selectedRadioColor:t.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:t.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:t.extend("--ft-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:t.extend("--ft-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:t.extend("--ft-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:t.extend("--ft-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:t.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:t.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:t.extend("--ft-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:t.extend("--ft-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:t.extend("--ft-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:t.extend("--ft-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:t.extend("--ft-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:t.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-radio-gap","",l.spacing3)};var rl={iconSize:t.extend("--ft-notification-icon-size","",l.iconSize4),leftPadding:t.extend("--ft-notification-left-padding","",l.spacing5),rightPadding:t.extend("--ft-notification-right-padding","",l.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",l.spacing3),infoBackgroundColor:t.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:t.extend("--ft-notification-info-color","",p.contentInfoPrimary),infoIconColor:t.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:t.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:t.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:t.extend("--ft-notification-success-color","",p.contentSuccessPrimary),successIconColor:t.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:t.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:t.extend("--ft-notification-warning-color","",p.contentWarningPrimary),warningIconColor:t.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:t.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:t.extend("--ft-notification-error-color","",p.contentErrorPrimary),errorIconColor:t.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:t.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),borderRadius:t.extend("--ft-notification-border-radius","",l.borderRadiusPill),borderWidth:t.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:t.extend("--ft-notification-leading-gap","",l.spacing2),trailingGap:t.extend("--ft-notification-trailing-gap","",l.spacing8)};var ol={horizontalPadding:t.extend("--ft-tooltip-horizontal-padding","",l.spacing2),verticalPadding:t.extend("--ft-tooltip-vertical-padding","",l.spacing2),borderRadius:t.extend("--ft-tooltip-border-radius","",l.borderRadiusS),color:t.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:t.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:t.extend("--ft-tooltip-background-opacity","",l.opacity80),shadow:t.extend("--ft-tooltip-shadow","",l.shadowElevation02),maxWidth:t.create("--ft-tooltip-max-width","","SIZE","256px"),gap:t.extend("--ft-tooltip-gap","",l.spacing05)};var jt;(function(o){o.brand="brand",o.neutral="neutral",o.info="info",o.success="success",o.warning="warning",o.error="error"})(jt||(jt={}));var Vt;(function(o){o.large="large",o.medium="medium",o.small="small"})(Vt||(Vt={}));function qo(o){return`ftds--family-${o}`}function Yo(o){return`ftds--size-${o}`}var F={colorPrimary:t.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:t.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:t.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:t.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:t.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:t.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:t.create("--ft-color-error","","COLOR","#B00020"),colorOutline:t.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:t.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:t.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:t.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:t.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:t.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:t.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:t.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:t.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:t.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:t.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:t.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:t.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:t.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:t.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:t.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:t.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:t.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:t.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:t.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:t.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:t.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:t.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:t.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:t.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:t.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:t.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:t.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:t.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:t.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:t.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:t.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:t.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:t.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:t.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:t.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:t.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:t.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:t.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:t.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:t.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:t.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:t.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:t.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var rn={};k(rn,{FtNotificationEvent:()=>Qo,PostResizeEvent:()=>tn,PreResizeEvent:()=>en});var Qo=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},en=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},tn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var hn={};k(hn,{computeOffsetPosition:()=>Ol});var aa=["top","right","bottom","left"],ia=["start","end"],nn=aa.reduce((o,e)=>o.concat(e,e+"-"+ia[0],e+"-"+ia[1]),[]),Zt=Math.min,Pe=Math.max,Kt=Math.round;var be=o=>({x:o,y:o}),nl={left:"right",right:"left",bottom:"top",top:"bottom"},il={start:"end",end:"start"};function an(o,e,r){return Pe(o,Zt(e,r))}function Rr(o,e){return typeof o=="function"?o(e):o}function lt(o){return o.split("-")[0]}function Ie(o){return o.split("-")[1]}function sn(o){return o==="x"?"y":"x"}function cn(o){return o==="y"?"height":"width"}function $r(o){return["top","bottom"].includes(lt(o))?"y":"x"}function ln(o){return sn($r(o))}function sa(o,e,r){r===void 0&&(r=!1);let n=Ie(o),i=ln(o),a=cn(i),s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=on(s)),[s,on(s)]}function ca(o){return o.replace(/start|end/g,e=>il[e])}function on(o){return o.replace(/left|right|bottom|top/g,e=>nl[e])}function al(o){return{top:0,right:0,bottom:0,left:0,...o}}function la(o){return typeof o!="number"?al(o):{top:o,right:o,bottom:o,left:o}}function Xe(o){return{...o,top:o.y,left:o.x,right:o.x+o.width,bottom:o.y+o.height}}function da(o,e,r){let{reference:n,floating:i}=o,a=$r(e),s=ln(e),c=cn(s),d=lt(e),f=a==="y",h=n.x+n.width/2-i.width/2,u=n.y+n.height/2-i.height/2,m=n[c]/2-i[c]/2,g;switch(d){case"top":g={x:h,y:n.y-i.height};break;case"bottom":g={x:h,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:u};break;case"left":g={x:n.x-i.width,y:u};break;default:g={x:n.x,y:n.y}}switch(Ie(e)){case"start":g[s]-=m*(r&&f?-1:1);break;case"end":g[s]+=m*(r&&f?-1:1);break}return g}var fa=async(o,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=r,c=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),f=await s.getElementRects({reference:o,floating:e,strategy:i}),{x:h,y:u}=da(f,n,d),m=n,g={},y=0;for(let v=0;v<c.length;v++){let{name:O,fn:w}=c[v],{x:C,y:b,data:x,reset:S}=await w({x:h,y:u,initialPlacement:n,placement:m,strategy:i,middlewareData:g,rects:f,platform:s,elements:{reference:o,floating:e}});if(h=C??h,u=b??u,g={...g,[O]:{...g[O],...x}},S&&y<=50){y++,typeof S=="object"&&(S.placement&&(m=S.placement),S.rects&&(f=S.rects===!0?await s.getElementRects({reference:o,floating:e,strategy:i}):S.rects),{x:h,y:u}=da(f,m,d)),v=-1;continue}}return{x:h,y:u,placement:m,strategy:i,middlewareData:g}};async function dn(o,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:c,strategy:d}=o,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:u="floating",altBoundary:m=!1,padding:g=0}=Rr(e,o),y=la(g),O=c[m?u==="floating"?"reference":"floating":u],w=Xe(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(O)))==null||r?O:O.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:f,rootBoundary:h,strategy:d})),C=u==="floating"?{...s.floating,x:n,y:i}:s.reference,b=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),x=await(a.isElement==null?void 0:a.isElement(b))?await(a.getScale==null?void 0:a.getScale(b))||{x:1,y:1}:{x:1,y:1},S=Xe(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:C,offsetParent:b,strategy:d}):C);return{top:(w.top-S.top+y.top)/x.y,bottom:(S.bottom-w.bottom+y.bottom)/x.y,left:(w.left-S.left+y.left)/x.x,right:(S.right-w.right+y.right)/x.x}}function sl(o,e,r){return(o?[...r.filter(i=>Ie(i)===o),...r.filter(i=>Ie(i)!==o)]:r.filter(i=>lt(i)===i)).filter(i=>o?Ie(i)===o||(e?ca(i)!==i:!1):!0)}var fn=function(o){return o===void 0&&(o={}),{name:"autoPlacement",options:o,async fn(e){var r,n,i;let{rects:a,middlewareData:s,placement:c,platform:d,elements:f}=e,{crossAxis:h=!1,alignment:u,allowedPlacements:m=nn,autoAlignment:g=!0,...y}=Rr(o,e),v=u!==void 0||m===nn?sl(u||null,g,m):m,O=await dn(e,y),w=((r=s.autoPlacement)==null?void 0:r.index)||0,C=v[w];if(C==null)return{};let b=sa(C,a,await(d.isRTL==null?void 0:d.isRTL(f.floating)));if(c!==C)return{reset:{placement:v[0]}};let x=[O[lt(C)],O[b[0]],O[b[1]]],S=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:C,overflows:x}],A=v[w+1];if(A)return{data:{index:w+1,overflows:S},reset:{placement:A}};let L=S.map(N=>{let R=Ie(N.placement);return[N.placement,R&&h?N.overflows.slice(0,2).reduce((_,j)=>_+j,0):N.overflows[0],N.overflows]}).sort((N,R)=>N[1]-R[1]),T=((i=L.filter(N=>N[2].slice(0,Ie(N[0])?2:3).every(R=>R<=0))[0])==null?void 0:i[0])||L[0][0];return T!==c?{data:{index:w+1,overflows:S},reset:{placement:T}}:{}}}};var pn=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(e){let{x:r,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:O=>{let{x:w,y:C}=O;return{x:w,y:C}}},...d}=Rr(o,e),f={x:r,y:n},h=await dn(e,d),u=$r(lt(i)),m=sn(u),g=f[m],y=f[u];if(a){let O=m==="y"?"top":"left",w=m==="y"?"bottom":"right",C=g+h[O],b=g-h[w];g=an(C,g,b)}if(s){let O=u==="y"?"top":"left",w=u==="y"?"bottom":"right",C=y+h[O],b=y-h[w];y=an(C,y,b)}let v=c.fn({...e,[m]:g,[u]:y});return{...v,data:{x:v.x-r,y:v.y-n}}}}};function xe(o){return ua(o)?(o.nodeName||"").toLowerCase():"#document"}function G(o){var e;return(o==null||(e=o.ownerDocument)==null?void 0:e.defaultView)||window}function ve(o){var e;return(e=(ua(o)?o.ownerDocument:o.document)||window.document)==null?void 0:e.documentElement}function ua(o){return o instanceof Node||o instanceof G(o).Node}function le(o){return o instanceof Element||o instanceof G(o).Element}function oe(o){return o instanceof HTMLElement||o instanceof G(o).HTMLElement}function pa(o){return typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof G(o).ShadowRoot}function dt(o){let{overflow:e,overflowX:r,overflowY:n,display:i}=J(o);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function ha(o){return["table","td","th"].includes(xe(o))}function Ir(o){let e=_r(),r=J(o);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 ma(o){let e=Qe(o);for(;oe(e)&&!Gt(e);){if(Ir(e))return e;e=Qe(e)}return null}function _r(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Gt(o){return["html","body","#document"].includes(xe(o))}function J(o){return G(o).getComputedStyle(o)}function qt(o){return le(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.pageXOffset,scrollTop:o.pageYOffset}}function Qe(o){if(xe(o)==="html")return o;let e=o.assignedSlot||o.parentNode||pa(o)&&o.host||ve(o);return pa(e)?e.host:e}function ga(o){let e=Qe(o);return Gt(e)?o.ownerDocument?o.ownerDocument.body:o.body:oe(e)&&dt(e)?e:ga(e)}function Pr(o,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=ga(o),a=i===((n=o.ownerDocument)==null?void 0:n.body),s=G(i);return a?e.concat(s,s.visualViewport||[],dt(i)?i:[],s.frameElement&&r?Pr(s.frameElement):[]):e.concat(i,Pr(i,[],r))}function xa(o){let e=J(o),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=oe(o),a=i?o.offsetWidth:r,s=i?o.offsetHeight:n,c=Kt(r)!==a||Kt(n)!==s;return c&&(r=a,n=s),{width:r,height:n,$:c}}function va(o){return le(o)?o:o.contextElement}function ft(o){let e=va(o);if(!oe(e))return be(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:a}=xa(e),s=(a?Kt(r.width):r.width)/n,c=(a?Kt(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var cl=be(0);function Sa(o){let e=G(o);return!_r()||!e.visualViewport?cl:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function ll(o,e,r){return e===void 0&&(e=!1),!r||e&&r!==G(o)?!1:e}function Yt(o,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=o.getBoundingClientRect(),a=va(o),s=be(1);e&&(n?le(n)&&(s=ft(n)):s=ft(o));let c=ll(a,r,n)?Sa(a):be(0),d=(i.left+c.x)/s.x,f=(i.top+c.y)/s.y,h=i.width/s.x,u=i.height/s.y;if(a){let m=G(a),g=n&&le(n)?G(n):n,y=m.frameElement;for(;y&&n&&g!==m;){let v=ft(y),O=y.getBoundingClientRect(),w=J(y),C=O.left+(y.clientLeft+parseFloat(w.paddingLeft))*v.x,b=O.top+(y.clientTop+parseFloat(w.paddingTop))*v.y;d*=v.x,f*=v.y,h*=v.x,u*=v.y,d+=C,f+=b,y=G(y).frameElement}}return Xe({width:h,height:u,x:d,y:f})}function dl(o){let{rect:e,offsetParent:r,strategy:n}=o,i=oe(r),a=ve(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},c=be(1),d=be(0);if((i||!i&&n!=="fixed")&&((xe(r)!=="body"||dt(a))&&(s=qt(r)),oe(r))){let f=Yt(r);c=ft(r),d.x=f.x+r.clientLeft,d.y=f.y+r.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-s.scrollLeft*c.x+d.x,y:e.y*c.y-s.scrollTop*c.y+d.y}}function fl(o){return Array.from(o.getClientRects())}function Oa(o){return Yt(ve(o)).left+qt(o).scrollLeft}function pl(o){let e=ve(o),r=qt(o),n=o.ownerDocument.body,i=Pe(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=Pe(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+Oa(o),c=-r.scrollTop;return J(n).direction==="rtl"&&(s+=Pe(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:c}}function ul(o,e){let r=G(o),n=ve(o),i=r.visualViewport,a=n.clientWidth,s=n.clientHeight,c=0,d=0;if(i){a=i.width,s=i.height;let f=_r();(!f||f&&e==="fixed")&&(c=i.offsetLeft,d=i.offsetTop)}return{width:a,height:s,x:c,y:d}}function hl(o,e){let r=Yt(o,!0,e==="fixed"),n=r.top+o.clientTop,i=r.left+o.clientLeft,a=oe(o)?ft(o):be(1),s=o.clientWidth*a.x,c=o.clientHeight*a.y,d=i*a.x,f=n*a.y;return{width:s,height:c,x:d,y:f}}function ya(o,e,r){let n;if(e==="viewport")n=ul(o,r);else if(e==="document")n=pl(ve(o));else if(le(e))n=hl(e,r);else{let i=Sa(o);n={...e,x:e.x-i.x,y:e.y-i.y}}return Xe(n)}function wa(o,e){let r=Qe(o);return r===e||!le(r)||Gt(r)?!1:J(r).position==="fixed"||wa(r,e)}function ml(o,e){let r=e.get(o);if(r)return r;let n=Pr(o,[],!1).filter(c=>le(c)&&xe(c)!=="body"),i=null,a=J(o).position==="fixed",s=a?Qe(o):o;for(;le(s)&&!Gt(s);){let c=J(s),d=Ir(s);!d&&c.position==="fixed"&&(i=null),(a?!d&&!i:!d&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||dt(s)&&!d&&wa(o,s))?n=n.filter(h=>h!==s):i=c,s=Qe(s)}return e.set(o,n),n}function gl(o){let{element:e,boundary:r,rootBoundary:n,strategy:i}=o,s=[...r==="clippingAncestors"?ml(e,this._c):[].concat(r),n],c=s[0],d=s.reduce((f,h)=>{let u=ya(e,h,i);return f.top=Pe(u.top,f.top),f.right=Zt(u.right,f.right),f.bottom=Zt(u.bottom,f.bottom),f.left=Pe(u.left,f.left),f},ya(e,c,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function yl(o){return xa(o)}function bl(o,e,r){let n=oe(e),i=ve(e),a=r==="fixed",s=Yt(o,!0,a,e),c={scrollLeft:0,scrollTop:0},d=be(0);if(n||!n&&!a)if((xe(e)!=="body"||dt(i))&&(c=qt(e)),n){let f=Yt(e,!0,a,e);d.x=f.x+e.clientLeft,d.y=f.y+e.clientTop}else i&&(d.x=Oa(i));return{x:s.left+c.scrollLeft-d.x,y:s.top+c.scrollTop-d.y,width:s.width,height:s.height}}function ba(o,e){return!oe(o)||J(o).position==="fixed"?null:e?e(o):o.offsetParent}function Ca(o,e){let r=G(o);if(!oe(o))return r;let n=ba(o,e);for(;n&&ha(n)&&J(n).position==="static";)n=ba(n,e);return n&&(xe(n)==="html"||xe(n)==="body"&&J(n).position==="static"&&!Ir(n))?r:n||ma(o)||r}var xl=async function(o){let{reference:e,floating:r,strategy:n}=o,i=this.getOffsetParent||Ca,a=this.getDimensions;return{reference:bl(e,await i(r),n),floating:{x:0,y:0,...await a(r)}}};function vl(o){return J(o).direction==="rtl"}var kr={convertOffsetParentRelativeRectToViewportRelativeRect:dl,getDocumentElement:ve,getClippingRect:gl,getOffsetParent:Ca,getElementRects:xl,getClientRects:fl,getDimensions:yl,getScale:ft,isElement:le,isRTL:vl};var Ea=(o,e,r)=>{let n=new Map,i={platform:kr,...r},a={...i.platform,_c:n};return fa(o,e,{...i,platform:a})};function Na(o){return Sl(o)}function un(o){return o.assignedSlot?o.assignedSlot:o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}function Sl(o){for(let e=o;e;e=un(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=un(o);e;e=un(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 Ol(o,e,r){return Ea(o,e,{platform:{...kr,getOffsetParent:n=>kr.getOffsetParent(n,Na)},middleware:[pn({crossAxis:!0}),fn({allowedPlacements:[r]})]})}var bn={};k(bn,{FtdsBase:()=>yn,toFtdsBase:()=>La});var gn={};k(gn,{FtLitElement:()=>H});var mn={};k(mn,{ScopedRegistryLitElement:()=>Jt});var Lr=window,wl=Lr.ShadowRoot&&(Lr.ShadyCSS===void 0||Lr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,nm=Symbol();var Aa=(o,e)=>{wl?o.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),i=Lr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,o.appendChild(n)})};var Jt=class extends me{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return Aa(n,e.elementStyles),n}};var Fr=function(o,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ia,Ra=Symbol("constructorPrototype"),$a=Symbol("constructorName"),_a=Symbol("exportpartsDebouncer"),Pa=Symbol("dynamicDependenciesLoaded"),H=class extends Jt{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Ia]=new $e(5),this[$a]=this.constructor.name,this[Ra]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[$a]&&Object.setPrototypeOf(this,this[Ra])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[Pa]||(e[Pa]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var r,n,i;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,r,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[_a].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,n,i,a,s,c;let d=m=>m!=null&&m.trim().length>0,f=e.filter(d).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=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],y=(c=(s=m.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(v=>v.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...g,...y).filter(d).map(v=>v.trim()).forEach(v=>h.add(v))}if(h.size===0){this.removeAttribute("exportparts");return}let u=[...h.values()].flatMap(m=>f.map(g=>`${m}:${g}--${m}`));this.setAttribute("exportparts",[...this.part,...u].join(", "))}};Ia=_a;Fr([P()],H.prototype,"exportpartsPrefix",void 0);Fr([Oo([])],H.prototype,"exportpartsPrefixes",void 0);Fr([P()],H.prototype,"customStylesheet",void 0);Fr([ee()],H.prototype,"useAdoptedStyleSheets",void 0);var ka=function(o,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a};function La(o){class e extends o{constructor(){super(...arguments),this.size=Vt.medium,this.family=jt.neutral}getDesignSystemBaseClasses(){return{[qo(this.family)]:!0,[Yo(this.size)]:!0}}}return ka([P()],e.prototype,"size",void 0),ka([P()],e.prototype,"family",void 0),e}var yn=class extends La(H){};var Fa={};var vn={};k(vn,{highlightHtml:()=>Nl,highlightHtmlColorCssVariable:()=>Ta,highlightHtmlStyles:()=>El});var et=class o{constructor(e,r=!0,n=[],i=5e3){this.ctx=e,this.iframes=r,this.exclude=n,this.iframesTimeout=i}static matches(e,r){let n=typeof r=="string"?[r]:r,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let i=r.filter(a=>a.contains(n)).length>0;r.indexOf(n)===-1&&!i&&r.push(n)}),r}getIframeContents(e,r,n=()=>{}){let i;try{let a=e.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&r(i)}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 i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",s),a=setTimeout(s,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,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||r()})},i=>{i||r()})}forEachIframe(e,r,n,i=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,c=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&i(c)};s||d(),a.forEach(f=>{o.matches(f,this.exclude)?d():this.onIframeReady(f,h=>{r(f)&&(c++,n(h)),d()},d)})}createIterator(e,r,n){return document.createNodeIterator(e,r,n,!1)}createInstanceOnIframe(e){return new o(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,n){let i=e.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(r!==null){let s=r.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_FOLLOWING;if(s&c)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,i){let a=!1,s=!1;return i.forEach((c,d)=>{c.val===n&&(a=d,s=c.handled)}),this.compareNodeIframe(e,r,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(e,r,n,i){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,n,i)})})}iterateThroughNodes(e,r,n,i,a){let s=this.createIterator(r,e,i),c=[],d=[],f,h,u=()=>({prevNode:h,node:f}=this.getIteratorNode(s),f);for(;u();)this.iframes&&this.forEachIframe(r,m=>this.checkIframeFilter(f,h,m,c),m=>{this.createInstanceOnIframe(m).forEachNode(e,g=>d.push(g),i)}),d.push(f);d.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(c,e,n,i),a()}forEachNode(e,r,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(c=>{let d=()=>{this.iterateThroughNodes(e,c,r,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(c,d):d()})}};var Xt=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 et(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",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let s=r[a],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);c!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(d)})`,`gm${n}`),i+`(${this.processSynomyms(c)}|${this.processSynomyms(d)})`+i))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?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"],i=[];return e.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),i.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(c=>{s+=`|${this.escapeStr(c)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let r=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&r.indexOf(i)===-1&&r.push(i)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,i)=>i.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((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:c}=this.callNoMatchOnInvalidRanges(i,n);c&&(i.start=a,i.length=s-a,r.push(i),n=s)}),r}callNoMatchOnInvalidRanges(e,r){let n,i,a=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-r>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:i,valid:a}}checkWhitespaceRanges(e,r,n){let i,a=!0,s=n.length,c=r-s,d=parseInt(e.start,10)-c;return d=d>s?s:d,i=d+parseInt(e.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||i-d<0||d>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(d,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:i,valid:a}}getTextNodes(e){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:r.length,end:(r+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:n})})}matchesExclude(e){return et.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,n){let i=this.opt.element?this.opt.element:"mark",a=e.splitText(r),s=a.splitText(n-r),c=document.createElement(i);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=a.textContent,a.parentNode.replaceChild(c,a),s}wrapRangeInMappedTextNode(e,r,n,i,a){e.nodes.every((s,c)=>{let d=e.nodes[c+1];if(typeof d>"u"||d.start>r){if(!i(s.node))return!1;let f=r-s.start,h=(n>s.end?s.end:n)-s.start,u=e.value.substr(0,s.start),m=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,f,h),e.value=u+m,e.nodes.forEach((g,y)=>{y>=c&&(e.nodes[y].start>0&&y!==c&&(e.nodes[y].start-=h),e.nodes[y].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(c=>{c.nodes.forEach(d=>{d=d.node;let f;for(;(f=e.exec(d.textContent))!==null&&f[s]!=="";){if(!n(f[s],d))continue;let h=f.index;if(s!==0)for(let u=1;u<s;u++)h+=f[u].length;d=this.wrapRangeInTextNode(d,h,h+f[s].length),i(d.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(c=>{let d;for(;(d=e.exec(c.value))!==null&&d[s]!=="";){let f=d.index;if(s!==0)for(let u=1;u<s;u++)f+=d[u].length;let h=f+d[s].length;this.wrapRangeInMappedTextNode(c,f,h,u=>n(d[s],u),(u,m)=>{e.lastIndex=m,i(u)})}a()})}wrapRangeFromIndex(e,r,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((c,d)=>{let{start:f,end:h,valid:u}=this.checkWhitespaceRanges(c,s,a.value);u&&this.wrapRangeInMappedTextNode(a,f,h,m=>r(m,c,a.value.substring(f,h),d),m=>{n(m,c)})}),i()})}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,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(s,c)=>this.opt.filter(c,s,n),a,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,r){this.opt=r;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),c=this.opt.caseSensitive?"":"i",d=f=>{let h=new RegExp(this.createRegExp(f),`gm${c}`),u=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,g)=>this.opt.filter(g,f,n,u),m=>{u++,n++,this.opt.each(m)},()=>{u===0&&this.opt.noMatch(f),a[s-1]===f?this.opt.done(n):d(a[a.indexOf(f)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(a[0])}markRanges(e,r){this.opt=r;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,c,d)=>this.opt.filter(a,s,c,d),(a,s)=>{n++,this.opt.each(a,s)},()=>{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 i=et.matches(n,r),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function xn(o){let e=new Xt(o);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 Cl=xn,Ta=t.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),El=$`
1
+ "use strict";(()=>{var Cc=Object.create;var co=Object.defineProperty;var Ac=Object.getOwnPropertyDescriptor;var Rc=Object.getOwnPropertyNames;var Nc=Object.getPrototypeOf,_c=Object.prototype.hasOwnProperty;var Ic=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),D=(r,e)=>{for(var o in e)co(r,o,{get:e[o],enumerable:!0})},Pc=(r,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Rc(e))!_c.call(r,i)&&i!==o&&co(r,i,{get:()=>e[i],enumerable:!(n=Ac(e,i))||n.enumerable});return r};var Tc=(r,e,o)=>(o=r!=null?Cc(Nc(r)):{},Pc(e||!r||!r.__esModule?co(o,"default",{value:r,enumerable:!0}):o,r));var Ts=Ic((je,Ps)=>{var to=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,ro=function(){function r(){this.fetch=!1,this.DOMException=to.DOMException}return r.prototype=to,new r}();(function(r){var e=function(o){var n=typeof r<"u"&&r||typeof self<"u"&&self||typeof global<"u"&&global||{},i={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function a(m){return m&&DataView.prototype.isPrototypeOf(m)}if(i.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(m){return m&&s.indexOf(Object.prototype.toString.call(m))>-1};function l(m){if(typeof m!="string"&&(m=String(m)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(m)||m==="")throw new TypeError('Invalid character in header field name: "'+m+'"');return m.toLowerCase()}function u(m){return typeof m!="string"&&(m=String(m)),m}function h(m){var x={next:function(){var R=m.shift();return{done:R===void 0,value:R}}};return i.iterable&&(x[Symbol.iterator]=function(){return x}),x}function f(m){this.map={},m instanceof f?m.forEach(function(x,R){this.append(R,x)},this):Array.isArray(m)?m.forEach(function(x){if(x.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+x.length);this.append(x[0],x[1])},this):m&&Object.getOwnPropertyNames(m).forEach(function(x){this.append(x,m[x])},this)}f.prototype.append=function(m,x){m=l(m),x=u(x);var R=this.map[m];this.map[m]=R?R+", "+x:x},f.prototype.delete=function(m){delete this.map[l(m)]},f.prototype.get=function(m){return m=l(m),this.has(m)?this.map[m]:null},f.prototype.has=function(m){return this.map.hasOwnProperty(l(m))},f.prototype.set=function(m,x){this.map[l(m)]=u(x)},f.prototype.forEach=function(m,x){for(var R in this.map)this.map.hasOwnProperty(R)&&m.call(x,this.map[R],R,this)},f.prototype.keys=function(){var m=[];return this.forEach(function(x,R){m.push(R)}),h(m)},f.prototype.values=function(){var m=[];return this.forEach(function(x){m.push(x)}),h(m)},f.prototype.entries=function(){var m=[];return this.forEach(function(x,R){m.push([R,x])}),h(m)},i.iterable&&(f.prototype[Symbol.iterator]=f.prototype.entries);function y(m){if(!m._noBody){if(m.bodyUsed)return Promise.reject(new TypeError("Already read"));m.bodyUsed=!0}}function g(m){return new Promise(function(x,R){m.onload=function(){x(m.result)},m.onerror=function(){R(m.error)}})}function b(m){var x=new FileReader,R=g(x);return x.readAsArrayBuffer(m),R}function O(m){var x=new FileReader,R=g(x),F=/charset=([A-Za-z0-9_-]+)/.exec(m.type),W=F?F[1]:"utf-8";return x.readAsText(m,W),R}function A(m){for(var x=new Uint8Array(m),R=new Array(x.length),F=0;F<x.length;F++)R[F]=String.fromCharCode(x[F]);return R.join("")}function w(m){if(m.slice)return m.slice(0);var x=new Uint8Array(m.byteLength);return x.set(new Uint8Array(m)),x.buffer}function C(){return this.bodyUsed=!1,this._initBody=function(m){this.bodyUsed=this.bodyUsed,this._bodyInit=m,m?typeof m=="string"?this._bodyText=m:i.blob&&Blob.prototype.isPrototypeOf(m)?this._bodyBlob=m:i.formData&&FormData.prototype.isPrototypeOf(m)?this._bodyFormData=m:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)?this._bodyText=m.toString():i.arrayBuffer&&i.blob&&a(m)?(this._bodyArrayBuffer=w(m.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(m)||c(m))?this._bodyArrayBuffer=w(m):this._bodyText=m=Object.prototype.toString.call(m):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof m=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var m=y(this);if(m)return m;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var m=y(this);return m||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(i.blob)return this.blob().then(b);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var m=y(this);if(m)return m;if(this._bodyBlob)return O(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(A(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(I)}),this.json=function(){return this.text().then(JSON.parse)},this}var v=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function S(m){var x=m.toUpperCase();return v.indexOf(x)>-1?x:m}function E(m,x){if(!(this instanceof E))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');x=x||{};var R=x.body;if(m instanceof E){if(m.bodyUsed)throw new TypeError("Already read");this.url=m.url,this.credentials=m.credentials,x.headers||(this.headers=new f(m.headers)),this.method=m.method,this.mode=m.mode,this.signal=m.signal,!R&&m._bodyInit!=null&&(R=m._bodyInit,m.bodyUsed=!0)}else this.url=String(m);if(this.credentials=x.credentials||this.credentials||"same-origin",(x.headers||!this.headers)&&(this.headers=new f(x.headers)),this.method=S(x.method||this.method||"GET"),this.mode=x.mode||this.mode||null,this.signal=x.signal||this.signal||function(){if("AbortController"in n){var L=new AbortController;return L.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&R)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(R),(this.method==="GET"||this.method==="HEAD")&&(x.cache==="no-store"||x.cache==="no-cache")){var F=/([?&])_=[^&]*/;if(F.test(this.url))this.url=this.url.replace(F,"$1_="+new Date().getTime());else{var W=/\?/;this.url+=(W.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}E.prototype.clone=function(){return new E(this,{body:this._bodyInit})};function I(m){var x=new FormData;return m.trim().split("&").forEach(function(R){if(R){var F=R.split("="),W=F.shift().replace(/\+/g," "),L=F.join("=").replace(/\+/g," ");x.append(decodeURIComponent(W),decodeURIComponent(L))}}),x}function k(m){var x=new f,R=m.replace(/\r?\n[\t ]+/g," ");return R.split("\r").map(function(F){return F.indexOf(`
2
+ `)===0?F.substr(1,F.length):F}).forEach(function(F){var W=F.split(":"),L=W.shift().trim();if(L){var hr=W.join(":").trim();try{x.append(L,hr)}catch(so){console.warn("Response "+so.message)}}}),x}C.call(E.prototype);function B(m,x){if(!(this instanceof B))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(x||(x={}),this.type="default",this.status=x.status===void 0?200:x.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=x.statusText===void 0?"":""+x.statusText,this.headers=new f(x.headers),this.url=x.url||"",this._initBody(m)}C.call(B.prototype),B.prototype.clone=function(){return new B(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},B.error=function(){var m=new B(null,{status:200,statusText:""});return m.ok=!1,m.status=0,m.type="error",m};var U=[301,302,303,307,308];B.redirect=function(m,x){if(U.indexOf(x)===-1)throw new RangeError("Invalid status code");return new B(null,{status:x,headers:{location:m}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(x,R){this.message=x,this.name=R;var F=Error(x);this.stack=F.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function N(m,x){return new Promise(function(R,F){var W=new E(m,x);if(W.signal&&W.signal.aborted)return F(new o.DOMException("Aborted","AbortError"));var L=new XMLHttpRequest;function hr(){L.abort()}L.onload=function(){var J={statusText:L.statusText,headers:k(L.getAllResponseHeaders()||"")};W.url.indexOf("file://")===0&&(L.status<200||L.status>599)?J.status=200:J.status=L.status,J.url="responseURL"in L?L.responseURL:J.headers.get("X-Request-URL");var Ve="response"in L?L.response:L.responseText;setTimeout(function(){R(new B(Ve,J))},0)},L.onerror=function(){setTimeout(function(){F(new TypeError("Network request failed"))},0)},L.ontimeout=function(){setTimeout(function(){F(new TypeError("Network request timed out"))},0)},L.onabort=function(){setTimeout(function(){F(new o.DOMException("Aborted","AbortError"))},0)};function so(J){try{return J===""&&n.location.href?n.location.href:J}catch{return J}}if(L.open(W.method,so(W.url),!0),W.credentials==="include"?L.withCredentials=!0:W.credentials==="omit"&&(L.withCredentials=!1),"responseType"in L&&(i.blob?L.responseType="blob":i.arrayBuffer&&(L.responseType="arraybuffer")),x&&typeof x.headers=="object"&&!(x.headers instanceof f||n.Headers&&x.headers instanceof n.Headers)){var Ai=[];Object.getOwnPropertyNames(x.headers).forEach(function(J){Ai.push(l(J)),L.setRequestHeader(J,u(x.headers[J]))}),W.headers.forEach(function(J,Ve){Ai.indexOf(Ve)===-1&&L.setRequestHeader(Ve,J)})}else W.headers.forEach(function(J,Ve){L.setRequestHeader(Ve,J)});W.signal&&(W.signal.addEventListener("abort",hr),L.onreadystatechange=function(){L.readyState===4&&W.signal.removeEventListener("abort",hr)}),L.send(typeof W._bodyInit>"u"?null:W._bodyInit)})}return N.polyfill=!0,n.fetch||(n.fetch=N,n.Headers=f,n.Request=E,n.Response=B),o.Headers=f,o.Request=E,o.Response=B,o.fetch=N,o}({})})(ro);ro.fetch.ponyfill=!0;delete ro.fetch.polyfill;var At=to.fetch?to:ro;je=At.fetch;je.default=At.fetch;je.fetch=At.fetch;je.Headers=At.Headers;je.Request=At.Request;je.Response=At.Response;Ps.exports=je});if(!ShadowRoot.prototype.createElement){let r=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,c=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(v,S){if(v=v.toLowerCase(),this._getDefinition(v)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${v}" has already been used with this registry`);if(this._definitionsByClass.get(S)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let E=S.prototype.attributeChangedCallback,I=new Set(S.observedAttributes||[]);y(S,I,E);let k={elementClass:S,connectedCallback:S.prototype.connectedCallback,disconnectedCallback:S.prototype.disconnectedCallback,adoptedCallback:S.prototype.adoptedCallback,attributeChangedCallback:E,formAssociated:S.formAssociated,formAssociatedCallback:S.prototype.formAssociatedCallback,formDisabledCallback:S.prototype.formDisabledCallback,formResetCallback:S.prototype.formResetCallback,formStateRestoreCallback:S.prototype.formStateRestoreCallback,observedAttributes:I};this._definitionsByTag.set(v,k),this._definitionsByClass.set(S,k);let B=o.call(n,v);B||(B=f(v),e.call(n,v,B)),this===window.customElements&&(s.set(S,k),k.standInClass=B);let U=this._awaitingUpgrade.get(v);if(U){this._awaitingUpgrade.delete(v);for(let m of U)a.delete(m),b(m,k,!0)}let N=this._whenDefinedPromises.get(v);return N!==void 0&&(N.resolve(S),this._whenDefinedPromises.delete(v)),S}upgrade(){A.push(this),n.upgrade.apply(n,arguments),A.pop()}get(v){return this._definitionsByTag.get(v)?.elementClass}_getDefinition(v){return this._definitionsByTag.get(v)}whenDefined(v){let S=this._getDefinition(v);if(S!==void 0)return Promise.resolve(S.elementClass);let E=this._whenDefinedPromises.get(v);return E===void 0&&(E={},E.promise=new Promise(I=>E.resolve=I),this._whenDefinedPromises.set(v,E)),E.promise}_upgradeWhenDefined(v,S,E){let I=this._awaitingUpgrade.get(S);I||this._awaitingUpgrade.set(S,I=new Set),E?I.add(v):I.delete(v)}};let l;window.HTMLElement=function(){let S=l;if(S)return l=void 0,S;let E=s.get(this.constructor);if(!E)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return S=Reflect.construct(r,[],E.standInClass),Object.setPrototypeOf(S,this.constructor.prototype),i.set(S,E),S},window.HTMLElement.prototype=r.prototype;let u=v=>v===document||v instanceof ShadowRoot,h=v=>{let S=v.getRootNode();if(!u(S)){let E=A[A.length-1];if(E instanceof CustomElementRegistry)return E;S=E.getRootNode(),u(S)||(S=c.get(S)?.getRootNode()||document)}return S.customElements},f=v=>class{static get formAssociated(){return!0}constructor(){let E=Reflect.construct(r,[],this.constructor);Object.setPrototypeOf(E,HTMLElement.prototype);let I=h(E)||window.customElements,k=I._getDefinition(v);return k?b(E,k):a.set(E,I),E}connectedCallback(){let E=i.get(this);E?E.connectedCallback&&E.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,v,!0)}disconnectedCallback(){let E=i.get(this);E?E.disconnectedCallback&&E.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,v,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let E=i.get(this);E&&E.formAssociated&&E?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let E=i.get(this);E?.formAssociated&&E?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let E=i.get(this);E?.formAssociated&&E?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let E=i.get(this);E?.formAssociated&&E?.formStateRestoreCallback?.apply(this,arguments)}},y=(v,S,E)=>{if(S.size===0||E===void 0)return;let I=v.prototype.setAttribute;I&&(v.prototype.setAttribute=function(U,N){let m=U.toLowerCase();if(S.has(m)){let x=this.getAttribute(m);I.call(this,m,N),E.call(this,m,x,N)}else I.call(this,m,N)});let k=v.prototype.removeAttribute;k&&(v.prototype.removeAttribute=function(U){let N=U.toLowerCase();if(S.has(N)){let m=this.getAttribute(N);k.call(this,N),E.call(this,N,m,null)}else k.call(this,N)});let B=v.prototype.toggleAttribute;B&&(v.prototype.toggleAttribute=function(U,N){let m=U.toLowerCase();if(S.has(m)){let x=this.getAttribute(m);B.call(this,m,N);let R=this.getAttribute(m);E.call(this,m,x,R)}else B.call(this,m,N)})},g=v=>{let S=Object.getPrototypeOf(v);if(S!==window.HTMLElement)return S===r?Object.setPrototypeOf(v,window.HTMLElement):g(S)},b=(v,S,E=!1)=>{Object.setPrototypeOf(v,S.elementClass.prototype),i.set(v,S),l=v;try{new S.elementClass}catch{g(S.elementClass),new S.elementClass}S.attributeChangedCallback&&S.observedAttributes.forEach(I=>{v.hasAttribute(I)&&S.attributeChangedCallback.call(v,I,null,v.getAttribute(I))}),E&&S.connectedCallback&&v.isConnected&&S.connectedCallback.call(v)},O=Element.prototype.attachShadow;Element.prototype.attachShadow=function(v){let S=O.apply(this,arguments);return v.customElements&&(S.customElements=v.customElements),S};let A=[document],w=(v,S,E=void 0)=>{let I=(E?Object.getPrototypeOf(E):v.prototype)[S];v.prototype[S]=function(){A.push(this);let k=I.apply(E||this,arguments);return k!==void 0&&c.set(k,this),A.pop(),k}};w(ShadowRoot,"createElement",document),w(ShadowRoot,"importNode",document),w(Element,"insertAdjacentHTML");let C=(v,S)=>{let E=Object.getOwnPropertyDescriptor(v.prototype,S);Object.defineProperty(v.prototype,S,{...E,set(I){A.push(this),E.set.call(this,I),A.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 v=new WeakMap,S=HTMLElement.prototype.attachInternals,E=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...U){let N=S.call(this,...U);return v.set(N,this),N},E.forEach(U=>{let N=window.ElementInternals.prototype,m=N[U];N[U]=function(...x){let R=v.get(this);if(i.get(R).formAssociated===!0)return m?.call(this,...x);throw new DOMException(`Failed to execute ${m} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class I extends Array{constructor(N){super(...N),this._elements=N}get value(){return this._elements.find(N=>N.checked===!0)?.value||""}}class k{constructor(N){let m=new Map;N.forEach((x,R)=>{let F=x.getAttribute("name"),W=m.get(F)||[];this[+R]=x,W.push(x),m.set(F,W)}),this.length=N.length,m.forEach((x,R)=>{x&&(x.length===1?this[R]=x[0]:this[R]=new I(x))})}namedItem(N){return this[N]}}let B=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let U=B.get.call(this,[]),N=[];for(let m of U){let x=i.get(m);(!x||x.formAssociated===!0)&&N.push(m)}return new k(N)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(o,n,i)=>{if(n!==null)try{e.bind(window.customElements)(o,n,i)}catch(a){console.info(o,n,i,a)}}}var Oo={};D(Oo,{CSSResult:()=>pt,LitElement:()=>Se,ReactiveElement:()=>pe,_$LE:()=>rl,_$LH:()=>Qc,adoptStyles:()=>_r,css:()=>P,defaultConverter:()=>Ir,getCompatibleStyle:()=>zt,html:()=>fe,isServer:()=>Bu,noChange:()=>Pe,notEqual:()=>yo,nothing:()=>V,render:()=>So,supportsAdoptingStyleSheets:()=>Wt,svg:()=>Xc,unsafeCSS:()=>Xe});var mr=globalThis,gr=mr.ShadowRoot&&(mr.ShadyCSS===void 0||mr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ni=Symbol(),Ri=new WeakMap,yr=class{constructor(e,o,n){if(this._$cssResult$=!0,n!==Ni)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(gr&&e===void 0){let n=o!==void 0&&o.length===1;n&&(e=Ri.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Ri.set(o,e))}return e}toString(){return this.cssText}},_i=r=>new yr(typeof r=="string"?r:r+"",void 0,Ni);var lo=(r,e)=>{if(gr)r.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let n=document.createElement("style"),i=mr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,r.appendChild(n)}},br=gr?r=>r:r=>r instanceof CSSStyleSheet?(e=>{let o="";for(let n of e.cssRules)o+=n.cssText;return _i(o)})(r):r;var{is:Lc,defineProperty:$c,getOwnPropertyDescriptor:Fc,getOwnPropertyNames:kc,getOwnPropertySymbols:Uc,getPrototypeOf:Dc}=Object,xr=globalThis,Ii=xr.trustedTypes,Mc=Ii?Ii.emptyScript:"",Bc=xr.reactiveElementPolyfillSupport,Ft=(r,e)=>r,kt={toAttribute(r,e){switch(e){case Boolean:r=r?Mc:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,e){let o=r;switch(e){case Boolean:o=r!==null;break;case Number:o=r===null?null:Number(r);break;case Object:case Array:try{o=JSON.parse(r)}catch{o=null}}return o}},vr=(r,e)=>!Lc(r,e),Pi={attribute:!0,type:String,converter:kt,reflect:!1,hasChanged:vr};Symbol.metadata??=Symbol("metadata"),xr.litPropertyMetadata??=new WeakMap;var Ke=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=Pi){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(e,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,o);i!==void 0&&$c(this.prototype,e,i)}}static getPropertyDescriptor(e,o,n){let{get:i,set:a}=Fc(this.prototype,e)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Pi}static _$Ei(){if(this.hasOwnProperty(Ft("elementProperties")))return;let e=Dc(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Ft("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ft("properties"))){let o=this.properties,n=[...kc(o),...Uc(o)];for(let i of n)this.createProperty(i,o[i])}let e=this[Symbol.metadata];if(e!==null){let o=litPropertyMetadata.get(e);if(o!==void 0)for(let[n,i]of o)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let i=this._$Eu(o,n);i!==void 0&&this._$Eh.set(i,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 i of n)o.unshift(br(i))}else e!==void 0&&o.push(br(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 lo(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),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:kt).toAttribute(o,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,o){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:kt;this._$Em=i,this[i]=s.fromAttribute(o,a.type),this._$Em=null}}requestUpdate(e,o,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??vr)(i?a: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[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}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){}};Ke.elementStyles=[],Ke.shadowRootOptions={mode:"open"},Ke[Ft("elementProperties")]=new Map,Ke[Ft("finalized")]=new Map,Bc?.({ReactiveElement:Ke}),(xr.reactiveElementVersions??=[]).push("2.0.2");var po=globalThis,Sr=po.trustedTypes,Ti=Sr?Sr.createPolicy("lit-html",{createHTML:r=>r}):void 0,fo="$lit$",xe=`lit$${(Math.random()+"").slice(9)}$`,ho="?"+xe,Wc=`<${ho}>`,qe=document,Or=()=>qe.createComment(""),Dt=r=>r===null||typeof r!="object"&&typeof r!="function",Di=Array.isArray,Mi=r=>Di(r)||typeof r?.[Symbol.iterator]=="function",uo=`[
3
+ \f\r]`,Ut=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Li=/-->/g,$i=/>/g,Ge=RegExp(`>|${uo}(?:([^\\s"'>=/]+)(${uo}*=${uo}*(?:[^
4
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Fi=/'/g,ki=/"/g,Bi=/^(?:script|style|textarea|title)$/i,Wi=r=>(e,...o)=>({_$litType$:r,strings:e,values:o}),zi=Wi(1),Hi=Wi(2),re=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),Ui=new WeakMap,Ze=qe.createTreeWalker(qe,129);function ji(r,e){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ti!==void 0?Ti.createHTML(e):e}var Vi=(r,e)=>{let o=r.length-1,n=[],i,a=e===2?"<svg>":"",s=Ut;for(let c=0;c<o;c++){let l=r[c],u,h,f=-1,y=0;for(;y<l.length&&(s.lastIndex=y,h=s.exec(l),h!==null);)y=s.lastIndex,s===Ut?h[1]==="!--"?s=Li:h[1]!==void 0?s=$i:h[2]!==void 0?(Bi.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=Ge):h[3]!==void 0&&(s=Ge):s===Ge?h[0]===">"?(s=i??Ut,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?Ge:h[3]==='"'?ki:Fi):s===ki||s===Fi?s=Ge:s===Li||s===$i?s=Ut:(s=Ge,i=void 0);let g=s===Ge&&r[c+1].startsWith("/>")?" ":"";a+=s===Ut?l+Wc:f>=0?(n.push(u),l.slice(0,f)+fo+l.slice(f)+xe+g):l+xe+(f===-2?c:g)}return[ji(r,a+(r[o]||"<?>")+(e===2?"</svg>":"")),n]},Mt=class r{constructor({strings:e,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,l=this.parts,[u,h]=Vi(e,o);if(this.el=r.createElement(u,n),Ze.currentNode=this.el.content,o===2){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=Ze.nextNode())!==null&&l.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(fo)){let y=h[s++],g=i.getAttribute(f).split(xe),b=/([.?@])?(.*)/.exec(y);l.push({type:1,index:a,name:b[2],strings:g,ctor:b[1]==="."?wr:b[1]==="?"?Cr:b[1]==="@"?Ar:Je}),i.removeAttribute(f)}else f.startsWith(xe)&&(l.push({type:6,index:a}),i.removeAttribute(f));if(Bi.test(i.tagName)){let f=i.textContent.split(xe),y=f.length-1;if(y>0){i.textContent=Sr?Sr.emptyScript:"";for(let g=0;g<y;g++)i.append(f[g],Or()),Ze.nextNode(),l.push({type:2,index:++a});i.append(f[y],Or())}}}else if(i.nodeType===8)if(i.data===ho)l.push({type:2,index:a});else{let f=-1;for(;(f=i.data.indexOf(xe,f+1))!==-1;)l.push({type:7,index:a}),f+=xe.length-1}a++}}static createElement(e,o){let n=qe.createElement("template");return n.innerHTML=e,n}};function Ye(r,e,o=r,n){if(e===re)return e;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=Dt(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(r),i._$AT(r,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(e=Ye(r,i._$AS(r,e.values),i,n)),e}var Er=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,i=(e?.creationScope??qe).importNode(o,!0);Ze.currentNode=i;let a=Ze.nextNode(),s=0,c=0,l=n[0];for(;l!==void 0;){if(s===l.index){let u;l.type===2?u=new Bt(a,a.nextSibling,this,e):l.type===1?u=new l.ctor(a,l.name,l.strings,this,e):l.type===6&&(u=new Rr(a,this,e)),this._$AV.push(u),l=n[++c]}s!==l?.index&&(a=Ze.nextNode(),s++)}return Ze.currentNode=qe,i}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++}},Bt=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,i){this.type=2,this._$AH=G,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.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=Ye(this,e,o),Dt(e)?e===G||e==null||e===""?(this._$AH!==G&&this._$AR(),this._$AH=G):e!==this._$AH&&e!==re&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Mi(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!==G&&Dt(this._$AH)?this._$AA.nextSibling.data=e:this.$(qe.createTextNode(e)),this._$AH=e}g(e){let{values:o,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Mt.createElement(ji(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new Er(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(e){let o=Ui.get(e.strings);return o===void 0&&Ui.set(e.strings,o=new Mt(e)),o}T(e){Di(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of e)i===o.length?o.push(n=new r(this.k(Or()),this.k(Or()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$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))}},Je=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,i,a){this.type=1,this._$AH=G,this._$AN=void 0,this.element=e,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=G}_$AI(e,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=Ye(this,e,o,0),s=!Dt(e)||e!==this._$AH&&e!==re,s&&(this._$AH=e);else{let c=e,l,u;for(e=a[0],l=0;l<a.length-1;l++)u=Ye(this,c[n+l],o,l),u===re&&(u=this._$AH[l]),s||=!Dt(u)||u!==this._$AH[l],u===G?e=G:e!==G&&(e+=(u??"")+a[l+1]),this._$AH[l]=u}s&&!i&&this.O(e)}O(e){e===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},wr=class extends Je{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===G?void 0:e}},Cr=class extends Je{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==G)}},Ar=class extends Je{constructor(e,o,n,i,a){super(e,o,n,i,a),this.type=5}_$AI(e,o=this){if((e=Ye(this,e,o,0)??G)===re)return;let n=this._$AH,i=e===G&&n!==G||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==G&&(n===G||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Rr=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){Ye(this,e)}},Ki={j:fo,P:xe,A:ho,C:1,M:Vi,L:Er,R:Mi,V:Ye,D:Bt,I:Je,H:Cr,N:Ar,U:wr,B:Rr},zc=po.litHtmlPolyfillSupport;zc?.(Mt,Bt),(po.litHtmlVersions??=[]).push("3.1.0");var Nr=globalThis,Wt=Nr.ShadowRoot&&(Nr.ShadyCSS===void 0||Nr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,mo=Symbol(),Gi=new WeakMap,pt=class{constructor(e,o,n){if(this._$cssResult$=!0,n!==mo)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(Wt&&e===void 0){let n=o!==void 0&&o.length===1;n&&(e=Gi.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Gi.set(o,e))}return e}toString(){return this.cssText}},Xe=r=>new pt(typeof r=="string"?r:r+"",void 0,mo),P=(r,...e)=>{let o=r.length===1?r[0]:e.reduce((n,i,a)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+r[a+1],r[0]);return new pt(o,r,mo)},_r=(r,e)=>{if(Wt)r.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let n=document.createElement("style"),i=Nr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,r.appendChild(n)}},zt=Wt?r=>r:r=>r instanceof CSSStyleSheet?(e=>{let o="";for(let n of e.cssRules)o+=n.cssText;return Xe(o)})(r):r;var{is:Hc,defineProperty:jc,getOwnPropertyDescriptor:Vc,getOwnPropertyNames:Kc,getOwnPropertySymbols:Gc,getPrototypeOf:Zc}=Object,Pr=globalThis,Zi=Pr.trustedTypes,qc=Zi?Zi.emptyScript:"",Yc=Pr.reactiveElementPolyfillSupport,Ht=(r,e)=>r,Ir={toAttribute(r,e){switch(e){case Boolean:r=r?qc:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,e){let o=r;switch(e){case Boolean:o=r!==null;break;case Number:o=r===null?null:Number(r);break;case Object:case Array:try{o=JSON.parse(r)}catch{o=null}}return o}},yo=(r,e)=>!Hc(r,e),qi={attribute:!0,type:String,converter:Ir,reflect:!1,hasChanged:yo};Symbol.metadata??=Symbol("metadata"),Pr.litPropertyMetadata??=new WeakMap;var pe=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=qi){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(e,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,o);i!==void 0&&jc(this.prototype,e,i)}}static getPropertyDescriptor(e,o,n){let{get:i,set:a}=Vc(this.prototype,e)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??qi}static _$Ei(){if(this.hasOwnProperty(Ht("elementProperties")))return;let e=Zc(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Ht("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ht("properties"))){let o=this.properties,n=[...Kc(o),...Gc(o)];for(let i of n)this.createProperty(i,o[i])}let e=this[Symbol.metadata];if(e!==null){let o=litPropertyMetadata.get(e);if(o!==void 0)for(let[n,i]of o)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let i=this._$Eu(o,n);i!==void 0&&this._$Eh.set(i,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 i of n)o.unshift(zt(i))}else e!==void 0&&o.push(zt(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 _r(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),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:Ir).toAttribute(o,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,o){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Ir;this._$Em=i,this[i]=s.fromAttribute(o,a.type),this._$Em=null}}requestUpdate(e,o,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??yo)(i?a: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[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}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){}};pe.elementStyles=[],pe.shadowRootOptions={mode:"open"},pe[Ht("elementProperties")]=new Map,pe[Ht("finalized")]=new Map,Yc?.({ReactiveElement:pe}),(Pr.reactiveElementVersions??=[]).push("2.0.2");var bo=globalThis,Tr=bo.trustedTypes,Yi=Tr?Tr.createPolicy("lit-html",{createHTML:r=>r}):void 0,xo="$lit$",ve=`lit$${(Math.random()+"").slice(9)}$`,vo="?"+ve,Jc=`<${vo}>`,tt=document,Vt=()=>tt.createComment(""),Kt=r=>r===null||typeof r!="object"&&typeof r!="function",ra=Array.isArray,oa=r=>ra(r)||typeof r?.[Symbol.iterator]=="function",go=`[
5
+ \f\r]`,jt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ji=/-->/g,Xi=/>/g,Qe=RegExp(`>|${go}(?:([^\\s"'>=/]+)(${go}*=${go}*(?:[^
6
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Qi=/'/g,ea=/"/g,na=/^(?:script|style|textarea|title)$/i,ia=r=>(e,...o)=>({_$litType$:r,strings:e,values:o}),fe=ia(1),Xc=ia(2),Pe=Symbol.for("lit-noChange"),V=Symbol.for("lit-nothing"),ta=new WeakMap,et=tt.createTreeWalker(tt,129);function aa(r,e){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return Yi!==void 0?Yi.createHTML(e):e}var sa=(r,e)=>{let o=r.length-1,n=[],i,a=e===2?"<svg>":"",s=jt;for(let c=0;c<o;c++){let l=r[c],u,h,f=-1,y=0;for(;y<l.length&&(s.lastIndex=y,h=s.exec(l),h!==null);)y=s.lastIndex,s===jt?h[1]==="!--"?s=Ji:h[1]!==void 0?s=Xi:h[2]!==void 0?(na.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=Qe):h[3]!==void 0&&(s=Qe):s===Qe?h[0]===">"?(s=i??jt,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?Qe:h[3]==='"'?ea:Qi):s===ea||s===Qi?s=Qe:s===Ji||s===Xi?s=jt:(s=Qe,i=void 0);let g=s===Qe&&r[c+1].startsWith("/>")?" ":"";a+=s===jt?l+Jc:f>=0?(n.push(u),l.slice(0,f)+xo+l.slice(f)+ve+g):l+ve+(f===-2?c:g)}return[aa(r,a+(r[o]||"<?>")+(e===2?"</svg>":"")),n]},Gt=class r{constructor({strings:e,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,l=this.parts,[u,h]=sa(e,o);if(this.el=r.createElement(u,n),et.currentNode=this.el.content,o===2){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=et.nextNode())!==null&&l.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(xo)){let y=h[s++],g=i.getAttribute(f).split(ve),b=/([.?@])?(.*)/.exec(y);l.push({type:1,index:a,name:b[2],strings:g,ctor:b[1]==="."?$r:b[1]==="?"?Fr:b[1]==="@"?kr:ot}),i.removeAttribute(f)}else f.startsWith(ve)&&(l.push({type:6,index:a}),i.removeAttribute(f));if(na.test(i.tagName)){let f=i.textContent.split(ve),y=f.length-1;if(y>0){i.textContent=Tr?Tr.emptyScript:"";for(let g=0;g<y;g++)i.append(f[g],Vt()),et.nextNode(),l.push({type:2,index:++a});i.append(f[y],Vt())}}}else if(i.nodeType===8)if(i.data===vo)l.push({type:2,index:a});else{let f=-1;for(;(f=i.data.indexOf(ve,f+1))!==-1;)l.push({type:7,index:a}),f+=ve.length-1}a++}}static createElement(e,o){let n=tt.createElement("template");return n.innerHTML=e,n}};function rt(r,e,o=r,n){if(e===Pe)return e;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=Kt(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(r),i._$AT(r,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(e=rt(r,i._$AS(r,e.values),i,n)),e}var Lr=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,i=(e?.creationScope??tt).importNode(o,!0);et.currentNode=i;let a=et.nextNode(),s=0,c=0,l=n[0];for(;l!==void 0;){if(s===l.index){let u;l.type===2?u=new ft(a,a.nextSibling,this,e):l.type===1?u=new l.ctor(a,l.name,l.strings,this,e):l.type===6&&(u=new Ur(a,this,e)),this._$AV.push(u),l=n[++c]}s!==l?.index&&(a=et.nextNode(),s++)}return et.currentNode=tt,i}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++}},ft=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,i){this.type=2,this._$AH=V,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.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=rt(this,e,o),Kt(e)?e===V||e==null||e===""?(this._$AH!==V&&this._$AR(),this._$AH=V):e!==this._$AH&&e!==Pe&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):oa(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!==V&&Kt(this._$AH)?this._$AA.nextSibling.data=e:this.$(tt.createTextNode(e)),this._$AH=e}g(e){let{values:o,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Gt.createElement(aa(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new Lr(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(e){let o=ta.get(e.strings);return o===void 0&&ta.set(e.strings,o=new Gt(e)),o}T(e){ra(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of e)i===o.length?o.push(n=new r(this.k(Vt()),this.k(Vt()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$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))}},ot=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,i,a){this.type=1,this._$AH=V,this._$AN=void 0,this.element=e,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=V}_$AI(e,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=rt(this,e,o,0),s=!Kt(e)||e!==this._$AH&&e!==Pe,s&&(this._$AH=e);else{let c=e,l,u;for(e=a[0],l=0;l<a.length-1;l++)u=rt(this,c[n+l],o,l),u===Pe&&(u=this._$AH[l]),s||=!Kt(u)||u!==this._$AH[l],u===V?e=V:e!==V&&(e+=(u??"")+a[l+1]),this._$AH[l]=u}s&&!i&&this.O(e)}O(e){e===V?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},$r=class extends ot{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===V?void 0:e}},Fr=class extends ot{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==V)}},kr=class extends ot{constructor(e,o,n,i,a){super(e,o,n,i,a),this.type=5}_$AI(e,o=this){if((e=rt(this,e,o,0)??V)===Pe)return;let n=this._$AH,i=e===V&&n!==V||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==V&&(n===V||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Ur=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){rt(this,e)}},Qc={j:xo,P:ve,A:vo,C:1,M:sa,L:Lr,R:oa,V:rt,D:ft,I:ot,H:Fr,N:kr,U:$r,B:Ur},el=bo.litHtmlPolyfillSupport;el?.(Gt,ft),(bo.litHtmlVersions??=[]).push("3.1.0");var So=(r,e,o)=>{let n=o?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=o?.renderBefore??null;n._$litPart$=i=new ft(e.insertBefore(Vt(),a),a,void 0,o??{})}return i._$AI(r),i};var Se=class extends pe{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=So(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Pe}};Se._$litElement$=!0,Se.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Se});var tl=globalThis.litElementPolyfillSupport;tl?.({LitElement:Se});var rl={_$AK:(r,e,o)=>{r._$AK(e,o)},_$AL:r=>r._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Bu=!1;var Eo={};D(Eo,{customElement:()=>ol,eventOptions:()=>il,property:()=>T,query:()=>nt,queryAll:()=>sl,queryAssignedElements:()=>ll,queryAssignedNodes:()=>dl,queryAsync:()=>cl,standardProperty:()=>ca,state:()=>ae});var ol=r=>(e,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(r,e)}):customElements.define(r,e)};var nl={attribute:!0,type:String,converter:kt,reflect:!1,hasChanged:vr},ca=(r=nl,e,o)=>{let{kind:n,metadata:i}=o,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(o.name,r),n==="accessor"){let{name:s}=o;return{set(c){let l=e.get.call(this);e.set.call(this,c),this.requestUpdate(s,l,r)},init(c){return c!==void 0&&this.C(s,void 0,r),c}}}if(n==="setter"){let{name:s}=o;return function(c){let l=this[s];e.call(this,c),this.requestUpdate(s,l,r)}}throw Error("Unsupported decorator location: "+n)};function T(r){return(e,o)=>typeof o=="object"?ca(r,e,o):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(r,e,o)}function ae(r){return T({...r,state:!0,attribute:!1})}function il(r){return(e,o)=>{let n=typeof e=="function"?e:e[o];Object.assign(n,r)}}var ce=(r,e,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(r,e,o),o);function nt(r,e){return(o,n,i)=>{let a=s=>s.renderRoot?.querySelector(r)??null;if(e){let{get:s,set:c}=typeof n=="object"?o:i??(()=>{let l=Symbol();return{get(){return this[l]},set(u){this[l]=u}}})();return ce(o,n,{get(){let l=s.call(this);return l===void 0&&(l=a(this),(l!==null||this.hasUpdated)&&c.call(this,l)),l}})}return ce(o,n,{get(){return a(this)}})}}var al;function sl(r){return(e,o)=>ce(e,o,{get(){return(this.renderRoot??(al??=document.createDocumentFragment())).querySelectorAll(r)}})}function cl(r){return(e,o)=>ce(e,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(r)??null}})}function ll(r){return(e,o)=>{let{slot:n,selector:i}=r??{},a="slot"+(n?`[name=${n}]`:":not([name])");return ce(e,o,{get(){let s=this.renderRoot?.querySelector(a),c=s?.assignedElements(r)??[];return i===void 0?c:c.filter(l=>l.matches(i))}})}}function dl(r){return(e,o)=>{let{slot:n}=r??{},i="slot"+(n?`[name=${n}]`:":not([name])");return ce(e,o,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(r)??[]}})}}var wo={};D(wo,{repeat:()=>fl});var Te={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Le=r=>(...e)=>({_$litDirective$:r,values:e}),he=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:ul}=Ki;var la=()=>document.createComment(""),ht=(r,e,o)=>{let n=r._$AA.parentNode,i=e===void 0?r._$AB:e._$AA;if(o===void 0){let a=n.insertBefore(la(),i),s=n.insertBefore(la(),i);o=new ul(a,s,r,r.options)}else{let a=o._$AB.nextSibling,s=o._$AM,c=s!==r;if(c){let l;o._$AQ?.(r),o._$AM=r,o._$AP!==void 0&&(l=r._$AU)!==s._$AU&&o._$AP(l)}if(a!==i||c){let l=o._$AA;for(;l!==a;){let u=l.nextSibling;n.insertBefore(l,i),l=u}}}return o},$e=(r,e,o=r)=>(r._$AI(e,o),r),pl={},da=(r,e=pl)=>r._$AH=e,ua=r=>r._$AH,Dr=r=>{r._$AP?.(!1,!0);let e=r._$AA,o=r._$AB.nextSibling;for(;e!==o;){let n=e.nextSibling;e.remove(),e=n}};var pa=(r,e,o)=>{let n=new Map;for(let i=e;i<=o;i++)n.set(r[i],i);return n},fl=Le(class extends he{constructor(r){if(super(r),r.type!==Te.CHILD)throw Error("repeat() can only be used in text expressions")}ht(r,e,o){let n;o===void 0?o=e:e!==void 0&&(n=e);let i=[],a=[],s=0;for(let c of r)i[s]=n?n(c,s):s,a[s]=o(c,s),s++;return{values:a,keys:i}}render(r,e,o){return this.ht(r,e,o).values}update(r,[e,o,n]){let i=ua(r),{values:a,keys:s}=this.ht(e,o,n);if(!Array.isArray(i))return this.dt=s,a;let c=this.dt??=[],l=[],u,h,f=0,y=i.length-1,g=0,b=a.length-1;for(;f<=y&&g<=b;)if(i[f]===null)f++;else if(i[y]===null)y--;else if(c[f]===s[g])l[g]=$e(i[f],a[g]),f++,g++;else if(c[y]===s[b])l[b]=$e(i[y],a[b]),y--,b--;else if(c[f]===s[b])l[b]=$e(i[f],a[b]),ht(r,l[b+1],i[f]),f++,b--;else if(c[y]===s[g])l[g]=$e(i[y],a[g]),ht(r,i[f],i[y]),y--,g++;else if(u===void 0&&(u=pa(s,g,b),h=pa(c,f,y)),u.has(c[f]))if(u.has(c[y])){let O=h.get(s[g]),A=O!==void 0?i[O]:null;if(A===null){let w=ht(r,i[f]);$e(w,a[g]),l[g]=w}else l[g]=$e(A,a[g]),ht(r,i[f],A),i[O]=null;g++}else Dr(i[y]),y--;else Dr(i[f]),f++;for(;g<=b;){let O=ht(r,l[b+1]);$e(O,a[g]),l[g++]=O}for(;f<=y;){let O=i[f++];O!==null&&Dr(O)}return this.dt=s,da(r,l),re}});var Co={};D(Co,{classMap:()=>it});var it=Le(class extends he{constructor(r){if(super(r),r.type!==Te.ATTRIBUTE||r.name!=="class"||r.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(r){return" "+Object.keys(r).filter(e=>r[e]).join(" ")+" "}update(r,[e]){if(this.it===void 0){this.it=new Set,r.strings!==void 0&&(this.st=new Set(r.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=r.element.classList;for(let n of this.it)n in e||(o.remove(n),this.it.delete(n));for(let n in e){let i=!!e[n];i===this.it.has(n)||this.st?.has(n)||(i?(o.add(n),this.it.add(n)):(o.remove(n),this.it.delete(n)))}return re}});var Ao={};D(Ao,{styleMap:()=>ml});var fa="important",hl=" !"+fa,ml=Le(class extends he{constructor(r){if(super(r),r.type!==Te.ATTRIBUTE||r.name!=="style"||r.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(r){return Object.keys(r).reduce((e,o)=>{let n=r[o];return n==null?e:e+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(r,[e]){let{style:o}=r.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 i=e[n];if(i!=null){this.ut.add(n);let a=typeof i=="string"&&i.endsWith(hl);n.includes("-")||a?o.setProperty(n,a?i.slice(0,-11):i,a?fa:""):o[n]=i}}return re}});var Ro={};D(Ro,{UnsafeHTMLDirective:()=>mt,unsafeHTML:()=>yl});var mt=class extends he{constructor(e){if(super(e),this.et=G,e.type!==Te.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===G||e==null)return this.vt=void 0,this.et=e;if(e===re)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:[]}}};mt.directiveName="unsafeHTML",mt.resultType=1;var yl=Le(mt);var Po={};D(Po,{CacheRegistry:()=>Io});var _o={};D(_o,{CancelablePromise:()=>yt,CanceledPromiseError:()=>Zt,cancelable:()=>No});var Zt=class extends Error{constructor(e,o,n){super(e),this.canceledPromiseResult=o,this.canceledPromiseError=n}},yt=class extends Promise{constructor(e){super((o,n)=>e(i=>{this.isCanceled?n(new Zt("Promise has been canceled",i)):o(i)},i=>{this.isCanceled?n(new Zt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},No=r=>new yt((e,o)=>r.then(e).catch(o));var Io=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 yt&&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 i=No(o());return this.content[e]=i,i.then(a=>(this.content[e]=a,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),a))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var Lo={};D(Lo,{ClusteringHelper:()=>To});var To=class r{constructor(e,o,n,i){this.allResults=e,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(e,o){var n,i;let a=((i=(n=e?.map)!==null&&n!==void 0?n:e?.document)!==null&&i!==void 0?i:e?.topic).metadata;return o==null?r.flattenMetadata(a):r.flattenMetadata(a.find(s=>s.key===o))}static flattenMetadata(e){if(Array.isArray(e))return e.map(n=>r.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=[],i=[];return e.hierarchicalValues.forEach(a=>{n.push(a.join(" > ")),a.length>2?i.push(`... > ${a[a.length-1]}`):i.push(a.join(" > "))}),{key:e.key,label:e.label,value:n.join(", "),displayValue:i.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 i,a;let s=r.extractResultMetadata(this.selectedResult,e),c=(i=s?.label)!==null&&i!==void 0?i:(a=this.getMetadataDescriptor(e))===null||a===void 0?void 0:a.label;return this.allResults.map(u=>r.extractResultMetadata(u,e)).map(u=>u??{key:e,label:c,value:void 0,displayValue:n}).filter(u=>u.value!=s?.value).filter((u,h,f)=>f.findIndex(y=>y.value===u.value)===h).map(u=>({result:this.findBestResultForMetadataValue(e,u.value),metadata:u})).sort((u,h)=>this.compareMetadata(u.metadata.value,h.metadata.value,e,o))}compareMetadata(e,o,n,i){if(e==null)return-1;if(o==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",c=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let l=e.localeCompare(o,i,{numeric:!0});return c?l*-1:l}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(o=>e==o.key)}findBestResultForMetadataValue(e,o){let n=this.allResults.filter(l=>{var u;return((u=r.extractResultMetadata(l,e))===null||u===void 0?void 0:u.value)==o}),a=[...r.extractResultMetadata(this.selectedResult).filter(l=>this.clusteringMetadata.has(l.key)).filter(l=>l.key!==e)],s,c=-1;for(let l of n){let u=this.countMatchingMetadata(l,a);if(u>c&&(c=u,s=l,u===a.length))break}return s}countMatchingMetadata(e,o){return r.extractResultMetadata(e).filter(n=>o.some(i=>i.key===n.key&&i.value===n.value)).length}};var $o={};D($o,{Debouncer:()=>Fe});var Fe=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 i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(c){i(c);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Do={};D(Do,{customElement:()=>Oe,isNumber:()=>ba,jsonProperty:()=>Uo,optionalNumberProperty:()=>Jt});var ko={};D(ko,{dateReviver:()=>bl,deepEqual:()=>qt,delay:()=>ha,eventPathContainsMatchingElement:()=>vl,flatDeep:()=>ya,hasChanged:()=>Yt,last:()=>Sl,minmax:()=>Fo,parseDate:()=>ga,waitFor:()=>ma,waitUntil:()=>gl});var ha=r=>new Promise(e=>setTimeout(e,r));async function gl(r,e=10,o=2e4){await ma(async()=>await r()||void 0,e,o)}async function ma(r,e=10,o=2e4){let n=await r(),i,a;for(i=a=performance.now();n==null&&(!o||a-i<o);)await ha(e),n=await r(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function ya(r,e){return r.flatMap(o=>[o,...ya(e(o),e)])}function bl(...r){return function(e,o){return r.includes(e)?ga(o):o}}function ga(r){return r.match(/^\d{4}-\d{2}-\d{2}$/)&&(r=r.replace(/-/g,"/")),r=r.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,o,n,i)=>o+n+":"+i),new Date(r)}function xl(r,e){if(r===e)return!0;if(r&&e&&typeof r=="object"&&typeof e=="object"){if(r.constructor!==e.constructor)return!1;var o,n,i;if(Array.isArray(r)){if(o=r.length,o!=e.length)return!1;for(n=o;n--!==0;)if(!qt(r[n],e[n]))return!1;return!0}if(r instanceof Map&&e instanceof Map){if(r.size!==e.size)return!1;for(n of r.entries())if(!e.has(n[0]))return!1;for(n of r.entries())if(!qt(n[1],e.get(n[0])))return!1;return!0}if(r instanceof Set&&e instanceof Set){if(r.size!==e.size)return!1;for(n of r.entries())if(!e.has(n[0]))return!1;return!0}if(r.constructor===RegExp)return r.source===e.source&&r.flags===e.flags;if(r.valueOf!==Object.prototype.valueOf)return r.valueOf()===e.valueOf();if(i=Object.keys(r),o=i.length,o!==Object.keys(e).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=o;n--!==0;){var a=i[n];if(!qt(r[a],e[a]))return!1}return!0}return r!==r&&e!==e}function qt(r,e){try{return xl(r,e)}catch{return!1}}function Yt(r,e){return!qt(r,e)}function vl(r,e,o=window.document.body){if(e.length>0){let n=r.composedPath();for(let i of n){if(i===o)return!1;if(i.matches&&e.some(a=>i.matches(a)))return!0}}return!1}function Fo(r,e,o){return Math.min(Math.max(r,e),o)}function Sl(r){return r[r.length-1]}var Oe=r=>e=>{window.customElements.get(r)||window.customElements.define(r,e)};function Uo(r,e){let o=()=>JSON.parse(JSON.stringify(r));return T({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Yt,...e??{}})}function Jt(r){return T({type:Object,converter:{fromAttribute:e=>{if(e!=null)return ba(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...r??{}})}function ba(r){return!isNaN(parseFloat(r))}var hn={};D(hn,{designSystemVariables:()=>M});var fn={};D(fn,{DesignSystemFamily:()=>Qt,DesignSystemSize:()=>er,FtCssVariableFactory:()=>t,badge:()=>Nl,banner:()=>Rl,breadcrumb:()=>_l,button:()=>El,chart:()=>zl,checkbox:()=>jl,chip:()=>Cl,chipChoice:()=>wl,collapsible:()=>Bl,comboboxMultiSelect:()=>Dl,comboboxSingleSelect:()=>Ul,drawer:()=>Tl,floatingMenu:()=>kl,foundation:()=>d,link:()=>Al,modal:()=>Pl,notice:()=>Hl,notification:()=>Gl,pageHeader:()=>Il,popover:()=>Ml,radio:()=>Kl,resolveFamilyClass:()=>un,resolveSizeClass:()=>pn,semantic:()=>p,setVariable:()=>Z,switch_:()=>Wl,tabs:()=>Ll,textArea:()=>Fl,textInput:()=>$l,toggle:()=>Vl,tooltip:()=>Zl,typographies:()=>Xt,typographyBody1Medium:()=>jo,typographyBody1Regular:()=>Ho,typographyBody1Semibold:()=>Vo,typographyBody2Medium:()=>Go,typographyBody2MediumUnderline:()=>xa,typographyBody2Regular:()=>Ko,typographyBody2Semibold:()=>Zo,typographyCaption1Bold:()=>on,typographyCaption1Medium:()=>tn,typographyCaption1Semibold:()=>rn,typographyCaption2Bold:()=>sn,typographyCaption2Medium:()=>nn,typographyCaption2Semibold:()=>an,typographyCaption3Bold:()=>dn,typographyCaption3Medium:()=>cn,typographyCaption3Semibold:()=>ln,typographyDisplay:()=>Mo,typographyLabel1Bold:()=>Jo,typographyLabel1Medium:()=>qo,typographyLabel1Semibold:()=>Yo,typographyLabel2Bold:()=>en,typographyLabel2Medium:()=>Xo,typographyLabel2Semibold:()=>Qo,typographyTitle1:()=>Bo,typographyTitle2:()=>Wo,typographyTitle3:()=>zo,typographyVariants:()=>Ol});var Ee=r=>typeof r=="string"?Xe(r):r,t=class{static create(e,o,n,i){let a=c=>Ee(c??i),s=P`var(${Ee(e)}, ${a(i)})`;return s.name=e,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>P`var(${Ee(e)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,o,n,i){let a=c=>n.get(c??i),s=P`var(${Ee(e)}, ${a(i)})`;return s.name=e,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>P`var(${Ee(e)}, ${a(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,o){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):Ee(a??e.lastResortDefaultValue()),i=P`var(${Ee(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=o,i.defaultCssValue=n,i.get=a=>P`var(${Ee(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function Z(r,e){return Ee(`${r.name}: ${e}`)}var d={colorWhite:t.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:t.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:t.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:t.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:t.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:t.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:t.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:t.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:t.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:t.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:t.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:t.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:t.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:t.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:t.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:t.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:t.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:t.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:t.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:t.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:t.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:t.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:t.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:t.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:t.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:t.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:t.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:t.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:t.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:t.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:t.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:t.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:t.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:t.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:t.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:t.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:t.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:t.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:t.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:t.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:t.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:t.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:t.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:t.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:t.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:t.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:t.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:t.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:t.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:t.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:t.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:t.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:t.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:t.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:t.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:t.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:t.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:t.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:t.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:t.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:t.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:t.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:t.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:t.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:t.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:t.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:t.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:t.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:t.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:t.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:t.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:t.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:t.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:t.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:t.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:t.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:t.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:t.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:t.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:t.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:t.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:t.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:t.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:t.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:t.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:t.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:t.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:t.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:t.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:t.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:t.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:t.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:t.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:t.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:t.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:t.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:t.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:t.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:t.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:t.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:t.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:t.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:t.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:t.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:t.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:t.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:t.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:t.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:t.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:t.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:t.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:t.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:t.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:t.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:t.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:t.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:t.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:t.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:t.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:t.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:t.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:t.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:t.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:t.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:t.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:t.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:t.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:t.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:t.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:t.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:t.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:t.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:t.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:t.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:t.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:t.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:t.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:t.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:t.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:t.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:t.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:t.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:t.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:t.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:t.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:t.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:t.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:t.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:t.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:t.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:t.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:t.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:t.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:t.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:t.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:t.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:t.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:t.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:t.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:t.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:t.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:t.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:t.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:t.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:t.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:t.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:t.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:t.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:t.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:t.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:t.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:t.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:t.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:t.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:t.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:t.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:t.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:t.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:t.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:t.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:t.create("--ft-opacity-0","","NUMBER","0"),opacity8:t.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:t.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:t.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:t.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:t.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:t.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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)")},Mo={fontFamily:t.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:t.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-display-textCase","","UNKNOWN","none")},Bo={fontFamily:t.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:t.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Wo={fontFamily:t.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:t.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},zo={fontFamily:t.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:t.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:t.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Ho={fontFamily:t.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},jo={fontFamily:t.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Vo={fontFamily:t.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Ko={fontFamily:t.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Go={fontFamily:t.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},xa={fontFamily:t.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:t.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:t.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Zo={fontFamily:t.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},qo={fontFamily:t.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Yo={fontFamily:t.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Jo={fontFamily:t.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Xo={fontFamily:t.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Qo={fontFamily:t.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},en={fontFamily:t.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},tn={fontFamily:t.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},rn={fontFamily:t.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},on={fontFamily:t.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},nn={fontFamily:t.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},an={fontFamily:t.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},sn={fontFamily:t.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},cn={fontFamily:t.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},ln={fontFamily:t.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},dn={fontFamily:t.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Xt={display:Mo,"title-1":Bo,"title-2":Wo,"title-3":zo,"body-1-regular":Ho,"body-1-medium":jo,"body-1-semibold":Vo,"body-2-regular":Ko,"body-2-medium":Go,"body-2-medium-underline":xa,"body-2-semibold":Zo,"label-1-medium":qo,"label-1-semibold":Yo,"label-1-bold":Jo,"label-2-medium":Xo,"label-2-semibold":Qo,"label-2-bold":en,"caption-1-medium":tn,"caption-1-semibold":rn,"caption-1-bold":on,"caption-2-medium":nn,"caption-2-semibold":an,"caption-2-bold":sn,"caption-3-medium":cn,"caption-3-semibold":ln,"caption-3-bold":dn},Ol=["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 p={backgroundActionPrimary:t.extend("--ft-background-action-primary","Used as backgorund of primary action components.",d.colorBrand0),backgroundErrorSubtle:t.extend("--ft-background-error-subtle","Used as background of subtle error components.",d.colorRed10),backgroundInfoSubtle:t.extend("--ft-background-info-subtle","Used as background of subtle information components.",d.colorCyan10),backgroundWarningSubtle:t.extend("--ft-background-warning-subtle","Used as background of subtle information components.",d.colorOrange10),backgroundSuccessSubtle:t.extend("--ft-background-success-subtle","Used as background of subtle success components.",d.colorGreen10),backgroundGlobalSurface:t.extend("--ft-background-global-surface","Used as app background.",d.colorWhite),backgroundGlobalOnSurface:t.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",d.colorGray10),backgroundGlobalOnSurfaceDark:t.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",d.colorGray30),contentActionPrimary:t.extend("--ft-content-action-primary","Used on label of primary action on light surface.",d.colorBrand0),contentWarningPrimary:t.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",d.colorOrange200),contentWarningIconOnly:t.extend("--ft-content-warning-icon-only","Used on warning status icons alone",d.colorOrange0),contentErrorPrimary:t.extend("--ft-content-error-primary","Used on label of error messages on light surface.",d.colorRed0),contentErrorIconOnly:t.extend("--ft-content-error-icon-only","Used on error status icons alone",d.colorRed70),contentInfoPrimary:t.extend("--ft-content-info-primary","Used on label of information messages on light surface.",d.colorCyan200),contentInfoIconOnly:t.extend("--ft-content-info-icon-only","Used on info status icons alone",d.colorCyan0),contentSuccessPrimary:t.extend("--ft-content-success-primary","Used on label of success messages on light surface.",d.colorGreen200),contentSuccessIconOnly:t.extend("--ft-content-success-icon-only","Used on success status icons alone",d.colorGreen0),contentGlobalPrimary:t.extend("--ft-content-global-primary","Used for main content on the page.",d.colorGray500),contentGlobalSecondary:t.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
7
+ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",d.colorGray0),contentGlobalOnColor:t.extend("--ft-content-global-on-color","Used for content on a dominant color.",d.colorWhite),borderActionPrimary:t.extend("--ft-border-action-primary","Used as border for primary action components.",d.colorBrand0),borderActionFocusRing:t.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",d.colorCyan0),borderWarningPrimary:t.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",d.colorOrange200),borderWarningSubtle:t.extend("--ft-border-warning-subtle","Used as border for warning components.",d.colorOrange30),borderSuccessPrimary:t.extend("--ft-border-success-primary","Used as border for success buttons.",d.colorGreen200),borderSuccessSubtle:t.extend("--ft-border-success-subtle","Used as border for success components.",d.colorGreen30),borderErrorPrimary:t.extend("--ft-border-error-primary","Used as border for text fields in error states.",d.colorRed0),borderErrorSubtle:t.extend("--ft-border-error-subtle","Used as border for error components.",d.colorRed30),borderInfoPrimary:t.extend("--ft-border-info-primary","Used as border for buttons in info color.",d.colorCyan200),borderInfoSubtle:t.extend("--ft-border-info-subtle","Used as border for information components.",d.colorCyan30),borderGlobalPrimary:t.extend("--ft-border-global-primary","Used as border for element like input.",d.colorGray50),borderGlobalSubtle:t.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",d.colorGray30),borderInputPrimary:t.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",d.colorGray80)};var El={largeHeight:t.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:t.extend("--ft-button-large-horizontal-padding","",d.spacing4),largeGap:t.extend("--ft-button-large-gap","",d.spacing2),largeBorderRadius:t.extend("--ft-button-large-border-radius","",d.borderRadiusS),largeIconSize:t.extend("--ft-button-large-icon-size","",d.iconSize3),largeBorderWidth:t.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:t.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:t.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:t.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:t.extend("--ft-button-medium-horizontal-padding","",d.spacing3),mediumGap:t.extend("--ft-button-medium-gap","",d.spacing2),mediumBorderRadius:t.extend("--ft-button-medium-border-radius","",d.borderRadiusS),mediumIconSize:t.extend("--ft-button-medium-icon-size","",d.iconSize2),mediumBorderWidth:t.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:t.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:t.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:t.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-button-small-horizontal-padding","",d.spacing2),smallGap:t.extend("--ft-button-small-gap","",d.spacing1),smallBorderRadius:t.extend("--ft-button-small-border-radius","",d.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",d.iconSize1),smallBorderWidth:t.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:t.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:t.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:t.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:t.extend("--ft-button-x-small-icon-size","",d.iconSize1),xSmallFocusOutlineOffset:t.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:t.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:t.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:t.extend("--ft-button-round-border-radius","",d.borderRadiusPill),primaryBackgroundColor:t.extend("--ft-button-primary-background-color","",p.backgroundActionPrimary),primaryColor:t.extend("--ft-button-primary-color","",p.contentGlobalOnColor),primaryIconColor:t.extend("--ft-button-primary-icon-color","",p.contentGlobalOnColor),primaryStateLayerColor:t.extend("--ft-button-primary-state-layer-color","",p.contentGlobalOnColor),primaryHoverStateLayerOpacity:t.extend("--ft-button-primary-hover-state-layer-opacity","",d.opacity16),primaryFocusStateLayerOpacity:t.extend("--ft-button-primary-focus-state-layer-opacity","",d.opacity16),primaryActiveStateLayerOpacity:t.extend("--ft-button-primary-active-state-layer-opacity","",d.opacity24),primaryDisabledComponentOpacity:t.extend("--ft-button-primary-disabled-component-opacity","",d.opacity40),focusFocusRingColor:t.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBackgroundColor:t.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:t.extend("--ft-button-tertiary-color","",p.contentActionPrimary),tertiaryIconColor:t.extend("--ft-button-tertiary-icon-color","",p.contentActionPrimary),tertiaryStateLayerColor:t.extend("--ft-button-tertiary-state-layer-color","",p.contentActionPrimary),tertiaryHoverStateLayerOpacity:t.extend("--ft-button-tertiary-hover-state-layer-opacity","",d.opacity8),tertiaryFocusStateLayerOpacity:t.extend("--ft-button-tertiary-focus-state-layer-opacity","",d.opacity8),tertiaryActiveStateLayerOpacity:t.extend("--ft-button-tertiary-active-state-layer-opacity","",d.opacity16),tertiaryDisabledComponentOpacity:t.extend("--ft-button-tertiary-disabled-component-opacity","",d.opacity40),secondaryBackgroundColor:t.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:t.extend("--ft-button-secondary-color","",p.contentActionPrimary),secondaryIconColor:t.extend("--ft-button-secondary-icon-color","",p.contentActionPrimary),secondaryStateLayerColor:t.extend("--ft-button-secondary-state-layer-color","",p.contentActionPrimary),secondaryHoverStateLayerOpacity:t.extend("--ft-button-secondary-hover-state-layer-opacity","",d.opacity8),secondaryFocusStateLayerOpacity:t.extend("--ft-button-secondary-focus-state-layer-opacity","",d.opacity8),secondaryActiveStateLayerOpacity:t.extend("--ft-button-secondary-active-state-layer-opacity","",d.opacity16),secondaryDisabledComponentOpacity:t.extend("--ft-button-secondary-disabled-component-opacity","",d.opacity40),secondaryBorderColor:t.extend("--ft-button-secondary-border-color","",p.borderActionPrimary),neutralBackgroundColor:t.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:t.extend("--ft-button-neutral-icon-color","",p.contentGlobalSecondary),neutralColor:t.extend("--ft-button-neutral-color","",p.contentGlobalSecondary),neutralStateLayerColor:t.extend("--ft-button-neutral-state-layer-color","",p.contentGlobalSecondary),neutralHoverStateLayerOpacity:t.extend("--ft-button-neutral-hover-state-layer-opacity","",d.opacity8),neutralFocusStateLayerOpacity:t.extend("--ft-button-neutral-focus-state-layer-opacity","",d.opacity8),neutralActiveStateLayerOpacity:t.extend("--ft-button-neutral-active-state-layer-opacity","",d.opacity16),neutralDisabledComponentOpacity:t.extend("--ft-button-neutral-disabled-component-opacity","",d.opacity40)};var wl={neutralOffHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",d.opacity8),neutralOffFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",d.opacity8),neutralOffFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",p.borderActionFocusRing),neutralOffActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",d.opacity16),neutralOffBackgroundColor:t.extend("--ft-chip-choice-neutral-off-background-color","",p.backgroundGlobalOnSurface),neutralOffBorderColor:t.extend("--ft-chip-choice-neutral-off-border-color","",p.borderGlobalPrimary),neutralOffColor:t.extend("--ft-chip-choice-neutral-off-color","",p.contentGlobalSecondary),neutralOffStateLayerColor:t.extend("--ft-chip-choice-neutral-off-state-layer-color","",p.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",d.opacity16),neutralOnHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",d.opacity24),neutralOnFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",d.opacity24),neutralOnFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",p.borderActionFocusRing),neutralOnActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",d.opacity32),neutralOnBackgroundColor:t.extend("--ft-chip-choice-neutral-on-background-color","",p.backgroundGlobalOnSurface),neutralOnBorderColor:t.extend("--ft-chip-choice-neutral-on-border-color","",p.borderGlobalPrimary),neutralOnColor:t.extend("--ft-chip-choice-neutral-on-color","",p.contentGlobalPrimary),neutralOnIconColor:t.extend("--ft-chip-choice-neutral-on-icon-color","",p.contentGlobalPrimary),neutralOnStateLayerColor:t.extend("--ft-chip-choice-neutral-on-state-layer-color","",p.contentGlobalPrimary),largeMinHeight:t.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-choice-large-horizontal-padding","",d.spacing3),largeGap:t.extend("--ft-chip-choice-large-gap","",d.spacing1),largeBorderRadius:t.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-choice-large-icon-size","",d.iconSize3),mediumMinHeight:t.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-choice-medium-horizontal-padding","",d.spacing2),mediumGap:t.extend("--ft-chip-choice-medium-gap","",d.spacing1),mediumBorderRadius:t.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-choice-medium-icon-size","",d.iconSize2)};var Cl={largeMinHeight:t.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",d.spacing3),largeButtonRightPadding:t.extend("--ft-chip-large-button-right-padding","",d.spacing1),largeGap:t.extend("--ft-chip-large-gap","",d.spacing1),largeFocusOutlineOffset:t.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:t.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-large-icon-size","",d.iconSize3),mediumMinHeight:t.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",d.spacing2),mediumButtonRightPadding:t.extend("--ft-chip-medium-button-right-padding","",d.spacing05),mediumGap:t.extend("--ft-chip-medium-gap","",d.spacing1),mediumFocusOutlineOffset:t.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:t.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-medium-icon-size","",d.iconSize2),smallMinHeight:t.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",d.spacing1),smallButtonRightPadding:t.extend("--ft-chip-small-button-right-padding","",d.spacing05),smallGap:t.extend("--ft-chip-small-gap","",d.spacing1),smallFocusOutlineOffset:t.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:t.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:t.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:t.extend("--ft-chip-small-icon-size","",d.iconSize1),neutralBackgroundColor:t.extend("--ft-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:t.extend("--ft-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:t.extend("--ft-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:t.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:t.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:t.extend("--ft-chip-info-color","",p.contentInfoPrimary),infoIconColor:t.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:t.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:t.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:t.extend("--ft-chip-success-color","",p.contentSuccessPrimary),successIconColor:t.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:t.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:t.extend("--ft-chip-warning-color","",p.contentWarningPrimary),warningIconColor:t.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:t.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:t.extend("--ft-chip-error-color","",p.contentErrorPrimary),errorIconColor:t.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:t.extend("--ft-chip-error-border-color","",p.borderErrorSubtle)};var Al={brandHoverOpacity:t.extend("--ft-link-brand-hover-opacity","",d.opacity80),brandHoverColor:t.extend("--ft-link-brand-hover-color","",p.contentActionPrimary),brandFocusFocusRingColor:t.extend("--ft-link-brand-focus-focus-ring-color","",p.borderActionFocusRing),brandFocusColor:t.extend("--ft-link-brand-focus-color","",p.contentActionPrimary),brandDefaultColor:t.extend("--ft-link-brand-default-color","",p.contentActionPrimary),brandActiveColor:t.extend("--ft-link-brand-active-color","",p.contentActionPrimary),infoHoverOpacity:t.extend("--ft-link-info-hover-opacity","",d.opacity80),infoHoverColor:t.extend("--ft-link-info-hover-color","",p.contentInfoPrimary),infoFocusFocusRingColor:t.extend("--ft-link-info-focus-focus-ring-color","",p.borderActionFocusRing),infoFocusColor:t.extend("--ft-link-info-focus-color","",p.contentInfoPrimary),infoDefaultColor:t.extend("--ft-link-info-default-color","",p.contentInfoPrimary),infoActiveColor:t.extend("--ft-link-info-active-color","",p.contentInfoPrimary),neutralFocusFocusRingColor:t.extend("--ft-link-neutral-focus-focus-ring-color","",p.borderActionFocusRing),neutralFocusColor:t.extend("--ft-link-neutral-focus-color","",p.contentActionPrimary),neutralDefaultColor:t.extend("--ft-link-neutral-default-color","",p.contentGlobalPrimary),neutralHoverColor:t.extend("--ft-link-neutral-hover-color","",p.contentActionPrimary),neutralActiveColor:t.extend("--ft-link-neutral-active-color","",p.contentActionPrimary)};var Rl={iconSize:t.extend("--ft-banner-icon-size","",d.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:t.extend("--ft-banner-left-padding","",d.spacing6),rightPadding:t.extend("--ft-banner-right-padding","",d.spacing6),verticalPadding:t.extend("--ft-banner-vertical-padding","",d.spacing6),horizontalSideGap:t.extend("--ft-banner-horizontal-side-gap","",d.spacing6),horizontalMobileGap:t.extend("--ft-banner-horizontal-mobile-gap","",d.spacing4),verticalMobileGap:t.extend("--ft-banner-vertical-mobile-gap","",d.spacing6),horizontalMiddleGap:t.extend("--ft-banner-horizontal-middle-gap","",d.spacing20),infoBackgroundColor:t.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:t.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:t.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:t.extend("--ft-banner-info-border-color","",p.borderInfoSubtle)};var Nl={horizontalPadding:t.extend("--ft-badge-horizontal-padding","",d.spacing1),verticalPadding:t.extend("--ft-badge-vertical-padding","",d.spacing1),borderRadius:t.extend("--ft-badge-border-radius","",d.borderRadiusPill),color:t.extend("--ft-badge-color","",p.contentGlobalOnColor),backgroundColor:t.extend("--ft-badge-background-color","",p.contentActionPrimary)};var _l={horizontalGap:t.extend("--ft-breadcrumb-horizontal-gap","",d.spacing1),verticalGap:t.extend("--ft-breadcrumb-vertical-gap","",d.spacing2),currentColor:t.extend("--ft-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:t.extend("--ft-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:t.extend("--ft-breadcrumb-icon-color","",p.contentGlobalSubtle)};var Il={horizontalPadding:t.extend("--ft-page-header-horizontal-padding","",d.spacing6),horizontalGap:t.extend("--ft-page-header-horizontal-gap","",d.spacing4),verticalGap:t.extend("--ft-page-header-vertical-gap","",d.spacing2),classicVerticalPadding:t.extend("--ft-page-header-classic-vertical-padding","",d.spacing6),multilineVerticalPadding:t.extend("--ft-page-header-multiline-vertical-padding","",d.spacing4),inlineVerticalPadding:t.extend("--ft-page-header-inline-vertical-padding","",d.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",d.colorWhite),bottomBorderColor:t.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),titleColor:t.extend("--ft-page-header-title-color","",p.contentGlobalPrimary),subtitleColor:t.extend("--ft-page-header-subtitle-color","",p.contentGlobalSecondary)};var Pl={smallContainerWidth:t.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:t.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:t.extend("--ft-modal-overlay-background-color","",d.colorGray700),overlayOpacity:t.extend("--ft-modal-overlay-opacity","",d.opacity40),shadow:t.extend("--ft-modal-shadow","",d.shadowElevation03),bodyBackgroundColor:t.extend("--ft-modal-body-background-color","",d.colorWhite),bodyColor:t.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-modal-body-horizontal-padding","",d.spacing6),bodyVerticalPadding:t.extend("--ft-modal-body-vertical-padding","",d.spacing6),bodyVerticalGap:t.extend("--ft-modal-body-vertical-gap","",d.spacing6),containerMargin:t.extend("--ft-modal-container-margin","",d.spacing3),headerBackgroundColor:t.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),headerColor:t.extend("--ft-modal-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-modal-header-trailing-icon-color","",p.contentGlobalSecondary),headerVerticalPadding:t.extend("--ft-modal-header-vertical-padding","",d.spacing1),headerRightPadding:t.extend("--ft-modal-header-right-padding","",d.spacing1),headerLeftPadding:t.extend("--ft-modal-header-left-padding","",d.spacing6),headerGap:t.extend("--ft-modal-header-gap","",d.spacing2),headerBorderBottom:t.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",d.borderRadiusM)};var Tl={overlayOpacity:t.extend("--ft-drawer-overlay-opacity","",d.opacity40),shadow:t.extend("--ft-drawer-shadow","",d.shadowElevation03),bodyColor:t.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-drawer-body-horizontal-padding","",d.spacing6),bodyVerticalPadding:t.extend("--ft-drawer-body-vertical-padding","",d.spacing6),bodyGap:t.extend("--ft-drawer-body-gap","",d.spacing6),bodyBackgroundColor:t.extend("--ft-drawer-body-background-color","",d.colorWhite),headerBackgroundColor:t.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:t.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:t.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:t.extend("--ft-drawer-header-horizontal-padding","",d.spacing2),headerBorderWidth:t.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:t.extend("--ft-drawer-header-gap","",d.spacing3),buttonsBarBackgroundColor:t.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:t.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:t.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:t.extend("--ft-drawer-buttons-bar-horizontal-padding","",d.spacing6),buttonsBarVerticalPadding:t.extend("--ft-drawer-buttons-bar-vertical-padding","",d.spacing4),buttonsBarGap:t.extend("--ft-drawer-buttons-bar-gap","",d.spacing3),buttonsBarBorderWidth:t.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:t.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:t.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:t.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:t.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:t.extend("--ft-drawer-overlay-background-color","",d.colorGray700)};var Ll={offBorderBottomWidth:t.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:t.extend("--ft-tabs-off-hover-state-layer-opacity","",d.opacity8),offDefaultStateLayerOpacity:t.extend("--ft-tabs-off-default-state-layer-opacity","",d.opacity0),offFocusStateLayerOpacity:t.extend("--ft-tabs-off-focus-state-layer-opacity","",d.opacity8),offDisabledComponentOpacity:t.extend("--ft-tabs-off-disabled-component-opacity","",d.opacity40),offColor:t.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),offBorderBottomColor:t.extend("--ft-tabs-off-border-bottom-color","",p.borderGlobalSubtle),activeTabIndicatorHeight:t.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:t.extend("--ft-tabs-top-left-border-radius","",d.borderRadiusS),topRightBorderRadius:t.extend("--ft-tabs-top-right-border-radius","",d.borderRadiusS),withLabelHorizontalPadding:t.extend("--ft-tabs-with-label-horizontal-padding","",d.spacing4),withLabelVerticalPadding:t.extend("--ft-tabs-with-label-vertical-padding","",d.spacing3),horizontalGap:t.extend("--ft-tabs-horizontal-gap","",d.spacing1),verticalGap:t.extend("--ft-tabs-vertical-gap","",d.spacing1),onHoverStateLayerOpacity:t.extend("--ft-tabs-on-hover-state-layer-opacity","",d.opacity16),onDefaultStateLayerOpacity:t.extend("--ft-tabs-on-default-state-layer-opacity","",d.opacity8),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",d.opacity16),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",d.opacity24),onColor:t.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:t.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),onActiveTabIndicatorColor:t.extend("--ft-tabs-on-active-tab-indicator-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:t.extend("--ft-tabs-icon-only-horizontal-padding","",d.spacing4),iconOnlyVerticalPadding:t.extend("--ft-tabs-icon-only-vertical-padding","",d.spacing4),alertTopPadding:t.extend("--ft-tabs-alert-top-padding","",d.spacing1),alertRightPadding:t.extend("--ft-tabs-alert-right-padding","",d.spacing05),focusOutlineWidth:t.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)};var $l={fieldHorizontalPadding:t.extend("--ft-text-input-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:t.extend("--ft-text-input-field-horizontal-gap","",d.spacing3),fieldVerticalGap:t.extend("--ft-text-input-field-vertical-gap","",d.spacing05),fieldIconSize:t.extend("--ft-text-input-field-icon-size","",d.iconSize3),fieldHeight:t.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-text-input-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:t.extend("--ft-text-input-helper-horizontal-gap","",d.spacing1),helperIconSize:t.extend("--ft-text-input-helper-icon-size","",d.iconSize2),borderRadius:t.extend("--ft-text-input-border-radius","",d.borderRadiusM),backgroundColor:t.extend("--ft-text-input-background-color","",d.colorWhite),contentValueColor:t.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:t.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:t.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderWidth:t.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:t.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:t.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-input-disabled-component-opacity","",d.opacity40)};var Fl={backgroundColor:t.extend("--ft-text-area-background-color","",d.colorWhite),contentValueColor:t.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:t.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-area-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-area-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:t.extend("--ft-text-area-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:t.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-area-disabled-component-opacity","",d.opacity40),fieldHorizontalLeftPadding:t.extend("--ft-text-area-field-horizontal-left-padding","",d.spacing4),fieldHorizontalGap:t.extend("--ft-text-area-field-horizontal-gap","",d.spacing3),fieldVerticalGap:t.extend("--ft-text-area-field-vertical-gap","",d.spacing05),fieldMinHeight:t.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:t.extend("--ft-text-area-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:t.extend("--ft-text-area-helper-horizontal-gap","",d.spacing1),helperIconSize:t.extend("--ft-text-area-helper-icon-size","",d.iconSize2),borderRadius:t.extend("--ft-text-area-border-radius","",d.borderRadiusM)};var kl={height:t.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:t.extend("--ft-floating-menu-horizontal-padding","",d.spacing4),offIconColor:t.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:t.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),onColor:t.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:t.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:t.extend("--ft-floating-menu-gap","",d.spacing3),focusFocusRingColor:t.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:t.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:t.extend("--ft-floating-menu-focus-state-layer-opacity","",d.opacity8),hoverStateLayerOpacity:t.extend("--ft-floating-menu-hover-state-layer-opacity","",d.opacity8),activeStateLayerOpacity:t.extend("--ft-floating-menu-active-state-layer-opacity","",d.opacity16),disabledComponentOpacity:t.extend("--ft-floating-menu-disabled-component-opacity","",d.opacity40),iconSize:t.extend("--ft-floating-menu-icon-size","",d.iconSize3),backgroundColor:t.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface),shadow:t.extend("--ft-floating-menu-shadow","",d.shadowElevation02)};var Ul={fieldHorizontalPadding:t.extend("--ft-combobox-single-select-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-single-select-field-horizontal-gap","",d.spacing3),fieldVerticalGap:t.extend("--ft-combobox-single-select-field-vertical-gap","",d.spacing05),fieldIconSize:t.extend("--ft-combobox-single-select-field-icon-size","",d.iconSize3),fieldHeight:t.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-combobox-single-select-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:t.extend("--ft-combobox-single-select-helper-horizontal-gap","",d.spacing1),helperVerticalGap:t.extend("--ft-combobox-single-select-helper-vertical-gap","",d.spacing1),helperIconSize:t.extend("--ft-combobox-single-select-helper-icon-size","",d.iconSize2),menuVerticalGap:t.extend("--ft-combobox-single-select-menu-vertical-gap","",d.spacing2),borderRadius:t.extend("--ft-combobox-single-select-border-radius","",d.borderRadiusM),backgroundColor:t.extend("--ft-combobox-single-select-background-color","",d.colorWhite),labelColor:t.extend("--ft-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:t.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:t.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-single-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-combobox-single-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:t.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:t.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:t.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-single-select-disabled-component-opacity","",d.opacity40)};var Dl={backgroundColor:t.extend("--ft-combobox-multi-select-background-color","",d.colorWhite),labelColor:t.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:t.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:t.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:t.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:t.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:t.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:t.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-multi-select-disabled-component-opacity","",d.opacity40),helperHorizontalPadding:t.extend("--ft-combobox-multi-select-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:t.extend("--ft-combobox-multi-select-helper-horizontal-gap","",d.spacing1),helperVerticalGap:t.extend("--ft-combobox-multi-select-helper-vertical-gap","",d.spacing1),helperIconSize:t.extend("--ft-combobox-multi-select-helper-icon-size","",d.iconSize2),fieldHorizontalPadding:t.extend("--ft-combobox-multi-select-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-multi-select-field-horizontal-gap","",d.spacing3),fieldVerticalGap:t.extend("--ft-combobox-multi-select-field-vertical-gap","",d.spacing05),fieldIconSize:t.extend("--ft-combobox-multi-select-field-icon-size","",d.iconSize3),fieldMaxHeight:t.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:t.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",d.spacing1),contentValuesVerticalGap:t.extend("--ft-combobox-multi-select-content-values-vertical-gap","",d.spacing1),borderRadius:t.extend("--ft-combobox-multi-select-border-radius","",d.borderRadiusM)};var Ml={backgroundColor:t.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:t.extend("--ft-popover-horizontal-padding","",d.spacing6),verticalPadding:t.extend("--ft-popover-vertical-padding","",d.spacing6),titleColor:t.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:t.extend("--ft-popover-body-color","",p.contentGlobalSecondary),linkColor:t.extend("--ft-popover-link-color","",p.contentActionPrimary),gap:t.extend("--ft-popover-gap","",d.spacing3),borderRadius:t.extend("--ft-popover-border-radius","",d.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",d.shadowElevation02)};var Bl={hoverStateLayerOpacity:t.extend("--ft-collapsible-hover-state-layer-opacity","",d.opacity8),focusStateLayerOpacity:t.extend("--ft-collapsible-focus-state-layer-opacity","",d.opacity8),focusOutlineWidth:t.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:t.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:t.extend("--ft-collapsible-active-state-layer-opacity","",d.opacity16),disabledComponentOpacity:t.extend("--ft-collapsible-disabled-component-opacity","",d.opacity40),horizontalPadding:t.extend("--ft-collapsible-horizontal-padding","",d.spacing4),verticalPadding:t.extend("--ft-collapsible-vertical-padding","",d.spacing3),color:t.extend("--ft-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:t.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:t.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:t.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),iconSize:t.extend("--ft-collapsible-icon-size","",d.iconSize3)};var Wl={groupHorizontalPadding:t.extend("--ft-switch-group-horizontal-padding","",d.spacing1),groupVerticalPadding:t.extend("--ft-switch-group-vertical-padding","",d.spacing1),groupGap:t.extend("--ft-switch-group-gap","",d.spacing1),groupBackgroundColor:t.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:t.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:t.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:t.extend("--ft-switch-label-horizontal-padding","",d.spacing2),labelVerticalPadding:t.extend("--ft-switch-label-vertical-padding","",d.spacing1),offHoverStateLayerOpacity:t.extend("--ft-switch-off-hover-state-layer-opacity","",d.opacity8),offFocusStateLayerOpacity:t.extend("--ft-switch-off-focus-state-layer-opacity","",d.opacity8),offActiveStateLayerOpacity:t.extend("--ft-switch-off-active-state-layer-opacity","",d.opacity16),offDisabledComponentOpacity:t.extend("--ft-switch-off-disabled-component-opacity","",d.opacity40),offColor:t.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-switch-on-hover-state-layer-opacity","",d.opacity8),onFocusStateLayerOpacity:t.extend("--ft-switch-on-focus-state-layer-opacity","",d.opacity8),onActiveStateLayerOpacity:t.extend("--ft-switch-on-active-state-layer-opacity","",d.opacity16),onDisabledComponentOpacity:t.extend("--ft-switch-on-disabled-component-opacity","",d.opacity40),onColor:t.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:t.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-switch-icon-horizontal-padding","",d.spacing1),iconVerticalPadding:t.extend("--ft-switch-icon-vertical-padding","",d.spacing1),focusOutlineWidth:t.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:t.extend("--ft-switch-option-border-radius","",d.borderRadiusS)};var zl={color1Light:t.extend("--ft-chart-1-light","for area color charts",d.colorBrand40),color1Base:t.extend("--ft-chart-1-base","for line charts",d.colorBrand0),color2Light:t.extend("--ft-chart-2-light","for area color charts",d.colorYellow60),color2Base:t.extend("--ft-chart-2-base","for line charts",d.colorYellow100),color3Light:t.extend("--ft-chart-3-light","",d.colorUltramarine40),color3Base:t.extend("--ft-chart-3-base","",d.colorUltramarine70),color4Light:t.extend("--ft-chart-4-light","",d.colorCyan50),color4Base:t.extend("--ft-chart-4-base","",d.colorCyan100),color5Light:t.extend("--ft-chart-5-light","",d.colorRed40),color5Base:t.extend("--ft-chart-5-base","",d.colorRed60),color6Light:t.extend("--ft-chart-6-light","",d.colorGreen40),color6Base:t.extend("--ft-chart-6-base","",d.colorGreen70),color7Light:t.extend("--ft-chart-7-light","",d.colorOrange70),color7Base:t.extend("--ft-chart-7-base","",d.colorOrange100),color8Light:t.extend("--ft-chart-8-light","",d.colorAvocado70),color8Base:t.extend("--ft-chart-8-base","",d.colorAvocado200),color9Light:t.extend("--ft-chart-9-light","",d.colorBrown50),color9Base:t.extend("--ft-chart-9-base","",d.colorBrown200),color10Light:t.extend("--ft-chart-10-light","",d.colorGray50),color10Base:t.extend("--ft-chart-10-base","",d.colorGray80),monochrome10:t.extend("--ft-chart-monochrome-10","",d.colorBrand10),monochrome20:t.extend("--ft-chart-monochrome-20","",d.colorBrand20),monochrome30:t.extend("--ft-chart-monochrome-30","",d.colorBrand40),monochrome40:t.extend("--ft-chart-monochrome-40","",d.colorBrand60),monochrome50:t.extend("--ft-chart-monochrome-50","",d.colorBrand0),monochrome60:t.extend("--ft-chart-monochrome-60","",d.colorBrand200)};var Hl={borderWidth:t.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-notice-horizontal-padding","",d.spacing3),verticalPadding:t.extend("--ft-notice-vertical-padding","",d.spacing2),borderRadius:t.extend("--ft-notice-border-radius","",d.borderRadiusS),gap:t.extend("--ft-notice-gap","",d.spacing2),iconSize:t.extend("--ft-notice-icon-size","",d.iconSize3),infoBackgroundColor:t.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:t.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:t.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:t.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:t.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:t.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:t.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:t.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:t.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:t.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:t.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:t.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:t.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:t.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:t.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:t.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly)};var jl={color:t.extend("--ft-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:t.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:t.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:t.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:t.extend("--ft-checkbox-checked-hover-state-layer-opacity","",d.opacity16),checkedFocusStateLayerOpacity:t.extend("--ft-checkbox-checked-focus-state-layer-opacity","",d.opacity16),checkedActiveStateLayerOpacity:t.extend("--ft-checkbox-checked-active-state-layer-opacity","",d.opacity24),checkedDisabledComponentOpacity:t.extend("--ft-checkbox-checked-disabled-component-opacity","",d.opacity40),uncheckedBorderColor:t.extend("--ft-checkbox-unchecked-border-color","",d.colorGray80),uncheckedStateLayerColor:t.extend("--ft-checkbox-unchecked-state-layer-color","",d.colorGray80),uncheckedHoverStateLayerOpacity:t.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",d.opacity16),uncheckedFocusStateLayerOpacity:t.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",d.opacity16),uncheckedActiveStateLayerOpacity:t.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",d.opacity24),uncheckedDisabledComponentOpacity:t.extend("--ft-checkbox-unchecked-disabled-component-opacity","",d.opacity40),focusFocusRingColor:t.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:t.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-checkbox-gap","",d.spacing3)};var Vl={offHoverStateLayerOpacity:t.extend("--ft-toggle-off-hover-state-layer-opacity","",d.opacity16),offFocusStateLayerOpacity:t.extend("--ft-toggle-off-focus-state-layer-opacity","",d.opacity16),offActiveStateLayerOpacity:t.extend("--ft-toggle-off-active-state-layer-opacity","",d.opacity24),offDisabledComponentOpacity:t.extend("--ft-toggle-off-disabled-component-opacity","",d.opacity40),offBackgroundColor:t.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:t.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-toggle-on-hover-state-layer-opacity","",d.opacity16),onFocusStateLayerOpacity:t.extend("--ft-toggle-on-focus-state-layer-opacity","",d.opacity16),onActiveStateLayerOpacity:t.extend("--ft-toggle-on-active-state-layer-opacity","",d.opacity24),onDisabledComponentOpacity:t.extend("--ft-toggle-on-disabled-component-opacity","",d.opacity40),onBackgroundColor:t.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:t.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:t.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),color:t.extend("--ft-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:t.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:t.extend("--ft-toggle-gap","",d.spacing3)};var Kl={color:t.extend("--ft-radio-color","",p.contentGlobalPrimary),selectedRadioColor:t.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:t.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:t.extend("--ft-radio-selected-hover-state-layer-opacity","",d.opacity16),selectedFocusStateLayerOpacity:t.extend("--ft-radio-selected-focus-state-layer-opacity","",d.opacity16),selectedActiveStateLayerOpacity:t.extend("--ft-radio-selected-active-state-layer-opacity","",d.opacity24),selectedDisabledComponentOpacity:t.extend("--ft-radio-selected-disabled-component-opacity","",d.opacity40),unselectedStateLayerColor:t.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:t.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:t.extend("--ft-radio-unselected-hover-state-layer-opacity","",d.opacity16),unselectedFocusStateLayerOpacity:t.extend("--ft-radio-unselected-focus-state-layer-opacity","",d.opacity16),unselectedActiveStateLayerOpacity:t.extend("--ft-radio-unselected-active-state-layer-opacity","",d.opacity24),unselectedDisabledComponentOpacity:t.extend("--ft-radio-unselected-disabled-component-opacity","",d.opacity40),focusFocusRingColor:t.extend("--ft-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:t.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-radio-gap","",d.spacing3)};var Gl={iconSize:t.extend("--ft-notification-icon-size","",d.iconSize4),leftPadding:t.extend("--ft-notification-left-padding","",d.spacing5),rightPadding:t.extend("--ft-notification-right-padding","",d.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",d.spacing3),infoBackgroundColor:t.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:t.extend("--ft-notification-info-color","",p.contentInfoPrimary),infoIconColor:t.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:t.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:t.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:t.extend("--ft-notification-success-color","",p.contentSuccessPrimary),successIconColor:t.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:t.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:t.extend("--ft-notification-warning-color","",p.contentWarningPrimary),warningIconColor:t.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:t.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:t.extend("--ft-notification-error-color","",p.contentErrorPrimary),errorIconColor:t.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:t.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),borderRadius:t.extend("--ft-notification-border-radius","",d.borderRadiusPill),borderWidth:t.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:t.extend("--ft-notification-leading-gap","",d.spacing2),trailingGap:t.extend("--ft-notification-trailing-gap","",d.spacing8)};var Zl={horizontalPadding:t.extend("--ft-tooltip-horizontal-padding","",d.spacing2),verticalPadding:t.extend("--ft-tooltip-vertical-padding","",d.spacing2),borderRadius:t.extend("--ft-tooltip-border-radius","",d.borderRadiusS),color:t.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:t.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:t.extend("--ft-tooltip-background-opacity","",d.opacity80),shadow:t.extend("--ft-tooltip-shadow","",d.shadowElevation02),maxWidth:t.create("--ft-tooltip-max-width","","SIZE","256px"),gap:t.extend("--ft-tooltip-gap","",d.spacing05)};var Qt;(function(r){r.brand="brand",r.neutral="neutral",r.info="info",r.success="success",r.warning="warning",r.error="error"})(Qt||(Qt={}));var er;(function(r){r.large="large",r.medium="medium",r.small="small"})(er||(er={}));function un(r){return`ftds--family-${r}`}function pn(r){return`ftds--size-${r}`}var M={colorPrimary:t.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:t.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:t.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:t.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:t.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:t.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:t.create("--ft-color-error","","COLOR","#B00020"),colorOutline:t.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:t.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:t.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:t.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:t.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:t.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:t.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:t.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:t.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:t.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:t.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:t.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:t.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:t.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:t.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:t.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:t.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:t.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:t.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:t.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:t.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:t.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:t.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:t.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:t.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:t.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:t.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:t.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:t.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:t.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:t.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:t.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:t.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:t.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:t.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:t.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:t.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.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:t.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:t.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:t.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:t.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:t.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:t.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:t.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:t.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var bn={};D(bn,{FtNotificationEvent:()=>mn,PostResizeEvent:()=>gn,PreResizeEvent:()=>yn});var mn=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},yn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},gn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var _n={};D(_n,{computeOffsetPosition:()=>fd});var Sa=["top","right","bottom","left"],va=["start","end"],vn=Sa.reduce((r,e)=>r.concat(e,e+"-"+va[0],e+"-"+va[1]),[]),tr=Math.min,ke=Math.max,rr=Math.round;var we=r=>({x:r,y:r}),ql={left:"right",right:"left",bottom:"top",top:"bottom"},Yl={start:"end",end:"start"};function Sn(r,e,o){return ke(r,tr(e,o))}function Mr(r,e){return typeof r=="function"?r(e):r}function gt(r){return r.split("-")[0]}function Ue(r){return r.split("-")[1]}function On(r){return r==="x"?"y":"x"}function En(r){return r==="y"?"height":"width"}function Br(r){return["top","bottom"].includes(gt(r))?"y":"x"}function wn(r){return On(Br(r))}function Oa(r,e,o){o===void 0&&(o=!1);let n=Ue(r),i=wn(r),a=En(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=xn(s)),[s,xn(s)]}function Ea(r){return r.replace(/start|end/g,e=>Yl[e])}function xn(r){return r.replace(/left|right|bottom|top/g,e=>ql[e])}function Jl(r){return{top:0,right:0,bottom:0,left:0,...r}}function wa(r){return typeof r!="number"?Jl(r):{top:r,right:r,bottom:r,left:r}}function at(r){return{...r,top:r.y,left:r.x,right:r.x+r.width,bottom:r.y+r.height}}function Ca(r,e,o){let{reference:n,floating:i}=r,a=Br(e),s=wn(e),c=En(s),l=gt(e),u=a==="y",h=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,y=n[c]/2-i[c]/2,g;switch(l){case"top":g={x:h,y:n.y-i.height};break;case"bottom":g={x:h,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:f};break;case"left":g={x:n.x-i.width,y:f};break;default:g={x:n.x,y:n.y}}switch(Ue(e)){case"start":g[s]-=y*(o&&u?-1:1);break;case"end":g[s]+=y*(o&&u?-1:1);break}return g}var Aa=async(r,e,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,c=a.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e)),u=await s.getElementRects({reference:r,floating:e,strategy:i}),{x:h,y:f}=Ca(u,n,l),y=n,g={},b=0;for(let O=0;O<c.length;O++){let{name:A,fn:w}=c[O],{x:C,y:v,data:S,reset:E}=await w({x:h,y:f,initialPlacement:n,placement:y,strategy:i,middlewareData:g,rects:u,platform:s,elements:{reference:r,floating:e}});if(h=C??h,f=v??f,g={...g,[A]:{...g[A],...S}},E&&b<=50){b++,typeof E=="object"&&(E.placement&&(y=E.placement),E.rects&&(u=E.rects===!0?await s.getElementRects({reference:r,floating:e,strategy:i}):E.rects),{x:h,y:f}=Ca(u,y,l)),O=-1;continue}}return{x:h,y:f,placement:y,strategy:i,middlewareData:g}};async function Cn(r,e){var o;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:c,strategy:l}=r,{boundary:u="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:y=!1,padding:g=0}=Mr(e,r),b=wa(g),A=c[y?f==="floating"?"reference":"floating":f],w=at(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(A)))==null||o?A:A.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:u,rootBoundary:h,strategy:l})),C=f==="floating"?{...s.floating,x:n,y:i}:s.reference,v=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),S=await(a.isElement==null?void 0:a.isElement(v))?await(a.getScale==null?void 0:a.getScale(v))||{x:1,y:1}:{x:1,y:1},E=at(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:C,offsetParent:v,strategy:l}):C);return{top:(w.top-E.top+b.top)/S.y,bottom:(E.bottom-w.bottom+b.bottom)/S.y,left:(w.left-E.left+b.left)/S.x,right:(E.right-w.right+b.right)/S.x}}function Xl(r,e,o){return(r?[...o.filter(i=>Ue(i)===r),...o.filter(i=>Ue(i)!==r)]:o.filter(i=>gt(i)===i)).filter(i=>r?Ue(i)===r||(e?Ea(i)!==i:!1):!0)}var An=function(r){return r===void 0&&(r={}),{name:"autoPlacement",options:r,async fn(e){var o,n,i;let{rects:a,middlewareData:s,placement:c,platform:l,elements:u}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:y=vn,autoAlignment:g=!0,...b}=Mr(r,e),O=f!==void 0||y===vn?Xl(f||null,g,y):y,A=await Cn(e,b),w=((o=s.autoPlacement)==null?void 0:o.index)||0,C=O[w];if(C==null)return{};let v=Oa(C,a,await(l.isRTL==null?void 0:l.isRTL(u.floating)));if(c!==C)return{reset:{placement:O[0]}};let S=[A[gt(C)],A[v[0]],A[v[1]]],E=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:C,overflows:S}],I=O[w+1];if(I)return{data:{index:w+1,overflows:E},reset:{placement:I}};let k=E.map(N=>{let m=Ue(N.placement);return[N.placement,m&&h?N.overflows.slice(0,2).reduce((x,R)=>x+R,0):N.overflows[0],N.overflows]}).sort((N,m)=>N[1]-m[1]),U=((i=k.filter(N=>N[2].slice(0,Ue(N[0])?2:3).every(m=>m<=0))[0])==null?void 0:i[0])||k[0][0];return U!==c?{data:{index:w+1,overflows:E},reset:{placement:U}}:{}}}};var Rn=function(r){return r===void 0&&(r={}),{name:"shift",options:r,async fn(e){let{x:o,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:A=>{let{x:w,y:C}=A;return{x:w,y:C}}},...l}=Mr(r,e),u={x:o,y:n},h=await Cn(e,l),f=Br(gt(i)),y=On(f),g=u[y],b=u[f];if(a){let A=y==="y"?"top":"left",w=y==="y"?"bottom":"right",C=g+h[A],v=g-h[w];g=Sn(C,g,v)}if(s){let A=f==="y"?"top":"left",w=f==="y"?"bottom":"right",C=b+h[A],v=b-h[w];b=Sn(C,b,v)}let O=c.fn({...e,[y]:g,[f]:b});return{...O,data:{x:O.x-o,y:O.y-n}}}}};function Ce(r){return Na(r)?(r.nodeName||"").toLowerCase():"#document"}function ee(r){var e;return(r==null||(e=r.ownerDocument)==null?void 0:e.defaultView)||window}function Ae(r){var e;return(e=(Na(r)?r.ownerDocument:r.document)||window.document)==null?void 0:e.documentElement}function Na(r){return r instanceof Node||r instanceof ee(r).Node}function me(r){return r instanceof Element||r instanceof ee(r).Element}function le(r){return r instanceof HTMLElement||r instanceof ee(r).HTMLElement}function Ra(r){return typeof ShadowRoot>"u"?!1:r instanceof ShadowRoot||r instanceof ee(r).ShadowRoot}function bt(r){let{overflow:e,overflowX:o,overflowY:n,display:i}=oe(r);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(i)}function _a(r){return["table","td","th"].includes(Ce(r))}function zr(r){let e=Hr(),o=oe(r);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 Ia(r){let e=st(r);for(;le(e)&&!or(e);){if(zr(e))return e;e=st(e)}return null}function Hr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function or(r){return["html","body","#document"].includes(Ce(r))}function oe(r){return ee(r).getComputedStyle(r)}function nr(r){return me(r)?{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}:{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}function st(r){if(Ce(r)==="html")return r;let e=r.assignedSlot||r.parentNode||Ra(r)&&r.host||Ae(r);return Ra(e)?e.host:e}function Pa(r){let e=st(r);return or(e)?r.ownerDocument?r.ownerDocument.body:r.body:le(e)&&bt(e)?e:Pa(e)}function Wr(r,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);let i=Pa(r),a=i===((n=r.ownerDocument)==null?void 0:n.body),s=ee(i);return a?e.concat(s,s.visualViewport||[],bt(i)?i:[],s.frameElement&&o?Wr(s.frameElement):[]):e.concat(i,Wr(i,[],o))}function $a(r){let e=oe(r),o=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=le(r),a=i?r.offsetWidth:o,s=i?r.offsetHeight:n,c=rr(o)!==a||rr(n)!==s;return c&&(o=a,n=s),{width:o,height:n,$:c}}function Fa(r){return me(r)?r:r.contextElement}function xt(r){let e=Fa(r);if(!le(e))return we(1);let o=e.getBoundingClientRect(),{width:n,height:i,$:a}=$a(e),s=(a?rr(o.width):o.width)/n,c=(a?rr(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var Ql=we(0);function ka(r){let e=ee(r);return!Hr()||!e.visualViewport?Ql:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function ed(r,e,o){return e===void 0&&(e=!1),!o||e&&o!==ee(r)?!1:e}function ir(r,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);let i=r.getBoundingClientRect(),a=Fa(r),s=we(1);e&&(n?me(n)&&(s=xt(n)):s=xt(r));let c=ed(a,o,n)?ka(a):we(0),l=(i.left+c.x)/s.x,u=(i.top+c.y)/s.y,h=i.width/s.x,f=i.height/s.y;if(a){let y=ee(a),g=n&&me(n)?ee(n):n,b=y.frameElement;for(;b&&n&&g!==y;){let O=xt(b),A=b.getBoundingClientRect(),w=oe(b),C=A.left+(b.clientLeft+parseFloat(w.paddingLeft))*O.x,v=A.top+(b.clientTop+parseFloat(w.paddingTop))*O.y;l*=O.x,u*=O.y,h*=O.x,f*=O.y,l+=C,u+=v,b=ee(b).frameElement}}return at({width:h,height:f,x:l,y:u})}function td(r){let{rect:e,offsetParent:o,strategy:n}=r,i=le(o),a=Ae(o);if(o===a)return e;let s={scrollLeft:0,scrollTop:0},c=we(1),l=we(0);if((i||!i&&n!=="fixed")&&((Ce(o)!=="body"||bt(a))&&(s=nr(o)),le(o))){let u=ir(o);c=xt(o),l.x=u.x+o.clientLeft,l.y=u.y+o.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-s.scrollLeft*c.x+l.x,y:e.y*c.y-s.scrollTop*c.y+l.y}}function rd(r){return Array.from(r.getClientRects())}function Ua(r){return ir(Ae(r)).left+nr(r).scrollLeft}function od(r){let e=Ae(r),o=nr(r),n=r.ownerDocument.body,i=ke(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=ke(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+Ua(r),c=-o.scrollTop;return oe(n).direction==="rtl"&&(s+=ke(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:c}}function nd(r,e){let o=ee(r),n=Ae(r),i=o.visualViewport,a=n.clientWidth,s=n.clientHeight,c=0,l=0;if(i){a=i.width,s=i.height;let u=Hr();(!u||u&&e==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}return{width:a,height:s,x:c,y:l}}function id(r,e){let o=ir(r,!0,e==="fixed"),n=o.top+r.clientTop,i=o.left+r.clientLeft,a=le(r)?xt(r):we(1),s=r.clientWidth*a.x,c=r.clientHeight*a.y,l=i*a.x,u=n*a.y;return{width:s,height:c,x:l,y:u}}function Ta(r,e,o){let n;if(e==="viewport")n=nd(r,o);else if(e==="document")n=od(Ae(r));else if(me(e))n=id(e,o);else{let i=ka(r);n={...e,x:e.x-i.x,y:e.y-i.y}}return at(n)}function Da(r,e){let o=st(r);return o===e||!me(o)||or(o)?!1:oe(o).position==="fixed"||Da(o,e)}function ad(r,e){let o=e.get(r);if(o)return o;let n=Wr(r,[],!1).filter(c=>me(c)&&Ce(c)!=="body"),i=null,a=oe(r).position==="fixed",s=a?st(r):r;for(;me(s)&&!or(s);){let c=oe(s),l=zr(s);!l&&c.position==="fixed"&&(i=null),(a?!l&&!i:!l&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||bt(s)&&!l&&Da(r,s))?n=n.filter(h=>h!==s):i=c,s=st(s)}return e.set(r,n),n}function sd(r){let{element:e,boundary:o,rootBoundary:n,strategy:i}=r,s=[...o==="clippingAncestors"?ad(e,this._c):[].concat(o),n],c=s[0],l=s.reduce((u,h)=>{let f=Ta(e,h,i);return u.top=ke(f.top,u.top),u.right=tr(f.right,u.right),u.bottom=tr(f.bottom,u.bottom),u.left=ke(f.left,u.left),u},Ta(e,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function cd(r){return $a(r)}function ld(r,e,o){let n=le(e),i=Ae(e),a=o==="fixed",s=ir(r,!0,a,e),c={scrollLeft:0,scrollTop:0},l=we(0);if(n||!n&&!a)if((Ce(e)!=="body"||bt(i))&&(c=nr(e)),n){let u=ir(e,!0,a,e);l.x=u.x+e.clientLeft,l.y=u.y+e.clientTop}else i&&(l.x=Ua(i));return{x:s.left+c.scrollLeft-l.x,y:s.top+c.scrollTop-l.y,width:s.width,height:s.height}}function La(r,e){return!le(r)||oe(r).position==="fixed"?null:e?e(r):r.offsetParent}function Ma(r,e){let o=ee(r);if(!le(r))return o;let n=La(r,e);for(;n&&_a(n)&&oe(n).position==="static";)n=La(n,e);return n&&(Ce(n)==="html"||Ce(n)==="body"&&oe(n).position==="static"&&!zr(n))?o:n||Ia(r)||o}var dd=async function(r){let{reference:e,floating:o,strategy:n}=r,i=this.getOffsetParent||Ma,a=this.getDimensions;return{reference:ld(e,await i(o),n),floating:{x:0,y:0,...await a(o)}}};function ud(r){return oe(r).direction==="rtl"}var jr={convertOffsetParentRelativeRectToViewportRelativeRect:td,getDocumentElement:Ae,getClippingRect:sd,getOffsetParent:Ma,getElementRects:dd,getClientRects:rd,getDimensions:cd,getScale:xt,isElement:me,isRTL:ud};var Ba=(r,e,o)=>{let n=new Map,i={platform:jr,...o},a={...i.platform,_c:n};return Aa(r,e,{...i,platform:a})};function Wa(r){return pd(r)}function Nn(r){return r.assignedSlot?r.assignedSlot:r.parentNode instanceof ShadowRoot?r.parentNode.host:r.parentNode}function pd(r){for(let e=r;e;e=Nn(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Nn(r);e;e=Nn(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 fd(r,e,o){return Ba(r,e,{platform:{...jr,getOffsetParent:n=>jr.getOffsetParent(n,Wa)},middleware:[Rn({crossAxis:!0}),An({allowedPlacements:[o]})]})}var Ln={};D(Ln,{FtdsBase:()=>Tn,toFtdsBase:()=>qa});var Pn={};D(Pn,{FtLitElement:()=>q});var In={};D(In,{ScopedRegistryLitElement:()=>ar});var Vr=window,hd=Vr.ShadowRoot&&(Vr.ShadyCSS===void 0||Vr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Xm=Symbol();var za=(r,e)=>{hd?r.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):e.forEach(o=>{let n=document.createElement("style"),i=Vr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,r.appendChild(n)})};var ar=class extends Se{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let o={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return za(n,e.elementStyles),n}};var Kr=function(r,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,o,n);else for(var c=r.length-1;c>=0;c--)(s=r[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Ka,Ha=Symbol("constructorPrototype"),ja=Symbol("constructorName"),Ga=Symbol("exportpartsDebouncer"),Va=Symbol("dynamicDependenciesLoaded"),q=class extends ar{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Ka]=new Fe(5),this[ja]=this.constructor.name,this[Ha]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ja]&&Object.setPrototypeOf(this,this[Ha])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let e=this.constructor;e[Va]||(e[Va]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var o,n,i;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,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[Ga].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var o,n,i,a,s,c;let l=y=>y!=null&&y.trim().length>0,u=e.filter(l).map(y=>y.trim());if(u.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let y of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let g=(a=(i=y.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],b=(c=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(O=>O.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...g,...b).filter(l).map(O=>O.trim()).forEach(O=>h.add(O))}if(h.size===0){this.removeAttribute("exportparts");return}let f=[...h.values()].flatMap(y=>u.map(g=>`${y}:${g}--${y}`));this.setAttribute("exportparts",[...this.part,...f].join(", "))}};Ka=Ga;Kr([T()],q.prototype,"exportpartsPrefix",void 0);Kr([Uo([])],q.prototype,"exportpartsPrefixes",void 0);Kr([T()],q.prototype,"customStylesheet",void 0);Kr([ae()],q.prototype,"useAdoptedStyleSheets",void 0);var Za=function(r,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,o,n);else for(var c=r.length-1;c>=0;c--)(s=r[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};function qa(r){class e extends r{constructor(){super(...arguments),this.size=er.medium,this.family=Qt.neutral}getDesignSystemBaseClasses(){return{[un(this.family)]:!0,[pn(this.size)]:!0}}}return Za([T()],e.prototype,"size",void 0),Za([T()],e.prototype,"family",void 0),e}var Tn=class extends qa(q){};var Ya={};var Fn={};D(Fn,{highlightHtml:()=>gd,highlightHtmlColorCssVariable:()=>Ja,highlightHtmlStyles:()=>yd});var ct=class r{constructor(e,o=!0,n=[],i=5e3){this.ctx=e,this.iframes=o,this.exclude=n,this.iframesTimeout=i}static matches(e,o){let n=typeof o=="string"?[o]:o,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(e,s)?(a=!0,!1):!0),a}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 i=o.filter(a=>a.contains(n)).length>0;o.indexOf(n)===-1&&!i&&o.push(n)}),o}getIframeContents(e,o,n=()=>{}){let i;try{let a=e.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&o(i)}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 i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,o,n))}catch{n()}}};e.addEventListener("load",s),a=setTimeout(s,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,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||o()})},i=>{i||o()})}forEachIframe(e,o,n,i=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,c=0;a=Array.prototype.slice.call(a);let l=()=>{--s<=0&&i(c)};s||l(),a.forEach(u=>{r.matches(u,this.exclude)?l():this.onIframeReady(u,h=>{o(u)&&(c++,n(h)),l()},l)})}createIterator(e,o,n){return document.createNodeIterator(e,o,n,!1)}createInstanceOnIframe(e){return new r(e.querySelector("html"),this.iframes)}compareNodeIframe(e,o,n){let i=e.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(o!==null){let s=o.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_FOLLOWING;if(s&c)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,i){let a=!1,s=!1;return i.forEach((c,l)=>{c.val===n&&(a=l,s=c.handled)}),this.compareNodeIframe(e,o,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(e,o,n,i){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(o,n,i)})})}iterateThroughNodes(e,o,n,i,a){let s=this.createIterator(o,e,i),c=[],l=[],u,h,f=()=>({prevNode:h,node:u}=this.getIteratorNode(s),u);for(;f();)this.iframes&&this.forEachIframe(o,y=>this.checkIframeFilter(u,h,y,c),y=>{this.createInstanceOnIframe(y).forEachNode(e,g=>l.push(g),i)}),l.push(u);l.forEach(y=>{n(y)}),this.iframes&&this.handleOpenIframes(c,e,n,i),a()}forEachNode(e,o,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(c=>{let l=()=>{this.iterateThroughNodes(e,c,o,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(c,l):l()})}};var sr=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 ct(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",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in o)if(o.hasOwnProperty(a)){let s=o[a],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);c!==""&&l!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(l)})`,`gm${n}`),i+`(${this.processSynomyms(c)}|${this.processSynomyms(l)})`+i))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,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,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?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"],i=[];return e.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${o}`),`[${s}]`),i.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let o="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(c=>{s+=`|${this.escapeStr(c)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(o)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let o=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&o.indexOf(i)===-1&&o.push(i)}):n.trim()&&o.indexOf(n)===-1&&o.push(n)}),{keywords:o.sort((n,i)=>i.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((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:c}=this.callNoMatchOnInvalidRanges(i,n);c&&(i.start=a,i.length=s-a,o.push(i),n=s)}),o}callNoMatchOnInvalidRanges(e,o){let n,i,a=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-o>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:i,valid:a}}checkWhitespaceRanges(e,o,n){let i,a=!0,s=n.length,c=o-s,l=parseInt(e.start,10)-c;return l=l>s?s:l,i=l+parseInt(e.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),l<0||i-l<0||l>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(l,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:l,end:i,valid:a}}getTextNodes(e){let o="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:o.length,end:(o+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:o,nodes:n})})}matchesExclude(e){return ct.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,o,n){let i=this.opt.element?this.opt.element:"mark",a=e.splitText(o),s=a.splitText(n-o),c=document.createElement(i);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=a.textContent,a.parentNode.replaceChild(c,a),s}wrapRangeInMappedTextNode(e,o,n,i,a){e.nodes.every((s,c)=>{let l=e.nodes[c+1];if(typeof l>"u"||l.start>o){if(!i(s.node))return!1;let u=o-s.start,h=(n>s.end?s.end:n)-s.start,f=e.value.substr(0,s.start),y=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,u,h),e.value=f+y,e.nodes.forEach((g,b)=>{b>=c&&(e.nodes[b].start>0&&b!==c&&(e.nodes[b].start-=h),e.nodes[b].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)o=s.end;else return!1}return!0})}wrapMatches(e,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(c=>{c.nodes.forEach(l=>{l=l.node;let u;for(;(u=e.exec(l.textContent))!==null&&u[s]!=="";){if(!n(u[s],l))continue;let h=u.index;if(s!==0)for(let f=1;f<s;f++)h+=u[f].length;l=this.wrapRangeInTextNode(l,h,h+u[s].length),i(l.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(c=>{let l;for(;(l=e.exec(c.value))!==null&&l[s]!=="";){let u=l.index;if(s!==0)for(let f=1;f<s;f++)u+=l[f].length;let h=u+l[s].length;this.wrapRangeInMappedTextNode(c,u,h,f=>n(l[s],f),(f,y)=>{e.lastIndex=y,i(f)})}a()})}wrapRangeFromIndex(e,o,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((c,l)=>{let{start:u,end:h,valid:f}=this.checkWhitespaceRanges(c,s,a.value);f&&this.wrapRangeInMappedTextNode(a,u,h,y=>o(y,c,a.value.substring(u,h),l),y=>{n(y,c)})}),i()})}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,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(s,c)=>this.opt.filter(c,s,n),a,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,o){this.opt=o;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),c=this.opt.caseSensitive?"":"i",l=u=>{let h=new RegExp(this.createRegExp(u),`gm${c}`),f=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(y,g)=>this.opt.filter(g,u,n,f),y=>{f++,n++,this.opt.each(y)},()=>{f===0&&this.opt.noMatch(u),a[s-1]===u?this.opt.done(n):l(a[a.indexOf(u)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):l(a[0])}markRanges(e,o){this.opt=o;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,c,l)=>this.opt.filter(a,s,c,l),(a,s)=>{n++,this.opt.each(a,s)},()=>{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 i=ct.matches(n,o),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function $n(r){let e=new sr(r);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 md=$n,Ja=t.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),yd=P`
7
8
  .highlight-html-match {
8
- background: ${Ta};
9
+ background: ${Ja};
9
10
  }
10
- `;function Nl(o,e,r){var n,i;let a=o.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let s=new Cl(o);if(s.unmark(),e&&e.trim()){let c={className:(n=r?.className)!==null&&n!==void 0?n:"highlight-html-match"};r?.attributes!=null&&(c.each=f=>{for(let h in r.attributes)f.setAttribute(h,r.attributes[h])}),s.mark(e.replace(/"[^"]+"/g,""),{...c,separateWordSearch:!0}),((i=e.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(f=>s.mark(f.replace(/"/g,""),{...c,separateWordSearch:!1}))}}o.setAttribute("data-highlight-html-query",e??"")}var Sn={};k(Sn,{noTextInputDefaultClearButton:()=>Pl,noTextSelect:()=>Al,safariEllipsisFix:()=>$l,wordWrap:()=>Rl});var Al=$`
11
+ `;function gd(r,e,o){var n,i;let a=r.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let s=new md(r);if(s.unmark(),e&&e.trim()){let c={className:(n=o?.className)!==null&&n!==void 0?n:"highlight-html-match"};o?.attributes!=null&&(c.each=u=>{for(let h in o.attributes)u.setAttribute(h,o.attributes[h])}),s.mark(e.replace(/"[^"]+"/g,""),{...c,separateWordSearch:!0}),((i=e.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(u=>s.mark(u.replace(/"/g,""),{...c,separateWordSearch:!1}))}}r.setAttribute("data-highlight-html-query",e??"")}var kn={};D(kn,{noTextInputDefaultClearButton:()=>Sd,noTextSelect:()=>bd,safariEllipsisFix:()=>vd,wordWrap:()=>xd});var bd=P`
11
12
  .ft-no-text-select {
12
13
  -webkit-touch-callout: none;
13
14
  -webkit-user-select: none;
@@ -16,7 +17,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
16
17
  -ms-user-select: none;
17
18
  user-select: none;
18
19
  }
19
- `,Rl=$`
20
+ `,xd=P`
20
21
  .ft-word-wrap {
21
22
  white-space: normal;
22
23
  word-wrap: break-word;
@@ -28,7 +29,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
28
29
  -webkit-hyphens: auto;
29
30
  hyphens: auto
30
31
  }
31
- `,$l=$`
32
+ `,vd=P`
32
33
  .ft-safari-ellipsis-fix {
33
34
  margin-right: 0;
34
35
 
@@ -39,15 +40,15 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
39
40
  display: inline-block;
40
41
  width: 0;
41
42
  }
42
- `,Pl=$`
43
+ `,Sd=P`
43
44
  input::-webkit-search-cancel-button,
44
45
  input::-webkit-search-decoration,
45
46
  input::-webkit-search-results-button,
46
47
  input::-webkit-search-results-decoration {
47
48
  display: none;
48
49
  }
49
- `;var Wa={};var wn={};k(wn,{ParametrizedLabelResolver:()=>On});var On=class o{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var n,i;e=this.resolvePluralKey(e,r);let a=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return o.replaceParameters(a,...r)}static replaceParameters(e,...r){return r.forEach((n,i)=>e=e.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(a,s)=>o.formatValue(n,s))),e}resolvePluralKey(e,r){for(let n of r)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}static formatValue(e,r){return e instanceof Date?o.formatDate(e,r):e??""}static formatDate(e,r){let n=i=>r?.includes("date")?e.toLocaleDateString(i):r?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var Yn={};k(Yn,{FtCommandQueue:()=>Qt,FtLitElementRedux:()=>pt,FtReduxStore:()=>qn,clearAllStores:()=>gd,isFtReduxStore:()=>tt,redux:()=>_l,reduxEventListener:()=>kl,reduxReactive:()=>Il});var Il=()=>(o,e)=>{var r;let n=o.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},_l=o=>{let e=o??{};return(r,n)=>{var i;let a={hasChanged:Ut,attribute:!1,...e};P(a)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:c=>c[n],store:e.store})}},kl=o=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,o)};var Qt=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 tt(o){var e;return(e=o?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Ma,za,Da,Tr=Symbol("internalReduxEventsUnsubscribers"),_e=Symbol("internalStoresUnsubscribers"),rt=Symbol("internalStores"),pt=class extends H{constructor(){super(...arguments),this[Ma]=new Map,this[za]=new Map,this[Da]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[rt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[rt].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[rt].get(e)}addStore(e,r){var n;r=(n=r??(tt(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[rt].delete(r)}setupStore(e,r){this[rt].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[rt].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 i=this.getStore(e.store);i&&(e.store?this[_e].has(e.store):this[_e].size>0)&&(this[r]=e.selector(i.getState(),this))}})}subscribeToStore(e,r){var n;this[_e].set(e,r.subscribe(()=>this.updateFromStores())),tt(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||r.name===i.store)){let s=c=>this[a](c);r.eventBus.addEventListener(i.eventName,s),this[Tr].push(()=>r.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[_e].forEach((e,r)=>this.unsubscribeFromStore(r)),this[Tr].forEach(e=>e()),this[Tr]=[]}unsubscribeFromStore(e){this[_e].has(e)&&this[_e].get(e)(),this[_e].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Ma=_e,za=rt,Da=Tr;pt.reduxProperties=new Map;pt.reduxReactiveProperties=new Set;pt.reduxEventListeners=new Map;function te(o){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 i,a;throw Error("[Immer] minified error nr: "+o+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Se(o){return!!o&&!!o[M]}function ne(o){var e;return!!o&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===Ul}(o)||Array.isArray(o)||!!o[Ka]||!!(!((e=o.constructor)===null||e===void 0)&&e[Ka])||_n(o)||kn(o))}function ot(o,e,r){r===void 0&&(r=!1),mt(o)===0?(r?Object.keys:ht)(o).forEach(function(n){r&&typeof n=="symbol"||e(n,o[n],o)}):o.forEach(function(n,i){return e(i,n,o)})}function mt(o){var e=o[M];return e?e.i>3?e.i-4:e.i:Array.isArray(o)?1:_n(o)?2:kn(o)?3:0}function ut(o,e){return mt(o)===2?o.has(e):Object.prototype.hasOwnProperty.call(o,e)}function Ll(o,e){return mt(o)===2?o.get(e):o[e]}function Ga(o,e,r){var n=mt(o);n===2?o.set(e,r):n===3?o.add(r):o[e]=r}function qa(o,e){return o===e?o!==0||1/o==1/e:o!=o&&e!=e}function _n(o){return zl&&o instanceof Map}function kn(o){return Dl&&o instanceof Set}function ke(o){return o.o||o.t}function Ln(o){if(Array.isArray(o))return Array.prototype.slice.call(o);var e=Xa(o);delete e[M];for(var r=ht(e),n=0;n<r.length;n++){var i=r[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:o[i]})}return Object.create(Object.getPrototypeOf(o),e)}function Fn(o,e){return e===void 0&&(e=!1),Tn(o)||Se(o)||!ne(o)||(mt(o)>1&&(o.set=o.add=o.clear=o.delete=Fl),Object.freeze(o),e&&ot(o,function(r,n){return Fn(n,!0)},!0)),o}function Fl(){te(2)}function Tn(o){return o==null||typeof o!="object"||Object.isFrozen(o)}function de(o){var e=In[o];return e||te(18,o),e}function Tl(o,e){In[o]||(In[o]=e)}function Rn(){return tr}function Cn(o,e){e&&(de("Patches"),o.u=[],o.s=[],o.v=e)}function Wr(o){$n(o),o.p.forEach(Wl),o.p=null}function $n(o){o===tr&&(tr=o.l)}function Ua(o){return tr={p:[],l:tr,h:o,m:!0,_:0}}function Wl(o){var e=o[M];e.i===0||e.i===1?e.j():e.g=!0}function En(o,e){e._=e.p.length;var r=e.p[0],n=o!==void 0&&o!==r;return e.h.O||de("ES5").S(e,o,n),n?(r[M].P&&(Wr(e),te(4)),ne(o)&&(o=Mr(e,o),e.l||zr(e,o)),e.u&&de("Patches").M(r[M].t,o,e.u,e.s)):o=Mr(e,r,[]),Wr(e),e.u&&e.v(e.u,e.s),o!==Ja?o:void 0}function Mr(o,e,r){if(Tn(e))return e;var n=e[M];if(!n)return ot(e,function(c,d){return Ba(o,n,e,c,d,r)},!0),e;if(n.A!==o)return e;if(!n.P)return zr(o,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Ln(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),ot(a,function(c,d){return Ba(o,n,i,c,d,r,s)}),zr(o,i,!1),r&&o.u&&de("Patches").N(n,r,o.u,o.s)}return n.o}function Ba(o,e,r,n,i,a,s){if(Se(i)){var c=Mr(o,i,a&&e&&e.i!==3&&!ut(e.R,n)?a.concat(n):void 0);if(Ga(r,n,c),!Se(c))return;o.m=!1}else s&&r.add(i);if(ne(i)&&!Tn(i)){if(!o.h.D&&o._<1)return;Mr(o,i),e&&e.A.l||zr(o,i)}}function zr(o,e,r){r===void 0&&(r=!1),!o.l&&o.h.D&&o.m&&Fn(e,r)}function Nn(o,e){var r=o[M];return(r?ke(r):o)[e]}function Ha(o,e){if(e in o)for(var r=Object.getPrototypeOf(o);r;){var n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Object.getPrototypeOf(r)}}function Le(o){o.P||(o.P=!0,o.l&&Le(o.l))}function An(o){o.o||(o.o=Ln(o.t))}function Pn(o,e,r){var n=_n(e)?de("MapSet").F(e,r):kn(e)?de("MapSet").T(e,r):o.O?function(i,a){var s=Array.isArray(i),c={i:s?1:0,A:a?a.A:Rn(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},d=c,f=rr;s&&(d=[c],f=er);var h=Proxy.revocable(d,f),u=h.revoke,m=h.proxy;return c.k=m,c.j=u,m}(e,r):de("ES5").J(e,r);return(r?r.A:Rn()).p.push(n),n}function Ml(o){return Se(o)||te(22,o),function e(r){if(!ne(r))return r;var n,i=r[M],a=mt(r);if(i){if(!i.P&&(i.i<4||!de("ES5").K(i)))return i.t;i.I=!0,n=ja(r,a),i.I=!1}else n=ja(r,a);return ot(n,function(s,c){i&&Ll(i.t,s)===c||Ga(n,s,e(c))}),a===3?new Set(n):n}(o)}function ja(o,e){switch(e){case 2:return new Map(o);case 3:return Array.from(o)}return Ln(o)}function Ya(){function o(s,c){var d=a[s];return d?d.enumerable=c:a[s]=d={configurable:!0,enumerable:c,get:function(){var f=this[M];return rr.get(f,s)},set:function(f){var h=this[M];rr.set(h,s,f)}},d}function e(s){for(var c=s.length-1;c>=0;c--){var d=s[c][M];if(!d.P)switch(d.i){case 5:n(d)&&Le(d);break;case 4:r(d)&&Le(d)}}}function r(s){for(var c=s.t,d=s.k,f=ht(d),h=f.length-1;h>=0;h--){var u=f[h];if(u!==M){var m=c[u];if(m===void 0&&!ut(c,u))return!0;var g=d[u],y=g&&g[M];if(y?y.t!==m:!qa(g,m))return!0}}var v=!!c[M];return f.length!==ht(c).length+(v?0:1)}function n(s){var c=s.k;if(c.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(c,c.length-1);if(d&&!d.get)return!0;for(var f=0;f<c.length;f++)if(!c.hasOwnProperty(f))return!0;return!1}function i(s){s.g&&te(3,JSON.stringify(ke(s)))}var a={};Tl("ES5",{J:function(s,c){var d=Array.isArray(s),f=function(u,m){if(u){for(var g=Array(m.length),y=0;y<m.length;y++)Object.defineProperty(g,""+y,o(y,!0));return g}var v=Xa(m);delete v[M];for(var O=ht(v),w=0;w<O.length;w++){var C=O[w];v[C]=o(C,u||!!v[C].enumerable)}return Object.create(Object.getPrototypeOf(m),v)}(d,s),h={i:d?5:4,A:c?c.A:Rn(),P:!1,I:!1,R:{},l:c,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,M,{value:h,writable:!0}),f},S:function(s,c,d){d?Se(c)&&c[M].A===s&&e(s.p):(s.u&&function f(h){if(h&&typeof h=="object"){var u=h[M];if(u){var m=u.t,g=u.k,y=u.R,v=u.i;if(v===4)ot(g,function(x){x!==M&&(m[x]!==void 0||ut(m,x)?y[x]||f(g[x]):(y[x]=!0,Le(u)))}),ot(m,function(x){g[x]!==void 0||ut(g,x)||(y[x]=!1,Le(u))});else if(v===5){if(n(u)&&(Le(u),y.length=!0),g.length<m.length)for(var O=g.length;O<m.length;O++)y[O]=!1;else for(var w=m.length;w<g.length;w++)y[w]=!0;for(var C=Math.min(g.length,m.length),b=0;b<C;b++)g.hasOwnProperty(b)||(y[b]=!0),y[b]===void 0&&f(g[b])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var Va,tr,Wn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",zl=typeof Map<"u",Dl=typeof Set<"u",Za=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Ja=Wn?Symbol.for("immer-nothing"):((Va={})["immer-nothing"]=!0,Va),Ka=Wn?Symbol.for("immer-draftable"):"__$immer_draftable",M=Wn?Symbol.for("immer-state"):"__$immer_state";var Ul=""+Object.prototype.constructor,ht=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(o){return Object.getOwnPropertyNames(o).concat(Object.getOwnPropertySymbols(o))}:Object.getOwnPropertyNames,Xa=Object.getOwnPropertyDescriptors||function(o){var e={};return ht(o).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(o,r)}),e},In={},rr={get:function(o,e){if(e===M)return o;var r=ke(o);if(!ut(r,e))return function(i,a,s){var c,d=Ha(a,s);return d?"value"in d?d.value:(c=d.get)===null||c===void 0?void 0:c.call(i.k):void 0}(o,r,e);var n=r[e];return o.I||!ne(n)?n:n===Nn(o.t,e)?(An(o),o.o[e]=Pn(o.A.h,n,o)):n},has:function(o,e){return e in ke(o)},ownKeys:function(o){return Reflect.ownKeys(ke(o))},set:function(o,e,r){var n=Ha(ke(o),e);if(n?.set)return n.set.call(o.k,r),!0;if(!o.P){var i=Nn(ke(o),e),a=i?.[M];if(a&&a.t===r)return o.o[e]=r,o.R[e]=!1,!0;if(qa(r,i)&&(r!==void 0||ut(o.t,e)))return!0;An(o),Le(o)}return o.o[e]===r&&(r!==void 0||e in o.o)||Number.isNaN(r)&&Number.isNaN(o.o[e])||(o.o[e]=r,o.R[e]=!0),!0},deleteProperty:function(o,e){return Nn(o.t,e)!==void 0||e in o.t?(o.R[e]=!1,An(o),Le(o)):delete o.R[e],o.o&&delete o.o[e],!0},getOwnPropertyDescriptor:function(o,e){var r=ke(o),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:o.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){te(11)},getPrototypeOf:function(o){return Object.getPrototypeOf(o.t)},setPrototypeOf:function(){te(12)}},er={};ot(rr,function(o,e){er[o]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),er.deleteProperty=function(o,e){return er.set.call(this,o,e,void 0)},er.set=function(o,e,r){return rr.set.call(this,o[0],e,r,o[0])};var Bl=function(){function o(r){var n=this;this.O=Za,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var c=a;a=i;var d=n;return function(v){var O=this;v===void 0&&(v=c);for(var w=arguments.length,C=Array(w>1?w-1:0),b=1;b<w;b++)C[b-1]=arguments[b];return d.produce(v,function(x){var S;return(S=a).call.apply(S,[O,x].concat(C))})}}var f;if(typeof a!="function"&&te(6),s!==void 0&&typeof s!="function"&&te(7),ne(i)){var h=Ua(n),u=Pn(n,i,void 0),m=!0;try{f=a(u),m=!1}finally{m?Wr(h):$n(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(v){return Cn(h,s),En(v,h)},function(v){throw Wr(h),v}):(Cn(h,s),En(f,h))}if(!i||typeof i!="object"){if((f=a(i))===void 0&&(f=i),f===Ja&&(f=void 0),n.D&&Fn(f,!0),s){var g=[],y=[];de("Patches").M(i,f,g,y),s(g,y)}return f}te(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(f){for(var h=arguments.length,u=Array(h>1?h-1:0),m=1;m<h;m++)u[m-1]=arguments[m];return n.produceWithPatches(f,function(g){return i.apply(void 0,[g].concat(u))})};var s,c,d=n.produce(i,a,function(f,h){s=f,c=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(f){return[f,s,c]}):[d,s,c]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=o.prototype;return e.createDraft=function(r){ne(r)||te(8),Se(r)&&(r=Ml(r));var n=Ua(this),i=Pn(this,r,void 0);return i[M].C=!0,$n(n),i},e.finishDraft=function(r,n){var i=r&&r[M],a=i.A;return Cn(a,n),En(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Za&&te(20),this.O=r},e.applyPatches=function(r,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}i>-1&&(n=n.slice(i+1));var s=de("Patches").$;return Se(r)?s(r,n):this.produce(r,function(c){return s(c,n)})},o}(),X=new Bl,Hl=X.produce,_m=X.produceWithPatches.bind(X),km=X.setAutoFreeze.bind(X),Lm=X.setUseProxies.bind(X),Fm=X.applyPatches.bind(X),Tm=X.createDraft.bind(X),Wm=X.finishDraft.bind(X),Dr=Hl;function Fe(o){"@babel/helpers - typeof";return Fe=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},Fe(o)}function Mn(o,e){if(Fe(o)!=="object"||o===null)return o;var r=o[Symbol.toPrimitive];if(r!==void 0){var n=r.call(o,e||"default");if(Fe(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(o)}function zn(o){var e=Mn(o,"string");return Fe(e)==="symbol"?e:String(e)}function Dn(o,e,r){return e=zn(e),e in o?Object.defineProperty(o,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):o[e]=r,o}function Qa(o,e){var r=Object.keys(o);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(o);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(o,i).enumerable})),r.push.apply(r,n)}return r}function Ur(o){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Qa(Object(r),!0).forEach(function(n){Dn(o,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(r)):Qa(Object(r)).forEach(function(n){Object.defineProperty(o,n,Object.getOwnPropertyDescriptor(r,n))})}return o}function V(o){return"Minified Redux error #"+o+"; visit https://redux.js.org/Errors?code="+o+" for the full message or use the non-minified dev environment for full errors. "}var es=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Un=function(){return Math.random().toString(36).substring(7).split("").join(".")},Br={INIT:"@@redux/INIT"+Un(),REPLACE:"@@redux/REPLACE"+Un(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Un()}};function jl(o){if(typeof o!="object"||o===null)return!1;for(var e=o;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(o)===e}function Bn(o,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(V(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(V(1));return r(Bn)(o,e)}if(typeof o!="function")throw new Error(V(2));var i=o,a=e,s=[],c=s,d=!1;function f(){c===s&&(c=s.slice())}function h(){if(d)throw new Error(V(3));return a}function u(v){if(typeof v!="function")throw new Error(V(4));if(d)throw new Error(V(5));var O=!0;return f(),c.push(v),function(){if(O){if(d)throw new Error(V(6));O=!1,f();var C=c.indexOf(v);c.splice(C,1),s=null}}}function m(v){if(!jl(v))throw new Error(V(7));if(typeof v.type>"u")throw new Error(V(8));if(d)throw new Error(V(9));try{d=!0,a=i(a,v)}finally{d=!1}for(var O=s=c,w=0;w<O.length;w++){var C=O[w];C()}return v}function g(v){if(typeof v!="function")throw new Error(V(10));i=v,m({type:Br.REPLACE})}function y(){var v,O=u;return v={subscribe:function(C){if(typeof C!="object"||C===null)throw new Error(V(11));function b(){C.next&&C.next(h())}b();var x=O(b);return{unsubscribe:x}}},v[es]=function(){return this},v}return m({type:Br.INIT}),n={dispatch:m,subscribe:u,getState:h,replaceReducer:g},n[es]=y,n}function Vl(o){Object.keys(o).forEach(function(e){var r=o[e],n=r(void 0,{type:Br.INIT});if(typeof n>"u")throw new Error(V(12));if(typeof r(void 0,{type:Br.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(V(13))})}function ts(o){for(var e=Object.keys(o),r={},n=0;n<e.length;n++){var i=e[n];typeof o[i]=="function"&&(r[i]=o[i])}var a=Object.keys(r),s,c;try{Vl(r)}catch(d){c=d}return function(f,h){if(f===void 0&&(f={}),c)throw c;if(0)var u;for(var m=!1,g={},y=0;y<a.length;y++){var v=a[y],O=r[v],w=f[v],C=O(w,h);if(typeof C>"u"){var b=h&&h.type;throw new Error(V(14))}g[v]=C,m=m||C!==w}return m=m||a.length!==Object.keys(f).length,m?g:f}}function gt(){for(var o=arguments.length,e=new Array(o),r=0;r<o;r++)e[r]=arguments[r];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function rs(){for(var o=arguments.length,e=new Array(o),r=0;r<o;r++)e[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(V(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(d){return d(s)});return a=gt.apply(void 0,c)(i.dispatch),Ur(Ur({},i),{},{dispatch:a})}}}function os(o){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(c){return typeof c=="function"?c(i,a,o):s(c)}}};return e}var ns=os();ns.withExtraArgument=os;var Hn=ns;var ls=function(){var o=function(e,r){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},o(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");o(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Zl=function(o,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(f){return function(h){return d([f,h])}}function d(f){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=f[0]&2?i.return:f[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,f[1])).done)return a;switch(i=0,a&&(f=[f[0]&2,a.value]),f[0]){case 0:case 1:a=f;break;case 4:return r.label++,{value:f[1],done:!1};case 5:r.label++,i=f[1],f=[0];continue;case 7:f=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){r=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){r.label=f[1];break}if(f[0]===6&&r.label<a[1]){r.label=a[1],a=f;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(f);break}a[2]&&r.ops.pop(),r.trys.pop();continue}f=e.call(o,r)}catch(h){f=[6,h],i=0}finally{n=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},yt=function(o,e){for(var r=0,n=e.length,i=o.length;r<n;r++,i++)o[i]=e[r];return o},Kl=Object.defineProperty,Gl=Object.defineProperties,ql=Object.getOwnPropertyDescriptors,is=Object.getOwnPropertySymbols,Yl=Object.prototype.hasOwnProperty,Jl=Object.prototype.propertyIsEnumerable,as=function(o,e,r){return e in o?Kl(o,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[e]=r},Te=function(o,e){for(var r in e||(e={}))Yl.call(e,r)&&as(o,r,e[r]);if(is)for(var n=0,i=is(e);n<i.length;n++){var r=i[n];Jl.call(e,r)&&as(o,r,e[r])}return o},jn=function(o,e){return Gl(o,ql(e))},Xl=function(o,e,r){return new Promise(function(n,i){var a=function(d){try{c(r.next(d))}catch(f){i(f)}},s=function(d){try{c(r.throw(d))}catch(f){i(f)}},c=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(a,s)};c((r=r.apply(o,e)).next())})};var Ql=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?gt:gt.apply(null,arguments)},tg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(o){return o}};function ed(o){if(typeof o!="object"||o===null)return!1;var e=Object.getPrototypeOf(o);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}var td=function(o){ls(e,o);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=o.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return o.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,yt([void 0],r[0].concat(this)))):new(e.bind.apply(e,yt([void 0],r.concat(this))))},e}(Array),rd=function(o){ls(e,o);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=o.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return o.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,yt([void 0],r[0].concat(this)))):new(e.bind.apply(e,yt([void 0],r.concat(this))))},e}(Array);function Kn(o){return ne(o)?Dr(o,function(){}):o}function od(o){return typeof o=="boolean"}function nd(){return function(e){return id(e)}}function id(o){o===void 0&&(o={});var e=o.thunk,r=e===void 0?!0:e,n=o.immutableCheck,i=n===void 0?!0:n,a=o.serializableCheck,s=a===void 0?!0:a,c=new td;if(r&&(od(r)?c.push(Hn):c.push(Hn.withExtraArgument(r.extraArgument))),0){if(i)var d;if(s)var f}return c}var Vn=!0;function ds(o){var e=nd(),r=o||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,s=a===void 0?e():a,c=r.devTools,d=c===void 0?!0:c,f=r.preloadedState,h=f===void 0?void 0:f,u=r.enhancers,m=u===void 0?void 0:u,g;if(typeof i=="function")g=i;else if(ed(i))g=ts(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var y=s;if(typeof y=="function"&&(y=y(e),!Vn&&!Array.isArray(y)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Vn&&y.some(function(x){return typeof x!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=rs.apply(void 0,y),O=gt;d&&(O=Ql(Te({trace:!Vn},typeof d=="object"&&d)));var w=new rd(v),C=w;Array.isArray(m)?C=yt([v],m):typeof m=="function"&&(C=m(w));var b=O.apply(void 0,C);return Bn(g,h,b)}function We(o,e){function r(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Te(Te({type:o,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:o,payload:n[0]}}return r.toString=function(){return""+o},r.type=o,r.match=function(n){return n.type===o},r}function fs(o){var e={},r=[],n,i={addCase:function(a,s){var c=typeof a=="string"?a:a.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=s,i},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return o(i),[e,r,n]}function ad(o){return typeof o=="function"}function sd(o,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?fs(e):[e,r,n],a=i[0],s=i[1],c=i[2],d;if(ad(o))d=function(){return Kn(o())};else{var f=Kn(o);d=function(){return f}}function h(u,m){u===void 0&&(u=d());var g=yt([a[m.type]],s.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=[c]),g.reduce(function(y,v){if(v)if(Se(y)){var O=y,w=v(O,m);return w===void 0?y:w}else{if(ne(y))return Dr(y,function(C){return v(C,m)});var w=v(y,m);if(w===void 0){if(y===null)return y;throw Error("A case reducer on a non-draftable value must not return undefined")}return w}return y},u)}return h.getInitialState=d,h}function cd(o,e){return o+"/"+e}function ps(o){var e=o.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof o.initialState=="function"?o.initialState:Kn(o.initialState),n=o.reducers||{},i=Object.keys(n),a={},s={},c={};i.forEach(function(h){var u=n[h],m=cd(e,h),g,y;"reducer"in u?(g=u.reducer,y=u.prepare):g=u,a[h]=g,s[m]=g,c[h]=y?We(m,y):We(m)});function d(){var h=typeof o.extraReducers=="function"?fs(o.extraReducers):[o.extraReducers],u=h[0],m=u===void 0?{}:u,g=h[1],y=g===void 0?[]:g,v=h[2],O=v===void 0?void 0:v,w=Te(Te({},m),s);return sd(r,function(C){for(var b in w)C.addCase(b,w[b]);for(var x=0,S=y;x<S.length;x++){var A=S[x];C.addMatcher(A.matcher,A.reducer)}O&&C.addDefaultCase(O)})}var f;return{name:e,reducer:function(h,u){return f||(f=d()),f(h,u)},actions:c,caseReducers:a,getInitialState:function(){return f||(f=d()),f.getInitialState()}}}var ld="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",dd=function(o){o===void 0&&(o=21);for(var e="",r=o;r--;)e+=ld[Math.random()*64|0];return e},fd=["name","message","stack","code"],Zn=function(){function o(e,r){this.payload=e,this.meta=r}return o}(),ss=function(){function o(e,r){this.payload=e,this.meta=r}return o}(),pd=function(o){if(typeof o=="object"&&o!==null){for(var e={},r=0,n=fd;r<n.length;r++){var i=n[r];typeof o[i]=="string"&&(e[i]=o[i])}return e}return{message:String(o)}},ig=function(){function o(e,r,n){var i=We(e+"/fulfilled",function(h,u,m,g){return{payload:h,meta:jn(Te({},g||{}),{arg:m,requestId:u,requestStatus:"fulfilled"})}}),a=We(e+"/pending",function(h,u,m){return{payload:void 0,meta:jn(Te({},m||{}),{arg:u,requestId:h,requestStatus:"pending"})}}),s=We(e+"/rejected",function(h,u,m,g,y){return{payload:g,error:(n&&n.serializeError||pd)(h||"Rejected"),meta:jn(Te({},y||{}),{arg:m,requestId:u,rejectedWithValue:!!g,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),c=!1,d=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(u,m,g){var y=n?.idGenerator?n.idGenerator(h):dd(),v=new d,O,w=!1;function C(x){O=x,v.abort()}var b=function(){return Xl(this,null,function(){var x,S,A,L,K,T,N;return Zl(this,function(R){switch(R.label){case 0:return R.trys.push([0,4,,5]),L=(x=n?.condition)==null?void 0:x.call(n,h,{getState:m,extra:g}),hd(L)?[4,L]:[3,2];case 1:L=R.sent(),R.label=2;case 2:if(L===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return w=!0,K=new Promise(function(_,j){return v.signal.addEventListener("abort",function(){return j({name:"AbortError",message:O||"Aborted"})})}),u(a(y,h,(S=n?.getPendingMeta)==null?void 0:S.call(n,{requestId:y,arg:h},{getState:m,extra:g}))),[4,Promise.race([K,Promise.resolve(r(h,{dispatch:u,getState:m,extra:g,requestId:y,signal:v.signal,abort:C,rejectWithValue:function(_,j){return new Zn(_,j)},fulfillWithValue:function(_,j){return new ss(_,j)}})).then(function(_){if(_ instanceof Zn)throw _;return _ instanceof ss?i(_.payload,y,h,_.meta):i(_,y,h)})])];case 3:return A=R.sent(),[3,5];case 4:return T=R.sent(),A=T instanceof Zn?s(null,y,h,T.payload,T.meta):s(T,y,h),[3,5];case 5:return N=n&&!n.dispatchConditionRejection&&s.match(A)&&A.meta.condition,N||u(A),[2,A]}})})}();return Object.assign(b,{abort:C,requestId:y,arg:h,unwrap:function(){return b.then(ud)}})}}return Object.assign(f,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return o.withTypes=function(){return o},o}();function ud(o){if(o.meta&&o.meta.rejectedWithValue)throw o.payload;if(o.error)throw o.error;return o.payload}function hd(o){return o!==null&&typeof o=="object"&&typeof o.then=="function"}var us="listener",hs="completed",ms="cancelled",ag="task-"+ms,sg="task-"+hs,cg=us+"-"+ms,lg=us+"-"+hs;var Gn="listenerMiddleware";var dg=We(Gn+"/add"),fg=We(Gn+"/removeAll"),pg=We(Gn+"/remove");var cs,ug=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(o){return(cs||(cs=Promise.resolve())).then(o).catch(function(e){return setTimeout(function(){throw e},0)})},md=function(o){return function(e){setTimeout(e,o)}},hg=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:md(10);Ya();window.ftReduxStores||(window.ftReduxStores={});var qn=class o{static get(e){var r;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(tt(a))return a;if(i==null)return;let s=ps({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),c=ds({reducer:(d,f)=>f.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...f.overwrites}:s.reducer(d,f)});return window.ftReduxStores[i.name]=new o(s,c)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Qt,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,c=n[s];return c?(...d)=>{let f=c(...d);return this.reduxStore.dispatch(f),f}:d=>{this.setState({[s]:d})}}})}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 gd(){var o;for(let e of Object.values((o=window.ftReduxStores)!==null&&o!==void 0?o:{}))tt(e)&&e.clear()}var Qn={};k(Qn,{scrollHelper:()=>yd});var Jn,Hr=new Map,Xn=class{lock(e,r){if(r){let n=Hr.get(r);if(n==null||n===e)return Hr.set(r,e),r}}release(e,r){r&&Hr.get(r)===e&&Hr.delete(r)}findFirstScrollableParent(e){let r,n=i=>{var a;i.stopPropagation();let s,c;for(let d of i.composedPath()){let f=d,h=this.elementCanScroll(f);if(h&&f.clientHeight&&f.clientHeight<f.scrollHeight){s=f;break}else h&&c==null&&(c=f)}r=(a=s??c)!==null&&a!==void 0?a:document.body};return e.addEventListener("find-scrollable-parent",n),e.dispatchEvent(new Event("find-scrollable-parent",{composed:!0})),e.removeEventListener("find-scrollable-parent",n),r}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,r){let n=0;for(;r&&r.offsetParent!==e.offsetParent;)n+=r.offsetTop,r=r.offsetParent;return n+r.offsetTop-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,e),a=i-n.clientHeight+e.clientHeight,s=i,c=vo(0,(s-n.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(r?.position,c)*(a-s)+s;n.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(Jn=window.FluidTopicsScrollHelper)!==null&&Jn!==void 0?Jn:new Xn;var yd=window.FluidTopicsScrollHelper;var ei={};k(ei,{shadowQuerySelector:()=>bd,shadowQuerySelectorAll:()=>xd});function bd(o,e,...r){var n;let i=o.querySelector(e);for(let a of r)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}function xd(o,e,...r){let n=[...o.querySelectorAll(e)];for(let i of r)n=n.flatMap(a=>{var s,c;return[...(c=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(i))!==null&&c!==void 0?c:[]]});return n}var ti={};k(ti,{serializeRequest:()=>Sd});function vd(o){return`"${o}"`}function Sd(o,e){var r,n,i,a,s,c,d,f,h;let u=new URLSearchParams({"content-lang":(r=e.contentLocale)!==null&&r!==void 0?r:"all"});((n=e.query)===null||n===void 0?void 0:n.length)>0&&u.append("query",e.query),e.scope&&e.scope!=="DEFAULT"&&u.append("scope",e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&u.append("virtual-field",e.virtualField.toLowerCase()),((i=e.sort)===null||i===void 0?void 0:i.length)>0&&e.sort[0].key==="ft:lastEdition"&&u.append("sort","last_update");let m=(s=(a=e.metadataFilters)===null||a===void 0?void 0:a.filter(O=>O.valueFilter))!==null&&s!==void 0?s:[];if(m.length>0){let O=m.map(w=>{var C,b;let x=((b=(C=w.valueFilter)===null||C===void 0?void 0:C.values)!==null&&b!==void 0?b:[]).map(S=>S.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(S=>encodeURIComponent(vd(S))).join("_");return`${w.key}~${x}`}).join("*");u.append("value-filters",O)}let g=(d=(c=e.metadataFilters)===null||c===void 0?void 0:c.filter(O=>O.dateFilter))!==null&&d!==void 0?d:[];if(g.length>0){let O=g.map(w=>{var C;return`${w.key}~${(C=w.dateFilter)===null||C===void 0?void 0:C.type.toLowerCase()}`}).join("*");u.append("date-filters",O)}let y=(h=(f=e.metadataFilters)===null||f===void 0?void 0:f.filter(O=>O.rangeFilter))!==null&&h!==void 0?h:[];if(y.length>0){let O=y.map(w=>{var C,b;return`${w.key}~${(C=w.rangeFilter)===null||C===void 0?void 0:C.from}_${(b=w.rangeFilter)===null||b===void 0?void 0:b.to}`}).join("*");u.append("range-filters",O)}return new URL(`${o.replace(/\/+$/,"")}/search?${u.toString()}`).href}var ri={};k(ri,{toFtFormComponent:()=>Od});var jr=Symbol("elementInternals");function Od(o,e){class r extends o{static get formAssociated(){return!0}get form(){return this[jr].form}constructor(...i){super(i),this[jr]=this.attachInternals(),this[jr].role=e}setFormValue(i){this[jr].setFormValue(i)}}return r}var ni={};k(ni,{DateFormatter:()=>oi});var oi=class{static format(e,r,n,i){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(n,i)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}};var ii,ai,si,ci,wd=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((si=(ai=(ii=window.safari)===null||ii===void 0?void 0:ii.pushNotification)===null||ai===void 0?void 0:ai.toString())!==null&&si!==void 0?si:"")==="[object SafariRemoteNotification]",Cd="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(ci=window.ftGlobals)!==null&&ci!==void 0?ci:{lit:ao,litDecorators:so,litRepeat:co,litClassMap:lo,litStyleMap:fo,litUnsafeHTML:po,wcUtils:{...go,...ho,...bo,...ni,...xo,...wo,...Xo,...rn,...hn,...Jo,...bn,...gn,...Fa,...So,...vn,...Sn,...Wa,...wn,...Yn,...mn,...Qn,...ei,...ti,...ri,isSafari:wd,isTouchScreen:Cd,setVariable:B}};function gs(o){let e=Ht[o];return $`
50
- .ft-typography--${je(o)} {
50
+ `;var Xa={};var Dn={};D(Dn,{ParametrizedLabelResolver:()=>Un});var Un=class r{constructor(e,o){this.defaultLabels=e,this.labels=o}resolve(e,...o){var n,i;e=this.resolvePluralKey(e,o);let a=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return r.replaceParameters(a,...o)}static replaceParameters(e,...o){return o.forEach((n,i)=>e=e.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(a,s)=>r.formatValue(n,s))),e}resolvePluralKey(e,o){for(let n of o)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}static formatValue(e,o){return e instanceof Date?r.formatDate(e,o):e??""}static formatDate(e,o){let n=i=>o?.includes("date")?e.toLocaleDateString(i):o?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var ui={};D(ui,{FtCommandQueue:()=>cr,FtLitElementRedux:()=>vt,FtReduxStore:()=>di,clearAllStores:()=>su,isFtReduxStore:()=>lt,redux:()=>Ed,reduxEventListener:()=>wd,reduxReactive:()=>Od});var Od=()=>(r,e)=>{var o;let n=r.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(e)},Ed=r=>{let e=r??{};return(o,n)=>{var i;let a={hasChanged:Yt,attribute:!1,...e};T(a)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:c=>c[n],store:e.store})}},wd=r=>(e,o)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,r)};var cr=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 lt(r){var e;return(e=r?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Qa,es,ts,Gr=Symbol("internalReduxEventsUnsubscribers"),De=Symbol("internalStoresUnsubscribers"),dt=Symbol("internalStores"),vt=class extends q{constructor(){super(...arguments),this[Qa]=new Map,this[es]=new Map,this[ts]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(o=>e.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[dt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[dt].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[dt].get(e)}addStore(e,o){var n;o=(n=o??(lt(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[dt].delete(o)}setupStore(e,o){this[dt].set(e,o),this.subscribeToStore(e,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[dt].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 i=this.getStore(e.store);i&&(e.store?this[De].has(e.store):this[De].size>0)&&(this[o]=e.selector(i.getState(),this))}})}subscribeToStore(e,o){var n;this[De].set(e,o.subscribe(()=>this.updateFromStores())),lt(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||o.name===i.store)){let s=c=>this[a](c);o.eventBus.addEventListener(i.eventName,s),this[Gr].push(()=>o.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[De].forEach((e,o)=>this.unsubscribeFromStore(o)),this[Gr].forEach(e=>e()),this[Gr]=[]}unsubscribeFromStore(e){this[De].has(e)&&this[De].get(e)(),this[De].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Qa=De,es=dt,ts=Gr;vt.reduxProperties=new Map;vt.reduxReactiveProperties=new Set;vt.reduxEventListeners=new Map;function se(r){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 i,a;throw Error("[Immer] minified error nr: "+r+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Re(r){return!!r&&!!r[j]}function de(r){var e;return!!r&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===Td}(r)||Array.isArray(r)||!!r[cs]||!!(!((e=r.constructor)===null||e===void 0)&&e[cs])||Gn(r)||Zn(r))}function ut(r,e,o){o===void 0&&(o=!1),Et(r)===0?(o?Object.keys:Ot)(r).forEach(function(n){o&&typeof n=="symbol"||e(n,r[n],r)}):r.forEach(function(n,i){return e(i,n,r)})}function Et(r){var e=r[j];return e?e.i>3?e.i-4:e.i:Array.isArray(r)?1:Gn(r)?2:Zn(r)?3:0}function St(r,e){return Et(r)===2?r.has(e):Object.prototype.hasOwnProperty.call(r,e)}function Cd(r,e){return Et(r)===2?r.get(e):r[e]}function ls(r,e,o){var n=Et(r);n===2?r.set(e,o):n===3?r.add(o):r[e]=o}function ds(r,e){return r===e?r!==0||1/r==1/e:r!=r&&e!=e}function Gn(r){return Id&&r instanceof Map}function Zn(r){return Pd&&r instanceof Set}function Me(r){return r.o||r.t}function qn(r){if(Array.isArray(r))return Array.prototype.slice.call(r);var e=fs(r);delete e[j];for(var o=Ot(e),n=0;n<o.length;n++){var i=o[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:r[i]})}return Object.create(Object.getPrototypeOf(r),e)}function Yn(r,e){return e===void 0&&(e=!1),Jn(r)||Re(r)||!de(r)||(Et(r)>1&&(r.set=r.add=r.clear=r.delete=Ad),Object.freeze(r),e&&ut(r,function(o,n){return Yn(n,!0)},!0)),r}function Ad(){se(2)}function Jn(r){return r==null||typeof r!="object"||Object.isFrozen(r)}function ye(r){var e=Kn[r];return e||se(18,r),e}function Rd(r,e){Kn[r]||(Kn[r]=e)}function Hn(){return dr}function Mn(r,e){e&&(ye("Patches"),r.u=[],r.s=[],r.v=e)}function Zr(r){jn(r),r.p.forEach(Nd),r.p=null}function jn(r){r===dr&&(dr=r.l)}function rs(r){return dr={p:[],l:dr,h:r,m:!0,_:0}}function Nd(r){var e=r[j];e.i===0||e.i===1?e.j():e.g=!0}function Bn(r,e){e._=e.p.length;var o=e.p[0],n=r!==void 0&&r!==o;return e.h.O||ye("ES5").S(e,r,n),n?(o[j].P&&(Zr(e),se(4)),de(r)&&(r=qr(e,r),e.l||Yr(e,r)),e.u&&ye("Patches").M(o[j].t,r,e.u,e.s)):r=qr(e,o,[]),Zr(e),e.u&&e.v(e.u,e.s),r!==ps?r:void 0}function qr(r,e,o){if(Jn(e))return e;var n=e[j];if(!n)return ut(e,function(c,l){return os(r,n,e,c,l,o)},!0),e;if(n.A!==r)return e;if(!n.P)return Yr(r,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=qn(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),ut(a,function(c,l){return os(r,n,i,c,l,o,s)}),Yr(r,i,!1),o&&r.u&&ye("Patches").N(n,o,r.u,r.s)}return n.o}function os(r,e,o,n,i,a,s){if(Re(i)){var c=qr(r,i,a&&e&&e.i!==3&&!St(e.R,n)?a.concat(n):void 0);if(ls(o,n,c),!Re(c))return;r.m=!1}else s&&o.add(i);if(de(i)&&!Jn(i)){if(!r.h.D&&r._<1)return;qr(r,i),e&&e.A.l||Yr(r,i)}}function Yr(r,e,o){o===void 0&&(o=!1),!r.l&&r.h.D&&r.m&&Yn(e,o)}function Wn(r,e){var o=r[j];return(o?Me(o):r)[e]}function ns(r,e){if(e in r)for(var o=Object.getPrototypeOf(r);o;){var n=Object.getOwnPropertyDescriptor(o,e);if(n)return n;o=Object.getPrototypeOf(o)}}function Be(r){r.P||(r.P=!0,r.l&&Be(r.l))}function zn(r){r.o||(r.o=qn(r.t))}function Vn(r,e,o){var n=Gn(e)?ye("MapSet").F(e,o):Zn(e)?ye("MapSet").T(e,o):r.O?function(i,a){var s=Array.isArray(i),c={i:s?1:0,A:a?a.A:Hn(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},l=c,u=ur;s&&(l=[c],u=lr);var h=Proxy.revocable(l,u),f=h.revoke,y=h.proxy;return c.k=y,c.j=f,y}(e,o):ye("ES5").J(e,o);return(o?o.A:Hn()).p.push(n),n}function _d(r){return Re(r)||se(22,r),function e(o){if(!de(o))return o;var n,i=o[j],a=Et(o);if(i){if(!i.P&&(i.i<4||!ye("ES5").K(i)))return i.t;i.I=!0,n=is(o,a),i.I=!1}else n=is(o,a);return ut(n,function(s,c){i&&Cd(i.t,s)===c||ls(n,s,e(c))}),a===3?new Set(n):n}(r)}function is(r,e){switch(e){case 2:return new Map(r);case 3:return Array.from(r)}return qn(r)}function us(){function r(s,c){var l=a[s];return l?l.enumerable=c:a[s]=l={configurable:!0,enumerable:c,get:function(){var u=this[j];return ur.get(u,s)},set:function(u){var h=this[j];ur.set(h,s,u)}},l}function e(s){for(var c=s.length-1;c>=0;c--){var l=s[c][j];if(!l.P)switch(l.i){case 5:n(l)&&Be(l);break;case 4:o(l)&&Be(l)}}}function o(s){for(var c=s.t,l=s.k,u=Ot(l),h=u.length-1;h>=0;h--){var f=u[h];if(f!==j){var y=c[f];if(y===void 0&&!St(c,f))return!0;var g=l[f],b=g&&g[j];if(b?b.t!==y:!ds(g,y))return!0}}var O=!!c[j];return u.length!==Ot(c).length+(O?0:1)}function n(s){var c=s.k;if(c.length!==s.t.length)return!0;var l=Object.getOwnPropertyDescriptor(c,c.length-1);if(l&&!l.get)return!0;for(var u=0;u<c.length;u++)if(!c.hasOwnProperty(u))return!0;return!1}function i(s){s.g&&se(3,JSON.stringify(Me(s)))}var a={};Rd("ES5",{J:function(s,c){var l=Array.isArray(s),u=function(f,y){if(f){for(var g=Array(y.length),b=0;b<y.length;b++)Object.defineProperty(g,""+b,r(b,!0));return g}var O=fs(y);delete O[j];for(var A=Ot(O),w=0;w<A.length;w++){var C=A[w];O[C]=r(C,f||!!O[C].enumerable)}return Object.create(Object.getPrototypeOf(y),O)}(l,s),h={i:l?5:4,A:c?c.A:Hn(),P:!1,I:!1,R:{},l:c,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,j,{value:h,writable:!0}),u},S:function(s,c,l){l?Re(c)&&c[j].A===s&&e(s.p):(s.u&&function u(h){if(h&&typeof h=="object"){var f=h[j];if(f){var y=f.t,g=f.k,b=f.R,O=f.i;if(O===4)ut(g,function(S){S!==j&&(y[S]!==void 0||St(y,S)?b[S]||u(g[S]):(b[S]=!0,Be(f)))}),ut(y,function(S){g[S]!==void 0||St(g,S)||(b[S]=!1,Be(f))});else if(O===5){if(n(f)&&(Be(f),b.length=!0),g.length<y.length)for(var A=g.length;A<y.length;A++)b[A]=!1;else for(var w=y.length;w<g.length;w++)b[w]=!0;for(var C=Math.min(g.length,y.length),v=0;v<C;v++)g.hasOwnProperty(v)||(b[v]=!0),b[v]===void 0&&u(g[v])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var as,dr,Xn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Id=typeof Map<"u",Pd=typeof Set<"u",ss=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",ps=Xn?Symbol.for("immer-nothing"):((as={})["immer-nothing"]=!0,as),cs=Xn?Symbol.for("immer-draftable"):"__$immer_draftable",j=Xn?Symbol.for("immer-state"):"__$immer_state";var Td=""+Object.prototype.constructor,Ot=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:Object.getOwnPropertyNames,fs=Object.getOwnPropertyDescriptors||function(r){var e={};return Ot(r).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(r,o)}),e},Kn={},ur={get:function(r,e){if(e===j)return r;var o=Me(r);if(!St(o,e))return function(i,a,s){var c,l=ns(a,s);return l?"value"in l?l.value:(c=l.get)===null||c===void 0?void 0:c.call(i.k):void 0}(r,o,e);var n=o[e];return r.I||!de(n)?n:n===Wn(r.t,e)?(zn(r),r.o[e]=Vn(r.A.h,n,r)):n},has:function(r,e){return e in Me(r)},ownKeys:function(r){return Reflect.ownKeys(Me(r))},set:function(r,e,o){var n=ns(Me(r),e);if(n?.set)return n.set.call(r.k,o),!0;if(!r.P){var i=Wn(Me(r),e),a=i?.[j];if(a&&a.t===o)return r.o[e]=o,r.R[e]=!1,!0;if(ds(o,i)&&(o!==void 0||St(r.t,e)))return!0;zn(r),Be(r)}return r.o[e]===o&&(o!==void 0||e in r.o)||Number.isNaN(o)&&Number.isNaN(r.o[e])||(r.o[e]=o,r.R[e]=!0),!0},deleteProperty:function(r,e){return Wn(r.t,e)!==void 0||e in r.t?(r.R[e]=!1,zn(r),Be(r)):delete r.R[e],r.o&&delete r.o[e],!0},getOwnPropertyDescriptor:function(r,e){var o=Me(r),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{writable:!0,configurable:r.i!==1||e!=="length",enumerable:n.enumerable,value:o[e]}},defineProperty:function(){se(11)},getPrototypeOf:function(r){return Object.getPrototypeOf(r.t)},setPrototypeOf:function(){se(12)}},lr={};ut(ur,function(r,e){lr[r]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),lr.deleteProperty=function(r,e){return lr.set.call(this,r,e,void 0)},lr.set=function(r,e,o){return ur.set.call(this,r[0],e,o,r[0])};var Ld=function(){function r(o){var n=this;this.O=ss,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var c=a;a=i;var l=n;return function(O){var A=this;O===void 0&&(O=c);for(var w=arguments.length,C=Array(w>1?w-1:0),v=1;v<w;v++)C[v-1]=arguments[v];return l.produce(O,function(S){var E;return(E=a).call.apply(E,[A,S].concat(C))})}}var u;if(typeof a!="function"&&se(6),s!==void 0&&typeof s!="function"&&se(7),de(i)){var h=rs(n),f=Vn(n,i,void 0),y=!0;try{u=a(f),y=!1}finally{y?Zr(h):jn(h)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(O){return Mn(h,s),Bn(O,h)},function(O){throw Zr(h),O}):(Mn(h,s),Bn(u,h))}if(!i||typeof i!="object"){if((u=a(i))===void 0&&(u=i),u===ps&&(u=void 0),n.D&&Yn(u,!0),s){var g=[],b=[];ye("Patches").M(i,u,g,b),s(g,b)}return u}se(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(u){for(var h=arguments.length,f=Array(h>1?h-1:0),y=1;y<h;y++)f[y-1]=arguments[y];return n.produceWithPatches(u,function(g){return i.apply(void 0,[g].concat(f))})};var s,c,l=n.produce(i,a,function(u,h){s=u,c=h});return typeof Promise<"u"&&l instanceof Promise?l.then(function(u){return[u,s,c]}):[l,s,c]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var e=r.prototype;return e.createDraft=function(o){de(o)||se(8),Re(o)&&(o=_d(o));var n=rs(this),i=Vn(this,o,void 0);return i[j].C=!0,jn(n),i},e.finishDraft=function(o,n){var i=o&&o[j],a=i.A;return Mn(a,n),Bn(void 0,a)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!ss&&se(20),this.O=o},e.applyPatches=function(o,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){o=a.value;break}}i>-1&&(n=n.slice(i+1));var s=ye("Patches").$;return Re(o)?s(o,n):this.produce(o,function(c){return s(c,n)})},r}(),ne=new Ld,$d=ne.produce,Ay=ne.produceWithPatches.bind(ne),Ry=ne.setAutoFreeze.bind(ne),Ny=ne.setUseProxies.bind(ne),_y=ne.applyPatches.bind(ne),Iy=ne.createDraft.bind(ne),Py=ne.finishDraft.bind(ne),Jr=$d;function We(r){"@babel/helpers - typeof";return We=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},We(r)}function Qn(r,e){if(We(r)!=="object"||r===null)return r;var o=r[Symbol.toPrimitive];if(o!==void 0){var n=o.call(r,e||"default");if(We(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function ei(r){var e=Qn(r,"string");return We(e)==="symbol"?e:String(e)}function ti(r,e,o){return e=ei(e),e in r?Object.defineProperty(r,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[e]=o,r}function hs(r,e){var o=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable})),o.push.apply(o,n)}return o}function Xr(r){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?hs(Object(o),!0).forEach(function(n){ti(r,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):hs(Object(o)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(o,n))})}return r}function X(r){return"Minified Redux error #"+r+"; visit https://redux.js.org/Errors?code="+r+" for the full message or use the non-minified dev environment for full errors. "}var ms=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ri=function(){return Math.random().toString(36).substring(7).split("").join(".")},Qr={INIT:"@@redux/INIT"+ri(),REPLACE:"@@redux/REPLACE"+ri(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ri()}};function Fd(r){if(typeof r!="object"||r===null)return!1;for(var e=r;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(r)===e}function oi(r,e,o){var n;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(X(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(X(1));return o(oi)(r,e)}if(typeof r!="function")throw new Error(X(2));var i=r,a=e,s=[],c=s,l=!1;function u(){c===s&&(c=s.slice())}function h(){if(l)throw new Error(X(3));return a}function f(O){if(typeof O!="function")throw new Error(X(4));if(l)throw new Error(X(5));var A=!0;return u(),c.push(O),function(){if(A){if(l)throw new Error(X(6));A=!1,u();var C=c.indexOf(O);c.splice(C,1),s=null}}}function y(O){if(!Fd(O))throw new Error(X(7));if(typeof O.type>"u")throw new Error(X(8));if(l)throw new Error(X(9));try{l=!0,a=i(a,O)}finally{l=!1}for(var A=s=c,w=0;w<A.length;w++){var C=A[w];C()}return O}function g(O){if(typeof O!="function")throw new Error(X(10));i=O,y({type:Qr.REPLACE})}function b(){var O,A=f;return O={subscribe:function(C){if(typeof C!="object"||C===null)throw new Error(X(11));function v(){C.next&&C.next(h())}v();var S=A(v);return{unsubscribe:S}}},O[ms]=function(){return this},O}return y({type:Qr.INIT}),n={dispatch:y,subscribe:f,getState:h,replaceReducer:g},n[ms]=b,n}function kd(r){Object.keys(r).forEach(function(e){var o=r[e],n=o(void 0,{type:Qr.INIT});if(typeof n>"u")throw new Error(X(12));if(typeof o(void 0,{type:Qr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(X(13))})}function ys(r){for(var e=Object.keys(r),o={},n=0;n<e.length;n++){var i=e[n];typeof r[i]=="function"&&(o[i]=r[i])}var a=Object.keys(o),s,c;try{kd(o)}catch(l){c=l}return function(u,h){if(u===void 0&&(u={}),c)throw c;if(0)var f;for(var y=!1,g={},b=0;b<a.length;b++){var O=a[b],A=o[O],w=u[O],C=A(w,h);if(typeof C>"u"){var v=h&&h.type;throw new Error(X(14))}g[O]=C,y=y||C!==w}return y=y||a.length!==Object.keys(u).length,y?g:u}}function wt(){for(var r=arguments.length,e=new Array(r),o=0;o<r;o++)e[o]=arguments[o];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function gs(){for(var r=arguments.length,e=new Array(r),o=0;o<r;o++)e[o]=arguments[o];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(X(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(l){return l(s)});return a=wt.apply(void 0,c)(i.dispatch),Xr(Xr({},i),{},{dispatch:a})}}}function bs(r){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(c){return typeof c=="function"?c(i,a,r):s(c)}}};return e}var xs=bs();xs.withExtraArgument=bs;var ni=xs;var ws=function(){var r=function(e,o){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},r(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");r(e,o);function n(){this.constructor=e}e.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),Ud=function(r,e){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(u){return function(h){return l([u,h])}}function l(u){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(a=u[0]&2?i.return:u[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;switch(i=0,a&&(u=[u[0]&2,a.value]),u[0]){case 0:case 1:a=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,i=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){o.label=u[1];break}if(u[0]===6&&o.label<a[1]){o.label=a[1],a=u;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(u);break}a[2]&&o.ops.pop(),o.trys.pop();continue}u=e.call(r,o)}catch(h){u=[6,h],i=0}finally{n=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Ct=function(r,e){for(var o=0,n=e.length,i=r.length;o<n;o++,i++)r[i]=e[o];return r},Dd=Object.defineProperty,Md=Object.defineProperties,Bd=Object.getOwnPropertyDescriptors,vs=Object.getOwnPropertySymbols,Wd=Object.prototype.hasOwnProperty,zd=Object.prototype.propertyIsEnumerable,Ss=function(r,e,o){return e in r?Dd(r,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[e]=o},ze=function(r,e){for(var o in e||(e={}))Wd.call(e,o)&&Ss(r,o,e[o]);if(vs)for(var n=0,i=vs(e);n<i.length;n++){var o=i[n];zd.call(e,o)&&Ss(r,o,e[o])}return r},ii=function(r,e){return Md(r,Bd(e))},Hd=function(r,e,o){return new Promise(function(n,i){var a=function(l){try{c(o.next(l))}catch(u){i(u)}},s=function(l){try{c(o.throw(l))}catch(u){i(u)}},c=function(l){return l.done?n(l.value):Promise.resolve(l.value).then(a,s)};c((o=o.apply(r,e)).next())})};var jd=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?wt:wt.apply(null,arguments)},qy=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(r){return r}};function Vd(r){if(typeof r!="object"||r===null)return!1;var e=Object.getPrototypeOf(r);if(e===null)return!0;for(var o=e;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return e===o}var Kd=function(r){ws(e,r);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=r.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return r.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,Ct([void 0],o[0].concat(this)))):new(e.bind.apply(e,Ct([void 0],o.concat(this))))},e}(Array),Gd=function(r){ws(e,r);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=r.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return r.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,Ct([void 0],o[0].concat(this)))):new(e.bind.apply(e,Ct([void 0],o.concat(this))))},e}(Array);function ci(r){return de(r)?Jr(r,function(){}):r}function Zd(r){return typeof r=="boolean"}function qd(){return function(e){return Yd(e)}}function Yd(r){r===void 0&&(r={});var e=r.thunk,o=e===void 0?!0:e,n=r.immutableCheck,i=n===void 0?!0:n,a=r.serializableCheck,s=a===void 0?!0:a,c=new Kd;if(o&&(Zd(o)?c.push(ni):c.push(ni.withExtraArgument(o.extraArgument))),0){if(i)var l;if(s)var u}return c}var ai=!0;function Cs(r){var e=qd(),o=r||{},n=o.reducer,i=n===void 0?void 0:n,a=o.middleware,s=a===void 0?e():a,c=o.devTools,l=c===void 0?!0:c,u=o.preloadedState,h=u===void 0?void 0:u,f=o.enhancers,y=f===void 0?void 0:f,g;if(typeof i=="function")g=i;else if(Vd(i))g=ys(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var b=s;if(typeof b=="function"&&(b=b(e),!ai&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!ai&&b.some(function(S){return typeof S!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=gs.apply(void 0,b),A=wt;l&&(A=jd(ze({trace:!ai},typeof l=="object"&&l)));var w=new Gd(O),C=w;Array.isArray(y)?C=Ct([O],y):typeof y=="function"&&(C=y(w));var v=A.apply(void 0,C);return oi(g,h,v)}function He(r,e){function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return ze(ze({type:r,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:r,payload:n[0]}}return o.toString=function(){return""+r},o.type=r,o.match=function(n){return n.type===r},o}function As(r){var e={},o=[],n,i={addCase:function(a,s){var c=typeof a=="string"?a:a.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=s,i},addMatcher:function(a,s){return o.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return r(i),[e,o,n]}function Jd(r){return typeof r=="function"}function Xd(r,e,o,n){o===void 0&&(o=[]);var i=typeof e=="function"?As(e):[e,o,n],a=i[0],s=i[1],c=i[2],l;if(Jd(r))l=function(){return ci(r())};else{var u=ci(r);l=function(){return u}}function h(f,y){f===void 0&&(f=l());var g=Ct([a[y.type]],s.filter(function(b){var O=b.matcher;return O(y)}).map(function(b){var O=b.reducer;return O}));return g.filter(function(b){return!!b}).length===0&&(g=[c]),g.reduce(function(b,O){if(O)if(Re(b)){var A=b,w=O(A,y);return w===void 0?b:w}else{if(de(b))return Jr(b,function(C){return O(C,y)});var w=O(b,y);if(w===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return w}return b},f)}return h.getInitialState=l,h}function Qd(r,e){return r+"/"+e}function Rs(r){var e=r.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof r.initialState=="function"?r.initialState:ci(r.initialState),n=r.reducers||{},i=Object.keys(n),a={},s={},c={};i.forEach(function(h){var f=n[h],y=Qd(e,h),g,b;"reducer"in f?(g=f.reducer,b=f.prepare):g=f,a[h]=g,s[y]=g,c[h]=b?He(y,b):He(y)});function l(){var h=typeof r.extraReducers=="function"?As(r.extraReducers):[r.extraReducers],f=h[0],y=f===void 0?{}:f,g=h[1],b=g===void 0?[]:g,O=h[2],A=O===void 0?void 0:O,w=ze(ze({},y),s);return Xd(o,function(C){for(var v in w)C.addCase(v,w[v]);for(var S=0,E=b;S<E.length;S++){var I=E[S];C.addMatcher(I.matcher,I.reducer)}A&&C.addDefaultCase(A)})}var u;return{name:e,reducer:function(h,f){return u||(u=l()),u(h,f)},actions:c,caseReducers:a,getInitialState:function(){return u||(u=l()),u.getInitialState()}}}var eu="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",tu=function(r){r===void 0&&(r=21);for(var e="",o=r;o--;)e+=eu[Math.random()*64|0];return e},ru=["name","message","stack","code"],si=function(){function r(e,o){this.payload=e,this.meta=o}return r}(),Os=function(){function r(e,o){this.payload=e,this.meta=o}return r}(),ou=function(r){if(typeof r=="object"&&r!==null){for(var e={},o=0,n=ru;o<n.length;o++){var i=n[o];typeof r[i]=="string"&&(e[i]=r[i])}return e}return{message:String(r)}},Qy=function(){function r(e,o,n){var i=He(e+"/fulfilled",function(h,f,y,g){return{payload:h,meta:ii(ze({},g||{}),{arg:y,requestId:f,requestStatus:"fulfilled"})}}),a=He(e+"/pending",function(h,f,y){return{payload:void 0,meta:ii(ze({},y||{}),{arg:f,requestId:h,requestStatus:"pending"})}}),s=He(e+"/rejected",function(h,f,y,g,b){return{payload:g,error:(n&&n.serializeError||ou)(h||"Rejected"),meta:ii(ze({},b||{}),{arg:y,requestId:f,rejectedWithValue:!!g,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),c=!1,l=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 u(h){return function(f,y,g){var b=n?.idGenerator?n.idGenerator(h):tu(),O=new l,A,w=!1;function C(S){A=S,O.abort()}var v=function(){return Hd(this,null,function(){var S,E,I,k,B,U,N;return Ud(this,function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),k=(S=n?.condition)==null?void 0:S.call(n,h,{getState:y,extra:g}),iu(k)?[4,k]:[3,2];case 1:k=m.sent(),m.label=2;case 2:if(k===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return w=!0,B=new Promise(function(x,R){return O.signal.addEventListener("abort",function(){return R({name:"AbortError",message:A||"Aborted"})})}),f(a(b,h,(E=n?.getPendingMeta)==null?void 0:E.call(n,{requestId:b,arg:h},{getState:y,extra:g}))),[4,Promise.race([B,Promise.resolve(o(h,{dispatch:f,getState:y,extra:g,requestId:b,signal:O.signal,abort:C,rejectWithValue:function(x,R){return new si(x,R)},fulfillWithValue:function(x,R){return new Os(x,R)}})).then(function(x){if(x instanceof si)throw x;return x instanceof Os?i(x.payload,b,h,x.meta):i(x,b,h)})])];case 3:return I=m.sent(),[3,5];case 4:return U=m.sent(),I=U instanceof si?s(null,b,h,U.payload,U.meta):s(U,b,h),[3,5];case 5:return N=n&&!n.dispatchConditionRejection&&s.match(I)&&I.meta.condition,N||f(I),[2,I]}})})}();return Object.assign(v,{abort:C,requestId:b,arg:h,unwrap:function(){return v.then(nu)}})}}return Object.assign(u,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return r.withTypes=function(){return r},r}();function nu(r){if(r.meta&&r.meta.rejectedWithValue)throw r.payload;if(r.error)throw r.error;return r.payload}function iu(r){return r!==null&&typeof r=="object"&&typeof r.then=="function"}var Ns="listener",_s="completed",Is="cancelled",eg="task-"+Is,tg="task-"+_s,rg=Ns+"-"+Is,og=Ns+"-"+_s;var li="listenerMiddleware";var ng=He(li+"/add"),ig=He(li+"/removeAll"),ag=He(li+"/remove");var Es,sg=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(r){return(Es||(Es=Promise.resolve())).then(r).catch(function(e){return setTimeout(function(){throw e},0)})},au=function(r){return function(e){setTimeout(e,r)}},cg=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:au(10);us();window.ftReduxStores||(window.ftReduxStores={});var di=class r{static get(e){var o;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(lt(a))return a;if(i==null)return;let s=Rs({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),c=Cs({reducer:(l,u)=>u.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...l,...u.overwrites}:s.reducer(l,u)});return window.ftReduxStores[i.name]=new r(s,c)}constructor(e,o){this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new cr,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,c=n[s];return c?(...l)=>{let u=c(...l);return this.reduxStore.dispatch(u),u}:l=>{this.setState({[s]:l})}}})}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 su(){var r;for(let e of Object.values((r=window.ftReduxStores)!==null&&r!==void 0?r:{}))lt(e)&&e.clear()}var hi={};D(hi,{scrollHelper:()=>cu});var pi,eo=new Map,fi=class{lock(e,o){if(o){let n=eo.get(o);if(n==null||n===e)return eo.set(o,e),o}}release(e,o){o&&eo.get(o)===e&&eo.delete(o)}findFirstScrollableParent(e){let o,n=i=>{var a;i.stopPropagation();let s,c;for(let l of i.composedPath()){let u=l,h=this.elementCanScroll(u);if(h&&u.clientHeight&&u.clientHeight<u.scrollHeight){s=u;break}else h&&c==null&&(c=u)}o=(a=s??c)!==null&&a!==void 0?a:document.body};return e.addEventListener("find-scrollable-parent",n),e.dispatchEvent(new Event("find-scrollable-parent",{composed:!0})),e.removeEventListener("find-scrollable-parent",n),o}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,o){let n=0;for(;o&&o.offsetParent!==e.offsetParent;)n+=o.offsetTop,o=o.offsetParent;return n+o.offsetTop-e.offsetTop}computeTopOffsetRatio(e,o){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return o;default:return 0}}scrollIntoViewIfPossible(e,o){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,e),a=i-n.clientHeight+e.clientHeight,s=i,c=Fo(0,(s-n.scrollTop)/(s-a),1),l=this.computeTopOffsetRatio(o?.position,c)*(a-s)+s;n.scrollTo({behavior:o?.behavior,top:l})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(pi=window.FluidTopicsScrollHelper)!==null&&pi!==void 0?pi:new fi;var cu=window.FluidTopicsScrollHelper;var mi={};D(mi,{shadowQuerySelector:()=>lu,shadowQuerySelectorAll:()=>du});function lu(r,e,...o){var n;let i=r.querySelector(e);for(let a of o)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}function du(r,e,...o){let n=[...r.querySelectorAll(e)];for(let i of o)n=n.flatMap(a=>{var s,c;return[...(c=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(i))!==null&&c!==void 0?c:[]]});return n}var yi={};D(yi,{SearchPlaceConverter:()=>oo,SearchPlaceQueryParams:()=>z,isSearchPlaceQueryParams:()=>Qs,serializeRequest:()=>hu});var uu=Tc(Ts(),1);var Ls;(function(r){r.black="black",r.green="green",r.blue="blue",r.purple="purple",r.red="red",r.orange="orange",r.yellow="yellow"})(Ls||(Ls={}));var $s;(function(r){r.OFFICIAL="OFFICIAL",r.PERSONAL="PERSONAL",r.SHARED="SHARED"})($s||($s={}));var Fs;(function(r){r.THIRD_PARTY="THIRD_PARTY",r.OFF_THE_GRID="OFF_THE_GRID",r.CONTENT_PACKAGER="CONTENT_PACKAGER",r.PAGES="PAGES",r.DESIGNED_READER="DESIGNED_READER"})(Fs||(Fs={}));var ks;(function(r){r.HOMEPAGE="HOMEPAGE",r.CUSTOM="CUSTOM",r.HEADER="HEADER",r.READER="READER",r.TOPIC_TEMPLATE="TOPIC_TEMPLATE",r.SEARCH="SEARCH",r.SEARCH_RESULT="SEARCH_RESULT"})(ks||(ks={}));var Us;(function(r){r.CLASSIC="CLASSIC",r.CUSTOM="CUSTOM",r.DESIGNER="DESIGNER"})(Us||(Us={}));var Ds;(function(r){r.AND="AND",r.OR="OR",r.MONOVALUED="MONOVALUED"})(Ds||(Ds={}));var Ms;(function(r){r.NONE="NONE",r.ALPHABET="ALPHABET",r.VERSION="VERSION"})(Ms||(Ms={}));var Bs;(function(r){r.STARS="STARS",r.LIKE="LIKE",r.DICHOTOMOUS="DICHOTOMOUS",r.NO_RATING="NO_RATING"})(Bs||(Bs={}));var Ws;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR",r.CUSTOM="CUSTOM"})(Ws||(Ws={}));var zs;(function(r){r.ASC="ASC",r.DESC="DESC"})(zs||(zs={}));var Hs;(function(r){r.ALPHA="ALPHA",r.NATURAL="NATURAL"})(Hs||(Hs={}));var js;(function(r){r.EVERYWHERE="EVERYWHERE",r.TITLE_ONLY="TITLE_ONLY",r.NONE="NONE"})(js||(js={}));var Ys=r=>["EVERYWHERE","TITLE_ONLY","NONE"].includes(r);var Vs;(function(r){r.ARTICLE="ARTICLE",r.BOOK="BOOK",r.SHARED_BOOK="SHARED_BOOK"})(Vs||(Vs={}));var Ks;(function(r){r.FLUIDTOPICS="FLUIDTOPICS",r.EXTERNAL="EXTERNAL"})(Ks||(Ks={}));var Gs;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC",r.PERSONAL_BOOK="PERSONAL_BOOK",r.SHARED_BOOK="SHARED_BOOK"})(Gs||(Gs={}));var pr;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(pr||(pr={}));var Js=r=>["LAST_WEEK","LAST_MONTH","LAST_QUARTER","LAST_YEAR"].includes(r);var Zs;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC"})(Zs||(Zs={}));var qs;(function(r){r.DEFAULT="DEFAULT",r.DOCUMENTS="DOCUMENTS",r.ALL_TOPICS="ALL_TOPICS"})(qs||(qs={}));var Y;(function(r){r.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",r.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",r.HTML_EXPORT_USER="HTML_EXPORT_USER",r.PDF_EXPORT_USER="PDF_EXPORT_USER",r.SAVED_SEARCH_USER="SAVED_SEARCH_USER",r.COLLECTION_USER="COLLECTION_USER",r.OFFLINE_USER="OFFLINE_USER",r.ANALYTICS_USER="ANALYTICS_USER",r.BETA_USER="BETA_USER",r.DEBUG_USER="DEBUG_USER",r.PRINT_USER="PRINT_USER",r.RATING_USER="RATING_USER",r.FEEDBACK_USER="FEEDBACK_USER",r.GENERATIVE_AI_USER="GENERATIVE_AI_USER",r.CONTENT_PUBLISHER="CONTENT_PUBLISHER",r.KHUB_ADMIN="KHUB_ADMIN",r.USERS_ADMIN="USERS_ADMIN",r.PORTAL_ADMIN="PORTAL_ADMIN",r.ADMIN="ADMIN",r.DEVELOPER="DEVELOPER"})(Y||(Y={}));var Xs;(function(r){r.VALID="VALID",r.INVALID="INVALID"})(Xs||(Xs={}));var Cg={[Y.PERSONAL_BOOK_SHARE_USER]:[Y.PERSONAL_BOOK_USER],[Y.HTML_EXPORT_USER]:[Y.PERSONAL_BOOK_USER],[Y.PDF_EXPORT_USER]:[Y.PERSONAL_BOOK_USER],[Y.KHUB_ADMIN]:[Y.CONTENT_PUBLISHER],[Y.ADMIN]:[Y.KHUB_ADMIN,Y.USERS_ADMIN,Y.PORTAL_ADMIN],[Y.DEVELOPER]:[Y.BETA_USER,Y.DEBUG_USER]};function pu(r){return`"${r}"`}function fu(r){return r.startsWith('"')&&r.endsWith('"')?r.replace(/(^"+)|("+$)/g,""):r}function hu(r,e){return new oo(r,{}).serialize(e)}var z;(function(r){r.LOCALE="content-lang",r.QUERY="query",r.SCOPE="scope",r.FILTERS="filters",r.VIRTUAL_FIELD="virtual-field",r.PERIOD="period",r.VALUE_FILTERS="value-filters",r.DATE_FILTERS="date-filters",r.RANGE_FILTERS="range-filters",r.SORT="sort"})(z||(z={}));var mu=new Set(Object.values(z));function Qs(r){return mu.has(r)}var oo=class{constructor(e,o){this.baseUrl=e,this.predefinedSorts=o,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,o="/search"){let n=this.toURLSearchParams(e).toString();return new URL(`${this.baseUrl.replace(/\/+$/,"")}${o}?${n}`).href}toURLSearchParams(e){var o,n,i,a,s,c,l,u,h,f;let y=new URLSearchParams({[z.LOCALE]:(o=e.contentLocale)!==null&&o!==void 0?o:"all"});((n=e.query)===null||n===void 0?void 0:n.length)>0&&y.append(z.QUERY,e.query),e.scope&&e.scope!=="DEFAULT"&&y.append(z.SCOPE,e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&y.append(z.VIRTUAL_FIELD,e.virtualField.toLowerCase()),((i=e.sort)===null||i===void 0?void 0:i.length)>0&&e.sort[0].key==="ft:lastEdition"&&y.append(z.SORT,"last_update");let g=(s=(a=e.metadataFilters)===null||a===void 0?void 0:a.filter(w=>w.valueFilter))!==null&&s!==void 0?s:[];if(g.length>0){let w=g.map(C=>{var v,S;let E=((S=(v=C.valueFilter)===null||v===void 0?void 0:v.values)!==null&&S!==void 0?S:[]).map(I=>this.escapeFilters(I)).map(I=>encodeURIComponent(pu(I))).join("_");return`${C.key}~${E}`}).join("*");y.append(z.VALUE_FILTERS,w)}let b=(l=(c=e.metadataFilters)===null||c===void 0?void 0:c.filter(w=>w.dateFilter))!==null&&l!==void 0?l:[];if(b.length>0){let w=b.map(C=>{var v;return`${C.key}~${(v=C.dateFilter)===null||v===void 0?void 0:v.type.toLowerCase()}`}).join("*");y.append(z.DATE_FILTERS,w)}let O=(h=(u=e.metadataFilters)===null||u===void 0?void 0:u.filter(w=>w.rangeFilter))!==null&&h!==void 0?h:[];if(O.length>0){let w=O.map(C=>{var v,S;return`${C.key}~${(v=C.rangeFilter)===null||v===void 0?void 0:v.from}_${(S=C.rangeFilter)===null||S===void 0?void 0:S.to}`}).join("*");y.append(z.RANGE_FILTERS,w)}let A=(f=e.otherQueryParams)!==null&&f!==void 0?f:{};for(let w in A)y.append(w,A[w]);return y}parse(e){var o;let n=e.split("?"),i=this.fromURLSearchParams(new URLSearchParams(n.slice(1).join("?"))),a=n[0].split("/search/")[1];return a==null?i:{...i,scope:(o=this.scopeMapping[a])!==null&&o!==void 0?o:i.scope}}fromURLSearchParams(e){var o,n,i,a,s,c,l,u;let h=((o=e.get(z.VIRTUAL_FIELD))!==null&&o!==void 0?o:"EVERYWHERE").toUpperCase(),f=((n=e.get(z.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),y=(i=e.get(z.SCOPE))!==null&&i!==void 0?i:"default",g={};for(let b of e.keys())Qs(b)||(g[b]=e.get(b));return{contentLocale:e.get(z.LOCALE)==="all"?void 0:(a=e.get(z.LOCALE))!==null&&a!==void 0?a:void 0,query:decodeURIComponent((s=e.get(z.QUERY))!==null&&s!==void 0?s:""),scope:(c=this.scopeMapping[y])!==null&&c!==void 0?c:"DEFAULT",virtualField:Ys(h)?h:"EVERYWHERE",sort:(u=(l=this.predefinedSorts[f])!==null&&l!==void 0?l:this.predefinedSorts.DEFAULT)!==null&&u!==void 0?u:[],metadataFilters:this.parseCompatFilters(e),facets:[],paging:{page:1,perPage:20},otherQueryParams:g}}parseCompatFilters(e){var o,n,i,a,s,c;let l=[];return e.has(z.FILTERS)&&(l=this.parseValueFilters((o=e.get(z.FILTERS))!==null&&o!==void 0?o:"")),(n=e.has(z.PERIOD))!==null&&n!==void 0&&n&&(l=[...l,...this.parseLegacyPeriodFilter(((i=e.get(z.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...l,...this.parseValueFilters((a=e.get(z.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(z.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((c=e.get(z.RANGE_FILTERS))!==null&&c!==void 0?c:"")]}splitUnknownFilter(e){return this.superEscapeFilters(decodeURIComponent(e)).split("*").map(o=>o.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],valueFilter:{values:o[1].split("_").map(fu).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],dateFilter:{type:pr[o[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],rangeFilter:{from:o[1].split("_")[0],to:o[1].split("_")[1]}}))}escapeFilters(e){for(let[o,n,i]of this.filtersEscapeMapping)e=e.replaceAll(o,n);return e}superEscapeFilters(e){for(let[o,n,i]of this.filtersEscapeMapping)e=e.replaceAll(n,i);return e}unescapeFilterValue(e){for(let[o,n,i]of this.filtersEscapeMapping)e=e.replace(i,o);return e}parseLegacyPeriodFilter(e){if(Js(e))return[{key:"ft:lastEdition",dateFilter:{type:pr[e]}}];if(e.startsWith("CUSTOM_")){let[o,n,i]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}};var gi={};D(gi,{toFtFormComponent:()=>yu});var no=Symbol("elementInternals");function yu(r,e){class o extends r{static get formAssociated(){return!0}get form(){return this[no].form}constructor(...i){super(i),this[no]=this.attachInternals(),this[no].role=e}setFormValue(i){this[no].setFormValue(i)}}return o}var xi={};D(xi,{DateFormatter:()=>bi});var bi=class{static format(e,o,n,i){return window.moment?window.moment(e).locale(o).format(this.getDateFormat(n,i)):e}static getDateFormat(e,o){return e?o?"lll":"ll":o?"L LT":"L"}};var vi,Si,Oi,Ei,gu=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Oi=(Si=(vi=window.safari)===null||vi===void 0?void 0:vi.pushNotification)===null||Si===void 0?void 0:Si.toString())!==null&&Oi!==void 0?Oi:"")==="[object SafariRemoteNotification]",bu="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Ei=window.ftGlobals)!==null&&Ei!==void 0?Ei:{lit:Oo,litDecorators:Eo,litRepeat:wo,litClassMap:Co,litStyleMap:Ao,litUnsafeHTML:Ro,wcUtils:{...Po,..._o,...Lo,...xi,...$o,...Do,...hn,...bn,..._n,...fn,...Ln,...Pn,...Ya,...ko,...Fn,...kn,...Xa,...Dn,...ui,...In,...hi,...mi,...yi,...gi,isSafari:gu,isTouchScreen:bu,setVariable:Z}};function ec(r){let e=Xt[r];return P`
51
+ .ft-typography--${Xe(r)} {
51
52
  font-family: ${e.fontFamily};
52
53
  font-size: ${e.fontSize};
53
54
  font-weight: ${e.fontWeight};
@@ -55,120 +56,120 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
55
56
  line-height: ${e.lineHeight};
56
57
  text-transform: ${e.textCase};
57
58
  }
58
- `}var ys=t.extend("--ft-typography-font-family","",F.titleFont),we=t.extend("--ft-typography-font-family","",F.contentFont),E={fontFamily:we,fontSize:t.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:t.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:t.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:t.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:t.create("--ft-typography-text-transform","","UNKNOWN","inherit")},bt={fontFamily:t.extend("--ft-typography-title-font-family","",ys),fontSize:t.extend("--ft-typography-title-font-size","",E.fontSize,"20px"),fontWeight:t.extend("--ft-typography-title-font-weight","",E.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-title-letter-spacing","",E.letterSpacing,"0.15px"),lineHeight:t.extend("--ft-typography-title-line-height","",E.lineHeight,"1.2"),textTransform:t.extend("--ft-typography-title-text-transform","",E.textTransform,"inherit")},xt={fontFamily:t.extend("--ft-typography-title-dense-font-family","",ys),fontSize:t.extend("--ft-typography-title-dense-font-size","",E.fontSize,"14px"),fontWeight:t.extend("--ft-typography-title-dense-font-weight","",E.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-title-dense-letter-spacing","",E.letterSpacing,"0.105px"),lineHeight:t.extend("--ft-typography-title-dense-line-height","",E.lineHeight,"1.7"),textTransform:t.extend("--ft-typography-title-dense-text-transform","",E.textTransform,"inherit")},vt={fontFamily:t.extend("--ft-typography-subtitle1-font-family","",we),fontSize:t.extend("--ft-typography-subtitle1-font-size","",E.fontSize,"16px"),fontWeight:t.extend("--ft-typography-subtitle1-font-weight","",E.fontWeight,"600"),letterSpacing:t.extend("--ft-typography-subtitle1-letter-spacing","",E.letterSpacing,"0.144px"),lineHeight:t.extend("--ft-typography-subtitle1-line-height","",E.lineHeight,"1.5"),textTransform:t.extend("--ft-typography-subtitle1-text-transform","",E.textTransform,"inherit")},St={fontFamily:t.extend("--ft-typography-subtitle2-font-family","",we),fontSize:t.extend("--ft-typography-subtitle2-font-size","",E.fontSize,"14px"),fontWeight:t.extend("--ft-typography-subtitle2-font-weight","",E.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-subtitle2-letter-spacing","",E.letterSpacing,"0.098px"),lineHeight:t.extend("--ft-typography-subtitle2-line-height","",E.lineHeight,"1.7"),textTransform:t.extend("--ft-typography-subtitle2-text-transform","",E.textTransform,"inherit")},Oe={fontFamily:t.extend("--ft-typography-body1-font-family","",we),fontSize:t.extend("--ft-typography-body1-font-size","",E.fontSize,"16px"),fontWeight:t.extend("--ft-typography-body1-font-weight","",E.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-body1-letter-spacing","",E.letterSpacing,"0.496px"),lineHeight:t.extend("--ft-typography-body1-line-height","",E.lineHeight,"1.5"),textTransform:t.extend("--ft-typography-body1-text-transform","",E.textTransform,"inherit")},Ot={fontFamily:t.extend("--ft-typography-body2-font-family","",we),fontSize:t.extend("--ft-typography-body2-font-size","",E.fontSize,"14px"),fontWeight:t.extend("--ft-typography-body2-font-weight","",E.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-body2-letter-spacing","",E.letterSpacing,"0.252px"),lineHeight:t.extend("--ft-typography-body2-line-height","",E.lineHeight,"1.4"),textTransform:t.extend("--ft-typography-body2-text-transform","",E.textTransform,"inherit")},ie={fontFamily:t.extend("--ft-typography-caption-font-family","",we),fontSize:t.extend("--ft-typography-caption-font-size","",E.fontSize,"12px"),fontWeight:t.extend("--ft-typography-caption-font-weight","",E.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-caption-letter-spacing","",E.letterSpacing,"0.396px"),lineHeight:t.extend("--ft-typography-caption-line-height","",E.lineHeight,"1.33"),textTransform:t.extend("--ft-typography-caption-text-transform","",E.textTransform,"inherit")},wt={fontFamily:t.extend("--ft-typography-breadcrumb-font-family","",we),fontSize:t.extend("--ft-typography-breadcrumb-font-size","",E.fontSize,"10px"),fontWeight:t.extend("--ft-typography-breadcrumb-font-weight","",E.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-breadcrumb-letter-spacing","",E.letterSpacing,"0.33px"),lineHeight:t.extend("--ft-typography-breadcrumb-line-height","",E.lineHeight,"1.6"),textTransform:t.extend("--ft-typography-breadcrumb-text-transform","",E.textTransform,"inherit")},Ct={fontFamily:t.extend("--ft-typography-overline-font-family","",we),fontSize:t.extend("--ft-typography-overline-font-size","",E.fontSize,"10px"),fontWeight:t.extend("--ft-typography-overline-font-weight","",E.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-overline-letter-spacing","",E.letterSpacing,"1.5px"),lineHeight:t.extend("--ft-typography-overline-line-height","",E.lineHeight,"1.6"),textTransform:t.extend("--ft-typography-overline-text-transform","",E.textTransform,"uppercase")},Et={fontFamily:t.extend("--ft-typography-button-font-family","",we),fontSize:t.extend("--ft-typography-button-font-size","",E.fontSize,"14px"),fontWeight:t.extend("--ft-typography-button-font-weight","",E.fontWeight,"600"),letterSpacing:t.extend("--ft-typography-button-letter-spacing","",E.letterSpacing,"1.246px"),lineHeight:t.extend("--ft-typography-button-line-height","",E.lineHeight,"1.15"),textTransform:t.extend("--ft-typography-button-text-transform","",E.textTransform,"uppercase")},bs=$`
59
+ `}var tc=t.extend("--ft-typography-font-family","",M.titleFont),_e=t.extend("--ft-typography-font-family","",M.contentFont),_={fontFamily:_e,fontSize:t.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:t.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:t.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:t.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:t.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Rt={fontFamily:t.extend("--ft-typography-title-font-family","",tc),fontSize:t.extend("--ft-typography-title-font-size","",_.fontSize,"20px"),fontWeight:t.extend("--ft-typography-title-font-weight","",_.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-title-letter-spacing","",_.letterSpacing,"0.15px"),lineHeight:t.extend("--ft-typography-title-line-height","",_.lineHeight,"1.2"),textTransform:t.extend("--ft-typography-title-text-transform","",_.textTransform,"inherit")},Nt={fontFamily:t.extend("--ft-typography-title-dense-font-family","",tc),fontSize:t.extend("--ft-typography-title-dense-font-size","",_.fontSize,"14px"),fontWeight:t.extend("--ft-typography-title-dense-font-weight","",_.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-title-dense-letter-spacing","",_.letterSpacing,"0.105px"),lineHeight:t.extend("--ft-typography-title-dense-line-height","",_.lineHeight,"1.7"),textTransform:t.extend("--ft-typography-title-dense-text-transform","",_.textTransform,"inherit")},_t={fontFamily:t.extend("--ft-typography-subtitle1-font-family","",_e),fontSize:t.extend("--ft-typography-subtitle1-font-size","",_.fontSize,"16px"),fontWeight:t.extend("--ft-typography-subtitle1-font-weight","",_.fontWeight,"600"),letterSpacing:t.extend("--ft-typography-subtitle1-letter-spacing","",_.letterSpacing,"0.144px"),lineHeight:t.extend("--ft-typography-subtitle1-line-height","",_.lineHeight,"1.5"),textTransform:t.extend("--ft-typography-subtitle1-text-transform","",_.textTransform,"inherit")},It={fontFamily:t.extend("--ft-typography-subtitle2-font-family","",_e),fontSize:t.extend("--ft-typography-subtitle2-font-size","",_.fontSize,"14px"),fontWeight:t.extend("--ft-typography-subtitle2-font-weight","",_.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-subtitle2-letter-spacing","",_.letterSpacing,"0.098px"),lineHeight:t.extend("--ft-typography-subtitle2-line-height","",_.lineHeight,"1.7"),textTransform:t.extend("--ft-typography-subtitle2-text-transform","",_.textTransform,"inherit")},Ne={fontFamily:t.extend("--ft-typography-body1-font-family","",_e),fontSize:t.extend("--ft-typography-body1-font-size","",_.fontSize,"16px"),fontWeight:t.extend("--ft-typography-body1-font-weight","",_.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-body1-letter-spacing","",_.letterSpacing,"0.496px"),lineHeight:t.extend("--ft-typography-body1-line-height","",_.lineHeight,"1.5"),textTransform:t.extend("--ft-typography-body1-text-transform","",_.textTransform,"inherit")},Pt={fontFamily:t.extend("--ft-typography-body2-font-family","",_e),fontSize:t.extend("--ft-typography-body2-font-size","",_.fontSize,"14px"),fontWeight:t.extend("--ft-typography-body2-font-weight","",_.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-body2-letter-spacing","",_.letterSpacing,"0.252px"),lineHeight:t.extend("--ft-typography-body2-line-height","",_.lineHeight,"1.4"),textTransform:t.extend("--ft-typography-body2-text-transform","",_.textTransform,"inherit")},ue={fontFamily:t.extend("--ft-typography-caption-font-family","",_e),fontSize:t.extend("--ft-typography-caption-font-size","",_.fontSize,"12px"),fontWeight:t.extend("--ft-typography-caption-font-weight","",_.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-caption-letter-spacing","",_.letterSpacing,"0.396px"),lineHeight:t.extend("--ft-typography-caption-line-height","",_.lineHeight,"1.33"),textTransform:t.extend("--ft-typography-caption-text-transform","",_.textTransform,"inherit")},Tt={fontFamily:t.extend("--ft-typography-breadcrumb-font-family","",_e),fontSize:t.extend("--ft-typography-breadcrumb-font-size","",_.fontSize,"10px"),fontWeight:t.extend("--ft-typography-breadcrumb-font-weight","",_.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-breadcrumb-letter-spacing","",_.letterSpacing,"0.33px"),lineHeight:t.extend("--ft-typography-breadcrumb-line-height","",_.lineHeight,"1.6"),textTransform:t.extend("--ft-typography-breadcrumb-text-transform","",_.textTransform,"inherit")},Lt={fontFamily:t.extend("--ft-typography-overline-font-family","",_e),fontSize:t.extend("--ft-typography-overline-font-size","",_.fontSize,"10px"),fontWeight:t.extend("--ft-typography-overline-font-weight","",_.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-overline-letter-spacing","",_.letterSpacing,"1.5px"),lineHeight:t.extend("--ft-typography-overline-line-height","",_.lineHeight,"1.6"),textTransform:t.extend("--ft-typography-overline-text-transform","",_.textTransform,"uppercase")},$t={fontFamily:t.extend("--ft-typography-button-font-family","",_e),fontSize:t.extend("--ft-typography-button-font-size","",_.fontSize,"14px"),fontWeight:t.extend("--ft-typography-button-font-weight","",_.fontWeight,"600"),letterSpacing:t.extend("--ft-typography-button-letter-spacing","",_.letterSpacing,"1.246px"),lineHeight:t.extend("--ft-typography-button-line-height","",_.lineHeight,"1.15"),textTransform:t.extend("--ft-typography-button-text-transform","",_.textTransform,"uppercase")},rc=P`
59
60
  .ft-typography--title {
60
- font-family: ${bt.fontFamily};
61
- font-size: ${bt.fontSize};
62
- font-weight: ${bt.fontWeight};
63
- letter-spacing: ${bt.letterSpacing};
64
- line-height: ${bt.lineHeight};
65
- text-transform: ${bt.textTransform};
66
- }
67
- `,xs=$`
61
+ font-family: ${Rt.fontFamily};
62
+ font-size: ${Rt.fontSize};
63
+ font-weight: ${Rt.fontWeight};
64
+ letter-spacing: ${Rt.letterSpacing};
65
+ line-height: ${Rt.lineHeight};
66
+ text-transform: ${Rt.textTransform};
67
+ }
68
+ `,oc=P`
68
69
  .ft-typography--title-dense {
69
- font-family: ${xt.fontFamily};
70
- font-size: ${xt.fontSize};
71
- font-weight: ${xt.fontWeight};
72
- letter-spacing: ${xt.letterSpacing};
73
- line-height: ${xt.lineHeight};
74
- text-transform: ${xt.textTransform};
75
- }
76
- `,vs=$`
70
+ font-family: ${Nt.fontFamily};
71
+ font-size: ${Nt.fontSize};
72
+ font-weight: ${Nt.fontWeight};
73
+ letter-spacing: ${Nt.letterSpacing};
74
+ line-height: ${Nt.lineHeight};
75
+ text-transform: ${Nt.textTransform};
76
+ }
77
+ `,nc=P`
77
78
  .ft-typography--subtitle1 {
78
- font-family: ${vt.fontFamily};
79
- font-size: ${vt.fontSize};
80
- font-weight: ${vt.fontWeight};
81
- letter-spacing: ${vt.letterSpacing};
82
- line-height: ${vt.lineHeight};
83
- text-transform: ${vt.textTransform};
84
- }
85
- `,Ss=$`
79
+ font-family: ${_t.fontFamily};
80
+ font-size: ${_t.fontSize};
81
+ font-weight: ${_t.fontWeight};
82
+ letter-spacing: ${_t.letterSpacing};
83
+ line-height: ${_t.lineHeight};
84
+ text-transform: ${_t.textTransform};
85
+ }
86
+ `,ic=P`
86
87
  .ft-typography--subtitle2 {
87
- font-family: ${St.fontFamily};
88
- font-size: ${St.fontSize};
89
- font-weight: ${St.fontWeight};
90
- letter-spacing: ${St.letterSpacing};
91
- line-height: ${St.lineHeight};
92
- text-transform: ${St.textTransform};
88
+ font-family: ${It.fontFamily};
89
+ font-size: ${It.fontSize};
90
+ font-weight: ${It.fontWeight};
91
+ letter-spacing: ${It.letterSpacing};
92
+ line-height: ${It.lineHeight};
93
+ text-transform: ${It.textTransform};
93
94
  }
94
95
 
95
- `,Os=$`
96
+ `,ac=P`
96
97
  .ft-typography--body1 {
97
- font-family: ${Oe.fontFamily};
98
- font-size: ${Oe.fontSize};
99
- font-weight: ${Oe.fontWeight};
100
- letter-spacing: ${Oe.letterSpacing};
101
- line-height: ${Oe.lineHeight};
102
- text-transform: ${Oe.textTransform};
103
- }
104
- `,ws=$`
98
+ font-family: ${Ne.fontFamily};
99
+ font-size: ${Ne.fontSize};
100
+ font-weight: ${Ne.fontWeight};
101
+ letter-spacing: ${Ne.letterSpacing};
102
+ line-height: ${Ne.lineHeight};
103
+ text-transform: ${Ne.textTransform};
104
+ }
105
+ `,sc=P`
105
106
  .ft-typography--body2 {
106
- font-family: ${Ot.fontFamily};
107
- font-size: ${Ot.fontSize};
108
- font-weight: ${Ot.fontWeight};
109
- letter-spacing: ${Ot.letterSpacing};
110
- line-height: ${Ot.lineHeight};
111
- text-transform: ${Ot.textTransform};
112
- }
113
- `,Vr=$`
107
+ font-family: ${Pt.fontFamily};
108
+ font-size: ${Pt.fontSize};
109
+ font-weight: ${Pt.fontWeight};
110
+ letter-spacing: ${Pt.letterSpacing};
111
+ line-height: ${Pt.lineHeight};
112
+ text-transform: ${Pt.textTransform};
113
+ }
114
+ `,io=P`
114
115
  .ft-typography--caption {
115
- font-family: ${ie.fontFamily};
116
- font-size: ${ie.fontSize};
117
- font-weight: ${ie.fontWeight};
118
- letter-spacing: ${ie.letterSpacing};
119
- line-height: ${ie.lineHeight};
120
- text-transform: ${ie.textTransform};
121
- }
122
- `,Cs=$`
116
+ font-family: ${ue.fontFamily};
117
+ font-size: ${ue.fontSize};
118
+ font-weight: ${ue.fontWeight};
119
+ letter-spacing: ${ue.letterSpacing};
120
+ line-height: ${ue.lineHeight};
121
+ text-transform: ${ue.textTransform};
122
+ }
123
+ `,cc=P`
123
124
  .ft-typography--breadcrumb {
124
- font-family: ${wt.fontFamily};
125
- font-size: ${wt.fontSize};
126
- font-weight: ${wt.fontWeight};
127
- letter-spacing: ${wt.letterSpacing};
128
- line-height: ${wt.lineHeight};
129
- text-transform: ${wt.textTransform};
130
- }
131
- `,Es=$`
125
+ font-family: ${Tt.fontFamily};
126
+ font-size: ${Tt.fontSize};
127
+ font-weight: ${Tt.fontWeight};
128
+ letter-spacing: ${Tt.letterSpacing};
129
+ line-height: ${Tt.lineHeight};
130
+ text-transform: ${Tt.textTransform};
131
+ }
132
+ `,lc=P`
132
133
  .ft-typography--overline {
133
- font-family: ${Ct.fontFamily};
134
- font-size: ${Ct.fontSize};
135
- font-weight: ${Ct.fontWeight};
136
- letter-spacing: ${Ct.letterSpacing};
137
- line-height: ${Ct.lineHeight};
138
- text-transform: ${Ct.textTransform};
139
- }
140
- `,Ns=$`
134
+ font-family: ${Lt.fontFamily};
135
+ font-size: ${Lt.fontSize};
136
+ font-weight: ${Lt.fontWeight};
137
+ letter-spacing: ${Lt.letterSpacing};
138
+ line-height: ${Lt.lineHeight};
139
+ text-transform: ${Lt.textTransform};
140
+ }
141
+ `,dc=P`
141
142
  .ft-typography--button {
142
- font-family: ${Et.fontFamily};
143
- font-size: ${Et.fontSize};
144
- font-weight: ${Et.fontWeight};
145
- letter-spacing: ${Et.letterSpacing};
146
- line-height: ${Et.lineHeight};
147
- text-transform: ${Et.textTransform};
148
- }
149
- `,As=$`
143
+ font-family: ${$t.fontFamily};
144
+ font-size: ${$t.fontSize};
145
+ font-weight: ${$t.fontWeight};
146
+ letter-spacing: ${$t.letterSpacing};
147
+ line-height: ${$t.lineHeight};
148
+ text-transform: ${$t.textTransform};
149
+ }
150
+ `,uc=P`
150
151
  .ft-typography {
151
152
  vertical-align: inherit;
152
153
  }
153
- `,Rs=[Object.keys(Ht).map(o=>gs(o))];var I={fontSize:t.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:t.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:t.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:t.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:t.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:t.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:t.extend("--ft-input-label-border-color","",F.colorOutline),textColor:t.extend("--ft-input-label-text-color","",F.colorOnSurfaceMedium),disabledTextColor:t.extend("--ft-input-label-disabled-text-color","",F.colorOnSurfaceDisabled),colorSurface:t.external(F.colorSurface,"Design system"),borderRadiusS:t.external(F.borderRadiusS,"Design system"),colorError:t.external(F.colorError,"Design system")},$s=$`
154
+ `,pc=[Object.keys(Xt).map(r=>ec(r))];var $={fontSize:t.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:t.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:t.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:t.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:t.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:t.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:t.extend("--ft-input-label-border-color","",M.colorOutline),textColor:t.extend("--ft-input-label-text-color","",M.colorOnSurfaceMedium),disabledTextColor:t.extend("--ft-input-label-disabled-text-color","",M.colorOnSurfaceDisabled),colorSurface:t.external(M.colorSurface,"Design system"),borderRadiusS:t.external(M.borderRadiusS,"Design system"),colorError:t.external(M.colorError,"Design system")},fc=P`
154
155
  .ft-input-label {
155
156
  position: absolute;
156
157
  inset: 0;
157
158
  display: flex;
158
- background-color: ${I.colorSurface};
159
- border-radius: ${I.borderRadiusS} ${I.borderRadiusS} 0 0;
159
+ background-color: ${$.colorSurface};
160
+ border-radius: ${$.borderRadiusS} ${$.borderRadiusS} 0 0;
160
161
  }
161
162
 
162
163
  .ft-input-label--outlined {
163
- border-radius: ${I.borderRadiusS};
164
+ border-radius: ${$.borderRadiusS};
164
165
  }
165
166
 
166
167
  .ft-input-label {
167
- border-color: ${I.borderColor};
168
+ border-color: ${$.borderColor};
168
169
  }
169
170
 
170
171
  .ft-input-label.ft-input-label--in-error {
171
- border-color: ${I.colorError}
172
+ border-color: ${$.colorError}
172
173
  }
173
174
 
174
175
  .ft-input-label:before,
@@ -181,7 +182,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
181
182
  }
182
183
 
183
184
  .ft-input-label:before {
184
- width: calc(${I.horizontalSpacing} - 4px);
185
+ width: calc(${$.horizontalSpacing} - 4px);
185
186
  flex-shrink: 0;
186
187
  }
187
188
 
@@ -197,20 +198,20 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
197
198
  border-bottom-width: 1px;
198
199
  border-bottom-style: solid;
199
200
  border-color: inherit;
200
- color: ${I.textColor};
201
+ color: ${$.textColor};
201
202
  transition: font-size 250ms, line-height 250ms, color 250ms;
202
- max-width: calc(${I.labelMaxWidth} - 2 * (${I.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
203
+ max-width: calc(${$.labelMaxWidth} - 2 * (${$.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
203
204
  text-overflow: ellipsis;
204
- ${B(ie.fontSize,I.fontSize)};
205
- ${B(ie.lineHeight,I.fontSize)};
205
+ ${Z(ue.fontSize,$.fontSize)};
206
+ ${Z(ue.lineHeight,$.fontSize)};
206
207
  }
207
208
 
208
209
  .ft-input-label--in-error .ft-input-label--text {
209
- color: ${I.colorError}
210
+ color: ${$.colorError}
210
211
  }
211
212
 
212
213
  .ft-input-label--disabled .ft-input-label--text {
213
- color: ${I.disabledTextColor};
214
+ color: ${$.disabledTextColor};
214
215
  }
215
216
 
216
217
  .ft-input-label--hidden-text {
@@ -227,19 +228,19 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
227
228
  overflow: hidden;
228
229
  white-space: nowrap;
229
230
  text-overflow: ellipsis;
230
- padding: ${I.verticalSpacing} 4px;
231
- margin: calc(${I.verticalSpacing} * -1) 0;
231
+ padding: ${$.verticalSpacing} 4px;
232
+ margin: calc(${$.verticalSpacing} * -1) 0;
232
233
  max-width: 100%;
233
234
  box-sizing: border-box;
234
235
  }
235
236
 
236
237
  .ft-input-label--raised .ft-input-label--text {
237
- ${B(ie.fontSize,I.raisedFontSize)};
238
- ${B(ie.lineHeight,I.raisedFontSize)};
238
+ ${Z(ue.fontSize,$.raisedFontSize)};
239
+ ${Z(ue.lineHeight,$.raisedFontSize)};
239
240
  }
240
241
 
241
242
  .ft-input-label--raised .ft-input-label--floating-text {
242
- top: ${I.verticalSpacing};
243
+ top: ${$.verticalSpacing};
243
244
  }
244
245
 
245
246
  .ft-input-label--outlined .ft-input-label--text,
@@ -252,27 +253,27 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
252
253
  .ft-input-label--outlined:before {
253
254
  border-left-width: 1px;
254
255
  border-left-style: solid;
255
- border-radius: ${I.borderRadiusS} 0 0 ${I.borderRadiusS};
256
+ border-radius: ${$.borderRadiusS} 0 0 ${$.borderRadiusS};
256
257
  }
257
258
 
258
259
  .ft-input-label--outlined:after {
259
260
  border-right-width: 1px;
260
261
  border-right-style: solid;
261
- border-radius: 0 ${I.borderRadiusS} ${I.borderRadiusS} 0;
262
+ border-radius: 0 ${$.borderRadiusS} ${$.borderRadiusS} 0;
262
263
  }
263
264
 
264
265
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
265
266
  padding: 2px 4px;
266
- z-index: ${I.raisedZIndex};
267
- background-color: ${I.colorSurface};
268
- border-radius: ${I.borderRadiusS};
267
+ z-index: ${$.raisedZIndex};
268
+ background-color: ${$.colorSurface};
269
+ border-radius: ${$.borderRadiusS};
269
270
  top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
270
271
  }
271
272
 
272
273
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
273
274
  border-top: none;
274
275
  }
275
- `;var Ps=t.extend("--ft-ripple-color","",F.colorContent),fe={color:Ps,backgroundColor:t.extend("--ft-ripple-background-color","",Ps),opacityContentOnSurfacePressed:t.external(F.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:t.external(F.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:t.external(F.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:t.external(F.opacityContentOnSurfaceSelected,"Design system"),borderRadius:t.create("--ft-ripple-border-radius","","SIZE","0px")},Is=t.extend("--ft-ripple-color","",F.colorPrimary),_s={color:Is,backgroundColor:t.extend("--ft-ripple-background-color","",Is)},ks=t.extend("--ft-ripple-color","",F.colorSecondary),Ls={color:ks,backgroundColor:t.extend("--ft-ripple-background-color","",ks)},Fs=$`
276
+ `;var hc=t.extend("--ft-ripple-color","",M.colorContent),ge={color:hc,backgroundColor:t.extend("--ft-ripple-background-color","",hc),opacityContentOnSurfacePressed:t.external(M.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:t.external(M.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:t.external(M.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:t.external(M.opacityContentOnSurfaceSelected,"Design system"),borderRadius:t.create("--ft-ripple-border-radius","","SIZE","0px")},mc=t.extend("--ft-ripple-color","",M.colorPrimary),yc={color:mc,backgroundColor:t.extend("--ft-ripple-background-color","",mc)},gc=t.extend("--ft-ripple-color","",M.colorSecondary),bc={color:gc,backgroundColor:t.extend("--ft-ripple-background-color","",gc)},xc=P`
276
277
  :host {
277
278
  display: contents;
278
279
  }
@@ -285,7 +286,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
285
286
 
286
287
  .ft-ripple:not(.ft-ripple--unbounded) {
287
288
  overflow: hidden;
288
- border-radius: ${fe.borderRadius};
289
+ border-radius: ${ge.borderRadius};
289
290
  }
290
291
 
291
292
  .ft-ripple .ft-ripple--background,
@@ -319,27 +320,27 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
319
320
  }
320
321
 
321
322
  .ft-ripple .ft-ripple--background {
322
- background-color: ${fe.backgroundColor};
323
+ background-color: ${ge.backgroundColor};
323
324
  }
324
325
 
325
326
  .ft-ripple .ft-ripple--effect {
326
- background-color: ${fe.color};
327
+ background-color: ${ge.color};
327
328
  }
328
329
 
329
330
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
330
- background-color: ${Ls.backgroundColor};
331
+ background-color: ${bc.backgroundColor};
331
332
  }
332
333
 
333
334
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
334
- background-color: ${Ls.color};
335
+ background-color: ${bc.color};
335
336
  }
336
337
 
337
338
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
338
- background-color: ${_s.backgroundColor};
339
+ background-color: ${yc.backgroundColor};
339
340
  }
340
341
 
341
342
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
342
- background-color: ${_s.color};
343
+ background-color: ${yc.color};
343
344
  }
344
345
 
345
346
  .ft-ripple .ft-ripple--background {
@@ -369,22 +370,22 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
369
370
  }
370
371
 
371
372
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
372
- opacity: ${fe.opacityContentOnSurfaceHover};
373
+ opacity: ${ge.opacityContentOnSurfaceHover};
373
374
  }
374
375
 
375
376
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
376
- opacity: ${fe.opacityContentOnSurfaceSelected};
377
+ opacity: ${ge.opacityContentOnSurfaceSelected};
377
378
  }
378
379
 
379
380
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
380
- opacity: ${fe.opacityContentOnSurfaceFocused};
381
+ opacity: ${ge.opacityContentOnSurfaceFocused};
381
382
  }
382
383
 
383
384
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
384
- opacity: ${fe.opacityContentOnSurfacePressed};
385
+ opacity: ${ge.opacityContentOnSurfacePressed};
385
386
  transform: translate(-50%, -50%) scale(1);
386
387
  }
387
- `;var W={fontSize:t.create("--ft-number-field-font-size","","SIZE","14px"),labelSize:t.create("--ft-number-field-label-size","","SIZE","11px"),verticalSpacing:t.create("--ft-number-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:t.create("--ft-number-field-horizontal-spacing","","SIZE","16px"),helperColor:t.extend("--ft-number-field-helper-color","",F.colorOnSurfaceMedium),colorPrimary:t.external(F.colorPrimary,"Design system"),colorOnSurface:t.external(F.colorOnSurface,"Design system"),colorOnSurfaceDisabled:t.external(F.colorOnSurfaceDisabled,"Design system"),borderRadiusS:t.external(F.borderRadiusS,"Design system"),colorSurface:t.external(F.colorSurface,"Design system"),colorOutline:t.external(F.colorOutline,"Design system")},Ts=$`
388
+ `;var H={fontSize:t.create("--ft-number-field-font-size","","SIZE","14px"),labelSize:t.create("--ft-number-field-label-size","","SIZE","11px"),verticalSpacing:t.create("--ft-number-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:t.create("--ft-number-field-horizontal-spacing","","SIZE","16px"),helperColor:t.extend("--ft-number-field-helper-color","",M.colorOnSurfaceMedium),colorPrimary:t.external(M.colorPrimary,"Design system"),colorOnSurface:t.external(M.colorOnSurface,"Design system"),colorOnSurfaceDisabled:t.external(M.colorOnSurfaceDisabled,"Design system"),borderRadiusS:t.external(M.borderRadiusS,"Design system"),colorSurface:t.external(M.colorSurface,"Design system"),colorOutline:t.external(M.colorOutline,"Design system")},vc=P`
388
389
  *:focus {
389
390
  outline: none;
390
391
  }
@@ -397,16 +398,16 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
397
398
  }
398
399
 
399
400
  ft-input-label {
400
- ${B(I.fontSize,W.fontSize)};
401
- ${B(I.raisedFontSize,W.labelSize)};
402
- ${B(I.verticalSpacing,W.verticalSpacing)};
403
- ${B(I.horizontalSpacing,W.horizontalSpacing)};
401
+ ${Z($.fontSize,H.fontSize)};
402
+ ${Z($.raisedFontSize,H.labelSize)};
403
+ ${Z($.verticalSpacing,H.verticalSpacing)};
404
+ ${Z($.horizontalSpacing,H.horizontalSpacing)};
404
405
  }
405
406
 
406
407
  .ft-number-field--main-panel {
407
408
  position: relative;
408
409
  display: flex;
409
- height: calc(4 * ${W.verticalSpacing} + ${W.labelSize} + ${W.fontSize});
410
+ height: calc(4 * ${H.verticalSpacing} + ${H.labelSize} + ${H.fontSize});
410
411
  }
411
412
 
412
413
  .ft-number-field--input-panel {
@@ -415,20 +416,20 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
415
416
  display: flex;
416
417
  align-items: center;
417
418
  overflow: hidden;
418
- padding: 0 ${W.horizontalSpacing};
419
+ padding: 0 ${H.horizontalSpacing};
419
420
 
420
- ${B(Oe.fontSize,W.fontSize)};
421
- ${B(Oe.lineHeight,W.fontSize)};
421
+ ${Z(Ne.fontSize,H.fontSize)};
422
+ ${Z(Ne.lineHeight,H.fontSize)};
422
423
  }
423
424
 
424
425
  .ft-number-field--input-panel ft-ripple {
425
- ${B(fe.opacityContentOnSurfaceHover,"0.08")};
426
- ${B(fe.opacityContentOnSurfacePressed,"0.04")};
426
+ ${Z(ge.opacityContentOnSurfaceHover,"0.08")};
427
+ ${Z(ge.opacityContentOnSurfacePressed,"0.04")};
427
428
  }
428
429
 
429
430
  .ft-number-field--filled.ft-number-field--with-label .ft-number-field--input-panel {
430
431
  align-items: flex-end;
431
- padding: 0 ${W.horizontalSpacing} ${W.verticalSpacing} ${W.horizontalSpacing};
432
+ padding: 0 ${H.horizontalSpacing} ${H.verticalSpacing} ${H.horizontalSpacing};
432
433
  }
433
434
 
434
435
  .ft-number-field--input {
@@ -438,8 +439,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
438
439
  flex-shrink: 1;
439
440
  min-width: 0; /* flex sets this to auto an prevents input from shrinking properly */
440
441
 
441
- color: ${W.colorOnSurface};
442
- padding: calc(2 * ${W.verticalSpacing}) 0;
442
+ color: ${H.colorOnSurface};
443
+ padding: calc(2 * ${H.verticalSpacing}) 0;
443
444
  border: none;
444
445
  background: none;
445
446
 
@@ -448,24 +449,24 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
448
449
 
449
450
  .ft-number-field--filled.ft-number-field--with-label .ft-number-field--input {
450
451
  padding-bottom: 0;
451
- padding-top: calc(${W.labelSize} + 2 * ${W.verticalSpacing});
452
+ padding-top: calc(${H.labelSize} + 2 * ${H.verticalSpacing});
452
453
  }
453
454
 
454
455
  .ft-number-field--disabled .ft-number-field--input {
455
- color: ${W.colorOnSurfaceDisabled};
456
+ color: ${H.colorOnSurfaceDisabled};
456
457
  }
457
458
 
458
459
  .ft-number-field:not(.ft-number-field--disabled):focus-within ft-input-label {
459
- ${B(I.borderColor,W.colorPrimary)};
460
- ${B(I.textColor,W.colorPrimary)};
460
+ ${Z($.borderColor,H.colorPrimary)};
461
+ ${Z($.textColor,H.colorPrimary)};
461
462
  }
462
463
 
463
464
  .ft-number-field--filled .ft-number-field--input-panel {
464
- border-radius: ${W.borderRadiusS} ${W.borderRadiusS} 0 0;
465
+ border-radius: ${H.borderRadiusS} ${H.borderRadiusS} 0 0;
465
466
  }
466
467
 
467
468
  .ft-number-field--outlined .ft-number-field--input-panel {
468
- border-radius: ${W.borderRadiusS};
469
+ border-radius: ${H.borderRadiusS};
469
470
  }
470
471
 
471
472
  input::-webkit-outer-spin-button,
@@ -475,39 +476,39 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
475
476
  }
476
477
 
477
478
  .ft-number-field--helper-text {
478
- padding: 0 12px 0 ${W.horizontalSpacing};
479
- color: ${W.helperColor};
479
+ padding: 0 12px 0 ${H.horizontalSpacing};
480
+ color: ${H.helperColor};
480
481
  }
481
- `;var or=function(o,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Q=class extends H{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){let e={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return se`
482
- <div class="${Je(e)}">
483
- ${this.text?se`
482
+ `;var fr=function(r,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,o,n);else for(var c=r.length-1;c>=0;c--)(s=r[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},ie=class extends q{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){let e={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return fe`
483
+ <div class="${it(e)}">
484
+ ${this.text?fe`
484
485
  <div class="ft-input-label--text ft-typography--caption">
485
486
  <span class="ft-input-label--floating-text">${this.text}</span>
486
487
  <span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
487
488
  </div>
488
489
  `:null}
489
490
  </div>
490
- `}};Q.elementDefinitions={};Q.styles=[Vr,$s];or([P({type:String})],Q.prototype,"text",void 0);or([P({type:Boolean})],Q.prototype,"raised",void 0);or([P({type:Boolean})],Q.prototype,"outlined",void 0);or([P({type:Boolean})],Q.prototype,"disabled",void 0);or([P({type:Boolean})],Q.prototype,"error",void 0);ge("ft-input-label")(Q);var q=function(o,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},D=class extends H{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new $e(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new $e(10),this.moveRipple=e=>{var r,n;let{x:i,y:a}=this.getCoordinates(e),s=(n=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return se`
491
+ `}};ie.elementDefinitions={};ie.styles=[io,fc];fr([T({type:String})],ie.prototype,"text",void 0);fr([T({type:Boolean})],ie.prototype,"raised",void 0);fr([T({type:Boolean})],ie.prototype,"outlined",void 0);fr([T({type:Boolean})],ie.prototype,"disabled",void 0);fr([T({type:Boolean})],ie.prototype,"error",void 0);Oe("ft-input-label")(ie);var te=function(r,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,o,n);else for(var c=r.length-1;c>=0;c--)(s=r[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},K=class extends q{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new Fe(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Fe(10),this.moveRipple=e=>{var o,n;let{x:i,y:a}=this.getCoordinates(e),s=(n=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return fe`
491
492
  <style>
492
493
  .ft-ripple .ft-ripple--effect {
493
494
  left: ${this.originX}px;
494
495
  top: ${this.originY}px;
495
496
  }
496
497
  </style>
497
- <div class="${Je(e)}">
498
+ <div class="${it(e)}">
498
499
  <div class="ft-ripple--background"></div>
499
500
  <div class="ft-ripple--effect"></div>
500
501
  </div>
501
- `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...c)=>d=>{c.forEach(f=>window.addEventListener(f,this.endPress,{once:!0})),this.startPress(d)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&r("keyup")(c)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",n,s),e.addEventListener("touchstart",i,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",n,s),e.removeEventListener("touchstart",i,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,n=e,i,a;return r.x!=null?{x:i,y:a}=r:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};D.elementDefinitions={};D.styles=Fs;q([P({type:Boolean})],D.prototype,"primary",void 0);q([P({type:Boolean})],D.prototype,"secondary",void 0);q([P({type:Boolean})],D.prototype,"unbounded",void 0);q([P({type:Boolean})],D.prototype,"activated",void 0);q([P({type:Boolean})],D.prototype,"selected",void 0);q([P({type:Boolean})],D.prototype,"disabled",void 0);q([ee()],D.prototype,"hovered",void 0);q([ee()],D.prototype,"focused",void 0);q([ee()],D.prototype,"pressed",void 0);q([ee()],D.prototype,"rippling",void 0);q([ee()],D.prototype,"originX",void 0);q([ee()],D.prototype,"originY",void 0);q([Ye(".ft-ripple")],D.prototype,"ripple",void 0);q([Ye(".ft-ripple--effect")],D.prototype,"rippleEffect",void 0);ge("ft-ripple")(D);var Ms=Symbol.for(""),Ed=o=>{if(o?.r===Ms)return o?._$litStatic$},li=o=>({_$litStatic$:o,r:Ms});var Ws=new Map,zs=o=>(e,...r)=>{let n=r.length,i,a,s=[],c=[],d,f=0,h=!1;for(;f<n;){for(d=e[f];f<n&&(a=r[f],(i=Ed(a))!==void 0);)d+=i+e[++f],h=!0;f!==n&&c.push(a),s.push(d),f++}if(f===n&&s.push(e[n]),h){let u=s.join("$$lit$$");(e=Ws.get(u))===void 0&&(s.raw=s,Ws.set(u,e=s)),r=c}return o(e,...r)},di=zs(Ai),xb=zs(Ri);var Zr;(function(o){o.title="title",o.title_dense="title-dense",o.subtitle1="subtitle1",o.subtitle2="subtitle2",o.body1="body1",o.body2="body2",o.caption="caption",o.breadcrumb="breadcrumb",o.overline="overline",o.button="button",o.display="display",o.title1="title-1",o.title2="title-2",o.title3="title-3",o.body1regular="body-1-regular",o.body1medium="body-1-medium",o.body1semibold="body-1-semibold",o.body2regular="body-2-regular",o.body2medium="body-2-medium",o.body2semibold="body-2-semibold",o.label1medium="label-1-medium",o.label1semibold="label-1-semibold",o.label1bold="label-1-bold",o.label2medium="label-2-medium",o.label2semibold="label-2-semibold",o.label2bold="label-2-bold",o.caption1medium="caption-1-medium",o.caption1semibold="caption-1-semibold",o.caption1bold="caption-1-bold",o.caption2medium="caption-2-medium",o.caption2semibold="caption-2-semibold",o.caption2bold="caption-2-bold"})(Zr||(Zr={}));var Ds=function(o,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ce=class extends H{constructor(){super(...arguments),this.variant=Zr.body1}render(){return this.element?di`
502
- <${li(this.element)}
502
+ `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var o,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,o;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let o=(...c)=>l=>{c.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(l)},n=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&o("keyup")(c)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",n,s),e.addEventListener("touchstart",i,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",n,s),e.removeEventListener("touchstart",i,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let o=e,n=e,i,a;return o.x!=null?{x:i,y:a}=o:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let o of e.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};K.elementDefinitions={};K.styles=xc;te([T({type:Boolean})],K.prototype,"primary",void 0);te([T({type:Boolean})],K.prototype,"secondary",void 0);te([T({type:Boolean})],K.prototype,"unbounded",void 0);te([T({type:Boolean})],K.prototype,"activated",void 0);te([T({type:Boolean})],K.prototype,"selected",void 0);te([T({type:Boolean})],K.prototype,"disabled",void 0);te([ae()],K.prototype,"hovered",void 0);te([ae()],K.prototype,"focused",void 0);te([ae()],K.prototype,"pressed",void 0);te([ae()],K.prototype,"rippling",void 0);te([ae()],K.prototype,"originX",void 0);te([ae()],K.prototype,"originY",void 0);te([nt(".ft-ripple")],K.prototype,"ripple",void 0);te([nt(".ft-ripple--effect")],K.prototype,"rippleEffect",void 0);Oe("ft-ripple")(K);var Oc=Symbol.for(""),xu=r=>{if(r?.r===Oc)return r?._$litStatic$},wi=r=>({_$litStatic$:r,r:Oc});var Sc=new Map,Ec=r=>(e,...o)=>{let n=o.length,i,a,s=[],c=[],l,u=0,h=!1;for(;u<n;){for(l=e[u];u<n&&(a=o[u],(i=xu(a))!==void 0);)l+=i+e[++u],h=!0;u!==n&&c.push(a),s.push(l),u++}if(u===n&&s.push(e[n]),h){let f=s.join("$$lit$$");(e=Sc.get(f))===void 0&&(s.raw=s,Sc.set(f,e=s)),o=c}return r(e,...o)},Ci=Ec(zi),N0=Ec(Hi);var ao;(function(r){r.title="title",r.title_dense="title-dense",r.subtitle1="subtitle1",r.subtitle2="subtitle2",r.body1="body1",r.body2="body2",r.caption="caption",r.breadcrumb="breadcrumb",r.overline="overline",r.button="button",r.display="display",r.title1="title-1",r.title2="title-2",r.title3="title-3",r.body1regular="body-1-regular",r.body1medium="body-1-medium",r.body1semibold="body-1-semibold",r.body2regular="body-2-regular",r.body2medium="body-2-medium",r.body2semibold="body-2-semibold",r.label1medium="label-1-medium",r.label1semibold="label-1-semibold",r.label1bold="label-1-bold",r.label2medium="label-2-medium",r.label2semibold="label-2-semibold",r.label2bold="label-2-bold",r.caption1medium="caption-1-medium",r.caption1semibold="caption-1-semibold",r.caption1bold="caption-1-bold",r.caption2medium="caption-2-medium",r.caption2semibold="caption-2-semibold",r.caption2bold="caption-2-bold"})(ao||(ao={}));var wc=function(r,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,o,n);else for(var c=r.length-1;c>=0;c--)(s=r[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Ie=class extends q{constructor(){super(...arguments),this.variant=ao.body1}render(){return this.element?Ci`
503
+ <${wi(this.element)}
503
504
  part="text"
504
505
  class="ft-typography ft-typography--${this.variant}">
505
506
  <slot></slot>
506
- </${li(this.element)}>
507
- `:di`
507
+ </${wi(this.element)}>
508
+ `:Ci`
508
509
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
509
- `}};Ce.styles=[bs,xs,vs,Ss,Os,ws,Vr,Cs,Es,Ns,As,...Rs];Ds([P()],Ce.prototype,"element",void 0);Ds([P()],Ce.prototype,"variant",void 0);ge("ft-typography")(Ce);var pe=function(o,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,r,n);else for(var c=o.length-1;c>=0;c--)(s=o[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Z=class extends H{constructor(){super(...arguments),this.helper="",this.outlined=!1,this.disabled=!1,this.focused=!1}render(){let e={"ft-number-field":!0,"ft-number-field--filled":!this.outlined,"ft-number-field--outlined":this.outlined,"ft-number-field--disabled":this.disabled,"ft-number-field--has-value":this.value!=null,"ft-number-field--with-label":!!this.label};return se`
510
- <div class="${Je(e)}">
510
+ `}};Ie.styles=[rc,oc,nc,ic,ac,sc,io,cc,lc,dc,uc,...pc];wc([T()],Ie.prototype,"element",void 0);wc([T()],Ie.prototype,"variant",void 0);Oe("ft-typography")(Ie);var be=function(r,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,o,n);else for(var c=r.length-1;c>=0;c--)(s=r[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Q=class extends q{constructor(){super(...arguments),this.helper="",this.outlined=!1,this.disabled=!1,this.focused=!1}render(){let e={"ft-number-field":!0,"ft-number-field--filled":!this.outlined,"ft-number-field--outlined":this.outlined,"ft-number-field--disabled":this.disabled,"ft-number-field--has-value":this.value!=null,"ft-number-field--with-label":!!this.label};return fe`
511
+ <div class="${it(e)}">
511
512
  <div class="ft-number-field--main-panel"
512
513
  @focusout=${this.onMainPanelBlur}>
513
514
  <ft-input-label text="${this.label}"
@@ -516,7 +517,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
516
517
  ?raised=${this.focused||this.value!=null}>
517
518
  </ft-input-label>
518
519
  <div class="ft-number-field--input-panel">
519
- ${this.outlined?z:se`
520
+ ${this.outlined?V:fe`
520
521
  <ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
521
522
  `}
522
523
  <input type="number"
@@ -532,12 +533,12 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
532
533
  />
533
534
  </div>
534
535
  </div>
535
- ${this.helper?se`
536
+ ${this.helper?fe`
536
537
  <ft-typography class="ft-number-field--helper-text" variant="caption">
537
538
  ${this.helper}
538
- </ft-typography>`:z}
539
+ </ft-typography>`:V}
539
540
  </div>
540
- `}update(e){super.update(e),(e.has("max")||e.has("min"))&&this.setValue(this.value)}lowerBound(e){return this.min!=null?Math.max(this.min,e):e}upperBound(e){return this.max!=null?Math.min(this.max,e):e}onChange(e){e.preventDefault(),e.stopPropagation(),this.setValue(+e.target.value)}setValue(e){let r=this.value;this.value=e;let n=this.value==null?void 0:this.lowerBound(this.upperBound(this.value));setTimeout(()=>{this.value=n,r!==n&&this.dispatchEvent(new CustomEvent("change",{detail:this.value}))})}onFocus(){this.focused=!0}onMainPanelBlur(){var e;!((e=this.mainPanel)===null||e===void 0)&&e.matches(":focus-within")||(this.focused=!1)}};Z.elementDefinitions={"ft-input-label":Q,"ft-ripple":D,"ft-typography":Ce};Z.styles=Ts;pe([P()],Z.prototype,"label",void 0);pe([Bt()],Z.prototype,"value",void 0);pe([P({type:String})],Z.prototype,"helper",void 0);pe([P({type:Boolean})],Z.prototype,"outlined",void 0);pe([P({type:Boolean})],Z.prototype,"disabled",void 0);pe([Bt()],Z.prototype,"min",void 0);pe([Bt()],Z.prototype,"max",void 0);pe([ee()],Z.prototype,"focused",void 0);pe([Ye(".ft-number-field--input")],Z.prototype,"input",void 0);pe([Ye(".ft-number-field--main-panel")],Z.prototype,"mainPanel",void 0);ge("ft-number-field")(Z);})();
541
+ `}update(e){super.update(e),(e.has("max")||e.has("min"))&&this.setValue(this.value)}lowerBound(e){return this.min!=null?Math.max(this.min,e):e}upperBound(e){return this.max!=null?Math.min(this.max,e):e}onChange(e){e.preventDefault(),e.stopPropagation(),this.setValue(+e.target.value)}setValue(e){let o=this.value;this.value=e;let n=this.value==null?void 0:this.lowerBound(this.upperBound(this.value));setTimeout(()=>{this.value=n,o!==n&&this.dispatchEvent(new CustomEvent("change",{detail:this.value}))})}onFocus(){this.focused=!0}onMainPanelBlur(){var e;!((e=this.mainPanel)===null||e===void 0)&&e.matches(":focus-within")||(this.focused=!1)}};Q.elementDefinitions={"ft-input-label":ie,"ft-ripple":K,"ft-typography":Ie};Q.styles=vc;be([T()],Q.prototype,"label",void 0);be([Jt()],Q.prototype,"value",void 0);be([T({type:String})],Q.prototype,"helper",void 0);be([T({type:Boolean})],Q.prototype,"outlined",void 0);be([T({type:Boolean})],Q.prototype,"disabled",void 0);be([Jt()],Q.prototype,"min",void 0);be([Jt()],Q.prototype,"max",void 0);be([ae()],Q.prototype,"focused",void 0);be([nt(".ft-number-field--input")],Q.prototype,"input",void 0);be([nt(".ft-number-field--main-panel")],Q.prototype,"mainPanel",void 0);Oe("ft-number-field")(Q);})();
541
542
  /*! Bundled license information:
542
543
 
543
544
  @webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js: