@fluid-topics/ft-checkbox 1.2.2 → 1.2.3
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.
- package/build/ft-checkbox.min.js +63 -63
- package/package.json +5 -5
package/build/ft-checkbox.min.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
2
|
-
`)===0?T.substr(1,T.length):T}).forEach(function(T){var F=T.split(":"),_=F.shift().trim();if(_){var ie=F.join(":").trim();try{x.append(_,ie)}catch(kt){console.warn("Response "+kt.message)}}}),x}w.call(E.prototype);function $(y,x){if(!(this instanceof $))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(y)}w.call($.prototype),$.prototype.clone=function(){return new $(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},$.error=function(){var y=new $(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var U=[301,302,303,307,308];$.redirect=function(y,x){if(U.indexOf(x)===-1)throw new RangeError("Invalid status code");return new $(null,{status:x,headers:{location:y}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(x,R){this.message=x,this.name=R;var T=Error(x);this.stack=T.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function N(y,x){return new Promise(function(R,T){var F=new E(y,x);if(F.signal&&F.signal.aborted)return T(new o.DOMException("Aborted","AbortError"));var _=new XMLHttpRequest;function ie(){_.abort()}_.onload=function(){var K={statusText:_.statusText,headers:k(_.getAllResponseHeaders()||"")};F.url.indexOf("file://")===0&&(_.status<200||_.status>599)?K.status=200:K.status=_.status,K.url="responseURL"in _?_.responseURL:K.headers.get("X-Request-URL");var Me="response"in _?_.response:_.responseText;setTimeout(function(){R(new $(Me,K))},0)},_.onerror=function(){setTimeout(function(){T(new TypeError("Network request failed"))},0)},_.ontimeout=function(){setTimeout(function(){T(new TypeError("Network request timed out"))},0)},_.onabort=function(){setTimeout(function(){T(new o.DOMException("Aborted","AbortError"))},0)};function kt(K){try{return K===""&&n.location.href?n.location.href:K}catch{return K}}if(_.open(F.method,kt(F.url),!0),F.credentials==="include"?_.withCredentials=!0:F.credentials==="omit"&&(_.withCredentials=!1),"responseType"in _&&(a.blob?_.responseType="blob":a.arrayBuffer&&(_.responseType="arraybuffer")),x&&typeof x.headers=="object"&&!(x.headers instanceof f||n.Headers&&x.headers instanceof n.Headers)){var Ra=[];Object.getOwnPropertyNames(x.headers).forEach(function(K){Ra.push(d(K)),_.setRequestHeader(K,u(x.headers[K]))}),F.headers.forEach(function(K,Me){Ra.indexOf(Me)===-1&&_.setRequestHeader(Me,K)})}else F.headers.forEach(function(K,Me){_.setRequestHeader(Me,K)});F.signal&&(F.signal.addEventListener("abort",ie),_.onreadystatechange=function(){_.readyState===4&&F.signal.removeEventListener("abort",ie)}),_.send(typeof F._bodyInit>"u"?null:F._bodyInit)})}return N.polyfill=!0,n.fetch||(n.fetch=N,n.Headers=f,n.Request=E,n.Response=$),o.Headers=f,o.Request=E,o.Response=$,o.fetch=N,o}({})})(ro);ro.fetch.ponyfill=!0;delete ro.fetch.polyfill;var Ot=to.fetch?to:ro;De=Ot.fetch;De.default=Ot.fetch;De.fetch=Ot.fetch;De.Headers=Ot.Headers;De.Request=Ot.Request;De.Response=Ot.Response;_s.exports=De});if(!ShadowRoot.prototype.createElement){let r=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,n=window.customElements,a=new WeakMap,i=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(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,P=new Set(S.observedAttributes||[]);g(S,P,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:P};this._definitionsByTag.set(v,k),this._definitionsByClass.set(S,k);let $=o.call(n,v);$||($=f(v),e.call(n,v,$)),this===window.customElements&&(s.set(S,k),k.standInClass=$);let U=this._awaitingUpgrade.get(v);if(U){this._awaitingUpgrade.delete(v);for(let y of U)i.delete(y),b(y,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(P=>E.resolve=P),this._whenDefinedPromises.set(v,E)),E.promise}_upgradeWhenDefined(v,S,E){let P=this._awaitingUpgrade.get(S);P||this._awaitingUpgrade.set(S,P=new Set),E?P.add(v):P.delete(v)}};let d;window.HTMLElement=function(){let S=d;if(S)return d=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),a.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=l.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 P=h(E)||window.customElements,k=P._getDefinition(v);return k?b(E,k):i.set(E,P),E}connectedCallback(){let E=a.get(this);E?E.connectedCallback&&E.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,v,!0)}disconnectedCallback(){let E=a.get(this);E?E.disconnectedCallback&&E.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,v,!1)}adoptedCallback(){a.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let E=a.get(this);E&&E.formAssociated&&E?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let E=a.get(this);E?.formAssociated&&E?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let E=a.get(this);E?.formAssociated&&E?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let E=a.get(this);E?.formAssociated&&E?.formStateRestoreCallback?.apply(this,arguments)}},g=(v,S,E)=>{if(S.size===0||E===void 0)return;let P=v.prototype.setAttribute;P&&(v.prototype.setAttribute=function(U,N){let y=U.toLowerCase();if(S.has(y)){let x=this.getAttribute(y);P.call(this,y,N),E.call(this,y,x,N)}else P.call(this,y,N)});let k=v.prototype.removeAttribute;k&&(v.prototype.removeAttribute=function(U){let N=U.toLowerCase();if(S.has(N)){let y=this.getAttribute(N);k.call(this,N),E.call(this,N,y,null)}else k.call(this,N)});let $=v.prototype.toggleAttribute;$&&(v.prototype.toggleAttribute=function(U,N){let y=U.toLowerCase();if(S.has(y)){let x=this.getAttribute(y);$.call(this,y,N);let R=this.getAttribute(y);E.call(this,y,x,R)}else $.call(this,y,N)})},m=v=>{let S=Object.getPrototypeOf(v);if(S!==window.HTMLElement)return S===r?Object.setPrototypeOf(v,window.HTMLElement):m(S)},b=(v,S,E=!1)=>{Object.setPrototypeOf(v,S.elementClass.prototype),a.set(v,S),d=v;try{new S.elementClass}catch{m(S.elementClass),new S.elementClass}S.attributeChangedCallback&&S.observedAttributes.forEach(P=>{v.hasAttribute(P)&&S.attributeChangedCallback.call(v,P,null,v.getAttribute(P))}),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],C=(v,S,E=void 0)=>{let P=(E?Object.getPrototypeOf(E):v.prototype)[S];v.prototype[S]=function(){A.push(this);let k=P.apply(E||this,arguments);return k!==void 0&&l.set(k,this),A.pop(),k}};C(ShadowRoot,"createElement",document),C(ShadowRoot,"importNode",document),C(Element,"insertAdjacentHTML");let w=(v,S)=>{let E=Object.getOwnPropertyDescriptor(v.prototype,S);Object.defineProperty(v.prototype,S,{...E,set(P){A.push(this),E.set.call(this,P),A.pop()}})};if(w(Element,"innerHTML"),w(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,y=N[U];N[U]=function(...x){let R=v.get(this);if(a.get(R).formAssociated===!0)return y?.call(this,...x);throw new DOMException(`Failed to execute ${y} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class P 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 y=new Map;N.forEach((x,R)=>{let T=x.getAttribute("name"),F=y.get(T)||[];this[+R]=x,F.push(x),y.set(T,F)}),this.length=N.length,y.forEach((x,R)=>{x&&(x.length===1?this[R]=x[0]:this[R]=new P(x))})}namedItem(N){return this[N]}}let $=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let U=$.get.call(this,[]),N=[];for(let y of U){let x=a.get(y);(!x||x.formAssociated===!0)&&N.push(y)}return new k(N)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(o,n,a)=>{if(n!==null)try{e.bind(window.customElements)(o,n,a)}catch(i){console.info(o,n,a,i)}}}var vo={};M(vo,{CSSResult:()=>st,LitElement:()=>ge,ReactiveElement:()=>se,_$LE:()=>rl,_$LH:()=>Qc,adoptStyles:()=>Pr,css:()=>L,defaultConverter:()=>_r,getCompatibleStyle:()=>Wt,html:()=>Kt,isServer:()=>Ku,noChange:()=>we,notEqual:()=>ho,nothing:()=>j,render:()=>xo,supportsAdoptingStyleSheets:()=>Bt,svg:()=>Xc,unsafeCSS:()=>Ge});var gr=globalThis,br=gr.ShadowRoot&&(gr.ShadyCSS===void 0||gr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ia=Symbol(),Na=new WeakMap,mr=class{constructor(e,o,n){if(this._$cssResult$=!0,n!==Ia)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(br&&e===void 0){let n=o!==void 0&&o.length===1;n&&(e=Na.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Na.set(o,e))}return e}toString(){return this.cssText}},Pa=r=>new mr(typeof r=="string"?r:r+"",void 0,Ia);var so=(r,e)=>{if(br)r.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let n=document.createElement("style"),a=gr.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,r.appendChild(n)}},xr=br?r=>r:r=>r instanceof CSSStyleSheet?(e=>{let o="";for(let n of e.cssRules)o+=n.cssText;return Pa(o)})(r):r;var{is:kc,defineProperty:Lc,getOwnPropertyDescriptor:Fc,getOwnPropertyNames:$c,getOwnPropertySymbols:Uc,getPrototypeOf:Dc}=Object,vr=globalThis,_a=vr.trustedTypes,Mc=_a?_a.emptyScript:"",Bc=vr.reactiveElementPolyfillSupport,Lt=(r,e)=>r,Ft={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}},Sr=(r,e)=>!kc(r,e),Ta={attribute:!0,type:String,converter:Ft,reflect:!1,hasChanged:Sr};Symbol.metadata??=Symbol("metadata"),vr.litPropertyMetadata??=new WeakMap;var Be=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=Ta){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(e,o),!o.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(e,n,o);a!==void 0&&Lc(this.prototype,e,a)}}static getPropertyDescriptor(e,o,n){let{get:a,set:i}=Fc(this.prototype,e)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return a?.call(this)},set(s){let l=a?.call(this);i.call(this,s),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Ta}static _$Ei(){if(this.hasOwnProperty(Lt("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(Lt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Lt("properties"))){let o=this.properties,n=[...$c(o),...Uc(o)];for(let a of n)this.createProperty(a,o[a])}let e=this[Symbol.metadata];if(e!==null){let o=litPropertyMetadata.get(e);if(o!==void 0)for(let[n,a]of o)this.elementProperties.set(n,a)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let a=this._$Eu(o,n);a!==void 0&&this._$Eh.set(a,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let o=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let a of n)o.unshift(xr(a))}else e!==void 0&&o.push(xr(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 so(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,o,n){this._$AK(e,n)}_$EO(e,o){let n=this.constructor.elementProperties.get(e),a=this.constructor._$Eu(e,n);if(a!==void 0&&n.reflect===!0){let i=(n.converter?.toAttribute!==void 0?n.converter:Ft).toAttribute(o,n.type);this._$Em=e,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(e,o){let n=this.constructor,a=n._$Eh.get(e);if(a!==void 0&&this._$Em!==a){let i=n.getPropertyOptions(a),s=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:Ft;this._$Em=a,this[a]=s.fromAttribute(o,i.type),this._$Em=null}}requestUpdate(e,o,n,a=!1,i){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Sr)(a?i:this[e],o))return;this.C(e,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,o,n){this._$AL.has(e)||this._$AL.set(e,o),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[a,i]of n)i.wrapped!==!0||this._$AL.has(a)||this[a]===void 0||this.C(a,this[a],i)}let e=!1,o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(o)}willUpdate(e){}_$AE(e){this._$E_?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(o=>this._$EO(o,this[o])),this._$ET()}updated(e){}firstUpdated(e){}};Be.elementStyles=[],Be.shadowRootOptions={mode:"open"},Be[Lt("elementProperties")]=new Map,Be[Lt("finalized")]=new Map,Bc?.({ReactiveElement:Be}),(vr.reactiveElementVersions??=[]).push("2.0.2");var lo=globalThis,Or=lo.trustedTypes,ka=Or?Or.createPolicy("lit-html",{createHTML:r=>r}):void 0,uo="$lit$",he=`lit$${(Math.random()+"").slice(9)}$`,po="?"+he,Wc=`<${po}>`,ze=document,Er=()=>ze.createComment(""),Ut=r=>r===null||typeof r!="object"&&typeof r!="function",Ma=Array.isArray,Ba=r=>Ma(r)||typeof r?.[Symbol.iterator]=="function",co=`[
|
|
3
|
-
\f\r]
|
|
4
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),$a=/'/g,Ua=/"/g,Wa=/^(?:script|style|textarea|title)$/i,Ha=r=>(e,...o)=>({_$litType$:r,strings:e,values:o}),za=Ha(1),ja=Ha(2),X=Symbol.for("lit-noChange"),z=Symbol.for("lit-nothing"),Da=new WeakMap,He=ze.createTreeWalker(ze,129);function Va(r,e){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return ka!==void 0?ka.createHTML(e):e}var Ga=(r,e)=>{let o=r.length-1,n=[],a,i=e===2?"<svg>":"",s=$t;for(let l=0;l<o;l++){let d=r[l],u,h,f=-1,g=0;for(;g<d.length&&(s.lastIndex=g,h=s.exec(d),h!==null);)g=s.lastIndex,s===$t?h[1]==="!--"?s=La:h[1]!==void 0?s=Fa:h[2]!==void 0?(Wa.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=We):h[3]!==void 0&&(s=We):s===We?h[0]===">"?(s=a??$t,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?We:h[3]==='"'?Ua:$a):s===Ua||s===$a?s=We:s===La||s===Fa?s=$t:(s=We,a=void 0);let m=s===We&&r[l+1].startsWith("/>")?" ":"";i+=s===$t?d+Wc:f>=0?(n.push(u),d.slice(0,f)+uo+d.slice(f)+he+m):d+he+(f===-2?l:m)}return[Va(r,i+(r[o]||"<?>")+(e===2?"</svg>":"")),n]},Dt=class r{constructor({strings:e,_$litType$:o},n){let a;this.parts=[];let i=0,s=0,l=e.length-1,d=this.parts,[u,h]=Ga(e,o);if(this.el=r.createElement(u,n),He.currentNode=this.el.content,o===2){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(a=He.nextNode())!==null&&d.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let f of a.getAttributeNames())if(f.endsWith(uo)){let g=h[s++],m=a.getAttribute(f).split(he),b=/([.?@])?(.*)/.exec(g);d.push({type:1,index:i,name:b[2],strings:m,ctor:b[1]==="."?wr:b[1]==="?"?Ar:b[1]==="@"?Rr:Ve}),a.removeAttribute(f)}else f.startsWith(he)&&(d.push({type:6,index:i}),a.removeAttribute(f));if(Wa.test(a.tagName)){let f=a.textContent.split(he),g=f.length-1;if(g>0){a.textContent=Or?Or.emptyScript:"";for(let m=0;m<g;m++)a.append(f[m],Er()),He.nextNode(),d.push({type:2,index:++i});a.append(f[g],Er())}}}else if(a.nodeType===8)if(a.data===po)d.push({type:2,index:i});else{let f=-1;for(;(f=a.data.indexOf(he,f+1))!==-1;)d.push({type:7,index:i}),f+=he.length-1}i++}}static createElement(e,o){let n=ze.createElement("template");return n.innerHTML=e,n}};function je(r,e,o=r,n){if(e===X)return e;let a=n!==void 0?o._$Co?.[n]:o._$Cl,i=Ut(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(r),a._$AT(r,o,n)),n!==void 0?(o._$Co??=[])[n]=a:o._$Cl=a),a!==void 0&&(e=je(r,a._$AS(r,e.values),a,n)),e}var Cr=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:n}=this._$AD,a=(e?.creationScope??ze).importNode(o,!0);He.currentNode=a;let i=He.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let u;d.type===2?u=new Mt(i,i.nextSibling,this,e):d.type===1?u=new d.ctor(i,d.name,d.strings,this,e):d.type===6&&(u=new Nr(i,this,e)),this._$AV.push(u),d=n[++l]}s!==d?.index&&(i=He.nextNode(),s++)}return He.currentNode=ze,a}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},Mt=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,a){this.type=2,this._$AH=z,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=je(this,e,o),Ut(e)?e===z||e==null||e===""?(this._$AH!==z&&this._$AR(),this._$AH=z):e!==this._$AH&&e!==X&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Ba(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&&Ut(this._$AH)?this._$AA.nextSibling.data=e:this.$(ze.createTextNode(e)),this._$AH=e}g(e){let{values:o,_$litType$:n}=e,a=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Dt.createElement(Va(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let i=new Cr(a,this),s=i.u(this.options);i.p(o),this.$(s),this._$AH=i}}_$AC(e){let o=Da.get(e.strings);return o===void 0&&Da.set(e.strings,o=new Dt(e)),o}T(e){Ma(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let i of e)a===o.length?o.push(n=new r(this.k(Er()),this.k(Er()),this,this.options)):n=o[a],n._$AI(i),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Ve=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,a,i){this.type=1,this._$AH=z,this._$AN=void 0,this.element=e,this.name=o,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=z}_$AI(e,o=this,n,a){let i=this.strings,s=!1;if(i===void 0)e=je(this,e,o,0),s=!Ut(e)||e!==this._$AH&&e!==X,s&&(this._$AH=e);else{let l=e,d,u;for(e=i[0],d=0;d<i.length-1;d++)u=je(this,l[n+d],o,d),u===X&&(u=this._$AH[d]),s||=!Ut(u)||u!==this._$AH[d],u===z?e=z:e!==z&&(e+=(u??"")+i[d+1]),this._$AH[d]=u}s&&!a&&this.O(e)}O(e){e===z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},wr=class extends Ve{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===z?void 0:e}},Ar=class extends Ve{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==z)}},Rr=class extends Ve{constructor(e,o,n,a,i){super(e,o,n,a,i),this.type=5}_$AI(e,o=this){if((e=je(this,e,o,0)??z)===X)return;let n=this._$AH,a=e===z&&n!==z||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==z&&(n===z||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Nr=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){je(this,e)}},Ka={j:uo,P:he,A:po,C:1,M:Ga,L:Cr,R:Ba,V:je,D:Mt,I:Ve,H:Ar,N:Rr,U:wr,B:Nr},Hc=lo.litHtmlPolyfillSupport;Hc?.(Dt,Mt),(lo.litHtmlVersions??=[]).push("3.1.0");var Ir=globalThis,Bt=Ir.ShadowRoot&&(Ir.ShadyCSS===void 0||Ir.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,fo=Symbol(),Za=new WeakMap,st=class{constructor(e,o,n){if(this._$cssResult$=!0,n!==fo)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(Bt&&e===void 0){let n=o!==void 0&&o.length===1;n&&(e=Za.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Za.set(o,e))}return e}toString(){return this.cssText}},Ge=r=>new st(typeof r=="string"?r:r+"",void 0,fo),L=(r,...e)=>{let o=r.length===1?r[0]:e.reduce((n,a,i)=>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.")})(a)+r[i+1],r[0]);return new st(o,r,fo)},Pr=(r,e)=>{if(Bt)r.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let n=document.createElement("style"),a=Ir.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,r.appendChild(n)}},Wt=Bt?r=>r:r=>r instanceof CSSStyleSheet?(e=>{let o="";for(let n of e.cssRules)o+=n.cssText;return Ge(o)})(r):r;var{is:zc,defineProperty:jc,getOwnPropertyDescriptor:Vc,getOwnPropertyNames:Gc,getOwnPropertySymbols:Kc,getPrototypeOf:Zc}=Object,Tr=globalThis,qa=Tr.trustedTypes,qc=qa?qa.emptyScript:"",Yc=Tr.reactiveElementPolyfillSupport,Ht=(r,e)=>r,_r={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}},ho=(r,e)=>!zc(r,e),Ya={attribute:!0,type:String,converter:_r,reflect:!1,hasChanged:ho};Symbol.metadata??=Symbol("metadata"),Tr.litPropertyMetadata??=new WeakMap;var se=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=Ya){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(e,o),!o.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(e,n,o);a!==void 0&&jc(this.prototype,e,a)}}static getPropertyDescriptor(e,o,n){let{get:a,set:i}=Vc(this.prototype,e)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return a?.call(this)},set(s){let l=a?.call(this);i.call(this,s),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Ya}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=[...Gc(o),...Kc(o)];for(let a of n)this.createProperty(a,o[a])}let e=this[Symbol.metadata];if(e!==null){let o=litPropertyMetadata.get(e);if(o!==void 0)for(let[n,a]of o)this.elementProperties.set(n,a)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let a=this._$Eu(o,n);a!==void 0&&this._$Eh.set(a,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let o=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let a of n)o.unshift(Wt(a))}else e!==void 0&&o.push(Wt(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 Pr(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,o,n){this._$AK(e,n)}_$EO(e,o){let n=this.constructor.elementProperties.get(e),a=this.constructor._$Eu(e,n);if(a!==void 0&&n.reflect===!0){let i=(n.converter?.toAttribute!==void 0?n.converter:_r).toAttribute(o,n.type);this._$Em=e,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(e,o){let n=this.constructor,a=n._$Eh.get(e);if(a!==void 0&&this._$Em!==a){let i=n.getPropertyOptions(a),s=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:_r;this._$Em=a,this[a]=s.fromAttribute(o,i.type),this._$Em=null}}requestUpdate(e,o,n,a=!1,i){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??ho)(a?i:this[e],o))return;this.C(e,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,o,n){this._$AL.has(e)||this._$AL.set(e,o),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[a,i]of n)i.wrapped!==!0||this._$AL.has(a)||this[a]===void 0||this.C(a,this[a],i)}let e=!1,o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(o)}willUpdate(e){}_$AE(e){this._$E_?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(o=>this._$EO(o,this[o])),this._$ET()}updated(e){}firstUpdated(e){}};se.elementStyles=[],se.shadowRootOptions={mode:"open"},se[Ht("elementProperties")]=new Map,se[Ht("finalized")]=new Map,Yc?.({ReactiveElement:se}),(Tr.reactiveElementVersions??=[]).push("2.0.2");var go=globalThis,kr=go.trustedTypes,Ja=kr?kr.createPolicy("lit-html",{createHTML:r=>r}):void 0,mo="$lit$",ye=`lit$${(Math.random()+"").slice(9)}$`,bo="?"+ye,Jc=`<${bo}>`,qe=document,jt=()=>qe.createComment(""),Vt=r=>r===null||typeof r!="object"&&typeof r!="function",oi=Array.isArray,ni=r=>oi(r)||typeof r?.[Symbol.iterator]=="function",yo=`[
|
|
5
|
-
\f\r]`,
|
|
6
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),ei=/'/g,ti=/"/g,ai=/^(?:script|style|textarea|title)$/i,ii=r=>(e,...o)=>({_$litType$:r,strings:e,values:o}),Kt=ii(1),Xc=ii(2),we=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),ri=new WeakMap,Ze=qe.createTreeWalker(qe,129);function si(r,e){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ja!==void 0?Ja.createHTML(e):e}var ci=(r,e)=>{let o=r.length-1,n=[],a,i=e===2?"<svg>":"",s=zt;for(let l=0;l<o;l++){let d=r[l],u,h,f=-1,g=0;for(;g<d.length&&(s.lastIndex=g,h=s.exec(d),h!==null);)g=s.lastIndex,s===zt?h[1]==="!--"?s=Xa:h[1]!==void 0?s=Qa:h[2]!==void 0?(ai.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=Ke):h[3]!==void 0&&(s=Ke):s===Ke?h[0]===">"?(s=a??zt,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?Ke:h[3]==='"'?ti:ei):s===ti||s===ei?s=Ke:s===Xa||s===Qa?s=zt:(s=Ke,a=void 0);let m=s===Ke&&r[l+1].startsWith("/>")?" ":"";i+=s===zt?d+Jc:f>=0?(n.push(u),d.slice(0,f)+mo+d.slice(f)+ye+m):d+ye+(f===-2?l:m)}return[si(r,i+(r[o]||"<?>")+(e===2?"</svg>":"")),n]},Gt=class r{constructor({strings:e,_$litType$:o},n){let a;this.parts=[];let i=0,s=0,l=e.length-1,d=this.parts,[u,h]=ci(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(;(a=Ze.nextNode())!==null&&d.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let f of a.getAttributeNames())if(f.endsWith(mo)){let g=h[s++],m=a.getAttribute(f).split(ye),b=/([.?@])?(.*)/.exec(g);d.push({type:1,index:i,name:b[2],strings:m,ctor:b[1]==="."?Fr:b[1]==="?"?$r:b[1]==="@"?Ur:Je}),a.removeAttribute(f)}else f.startsWith(ye)&&(d.push({type:6,index:i}),a.removeAttribute(f));if(ai.test(a.tagName)){let f=a.textContent.split(ye),g=f.length-1;if(g>0){a.textContent=kr?kr.emptyScript:"";for(let m=0;m<g;m++)a.append(f[m],jt()),Ze.nextNode(),d.push({type:2,index:++i});a.append(f[g],jt())}}}else if(a.nodeType===8)if(a.data===bo)d.push({type:2,index:i});else{let f=-1;for(;(f=a.data.indexOf(ye,f+1))!==-1;)d.push({type:7,index:i}),f+=ye.length-1}i++}}static createElement(e,o){let n=qe.createElement("template");return n.innerHTML=e,n}};function Ye(r,e,o=r,n){if(e===we)return e;let a=n!==void 0?o._$Co?.[n]:o._$Cl,i=Vt(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(r),a._$AT(r,o,n)),n!==void 0?(o._$Co??=[])[n]=a:o._$Cl=a),a!==void 0&&(e=Ye(r,a._$AS(r,e.values),a,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,a=(e?.creationScope??qe).importNode(o,!0);Ze.currentNode=a;let i=Ze.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let u;d.type===2?u=new ct(i,i.nextSibling,this,e):d.type===1?u=new d.ctor(i,d.name,d.strings,this,e):d.type===6&&(u=new Dr(i,this,e)),this._$AV.push(u),d=n[++l]}s!==d?.index&&(i=Ze.nextNode(),s++)}return Ze.currentNode=qe,a}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},ct=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,a){this.type=2,this._$AH=j,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=Ye(this,e,o),Vt(e)?e===j||e==null||e===""?(this._$AH!==j&&this._$AR(),this._$AH=j):e!==this._$AH&&e!==we&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):ni(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!==j&&Vt(this._$AH)?this._$AA.nextSibling.data=e:this.$(qe.createTextNode(e)),this._$AH=e}g(e){let{values:o,_$litType$:n}=e,a=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Gt.createElement(si(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let i=new Lr(a,this),s=i.u(this.options);i.p(o),this.$(s),this._$AH=i}}_$AC(e){let o=ri.get(e.strings);return o===void 0&&ri.set(e.strings,o=new Gt(e)),o}T(e){oi(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let i of e)a===o.length?o.push(n=new r(this.k(jt()),this.k(jt()),this,this.options)):n=o[a],n._$AI(i),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Je=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,a,i){this.type=1,this._$AH=j,this._$AN=void 0,this.element=e,this.name=o,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=j}_$AI(e,o=this,n,a){let i=this.strings,s=!1;if(i===void 0)e=Ye(this,e,o,0),s=!Vt(e)||e!==this._$AH&&e!==we,s&&(this._$AH=e);else{let l=e,d,u;for(e=i[0],d=0;d<i.length-1;d++)u=Ye(this,l[n+d],o,d),u===we&&(u=this._$AH[d]),s||=!Vt(u)||u!==this._$AH[d],u===j?e=j:e!==j&&(e+=(u??"")+i[d+1]),this._$AH[d]=u}s&&!a&&this.O(e)}O(e){e===j?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Fr=class extends Je{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===j?void 0:e}},$r=class extends Je{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==j)}},Ur=class extends Je{constructor(e,o,n,a,i){super(e,o,n,a,i),this.type=5}_$AI(e,o=this){if((e=Ye(this,e,o,0)??j)===we)return;let n=this._$AH,a=e===j&&n!==j||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==j&&(n===j||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Dr=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)}},Qc={j:mo,P:ye,A:bo,C:1,M:ci,L:Lr,R:ni,V:Ye,D:ct,I:Je,H:$r,N:Ur,U:Fr,B:Dr},el=go.litHtmlPolyfillSupport;el?.(Gt,ct),(go.litHtmlVersions??=[]).push("3.1.0");var xo=(r,e,o)=>{let n=o?.renderBefore??e,a=n._$litPart$;if(a===void 0){let i=o?.renderBefore??null;n._$litPart$=a=new ct(e.insertBefore(jt(),i),i,void 0,o??{})}return a._$AI(r),a};var ge=class extends se{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=xo(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return we}};ge._$litElement$=!0,ge.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ge});var tl=globalThis.litElementPolyfillSupport;tl?.({LitElement:ge});var rl={_$AK:(r,e,o)=>{r._$AK(e,o)},_$AL:r=>r._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Ku=!1;var So={};M(So,{customElement:()=>ol,eventOptions:()=>al,property:()=>D,query:()=>Ae,queryAll:()=>sl,queryAssignedElements:()=>ll,queryAssignedNodes:()=>dl,queryAsync:()=>cl,standardProperty:()=>li,state:()=>ce});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:Ft,reflect:!1,hasChanged:Sr},li=(r=nl,e,o)=>{let{kind:n,metadata:a}=o,i=globalThis.litPropertyMetadata.get(a);if(i===void 0&&globalThis.litPropertyMetadata.set(a,i=new Map),i.set(o.name,r),n==="accessor"){let{name:s}=o;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,d,r)},init(l){return l!==void 0&&this.C(s,void 0,r),l}}}if(n==="setter"){let{name:s}=o;return function(l){let d=this[s];e.call(this,l),this.requestUpdate(s,d,r)}}throw Error("Unsupported decorator location: "+n)};function D(r){return(e,o)=>typeof o=="object"?li(r,e,o):((n,a,i)=>{let s=a.hasOwnProperty(i);return a.constructor.createProperty(i,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(a,i):void 0})(r,e,o)}function ce(r){return D({...r,state:!0,attribute:!1})}function al(r){return(e,o)=>{let n=typeof e=="function"?e:e[o];Object.assign(n,r)}}var oe=(r,e,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(r,e,o),o);function Ae(r,e){return(o,n,a)=>{let i=s=>s.renderRoot?.querySelector(r)??null;if(e){let{get:s,set:l}=typeof n=="object"?o:a??(()=>{let d=Symbol();return{get(){return this[d]},set(u){this[d]=u}}})();return oe(o,n,{get(){let d=s.call(this);return d===void 0&&(d=i(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return oe(o,n,{get(){return i(this)}})}}var il;function sl(r){return(e,o)=>oe(e,o,{get(){return(this.renderRoot??(il??=document.createDocumentFragment())).querySelectorAll(r)}})}function cl(r){return(e,o)=>oe(e,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(r)??null}})}function ll(r){return(e,o)=>{let{slot:n,selector:a}=r??{},i="slot"+(n?`[name=${n}]`:":not([name])");return oe(e,o,{get(){let s=this.renderRoot?.querySelector(i),l=s?.assignedElements(r)??[];return a===void 0?l:l.filter(d=>d.matches(a))}})}}function dl(r){return(e,o)=>{let{slot:n}=r??{},a="slot"+(n?`[name=${n}]`:":not([name])");return oe(e,o,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(r)??[]}})}}var Oo={};M(Oo,{repeat:()=>fl});var Re={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Ne=r=>(...e)=>({_$litDirective$:r,values:e}),le=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}=Ka;var di=()=>document.createComment(""),lt=(r,e,o)=>{let n=r._$AA.parentNode,a=e===void 0?r._$AB:e._$AA;if(o===void 0){let i=n.insertBefore(di(),a),s=n.insertBefore(di(),a);o=new ul(i,s,r,r.options)}else{let i=o._$AB.nextSibling,s=o._$AM,l=s!==r;if(l){let d;o._$AQ?.(r),o._$AM=r,o._$AP!==void 0&&(d=r._$AU)!==s._$AU&&o._$AP(d)}if(i!==a||l){let d=o._$AA;for(;d!==i;){let u=d.nextSibling;n.insertBefore(d,a),d=u}}}return o},Ie=(r,e,o=r)=>(r._$AI(e,o),r),pl={},ui=(r,e=pl)=>r._$AH=e,pi=r=>r._$AH,Mr=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 fi=(r,e,o)=>{let n=new Map;for(let a=e;a<=o;a++)n.set(r[a],a);return n},fl=Ne(class extends le{constructor(r){if(super(r),r.type!==Re.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 a=[],i=[],s=0;for(let l of r)a[s]=n?n(l,s):s,i[s]=o(l,s),s++;return{values:i,keys:a}}render(r,e,o){return this.ht(r,e,o).values}update(r,[e,o,n]){let a=pi(r),{values:i,keys:s}=this.ht(e,o,n);if(!Array.isArray(a))return this.dt=s,i;let l=this.dt??=[],d=[],u,h,f=0,g=a.length-1,m=0,b=i.length-1;for(;f<=g&&m<=b;)if(a[f]===null)f++;else if(a[g]===null)g--;else if(l[f]===s[m])d[m]=Ie(a[f],i[m]),f++,m++;else if(l[g]===s[b])d[b]=Ie(a[g],i[b]),g--,b--;else if(l[f]===s[b])d[b]=Ie(a[f],i[b]),lt(r,d[b+1],a[f]),f++,b--;else if(l[g]===s[m])d[m]=Ie(a[g],i[m]),lt(r,a[f],a[g]),g--,m++;else if(u===void 0&&(u=fi(s,m,b),h=fi(l,f,g)),u.has(l[f]))if(u.has(l[g])){let O=h.get(s[m]),A=O!==void 0?a[O]:null;if(A===null){let C=lt(r,a[f]);Ie(C,i[m]),d[m]=C}else d[m]=Ie(A,i[m]),lt(r,a[f],A),a[O]=null;m++}else Mr(a[g]),g--;else Mr(a[f]),f++;for(;m<=b;){let O=lt(r,d[b+1]);Ie(O,i[m]),d[m++]=O}for(;f<=g;){let O=a[f++];O!==null&&Mr(O)}return this.dt=s,ui(r,d),X}});var Eo={};M(Eo,{classMap:()=>Zt});var Zt=Ne(class extends le{constructor(r){if(super(r),r.type!==Re.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 a=!!e[n];a===this.it.has(n)||this.st?.has(n)||(a?(o.add(n),this.it.add(n)):(o.remove(n),this.it.delete(n)))}return X}});var Co={};M(Co,{styleMap:()=>yl});var hi="important",hl=" !"+hi,yl=Ne(class extends le{constructor(r){if(super(r),r.type!==Re.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 a=e[n];if(a!=null){this.ut.add(n);let i=typeof a=="string"&&a.endsWith(hl);n.includes("-")||i?o.setProperty(n,i?a.slice(0,-11):a,i?hi:""):o[n]=a}}return X}});var wo={};M(wo,{UnsafeHTMLDirective:()=>dt,unsafeHTML:()=>gl});var dt=class extends le{constructor(e){if(super(e),this.et=z,e.type!==Re.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===z||e==null)return this.vt=void 0,this.et=e;if(e===X)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:[]}}};dt.directiveName="unsafeHTML",dt.resultType=1;var gl=Ne(dt);var Io={};M(Io,{CacheRegistry:()=>No});var Ro={};M(Ro,{CancelablePromise:()=>ut,CanceledPromiseError:()=>qt,cancelable:()=>Ao});var qt=class extends Error{constructor(e,o,n){super(e),this.canceledPromiseResult=o,this.canceledPromiseError=n}},ut=class extends Promise{constructor(e){super((o,n)=>e(a=>{this.isCanceled?n(new qt("Promise has been canceled",a)):o(a)},a=>{this.isCanceled?n(new qt("Promise has been canceled",void 0,a)):n(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Ao=r=>new ut((e,o)=>r.then(e).catch(o));var No=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 ut&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,o){this.forceClear(e),this.register(e,async()=>o),this.content[e]=o}setFinal(e,o){this.forceClear(e),this.registerFinal(e,async()=>o),this.content[e]=o}async get(e,o,n){if(this.content[e]===void 0){if(o=o??this.loaders[e],o==null)throw new Error("Unknown cache key "+e);let a=Ao(o());return this.content[e]=a,a.then(i=>(this.content[e]=i,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),i))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var _o={};M(_o,{ClusteringHelper:()=>Po});var Po=class r{constructor(e,o,n,a){this.allResults=e,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=a}static extractResultMetadata(e,o){var n,a;let i=((a=(n=e?.map)!==null&&n!==void 0?n:e?.document)!==null&&a!==void 0?a:e?.topic).metadata;return o==null?r.flattenMetadata(i):r.flattenMetadata(i.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=[],a=[];return e.hierarchicalValues.forEach(i=>{n.push(i.join(" > ")),i.length>2?a.push(`... > ${i[i.length-1]}`):a.push(i.join(" > "))}),{key:e.key,label:e.label,value:n.join(", "),displayValue:a.join(", ")}}else{let n=e.values.join(", ");return{key:e.key,label:e.label,value:n,displayValue:n}}}computeClustersItemsForMetadata(e,o,n="No value"){var a,i;let s=r.extractResultMetadata(this.selectedResult,e),l=(a=s?.label)!==null&&a!==void 0?a:(i=this.getMetadataDescriptor(e))===null||i===void 0?void 0:i.label;return this.allResults.map(u=>r.extractResultMetadata(u,e)).map(u=>u??{key:e,label:l,value:void 0,displayValue:n}).filter(u=>u.value!=s?.value).filter((u,h,f)=>f.findIndex(g=>g.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,a){if(e==null)return-1;if(o==null)return 1;let i=this.getMetadataDescriptor(n),s=i?.sortRule||"NONE",l=i?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(o,a,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(o=>e==o.key)}findBestResultForMetadataValue(e,o){let n=this.allResults.filter(d=>{var u;return((u=r.extractResultMetadata(d,e))===null||u===void 0?void 0:u.value)==o}),i=[...r.extractResultMetadata(this.selectedResult).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,l=-1;for(let d of n){let u=this.countMatchingMetadata(d,i);if(u>l&&(l=u,s=d,u===i.length))break}return s}countMatchingMetadata(e,o){return r.extractResultMetadata(e).filter(n=>o.some(a=>a.key===n.key&&a.value===n.value)).length}};var To={};M(To,{Debouncer:()=>Pe});var Pe=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,o){return this.callbacks=[e],this.debounce(o)}queue(e,o){return this.callbacks.push(e),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,o;let n=[...this.callbacks];this.callbacks=[];let a=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,i=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){a(l);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var $o={};M($o,{customElement:()=>Xe,isNumber:()=>vi,jsonProperty:()=>Fo,optionalNumberProperty:()=>Ol});var Lo={};M(Lo,{dateReviver:()=>bl,deepEqual:()=>Yt,delay:()=>yi,eventPathContainsMatchingElement:()=>vl,flatDeep:()=>mi,hasChanged:()=>Jt,last:()=>Sl,minmax:()=>ko,parseDate:()=>bi,unslotText:()=>xi,waitFor:()=>gi,waitUntil:()=>ml});var yi=r=>new Promise(e=>setTimeout(e,r));async function ml(r,e=10,o=2e4){await gi(async()=>await r()||void 0,e,o)}async function gi(r,e=10,o=2e4){let n=await r(),a,i;for(a=i=performance.now();n==null&&(!o||i-a<o);)await yi(e),n=await r(),i=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function mi(r,e){return r.flatMap(o=>[o,...mi(e(o),e)])}function bl(...r){return function(e,o){return r.includes(e)?bi(o):o}}function bi(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,a)=>o+n+":"+a),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,a;if(Array.isArray(r)){if(o=r.length,o!=e.length)return!1;for(n=o;n--!==0;)if(!Yt(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(!Yt(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(a=Object.keys(r),o=a.length,o!==Object.keys(e).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[n]))return!1;for(n=o;n--!==0;){var i=a[n];if(!Yt(r[i],e[i]))return!1}return!0}return r!==r&&e!==e}function Yt(r,e){try{return xl(r,e)}catch{return!1}}function Jt(r,e){return!Yt(r,e)}function vl(r,e,o=window.document.body){if(e.length>0){let n=r.composedPath();for(let a of n){if(a===o)return!1;if(a.matches&&e.some(i=>a.matches(i)))return!0}}return!1}function ko(r,e,o){return Math.min(Math.max(r,e),o)}function Sl(r){return r[r.length-1]}function xi(r){return r instanceof HTMLSlotElement?r.assignedNodes().map(e=>xi(e)).join(""):r?.textContent||""}var Xe=r=>e=>{window.customElements.get(r)||window.customElements.define(r,e)};function Fo(r,e){let o=()=>JSON.parse(JSON.stringify(r));return D({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Jt,...e??{}})}function Ol(r){return D({type:Object,converter:{fromAttribute:e=>{if(e!=null)return vi(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...r??{}})}function vi(r){return!isNaN(parseFloat(r))}var pn={};M(pn,{designSystemVariables:()=>V});var un={};M(un,{DesignSystemFamily:()=>Qt,DesignSystemSize:()=>er,FtCssVariableFactory:()=>t,badge:()=>Il,banner:()=>Nl,button:()=>Cl,chart:()=>Vl,checkbox:()=>Zl,chip:()=>Al,chipChoice:()=>wl,collapsible:()=>zl,comboboxMultiSelect:()=>Wl,comboboxSingleSelect:()=>Bl,drawer:()=>Fl,floatingMenu:()=>Ml,foundation:()=>c,link:()=>Rl,modal:()=>Ll,notice:()=>Kl,notification:()=>Jl,pageDesigner:()=>Gl,pageFooter:()=>Tl,pageHeader:()=>_l,pageLayout:()=>kl,popover:()=>Hl,radio:()=>Yl,resolveFamilyClass:()=>ln,resolveSizeClass:()=>dn,semantic:()=>p,setVariable:()=>Br,switch_:()=>jl,tabs:()=>$l,textArea:()=>Dl,textInput:()=>Ul,titleBreadcrumb:()=>Pl,toggle:()=>ql,tooltip:()=>Xl,typographies:()=>Xt,typographyBody1Medium:()=>Ho,typographyBody1Regular:()=>Wo,typographyBody1Semibold:()=>zo,typographyBody2Medium:()=>Vo,typographyBody2MediumUnderline:()=>Si,typographyBody2Regular:()=>jo,typographyBody2Semibold:()=>Go,typographyCaption1Bold:()=>tn,typographyCaption1Medium:()=>Qo,typographyCaption1Semibold:()=>en,typographyCaption2Bold:()=>nn,typographyCaption2Medium:()=>rn,typographyCaption2Semibold:()=>on,typographyCaption3Bold:()=>cn,typographyCaption3Medium:()=>an,typographyCaption3Semibold:()=>sn,typographyDisplay:()=>Uo,typographyLabel1Bold:()=>qo,typographyLabel1Medium:()=>Ko,typographyLabel1Semibold:()=>Zo,typographyLabel2Bold:()=>Xo,typographyLabel2Medium:()=>Yo,typographyLabel2Semibold:()=>Jo,typographyTitle1:()=>Do,typographyTitle2:()=>Mo,typographyTitle3:()=>Bo,typographyVariants:()=>El});var me=r=>typeof r=="string"?Ge(r):r,t=class{static create(e,o,n,a){let i=l=>me(l??a),s=L`var(${me(e)}, ${i(a)})`;return s.name=e,s.description=o,s.category=n,s.defaultValue=a,s.defaultCssValue=i,s.get=l=>L`var(${me(e)}, ${i(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(e,o,n,a){let i=l=>n.get(l??a),s=L`var(${me(e)}, ${i(a)})`;return s.name=e,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=a,s.defaultCssValue=i,s.get=l=>L`var(${me(e)}, ${i(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),s}static external(e,o){let n=i=>e.fallbackVariable?e.fallbackVariable.get(i??e.defaultValue):me(i??e.lastResortDefaultValue()),a=L`var(${me(e.name)}, ${n(e.defaultValue)})`;return a.name=e.name,a.category=e.category,a.fallbackVariable=e.fallbackVariable,a.defaultValue=e.defaultValue,a.context=o,a.defaultCssValue=n,a.get=i=>L`var(${me(e.name)}, ${n(i)})`,a.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>e.lastResortDefaultValue(),a}};function Br(r,e){return me(`${r.name}: ${e}`)}var c={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"),opacity48:t.create("--ft-opacity-48","","NUMBER","0.48"),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)")},Uo={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")},Do={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")},Mo={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")},Bo={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")},Wo={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")},Ho={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")},zo={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")},jo={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")},Vo={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")},Si={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")},Go={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")},Ko={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")},Zo={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")},qo={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")},Yo={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")},Jo={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")},Xo={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")},Qo={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")},en={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")},tn={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")},rn={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")},on={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")},nn={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")},an={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")},sn={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")},cn={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:Uo,"title-1":Do,"title-2":Mo,"title-3":Bo,"body-1-regular":Wo,"body-1-medium":Ho,"body-1-semibold":zo,"body-2-regular":jo,"body-2-medium":Vo,"body-2-medium-underline":Si,"body-2-semibold":Go,"label-1-medium":Ko,"label-1-semibold":Zo,"label-1-bold":qo,"label-2-medium":Yo,"label-2-semibold":Jo,"label-2-bold":Xo,"caption-1-medium":Qo,"caption-1-semibold":en,"caption-1-bold":tn,"caption-2-medium":rn,"caption-2-semibold":on,"caption-2-bold":nn,"caption-3-medium":an,"caption-3-semibold":sn,"caption-3-bold":cn},El=["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.",c.colorBrand0),backgroundErrorSubtle:t.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:t.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:t.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:t.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:t.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:t.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:t.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:t.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:t.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:t.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:t.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:t.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:t.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:t.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:t.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:t.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:t.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:t.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
7
|
-
Also for action icons.`,c.colorGray200),contentGlobalSubtle:t.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:t.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:t.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:t.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:t.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:t.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:t.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:t.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:t.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:t.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:t.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:t.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:t.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:t.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:t.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:t.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var Cl={largeHeight:t.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:t.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:t.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:t.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:t.extend("--ft-button-large-icon-size","",c.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","",c.spacing3),mediumGap:t.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:t.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:t.extend("--ft-button-medium-icon-size","",c.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","",c.spacing2),smallGap:t.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:t.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",c.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","",c.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","",c.borderRadiusPill),primaryBrandBackgroundColor:t.extend("--ft-button-primary-brand-background-color","",p.backgroundActionPrimary),primaryBrandColor:t.extend("--ft-button-primary-brand-color","",p.contentGlobalOnColor),primaryBrandIconColor:t.extend("--ft-button-primary-brand-icon-color","",p.contentGlobalOnColor),primaryBrandStateLayerColor:t.extend("--ft-button-primary-brand-state-layer-color","",p.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:t.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:t.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:t.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:t.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:t.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBrandBackgroundColor:t.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:t.extend("--ft-button-tertiary-brand-color","",p.contentActionPrimary),tertiaryBrandIconColor:t.extend("--ft-button-tertiary-brand-icon-color","",p.contentActionPrimary),tertiaryBrandStateLayerColor:t.extend("--ft-button-tertiary-brand-state-layer-color","",p.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:t.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:t.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:t.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:t.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:t.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:t.extend("--ft-button-tertiary-info-color","",p.contentInfoPrimary),tertiaryInfoIconColor:t.extend("--ft-button-tertiary-info-icon-color","",p.contentInfoPrimary),tertiaryInfoStateLayerColor:t.extend("--ft-button-tertiary-info-state-layer-color","",p.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:t.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:t.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:t.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:t.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:t.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:t.extend("--ft-button-tertiary-success-color","",p.contentSuccessPrimary),tertiarySuccessIconColor:t.extend("--ft-button-tertiary-success-icon-color","",p.contentSuccessPrimary),tertiarySuccessStateLayerColor:t.extend("--ft-button-tertiary-success-state-layer-color","",p.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:t.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:t.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:t.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:t.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:t.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:t.extend("--ft-button-tertiary-warning-color","",p.contentWarningPrimary),tertiaryWarningIconColor:t.extend("--ft-button-tertiary-warning-icon-color","",p.contentWarningPrimary),tertiaryWarningStateLayerColor:t.extend("--ft-button-tertiary-warning-state-layer-color","",p.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:t.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:t.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:t.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:t.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:t.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:t.extend("--ft-button-tertiary-error-color","",p.contentErrorPrimary),tertiaryErrorIconColor:t.extend("--ft-button-tertiary-error-icon-color","",p.contentErrorPrimary),tertiaryErrorStateLayerColor:t.extend("--ft-button-tertiary-error-state-layer-color","",p.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:t.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:t.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:t.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:t.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:t.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:t.extend("--ft-button-tertiary-neutral-icon-color","",p.contentGlobalSecondary),tertiaryNeutralColor:t.extend("--ft-button-tertiary-neutral-color","",p.contentGlobalSecondary),tertiaryNeutralStateLayerColor:t.extend("--ft-button-tertiary-neutral-state-layer-color","",p.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:t.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:t.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:t.extend("--ft-button-secondary-brand-color","",p.contentActionPrimary),secondaryBrandIconColor:t.extend("--ft-button-secondary-brand-icon-color","",p.contentActionPrimary),secondaryBrandStateLayerColor:t.extend("--ft-button-secondary-brand-state-layer-color","",p.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:t.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:t.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:t.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:t.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:t.extend("--ft-button-secondary-brand-border-color","",p.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:t.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:t.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:t.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:t.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:t.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:t.extend("--ft-button-secondary-neutral-color","",p.contentGlobalSecondary),secondaryNeutralIconColor:t.extend("--ft-button-secondary-neutral-icon-color","",p.contentGlobalSecondary),secondaryNeutralStateLayerColor:t.extend("--ft-button-secondary-neutral-state-layer-color","",p.contentGlobalSecondary),secondaryNeutralBorderColor:t.extend("--ft-button-secondary-neutral-border-color","",p.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:t.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:t.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:t.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:t.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:t.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:t.extend("--ft-button-secondary-info-border-color","",p.borderInfoPrimary),secondaryInfoColor:t.extend("--ft-button-secondary-info-color","",p.contentInfoPrimary),secondaryInfoIconColor:t.extend("--ft-button-secondary-info-icon-color","",p.contentInfoPrimary),secondaryInfoStateLayerColor:t.extend("--ft-button-secondary-info-state-layer-color","",p.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:t.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:t.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:t.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:t.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:t.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:t.extend("--ft-button-secondary-success-border-color","",p.borderSuccessPrimary),secondarySuccessColor:t.extend("--ft-button-secondary-success-color","",p.contentSuccessPrimary),secondarySuccessIconColor:t.extend("--ft-button-secondary-success-icon-color","",p.contentSuccessPrimary),secondarySuccessStateLayerColor:t.extend("--ft-button-secondary-success-state-layer-color","",p.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:t.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:t.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:t.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:t.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:t.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:t.extend("--ft-button-secondary-warning-border-color","",p.borderWarningPrimary),secondaryWarningColor:t.extend("--ft-button-secondary-warning-color","",p.contentWarningPrimary),secondaryWarningIconColor:t.extend("--ft-button-secondary-warning-icon-color","",p.contentWarningPrimary),secondaryWarningStateLayerColor:t.extend("--ft-button-secondary-warning-state-layer-color","",p.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:t.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:t.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:t.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:t.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:t.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:t.extend("--ft-button-secondary-error-border-color","",p.contentErrorPrimary),secondaryErrorColor:t.extend("--ft-button-secondary-error-color","",p.contentErrorPrimary),secondaryErrorIconColor:t.extend("--ft-button-secondary-error-icon-color","",p.contentErrorPrimary),secondaryErrorStateLayerColor:t.extend("--ft-button-secondary-error-state-layer-color","",p.contentErrorPrimary)};var wl={neutralOffHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.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","",c.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","",c.opacity16),neutralOnHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.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","",c.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","",c.spacing3),largeGap:t.extend("--ft-chip-choice-large-gap","",c.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","",c.iconSize3),mediumMinHeight:t.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:t.extend("--ft-chip-choice-medium-gap","",c.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","",c.iconSize2)};var Al={largeMinHeight:t.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:t.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:t.extend("--ft-chip-large-gap","",c.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","",c.iconSize3),mediumMinHeight:t.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:t.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:t.extend("--ft-chip-medium-gap","",c.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","",c.iconSize2),smallMinHeight:t.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:t.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:t.extend("--ft-chip-small-gap","",c.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","",c.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 Rl={brandHoverOpacity:t.extend("--ft-link-brand-hover-opacity","",c.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","",c.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),neutralVisitedColor:t.extend("--ft-link-neutral-visited-color","",c.colorBrand100)};var Nl={iconSize:t.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:t.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:t.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:t.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:t.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:t.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:t.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:t.extend("--ft-banner-horizontal-middle-gap","",c.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 Il={horizontalPadding:t.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:t.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:t.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:t.extend("--ft-badge-color","",p.contentGlobalOnColor),backgroundColor:t.extend("--ft-badge-background-color","",p.contentActionPrimary)};var Pl={horizontalGap:t.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:t.extend("--ft-title-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:t.extend("--ft-title-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:t.extend("--ft-title-breadcrumb-icon-color","",p.contentGlobalSubtle)};var _l={parentHorizontalPadding:t.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:t.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:t.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:t.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:t.extend("--ft-page-header-parent-title-color","",p.contentGlobalPrimary),parentSubtitleColor:t.extend("--ft-page-header-parent-subtitle-color","",p.contentGlobalSecondary),parentChipLeftMargin:t.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:t.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:t.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:t.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:t.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:t.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:t.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:t.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:t.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:t.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:t.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:t.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:t.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:t.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:t.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:t.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:t.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:t.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),bottomBorderWidth:t.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var Tl={horizontalPadding:t.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:t.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:t.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:t.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:t.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:t.extend("--ft-page-footer-top-border-color","",p.borderGlobalSubtle),topBorderWidth:t.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:t.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)};var kl={contentHorizontalPadding:t.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:t.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)};var Ll={smallContainerTargetWidth:t.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:t.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:t.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:t.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:t.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:t.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:t.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:t.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:t.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:t.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:t.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:t.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:t.extend("--ft-modal-body-vertical-gap","",c.spacing6),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),headerLeadingIconColor:t.extend("--ft-modal-header-leading-icon-color","",p.contentGlobalPrimary),headerVerticalPadding:t.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:t.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:t.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:t.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:t.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",c.borderRadiusM)};var Fl={overlayOpacity:t.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:t.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:t.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:t.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:t.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:t.extend("--ft-drawer-body-background-color","",c.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","",c.spacing2),headerBorderWidth:t.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:t.extend("--ft-drawer-header-gap","",c.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","",c.spacing6),buttonsBarVerticalPadding:t.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:t.extend("--ft-drawer-buttons-bar-gap","",c.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","",c.colorGray700)};var $l={offBorderBottomWidth:t.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:t.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:t.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:t.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:t.extend("--ft-tabs-off-disabled-component-opacity","",c.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","",c.borderRadiusS),topRightBorderRadius:t.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:t.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:t.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:t.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:t.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:t.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:t.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",c.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","",c.spacing4),iconOnlyVerticalPadding:t.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:t.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:t.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:t.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)};var Ul={fieldHorizontalPadding:t.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:t.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:t.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:t.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:t.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:t.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:t.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:t.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:t.extend("--ft-text-input-background-color","",c.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","",c.opacity40)};var Dl={backgroundColor:t.extend("--ft-text-area-background-color","",c.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","",c.opacity40),fieldHorizontalLeftPadding:t.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:t.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:t.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:t.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:t.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:t.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:t.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:t.extend("--ft-text-area-border-radius","",c.borderRadiusM)};var Ml={height:t.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:t.extend("--ft-floating-menu-horizontal-padding","",c.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","",c.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","",c.opacity8),hoverStateLayerOpacity:t.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:t.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:t.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:t.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:t.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface),shadow:t.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var Bl={fieldHorizontalPadding:t.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:t.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:t.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:t.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:t.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:t.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:t.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:t.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:t.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:t.extend("--ft-combobox-single-select-background-color","",c.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","",c.opacity40)};var Wl={backgroundColor:t.extend("--ft-combobox-multi-select-background-color","",c.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","",c.opacity40),helperHorizontalPadding:t.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:t.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:t.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:t.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:t.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:t.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:t.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:t.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:t.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:t.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:t.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)};var Hl={backgroundColor:t.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:t.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:t.extend("--ft-popover-vertical-padding","",c.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","",c.spacing3),borderRadius:t.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:t.create("--ft-popover-max-width","","SIZE","440px")};var zl={hoverStateLayerOpacity:t.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:t.extend("--ft-collapsible-focus-state-layer-opacity","",c.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","",c.opacity16),disabledComponentOpacity:t.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:t.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:t.extend("--ft-collapsible-vertical-padding","",c.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","",c.iconSize3)};var jl={groupHorizontalPadding:t.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:t.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:t.extend("--ft-switch-group-gap","",c.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","",c.spacing2),labelVerticalPadding:t.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:t.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:t.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:t.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:t.extend("--ft-switch-off-disabled-component-opacity","",c.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","",c.opacity8),onFocusStateLayerOpacity:t.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:t.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:t.extend("--ft-switch-on-disabled-component-opacity","",c.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","",c.spacing1),iconVerticalPadding:t.extend("--ft-switch-icon-vertical-padding","",c.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","",c.borderRadiusS)};var Vl={color1Light:t.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:t.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:t.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:t.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:t.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:t.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:t.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:t.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:t.extend("--ft-chart-5-light","",c.colorRed40),color5Base:t.extend("--ft-chart-5-base","",c.colorRed60),color6Light:t.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:t.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:t.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:t.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:t.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:t.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:t.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:t.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:t.extend("--ft-chart-10-light","",c.colorGray50),color10Base:t.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:t.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:t.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:t.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:t.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:t.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:t.extend("--ft-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorCyan10),scatterplotQuadrantUnpopularNewBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorRed10),scatterplotDatapointInitialDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:t.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:t.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:t.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var Gl={color1IconColor:t.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:t.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:t.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:t.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:t.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:t.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:t.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:t.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:t.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:t.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:t.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:t.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:t.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:t.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:t.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:t.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var Kl={borderWidth:t.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:t.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:t.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:t.extend("--ft-notice-gap","",c.spacing2),iconSize:t.extend("--ft-notice-icon-size","",c.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 Zl={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","",c.opacity16),checkedFocusStateLayerOpacity:t.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:t.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:t.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:t.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:t.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:t.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:t.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:t.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:t.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.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","",c.spacing3)};var ql={offHoverStateLayerOpacity:t.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:t.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:t.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:t.extend("--ft-toggle-off-disabled-component-opacity","",c.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","",c.opacity16),onFocusStateLayerOpacity:t.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:t.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:t.extend("--ft-toggle-on-disabled-component-opacity","",c.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","",c.spacing3)};var Yl={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","",c.opacity16),selectedFocusStateLayerOpacity:t.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:t.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:t.extend("--ft-radio-selected-disabled-component-opacity","",c.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","",c.opacity16),unselectedFocusStateLayerOpacity:t.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:t.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:t.extend("--ft-radio-unselected-disabled-component-opacity","",c.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","",c.spacing3)};var Jl={iconSize:t.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:t.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:t.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",c.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","",c.borderRadiusPill),borderWidth:t.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:t.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:t.extend("--ft-notification-trailing-gap","",c.spacing8)};var Xl={horizontalPadding:t.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:t.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:t.extend("--ft-tooltip-border-radius","",c.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","",c.opacity80),shadow:t.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:t.create("--ft-tooltip-max-width","","SIZE","256px"),gap:t.extend("--ft-tooltip-gap","",c.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 ln(r){return`ftds--family-${r}`}function dn(r){return`ftds--size-${r}`}var V={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 gn={};M(gn,{FtNotificationEvent:()=>fn,PostResizeEvent:()=>yn,PreResizeEvent:()=>hn});var fn=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},hn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},yn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var Pn={};M(Pn,{computeFlipOffsetPosition:()=>vd,computeOffsetPosition:()=>xd});var Ei=["top","right","bottom","left"],Oi=["start","end"],mn=Ei.reduce((r,e)=>r.concat(e,e+"-"+Oi[0],e+"-"+Oi[1]),[]),or=Math.min,_e=Math.max,nr=Math.round;var be=r=>({x:r,y:r}),Ql={left:"right",right:"left",bottom:"top",top:"bottom"},ed={start:"end",end:"start"};function bn(r,e,o){return _e(r,or(e,o))}function pt(r,e){return typeof r=="function"?r(e):r}function de(r){return r.split("-")[0]}function ue(r){return r.split("-")[1]}function xn(r){return r==="x"?"y":"x"}function vn(r){return r==="y"?"height":"width"}function ar(r){return["top","bottom"].includes(de(r))?"y":"x"}function Sn(r){return xn(ar(r))}function On(r,e,o){o===void 0&&(o=!1);let n=ue(r),a=Sn(r),i=vn(a),s=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=rr(s)),[s,rr(s)]}function Ci(r){let e=rr(r);return[tr(r),e,tr(e)]}function tr(r){return r.replace(/start|end/g,e=>ed[e])}function td(r,e,o){let n=["left","right"],a=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(r){case"top":case"bottom":return o?e?a:n:e?n:a;case"left":case"right":return e?i:s;default:return[]}}function wi(r,e,o,n){let a=ue(r),i=td(de(r),o==="start",n);return a&&(i=i.map(s=>s+"-"+a),e&&(i=i.concat(i.map(tr)))),i}function rr(r){return r.replace(/left|right|bottom|top/g,e=>Ql[e])}function rd(r){return{top:0,right:0,bottom:0,left:0,...r}}function Ai(r){return typeof r!="number"?rd(r):{top:r,right:r,bottom:r,left:r}}function Qe(r){return{...r,top:r.y,left:r.x,right:r.x+r.width,bottom:r.y+r.height}}function Ri(r,e,o){let{reference:n,floating:a}=r,i=ar(e),s=Sn(e),l=vn(s),d=de(e),u=i==="y",h=n.x+n.width/2-a.width/2,f=n.y+n.height/2-a.height/2,g=n[l]/2-a[l]/2,m;switch(d){case"top":m={x:h,y:n.y-a.height};break;case"bottom":m={x:h,y:n.y+n.height};break;case"right":m={x:n.x+n.width,y:f};break;case"left":m={x:n.x-a.width,y:f};break;default:m={x:n.x,y:n.y}}switch(ue(e)){case"start":m[s]-=g*(o&&u?-1:1);break;case"end":m[s]+=g*(o&&u?-1:1);break}return m}var Ni=async(r,e,o)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=o,l=i.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),u=await s.getElementRects({reference:r,floating:e,strategy:a}),{x:h,y:f}=Ri(u,n,d),g=n,m={},b=0;for(let O=0;O<l.length;O++){let{name:A,fn:C}=l[O],{x:w,y:v,data:S,reset:E}=await C({x:h,y:f,initialPlacement:n,placement:g,strategy:a,middlewareData:m,rects:u,platform:s,elements:{reference:r,floating:e}});if(h=w??h,f=v??f,m={...m,[A]:{...m[A],...S}},E&&b<=50){b++,typeof E=="object"&&(E.placement&&(g=E.placement),E.rects&&(u=E.rects===!0?await s.getElementRects({reference:r,floating:e,strategy:a}):E.rects),{x:h,y:f}=Ri(u,g,d)),O=-1;continue}}return{x:h,y:f,placement:g,strategy:a,middlewareData:m}};async function Wr(r,e){var o;e===void 0&&(e={});let{x:n,y:a,platform:i,rects:s,elements:l,strategy:d}=r,{boundary:u="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:g=!1,padding:m=0}=pt(e,r),b=Ai(m),A=l[g?f==="floating"?"reference":"floating":f],C=Qe(await i.getClippingRect({element:(o=await(i.isElement==null?void 0:i.isElement(A)))==null||o?A:A.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:h,strategy:d})),w=f==="floating"?{...s.floating,x:n,y:a}:s.reference,v=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),S=await(i.isElement==null?void 0:i.isElement(v))?await(i.getScale==null?void 0:i.getScale(v))||{x:1,y:1}:{x:1,y:1},E=Qe(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:w,offsetParent:v,strategy:d}):w);return{top:(C.top-E.top+b.top)/S.y,bottom:(E.bottom-C.bottom+b.bottom)/S.y,left:(C.left-E.left+b.left)/S.x,right:(E.right-C.right+b.right)/S.x}}function od(r,e,o){return(r?[...o.filter(a=>ue(a)===r),...o.filter(a=>ue(a)!==r)]:o.filter(a=>de(a)===a)).filter(a=>r?ue(a)===r||(e?tr(a)!==a:!1):!0)}var En=function(r){return r===void 0&&(r={}),{name:"autoPlacement",options:r,async fn(e){var o,n,a;let{rects:i,middlewareData:s,placement:l,platform:d,elements:u}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:g=mn,autoAlignment:m=!0,...b}=pt(r,e),O=f!==void 0||g===mn?od(f||null,m,g):g,A=await Wr(e,b),C=((o=s.autoPlacement)==null?void 0:o.index)||0,w=O[C];if(w==null)return{};let v=On(w,i,await(d.isRTL==null?void 0:d.isRTL(u.floating)));if(l!==w)return{reset:{placement:O[0]}};let S=[A[de(w)],A[v[0]],A[v[1]]],E=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:w,overflows:S}],P=O[C+1];if(P)return{data:{index:C+1,overflows:E},reset:{placement:P}};let k=E.map(N=>{let y=ue(N.placement);return[N.placement,y&&h?N.overflows.slice(0,2).reduce((x,R)=>x+R,0):N.overflows[0],N.overflows]}).sort((N,y)=>N[1]-y[1]),U=((a=k.filter(N=>N[2].slice(0,ue(N[0])?2:3).every(y=>y<=0))[0])==null?void 0:a[0])||k[0][0];return U!==l?{data:{index:C+1,overflows:E},reset:{placement:U}}:{}}}},Cn=function(r){return r===void 0&&(r={}),{name:"flip",options:r,async fn(e){var o,n;let{placement:a,middlewareData:i,rects:s,initialPlacement:l,platform:d,elements:u}=e,{mainAxis:h=!0,crossAxis:f=!0,fallbackPlacements:g,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:O=!0,...A}=pt(r,e);if((o=i.arrow)!=null&&o.alignmentOffset)return{};let C=de(a),w=de(l)===l,v=await(d.isRTL==null?void 0:d.isRTL(u.floating)),S=g||(w||!O?[rr(l)]:Ci(l));!g&&b!=="none"&&S.push(...wi(l,O,b,v));let E=[l,...S],P=await Wr(e,A),k=[],$=((n=i.flip)==null?void 0:n.overflows)||[];if(h&&k.push(P[C]),f){let x=On(a,s,v);k.push(P[x[0]],P[x[1]])}if($=[...$,{placement:a,overflows:k}],!k.every(x=>x<=0)){var U,N;let x=(((U=i.flip)==null?void 0:U.index)||0)+1,R=E[x];if(R)return{data:{index:x,overflows:$},reset:{placement:R}};let T=(N=$.filter(F=>F.overflows[0]<=0).sort((F,_)=>F.overflows[1]-_.overflows[1])[0])==null?void 0:N.placement;if(!T)switch(m){case"bestFit":{var y;let F=(y=$.map(_=>[_.placement,_.overflows.filter(ie=>ie>0).reduce((ie,kt)=>ie+kt,0)]).sort((_,ie)=>_[1]-ie[1])[0])==null?void 0:y[0];F&&(T=F);break}case"initialPlacement":T=l;break}if(a!==T)return{reset:{placement:T}}}return{}}}};async function nd(r,e){let{placement:o,platform:n,elements:a}=r,i=await(n.isRTL==null?void 0:n.isRTL(a.floating)),s=de(o),l=ue(o),d=ar(o)==="y",u=["left","top"].includes(s)?-1:1,h=i&&d?-1:1,f=pt(e,r),{mainAxis:g,crossAxis:m,alignmentAxis:b}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return l&&typeof b=="number"&&(m=l==="end"?b*-1:b),d?{x:m*h,y:g*u}:{x:g*u,y:m*h}}var wn=function(r){return r===void 0&&(r=0),{name:"offset",options:r,async fn(e){var o,n;let{x:a,y:i,placement:s,middlewareData:l}=e,d=await nd(e,r);return s===((o=l.offset)==null?void 0:o.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:a+d.x,y:i+d.y,data:{...d,placement:s}}}}},An=function(r){return r===void 0&&(r={}),{name:"shift",options:r,async fn(e){let{x:o,y:n,placement:a}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:A=>{let{x:C,y:w}=A;return{x:C,y:w}}},...d}=pt(r,e),u={x:o,y:n},h=await Wr(e,d),f=ar(de(a)),g=xn(f),m=u[g],b=u[f];if(i){let A=g==="y"?"top":"left",C=g==="y"?"bottom":"right",w=m+h[A],v=m-h[C];m=bn(w,m,v)}if(s){let A=f==="y"?"top":"left",C=f==="y"?"bottom":"right",w=b+h[A],v=b-h[C];b=bn(w,b,v)}let O=l.fn({...e,[g]:m,[f]:b});return{...O,data:{x:O.x-o,y:O.y-n}}}}};function xe(r){return Pi(r)?(r.nodeName||"").toLowerCase():"#document"}function Y(r){var e;return(r==null||(e=r.ownerDocument)==null?void 0:e.defaultView)||window}function ve(r){var e;return(e=(Pi(r)?r.ownerDocument:r.document)||window.document)==null?void 0:e.documentElement}function Pi(r){return r instanceof Node||r instanceof Y(r).Node}function pe(r){return r instanceof Element||r instanceof Y(r).Element}function ne(r){return r instanceof HTMLElement||r instanceof Y(r).HTMLElement}function Ii(r){return typeof ShadowRoot>"u"?!1:r instanceof ShadowRoot||r instanceof Y(r).ShadowRoot}function ft(r){let{overflow:e,overflowX:o,overflowY:n,display:a}=Q(r);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(a)}function _i(r){return["table","td","th"].includes(xe(r))}function zr(r){let e=jr(),o=Q(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 Ti(r){let e=et(r);for(;ne(e)&&!ir(e);){if(zr(e))return e;e=et(e)}return null}function jr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ir(r){return["html","body","#document"].includes(xe(r))}function Q(r){return Y(r).getComputedStyle(r)}function sr(r){return pe(r)?{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}:{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}function et(r){if(xe(r)==="html")return r;let e=r.assignedSlot||r.parentNode||Ii(r)&&r.host||ve(r);return Ii(e)?e.host:e}function ki(r){let e=et(r);return ir(e)?r.ownerDocument?r.ownerDocument.body:r.body:ne(e)&&ft(e)?e:ki(e)}function Hr(r,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);let a=ki(r),i=a===((n=r.ownerDocument)==null?void 0:n.body),s=Y(a);return i?e.concat(s,s.visualViewport||[],ft(a)?a:[],s.frameElement&&o?Hr(s.frameElement):[]):e.concat(a,Hr(a,[],o))}function $i(r){let e=Q(r),o=parseFloat(e.width)||0,n=parseFloat(e.height)||0,a=ne(r),i=a?r.offsetWidth:o,s=a?r.offsetHeight:n,l=nr(o)!==i||nr(n)!==s;return l&&(o=i,n=s),{width:o,height:n,$:l}}function Ui(r){return pe(r)?r:r.contextElement}function ht(r){let e=Ui(r);if(!ne(e))return be(1);let o=e.getBoundingClientRect(),{width:n,height:a,$:i}=$i(e),s=(i?nr(o.width):o.width)/n,l=(i?nr(o.height):o.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var ad=be(0);function Di(r){let e=Y(r);return!jr()||!e.visualViewport?ad:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function id(r,e,o){return e===void 0&&(e=!1),!o||e&&o!==Y(r)?!1:e}function cr(r,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);let a=r.getBoundingClientRect(),i=Ui(r),s=be(1);e&&(n?pe(n)&&(s=ht(n)):s=ht(r));let l=id(i,o,n)?Di(i):be(0),d=(a.left+l.x)/s.x,u=(a.top+l.y)/s.y,h=a.width/s.x,f=a.height/s.y;if(i){let g=Y(i),m=n&&pe(n)?Y(n):n,b=g.frameElement;for(;b&&n&&m!==g;){let O=ht(b),A=b.getBoundingClientRect(),C=Q(b),w=A.left+(b.clientLeft+parseFloat(C.paddingLeft))*O.x,v=A.top+(b.clientTop+parseFloat(C.paddingTop))*O.y;d*=O.x,u*=O.y,h*=O.x,f*=O.y,d+=w,u+=v,b=Y(b).frameElement}}return Qe({width:h,height:f,x:d,y:u})}function sd(r){let{rect:e,offsetParent:o,strategy:n}=r,a=ne(o),i=ve(o);if(o===i)return e;let s={scrollLeft:0,scrollTop:0},l=be(1),d=be(0);if((a||!a&&n!=="fixed")&&((xe(o)!=="body"||ft(i))&&(s=sr(o)),ne(o))){let u=cr(o);l=ht(o),d.x=u.x+o.clientLeft,d.y=u.y+o.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+d.x,y:e.y*l.y-s.scrollTop*l.y+d.y}}function cd(r){return Array.from(r.getClientRects())}function Mi(r){return cr(ve(r)).left+sr(r).scrollLeft}function ld(r){let e=ve(r),o=sr(r),n=r.ownerDocument.body,a=_e(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=_e(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+Mi(r),l=-o.scrollTop;return Q(n).direction==="rtl"&&(s+=_e(e.clientWidth,n.clientWidth)-a),{width:a,height:i,x:s,y:l}}function dd(r,e){let o=Y(r),n=ve(r),a=o.visualViewport,i=n.clientWidth,s=n.clientHeight,l=0,d=0;if(a){i=a.width,s=a.height;let u=jr();(!u||u&&e==="fixed")&&(l=a.offsetLeft,d=a.offsetTop)}return{width:i,height:s,x:l,y:d}}function ud(r,e){let o=cr(r,!0,e==="fixed"),n=o.top+r.clientTop,a=o.left+r.clientLeft,i=ne(r)?ht(r):be(1),s=r.clientWidth*i.x,l=r.clientHeight*i.y,d=a*i.x,u=n*i.y;return{width:s,height:l,x:d,y:u}}function Li(r,e,o){let n;if(e==="viewport")n=dd(r,o);else if(e==="document")n=ld(ve(r));else if(pe(e))n=ud(e,o);else{let a=Di(r);n={...e,x:e.x-a.x,y:e.y-a.y}}return Qe(n)}function Bi(r,e){let o=et(r);return o===e||!pe(o)||ir(o)?!1:Q(o).position==="fixed"||Bi(o,e)}function pd(r,e){let o=e.get(r);if(o)return o;let n=Hr(r,[],!1).filter(l=>pe(l)&&xe(l)!=="body"),a=null,i=Q(r).position==="fixed",s=i?et(r):r;for(;pe(s)&&!ir(s);){let l=Q(s),d=zr(s);!d&&l.position==="fixed"&&(a=null),(i?!d&&!a:!d&&l.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||ft(s)&&!d&&Bi(r,s))?n=n.filter(h=>h!==s):a=l,s=et(s)}return e.set(r,n),n}function fd(r){let{element:e,boundary:o,rootBoundary:n,strategy:a}=r,s=[...o==="clippingAncestors"?pd(e,this._c):[].concat(o),n],l=s[0],d=s.reduce((u,h)=>{let f=Li(e,h,a);return u.top=_e(f.top,u.top),u.right=or(f.right,u.right),u.bottom=or(f.bottom,u.bottom),u.left=_e(f.left,u.left),u},Li(e,l,a));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function hd(r){return $i(r)}function yd(r,e,o){let n=ne(e),a=ve(e),i=o==="fixed",s=cr(r,!0,i,e),l={scrollLeft:0,scrollTop:0},d=be(0);if(n||!n&&!i)if((xe(e)!=="body"||ft(a))&&(l=sr(e)),n){let u=cr(e,!0,i,e);d.x=u.x+e.clientLeft,d.y=u.y+e.clientTop}else a&&(d.x=Mi(a));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function Fi(r,e){return!ne(r)||Q(r).position==="fixed"?null:e?e(r):r.offsetParent}function Wi(r,e){let o=Y(r);if(!ne(r))return o;let n=Fi(r,e);for(;n&&_i(n)&&Q(n).position==="static";)n=Fi(n,e);return n&&(xe(n)==="html"||xe(n)==="body"&&Q(n).position==="static"&&!zr(n))?o:n||Ti(r)||o}var gd=async function(r){let{reference:e,floating:o,strategy:n}=r,a=this.getOffsetParent||Wi,i=this.getDimensions;return{reference:yd(e,await a(o),n),floating:{x:0,y:0,...await i(o)}}};function md(r){return Q(r).direction==="rtl"}var yt={convertOffsetParentRelativeRectToViewportRelativeRect:sd,getDocumentElement:ve,getClippingRect:fd,getOffsetParent:Wi,getElementRects:gd,getClientRects:cd,getDimensions:hd,getScale:ht,isElement:pe,isRTL:md};var Rn=(r,e,o)=>{let n=new Map,a={platform:yt,...o},i={...a.platform,_c:n};return Ni(r,e,{...a,platform:i})};function In(r){return bd(r)}function Nn(r){return r.assignedSlot?r.assignedSlot:r.parentNode instanceof ShadowRoot?r.parentNode.host:r.parentNode}function bd(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 xd(r,e,o){return Rn(r,e,{platform:{...yt,getOffsetParent:n=>yt.getOffsetParent(n,In)},middleware:[An({crossAxis:!0}),En({allowedPlacements:[o]})]})}async function vd(r,e,o,n,a){return Rn(r,e,{placement:o,strategy:a,platform:{...yt,getOffsetParent:i=>yt.getOffsetParent(i,In)},middleware:[wn(4),Cn({fallbackPlacements:n})]})}var Ln={};M(Ln,{FtdsBase:()=>kn,toFtdsBase:()=>qi});var Tn={};M(Tn,{FtLitElement:()=>Z});var _n={};M(_n,{ScopedRegistryLitElement:()=>lr});var Vr=window,Sd=Vr.ShadowRoot&&(Vr.ShadyCSS===void 0||Vr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,hg=Symbol();var Hi=(r,e)=>{Sd?r.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):e.forEach(o=>{let n=document.createElement("style"),a=Vr.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,r.appendChild(n)})};var lr=class extends ge{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([a,i])=>e.registry.define(a,i)));let o={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Hi(n,e.elementStyles),n}};var Gr=function(r,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,o,n);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Gi,zi=Symbol("constructorPrototype"),ji=Symbol("constructorName"),Ki=Symbol("exportpartsDebouncer"),Vi=Symbol("dynamicDependenciesLoaded"),Z=class extends lr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Gi]=new Pe(5),this[ji]=this.constructor.name,this[zi]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ji]&&Object.setPrototypeOf(this,this[zi])}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[Vi]||(e[Vi]=!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,a;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}scheduleExportpartsUpdate(){var e,o,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Ki].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var o,n,a,i,s,l;let d=g=>g!=null&&g.trim().length>0,u=e.filter(d).map(g=>g.trim());if(u.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let g of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let m=(i=(a=g.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],b=(l=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(O=>O.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...m,...b).filter(d).map(O=>O.trim()).forEach(O=>h.add(O))}if(h.size===0){this.removeAttribute("exportparts");return}let f=[...h.values()].flatMap(g=>u.map(m=>`${g}:${m}--${g}`));this.setAttribute("exportparts",[...this.part,...f].join(", "))}};Gi=Ki;Gr([D()],Z.prototype,"exportpartsPrefix",void 0);Gr([Fo([])],Z.prototype,"exportpartsPrefixes",void 0);Gr([D()],Z.prototype,"customStylesheet",void 0);Gr([ce()],Z.prototype,"useAdoptedStyleSheets",void 0);var Zi=function(r,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,o,n);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i};function qi(r){class e extends r{constructor(){super(...arguments),this.size=er.medium,this.family=Qt.neutral}getDesignSystemBaseClasses(){return{[ln(this.family)]:!0,[dn(this.size)]:!0}}}return Zi([D()],e.prototype,"size",void 0),Zi([D()],e.prototype,"family",void 0),e}var kn=class extends qi(Z){};var Yi={};var $n={};M($n,{highlightHtml:()=>Cd,highlightHtmlColorCssVariable:()=>Ji,highlightHtmlStyles:()=>Ed});var tt=class r{constructor(e,o=!0,n=[],a=5e3){this.ctx=e,this.iframes=o,this.exclude=n,this.iframesTimeout=a}static matches(e,o){let n=typeof o=="string"?[o]:o,a=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(a){let i=!1;return n.every(s=>a.call(e,s)?(i=!0,!1):!0),i}else return!1}getContexts(){let e,o=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let a=o.filter(i=>i.contains(n)).length>0;o.indexOf(n)===-1&&!a&&o.push(n)}),o}getIframeContents(e,o,n=()=>{}){let a;try{let i=e.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{n()}a&&o(a)}isIframeBlank(e){let o="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===o&&n!==o&&n}observeIframeLoad(e,o,n){let a=!1,i=null,s=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,o,n))}catch{n()}}};e.addEventListener("load",s),i=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,a=>{n++,this.waitForIframes(a.querySelector("html"),()=>{--n||o()})},a=>{a||o()})}forEachIframe(e,o,n,a=()=>{}){let i=e.querySelectorAll("iframe"),s=i.length,l=0;i=Array.prototype.slice.call(i);let d=()=>{--s<=0&&a(l)};s||d(),i.forEach(u=>{r.matches(u,this.exclude)?d():this.onIframeReady(u,h=>{o(u)&&(l++,n(h)),d()},d)})}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 a=e.compareDocumentPosition(n),i=Node.DOCUMENT_POSITION_PRECEDING;if(a&i)if(o!==null){let s=o.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let o=e.previousNode(),n;return o===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:o,node:n}}checkIframeFilter(e,o,n,a){let i=!1,s=!1;return a.forEach((l,d)=>{l.val===n&&(i=d,s=l.handled)}),this.compareNodeIframe(e,o,n)?(i===!1&&!s?a.push({val:n,handled:!0}):i!==!1&&!s&&(a[i].handled=!0),!0):(i===!1&&a.push({val:n,handled:!1}),!1)}handleOpenIframes(e,o,n,a){e.forEach(i=>{i.handled||this.getIframeContents(i.val,s=>{this.createInstanceOnIframe(s).forEachNode(o,n,a)})})}iterateThroughNodes(e,o,n,a,i){let s=this.createIterator(o,e,a),l=[],d=[],u,h,f=()=>({prevNode:h,node:u}=this.getIteratorNode(s),u);for(;f();)this.iframes&&this.forEachIframe(o,g=>this.checkIframeFilter(u,h,g,l),g=>{this.createInstanceOnIframe(g).forEachNode(e,m=>d.push(m),a)}),d.push(u);d.forEach(g=>{n(g)}),this.iframes&&this.handleOpenIframes(l,e,n,a),i()}forEachNode(e,o,n,a=()=>{}){let i=this.getContexts(),s=i.length;s||a(),i.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,o,n,()=>{--s<=0&&a()})};this.iframes?this.waitForIframes(l,d):d()})}};var dr=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 tt(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,o="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[o]=="function"&&n[o](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let o=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",a=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${n}`),a+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+a))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,o=>o.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,o=>o.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let o=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(o,n,a)=>{let i=a.charAt(n+1);return/[(|)\\]/.test(i)||i===""?o:o+"\0"})}createJoinersRegExp(e){let o=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&o.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?e.split(/\u0000+/).join(`[${o.join("")}]*`):e}createDiacriticsRegExp(e){let o=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],a=[];return e.split("").forEach(i=>{n.every(s=>{if(s.indexOf(i)!==-1){if(a.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${o}`),`[${s}]`),a.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let o="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,a=typeof n=="string"?n:n.value,i=typeof n=="string"?[]:n.limiters,s="";switch(i.forEach(l=>{s+=`|${this.escapeStr(l)}`}),a){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(a=>{a.trim()&&o.indexOf(a)===-1&&o.push(a)}):n.trim()&&o.indexOf(n)===-1&&o.push(n)}),{keywords:o.sort((n,a)=>a.length-n.length),length:o.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let o=[],n=0;return e.sort((a,i)=>a.start-i.start).forEach(a=>{let{start:i,end:s,valid:l}=this.callNoMatchOnInvalidRanges(a,n);l&&(a.start=i,a.length=s-i,o.push(a),n=s)}),o}callNoMatchOnInvalidRanges(e,o){let n,a,i=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),a=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&a-o>0&&a-n>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:a,valid:i}}checkWhitespaceRanges(e,o,n){let a,i=!0,s=n.length,l=o-s,d=parseInt(e.start,10)-l;return d=d>s?s:d,a=d+parseInt(e.length,10),a>s&&(a=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||a-d<0||d>s||a>s?(i=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(d,a).replace(/\s+/g,"")===""&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:a,valid:i}}getTextNodes(e){let o="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,a=>{n.push({start:o.length,end:(o+=a.textContent).length,node:a})},a=>this.matchesExclude(a.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:o,nodes:n})})}matchesExclude(e){return tt.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,o,n){let a=this.opt.element?this.opt.element:"mark",i=e.splitText(o),s=i.splitText(n-o),l=document.createElement(a);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=i.textContent,i.parentNode.replaceChild(l,i),s}wrapRangeInMappedTextNode(e,o,n,a,i){e.nodes.every((s,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>o){if(!a(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),g=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,u,h),e.value=f+g,e.nodes.forEach((m,b)=>{b>=l&&(e.nodes[b].start>0&&b!==l&&(e.nodes[b].start-=h),e.nodes[b].end-=h)}),n-=h,i(s.node.previousSibling,s.start),n>s.end)o=s.end;else return!1}return!0})}wrapMatches(e,o,n,a,i){let s=o===0?0:o+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let u;for(;(u=e.exec(d.textContent))!==null&&u[s]!=="";){if(!n(u[s],d))continue;let h=u.index;if(s!==0)for(let f=1;f<s;f++)h+=u[f].length;d=this.wrapRangeInTextNode(d,h,h+u[s].length),a(d.previousSibling),e.lastIndex=0}}),i()})}wrapMatchesAcrossElements(e,o,n,a,i){let s=o===0?0:o+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[s]!=="";){let u=d.index;if(s!==0)for(let f=1;f<s;f++)u+=d[f].length;let h=u+d[s].length;this.wrapRangeInMappedTextNode(l,u,h,f=>n(d[s],f),(f,g)=>{e.lastIndex=g,a(f)})}i()})}wrapRangeFromIndex(e,o,n,a){this.getTextNodes(i=>{let s=i.value.length;e.forEach((l,d)=>{let{start:u,end:h,valid:f}=this.checkWhitespaceRanges(l,s,i.value);f&&this.wrapRangeInMappedTextNode(i,u,h,g=>o(g,l,i.value.substring(u,h),d),g=>{n(g,l)})}),a()})}unwrapMatches(e){let o=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));o.replaceChild(n,e),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,o){this.opt=o,this.log(`Searching with expression "${e}"`);let n=0,a="wrapMatches",i=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),i,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,o){this.opt=o;let n=0,a="wrapMatches",{keywords:i,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",d=u=>{let h=new RegExp(this.createRegExp(u),`gm${l}`),f=0;this.log(`Searching with expression "${h}"`),this[a](h,1,(g,m)=>this.opt.filter(m,u,n,f),g=>{f++,n++,this.opt.each(g)},()=>{f===0&&this.opt.noMatch(u),i[s-1]===u?this.opt.done(n):d(i[i.indexOf(u)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(i[0])}markRanges(e,o){this.opt=o;let n=0,a=this.checkRanges(e);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,(i,s,l,d)=>this.opt.filter(i,s,l,d),(i,s)=>{n++,this.opt.each(i,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 a=tt.matches(n,o),i=this.matchesExclude(n);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Fn(r){let e=new dr(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 Od=Fn,Ji=t.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Ed=L`
|
|
1
|
+
"use strict";(()=>{var Ic=Object.create;var lo=Object.defineProperty;var Pc=Object.getOwnPropertyDescriptor;var _c=Object.getOwnPropertyNames;var Tc=Object.getPrototypeOf,Lc=Object.prototype.hasOwnProperty;var kc=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),M=(r,e)=>{for(var o in e)lo(r,o,{get:e[o],enumerable:!0})},Fc=(r,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of _c(e))!Lc.call(r,a)&&a!==o&&lo(r,a,{get:()=>e[a],enumerable:!(n=Pc(e,a))||n.enumerable});return r};var $c=(r,e,o)=>(o=r!=null?Ic(Tc(r)):{},Fc(e||!r||!r.__esModule?lo(o,"default",{value:r,enumerable:!0}):o,r));var Fs=kc((De,ks)=>{var no=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,ao=function(){function r(){this.fetch=!1,this.DOMException=no.DOMException}return r.prototype=no,new r}();(function(r){var e=function(o){var n=typeof r<"u"&&r||typeof self<"u"&&self||typeof global<"u"&&global||{},a={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 i(y){return y&&DataView.prototype.isPrototypeOf(y)}if(a.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(y){return y&&s.indexOf(Object.prototype.toString.call(y))>-1};function d(y){if(typeof y!="string"&&(y=String(y)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(y)||y==="")throw new TypeError('Invalid character in header field name: "'+y+'"');return y.toLowerCase()}function u(y){return typeof y!="string"&&(y=String(y)),y}function h(y){var x={next:function(){var N=y.shift();return{done:N===void 0,value:N}}};return a.iterable&&(x[Symbol.iterator]=function(){return x}),x}function f(y){this.map={},y instanceof f?y.forEach(function(x,N){this.append(N,x)},this):Array.isArray(y)?y.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):y&&Object.getOwnPropertyNames(y).forEach(function(x){this.append(x,y[x])},this)}f.prototype.append=function(y,x){y=d(y),x=u(x);var N=this.map[y];this.map[y]=N?N+", "+x:x},f.prototype.delete=function(y){delete this.map[d(y)]},f.prototype.get=function(y){return y=d(y),this.has(y)?this.map[y]:null},f.prototype.has=function(y){return this.map.hasOwnProperty(d(y))},f.prototype.set=function(y,x){this.map[d(y)]=u(x)},f.prototype.forEach=function(y,x){for(var N in this.map)this.map.hasOwnProperty(N)&&y.call(x,this.map[N],N,this)},f.prototype.keys=function(){var y=[];return this.forEach(function(x,N){y.push(N)}),h(y)},f.prototype.values=function(){var y=[];return this.forEach(function(x){y.push(x)}),h(y)},f.prototype.entries=function(){var y=[];return this.forEach(function(x,N){y.push([N,x])}),h(y)},a.iterable&&(f.prototype[Symbol.iterator]=f.prototype.entries);function g(y){if(!y._noBody){if(y.bodyUsed)return Promise.reject(new TypeError("Already read"));y.bodyUsed=!0}}function m(y){return new Promise(function(x,N){y.onload=function(){x(y.result)},y.onerror=function(){N(y.error)}})}function b(y){var x=new FileReader,N=m(x);return x.readAsArrayBuffer(y),N}function S(y){var x=new FileReader,N=m(x),L=/charset=([A-Za-z0-9_-]+)/.exec(y.type),U=L?L[1]:"utf-8";return x.readAsText(y,U),N}function C(y){for(var x=new Uint8Array(y),N=new Array(x.length),L=0;L<x.length;L++)N[L]=String.fromCharCode(x[L]);return N.join("")}function w(y){if(y.slice)return y.slice(0);var x=new Uint8Array(y.byteLength);return x.set(new Uint8Array(y)),x.buffer}function A(){return this.bodyUsed=!1,this._initBody=function(y){this.bodyUsed=this.bodyUsed,this._bodyInit=y,y?typeof y=="string"?this._bodyText=y:a.blob&&Blob.prototype.isPrototypeOf(y)?this._bodyBlob=y:a.formData&&FormData.prototype.isPrototypeOf(y)?this._bodyFormData=y:a.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)?this._bodyText=y.toString():a.arrayBuffer&&a.blob&&i(y)?(this._bodyArrayBuffer=w(y.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(y)||l(y))?this._bodyArrayBuffer=w(y):this._bodyText=y=Object.prototype.toString.call(y):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof y=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):a.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a.blob&&(this.blob=function(){var y=g(this);if(y)return y;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 y=g(this);return y||(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(a.blob)return this.blob().then(b);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var y=g(this);if(y)return y;if(this._bodyBlob)return S(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(C(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},a.formData&&(this.formData=function(){return this.text().then(R)}),this.json=function(){return this.text().then(JSON.parse)},this}var O=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function v(y){var x=y.toUpperCase();return O.indexOf(x)>-1?x:y}function E(y,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 N=x.body;if(y instanceof E){if(y.bodyUsed)throw new TypeError("Already read");this.url=y.url,this.credentials=y.credentials,x.headers||(this.headers=new f(y.headers)),this.method=y.method,this.mode=y.mode,this.signal=y.signal,!N&&y._bodyInit!=null&&(N=y._bodyInit,y.bodyUsed=!0)}else this.url=String(y);if(this.credentials=x.credentials||this.credentials||"same-origin",(x.headers||!this.headers)&&(this.headers=new f(x.headers)),this.method=v(x.method||this.method||"GET"),this.mode=x.mode||this.mode||null,this.signal=x.signal||this.signal||function(){if("AbortController"in n){var T=new AbortController;return T.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&N)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(N),(this.method==="GET"||this.method==="HEAD")&&(x.cache==="no-store"||x.cache==="no-cache")){var L=/([?&])_=[^&]*/;if(L.test(this.url))this.url=this.url.replace(L,"$1_="+new Date().getTime());else{var U=/\?/;this.url+=(U.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}E.prototype.clone=function(){return new E(this,{body:this._bodyInit})};function R(y){var x=new FormData;return y.trim().split("&").forEach(function(N){if(N){var L=N.split("="),U=L.shift().replace(/\+/g," "),T=L.join("=").replace(/\+/g," ");x.append(decodeURIComponent(U),decodeURIComponent(T))}}),x}function _(y){var x=new f,N=y.replace(/\r?\n[\t ]+/g," ");return N.split("\r").map(function(L){return L.indexOf(`
|
|
2
|
+
`)===0?L.substr(1,L.length):L}).forEach(function(L){var U=L.split(":"),T=U.shift().trim();if(T){var ie=U.join(":").trim();try{x.append(T,ie)}catch(kt){console.warn("Response "+kt.message)}}}),x}A.call(E.prototype);function F(y,x){if(!(this instanceof F))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(y)}A.call(F.prototype),F.prototype.clone=function(){return new F(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},F.error=function(){var y=new F(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var k=[301,302,303,307,308];F.redirect=function(y,x){if(k.indexOf(x)===-1)throw new RangeError("Invalid status code");return new F(null,{status:x,headers:{location:y}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(x,N){this.message=x,this.name=N;var L=Error(x);this.stack=L.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function I(y,x){return new Promise(function(N,L){var U=new E(y,x);if(U.signal&&U.signal.aborted)return L(new o.DOMException("Aborted","AbortError"));var T=new XMLHttpRequest;function ie(){T.abort()}T.onload=function(){var K={statusText:T.statusText,headers:_(T.getAllResponseHeaders()||"")};U.url.indexOf("file://")===0&&(T.status<200||T.status>599)?K.status=200:K.status=T.status,K.url="responseURL"in T?T.responseURL:K.headers.get("X-Request-URL");var Me="response"in T?T.response:T.responseText;setTimeout(function(){N(new F(Me,K))},0)},T.onerror=function(){setTimeout(function(){L(new TypeError("Network request failed"))},0)},T.ontimeout=function(){setTimeout(function(){L(new TypeError("Network request timed out"))},0)},T.onabort=function(){setTimeout(function(){L(new o.DOMException("Aborted","AbortError"))},0)};function kt(K){try{return K===""&&n.location.href?n.location.href:K}catch{return K}}if(T.open(U.method,kt(U.url),!0),U.credentials==="include"?T.withCredentials=!0:U.credentials==="omit"&&(T.withCredentials=!1),"responseType"in T&&(a.blob?T.responseType="blob":a.arrayBuffer&&(T.responseType="arraybuffer")),x&&typeof x.headers=="object"&&!(x.headers instanceof f||n.Headers&&x.headers instanceof n.Headers)){var Ia=[];Object.getOwnPropertyNames(x.headers).forEach(function(K){Ia.push(d(K)),T.setRequestHeader(K,u(x.headers[K]))}),U.headers.forEach(function(K,Me){Ia.indexOf(Me)===-1&&T.setRequestHeader(Me,K)})}else U.headers.forEach(function(K,Me){T.setRequestHeader(Me,K)});U.signal&&(U.signal.addEventListener("abort",ie),T.onreadystatechange=function(){T.readyState===4&&U.signal.removeEventListener("abort",ie)}),T.send(typeof U._bodyInit>"u"?null:U._bodyInit)})}return I.polyfill=!0,n.fetch||(n.fetch=I,n.Headers=f,n.Request=E,n.Response=F),o.Headers=f,o.Request=E,o.Response=F,o.fetch=I,o}({})})(ao);ao.fetch.ponyfill=!0;delete ao.fetch.polyfill;var Et=no.fetch?no:ao;De=Et.fetch;De.default=Et.fetch;De.fetch=Et.fetch;De.Headers=Et.Headers;De.Request=Et.Request;De.Response=Et.Response;ks.exports=De});if(!ShadowRoot.prototype.createElement){let r=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,n=window.customElements,a=new WeakMap,i=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(O,v){if(O=O.toLowerCase(),this._getDefinition(O)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${O}" has already been used with this registry`);if(this._definitionsByClass.get(v)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let E=v.prototype.attributeChangedCallback,R=new Set(v.observedAttributes||[]);g(v,R,E);let _={elementClass:v,connectedCallback:v.prototype.connectedCallback,disconnectedCallback:v.prototype.disconnectedCallback,adoptedCallback:v.prototype.adoptedCallback,attributeChangedCallback:E,formAssociated:v.formAssociated,formAssociatedCallback:v.prototype.formAssociatedCallback,formDisabledCallback:v.prototype.formDisabledCallback,formResetCallback:v.prototype.formResetCallback,formStateRestoreCallback:v.prototype.formStateRestoreCallback,observedAttributes:R};this._definitionsByTag.set(O,_),this._definitionsByClass.set(v,_);let F=o.call(n,O);F||(F=f(O),e.call(n,O,F)),this===window.customElements&&(s.set(v,_),_.standInClass=F);let k=this._awaitingUpgrade.get(O);if(k){this._awaitingUpgrade.delete(O);for(let y of k)i.delete(y),b(y,_,!0)}let I=this._whenDefinedPromises.get(O);return I!==void 0&&(I.resolve(v),this._whenDefinedPromises.delete(O)),v}upgrade(){C.push(this),n.upgrade.apply(n,arguments),C.pop()}get(O){return this._definitionsByTag.get(O)?.elementClass}_getDefinition(O){return this._definitionsByTag.get(O)}whenDefined(O){let v=this._getDefinition(O);if(v!==void 0)return Promise.resolve(v.elementClass);let E=this._whenDefinedPromises.get(O);return E===void 0&&(E={},E.promise=new Promise(R=>E.resolve=R),this._whenDefinedPromises.set(O,E)),E.promise}_upgradeWhenDefined(O,v,E){let R=this._awaitingUpgrade.get(v);R||this._awaitingUpgrade.set(v,R=new Set),E?R.add(O):R.delete(O)}};let d;window.HTMLElement=function(){let v=d;if(v)return d=void 0,v;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 v=Reflect.construct(r,[],E.standInClass),Object.setPrototypeOf(v,this.constructor.prototype),a.set(v,E),v},window.HTMLElement.prototype=r.prototype;let u=O=>O===document||O instanceof ShadowRoot,h=O=>{let v=O.getRootNode();if(!u(v)){let E=C[C.length-1];if(E instanceof CustomElementRegistry)return E;v=E.getRootNode(),u(v)||(v=l.get(v)?.getRootNode()||document)}return v.customElements},f=O=>class{static get formAssociated(){return!0}constructor(){let E=Reflect.construct(r,[],this.constructor);Object.setPrototypeOf(E,HTMLElement.prototype);let R=h(E)||window.customElements,_=R._getDefinition(O);return _?b(E,_):i.set(E,R),E}connectedCallback(){let E=a.get(this);E?E.connectedCallback&&E.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,O,!0)}disconnectedCallback(){let E=a.get(this);E?E.disconnectedCallback&&E.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,O,!1)}adoptedCallback(){a.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let E=a.get(this);E&&E.formAssociated&&E?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let E=a.get(this);E?.formAssociated&&E?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let E=a.get(this);E?.formAssociated&&E?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let E=a.get(this);E?.formAssociated&&E?.formStateRestoreCallback?.apply(this,arguments)}},g=(O,v,E)=>{if(v.size===0||E===void 0)return;let R=O.prototype.setAttribute;R&&(O.prototype.setAttribute=function(k,I){let y=k.toLowerCase();if(v.has(y)){let x=this.getAttribute(y);R.call(this,y,I),E.call(this,y,x,I)}else R.call(this,y,I)});let _=O.prototype.removeAttribute;_&&(O.prototype.removeAttribute=function(k){let I=k.toLowerCase();if(v.has(I)){let y=this.getAttribute(I);_.call(this,I),E.call(this,I,y,null)}else _.call(this,I)});let F=O.prototype.toggleAttribute;F&&(O.prototype.toggleAttribute=function(k,I){let y=k.toLowerCase();if(v.has(y)){let x=this.getAttribute(y);F.call(this,y,I);let N=this.getAttribute(y);E.call(this,y,x,N)}else F.call(this,y,I)})},m=O=>{let v=Object.getPrototypeOf(O);if(v!==window.HTMLElement)return v===r?Object.setPrototypeOf(O,window.HTMLElement):m(v)},b=(O,v,E=!1)=>{Object.setPrototypeOf(O,v.elementClass.prototype),a.set(O,v),d=O;try{new v.elementClass}catch{m(v.elementClass),new v.elementClass}v.attributeChangedCallback&&v.observedAttributes.forEach(R=>{O.hasAttribute(R)&&v.attributeChangedCallback.call(O,R,null,O.getAttribute(R))}),E&&v.connectedCallback&&O.isConnected&&v.connectedCallback.call(O)},S=Element.prototype.attachShadow;Element.prototype.attachShadow=function(O){let v=S.apply(this,arguments);return O.customElements&&(v.customElements=O.customElements),v};let C=[document],w=(O,v,E=void 0)=>{let R=(E?Object.getPrototypeOf(E):O.prototype)[v];O.prototype[v]=function(){C.push(this);let _=R.apply(E||this,arguments);return _!==void 0&&l.set(_,this),C.pop(),_}};w(ShadowRoot,"createElement",document),w(ShadowRoot,"importNode",document),w(Element,"insertAdjacentHTML");let A=(O,v)=>{let E=Object.getOwnPropertyDescriptor(O.prototype,v);Object.defineProperty(O.prototype,v,{...E,set(R){C.push(this),E.set.call(this,R),C.pop()}})};if(A(Element,"innerHTML"),A(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let O=new WeakMap,v=HTMLElement.prototype.attachInternals,E=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...k){let I=v.call(this,...k);return O.set(I,this),I},E.forEach(k=>{let I=window.ElementInternals.prototype,y=I[k];I[k]=function(...x){let N=O.get(this);if(a.get(N).formAssociated===!0)return y?.call(this,...x);throw new DOMException(`Failed to execute ${y} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class R extends Array{constructor(I){super(...I),this._elements=I}get value(){return this._elements.find(I=>I.checked===!0)?.value||""}}class _{constructor(I){let y=new Map;I.forEach((x,N)=>{let L=x.getAttribute("name"),U=y.get(L)||[];this[+N]=x,U.push(x),y.set(L,U)}),this.length=I.length,y.forEach((x,N)=>{x&&(x.length===1?this[N]=x[0]:this[N]=new R(x))})}namedItem(I){return this[I]}}let F=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let k=F.get.call(this,[]),I=[];for(let y of k){let x=a.get(y);(!x||x.formAssociated===!0)&&I.push(y)}return new _(I)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(o,n,a)=>{if(n!==null)try{e.bind(window.customElements)(o,n,a)}catch(i){console.info(o,n,a,i)}}}var Eo={};M(Eo,{CSSResult:()=>ct,LitElement:()=>ge,ReactiveElement:()=>se,_$LE:()=>il,_$LH:()=>ol,adoptStyles:()=>Lr,css:()=>$,defaultConverter:()=>kr,getCompatibleStyle:()=>Ht,html:()=>Zt,isServer:()=>Yu,noChange:()=>we,notEqual:()=>mo,nothing:()=>j,render:()=>Oo,supportsAdoptingStyleSheets:()=>Wt,svg:()=>rl,unsafeCSS:()=>Ge});var xr=globalThis,Sr=xr.ShadowRoot&&(xr.ShadyCSS===void 0||xr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,_a=Symbol(),Pa=new WeakMap,vr=class{constructor(e,o,n){if(this._$cssResult$=!0,n!==_a)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(Sr&&e===void 0){let n=o!==void 0&&o.length===1;n&&(e=Pa.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Pa.set(o,e))}return e}toString(){return this.cssText}},Ta=r=>new vr(typeof r=="string"?r:r+"",void 0,_a);var uo=(r,e)=>{if(Sr)r.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let n=document.createElement("style"),a=xr.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,r.appendChild(n)}},Or=Sr?r=>r:r=>r instanceof CSSStyleSheet?(e=>{let o="";for(let n of e.cssRules)o+=n.cssText;return Ta(o)})(r):r;var{is:Uc,defineProperty:Dc,getOwnPropertyDescriptor:Mc,getOwnPropertyNames:Bc,getOwnPropertySymbols:Wc,getPrototypeOf:Hc}=Object,Er=globalThis,La=Er.trustedTypes,zc=La?La.emptyScript:"",jc=Er.reactiveElementPolyfillSupport,Ft=(r,e)=>r,$t={toAttribute(r,e){switch(e){case Boolean:r=r?zc: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}},Cr=(r,e)=>!Uc(r,e),ka={attribute:!0,type:String,converter:$t,reflect:!1,hasChanged:Cr};Symbol.metadata??=Symbol("metadata"),Er.litPropertyMetadata??=new WeakMap;var Be=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=ka){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(e,o),!o.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(e,n,o);a!==void 0&&Dc(this.prototype,e,a)}}static getPropertyDescriptor(e,o,n){let{get:a,set:i}=Mc(this.prototype,e)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return a?.call(this)},set(s){let l=a?.call(this);i.call(this,s),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??ka}static _$Ei(){if(this.hasOwnProperty(Ft("elementProperties")))return;let e=Hc(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=[...Bc(o),...Wc(o)];for(let a of n)this.createProperty(a,o[a])}let e=this[Symbol.metadata];if(e!==null){let o=litPropertyMetadata.get(e);if(o!==void 0)for(let[n,a]of o)this.elementProperties.set(n,a)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let a=this._$Eu(o,n);a!==void 0&&this._$Eh.set(a,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let o=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let a of n)o.unshift(Or(a))}else e!==void 0&&o.push(Or(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 uo(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,o,n){this._$AK(e,n)}_$EO(e,o){let n=this.constructor.elementProperties.get(e),a=this.constructor._$Eu(e,n);if(a!==void 0&&n.reflect===!0){let i=(n.converter?.toAttribute!==void 0?n.converter:$t).toAttribute(o,n.type);this._$Em=e,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(e,o){let n=this.constructor,a=n._$Eh.get(e);if(a!==void 0&&this._$Em!==a){let i=n.getPropertyOptions(a),s=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:$t;this._$Em=a,this[a]=s.fromAttribute(o,i.type),this._$Em=null}}requestUpdate(e,o,n,a=!1,i){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Cr)(a?i:this[e],o))return;this.C(e,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,o,n){this._$AL.has(e)||this._$AL.set(e,o),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[a,i]of n)i.wrapped!==!0||this._$AL.has(a)||this[a]===void 0||this.C(a,this[a],i)}let e=!1,o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(o)}willUpdate(e){}_$AE(e){this._$E_?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(o=>this._$EO(o,this[o])),this._$ET()}updated(e){}firstUpdated(e){}};Be.elementStyles=[],Be.shadowRootOptions={mode:"open"},Be[Ft("elementProperties")]=new Map,Be[Ft("finalized")]=new Map,jc?.({ReactiveElement:Be}),(Er.reactiveElementVersions??=[]).push("2.0.2");var fo=globalThis,wr=fo.trustedTypes,Fa=wr?wr.createPolicy("lit-html",{createHTML:r=>r}):void 0,ho="$lit$",he=`lit$${(Math.random()+"").slice(9)}$`,yo="?"+he,Vc=`<${yo}>`,ze=document,Ar=()=>ze.createComment(""),Dt=r=>r===null||typeof r!="object"&&typeof r!="function",Wa=Array.isArray,Ha=r=>Wa(r)||typeof r?.[Symbol.iterator]=="function",po=`[
|
|
3
|
+
\f\r]`,Ut=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,$a=/-->/g,Ua=/>/g,We=RegExp(`>|${po}(?:([^\\s"'>=/]+)(${po}*=${po}*(?:[^
|
|
4
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Da=/'/g,Ma=/"/g,za=/^(?:script|style|textarea|title)$/i,ja=r=>(e,...o)=>({_$litType$:r,strings:e,values:o}),Va=ja(1),Ga=ja(2),X=Symbol.for("lit-noChange"),z=Symbol.for("lit-nothing"),Ba=new WeakMap,He=ze.createTreeWalker(ze,129);function Ka(r,e){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return Fa!==void 0?Fa.createHTML(e):e}var Za=(r,e)=>{let o=r.length-1,n=[],a,i=e===2?"<svg>":"",s=Ut;for(let l=0;l<o;l++){let d=r[l],u,h,f=-1,g=0;for(;g<d.length&&(s.lastIndex=g,h=s.exec(d),h!==null);)g=s.lastIndex,s===Ut?h[1]==="!--"?s=$a:h[1]!==void 0?s=Ua:h[2]!==void 0?(za.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=We):h[3]!==void 0&&(s=We):s===We?h[0]===">"?(s=a??Ut,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?We:h[3]==='"'?Ma:Da):s===Ma||s===Da?s=We:s===$a||s===Ua?s=Ut:(s=We,a=void 0);let m=s===We&&r[l+1].startsWith("/>")?" ":"";i+=s===Ut?d+Vc:f>=0?(n.push(u),d.slice(0,f)+ho+d.slice(f)+he+m):d+he+(f===-2?l:m)}return[Ka(r,i+(r[o]||"<?>")+(e===2?"</svg>":"")),n]},Mt=class r{constructor({strings:e,_$litType$:o},n){let a;this.parts=[];let i=0,s=0,l=e.length-1,d=this.parts,[u,h]=Za(e,o);if(this.el=r.createElement(u,n),He.currentNode=this.el.content,o===2){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(a=He.nextNode())!==null&&d.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let f of a.getAttributeNames())if(f.endsWith(ho)){let g=h[s++],m=a.getAttribute(f).split(he),b=/([.?@])?(.*)/.exec(g);d.push({type:1,index:i,name:b[2],strings:m,ctor:b[1]==="."?Nr:b[1]==="?"?Ir:b[1]==="@"?Pr:Ve}),a.removeAttribute(f)}else f.startsWith(he)&&(d.push({type:6,index:i}),a.removeAttribute(f));if(za.test(a.tagName)){let f=a.textContent.split(he),g=f.length-1;if(g>0){a.textContent=wr?wr.emptyScript:"";for(let m=0;m<g;m++)a.append(f[m],Ar()),He.nextNode(),d.push({type:2,index:++i});a.append(f[g],Ar())}}}else if(a.nodeType===8)if(a.data===yo)d.push({type:2,index:i});else{let f=-1;for(;(f=a.data.indexOf(he,f+1))!==-1;)d.push({type:7,index:i}),f+=he.length-1}i++}}static createElement(e,o){let n=ze.createElement("template");return n.innerHTML=e,n}};function je(r,e,o=r,n){if(e===X)return e;let a=n!==void 0?o._$Co?.[n]:o._$Cl,i=Dt(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(r),a._$AT(r,o,n)),n!==void 0?(o._$Co??=[])[n]=a:o._$Cl=a),a!==void 0&&(e=je(r,a._$AS(r,e.values),a,n)),e}var Rr=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:n}=this._$AD,a=(e?.creationScope??ze).importNode(o,!0);He.currentNode=a;let i=He.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let u;d.type===2?u=new Bt(i,i.nextSibling,this,e):d.type===1?u=new d.ctor(i,d.name,d.strings,this,e):d.type===6&&(u=new _r(i,this,e)),this._$AV.push(u),d=n[++l]}s!==d?.index&&(i=He.nextNode(),s++)}return He.currentNode=ze,a}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},Bt=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,a){this.type=2,this._$AH=z,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=je(this,e,o),Dt(e)?e===z||e==null||e===""?(this._$AH!==z&&this._$AR(),this._$AH=z):e!==this._$AH&&e!==X&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Ha(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&&Dt(this._$AH)?this._$AA.nextSibling.data=e:this.$(ze.createTextNode(e)),this._$AH=e}g(e){let{values:o,_$litType$:n}=e,a=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Mt.createElement(Ka(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let i=new Rr(a,this),s=i.u(this.options);i.p(o),this.$(s),this._$AH=i}}_$AC(e){let o=Ba.get(e.strings);return o===void 0&&Ba.set(e.strings,o=new Mt(e)),o}T(e){Wa(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let i of e)a===o.length?o.push(n=new r(this.k(Ar()),this.k(Ar()),this,this.options)):n=o[a],n._$AI(i),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Ve=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,a,i){this.type=1,this._$AH=z,this._$AN=void 0,this.element=e,this.name=o,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=z}_$AI(e,o=this,n,a){let i=this.strings,s=!1;if(i===void 0)e=je(this,e,o,0),s=!Dt(e)||e!==this._$AH&&e!==X,s&&(this._$AH=e);else{let l=e,d,u;for(e=i[0],d=0;d<i.length-1;d++)u=je(this,l[n+d],o,d),u===X&&(u=this._$AH[d]),s||=!Dt(u)||u!==this._$AH[d],u===z?e=z:e!==z&&(e+=(u??"")+i[d+1]),this._$AH[d]=u}s&&!a&&this.O(e)}O(e){e===z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Nr=class extends Ve{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===z?void 0:e}},Ir=class extends Ve{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==z)}},Pr=class extends Ve{constructor(e,o,n,a,i){super(e,o,n,a,i),this.type=5}_$AI(e,o=this){if((e=je(this,e,o,0)??z)===X)return;let n=this._$AH,a=e===z&&n!==z||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==z&&(n===z||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},_r=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){je(this,e)}},qa={j:ho,P:he,A:yo,C:1,M:Za,L:Rr,R:Ha,V:je,D:Bt,I:Ve,H:Ir,N:Pr,U:Nr,B:_r},Gc=fo.litHtmlPolyfillSupport;Gc?.(Mt,Bt),(fo.litHtmlVersions??=[]).push("3.1.0");var Tr=globalThis,Wt=Tr.ShadowRoot&&(Tr.ShadyCSS===void 0||Tr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,go=Symbol(),Ya=new WeakMap,ct=class{constructor(e,o,n){if(this._$cssResult$=!0,n!==go)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=Ya.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Ya.set(o,e))}return e}toString(){return this.cssText}},Ge=r=>new ct(typeof r=="string"?r:r+"",void 0,go),$=(r,...e)=>{let o=r.length===1?r[0]:e.reduce((n,a,i)=>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.")})(a)+r[i+1],r[0]);return new ct(o,r,go)},Lr=(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"),a=Tr.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,r.appendChild(n)}},Ht=Wt?r=>r:r=>r instanceof CSSStyleSheet?(e=>{let o="";for(let n of e.cssRules)o+=n.cssText;return Ge(o)})(r):r;var{is:Kc,defineProperty:Zc,getOwnPropertyDescriptor:qc,getOwnPropertyNames:Yc,getOwnPropertySymbols:Jc,getPrototypeOf:Xc}=Object,Fr=globalThis,Ja=Fr.trustedTypes,Qc=Ja?Ja.emptyScript:"",el=Fr.reactiveElementPolyfillSupport,zt=(r,e)=>r,kr={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}},mo=(r,e)=>!Kc(r,e),Xa={attribute:!0,type:String,converter:kr,reflect:!1,hasChanged:mo};Symbol.metadata??=Symbol("metadata"),Fr.litPropertyMetadata??=new WeakMap;var se=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=Xa){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(e,o),!o.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(e,n,o);a!==void 0&&Zc(this.prototype,e,a)}}static getPropertyDescriptor(e,o,n){let{get:a,set:i}=qc(this.prototype,e)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return a?.call(this)},set(s){let l=a?.call(this);i.call(this,s),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Xa}static _$Ei(){if(this.hasOwnProperty(zt("elementProperties")))return;let e=Xc(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(zt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(zt("properties"))){let o=this.properties,n=[...Yc(o),...Jc(o)];for(let a of n)this.createProperty(a,o[a])}let e=this[Symbol.metadata];if(e!==null){let o=litPropertyMetadata.get(e);if(o!==void 0)for(let[n,a]of o)this.elementProperties.set(n,a)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let a=this._$Eu(o,n);a!==void 0&&this._$Eh.set(a,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let o=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let a of n)o.unshift(Ht(a))}else e!==void 0&&o.push(Ht(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 Lr(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,o,n){this._$AK(e,n)}_$EO(e,o){let n=this.constructor.elementProperties.get(e),a=this.constructor._$Eu(e,n);if(a!==void 0&&n.reflect===!0){let i=(n.converter?.toAttribute!==void 0?n.converter:kr).toAttribute(o,n.type);this._$Em=e,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(e,o){let n=this.constructor,a=n._$Eh.get(e);if(a!==void 0&&this._$Em!==a){let i=n.getPropertyOptions(a),s=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:kr;this._$Em=a,this[a]=s.fromAttribute(o,i.type),this._$Em=null}}requestUpdate(e,o,n,a=!1,i){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??mo)(a?i:this[e],o))return;this.C(e,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,o,n){this._$AL.has(e)||this._$AL.set(e,o),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[a,i]of n)i.wrapped!==!0||this._$AL.has(a)||this[a]===void 0||this.C(a,this[a],i)}let e=!1,o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(o)}willUpdate(e){}_$AE(e){this._$E_?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(o=>this._$EO(o,this[o])),this._$ET()}updated(e){}firstUpdated(e){}};se.elementStyles=[],se.shadowRootOptions={mode:"open"},se[zt("elementProperties")]=new Map,se[zt("finalized")]=new Map,el?.({ReactiveElement:se}),(Fr.reactiveElementVersions??=[]).push("2.0.2");var xo=globalThis,$r=xo.trustedTypes,Qa=$r?$r.createPolicy("lit-html",{createHTML:r=>r}):void 0,vo="$lit$",ye=`lit$${(Math.random()+"").slice(9)}$`,So="?"+ye,tl=`<${So}>`,qe=document,Vt=()=>qe.createComment(""),Gt=r=>r===null||typeof r!="object"&&typeof r!="function",ai=Array.isArray,ii=r=>ai(r)||typeof r?.[Symbol.iterator]=="function",bo=`[
|
|
5
|
+
\f\r]`,jt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ei=/-->/g,ti=/>/g,Ke=RegExp(`>|${bo}(?:([^\\s"'>=/]+)(${bo}*=${bo}*(?:[^
|
|
6
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),ri=/'/g,oi=/"/g,si=/^(?:script|style|textarea|title)$/i,ci=r=>(e,...o)=>({_$litType$:r,strings:e,values:o}),Zt=ci(1),rl=ci(2),we=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),ni=new WeakMap,Ze=qe.createTreeWalker(qe,129);function li(r,e){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return Qa!==void 0?Qa.createHTML(e):e}var di=(r,e)=>{let o=r.length-1,n=[],a,i=e===2?"<svg>":"",s=jt;for(let l=0;l<o;l++){let d=r[l],u,h,f=-1,g=0;for(;g<d.length&&(s.lastIndex=g,h=s.exec(d),h!==null);)g=s.lastIndex,s===jt?h[1]==="!--"?s=ei:h[1]!==void 0?s=ti:h[2]!==void 0?(si.test(h[2])&&(a=RegExp("</"+h[2],"g")),s=Ke):h[3]!==void 0&&(s=Ke):s===Ke?h[0]===">"?(s=a??jt,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?Ke:h[3]==='"'?oi:ri):s===oi||s===ri?s=Ke:s===ei||s===ti?s=jt:(s=Ke,a=void 0);let m=s===Ke&&r[l+1].startsWith("/>")?" ":"";i+=s===jt?d+tl:f>=0?(n.push(u),d.slice(0,f)+vo+d.slice(f)+ye+m):d+ye+(f===-2?l:m)}return[li(r,i+(r[o]||"<?>")+(e===2?"</svg>":"")),n]},Kt=class r{constructor({strings:e,_$litType$:o},n){let a;this.parts=[];let i=0,s=0,l=e.length-1,d=this.parts,[u,h]=di(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(;(a=Ze.nextNode())!==null&&d.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let f of a.getAttributeNames())if(f.endsWith(vo)){let g=h[s++],m=a.getAttribute(f).split(ye),b=/([.?@])?(.*)/.exec(g);d.push({type:1,index:i,name:b[2],strings:m,ctor:b[1]==="."?Dr:b[1]==="?"?Mr:b[1]==="@"?Br:Je}),a.removeAttribute(f)}else f.startsWith(ye)&&(d.push({type:6,index:i}),a.removeAttribute(f));if(si.test(a.tagName)){let f=a.textContent.split(ye),g=f.length-1;if(g>0){a.textContent=$r?$r.emptyScript:"";for(let m=0;m<g;m++)a.append(f[m],Vt()),Ze.nextNode(),d.push({type:2,index:++i});a.append(f[g],Vt())}}}else if(a.nodeType===8)if(a.data===So)d.push({type:2,index:i});else{let f=-1;for(;(f=a.data.indexOf(ye,f+1))!==-1;)d.push({type:7,index:i}),f+=ye.length-1}i++}}static createElement(e,o){let n=qe.createElement("template");return n.innerHTML=e,n}};function Ye(r,e,o=r,n){if(e===we)return e;let a=n!==void 0?o._$Co?.[n]:o._$Cl,i=Gt(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(r),a._$AT(r,o,n)),n!==void 0?(o._$Co??=[])[n]=a:o._$Cl=a),a!==void 0&&(e=Ye(r,a._$AS(r,e.values),a,n)),e}var Ur=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:n}=this._$AD,a=(e?.creationScope??qe).importNode(o,!0);Ze.currentNode=a;let i=Ze.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let u;d.type===2?u=new lt(i,i.nextSibling,this,e):d.type===1?u=new d.ctor(i,d.name,d.strings,this,e):d.type===6&&(u=new Wr(i,this,e)),this._$AV.push(u),d=n[++l]}s!==d?.index&&(i=Ze.nextNode(),s++)}return Ze.currentNode=qe,a}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},lt=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,a){this.type=2,this._$AH=j,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=Ye(this,e,o),Gt(e)?e===j||e==null||e===""?(this._$AH!==j&&this._$AR(),this._$AH=j):e!==this._$AH&&e!==we&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):ii(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!==j&&Gt(this._$AH)?this._$AA.nextSibling.data=e:this.$(qe.createTextNode(e)),this._$AH=e}g(e){let{values:o,_$litType$:n}=e,a=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Kt.createElement(li(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let i=new Ur(a,this),s=i.u(this.options);i.p(o),this.$(s),this._$AH=i}}_$AC(e){let o=ni.get(e.strings);return o===void 0&&ni.set(e.strings,o=new Kt(e)),o}T(e){ai(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let i of e)a===o.length?o.push(n=new r(this.k(Vt()),this.k(Vt()),this,this.options)):n=o[a],n._$AI(i),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Je=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,a,i){this.type=1,this._$AH=j,this._$AN=void 0,this.element=e,this.name=o,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=j}_$AI(e,o=this,n,a){let i=this.strings,s=!1;if(i===void 0)e=Ye(this,e,o,0),s=!Gt(e)||e!==this._$AH&&e!==we,s&&(this._$AH=e);else{let l=e,d,u;for(e=i[0],d=0;d<i.length-1;d++)u=Ye(this,l[n+d],o,d),u===we&&(u=this._$AH[d]),s||=!Gt(u)||u!==this._$AH[d],u===j?e=j:e!==j&&(e+=(u??"")+i[d+1]),this._$AH[d]=u}s&&!a&&this.O(e)}O(e){e===j?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Dr=class extends Je{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===j?void 0:e}},Mr=class extends Je{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==j)}},Br=class extends Je{constructor(e,o,n,a,i){super(e,o,n,a,i),this.type=5}_$AI(e,o=this){if((e=Ye(this,e,o,0)??j)===we)return;let n=this._$AH,a=e===j&&n!==j||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==j&&(n===j||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Wr=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)}},ol={j:vo,P:ye,A:So,C:1,M:di,L:Ur,R:ii,V:Ye,D:lt,I:Je,H:Mr,N:Br,U:Dr,B:Wr},nl=xo.litHtmlPolyfillSupport;nl?.(Kt,lt),(xo.litHtmlVersions??=[]).push("3.1.0");var Oo=(r,e,o)=>{let n=o?.renderBefore??e,a=n._$litPart$;if(a===void 0){let i=o?.renderBefore??null;n._$litPart$=a=new lt(e.insertBefore(Vt(),i),i,void 0,o??{})}return a._$AI(r),a};var ge=class extends se{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=Oo(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return we}};ge._$litElement$=!0,ge.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ge});var al=globalThis.litElementPolyfillSupport;al?.({LitElement:ge});var il={_$AK:(r,e,o)=>{r._$AK(e,o)},_$AL:r=>r._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Yu=!1;var Co={};M(Co,{customElement:()=>sl,eventOptions:()=>ll,property:()=>D,query:()=>Ae,queryAll:()=>ul,queryAssignedElements:()=>fl,queryAssignedNodes:()=>hl,queryAsync:()=>pl,standardProperty:()=>ui,state:()=>ce});var sl=r=>(e,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(r,e)}):customElements.define(r,e)};var cl={attribute:!0,type:String,converter:$t,reflect:!1,hasChanged:Cr},ui=(r=cl,e,o)=>{let{kind:n,metadata:a}=o,i=globalThis.litPropertyMetadata.get(a);if(i===void 0&&globalThis.litPropertyMetadata.set(a,i=new Map),i.set(o.name,r),n==="accessor"){let{name:s}=o;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,d,r)},init(l){return l!==void 0&&this.C(s,void 0,r),l}}}if(n==="setter"){let{name:s}=o;return function(l){let d=this[s];e.call(this,l),this.requestUpdate(s,d,r)}}throw Error("Unsupported decorator location: "+n)};function D(r){return(e,o)=>typeof o=="object"?ui(r,e,o):((n,a,i)=>{let s=a.hasOwnProperty(i);return a.constructor.createProperty(i,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(a,i):void 0})(r,e,o)}function ce(r){return D({...r,state:!0,attribute:!1})}function ll(r){return(e,o)=>{let n=typeof e=="function"?e:e[o];Object.assign(n,r)}}var oe=(r,e,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(r,e,o),o);function Ae(r,e){return(o,n,a)=>{let i=s=>s.renderRoot?.querySelector(r)??null;if(e){let{get:s,set:l}=typeof n=="object"?o:a??(()=>{let d=Symbol();return{get(){return this[d]},set(u){this[d]=u}}})();return oe(o,n,{get(){let d=s.call(this);return d===void 0&&(d=i(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return oe(o,n,{get(){return i(this)}})}}var dl;function ul(r){return(e,o)=>oe(e,o,{get(){return(this.renderRoot??(dl??=document.createDocumentFragment())).querySelectorAll(r)}})}function pl(r){return(e,o)=>oe(e,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(r)??null}})}function fl(r){return(e,o)=>{let{slot:n,selector:a}=r??{},i="slot"+(n?`[name=${n}]`:":not([name])");return oe(e,o,{get(){let s=this.renderRoot?.querySelector(i),l=s?.assignedElements(r)??[];return a===void 0?l:l.filter(d=>d.matches(a))}})}}function hl(r){return(e,o)=>{let{slot:n}=r??{},a="slot"+(n?`[name=${n}]`:":not([name])");return oe(e,o,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(r)??[]}})}}var wo={};M(wo,{repeat:()=>ml});var Re={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Ne=r=>(...e)=>({_$litDirective$:r,values:e}),le=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:yl}=qa;var pi=()=>document.createComment(""),dt=(r,e,o)=>{let n=r._$AA.parentNode,a=e===void 0?r._$AB:e._$AA;if(o===void 0){let i=n.insertBefore(pi(),a),s=n.insertBefore(pi(),a);o=new yl(i,s,r,r.options)}else{let i=o._$AB.nextSibling,s=o._$AM,l=s!==r;if(l){let d;o._$AQ?.(r),o._$AM=r,o._$AP!==void 0&&(d=r._$AU)!==s._$AU&&o._$AP(d)}if(i!==a||l){let d=o._$AA;for(;d!==i;){let u=d.nextSibling;n.insertBefore(d,a),d=u}}}return o},Ie=(r,e,o=r)=>(r._$AI(e,o),r),gl={},fi=(r,e=gl)=>r._$AH=e,hi=r=>r._$AH,Hr=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 yi=(r,e,o)=>{let n=new Map;for(let a=e;a<=o;a++)n.set(r[a],a);return n},ml=Ne(class extends le{constructor(r){if(super(r),r.type!==Re.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 a=[],i=[],s=0;for(let l of r)a[s]=n?n(l,s):s,i[s]=o(l,s),s++;return{values:i,keys:a}}render(r,e,o){return this.ht(r,e,o).values}update(r,[e,o,n]){let a=hi(r),{values:i,keys:s}=this.ht(e,o,n);if(!Array.isArray(a))return this.dt=s,i;let l=this.dt??=[],d=[],u,h,f=0,g=a.length-1,m=0,b=i.length-1;for(;f<=g&&m<=b;)if(a[f]===null)f++;else if(a[g]===null)g--;else if(l[f]===s[m])d[m]=Ie(a[f],i[m]),f++,m++;else if(l[g]===s[b])d[b]=Ie(a[g],i[b]),g--,b--;else if(l[f]===s[b])d[b]=Ie(a[f],i[b]),dt(r,d[b+1],a[f]),f++,b--;else if(l[g]===s[m])d[m]=Ie(a[g],i[m]),dt(r,a[f],a[g]),g--,m++;else if(u===void 0&&(u=yi(s,m,b),h=yi(l,f,g)),u.has(l[f]))if(u.has(l[g])){let S=h.get(s[m]),C=S!==void 0?a[S]:null;if(C===null){let w=dt(r,a[f]);Ie(w,i[m]),d[m]=w}else d[m]=Ie(C,i[m]),dt(r,a[f],C),a[S]=null;m++}else Hr(a[g]),g--;else Hr(a[f]),f++;for(;m<=b;){let S=dt(r,d[b+1]);Ie(S,i[m]),d[m++]=S}for(;f<=g;){let S=a[f++];S!==null&&Hr(S)}return this.dt=s,fi(r,d),X}});var Ao={};M(Ao,{classMap:()=>qt});var qt=Ne(class extends le{constructor(r){if(super(r),r.type!==Re.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 a=!!e[n];a===this.it.has(n)||this.st?.has(n)||(a?(o.add(n),this.it.add(n)):(o.remove(n),this.it.delete(n)))}return X}});var Ro={};M(Ro,{styleMap:()=>xl});var gi="important",bl=" !"+gi,xl=Ne(class extends le{constructor(r){if(super(r),r.type!==Re.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 a=e[n];if(a!=null){this.ut.add(n);let i=typeof a=="string"&&a.endsWith(bl);n.includes("-")||i?o.setProperty(n,i?a.slice(0,-11):a,i?gi:""):o[n]=a}}return X}});var No={};M(No,{UnsafeHTMLDirective:()=>ut,unsafeHTML:()=>vl});var ut=class extends le{constructor(e){if(super(e),this.et=z,e.type!==Re.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===z||e==null)return this.vt=void 0,this.et=e;if(e===X)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:[]}}};ut.directiveName="unsafeHTML",ut.resultType=1;var vl=Ne(ut);var $o={};M($o,{CacheRegistry:()=>Fo,ClearCacheEvent:()=>Jt});var Po={};M(Po,{CancelablePromise:()=>pt,CanceledPromiseError:()=>Yt,cancelable:()=>Io});var Yt=class extends Error{constructor(e,o,n){super(e),this.canceledPromiseResult=o,this.canceledPromiseError=n}},pt=class extends Promise{constructor(e){super((o,n)=>e(a=>{this.isCanceled?n(new Yt("Promise has been canceled",a)):o(a)},a=>{this.isCanceled?n(new Yt("Promise has been canceled",void 0,a)):n(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Io=r=>new pt((e,o)=>r.then(e).catch(o));var ko={};M(ko,{FtNotificationEvent:()=>_o,PostResizeEvent:()=>Lo,PreResizeEvent:()=>To,WithEventBus:()=>Xe,withEventBus:()=>mi});var _o=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},To=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Lo=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};function mi(r,e){return class extends r{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(o,n,a){this.eventBus.addEventListener(o,n,a)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,a){this.eventBus.removeEventListener(o,n,a)}}}var Xe=class extends mi(Object){};var Jt=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},Fo=class extends Xe{constructor(){super(...arguments),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(e=!0){let o=[];for(let n in this.content)this.clear(n,!1)!=null&&o.push(n);e&&o.length>0&&this.dispatchEvent(new Jt(o))}clear(e,o=!0){if(!this.finalContent.has(e))return this.forceClear(e),o&&this.dispatchEvent(new Jt([e])),e}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof pt&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,o){this.forceClear(e),this.register(e,async()=>o),this.content[e]=o}setFinal(e,o){this.forceClear(e),this.registerFinal(e,async()=>o),this.content[e]=o}async get(e,o,n){if(this.content[e]===void 0){if(o=o??this.loaders[e],o==null)throw new Error("Unknown cache key "+e);let a=Io(o());return this.content[e]=a,a.then(i=>(this.content[e]=i,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),i))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var Do={};M(Do,{ClusteringHelper:()=>Uo});var Uo=class r{constructor(e,o,n,a){this.allResults=e,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=a}static extractResultMetadata(e,o){var n,a;let i=((a=(n=e?.map)!==null&&n!==void 0?n:e?.document)!==null&&a!==void 0?a:e?.topic).metadata;return o==null?r.flattenMetadata(i):r.flattenMetadata(i.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=[],a=[];return e.hierarchicalValues.forEach(i=>{n.push(i.join(" > ")),i.length>2?a.push(`... > ${i[i.length-1]}`):a.push(i.join(" > "))}),{key:e.key,label:e.label,value:n.join(", "),displayValue:a.join(", ")}}else{let n=e.values.join(", ");return{key:e.key,label:e.label,value:n,displayValue:n}}}computeClustersItemsForMetadata(e,o,n="No value"){var a,i;let s=r.extractResultMetadata(this.selectedResult,e),l=(a=s?.label)!==null&&a!==void 0?a:(i=this.getMetadataDescriptor(e))===null||i===void 0?void 0:i.label;return this.allResults.map(u=>r.extractResultMetadata(u,e)).map(u=>u??{key:e,label:l,value:void 0,displayValue:n}).filter(u=>u.value!=s?.value).filter((u,h,f)=>f.findIndex(g=>g.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,a){if(e==null)return-1;if(o==null)return 1;let i=this.getMetadataDescriptor(n),s=i?.sortRule||"NONE",l=i?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=e.localeCompare(o,a,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(o=>e==o.key)}findBestResultForMetadataValue(e,o){let n=this.allResults.filter(d=>{var u;return((u=r.extractResultMetadata(d,e))===null||u===void 0?void 0:u.value)==o}),i=[...r.extractResultMetadata(this.selectedResult).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],s,l=-1;for(let d of n){let u=this.countMatchingMetadata(d,i);if(u>l&&(l=u,s=d,u===i.length))break}return s}countMatchingMetadata(e,o){return r.extractResultMetadata(e).filter(n=>o.some(a=>a.key===n.key&&a.value===n.value)).length}};var Mo={};M(Mo,{Debouncer:()=>Pe});var Pe=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,o){return this.callbacks=[e],this.debounce(o)}queue(e,o){return this.callbacks.push(e),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,o;let n=[...this.callbacks];this.callbacks=[];let a=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,i=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){a(l);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Ho={};M(Ho,{customElement:()=>Qe,isNumber:()=>Ei,jsonProperty:()=>Wo,optionalNumberProperty:()=>Al});var Bo={};M(Bo,{dateReviver:()=>Ol,deepEqual:()=>Xt,delay:()=>bi,eventPathContainsMatchingElement:()=>Cl,flatDeep:()=>vi,hasChanged:()=>Qt,last:()=>wl,minmax:()=>er,parseDate:()=>Si,unslotText:()=>Oi,waitFor:()=>xi,waitUntil:()=>Sl});var bi=r=>new Promise(e=>setTimeout(e,r));async function Sl(r,e=10,o=2e4){await xi(async()=>await r()||void 0,e,o)}async function xi(r,e=10,o=2e4){let n=await r(),a,i;for(a=i=performance.now();n==null&&(!o||i-a<o);)await bi(e),n=await r(),i=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function vi(r,e){return r.flatMap(o=>[o,...vi(e(o),e)])}function Ol(...r){return function(e,o){return r.includes(e)?Si(o):o}}function Si(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,a)=>o+n+":"+a),new Date(r)}function El(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,a;if(Array.isArray(r)){if(o=r.length,o!=e.length)return!1;for(n=o;n--!==0;)if(!Xt(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(!Xt(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(a=Object.keys(r),o=a.length,o!==Object.keys(e).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[n]))return!1;for(n=o;n--!==0;){var i=a[n];if(!Xt(r[i],e[i]))return!1}return!0}return r!==r&&e!==e}function Xt(r,e){try{return El(r,e)}catch{return!1}}function Qt(r,e){return!Xt(r,e)}function Cl(r,e,o=window.document.body){if(e.length>0){let n=r.composedPath();for(let a of n){if(a===o)return!1;if(a.matches&&e.some(i=>a.matches(i)))return!0}}return!1}function er(r,e,o){return Math.min(Math.max(r,e),o)}function wl(r){return r[r.length-1]}function Oi(r){return r instanceof HTMLSlotElement?r.assignedNodes().map(e=>Oi(e)).join(""):r?.textContent||""}var Qe=r=>e=>{window.customElements.get(r)||window.customElements.define(r,e)};function Wo(r,e){let o=()=>JSON.parse(JSON.stringify(r));return D({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Qt,...e??{}})}function Al(r){return D({type:Object,converter:{fromAttribute:e=>{if(e!=null)return Ei(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...r??{}})}function Ei(r){return!isNaN(parseFloat(r))}var bn={};M(bn,{designSystemVariables:()=>V});var mn={};M(mn,{DesignSystemFamily:()=>rr,DesignSystemSize:()=>or,FtCssVariableFactory:()=>t,badge:()=>Ll,banner:()=>Tl,button:()=>Nl,chart:()=>ql,checkbox:()=>Xl,chip:()=>Pl,chipChoice:()=>Il,collapsible:()=>Kl,comboboxMultiSelect:()=>Vl,comboboxSingleSelect:()=>jl,drawer:()=>Ml,floatingMenu:()=>zl,foundation:()=>c,link:()=>_l,modal:()=>Dl,notice:()=>Jl,notification:()=>td,pageDesigner:()=>Yl,pageFooter:()=>$l,pageHeader:()=>Fl,pageLayout:()=>Ul,popover:()=>Gl,radio:()=>ed,resolveFamilyClass:()=>yn,resolveSizeClass:()=>gn,semantic:()=>p,setVariable:()=>zr,switch_:()=>Zl,tabs:()=>Bl,textArea:()=>Hl,textInput:()=>Wl,titleBreadcrumb:()=>kl,toggle:()=>Ql,tooltip:()=>rd,typographies:()=>tr,typographyBody1Medium:()=>Zo,typographyBody1Regular:()=>Ko,typographyBody1Semibold:()=>qo,typographyBody2Medium:()=>Jo,typographyBody2MediumUnderline:()=>Ci,typographyBody2Regular:()=>Yo,typographyBody2Semibold:()=>Xo,typographyCaption1Bold:()=>cn,typographyCaption1Medium:()=>an,typographyCaption1Semibold:()=>sn,typographyCaption2Bold:()=>un,typographyCaption2Medium:()=>ln,typographyCaption2Semibold:()=>dn,typographyCaption3Bold:()=>hn,typographyCaption3Medium:()=>pn,typographyCaption3Semibold:()=>fn,typographyDisplay:()=>zo,typographyLabel1Bold:()=>tn,typographyLabel1Medium:()=>Qo,typographyLabel1Semibold:()=>en,typographyLabel2Bold:()=>nn,typographyLabel2Medium:()=>rn,typographyLabel2Semibold:()=>on,typographyTitle1:()=>jo,typographyTitle2:()=>Vo,typographyTitle3:()=>Go,typographyVariants:()=>Rl});var me=r=>typeof r=="string"?Ge(r):r,t=class{static create(e,o,n,a){let i=l=>me(l??a),s=$`var(${me(e)}, ${i(a)})`;return s.name=e,s.description=o,s.category=n,s.defaultValue=a,s.defaultCssValue=i,s.get=l=>$`var(${me(e)}, ${i(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(e,o,n,a){let i=l=>n.get(l??a),s=$`var(${me(e)}, ${i(a)})`;return s.name=e,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=a,s.defaultCssValue=i,s.get=l=>$`var(${me(e)}, ${i(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),s}static external(e,o){let n=i=>e.fallbackVariable?e.fallbackVariable.get(i??e.defaultValue):me(i??e.lastResortDefaultValue()),a=$`var(${me(e.name)}, ${n(e.defaultValue)})`;return a.name=e.name,a.category=e.category,a.fallbackVariable=e.fallbackVariable,a.defaultValue=e.defaultValue,a.context=o,a.defaultCssValue=n,a.get=i=>$`var(${me(e.name)}, ${n(i)})`,a.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>e.lastResortDefaultValue(),a}};function zr(r,e){return me(`${r.name}: ${e}`)}var c={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"),opacity48:t.create("--ft-opacity-48","","NUMBER","0.48"),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)")},zo={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")},jo={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")},Vo={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")},Go={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")},Ko={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")},Zo={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")},qo={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")},Yo={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")},Jo={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")},Ci={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")},Xo={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")},en={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")},tn={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")},rn={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")},on={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")},nn={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")},an={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")},sn={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")},cn={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")},ln={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")},dn={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")},un={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")},pn={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")},fn={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")},hn={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")},tr={display:zo,"title-1":jo,"title-2":Vo,"title-3":Go,"body-1-regular":Ko,"body-1-medium":Zo,"body-1-semibold":qo,"body-2-regular":Yo,"body-2-medium":Jo,"body-2-medium-underline":Ci,"body-2-semibold":Xo,"label-1-medium":Qo,"label-1-semibold":en,"label-1-bold":tn,"label-2-medium":rn,"label-2-semibold":on,"label-2-bold":nn,"caption-1-medium":an,"caption-1-semibold":sn,"caption-1-bold":cn,"caption-2-medium":ln,"caption-2-semibold":dn,"caption-2-bold":un,"caption-3-medium":pn,"caption-3-semibold":fn,"caption-3-bold":hn},Rl=["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.",c.colorBrand0),backgroundErrorSubtle:t.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:t.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:t.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:t.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:t.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:t.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:t.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:t.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:t.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:t.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:t.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:t.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:t.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:t.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:t.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:t.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:t.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:t.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
7
|
+
Also for action icons.`,c.colorGray200),contentGlobalSubtle:t.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:t.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:t.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:t.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:t.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:t.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:t.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:t.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:t.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:t.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:t.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:t.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:t.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:t.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:t.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:t.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var Nl={largeHeight:t.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:t.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:t.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:t.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:t.extend("--ft-button-large-icon-size","",c.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","",c.spacing3),mediumGap:t.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:t.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:t.extend("--ft-button-medium-icon-size","",c.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","",c.spacing2),smallGap:t.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:t.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",c.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","",c.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","",c.borderRadiusPill),primaryBrandBackgroundColor:t.extend("--ft-button-primary-brand-background-color","",p.backgroundActionPrimary),primaryBrandColor:t.extend("--ft-button-primary-brand-color","",p.contentGlobalOnColor),primaryBrandIconColor:t.extend("--ft-button-primary-brand-icon-color","",p.contentGlobalOnColor),primaryBrandStateLayerColor:t.extend("--ft-button-primary-brand-state-layer-color","",p.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:t.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:t.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:t.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:t.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:t.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBrandBackgroundColor:t.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:t.extend("--ft-button-tertiary-brand-color","",p.contentActionPrimary),tertiaryBrandIconColor:t.extend("--ft-button-tertiary-brand-icon-color","",p.contentActionPrimary),tertiaryBrandStateLayerColor:t.extend("--ft-button-tertiary-brand-state-layer-color","",p.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:t.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:t.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:t.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:t.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:t.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:t.extend("--ft-button-tertiary-info-color","",p.contentInfoPrimary),tertiaryInfoIconColor:t.extend("--ft-button-tertiary-info-icon-color","",p.contentInfoPrimary),tertiaryInfoStateLayerColor:t.extend("--ft-button-tertiary-info-state-layer-color","",p.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:t.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:t.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:t.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:t.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:t.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:t.extend("--ft-button-tertiary-success-color","",p.contentSuccessPrimary),tertiarySuccessIconColor:t.extend("--ft-button-tertiary-success-icon-color","",p.contentSuccessPrimary),tertiarySuccessStateLayerColor:t.extend("--ft-button-tertiary-success-state-layer-color","",p.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:t.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:t.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:t.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:t.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:t.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:t.extend("--ft-button-tertiary-warning-color","",p.contentWarningPrimary),tertiaryWarningIconColor:t.extend("--ft-button-tertiary-warning-icon-color","",p.contentWarningPrimary),tertiaryWarningStateLayerColor:t.extend("--ft-button-tertiary-warning-state-layer-color","",p.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:t.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:t.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:t.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:t.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:t.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:t.extend("--ft-button-tertiary-error-color","",p.contentErrorPrimary),tertiaryErrorIconColor:t.extend("--ft-button-tertiary-error-icon-color","",p.contentErrorPrimary),tertiaryErrorStateLayerColor:t.extend("--ft-button-tertiary-error-state-layer-color","",p.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:t.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:t.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:t.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:t.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:t.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:t.extend("--ft-button-tertiary-neutral-icon-color","",p.contentGlobalSecondary),tertiaryNeutralColor:t.extend("--ft-button-tertiary-neutral-color","",p.contentGlobalSecondary),tertiaryNeutralStateLayerColor:t.extend("--ft-button-tertiary-neutral-state-layer-color","",p.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:t.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:t.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:t.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:t.extend("--ft-button-secondary-brand-color","",p.contentActionPrimary),secondaryBrandIconColor:t.extend("--ft-button-secondary-brand-icon-color","",p.contentActionPrimary),secondaryBrandStateLayerColor:t.extend("--ft-button-secondary-brand-state-layer-color","",p.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:t.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:t.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:t.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:t.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:t.extend("--ft-button-secondary-brand-border-color","",p.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:t.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:t.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:t.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:t.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:t.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:t.extend("--ft-button-secondary-neutral-color","",p.contentGlobalSecondary),secondaryNeutralIconColor:t.extend("--ft-button-secondary-neutral-icon-color","",p.contentGlobalSecondary),secondaryNeutralStateLayerColor:t.extend("--ft-button-secondary-neutral-state-layer-color","",p.contentGlobalSecondary),secondaryNeutralBorderColor:t.extend("--ft-button-secondary-neutral-border-color","",p.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:t.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:t.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:t.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:t.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:t.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:t.extend("--ft-button-secondary-info-border-color","",p.borderInfoPrimary),secondaryInfoColor:t.extend("--ft-button-secondary-info-color","",p.contentInfoPrimary),secondaryInfoIconColor:t.extend("--ft-button-secondary-info-icon-color","",p.contentInfoPrimary),secondaryInfoStateLayerColor:t.extend("--ft-button-secondary-info-state-layer-color","",p.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:t.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:t.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:t.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:t.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:t.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:t.extend("--ft-button-secondary-success-border-color","",p.borderSuccessPrimary),secondarySuccessColor:t.extend("--ft-button-secondary-success-color","",p.contentSuccessPrimary),secondarySuccessIconColor:t.extend("--ft-button-secondary-success-icon-color","",p.contentSuccessPrimary),secondarySuccessStateLayerColor:t.extend("--ft-button-secondary-success-state-layer-color","",p.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:t.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:t.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:t.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:t.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:t.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:t.extend("--ft-button-secondary-warning-border-color","",p.borderWarningPrimary),secondaryWarningColor:t.extend("--ft-button-secondary-warning-color","",p.contentWarningPrimary),secondaryWarningIconColor:t.extend("--ft-button-secondary-warning-icon-color","",p.contentWarningPrimary),secondaryWarningStateLayerColor:t.extend("--ft-button-secondary-warning-state-layer-color","",p.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:t.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:t.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:t.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:t.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:t.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:t.extend("--ft-button-secondary-error-border-color","",p.contentErrorPrimary),secondaryErrorColor:t.extend("--ft-button-secondary-error-color","",p.contentErrorPrimary),secondaryErrorIconColor:t.extend("--ft-button-secondary-error-icon-color","",p.contentErrorPrimary),secondaryErrorStateLayerColor:t.extend("--ft-button-secondary-error-state-layer-color","",p.contentErrorPrimary)};var Il={neutralOffHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.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","",c.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","",c.opacity16),neutralOnHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.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","",c.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","",c.spacing3),largeGap:t.extend("--ft-chip-choice-large-gap","",c.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","",c.iconSize3),mediumMinHeight:t.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:t.extend("--ft-chip-choice-medium-gap","",c.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","",c.iconSize2)};var Pl={largeMinHeight:t.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:t.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:t.extend("--ft-chip-large-gap","",c.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","",c.iconSize3),mediumMinHeight:t.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:t.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:t.extend("--ft-chip-medium-gap","",c.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","",c.iconSize2),smallMinHeight:t.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:t.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:t.extend("--ft-chip-small-gap","",c.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","",c.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 _l={brandHoverOpacity:t.extend("--ft-link-brand-hover-opacity","",c.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","",c.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),neutralVisitedColor:t.extend("--ft-link-neutral-visited-color","",c.colorBrand100)};var Tl={iconSize:t.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:t.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:t.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:t.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:t.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:t.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:t.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:t.extend("--ft-banner-horizontal-middle-gap","",c.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 Ll={horizontalPadding:t.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:t.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:t.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:t.extend("--ft-badge-color","",p.contentGlobalOnColor),backgroundColor:t.extend("--ft-badge-background-color","",p.contentActionPrimary)};var kl={horizontalGap:t.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:t.extend("--ft-title-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:t.extend("--ft-title-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:t.extend("--ft-title-breadcrumb-icon-color","",p.contentGlobalSubtle)};var Fl={parentHorizontalPadding:t.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:t.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:t.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:t.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:t.extend("--ft-page-header-parent-title-color","",p.contentGlobalPrimary),parentSubtitleColor:t.extend("--ft-page-header-parent-subtitle-color","",p.contentGlobalSecondary),parentChipLeftMargin:t.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:t.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:t.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:t.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:t.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:t.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:t.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:t.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:t.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:t.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:t.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:t.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:t.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:t.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:t.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:t.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:t.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:t.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),bottomBorderWidth:t.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var $l={horizontalPadding:t.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:t.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:t.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:t.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:t.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:t.extend("--ft-page-footer-top-border-color","",p.borderGlobalSubtle),topBorderWidth:t.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:t.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)};var Ul={contentHorizontalPadding:t.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:t.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)};var Dl={smallContainerTargetWidth:t.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:t.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:t.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:t.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:t.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:t.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:t.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:t.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:t.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:t.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:t.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:t.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:t.extend("--ft-modal-body-vertical-gap","",c.spacing6),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),headerLeadingIconColor:t.extend("--ft-modal-header-leading-icon-color","",p.contentGlobalPrimary),headerVerticalPadding:t.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:t.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:t.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:t.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:t.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",c.borderRadiusM)};var Ml={overlayOpacity:t.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:t.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:t.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:t.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:t.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:t.extend("--ft-drawer-body-background-color","",c.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","",c.spacing2),headerBorderWidth:t.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:t.extend("--ft-drawer-header-gap","",c.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","",c.spacing6),buttonsBarVerticalPadding:t.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:t.extend("--ft-drawer-buttons-bar-gap","",c.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","",c.colorGray700)};var Bl={offBorderBottomWidth:t.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:t.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:t.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:t.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:t.extend("--ft-tabs-off-disabled-component-opacity","",c.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","",c.borderRadiusS),topRightBorderRadius:t.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:t.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:t.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:t.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:t.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:t.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:t.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",c.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","",c.spacing4),iconOnlyVerticalPadding:t.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:t.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:t.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:t.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)};var Wl={fieldHorizontalPadding:t.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:t.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:t.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:t.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:t.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:t.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:t.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:t.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:t.extend("--ft-text-input-background-color","",c.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","",c.opacity40)};var Hl={backgroundColor:t.extend("--ft-text-area-background-color","",c.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","",c.opacity40),fieldHorizontalLeftPadding:t.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:t.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:t.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:t.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:t.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:t.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:t.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:t.extend("--ft-text-area-border-radius","",c.borderRadiusM)};var zl={height:t.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:t.extend("--ft-floating-menu-horizontal-padding","",c.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","",c.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","",c.opacity8),hoverStateLayerOpacity:t.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:t.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:t.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:t.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:t.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface),shadow:t.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var jl={fieldHorizontalPadding:t.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:t.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:t.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:t.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:t.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:t.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:t.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:t.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:t.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:t.extend("--ft-combobox-single-select-background-color","",c.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","",c.opacity40)};var Vl={backgroundColor:t.extend("--ft-combobox-multi-select-background-color","",c.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","",c.opacity40),helperHorizontalPadding:t.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:t.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:t.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:t.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:t.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:t.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:t.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:t.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:t.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:t.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:t.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)};var Gl={backgroundColor:t.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:t.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:t.extend("--ft-popover-vertical-padding","",c.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","",c.spacing3),borderRadius:t.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:t.create("--ft-popover-max-width","","SIZE","440px")};var Kl={hoverStateLayerOpacity:t.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:t.extend("--ft-collapsible-focus-state-layer-opacity","",c.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","",c.opacity16),disabledComponentOpacity:t.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:t.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:t.extend("--ft-collapsible-vertical-padding","",c.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","",c.iconSize3)};var Zl={groupHorizontalPadding:t.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:t.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:t.extend("--ft-switch-group-gap","",c.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","",c.spacing2),labelVerticalPadding:t.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:t.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:t.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:t.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:t.extend("--ft-switch-off-disabled-component-opacity","",c.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","",c.opacity8),onFocusStateLayerOpacity:t.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:t.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:t.extend("--ft-switch-on-disabled-component-opacity","",c.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","",c.spacing1),iconVerticalPadding:t.extend("--ft-switch-icon-vertical-padding","",c.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","",c.borderRadiusS)};var ql={color1Light:t.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:t.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:t.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:t.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:t.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:t.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:t.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:t.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:t.extend("--ft-chart-5-light","",c.colorRed40),color5Base:t.extend("--ft-chart-5-base","",c.colorRed60),color6Light:t.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:t.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:t.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:t.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:t.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:t.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:t.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:t.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:t.extend("--ft-chart-10-light","",c.colorGray50),color10Base:t.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:t.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:t.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:t.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:t.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:t.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:t.extend("--ft-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorCyan10),scatterplotQuadrantUnpopularNewBackgroundColor:t.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorRed10),scatterplotDatapointInitialDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:t.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:t.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:t.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:t.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var Yl={color1IconColor:t.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:t.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:t.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:t.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:t.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:t.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:t.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:t.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:t.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:t.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:t.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:t.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:t.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:t.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:t.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:t.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var Jl={borderWidth:t.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:t.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:t.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:t.extend("--ft-notice-gap","",c.spacing2),iconSize:t.extend("--ft-notice-icon-size","",c.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 Xl={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","",c.opacity16),checkedFocusStateLayerOpacity:t.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:t.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:t.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:t.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:t.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:t.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:t.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:t.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:t.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.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","",c.spacing3)};var Ql={offHoverStateLayerOpacity:t.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:t.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:t.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:t.extend("--ft-toggle-off-disabled-component-opacity","",c.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","",c.opacity16),onFocusStateLayerOpacity:t.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:t.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:t.extend("--ft-toggle-on-disabled-component-opacity","",c.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","",c.spacing3)};var ed={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","",c.opacity16),selectedFocusStateLayerOpacity:t.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:t.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:t.extend("--ft-radio-selected-disabled-component-opacity","",c.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","",c.opacity16),unselectedFocusStateLayerOpacity:t.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:t.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:t.extend("--ft-radio-unselected-disabled-component-opacity","",c.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","",c.spacing3)};var td={iconSize:t.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:t.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:t.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",c.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","",c.borderRadiusPill),borderWidth:t.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:t.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:t.extend("--ft-notification-trailing-gap","",c.spacing8)};var rd={horizontalPadding:t.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:t.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:t.extend("--ft-tooltip-border-radius","",c.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","",c.opacity80),shadow:t.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:t.create("--ft-tooltip-max-width","","SIZE","256px"),gap:t.extend("--ft-tooltip-gap","",c.spacing05)};var rr;(function(r){r.brand="brand",r.neutral="neutral",r.info="info",r.success="success",r.warning="warning",r.error="error"})(rr||(rr={}));var or;(function(r){r.large="large",r.medium="medium",r.small="small"})(or||(or={}));function yn(r){return`ftds--family-${r}`}function gn(r){return`ftds--size-${r}`}var V={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 Tn={};M(Tn,{computeFlipOffsetPosition:()=>Cd,computeOffsetPosition:()=>Ed});var Ai=["top","right","bottom","left"],wi=["start","end"],xn=Ai.reduce((r,e)=>r.concat(e,e+"-"+wi[0],e+"-"+wi[1]),[]),ir=Math.min,_e=Math.max,sr=Math.round;var be=r=>({x:r,y:r}),od={left:"right",right:"left",bottom:"top",top:"bottom"},nd={start:"end",end:"start"};function vn(r,e,o){return _e(r,ir(e,o))}function ft(r,e){return typeof r=="function"?r(e):r}function de(r){return r.split("-")[0]}function ue(r){return r.split("-")[1]}function Sn(r){return r==="x"?"y":"x"}function On(r){return r==="y"?"height":"width"}function cr(r){return["top","bottom"].includes(de(r))?"y":"x"}function En(r){return Sn(cr(r))}function Cn(r,e,o){o===void 0&&(o=!1);let n=ue(r),a=En(r),i=On(a),s=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=ar(s)),[s,ar(s)]}function Ri(r){let e=ar(r);return[nr(r),e,nr(e)]}function nr(r){return r.replace(/start|end/g,e=>nd[e])}function ad(r,e,o){let n=["left","right"],a=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(r){case"top":case"bottom":return o?e?a:n:e?n:a;case"left":case"right":return e?i:s;default:return[]}}function Ni(r,e,o,n){let a=ue(r),i=ad(de(r),o==="start",n);return a&&(i=i.map(s=>s+"-"+a),e&&(i=i.concat(i.map(nr)))),i}function ar(r){return r.replace(/left|right|bottom|top/g,e=>od[e])}function id(r){return{top:0,right:0,bottom:0,left:0,...r}}function Ii(r){return typeof r!="number"?id(r):{top:r,right:r,bottom:r,left:r}}function et(r){return{...r,top:r.y,left:r.x,right:r.x+r.width,bottom:r.y+r.height}}function Pi(r,e,o){let{reference:n,floating:a}=r,i=cr(e),s=En(e),l=On(s),d=de(e),u=i==="y",h=n.x+n.width/2-a.width/2,f=n.y+n.height/2-a.height/2,g=n[l]/2-a[l]/2,m;switch(d){case"top":m={x:h,y:n.y-a.height};break;case"bottom":m={x:h,y:n.y+n.height};break;case"right":m={x:n.x+n.width,y:f};break;case"left":m={x:n.x-a.width,y:f};break;default:m={x:n.x,y:n.y}}switch(ue(e)){case"start":m[s]-=g*(o&&u?-1:1);break;case"end":m[s]+=g*(o&&u?-1:1);break}return m}var _i=async(r,e,o)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=o,l=i.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e)),u=await s.getElementRects({reference:r,floating:e,strategy:a}),{x:h,y:f}=Pi(u,n,d),g=n,m={},b=0;for(let S=0;S<l.length;S++){let{name:C,fn:w}=l[S],{x:A,y:O,data:v,reset:E}=await w({x:h,y:f,initialPlacement:n,placement:g,strategy:a,middlewareData:m,rects:u,platform:s,elements:{reference:r,floating:e}});if(h=A??h,f=O??f,m={...m,[C]:{...m[C],...v}},E&&b<=50){b++,typeof E=="object"&&(E.placement&&(g=E.placement),E.rects&&(u=E.rects===!0?await s.getElementRects({reference:r,floating:e,strategy:a}):E.rects),{x:h,y:f}=Pi(u,g,d)),S=-1;continue}}return{x:h,y:f,placement:g,strategy:a,middlewareData:m}};async function jr(r,e){var o;e===void 0&&(e={});let{x:n,y:a,platform:i,rects:s,elements:l,strategy:d}=r,{boundary:u="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:g=!1,padding:m=0}=ft(e,r),b=Ii(m),C=l[g?f==="floating"?"reference":"floating":f],w=et(await i.getClippingRect({element:(o=await(i.isElement==null?void 0:i.isElement(C)))==null||o?C:C.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:h,strategy:d})),A=f==="floating"?{...s.floating,x:n,y:a}:s.reference,O=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),v=await(i.isElement==null?void 0:i.isElement(O))?await(i.getScale==null?void 0:i.getScale(O))||{x:1,y:1}:{x:1,y:1},E=et(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:A,offsetParent:O,strategy:d}):A);return{top:(w.top-E.top+b.top)/v.y,bottom:(E.bottom-w.bottom+b.bottom)/v.y,left:(w.left-E.left+b.left)/v.x,right:(E.right-w.right+b.right)/v.x}}function sd(r,e,o){return(r?[...o.filter(a=>ue(a)===r),...o.filter(a=>ue(a)!==r)]:o.filter(a=>de(a)===a)).filter(a=>r?ue(a)===r||(e?nr(a)!==a:!1):!0)}var wn=function(r){return r===void 0&&(r={}),{name:"autoPlacement",options:r,async fn(e){var o,n,a;let{rects:i,middlewareData:s,placement:l,platform:d,elements:u}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:g=xn,autoAlignment:m=!0,...b}=ft(r,e),S=f!==void 0||g===xn?sd(f||null,m,g):g,C=await jr(e,b),w=((o=s.autoPlacement)==null?void 0:o.index)||0,A=S[w];if(A==null)return{};let O=Cn(A,i,await(d.isRTL==null?void 0:d.isRTL(u.floating)));if(l!==A)return{reset:{placement:S[0]}};let v=[C[de(A)],C[O[0]],C[O[1]]],E=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:A,overflows:v}],R=S[w+1];if(R)return{data:{index:w+1,overflows:E},reset:{placement:R}};let _=E.map(I=>{let y=ue(I.placement);return[I.placement,y&&h?I.overflows.slice(0,2).reduce((x,N)=>x+N,0):I.overflows[0],I.overflows]}).sort((I,y)=>I[1]-y[1]),k=((a=_.filter(I=>I[2].slice(0,ue(I[0])?2:3).every(y=>y<=0))[0])==null?void 0:a[0])||_[0][0];return k!==l?{data:{index:w+1,overflows:E},reset:{placement:k}}:{}}}},An=function(r){return r===void 0&&(r={}),{name:"flip",options:r,async fn(e){var o,n;let{placement:a,middlewareData:i,rects:s,initialPlacement:l,platform:d,elements:u}=e,{mainAxis:h=!0,crossAxis:f=!0,fallbackPlacements:g,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:S=!0,...C}=ft(r,e);if((o=i.arrow)!=null&&o.alignmentOffset)return{};let w=de(a),A=de(l)===l,O=await(d.isRTL==null?void 0:d.isRTL(u.floating)),v=g||(A||!S?[ar(l)]:Ri(l));!g&&b!=="none"&&v.push(...Ni(l,S,b,O));let E=[l,...v],R=await jr(e,C),_=[],F=((n=i.flip)==null?void 0:n.overflows)||[];if(h&&_.push(R[w]),f){let x=Cn(a,s,O);_.push(R[x[0]],R[x[1]])}if(F=[...F,{placement:a,overflows:_}],!_.every(x=>x<=0)){var k,I;let x=(((k=i.flip)==null?void 0:k.index)||0)+1,N=E[x];if(N)return{data:{index:x,overflows:F},reset:{placement:N}};let L=(I=F.filter(U=>U.overflows[0]<=0).sort((U,T)=>U.overflows[1]-T.overflows[1])[0])==null?void 0:I.placement;if(!L)switch(m){case"bestFit":{var y;let U=(y=F.map(T=>[T.placement,T.overflows.filter(ie=>ie>0).reduce((ie,kt)=>ie+kt,0)]).sort((T,ie)=>T[1]-ie[1])[0])==null?void 0:y[0];U&&(L=U);break}case"initialPlacement":L=l;break}if(a!==L)return{reset:{placement:L}}}return{}}}};async function cd(r,e){let{placement:o,platform:n,elements:a}=r,i=await(n.isRTL==null?void 0:n.isRTL(a.floating)),s=de(o),l=ue(o),d=cr(o)==="y",u=["left","top"].includes(s)?-1:1,h=i&&d?-1:1,f=ft(e,r),{mainAxis:g,crossAxis:m,alignmentAxis:b}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return l&&typeof b=="number"&&(m=l==="end"?b*-1:b),d?{x:m*h,y:g*u}:{x:g*u,y:m*h}}var Rn=function(r){return r===void 0&&(r=0),{name:"offset",options:r,async fn(e){var o,n;let{x:a,y:i,placement:s,middlewareData:l}=e,d=await cd(e,r);return s===((o=l.offset)==null?void 0:o.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:a+d.x,y:i+d.y,data:{...d,placement:s}}}}},Nn=function(r){return r===void 0&&(r={}),{name:"shift",options:r,async fn(e){let{x:o,y:n,placement:a}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:C=>{let{x:w,y:A}=C;return{x:w,y:A}}},...d}=ft(r,e),u={x:o,y:n},h=await jr(e,d),f=cr(de(a)),g=Sn(f),m=u[g],b=u[f];if(i){let C=g==="y"?"top":"left",w=g==="y"?"bottom":"right",A=m+h[C],O=m-h[w];m=vn(A,m,O)}if(s){let C=f==="y"?"top":"left",w=f==="y"?"bottom":"right",A=b+h[C],O=b-h[w];b=vn(A,b,O)}let S=l.fn({...e,[g]:m,[f]:b});return{...S,data:{x:S.x-o,y:S.y-n}}}}};function xe(r){return Li(r)?(r.nodeName||"").toLowerCase():"#document"}function Y(r){var e;return(r==null||(e=r.ownerDocument)==null?void 0:e.defaultView)||window}function ve(r){var e;return(e=(Li(r)?r.ownerDocument:r.document)||window.document)==null?void 0:e.documentElement}function Li(r){return r instanceof Node||r instanceof Y(r).Node}function pe(r){return r instanceof Element||r instanceof Y(r).Element}function ne(r){return r instanceof HTMLElement||r instanceof Y(r).HTMLElement}function Ti(r){return typeof ShadowRoot>"u"?!1:r instanceof ShadowRoot||r instanceof Y(r).ShadowRoot}function ht(r){let{overflow:e,overflowX:o,overflowY:n,display:a}=Q(r);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(a)}function ki(r){return["table","td","th"].includes(xe(r))}function Gr(r){let e=Kr(),o=Q(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 Fi(r){let e=tt(r);for(;ne(e)&&!lr(e);){if(Gr(e))return e;e=tt(e)}return null}function Kr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function lr(r){return["html","body","#document"].includes(xe(r))}function Q(r){return Y(r).getComputedStyle(r)}function dr(r){return pe(r)?{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}:{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}function tt(r){if(xe(r)==="html")return r;let e=r.assignedSlot||r.parentNode||Ti(r)&&r.host||ve(r);return Ti(e)?e.host:e}function $i(r){let e=tt(r);return lr(e)?r.ownerDocument?r.ownerDocument.body:r.body:ne(e)&&ht(e)?e:$i(e)}function Vr(r,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);let a=$i(r),i=a===((n=r.ownerDocument)==null?void 0:n.body),s=Y(a);return i?e.concat(s,s.visualViewport||[],ht(a)?a:[],s.frameElement&&o?Vr(s.frameElement):[]):e.concat(a,Vr(a,[],o))}function Mi(r){let e=Q(r),o=parseFloat(e.width)||0,n=parseFloat(e.height)||0,a=ne(r),i=a?r.offsetWidth:o,s=a?r.offsetHeight:n,l=sr(o)!==i||sr(n)!==s;return l&&(o=i,n=s),{width:o,height:n,$:l}}function Bi(r){return pe(r)?r:r.contextElement}function yt(r){let e=Bi(r);if(!ne(e))return be(1);let o=e.getBoundingClientRect(),{width:n,height:a,$:i}=Mi(e),s=(i?sr(o.width):o.width)/n,l=(i?sr(o.height):o.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var ld=be(0);function Wi(r){let e=Y(r);return!Kr()||!e.visualViewport?ld:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function dd(r,e,o){return e===void 0&&(e=!1),!o||e&&o!==Y(r)?!1:e}function ur(r,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);let a=r.getBoundingClientRect(),i=Bi(r),s=be(1);e&&(n?pe(n)&&(s=yt(n)):s=yt(r));let l=dd(i,o,n)?Wi(i):be(0),d=(a.left+l.x)/s.x,u=(a.top+l.y)/s.y,h=a.width/s.x,f=a.height/s.y;if(i){let g=Y(i),m=n&&pe(n)?Y(n):n,b=g.frameElement;for(;b&&n&&m!==g;){let S=yt(b),C=b.getBoundingClientRect(),w=Q(b),A=C.left+(b.clientLeft+parseFloat(w.paddingLeft))*S.x,O=C.top+(b.clientTop+parseFloat(w.paddingTop))*S.y;d*=S.x,u*=S.y,h*=S.x,f*=S.y,d+=A,u+=O,b=Y(b).frameElement}}return et({width:h,height:f,x:d,y:u})}function ud(r){let{rect:e,offsetParent:o,strategy:n}=r,a=ne(o),i=ve(o);if(o===i)return e;let s={scrollLeft:0,scrollTop:0},l=be(1),d=be(0);if((a||!a&&n!=="fixed")&&((xe(o)!=="body"||ht(i))&&(s=dr(o)),ne(o))){let u=ur(o);l=yt(o),d.x=u.x+o.clientLeft,d.y=u.y+o.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+d.x,y:e.y*l.y-s.scrollTop*l.y+d.y}}function pd(r){return Array.from(r.getClientRects())}function Hi(r){return ur(ve(r)).left+dr(r).scrollLeft}function fd(r){let e=ve(r),o=dr(r),n=r.ownerDocument.body,a=_e(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=_e(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+Hi(r),l=-o.scrollTop;return Q(n).direction==="rtl"&&(s+=_e(e.clientWidth,n.clientWidth)-a),{width:a,height:i,x:s,y:l}}function hd(r,e){let o=Y(r),n=ve(r),a=o.visualViewport,i=n.clientWidth,s=n.clientHeight,l=0,d=0;if(a){i=a.width,s=a.height;let u=Kr();(!u||u&&e==="fixed")&&(l=a.offsetLeft,d=a.offsetTop)}return{width:i,height:s,x:l,y:d}}function yd(r,e){let o=ur(r,!0,e==="fixed"),n=o.top+r.clientTop,a=o.left+r.clientLeft,i=ne(r)?yt(r):be(1),s=r.clientWidth*i.x,l=r.clientHeight*i.y,d=a*i.x,u=n*i.y;return{width:s,height:l,x:d,y:u}}function Ui(r,e,o){let n;if(e==="viewport")n=hd(r,o);else if(e==="document")n=fd(ve(r));else if(pe(e))n=yd(e,o);else{let a=Wi(r);n={...e,x:e.x-a.x,y:e.y-a.y}}return et(n)}function zi(r,e){let o=tt(r);return o===e||!pe(o)||lr(o)?!1:Q(o).position==="fixed"||zi(o,e)}function gd(r,e){let o=e.get(r);if(o)return o;let n=Vr(r,[],!1).filter(l=>pe(l)&&xe(l)!=="body"),a=null,i=Q(r).position==="fixed",s=i?tt(r):r;for(;pe(s)&&!lr(s);){let l=Q(s),d=Gr(s);!d&&l.position==="fixed"&&(a=null),(i?!d&&!a:!d&&l.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||ht(s)&&!d&&zi(r,s))?n=n.filter(h=>h!==s):a=l,s=tt(s)}return e.set(r,n),n}function md(r){let{element:e,boundary:o,rootBoundary:n,strategy:a}=r,s=[...o==="clippingAncestors"?gd(e,this._c):[].concat(o),n],l=s[0],d=s.reduce((u,h)=>{let f=Ui(e,h,a);return u.top=_e(f.top,u.top),u.right=ir(f.right,u.right),u.bottom=ir(f.bottom,u.bottom),u.left=_e(f.left,u.left),u},Ui(e,l,a));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function bd(r){return Mi(r)}function xd(r,e,o){let n=ne(e),a=ve(e),i=o==="fixed",s=ur(r,!0,i,e),l={scrollLeft:0,scrollTop:0},d=be(0);if(n||!n&&!i)if((xe(e)!=="body"||ht(a))&&(l=dr(e)),n){let u=ur(e,!0,i,e);d.x=u.x+e.clientLeft,d.y=u.y+e.clientTop}else a&&(d.x=Hi(a));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function Di(r,e){return!ne(r)||Q(r).position==="fixed"?null:e?e(r):r.offsetParent}function ji(r,e){let o=Y(r);if(!ne(r))return o;let n=Di(r,e);for(;n&&ki(n)&&Q(n).position==="static";)n=Di(n,e);return n&&(xe(n)==="html"||xe(n)==="body"&&Q(n).position==="static"&&!Gr(n))?o:n||Fi(r)||o}var vd=async function(r){let{reference:e,floating:o,strategy:n}=r,a=this.getOffsetParent||ji,i=this.getDimensions;return{reference:xd(e,await a(o),n),floating:{x:0,y:0,...await i(o)}}};function Sd(r){return Q(r).direction==="rtl"}var gt={convertOffsetParentRelativeRectToViewportRelativeRect:ud,getDocumentElement:ve,getClippingRect:md,getOffsetParent:ji,getElementRects:vd,getClientRects:pd,getDimensions:bd,getScale:yt,isElement:pe,isRTL:Sd};var In=(r,e,o)=>{let n=new Map,a={platform:gt,...o},i={...a.platform,_c:n};return _i(r,e,{...a,platform:i})};function _n(r){return Od(r)}function Pn(r){return r.assignedSlot?r.assignedSlot:r.parentNode instanceof ShadowRoot?r.parentNode.host:r.parentNode}function Od(r){for(let e=r;e;e=Pn(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Pn(r);e;e=Pn(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 Ed(r,e,o){return In(r,e,{platform:{...gt,getOffsetParent:n=>gt.getOffsetParent(n,_n)},middleware:[Nn({crossAxis:!0}),wn({allowedPlacements:[o]})]})}async function Cd(r,e,o,n,a){return In(r,e,{placement:o,strategy:a,platform:{...gt,getOffsetParent:i=>gt.getOffsetParent(i,_n)},middleware:[Rn(4),An({fallbackPlacements:n})]})}var $n={};M($n,{FtdsBase:()=>Fn,toFtdsBase:()=>Xi});var kn={};M(kn,{FtLitElement:()=>Z});var Ln={};M(Ln,{ScopedRegistryLitElement:()=>pr});var Zr=window,wd=Zr.ShadowRoot&&(Zr.ShadyCSS===void 0||Zr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,xg=Symbol();var Vi=(r,e)=>{wd?r.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):e.forEach(o=>{let n=document.createElement("style"),a=Zr.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,r.appendChild(n)})};var pr=class extends ge{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([a,i])=>e.registry.define(a,i)));let o={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Vi(n,e.elementStyles),n}};var qr=function(r,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,o,n);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},qi,Gi=Symbol("constructorPrototype"),Ki=Symbol("constructorName"),Yi=Symbol("exportpartsDebouncer"),Zi=Symbol("dynamicDependenciesLoaded"),Z=class extends pr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[qi]=new Pe(5),this[Ki]=this.constructor.name,this[Gi]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ki]&&Object.setPrototypeOf(this,this[Gi])}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[Zi]||(e[Zi]=!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,a;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}scheduleExportpartsUpdate(){var e,o,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Yi].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var o,n,a,i,s,l;let d=g=>g!=null&&g.trim().length>0,u=e.filter(d).map(g=>g.trim());if(u.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let g of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let m=(i=(a=g.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],b=(l=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(S=>S.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...m,...b).filter(d).map(S=>S.trim()).forEach(S=>h.add(S))}if(h.size===0){this.removeAttribute("exportparts");return}let f=[...h.values()].flatMap(g=>u.map(m=>`${g}:${m}--${g}`));this.setAttribute("exportparts",[...this.part,...f].join(", "))}};qi=Yi;qr([D()],Z.prototype,"exportpartsPrefix",void 0);qr([Wo([])],Z.prototype,"exportpartsPrefixes",void 0);qr([D()],Z.prototype,"customStylesheet",void 0);qr([ce()],Z.prototype,"useAdoptedStyleSheets",void 0);var Ji=function(r,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,o,n);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i};function Xi(r){class e extends r{constructor(){super(...arguments),this.size=or.medium,this.family=rr.neutral}getDesignSystemBaseClasses(){return{[yn(this.family)]:!0,[gn(this.size)]:!0}}}return Ji([D()],e.prototype,"size",void 0),Ji([D()],e.prototype,"family",void 0),e}var Fn=class extends Xi(Z){};var Qi={};var Dn={};M(Dn,{highlightHtml:()=>Nd,highlightHtmlColorCssVariable:()=>es,highlightHtmlStyles:()=>Rd});var rt=class r{constructor(e,o=!0,n=[],a=5e3){this.ctx=e,this.iframes=o,this.exclude=n,this.iframesTimeout=a}static matches(e,o){let n=typeof o=="string"?[o]:o,a=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(a){let i=!1;return n.every(s=>a.call(e,s)?(i=!0,!1):!0),i}else return!1}getContexts(){let e,o=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let a=o.filter(i=>i.contains(n)).length>0;o.indexOf(n)===-1&&!a&&o.push(n)}),o}getIframeContents(e,o,n=()=>{}){let a;try{let i=e.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{n()}a&&o(a)}isIframeBlank(e){let o="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===o&&n!==o&&n}observeIframeLoad(e,o,n){let a=!1,i=null,s=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,o,n))}catch{n()}}};e.addEventListener("load",s),i=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,a=>{n++,this.waitForIframes(a.querySelector("html"),()=>{--n||o()})},a=>{a||o()})}forEachIframe(e,o,n,a=()=>{}){let i=e.querySelectorAll("iframe"),s=i.length,l=0;i=Array.prototype.slice.call(i);let d=()=>{--s<=0&&a(l)};s||d(),i.forEach(u=>{r.matches(u,this.exclude)?d():this.onIframeReady(u,h=>{o(u)&&(l++,n(h)),d()},d)})}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 a=e.compareDocumentPosition(n),i=Node.DOCUMENT_POSITION_PRECEDING;if(a&i)if(o!==null){let s=o.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let o=e.previousNode(),n;return o===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:o,node:n}}checkIframeFilter(e,o,n,a){let i=!1,s=!1;return a.forEach((l,d)=>{l.val===n&&(i=d,s=l.handled)}),this.compareNodeIframe(e,o,n)?(i===!1&&!s?a.push({val:n,handled:!0}):i!==!1&&!s&&(a[i].handled=!0),!0):(i===!1&&a.push({val:n,handled:!1}),!1)}handleOpenIframes(e,o,n,a){e.forEach(i=>{i.handled||this.getIframeContents(i.val,s=>{this.createInstanceOnIframe(s).forEachNode(o,n,a)})})}iterateThroughNodes(e,o,n,a,i){let s=this.createIterator(o,e,a),l=[],d=[],u,h,f=()=>({prevNode:h,node:u}=this.getIteratorNode(s),u);for(;f();)this.iframes&&this.forEachIframe(o,g=>this.checkIframeFilter(u,h,g,l),g=>{this.createInstanceOnIframe(g).forEachNode(e,m=>d.push(m),a)}),d.push(u);d.forEach(g=>{n(g)}),this.iframes&&this.handleOpenIframes(l,e,n,a),i()}forEachNode(e,o,n,a=()=>{}){let i=this.getContexts(),s=i.length;s||a(),i.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,o,n,()=>{--s<=0&&a()})};this.iframes?this.waitForIframes(l,d):d()})}};var fr=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 rt(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,o="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[o]=="function"&&n[o](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let o=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",a=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${n}`),a+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+a))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,o=>o.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,o=>o.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let o=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(o,n,a)=>{let i=a.charAt(n+1);return/[(|)\\]/.test(i)||i===""?o:o+"\0"})}createJoinersRegExp(e){let o=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&o.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?e.split(/\u0000+/).join(`[${o.join("")}]*`):e}createDiacriticsRegExp(e){let o=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],a=[];return e.split("").forEach(i=>{n.every(s=>{if(s.indexOf(i)!==-1){if(a.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${o}`),`[${s}]`),a.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let o="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,a=typeof n=="string"?n:n.value,i=typeof n=="string"?[]:n.limiters,s="";switch(i.forEach(l=>{s+=`|${this.escapeStr(l)}`}),a){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(a=>{a.trim()&&o.indexOf(a)===-1&&o.push(a)}):n.trim()&&o.indexOf(n)===-1&&o.push(n)}),{keywords:o.sort((n,a)=>a.length-n.length),length:o.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let o=[],n=0;return e.sort((a,i)=>a.start-i.start).forEach(a=>{let{start:i,end:s,valid:l}=this.callNoMatchOnInvalidRanges(a,n);l&&(a.start=i,a.length=s-i,o.push(a),n=s)}),o}callNoMatchOnInvalidRanges(e,o){let n,a,i=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),a=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&a-o>0&&a-n>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:a,valid:i}}checkWhitespaceRanges(e,o,n){let a,i=!0,s=n.length,l=o-s,d=parseInt(e.start,10)-l;return d=d>s?s:d,a=d+parseInt(e.length,10),a>s&&(a=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||a-d<0||d>s||a>s?(i=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(d,a).replace(/\s+/g,"")===""&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:a,valid:i}}getTextNodes(e){let o="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,a=>{n.push({start:o.length,end:(o+=a.textContent).length,node:a})},a=>this.matchesExclude(a.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:o,nodes:n})})}matchesExclude(e){return rt.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,o,n){let a=this.opt.element?this.opt.element:"mark",i=e.splitText(o),s=i.splitText(n-o),l=document.createElement(a);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=i.textContent,i.parentNode.replaceChild(l,i),s}wrapRangeInMappedTextNode(e,o,n,a,i){e.nodes.every((s,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>o){if(!a(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),g=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,u,h),e.value=f+g,e.nodes.forEach((m,b)=>{b>=l&&(e.nodes[b].start>0&&b!==l&&(e.nodes[b].start-=h),e.nodes[b].end-=h)}),n-=h,i(s.node.previousSibling,s.start),n>s.end)o=s.end;else return!1}return!0})}wrapMatches(e,o,n,a,i){let s=o===0?0:o+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let u;for(;(u=e.exec(d.textContent))!==null&&u[s]!=="";){if(!n(u[s],d))continue;let h=u.index;if(s!==0)for(let f=1;f<s;f++)h+=u[f].length;d=this.wrapRangeInTextNode(d,h,h+u[s].length),a(d.previousSibling),e.lastIndex=0}}),i()})}wrapMatchesAcrossElements(e,o,n,a,i){let s=o===0?0:o+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[s]!=="";){let u=d.index;if(s!==0)for(let f=1;f<s;f++)u+=d[f].length;let h=u+d[s].length;this.wrapRangeInMappedTextNode(l,u,h,f=>n(d[s],f),(f,g)=>{e.lastIndex=g,a(f)})}i()})}wrapRangeFromIndex(e,o,n,a){this.getTextNodes(i=>{let s=i.value.length;e.forEach((l,d)=>{let{start:u,end:h,valid:f}=this.checkWhitespaceRanges(l,s,i.value);f&&this.wrapRangeInMappedTextNode(i,u,h,g=>o(g,l,i.value.substring(u,h),d),g=>{n(g,l)})}),a()})}unwrapMatches(e){let o=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));o.replaceChild(n,e),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,o){this.opt=o,this.log(`Searching with expression "${e}"`);let n=0,a="wrapMatches",i=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),i,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,o){this.opt=o;let n=0,a="wrapMatches",{keywords:i,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",d=u=>{let h=new RegExp(this.createRegExp(u),`gm${l}`),f=0;this.log(`Searching with expression "${h}"`),this[a](h,1,(g,m)=>this.opt.filter(m,u,n,f),g=>{f++,n++,this.opt.each(g)},()=>{f===0&&this.opt.noMatch(u),i[s-1]===u?this.opt.done(n):d(i[i.indexOf(u)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(i[0])}markRanges(e,o){this.opt=o;let n=0,a=this.checkRanges(e);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,(i,s,l,d)=>this.opt.filter(i,s,l,d),(i,s)=>{n++,this.opt.each(i,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 a=rt.matches(n,o),i=this.matchesExclude(n);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Un(r){let e=new fr(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 Ad=Un,es=t.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Rd=$`
|
|
8
8
|
.highlight-html-match {
|
|
9
|
-
background: ${
|
|
9
|
+
background: ${es};
|
|
10
10
|
}
|
|
11
|
-
`;function
|
|
11
|
+
`;function Nd(r,e,o){var n,a;let i=r.getAttribute("data-highlight-html-query");if((i??"")!==(e??"")){let s=new Ad(r);if(s.unmark(),e&&e.trim()){let l={className:(n=o?.className)!==null&&n!==void 0?n:"highlight-html-match"};o?.attributes!=null&&(l.each=u=>{for(let h in o.attributes)u.setAttribute(h,o.attributes[h])}),s.mark(e.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((a=e.match(/"[^"]+"/g))!==null&&a!==void 0?a:[]).forEach(u=>s.mark(u.replace(/"/g,""),{...l,separateWordSearch:!1}))}}r.setAttribute("data-highlight-html-query",e??"")}var Mn={};M(Mn,{noTextInputDefaultClearButton:()=>Td,noTextSelect:()=>Id,safariEllipsisFix:()=>_d,wordWrap:()=>Pd});var Id=$`
|
|
12
12
|
.ft-no-text-select {
|
|
13
13
|
-webkit-touch-callout: none;
|
|
14
14
|
-webkit-user-select: none;
|
|
@@ -17,7 +17,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
17
17
|
-ms-user-select: none;
|
|
18
18
|
user-select: none;
|
|
19
19
|
}
|
|
20
|
-
`,
|
|
20
|
+
`,Pd=$`
|
|
21
21
|
.ft-word-wrap {
|
|
22
22
|
white-space: normal;
|
|
23
23
|
word-wrap: break-word;
|
|
@@ -29,7 +29,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
29
29
|
-webkit-hyphens: auto;
|
|
30
30
|
hyphens: auto
|
|
31
31
|
}
|
|
32
|
-
`,
|
|
32
|
+
`,_d=$`
|
|
33
33
|
.ft-safari-ellipsis-fix {
|
|
34
34
|
margin-right: 0;
|
|
35
35
|
|
|
@@ -40,14 +40,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
40
40
|
display: inline-block;
|
|
41
41
|
width: 0;
|
|
42
42
|
}
|
|
43
|
-
`,
|
|
43
|
+
`,Td=$`
|
|
44
44
|
input::-webkit-search-cancel-button,
|
|
45
45
|
input::-webkit-search-decoration,
|
|
46
46
|
input::-webkit-search-results-button,
|
|
47
47
|
input::-webkit-search-results-decoration {
|
|
48
48
|
display: none;
|
|
49
49
|
}
|
|
50
|
-
`;var Xi={};var Mn={};M(Mn,{ParametrizedLabelResolver:()=>Dn});var Dn=class r{constructor(e,o){this.defaultLabels=e,this.labels=o}resolve(e,...o){var n,a;e=this.resolvePluralKey(e,o);let i=(a=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&a!==void 0?a:"";return r.replaceParameters(i,...o)}static replaceParameters(e,...o){return o.forEach((n,a)=>e=e.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>r.formatValue(n,s))),e}resolvePluralKey(e,o){for(let n of o)if(typeof n=="number"){let a=`${String(e)}[\\=${n}]`;if(a in this.labels||a in this.defaultLabels)return a}return e}static formatValue(e,o){return e instanceof Date?r.formatDate(e,o):e??""}static formatDate(e,o){let n=a=>o?.includes("date")?e.toLocaleDateString(a):o?.includes("time")?e.toLocaleTimeString(a):e.toLocaleString(a);try{return n(document.documentElement.lang)}catch{return n()}}};var pa={};M(pa,{FtCommandQueue:()=>ur,FtLitElementRedux:()=>gt,FtReduxStore:()=>ua,clearAllStores:()=>hu,isFtReduxStore:()=>rt,redux:()=>Pd,reduxEventListener:()=>_d,reduxReactive:()=>Id});var Id=()=>(r,e)=>{var o;let n=r.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(e)},Pd=r=>{let e=r??{};return(o,n)=>{var a;let i={hasChanged:Jt,attribute:!1,...e};D(i)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(a=e.selector)!==null&&a!==void 0?a:l=>l[n],store:e.store})}},_d=r=>(e,o)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,r)};var ur=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 rt(r){var e;return(e=r?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Qi,es,ts,Kr=Symbol("internalReduxEventsUnsubscribers"),Te=Symbol("internalStoresUnsubscribers"),ot=Symbol("internalStores"),gt=class extends Z{constructor(){super(...arguments),this[Qi]=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[ot].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[ot].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[ot].get(e)}addStore(e,o){var n;o=(n=o??(rt(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[ot].delete(o)}setupStore(e,o){this[ot].set(e,o),this.subscribeToStore(e,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[ot].forEach((e,o)=>this.subscribeToStore(o,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let a=this.getStore(e.store);a&&(e.store?this[Te].has(e.store):this[Te].size>0)&&(this[o]=e.selector(a.getState(),this))}})}subscribeToStore(e,o){var n;this[Te].set(e,o.subscribe(()=>this.updateFromStores())),rt(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||o.name===a.store)){let s=l=>this[i](l);o.eventBus.addEventListener(a.eventName,s),this[Kr].push(()=>o.eventBus.removeEventListener(a.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Te].forEach((e,o)=>this.unsubscribeFromStore(o)),this[Kr].forEach(e=>e()),this[Kr]=[]}unsubscribeFromStore(e){this[Te].has(e)&&this[Te].get(e)(),this[Te].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Qi=Te,es=ot,ts=Kr;gt.reduxProperties=new Map;gt.reduxReactiveProperties=new Set;gt.reduxEventListeners=new Map;function re(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 a,i;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 Se(r){return!!r&&!!r[W]}function ae(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 a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===Md}(r)||Array.isArray(r)||!!r[cs]||!!(!((e=r.constructor)===null||e===void 0)&&e[cs])||Zn(r)||qn(r))}function nt(r,e,o){o===void 0&&(o=!1),xt(r)===0?(o?Object.keys:bt)(r).forEach(function(n){o&&typeof n=="symbol"||e(n,r[n],r)}):r.forEach(function(n,a){return e(a,n,r)})}function xt(r){var e=r[W];return e?e.i>3?e.i-4:e.i:Array.isArray(r)?1:Zn(r)?2:qn(r)?3:0}function mt(r,e){return xt(r)===2?r.has(e):Object.prototype.hasOwnProperty.call(r,e)}function Td(r,e){return xt(r)===2?r.get(e):r[e]}function ls(r,e,o){var n=xt(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 Zn(r){return Ud&&r instanceof Map}function qn(r){return Dd&&r instanceof Set}function ke(r){return r.o||r.t}function Yn(r){if(Array.isArray(r))return Array.prototype.slice.call(r);var e=fs(r);delete e[W];for(var o=bt(e),n=0;n<o.length;n++){var a=o[n],i=e[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:r[a]})}return Object.create(Object.getPrototypeOf(r),e)}function Jn(r,e){return e===void 0&&(e=!1),Xn(r)||Se(r)||!ae(r)||(xt(r)>1&&(r.set=r.add=r.clear=r.delete=kd),Object.freeze(r),e&&nt(r,function(o,n){return Jn(n,!0)},!0)),r}function kd(){re(2)}function Xn(r){return r==null||typeof r!="object"||Object.isFrozen(r)}function fe(r){var e=Kn[r];return e||re(18,r),e}function Ld(r,e){Kn[r]||(Kn[r]=e)}function jn(){return fr}function Bn(r,e){e&&(fe("Patches"),r.u=[],r.s=[],r.v=e)}function Zr(r){Vn(r),r.p.forEach(Fd),r.p=null}function Vn(r){r===fr&&(fr=r.l)}function rs(r){return fr={p:[],l:fr,h:r,m:!0,_:0}}function Fd(r){var e=r[W];e.i===0||e.i===1?e.j():e.g=!0}function Wn(r,e){e._=e.p.length;var o=e.p[0],n=r!==void 0&&r!==o;return e.h.O||fe("ES5").S(e,r,n),n?(o[W].P&&(Zr(e),re(4)),ae(r)&&(r=qr(e,r),e.l||Yr(e,r)),e.u&&fe("Patches").M(o[W].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(Xn(e))return e;var n=e[W];if(!n)return nt(e,function(l,d){return os(r,n,e,l,d,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 a=n.i===4||n.i===5?n.o=Yn(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),nt(i,function(l,d){return os(r,n,a,l,d,o,s)}),Yr(r,a,!1),o&&r.u&&fe("Patches").N(n,o,r.u,r.s)}return n.o}function os(r,e,o,n,a,i,s){if(Se(a)){var l=qr(r,a,i&&e&&e.i!==3&&!mt(e.R,n)?i.concat(n):void 0);if(ls(o,n,l),!Se(l))return;r.m=!1}else s&&o.add(a);if(ae(a)&&!Xn(a)){if(!r.h.D&&r._<1)return;qr(r,a),e&&e.A.l||Yr(r,a)}}function Yr(r,e,o){o===void 0&&(o=!1),!r.l&&r.h.D&&r.m&&Jn(e,o)}function Hn(r,e){var o=r[W];return(o?ke(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 Le(r){r.P||(r.P=!0,r.l&&Le(r.l))}function zn(r){r.o||(r.o=Yn(r.t))}function Gn(r,e,o){var n=Zn(e)?fe("MapSet").F(e,o):qn(e)?fe("MapSet").T(e,o):r.O?function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:jn(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},d=l,u=hr;s&&(d=[l],u=pr);var h=Proxy.revocable(d,u),f=h.revoke,g=h.proxy;return l.k=g,l.j=f,g}(e,o):fe("ES5").J(e,o);return(o?o.A:jn()).p.push(n),n}function $d(r){return Se(r)||re(22,r),function e(o){if(!ae(o))return o;var n,a=o[W],i=xt(o);if(a){if(!a.P&&(a.i<4||!fe("ES5").K(a)))return a.t;a.I=!0,n=as(o,i),a.I=!1}else n=as(o,i);return nt(n,function(s,l){a&&Td(a.t,s)===l||ls(n,s,e(l))}),i===3?new Set(n):n}(r)}function as(r,e){switch(e){case 2:return new Map(r);case 3:return Array.from(r)}return Yn(r)}function us(){function r(s,l){var d=i[s];return d?d.enumerable=l:i[s]=d={configurable:!0,enumerable:l,get:function(){var u=this[W];return hr.get(u,s)},set:function(u){var h=this[W];hr.set(h,s,u)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][W];if(!d.P)switch(d.i){case 5:n(d)&&Le(d);break;case 4:o(d)&&Le(d)}}}function o(s){for(var l=s.t,d=s.k,u=bt(d),h=u.length-1;h>=0;h--){var f=u[h];if(f!==W){var g=l[f];if(g===void 0&&!mt(l,f))return!0;var m=d[f],b=m&&m[W];if(b?b.t!==g:!ds(m,g))return!0}}var O=!!l[W];return u.length!==bt(l).length+(O?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var u=0;u<l.length;u++)if(!l.hasOwnProperty(u))return!0;return!1}function a(s){s.g&&re(3,JSON.stringify(ke(s)))}var i={};Ld("ES5",{J:function(s,l){var d=Array.isArray(s),u=function(f,g){if(f){for(var m=Array(g.length),b=0;b<g.length;b++)Object.defineProperty(m,""+b,r(b,!0));return m}var O=fs(g);delete O[W];for(var A=bt(O),C=0;C<A.length;C++){var w=A[C];O[w]=r(w,f||!!O[w].enumerable)}return Object.create(Object.getPrototypeOf(g),O)}(d,s),h={i:d?5:4,A:l?l.A:jn(),P:!1,I:!1,R:{},l,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,W,{value:h,writable:!0}),u},S:function(s,l,d){d?Se(l)&&l[W].A===s&&e(s.p):(s.u&&function u(h){if(h&&typeof h=="object"){var f=h[W];if(f){var g=f.t,m=f.k,b=f.R,O=f.i;if(O===4)nt(m,function(S){S!==W&&(g[S]!==void 0||mt(g,S)?b[S]||u(m[S]):(b[S]=!0,Le(f)))}),nt(g,function(S){m[S]!==void 0||mt(m,S)||(b[S]=!1,Le(f))});else if(O===5){if(n(f)&&(Le(f),b.length=!0),m.length<g.length)for(var A=m.length;A<g.length;A++)b[A]=!1;else for(var C=g.length;C<m.length;C++)b[C]=!0;for(var w=Math.min(m.length,g.length),v=0;v<w;v++)m.hasOwnProperty(v)||(b[v]=!0),b[v]===void 0&&u(m[v])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var is,fr,Qn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Ud=typeof Map<"u",Dd=typeof Set<"u",ss=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",ps=Qn?Symbol.for("immer-nothing"):((is={})["immer-nothing"]=!0,is),cs=Qn?Symbol.for("immer-draftable"):"__$immer_draftable",W=Qn?Symbol.for("immer-state"):"__$immer_state";var Md=""+Object.prototype.constructor,bt=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 bt(r).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(r,o)}),e},Kn={},hr={get:function(r,e){if(e===W)return r;var o=ke(r);if(!mt(o,e))return function(a,i,s){var l,d=ns(i,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(a.k):void 0}(r,o,e);var n=o[e];return r.I||!ae(n)?n:n===Hn(r.t,e)?(zn(r),r.o[e]=Gn(r.A.h,n,r)):n},has:function(r,e){return e in ke(r)},ownKeys:function(r){return Reflect.ownKeys(ke(r))},set:function(r,e,o){var n=ns(ke(r),e);if(n?.set)return n.set.call(r.k,o),!0;if(!r.P){var a=Hn(ke(r),e),i=a?.[W];if(i&&i.t===o)return r.o[e]=o,r.R[e]=!1,!0;if(ds(o,a)&&(o!==void 0||mt(r.t,e)))return!0;zn(r),Le(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 Hn(r.t,e)!==void 0||e in r.t?(r.R[e]=!1,zn(r),Le(r)):delete r.R[e],r.o&&delete r.o[e],!0},getOwnPropertyDescriptor:function(r,e){var o=ke(r),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{writable:!0,configurable:r.i!==1||e!=="length",enumerable:n.enumerable,value:o[e]}},defineProperty:function(){re(11)},getPrototypeOf:function(r){return Object.getPrototypeOf(r.t)},setPrototypeOf:function(){re(12)}},pr={};nt(hr,function(r,e){pr[r]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),pr.deleteProperty=function(r,e){return pr.set.call(this,r,e,void 0)},pr.set=function(r,e,o){return hr.set.call(this,r[0],e,o,r[0])};var Bd=function(){function r(o){var n=this;this.O=ss,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var d=n;return function(O){var A=this;O===void 0&&(O=l);for(var C=arguments.length,w=Array(C>1?C-1:0),v=1;v<C;v++)w[v-1]=arguments[v];return d.produce(O,function(S){var E;return(E=i).call.apply(E,[A,S].concat(w))})}}var u;if(typeof i!="function"&&re(6),s!==void 0&&typeof s!="function"&&re(7),ae(a)){var h=rs(n),f=Gn(n,a,void 0),g=!0;try{u=i(f),g=!1}finally{g?Zr(h):Vn(h)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(O){return Bn(h,s),Wn(O,h)},function(O){throw Zr(h),O}):(Bn(h,s),Wn(u,h))}if(!a||typeof a!="object"){if((u=i(a))===void 0&&(u=a),u===ps&&(u=void 0),n.D&&Jn(u,!0),s){var m=[],b=[];fe("Patches").M(a,u,m,b),s(m,b)}return u}re(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(u){for(var h=arguments.length,f=Array(h>1?h-1:0),g=1;g<h;g++)f[g-1]=arguments[g];return n.produceWithPatches(u,function(m){return a.apply(void 0,[m].concat(f))})};var s,l,d=n.produce(a,i,function(u,h){s=u,l=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(u){return[u,s,l]}):[d,s,l]},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){ae(o)||re(8),Se(o)&&(o=$d(o));var n=rs(this),a=Gn(this,o,void 0);return a[W].C=!0,Vn(n),a},e.finishDraft=function(o,n){var a=o&&o[W],i=a.A;return Bn(i,n),Wn(void 0,i)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!ss&&re(20),this.O=o},e.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){o=i.value;break}}a>-1&&(n=n.slice(a+1));var s=fe("Patches").$;return Se(o)?s(o,n):this.produce(o,function(l){return s(l,n)})},r}(),ee=new Bd,Wd=ee.produce,Hg=ee.produceWithPatches.bind(ee),zg=ee.setAutoFreeze.bind(ee),jg=ee.setUseProxies.bind(ee),Vg=ee.applyPatches.bind(ee),Gg=ee.createDraft.bind(ee),Kg=ee.finishDraft.bind(ee),Jr=Wd;function Fe(r){"@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(r)}function ea(r,e){if(Fe(r)!=="object"||r===null)return r;var o=r[Symbol.toPrimitive];if(o!==void 0){var n=o.call(r,e||"default");if(Fe(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function ta(r){var e=ea(r,"string");return Fe(e)==="symbol"?e:String(e)}function ra(r,e,o){return e=ta(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(a){return Object.getOwnPropertyDescriptor(r,a).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){ra(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 q(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 ys=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),oa=function(){return Math.random().toString(36).substring(7).split("").join(".")},Qr={INIT:"@@redux/INIT"+oa(),REPLACE:"@@redux/REPLACE"+oa(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+oa()}};function Hd(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 na(r,e,o){var n;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(q(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(q(1));return o(na)(r,e)}if(typeof r!="function")throw new Error(q(2));var a=r,i=e,s=[],l=s,d=!1;function u(){l===s&&(l=s.slice())}function h(){if(d)throw new Error(q(3));return i}function f(O){if(typeof O!="function")throw new Error(q(4));if(d)throw new Error(q(5));var A=!0;return u(),l.push(O),function(){if(A){if(d)throw new Error(q(6));A=!1,u();var w=l.indexOf(O);l.splice(w,1),s=null}}}function g(O){if(!Hd(O))throw new Error(q(7));if(typeof O.type>"u")throw new Error(q(8));if(d)throw new Error(q(9));try{d=!0,i=a(i,O)}finally{d=!1}for(var A=s=l,C=0;C<A.length;C++){var w=A[C];w()}return O}function m(O){if(typeof O!="function")throw new Error(q(10));a=O,g({type:Qr.REPLACE})}function b(){var O,A=f;return O={subscribe:function(w){if(typeof w!="object"||w===null)throw new Error(q(11));function v(){w.next&&w.next(h())}v();var S=A(v);return{unsubscribe:S}}},O[ys]=function(){return this},O}return g({type:Qr.INIT}),n={dispatch:g,subscribe:f,getState:h,replaceReducer:m},n[ys]=b,n}function zd(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(q(12));if(typeof o(void 0,{type:Qr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(q(13))})}function gs(r){for(var e=Object.keys(r),o={},n=0;n<e.length;n++){var a=e[n];typeof r[a]=="function"&&(o[a]=r[a])}var i=Object.keys(o),s,l;try{zd(o)}catch(d){l=d}return function(u,h){if(u===void 0&&(u={}),l)throw l;if(0)var f;for(var g=!1,m={},b=0;b<i.length;b++){var O=i[b],A=o[O],C=u[O],w=A(C,h);if(typeof w>"u"){var v=h&&h.type;throw new Error(q(14))}m[O]=w,g=g||w!==C}return g=g||i.length!==Object.keys(u).length,g?m:u}}function vt(){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,a){return function(){return n(a.apply(void 0,arguments))}})}function ms(){for(var r=arguments.length,e=new Array(r),o=0;o<r;o++)e[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(q(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return i=vt.apply(void 0,l)(a.dispatch),Xr(Xr({},a),{},{dispatch:i})}}}function bs(r){var e=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,r):s(l)}}};return e}var xs=bs();xs.withExtraArgument=bs;var aa=xs;var Cs=function(){var r=function(e,o){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},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)}}(),jd=function(r,e){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(u){return function(h){return d([u,h])}}function d(u){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(i=u[0]&2?a.return:u[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;switch(a=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,a=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(u[0]===6&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=e.call(r,o)}catch(h){u=[6,h],a=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},St=function(r,e){for(var o=0,n=e.length,a=r.length;o<n;o++,a++)r[a]=e[o];return r},Vd=Object.defineProperty,Gd=Object.defineProperties,Kd=Object.getOwnPropertyDescriptors,vs=Object.getOwnPropertySymbols,Zd=Object.prototype.hasOwnProperty,qd=Object.prototype.propertyIsEnumerable,Ss=function(r,e,o){return e in r?Vd(r,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[e]=o},$e=function(r,e){for(var o in e||(e={}))Zd.call(e,o)&&Ss(r,o,e[o]);if(vs)for(var n=0,a=vs(e);n<a.length;n++){var o=a[n];qd.call(e,o)&&Ss(r,o,e[o])}return r},ia=function(r,e){return Gd(r,Kd(e))},Yd=function(r,e,o){return new Promise(function(n,a){var i=function(d){try{l(o.next(d))}catch(u){a(u)}},s=function(d){try{l(o.throw(d))}catch(u){a(u)}},l=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(i,s)};l((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"?vt:vt.apply(null,arguments)},um=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(r){return r}};function Xd(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 Qd=function(r){Cs(e,r);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=r.apply(this,o)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return 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,St([void 0],o[0].concat(this)))):new(e.bind.apply(e,St([void 0],o.concat(this))))},e}(Array),eu=function(r){Cs(e,r);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=r.apply(this,o)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return 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,St([void 0],o[0].concat(this)))):new(e.bind.apply(e,St([void 0],o.concat(this))))},e}(Array);function la(r){return ae(r)?Jr(r,function(){}):r}function tu(r){return typeof r=="boolean"}function ru(){return function(e){return ou(e)}}function ou(r){r===void 0&&(r={});var e=r.thunk,o=e===void 0?!0:e,n=r.immutableCheck,a=n===void 0?!0:n,i=r.serializableCheck,s=i===void 0?!0:i,l=new Qd;if(o&&(tu(o)?l.push(aa):l.push(aa.withExtraArgument(o.extraArgument))),0){if(a)var d;if(s)var u}return l}var sa=!0;function ws(r){var e=ru(),o=r||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,s=i===void 0?e():i,l=o.devTools,d=l===void 0?!0:l,u=o.preloadedState,h=u===void 0?void 0:u,f=o.enhancers,g=f===void 0?void 0:f,m;if(typeof a=="function")m=a;else if(Xd(a))m=gs(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var b=s;if(typeof b=="function"&&(b=b(e),!sa&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!sa&&b.some(function(S){return typeof S!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=ms.apply(void 0,b),A=vt;d&&(A=Jd($e({trace:!sa},typeof d=="object"&&d)));var C=new eu(O),w=C;Array.isArray(g)?w=St([O],g):typeof g=="function"&&(w=g(C));var v=A.apply(void 0,w);return na(m,h,v)}function Ue(r,e){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(e){var i=e.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return $e($e({type:r,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.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,a={addCase:function(i,s){var l=typeof i=="string"?i:i.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,a},addMatcher:function(i,s){return o.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return r(a),[e,o,n]}function nu(r){return typeof r=="function"}function au(r,e,o,n){o===void 0&&(o=[]);var a=typeof e=="function"?As(e):[e,o,n],i=a[0],s=a[1],l=a[2],d;if(nu(r))d=function(){return la(r())};else{var u=la(r);d=function(){return u}}function h(f,g){f===void 0&&(f=d());var m=St([i[g.type]],s.filter(function(b){var O=b.matcher;return O(g)}).map(function(b){var O=b.reducer;return O}));return m.filter(function(b){return!!b}).length===0&&(m=[l]),m.reduce(function(b,O){if(O)if(Se(b)){var A=b,C=O(A,g);return C===void 0?b:C}else{if(ae(b))return Jr(b,function(w){return O(w,g)});var C=O(b,g);if(C===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return C}return b},f)}return h.getInitialState=d,h}function iu(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:la(r.initialState),n=r.reducers||{},a=Object.keys(n),i={},s={},l={};a.forEach(function(h){var f=n[h],g=iu(e,h),m,b;"reducer"in f?(m=f.reducer,b=f.prepare):m=f,i[h]=m,s[g]=m,l[h]=b?Ue(g,b):Ue(g)});function d(){var h=typeof r.extraReducers=="function"?As(r.extraReducers):[r.extraReducers],f=h[0],g=f===void 0?{}:f,m=h[1],b=m===void 0?[]:m,O=h[2],A=O===void 0?void 0:O,C=$e($e({},g),s);return au(o,function(w){for(var v in C)w.addCase(v,C[v]);for(var S=0,E=b;S<E.length;S++){var P=E[S];w.addMatcher(P.matcher,P.reducer)}A&&w.addDefaultCase(A)})}var u;return{name:e,reducer:function(h,f){return u||(u=d()),u(h,f)},actions:l,caseReducers:i,getInitialState:function(){return u||(u=d()),u.getInitialState()}}}var su="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",cu=function(r){r===void 0&&(r=21);for(var e="",o=r;o--;)e+=su[Math.random()*64|0];return e},lu=["name","message","stack","code"],ca=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}(),du=function(r){if(typeof r=="object"&&r!==null){for(var e={},o=0,n=lu;o<n.length;o++){var a=n[o];typeof r[a]=="string"&&(e[a]=r[a])}return e}return{message:String(r)}},ym=function(){function r(e,o,n){var a=Ue(e+"/fulfilled",function(h,f,g,m){return{payload:h,meta:ia($e({},m||{}),{arg:g,requestId:f,requestStatus:"fulfilled"})}}),i=Ue(e+"/pending",function(h,f,g){return{payload:void 0,meta:ia($e({},g||{}),{arg:f,requestId:h,requestStatus:"pending"})}}),s=Ue(e+"/rejected",function(h,f,g,m,b){return{payload:m,error:(n&&n.serializeError||du)(h||"Rejected"),meta:ia($e({},b||{}),{arg:g,requestId:f,rejectedWithValue:!!m,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!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 u(h){return function(f,g,m){var b=n?.idGenerator?n.idGenerator(h):cu(),O=new d,A,C=!1;function w(S){A=S,O.abort()}var v=function(){return Yd(this,null,function(){var S,E,P,k,$,U,N;return jd(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),k=(S=n?.condition)==null?void 0:S.call(n,h,{getState:g,extra:m}),pu(k)?[4,k]:[3,2];case 1:k=y.sent(),y.label=2;case 2:if(k===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return C=!0,$=new Promise(function(x,R){return O.signal.addEventListener("abort",function(){return R({name:"AbortError",message:A||"Aborted"})})}),f(i(b,h,(E=n?.getPendingMeta)==null?void 0:E.call(n,{requestId:b,arg:h},{getState:g,extra:m}))),[4,Promise.race([$,Promise.resolve(o(h,{dispatch:f,getState:g,extra:m,requestId:b,signal:O.signal,abort:w,rejectWithValue:function(x,R){return new ca(x,R)},fulfillWithValue:function(x,R){return new Os(x,R)}})).then(function(x){if(x instanceof ca)throw x;return x instanceof Os?a(x.payload,b,h,x.meta):a(x,b,h)})])];case 3:return P=y.sent(),[3,5];case 4:return U=y.sent(),P=U instanceof ca?s(null,b,h,U.payload,U.meta):s(U,b,h),[3,5];case 5:return N=n&&!n.dispatchConditionRejection&&s.match(P)&&P.meta.condition,N||f(P),[2,P]}})})}();return Object.assign(v,{abort:w,requestId:b,arg:h,unwrap:function(){return v.then(uu)}})}}return Object.assign(u,{pending:i,rejected:s,fulfilled:a,typePrefix:e})}return r.withTypes=function(){return r},r}();function uu(r){if(r.meta&&r.meta.rejectedWithValue)throw r.payload;if(r.error)throw r.error;return r.payload}function pu(r){return r!==null&&typeof r=="object"&&typeof r.then=="function"}var Ns="listener",Is="completed",Ps="cancelled",gm="task-"+Ps,mm="task-"+Is,bm=Ns+"-"+Ps,xm=Ns+"-"+Is;var da="listenerMiddleware";var vm=Ue(da+"/add"),Sm=Ue(da+"/removeAll"),Om=Ue(da+"/remove");var Es,Em=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)})},fu=function(r){return function(e){setTimeout(e,r)}},Cm=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:fu(10);us();window.ftReduxStores||(window.ftReduxStores={});var ua=class r{static get(e){var o;let n=typeof e=="string"?e:e.name,a=typeof e=="string"?void 0:e,i=window.ftReduxStores[n];if(rt(i))return i;if(a==null)return;let s=Rs({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),l=ws({reducer:(d,u)=>u.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...u.overwrites}:s.reducer(d,u)});return window.ftReduxStores[a.name]=new r(s,l)}constructor(e,o){this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new ur,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,a,i)=>{let s=a,l=n[s];return l?(...d)=>{let u=l(...d);return this.reduxStore.dispatch(u),u}: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 hu(){var r;for(let e of Object.values((r=window.ftReduxStores)!==null&&r!==void 0?r:{}))rt(e)&&e.clear()}var ya={};M(ya,{scrollHelper:()=>yu});var fa,eo=new Map,ha=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=a=>{var i;a.stopPropagation();let s,l;for(let d of a.composedPath()){let u=d,h=this.elementCanScroll(u);if(h&&u.clientHeight&&u.clientHeight<u.scrollHeight){s=u;break}else h&&l==null&&(l=u)}o=(i=s??l)!==null&&i!==void 0?i: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 a=this.getAbsoluteScrollOffset(n,e),i=a-n.clientHeight+e.clientHeight,s=a,l=ko(0,(s-n.scrollTop)/(s-i),1),d=this.computeTopOffsetRatio(o?.position,l)*(i-s)+s;n.scrollTo({behavior:o?.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=(fa=window.FluidTopicsScrollHelper)!==null&&fa!==void 0?fa:new ha;var yu=window.FluidTopicsScrollHelper;var ga={};M(ga,{shadowQuerySelector:()=>gu,shadowQuerySelectorAll:()=>mu});function gu(r,e,...o){var n;let a=r.querySelector(e);for(let i of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}function mu(r,e,...o){let n=[...r.querySelectorAll(e)];for(let a of o)n=n.flatMap(i=>{var s,l;return[...(l=(s=i.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(a))!==null&&l!==void 0?l:[]]});return n}var ma={};M(ma,{SearchPlaceConverter:()=>oo,SearchPlaceQueryParams:()=>B,isSearchPlaceQueryParams:()=>Qs,serializeRequest:()=>Su});var bu=Tc(Ts(),1);var ks;(function(r){r.black="black",r.green="green",r.blue="blue",r.purple="purple",r.red="red",r.orange="orange",r.yellow="yellow"})(ks||(ks={}));var Ls;(function(r){r.OFFICIAL="OFFICIAL",r.PERSONAL="PERSONAL",r.SHARED="SHARED"})(Ls||(Ls={}));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 $s;(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"})($s||($s={}));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 Hs;(function(r){r.ASC="ASC",r.DESC="DESC"})(Hs||(Hs={}));var zs;(function(r){r.ALPHA="ALPHA",r.NATURAL="NATURAL"})(zs||(zs={}));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 Gs;(function(r){r.FLUIDTOPICS="FLUIDTOPICS",r.EXTERNAL="EXTERNAL"})(Gs||(Gs={}));var Ks;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC",r.PERSONAL_BOOK="PERSONAL_BOOK",r.SHARED_BOOK="SHARED_BOOK"})(Ks||(Ks={}));var yr;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(yr||(yr={}));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 G;(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"})(G||(G={}));var Xs;(function(r){r.VALID="VALID",r.INVALID="INVALID"})(Xs||(Xs={}));var Wm={[G.PERSONAL_BOOK_SHARE_USER]:[G.PERSONAL_BOOK_USER],[G.HTML_EXPORT_USER]:[G.PERSONAL_BOOK_USER],[G.PDF_EXPORT_USER]:[G.PERSONAL_BOOK_USER],[G.KHUB_ADMIN]:[G.CONTENT_PUBLISHER],[G.ADMIN]:[G.KHUB_ADMIN,G.USERS_ADMIN,G.PORTAL_ADMIN],[G.DEVELOPER]:[G.BETA_USER,G.DEBUG_USER]};function xu(r){return`"${r}"`}function vu(r){return r.startsWith('"')&&r.endsWith('"')?r.replace(/(^"+)|("+$)/g,""):r}function Su(r,e){return new oo(r,{}).serialize(e)}var B;(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"})(B||(B={}));var Ou=new Set(Object.values(B));function Qs(r){return Ou.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,a,i,s,l,d,u,h,f;let g=new URLSearchParams({[B.LOCALE]:(o=e.contentLocale)!==null&&o!==void 0?o:"all"});((n=e.query)===null||n===void 0?void 0:n.length)>0&&g.append(B.QUERY,e.query),e.scope&&e.scope!=="DEFAULT"&&g.append(B.SCOPE,e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&g.append(B.VIRTUAL_FIELD,e.virtualField.toLowerCase()),((a=e.sort)===null||a===void 0?void 0:a.length)>0&&e.sort[0].key==="ft:lastEdition"&&g.append(B.SORT,"last_update");let m=(s=(i=e.metadataFilters)===null||i===void 0?void 0:i.filter(C=>C.valueFilter))!==null&&s!==void 0?s:[];if(m.length>0){let C=m.map(w=>{var v,S;let E=((S=(v=w.valueFilter)===null||v===void 0?void 0:v.values)!==null&&S!==void 0?S:[]).map(P=>this.escapeFilters(P)).map(P=>encodeURIComponent(xu(P))).join("_");return`${w.key}~${E}`}).join("*");g.append(B.VALUE_FILTERS,C)}let b=(d=(l=e.metadataFilters)===null||l===void 0?void 0:l.filter(C=>C.dateFilter))!==null&&d!==void 0?d:[];if(b.length>0){let C=b.map(w=>{var v;return`${w.key}~${(v=w.dateFilter)===null||v===void 0?void 0:v.type.toLowerCase()}`}).join("*");g.append(B.DATE_FILTERS,C)}let O=(h=(u=e.metadataFilters)===null||u===void 0?void 0:u.filter(C=>C.rangeFilter))!==null&&h!==void 0?h:[];if(O.length>0){let C=O.map(w=>{var v,S;return`${w.key}~${(v=w.rangeFilter)===null||v===void 0?void 0:v.from}_${(S=w.rangeFilter)===null||S===void 0?void 0:S.to}`}).join("*");g.append(B.RANGE_FILTERS,C)}let A=(f=e.otherQueryParams)!==null&&f!==void 0?f:{};for(let C in A)g.append(C,A[C]);return g}parse(e){var o;let n=e.split("?"),a=this.fromURLSearchParams(new URLSearchParams(n.slice(1).join("?"))),i=n[0].split("/search/")[1];return i==null?a:{...a,scope:(o=this.scopeMapping[i])!==null&&o!==void 0?o:a.scope}}fromURLSearchParams(e){var o,n,a,i,s,l,d,u;let h=((o=e.get(B.VIRTUAL_FIELD))!==null&&o!==void 0?o:"EVERYWHERE").toUpperCase(),f=((n=e.get(B.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),g=(a=e.get(B.SCOPE))!==null&&a!==void 0?a:"default",m={};for(let b of e.keys())Qs(b)||(m[b]=e.get(b));return{contentLocale:e.get(B.LOCALE)==="all"?void 0:(i=e.get(B.LOCALE))!==null&&i!==void 0?i:void 0,query:decodeURIComponent((s=e.get(B.QUERY))!==null&&s!==void 0?s:""),scope:(l=this.scopeMapping[g])!==null&&l!==void 0?l:"DEFAULT",virtualField:Ys(h)?h:"EVERYWHERE",sort:(u=(d=this.predefinedSorts[f])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&u!==void 0?u:[],metadataFilters:this.parseCompatFilters(e),facets:[],paging:{page:1,perPage:20},otherQueryParams:m}}parseCompatFilters(e){var o,n,a,i,s,l;let d=[];return e.has(B.FILTERS)&&(d=this.parseValueFilters((o=e.get(B.FILTERS))!==null&&o!==void 0?o:"")),(n=e.has(B.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((a=e.get(B.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...d,...this.parseValueFilters((i=e.get(B.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=e.get(B.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get(B.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}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(vu).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],dateFilter:{type:yr[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,a]of this.filtersEscapeMapping)e=e.replaceAll(o,n);return e}superEscapeFilters(e){for(let[o,n,a]of this.filtersEscapeMapping)e=e.replaceAll(n,a);return e}unescapeFilterValue(e){for(let[o,n,a]of this.filtersEscapeMapping)e=e.replace(a,o);return e}parseLegacyPeriodFilter(e){if(Js(e))return[{key:"ft:lastEdition",dateFilter:{type:yr[e]}}];if(e.startsWith("CUSTOM_")){let[o,n,a]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:a}}]}return[]}};var ba={};M(ba,{toFtFormComponent:()=>Eu});var no=Symbol("elementInternals");function Eu(r,e){class o extends r{static get formAssociated(){return!0}get form(){return this[no].form}constructor(...a){super(a),this[no]=this.attachInternals(),this[no].role=e}setFormValue(a){this[no].setFormValue(a)}}return o}var va={};M(va,{DateFormatter:()=>xa});var xa=class{static format(e,o,n,a){return window.moment?window.moment(e).locale(o).format(this.getDateFormat(n,a)):e}static getDateFormat(e,o){return e?o?"lll":"ll":o?"L LT":"L"}};var Sa,Oa,Ea,Ca,Cu=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Ea=(Oa=(Sa=window.safari)===null||Sa===void 0?void 0:Sa.pushNotification)===null||Oa===void 0?void 0:Oa.toString())!==null&&Ea!==void 0?Ea:"")==="[object SafariRemoteNotification]",wu="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Ca=window.ftGlobals)!==null&&Ca!==void 0?Ca:{lit:vo,litDecorators:So,litRepeat:Oo,litClassMap:Eo,litStyleMap:Co,litUnsafeHTML:wo,wcUtils:{...Io,...Ro,..._o,...va,...To,...$o,...pn,...gn,...Pn,...un,...Ln,...Tn,...Yi,...Lo,...$n,...Un,...Xi,...Mn,...pa,..._n,...ya,...ga,...ma,...ba,isSafari:Cu,isTouchScreen:wu,setVariable:Br}};var ec=t.extend("--ft-ripple-color","",V.colorContent),at={color:ec,backgroundColor:t.extend("--ft-ripple-background-color","",ec),opacityContentOnSurfacePressed:t.external(V.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:t.external(V.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:t.external(V.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:t.external(V.opacityContentOnSurfaceSelected,"Design system"),borderRadius:t.create("--ft-ripple-border-radius","","SIZE","0px")},tc=t.extend("--ft-ripple-color","",V.colorPrimary),rc={color:tc,backgroundColor:t.extend("--ft-ripple-background-color","",tc)},oc=t.extend("--ft-ripple-color","",V.colorSecondary),nc={color:oc,backgroundColor:t.extend("--ft-ripple-background-color","",oc)},ac=L`
|
|
50
|
+
`;var ts={};var Wn={};M(Wn,{ParametrizedLabelResolver:()=>Bn});var Bn=class r{constructor(e,o){this.defaultLabels=e,this.labels=o}resolve(e,...o){var n,a;e=this.resolvePluralKey(e,o);let i=(a=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&a!==void 0?a:"";return r.replaceParameters(i,...o)}static replaceParameters(e,...o){return o.forEach((n,a)=>e=e.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>r.formatValue(n,s))),e}resolvePluralKey(e,o){for(let n of o)if(typeof n=="number"){let a=`${String(e)}[\\=${n}]`;if(a in this.labels||a in this.defaultLabels)return a}return e}static formatValue(e,o){return e instanceof Date?r.formatDate(e,o):e??""}static formatDate(e,o){let n=a=>o?.includes("date")?e.toLocaleDateString(a):o?.includes("time")?e.toLocaleTimeString(a):e.toLocaleString(a);try{return n(document.documentElement.lang)}catch{return n()}}};var ha={};M(ha,{FtCommandQueue:()=>hr,FtLitElementRedux:()=>mt,FtReduxStore:()=>fa,clearAllStores:()=>bu,isFtReduxStore:()=>ot,redux:()=>kd,reduxEventListener:()=>Fd,reduxReactive:()=>Ld});var Ld=()=>(r,e)=>{var o;let n=r.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(e)},kd=r=>{let e=r??{};return(o,n)=>{var a;let i={hasChanged:Qt,attribute:!1,...e};D(i)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(a=e.selector)!==null&&a!==void 0?a:l=>l[n],store:e.store})}},Fd=r=>(e,o)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,r)};var hr=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 ot(r){var e;return(e=r?.isFtReduxStore)!==null&&e!==void 0?e:!1}var rs,os,ns,Yr=Symbol("internalReduxEventsUnsubscribers"),Te=Symbol("internalStoresUnsubscribers"),nt=Symbol("internalStores"),mt=class extends Z{constructor(){super(...arguments),this[rs]=new Map,this[os]=new Map,this[ns]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(o=>e.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[nt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[nt].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[nt].get(e)}addStore(e,o){var n;o=(n=o??(ot(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[nt].delete(o)}setupStore(e,o){this[nt].set(e,o),this.subscribeToStore(e,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[nt].forEach((e,o)=>this.subscribeToStore(o,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let a=this.getStore(e.store);a&&(e.store?this[Te].has(e.store):this[Te].size>0)&&(this[o]=e.selector(a.getState(),this))}})}subscribeToStore(e,o){var n;this[Te].set(e,o.subscribe(()=>this.updateFromStores())),ot(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||o.name===a.store)){let s=l=>this[i](l);o.addEventListener(a.eventName,s),this[Yr].push(()=>o.removeEventListener(a.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Te].forEach((e,o)=>this.unsubscribeFromStore(o)),this[Yr].forEach(e=>e()),this[Yr]=[]}unsubscribeFromStore(e){this[Te].has(e)&&this[Te].get(e)(),this[Te].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};rs=Te,os=nt,ns=Yr;mt.reduxProperties=new Map;mt.reduxReactiveProperties=new Set;mt.reduxEventListeners=new Map;function re(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 a,i;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 Se(r){return!!r&&!!r[W]}function ae(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 a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===zd}(r)||Array.isArray(r)||!!r[us]||!!(!((e=r.constructor)===null||e===void 0)&&e[us])||Yn(r)||Jn(r))}function at(r,e,o){o===void 0&&(o=!1),vt(r)===0?(o?Object.keys:xt)(r).forEach(function(n){o&&typeof n=="symbol"||e(n,r[n],r)}):r.forEach(function(n,a){return e(a,n,r)})}function vt(r){var e=r[W];return e?e.i>3?e.i-4:e.i:Array.isArray(r)?1:Yn(r)?2:Jn(r)?3:0}function bt(r,e){return vt(r)===2?r.has(e):Object.prototype.hasOwnProperty.call(r,e)}function $d(r,e){return vt(r)===2?r.get(e):r[e]}function ps(r,e,o){var n=vt(r);n===2?r.set(e,o):n===3?r.add(o):r[e]=o}function fs(r,e){return r===e?r!==0||1/r==1/e:r!=r&&e!=e}function Yn(r){return Wd&&r instanceof Map}function Jn(r){return Hd&&r instanceof Set}function Le(r){return r.o||r.t}function Xn(r){if(Array.isArray(r))return Array.prototype.slice.call(r);var e=gs(r);delete e[W];for(var o=xt(e),n=0;n<o.length;n++){var a=o[n],i=e[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:r[a]})}return Object.create(Object.getPrototypeOf(r),e)}function Qn(r,e){return e===void 0&&(e=!1),ea(r)||Se(r)||!ae(r)||(vt(r)>1&&(r.set=r.add=r.clear=r.delete=Ud),Object.freeze(r),e&&at(r,function(o,n){return Qn(n,!0)},!0)),r}function Ud(){re(2)}function ea(r){return r==null||typeof r!="object"||Object.isFrozen(r)}function fe(r){var e=qn[r];return e||re(18,r),e}function Dd(r,e){qn[r]||(qn[r]=e)}function Gn(){return gr}function Hn(r,e){e&&(fe("Patches"),r.u=[],r.s=[],r.v=e)}function Jr(r){Kn(r),r.p.forEach(Md),r.p=null}function Kn(r){r===gr&&(gr=r.l)}function as(r){return gr={p:[],l:gr,h:r,m:!0,_:0}}function Md(r){var e=r[W];e.i===0||e.i===1?e.j():e.g=!0}function zn(r,e){e._=e.p.length;var o=e.p[0],n=r!==void 0&&r!==o;return e.h.O||fe("ES5").S(e,r,n),n?(o[W].P&&(Jr(e),re(4)),ae(r)&&(r=Xr(e,r),e.l||Qr(e,r)),e.u&&fe("Patches").M(o[W].t,r,e.u,e.s)):r=Xr(e,o,[]),Jr(e),e.u&&e.v(e.u,e.s),r!==ys?r:void 0}function Xr(r,e,o){if(ea(e))return e;var n=e[W];if(!n)return at(e,function(l,d){return is(r,n,e,l,d,o)},!0),e;if(n.A!==r)return e;if(!n.P)return Qr(r,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Xn(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),at(i,function(l,d){return is(r,n,a,l,d,o,s)}),Qr(r,a,!1),o&&r.u&&fe("Patches").N(n,o,r.u,r.s)}return n.o}function is(r,e,o,n,a,i,s){if(Se(a)){var l=Xr(r,a,i&&e&&e.i!==3&&!bt(e.R,n)?i.concat(n):void 0);if(ps(o,n,l),!Se(l))return;r.m=!1}else s&&o.add(a);if(ae(a)&&!ea(a)){if(!r.h.D&&r._<1)return;Xr(r,a),e&&e.A.l||Qr(r,a)}}function Qr(r,e,o){o===void 0&&(o=!1),!r.l&&r.h.D&&r.m&&Qn(e,o)}function jn(r,e){var o=r[W];return(o?Le(o):r)[e]}function ss(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 ke(r){r.P||(r.P=!0,r.l&&ke(r.l))}function Vn(r){r.o||(r.o=Xn(r.t))}function Zn(r,e,o){var n=Yn(e)?fe("MapSet").F(e,o):Jn(e)?fe("MapSet").T(e,o):r.O?function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:Gn(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},d=l,u=mr;s&&(d=[l],u=yr);var h=Proxy.revocable(d,u),f=h.revoke,g=h.proxy;return l.k=g,l.j=f,g}(e,o):fe("ES5").J(e,o);return(o?o.A:Gn()).p.push(n),n}function Bd(r){return Se(r)||re(22,r),function e(o){if(!ae(o))return o;var n,a=o[W],i=vt(o);if(a){if(!a.P&&(a.i<4||!fe("ES5").K(a)))return a.t;a.I=!0,n=cs(o,i),a.I=!1}else n=cs(o,i);return at(n,function(s,l){a&&$d(a.t,s)===l||ps(n,s,e(l))}),i===3?new Set(n):n}(r)}function cs(r,e){switch(e){case 2:return new Map(r);case 3:return Array.from(r)}return Xn(r)}function hs(){function r(s,l){var d=i[s];return d?d.enumerable=l:i[s]=d={configurable:!0,enumerable:l,get:function(){var u=this[W];return mr.get(u,s)},set:function(u){var h=this[W];mr.set(h,s,u)}},d}function e(s){for(var l=s.length-1;l>=0;l--){var d=s[l][W];if(!d.P)switch(d.i){case 5:n(d)&&ke(d);break;case 4:o(d)&&ke(d)}}}function o(s){for(var l=s.t,d=s.k,u=xt(d),h=u.length-1;h>=0;h--){var f=u[h];if(f!==W){var g=l[f];if(g===void 0&&!bt(l,f))return!0;var m=d[f],b=m&&m[W];if(b?b.t!==g:!fs(m,g))return!0}}var S=!!l[W];return u.length!==xt(l).length+(S?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var u=0;u<l.length;u++)if(!l.hasOwnProperty(u))return!0;return!1}function a(s){s.g&&re(3,JSON.stringify(Le(s)))}var i={};Dd("ES5",{J:function(s,l){var d=Array.isArray(s),u=function(f,g){if(f){for(var m=Array(g.length),b=0;b<g.length;b++)Object.defineProperty(m,""+b,r(b,!0));return m}var S=gs(g);delete S[W];for(var C=xt(S),w=0;w<C.length;w++){var A=C[w];S[A]=r(A,f||!!S[A].enumerable)}return Object.create(Object.getPrototypeOf(g),S)}(d,s),h={i:d?5:4,A:l?l.A:Gn(),P:!1,I:!1,R:{},l,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,W,{value:h,writable:!0}),u},S:function(s,l,d){d?Se(l)&&l[W].A===s&&e(s.p):(s.u&&function u(h){if(h&&typeof h=="object"){var f=h[W];if(f){var g=f.t,m=f.k,b=f.R,S=f.i;if(S===4)at(m,function(v){v!==W&&(g[v]!==void 0||bt(g,v)?b[v]||u(m[v]):(b[v]=!0,ke(f)))}),at(g,function(v){m[v]!==void 0||bt(m,v)||(b[v]=!1,ke(f))});else if(S===5){if(n(f)&&(ke(f),b.length=!0),m.length<g.length)for(var C=m.length;C<g.length;C++)b[C]=!1;else for(var w=g.length;w<m.length;w++)b[w]=!0;for(var A=Math.min(m.length,g.length),O=0;O<A;O++)m.hasOwnProperty(O)||(b[O]=!0),b[O]===void 0&&u(m[O])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var ls,gr,ta=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Wd=typeof Map<"u",Hd=typeof Set<"u",ds=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",ys=ta?Symbol.for("immer-nothing"):((ls={})["immer-nothing"]=!0,ls),us=ta?Symbol.for("immer-draftable"):"__$immer_draftable",W=ta?Symbol.for("immer-state"):"__$immer_state";var zd=""+Object.prototype.constructor,xt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:Object.getOwnPropertyNames,gs=Object.getOwnPropertyDescriptors||function(r){var e={};return xt(r).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(r,o)}),e},qn={},mr={get:function(r,e){if(e===W)return r;var o=Le(r);if(!bt(o,e))return function(a,i,s){var l,d=ss(i,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(a.k):void 0}(r,o,e);var n=o[e];return r.I||!ae(n)?n:n===jn(r.t,e)?(Vn(r),r.o[e]=Zn(r.A.h,n,r)):n},has:function(r,e){return e in Le(r)},ownKeys:function(r){return Reflect.ownKeys(Le(r))},set:function(r,e,o){var n=ss(Le(r),e);if(n?.set)return n.set.call(r.k,o),!0;if(!r.P){var a=jn(Le(r),e),i=a?.[W];if(i&&i.t===o)return r.o[e]=o,r.R[e]=!1,!0;if(fs(o,a)&&(o!==void 0||bt(r.t,e)))return!0;Vn(r),ke(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 jn(r.t,e)!==void 0||e in r.t?(r.R[e]=!1,Vn(r),ke(r)):delete r.R[e],r.o&&delete r.o[e],!0},getOwnPropertyDescriptor:function(r,e){var o=Le(r),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{writable:!0,configurable:r.i!==1||e!=="length",enumerable:n.enumerable,value:o[e]}},defineProperty:function(){re(11)},getPrototypeOf:function(r){return Object.getPrototypeOf(r.t)},setPrototypeOf:function(){re(12)}},yr={};at(mr,function(r,e){yr[r]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),yr.deleteProperty=function(r,e){return yr.set.call(this,r,e,void 0)},yr.set=function(r,e,o){return mr.set.call(this,r[0],e,o,r[0])};var jd=function(){function r(o){var n=this;this.O=ds,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var d=n;return function(S){var C=this;S===void 0&&(S=l);for(var w=arguments.length,A=Array(w>1?w-1:0),O=1;O<w;O++)A[O-1]=arguments[O];return d.produce(S,function(v){var E;return(E=i).call.apply(E,[C,v].concat(A))})}}var u;if(typeof i!="function"&&re(6),s!==void 0&&typeof s!="function"&&re(7),ae(a)){var h=as(n),f=Zn(n,a,void 0),g=!0;try{u=i(f),g=!1}finally{g?Jr(h):Kn(h)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(S){return Hn(h,s),zn(S,h)},function(S){throw Jr(h),S}):(Hn(h,s),zn(u,h))}if(!a||typeof a!="object"){if((u=i(a))===void 0&&(u=a),u===ys&&(u=void 0),n.D&&Qn(u,!0),s){var m=[],b=[];fe("Patches").M(a,u,m,b),s(m,b)}return u}re(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(u){for(var h=arguments.length,f=Array(h>1?h-1:0),g=1;g<h;g++)f[g-1]=arguments[g];return n.produceWithPatches(u,function(m){return a.apply(void 0,[m].concat(f))})};var s,l,d=n.produce(a,i,function(u,h){s=u,l=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(u){return[u,s,l]}):[d,s,l]},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){ae(o)||re(8),Se(o)&&(o=Bd(o));var n=as(this),a=Zn(this,o,void 0);return a[W].C=!0,Kn(n),a},e.finishDraft=function(o,n){var a=o&&o[W],i=a.A;return Hn(i,n),zn(void 0,i)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!ds&&re(20),this.O=o},e.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){o=i.value;break}}a>-1&&(n=n.slice(a+1));var s=fe("Patches").$;return Se(o)?s(o,n):this.produce(o,function(l){return s(l,n)})},r}(),ee=new jd,Vd=ee.produce,Kg=ee.produceWithPatches.bind(ee),Zg=ee.setAutoFreeze.bind(ee),qg=ee.setUseProxies.bind(ee),Yg=ee.applyPatches.bind(ee),Jg=ee.createDraft.bind(ee),Xg=ee.finishDraft.bind(ee),eo=Vd;function Fe(r){"@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(r)}function ra(r,e){if(Fe(r)!=="object"||r===null)return r;var o=r[Symbol.toPrimitive];if(o!==void 0){var n=o.call(r,e||"default");if(Fe(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function oa(r){var e=ra(r,"string");return Fe(e)==="symbol"?e:String(e)}function na(r,e,o){return e=oa(e),e in r?Object.defineProperty(r,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[e]=o,r}function ms(r,e){var o=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),o.push.apply(o,n)}return o}function to(r){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?ms(Object(o),!0).forEach(function(n){na(r,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):ms(Object(o)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(o,n))})}return r}function q(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 bs=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),aa=function(){return Math.random().toString(36).substring(7).split("").join(".")},ro={INIT:"@@redux/INIT"+aa(),REPLACE:"@@redux/REPLACE"+aa(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+aa()}};function Gd(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 ia(r,e,o){var n;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(q(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(q(1));return o(ia)(r,e)}if(typeof r!="function")throw new Error(q(2));var a=r,i=e,s=[],l=s,d=!1;function u(){l===s&&(l=s.slice())}function h(){if(d)throw new Error(q(3));return i}function f(S){if(typeof S!="function")throw new Error(q(4));if(d)throw new Error(q(5));var C=!0;return u(),l.push(S),function(){if(C){if(d)throw new Error(q(6));C=!1,u();var A=l.indexOf(S);l.splice(A,1),s=null}}}function g(S){if(!Gd(S))throw new Error(q(7));if(typeof S.type>"u")throw new Error(q(8));if(d)throw new Error(q(9));try{d=!0,i=a(i,S)}finally{d=!1}for(var C=s=l,w=0;w<C.length;w++){var A=C[w];A()}return S}function m(S){if(typeof S!="function")throw new Error(q(10));a=S,g({type:ro.REPLACE})}function b(){var S,C=f;return S={subscribe:function(A){if(typeof A!="object"||A===null)throw new Error(q(11));function O(){A.next&&A.next(h())}O();var v=C(O);return{unsubscribe:v}}},S[bs]=function(){return this},S}return g({type:ro.INIT}),n={dispatch:g,subscribe:f,getState:h,replaceReducer:m},n[bs]=b,n}function Kd(r){Object.keys(r).forEach(function(e){var o=r[e],n=o(void 0,{type:ro.INIT});if(typeof n>"u")throw new Error(q(12));if(typeof o(void 0,{type:ro.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(q(13))})}function xs(r){for(var e=Object.keys(r),o={},n=0;n<e.length;n++){var a=e[n];typeof r[a]=="function"&&(o[a]=r[a])}var i=Object.keys(o),s,l;try{Kd(o)}catch(d){l=d}return function(u,h){if(u===void 0&&(u={}),l)throw l;if(0)var f;for(var g=!1,m={},b=0;b<i.length;b++){var S=i[b],C=o[S],w=u[S],A=C(w,h);if(typeof A>"u"){var O=h&&h.type;throw new Error(q(14))}m[S]=A,g=g||A!==w}return g=g||i.length!==Object.keys(u).length,g?m:u}}function St(){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,a){return function(){return n(a.apply(void 0,arguments))}})}function vs(){for(var r=arguments.length,e=new Array(r),o=0;o<r;o++)e[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(q(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=e.map(function(d){return d(s)});return i=St.apply(void 0,l)(a.dispatch),to(to({},a),{},{dispatch:i})}}}function Ss(r){var e=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,r):s(l)}}};return e}var Os=Ss();Os.withExtraArgument=Ss;var sa=Os;var Rs=function(){var r=function(e,o){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},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)}}(),Zd=function(r,e){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(u){return function(h){return d([u,h])}}function d(u){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(i=u[0]&2?a.return:u[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;switch(a=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,a=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(u[0]===6&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=e.call(r,o)}catch(h){u=[6,h],a=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Ot=function(r,e){for(var o=0,n=e.length,a=r.length;o<n;o++,a++)r[a]=e[o];return r},qd=Object.defineProperty,Yd=Object.defineProperties,Jd=Object.getOwnPropertyDescriptors,Es=Object.getOwnPropertySymbols,Xd=Object.prototype.hasOwnProperty,Qd=Object.prototype.propertyIsEnumerable,Cs=function(r,e,o){return e in r?qd(r,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[e]=o},$e=function(r,e){for(var o in e||(e={}))Xd.call(e,o)&&Cs(r,o,e[o]);if(Es)for(var n=0,a=Es(e);n<a.length;n++){var o=a[n];Qd.call(e,o)&&Cs(r,o,e[o])}return r},ca=function(r,e){return Yd(r,Jd(e))},eu=function(r,e,o){return new Promise(function(n,a){var i=function(d){try{l(o.next(d))}catch(u){a(u)}},s=function(d){try{l(o.throw(d))}catch(u){a(u)}},l=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(i,s)};l((o=o.apply(r,e)).next())})};var tu=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?St:St.apply(null,arguments)},gm=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(r){return r}};function ru(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 ou=function(r){Rs(e,r);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=r.apply(this,o)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return 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,Ot([void 0],o[0].concat(this)))):new(e.bind.apply(e,Ot([void 0],o.concat(this))))},e}(Array),nu=function(r){Rs(e,r);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=r.apply(this,o)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return 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,Ot([void 0],o[0].concat(this)))):new(e.bind.apply(e,Ot([void 0],o.concat(this))))},e}(Array);function ua(r){return ae(r)?eo(r,function(){}):r}function au(r){return typeof r=="boolean"}function iu(){return function(e){return su(e)}}function su(r){r===void 0&&(r={});var e=r.thunk,o=e===void 0?!0:e,n=r.immutableCheck,a=n===void 0?!0:n,i=r.serializableCheck,s=i===void 0?!0:i,l=new ou;if(o&&(au(o)?l.push(sa):l.push(sa.withExtraArgument(o.extraArgument))),0){if(a)var d;if(s)var u}return l}var la=!0;function Ns(r){var e=iu(),o=r||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,s=i===void 0?e():i,l=o.devTools,d=l===void 0?!0:l,u=o.preloadedState,h=u===void 0?void 0:u,f=o.enhancers,g=f===void 0?void 0:f,m;if(typeof a=="function")m=a;else if(ru(a))m=xs(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var b=s;if(typeof b=="function"&&(b=b(e),!la&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!la&&b.some(function(v){return typeof v!="function"}))throw new Error("each middleware provided to configureStore must be a function");var S=vs.apply(void 0,b),C=St;d&&(C=tu($e({trace:!la},typeof d=="object"&&d)));var w=new nu(S),A=w;Array.isArray(g)?A=Ot([S],g):typeof g=="function"&&(A=g(w));var O=C.apply(void 0,A);return ia(m,h,O)}function Ue(r,e){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(e){var i=e.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return $e($e({type:r,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.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 Is(r){var e={},o=[],n,a={addCase:function(i,s){var l=typeof i=="string"?i:i.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,a},addMatcher:function(i,s){return o.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return r(a),[e,o,n]}function cu(r){return typeof r=="function"}function lu(r,e,o,n){o===void 0&&(o=[]);var a=typeof e=="function"?Is(e):[e,o,n],i=a[0],s=a[1],l=a[2],d;if(cu(r))d=function(){return ua(r())};else{var u=ua(r);d=function(){return u}}function h(f,g){f===void 0&&(f=d());var m=Ot([i[g.type]],s.filter(function(b){var S=b.matcher;return S(g)}).map(function(b){var S=b.reducer;return S}));return m.filter(function(b){return!!b}).length===0&&(m=[l]),m.reduce(function(b,S){if(S)if(Se(b)){var C=b,w=S(C,g);return w===void 0?b:w}else{if(ae(b))return eo(b,function(A){return S(A,g)});var w=S(b,g);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=d,h}function du(r,e){return r+"/"+e}function Ps(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:ua(r.initialState),n=r.reducers||{},a=Object.keys(n),i={},s={},l={};a.forEach(function(h){var f=n[h],g=du(e,h),m,b;"reducer"in f?(m=f.reducer,b=f.prepare):m=f,i[h]=m,s[g]=m,l[h]=b?Ue(g,b):Ue(g)});function d(){var h=typeof r.extraReducers=="function"?Is(r.extraReducers):[r.extraReducers],f=h[0],g=f===void 0?{}:f,m=h[1],b=m===void 0?[]:m,S=h[2],C=S===void 0?void 0:S,w=$e($e({},g),s);return lu(o,function(A){for(var O in w)A.addCase(O,w[O]);for(var v=0,E=b;v<E.length;v++){var R=E[v];A.addMatcher(R.matcher,R.reducer)}C&&A.addDefaultCase(C)})}var u;return{name:e,reducer:function(h,f){return u||(u=d()),u(h,f)},actions:l,caseReducers:i,getInitialState:function(){return u||(u=d()),u.getInitialState()}}}var uu="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",pu=function(r){r===void 0&&(r=21);for(var e="",o=r;o--;)e+=uu[Math.random()*64|0];return e},fu=["name","message","stack","code"],da=function(){function r(e,o){this.payload=e,this.meta=o}return r}(),ws=function(){function r(e,o){this.payload=e,this.meta=o}return r}(),hu=function(r){if(typeof r=="object"&&r!==null){for(var e={},o=0,n=fu;o<n.length;o++){var a=n[o];typeof r[a]=="string"&&(e[a]=r[a])}return e}return{message:String(r)}},vm=function(){function r(e,o,n){var a=Ue(e+"/fulfilled",function(h,f,g,m){return{payload:h,meta:ca($e({},m||{}),{arg:g,requestId:f,requestStatus:"fulfilled"})}}),i=Ue(e+"/pending",function(h,f,g){return{payload:void 0,meta:ca($e({},g||{}),{arg:f,requestId:h,requestStatus:"pending"})}}),s=Ue(e+"/rejected",function(h,f,g,m,b){return{payload:m,error:(n&&n.serializeError||hu)(h||"Rejected"),meta:ca($e({},b||{}),{arg:g,requestId:f,rejectedWithValue:!!m,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!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 u(h){return function(f,g,m){var b=n?.idGenerator?n.idGenerator(h):pu(),S=new d,C,w=!1;function A(v){C=v,S.abort()}var O=function(){return eu(this,null,function(){var v,E,R,_,F,k,I;return Zd(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),_=(v=n?.condition)==null?void 0:v.call(n,h,{getState:g,extra:m}),gu(_)?[4,_]:[3,2];case 1:_=y.sent(),y.label=2;case 2:if(_===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return w=!0,F=new Promise(function(x,N){return S.signal.addEventListener("abort",function(){return N({name:"AbortError",message:C||"Aborted"})})}),f(i(b,h,(E=n?.getPendingMeta)==null?void 0:E.call(n,{requestId:b,arg:h},{getState:g,extra:m}))),[4,Promise.race([F,Promise.resolve(o(h,{dispatch:f,getState:g,extra:m,requestId:b,signal:S.signal,abort:A,rejectWithValue:function(x,N){return new da(x,N)},fulfillWithValue:function(x,N){return new ws(x,N)}})).then(function(x){if(x instanceof da)throw x;return x instanceof ws?a(x.payload,b,h,x.meta):a(x,b,h)})])];case 3:return R=y.sent(),[3,5];case 4:return k=y.sent(),R=k instanceof da?s(null,b,h,k.payload,k.meta):s(k,b,h),[3,5];case 5:return I=n&&!n.dispatchConditionRejection&&s.match(R)&&R.meta.condition,I||f(R),[2,R]}})})}();return Object.assign(O,{abort:A,requestId:b,arg:h,unwrap:function(){return O.then(yu)}})}}return Object.assign(u,{pending:i,rejected:s,fulfilled:a,typePrefix:e})}return r.withTypes=function(){return r},r}();function yu(r){if(r.meta&&r.meta.rejectedWithValue)throw r.payload;if(r.error)throw r.error;return r.payload}function gu(r){return r!==null&&typeof r=="object"&&typeof r.then=="function"}var _s="listener",Ts="completed",Ls="cancelled",Sm="task-"+Ls,Om="task-"+Ts,Em=_s+"-"+Ls,Cm=_s+"-"+Ts;var pa="listenerMiddleware";var wm=Ue(pa+"/add"),Am=Ue(pa+"/removeAll"),Rm=Ue(pa+"/remove");var As,Nm=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(r){return(As||(As=Promise.resolve())).then(r).catch(function(e){return setTimeout(function(){throw e},0)})},mu=function(r){return function(e){setTimeout(e,r)}},Im=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:mu(10);hs();window.ftReduxStores||(window.ftReduxStores={});var fa=class r extends Xe{static get(e){var o;let n=typeof e=="string"?e:e.name,a=typeof e=="string"?void 0:e,i=window.ftReduxStores[n];if(ot(i))return i;if(a==null)return;let s=Ps({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),l=Ns({reducer:(d,u)=>u.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...u.overwrites}:s.reducer(d,u)});return window.ftReduxStores[a.name]=new r(s,l)}constructor(e,o){super(),this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new hr,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,a,i)=>{let s=a,l=n[s];return l?(...d)=>{let u=l(...d);return this.reduxStore.dispatch(u),u}: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 bu(){var r;for(let e of Object.values((r=window.ftReduxStores)!==null&&r!==void 0?r:{}))ot(e)&&e.clear()}var ma={};M(ma,{scrollHelper:()=>xu});var ya,oo=new Map,ga=class{lock(e,o){if(o){let n=oo.get(o);if(n==null||n===e)return oo.set(o,e),o}}release(e,o){o&&oo.get(o)===e&&oo.delete(o)}findFirstScrollableParent(e){let o,n=a=>{var i;a.stopPropagation();let s,l;for(let d of a.composedPath()){let u=d,h=this.elementCanScroll(u);if(h&&u.clientHeight&&u.clientHeight<u.scrollHeight){s=u;break}else h&&l==null&&(l=u)}o=(i=s??l)!==null&&i!==void 0?i: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 a=this.getAbsoluteScrollOffset(n,e),i=a-n.clientHeight+e.clientHeight,s=a,l=er(0,(s-n.scrollTop)/(s-i),1),d=this.computeTopOffsetRatio(o?.position,l)*(i-s)+s;n.scrollTo({behavior:o?.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=(ya=window.FluidTopicsScrollHelper)!==null&&ya!==void 0?ya:new ga;var xu=window.FluidTopicsScrollHelper;var ba={};M(ba,{shadowQuerySelector:()=>vu,shadowQuerySelectorAll:()=>Su});function vu(r,e,...o){var n;let a=r.querySelector(e);for(let i of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}function Su(r,e,...o){let n=[...r.querySelectorAll(e)];for(let a of o)n=n.flatMap(i=>{var s,l;return[...(l=(s=i.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(a))!==null&&l!==void 0?l:[]]});return n}var xa={};M(xa,{SearchPlaceConverter:()=>io,SearchPlaceQueryParams:()=>B,isSearchPlaceQueryParams:()=>oc,serializeRequest:()=>Cu});var Ou=$c(Fs(),1);var $s;(function(r){r.black="black",r.green="green",r.blue="blue",r.purple="purple",r.red="red",r.orange="orange",r.yellow="yellow"})($s||($s={}));var Us;(function(r){r.OFFICIAL="OFFICIAL",r.PERSONAL="PERSONAL",r.SHARED="SHARED"})(Us||(Us={}));var Ds;(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"})(Ds||(Ds={}));var Ms;(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"})(Ms||(Ms={}));var Bs;(function(r){r.CLASSIC="CLASSIC",r.CUSTOM="CUSTOM",r.DESIGNER="DESIGNER"})(Bs||(Bs={}));var Ws;(function(r){r.AND="AND",r.OR="OR",r.MONOVALUED="MONOVALUED"})(Ws||(Ws={}));var Hs;(function(r){r.NONE="NONE",r.ALPHABET="ALPHABET",r.VERSION="VERSION"})(Hs||(Hs={}));var zs;(function(r){r.STARS="STARS",r.LIKE="LIKE",r.DICHOTOMOUS="DICHOTOMOUS",r.NO_RATING="NO_RATING"})(zs||(zs={}));var js;(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"})(js||(js={}));var Vs;(function(r){r.ASC="ASC",r.DESC="DESC"})(Vs||(Vs={}));var Gs;(function(r){r.ALPHA="ALPHA",r.NATURAL="NATURAL"})(Gs||(Gs={}));var Ks;(function(r){r.EVERYWHERE="EVERYWHERE",r.TITLE_ONLY="TITLE_ONLY",r.NONE="NONE"})(Ks||(Ks={}));var Qs=r=>["EVERYWHERE","TITLE_ONLY","NONE"].includes(r);var Zs;(function(r){r.ARTICLE="ARTICLE",r.BOOK="BOOK",r.SHARED_BOOK="SHARED_BOOK"})(Zs||(Zs={}));var qs;(function(r){r.FLUIDTOPICS="FLUIDTOPICS",r.EXTERNAL="EXTERNAL"})(qs||(qs={}));var Ys;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC",r.PERSONAL_BOOK="PERSONAL_BOOK",r.SHARED_BOOK="SHARED_BOOK"})(Ys||(Ys={}));var br;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(br||(br={}));var ec=r=>["LAST_WEEK","LAST_MONTH","LAST_QUARTER","LAST_YEAR"].includes(r);var Js;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC"})(Js||(Js={}));var Xs;(function(r){r.DEFAULT="DEFAULT",r.DOCUMENTS="DOCUMENTS",r.ALL_TOPICS="ALL_TOPICS"})(Xs||(Xs={}));var G;(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"})(G||(G={}));var tc;(function(r){r.VALID="VALID",r.INVALID="INVALID"})(tc||(tc={}));var Km={[G.PERSONAL_BOOK_SHARE_USER]:[G.PERSONAL_BOOK_USER],[G.HTML_EXPORT_USER]:[G.PERSONAL_BOOK_USER],[G.PDF_EXPORT_USER]:[G.PERSONAL_BOOK_USER],[G.KHUB_ADMIN]:[G.CONTENT_PUBLISHER],[G.ADMIN]:[G.KHUB_ADMIN,G.USERS_ADMIN,G.PORTAL_ADMIN],[G.DEVELOPER]:[G.BETA_USER,G.DEBUG_USER]};function Eu(r){return`"${r}"`}function rc(r){return r.startsWith('"')&&r.endsWith('"')?r.replace(/(^"+)|("+$)/g,""):r}function Cu(r,e){return new io(r).serialize(e)}var B;(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",r.PER_PAGE="per-page"})(B||(B={}));var wu=new Set(Object.values(B));function oc(r){return wu.has(r)}var io=class{constructor(e,o={},n=20,a=!1,i="en-US"){this.baseUrl=e,this.predefinedSorts=o,this.defaultPerPage=n,this.allLanguagesAllowed=a,this.defaultContentLocale=i,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,o){return this.serializeToCurrentPageIfPossible(e,o??"/search")}serializeToCurrentPageIfPossible(e,o){let n=this.toURLSearchParams(e).toString(),a=o==null||o.trim().length===0,i=new URL(a?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${o}`);return i.search=n,i.toString()}toURLSearchParams(e,o=!1){var n,a,i,s,l,d,u,h,f,g,m,b;let S=new URLSearchParams;e.contentLocale?(!o||e.contentLocale!==this.defaultContentLocale)&&S.append(B.LOCALE,e.contentLocale):S.append(B.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&S.append(B.QUERY,e.query),e.scope&&e.scope!=="DEFAULT"&&S.append(B.SCOPE,e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&S.append(B.VIRTUAL_FIELD,e.virtualField.toLowerCase()),((a=e.sort)===null||a===void 0?void 0:a.length)>0&&e.sort[0].key==="ft:lastEdition"&&S.append(B.SORT,"last_update");let C=(s=(i=e.metadataFilters)===null||i===void 0?void 0:i.filter(v=>v.valueFilter))!==null&&s!==void 0?s:[];if(C.length>0){let v=C.map(E=>{var R,_;let F=((_=(R=E.valueFilter)===null||R===void 0?void 0:R.values)!==null&&_!==void 0?_:[]).map(k=>this.escapeFilters(k)).map(k=>encodeURIComponent(Eu(rc(k)))).join("_");return`${E.key}~${F}`}).join("*");S.append(B.VALUE_FILTERS,v)}let w=(d=(l=e.metadataFilters)===null||l===void 0?void 0:l.filter(v=>v.dateFilter))!==null&&d!==void 0?d:[];if(w.length>0){let v=w.map(E=>{var R;return`${E.key}~${(R=E.dateFilter)===null||R===void 0?void 0:R.type.toLowerCase()}`}).join("*");S.append(B.DATE_FILTERS,v)}let A=(h=(u=e.metadataFilters)===null||u===void 0?void 0:u.filter(v=>v.rangeFilter))!==null&&h!==void 0?h:[];if(A.length>0){let v=A.map(E=>{var R,_;return`${E.key}~${(R=E.rangeFilter)===null||R===void 0?void 0:R.from}_${(_=E.rangeFilter)===null||_===void 0?void 0:_.to}`}).join("*");S.append(B.RANGE_FILTERS,v)}let O=(f=e.otherQueryParams)!==null&&f!==void 0?f:{};for(let v in O)S.append(v,O[v]);return!((g=e.paging)===null||g===void 0)&&g.perPage&&((b=(m=e.paging)===null||m===void 0?void 0:m.perPage)!==null&&b!==void 0?b:this.defaultPerPage)!=this.defaultPerPage&&S.append(B.PER_PAGE,String(e.paging.perPage)),S}parse(e){var o;let n=e.split("?"),a=this.fromURLSearchParams(new URLSearchParams(n.slice(1).join("?"))),i=n[0].split("/search/")[1];return i==null?a:{...a,scope:(o=this.scopeMapping[i])!==null&&o!==void 0?o:a.scope}}fromURLSearchParams(e){var o,n,a,i,s,l,d,u;let h=e.get(B.LOCALE)==="all"?void 0:e.get(B.LOCALE),f=((o=e.get(B.VIRTUAL_FIELD))!==null&&o!==void 0?o:"EVERYWHERE").toUpperCase(),g=((n=e.get(B.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),m=(a=e.get(B.SCOPE))!==null&&a!==void 0?a:"default",b=+((i=e.get(B.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),S={};for(let C of e.keys())oc(C)||(S[C]=e.get(C));return{contentLocale:h??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:decodeURIComponent((s=e.get(B.QUERY))!==null&&s!==void 0?s:""),scope:(l=this.scopeMapping[m])!==null&&l!==void 0?l:"DEFAULT",virtualField:Qs(f)?f:"EVERYWHERE",sort:(u=(d=this.predefinedSorts[g])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&u!==void 0?u:[],metadataFilters:this.parseCompatFilters(e),facets:[],paging:{page:1,perPage:er(1,isNaN(b)?this.defaultPerPage:b,40)},otherQueryParams:S}}parseCompatFilters(e){var o,n,a,i,s,l;let d=[];return e.has(B.FILTERS)&&(d=this.parseValueFilters((o=e.get(B.FILTERS))!==null&&o!==void 0?o:"")),(n=e.has(B.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((a=e.get(B.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...d,...this.parseValueFilters((i=e.get(B.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=e.get(B.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=e.get(B.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}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(rc).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],dateFilter:{type:br[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,a]of this.filtersEscapeMapping)e=e.replaceAll(o,n);return e}superEscapeFilters(e){for(let[o,n,a]of this.filtersEscapeMapping)e=e.replaceAll(n,a);return e}unescapeFilterValue(e){for(let[o,n,a]of this.filtersEscapeMapping)e=e.replace(a,o);return e}parseLegacyPeriodFilter(e){if(ec(e))return[{key:"ft:lastEdition",dateFilter:{type:br[e]}}];if(e.startsWith("CUSTOM_")){let[o,n,a]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:a}}]}return[]}};var va={};M(va,{toFtFormComponent:()=>Au});var so=Symbol("elementInternals");function Au(r,e){class o extends r{static get formAssociated(){return!0}get form(){return this[so].form}constructor(...a){super(a),this[so]=this.attachInternals(),this[so].role=e}setFormValue(a){this[so].setFormValue(a)}}return o}var Oa={};M(Oa,{DateFormatter:()=>Sa});var Sa=class{static format(e,o,n,a){return window.moment?window.moment(e).locale(o).format(this.getDateFormat(n,a)):e}static getDateFormat(e,o){return e?o?"lll":"ll":o?"L LT":"L"}};var Ea,Ca,wa,Aa,Ru=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((wa=(Ca=(Ea=window.safari)===null||Ea===void 0?void 0:Ea.pushNotification)===null||Ca===void 0?void 0:Ca.toString())!==null&&wa!==void 0?wa:"")==="[object SafariRemoteNotification]",Nu="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Aa=window.ftGlobals)!==null&&Aa!==void 0?Aa:{lit:Eo,litDecorators:Co,litRepeat:wo,litClassMap:Ao,litStyleMap:Ro,litUnsafeHTML:No,wcUtils:{...$o,...Po,...Do,...Oa,...Mo,...Ho,...bn,...ko,...Tn,...mn,...$n,...kn,...Qi,...Bo,...Dn,...Mn,...ts,...Wn,...ha,...Ln,...ma,...ba,...xa,...va,isSafari:Ru,isTouchScreen:Nu,setVariable:zr}};var nc=t.extend("--ft-ripple-color","",V.colorContent),it={color:nc,backgroundColor:t.extend("--ft-ripple-background-color","",nc),opacityContentOnSurfacePressed:t.external(V.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:t.external(V.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:t.external(V.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:t.external(V.opacityContentOnSurfaceSelected,"Design system"),borderRadius:t.create("--ft-ripple-border-radius","","SIZE","0px")},ac=t.extend("--ft-ripple-color","",V.colorPrimary),ic={color:ac,backgroundColor:t.extend("--ft-ripple-background-color","",ac)},sc=t.extend("--ft-ripple-color","",V.colorSecondary),cc={color:sc,backgroundColor:t.extend("--ft-ripple-background-color","",sc)},lc=$`
|
|
51
51
|
:host {
|
|
52
52
|
display: contents;
|
|
53
53
|
}
|
|
@@ -60,7 +60,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
60
60
|
|
|
61
61
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
62
62
|
overflow: hidden;
|
|
63
|
-
border-radius: ${
|
|
63
|
+
border-radius: ${it.borderRadius};
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
.ft-ripple .ft-ripple--background,
|
|
@@ -94,27 +94,27 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
.ft-ripple .ft-ripple--background {
|
|
97
|
-
background-color: ${
|
|
97
|
+
background-color: ${it.backgroundColor};
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
.ft-ripple .ft-ripple--effect {
|
|
101
|
-
background-color: ${
|
|
101
|
+
background-color: ${it.color};
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
105
|
-
background-color: ${
|
|
105
|
+
background-color: ${cc.backgroundColor};
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
109
|
-
background-color: ${
|
|
109
|
+
background-color: ${cc.color};
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
113
|
-
background-color: ${
|
|
113
|
+
background-color: ${ic.backgroundColor};
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
117
|
-
background-color: ${
|
|
117
|
+
background-color: ${ic.color};
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
.ft-ripple .ft-ripple--background {
|
|
@@ -144,33 +144,33 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
147
|
-
opacity: ${
|
|
147
|
+
opacity: ${it.opacityContentOnSurfaceHover};
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
151
|
-
opacity: ${
|
|
151
|
+
opacity: ${it.opacityContentOnSurfaceSelected};
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
155
|
-
opacity: ${
|
|
155
|
+
opacity: ${it.opacityContentOnSurfaceFocused};
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
159
|
-
opacity: ${
|
|
159
|
+
opacity: ${it.opacityContentOnSurfacePressed};
|
|
160
160
|
transform: translate(-50%, -50%) scale(1);
|
|
161
161
|
}
|
|
162
|
-
`;var J=function(r,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,o,n);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},H=class extends Z{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 Pe(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 Pe(10),this.moveRipple=e=>{var o,n;let{x:a,y:i}=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(a!=null?a-s.x:s.width/2),this.originY=Math.round(i!=null?i-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
|
|
162
|
+
`;var J=function(r,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,o,n);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},H=class extends Z{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 Pe(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 Pe(10),this.moveRipple=e=>{var o,n;let{x:a,y:i}=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(a!=null?a-s.x:s.width/2),this.originY=Math.round(i!=null?i-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 Zt`
|
|
163
163
|
<style>
|
|
164
164
|
.ft-ripple .ft-ripple--effect {
|
|
165
165
|
left: ${this.originX}px;
|
|
166
166
|
top: ${this.originY}px;
|
|
167
167
|
}
|
|
168
168
|
</style>
|
|
169
|
-
<div class="${
|
|
169
|
+
<div class="${qt(e)}">
|
|
170
170
|
<div class="ft-ripple--background"></div>
|
|
171
171
|
<div class="ft-ripple--effect"></div>
|
|
172
172
|
</div>
|
|
173
|
-
`}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=(...l)=>d=>{l.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(d)},n=o("mouseup","contextmenu"),a=o("touchend","touchcancel"),i=l=>{["Enter"," "].includes(l.key)&&o("keyup")(l)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",n,s),e.addEventListener("touchstart",a,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",i,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",a,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",i,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,a,i;return o.x!=null?{x:a,y:i}=o:n.touches!=null&&(a=n.touches[0].clientX,i=n.touches[0].clientY),{x:a,y:i}}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()}};H.elementDefinitions={};H.styles=
|
|
173
|
+
`}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=(...l)=>d=>{l.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(d)},n=o("mouseup","contextmenu"),a=o("touchend","touchcancel"),i=l=>{["Enter"," "].includes(l.key)&&o("keyup")(l)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",n,s),e.addEventListener("touchstart",a,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",i,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",a,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",i,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,a,i;return o.x!=null?{x:a,y:i}=o:n.touches!=null&&(a=n.touches[0].clientX,i=n.touches[0].clientY),{x:a,y:i}}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()}};H.elementDefinitions={};H.styles=lc;J([D({type:Boolean})],H.prototype,"primary",void 0);J([D({type:Boolean})],H.prototype,"secondary",void 0);J([D({type:Boolean})],H.prototype,"unbounded",void 0);J([D({type:Boolean})],H.prototype,"activated",void 0);J([D({type:Boolean})],H.prototype,"selected",void 0);J([D({type:Boolean})],H.prototype,"disabled",void 0);J([ce()],H.prototype,"hovered",void 0);J([ce()],H.prototype,"focused",void 0);J([ce()],H.prototype,"pressed",void 0);J([ce()],H.prototype,"rippling",void 0);J([ce()],H.prototype,"originX",void 0);J([ce()],H.prototype,"originY",void 0);J([Ae(".ft-ripple")],H.prototype,"ripple",void 0);J([Ae(".ft-ripple--effect")],H.prototype,"rippleEffect",void 0);Qe("ft-ripple")(H);var uc=Symbol.for(""),Iu=r=>{if(r?.r===uc)return r?._$litStatic$},Ra=r=>({_$litStatic$:r,r:uc});var dc=new Map,pc=r=>(e,...o)=>{let n=o.length,a,i,s=[],l=[],d,u=0,h=!1;for(;u<n;){for(d=e[u];u<n&&(i=o[u],(a=Iu(i))!==void 0);)d+=a+e[++u],h=!0;u!==n&&l.push(i),s.push(d),u++}if(u===n&&s.push(e[n]),h){let f=s.join("$$lit$$");(e=dc.get(f))===void 0&&(s.raw=s,dc.set(f,e=s)),o=l}return r(e,...o)},Na=pc(Va),qb=pc(Ga);var co;(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"})(co||(co={}));function fc(r){let e=tr[r];return $`
|
|
174
174
|
.ft-typography--${Ge(r)} {
|
|
175
175
|
font-family: ${e.fontFamily};
|
|
176
176
|
font-size: ${e.fontSize};
|
|
@@ -179,17 +179,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
179
179
|
line-height: ${e.lineHeight};
|
|
180
180
|
text-transform: ${e.textCase};
|
|
181
181
|
}
|
|
182
|
-
`}var
|
|
182
|
+
`}var hc=t.extend("--ft-typography-font-family","",V.titleFont),Oe=t.extend("--ft-typography-font-family","",V.contentFont),P={fontFamily:Oe,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")},Ct={fontFamily:t.extend("--ft-typography-title-font-family","",hc),fontSize:t.extend("--ft-typography-title-font-size","",P.fontSize,"20px"),fontWeight:t.extend("--ft-typography-title-font-weight","",P.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-title-letter-spacing","",P.letterSpacing,"0.15px"),lineHeight:t.extend("--ft-typography-title-line-height","",P.lineHeight,"1.2"),textTransform:t.extend("--ft-typography-title-text-transform","",P.textTransform,"inherit")},wt={fontFamily:t.extend("--ft-typography-title-dense-font-family","",hc),fontSize:t.extend("--ft-typography-title-dense-font-size","",P.fontSize,"14px"),fontWeight:t.extend("--ft-typography-title-dense-font-weight","",P.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-title-dense-letter-spacing","",P.letterSpacing,"0.105px"),lineHeight:t.extend("--ft-typography-title-dense-line-height","",P.lineHeight,"1.7"),textTransform:t.extend("--ft-typography-title-dense-text-transform","",P.textTransform,"inherit")},At={fontFamily:t.extend("--ft-typography-subtitle1-font-family","",Oe),fontSize:t.extend("--ft-typography-subtitle1-font-size","",P.fontSize,"16px"),fontWeight:t.extend("--ft-typography-subtitle1-font-weight","",P.fontWeight,"600"),letterSpacing:t.extend("--ft-typography-subtitle1-letter-spacing","",P.letterSpacing,"0.144px"),lineHeight:t.extend("--ft-typography-subtitle1-line-height","",P.lineHeight,"1.5"),textTransform:t.extend("--ft-typography-subtitle1-text-transform","",P.textTransform,"inherit")},Rt={fontFamily:t.extend("--ft-typography-subtitle2-font-family","",Oe),fontSize:t.extend("--ft-typography-subtitle2-font-size","",P.fontSize,"14px"),fontWeight:t.extend("--ft-typography-subtitle2-font-weight","",P.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-subtitle2-letter-spacing","",P.letterSpacing,"0.098px"),lineHeight:t.extend("--ft-typography-subtitle2-line-height","",P.lineHeight,"1.7"),textTransform:t.extend("--ft-typography-subtitle2-text-transform","",P.textTransform,"inherit")},Nt={fontFamily:t.extend("--ft-typography-body1-font-family","",Oe),fontSize:t.extend("--ft-typography-body1-font-size","",P.fontSize,"16px"),fontWeight:t.extend("--ft-typography-body1-font-weight","",P.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-body1-letter-spacing","",P.letterSpacing,"0.496px"),lineHeight:t.extend("--ft-typography-body1-line-height","",P.lineHeight,"1.5"),textTransform:t.extend("--ft-typography-body1-text-transform","",P.textTransform,"inherit")},It={fontFamily:t.extend("--ft-typography-body2-font-family","",Oe),fontSize:t.extend("--ft-typography-body2-font-size","",P.fontSize,"14px"),fontWeight:t.extend("--ft-typography-body2-font-weight","",P.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-body2-letter-spacing","",P.letterSpacing,"0.252px"),lineHeight:t.extend("--ft-typography-body2-line-height","",P.lineHeight,"1.4"),textTransform:t.extend("--ft-typography-body2-text-transform","",P.textTransform,"inherit")},Pt={fontFamily:t.extend("--ft-typography-caption-font-family","",Oe),fontSize:t.extend("--ft-typography-caption-font-size","",P.fontSize,"12px"),fontWeight:t.extend("--ft-typography-caption-font-weight","",P.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-caption-letter-spacing","",P.letterSpacing,"0.396px"),lineHeight:t.extend("--ft-typography-caption-line-height","",P.lineHeight,"1.33"),textTransform:t.extend("--ft-typography-caption-text-transform","",P.textTransform,"inherit")},_t={fontFamily:t.extend("--ft-typography-breadcrumb-font-family","",Oe),fontSize:t.extend("--ft-typography-breadcrumb-font-size","",P.fontSize,"10px"),fontWeight:t.extend("--ft-typography-breadcrumb-font-weight","",P.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-breadcrumb-letter-spacing","",P.letterSpacing,"0.33px"),lineHeight:t.extend("--ft-typography-breadcrumb-line-height","",P.lineHeight,"1.6"),textTransform:t.extend("--ft-typography-breadcrumb-text-transform","",P.textTransform,"inherit")},Tt={fontFamily:t.extend("--ft-typography-overline-font-family","",Oe),fontSize:t.extend("--ft-typography-overline-font-size","",P.fontSize,"10px"),fontWeight:t.extend("--ft-typography-overline-font-weight","",P.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-overline-letter-spacing","",P.letterSpacing,"1.5px"),lineHeight:t.extend("--ft-typography-overline-line-height","",P.lineHeight,"1.6"),textTransform:t.extend("--ft-typography-overline-text-transform","",P.textTransform,"uppercase")},Lt={fontFamily:t.extend("--ft-typography-button-font-family","",Oe),fontSize:t.extend("--ft-typography-button-font-size","",P.fontSize,"14px"),fontWeight:t.extend("--ft-typography-button-font-weight","",P.fontWeight,"600"),letterSpacing:t.extend("--ft-typography-button-letter-spacing","",P.letterSpacing,"1.246px"),lineHeight:t.extend("--ft-typography-button-line-height","",P.lineHeight,"1.15"),textTransform:t.extend("--ft-typography-button-text-transform","",P.textTransform,"uppercase")},yc=$`
|
|
183
183
|
.ft-typography--title {
|
|
184
|
-
font-family: ${Et.fontFamily};
|
|
185
|
-
font-size: ${Et.fontSize};
|
|
186
|
-
font-weight: ${Et.fontWeight};
|
|
187
|
-
letter-spacing: ${Et.letterSpacing};
|
|
188
|
-
line-height: ${Et.lineHeight};
|
|
189
|
-
text-transform: ${Et.textTransform};
|
|
190
|
-
}
|
|
191
|
-
`,pc=L`
|
|
192
|
-
.ft-typography--title-dense {
|
|
193
184
|
font-family: ${Ct.fontFamily};
|
|
194
185
|
font-size: ${Ct.fontSize};
|
|
195
186
|
font-weight: ${Ct.fontWeight};
|
|
@@ -197,8 +188,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
197
188
|
line-height: ${Ct.lineHeight};
|
|
198
189
|
text-transform: ${Ct.textTransform};
|
|
199
190
|
}
|
|
200
|
-
`,
|
|
201
|
-
.ft-typography--
|
|
191
|
+
`,gc=$`
|
|
192
|
+
.ft-typography--title-dense {
|
|
202
193
|
font-family: ${wt.fontFamily};
|
|
203
194
|
font-size: ${wt.fontSize};
|
|
204
195
|
font-weight: ${wt.fontWeight};
|
|
@@ -206,8 +197,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
206
197
|
line-height: ${wt.lineHeight};
|
|
207
198
|
text-transform: ${wt.textTransform};
|
|
208
199
|
}
|
|
209
|
-
`,
|
|
210
|
-
.ft-typography--
|
|
200
|
+
`,mc=$`
|
|
201
|
+
.ft-typography--subtitle1 {
|
|
211
202
|
font-family: ${At.fontFamily};
|
|
212
203
|
font-size: ${At.fontSize};
|
|
213
204
|
font-weight: ${At.fontWeight};
|
|
@@ -215,9 +206,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
215
206
|
line-height: ${At.lineHeight};
|
|
216
207
|
text-transform: ${At.textTransform};
|
|
217
208
|
}
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
.ft-typography--body1 {
|
|
209
|
+
`,bc=$`
|
|
210
|
+
.ft-typography--subtitle2 {
|
|
221
211
|
font-family: ${Rt.fontFamily};
|
|
222
212
|
font-size: ${Rt.fontSize};
|
|
223
213
|
font-weight: ${Rt.fontWeight};
|
|
@@ -225,8 +215,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
225
215
|
line-height: ${Rt.lineHeight};
|
|
226
216
|
text-transform: ${Rt.textTransform};
|
|
227
217
|
}
|
|
228
|
-
|
|
229
|
-
|
|
218
|
+
|
|
219
|
+
`,xc=$`
|
|
220
|
+
.ft-typography--body1 {
|
|
230
221
|
font-family: ${Nt.fontFamily};
|
|
231
222
|
font-size: ${Nt.fontSize};
|
|
232
223
|
font-weight: ${Nt.fontWeight};
|
|
@@ -234,8 +225,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
234
225
|
line-height: ${Nt.lineHeight};
|
|
235
226
|
text-transform: ${Nt.textTransform};
|
|
236
227
|
}
|
|
237
|
-
`,
|
|
238
|
-
.ft-typography--
|
|
228
|
+
`,vc=$`
|
|
229
|
+
.ft-typography--body2 {
|
|
239
230
|
font-family: ${It.fontFamily};
|
|
240
231
|
font-size: ${It.fontSize};
|
|
241
232
|
font-weight: ${It.fontWeight};
|
|
@@ -243,8 +234,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
243
234
|
line-height: ${It.lineHeight};
|
|
244
235
|
text-transform: ${It.textTransform};
|
|
245
236
|
}
|
|
246
|
-
`,
|
|
247
|
-
.ft-typography--
|
|
237
|
+
`,Sc=$`
|
|
238
|
+
.ft-typography--caption {
|
|
248
239
|
font-family: ${Pt.fontFamily};
|
|
249
240
|
font-size: ${Pt.fontSize};
|
|
250
241
|
font-weight: ${Pt.fontWeight};
|
|
@@ -252,8 +243,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
252
243
|
line-height: ${Pt.lineHeight};
|
|
253
244
|
text-transform: ${Pt.textTransform};
|
|
254
245
|
}
|
|
255
|
-
`,
|
|
256
|
-
.ft-typography--
|
|
246
|
+
`,Oc=$`
|
|
247
|
+
.ft-typography--breadcrumb {
|
|
257
248
|
font-family: ${_t.fontFamily};
|
|
258
249
|
font-size: ${_t.fontSize};
|
|
259
250
|
font-weight: ${_t.fontWeight};
|
|
@@ -261,8 +252,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
261
252
|
line-height: ${_t.lineHeight};
|
|
262
253
|
text-transform: ${_t.textTransform};
|
|
263
254
|
}
|
|
264
|
-
`,
|
|
265
|
-
.ft-typography--
|
|
255
|
+
`,Ec=$`
|
|
256
|
+
.ft-typography--overline {
|
|
266
257
|
font-family: ${Tt.fontFamily};
|
|
267
258
|
font-size: ${Tt.fontSize};
|
|
268
259
|
font-weight: ${Tt.fontWeight};
|
|
@@ -270,19 +261,28 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
270
261
|
line-height: ${Tt.lineHeight};
|
|
271
262
|
text-transform: ${Tt.textTransform};
|
|
272
263
|
}
|
|
273
|
-
`,
|
|
264
|
+
`,Cc=$`
|
|
265
|
+
.ft-typography--button {
|
|
266
|
+
font-family: ${Lt.fontFamily};
|
|
267
|
+
font-size: ${Lt.fontSize};
|
|
268
|
+
font-weight: ${Lt.fontWeight};
|
|
269
|
+
letter-spacing: ${Lt.letterSpacing};
|
|
270
|
+
line-height: ${Lt.lineHeight};
|
|
271
|
+
text-transform: ${Lt.textTransform};
|
|
272
|
+
}
|
|
273
|
+
`,wc=$`
|
|
274
274
|
.ft-typography {
|
|
275
275
|
vertical-align: inherit;
|
|
276
276
|
}
|
|
277
|
-
`,
|
|
278
|
-
<${
|
|
277
|
+
`,Ac=[Object.keys(tr).map(r=>fc(r))];var Rc=function(r,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,o,n);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Ee=class extends Z{constructor(){super(...arguments),this.variant=co.body1}render(){return this.element?Na`
|
|
278
|
+
<${Ra(this.element)}
|
|
279
279
|
part="text"
|
|
280
280
|
class="ft-typography ft-typography--${this.variant}">
|
|
281
281
|
<slot></slot>
|
|
282
|
-
</${
|
|
283
|
-
`:
|
|
282
|
+
</${Ra(this.element)}>
|
|
283
|
+
`:Na`
|
|
284
284
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
285
|
-
`}};Ee.styles=[
|
|
285
|
+
`}};Ee.styles=[yc,gc,mc,bc,xc,vc,Sc,Oc,Ec,Cc,wc,...Ac];Rc([D()],Ee.prototype,"element",void 0);Rc([D()],Ee.prototype,"variant",void 0);Qe("ft-typography")(Ee);var Ce={textColor:t.extend("--ft-checkbox-text-color","",V.colorOnSurfaceHigh),fontSize:t.extend("--ft-checkbox-font-size","",P.fontSize),colorPrimary:t.external(V.colorPrimary,"Design system"),colorOnPrimary:t.external(V.colorOnPrimary,"Design system"),borderColor:t.extend("--ft-checkbox-border-color","",V.colorOnSurfaceMedium),colorOnSurfaceDisabled:t.external(V.colorOnSurfaceDisabled,"Design system")},Nc=$`
|
|
286
286
|
* {
|
|
287
287
|
box-sizing: border-box;
|
|
288
288
|
}
|
|
@@ -360,8 +360,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
360
360
|
.ft-checkbox--indeterminate .ft-checkbox--checkmark {
|
|
361
361
|
opacity: 1;
|
|
362
362
|
}
|
|
363
|
-
`;var
|
|
364
|
-
<label class="${
|
|
363
|
+
`;var st=function(r,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,o,n);else for(var l=r.length-1;l>=0;l--)(s=r[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},te=class extends Z{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){let e={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return Zt`
|
|
364
|
+
<label class="${qt(e)}" for="checkbox-input">
|
|
365
365
|
<div class="ft-checkbox--box-container">
|
|
366
366
|
<ft-ripple
|
|
367
367
|
?disabled=${this.disabled}
|
|
@@ -387,7 +387,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
387
387
|
<slot></slot>
|
|
388
388
|
</ft-typography>
|
|
389
389
|
</label>
|
|
390
|
-
`}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(e){var o;super.contentAvailableCallback(e),(o=this.ripple)===null||o===void 0||o.setupFor(this.container)}click(){this.input.click()}};te.elementDefinitions={"ft-ripple":H,"ft-typography":Ee};te.styles=
|
|
390
|
+
`}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(e){var o;super.contentAvailableCallback(e),(o=this.ripple)===null||o===void 0||o.setupFor(this.container)}click(){this.input.click()}};te.elementDefinitions={"ft-ripple":H,"ft-typography":Ee};te.styles=Nc;st([D()],te.prototype,"name",void 0);st([D({type:Boolean,reflect:!0})],te.prototype,"checked",void 0);st([D({type:Boolean})],te.prototype,"indeterminate",void 0);st([D({type:Boolean})],te.prototype,"disabled",void 0);st([Ae(".ft-checkbox")],te.prototype,"container",void 0);st([Ae("ft-ripple")],te.prototype,"ripple",void 0);st([Ae("input")],te.prototype,"input",void 0);Qe("ft-checkbox")(te);})();
|
|
391
391
|
/*! Bundled license information:
|
|
392
392
|
|
|
393
393
|
@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js:
|