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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,14 +1,14 @@
1
- "use strict";(()=>{var Cc=Object.create;var co=Object.defineProperty;var Ac=Object.getOwnPropertyDescriptor;var Rc=Object.getOwnPropertyNames;var Nc=Object.getPrototypeOf,_c=Object.prototype.hasOwnProperty;var Ic=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),D=(r,e)=>{for(var o in e)co(r,o,{get:e[o],enumerable:!0})},Pc=(r,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Rc(e))!_c.call(r,i)&&i!==o&&co(r,i,{get:()=>e[i],enumerable:!(n=Ac(e,i))||n.enumerable});return r};var Tc=(r,e,o)=>(o=r!=null?Cc(Nc(r)):{},Pc(e||!r||!r.__esModule?co(o,"default",{value:r,enumerable:!0}):o,r));var Ts=Ic((je,Ps)=>{var to=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,ro=function(){function r(){this.fetch=!1,this.DOMException=to.DOMException}return r.prototype=to,new r}();(function(r){var e=function(o){var n=typeof r<"u"&&r||typeof self<"u"&&self||typeof global<"u"&&global||{},i={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function a(m){return m&&DataView.prototype.isPrototypeOf(m)}if(i.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(m){return m&&s.indexOf(Object.prototype.toString.call(m))>-1};function l(m){if(typeof m!="string"&&(m=String(m)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(m)||m==="")throw new TypeError('Invalid character in header field name: "'+m+'"');return m.toLowerCase()}function u(m){return typeof m!="string"&&(m=String(m)),m}function h(m){var x={next:function(){var R=m.shift();return{done:R===void 0,value:R}}};return i.iterable&&(x[Symbol.iterator]=function(){return x}),x}function f(m){this.map={},m instanceof f?m.forEach(function(x,R){this.append(R,x)},this):Array.isArray(m)?m.forEach(function(x){if(x.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+x.length);this.append(x[0],x[1])},this):m&&Object.getOwnPropertyNames(m).forEach(function(x){this.append(x,m[x])},this)}f.prototype.append=function(m,x){m=l(m),x=u(x);var R=this.map[m];this.map[m]=R?R+", "+x:x},f.prototype.delete=function(m){delete this.map[l(m)]},f.prototype.get=function(m){return m=l(m),this.has(m)?this.map[m]:null},f.prototype.has=function(m){return this.map.hasOwnProperty(l(m))},f.prototype.set=function(m,x){this.map[l(m)]=u(x)},f.prototype.forEach=function(m,x){for(var R in this.map)this.map.hasOwnProperty(R)&&m.call(x,this.map[R],R,this)},f.prototype.keys=function(){var m=[];return this.forEach(function(x,R){m.push(R)}),h(m)},f.prototype.values=function(){var m=[];return this.forEach(function(x){m.push(x)}),h(m)},f.prototype.entries=function(){var m=[];return this.forEach(function(x,R){m.push([R,x])}),h(m)},i.iterable&&(f.prototype[Symbol.iterator]=f.prototype.entries);function y(m){if(!m._noBody){if(m.bodyUsed)return Promise.reject(new TypeError("Already read"));m.bodyUsed=!0}}function g(m){return new Promise(function(x,R){m.onload=function(){x(m.result)},m.onerror=function(){R(m.error)}})}function b(m){var x=new FileReader,R=g(x);return x.readAsArrayBuffer(m),R}function O(m){var x=new FileReader,R=g(x),F=/charset=([A-Za-z0-9_-]+)/.exec(m.type),W=F?F[1]:"utf-8";return x.readAsText(m,W),R}function A(m){for(var x=new Uint8Array(m),R=new Array(x.length),F=0;F<x.length;F++)R[F]=String.fromCharCode(x[F]);return R.join("")}function w(m){if(m.slice)return m.slice(0);var x=new Uint8Array(m.byteLength);return x.set(new Uint8Array(m)),x.buffer}function C(){return this.bodyUsed=!1,this._initBody=function(m){this.bodyUsed=this.bodyUsed,this._bodyInit=m,m?typeof m=="string"?this._bodyText=m:i.blob&&Blob.prototype.isPrototypeOf(m)?this._bodyBlob=m:i.formData&&FormData.prototype.isPrototypeOf(m)?this._bodyFormData=m:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)?this._bodyText=m.toString():i.arrayBuffer&&i.blob&&a(m)?(this._bodyArrayBuffer=w(m.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(m)||c(m))?this._bodyArrayBuffer=w(m):this._bodyText=m=Object.prototype.toString.call(m):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof m=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var m=y(this);if(m)return m;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var m=y(this);return m||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(i.blob)return this.blob().then(b);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var m=y(this);if(m)return m;if(this._bodyBlob)return O(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(A(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(I)}),this.json=function(){return this.text().then(JSON.parse)},this}var v=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function S(m){var x=m.toUpperCase();return v.indexOf(x)>-1?x:m}function E(m,x){if(!(this instanceof E))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');x=x||{};var R=x.body;if(m instanceof E){if(m.bodyUsed)throw new TypeError("Already read");this.url=m.url,this.credentials=m.credentials,x.headers||(this.headers=new f(m.headers)),this.method=m.method,this.mode=m.mode,this.signal=m.signal,!R&&m._bodyInit!=null&&(R=m._bodyInit,m.bodyUsed=!0)}else this.url=String(m);if(this.credentials=x.credentials||this.credentials||"same-origin",(x.headers||!this.headers)&&(this.headers=new f(x.headers)),this.method=S(x.method||this.method||"GET"),this.mode=x.mode||this.mode||null,this.signal=x.signal||this.signal||function(){if("AbortController"in n){var L=new AbortController;return L.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&R)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(R),(this.method==="GET"||this.method==="HEAD")&&(x.cache==="no-store"||x.cache==="no-cache")){var F=/([?&])_=[^&]*/;if(F.test(this.url))this.url=this.url.replace(F,"$1_="+new Date().getTime());else{var W=/\?/;this.url+=(W.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}E.prototype.clone=function(){return new E(this,{body:this._bodyInit})};function I(m){var x=new FormData;return m.trim().split("&").forEach(function(R){if(R){var F=R.split("="),W=F.shift().replace(/\+/g," "),L=F.join("=").replace(/\+/g," ");x.append(decodeURIComponent(W),decodeURIComponent(L))}}),x}function k(m){var x=new f,R=m.replace(/\r?\n[\t ]+/g," ");return R.split("\r").map(function(F){return F.indexOf(`
2
- `)===0?F.substr(1,F.length):F}).forEach(function(F){var W=F.split(":"),L=W.shift().trim();if(L){var hr=W.join(":").trim();try{x.append(L,hr)}catch(so){console.warn("Response "+so.message)}}}),x}C.call(E.prototype);function B(m,x){if(!(this instanceof B))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(x||(x={}),this.type="default",this.status=x.status===void 0?200:x.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=x.statusText===void 0?"":""+x.statusText,this.headers=new f(x.headers),this.url=x.url||"",this._initBody(m)}C.call(B.prototype),B.prototype.clone=function(){return new B(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},B.error=function(){var m=new B(null,{status:200,statusText:""});return m.ok=!1,m.status=0,m.type="error",m};var U=[301,302,303,307,308];B.redirect=function(m,x){if(U.indexOf(x)===-1)throw new RangeError("Invalid status code");return new B(null,{status:x,headers:{location:m}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(x,R){this.message=x,this.name=R;var F=Error(x);this.stack=F.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function N(m,x){return new Promise(function(R,F){var W=new E(m,x);if(W.signal&&W.signal.aborted)return F(new o.DOMException("Aborted","AbortError"));var L=new XMLHttpRequest;function hr(){L.abort()}L.onload=function(){var J={statusText:L.statusText,headers:k(L.getAllResponseHeaders()||"")};W.url.indexOf("file://")===0&&(L.status<200||L.status>599)?J.status=200:J.status=L.status,J.url="responseURL"in L?L.responseURL:J.headers.get("X-Request-URL");var Ve="response"in L?L.response:L.responseText;setTimeout(function(){R(new B(Ve,J))},0)},L.onerror=function(){setTimeout(function(){F(new TypeError("Network request failed"))},0)},L.ontimeout=function(){setTimeout(function(){F(new TypeError("Network request timed out"))},0)},L.onabort=function(){setTimeout(function(){F(new o.DOMException("Aborted","AbortError"))},0)};function so(J){try{return J===""&&n.location.href?n.location.href:J}catch{return J}}if(L.open(W.method,so(W.url),!0),W.credentials==="include"?L.withCredentials=!0:W.credentials==="omit"&&(L.withCredentials=!1),"responseType"in L&&(i.blob?L.responseType="blob":i.arrayBuffer&&(L.responseType="arraybuffer")),x&&typeof x.headers=="object"&&!(x.headers instanceof f||n.Headers&&x.headers instanceof n.Headers)){var Ai=[];Object.getOwnPropertyNames(x.headers).forEach(function(J){Ai.push(l(J)),L.setRequestHeader(J,u(x.headers[J]))}),W.headers.forEach(function(J,Ve){Ai.indexOf(Ve)===-1&&L.setRequestHeader(Ve,J)})}else W.headers.forEach(function(J,Ve){L.setRequestHeader(Ve,J)});W.signal&&(W.signal.addEventListener("abort",hr),L.onreadystatechange=function(){L.readyState===4&&W.signal.removeEventListener("abort",hr)}),L.send(typeof W._bodyInit>"u"?null:W._bodyInit)})}return N.polyfill=!0,n.fetch||(n.fetch=N,n.Headers=f,n.Request=E,n.Response=B),o.Headers=f,o.Request=E,o.Response=B,o.fetch=N,o}({})})(ro);ro.fetch.ponyfill=!0;delete ro.fetch.polyfill;var At=to.fetch?to:ro;je=At.fetch;je.default=At.fetch;je.fetch=At.fetch;je.Headers=At.Headers;je.Request=At.Request;je.Response=At.Response;Ps.exports=je});if(!ShadowRoot.prototype.createElement){let r=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,c=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(v,S){if(v=v.toLowerCase(),this._getDefinition(v)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${v}" has already been used with this registry`);if(this._definitionsByClass.get(S)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let E=S.prototype.attributeChangedCallback,I=new Set(S.observedAttributes||[]);y(S,I,E);let k={elementClass:S,connectedCallback:S.prototype.connectedCallback,disconnectedCallback:S.prototype.disconnectedCallback,adoptedCallback:S.prototype.adoptedCallback,attributeChangedCallback:E,formAssociated:S.formAssociated,formAssociatedCallback:S.prototype.formAssociatedCallback,formDisabledCallback:S.prototype.formDisabledCallback,formResetCallback:S.prototype.formResetCallback,formStateRestoreCallback:S.prototype.formStateRestoreCallback,observedAttributes:I};this._definitionsByTag.set(v,k),this._definitionsByClass.set(S,k);let B=o.call(n,v);B||(B=f(v),e.call(n,v,B)),this===window.customElements&&(s.set(S,k),k.standInClass=B);let U=this._awaitingUpgrade.get(v);if(U){this._awaitingUpgrade.delete(v);for(let m of U)a.delete(m),b(m,k,!0)}let N=this._whenDefinedPromises.get(v);return N!==void 0&&(N.resolve(S),this._whenDefinedPromises.delete(v)),S}upgrade(){A.push(this),n.upgrade.apply(n,arguments),A.pop()}get(v){return this._definitionsByTag.get(v)?.elementClass}_getDefinition(v){return this._definitionsByTag.get(v)}whenDefined(v){let S=this._getDefinition(v);if(S!==void 0)return Promise.resolve(S.elementClass);let E=this._whenDefinedPromises.get(v);return E===void 0&&(E={},E.promise=new Promise(I=>E.resolve=I),this._whenDefinedPromises.set(v,E)),E.promise}_upgradeWhenDefined(v,S,E){let I=this._awaitingUpgrade.get(S);I||this._awaitingUpgrade.set(S,I=new Set),E?I.add(v):I.delete(v)}};let l;window.HTMLElement=function(){let S=l;if(S)return l=void 0,S;let E=s.get(this.constructor);if(!E)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return S=Reflect.construct(r,[],E.standInClass),Object.setPrototypeOf(S,this.constructor.prototype),i.set(S,E),S},window.HTMLElement.prototype=r.prototype;let u=v=>v===document||v instanceof ShadowRoot,h=v=>{let S=v.getRootNode();if(!u(S)){let E=A[A.length-1];if(E instanceof CustomElementRegistry)return E;S=E.getRootNode(),u(S)||(S=c.get(S)?.getRootNode()||document)}return S.customElements},f=v=>class{static get formAssociated(){return!0}constructor(){let E=Reflect.construct(r,[],this.constructor);Object.setPrototypeOf(E,HTMLElement.prototype);let I=h(E)||window.customElements,k=I._getDefinition(v);return k?b(E,k):a.set(E,I),E}connectedCallback(){let E=i.get(this);E?E.connectedCallback&&E.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,v,!0)}disconnectedCallback(){let E=i.get(this);E?E.disconnectedCallback&&E.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,v,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let E=i.get(this);E&&E.formAssociated&&E?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let E=i.get(this);E?.formAssociated&&E?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let E=i.get(this);E?.formAssociated&&E?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let E=i.get(this);E?.formAssociated&&E?.formStateRestoreCallback?.apply(this,arguments)}},y=(v,S,E)=>{if(S.size===0||E===void 0)return;let I=v.prototype.setAttribute;I&&(v.prototype.setAttribute=function(U,N){let m=U.toLowerCase();if(S.has(m)){let x=this.getAttribute(m);I.call(this,m,N),E.call(this,m,x,N)}else I.call(this,m,N)});let k=v.prototype.removeAttribute;k&&(v.prototype.removeAttribute=function(U){let N=U.toLowerCase();if(S.has(N)){let m=this.getAttribute(N);k.call(this,N),E.call(this,N,m,null)}else k.call(this,N)});let B=v.prototype.toggleAttribute;B&&(v.prototype.toggleAttribute=function(U,N){let m=U.toLowerCase();if(S.has(m)){let x=this.getAttribute(m);B.call(this,m,N);let R=this.getAttribute(m);E.call(this,m,x,R)}else B.call(this,m,N)})},g=v=>{let S=Object.getPrototypeOf(v);if(S!==window.HTMLElement)return S===r?Object.setPrototypeOf(v,window.HTMLElement):g(S)},b=(v,S,E=!1)=>{Object.setPrototypeOf(v,S.elementClass.prototype),i.set(v,S),l=v;try{new S.elementClass}catch{g(S.elementClass),new S.elementClass}S.attributeChangedCallback&&S.observedAttributes.forEach(I=>{v.hasAttribute(I)&&S.attributeChangedCallback.call(v,I,null,v.getAttribute(I))}),E&&S.connectedCallback&&v.isConnected&&S.connectedCallback.call(v)},O=Element.prototype.attachShadow;Element.prototype.attachShadow=function(v){let S=O.apply(this,arguments);return v.customElements&&(S.customElements=v.customElements),S};let A=[document],w=(v,S,E=void 0)=>{let I=(E?Object.getPrototypeOf(E):v.prototype)[S];v.prototype[S]=function(){A.push(this);let k=I.apply(E||this,arguments);return k!==void 0&&c.set(k,this),A.pop(),k}};w(ShadowRoot,"createElement",document),w(ShadowRoot,"importNode",document),w(Element,"insertAdjacentHTML");let C=(v,S)=>{let E=Object.getOwnPropertyDescriptor(v.prototype,S);Object.defineProperty(v.prototype,S,{...E,set(I){A.push(this),E.set.call(this,I),A.pop()}})};if(C(Element,"innerHTML"),C(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let v=new WeakMap,S=HTMLElement.prototype.attachInternals,E=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...U){let N=S.call(this,...U);return v.set(N,this),N},E.forEach(U=>{let N=window.ElementInternals.prototype,m=N[U];N[U]=function(...x){let R=v.get(this);if(i.get(R).formAssociated===!0)return m?.call(this,...x);throw new DOMException(`Failed to execute ${m} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class I extends Array{constructor(N){super(...N),this._elements=N}get value(){return this._elements.find(N=>N.checked===!0)?.value||""}}class k{constructor(N){let m=new Map;N.forEach((x,R)=>{let F=x.getAttribute("name"),W=m.get(F)||[];this[+R]=x,W.push(x),m.set(F,W)}),this.length=N.length,m.forEach((x,R)=>{x&&(x.length===1?this[R]=x[0]:this[R]=new I(x))})}namedItem(N){return this[N]}}let B=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let U=B.get.call(this,[]),N=[];for(let m of U){let x=i.get(m);(!x||x.formAssociated===!0)&&N.push(m)}return new k(N)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(o,n,i)=>{if(n!==null)try{e.bind(window.customElements)(o,n,i)}catch(a){console.info(o,n,i,a)}}}var Oo={};D(Oo,{CSSResult:()=>pt,LitElement:()=>Se,ReactiveElement:()=>pe,_$LE:()=>rl,_$LH:()=>Qc,adoptStyles:()=>_r,css:()=>P,defaultConverter:()=>Ir,getCompatibleStyle:()=>zt,html:()=>fe,isServer:()=>Bu,noChange:()=>Pe,notEqual:()=>yo,nothing:()=>V,render:()=>So,supportsAdoptingStyleSheets:()=>Wt,svg:()=>Xc,unsafeCSS:()=>Xe});var mr=globalThis,gr=mr.ShadowRoot&&(mr.ShadyCSS===void 0||mr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ni=Symbol(),Ri=new WeakMap,yr=class{constructor(e,o,n){if(this._$cssResult$=!0,n!==Ni)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=o}get styleSheet(){let e=this.o,o=this.t;if(gr&&e===void 0){let n=o!==void 0&&o.length===1;n&&(e=Ri.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Ri.set(o,e))}return e}toString(){return this.cssText}},_i=r=>new yr(typeof r=="string"?r:r+"",void 0,Ni);var lo=(r,e)=>{if(gr)r.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let n=document.createElement("style"),i=mr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,r.appendChild(n)}},br=gr?r=>r:r=>r instanceof CSSStyleSheet?(e=>{let o="";for(let n of e.cssRules)o+=n.cssText;return _i(o)})(r):r;var{is:Lc,defineProperty:$c,getOwnPropertyDescriptor:Fc,getOwnPropertyNames:kc,getOwnPropertySymbols:Uc,getPrototypeOf:Dc}=Object,xr=globalThis,Ii=xr.trustedTypes,Mc=Ii?Ii.emptyScript:"",Bc=xr.reactiveElementPolyfillSupport,Ft=(r,e)=>r,kt={toAttribute(r,e){switch(e){case Boolean:r=r?Mc:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,e){let o=r;switch(e){case Boolean:o=r!==null;break;case Number:o=r===null?null:Number(r);break;case Object:case Array:try{o=JSON.parse(r)}catch{o=null}}return o}},vr=(r,e)=>!Lc(r,e),Pi={attribute:!0,type:String,converter:kt,reflect:!1,hasChanged:vr};Symbol.metadata??=Symbol("metadata"),xr.litPropertyMetadata??=new WeakMap;var Ke=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,o=Pi){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(e,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,o);i!==void 0&&$c(this.prototype,e,i)}}static getPropertyDescriptor(e,o,n){let{get:i,set:a}=Fc(this.prototype,e)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Pi}static _$Ei(){if(this.hasOwnProperty(Ft("elementProperties")))return;let e=Dc(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Ft("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ft("properties"))){let o=this.properties,n=[...kc(o),...Uc(o)];for(let i of n)this.createProperty(i,o[i])}let e=this[Symbol.metadata];if(e!==null){let o=litPropertyMetadata.get(e);if(o!==void 0)for(let[n,i]of o)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let i=this._$Eu(o,n);i!==void 0&&this._$Eh.set(i,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let o=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)o.unshift(br(i))}else e!==void 0&&o.push(br(e));return o}static _$Eu(e,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return lo(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,o,n){this._$AK(e,n)}_$EO(e,o){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:kt).toAttribute(o,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,o){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:kt;this._$Em=i,this[i]=s.fromAttribute(o,a.type),this._$Em=null}}requestUpdate(e,o,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??vr)(i?a:this[e],o))return;this.C(e,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,o,n){this._$AL.has(e)||this._$AL.set(e,o),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(o)}willUpdate(e){}_$AE(e){this._$E_?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(o=>this._$EO(o,this[o])),this._$ET()}updated(e){}firstUpdated(e){}};Ke.elementStyles=[],Ke.shadowRootOptions={mode:"open"},Ke[Ft("elementProperties")]=new Map,Ke[Ft("finalized")]=new Map,Bc?.({ReactiveElement:Ke}),(xr.reactiveElementVersions??=[]).push("2.0.2");var po=globalThis,Sr=po.trustedTypes,Ti=Sr?Sr.createPolicy("lit-html",{createHTML:r=>r}):void 0,fo="$lit$",xe=`lit$${(Math.random()+"").slice(9)}$`,ho="?"+xe,Wc=`<${ho}>`,qe=document,Or=()=>qe.createComment(""),Dt=r=>r===null||typeof r!="object"&&typeof r!="function",Di=Array.isArray,Mi=r=>Di(r)||typeof r?.[Symbol.iterator]=="function",uo=`[
3
- \f\r]`,Ut=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Li=/-->/g,$i=/>/g,Ge=RegExp(`>|${uo}(?:([^\\s"'>=/]+)(${uo}*=${uo}*(?:[^
4
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Fi=/'/g,ki=/"/g,Bi=/^(?:script|style|textarea|title)$/i,Wi=r=>(e,...o)=>({_$litType$:r,strings:e,values:o}),zi=Wi(1),Hi=Wi(2),re=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),Ui=new WeakMap,Ze=qe.createTreeWalker(qe,129);function ji(r,e){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ti!==void 0?Ti.createHTML(e):e}var Vi=(r,e)=>{let o=r.length-1,n=[],i,a=e===2?"<svg>":"",s=Ut;for(let c=0;c<o;c++){let l=r[c],u,h,f=-1,y=0;for(;y<l.length&&(s.lastIndex=y,h=s.exec(l),h!==null);)y=s.lastIndex,s===Ut?h[1]==="!--"?s=Li:h[1]!==void 0?s=$i:h[2]!==void 0?(Bi.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=Ge):h[3]!==void 0&&(s=Ge):s===Ge?h[0]===">"?(s=i??Ut,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?Ge:h[3]==='"'?ki:Fi):s===ki||s===Fi?s=Ge:s===Li||s===$i?s=Ut:(s=Ge,i=void 0);let g=s===Ge&&r[c+1].startsWith("/>")?" ":"";a+=s===Ut?l+Wc:f>=0?(n.push(u),l.slice(0,f)+fo+l.slice(f)+xe+g):l+xe+(f===-2?c:g)}return[ji(r,a+(r[o]||"<?>")+(e===2?"</svg>":"")),n]},Mt=class r{constructor({strings:e,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,l=this.parts,[u,h]=Vi(e,o);if(this.el=r.createElement(u,n),Ze.currentNode=this.el.content,o===2){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=Ze.nextNode())!==null&&l.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(fo)){let y=h[s++],g=i.getAttribute(f).split(xe),b=/([.?@])?(.*)/.exec(y);l.push({type:1,index:a,name:b[2],strings:g,ctor:b[1]==="."?wr:b[1]==="?"?Cr:b[1]==="@"?Ar:Je}),i.removeAttribute(f)}else f.startsWith(xe)&&(l.push({type:6,index:a}),i.removeAttribute(f));if(Bi.test(i.tagName)){let f=i.textContent.split(xe),y=f.length-1;if(y>0){i.textContent=Sr?Sr.emptyScript:"";for(let g=0;g<y;g++)i.append(f[g],Or()),Ze.nextNode(),l.push({type:2,index:++a});i.append(f[y],Or())}}}else if(i.nodeType===8)if(i.data===ho)l.push({type:2,index:a});else{let f=-1;for(;(f=i.data.indexOf(xe,f+1))!==-1;)l.push({type:7,index:a}),f+=xe.length-1}a++}}static createElement(e,o){let n=qe.createElement("template");return n.innerHTML=e,n}};function Ye(r,e,o=r,n){if(e===re)return e;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=Dt(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(r),i._$AT(r,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(e=Ye(r,i._$AS(r,e.values),i,n)),e}var Er=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:n}=this._$AD,i=(e?.creationScope??qe).importNode(o,!0);Ze.currentNode=i;let a=Ze.nextNode(),s=0,c=0,l=n[0];for(;l!==void 0;){if(s===l.index){let u;l.type===2?u=new Bt(a,a.nextSibling,this,e):l.type===1?u=new l.ctor(a,l.name,l.strings,this,e):l.type===6&&(u=new Rr(a,this,e)),this._$AV.push(u),l=n[++c]}s!==l?.index&&(a=Ze.nextNode(),s++)}return Ze.currentNode=qe,i}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},Bt=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,i){this.type=2,this._$AH=G,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=Ye(this,e,o),Dt(e)?e===G||e==null||e===""?(this._$AH!==G&&this._$AR(),this._$AH=G):e!==this._$AH&&e!==re&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Mi(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==G&&Dt(this._$AH)?this._$AA.nextSibling.data=e:this.$(qe.createTextNode(e)),this._$AH=e}g(e){let{values:o,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Mt.createElement(ji(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new Er(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(e){let o=Ui.get(e.strings);return o===void 0&&Ui.set(e.strings,o=new Mt(e)),o}T(e){Di(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of e)i===o.length?o.push(n=new r(this.k(Or()),this.k(Or()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Je=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,i,a){this.type=1,this._$AH=G,this._$AN=void 0,this.element=e,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=G}_$AI(e,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=Ye(this,e,o,0),s=!Dt(e)||e!==this._$AH&&e!==re,s&&(this._$AH=e);else{let c=e,l,u;for(e=a[0],l=0;l<a.length-1;l++)u=Ye(this,c[n+l],o,l),u===re&&(u=this._$AH[l]),s||=!Dt(u)||u!==this._$AH[l],u===G?e=G:e!==G&&(e+=(u??"")+a[l+1]),this._$AH[l]=u}s&&!i&&this.O(e)}O(e){e===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},wr=class extends Je{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===G?void 0:e}},Cr=class extends Je{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==G)}},Ar=class extends Je{constructor(e,o,n,i,a){super(e,o,n,i,a),this.type=5}_$AI(e,o=this){if((e=Ye(this,e,o,0)??G)===re)return;let n=this._$AH,i=e===G&&n!==G||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==G&&(n===G||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Rr=class{constructor(e,o,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Ye(this,e)}},Ki={j:fo,P:xe,A:ho,C:1,M:Vi,L:Er,R:Mi,V:Ye,D:Bt,I:Je,H:Cr,N:Ar,U:wr,B:Rr},zc=po.litHtmlPolyfillSupport;zc?.(Mt,Bt),(po.litHtmlVersions??=[]).push("3.1.0");var Nr=globalThis,Wt=Nr.ShadowRoot&&(Nr.ShadyCSS===void 0||Nr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,mo=Symbol(),Gi=new WeakMap,pt=class{constructor(e,o,n){if(this._$cssResult$=!0,n!==mo)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=o}get styleSheet(){let e=this.o,o=this.t;if(Wt&&e===void 0){let n=o!==void 0&&o.length===1;n&&(e=Gi.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Gi.set(o,e))}return e}toString(){return this.cssText}},Xe=r=>new pt(typeof r=="string"?r:r+"",void 0,mo),P=(r,...e)=>{let o=r.length===1?r[0]:e.reduce((n,i,a)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+r[a+1],r[0]);return new pt(o,r,mo)},_r=(r,e)=>{if(Wt)r.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let n=document.createElement("style"),i=Nr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,r.appendChild(n)}},zt=Wt?r=>r:r=>r instanceof CSSStyleSheet?(e=>{let o="";for(let n of e.cssRules)o+=n.cssText;return Xe(o)})(r):r;var{is:Hc,defineProperty:jc,getOwnPropertyDescriptor:Vc,getOwnPropertyNames:Kc,getOwnPropertySymbols:Gc,getPrototypeOf:Zc}=Object,Pr=globalThis,Zi=Pr.trustedTypes,qc=Zi?Zi.emptyScript:"",Yc=Pr.reactiveElementPolyfillSupport,Ht=(r,e)=>r,Ir={toAttribute(r,e){switch(e){case Boolean:r=r?qc:null;break;case Object:case Array:r=r==null?r:JSON.stringify(r)}return r},fromAttribute(r,e){let o=r;switch(e){case Boolean:o=r!==null;break;case Number:o=r===null?null:Number(r);break;case Object:case Array:try{o=JSON.parse(r)}catch{o=null}}return o}},yo=(r,e)=>!Hc(r,e),qi={attribute:!0,type:String,converter:Ir,reflect:!1,hasChanged:yo};Symbol.metadata??=Symbol("metadata"),Pr.litPropertyMetadata??=new WeakMap;var pe=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,o=qi){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(e,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,o);i!==void 0&&jc(this.prototype,e,i)}}static getPropertyDescriptor(e,o,n){let{get:i,set:a}=Vc(this.prototype,e)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??qi}static _$Ei(){if(this.hasOwnProperty(Ht("elementProperties")))return;let e=Zc(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Ht("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ht("properties"))){let o=this.properties,n=[...Kc(o),...Gc(o)];for(let i of n)this.createProperty(i,o[i])}let e=this[Symbol.metadata];if(e!==null){let o=litPropertyMetadata.get(e);if(o!==void 0)for(let[n,i]of o)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let i=this._$Eu(o,n);i!==void 0&&this._$Eh.set(i,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let o=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)o.unshift(zt(i))}else e!==void 0&&o.push(zt(e));return o}static _$Eu(e,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return _r(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,o,n){this._$AK(e,n)}_$EO(e,o){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:Ir).toAttribute(o,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,o){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Ir;this._$Em=i,this[i]=s.fromAttribute(o,a.type),this._$Em=null}}requestUpdate(e,o,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??yo)(i?a:this[e],o))return;this.C(e,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,o,n){this._$AL.has(e)||this._$AL.set(e,o),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(o)}willUpdate(e){}_$AE(e){this._$E_?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(o=>this._$EO(o,this[o])),this._$ET()}updated(e){}firstUpdated(e){}};pe.elementStyles=[],pe.shadowRootOptions={mode:"open"},pe[Ht("elementProperties")]=new Map,pe[Ht("finalized")]=new Map,Yc?.({ReactiveElement:pe}),(Pr.reactiveElementVersions??=[]).push("2.0.2");var bo=globalThis,Tr=bo.trustedTypes,Yi=Tr?Tr.createPolicy("lit-html",{createHTML:r=>r}):void 0,xo="$lit$",ve=`lit$${(Math.random()+"").slice(9)}$`,vo="?"+ve,Jc=`<${vo}>`,tt=document,Vt=()=>tt.createComment(""),Kt=r=>r===null||typeof r!="object"&&typeof r!="function",ra=Array.isArray,oa=r=>ra(r)||typeof r?.[Symbol.iterator]=="function",go=`[
5
- \f\r]`,jt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ji=/-->/g,Xi=/>/g,Qe=RegExp(`>|${go}(?:([^\\s"'>=/]+)(${go}*=${go}*(?:[^
6
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Qi=/'/g,ea=/"/g,na=/^(?:script|style|textarea|title)$/i,ia=r=>(e,...o)=>({_$litType$:r,strings:e,values:o}),fe=ia(1),Xc=ia(2),Pe=Symbol.for("lit-noChange"),V=Symbol.for("lit-nothing"),ta=new WeakMap,et=tt.createTreeWalker(tt,129);function aa(r,e){if(!Array.isArray(r)||!r.hasOwnProperty("raw"))throw Error("invalid template strings array");return Yi!==void 0?Yi.createHTML(e):e}var sa=(r,e)=>{let o=r.length-1,n=[],i,a=e===2?"<svg>":"",s=jt;for(let c=0;c<o;c++){let l=r[c],u,h,f=-1,y=0;for(;y<l.length&&(s.lastIndex=y,h=s.exec(l),h!==null);)y=s.lastIndex,s===jt?h[1]==="!--"?s=Ji:h[1]!==void 0?s=Xi:h[2]!==void 0?(na.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=Qe):h[3]!==void 0&&(s=Qe):s===Qe?h[0]===">"?(s=i??jt,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?Qe:h[3]==='"'?ea:Qi):s===ea||s===Qi?s=Qe:s===Ji||s===Xi?s=jt:(s=Qe,i=void 0);let g=s===Qe&&r[c+1].startsWith("/>")?" ":"";a+=s===jt?l+Jc:f>=0?(n.push(u),l.slice(0,f)+xo+l.slice(f)+ve+g):l+ve+(f===-2?c:g)}return[aa(r,a+(r[o]||"<?>")+(e===2?"</svg>":"")),n]},Gt=class r{constructor({strings:e,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,l=this.parts,[u,h]=sa(e,o);if(this.el=r.createElement(u,n),et.currentNode=this.el.content,o===2){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=et.nextNode())!==null&&l.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(xo)){let y=h[s++],g=i.getAttribute(f).split(ve),b=/([.?@])?(.*)/.exec(y);l.push({type:1,index:a,name:b[2],strings:g,ctor:b[1]==="."?$r:b[1]==="?"?Fr:b[1]==="@"?kr:ot}),i.removeAttribute(f)}else f.startsWith(ve)&&(l.push({type:6,index:a}),i.removeAttribute(f));if(na.test(i.tagName)){let f=i.textContent.split(ve),y=f.length-1;if(y>0){i.textContent=Tr?Tr.emptyScript:"";for(let g=0;g<y;g++)i.append(f[g],Vt()),et.nextNode(),l.push({type:2,index:++a});i.append(f[y],Vt())}}}else if(i.nodeType===8)if(i.data===vo)l.push({type:2,index:a});else{let f=-1;for(;(f=i.data.indexOf(ve,f+1))!==-1;)l.push({type:7,index:a}),f+=ve.length-1}a++}}static createElement(e,o){let n=tt.createElement("template");return n.innerHTML=e,n}};function rt(r,e,o=r,n){if(e===Pe)return e;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=Kt(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(r),i._$AT(r,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(e=rt(r,i._$AS(r,e.values),i,n)),e}var Lr=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:n}=this._$AD,i=(e?.creationScope??tt).importNode(o,!0);et.currentNode=i;let a=et.nextNode(),s=0,c=0,l=n[0];for(;l!==void 0;){if(s===l.index){let u;l.type===2?u=new ft(a,a.nextSibling,this,e):l.type===1?u=new l.ctor(a,l.name,l.strings,this,e):l.type===6&&(u=new Ur(a,this,e)),this._$AV.push(u),l=n[++c]}s!==l?.index&&(a=et.nextNode(),s++)}return et.currentNode=tt,i}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},ft=class r{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,i){this.type=2,this._$AH=V,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=rt(this,e,o),Kt(e)?e===V||e==null||e===""?(this._$AH!==V&&this._$AR(),this._$AH=V):e!==this._$AH&&e!==Pe&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):oa(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==V&&Kt(this._$AH)?this._$AA.nextSibling.data=e:this.$(tt.createTextNode(e)),this._$AH=e}g(e){let{values:o,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Gt.createElement(aa(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new Lr(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(e){let o=ta.get(e.strings);return o===void 0&&ta.set(e.strings,o=new Gt(e)),o}T(e){ra(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of e)i===o.length?o.push(n=new r(this.k(Vt()),this.k(Vt()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},ot=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,i,a){this.type=1,this._$AH=V,this._$AN=void 0,this.element=e,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=V}_$AI(e,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=rt(this,e,o,0),s=!Kt(e)||e!==this._$AH&&e!==Pe,s&&(this._$AH=e);else{let c=e,l,u;for(e=a[0],l=0;l<a.length-1;l++)u=rt(this,c[n+l],o,l),u===Pe&&(u=this._$AH[l]),s||=!Kt(u)||u!==this._$AH[l],u===V?e=V:e!==V&&(e+=(u??"")+a[l+1]),this._$AH[l]=u}s&&!i&&this.O(e)}O(e){e===V?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},$r=class extends ot{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===V?void 0:e}},Fr=class extends ot{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==V)}},kr=class extends ot{constructor(e,o,n,i,a){super(e,o,n,i,a),this.type=5}_$AI(e,o=this){if((e=rt(this,e,o,0)??V)===Pe)return;let n=this._$AH,i=e===V&&n!==V||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==V&&(n===V||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Ur=class{constructor(e,o,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){rt(this,e)}},Qc={j:xo,P:ve,A:vo,C:1,M:sa,L:Lr,R:oa,V:rt,D:ft,I:ot,H:Fr,N:kr,U:$r,B:Ur},el=bo.litHtmlPolyfillSupport;el?.(Gt,ft),(bo.litHtmlVersions??=[]).push("3.1.0");var So=(r,e,o)=>{let n=o?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=o?.renderBefore??null;n._$litPart$=i=new ft(e.insertBefore(Vt(),a),a,void 0,o??{})}return i._$AI(r),i};var Se=class extends pe{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=So(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Pe}};Se._$litElement$=!0,Se.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Se});var tl=globalThis.litElementPolyfillSupport;tl?.({LitElement:Se});var rl={_$AK:(r,e,o)=>{r._$AK(e,o)},_$AL:r=>r._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Bu=!1;var Eo={};D(Eo,{customElement:()=>ol,eventOptions:()=>il,property:()=>T,query:()=>nt,queryAll:()=>sl,queryAssignedElements:()=>ll,queryAssignedNodes:()=>dl,queryAsync:()=>cl,standardProperty:()=>ca,state:()=>ae});var ol=r=>(e,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(r,e)}):customElements.define(r,e)};var nl={attribute:!0,type:String,converter:kt,reflect:!1,hasChanged:vr},ca=(r=nl,e,o)=>{let{kind:n,metadata:i}=o,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(o.name,r),n==="accessor"){let{name:s}=o;return{set(c){let l=e.get.call(this);e.set.call(this,c),this.requestUpdate(s,l,r)},init(c){return c!==void 0&&this.C(s,void 0,r),c}}}if(n==="setter"){let{name:s}=o;return function(c){let l=this[s];e.call(this,c),this.requestUpdate(s,l,r)}}throw Error("Unsupported decorator location: "+n)};function T(r){return(e,o)=>typeof o=="object"?ca(r,e,o):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(r,e,o)}function ae(r){return T({...r,state:!0,attribute:!1})}function il(r){return(e,o)=>{let n=typeof e=="function"?e:e[o];Object.assign(n,r)}}var ce=(r,e,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(r,e,o),o);function nt(r,e){return(o,n,i)=>{let a=s=>s.renderRoot?.querySelector(r)??null;if(e){let{get:s,set:c}=typeof n=="object"?o:i??(()=>{let l=Symbol();return{get(){return this[l]},set(u){this[l]=u}}})();return ce(o,n,{get(){let l=s.call(this);return l===void 0&&(l=a(this),(l!==null||this.hasUpdated)&&c.call(this,l)),l}})}return ce(o,n,{get(){return a(this)}})}}var al;function sl(r){return(e,o)=>ce(e,o,{get(){return(this.renderRoot??(al??=document.createDocumentFragment())).querySelectorAll(r)}})}function cl(r){return(e,o)=>ce(e,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(r)??null}})}function ll(r){return(e,o)=>{let{slot:n,selector:i}=r??{},a="slot"+(n?`[name=${n}]`:":not([name])");return ce(e,o,{get(){let s=this.renderRoot?.querySelector(a),c=s?.assignedElements(r)??[];return i===void 0?c:c.filter(l=>l.matches(i))}})}}function dl(r){return(e,o)=>{let{slot:n}=r??{},i="slot"+(n?`[name=${n}]`:":not([name])");return ce(e,o,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(r)??[]}})}}var wo={};D(wo,{repeat:()=>fl});var Te={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Le=r=>(...e)=>({_$litDirective$:r,values:e}),he=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,o,n){this._$Ct=e,this._$AM=o,this._$Ci=n}_$AS(e,o){return this.update(e,o)}update(e,o){return this.render(...o)}};var{D:ul}=Ki;var la=()=>document.createComment(""),ht=(r,e,o)=>{let n=r._$AA.parentNode,i=e===void 0?r._$AB:e._$AA;if(o===void 0){let a=n.insertBefore(la(),i),s=n.insertBefore(la(),i);o=new ul(a,s,r,r.options)}else{let a=o._$AB.nextSibling,s=o._$AM,c=s!==r;if(c){let l;o._$AQ?.(r),o._$AM=r,o._$AP!==void 0&&(l=r._$AU)!==s._$AU&&o._$AP(l)}if(a!==i||c){let l=o._$AA;for(;l!==a;){let u=l.nextSibling;n.insertBefore(l,i),l=u}}}return o},$e=(r,e,o=r)=>(r._$AI(e,o),r),pl={},da=(r,e=pl)=>r._$AH=e,ua=r=>r._$AH,Dr=r=>{r._$AP?.(!1,!0);let e=r._$AA,o=r._$AB.nextSibling;for(;e!==o;){let n=e.nextSibling;e.remove(),e=n}};var pa=(r,e,o)=>{let n=new Map;for(let i=e;i<=o;i++)n.set(r[i],i);return n},fl=Le(class extends he{constructor(r){if(super(r),r.type!==Te.CHILD)throw Error("repeat() can only be used in text expressions")}ht(r,e,o){let n;o===void 0?o=e:e!==void 0&&(n=e);let i=[],a=[],s=0;for(let c of r)i[s]=n?n(c,s):s,a[s]=o(c,s),s++;return{values:a,keys:i}}render(r,e,o){return this.ht(r,e,o).values}update(r,[e,o,n]){let i=ua(r),{values:a,keys:s}=this.ht(e,o,n);if(!Array.isArray(i))return this.dt=s,a;let c=this.dt??=[],l=[],u,h,f=0,y=i.length-1,g=0,b=a.length-1;for(;f<=y&&g<=b;)if(i[f]===null)f++;else if(i[y]===null)y--;else if(c[f]===s[g])l[g]=$e(i[f],a[g]),f++,g++;else if(c[y]===s[b])l[b]=$e(i[y],a[b]),y--,b--;else if(c[f]===s[b])l[b]=$e(i[f],a[b]),ht(r,l[b+1],i[f]),f++,b--;else if(c[y]===s[g])l[g]=$e(i[y],a[g]),ht(r,i[f],i[y]),y--,g++;else if(u===void 0&&(u=pa(s,g,b),h=pa(c,f,y)),u.has(c[f]))if(u.has(c[y])){let O=h.get(s[g]),A=O!==void 0?i[O]:null;if(A===null){let w=ht(r,i[f]);$e(w,a[g]),l[g]=w}else l[g]=$e(A,a[g]),ht(r,i[f],A),i[O]=null;g++}else Dr(i[y]),y--;else Dr(i[f]),f++;for(;g<=b;){let O=ht(r,l[b+1]);$e(O,a[g]),l[g++]=O}for(;f<=y;){let O=i[f++];O!==null&&Dr(O)}return this.dt=s,da(r,l),re}});var Co={};D(Co,{classMap:()=>it});var it=Le(class extends he{constructor(r){if(super(r),r.type!==Te.ATTRIBUTE||r.name!=="class"||r.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(r){return" "+Object.keys(r).filter(e=>r[e]).join(" ")+" "}update(r,[e]){if(this.it===void 0){this.it=new Set,r.strings!==void 0&&(this.st=new Set(r.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(e)}let o=r.element.classList;for(let n of this.it)n in e||(o.remove(n),this.it.delete(n));for(let n in e){let i=!!e[n];i===this.it.has(n)||this.st?.has(n)||(i?(o.add(n),this.it.add(n)):(o.remove(n),this.it.delete(n)))}return re}});var Ao={};D(Ao,{styleMap:()=>ml});var fa="important",hl=" !"+fa,ml=Le(class extends he{constructor(r){if(super(r),r.type!==Te.ATTRIBUTE||r.name!=="style"||r.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(r){return Object.keys(r).reduce((e,o)=>{let n=r[o];return n==null?e:e+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(r,[e]){let{style:o}=r.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let n of this.ut)e[n]==null&&(this.ut.delete(n),n.includes("-")?o.removeProperty(n):o[n]=null);for(let n in e){let i=e[n];if(i!=null){this.ut.add(n);let a=typeof i=="string"&&i.endsWith(hl);n.includes("-")||a?o.setProperty(n,a?i.slice(0,-11):i,a?fa:""):o[n]=i}}return re}});var Ro={};D(Ro,{UnsafeHTMLDirective:()=>mt,unsafeHTML:()=>yl});var mt=class extends he{constructor(e){if(super(e),this.et=G,e.type!==Te.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===G||e==null)return this.vt=void 0,this.et=e;if(e===re)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;let o=[e];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};mt.directiveName="unsafeHTML",mt.resultType=1;var yl=Le(mt);var Po={};D(Po,{CacheRegistry:()=>Io});var _o={};D(_o,{CancelablePromise:()=>yt,CanceledPromiseError:()=>Zt,cancelable:()=>No});var Zt=class extends Error{constructor(e,o,n){super(e),this.canceledPromiseResult=o,this.canceledPromiseError=n}},yt=class extends Promise{constructor(e){super((o,n)=>e(i=>{this.isCanceled?n(new Zt("Promise has been canceled",i)):o(i)},i=>{this.isCanceled?n(new Zt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},No=r=>new yt((e,o)=>r.then(e).catch(o));var Io=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,o){this.loaders[e]=o,this.finalContent.delete(e)}registerFinal(e,o){this.loaders[e]=o,this.finalContent.add(e)}clearAll(){for(let e in this.content)this.clear(e)}clear(e){this.finalContent.has(e)||this.forceClear(e)}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof yt&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,o){this.forceClear(e),this.register(e,async()=>o),this.content[e]=o}setFinal(e,o){this.forceClear(e),this.registerFinal(e,async()=>o),this.content[e]=o}async get(e,o,n){if(this.content[e]===void 0){if(o=o??this.loaders[e],o==null)throw new Error("Unknown cache key "+e);let i=No(o());return this.content[e]=i,i.then(a=>(this.content[e]=a,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),a))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var Lo={};D(Lo,{ClusteringHelper:()=>To});var To=class r{constructor(e,o,n,i){this.allResults=e,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(e,o){var n,i;let a=((i=(n=e?.map)!==null&&n!==void 0?n:e?.document)!==null&&i!==void 0?i:e?.topic).metadata;return o==null?r.flattenMetadata(a):r.flattenMetadata(a.find(s=>s.key===o))}static flattenMetadata(e){if(Array.isArray(e))return e.map(n=>r.flattenMetadata(n)).filter(n=>n!=null);let o=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!o))if(o){let n=[],i=[];return e.hierarchicalValues.forEach(a=>{n.push(a.join(" > ")),a.length>2?i.push(`... > ${a[a.length-1]}`):i.push(a.join(" > "))}),{key:e.key,label:e.label,value:n.join(", "),displayValue:i.join(", ")}}else{let n=e.values.join(", ");return{key:e.key,label:e.label,value:n,displayValue:n}}}computeClustersItemsForMetadata(e,o,n="No value"){var i,a;let s=r.extractResultMetadata(this.selectedResult,e),c=(i=s?.label)!==null&&i!==void 0?i:(a=this.getMetadataDescriptor(e))===null||a===void 0?void 0:a.label;return this.allResults.map(u=>r.extractResultMetadata(u,e)).map(u=>u??{key:e,label:c,value:void 0,displayValue:n}).filter(u=>u.value!=s?.value).filter((u,h,f)=>f.findIndex(y=>y.value===u.value)===h).map(u=>({result:this.findBestResultForMetadataValue(e,u.value),metadata:u})).sort((u,h)=>this.compareMetadata(u.metadata.value,h.metadata.value,e,o))}compareMetadata(e,o,n,i){if(e==null)return-1;if(o==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",c=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let l=e.localeCompare(o,i,{numeric:!0});return c?l*-1:l}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(o=>e==o.key)}findBestResultForMetadataValue(e,o){let n=this.allResults.filter(l=>{var u;return((u=r.extractResultMetadata(l,e))===null||u===void 0?void 0:u.value)==o}),a=[...r.extractResultMetadata(this.selectedResult).filter(l=>this.clusteringMetadata.has(l.key)).filter(l=>l.key!==e)],s,c=-1;for(let l of n){let u=this.countMatchingMetadata(l,a);if(u>c&&(c=u,s=l,u===a.length))break}return s}countMatchingMetadata(e,o){return r.extractResultMetadata(e).filter(n=>o.some(i=>i.key===n.key&&i.value===n.value)).length}};var $o={};D($o,{Debouncer:()=>Fe});var Fe=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,o){return this.callbacks=[e],this.debounce(o)}queue(e,o){return this.callbacks.push(e),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,o;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(c){i(c);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Do={};D(Do,{customElement:()=>Oe,isNumber:()=>ba,jsonProperty:()=>Uo,optionalNumberProperty:()=>Jt});var ko={};D(ko,{dateReviver:()=>bl,deepEqual:()=>qt,delay:()=>ha,eventPathContainsMatchingElement:()=>vl,flatDeep:()=>ya,hasChanged:()=>Yt,last:()=>Sl,minmax:()=>Fo,parseDate:()=>ga,waitFor:()=>ma,waitUntil:()=>gl});var ha=r=>new Promise(e=>setTimeout(e,r));async function gl(r,e=10,o=2e4){await ma(async()=>await r()||void 0,e,o)}async function ma(r,e=10,o=2e4){let n=await r(),i,a;for(i=a=performance.now();n==null&&(!o||a-i<o);)await ha(e),n=await r(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function ya(r,e){return r.flatMap(o=>[o,...ya(e(o),e)])}function bl(...r){return function(e,o){return r.includes(e)?ga(o):o}}function ga(r){return r.match(/^\d{4}-\d{2}-\d{2}$/)&&(r=r.replace(/-/g,"/")),r=r.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,o,n,i)=>o+n+":"+i),new Date(r)}function xl(r,e){if(r===e)return!0;if(r&&e&&typeof r=="object"&&typeof e=="object"){if(r.constructor!==e.constructor)return!1;var o,n,i;if(Array.isArray(r)){if(o=r.length,o!=e.length)return!1;for(n=o;n--!==0;)if(!qt(r[n],e[n]))return!1;return!0}if(r instanceof Map&&e instanceof Map){if(r.size!==e.size)return!1;for(n of r.entries())if(!e.has(n[0]))return!1;for(n of r.entries())if(!qt(n[1],e.get(n[0])))return!1;return!0}if(r instanceof Set&&e instanceof Set){if(r.size!==e.size)return!1;for(n of r.entries())if(!e.has(n[0]))return!1;return!0}if(r.constructor===RegExp)return r.source===e.source&&r.flags===e.flags;if(r.valueOf!==Object.prototype.valueOf)return r.valueOf()===e.valueOf();if(i=Object.keys(r),o=i.length,o!==Object.keys(e).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=o;n--!==0;){var a=i[n];if(!qt(r[a],e[a]))return!1}return!0}return r!==r&&e!==e}function qt(r,e){try{return xl(r,e)}catch{return!1}}function Yt(r,e){return!qt(r,e)}function vl(r,e,o=window.document.body){if(e.length>0){let n=r.composedPath();for(let i of n){if(i===o)return!1;if(i.matches&&e.some(a=>i.matches(a)))return!0}}return!1}function Fo(r,e,o){return Math.min(Math.max(r,e),o)}function Sl(r){return r[r.length-1]}var Oe=r=>e=>{window.customElements.get(r)||window.customElements.define(r,e)};function Uo(r,e){let o=()=>JSON.parse(JSON.stringify(r));return T({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Yt,...e??{}})}function Jt(r){return T({type:Object,converter:{fromAttribute:e=>{if(e!=null)return ba(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...r??{}})}function ba(r){return!isNaN(parseFloat(r))}var hn={};D(hn,{designSystemVariables:()=>M});var fn={};D(fn,{DesignSystemFamily:()=>Qt,DesignSystemSize:()=>er,FtCssVariableFactory:()=>t,badge:()=>Nl,banner:()=>Rl,breadcrumb:()=>_l,button:()=>El,chart:()=>zl,checkbox:()=>jl,chip:()=>Cl,chipChoice:()=>wl,collapsible:()=>Bl,comboboxMultiSelect:()=>Dl,comboboxSingleSelect:()=>Ul,drawer:()=>Tl,floatingMenu:()=>kl,foundation:()=>d,link:()=>Al,modal:()=>Pl,notice:()=>Hl,notification:()=>Gl,pageHeader:()=>Il,popover:()=>Ml,radio:()=>Kl,resolveFamilyClass:()=>un,resolveSizeClass:()=>pn,semantic:()=>p,setVariable:()=>Z,switch_:()=>Wl,tabs:()=>Ll,textArea:()=>Fl,textInput:()=>$l,toggle:()=>Vl,tooltip:()=>Zl,typographies:()=>Xt,typographyBody1Medium:()=>jo,typographyBody1Regular:()=>Ho,typographyBody1Semibold:()=>Vo,typographyBody2Medium:()=>Go,typographyBody2MediumUnderline:()=>xa,typographyBody2Regular:()=>Ko,typographyBody2Semibold:()=>Zo,typographyCaption1Bold:()=>on,typographyCaption1Medium:()=>tn,typographyCaption1Semibold:()=>rn,typographyCaption2Bold:()=>sn,typographyCaption2Medium:()=>nn,typographyCaption2Semibold:()=>an,typographyCaption3Bold:()=>dn,typographyCaption3Medium:()=>cn,typographyCaption3Semibold:()=>ln,typographyDisplay:()=>Mo,typographyLabel1Bold:()=>Jo,typographyLabel1Medium:()=>qo,typographyLabel1Semibold:()=>Yo,typographyLabel2Bold:()=>en,typographyLabel2Medium:()=>Xo,typographyLabel2Semibold:()=>Qo,typographyTitle1:()=>Bo,typographyTitle2:()=>Wo,typographyTitle3:()=>zo,typographyVariants:()=>Ol});var Ee=r=>typeof r=="string"?Xe(r):r,t=class{static create(e,o,n,i){let a=c=>Ee(c??i),s=P`var(${Ee(e)}, ${a(i)})`;return s.name=e,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>P`var(${Ee(e)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,o,n,i){let a=c=>n.get(c??i),s=P`var(${Ee(e)}, ${a(i)})`;return s.name=e,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>P`var(${Ee(e)}, ${a(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,o){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):Ee(a??e.lastResortDefaultValue()),i=P`var(${Ee(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=o,i.defaultCssValue=n,i.get=a=>P`var(${Ee(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function Z(r,e){return Ee(`${r.name}: ${e}`)}var d={colorWhite:t.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:t.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:t.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:t.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:t.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:t.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:t.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:t.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:t.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:t.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:t.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:t.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:t.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:t.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:t.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:t.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:t.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:t.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:t.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:t.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:t.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:t.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:t.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:t.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:t.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:t.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:t.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:t.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:t.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:t.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:t.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:t.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:t.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:t.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:t.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:t.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:t.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:t.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:t.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:t.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:t.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:t.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:t.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:t.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:t.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:t.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:t.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:t.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:t.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:t.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:t.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:t.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:t.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:t.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:t.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:t.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:t.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:t.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:t.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:t.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:t.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:t.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:t.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:t.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:t.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:t.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:t.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:t.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:t.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:t.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:t.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:t.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:t.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:t.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:t.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:t.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:t.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:t.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:t.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:t.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:t.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:t.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:t.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:t.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:t.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:t.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:t.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:t.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:t.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:t.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:t.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:t.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:t.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:t.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:t.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:t.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:t.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:t.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:t.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:t.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:t.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:t.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:t.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:t.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:t.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:t.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:t.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:t.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:t.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:t.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:t.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:t.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:t.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:t.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:t.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:t.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:t.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:t.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:t.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:t.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:t.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:t.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:t.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:t.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:t.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:t.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:t.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:t.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:t.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:t.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:t.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:t.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:t.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:t.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:t.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:t.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:t.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:t.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:t.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:t.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:t.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:t.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:t.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:t.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:t.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:t.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:t.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:t.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:t.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:t.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:t.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:t.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:t.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:t.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:t.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:t.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:t.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:t.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:t.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:t.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:t.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:t.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:t.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:t.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:t.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:t.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:t.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:t.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:t.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:t.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:t.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:t.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:t.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:t.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:t.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:t.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:t.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:t.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:t.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:t.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:t.create("--ft-opacity-0","","NUMBER","0"),opacity8:t.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:t.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:t.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:t.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:t.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:t.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:t.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:t.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:t.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:t.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:t.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:t.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:t.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:t.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:t.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Mo={fontFamily:t.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:t.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-display-textCase","","UNKNOWN","none")},Bo={fontFamily:t.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:t.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Wo={fontFamily:t.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:t.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:t.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},zo={fontFamily:t.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:t.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:t.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:t.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Ho={fontFamily:t.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},jo={fontFamily:t.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Vo={fontFamily:t.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:t.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Ko={fontFamily:t.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:t.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Go={fontFamily:t.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},xa={fontFamily:t.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:t.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:t.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Zo={fontFamily:t.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:t.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:t.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:t.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},qo={fontFamily:t.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Yo={fontFamily:t.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Jo={fontFamily:t.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:t.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Xo={fontFamily:t.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Qo={fontFamily:t.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},en={fontFamily:t.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:t.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:t.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:t.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},tn={fontFamily:t.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},rn={fontFamily:t.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},on={fontFamily:t.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:t.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},nn={fontFamily:t.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},an={fontFamily:t.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},sn={fontFamily:t.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:t.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},cn={fontFamily:t.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:t.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},ln={fontFamily:t.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:t.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},dn={fontFamily:t.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:t.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:t.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:t.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:t.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:t.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:t.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:t.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:t.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Xt={display:Mo,"title-1":Bo,"title-2":Wo,"title-3":zo,"body-1-regular":Ho,"body-1-medium":jo,"body-1-semibold":Vo,"body-2-regular":Ko,"body-2-medium":Go,"body-2-medium-underline":xa,"body-2-semibold":Zo,"label-1-medium":qo,"label-1-semibold":Yo,"label-1-bold":Jo,"label-2-medium":Xo,"label-2-semibold":Qo,"label-2-bold":en,"caption-1-medium":tn,"caption-1-semibold":rn,"caption-1-bold":on,"caption-2-medium":nn,"caption-2-semibold":an,"caption-2-bold":sn,"caption-3-medium":cn,"caption-3-semibold":ln,"caption-3-bold":dn},Ol=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var p={backgroundActionPrimary:t.extend("--ft-background-action-primary","Used as backgorund of primary action components.",d.colorBrand0),backgroundErrorSubtle:t.extend("--ft-background-error-subtle","Used as background of subtle error components.",d.colorRed10),backgroundInfoSubtle:t.extend("--ft-background-info-subtle","Used as background of subtle information components.",d.colorCyan10),backgroundWarningSubtle:t.extend("--ft-background-warning-subtle","Used as background of subtle information components.",d.colorOrange10),backgroundSuccessSubtle:t.extend("--ft-background-success-subtle","Used as background of subtle success components.",d.colorGreen10),backgroundGlobalSurface:t.extend("--ft-background-global-surface","Used as app background.",d.colorWhite),backgroundGlobalOnSurface:t.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",d.colorGray10),backgroundGlobalOnSurfaceDark:t.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",d.colorGray30),contentActionPrimary:t.extend("--ft-content-action-primary","Used on label of primary action on light surface.",d.colorBrand0),contentWarningPrimary:t.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",d.colorOrange200),contentWarningIconOnly:t.extend("--ft-content-warning-icon-only","Used on warning status icons alone",d.colorOrange0),contentErrorPrimary:t.extend("--ft-content-error-primary","Used on label of error messages on light surface.",d.colorRed0),contentErrorIconOnly:t.extend("--ft-content-error-icon-only","Used on error status icons alone",d.colorRed70),contentInfoPrimary:t.extend("--ft-content-info-primary","Used on label of information messages on light surface.",d.colorCyan200),contentInfoIconOnly:t.extend("--ft-content-info-icon-only","Used on info status icons alone",d.colorCyan0),contentSuccessPrimary:t.extend("--ft-content-success-primary","Used on label of success messages on light surface.",d.colorGreen200),contentSuccessIconOnly:t.extend("--ft-content-success-icon-only","Used on success status icons alone",d.colorGreen0),contentGlobalPrimary:t.extend("--ft-content-global-primary","Used for main content on the page.",d.colorGray500),contentGlobalSecondary:t.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
7
- Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",d.colorGray0),contentGlobalOnColor:t.extend("--ft-content-global-on-color","Used for content on a dominant color.",d.colorWhite),borderActionPrimary:t.extend("--ft-border-action-primary","Used as border for primary action components.",d.colorBrand0),borderActionFocusRing:t.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",d.colorCyan0),borderWarningPrimary:t.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",d.colorOrange200),borderWarningSubtle:t.extend("--ft-border-warning-subtle","Used as border for warning components.",d.colorOrange30),borderSuccessPrimary:t.extend("--ft-border-success-primary","Used as border for success buttons.",d.colorGreen200),borderSuccessSubtle:t.extend("--ft-border-success-subtle","Used as border for success components.",d.colorGreen30),borderErrorPrimary:t.extend("--ft-border-error-primary","Used as border for text fields in error states.",d.colorRed0),borderErrorSubtle:t.extend("--ft-border-error-subtle","Used as border for error components.",d.colorRed30),borderInfoPrimary:t.extend("--ft-border-info-primary","Used as border for buttons in info color.",d.colorCyan200),borderInfoSubtle:t.extend("--ft-border-info-subtle","Used as border for information components.",d.colorCyan30),borderGlobalPrimary:t.extend("--ft-border-global-primary","Used as border for element like input.",d.colorGray50),borderGlobalSubtle:t.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",d.colorGray30),borderInputPrimary:t.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",d.colorGray80)};var El={largeHeight:t.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:t.extend("--ft-button-large-horizontal-padding","",d.spacing4),largeGap:t.extend("--ft-button-large-gap","",d.spacing2),largeBorderRadius:t.extend("--ft-button-large-border-radius","",d.borderRadiusS),largeIconSize:t.extend("--ft-button-large-icon-size","",d.iconSize3),largeBorderWidth:t.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:t.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:t.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:t.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:t.extend("--ft-button-medium-horizontal-padding","",d.spacing3),mediumGap:t.extend("--ft-button-medium-gap","",d.spacing2),mediumBorderRadius:t.extend("--ft-button-medium-border-radius","",d.borderRadiusS),mediumIconSize:t.extend("--ft-button-medium-icon-size","",d.iconSize2),mediumBorderWidth:t.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:t.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:t.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:t.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-button-small-horizontal-padding","",d.spacing2),smallGap:t.extend("--ft-button-small-gap","",d.spacing1),smallBorderRadius:t.extend("--ft-button-small-border-radius","",d.borderRadiusS),smallIconSize:t.extend("--ft-button-small-icon-size","",d.iconSize1),smallBorderWidth:t.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:t.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:t.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:t.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:t.extend("--ft-button-x-small-icon-size","",d.iconSize1),xSmallFocusOutlineOffset:t.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:t.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:t.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:t.extend("--ft-button-round-border-radius","",d.borderRadiusPill),primaryBackgroundColor:t.extend("--ft-button-primary-background-color","",p.backgroundActionPrimary),primaryColor:t.extend("--ft-button-primary-color","",p.contentGlobalOnColor),primaryIconColor:t.extend("--ft-button-primary-icon-color","",p.contentGlobalOnColor),primaryStateLayerColor:t.extend("--ft-button-primary-state-layer-color","",p.contentGlobalOnColor),primaryHoverStateLayerOpacity:t.extend("--ft-button-primary-hover-state-layer-opacity","",d.opacity16),primaryFocusStateLayerOpacity:t.extend("--ft-button-primary-focus-state-layer-opacity","",d.opacity16),primaryActiveStateLayerOpacity:t.extend("--ft-button-primary-active-state-layer-opacity","",d.opacity24),primaryDisabledComponentOpacity:t.extend("--ft-button-primary-disabled-component-opacity","",d.opacity40),focusFocusRingColor:t.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBackgroundColor:t.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:t.extend("--ft-button-tertiary-color","",p.contentActionPrimary),tertiaryIconColor:t.extend("--ft-button-tertiary-icon-color","",p.contentActionPrimary),tertiaryStateLayerColor:t.extend("--ft-button-tertiary-state-layer-color","",p.contentActionPrimary),tertiaryHoverStateLayerOpacity:t.extend("--ft-button-tertiary-hover-state-layer-opacity","",d.opacity8),tertiaryFocusStateLayerOpacity:t.extend("--ft-button-tertiary-focus-state-layer-opacity","",d.opacity8),tertiaryActiveStateLayerOpacity:t.extend("--ft-button-tertiary-active-state-layer-opacity","",d.opacity16),tertiaryDisabledComponentOpacity:t.extend("--ft-button-tertiary-disabled-component-opacity","",d.opacity40),secondaryBackgroundColor:t.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:t.extend("--ft-button-secondary-color","",p.contentActionPrimary),secondaryIconColor:t.extend("--ft-button-secondary-icon-color","",p.contentActionPrimary),secondaryStateLayerColor:t.extend("--ft-button-secondary-state-layer-color","",p.contentActionPrimary),secondaryHoverStateLayerOpacity:t.extend("--ft-button-secondary-hover-state-layer-opacity","",d.opacity8),secondaryFocusStateLayerOpacity:t.extend("--ft-button-secondary-focus-state-layer-opacity","",d.opacity8),secondaryActiveStateLayerOpacity:t.extend("--ft-button-secondary-active-state-layer-opacity","",d.opacity16),secondaryDisabledComponentOpacity:t.extend("--ft-button-secondary-disabled-component-opacity","",d.opacity40),secondaryBorderColor:t.extend("--ft-button-secondary-border-color","",p.borderActionPrimary),neutralBackgroundColor:t.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:t.extend("--ft-button-neutral-icon-color","",p.contentGlobalSecondary),neutralColor:t.extend("--ft-button-neutral-color","",p.contentGlobalSecondary),neutralStateLayerColor:t.extend("--ft-button-neutral-state-layer-color","",p.contentGlobalSecondary),neutralHoverStateLayerOpacity:t.extend("--ft-button-neutral-hover-state-layer-opacity","",d.opacity8),neutralFocusStateLayerOpacity:t.extend("--ft-button-neutral-focus-state-layer-opacity","",d.opacity8),neutralActiveStateLayerOpacity:t.extend("--ft-button-neutral-active-state-layer-opacity","",d.opacity16),neutralDisabledComponentOpacity:t.extend("--ft-button-neutral-disabled-component-opacity","",d.opacity40)};var wl={neutralOffHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",d.opacity8),neutralOffFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",d.opacity8),neutralOffFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",p.borderActionFocusRing),neutralOffActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",d.opacity16),neutralOffBackgroundColor:t.extend("--ft-chip-choice-neutral-off-background-color","",p.backgroundGlobalOnSurface),neutralOffBorderColor:t.extend("--ft-chip-choice-neutral-off-border-color","",p.borderGlobalPrimary),neutralOffColor:t.extend("--ft-chip-choice-neutral-off-color","",p.contentGlobalSecondary),neutralOffStateLayerColor:t.extend("--ft-chip-choice-neutral-off-state-layer-color","",p.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",d.opacity16),neutralOnHoverStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",d.opacity24),neutralOnFocusStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",d.opacity24),neutralOnFocusFocusRingColor:t.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",p.borderActionFocusRing),neutralOnActiveStateLayerOpacity:t.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",d.opacity32),neutralOnBackgroundColor:t.extend("--ft-chip-choice-neutral-on-background-color","",p.backgroundGlobalOnSurface),neutralOnBorderColor:t.extend("--ft-chip-choice-neutral-on-border-color","",p.borderGlobalPrimary),neutralOnColor:t.extend("--ft-chip-choice-neutral-on-color","",p.contentGlobalPrimary),neutralOnIconColor:t.extend("--ft-chip-choice-neutral-on-icon-color","",p.contentGlobalPrimary),neutralOnStateLayerColor:t.extend("--ft-chip-choice-neutral-on-state-layer-color","",p.contentGlobalPrimary),largeMinHeight:t.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-choice-large-horizontal-padding","",d.spacing3),largeGap:t.extend("--ft-chip-choice-large-gap","",d.spacing1),largeBorderRadius:t.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-choice-large-icon-size","",d.iconSize3),mediumMinHeight:t.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-choice-medium-horizontal-padding","",d.spacing2),mediumGap:t.extend("--ft-chip-choice-medium-gap","",d.spacing1),mediumBorderRadius:t.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-choice-medium-icon-size","",d.iconSize2)};var Cl={largeMinHeight:t.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:t.extend("--ft-chip-large-horizontal-padding","",d.spacing3),largeButtonRightPadding:t.extend("--ft-chip-large-button-right-padding","",d.spacing1),largeGap:t.extend("--ft-chip-large-gap","",d.spacing1),largeFocusOutlineOffset:t.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:t.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:t.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:t.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:t.extend("--ft-chip-large-icon-size","",d.iconSize3),mediumMinHeight:t.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:t.extend("--ft-chip-medium-horizontal-padding","",d.spacing2),mediumButtonRightPadding:t.extend("--ft-chip-medium-button-right-padding","",d.spacing05),mediumGap:t.extend("--ft-chip-medium-gap","",d.spacing1),mediumFocusOutlineOffset:t.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:t.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:t.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:t.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:t.extend("--ft-chip-medium-icon-size","",d.iconSize2),smallMinHeight:t.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:t.extend("--ft-chip-small-horizontal-padding","",d.spacing1),smallButtonRightPadding:t.extend("--ft-chip-small-button-right-padding","",d.spacing05),smallGap:t.extend("--ft-chip-small-gap","",d.spacing1),smallFocusOutlineOffset:t.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:t.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:t.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:t.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:t.extend("--ft-chip-small-icon-size","",d.iconSize1),neutralBackgroundColor:t.extend("--ft-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:t.extend("--ft-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:t.extend("--ft-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:t.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:t.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:t.extend("--ft-chip-info-color","",p.contentInfoPrimary),infoIconColor:t.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:t.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:t.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:t.extend("--ft-chip-success-color","",p.contentSuccessPrimary),successIconColor:t.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:t.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:t.extend("--ft-chip-warning-color","",p.contentWarningPrimary),warningIconColor:t.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:t.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:t.extend("--ft-chip-error-color","",p.contentErrorPrimary),errorIconColor:t.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:t.extend("--ft-chip-error-border-color","",p.borderErrorSubtle)};var Al={brandHoverOpacity:t.extend("--ft-link-brand-hover-opacity","",d.opacity80),brandHoverColor:t.extend("--ft-link-brand-hover-color","",p.contentActionPrimary),brandFocusFocusRingColor:t.extend("--ft-link-brand-focus-focus-ring-color","",p.borderActionFocusRing),brandFocusColor:t.extend("--ft-link-brand-focus-color","",p.contentActionPrimary),brandDefaultColor:t.extend("--ft-link-brand-default-color","",p.contentActionPrimary),brandActiveColor:t.extend("--ft-link-brand-active-color","",p.contentActionPrimary),infoHoverOpacity:t.extend("--ft-link-info-hover-opacity","",d.opacity80),infoHoverColor:t.extend("--ft-link-info-hover-color","",p.contentInfoPrimary),infoFocusFocusRingColor:t.extend("--ft-link-info-focus-focus-ring-color","",p.borderActionFocusRing),infoFocusColor:t.extend("--ft-link-info-focus-color","",p.contentInfoPrimary),infoDefaultColor:t.extend("--ft-link-info-default-color","",p.contentInfoPrimary),infoActiveColor:t.extend("--ft-link-info-active-color","",p.contentInfoPrimary),neutralFocusFocusRingColor:t.extend("--ft-link-neutral-focus-focus-ring-color","",p.borderActionFocusRing),neutralFocusColor:t.extend("--ft-link-neutral-focus-color","",p.contentActionPrimary),neutralDefaultColor:t.extend("--ft-link-neutral-default-color","",p.contentGlobalPrimary),neutralHoverColor:t.extend("--ft-link-neutral-hover-color","",p.contentActionPrimary),neutralActiveColor:t.extend("--ft-link-neutral-active-color","",p.contentActionPrimary)};var Rl={iconSize:t.extend("--ft-banner-icon-size","",d.iconSize5),borderWidth:t.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:t.extend("--ft-banner-left-padding","",d.spacing6),rightPadding:t.extend("--ft-banner-right-padding","",d.spacing6),verticalPadding:t.extend("--ft-banner-vertical-padding","",d.spacing6),horizontalSideGap:t.extend("--ft-banner-horizontal-side-gap","",d.spacing6),horizontalMobileGap:t.extend("--ft-banner-horizontal-mobile-gap","",d.spacing4),verticalMobileGap:t.extend("--ft-banner-vertical-mobile-gap","",d.spacing6),horizontalMiddleGap:t.extend("--ft-banner-horizontal-middle-gap","",d.spacing20),infoBackgroundColor:t.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:t.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:t.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:t.extend("--ft-banner-info-border-color","",p.borderInfoSubtle)};var Nl={horizontalPadding:t.extend("--ft-badge-horizontal-padding","",d.spacing1),verticalPadding:t.extend("--ft-badge-vertical-padding","",d.spacing1),borderRadius:t.extend("--ft-badge-border-radius","",d.borderRadiusPill),color:t.extend("--ft-badge-color","",p.contentGlobalOnColor),backgroundColor:t.extend("--ft-badge-background-color","",p.contentActionPrimary)};var _l={horizontalGap:t.extend("--ft-breadcrumb-horizontal-gap","",d.spacing1),verticalGap:t.extend("--ft-breadcrumb-vertical-gap","",d.spacing2),currentColor:t.extend("--ft-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:t.extend("--ft-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:t.extend("--ft-breadcrumb-icon-color","",p.contentGlobalSubtle)};var Il={horizontalPadding:t.extend("--ft-page-header-horizontal-padding","",d.spacing6),horizontalGap:t.extend("--ft-page-header-horizontal-gap","",d.spacing4),verticalGap:t.extend("--ft-page-header-vertical-gap","",d.spacing2),classicVerticalPadding:t.extend("--ft-page-header-classic-vertical-padding","",d.spacing6),multilineVerticalPadding:t.extend("--ft-page-header-multiline-vertical-padding","",d.spacing4),inlineVerticalPadding:t.extend("--ft-page-header-inline-vertical-padding","",d.spacing2),backgroundColor:t.extend("--ft-page-header-background-color","",d.colorWhite),bottomBorderColor:t.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),titleColor:t.extend("--ft-page-header-title-color","",p.contentGlobalPrimary),subtitleColor:t.extend("--ft-page-header-subtitle-color","",p.contentGlobalSecondary)};var Pl={smallContainerWidth:t.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:t.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:t.extend("--ft-modal-overlay-background-color","",d.colorGray700),overlayOpacity:t.extend("--ft-modal-overlay-opacity","",d.opacity40),shadow:t.extend("--ft-modal-shadow","",d.shadowElevation03),bodyBackgroundColor:t.extend("--ft-modal-body-background-color","",d.colorWhite),bodyColor:t.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-modal-body-horizontal-padding","",d.spacing6),bodyVerticalPadding:t.extend("--ft-modal-body-vertical-padding","",d.spacing6),bodyVerticalGap:t.extend("--ft-modal-body-vertical-gap","",d.spacing6),containerMargin:t.extend("--ft-modal-container-margin","",d.spacing3),headerBackgroundColor:t.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),headerColor:t.extend("--ft-modal-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-modal-header-trailing-icon-color","",p.contentGlobalSecondary),headerVerticalPadding:t.extend("--ft-modal-header-vertical-padding","",d.spacing1),headerRightPadding:t.extend("--ft-modal-header-right-padding","",d.spacing1),headerLeftPadding:t.extend("--ft-modal-header-left-padding","",d.spacing6),headerGap:t.extend("--ft-modal-header-gap","",d.spacing2),headerBorderBottom:t.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:t.extend("--ft-modal-border-radius","",d.borderRadiusM)};var Tl={overlayOpacity:t.extend("--ft-drawer-overlay-opacity","",d.opacity40),shadow:t.extend("--ft-drawer-shadow","",d.shadowElevation03),bodyColor:t.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:t.extend("--ft-drawer-body-horizontal-padding","",d.spacing6),bodyVerticalPadding:t.extend("--ft-drawer-body-vertical-padding","",d.spacing6),bodyGap:t.extend("--ft-drawer-body-gap","",d.spacing6),bodyBackgroundColor:t.extend("--ft-drawer-body-background-color","",d.colorWhite),headerBackgroundColor:t.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:t.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:t.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:t.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:t.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:t.extend("--ft-drawer-header-horizontal-padding","",d.spacing2),headerBorderWidth:t.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:t.extend("--ft-drawer-header-gap","",d.spacing3),buttonsBarBackgroundColor:t.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:t.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:t.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:t.extend("--ft-drawer-buttons-bar-horizontal-padding","",d.spacing6),buttonsBarVerticalPadding:t.extend("--ft-drawer-buttons-bar-vertical-padding","",d.spacing4),buttonsBarGap:t.extend("--ft-drawer-buttons-bar-gap","",d.spacing3),buttonsBarBorderWidth:t.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:t.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:t.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:t.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:t.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:t.extend("--ft-drawer-overlay-background-color","",d.colorGray700)};var Ll={offBorderBottomWidth:t.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:t.extend("--ft-tabs-off-hover-state-layer-opacity","",d.opacity8),offDefaultStateLayerOpacity:t.extend("--ft-tabs-off-default-state-layer-opacity","",d.opacity0),offFocusStateLayerOpacity:t.extend("--ft-tabs-off-focus-state-layer-opacity","",d.opacity8),offDisabledComponentOpacity:t.extend("--ft-tabs-off-disabled-component-opacity","",d.opacity40),offColor:t.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),offBorderBottomColor:t.extend("--ft-tabs-off-border-bottom-color","",p.borderGlobalSubtle),activeTabIndicatorHeight:t.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:t.extend("--ft-tabs-top-left-border-radius","",d.borderRadiusS),topRightBorderRadius:t.extend("--ft-tabs-top-right-border-radius","",d.borderRadiusS),withLabelHorizontalPadding:t.extend("--ft-tabs-with-label-horizontal-padding","",d.spacing4),withLabelVerticalPadding:t.extend("--ft-tabs-with-label-vertical-padding","",d.spacing3),horizontalGap:t.extend("--ft-tabs-horizontal-gap","",d.spacing1),verticalGap:t.extend("--ft-tabs-vertical-gap","",d.spacing1),onHoverStateLayerOpacity:t.extend("--ft-tabs-on-hover-state-layer-opacity","",d.opacity16),onDefaultStateLayerOpacity:t.extend("--ft-tabs-on-default-state-layer-opacity","",d.opacity8),onFocusStateLayerOpacity:t.extend("--ft-tabs-on-focus-state-layer-opacity","",d.opacity16),onActiveStateLayerOpacity:t.extend("--ft-tabs-on-active-state-layer-opacity","",d.opacity24),onColor:t.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:t.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),onActiveTabIndicatorColor:t.extend("--ft-tabs-on-active-tab-indicator-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:t.extend("--ft-tabs-icon-only-horizontal-padding","",d.spacing4),iconOnlyVerticalPadding:t.extend("--ft-tabs-icon-only-vertical-padding","",d.spacing4),alertTopPadding:t.extend("--ft-tabs-alert-top-padding","",d.spacing1),alertRightPadding:t.extend("--ft-tabs-alert-right-padding","",d.spacing05),focusOutlineWidth:t.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)};var $l={fieldHorizontalPadding:t.extend("--ft-text-input-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:t.extend("--ft-text-input-field-horizontal-gap","",d.spacing3),fieldVerticalGap:t.extend("--ft-text-input-field-vertical-gap","",d.spacing05),fieldIconSize:t.extend("--ft-text-input-field-icon-size","",d.iconSize3),fieldHeight:t.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-text-input-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:t.extend("--ft-text-input-helper-horizontal-gap","",d.spacing1),helperIconSize:t.extend("--ft-text-input-helper-icon-size","",d.iconSize2),borderRadius:t.extend("--ft-text-input-border-radius","",d.borderRadiusM),backgroundColor:t.extend("--ft-text-input-background-color","",d.colorWhite),contentValueColor:t.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:t.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:t.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderWidth:t.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:t.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:t.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-input-disabled-component-opacity","",d.opacity40)};var Fl={backgroundColor:t.extend("--ft-text-area-background-color","",d.colorWhite),contentValueColor:t.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:t.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-text-area-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-text-area-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:t.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:t.extend("--ft-text-area-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:t.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-text-area-disabled-component-opacity","",d.opacity40),fieldHorizontalLeftPadding:t.extend("--ft-text-area-field-horizontal-left-padding","",d.spacing4),fieldHorizontalGap:t.extend("--ft-text-area-field-horizontal-gap","",d.spacing3),fieldVerticalGap:t.extend("--ft-text-area-field-vertical-gap","",d.spacing05),fieldMinHeight:t.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:t.extend("--ft-text-area-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:t.extend("--ft-text-area-helper-horizontal-gap","",d.spacing1),helperIconSize:t.extend("--ft-text-area-helper-icon-size","",d.iconSize2),borderRadius:t.extend("--ft-text-area-border-radius","",d.borderRadiusM)};var kl={height:t.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:t.extend("--ft-floating-menu-horizontal-padding","",d.spacing4),offIconColor:t.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:t.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),onColor:t.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:t.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:t.extend("--ft-floating-menu-gap","",d.spacing3),focusFocusRingColor:t.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:t.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:t.extend("--ft-floating-menu-focus-state-layer-opacity","",d.opacity8),hoverStateLayerOpacity:t.extend("--ft-floating-menu-hover-state-layer-opacity","",d.opacity8),activeStateLayerOpacity:t.extend("--ft-floating-menu-active-state-layer-opacity","",d.opacity16),disabledComponentOpacity:t.extend("--ft-floating-menu-disabled-component-opacity","",d.opacity40),iconSize:t.extend("--ft-floating-menu-icon-size","",d.iconSize3),backgroundColor:t.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface),shadow:t.extend("--ft-floating-menu-shadow","",d.shadowElevation02)};var Ul={fieldHorizontalPadding:t.extend("--ft-combobox-single-select-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-single-select-field-horizontal-gap","",d.spacing3),fieldVerticalGap:t.extend("--ft-combobox-single-select-field-vertical-gap","",d.spacing05),fieldIconSize:t.extend("--ft-combobox-single-select-field-icon-size","",d.iconSize3),fieldHeight:t.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:t.extend("--ft-combobox-single-select-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:t.extend("--ft-combobox-single-select-helper-horizontal-gap","",d.spacing1),helperVerticalGap:t.extend("--ft-combobox-single-select-helper-vertical-gap","",d.spacing1),helperIconSize:t.extend("--ft-combobox-single-select-helper-icon-size","",d.iconSize2),menuVerticalGap:t.extend("--ft-combobox-single-select-menu-vertical-gap","",d.spacing2),borderRadius:t.extend("--ft-combobox-single-select-border-radius","",d.borderRadiusM),backgroundColor:t.extend("--ft-combobox-single-select-background-color","",d.colorWhite),labelColor:t.extend("--ft-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:t.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:t.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-single-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:t.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:t.extend("--ft-combobox-single-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:t.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:t.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:t.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-single-select-disabled-component-opacity","",d.opacity40)};var Dl={backgroundColor:t.extend("--ft-combobox-multi-select-background-color","",d.colorWhite),labelColor:t.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:t.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:t.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:t.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:t.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:t.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:t.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:t.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:t.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:t.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:t.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:t.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:t.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:t.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:t.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:t.extend("--ft-combobox-multi-select-disabled-component-opacity","",d.opacity40),helperHorizontalPadding:t.extend("--ft-combobox-multi-select-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:t.extend("--ft-combobox-multi-select-helper-horizontal-gap","",d.spacing1),helperVerticalGap:t.extend("--ft-combobox-multi-select-helper-vertical-gap","",d.spacing1),helperIconSize:t.extend("--ft-combobox-multi-select-helper-icon-size","",d.iconSize2),fieldHorizontalPadding:t.extend("--ft-combobox-multi-select-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:t.extend("--ft-combobox-multi-select-field-horizontal-gap","",d.spacing3),fieldVerticalGap:t.extend("--ft-combobox-multi-select-field-vertical-gap","",d.spacing05),fieldIconSize:t.extend("--ft-combobox-multi-select-field-icon-size","",d.iconSize3),fieldMaxHeight:t.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:t.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",d.spacing1),contentValuesVerticalGap:t.extend("--ft-combobox-multi-select-content-values-vertical-gap","",d.spacing1),borderRadius:t.extend("--ft-combobox-multi-select-border-radius","",d.borderRadiusM)};var Ml={backgroundColor:t.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:t.extend("--ft-popover-horizontal-padding","",d.spacing6),verticalPadding:t.extend("--ft-popover-vertical-padding","",d.spacing6),titleColor:t.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:t.extend("--ft-popover-body-color","",p.contentGlobalSecondary),linkColor:t.extend("--ft-popover-link-color","",p.contentActionPrimary),gap:t.extend("--ft-popover-gap","",d.spacing3),borderRadius:t.extend("--ft-popover-border-radius","",d.borderRadiusM),shadow:t.extend("--ft-popover-shadow","",d.shadowElevation02)};var Bl={hoverStateLayerOpacity:t.extend("--ft-collapsible-hover-state-layer-opacity","",d.opacity8),focusStateLayerOpacity:t.extend("--ft-collapsible-focus-state-layer-opacity","",d.opacity8),focusOutlineWidth:t.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:t.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:t.extend("--ft-collapsible-active-state-layer-opacity","",d.opacity16),disabledComponentOpacity:t.extend("--ft-collapsible-disabled-component-opacity","",d.opacity40),horizontalPadding:t.extend("--ft-collapsible-horizontal-padding","",d.spacing4),verticalPadding:t.extend("--ft-collapsible-vertical-padding","",d.spacing3),color:t.extend("--ft-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:t.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:t.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:t.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),iconSize:t.extend("--ft-collapsible-icon-size","",d.iconSize3)};var Wl={groupHorizontalPadding:t.extend("--ft-switch-group-horizontal-padding","",d.spacing1),groupVerticalPadding:t.extend("--ft-switch-group-vertical-padding","",d.spacing1),groupGap:t.extend("--ft-switch-group-gap","",d.spacing1),groupBackgroundColor:t.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:t.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:t.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:t.extend("--ft-switch-label-horizontal-padding","",d.spacing2),labelVerticalPadding:t.extend("--ft-switch-label-vertical-padding","",d.spacing1),offHoverStateLayerOpacity:t.extend("--ft-switch-off-hover-state-layer-opacity","",d.opacity8),offFocusStateLayerOpacity:t.extend("--ft-switch-off-focus-state-layer-opacity","",d.opacity8),offActiveStateLayerOpacity:t.extend("--ft-switch-off-active-state-layer-opacity","",d.opacity16),offDisabledComponentOpacity:t.extend("--ft-switch-off-disabled-component-opacity","",d.opacity40),offColor:t.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-switch-on-hover-state-layer-opacity","",d.opacity8),onFocusStateLayerOpacity:t.extend("--ft-switch-on-focus-state-layer-opacity","",d.opacity8),onActiveStateLayerOpacity:t.extend("--ft-switch-on-active-state-layer-opacity","",d.opacity16),onDisabledComponentOpacity:t.extend("--ft-switch-on-disabled-component-opacity","",d.opacity40),onColor:t.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:t.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:t.extend("--ft-switch-icon-horizontal-padding","",d.spacing1),iconVerticalPadding:t.extend("--ft-switch-icon-vertical-padding","",d.spacing1),focusOutlineWidth:t.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:t.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:t.extend("--ft-switch-option-border-radius","",d.borderRadiusS)};var zl={color1Light:t.extend("--ft-chart-1-light","for area color charts",d.colorBrand40),color1Base:t.extend("--ft-chart-1-base","for line charts",d.colorBrand0),color2Light:t.extend("--ft-chart-2-light","for area color charts",d.colorYellow60),color2Base:t.extend("--ft-chart-2-base","for line charts",d.colorYellow100),color3Light:t.extend("--ft-chart-3-light","",d.colorUltramarine40),color3Base:t.extend("--ft-chart-3-base","",d.colorUltramarine70),color4Light:t.extend("--ft-chart-4-light","",d.colorCyan50),color4Base:t.extend("--ft-chart-4-base","",d.colorCyan100),color5Light:t.extend("--ft-chart-5-light","",d.colorRed40),color5Base:t.extend("--ft-chart-5-base","",d.colorRed60),color6Light:t.extend("--ft-chart-6-light","",d.colorGreen40),color6Base:t.extend("--ft-chart-6-base","",d.colorGreen70),color7Light:t.extend("--ft-chart-7-light","",d.colorOrange70),color7Base:t.extend("--ft-chart-7-base","",d.colorOrange100),color8Light:t.extend("--ft-chart-8-light","",d.colorAvocado70),color8Base:t.extend("--ft-chart-8-base","",d.colorAvocado200),color9Light:t.extend("--ft-chart-9-light","",d.colorBrown50),color9Base:t.extend("--ft-chart-9-base","",d.colorBrown200),color10Light:t.extend("--ft-chart-10-light","",d.colorGray50),color10Base:t.extend("--ft-chart-10-base","",d.colorGray80),monochrome10:t.extend("--ft-chart-monochrome-10","",d.colorBrand10),monochrome20:t.extend("--ft-chart-monochrome-20","",d.colorBrand20),monochrome30:t.extend("--ft-chart-monochrome-30","",d.colorBrand40),monochrome40:t.extend("--ft-chart-monochrome-40","",d.colorBrand60),monochrome50:t.extend("--ft-chart-monochrome-50","",d.colorBrand0),monochrome60:t.extend("--ft-chart-monochrome-60","",d.colorBrand200)};var Hl={borderWidth:t.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:t.extend("--ft-notice-horizontal-padding","",d.spacing3),verticalPadding:t.extend("--ft-notice-vertical-padding","",d.spacing2),borderRadius:t.extend("--ft-notice-border-radius","",d.borderRadiusS),gap:t.extend("--ft-notice-gap","",d.spacing2),iconSize:t.extend("--ft-notice-icon-size","",d.iconSize3),infoBackgroundColor:t.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:t.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:t.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:t.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:t.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:t.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:t.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:t.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:t.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:t.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:t.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:t.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:t.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:t.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:t.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:t.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly)};var jl={color:t.extend("--ft-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:t.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:t.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:t.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:t.extend("--ft-checkbox-checked-hover-state-layer-opacity","",d.opacity16),checkedFocusStateLayerOpacity:t.extend("--ft-checkbox-checked-focus-state-layer-opacity","",d.opacity16),checkedActiveStateLayerOpacity:t.extend("--ft-checkbox-checked-active-state-layer-opacity","",d.opacity24),checkedDisabledComponentOpacity:t.extend("--ft-checkbox-checked-disabled-component-opacity","",d.opacity40),uncheckedBorderColor:t.extend("--ft-checkbox-unchecked-border-color","",d.colorGray80),uncheckedStateLayerColor:t.extend("--ft-checkbox-unchecked-state-layer-color","",d.colorGray80),uncheckedHoverStateLayerOpacity:t.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",d.opacity16),uncheckedFocusStateLayerOpacity:t.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",d.opacity16),uncheckedActiveStateLayerOpacity:t.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",d.opacity24),uncheckedDisabledComponentOpacity:t.extend("--ft-checkbox-unchecked-disabled-component-opacity","",d.opacity40),focusFocusRingColor:t.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:t.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-checkbox-gap","",d.spacing3)};var Vl={offHoverStateLayerOpacity:t.extend("--ft-toggle-off-hover-state-layer-opacity","",d.opacity16),offFocusStateLayerOpacity:t.extend("--ft-toggle-off-focus-state-layer-opacity","",d.opacity16),offActiveStateLayerOpacity:t.extend("--ft-toggle-off-active-state-layer-opacity","",d.opacity24),offDisabledComponentOpacity:t.extend("--ft-toggle-off-disabled-component-opacity","",d.opacity40),offBackgroundColor:t.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:t.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:t.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:t.extend("--ft-toggle-on-hover-state-layer-opacity","",d.opacity16),onFocusStateLayerOpacity:t.extend("--ft-toggle-on-focus-state-layer-opacity","",d.opacity16),onActiveStateLayerOpacity:t.extend("--ft-toggle-on-active-state-layer-opacity","",d.opacity24),onDisabledComponentOpacity:t.extend("--ft-toggle-on-disabled-component-opacity","",d.opacity40),onBackgroundColor:t.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:t.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:t.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),color:t.extend("--ft-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:t.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:t.extend("--ft-toggle-gap","",d.spacing3)};var Kl={color:t.extend("--ft-radio-color","",p.contentGlobalPrimary),selectedRadioColor:t.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:t.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:t.extend("--ft-radio-selected-hover-state-layer-opacity","",d.opacity16),selectedFocusStateLayerOpacity:t.extend("--ft-radio-selected-focus-state-layer-opacity","",d.opacity16),selectedActiveStateLayerOpacity:t.extend("--ft-radio-selected-active-state-layer-opacity","",d.opacity24),selectedDisabledComponentOpacity:t.extend("--ft-radio-selected-disabled-component-opacity","",d.opacity40),unselectedStateLayerColor:t.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:t.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:t.extend("--ft-radio-unselected-hover-state-layer-opacity","",d.opacity16),unselectedFocusStateLayerOpacity:t.extend("--ft-radio-unselected-focus-state-layer-opacity","",d.opacity16),unselectedActiveStateLayerOpacity:t.extend("--ft-radio-unselected-active-state-layer-opacity","",d.opacity24),unselectedDisabledComponentOpacity:t.extend("--ft-radio-unselected-disabled-component-opacity","",d.opacity40),focusFocusRingColor:t.extend("--ft-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:t.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:t.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:t.extend("--ft-radio-gap","",d.spacing3)};var Gl={iconSize:t.extend("--ft-notification-icon-size","",d.iconSize4),leftPadding:t.extend("--ft-notification-left-padding","",d.spacing5),rightPadding:t.extend("--ft-notification-right-padding","",d.spacing4),verticalPadding:t.extend("--ft-notification-vertical-padding","",d.spacing3),infoBackgroundColor:t.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:t.extend("--ft-notification-info-color","",p.contentInfoPrimary),infoIconColor:t.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:t.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:t.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:t.extend("--ft-notification-success-color","",p.contentSuccessPrimary),successIconColor:t.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:t.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:t.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:t.extend("--ft-notification-warning-color","",p.contentWarningPrimary),warningIconColor:t.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:t.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:t.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:t.extend("--ft-notification-error-color","",p.contentErrorPrimary),errorIconColor:t.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:t.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),borderRadius:t.extend("--ft-notification-border-radius","",d.borderRadiusPill),borderWidth:t.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:t.extend("--ft-notification-leading-gap","",d.spacing2),trailingGap:t.extend("--ft-notification-trailing-gap","",d.spacing8)};var Zl={horizontalPadding:t.extend("--ft-tooltip-horizontal-padding","",d.spacing2),verticalPadding:t.extend("--ft-tooltip-vertical-padding","",d.spacing2),borderRadius:t.extend("--ft-tooltip-border-radius","",d.borderRadiusS),color:t.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:t.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:t.extend("--ft-tooltip-background-opacity","",d.opacity80),shadow:t.extend("--ft-tooltip-shadow","",d.shadowElevation02),maxWidth:t.create("--ft-tooltip-max-width","","SIZE","256px"),gap:t.extend("--ft-tooltip-gap","",d.spacing05)};var Qt;(function(r){r.brand="brand",r.neutral="neutral",r.info="info",r.success="success",r.warning="warning",r.error="error"})(Qt||(Qt={}));var er;(function(r){r.large="large",r.medium="medium",r.small="small"})(er||(er={}));function un(r){return`ftds--family-${r}`}function pn(r){return`ftds--size-${r}`}var M={colorPrimary:t.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:t.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:t.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:t.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:t.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:t.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:t.create("--ft-color-error","","COLOR","#B00020"),colorOutline:t.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:t.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:t.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:t.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:t.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:t.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:t.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:t.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:t.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:t.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:t.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:t.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:t.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:t.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:t.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:t.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:t.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:t.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:t.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:t.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:t.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:t.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:t.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:t.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:t.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:t.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:t.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:t.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:t.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:t.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:t.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:t.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:t.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:t.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:t.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:t.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:t.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:t.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:t.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:t.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:t.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:t.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:t.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:t.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:t.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:t.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:t.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:t.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:t.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:t.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:t.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:t.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:t.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:t.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:t.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var bn={};D(bn,{FtNotificationEvent:()=>mn,PostResizeEvent:()=>gn,PreResizeEvent:()=>yn});var mn=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},yn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},gn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var _n={};D(_n,{computeOffsetPosition:()=>fd});var Sa=["top","right","bottom","left"],va=["start","end"],vn=Sa.reduce((r,e)=>r.concat(e,e+"-"+va[0],e+"-"+va[1]),[]),tr=Math.min,ke=Math.max,rr=Math.round;var we=r=>({x:r,y:r}),ql={left:"right",right:"left",bottom:"top",top:"bottom"},Yl={start:"end",end:"start"};function Sn(r,e,o){return ke(r,tr(e,o))}function Mr(r,e){return typeof r=="function"?r(e):r}function gt(r){return r.split("-")[0]}function Ue(r){return r.split("-")[1]}function On(r){return r==="x"?"y":"x"}function En(r){return r==="y"?"height":"width"}function Br(r){return["top","bottom"].includes(gt(r))?"y":"x"}function wn(r){return On(Br(r))}function Oa(r,e,o){o===void 0&&(o=!1);let n=Ue(r),i=wn(r),a=En(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=xn(s)),[s,xn(s)]}function Ea(r){return r.replace(/start|end/g,e=>Yl[e])}function xn(r){return r.replace(/left|right|bottom|top/g,e=>ql[e])}function Jl(r){return{top:0,right:0,bottom:0,left:0,...r}}function wa(r){return typeof r!="number"?Jl(r):{top:r,right:r,bottom:r,left:r}}function at(r){return{...r,top:r.y,left:r.x,right:r.x+r.width,bottom:r.y+r.height}}function Ca(r,e,o){let{reference:n,floating:i}=r,a=Br(e),s=wn(e),c=En(s),l=gt(e),u=a==="y",h=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,y=n[c]/2-i[c]/2,g;switch(l){case"top":g={x:h,y:n.y-i.height};break;case"bottom":g={x:h,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:f};break;case"left":g={x:n.x-i.width,y:f};break;default:g={x:n.x,y:n.y}}switch(Ue(e)){case"start":g[s]-=y*(o&&u?-1:1);break;case"end":g[s]+=y*(o&&u?-1:1);break}return g}var Aa=async(r,e,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,c=a.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e)),u=await s.getElementRects({reference:r,floating:e,strategy:i}),{x:h,y:f}=Ca(u,n,l),y=n,g={},b=0;for(let O=0;O<c.length;O++){let{name:A,fn:w}=c[O],{x:C,y:v,data:S,reset:E}=await w({x:h,y:f,initialPlacement:n,placement:y,strategy:i,middlewareData:g,rects:u,platform:s,elements:{reference:r,floating:e}});if(h=C??h,f=v??f,g={...g,[A]:{...g[A],...S}},E&&b<=50){b++,typeof E=="object"&&(E.placement&&(y=E.placement),E.rects&&(u=E.rects===!0?await s.getElementRects({reference:r,floating:e,strategy:i}):E.rects),{x:h,y:f}=Ca(u,y,l)),O=-1;continue}}return{x:h,y:f,placement:y,strategy:i,middlewareData:g}};async function Cn(r,e){var o;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:c,strategy:l}=r,{boundary:u="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:y=!1,padding:g=0}=Mr(e,r),b=wa(g),A=c[y?f==="floating"?"reference":"floating":f],w=at(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(A)))==null||o?A:A.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:u,rootBoundary:h,strategy:l})),C=f==="floating"?{...s.floating,x:n,y:i}:s.reference,v=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),S=await(a.isElement==null?void 0:a.isElement(v))?await(a.getScale==null?void 0:a.getScale(v))||{x:1,y:1}:{x:1,y:1},E=at(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:C,offsetParent:v,strategy:l}):C);return{top:(w.top-E.top+b.top)/S.y,bottom:(E.bottom-w.bottom+b.bottom)/S.y,left:(w.left-E.left+b.left)/S.x,right:(E.right-w.right+b.right)/S.x}}function Xl(r,e,o){return(r?[...o.filter(i=>Ue(i)===r),...o.filter(i=>Ue(i)!==r)]:o.filter(i=>gt(i)===i)).filter(i=>r?Ue(i)===r||(e?Ea(i)!==i:!1):!0)}var An=function(r){return r===void 0&&(r={}),{name:"autoPlacement",options:r,async fn(e){var o,n,i;let{rects:a,middlewareData:s,placement:c,platform:l,elements:u}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:y=vn,autoAlignment:g=!0,...b}=Mr(r,e),O=f!==void 0||y===vn?Xl(f||null,g,y):y,A=await Cn(e,b),w=((o=s.autoPlacement)==null?void 0:o.index)||0,C=O[w];if(C==null)return{};let v=Oa(C,a,await(l.isRTL==null?void 0:l.isRTL(u.floating)));if(c!==C)return{reset:{placement:O[0]}};let S=[A[gt(C)],A[v[0]],A[v[1]]],E=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:C,overflows:S}],I=O[w+1];if(I)return{data:{index:w+1,overflows:E},reset:{placement:I}};let k=E.map(N=>{let m=Ue(N.placement);return[N.placement,m&&h?N.overflows.slice(0,2).reduce((x,R)=>x+R,0):N.overflows[0],N.overflows]}).sort((N,m)=>N[1]-m[1]),U=((i=k.filter(N=>N[2].slice(0,Ue(N[0])?2:3).every(m=>m<=0))[0])==null?void 0:i[0])||k[0][0];return U!==c?{data:{index:w+1,overflows:E},reset:{placement:U}}:{}}}};var Rn=function(r){return r===void 0&&(r={}),{name:"shift",options:r,async fn(e){let{x:o,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:A=>{let{x:w,y:C}=A;return{x:w,y:C}}},...l}=Mr(r,e),u={x:o,y:n},h=await Cn(e,l),f=Br(gt(i)),y=On(f),g=u[y],b=u[f];if(a){let A=y==="y"?"top":"left",w=y==="y"?"bottom":"right",C=g+h[A],v=g-h[w];g=Sn(C,g,v)}if(s){let A=f==="y"?"top":"left",w=f==="y"?"bottom":"right",C=b+h[A],v=b-h[w];b=Sn(C,b,v)}let O=c.fn({...e,[y]:g,[f]:b});return{...O,data:{x:O.x-o,y:O.y-n}}}}};function Ce(r){return Na(r)?(r.nodeName||"").toLowerCase():"#document"}function ee(r){var e;return(r==null||(e=r.ownerDocument)==null?void 0:e.defaultView)||window}function Ae(r){var e;return(e=(Na(r)?r.ownerDocument:r.document)||window.document)==null?void 0:e.documentElement}function Na(r){return r instanceof Node||r instanceof ee(r).Node}function me(r){return r instanceof Element||r instanceof ee(r).Element}function le(r){return r instanceof HTMLElement||r instanceof ee(r).HTMLElement}function Ra(r){return typeof ShadowRoot>"u"?!1:r instanceof ShadowRoot||r instanceof ee(r).ShadowRoot}function bt(r){let{overflow:e,overflowX:o,overflowY:n,display:i}=oe(r);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(i)}function _a(r){return["table","td","th"].includes(Ce(r))}function zr(r){let e=Hr(),o=oe(r);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function Ia(r){let e=st(r);for(;le(e)&&!or(e);){if(zr(e))return e;e=st(e)}return null}function Hr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function or(r){return["html","body","#document"].includes(Ce(r))}function oe(r){return ee(r).getComputedStyle(r)}function nr(r){return me(r)?{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}:{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}function st(r){if(Ce(r)==="html")return r;let e=r.assignedSlot||r.parentNode||Ra(r)&&r.host||Ae(r);return Ra(e)?e.host:e}function Pa(r){let e=st(r);return or(e)?r.ownerDocument?r.ownerDocument.body:r.body:le(e)&&bt(e)?e:Pa(e)}function Wr(r,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);let i=Pa(r),a=i===((n=r.ownerDocument)==null?void 0:n.body),s=ee(i);return a?e.concat(s,s.visualViewport||[],bt(i)?i:[],s.frameElement&&o?Wr(s.frameElement):[]):e.concat(i,Wr(i,[],o))}function $a(r){let e=oe(r),o=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=le(r),a=i?r.offsetWidth:o,s=i?r.offsetHeight:n,c=rr(o)!==a||rr(n)!==s;return c&&(o=a,n=s),{width:o,height:n,$:c}}function Fa(r){return me(r)?r:r.contextElement}function xt(r){let e=Fa(r);if(!le(e))return we(1);let o=e.getBoundingClientRect(),{width:n,height:i,$:a}=$a(e),s=(a?rr(o.width):o.width)/n,c=(a?rr(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var Ql=we(0);function ka(r){let e=ee(r);return!Hr()||!e.visualViewport?Ql:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function ed(r,e,o){return e===void 0&&(e=!1),!o||e&&o!==ee(r)?!1:e}function ir(r,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);let i=r.getBoundingClientRect(),a=Fa(r),s=we(1);e&&(n?me(n)&&(s=xt(n)):s=xt(r));let c=ed(a,o,n)?ka(a):we(0),l=(i.left+c.x)/s.x,u=(i.top+c.y)/s.y,h=i.width/s.x,f=i.height/s.y;if(a){let y=ee(a),g=n&&me(n)?ee(n):n,b=y.frameElement;for(;b&&n&&g!==y;){let O=xt(b),A=b.getBoundingClientRect(),w=oe(b),C=A.left+(b.clientLeft+parseFloat(w.paddingLeft))*O.x,v=A.top+(b.clientTop+parseFloat(w.paddingTop))*O.y;l*=O.x,u*=O.y,h*=O.x,f*=O.y,l+=C,u+=v,b=ee(b).frameElement}}return at({width:h,height:f,x:l,y:u})}function td(r){let{rect:e,offsetParent:o,strategy:n}=r,i=le(o),a=Ae(o);if(o===a)return e;let s={scrollLeft:0,scrollTop:0},c=we(1),l=we(0);if((i||!i&&n!=="fixed")&&((Ce(o)!=="body"||bt(a))&&(s=nr(o)),le(o))){let u=ir(o);c=xt(o),l.x=u.x+o.clientLeft,l.y=u.y+o.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-s.scrollLeft*c.x+l.x,y:e.y*c.y-s.scrollTop*c.y+l.y}}function rd(r){return Array.from(r.getClientRects())}function Ua(r){return ir(Ae(r)).left+nr(r).scrollLeft}function od(r){let e=Ae(r),o=nr(r),n=r.ownerDocument.body,i=ke(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=ke(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+Ua(r),c=-o.scrollTop;return oe(n).direction==="rtl"&&(s+=ke(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:c}}function nd(r,e){let o=ee(r),n=Ae(r),i=o.visualViewport,a=n.clientWidth,s=n.clientHeight,c=0,l=0;if(i){a=i.width,s=i.height;let u=Hr();(!u||u&&e==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}return{width:a,height:s,x:c,y:l}}function id(r,e){let o=ir(r,!0,e==="fixed"),n=o.top+r.clientTop,i=o.left+r.clientLeft,a=le(r)?xt(r):we(1),s=r.clientWidth*a.x,c=r.clientHeight*a.y,l=i*a.x,u=n*a.y;return{width:s,height:c,x:l,y:u}}function Ta(r,e,o){let n;if(e==="viewport")n=nd(r,o);else if(e==="document")n=od(Ae(r));else if(me(e))n=id(e,o);else{let i=ka(r);n={...e,x:e.x-i.x,y:e.y-i.y}}return at(n)}function Da(r,e){let o=st(r);return o===e||!me(o)||or(o)?!1:oe(o).position==="fixed"||Da(o,e)}function ad(r,e){let o=e.get(r);if(o)return o;let n=Wr(r,[],!1).filter(c=>me(c)&&Ce(c)!=="body"),i=null,a=oe(r).position==="fixed",s=a?st(r):r;for(;me(s)&&!or(s);){let c=oe(s),l=zr(s);!l&&c.position==="fixed"&&(i=null),(a?!l&&!i:!l&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||bt(s)&&!l&&Da(r,s))?n=n.filter(h=>h!==s):i=c,s=st(s)}return e.set(r,n),n}function sd(r){let{element:e,boundary:o,rootBoundary:n,strategy:i}=r,s=[...o==="clippingAncestors"?ad(e,this._c):[].concat(o),n],c=s[0],l=s.reduce((u,h)=>{let f=Ta(e,h,i);return u.top=ke(f.top,u.top),u.right=tr(f.right,u.right),u.bottom=tr(f.bottom,u.bottom),u.left=ke(f.left,u.left),u},Ta(e,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function cd(r){return $a(r)}function ld(r,e,o){let n=le(e),i=Ae(e),a=o==="fixed",s=ir(r,!0,a,e),c={scrollLeft:0,scrollTop:0},l=we(0);if(n||!n&&!a)if((Ce(e)!=="body"||bt(i))&&(c=nr(e)),n){let u=ir(e,!0,a,e);l.x=u.x+e.clientLeft,l.y=u.y+e.clientTop}else i&&(l.x=Ua(i));return{x:s.left+c.scrollLeft-l.x,y:s.top+c.scrollTop-l.y,width:s.width,height:s.height}}function La(r,e){return!le(r)||oe(r).position==="fixed"?null:e?e(r):r.offsetParent}function Ma(r,e){let o=ee(r);if(!le(r))return o;let n=La(r,e);for(;n&&_a(n)&&oe(n).position==="static";)n=La(n,e);return n&&(Ce(n)==="html"||Ce(n)==="body"&&oe(n).position==="static"&&!zr(n))?o:n||Ia(r)||o}var dd=async function(r){let{reference:e,floating:o,strategy:n}=r,i=this.getOffsetParent||Ma,a=this.getDimensions;return{reference:ld(e,await i(o),n),floating:{x:0,y:0,...await a(o)}}};function ud(r){return oe(r).direction==="rtl"}var jr={convertOffsetParentRelativeRectToViewportRelativeRect:td,getDocumentElement:Ae,getClippingRect:sd,getOffsetParent:Ma,getElementRects:dd,getClientRects:rd,getDimensions:cd,getScale:xt,isElement:me,isRTL:ud};var Ba=(r,e,o)=>{let n=new Map,i={platform:jr,...o},a={...i.platform,_c:n};return Aa(r,e,{...i,platform:a})};function Wa(r){return pd(r)}function Nn(r){return r.assignedSlot?r.assignedSlot:r.parentNode instanceof ShadowRoot?r.parentNode.host:r.parentNode}function pd(r){for(let e=r;e;e=Nn(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Nn(r);e;e=Nn(e)){if(!(e instanceof Element))continue;let o=getComputedStyle(e);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||e.tagName==="BODY"))return e}return null}async function fd(r,e,o){return Ba(r,e,{platform:{...jr,getOffsetParent:n=>jr.getOffsetParent(n,Wa)},middleware:[Rn({crossAxis:!0}),An({allowedPlacements:[o]})]})}var Ln={};D(Ln,{FtdsBase:()=>Tn,toFtdsBase:()=>qa});var Pn={};D(Pn,{FtLitElement:()=>q});var In={};D(In,{ScopedRegistryLitElement:()=>ar});var Vr=window,hd=Vr.ShadowRoot&&(Vr.ShadyCSS===void 0||Vr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Xm=Symbol();var za=(r,e)=>{hd?r.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):e.forEach(o=>{let n=document.createElement("style"),i=Vr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,r.appendChild(n)})};var ar=class extends Se{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let o={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return za(n,e.elementStyles),n}};var Kr=function(r,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,o,n);else for(var c=r.length-1;c>=0;c--)(s=r[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Ka,Ha=Symbol("constructorPrototype"),ja=Symbol("constructorName"),Ga=Symbol("exportpartsDebouncer"),Va=Symbol("dynamicDependenciesLoaded"),q=class extends ar{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Ka]=new Fe(5),this[ja]=this.constructor.name,this[Ha]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ja]&&Object.setPrototypeOf(this,this[Ha])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let e=this.constructor;e[Va]||(e[Va]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var o,n,i;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,o,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Ga].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var o,n,i,a,s,c;let l=y=>y!=null&&y.trim().length>0,u=e.filter(l).map(y=>y.trim());if(u.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let y of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let g=(a=(i=y.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],b=(c=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(O=>O.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...g,...b).filter(l).map(O=>O.trim()).forEach(O=>h.add(O))}if(h.size===0){this.removeAttribute("exportparts");return}let f=[...h.values()].flatMap(y=>u.map(g=>`${y}:${g}--${y}`));this.setAttribute("exportparts",[...this.part,...f].join(", "))}};Ka=Ga;Kr([T()],q.prototype,"exportpartsPrefix",void 0);Kr([Uo([])],q.prototype,"exportpartsPrefixes",void 0);Kr([T()],q.prototype,"customStylesheet",void 0);Kr([ae()],q.prototype,"useAdoptedStyleSheets",void 0);var Za=function(r,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,o,n);else for(var c=r.length-1;c>=0;c--)(s=r[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};function qa(r){class e extends r{constructor(){super(...arguments),this.size=er.medium,this.family=Qt.neutral}getDesignSystemBaseClasses(){return{[un(this.family)]:!0,[pn(this.size)]:!0}}}return Za([T()],e.prototype,"size",void 0),Za([T()],e.prototype,"family",void 0),e}var Tn=class extends qa(q){};var Ya={};var Fn={};D(Fn,{highlightHtml:()=>gd,highlightHtmlColorCssVariable:()=>Ja,highlightHtmlStyles:()=>yd});var ct=class r{constructor(e,o=!0,n=[],i=5e3){this.ctx=e,this.iframes=o,this.exclude=n,this.iframesTimeout=i}static matches(e,o){let n=typeof o=="string"?[o]:o,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,o=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let i=o.filter(a=>a.contains(n)).length>0;o.indexOf(n)===-1&&!i&&o.push(n)}),o}getIframeContents(e,o,n=()=>{}){let i;try{let a=e.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&o(i)}isIframeBlank(e){let o="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===o&&n!==o&&n}observeIframeLoad(e,o,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,o,n))}catch{n()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,o,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,o,n):this.getIframeContents(e,o,n):this.observeIframeLoad(e,o,n)}catch{n()}}waitForIframes(e,o){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||o()})},i=>{i||o()})}forEachIframe(e,o,n,i=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,c=0;a=Array.prototype.slice.call(a);let l=()=>{--s<=0&&i(c)};s||l(),a.forEach(u=>{r.matches(u,this.exclude)?l():this.onIframeReady(u,h=>{o(u)&&(c++,n(h)),l()},l)})}createIterator(e,o,n){return document.createNodeIterator(e,o,n,!1)}createInstanceOnIframe(e){return new r(e.querySelector("html"),this.iframes)}compareNodeIframe(e,o,n){let i=e.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(o!==null){let s=o.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_FOLLOWING;if(s&c)return!0}else return!0;return!1}getIteratorNode(e){let o=e.previousNode(),n;return o===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:o,node:n}}checkIframeFilter(e,o,n,i){let a=!1,s=!1;return i.forEach((c,l)=>{c.val===n&&(a=l,s=c.handled)}),this.compareNodeIframe(e,o,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(e,o,n,i){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(o,n,i)})})}iterateThroughNodes(e,o,n,i,a){let s=this.createIterator(o,e,i),c=[],l=[],u,h,f=()=>({prevNode:h,node:u}=this.getIteratorNode(s),u);for(;f();)this.iframes&&this.forEachIframe(o,y=>this.checkIframeFilter(u,h,y,c),y=>{this.createInstanceOnIframe(y).forEachNode(e,g=>l.push(g),i)}),l.push(u);l.forEach(y=>{n(y)}),this.iframes&&this.handleOpenIframes(c,e,n,i),a()}forEachNode(e,o,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(c=>{let l=()=>{this.iterateThroughNodes(e,c,o,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(c,l):l()})}};var sr=class{constructor(e){this.ctx=e,this.ie=!1;let o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new ct(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,o="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[o]=="function"&&n[o](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let o=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in o)if(o.hasOwnProperty(a)){let s=o[a],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);c!==""&&l!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(l)})`,`gm${n}`),i+`(${this.processSynomyms(c)}|${this.processSynomyms(l)})`+i))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,o=>o.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,o=>o.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let o=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(o,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?o:o+"\0"})}createJoinersRegExp(e){let o=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&o.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?e.split(/\u0000+/).join(`[${o.join("")}]*`):e}createDiacriticsRegExp(e){let o=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return e.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${o}`),`[${s}]`),i.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let o="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(c=>{s+=`|${this.escapeStr(c)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(o)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let o=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&o.indexOf(i)===-1&&o.push(i)}):n.trim()&&o.indexOf(n)===-1&&o.push(n)}),{keywords:o.sort((n,i)=>i.length-n.length),length:o.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let o=[],n=0;return e.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:c}=this.callNoMatchOnInvalidRanges(i,n);c&&(i.start=a,i.length=s-a,o.push(i),n=s)}),o}callNoMatchOnInvalidRanges(e,o){let n,i,a=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-o>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:i,valid:a}}checkWhitespaceRanges(e,o,n){let i,a=!0,s=n.length,c=o-s,l=parseInt(e.start,10)-c;return l=l>s?s:l,i=l+parseInt(e.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),l<0||i-l<0||l>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(l,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:l,end:i,valid:a}}getTextNodes(e){let o="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:o.length,end:(o+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:o,nodes:n})})}matchesExclude(e){return ct.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,o,n){let i=this.opt.element?this.opt.element:"mark",a=e.splitText(o),s=a.splitText(n-o),c=document.createElement(i);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=a.textContent,a.parentNode.replaceChild(c,a),s}wrapRangeInMappedTextNode(e,o,n,i,a){e.nodes.every((s,c)=>{let l=e.nodes[c+1];if(typeof l>"u"||l.start>o){if(!i(s.node))return!1;let u=o-s.start,h=(n>s.end?s.end:n)-s.start,f=e.value.substr(0,s.start),y=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,u,h),e.value=f+y,e.nodes.forEach((g,b)=>{b>=c&&(e.nodes[b].start>0&&b!==c&&(e.nodes[b].start-=h),e.nodes[b].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)o=s.end;else return!1}return!0})}wrapMatches(e,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(c=>{c.nodes.forEach(l=>{l=l.node;let u;for(;(u=e.exec(l.textContent))!==null&&u[s]!=="";){if(!n(u[s],l))continue;let h=u.index;if(s!==0)for(let f=1;f<s;f++)h+=u[f].length;l=this.wrapRangeInTextNode(l,h,h+u[s].length),i(l.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(c=>{let l;for(;(l=e.exec(c.value))!==null&&l[s]!=="";){let u=l.index;if(s!==0)for(let f=1;f<s;f++)u+=l[f].length;let h=u+l[s].length;this.wrapRangeInMappedTextNode(c,u,h,f=>n(l[s],f),(f,y)=>{e.lastIndex=y,i(f)})}a()})}wrapRangeFromIndex(e,o,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((c,l)=>{let{start:u,end:h,valid:f}=this.checkWhitespaceRanges(c,s,a.value);f&&this.wrapRangeInMappedTextNode(a,u,h,y=>o(y,c,a.value.substring(u,h),l),y=>{n(y,c)})}),i()})}unwrapMatches(e){let o=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));o.replaceChild(n,e),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,o){this.opt=o,this.log(`Searching with expression "${e}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(s,c)=>this.opt.filter(c,s,n),a,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,o){this.opt=o;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),c=this.opt.caseSensitive?"":"i",l=u=>{let h=new RegExp(this.createRegExp(u),`gm${c}`),f=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(y,g)=>this.opt.filter(g,u,n,f),y=>{f++,n++,this.opt.each(y)},()=>{f===0&&this.opt.noMatch(u),a[s-1]===u?this.opt.done(n):l(a[a.indexOf(u)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):l(a[0])}markRanges(e,o){this.opt=o;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,c,l)=>this.opt.filter(a,s,c,l),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=ct.matches(n,o),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function $n(r){let e=new sr(r);return this.mark=(o,n)=>(e.mark(o,n),this),this.markRegExp=(o,n)=>(e.markRegExp(o,n),this),this.markRanges=(o,n)=>(e.markRanges(o,n),this),this.unmark=o=>(e.unmark(o),this),this}var md=$n,Ja=t.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),yd=P`
1
+ "use strict";(()=>{var _c=Object.create;var po=Object.defineProperty;var Ic=Object.getOwnPropertyDescriptor;var Pc=Object.getOwnPropertyNames;var Tc=Object.getPrototypeOf,Lc=Object.prototype.hasOwnProperty;var $c=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),B=(t,e)=>{for(var o in e)po(t,o,{get:e[o],enumerable:!0})},Fc=(t,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Pc(e))!Lc.call(t,i)&&i!==o&&po(t,i,{get:()=>e[i],enumerable:!(n=Ic(e,i))||n.enumerable});return t};var kc=(t,e,o)=>(o=t!=null?_c(Tc(t)):{},Fc(e||!t||!t.__esModule?po(o,"default",{value:t,enumerable:!0}):o,t));var ks=$c((Ke,Fs)=>{var io=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,ao=function(){function t(){this.fetch=!1,this.DOMException=io.DOMException}return t.prototype=io,new t}();(function(t){var e=function(o){var n=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},i={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function a(m){return m&&DataView.prototype.isPrototypeOf(m)}if(i.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(m){return m&&s.indexOf(Object.prototype.toString.call(m))>-1};function l(m){if(typeof m!="string"&&(m=String(m)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(m)||m==="")throw new TypeError('Invalid character in header field name: "'+m+'"');return m.toLowerCase()}function u(m){return typeof m!="string"&&(m=String(m)),m}function h(m){var x={next:function(){var R=m.shift();return{done:R===void 0,value:R}}};return i.iterable&&(x[Symbol.iterator]=function(){return x}),x}function f(m){this.map={},m instanceof f?m.forEach(function(x,R){this.append(R,x)},this):Array.isArray(m)?m.forEach(function(x){if(x.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+x.length);this.append(x[0],x[1])},this):m&&Object.getOwnPropertyNames(m).forEach(function(x){this.append(x,m[x])},this)}f.prototype.append=function(m,x){m=l(m),x=u(x);var R=this.map[m];this.map[m]=R?R+", "+x:x},f.prototype.delete=function(m){delete this.map[l(m)]},f.prototype.get=function(m){return m=l(m),this.has(m)?this.map[m]:null},f.prototype.has=function(m){return this.map.hasOwnProperty(l(m))},f.prototype.set=function(m,x){this.map[l(m)]=u(x)},f.prototype.forEach=function(m,x){for(var R in this.map)this.map.hasOwnProperty(R)&&m.call(x,this.map[R],R,this)},f.prototype.keys=function(){var m=[];return this.forEach(function(x,R){m.push(R)}),h(m)},f.prototype.values=function(){var m=[];return this.forEach(function(x){m.push(x)}),h(m)},f.prototype.entries=function(){var m=[];return this.forEach(function(x,R){m.push([R,x])}),h(m)},i.iterable&&(f.prototype[Symbol.iterator]=f.prototype.entries);function y(m){if(!m._noBody){if(m.bodyUsed)return Promise.reject(new TypeError("Already read"));m.bodyUsed=!0}}function g(m){return new Promise(function(x,R){m.onload=function(){x(m.result)},m.onerror=function(){R(m.error)}})}function b(m){var x=new FileReader,R=g(x);return x.readAsArrayBuffer(m),R}function O(m){var x=new FileReader,R=g(x),T=/charset=([A-Za-z0-9_-]+)/.exec(m.type),k=T?T[1]:"utf-8";return x.readAsText(m,k),R}function A(m){for(var x=new Uint8Array(m),R=new Array(x.length),T=0;T<x.length;T++)R[T]=String.fromCharCode(x[T]);return R.join("")}function w(m){if(m.slice)return m.slice(0);var x=new Uint8Array(m.byteLength);return x.set(new Uint8Array(m)),x.buffer}function C(){return this.bodyUsed=!1,this._initBody=function(m){this.bodyUsed=this.bodyUsed,this._bodyInit=m,m?typeof m=="string"?this._bodyText=m:i.blob&&Blob.prototype.isPrototypeOf(m)?this._bodyBlob=m:i.formData&&FormData.prototype.isPrototypeOf(m)?this._bodyFormData=m:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)?this._bodyText=m.toString():i.arrayBuffer&&i.blob&&a(m)?(this._bodyArrayBuffer=w(m.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(m)||c(m))?this._bodyArrayBuffer=w(m):this._bodyText=m=Object.prototype.toString.call(m):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof m=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var m=y(this);if(m)return m;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var m=y(this);return m||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(i.blob)return this.blob().then(b);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var m=y(this);if(m)return m;if(this._bodyBlob)return O(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(A(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(_)}),this.json=function(){return this.text().then(JSON.parse)},this}var v=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function S(m){var x=m.toUpperCase();return v.indexOf(x)>-1?x:m}function E(m,x){if(!(this instanceof E))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');x=x||{};var R=x.body;if(m instanceof E){if(m.bodyUsed)throw new TypeError("Already read");this.url=m.url,this.credentials=m.credentials,x.headers||(this.headers=new f(m.headers)),this.method=m.method,this.mode=m.mode,this.signal=m.signal,!R&&m._bodyInit!=null&&(R=m._bodyInit,m.bodyUsed=!0)}else this.url=String(m);if(this.credentials=x.credentials||this.credentials||"same-origin",(x.headers||!this.headers)&&(this.headers=new f(x.headers)),this.method=S(x.method||this.method||"GET"),this.mode=x.mode||this.mode||null,this.signal=x.signal||this.signal||function(){if("AbortController"in n){var P=new AbortController;return P.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&R)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(R),(this.method==="GET"||this.method==="HEAD")&&(x.cache==="no-store"||x.cache==="no-cache")){var T=/([?&])_=[^&]*/;if(T.test(this.url))this.url=this.url.replace(T,"$1_="+new Date().getTime());else{var k=/\?/;this.url+=(k.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}E.prototype.clone=function(){return new E(this,{body:this._bodyInit})};function _(m){var x=new FormData;return m.trim().split("&").forEach(function(R){if(R){var T=R.split("="),k=T.shift().replace(/\+/g," "),P=T.join("=").replace(/\+/g," ");x.append(decodeURIComponent(k),decodeURIComponent(P))}}),x}function F(m){var x=new f,R=m.replace(/\r?\n[\t ]+/g," ");return R.split("\r").map(function(T){return T.indexOf(`
2
+ `)===0?T.substr(1,T.length):T}).forEach(function(T){var k=T.split(":"),P=k.shift().trim();if(P){var pe=k.join(":").trim();try{x.append(P,pe)}catch(Dt){console.warn("Response "+Dt.message)}}}),x}C.call(E.prototype);function D(m,x){if(!(this instanceof D))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(x||(x={}),this.type="default",this.status=x.status===void 0?200:x.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=x.statusText===void 0?"":""+x.statusText,this.headers=new f(x.headers),this.url=x.url||"",this._initBody(m)}C.call(D.prototype),D.prototype.clone=function(){return new D(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},D.error=function(){var m=new D(null,{status:200,statusText:""});return m.ok=!1,m.status=0,m.type="error",m};var M=[301,302,303,307,308];D.redirect=function(m,x){if(M.indexOf(x)===-1)throw new RangeError("Invalid status code");return new D(null,{status:x,headers:{location:m}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(x,R){this.message=x,this.name=R;var T=Error(x);this.stack=T.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function N(m,x){return new Promise(function(R,T){var k=new E(m,x);if(k.signal&&k.signal.aborted)return T(new o.DOMException("Aborted","AbortError"));var P=new XMLHttpRequest;function pe(){P.abort()}P.onload=function(){var J={statusText:P.statusText,headers:F(P.getAllResponseHeaders()||"")};k.url.indexOf("file://")===0&&(P.status<200||P.status>599)?J.status=200:J.status=P.status,J.url="responseURL"in P?P.responseURL:J.headers.get("X-Request-URL");var Ge="response"in P?P.response:P.responseText;setTimeout(function(){R(new D(Ge,J))},0)},P.onerror=function(){setTimeout(function(){T(new TypeError("Network request failed"))},0)},P.ontimeout=function(){setTimeout(function(){T(new TypeError("Network request timed out"))},0)},P.onabort=function(){setTimeout(function(){T(new o.DOMException("Aborted","AbortError"))},0)};function Dt(J){try{return J===""&&n.location.href?n.location.href:J}catch{return J}}if(P.open(k.method,Dt(k.url),!0),k.credentials==="include"?P.withCredentials=!0:k.credentials==="omit"&&(P.withCredentials=!1),"responseType"in P&&(i.blob?P.responseType="blob":i.arrayBuffer&&(P.responseType="arraybuffer")),x&&typeof x.headers=="object"&&!(x.headers instanceof f||n.Headers&&x.headers instanceof n.Headers)){var Ti=[];Object.getOwnPropertyNames(x.headers).forEach(function(J){Ti.push(l(J)),P.setRequestHeader(J,u(x.headers[J]))}),k.headers.forEach(function(J,Ge){Ti.indexOf(Ge)===-1&&P.setRequestHeader(Ge,J)})}else k.headers.forEach(function(J,Ge){P.setRequestHeader(Ge,J)});k.signal&&(k.signal.addEventListener("abort",pe),P.onreadystatechange=function(){P.readyState===4&&k.signal.removeEventListener("abort",pe)}),P.send(typeof k._bodyInit>"u"?null:k._bodyInit)})}return N.polyfill=!0,n.fetch||(n.fetch=N,n.Headers=f,n.Request=E,n.Response=D),o.Headers=f,o.Request=E,o.Response=D,o.fetch=N,o}({})})(ao);ao.fetch.ponyfill=!0;delete ao.fetch.polyfill;var _t=io.fetch?io:ao;Ke=_t.fetch;Ke.default=_t.fetch;Ke.fetch=_t.fetch;Ke.Headers=_t.Headers;Ke.Request=_t.Request;Ke.Response=_t.Response;Fs.exports=Ke});if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,c=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(v,S){if(v=v.toLowerCase(),this._getDefinition(v)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${v}" has already been used with this registry`);if(this._definitionsByClass.get(S)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let E=S.prototype.attributeChangedCallback,_=new Set(S.observedAttributes||[]);y(S,_,E);let F={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:_};this._definitionsByTag.set(v,F),this._definitionsByClass.set(S,F);let D=o.call(n,v);D||(D=f(v),e.call(n,v,D)),this===window.customElements&&(s.set(S,F),F.standInClass=D);let M=this._awaitingUpgrade.get(v);if(M){this._awaitingUpgrade.delete(v);for(let m of M)a.delete(m),b(m,F,!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(_=>E.resolve=_),this._whenDefinedPromises.set(v,E)),E.promise}_upgradeWhenDefined(v,S,E){let _=this._awaitingUpgrade.get(S);_||this._awaitingUpgrade.set(S,_=new Set),E?_.add(v):_.delete(v)}};let l;window.HTMLElement=function(){let S=l;if(S)return l=void 0,S;let E=s.get(this.constructor);if(!E)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return S=Reflect.construct(t,[],E.standInClass),Object.setPrototypeOf(S,this.constructor.prototype),i.set(S,E),S},window.HTMLElement.prototype=t.prototype;let u=v=>v===document||v instanceof ShadowRoot,h=v=>{let S=v.getRootNode();if(!u(S)){let E=A[A.length-1];if(E instanceof CustomElementRegistry)return E;S=E.getRootNode(),u(S)||(S=c.get(S)?.getRootNode()||document)}return S.customElements},f=v=>class{static get formAssociated(){return!0}constructor(){let E=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(E,HTMLElement.prototype);let _=h(E)||window.customElements,F=_._getDefinition(v);return F?b(E,F):a.set(E,_),E}connectedCallback(){let E=i.get(this);E?E.connectedCallback&&E.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,v,!0)}disconnectedCallback(){let E=i.get(this);E?E.disconnectedCallback&&E.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,v,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let E=i.get(this);E&&E.formAssociated&&E?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let E=i.get(this);E?.formAssociated&&E?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let E=i.get(this);E?.formAssociated&&E?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let E=i.get(this);E?.formAssociated&&E?.formStateRestoreCallback?.apply(this,arguments)}},y=(v,S,E)=>{if(S.size===0||E===void 0)return;let _=v.prototype.setAttribute;_&&(v.prototype.setAttribute=function(M,N){let m=M.toLowerCase();if(S.has(m)){let x=this.getAttribute(m);_.call(this,m,N),E.call(this,m,x,N)}else _.call(this,m,N)});let F=v.prototype.removeAttribute;F&&(v.prototype.removeAttribute=function(M){let N=M.toLowerCase();if(S.has(N)){let m=this.getAttribute(N);F.call(this,N),E.call(this,N,m,null)}else F.call(this,N)});let D=v.prototype.toggleAttribute;D&&(v.prototype.toggleAttribute=function(M,N){let m=M.toLowerCase();if(S.has(m)){let x=this.getAttribute(m);D.call(this,m,N);let R=this.getAttribute(m);E.call(this,m,x,R)}else D.call(this,m,N)})},g=v=>{let S=Object.getPrototypeOf(v);if(S!==window.HTMLElement)return S===t?Object.setPrototypeOf(v,window.HTMLElement):g(S)},b=(v,S,E=!1)=>{Object.setPrototypeOf(v,S.elementClass.prototype),i.set(v,S),l=v;try{new S.elementClass}catch{g(S.elementClass),new S.elementClass}S.attributeChangedCallback&&S.observedAttributes.forEach(_=>{v.hasAttribute(_)&&S.attributeChangedCallback.call(v,_,null,v.getAttribute(_))}),E&&S.connectedCallback&&v.isConnected&&S.connectedCallback.call(v)},O=Element.prototype.attachShadow;Element.prototype.attachShadow=function(v){let S=O.apply(this,arguments);return v.customElements&&(S.customElements=v.customElements),S};let A=[document],w=(v,S,E=void 0)=>{let _=(E?Object.getPrototypeOf(E):v.prototype)[S];v.prototype[S]=function(){A.push(this);let F=_.apply(E||this,arguments);return F!==void 0&&c.set(F,this),A.pop(),F}};w(ShadowRoot,"createElement",document),w(ShadowRoot,"importNode",document),w(Element,"insertAdjacentHTML");let C=(v,S)=>{let E=Object.getOwnPropertyDescriptor(v.prototype,S);Object.defineProperty(v.prototype,S,{...E,set(_){A.push(this),E.set.call(this,_),A.pop()}})};if(C(Element,"innerHTML"),C(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let v=new WeakMap,S=HTMLElement.prototype.attachInternals,E=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...M){let N=S.call(this,...M);return v.set(N,this),N},E.forEach(M=>{let N=window.ElementInternals.prototype,m=N[M];N[M]=function(...x){let R=v.get(this);if(i.get(R).formAssociated===!0)return m?.call(this,...x);throw new DOMException(`Failed to execute ${m} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class _ extends Array{constructor(N){super(...N),this._elements=N}get value(){return this._elements.find(N=>N.checked===!0)?.value||""}}class F{constructor(N){let m=new Map;N.forEach((x,R)=>{let T=x.getAttribute("name"),k=m.get(T)||[];this[+R]=x,k.push(x),m.set(T,k)}),this.length=N.length,m.forEach((x,R)=>{x&&(x.length===1?this[R]=x[0]:this[R]=new _(x))})}namedItem(N){return this[N]}}let D=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let M=D.get.call(this,[]),N=[];for(let m of M){let x=i.get(m);(!x||x.formAssociated===!0)&&N.push(m)}return new F(N)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(o,n,i)=>{if(n!==null)try{e.bind(window.customElements)(o,n,i)}catch(a){console.info(o,n,i,a)}}}var Co={};B(Co,{CSSResult:()=>ht,LitElement:()=>we,ReactiveElement:()=>fe,_$LE:()=>al,_$LH:()=>ol,adoptStyles:()=>Fr,css:()=>L,defaultConverter:()=>kr,getCompatibleStyle:()=>Kt,html:()=>he,isServer:()=>Gu,noChange:()=>$e,notEqual:()=>xo,nothing:()=>V,render:()=>wo,supportsAdoptingStyleSheets:()=>Vt,svg:()=>rl,unsafeCSS:()=>et});var Sr=globalThis,Er=Sr.ShadowRoot&&(Sr.ShadyCSS===void 0||Sr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,$i=Symbol(),Li=new WeakMap,Or=class{constructor(e,o,n){if(this._$cssResult$=!0,n!==$i)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(Er&&e===void 0){let n=o!==void 0&&o.length===1;n&&(e=Li.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Li.set(o,e))}return e}toString(){return this.cssText}},Fi=t=>new Or(typeof t=="string"?t:t+"",void 0,$i);var fo=(t,e)=>{if(Er)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let n=document.createElement("style"),i=Sr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,t.appendChild(n)}},wr=Er?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let o="";for(let n of e.cssRules)o+=n.cssText;return Fi(o)})(t):t;var{is:Uc,defineProperty:Dc,getOwnPropertyDescriptor:Mc,getOwnPropertyNames:Bc,getOwnPropertySymbols:Wc,getPrototypeOf:zc}=Object,Cr=globalThis,ki=Cr.trustedTypes,Hc=ki?ki.emptyScript:"",jc=Cr.reactiveElementPolyfillSupport,Mt=(t,e)=>t,Bt={toAttribute(t,e){switch(e){case Boolean:t=t?Hc:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=t!==null;break;case Number:o=t===null?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch{o=null}}return o}},Ar=(t,e)=>!Uc(t,e),Ui={attribute:!0,type:String,converter:Bt,reflect:!1,hasChanged:Ar};Symbol.metadata??=Symbol("metadata"),Cr.litPropertyMetadata??=new WeakMap;var Ze=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,o=Ui){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(e,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,o);i!==void 0&&Dc(this.prototype,e,i)}}static getPropertyDescriptor(e,o,n){let{get:i,set:a}=Mc(this.prototype,e)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Ui}static _$Ei(){if(this.hasOwnProperty(Mt("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(Mt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Mt("properties"))){let o=this.properties,n=[...Bc(o),...Wc(o)];for(let i of n)this.createProperty(i,o[i])}let e=this[Symbol.metadata];if(e!==null){let o=litPropertyMetadata.get(e);if(o!==void 0)for(let[n,i]of o)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let i=this._$Eu(o,n);i!==void 0&&this._$Eh.set(i,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let o=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)o.unshift(wr(i))}else e!==void 0&&o.push(wr(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 fo(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,o,n){this._$AK(e,n)}_$EO(e,o){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:Bt).toAttribute(o,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,o){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Bt;this._$Em=i,this[i]=s.fromAttribute(o,a.type),this._$Em=null}}requestUpdate(e,o,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Ar)(i?a:this[e],o))return;this.C(e,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,o,n){this._$AL.has(e)||this._$AL.set(e,o),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(o)}willUpdate(e){}_$AE(e){this._$E_?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(o=>this._$EO(o,this[o])),this._$ET()}updated(e){}firstUpdated(e){}};Ze.elementStyles=[],Ze.shadowRootOptions={mode:"open"},Ze[Mt("elementProperties")]=new Map,Ze[Mt("finalized")]=new Map,jc?.({ReactiveElement:Ze}),(Cr.reactiveElementVersions??=[]).push("2.0.2");var mo=globalThis,Rr=mo.trustedTypes,Di=Rr?Rr.createPolicy("lit-html",{createHTML:t=>t}):void 0,yo="$lit$",Oe=`lit$${(Math.random()+"").slice(9)}$`,go="?"+Oe,Vc=`<${go}>`,Je=document,Nr=()=>Je.createComment(""),zt=t=>t===null||typeof t!="object"&&typeof t!="function",ji=Array.isArray,Vi=t=>ji(t)||typeof t?.[Symbol.iterator]=="function",ho=`[
3
+ \f\r]`,Wt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Mi=/-->/g,Bi=/>/g,qe=RegExp(`>|${ho}(?:([^\\s"'>=/]+)(${ho}*=${ho}*(?:[^
4
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Wi=/'/g,zi=/"/g,Ki=/^(?:script|style|textarea|title)$/i,Gi=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),Zi=Gi(1),qi=Gi(2),re=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),Hi=new WeakMap,Ye=Je.createTreeWalker(Je,129);function Yi(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Di!==void 0?Di.createHTML(e):e}var Ji=(t,e)=>{let o=t.length-1,n=[],i,a=e===2?"<svg>":"",s=Wt;for(let c=0;c<o;c++){let l=t[c],u,h,f=-1,y=0;for(;y<l.length&&(s.lastIndex=y,h=s.exec(l),h!==null);)y=s.lastIndex,s===Wt?h[1]==="!--"?s=Mi:h[1]!==void 0?s=Bi:h[2]!==void 0?(Ki.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=qe):h[3]!==void 0&&(s=qe):s===qe?h[0]===">"?(s=i??Wt,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?qe:h[3]==='"'?zi:Wi):s===zi||s===Wi?s=qe:s===Mi||s===Bi?s=Wt:(s=qe,i=void 0);let g=s===qe&&t[c+1].startsWith("/>")?" ":"";a+=s===Wt?l+Vc:f>=0?(n.push(u),l.slice(0,f)+yo+l.slice(f)+Oe+g):l+Oe+(f===-2?c:g)}return[Yi(t,a+(t[o]||"<?>")+(e===2?"</svg>":"")),n]},Ht=class t{constructor({strings:e,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,l=this.parts,[u,h]=Ji(e,o);if(this.el=t.createElement(u,n),Ye.currentNode=this.el.content,o===2){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=Ye.nextNode())!==null&&l.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(yo)){let y=h[s++],g=i.getAttribute(f).split(Oe),b=/([.?@])?(.*)/.exec(y);l.push({type:1,index:a,name:b[2],strings:g,ctor:b[1]==="."?Ir:b[1]==="?"?Pr:b[1]==="@"?Tr:Qe}),i.removeAttribute(f)}else f.startsWith(Oe)&&(l.push({type:6,index:a}),i.removeAttribute(f));if(Ki.test(i.tagName)){let f=i.textContent.split(Oe),y=f.length-1;if(y>0){i.textContent=Rr?Rr.emptyScript:"";for(let g=0;g<y;g++)i.append(f[g],Nr()),Ye.nextNode(),l.push({type:2,index:++a});i.append(f[y],Nr())}}}else if(i.nodeType===8)if(i.data===go)l.push({type:2,index:a});else{let f=-1;for(;(f=i.data.indexOf(Oe,f+1))!==-1;)l.push({type:7,index:a}),f+=Oe.length-1}a++}}static createElement(e,o){let n=Je.createElement("template");return n.innerHTML=e,n}};function Xe(t,e,o=t,n){if(e===re)return e;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=zt(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(e=Xe(t,i._$AS(t,e.values),i,n)),e}var _r=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:n}=this._$AD,i=(e?.creationScope??Je).importNode(o,!0);Ye.currentNode=i;let a=Ye.nextNode(),s=0,c=0,l=n[0];for(;l!==void 0;){if(s===l.index){let u;l.type===2?u=new jt(a,a.nextSibling,this,e):l.type===1?u=new l.ctor(a,l.name,l.strings,this,e):l.type===6&&(u=new Lr(a,this,e)),this._$AV.push(u),l=n[++c]}s!==l?.index&&(a=Ye.nextNode(),s++)}return Ye.currentNode=Je,i}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},jt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,i){this.type=2,this._$AH=G,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=Xe(this,e,o),zt(e)?e===G||e==null||e===""?(this._$AH!==G&&this._$AR(),this._$AH=G):e!==this._$AH&&e!==re&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Vi(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==G&&zt(this._$AH)?this._$AA.nextSibling.data=e:this.$(Je.createTextNode(e)),this._$AH=e}g(e){let{values:o,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Ht.createElement(Yi(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new _r(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(e){let o=Hi.get(e.strings);return o===void 0&&Hi.set(e.strings,o=new Ht(e)),o}T(e){ji(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of e)i===o.length?o.push(n=new t(this.k(Nr()),this.k(Nr()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Qe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,i,a){this.type=1,this._$AH=G,this._$AN=void 0,this.element=e,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=G}_$AI(e,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=Xe(this,e,o,0),s=!zt(e)||e!==this._$AH&&e!==re,s&&(this._$AH=e);else{let c=e,l,u;for(e=a[0],l=0;l<a.length-1;l++)u=Xe(this,c[n+l],o,l),u===re&&(u=this._$AH[l]),s||=!zt(u)||u!==this._$AH[l],u===G?e=G:e!==G&&(e+=(u??"")+a[l+1]),this._$AH[l]=u}s&&!i&&this.O(e)}O(e){e===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Ir=class extends Qe{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===G?void 0:e}},Pr=class extends Qe{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==G)}},Tr=class extends Qe{constructor(e,o,n,i,a){super(e,o,n,i,a),this.type=5}_$AI(e,o=this){if((e=Xe(this,e,o,0)??G)===re)return;let n=this._$AH,i=e===G&&n!==G||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==G&&(n===G||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Lr=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){Xe(this,e)}},Xi={j:yo,P:Oe,A:go,C:1,M:Ji,L:_r,R:Vi,V:Xe,D:jt,I:Qe,H:Pr,N:Tr,U:Ir,B:Lr},Kc=mo.litHtmlPolyfillSupport;Kc?.(Ht,jt),(mo.litHtmlVersions??=[]).push("3.1.0");var $r=globalThis,Vt=$r.ShadowRoot&&($r.ShadyCSS===void 0||$r.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,bo=Symbol(),Qi=new WeakMap,ht=class{constructor(e,o,n){if(this._$cssResult$=!0,n!==bo)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(Vt&&e===void 0){let n=o!==void 0&&o.length===1;n&&(e=Qi.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Qi.set(o,e))}return e}toString(){return this.cssText}},et=t=>new ht(typeof t=="string"?t:t+"",void 0,bo),L=(t,...e)=>{let o=t.length===1?t[0]:e.reduce((n,i,a)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[a+1],t[0]);return new ht(o,t,bo)},Fr=(t,e)=>{if(Vt)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let n=document.createElement("style"),i=$r.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,t.appendChild(n)}},Kt=Vt?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let o="";for(let n of e.cssRules)o+=n.cssText;return et(o)})(t):t;var{is:Gc,defineProperty:Zc,getOwnPropertyDescriptor:qc,getOwnPropertyNames:Yc,getOwnPropertySymbols:Jc,getPrototypeOf:Xc}=Object,Ur=globalThis,ea=Ur.trustedTypes,Qc=ea?ea.emptyScript:"",el=Ur.reactiveElementPolyfillSupport,Gt=(t,e)=>t,kr={toAttribute(t,e){switch(e){case Boolean:t=t?Qc:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let o=t;switch(e){case Boolean:o=t!==null;break;case Number:o=t===null?null:Number(t);break;case Object:case Array:try{o=JSON.parse(t)}catch{o=null}}return o}},xo=(t,e)=>!Gc(t,e),ta={attribute:!0,type:String,converter:kr,reflect:!1,hasChanged:xo};Symbol.metadata??=Symbol("metadata"),Ur.litPropertyMetadata??=new WeakMap;var fe=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(),i=this.getPropertyDescriptor(e,n,o);i!==void 0&&Zc(this.prototype,e,i)}}static getPropertyDescriptor(e,o,n){let{get:i,set:a}=qc(this.prototype,e)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??ta}static _$Ei(){if(this.hasOwnProperty(Gt("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(Gt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Gt("properties"))){let o=this.properties,n=[...Yc(o),...Jc(o)];for(let i of n)this.createProperty(i,o[i])}let e=this[Symbol.metadata];if(e!==null){let o=litPropertyMetadata.get(e);if(o!==void 0)for(let[n,i]of o)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let i=this._$Eu(o,n);i!==void 0&&this._$Eh.set(i,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let o=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)o.unshift(Kt(i))}else e!==void 0&&o.push(Kt(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 Fr(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,o,n){this._$AK(e,n)}_$EO(e,o){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:kr).toAttribute(o,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,o){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:kr;this._$Em=i,this[i]=s.fromAttribute(o,a.type),this._$Em=null}}requestUpdate(e,o,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??xo)(i?a:this[e],o))return;this.C(e,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,o,n){this._$AL.has(e)||this._$AL.set(e,o),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(o)}willUpdate(e){}_$AE(e){this._$E_?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(o=>this._$EO(o,this[o])),this._$ET()}updated(e){}firstUpdated(e){}};fe.elementStyles=[],fe.shadowRootOptions={mode:"open"},fe[Gt("elementProperties")]=new Map,fe[Gt("finalized")]=new Map,el?.({ReactiveElement:fe}),(Ur.reactiveElementVersions??=[]).push("2.0.2");var So=globalThis,Dr=So.trustedTypes,ra=Dr?Dr.createPolicy("lit-html",{createHTML:t=>t}):void 0,Oo="$lit$",Ee=`lit$${(Math.random()+"").slice(9)}$`,Eo="?"+Ee,tl=`<${Eo}>`,ot=document,qt=()=>ot.createComment(""),Yt=t=>t===null||typeof t!="object"&&typeof t!="function",ca=Array.isArray,la=t=>ca(t)||typeof t?.[Symbol.iterator]=="function",vo=`[
5
+ \f\r]`,Zt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,oa=/-->/g,na=/>/g,tt=RegExp(`>|${vo}(?:([^\\s"'>=/]+)(${vo}*=${vo}*(?:[^
6
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),ia=/'/g,aa=/"/g,da=/^(?:script|style|textarea|title)$/i,ua=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),he=ua(1),rl=ua(2),$e=Symbol.for("lit-noChange"),V=Symbol.for("lit-nothing"),sa=new WeakMap,rt=ot.createTreeWalker(ot,129);function pa(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return ra!==void 0?ra.createHTML(e):e}var fa=(t,e)=>{let o=t.length-1,n=[],i,a=e===2?"<svg>":"",s=Zt;for(let c=0;c<o;c++){let l=t[c],u,h,f=-1,y=0;for(;y<l.length&&(s.lastIndex=y,h=s.exec(l),h!==null);)y=s.lastIndex,s===Zt?h[1]==="!--"?s=oa:h[1]!==void 0?s=na:h[2]!==void 0?(da.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=tt):h[3]!==void 0&&(s=tt):s===tt?h[0]===">"?(s=i??Zt,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?tt:h[3]==='"'?aa:ia):s===aa||s===ia?s=tt:s===oa||s===na?s=Zt:(s=tt,i=void 0);let g=s===tt&&t[c+1].startsWith("/>")?" ":"";a+=s===Zt?l+tl:f>=0?(n.push(u),l.slice(0,f)+Oo+l.slice(f)+Ee+g):l+Ee+(f===-2?c:g)}return[pa(t,a+(t[o]||"<?>")+(e===2?"</svg>":"")),n]},Jt=class t{constructor({strings:e,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,l=this.parts,[u,h]=fa(e,o);if(this.el=t.createElement(u,n),rt.currentNode=this.el.content,o===2){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=rt.nextNode())!==null&&l.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(Oo)){let y=h[s++],g=i.getAttribute(f).split(Ee),b=/([.?@])?(.*)/.exec(y);l.push({type:1,index:a,name:b[2],strings:g,ctor:b[1]==="."?Br:b[1]==="?"?Wr:b[1]==="@"?zr:it}),i.removeAttribute(f)}else f.startsWith(Ee)&&(l.push({type:6,index:a}),i.removeAttribute(f));if(da.test(i.tagName)){let f=i.textContent.split(Ee),y=f.length-1;if(y>0){i.textContent=Dr?Dr.emptyScript:"";for(let g=0;g<y;g++)i.append(f[g],qt()),rt.nextNode(),l.push({type:2,index:++a});i.append(f[y],qt())}}}else if(i.nodeType===8)if(i.data===Eo)l.push({type:2,index:a});else{let f=-1;for(;(f=i.data.indexOf(Ee,f+1))!==-1;)l.push({type:7,index:a}),f+=Ee.length-1}a++}}static createElement(e,o){let n=ot.createElement("template");return n.innerHTML=e,n}};function nt(t,e,o=t,n){if(e===$e)return e;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=Yt(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(e=nt(t,i._$AS(t,e.values),i,n)),e}var Mr=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:n}=this._$AD,i=(e?.creationScope??ot).importNode(o,!0);rt.currentNode=i;let a=rt.nextNode(),s=0,c=0,l=n[0];for(;l!==void 0;){if(s===l.index){let u;l.type===2?u=new mt(a,a.nextSibling,this,e):l.type===1?u=new l.ctor(a,l.name,l.strings,this,e):l.type===6&&(u=new Hr(a,this,e)),this._$AV.push(u),l=n[++c]}s!==l?.index&&(a=rt.nextNode(),s++)}return rt.currentNode=ot,i}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},mt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,i){this.type=2,this._$AH=V,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=nt(this,e,o),Yt(e)?e===V||e==null||e===""?(this._$AH!==V&&this._$AR(),this._$AH=V):e!==this._$AH&&e!==$e&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):la(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==V&&Yt(this._$AH)?this._$AA.nextSibling.data=e:this.$(ot.createTextNode(e)),this._$AH=e}g(e){let{values:o,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Jt.createElement(pa(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new Mr(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(e){let o=sa.get(e.strings);return o===void 0&&sa.set(e.strings,o=new Jt(e)),o}T(e){ca(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of e)i===o.length?o.push(n=new t(this.k(qt()),this.k(qt()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},it=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,i,a){this.type=1,this._$AH=V,this._$AN=void 0,this.element=e,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=V}_$AI(e,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=nt(this,e,o,0),s=!Yt(e)||e!==this._$AH&&e!==$e,s&&(this._$AH=e);else{let c=e,l,u;for(e=a[0],l=0;l<a.length-1;l++)u=nt(this,c[n+l],o,l),u===$e&&(u=this._$AH[l]),s||=!Yt(u)||u!==this._$AH[l],u===V?e=V:e!==V&&(e+=(u??"")+a[l+1]),this._$AH[l]=u}s&&!i&&this.O(e)}O(e){e===V?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Br=class extends it{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===V?void 0:e}},Wr=class extends it{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==V)}},zr=class extends it{constructor(e,o,n,i,a){super(e,o,n,i,a),this.type=5}_$AI(e,o=this){if((e=nt(this,e,o,0)??V)===$e)return;let n=this._$AH,i=e===V&&n!==V||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==V&&(n===V||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Hr=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){nt(this,e)}},ol={j:Oo,P:Ee,A:Eo,C:1,M:fa,L:Mr,R:la,V:nt,D:mt,I:it,H:Wr,N:zr,U:Br,B:Hr},nl=So.litHtmlPolyfillSupport;nl?.(Jt,mt),(So.litHtmlVersions??=[]).push("3.1.0");var wo=(t,e,o)=>{let n=o?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=o?.renderBefore??null;n._$litPart$=i=new mt(e.insertBefore(qt(),a),a,void 0,o??{})}return i._$AI(t),i};var we=class extends fe{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=wo(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return $e}};we._$litElement$=!0,we.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:we});var il=globalThis.litElementPolyfillSupport;il?.({LitElement:we});var al={_$AK:(t,e,o)=>{t._$AK(e,o)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Gu=!1;var Ao={};B(Ao,{customElement:()=>sl,eventOptions:()=>ll,property:()=>$,query:()=>at,queryAll:()=>ul,queryAssignedElements:()=>fl,queryAssignedNodes:()=>hl,queryAsync:()=>pl,standardProperty:()=>ha,state:()=>ae});var sl=t=>(e,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var cl={attribute:!0,type:String,converter:Bt,reflect:!1,hasChanged:Ar},ha=(t=cl,e,o)=>{let{kind:n,metadata:i}=o,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(o.name,t),n==="accessor"){let{name:s}=o;return{set(c){let l=e.get.call(this);e.set.call(this,c),this.requestUpdate(s,l,t)},init(c){return c!==void 0&&this.C(s,void 0,t),c}}}if(n==="setter"){let{name:s}=o;return function(c){let l=this[s];e.call(this,c),this.requestUpdate(s,l,t)}}throw Error("Unsupported decorator location: "+n)};function $(t){return(e,o)=>typeof o=="object"?ha(t,e,o):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(t,e,o)}function ae(t){return $({...t,state:!0,attribute:!1})}function ll(t){return(e,o)=>{let n=typeof e=="function"?e:e[o];Object.assign(n,t)}}var ce=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,o),o);function at(t,e){return(o,n,i)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:c}=typeof n=="object"?o:i??(()=>{let l=Symbol();return{get(){return this[l]},set(u){this[l]=u}}})();return ce(o,n,{get(){let l=s.call(this);return l===void 0&&(l=a(this),(l!==null||this.hasUpdated)&&c.call(this,l)),l}})}return ce(o,n,{get(){return a(this)}})}}var dl;function ul(t){return(e,o)=>ce(e,o,{get(){return(this.renderRoot??(dl??=document.createDocumentFragment())).querySelectorAll(t)}})}function pl(t){return(e,o)=>ce(e,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function fl(t){return(e,o)=>{let{slot:n,selector:i}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return ce(e,o,{get(){let s=this.renderRoot?.querySelector(a),c=s?.assignedElements(t)??[];return i===void 0?c:c.filter(l=>l.matches(i))}})}}function hl(t){return(e,o)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return ce(e,o,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var Ro={};B(Ro,{repeat:()=>gl});var Fe={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ke=t=>(...e)=>({_$litDirective$:t,values:e}),me=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:ml}=Xi;var ma=()=>document.createComment(""),yt=(t,e,o)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(o===void 0){let a=n.insertBefore(ma(),i),s=n.insertBefore(ma(),i);o=new ml(a,s,t,t.options)}else{let a=o._$AB.nextSibling,s=o._$AM,c=s!==t;if(c){let l;o._$AQ?.(t),o._$AM=t,o._$AP!==void 0&&(l=t._$AU)!==s._$AU&&o._$AP(l)}if(a!==i||c){let l=o._$AA;for(;l!==a;){let u=l.nextSibling;n.insertBefore(l,i),l=u}}}return o},Ue=(t,e,o=t)=>(t._$AI(e,o),t),yl={},ya=(t,e=yl)=>t._$AH=e,ga=t=>t._$AH,jr=t=>{t._$AP?.(!1,!0);let e=t._$AA,o=t._$AB.nextSibling;for(;e!==o;){let n=e.nextSibling;e.remove(),e=n}};var ba=(t,e,o)=>{let n=new Map;for(let i=e;i<=o;i++)n.set(t[i],i);return n},gl=ke(class extends me{constructor(t){if(super(t),t.type!==Fe.CHILD)throw Error("repeat() can only be used in text expressions")}ht(t,e,o){let n;o===void 0?o=e:e!==void 0&&(n=e);let i=[],a=[],s=0;for(let c of t)i[s]=n?n(c,s):s,a[s]=o(c,s),s++;return{values:a,keys:i}}render(t,e,o){return this.ht(t,e,o).values}update(t,[e,o,n]){let i=ga(t),{values:a,keys:s}=this.ht(e,o,n);if(!Array.isArray(i))return this.dt=s,a;let c=this.dt??=[],l=[],u,h,f=0,y=i.length-1,g=0,b=a.length-1;for(;f<=y&&g<=b;)if(i[f]===null)f++;else if(i[y]===null)y--;else if(c[f]===s[g])l[g]=Ue(i[f],a[g]),f++,g++;else if(c[y]===s[b])l[b]=Ue(i[y],a[b]),y--,b--;else if(c[f]===s[b])l[b]=Ue(i[f],a[b]),yt(t,l[b+1],i[f]),f++,b--;else if(c[y]===s[g])l[g]=Ue(i[y],a[g]),yt(t,i[f],i[y]),y--,g++;else if(u===void 0&&(u=ba(s,g,b),h=ba(c,f,y)),u.has(c[f]))if(u.has(c[y])){let O=h.get(s[g]),A=O!==void 0?i[O]:null;if(A===null){let w=yt(t,i[f]);Ue(w,a[g]),l[g]=w}else l[g]=Ue(A,a[g]),yt(t,i[f],A),i[O]=null;g++}else jr(i[y]),y--;else jr(i[f]),f++;for(;g<=b;){let O=yt(t,l[b+1]);Ue(O,a[g]),l[g++]=O}for(;f<=y;){let O=i[f++];O!==null&&jr(O)}return this.dt=s,ya(t,l),re}});var No={};B(No,{classMap:()=>st});var st=ke(class extends me{constructor(t){if(super(t),t.type!==Fe.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.it===void 0){this.it=new Set,t.strings!==void 0&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(e)}let o=t.element.classList;for(let n of this.it)n in e||(o.remove(n),this.it.delete(n));for(let n in e){let i=!!e[n];i===this.it.has(n)||this.st?.has(n)||(i?(o.add(n),this.it.add(n)):(o.remove(n),this.it.delete(n)))}return re}});var _o={};B(_o,{styleMap:()=>xl});var xa="important",bl=" !"+xa,xl=ke(class extends me{constructor(t){if(super(t),t.type!==Fe.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,o)=>{let n=t[o];return n==null?e:e+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:o}=t.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let n of this.ut)e[n]==null&&(this.ut.delete(n),n.includes("-")?o.removeProperty(n):o[n]=null);for(let n in e){let i=e[n];if(i!=null){this.ut.add(n);let a=typeof i=="string"&&i.endsWith(bl);n.includes("-")||a?o.setProperty(n,a?i.slice(0,-11):i,a?xa:""):o[n]=i}}return re}});var Io={};B(Io,{UnsafeHTMLDirective:()=>gt,unsafeHTML:()=>vl});var gt=class extends me{constructor(e){if(super(e),this.et=G,e.type!==Fe.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===G||e==null)return this.vt=void 0,this.et=e;if(e===re)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;let o=[e];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};gt.directiveName="unsafeHTML",gt.resultType=1;var vl=ke(gt);var $o={};B($o,{CacheRegistry:()=>Lo});var To={};B(To,{CancelablePromise:()=>bt,CanceledPromiseError:()=>Xt,cancelable:()=>Po});var Xt=class extends Error{constructor(e,o,n){super(e),this.canceledPromiseResult=o,this.canceledPromiseError=n}},bt=class extends Promise{constructor(e){super((o,n)=>e(i=>{this.isCanceled?n(new Xt("Promise has been canceled",i)):o(i)},i=>{this.isCanceled?n(new Xt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Po=t=>new bt((e,o)=>t.then(e).catch(o));var Lo=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 bt&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,o){this.forceClear(e),this.register(e,async()=>o),this.content[e]=o}setFinal(e,o){this.forceClear(e),this.registerFinal(e,async()=>o),this.content[e]=o}async get(e,o,n){if(this.content[e]===void 0){if(o=o??this.loaders[e],o==null)throw new Error("Unknown cache key "+e);let i=Po(o());return this.content[e]=i,i.then(a=>(this.content[e]=a,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),a))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var ko={};B(ko,{ClusteringHelper:()=>Fo});var Fo=class t{constructor(e,o,n,i){this.allResults=e,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(e,o){var n,i;let a=((i=(n=e?.map)!==null&&n!==void 0?n:e?.document)!==null&&i!==void 0?i:e?.topic).metadata;return o==null?t.flattenMetadata(a):t.flattenMetadata(a.find(s=>s.key===o))}static flattenMetadata(e){if(Array.isArray(e))return e.map(n=>t.flattenMetadata(n)).filter(n=>n!=null);let o=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!o))if(o){let n=[],i=[];return e.hierarchicalValues.forEach(a=>{n.push(a.join(" > ")),a.length>2?i.push(`... > ${a[a.length-1]}`):i.push(a.join(" > "))}),{key:e.key,label:e.label,value:n.join(", "),displayValue:i.join(", ")}}else{let n=e.values.join(", ");return{key:e.key,label:e.label,value:n,displayValue:n}}}computeClustersItemsForMetadata(e,o,n="No value"){var i,a;let s=t.extractResultMetadata(this.selectedResult,e),c=(i=s?.label)!==null&&i!==void 0?i:(a=this.getMetadataDescriptor(e))===null||a===void 0?void 0:a.label;return this.allResults.map(u=>t.extractResultMetadata(u,e)).map(u=>u??{key:e,label:c,value:void 0,displayValue:n}).filter(u=>u.value!=s?.value).filter((u,h,f)=>f.findIndex(y=>y.value===u.value)===h).map(u=>({result:this.findBestResultForMetadataValue(e,u.value),metadata:u})).sort((u,h)=>this.compareMetadata(u.metadata.value,h.metadata.value,e,o))}compareMetadata(e,o,n,i){if(e==null)return-1;if(o==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",c=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let l=e.localeCompare(o,i,{numeric:!0});return c?l*-1:l}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(o=>e==o.key)}findBestResultForMetadataValue(e,o){let n=this.allResults.filter(l=>{var u;return((u=t.extractResultMetadata(l,e))===null||u===void 0?void 0:u.value)==o}),a=[...t.extractResultMetadata(this.selectedResult).filter(l=>this.clusteringMetadata.has(l.key)).filter(l=>l.key!==e)],s,c=-1;for(let l of n){let u=this.countMatchingMetadata(l,a);if(u>c&&(c=u,s=l,u===a.length))break}return s}countMatchingMetadata(e,o){return t.extractResultMetadata(e).filter(n=>o.some(i=>i.key===n.key&&i.value===n.value)).length}};var Uo={};B(Uo,{Debouncer:()=>De});var De=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,o){return this.callbacks=[e],this.debounce(o)}queue(e,o){return this.callbacks.push(e),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,o;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(c){i(c);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Wo={};B(Wo,{customElement:()=>Ce,isNumber:()=>wa,jsonProperty:()=>Bo,optionalNumberProperty:()=>tr});var Mo={};B(Mo,{dateReviver:()=>Ol,deepEqual:()=>Qt,delay:()=>va,eventPathContainsMatchingElement:()=>wl,flatDeep:()=>Oa,hasChanged:()=>er,last:()=>Cl,minmax:()=>Do,parseDate:()=>Ea,waitFor:()=>Sa,waitUntil:()=>Sl});var va=t=>new Promise(e=>setTimeout(e,t));async function Sl(t,e=10,o=2e4){await Sa(async()=>await t()||void 0,e,o)}async function Sa(t,e=10,o=2e4){let n=await t(),i,a;for(i=a=performance.now();n==null&&(!o||a-i<o);)await va(e),n=await t(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Oa(t,e){return t.flatMap(o=>[o,...Oa(e(o),e)])}function Ol(...t){return function(e,o){return t.includes(e)?Ea(o):o}}function Ea(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,o,n,i)=>o+n+":"+i),new Date(t)}function El(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var o,n,i;if(Array.isArray(t)){if(o=t.length,o!=e.length)return!1;for(n=o;n--!==0;)if(!Qt(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!Qt(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(i=Object.keys(t),o=i.length,o!==Object.keys(e).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=o;n--!==0;){var a=i[n];if(!Qt(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function Qt(t,e){try{return El(t,e)}catch{return!1}}function er(t,e){return!Qt(t,e)}function wl(t,e,o=window.document.body){if(e.length>0){let n=t.composedPath();for(let i of n){if(i===o)return!1;if(i.matches&&e.some(a=>i.matches(a)))return!0}}return!1}function Do(t,e,o){return Math.min(Math.max(t,e),o)}function Cl(t){return t[t.length-1]}var Ce=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function Bo(t,e){let o=()=>JSON.parse(JSON.stringify(t));return $({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:er,...e??{}})}function tr(t){return $({type:Object,converter:{fromAttribute:e=>{if(e!=null)return wa(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function wa(t){return!isNaN(parseFloat(t))}var gn={};B(gn,{designSystemVariables:()=>W});var yn={};B(yn,{DesignSystemFamily:()=>or,DesignSystemSize:()=>nr,FtCssVariableFactory:()=>r,badge:()=>Tl,banner:()=>Pl,breadcrumb:()=>Ll,button:()=>Rl,chart:()=>Kl,checkbox:()=>Zl,chip:()=>_l,chipChoice:()=>Nl,collapsible:()=>jl,comboboxMultiSelect:()=>zl,comboboxSingleSelect:()=>Wl,drawer:()=>kl,floatingMenu:()=>Bl,foundation:()=>d,link:()=>Il,modal:()=>Fl,notice:()=>Gl,notification:()=>Jl,pageHeader:()=>$l,popover:()=>Hl,radio:()=>Yl,resolveFamilyClass:()=>hn,resolveSizeClass:()=>mn,semantic:()=>p,setVariable:()=>Z,switch_:()=>Vl,tabs:()=>Ul,textArea:()=>Ml,textInput:()=>Dl,toggle:()=>ql,tooltip:()=>Xl,typographies:()=>rr,typographyBody1Medium:()=>Go,typographyBody1Regular:()=>Ko,typographyBody1Semibold:()=>Zo,typographyBody2Medium:()=>Yo,typographyBody2MediumUnderline:()=>Ca,typographyBody2Regular:()=>qo,typographyBody2Semibold:()=>Jo,typographyCaption1Bold:()=>sn,typographyCaption1Medium:()=>nn,typographyCaption1Semibold:()=>an,typographyCaption2Bold:()=>dn,typographyCaption2Medium:()=>cn,typographyCaption2Semibold:()=>ln,typographyCaption3Bold:()=>fn,typographyCaption3Medium:()=>un,typographyCaption3Semibold:()=>pn,typographyDisplay:()=>zo,typographyLabel1Bold:()=>en,typographyLabel1Medium:()=>Xo,typographyLabel1Semibold:()=>Qo,typographyLabel2Bold:()=>on,typographyLabel2Medium:()=>tn,typographyLabel2Semibold:()=>rn,typographyTitle1:()=>Ho,typographyTitle2:()=>jo,typographyTitle3:()=>Vo,typographyVariants:()=>Al});var Ae=t=>typeof t=="string"?et(t):t,r=class{static create(e,o,n,i){let a=c=>Ae(c??i),s=L`var(${Ae(e)}, ${a(i)})`;return s.name=e,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>L`var(${Ae(e)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,o,n,i){let a=c=>n.get(c??i),s=L`var(${Ae(e)}, ${a(i)})`;return s.name=e,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>L`var(${Ae(e)}, ${a(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,o){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):Ae(a??e.lastResortDefaultValue()),i=L`var(${Ae(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=o,i.defaultCssValue=n,i.get=a=>L`var(${Ae(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function Z(t,e){return Ae(`${t.name}: ${e}`)}var d={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:r.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:r.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:r.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:r.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:r.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:r.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:r.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:r.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},zo={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},Ho={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},jo={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Vo={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Ko={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Go={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Zo={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},qo={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Yo={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Ca={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Jo={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Xo={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Qo={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},en={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},tn={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},rn={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},on={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},nn={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},an={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},sn={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},cn={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},ln={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},dn={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},un={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},pn={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},fn={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},rr={display:zo,"title-1":Ho,"title-2":jo,"title-3":Vo,"body-1-regular":Ko,"body-1-medium":Go,"body-1-semibold":Zo,"body-2-regular":qo,"body-2-medium":Yo,"body-2-medium-underline":Ca,"body-2-semibold":Jo,"label-1-medium":Xo,"label-1-semibold":Qo,"label-1-bold":en,"label-2-medium":tn,"label-2-semibold":rn,"label-2-bold":on,"caption-1-medium":nn,"caption-1-semibold":an,"caption-1-bold":sn,"caption-2-medium":cn,"caption-2-semibold":ln,"caption-2-bold":dn,"caption-3-medium":un,"caption-3-semibold":pn,"caption-3-bold":fn},Al=["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:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",d.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",d.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",d.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",d.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",d.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",d.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",d.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",d.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",d.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",d.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",d.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",d.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",d.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",d.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",d.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",d.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",d.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",d.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
7
+ Also for action icons.`,d.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",d.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",d.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",d.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",d.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",d.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",d.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",d.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",d.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",d.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",d.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",d.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",d.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",d.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",d.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",d.colorGray80)};var Rl={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",d.spacing4),largeGap:r.extend("--ft-button-large-gap","",d.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",d.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",d.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",d.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",d.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",d.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",d.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",d.spacing2),smallGap:r.extend("--ft-button-small-gap","",d.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",d.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",d.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",d.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",d.borderRadiusPill),primaryBackgroundColor:r.extend("--ft-button-primary-background-color","",p.backgroundActionPrimary),primaryColor:r.extend("--ft-button-primary-color","",p.contentGlobalOnColor),primaryIconColor:r.extend("--ft-button-primary-icon-color","",p.contentGlobalOnColor),primaryStateLayerColor:r.extend("--ft-button-primary-state-layer-color","",p.contentGlobalOnColor),primaryHoverStateLayerOpacity:r.extend("--ft-button-primary-hover-state-layer-opacity","",d.opacity16),primaryFocusStateLayerOpacity:r.extend("--ft-button-primary-focus-state-layer-opacity","",d.opacity16),primaryActiveStateLayerOpacity:r.extend("--ft-button-primary-active-state-layer-opacity","",d.opacity24),primaryDisabledComponentOpacity:r.extend("--ft-button-primary-disabled-component-opacity","",d.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",p.borderActionFocusRing),tertiaryBackgroundColor:r.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:r.extend("--ft-button-tertiary-color","",p.contentActionPrimary),tertiaryIconColor:r.extend("--ft-button-tertiary-icon-color","",p.contentActionPrimary),tertiaryStateLayerColor:r.extend("--ft-button-tertiary-state-layer-color","",p.contentActionPrimary),tertiaryHoverStateLayerOpacity:r.extend("--ft-button-tertiary-hover-state-layer-opacity","",d.opacity8),tertiaryFocusStateLayerOpacity:r.extend("--ft-button-tertiary-focus-state-layer-opacity","",d.opacity8),tertiaryActiveStateLayerOpacity:r.extend("--ft-button-tertiary-active-state-layer-opacity","",d.opacity16),tertiaryDisabledComponentOpacity:r.extend("--ft-button-tertiary-disabled-component-opacity","",d.opacity40),secondaryBackgroundColor:r.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:r.extend("--ft-button-secondary-color","",p.contentActionPrimary),secondaryIconColor:r.extend("--ft-button-secondary-icon-color","",p.contentActionPrimary),secondaryStateLayerColor:r.extend("--ft-button-secondary-state-layer-color","",p.contentActionPrimary),secondaryHoverStateLayerOpacity:r.extend("--ft-button-secondary-hover-state-layer-opacity","",d.opacity8),secondaryFocusStateLayerOpacity:r.extend("--ft-button-secondary-focus-state-layer-opacity","",d.opacity8),secondaryActiveStateLayerOpacity:r.extend("--ft-button-secondary-active-state-layer-opacity","",d.opacity16),secondaryDisabledComponentOpacity:r.extend("--ft-button-secondary-disabled-component-opacity","",d.opacity40),secondaryBorderColor:r.extend("--ft-button-secondary-border-color","",p.borderActionPrimary),neutralBackgroundColor:r.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:r.extend("--ft-button-neutral-icon-color","",p.contentGlobalSecondary),neutralColor:r.extend("--ft-button-neutral-color","",p.contentGlobalSecondary),neutralStateLayerColor:r.extend("--ft-button-neutral-state-layer-color","",p.contentGlobalSecondary),neutralHoverStateLayerOpacity:r.extend("--ft-button-neutral-hover-state-layer-opacity","",d.opacity8),neutralFocusStateLayerOpacity:r.extend("--ft-button-neutral-focus-state-layer-opacity","",d.opacity8),neutralActiveStateLayerOpacity:r.extend("--ft-button-neutral-active-state-layer-opacity","",d.opacity16),neutralDisabledComponentOpacity:r.extend("--ft-button-neutral-disabled-component-opacity","",d.opacity40)};var Nl={neutralOffHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",d.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",d.opacity8),neutralOffFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",p.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",d.opacity16),neutralOffBackgroundColor:r.extend("--ft-chip-choice-neutral-off-background-color","",p.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ft-chip-choice-neutral-off-border-color","",p.borderGlobalPrimary),neutralOffColor:r.extend("--ft-chip-choice-neutral-off-color","",p.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ft-chip-choice-neutral-off-state-layer-color","",p.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",d.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",d.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",d.opacity24),neutralOnFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",p.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",d.opacity32),neutralOnBackgroundColor:r.extend("--ft-chip-choice-neutral-on-background-color","",p.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ft-chip-choice-neutral-on-border-color","",p.borderGlobalPrimary),neutralOnColor:r.extend("--ft-chip-choice-neutral-on-color","",p.contentGlobalPrimary),neutralOnIconColor:r.extend("--ft-chip-choice-neutral-on-icon-color","",p.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ft-chip-choice-neutral-on-state-layer-color","",p.contentGlobalPrimary),largeMinHeight:r.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-choice-large-horizontal-padding","",d.spacing3),largeGap:r.extend("--ft-chip-choice-large-gap","",d.spacing1),largeBorderRadius:r.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-choice-large-icon-size","",d.iconSize3),mediumMinHeight:r.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-choice-medium-horizontal-padding","",d.spacing2),mediumGap:r.extend("--ft-chip-choice-medium-gap","",d.spacing1),mediumBorderRadius:r.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-choice-medium-icon-size","",d.iconSize2)};var _l={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",d.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",d.spacing1),largeGap:r.extend("--ft-chip-large-gap","",d.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",d.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",d.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",d.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",d.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",d.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",d.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",d.spacing05),smallGap:r.extend("--ft-chip-small-gap","",d.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",d.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",p.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",p.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",p.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",p.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",p.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",p.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",p.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",p.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",p.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",p.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",p.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",p.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",p.borderErrorSubtle)};var Il={brandHoverOpacity:r.extend("--ft-link-brand-hover-opacity","",d.opacity80),brandHoverColor:r.extend("--ft-link-brand-hover-color","",p.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ft-link-brand-focus-focus-ring-color","",p.borderActionFocusRing),brandFocusColor:r.extend("--ft-link-brand-focus-color","",p.contentActionPrimary),brandDefaultColor:r.extend("--ft-link-brand-default-color","",p.contentActionPrimary),brandActiveColor:r.extend("--ft-link-brand-active-color","",p.contentActionPrimary),infoHoverOpacity:r.extend("--ft-link-info-hover-opacity","",d.opacity80),infoHoverColor:r.extend("--ft-link-info-hover-color","",p.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ft-link-info-focus-focus-ring-color","",p.borderActionFocusRing),infoFocusColor:r.extend("--ft-link-info-focus-color","",p.contentInfoPrimary),infoDefaultColor:r.extend("--ft-link-info-default-color","",p.contentInfoPrimary),infoActiveColor:r.extend("--ft-link-info-active-color","",p.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ft-link-neutral-focus-focus-ring-color","",p.borderActionFocusRing),neutralFocusColor:r.extend("--ft-link-neutral-focus-color","",p.contentActionPrimary),neutralDefaultColor:r.extend("--ft-link-neutral-default-color","",p.contentGlobalPrimary),neutralHoverColor:r.extend("--ft-link-neutral-hover-color","",p.contentActionPrimary),neutralActiveColor:r.extend("--ft-link-neutral-active-color","",p.contentActionPrimary)};var Pl={iconSize:r.extend("--ft-banner-icon-size","",d.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",d.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",d.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",d.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",d.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",d.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",d.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",d.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",p.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",p.borderInfoSubtle)};var Tl={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",d.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",d.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",d.borderRadiusPill),color:r.extend("--ft-badge-color","",p.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",p.contentActionPrimary)};var Ll={horizontalGap:r.extend("--ft-breadcrumb-horizontal-gap","",d.spacing1),verticalGap:r.extend("--ft-breadcrumb-vertical-gap","",d.spacing2),currentColor:r.extend("--ft-breadcrumb-current-color","",p.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-breadcrumb-previous-non-clickable-color","",p.contentGlobalSecondary),iconColor:r.extend("--ft-breadcrumb-icon-color","",p.contentGlobalSubtle)};var $l={horizontalPadding:r.extend("--ft-page-header-horizontal-padding","",d.spacing6),horizontalGap:r.extend("--ft-page-header-horizontal-gap","",d.spacing4),verticalGap:r.extend("--ft-page-header-vertical-gap","",d.spacing2),classicVerticalPadding:r.extend("--ft-page-header-classic-vertical-padding","",d.spacing6),multilineVerticalPadding:r.extend("--ft-page-header-multiline-vertical-padding","",d.spacing4),inlineVerticalPadding:r.extend("--ft-page-header-inline-vertical-padding","",d.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",d.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",p.borderGlobalSubtle),titleColor:r.extend("--ft-page-header-title-color","",p.contentGlobalPrimary),subtitleColor:r.extend("--ft-page-header-subtitle-color","",p.contentGlobalSecondary)};var Fl={smallContainerWidth:r.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:r.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",d.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",d.opacity40),shadow:r.extend("--ft-modal-shadow","",d.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",d.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",d.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",d.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",d.spacing6),containerMargin:r.extend("--ft-modal-container-margin","",d.spacing3),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",p.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-modal-header-trailing-icon-color","",p.contentGlobalSecondary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",d.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",d.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",d.spacing6),headerGap:r.extend("--ft-modal-header-gap","",d.spacing2),headerBorderBottom:r.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",d.borderRadiusM)};var kl={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",d.opacity40),shadow:r.extend("--ft-drawer-shadow","",d.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",p.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",d.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",d.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",d.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",d.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",p.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",p.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",p.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",p.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",d.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",d.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",p.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",p.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",p.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",d.spacing6),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",d.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",d.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",d.colorGray700)};var Ul={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",d.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",d.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",d.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",d.opacity40),offColor:r.extend("--ft-tabs-off-color","",p.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",p.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",p.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",d.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",d.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",d.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",d.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",d.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",d.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",d.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",d.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",d.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",d.opacity24),onColor:r.extend("--ft-tabs-on-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",p.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",p.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",d.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",d.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",d.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",d.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",p.borderActionFocusRing)};var Dl={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",d.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",d.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",d.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",d.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",d.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",d.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",d.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",p.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",p.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",p.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",d.opacity40)};var Ml={backgroundColor:r.extend("--ft-text-area-background-color","",d.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",p.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",p.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",p.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",d.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",d.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",d.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",d.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",d.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",d.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",d.borderRadiusM)};var Bl={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",d.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",p.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",p.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",p.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",d.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",d.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",d.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",d.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",d.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",d.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",p.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",d.shadowElevation02)};var Wl={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",d.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",d.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",d.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",d.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",d.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",d.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",d.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",d.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",d.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",p.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",p.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",p.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",p.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",d.opacity40)};var zl={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",d.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",p.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",p.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",p.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",p.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",p.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",p.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",p.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",p.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",p.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",p.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",d.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",d.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",d.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",d.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",d.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",d.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",d.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",d.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",d.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",d.borderRadiusM)};var Hl={backgroundColor:r.extend("--ft-popover-background-color","",p.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",d.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",d.spacing6),titleColor:r.extend("--ft-popover-title-color","",p.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",p.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",p.contentActionPrimary),gap:r.extend("--ft-popover-gap","",d.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",d.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",d.shadowElevation02)};var jl={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",d.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",d.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",p.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",d.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",d.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",d.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",d.spacing3),color:r.extend("--ft-collapsible-color","",p.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",p.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",p.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",p.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",d.iconSize3)};var Vl={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",d.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",d.spacing1),groupGap:r.extend("--ft-switch-group-gap","",d.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",p.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",p.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",d.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",d.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",d.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",d.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",d.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",d.opacity40),offColor:r.extend("--ft-switch-off-color","",p.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",d.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",d.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",d.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",d.opacity40),onColor:r.extend("--ft-switch-on-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",p.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",d.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",d.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",p.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",d.borderRadiusS)};var Kl={color1Light:r.extend("--ft-chart-1-light","for area color charts",d.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",d.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",d.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",d.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",d.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",d.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",d.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",d.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",d.colorRed40),color5Base:r.extend("--ft-chart-5-base","",d.colorRed60),color6Light:r.extend("--ft-chart-6-light","",d.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",d.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",d.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",d.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",d.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",d.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",d.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",d.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",d.colorGray50),color10Base:r.extend("--ft-chart-10-base","",d.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",d.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",d.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",d.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",d.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",d.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",d.colorBrand200)};var Gl={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",d.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",d.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",d.borderRadiusS),gap:r.extend("--ft-notice-gap","",d.spacing2),iconSize:r.extend("--ft-notice-icon-size","",d.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",p.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",p.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",p.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",p.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",p.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",p.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",p.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",p.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",p.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",p.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",p.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",p.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",p.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",p.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",p.contentSuccessIconOnly)};var Zl={color:r.extend("--ft-checkbox-color","",p.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",p.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",p.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",p.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",d.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",d.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",d.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",d.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",d.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",d.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",d.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",d.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",d.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",d.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",d.spacing3)};var ql={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",d.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",d.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",d.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",d.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",p.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",p.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",p.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",d.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",d.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",d.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",d.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",p.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",p.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",p.contentActionPrimary),color:r.extend("--ft-toggle-color","",p.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",p.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",d.spacing3)};var Yl={color:r.extend("--ft-radio-color","",p.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",p.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",p.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",d.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",d.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",d.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",d.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",p.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",p.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",d.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",d.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",d.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",d.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",p.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",d.spacing3)};var Jl={iconSize:r.extend("--ft-notification-icon-size","",d.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",d.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",d.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",d.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",p.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",p.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",p.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",p.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",p.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",p.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",p.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",p.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",p.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",p.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",p.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",p.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",p.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",p.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",p.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",p.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",d.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",d.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",d.spacing8)};var Xl={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",d.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",d.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",d.borderRadiusS),color:r.extend("--ft-tooltip-color","",p.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",p.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",d.opacity80),shadow:r.extend("--ft-tooltip-shadow","",d.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",d.spacing05)};var or;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(or||(or={}));var nr;(function(t){t.large="large",t.medium="medium",t.small="small"})(nr||(nr={}));function hn(t){return`ftds--family-${t}`}function mn(t){return`ftds--size-${t}`}var W={colorPrimary:r.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:r.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:r.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:r.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:r.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:r.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:r.create("--ft-color-error","","COLOR","#B00020"),colorOutline:r.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:r.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:r.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:r.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:r.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:r.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:r.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:r.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:r.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:r.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:r.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:r.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:r.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:r.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:r.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:r.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:r.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:r.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:r.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:r.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:r.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:r.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:r.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:r.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:r.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:r.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:r.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:r.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:r.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:r.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:r.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:r.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:r.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:r.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:r.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:r.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:r.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:r.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:r.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:r.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:r.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:r.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:r.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:r.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:r.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:r.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:r.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:r.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:r.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:r.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:r.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:r.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:r.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Sn={};B(Sn,{FtNotificationEvent:()=>bn,PostResizeEvent:()=>vn,PreResizeEvent:()=>xn});var bn=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},xn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},vn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var Fn={};B(Fn,{computeFlipOffsetPosition:()=>vd,computeOffsetPosition:()=>xd});var Ra=["top","right","bottom","left"],Aa=["start","end"],On=Ra.reduce((t,e)=>t.concat(e,e+"-"+Aa[0],e+"-"+Aa[1]),[]),sr=Math.min,Me=Math.max,cr=Math.round;var Re=t=>({x:t,y:t}),Ql={left:"right",right:"left",bottom:"top",top:"bottom"},ed={start:"end",end:"start"};function En(t,e,o){return Me(t,sr(e,o))}function xt(t,e){return typeof t=="function"?t(e):t}function ye(t){return t.split("-")[0]}function ge(t){return t.split("-")[1]}function wn(t){return t==="x"?"y":"x"}function Cn(t){return t==="y"?"height":"width"}function lr(t){return["top","bottom"].includes(ye(t))?"y":"x"}function An(t){return wn(lr(t))}function Rn(t,e,o){o===void 0&&(o=!1);let n=ge(t),i=An(t),a=Cn(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=ar(s)),[s,ar(s)]}function Na(t){let e=ar(t);return[ir(t),e,ir(e)]}function ir(t){return t.replace(/start|end/g,e=>ed[e])}function td(t,e,o){let n=["left","right"],i=["right","left"],a=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return o?e?i:n:e?n:i;case"left":case"right":return e?a:s;default:return[]}}function _a(t,e,o,n){let i=ge(t),a=td(ye(t),o==="start",n);return i&&(a=a.map(s=>s+"-"+i),e&&(a=a.concat(a.map(ir)))),a}function ar(t){return t.replace(/left|right|bottom|top/g,e=>Ql[e])}function rd(t){return{top:0,right:0,bottom:0,left:0,...t}}function Ia(t){return typeof t!="number"?rd(t):{top:t,right:t,bottom:t,left:t}}function ct(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Pa(t,e,o){let{reference:n,floating:i}=t,a=lr(e),s=An(e),c=Cn(s),l=ye(e),u=a==="y",h=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,y=n[c]/2-i[c]/2,g;switch(l){case"top":g={x:h,y:n.y-i.height};break;case"bottom":g={x:h,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:f};break;case"left":g={x:n.x-i.width,y:f};break;default:g={x:n.x,y:n.y}}switch(ge(e)){case"start":g[s]-=y*(o&&u?-1:1);break;case"end":g[s]+=y*(o&&u?-1:1);break}return g}var Ta=async(t,e,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,c=a.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e)),u=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:f}=Pa(u,n,l),y=n,g={},b=0;for(let O=0;O<c.length;O++){let{name:A,fn:w}=c[O],{x:C,y:v,data:S,reset:E}=await w({x:h,y:f,initialPlacement:n,placement:y,strategy:i,middlewareData:g,rects:u,platform:s,elements:{reference:t,floating:e}});if(h=C??h,f=v??f,g={...g,[A]:{...g[A],...S}},E&&b<=50){b++,typeof E=="object"&&(E.placement&&(y=E.placement),E.rects&&(u=E.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):E.rects),{x:h,y:f}=Pa(u,y,l)),O=-1;continue}}return{x:h,y:f,placement:y,strategy:i,middlewareData:g}};async function Vr(t,e){var o;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:c,strategy:l}=t,{boundary:u="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:y=!1,padding:g=0}=xt(e,t),b=Ia(g),A=c[y?f==="floating"?"reference":"floating":f],w=ct(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(A)))==null||o?A:A.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:u,rootBoundary:h,strategy:l})),C=f==="floating"?{...s.floating,x:n,y:i}:s.reference,v=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),S=await(a.isElement==null?void 0:a.isElement(v))?await(a.getScale==null?void 0:a.getScale(v))||{x:1,y:1}:{x:1,y:1},E=ct(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:C,offsetParent:v,strategy:l}):C);return{top:(w.top-E.top+b.top)/S.y,bottom:(E.bottom-w.bottom+b.bottom)/S.y,left:(w.left-E.left+b.left)/S.x,right:(E.right-w.right+b.right)/S.x}}function od(t,e,o){return(t?[...o.filter(i=>ge(i)===t),...o.filter(i=>ge(i)!==t)]:o.filter(i=>ye(i)===i)).filter(i=>t?ge(i)===t||(e?ir(i)!==i:!1):!0)}var Nn=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,n,i;let{rects:a,middlewareData:s,placement:c,platform:l,elements:u}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:y=On,autoAlignment:g=!0,...b}=xt(t,e),O=f!==void 0||y===On?od(f||null,g,y):y,A=await Vr(e,b),w=((o=s.autoPlacement)==null?void 0:o.index)||0,C=O[w];if(C==null)return{};let v=Rn(C,a,await(l.isRTL==null?void 0:l.isRTL(u.floating)));if(c!==C)return{reset:{placement:O[0]}};let S=[A[ye(C)],A[v[0]],A[v[1]]],E=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:C,overflows:S}],_=O[w+1];if(_)return{data:{index:w+1,overflows:E},reset:{placement:_}};let F=E.map(N=>{let m=ge(N.placement);return[N.placement,m&&h?N.overflows.slice(0,2).reduce((x,R)=>x+R,0):N.overflows[0],N.overflows]}).sort((N,m)=>N[1]-m[1]),M=((i=F.filter(N=>N[2].slice(0,ge(N[0])?2:3).every(m=>m<=0))[0])==null?void 0:i[0])||F[0][0];return M!==c?{data:{index:w+1,overflows:E},reset:{placement:M}}:{}}}},_n=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var o,n;let{placement:i,middlewareData:a,rects:s,initialPlacement:c,platform:l,elements:u}=e,{mainAxis:h=!0,crossAxis:f=!0,fallbackPlacements:y,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:O=!0,...A}=xt(t,e);if((o=a.arrow)!=null&&o.alignmentOffset)return{};let w=ye(i),C=ye(c)===c,v=await(l.isRTL==null?void 0:l.isRTL(u.floating)),S=y||(C||!O?[ar(c)]:Na(c));!y&&b!=="none"&&S.push(..._a(c,O,b,v));let E=[c,...S],_=await Vr(e,A),F=[],D=((n=a.flip)==null?void 0:n.overflows)||[];if(h&&F.push(_[w]),f){let x=Rn(i,s,v);F.push(_[x[0]],_[x[1]])}if(D=[...D,{placement:i,overflows:F}],!F.every(x=>x<=0)){var M,N;let x=(((M=a.flip)==null?void 0:M.index)||0)+1,R=E[x];if(R)return{data:{index:x,overflows:D},reset:{placement:R}};let T=(N=D.filter(k=>k.overflows[0]<=0).sort((k,P)=>k.overflows[1]-P.overflows[1])[0])==null?void 0:N.placement;if(!T)switch(g){case"bestFit":{var m;let k=(m=D.map(P=>[P.placement,P.overflows.filter(pe=>pe>0).reduce((pe,Dt)=>pe+Dt,0)]).sort((P,pe)=>P[1]-pe[1])[0])==null?void 0:m[0];k&&(T=k);break}case"initialPlacement":T=c;break}if(i!==T)return{reset:{placement:T}}}return{}}}};async function nd(t,e){let{placement:o,platform:n,elements:i}=t,a=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=ye(o),c=ge(o),l=lr(o)==="y",u=["left","top"].includes(s)?-1:1,h=a&&l?-1:1,f=xt(e,t),{mainAxis:y,crossAxis:g,alignmentAxis:b}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return c&&typeof b=="number"&&(g=c==="end"?b*-1:b),l?{x:g*h,y:y*u}:{x:y*u,y:g*h}}var In=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var o,n;let{x:i,y:a,placement:s,middlewareData:c}=e,l=await nd(e,t);return s===((o=c.offset)==null?void 0:o.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:i+l.x,y:a+l.y,data:{...l,placement:s}}}}},Pn=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:o,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:A=>{let{x:w,y:C}=A;return{x:w,y:C}}},...l}=xt(t,e),u={x:o,y:n},h=await Vr(e,l),f=lr(ye(i)),y=wn(f),g=u[y],b=u[f];if(a){let A=y==="y"?"top":"left",w=y==="y"?"bottom":"right",C=g+h[A],v=g-h[w];g=En(C,g,v)}if(s){let A=f==="y"?"top":"left",w=f==="y"?"bottom":"right",C=b+h[A],v=b-h[w];b=En(C,b,v)}let O=c.fn({...e,[y]:g,[f]:b});return{...O,data:{x:O.x-o,y:O.y-n}}}}};function Ne(t){return $a(t)?(t.nodeName||"").toLowerCase():"#document"}function ee(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function _e(t){var e;return(e=($a(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function $a(t){return t instanceof Node||t instanceof ee(t).Node}function be(t){return t instanceof Element||t instanceof ee(t).Element}function le(t){return t instanceof HTMLElement||t instanceof ee(t).HTMLElement}function La(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ee(t).ShadowRoot}function vt(t){let{overflow:e,overflowX:o,overflowY:n,display:i}=oe(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(i)}function Fa(t){return["table","td","th"].includes(Ne(t))}function Gr(t){let e=Zr(),o=oe(t);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function ka(t){let e=lt(t);for(;le(e)&&!dr(e);){if(Gr(e))return e;e=lt(e)}return null}function Zr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function dr(t){return["html","body","#document"].includes(Ne(t))}function oe(t){return ee(t).getComputedStyle(t)}function ur(t){return be(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function lt(t){if(Ne(t)==="html")return t;let e=t.assignedSlot||t.parentNode||La(t)&&t.host||_e(t);return La(e)?e.host:e}function Ua(t){let e=lt(t);return dr(e)?t.ownerDocument?t.ownerDocument.body:t.body:le(e)&&vt(e)?e:Ua(e)}function Kr(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);let i=Ua(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=ee(i);return a?e.concat(s,s.visualViewport||[],vt(i)?i:[],s.frameElement&&o?Kr(s.frameElement):[]):e.concat(i,Kr(i,[],o))}function Ba(t){let e=oe(t),o=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=le(t),a=i?t.offsetWidth:o,s=i?t.offsetHeight:n,c=cr(o)!==a||cr(n)!==s;return c&&(o=a,n=s),{width:o,height:n,$:c}}function Wa(t){return be(t)?t:t.contextElement}function St(t){let e=Wa(t);if(!le(e))return Re(1);let o=e.getBoundingClientRect(),{width:n,height:i,$:a}=Ba(e),s=(a?cr(o.width):o.width)/n,c=(a?cr(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var id=Re(0);function za(t){let e=ee(t);return!Zr()||!e.visualViewport?id:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function ad(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==ee(t)?!1:e}function pr(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);let i=t.getBoundingClientRect(),a=Wa(t),s=Re(1);e&&(n?be(n)&&(s=St(n)):s=St(t));let c=ad(a,o,n)?za(a):Re(0),l=(i.left+c.x)/s.x,u=(i.top+c.y)/s.y,h=i.width/s.x,f=i.height/s.y;if(a){let y=ee(a),g=n&&be(n)?ee(n):n,b=y.frameElement;for(;b&&n&&g!==y;){let O=St(b),A=b.getBoundingClientRect(),w=oe(b),C=A.left+(b.clientLeft+parseFloat(w.paddingLeft))*O.x,v=A.top+(b.clientTop+parseFloat(w.paddingTop))*O.y;l*=O.x,u*=O.y,h*=O.x,f*=O.y,l+=C,u+=v,b=ee(b).frameElement}}return ct({width:h,height:f,x:l,y:u})}function sd(t){let{rect:e,offsetParent:o,strategy:n}=t,i=le(o),a=_e(o);if(o===a)return e;let s={scrollLeft:0,scrollTop:0},c=Re(1),l=Re(0);if((i||!i&&n!=="fixed")&&((Ne(o)!=="body"||vt(a))&&(s=ur(o)),le(o))){let u=pr(o);c=St(o),l.x=u.x+o.clientLeft,l.y=u.y+o.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-s.scrollLeft*c.x+l.x,y:e.y*c.y-s.scrollTop*c.y+l.y}}function cd(t){return Array.from(t.getClientRects())}function Ha(t){return pr(_e(t)).left+ur(t).scrollLeft}function ld(t){let e=_e(t),o=ur(t),n=t.ownerDocument.body,i=Me(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=Me(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+Ha(t),c=-o.scrollTop;return oe(n).direction==="rtl"&&(s+=Me(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:c}}function dd(t,e){let o=ee(t),n=_e(t),i=o.visualViewport,a=n.clientWidth,s=n.clientHeight,c=0,l=0;if(i){a=i.width,s=i.height;let u=Zr();(!u||u&&e==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}return{width:a,height:s,x:c,y:l}}function ud(t,e){let o=pr(t,!0,e==="fixed"),n=o.top+t.clientTop,i=o.left+t.clientLeft,a=le(t)?St(t):Re(1),s=t.clientWidth*a.x,c=t.clientHeight*a.y,l=i*a.x,u=n*a.y;return{width:s,height:c,x:l,y:u}}function Da(t,e,o){let n;if(e==="viewport")n=dd(t,o);else if(e==="document")n=ld(_e(t));else if(be(e))n=ud(e,o);else{let i=za(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return ct(n)}function ja(t,e){let o=lt(t);return o===e||!be(o)||dr(o)?!1:oe(o).position==="fixed"||ja(o,e)}function pd(t,e){let o=e.get(t);if(o)return o;let n=Kr(t,[],!1).filter(c=>be(c)&&Ne(c)!=="body"),i=null,a=oe(t).position==="fixed",s=a?lt(t):t;for(;be(s)&&!dr(s);){let c=oe(s),l=Gr(s);!l&&c.position==="fixed"&&(i=null),(a?!l&&!i:!l&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||vt(s)&&!l&&ja(t,s))?n=n.filter(h=>h!==s):i=c,s=lt(s)}return e.set(t,n),n}function fd(t){let{element:e,boundary:o,rootBoundary:n,strategy:i}=t,s=[...o==="clippingAncestors"?pd(e,this._c):[].concat(o),n],c=s[0],l=s.reduce((u,h)=>{let f=Da(e,h,i);return u.top=Me(f.top,u.top),u.right=sr(f.right,u.right),u.bottom=sr(f.bottom,u.bottom),u.left=Me(f.left,u.left),u},Da(e,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function hd(t){return Ba(t)}function md(t,e,o){let n=le(e),i=_e(e),a=o==="fixed",s=pr(t,!0,a,e),c={scrollLeft:0,scrollTop:0},l=Re(0);if(n||!n&&!a)if((Ne(e)!=="body"||vt(i))&&(c=ur(e)),n){let u=pr(e,!0,a,e);l.x=u.x+e.clientLeft,l.y=u.y+e.clientTop}else i&&(l.x=Ha(i));return{x:s.left+c.scrollLeft-l.x,y:s.top+c.scrollTop-l.y,width:s.width,height:s.height}}function Ma(t,e){return!le(t)||oe(t).position==="fixed"?null:e?e(t):t.offsetParent}function Va(t,e){let o=ee(t);if(!le(t))return o;let n=Ma(t,e);for(;n&&Fa(n)&&oe(n).position==="static";)n=Ma(n,e);return n&&(Ne(n)==="html"||Ne(n)==="body"&&oe(n).position==="static"&&!Gr(n))?o:n||ka(t)||o}var yd=async function(t){let{reference:e,floating:o,strategy:n}=t,i=this.getOffsetParent||Va,a=this.getDimensions;return{reference:md(e,await i(o),n),floating:{x:0,y:0,...await a(o)}}};function gd(t){return oe(t).direction==="rtl"}var Ot={convertOffsetParentRelativeRectToViewportRelativeRect:sd,getDocumentElement:_e,getClippingRect:fd,getOffsetParent:Va,getElementRects:yd,getClientRects:cd,getDimensions:hd,getScale:St,isElement:be,isRTL:gd};var Tn=(t,e,o)=>{let n=new Map,i={platform:Ot,...o},a={...i.platform,_c:n};return Ta(t,e,{...i,platform:a})};function $n(t){return bd(t)}function Ln(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function bd(t){for(let e=t;e;e=Ln(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Ln(t);e;e=Ln(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(t,e,o){return Tn(t,e,{platform:{...Ot,getOffsetParent:n=>Ot.getOffsetParent(n,$n)},middleware:[Pn({crossAxis:!0}),Nn({allowedPlacements:[o]})]})}async function vd(t,e,o,n,i){return Tn(t,e,{placement:o,strategy:i,platform:{...Ot,getOffsetParent:a=>Ot.getOffsetParent(a,$n)},middleware:[In(4),_n({fallbackPlacements:n})]})}var Mn={};B(Mn,{FtdsBase:()=>Dn,toFtdsBase:()=>Qa});var Un={};B(Un,{FtLitElement:()=>q});var kn={};B(kn,{ScopedRegistryLitElement:()=>fr});var qr=window,Sd=qr.ShadowRoot&&(qr.ShadyCSS===void 0||qr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ty=Symbol();var Ka=(t,e)=>{Sd?t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):e.forEach(o=>{let n=document.createElement("style"),i=qr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,t.appendChild(n)})};var fr=class extends we{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let o={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Ka(n,e.elementStyles),n}};var Yr=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Ya,Ga=Symbol("constructorPrototype"),Za=Symbol("constructorName"),Ja=Symbol("exportpartsDebouncer"),qa=Symbol("dynamicDependenciesLoaded"),q=class extends fr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Ya]=new De(5),this[Za]=this.constructor.name,this[Ga]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Za]&&Object.setPrototypeOf(this,this[Ga])}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[qa]||(e[qa]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var o,n,i;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,o,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Ja].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var o,n,i,a,s,c;let l=y=>y!=null&&y.trim().length>0,u=e.filter(l).map(y=>y.trim());if(u.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let y of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let g=(a=(i=y.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],b=(c=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(O=>O.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...g,...b).filter(l).map(O=>O.trim()).forEach(O=>h.add(O))}if(h.size===0){this.removeAttribute("exportparts");return}let f=[...h.values()].flatMap(y=>u.map(g=>`${y}:${g}--${y}`));this.setAttribute("exportparts",[...this.part,...f].join(", "))}};Ya=Ja;Yr([$()],q.prototype,"exportpartsPrefix",void 0);Yr([Bo([])],q.prototype,"exportpartsPrefixes",void 0);Yr([$()],q.prototype,"customStylesheet",void 0);Yr([ae()],q.prototype,"useAdoptedStyleSheets",void 0);var Xa=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a};function Qa(t){class e extends t{constructor(){super(...arguments),this.size=nr.medium,this.family=or.neutral}getDesignSystemBaseClasses(){return{[hn(this.family)]:!0,[mn(this.size)]:!0}}}return Xa([$()],e.prototype,"size",void 0),Xa([$()],e.prototype,"family",void 0),e}var Dn=class extends Qa(q){};var es={};var Wn={};B(Wn,{highlightHtml:()=>wd,highlightHtmlColorCssVariable:()=>ts,highlightHtmlStyles:()=>Ed});var dt=class t{constructor(e,o=!0,n=[],i=5e3){this.ctx=e,this.iframes=o,this.exclude=n,this.iframesTimeout=i}static matches(e,o){let n=typeof o=="string"?[o]:o,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,o=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let i=o.filter(a=>a.contains(n)).length>0;o.indexOf(n)===-1&&!i&&o.push(n)}),o}getIframeContents(e,o,n=()=>{}){let i;try{let a=e.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&o(i)}isIframeBlank(e){let o="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===o&&n!==o&&n}observeIframeLoad(e,o,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,o,n))}catch{n()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,o,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,o,n):this.getIframeContents(e,o,n):this.observeIframeLoad(e,o,n)}catch{n()}}waitForIframes(e,o){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||o()})},i=>{i||o()})}forEachIframe(e,o,n,i=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,c=0;a=Array.prototype.slice.call(a);let l=()=>{--s<=0&&i(c)};s||l(),a.forEach(u=>{t.matches(u,this.exclude)?l():this.onIframeReady(u,h=>{o(u)&&(c++,n(h)),l()},l)})}createIterator(e,o,n){return document.createNodeIterator(e,o,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,o,n){let i=e.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(o!==null){let s=o.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_FOLLOWING;if(s&c)return!0}else return!0;return!1}getIteratorNode(e){let o=e.previousNode(),n;return o===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:o,node:n}}checkIframeFilter(e,o,n,i){let a=!1,s=!1;return i.forEach((c,l)=>{c.val===n&&(a=l,s=c.handled)}),this.compareNodeIframe(e,o,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(e,o,n,i){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(o,n,i)})})}iterateThroughNodes(e,o,n,i,a){let s=this.createIterator(o,e,i),c=[],l=[],u,h,f=()=>({prevNode:h,node:u}=this.getIteratorNode(s),u);for(;f();)this.iframes&&this.forEachIframe(o,y=>this.checkIframeFilter(u,h,y,c),y=>{this.createInstanceOnIframe(y).forEachNode(e,g=>l.push(g),i)}),l.push(u);l.forEach(y=>{n(y)}),this.iframes&&this.handleOpenIframes(c,e,n,i),a()}forEachNode(e,o,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(c=>{let l=()=>{this.iterateThroughNodes(e,c,o,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(c,l):l()})}};var hr=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 dt(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,o="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[o]=="function"&&n[o](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let o=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in o)if(o.hasOwnProperty(a)){let s=o[a],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);c!==""&&l!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(l)})`,`gm${n}`),i+`(${this.processSynomyms(c)}|${this.processSynomyms(l)})`+i))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,o=>o.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,o=>o.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let o=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(o,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?o:o+"\0"})}createJoinersRegExp(e){let o=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&o.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?e.split(/\u0000+/).join(`[${o.join("")}]*`):e}createDiacriticsRegExp(e){let o=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return e.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${o}`),`[${s}]`),i.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let o="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(c=>{s+=`|${this.escapeStr(c)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(o)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let o=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&o.indexOf(i)===-1&&o.push(i)}):n.trim()&&o.indexOf(n)===-1&&o.push(n)}),{keywords:o.sort((n,i)=>i.length-n.length),length:o.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let o=[],n=0;return e.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:c}=this.callNoMatchOnInvalidRanges(i,n);c&&(i.start=a,i.length=s-a,o.push(i),n=s)}),o}callNoMatchOnInvalidRanges(e,o){let n,i,a=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-o>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:i,valid:a}}checkWhitespaceRanges(e,o,n){let i,a=!0,s=n.length,c=o-s,l=parseInt(e.start,10)-c;return l=l>s?s:l,i=l+parseInt(e.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),l<0||i-l<0||l>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(l,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:l,end:i,valid:a}}getTextNodes(e){let o="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:o.length,end:(o+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:o,nodes:n})})}matchesExclude(e){return dt.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,o,n){let i=this.opt.element?this.opt.element:"mark",a=e.splitText(o),s=a.splitText(n-o),c=document.createElement(i);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=a.textContent,a.parentNode.replaceChild(c,a),s}wrapRangeInMappedTextNode(e,o,n,i,a){e.nodes.every((s,c)=>{let l=e.nodes[c+1];if(typeof l>"u"||l.start>o){if(!i(s.node))return!1;let u=o-s.start,h=(n>s.end?s.end:n)-s.start,f=e.value.substr(0,s.start),y=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,u,h),e.value=f+y,e.nodes.forEach((g,b)=>{b>=c&&(e.nodes[b].start>0&&b!==c&&(e.nodes[b].start-=h),e.nodes[b].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)o=s.end;else return!1}return!0})}wrapMatches(e,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(c=>{c.nodes.forEach(l=>{l=l.node;let u;for(;(u=e.exec(l.textContent))!==null&&u[s]!=="";){if(!n(u[s],l))continue;let h=u.index;if(s!==0)for(let f=1;f<s;f++)h+=u[f].length;l=this.wrapRangeInTextNode(l,h,h+u[s].length),i(l.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(c=>{let l;for(;(l=e.exec(c.value))!==null&&l[s]!=="";){let u=l.index;if(s!==0)for(let f=1;f<s;f++)u+=l[f].length;let h=u+l[s].length;this.wrapRangeInMappedTextNode(c,u,h,f=>n(l[s],f),(f,y)=>{e.lastIndex=y,i(f)})}a()})}wrapRangeFromIndex(e,o,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((c,l)=>{let{start:u,end:h,valid:f}=this.checkWhitespaceRanges(c,s,a.value);f&&this.wrapRangeInMappedTextNode(a,u,h,y=>o(y,c,a.value.substring(u,h),l),y=>{n(y,c)})}),i()})}unwrapMatches(e){let o=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));o.replaceChild(n,e),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,o){this.opt=o,this.log(`Searching with expression "${e}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(s,c)=>this.opt.filter(c,s,n),a,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,o){this.opt=o;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),c=this.opt.caseSensitive?"":"i",l=u=>{let h=new RegExp(this.createRegExp(u),`gm${c}`),f=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(y,g)=>this.opt.filter(g,u,n,f),y=>{f++,n++,this.opt.each(y)},()=>{f===0&&this.opt.noMatch(u),a[s-1]===u?this.opt.done(n):l(a[a.indexOf(u)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):l(a[0])}markRanges(e,o){this.opt=o;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,c,l)=>this.opt.filter(a,s,c,l),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=dt.matches(n,o),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Bn(t){let e=new hr(t);return this.mark=(o,n)=>(e.mark(o,n),this),this.markRegExp=(o,n)=>(e.markRegExp(o,n),this),this.markRanges=(o,n)=>(e.markRanges(o,n),this),this.unmark=o=>(e.unmark(o),this),this}var Od=Bn,ts=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Ed=L`
8
8
  .highlight-html-match {
9
- background: ${Ja};
9
+ background: ${ts};
10
10
  }
11
- `;function gd(r,e,o){var n,i;let a=r.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let s=new md(r);if(s.unmark(),e&&e.trim()){let c={className:(n=o?.className)!==null&&n!==void 0?n:"highlight-html-match"};o?.attributes!=null&&(c.each=u=>{for(let h in o.attributes)u.setAttribute(h,o.attributes[h])}),s.mark(e.replace(/"[^"]+"/g,""),{...c,separateWordSearch:!0}),((i=e.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(u=>s.mark(u.replace(/"/g,""),{...c,separateWordSearch:!1}))}}r.setAttribute("data-highlight-html-query",e??"")}var kn={};D(kn,{noTextInputDefaultClearButton:()=>Sd,noTextSelect:()=>bd,safariEllipsisFix:()=>vd,wordWrap:()=>xd});var bd=P`
11
+ `;function wd(t,e,o){var n,i;let a=t.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let s=new Od(t);if(s.unmark(),e&&e.trim()){let c={className:(n=o?.className)!==null&&n!==void 0?n:"highlight-html-match"};o?.attributes!=null&&(c.each=u=>{for(let h in o.attributes)u.setAttribute(h,o.attributes[h])}),s.mark(e.replace(/"[^"]+"/g,""),{...c,separateWordSearch:!0}),((i=e.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(u=>s.mark(u.replace(/"/g,""),{...c,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var zn={};B(zn,{noTextInputDefaultClearButton:()=>Nd,noTextSelect:()=>Cd,safariEllipsisFix:()=>Rd,wordWrap:()=>Ad});var Cd=L`
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.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
17
17
  -ms-user-select: none;
18
18
  user-select: none;
19
19
  }
20
- `,xd=P`
20
+ `,Ad=L`
21
21
  .ft-word-wrap {
22
22
  white-space: normal;
23
23
  word-wrap: break-word;
@@ -29,7 +29,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
29
29
  -webkit-hyphens: auto;
30
30
  hyphens: auto
31
31
  }
32
- `,vd=P`
32
+ `,Rd=L`
33
33
  .ft-safari-ellipsis-fix {
34
34
  margin-right: 0;
35
35
 
@@ -40,15 +40,15 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
40
40
  display: inline-block;
41
41
  width: 0;
42
42
  }
43
- `,Sd=P`
43
+ `,Nd=L`
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 Xa={};var Dn={};D(Dn,{ParametrizedLabelResolver:()=>Un});var Un=class r{constructor(e,o){this.defaultLabels=e,this.labels=o}resolve(e,...o){var n,i;e=this.resolvePluralKey(e,o);let a=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return r.replaceParameters(a,...o)}static replaceParameters(e,...o){return o.forEach((n,i)=>e=e.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(a,s)=>r.formatValue(n,s))),e}resolvePluralKey(e,o){for(let n of o)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}static formatValue(e,o){return e instanceof Date?r.formatDate(e,o):e??""}static formatDate(e,o){let n=i=>o?.includes("date")?e.toLocaleDateString(i):o?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var ui={};D(ui,{FtCommandQueue:()=>cr,FtLitElementRedux:()=>vt,FtReduxStore:()=>di,clearAllStores:()=>su,isFtReduxStore:()=>lt,redux:()=>Ed,reduxEventListener:()=>wd,reduxReactive:()=>Od});var Od=()=>(r,e)=>{var o;let n=r.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(e)},Ed=r=>{let e=r??{};return(o,n)=>{var i;let a={hasChanged:Yt,attribute:!1,...e};T(a)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:c=>c[n],store:e.store})}},wd=r=>(e,o)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,r)};var cr=class{constructor(){this.queue=[]}add(e,o=!1){o&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let o=this.queue.find(n=>n.type===e);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}};function lt(r){var e;return(e=r?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Qa,es,ts,Gr=Symbol("internalReduxEventsUnsubscribers"),De=Symbol("internalStoresUnsubscribers"),dt=Symbol("internalStores"),vt=class extends q{constructor(){super(...arguments),this[Qa]=new Map,this[es]=new Map,this[ts]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(o=>e.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[dt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[dt].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[dt].get(e)}addStore(e,o){var n;o=(n=o??(lt(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,e)}removeStore(e){let o=typeof e=="string"?e:e.name;this.unsubscribeFromStore(o),this[dt].delete(o)}setupStore(e,o){this[dt].set(e,o),this.subscribeToStore(e,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[dt].forEach((e,o)=>this.subscribeToStore(o,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let i=this.getStore(e.store);i&&(e.store?this[De].has(e.store):this[De].size>0)&&(this[o]=e.selector(i.getState(),this))}})}subscribeToStore(e,o){var n;this[De].set(e,o.subscribe(()=>this.updateFromStores())),lt(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||o.name===i.store)){let s=c=>this[a](c);o.eventBus.addEventListener(i.eventName,s),this[Gr].push(()=>o.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[De].forEach((e,o)=>this.unsubscribeFromStore(o)),this[Gr].forEach(e=>e()),this[Gr]=[]}unsubscribeFromStore(e){this[De].has(e)&&this[De].get(e)(),this[De].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Qa=De,es=dt,ts=Gr;vt.reduxProperties=new Map;vt.reduxReactiveProperties=new Set;vt.reduxEventListeners=new Map;function se(r){for(var e=arguments.length,o=Array(e>1?e-1:0),n=1;n<e;n++)o[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+r+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Re(r){return!!r&&!!r[j]}function de(r){var e;return!!r&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===Td}(r)||Array.isArray(r)||!!r[cs]||!!(!((e=r.constructor)===null||e===void 0)&&e[cs])||Gn(r)||Zn(r))}function ut(r,e,o){o===void 0&&(o=!1),Et(r)===0?(o?Object.keys:Ot)(r).forEach(function(n){o&&typeof n=="symbol"||e(n,r[n],r)}):r.forEach(function(n,i){return e(i,n,r)})}function Et(r){var e=r[j];return e?e.i>3?e.i-4:e.i:Array.isArray(r)?1:Gn(r)?2:Zn(r)?3:0}function St(r,e){return Et(r)===2?r.has(e):Object.prototype.hasOwnProperty.call(r,e)}function Cd(r,e){return Et(r)===2?r.get(e):r[e]}function ls(r,e,o){var n=Et(r);n===2?r.set(e,o):n===3?r.add(o):r[e]=o}function ds(r,e){return r===e?r!==0||1/r==1/e:r!=r&&e!=e}function Gn(r){return Id&&r instanceof Map}function Zn(r){return Pd&&r instanceof Set}function Me(r){return r.o||r.t}function qn(r){if(Array.isArray(r))return Array.prototype.slice.call(r);var e=fs(r);delete e[j];for(var o=Ot(e),n=0;n<o.length;n++){var i=o[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:r[i]})}return Object.create(Object.getPrototypeOf(r),e)}function Yn(r,e){return e===void 0&&(e=!1),Jn(r)||Re(r)||!de(r)||(Et(r)>1&&(r.set=r.add=r.clear=r.delete=Ad),Object.freeze(r),e&&ut(r,function(o,n){return Yn(n,!0)},!0)),r}function Ad(){se(2)}function Jn(r){return r==null||typeof r!="object"||Object.isFrozen(r)}function ye(r){var e=Kn[r];return e||se(18,r),e}function Rd(r,e){Kn[r]||(Kn[r]=e)}function Hn(){return dr}function Mn(r,e){e&&(ye("Patches"),r.u=[],r.s=[],r.v=e)}function Zr(r){jn(r),r.p.forEach(Nd),r.p=null}function jn(r){r===dr&&(dr=r.l)}function rs(r){return dr={p:[],l:dr,h:r,m:!0,_:0}}function Nd(r){var e=r[j];e.i===0||e.i===1?e.j():e.g=!0}function Bn(r,e){e._=e.p.length;var o=e.p[0],n=r!==void 0&&r!==o;return e.h.O||ye("ES5").S(e,r,n),n?(o[j].P&&(Zr(e),se(4)),de(r)&&(r=qr(e,r),e.l||Yr(e,r)),e.u&&ye("Patches").M(o[j].t,r,e.u,e.s)):r=qr(e,o,[]),Zr(e),e.u&&e.v(e.u,e.s),r!==ps?r:void 0}function qr(r,e,o){if(Jn(e))return e;var n=e[j];if(!n)return ut(e,function(c,l){return os(r,n,e,c,l,o)},!0),e;if(n.A!==r)return e;if(!n.P)return Yr(r,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=qn(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),ut(a,function(c,l){return os(r,n,i,c,l,o,s)}),Yr(r,i,!1),o&&r.u&&ye("Patches").N(n,o,r.u,r.s)}return n.o}function os(r,e,o,n,i,a,s){if(Re(i)){var c=qr(r,i,a&&e&&e.i!==3&&!St(e.R,n)?a.concat(n):void 0);if(ls(o,n,c),!Re(c))return;r.m=!1}else s&&o.add(i);if(de(i)&&!Jn(i)){if(!r.h.D&&r._<1)return;qr(r,i),e&&e.A.l||Yr(r,i)}}function Yr(r,e,o){o===void 0&&(o=!1),!r.l&&r.h.D&&r.m&&Yn(e,o)}function Wn(r,e){var o=r[j];return(o?Me(o):r)[e]}function ns(r,e){if(e in r)for(var o=Object.getPrototypeOf(r);o;){var n=Object.getOwnPropertyDescriptor(o,e);if(n)return n;o=Object.getPrototypeOf(o)}}function Be(r){r.P||(r.P=!0,r.l&&Be(r.l))}function zn(r){r.o||(r.o=qn(r.t))}function Vn(r,e,o){var n=Gn(e)?ye("MapSet").F(e,o):Zn(e)?ye("MapSet").T(e,o):r.O?function(i,a){var s=Array.isArray(i),c={i:s?1:0,A:a?a.A:Hn(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},l=c,u=ur;s&&(l=[c],u=lr);var h=Proxy.revocable(l,u),f=h.revoke,y=h.proxy;return c.k=y,c.j=f,y}(e,o):ye("ES5").J(e,o);return(o?o.A:Hn()).p.push(n),n}function _d(r){return Re(r)||se(22,r),function e(o){if(!de(o))return o;var n,i=o[j],a=Et(o);if(i){if(!i.P&&(i.i<4||!ye("ES5").K(i)))return i.t;i.I=!0,n=is(o,a),i.I=!1}else n=is(o,a);return ut(n,function(s,c){i&&Cd(i.t,s)===c||ls(n,s,e(c))}),a===3?new Set(n):n}(r)}function is(r,e){switch(e){case 2:return new Map(r);case 3:return Array.from(r)}return qn(r)}function us(){function r(s,c){var l=a[s];return l?l.enumerable=c:a[s]=l={configurable:!0,enumerable:c,get:function(){var u=this[j];return ur.get(u,s)},set:function(u){var h=this[j];ur.set(h,s,u)}},l}function e(s){for(var c=s.length-1;c>=0;c--){var l=s[c][j];if(!l.P)switch(l.i){case 5:n(l)&&Be(l);break;case 4:o(l)&&Be(l)}}}function o(s){for(var c=s.t,l=s.k,u=Ot(l),h=u.length-1;h>=0;h--){var f=u[h];if(f!==j){var y=c[f];if(y===void 0&&!St(c,f))return!0;var g=l[f],b=g&&g[j];if(b?b.t!==y:!ds(g,y))return!0}}var O=!!c[j];return u.length!==Ot(c).length+(O?0:1)}function n(s){var c=s.k;if(c.length!==s.t.length)return!0;var l=Object.getOwnPropertyDescriptor(c,c.length-1);if(l&&!l.get)return!0;for(var u=0;u<c.length;u++)if(!c.hasOwnProperty(u))return!0;return!1}function i(s){s.g&&se(3,JSON.stringify(Me(s)))}var a={};Rd("ES5",{J:function(s,c){var l=Array.isArray(s),u=function(f,y){if(f){for(var g=Array(y.length),b=0;b<y.length;b++)Object.defineProperty(g,""+b,r(b,!0));return g}var O=fs(y);delete O[j];for(var A=Ot(O),w=0;w<A.length;w++){var C=A[w];O[C]=r(C,f||!!O[C].enumerable)}return Object.create(Object.getPrototypeOf(y),O)}(l,s),h={i:l?5:4,A:c?c.A:Hn(),P:!1,I:!1,R:{},l:c,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,j,{value:h,writable:!0}),u},S:function(s,c,l){l?Re(c)&&c[j].A===s&&e(s.p):(s.u&&function u(h){if(h&&typeof h=="object"){var f=h[j];if(f){var y=f.t,g=f.k,b=f.R,O=f.i;if(O===4)ut(g,function(S){S!==j&&(y[S]!==void 0||St(y,S)?b[S]||u(g[S]):(b[S]=!0,Be(f)))}),ut(y,function(S){g[S]!==void 0||St(g,S)||(b[S]=!1,Be(f))});else if(O===5){if(n(f)&&(Be(f),b.length=!0),g.length<y.length)for(var A=g.length;A<y.length;A++)b[A]=!1;else for(var w=y.length;w<g.length;w++)b[w]=!0;for(var C=Math.min(g.length,y.length),v=0;v<C;v++)g.hasOwnProperty(v)||(b[v]=!0),b[v]===void 0&&u(g[v])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var as,dr,Xn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Id=typeof Map<"u",Pd=typeof Set<"u",ss=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",ps=Xn?Symbol.for("immer-nothing"):((as={})["immer-nothing"]=!0,as),cs=Xn?Symbol.for("immer-draftable"):"__$immer_draftable",j=Xn?Symbol.for("immer-state"):"__$immer_state";var Td=""+Object.prototype.constructor,Ot=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(r){return Object.getOwnPropertyNames(r).concat(Object.getOwnPropertySymbols(r))}:Object.getOwnPropertyNames,fs=Object.getOwnPropertyDescriptors||function(r){var e={};return Ot(r).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(r,o)}),e},Kn={},ur={get:function(r,e){if(e===j)return r;var o=Me(r);if(!St(o,e))return function(i,a,s){var c,l=ns(a,s);return l?"value"in l?l.value:(c=l.get)===null||c===void 0?void 0:c.call(i.k):void 0}(r,o,e);var n=o[e];return r.I||!de(n)?n:n===Wn(r.t,e)?(zn(r),r.o[e]=Vn(r.A.h,n,r)):n},has:function(r,e){return e in Me(r)},ownKeys:function(r){return Reflect.ownKeys(Me(r))},set:function(r,e,o){var n=ns(Me(r),e);if(n?.set)return n.set.call(r.k,o),!0;if(!r.P){var i=Wn(Me(r),e),a=i?.[j];if(a&&a.t===o)return r.o[e]=o,r.R[e]=!1,!0;if(ds(o,i)&&(o!==void 0||St(r.t,e)))return!0;zn(r),Be(r)}return r.o[e]===o&&(o!==void 0||e in r.o)||Number.isNaN(o)&&Number.isNaN(r.o[e])||(r.o[e]=o,r.R[e]=!0),!0},deleteProperty:function(r,e){return Wn(r.t,e)!==void 0||e in r.t?(r.R[e]=!1,zn(r),Be(r)):delete r.R[e],r.o&&delete r.o[e],!0},getOwnPropertyDescriptor:function(r,e){var o=Me(r),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{writable:!0,configurable:r.i!==1||e!=="length",enumerable:n.enumerable,value:o[e]}},defineProperty:function(){se(11)},getPrototypeOf:function(r){return Object.getPrototypeOf(r.t)},setPrototypeOf:function(){se(12)}},lr={};ut(ur,function(r,e){lr[r]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),lr.deleteProperty=function(r,e){return lr.set.call(this,r,e,void 0)},lr.set=function(r,e,o){return ur.set.call(this,r[0],e,o,r[0])};var Ld=function(){function r(o){var n=this;this.O=ss,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var c=a;a=i;var l=n;return function(O){var A=this;O===void 0&&(O=c);for(var w=arguments.length,C=Array(w>1?w-1:0),v=1;v<w;v++)C[v-1]=arguments[v];return l.produce(O,function(S){var E;return(E=a).call.apply(E,[A,S].concat(C))})}}var u;if(typeof a!="function"&&se(6),s!==void 0&&typeof s!="function"&&se(7),de(i)){var h=rs(n),f=Vn(n,i,void 0),y=!0;try{u=a(f),y=!1}finally{y?Zr(h):jn(h)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(O){return Mn(h,s),Bn(O,h)},function(O){throw Zr(h),O}):(Mn(h,s),Bn(u,h))}if(!i||typeof i!="object"){if((u=a(i))===void 0&&(u=i),u===ps&&(u=void 0),n.D&&Yn(u,!0),s){var g=[],b=[];ye("Patches").M(i,u,g,b),s(g,b)}return u}se(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(u){for(var h=arguments.length,f=Array(h>1?h-1:0),y=1;y<h;y++)f[y-1]=arguments[y];return n.produceWithPatches(u,function(g){return i.apply(void 0,[g].concat(f))})};var s,c,l=n.produce(i,a,function(u,h){s=u,c=h});return typeof Promise<"u"&&l instanceof Promise?l.then(function(u){return[u,s,c]}):[l,s,c]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var e=r.prototype;return e.createDraft=function(o){de(o)||se(8),Re(o)&&(o=_d(o));var n=rs(this),i=Vn(this,o,void 0);return i[j].C=!0,jn(n),i},e.finishDraft=function(o,n){var i=o&&o[j],a=i.A;return Mn(a,n),Bn(void 0,a)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!ss&&se(20),this.O=o},e.applyPatches=function(o,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){o=a.value;break}}i>-1&&(n=n.slice(i+1));var s=ye("Patches").$;return Re(o)?s(o,n):this.produce(o,function(c){return s(c,n)})},r}(),ne=new Ld,$d=ne.produce,Ay=ne.produceWithPatches.bind(ne),Ry=ne.setAutoFreeze.bind(ne),Ny=ne.setUseProxies.bind(ne),_y=ne.applyPatches.bind(ne),Iy=ne.createDraft.bind(ne),Py=ne.finishDraft.bind(ne),Jr=$d;function We(r){"@babel/helpers - typeof";return We=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},We(r)}function Qn(r,e){if(We(r)!=="object"||r===null)return r;var o=r[Symbol.toPrimitive];if(o!==void 0){var n=o.call(r,e||"default");if(We(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function ei(r){var e=Qn(r,"string");return We(e)==="symbol"?e:String(e)}function ti(r,e,o){return e=ei(e),e in r?Object.defineProperty(r,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[e]=o,r}function hs(r,e){var o=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable})),o.push.apply(o,n)}return o}function Xr(r){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?hs(Object(o),!0).forEach(function(n){ti(r,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):hs(Object(o)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(o,n))})}return r}function X(r){return"Minified Redux error #"+r+"; visit https://redux.js.org/Errors?code="+r+" for the full message or use the non-minified dev environment for full errors. "}var ms=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ri=function(){return Math.random().toString(36).substring(7).split("").join(".")},Qr={INIT:"@@redux/INIT"+ri(),REPLACE:"@@redux/REPLACE"+ri(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ri()}};function Fd(r){if(typeof r!="object"||r===null)return!1;for(var e=r;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(r)===e}function oi(r,e,o){var n;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(X(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(X(1));return o(oi)(r,e)}if(typeof r!="function")throw new Error(X(2));var i=r,a=e,s=[],c=s,l=!1;function u(){c===s&&(c=s.slice())}function h(){if(l)throw new Error(X(3));return a}function f(O){if(typeof O!="function")throw new Error(X(4));if(l)throw new Error(X(5));var A=!0;return u(),c.push(O),function(){if(A){if(l)throw new Error(X(6));A=!1,u();var C=c.indexOf(O);c.splice(C,1),s=null}}}function y(O){if(!Fd(O))throw new Error(X(7));if(typeof O.type>"u")throw new Error(X(8));if(l)throw new Error(X(9));try{l=!0,a=i(a,O)}finally{l=!1}for(var A=s=c,w=0;w<A.length;w++){var C=A[w];C()}return O}function g(O){if(typeof O!="function")throw new Error(X(10));i=O,y({type:Qr.REPLACE})}function b(){var O,A=f;return O={subscribe:function(C){if(typeof C!="object"||C===null)throw new Error(X(11));function v(){C.next&&C.next(h())}v();var S=A(v);return{unsubscribe:S}}},O[ms]=function(){return this},O}return y({type:Qr.INIT}),n={dispatch:y,subscribe:f,getState:h,replaceReducer:g},n[ms]=b,n}function kd(r){Object.keys(r).forEach(function(e){var o=r[e],n=o(void 0,{type:Qr.INIT});if(typeof n>"u")throw new Error(X(12));if(typeof o(void 0,{type:Qr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(X(13))})}function ys(r){for(var e=Object.keys(r),o={},n=0;n<e.length;n++){var i=e[n];typeof r[i]=="function"&&(o[i]=r[i])}var a=Object.keys(o),s,c;try{kd(o)}catch(l){c=l}return function(u,h){if(u===void 0&&(u={}),c)throw c;if(0)var f;for(var y=!1,g={},b=0;b<a.length;b++){var O=a[b],A=o[O],w=u[O],C=A(w,h);if(typeof C>"u"){var v=h&&h.type;throw new Error(X(14))}g[O]=C,y=y||C!==w}return y=y||a.length!==Object.keys(u).length,y?g:u}}function wt(){for(var r=arguments.length,e=new Array(r),o=0;o<r;o++)e[o]=arguments[o];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function gs(){for(var r=arguments.length,e=new Array(r),o=0;o<r;o++)e[o]=arguments[o];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(X(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(l){return l(s)});return a=wt.apply(void 0,c)(i.dispatch),Xr(Xr({},i),{},{dispatch:a})}}}function bs(r){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(c){return typeof c=="function"?c(i,a,r):s(c)}}};return e}var xs=bs();xs.withExtraArgument=bs;var ni=xs;var ws=function(){var r=function(e,o){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},r(e,o)};return function(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");r(e,o);function n(){this.constructor=e}e.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),Ud=function(r,e){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(u){return function(h){return l([u,h])}}function l(u){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(a=u[0]&2?i.return:u[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;switch(i=0,a&&(u=[u[0]&2,a.value]),u[0]){case 0:case 1:a=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,i=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){o.label=u[1];break}if(u[0]===6&&o.label<a[1]){o.label=a[1],a=u;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(u);break}a[2]&&o.ops.pop(),o.trys.pop();continue}u=e.call(r,o)}catch(h){u=[6,h],i=0}finally{n=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Ct=function(r,e){for(var o=0,n=e.length,i=r.length;o<n;o++,i++)r[i]=e[o];return r},Dd=Object.defineProperty,Md=Object.defineProperties,Bd=Object.getOwnPropertyDescriptors,vs=Object.getOwnPropertySymbols,Wd=Object.prototype.hasOwnProperty,zd=Object.prototype.propertyIsEnumerable,Ss=function(r,e,o){return e in r?Dd(r,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):r[e]=o},ze=function(r,e){for(var o in e||(e={}))Wd.call(e,o)&&Ss(r,o,e[o]);if(vs)for(var n=0,i=vs(e);n<i.length;n++){var o=i[n];zd.call(e,o)&&Ss(r,o,e[o])}return r},ii=function(r,e){return Md(r,Bd(e))},Hd=function(r,e,o){return new Promise(function(n,i){var a=function(l){try{c(o.next(l))}catch(u){i(u)}},s=function(l){try{c(o.throw(l))}catch(u){i(u)}},c=function(l){return l.done?n(l.value):Promise.resolve(l.value).then(a,s)};c((o=o.apply(r,e)).next())})};var jd=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?wt:wt.apply(null,arguments)},qy=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(r){return r}};function Vd(r){if(typeof r!="object"||r===null)return!1;var e=Object.getPrototypeOf(r);if(e===null)return!0;for(var o=e;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return e===o}var Kd=function(r){ws(e,r);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=r.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return r.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,Ct([void 0],o[0].concat(this)))):new(e.bind.apply(e,Ct([void 0],o.concat(this))))},e}(Array),Gd=function(r){ws(e,r);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=r.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return r.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,Ct([void 0],o[0].concat(this)))):new(e.bind.apply(e,Ct([void 0],o.concat(this))))},e}(Array);function ci(r){return de(r)?Jr(r,function(){}):r}function Zd(r){return typeof r=="boolean"}function qd(){return function(e){return Yd(e)}}function Yd(r){r===void 0&&(r={});var e=r.thunk,o=e===void 0?!0:e,n=r.immutableCheck,i=n===void 0?!0:n,a=r.serializableCheck,s=a===void 0?!0:a,c=new Kd;if(o&&(Zd(o)?c.push(ni):c.push(ni.withExtraArgument(o.extraArgument))),0){if(i)var l;if(s)var u}return c}var ai=!0;function Cs(r){var e=qd(),o=r||{},n=o.reducer,i=n===void 0?void 0:n,a=o.middleware,s=a===void 0?e():a,c=o.devTools,l=c===void 0?!0:c,u=o.preloadedState,h=u===void 0?void 0:u,f=o.enhancers,y=f===void 0?void 0:f,g;if(typeof i=="function")g=i;else if(Vd(i))g=ys(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var b=s;if(typeof b=="function"&&(b=b(e),!ai&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!ai&&b.some(function(S){return typeof S!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=gs.apply(void 0,b),A=wt;l&&(A=jd(ze({trace:!ai},typeof l=="object"&&l)));var w=new Gd(O),C=w;Array.isArray(y)?C=Ct([O],y):typeof y=="function"&&(C=y(w));var v=A.apply(void 0,C);return oi(g,h,v)}function He(r,e){function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return ze(ze({type:r,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:r,payload:n[0]}}return o.toString=function(){return""+r},o.type=r,o.match=function(n){return n.type===r},o}function As(r){var e={},o=[],n,i={addCase:function(a,s){var c=typeof a=="string"?a:a.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=s,i},addMatcher:function(a,s){return o.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return r(i),[e,o,n]}function Jd(r){return typeof r=="function"}function Xd(r,e,o,n){o===void 0&&(o=[]);var i=typeof e=="function"?As(e):[e,o,n],a=i[0],s=i[1],c=i[2],l;if(Jd(r))l=function(){return ci(r())};else{var u=ci(r);l=function(){return u}}function h(f,y){f===void 0&&(f=l());var g=Ct([a[y.type]],s.filter(function(b){var O=b.matcher;return O(y)}).map(function(b){var O=b.reducer;return O}));return g.filter(function(b){return!!b}).length===0&&(g=[c]),g.reduce(function(b,O){if(O)if(Re(b)){var A=b,w=O(A,y);return w===void 0?b:w}else{if(de(b))return Jr(b,function(C){return O(C,y)});var w=O(b,y);if(w===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return w}return b},f)}return h.getInitialState=l,h}function Qd(r,e){return r+"/"+e}function Rs(r){var e=r.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof r.initialState=="function"?r.initialState:ci(r.initialState),n=r.reducers||{},i=Object.keys(n),a={},s={},c={};i.forEach(function(h){var f=n[h],y=Qd(e,h),g,b;"reducer"in f?(g=f.reducer,b=f.prepare):g=f,a[h]=g,s[y]=g,c[h]=b?He(y,b):He(y)});function l(){var h=typeof r.extraReducers=="function"?As(r.extraReducers):[r.extraReducers],f=h[0],y=f===void 0?{}:f,g=h[1],b=g===void 0?[]:g,O=h[2],A=O===void 0?void 0:O,w=ze(ze({},y),s);return Xd(o,function(C){for(var v in w)C.addCase(v,w[v]);for(var S=0,E=b;S<E.length;S++){var I=E[S];C.addMatcher(I.matcher,I.reducer)}A&&C.addDefaultCase(A)})}var u;return{name:e,reducer:function(h,f){return u||(u=l()),u(h,f)},actions:c,caseReducers:a,getInitialState:function(){return u||(u=l()),u.getInitialState()}}}var eu="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",tu=function(r){r===void 0&&(r=21);for(var e="",o=r;o--;)e+=eu[Math.random()*64|0];return e},ru=["name","message","stack","code"],si=function(){function r(e,o){this.payload=e,this.meta=o}return r}(),Os=function(){function r(e,o){this.payload=e,this.meta=o}return r}(),ou=function(r){if(typeof r=="object"&&r!==null){for(var e={},o=0,n=ru;o<n.length;o++){var i=n[o];typeof r[i]=="string"&&(e[i]=r[i])}return e}return{message:String(r)}},Qy=function(){function r(e,o,n){var i=He(e+"/fulfilled",function(h,f,y,g){return{payload:h,meta:ii(ze({},g||{}),{arg:y,requestId:f,requestStatus:"fulfilled"})}}),a=He(e+"/pending",function(h,f,y){return{payload:void 0,meta:ii(ze({},y||{}),{arg:f,requestId:h,requestStatus:"pending"})}}),s=He(e+"/rejected",function(h,f,y,g,b){return{payload:g,error:(n&&n.serializeError||ou)(h||"Rejected"),meta:ii(ze({},b||{}),{arg:y,requestId:f,rejectedWithValue:!!g,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),c=!1,l=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function u(h){return function(f,y,g){var b=n?.idGenerator?n.idGenerator(h):tu(),O=new l,A,w=!1;function C(S){A=S,O.abort()}var v=function(){return Hd(this,null,function(){var S,E,I,k,B,U,N;return Ud(this,function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),k=(S=n?.condition)==null?void 0:S.call(n,h,{getState:y,extra:g}),iu(k)?[4,k]:[3,2];case 1:k=m.sent(),m.label=2;case 2:if(k===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return w=!0,B=new Promise(function(x,R){return O.signal.addEventListener("abort",function(){return R({name:"AbortError",message:A||"Aborted"})})}),f(a(b,h,(E=n?.getPendingMeta)==null?void 0:E.call(n,{requestId:b,arg:h},{getState:y,extra:g}))),[4,Promise.race([B,Promise.resolve(o(h,{dispatch:f,getState:y,extra:g,requestId:b,signal:O.signal,abort:C,rejectWithValue:function(x,R){return new si(x,R)},fulfillWithValue:function(x,R){return new Os(x,R)}})).then(function(x){if(x instanceof si)throw x;return x instanceof Os?i(x.payload,b,h,x.meta):i(x,b,h)})])];case 3:return I=m.sent(),[3,5];case 4:return U=m.sent(),I=U instanceof si?s(null,b,h,U.payload,U.meta):s(U,b,h),[3,5];case 5:return N=n&&!n.dispatchConditionRejection&&s.match(I)&&I.meta.condition,N||f(I),[2,I]}})})}();return Object.assign(v,{abort:C,requestId:b,arg:h,unwrap:function(){return v.then(nu)}})}}return Object.assign(u,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return r.withTypes=function(){return r},r}();function nu(r){if(r.meta&&r.meta.rejectedWithValue)throw r.payload;if(r.error)throw r.error;return r.payload}function iu(r){return r!==null&&typeof r=="object"&&typeof r.then=="function"}var Ns="listener",_s="completed",Is="cancelled",eg="task-"+Is,tg="task-"+_s,rg=Ns+"-"+Is,og=Ns+"-"+_s;var li="listenerMiddleware";var ng=He(li+"/add"),ig=He(li+"/removeAll"),ag=He(li+"/remove");var Es,sg=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(r){return(Es||(Es=Promise.resolve())).then(r).catch(function(e){return setTimeout(function(){throw e},0)})},au=function(r){return function(e){setTimeout(e,r)}},cg=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:au(10);us();window.ftReduxStores||(window.ftReduxStores={});var di=class r{static get(e){var o;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(lt(a))return a;if(i==null)return;let s=Rs({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),c=Cs({reducer:(l,u)=>u.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...l,...u.overwrites}:s.reducer(l,u)});return window.ftReduxStores[i.name]=new r(s,c)}constructor(e,o){this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new cr,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,c=n[s];return c?(...l)=>{let u=c(...l);return this.reduxStore.dispatch(u),u}:l=>{this.setState({[s]:l})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function su(){var r;for(let e of Object.values((r=window.ftReduxStores)!==null&&r!==void 0?r:{}))lt(e)&&e.clear()}var hi={};D(hi,{scrollHelper:()=>cu});var pi,eo=new Map,fi=class{lock(e,o){if(o){let n=eo.get(o);if(n==null||n===e)return eo.set(o,e),o}}release(e,o){o&&eo.get(o)===e&&eo.delete(o)}findFirstScrollableParent(e){let o,n=i=>{var a;i.stopPropagation();let s,c;for(let l of i.composedPath()){let u=l,h=this.elementCanScroll(u);if(h&&u.clientHeight&&u.clientHeight<u.scrollHeight){s=u;break}else h&&c==null&&(c=u)}o=(a=s??c)!==null&&a!==void 0?a:document.body};return e.addEventListener("find-scrollable-parent",n),e.dispatchEvent(new Event("find-scrollable-parent",{composed:!0})),e.removeEventListener("find-scrollable-parent",n),o}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,o){let n=0;for(;o&&o.offsetParent!==e.offsetParent;)n+=o.offsetTop,o=o.offsetParent;return n+o.offsetTop-e.offsetTop}computeTopOffsetRatio(e,o){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return o;default:return 0}}scrollIntoViewIfPossible(e,o){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,e),a=i-n.clientHeight+e.clientHeight,s=i,c=Fo(0,(s-n.scrollTop)/(s-a),1),l=this.computeTopOffsetRatio(o?.position,c)*(a-s)+s;n.scrollTo({behavior:o?.behavior,top:l})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(pi=window.FluidTopicsScrollHelper)!==null&&pi!==void 0?pi:new fi;var cu=window.FluidTopicsScrollHelper;var mi={};D(mi,{shadowQuerySelector:()=>lu,shadowQuerySelectorAll:()=>du});function lu(r,e,...o){var n;let i=r.querySelector(e);for(let a of o)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}function du(r,e,...o){let n=[...r.querySelectorAll(e)];for(let i of o)n=n.flatMap(a=>{var s,c;return[...(c=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(i))!==null&&c!==void 0?c:[]]});return n}var yi={};D(yi,{SearchPlaceConverter:()=>oo,SearchPlaceQueryParams:()=>z,isSearchPlaceQueryParams:()=>Qs,serializeRequest:()=>hu});var uu=Tc(Ts(),1);var Ls;(function(r){r.black="black",r.green="green",r.blue="blue",r.purple="purple",r.red="red",r.orange="orange",r.yellow="yellow"})(Ls||(Ls={}));var $s;(function(r){r.OFFICIAL="OFFICIAL",r.PERSONAL="PERSONAL",r.SHARED="SHARED"})($s||($s={}));var Fs;(function(r){r.THIRD_PARTY="THIRD_PARTY",r.OFF_THE_GRID="OFF_THE_GRID",r.CONTENT_PACKAGER="CONTENT_PACKAGER",r.PAGES="PAGES",r.DESIGNED_READER="DESIGNED_READER"})(Fs||(Fs={}));var ks;(function(r){r.HOMEPAGE="HOMEPAGE",r.CUSTOM="CUSTOM",r.HEADER="HEADER",r.READER="READER",r.TOPIC_TEMPLATE="TOPIC_TEMPLATE",r.SEARCH="SEARCH",r.SEARCH_RESULT="SEARCH_RESULT"})(ks||(ks={}));var Us;(function(r){r.CLASSIC="CLASSIC",r.CUSTOM="CUSTOM",r.DESIGNER="DESIGNER"})(Us||(Us={}));var Ds;(function(r){r.AND="AND",r.OR="OR",r.MONOVALUED="MONOVALUED"})(Ds||(Ds={}));var Ms;(function(r){r.NONE="NONE",r.ALPHABET="ALPHABET",r.VERSION="VERSION"})(Ms||(Ms={}));var Bs;(function(r){r.STARS="STARS",r.LIKE="LIKE",r.DICHOTOMOUS="DICHOTOMOUS",r.NO_RATING="NO_RATING"})(Bs||(Bs={}));var Ws;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR",r.CUSTOM="CUSTOM"})(Ws||(Ws={}));var zs;(function(r){r.ASC="ASC",r.DESC="DESC"})(zs||(zs={}));var Hs;(function(r){r.ALPHA="ALPHA",r.NATURAL="NATURAL"})(Hs||(Hs={}));var js;(function(r){r.EVERYWHERE="EVERYWHERE",r.TITLE_ONLY="TITLE_ONLY",r.NONE="NONE"})(js||(js={}));var Ys=r=>["EVERYWHERE","TITLE_ONLY","NONE"].includes(r);var Vs;(function(r){r.ARTICLE="ARTICLE",r.BOOK="BOOK",r.SHARED_BOOK="SHARED_BOOK"})(Vs||(Vs={}));var Ks;(function(r){r.FLUIDTOPICS="FLUIDTOPICS",r.EXTERNAL="EXTERNAL"})(Ks||(Ks={}));var Gs;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC",r.PERSONAL_BOOK="PERSONAL_BOOK",r.SHARED_BOOK="SHARED_BOOK"})(Gs||(Gs={}));var pr;(function(r){r.LAST_WEEK="LAST_WEEK",r.LAST_MONTH="LAST_MONTH",r.LAST_QUARTER="LAST_QUARTER",r.LAST_YEAR="LAST_YEAR"})(pr||(pr={}));var Js=r=>["LAST_WEEK","LAST_MONTH","LAST_QUARTER","LAST_YEAR"].includes(r);var Zs;(function(r){r.MAP="MAP",r.DOCUMENT="DOCUMENT",r.TOPIC="TOPIC"})(Zs||(Zs={}));var qs;(function(r){r.DEFAULT="DEFAULT",r.DOCUMENTS="DOCUMENTS",r.ALL_TOPICS="ALL_TOPICS"})(qs||(qs={}));var Y;(function(r){r.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",r.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",r.HTML_EXPORT_USER="HTML_EXPORT_USER",r.PDF_EXPORT_USER="PDF_EXPORT_USER",r.SAVED_SEARCH_USER="SAVED_SEARCH_USER",r.COLLECTION_USER="COLLECTION_USER",r.OFFLINE_USER="OFFLINE_USER",r.ANALYTICS_USER="ANALYTICS_USER",r.BETA_USER="BETA_USER",r.DEBUG_USER="DEBUG_USER",r.PRINT_USER="PRINT_USER",r.RATING_USER="RATING_USER",r.FEEDBACK_USER="FEEDBACK_USER",r.GENERATIVE_AI_USER="GENERATIVE_AI_USER",r.CONTENT_PUBLISHER="CONTENT_PUBLISHER",r.KHUB_ADMIN="KHUB_ADMIN",r.USERS_ADMIN="USERS_ADMIN",r.PORTAL_ADMIN="PORTAL_ADMIN",r.ADMIN="ADMIN",r.DEVELOPER="DEVELOPER"})(Y||(Y={}));var Xs;(function(r){r.VALID="VALID",r.INVALID="INVALID"})(Xs||(Xs={}));var Cg={[Y.PERSONAL_BOOK_SHARE_USER]:[Y.PERSONAL_BOOK_USER],[Y.HTML_EXPORT_USER]:[Y.PERSONAL_BOOK_USER],[Y.PDF_EXPORT_USER]:[Y.PERSONAL_BOOK_USER],[Y.KHUB_ADMIN]:[Y.CONTENT_PUBLISHER],[Y.ADMIN]:[Y.KHUB_ADMIN,Y.USERS_ADMIN,Y.PORTAL_ADMIN],[Y.DEVELOPER]:[Y.BETA_USER,Y.DEBUG_USER]};function pu(r){return`"${r}"`}function fu(r){return r.startsWith('"')&&r.endsWith('"')?r.replace(/(^"+)|("+$)/g,""):r}function hu(r,e){return new oo(r,{}).serialize(e)}var z;(function(r){r.LOCALE="content-lang",r.QUERY="query",r.SCOPE="scope",r.FILTERS="filters",r.VIRTUAL_FIELD="virtual-field",r.PERIOD="period",r.VALUE_FILTERS="value-filters",r.DATE_FILTERS="date-filters",r.RANGE_FILTERS="range-filters",r.SORT="sort"})(z||(z={}));var mu=new Set(Object.values(z));function Qs(r){return mu.has(r)}var oo=class{constructor(e,o){this.baseUrl=e,this.predefinedSorts=o,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,o="/search"){let n=this.toURLSearchParams(e).toString();return new URL(`${this.baseUrl.replace(/\/+$/,"")}${o}?${n}`).href}toURLSearchParams(e){var o,n,i,a,s,c,l,u,h,f;let y=new URLSearchParams({[z.LOCALE]:(o=e.contentLocale)!==null&&o!==void 0?o:"all"});((n=e.query)===null||n===void 0?void 0:n.length)>0&&y.append(z.QUERY,e.query),e.scope&&e.scope!=="DEFAULT"&&y.append(z.SCOPE,e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&y.append(z.VIRTUAL_FIELD,e.virtualField.toLowerCase()),((i=e.sort)===null||i===void 0?void 0:i.length)>0&&e.sort[0].key==="ft:lastEdition"&&y.append(z.SORT,"last_update");let g=(s=(a=e.metadataFilters)===null||a===void 0?void 0:a.filter(w=>w.valueFilter))!==null&&s!==void 0?s:[];if(g.length>0){let w=g.map(C=>{var v,S;let E=((S=(v=C.valueFilter)===null||v===void 0?void 0:v.values)!==null&&S!==void 0?S:[]).map(I=>this.escapeFilters(I)).map(I=>encodeURIComponent(pu(I))).join("_");return`${C.key}~${E}`}).join("*");y.append(z.VALUE_FILTERS,w)}let b=(l=(c=e.metadataFilters)===null||c===void 0?void 0:c.filter(w=>w.dateFilter))!==null&&l!==void 0?l:[];if(b.length>0){let w=b.map(C=>{var v;return`${C.key}~${(v=C.dateFilter)===null||v===void 0?void 0:v.type.toLowerCase()}`}).join("*");y.append(z.DATE_FILTERS,w)}let O=(h=(u=e.metadataFilters)===null||u===void 0?void 0:u.filter(w=>w.rangeFilter))!==null&&h!==void 0?h:[];if(O.length>0){let w=O.map(C=>{var v,S;return`${C.key}~${(v=C.rangeFilter)===null||v===void 0?void 0:v.from}_${(S=C.rangeFilter)===null||S===void 0?void 0:S.to}`}).join("*");y.append(z.RANGE_FILTERS,w)}let A=(f=e.otherQueryParams)!==null&&f!==void 0?f:{};for(let w in A)y.append(w,A[w]);return y}parse(e){var o;let n=e.split("?"),i=this.fromURLSearchParams(new URLSearchParams(n.slice(1).join("?"))),a=n[0].split("/search/")[1];return a==null?i:{...i,scope:(o=this.scopeMapping[a])!==null&&o!==void 0?o:i.scope}}fromURLSearchParams(e){var o,n,i,a,s,c,l,u;let h=((o=e.get(z.VIRTUAL_FIELD))!==null&&o!==void 0?o:"EVERYWHERE").toUpperCase(),f=((n=e.get(z.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),y=(i=e.get(z.SCOPE))!==null&&i!==void 0?i:"default",g={};for(let b of e.keys())Qs(b)||(g[b]=e.get(b));return{contentLocale:e.get(z.LOCALE)==="all"?void 0:(a=e.get(z.LOCALE))!==null&&a!==void 0?a:void 0,query:decodeURIComponent((s=e.get(z.QUERY))!==null&&s!==void 0?s:""),scope:(c=this.scopeMapping[y])!==null&&c!==void 0?c:"DEFAULT",virtualField:Ys(h)?h:"EVERYWHERE",sort:(u=(l=this.predefinedSorts[f])!==null&&l!==void 0?l:this.predefinedSorts.DEFAULT)!==null&&u!==void 0?u:[],metadataFilters:this.parseCompatFilters(e),facets:[],paging:{page:1,perPage:20},otherQueryParams:g}}parseCompatFilters(e){var o,n,i,a,s,c;let l=[];return e.has(z.FILTERS)&&(l=this.parseValueFilters((o=e.get(z.FILTERS))!==null&&o!==void 0?o:"")),(n=e.has(z.PERIOD))!==null&&n!==void 0&&n&&(l=[...l,...this.parseLegacyPeriodFilter(((i=e.get(z.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...l,...this.parseValueFilters((a=e.get(z.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(z.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((c=e.get(z.RANGE_FILTERS))!==null&&c!==void 0?c:"")]}splitUnknownFilter(e){return this.superEscapeFilters(decodeURIComponent(e)).split("*").map(o=>o.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],valueFilter:{values:o[1].split("_").map(fu).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],dateFilter:{type:pr[o[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],rangeFilter:{from:o[1].split("_")[0],to:o[1].split("_")[1]}}))}escapeFilters(e){for(let[o,n,i]of this.filtersEscapeMapping)e=e.replaceAll(o,n);return e}superEscapeFilters(e){for(let[o,n,i]of this.filtersEscapeMapping)e=e.replaceAll(n,i);return e}unescapeFilterValue(e){for(let[o,n,i]of this.filtersEscapeMapping)e=e.replace(i,o);return e}parseLegacyPeriodFilter(e){if(Js(e))return[{key:"ft:lastEdition",dateFilter:{type:pr[e]}}];if(e.startsWith("CUSTOM_")){let[o,n,i]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}};var gi={};D(gi,{toFtFormComponent:()=>yu});var no=Symbol("elementInternals");function yu(r,e){class o extends r{static get formAssociated(){return!0}get form(){return this[no].form}constructor(...i){super(i),this[no]=this.attachInternals(),this[no].role=e}setFormValue(i){this[no].setFormValue(i)}}return o}var xi={};D(xi,{DateFormatter:()=>bi});var bi=class{static format(e,o,n,i){return window.moment?window.moment(e).locale(o).format(this.getDateFormat(n,i)):e}static getDateFormat(e,o){return e?o?"lll":"ll":o?"L LT":"L"}};var vi,Si,Oi,Ei,gu=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Oi=(Si=(vi=window.safari)===null||vi===void 0?void 0:vi.pushNotification)===null||Si===void 0?void 0:Si.toString())!==null&&Oi!==void 0?Oi:"")==="[object SafariRemoteNotification]",bu="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Ei=window.ftGlobals)!==null&&Ei!==void 0?Ei:{lit:Oo,litDecorators:Eo,litRepeat:wo,litClassMap:Co,litStyleMap:Ao,litUnsafeHTML:Ro,wcUtils:{...Po,..._o,...Lo,...xi,...$o,...Do,...hn,...bn,..._n,...fn,...Ln,...Pn,...Ya,...ko,...Fn,...kn,...Xa,...Dn,...ui,...In,...hi,...mi,...yi,...gi,isSafari:gu,isTouchScreen:bu,setVariable:Z}};function ec(r){let e=Xt[r];return P`
51
- .ft-typography--${Xe(r)} {
50
+ `;var rs={};var jn={};B(jn,{ParametrizedLabelResolver:()=>Hn});var Hn=class t{constructor(e,o){this.defaultLabels=e,this.labels=o}resolve(e,...o){var n,i;e=this.resolvePluralKey(e,o);let a=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return t.replaceParameters(a,...o)}static replaceParameters(e,...o){return o.forEach((n,i)=>e=e.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(a,s)=>t.formatValue(n,s))),e}resolvePluralKey(e,o){for(let n of o)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}static formatValue(e,o){return e instanceof Date?t.formatDate(e,o):e??""}static formatDate(e,o){let n=i=>o?.includes("date")?e.toLocaleDateString(i):o?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var gi={};B(gi,{FtCommandQueue:()=>mr,FtLitElementRedux:()=>Et,FtReduxStore:()=>yi,clearAllStores:()=>hu,isFtReduxStore:()=>ut,redux:()=>Id,reduxEventListener:()=>Pd,reduxReactive:()=>_d});var _d=()=>(t,e)=>{var o;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(e)},Id=t=>{let e=t??{};return(o,n)=>{var i;let a={hasChanged:er,attribute:!1,...e};$(a)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:c=>c[n],store:e.store})}},Pd=t=>(e,o)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,t)};var mr=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 ut(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var os,ns,is,Jr=Symbol("internalReduxEventsUnsubscribers"),Be=Symbol("internalStoresUnsubscribers"),pt=Symbol("internalStores"),Et=class extends q{constructor(){super(...arguments),this[os]=new Map,this[ns]=new Map,this[is]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(o=>e.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[pt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[pt].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[pt].get(e)}addStore(e,o){var n;o=(n=o??(ut(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[pt].delete(o)}setupStore(e,o){this[pt].set(e,o),this.subscribeToStore(e,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[pt].forEach((e,o)=>this.subscribeToStore(o,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let i=this.getStore(e.store);i&&(e.store?this[Be].has(e.store):this[Be].size>0)&&(this[o]=e.selector(i.getState(),this))}})}subscribeToStore(e,o){var n;this[Be].set(e,o.subscribe(()=>this.updateFromStores())),ut(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||o.name===i.store)){let s=c=>this[a](c);o.eventBus.addEventListener(i.eventName,s),this[Jr].push(()=>o.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Be].forEach((e,o)=>this.unsubscribeFromStore(o)),this[Jr].forEach(e=>e()),this[Jr]=[]}unsubscribeFromStore(e){this[Be].has(e)&&this[Be].get(e)(),this[Be].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};os=Be,ns=pt,is=Jr;Et.reduxProperties=new Map;Et.reduxReactiveProperties=new Set;Et.reduxEventListeners=new Map;function se(t){for(var e=arguments.length,o=Array(e>1?e-1:0),n=1;n<e;n++)o[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ie(t){return!!t&&!!t[j]}function de(t){var e;return!!t&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===Md}(t)||Array.isArray(t)||!!t[ps]||!!(!((e=t.constructor)===null||e===void 0)&&e[ps])||Qn(t)||ei(t))}function ft(t,e,o){o===void 0&&(o=!1),At(t)===0?(o?Object.keys:Ct)(t).forEach(function(n){o&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function At(t){var e=t[j];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Qn(t)?2:ei(t)?3:0}function wt(t,e){return At(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Td(t,e){return At(t)===2?t.get(e):t[e]}function fs(t,e,o){var n=At(t);n===2?t.set(e,o):n===3?t.add(o):t[e]=o}function hs(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Qn(t){return Ud&&t instanceof Map}function ei(t){return Dd&&t instanceof Set}function We(t){return t.o||t.t}function ti(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=gs(t);delete e[j];for(var o=Ct(e),n=0;n<o.length;n++){var i=o[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function ri(t,e){return e===void 0&&(e=!1),oi(t)||Ie(t)||!de(t)||(At(t)>1&&(t.set=t.add=t.clear=t.delete=Ld),Object.freeze(t),e&&ft(t,function(o,n){return ri(n,!0)},!0)),t}function Ld(){se(2)}function oi(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function xe(t){var e=Xn[t];return e||se(18,t),e}function $d(t,e){Xn[t]||(Xn[t]=e)}function qn(){return gr}function Vn(t,e){e&&(xe("Patches"),t.u=[],t.s=[],t.v=e)}function Xr(t){Yn(t),t.p.forEach(Fd),t.p=null}function Yn(t){t===gr&&(gr=t.l)}function as(t){return gr={p:[],l:gr,h:t,m:!0,_:0}}function Fd(t){var e=t[j];e.i===0||e.i===1?e.j():e.g=!0}function Kn(t,e){e._=e.p.length;var o=e.p[0],n=t!==void 0&&t!==o;return e.h.O||xe("ES5").S(e,t,n),n?(o[j].P&&(Xr(e),se(4)),de(t)&&(t=Qr(e,t),e.l||eo(e,t)),e.u&&xe("Patches").M(o[j].t,t,e.u,e.s)):t=Qr(e,o,[]),Xr(e),e.u&&e.v(e.u,e.s),t!==ys?t:void 0}function Qr(t,e,o){if(oi(e))return e;var n=e[j];if(!n)return ft(e,function(c,l){return ss(t,n,e,c,l,o)},!0),e;if(n.A!==t)return e;if(!n.P)return eo(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=ti(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),ft(a,function(c,l){return ss(t,n,i,c,l,o,s)}),eo(t,i,!1),o&&t.u&&xe("Patches").N(n,o,t.u,t.s)}return n.o}function ss(t,e,o,n,i,a,s){if(Ie(i)){var c=Qr(t,i,a&&e&&e.i!==3&&!wt(e.R,n)?a.concat(n):void 0);if(fs(o,n,c),!Ie(c))return;t.m=!1}else s&&o.add(i);if(de(i)&&!oi(i)){if(!t.h.D&&t._<1)return;Qr(t,i),e&&e.A.l||eo(t,i)}}function eo(t,e,o){o===void 0&&(o=!1),!t.l&&t.h.D&&t.m&&ri(e,o)}function Gn(t,e){var o=t[j];return(o?We(o):t)[e]}function cs(t,e){if(e in t)for(var o=Object.getPrototypeOf(t);o;){var n=Object.getOwnPropertyDescriptor(o,e);if(n)return n;o=Object.getPrototypeOf(o)}}function ze(t){t.P||(t.P=!0,t.l&&ze(t.l))}function Zn(t){t.o||(t.o=ti(t.t))}function Jn(t,e,o){var n=Qn(e)?xe("MapSet").F(e,o):ei(e)?xe("MapSet").T(e,o):t.O?function(i,a){var s=Array.isArray(i),c={i:s?1:0,A:a?a.A:qn(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},l=c,u=br;s&&(l=[c],u=yr);var h=Proxy.revocable(l,u),f=h.revoke,y=h.proxy;return c.k=y,c.j=f,y}(e,o):xe("ES5").J(e,o);return(o?o.A:qn()).p.push(n),n}function kd(t){return Ie(t)||se(22,t),function e(o){if(!de(o))return o;var n,i=o[j],a=At(o);if(i){if(!i.P&&(i.i<4||!xe("ES5").K(i)))return i.t;i.I=!0,n=ls(o,a),i.I=!1}else n=ls(o,a);return ft(n,function(s,c){i&&Td(i.t,s)===c||fs(n,s,e(c))}),a===3?new Set(n):n}(t)}function ls(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return ti(t)}function ms(){function t(s,c){var l=a[s];return l?l.enumerable=c:a[s]=l={configurable:!0,enumerable:c,get:function(){var u=this[j];return br.get(u,s)},set:function(u){var h=this[j];br.set(h,s,u)}},l}function e(s){for(var c=s.length-1;c>=0;c--){var l=s[c][j];if(!l.P)switch(l.i){case 5:n(l)&&ze(l);break;case 4:o(l)&&ze(l)}}}function o(s){for(var c=s.t,l=s.k,u=Ct(l),h=u.length-1;h>=0;h--){var f=u[h];if(f!==j){var y=c[f];if(y===void 0&&!wt(c,f))return!0;var g=l[f],b=g&&g[j];if(b?b.t!==y:!hs(g,y))return!0}}var O=!!c[j];return u.length!==Ct(c).length+(O?0:1)}function n(s){var c=s.k;if(c.length!==s.t.length)return!0;var l=Object.getOwnPropertyDescriptor(c,c.length-1);if(l&&!l.get)return!0;for(var u=0;u<c.length;u++)if(!c.hasOwnProperty(u))return!0;return!1}function i(s){s.g&&se(3,JSON.stringify(We(s)))}var a={};$d("ES5",{J:function(s,c){var l=Array.isArray(s),u=function(f,y){if(f){for(var g=Array(y.length),b=0;b<y.length;b++)Object.defineProperty(g,""+b,t(b,!0));return g}var O=gs(y);delete O[j];for(var A=Ct(O),w=0;w<A.length;w++){var C=A[w];O[C]=t(C,f||!!O[C].enumerable)}return Object.create(Object.getPrototypeOf(y),O)}(l,s),h={i:l?5:4,A:c?c.A:qn(),P:!1,I:!1,R:{},l:c,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,j,{value:h,writable:!0}),u},S:function(s,c,l){l?Ie(c)&&c[j].A===s&&e(s.p):(s.u&&function u(h){if(h&&typeof h=="object"){var f=h[j];if(f){var y=f.t,g=f.k,b=f.R,O=f.i;if(O===4)ft(g,function(S){S!==j&&(y[S]!==void 0||wt(y,S)?b[S]||u(g[S]):(b[S]=!0,ze(f)))}),ft(y,function(S){g[S]!==void 0||wt(g,S)||(b[S]=!1,ze(f))});else if(O===5){if(n(f)&&(ze(f),b.length=!0),g.length<y.length)for(var A=g.length;A<y.length;A++)b[A]=!1;else for(var w=y.length;w<g.length;w++)b[w]=!0;for(var C=Math.min(g.length,y.length),v=0;v<C;v++)g.hasOwnProperty(v)||(b[v]=!0),b[v]===void 0&&u(g[v])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var ds,gr,ni=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Ud=typeof Map<"u",Dd=typeof Set<"u",us=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",ys=ni?Symbol.for("immer-nothing"):((ds={})["immer-nothing"]=!0,ds),ps=ni?Symbol.for("immer-draftable"):"__$immer_draftable",j=ni?Symbol.for("immer-state"):"__$immer_state";var Md=""+Object.prototype.constructor,Ct=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,gs=Object.getOwnPropertyDescriptors||function(t){var e={};return Ct(t).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)}),e},Xn={},br={get:function(t,e){if(e===j)return t;var o=We(t);if(!wt(o,e))return function(i,a,s){var c,l=cs(a,s);return l?"value"in l?l.value:(c=l.get)===null||c===void 0?void 0:c.call(i.k):void 0}(t,o,e);var n=o[e];return t.I||!de(n)?n:n===Gn(t.t,e)?(Zn(t),t.o[e]=Jn(t.A.h,n,t)):n},has:function(t,e){return e in We(t)},ownKeys:function(t){return Reflect.ownKeys(We(t))},set:function(t,e,o){var n=cs(We(t),e);if(n?.set)return n.set.call(t.k,o),!0;if(!t.P){var i=Gn(We(t),e),a=i?.[j];if(a&&a.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(hs(o,i)&&(o!==void 0||wt(t.t,e)))return!0;Zn(t),ze(t)}return t.o[e]===o&&(o!==void 0||e in t.o)||Number.isNaN(o)&&Number.isNaN(t.o[e])||(t.o[e]=o,t.R[e]=!0),!0},deleteProperty:function(t,e){return Gn(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Zn(t),ze(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=We(t),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:o[e]}},defineProperty:function(){se(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){se(12)}},yr={};ft(br,function(t,e){yr[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),yr.deleteProperty=function(t,e){return yr.set.call(this,t,e,void 0)},yr.set=function(t,e,o){return br.set.call(this,t[0],e,o,t[0])};var Bd=function(){function t(o){var n=this;this.O=us,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var c=a;a=i;var l=n;return function(O){var A=this;O===void 0&&(O=c);for(var w=arguments.length,C=Array(w>1?w-1:0),v=1;v<w;v++)C[v-1]=arguments[v];return l.produce(O,function(S){var E;return(E=a).call.apply(E,[A,S].concat(C))})}}var u;if(typeof a!="function"&&se(6),s!==void 0&&typeof s!="function"&&se(7),de(i)){var h=as(n),f=Jn(n,i,void 0),y=!0;try{u=a(f),y=!1}finally{y?Xr(h):Yn(h)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(O){return Vn(h,s),Kn(O,h)},function(O){throw Xr(h),O}):(Vn(h,s),Kn(u,h))}if(!i||typeof i!="object"){if((u=a(i))===void 0&&(u=i),u===ys&&(u=void 0),n.D&&ri(u,!0),s){var g=[],b=[];xe("Patches").M(i,u,g,b),s(g,b)}return u}se(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(u){for(var h=arguments.length,f=Array(h>1?h-1:0),y=1;y<h;y++)f[y-1]=arguments[y];return n.produceWithPatches(u,function(g){return i.apply(void 0,[g].concat(f))})};var s,c,l=n.produce(i,a,function(u,h){s=u,c=h});return typeof Promise<"u"&&l instanceof Promise?l.then(function(u){return[u,s,c]}):[l,s,c]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var e=t.prototype;return e.createDraft=function(o){de(o)||se(8),Ie(o)&&(o=kd(o));var n=as(this),i=Jn(this,o,void 0);return i[j].C=!0,Yn(n),i},e.finishDraft=function(o,n){var i=o&&o[j],a=i.A;return Vn(a,n),Kn(void 0,a)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!us&&se(20),this.O=o},e.applyPatches=function(o,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){o=a.value;break}}i>-1&&(n=n.slice(i+1));var s=xe("Patches").$;return Ie(o)?s(o,n):this.produce(o,function(c){return s(c,n)})},t}(),ne=new Bd,Wd=ne.produce,_y=ne.produceWithPatches.bind(ne),Iy=ne.setAutoFreeze.bind(ne),Py=ne.setUseProxies.bind(ne),Ty=ne.applyPatches.bind(ne),Ly=ne.createDraft.bind(ne),$y=ne.finishDraft.bind(ne),to=Wd;function He(t){"@babel/helpers - typeof";return He=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},He(t)}function ii(t,e){if(He(t)!=="object"||t===null)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var n=o.call(t,e||"default");if(He(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function ai(t){var e=ii(t,"string");return He(e)==="symbol"?e:String(e)}function si(t,e,o){return e=ai(e),e in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function bs(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),o.push.apply(o,n)}return o}function ro(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?bs(Object(o),!0).forEach(function(n){si(t,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):bs(Object(o)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))})}return t}function X(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var xs=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ci=function(){return Math.random().toString(36).substring(7).split("").join(".")},oo={INIT:"@@redux/INIT"+ci(),REPLACE:"@@redux/REPLACE"+ci(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ci()}};function zd(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function li(t,e,o){var n;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(X(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(X(1));return o(li)(t,e)}if(typeof t!="function")throw new Error(X(2));var i=t,a=e,s=[],c=s,l=!1;function u(){c===s&&(c=s.slice())}function h(){if(l)throw new Error(X(3));return a}function f(O){if(typeof O!="function")throw new Error(X(4));if(l)throw new Error(X(5));var A=!0;return u(),c.push(O),function(){if(A){if(l)throw new Error(X(6));A=!1,u();var C=c.indexOf(O);c.splice(C,1),s=null}}}function y(O){if(!zd(O))throw new Error(X(7));if(typeof O.type>"u")throw new Error(X(8));if(l)throw new Error(X(9));try{l=!0,a=i(a,O)}finally{l=!1}for(var A=s=c,w=0;w<A.length;w++){var C=A[w];C()}return O}function g(O){if(typeof O!="function")throw new Error(X(10));i=O,y({type:oo.REPLACE})}function b(){var O,A=f;return O={subscribe:function(C){if(typeof C!="object"||C===null)throw new Error(X(11));function v(){C.next&&C.next(h())}v();var S=A(v);return{unsubscribe:S}}},O[xs]=function(){return this},O}return y({type:oo.INIT}),n={dispatch:y,subscribe:f,getState:h,replaceReducer:g},n[xs]=b,n}function Hd(t){Object.keys(t).forEach(function(e){var o=t[e],n=o(void 0,{type:oo.INIT});if(typeof n>"u")throw new Error(X(12));if(typeof o(void 0,{type:oo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(X(13))})}function vs(t){for(var e=Object.keys(t),o={},n=0;n<e.length;n++){var i=e[n];typeof t[i]=="function"&&(o[i]=t[i])}var a=Object.keys(o),s,c;try{Hd(o)}catch(l){c=l}return function(u,h){if(u===void 0&&(u={}),c)throw c;if(0)var f;for(var y=!1,g={},b=0;b<a.length;b++){var O=a[b],A=o[O],w=u[O],C=A(w,h);if(typeof C>"u"){var v=h&&h.type;throw new Error(X(14))}g[O]=C,y=y||C!==w}return y=y||a.length!==Object.keys(u).length,y?g:u}}function Rt(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function Ss(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(X(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(l){return l(s)});return a=Rt.apply(void 0,c)(i.dispatch),ro(ro({},i),{},{dispatch:a})}}}function Os(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(c){return typeof c=="function"?c(i,a,t):s(c)}}};return e}var Es=Os();Es.withExtraArgument=Os;var di=Es;var Ns=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},t(e,o)};return function(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(e,o);function n(){this.constructor=e}e.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),jd=function(t,e){var o={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(u){return function(h){return l([u,h])}}function l(u){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(a=u[0]&2?i.return:u[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;switch(i=0,a&&(u=[u[0]&2,a.value]),u[0]){case 0:case 1:a=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,i=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){o=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){o.label=u[1];break}if(u[0]===6&&o.label<a[1]){o.label=a[1],a=u;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(u);break}a[2]&&o.ops.pop(),o.trys.pop();continue}u=e.call(t,o)}catch(h){u=[6,h],i=0}finally{n=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Nt=function(t,e){for(var o=0,n=e.length,i=t.length;o<n;o++,i++)t[i]=e[o];return t},Vd=Object.defineProperty,Kd=Object.defineProperties,Gd=Object.getOwnPropertyDescriptors,ws=Object.getOwnPropertySymbols,Zd=Object.prototype.hasOwnProperty,qd=Object.prototype.propertyIsEnumerable,Cs=function(t,e,o){return e in t?Vd(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},je=function(t,e){for(var o in e||(e={}))Zd.call(e,o)&&Cs(t,o,e[o]);if(ws)for(var n=0,i=ws(e);n<i.length;n++){var o=i[n];qd.call(e,o)&&Cs(t,o,e[o])}return t},ui=function(t,e){return Kd(t,Gd(e))},Yd=function(t,e,o){return new Promise(function(n,i){var a=function(l){try{c(o.next(l))}catch(u){i(u)}},s=function(l){try{c(o.throw(l))}catch(u){i(u)}},c=function(l){return l.done?n(l.value):Promise.resolve(l.value).then(a,s)};c((o=o.apply(t,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"?Rt:Rt.apply(null,arguments)},Xy=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Xd(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var o=e;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return e===o}var Qd=function(t){Ns(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,Nt([void 0],o[0].concat(this)))):new(e.bind.apply(e,Nt([void 0],o.concat(this))))},e}(Array),eu=function(t){Ns(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=t.apply(this,o)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,Nt([void 0],o[0].concat(this)))):new(e.bind.apply(e,Nt([void 0],o.concat(this))))},e}(Array);function hi(t){return de(t)?to(t,function(){}):t}function tu(t){return typeof t=="boolean"}function ru(){return function(e){return ou(e)}}function ou(t){t===void 0&&(t={});var e=t.thunk,o=e===void 0?!0:e,n=t.immutableCheck,i=n===void 0?!0:n,a=t.serializableCheck,s=a===void 0?!0:a,c=new Qd;if(o&&(tu(o)?c.push(di):c.push(di.withExtraArgument(o.extraArgument))),0){if(i)var l;if(s)var u}return c}var pi=!0;function _s(t){var e=ru(),o=t||{},n=o.reducer,i=n===void 0?void 0:n,a=o.middleware,s=a===void 0?e():a,c=o.devTools,l=c===void 0?!0:c,u=o.preloadedState,h=u===void 0?void 0:u,f=o.enhancers,y=f===void 0?void 0:f,g;if(typeof i=="function")g=i;else if(Xd(i))g=vs(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var b=s;if(typeof b=="function"&&(b=b(e),!pi&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!pi&&b.some(function(S){return typeof S!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=Ss.apply(void 0,b),A=Rt;l&&(A=Jd(je({trace:!pi},typeof l=="object"&&l)));var w=new eu(O),C=w;Array.isArray(y)?C=Nt([O],y):typeof y=="function"&&(C=y(w));var v=A.apply(void 0,C);return li(g,h,v)}function Ve(t,e){function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return je(je({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:n[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(n){return n.type===t},o}function Is(t){var e={},o=[],n,i={addCase:function(a,s){var c=typeof a=="string"?a:a.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=s,i},addMatcher:function(a,s){return o.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return t(i),[e,o,n]}function nu(t){return typeof t=="function"}function iu(t,e,o,n){o===void 0&&(o=[]);var i=typeof e=="function"?Is(e):[e,o,n],a=i[0],s=i[1],c=i[2],l;if(nu(t))l=function(){return hi(t())};else{var u=hi(t);l=function(){return u}}function h(f,y){f===void 0&&(f=l());var g=Nt([a[y.type]],s.filter(function(b){var O=b.matcher;return O(y)}).map(function(b){var O=b.reducer;return O}));return g.filter(function(b){return!!b}).length===0&&(g=[c]),g.reduce(function(b,O){if(O)if(Ie(b)){var A=b,w=O(A,y);return w===void 0?b:w}else{if(de(b))return to(b,function(C){return O(C,y)});var w=O(b,y);if(w===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return w}return b},f)}return h.getInitialState=l,h}function au(t,e){return t+"/"+e}function Ps(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof t.initialState=="function"?t.initialState:hi(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};i.forEach(function(h){var f=n[h],y=au(e,h),g,b;"reducer"in f?(g=f.reducer,b=f.prepare):g=f,a[h]=g,s[y]=g,c[h]=b?Ve(y,b):Ve(y)});function l(){var h=typeof t.extraReducers=="function"?Is(t.extraReducers):[t.extraReducers],f=h[0],y=f===void 0?{}:f,g=h[1],b=g===void 0?[]:g,O=h[2],A=O===void 0?void 0:O,w=je(je({},y),s);return iu(o,function(C){for(var v in w)C.addCase(v,w[v]);for(var S=0,E=b;S<E.length;S++){var _=E[S];C.addMatcher(_.matcher,_.reducer)}A&&C.addDefaultCase(A)})}var u;return{name:e,reducer:function(h,f){return u||(u=l()),u(h,f)},actions:c,caseReducers:a,getInitialState:function(){return u||(u=l()),u.getInitialState()}}}var su="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",cu=function(t){t===void 0&&(t=21);for(var e="",o=t;o--;)e+=su[Math.random()*64|0];return e},lu=["name","message","stack","code"],fi=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),As=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),du=function(t){if(typeof t=="object"&&t!==null){for(var e={},o=0,n=lu;o<n.length;o++){var i=n[o];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},rg=function(){function t(e,o,n){var i=Ve(e+"/fulfilled",function(h,f,y,g){return{payload:h,meta:ui(je({},g||{}),{arg:y,requestId:f,requestStatus:"fulfilled"})}}),a=Ve(e+"/pending",function(h,f,y){return{payload:void 0,meta:ui(je({},y||{}),{arg:f,requestId:h,requestStatus:"pending"})}}),s=Ve(e+"/rejected",function(h,f,y,g,b){return{payload:g,error:(n&&n.serializeError||du)(h||"Rejected"),meta:ui(je({},b||{}),{arg:y,requestId:f,rejectedWithValue:!!g,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),c=!1,l=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function u(h){return function(f,y,g){var b=n?.idGenerator?n.idGenerator(h):cu(),O=new l,A,w=!1;function C(S){A=S,O.abort()}var v=function(){return Yd(this,null,function(){var S,E,_,F,D,M,N;return jd(this,function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),F=(S=n?.condition)==null?void 0:S.call(n,h,{getState:y,extra:g}),pu(F)?[4,F]:[3,2];case 1:F=m.sent(),m.label=2;case 2:if(F===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return w=!0,D=new Promise(function(x,R){return O.signal.addEventListener("abort",function(){return R({name:"AbortError",message:A||"Aborted"})})}),f(a(b,h,(E=n?.getPendingMeta)==null?void 0:E.call(n,{requestId:b,arg:h},{getState:y,extra:g}))),[4,Promise.race([D,Promise.resolve(o(h,{dispatch:f,getState:y,extra:g,requestId:b,signal:O.signal,abort:C,rejectWithValue:function(x,R){return new fi(x,R)},fulfillWithValue:function(x,R){return new As(x,R)}})).then(function(x){if(x instanceof fi)throw x;return x instanceof As?i(x.payload,b,h,x.meta):i(x,b,h)})])];case 3:return _=m.sent(),[3,5];case 4:return M=m.sent(),_=M instanceof fi?s(null,b,h,M.payload,M.meta):s(M,b,h),[3,5];case 5:return N=n&&!n.dispatchConditionRejection&&s.match(_)&&_.meta.condition,N||f(_),[2,_]}})})}();return Object.assign(v,{abort:C,requestId:b,arg:h,unwrap:function(){return v.then(uu)}})}}return Object.assign(u,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();function uu(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function pu(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Ts="listener",Ls="completed",$s="cancelled",og="task-"+$s,ng="task-"+Ls,ig=Ts+"-"+$s,ag=Ts+"-"+Ls;var mi="listenerMiddleware";var sg=Ve(mi+"/add"),cg=Ve(mi+"/removeAll"),lg=Ve(mi+"/remove");var Rs,dg=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Rs||(Rs=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},fu=function(t){return function(e){setTimeout(e,t)}},ug=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:fu(10);ms();window.ftReduxStores||(window.ftReduxStores={});var yi=class t{static get(e){var o;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(ut(a))return a;if(i==null)return;let s=Ps({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),c=_s({reducer:(l,u)=>u.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...l,...u.overwrites}:s.reducer(l,u)});return window.ftReduxStores[i.name]=new t(s,c)}constructor(e,o){this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new mr,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,c=n[s];return c?(...l)=>{let u=c(...l);return this.reduxStore.dispatch(u),u}:l=>{this.setState({[s]:l})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function hu(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))ut(e)&&e.clear()}var vi={};B(vi,{scrollHelper:()=>mu});var bi,no=new Map,xi=class{lock(e,o){if(o){let n=no.get(o);if(n==null||n===e)return no.set(o,e),o}}release(e,o){o&&no.get(o)===e&&no.delete(o)}findFirstScrollableParent(e){let o,n=i=>{var a;i.stopPropagation();let s,c;for(let l of i.composedPath()){let u=l,h=this.elementCanScroll(u);if(h&&u.clientHeight&&u.clientHeight<u.scrollHeight){s=u;break}else h&&c==null&&(c=u)}o=(a=s??c)!==null&&a!==void 0?a:document.body};return e.addEventListener("find-scrollable-parent",n),e.dispatchEvent(new Event("find-scrollable-parent",{composed:!0})),e.removeEventListener("find-scrollable-parent",n),o}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,o){let n=0;for(;o&&o.offsetParent!==e.offsetParent;)n+=o.offsetTop,o=o.offsetParent;return n+o.offsetTop-e.offsetTop}computeTopOffsetRatio(e,o){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return o;default:return 0}}scrollIntoViewIfPossible(e,o){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,e),a=i-n.clientHeight+e.clientHeight,s=i,c=Do(0,(s-n.scrollTop)/(s-a),1),l=this.computeTopOffsetRatio(o?.position,c)*(a-s)+s;n.scrollTo({behavior:o?.behavior,top:l})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(bi=window.FluidTopicsScrollHelper)!==null&&bi!==void 0?bi:new xi;var mu=window.FluidTopicsScrollHelper;var Si={};B(Si,{shadowQuerySelector:()=>yu,shadowQuerySelectorAll:()=>gu});function yu(t,e,...o){var n;let i=t.querySelector(e);for(let a of o)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}function gu(t,e,...o){let n=[...t.querySelectorAll(e)];for(let i of o)n=n.flatMap(a=>{var s,c;return[...(c=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(i))!==null&&c!==void 0?c:[]]});return n}var Oi={};B(Oi,{SearchPlaceConverter:()=>so,SearchPlaceQueryParams:()=>z,isSearchPlaceQueryParams:()=>oc,serializeRequest:()=>Su});var bu=kc(ks(),1);var Us;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Us||(Us={}));var Ds;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Ds||(Ds={}));var Ms;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(Ms||(Ms={}));var Bs;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT"})(Bs||(Bs={}));var Ws;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Ws||(Ws={}));var zs;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(zs||(zs={}));var Hs;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Hs||(Hs={}));var js;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(js||(js={}));var Vs;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(Vs||(Vs={}));var Ks;(function(t){t.ASC="ASC",t.DESC="DESC"})(Ks||(Ks={}));var Gs;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Gs||(Gs={}));var Zs;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Zs||(Zs={}));var ec=t=>["EVERYWHERE","TITLE_ONLY","NONE"].includes(t);var qs;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(qs||(qs={}));var Ys;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Ys||(Ys={}));var Js;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Js||(Js={}));var xr;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(xr||(xr={}));var tc=t=>["LAST_WEEK","LAST_MONTH","LAST_QUARTER","LAST_YEAR"].includes(t);var Xs;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(Xs||(Xs={}));var Qs;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"})(Qs||(Qs={}));var Y;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"})(Y||(Y={}));var rc;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(rc||(rc={}));var Ng={[Y.PERSONAL_BOOK_SHARE_USER]:[Y.PERSONAL_BOOK_USER],[Y.HTML_EXPORT_USER]:[Y.PERSONAL_BOOK_USER],[Y.PDF_EXPORT_USER]:[Y.PERSONAL_BOOK_USER],[Y.KHUB_ADMIN]:[Y.CONTENT_PUBLISHER],[Y.ADMIN]:[Y.KHUB_ADMIN,Y.USERS_ADMIN,Y.PORTAL_ADMIN],[Y.DEVELOPER]:[Y.BETA_USER,Y.DEBUG_USER]};function xu(t){return`"${t}"`}function vu(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function Su(t,e){return new so(t,{}).serialize(e)}var z;(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort"})(z||(z={}));var Ou=new Set(Object.values(z));function oc(t){return Ou.has(t)}var so=class{constructor(e,o){this.baseUrl=e,this.predefinedSorts=o,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,o="/search"){let n=this.toURLSearchParams(e).toString();return new URL(`${this.baseUrl.replace(/\/+$/,"")}${o}?${n}`).href}toURLSearchParams(e){var o,n,i,a,s,c,l,u,h,f;let y=new URLSearchParams({[z.LOCALE]:(o=e.contentLocale)!==null&&o!==void 0?o:"all"});((n=e.query)===null||n===void 0?void 0:n.length)>0&&y.append(z.QUERY,e.query),e.scope&&e.scope!=="DEFAULT"&&y.append(z.SCOPE,e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&y.append(z.VIRTUAL_FIELD,e.virtualField.toLowerCase()),((i=e.sort)===null||i===void 0?void 0:i.length)>0&&e.sort[0].key==="ft:lastEdition"&&y.append(z.SORT,"last_update");let g=(s=(a=e.metadataFilters)===null||a===void 0?void 0:a.filter(w=>w.valueFilter))!==null&&s!==void 0?s:[];if(g.length>0){let w=g.map(C=>{var v,S;let E=((S=(v=C.valueFilter)===null||v===void 0?void 0:v.values)!==null&&S!==void 0?S:[]).map(_=>this.escapeFilters(_)).map(_=>encodeURIComponent(xu(_))).join("_");return`${C.key}~${E}`}).join("*");y.append(z.VALUE_FILTERS,w)}let b=(l=(c=e.metadataFilters)===null||c===void 0?void 0:c.filter(w=>w.dateFilter))!==null&&l!==void 0?l:[];if(b.length>0){let w=b.map(C=>{var v;return`${C.key}~${(v=C.dateFilter)===null||v===void 0?void 0:v.type.toLowerCase()}`}).join("*");y.append(z.DATE_FILTERS,w)}let O=(h=(u=e.metadataFilters)===null||u===void 0?void 0:u.filter(w=>w.rangeFilter))!==null&&h!==void 0?h:[];if(O.length>0){let w=O.map(C=>{var v,S;return`${C.key}~${(v=C.rangeFilter)===null||v===void 0?void 0:v.from}_${(S=C.rangeFilter)===null||S===void 0?void 0:S.to}`}).join("*");y.append(z.RANGE_FILTERS,w)}let A=(f=e.otherQueryParams)!==null&&f!==void 0?f:{};for(let w in A)y.append(w,A[w]);return y}parse(e){var o;let n=e.split("?"),i=this.fromURLSearchParams(new URLSearchParams(n.slice(1).join("?"))),a=n[0].split("/search/")[1];return a==null?i:{...i,scope:(o=this.scopeMapping[a])!==null&&o!==void 0?o:i.scope}}fromURLSearchParams(e){var o,n,i,a,s,c,l,u;let h=((o=e.get(z.VIRTUAL_FIELD))!==null&&o!==void 0?o:"EVERYWHERE").toUpperCase(),f=((n=e.get(z.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),y=(i=e.get(z.SCOPE))!==null&&i!==void 0?i:"default",g={};for(let b of e.keys())oc(b)||(g[b]=e.get(b));return{contentLocale:e.get(z.LOCALE)==="all"?void 0:(a=e.get(z.LOCALE))!==null&&a!==void 0?a:void 0,query:decodeURIComponent((s=e.get(z.QUERY))!==null&&s!==void 0?s:""),scope:(c=this.scopeMapping[y])!==null&&c!==void 0?c:"DEFAULT",virtualField:ec(h)?h:"EVERYWHERE",sort:(u=(l=this.predefinedSorts[f])!==null&&l!==void 0?l:this.predefinedSorts.DEFAULT)!==null&&u!==void 0?u:[],metadataFilters:this.parseCompatFilters(e),facets:[],paging:{page:1,perPage:20},otherQueryParams:g}}parseCompatFilters(e){var o,n,i,a,s,c;let l=[];return e.has(z.FILTERS)&&(l=this.parseValueFilters((o=e.get(z.FILTERS))!==null&&o!==void 0?o:"")),(n=e.has(z.PERIOD))!==null&&n!==void 0&&n&&(l=[...l,...this.parseLegacyPeriodFilter(((i=e.get(z.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...l,...this.parseValueFilters((a=e.get(z.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=e.get(z.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((c=e.get(z.RANGE_FILTERS))!==null&&c!==void 0?c:"")]}splitUnknownFilter(e){return this.superEscapeFilters(decodeURIComponent(e)).split("*").map(o=>o.split("~"))}parseValueFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],valueFilter:{values:o[1].split("_").map(vu).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],dateFilter:{type:xr[o[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],rangeFilter:{from:o[1].split("_")[0],to:o[1].split("_")[1]}}))}escapeFilters(e){for(let[o,n,i]of this.filtersEscapeMapping)e=e.replaceAll(o,n);return e}superEscapeFilters(e){for(let[o,n,i]of this.filtersEscapeMapping)e=e.replaceAll(n,i);return e}unescapeFilterValue(e){for(let[o,n,i]of this.filtersEscapeMapping)e=e.replace(i,o);return e}parseLegacyPeriodFilter(e){if(tc(e))return[{key:"ft:lastEdition",dateFilter:{type:xr[e]}}];if(e.startsWith("CUSTOM_")){let[o,n,i]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}};var Ei={};B(Ei,{toFtFormComponent:()=>Eu});var co=Symbol("elementInternals");function Eu(t,e){class o extends t{static get formAssociated(){return!0}get form(){return this[co].form}constructor(...i){super(i),this[co]=this.attachInternals(),this[co].role=e}setFormValue(i){this[co].setFormValue(i)}}return o}var Ci={};B(Ci,{DateFormatter:()=>wi});var wi=class{static format(e,o,n,i){return window.moment?window.moment(e).locale(o).format(this.getDateFormat(n,i)):e}static getDateFormat(e,o){return e?o?"lll":"ll":o?"L LT":"L"}};var Ai,Ri,Ni,_i,wu=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Ni=(Ri=(Ai=window.safari)===null||Ai===void 0?void 0:Ai.pushNotification)===null||Ri===void 0?void 0:Ri.toString())!==null&&Ni!==void 0?Ni:"")==="[object SafariRemoteNotification]",Cu="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(_i=window.ftGlobals)!==null&&_i!==void 0?_i:{lit:Co,litDecorators:Ao,litRepeat:Ro,litClassMap:No,litStyleMap:_o,litUnsafeHTML:Io,wcUtils:{...$o,...To,...ko,...Ci,...Uo,...Wo,...gn,...Sn,...Fn,...yn,...Mn,...Un,...es,...Mo,...Wn,...zn,...rs,...jn,...gi,...kn,...vi,...Si,...Oi,...Ei,isSafari:wu,isTouchScreen:Cu,setVariable:Z}};function nc(t){let e=rr[t];return L`
51
+ .ft-typography--${et(t)} {
52
52
  font-family: ${e.fontFamily};
53
53
  font-size: ${e.fontSize};
54
54
  font-weight: ${e.fontWeight};
@@ -56,35 +56,8 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
56
56
  line-height: ${e.lineHeight};
57
57
  text-transform: ${e.textCase};
58
58
  }
59
- `}var tc=t.extend("--ft-typography-font-family","",M.titleFont),_e=t.extend("--ft-typography-font-family","",M.contentFont),_={fontFamily:_e,fontSize:t.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:t.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:t.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:t.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:t.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Rt={fontFamily:t.extend("--ft-typography-title-font-family","",tc),fontSize:t.extend("--ft-typography-title-font-size","",_.fontSize,"20px"),fontWeight:t.extend("--ft-typography-title-font-weight","",_.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-title-letter-spacing","",_.letterSpacing,"0.15px"),lineHeight:t.extend("--ft-typography-title-line-height","",_.lineHeight,"1.2"),textTransform:t.extend("--ft-typography-title-text-transform","",_.textTransform,"inherit")},Nt={fontFamily:t.extend("--ft-typography-title-dense-font-family","",tc),fontSize:t.extend("--ft-typography-title-dense-font-size","",_.fontSize,"14px"),fontWeight:t.extend("--ft-typography-title-dense-font-weight","",_.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-title-dense-letter-spacing","",_.letterSpacing,"0.105px"),lineHeight:t.extend("--ft-typography-title-dense-line-height","",_.lineHeight,"1.7"),textTransform:t.extend("--ft-typography-title-dense-text-transform","",_.textTransform,"inherit")},_t={fontFamily:t.extend("--ft-typography-subtitle1-font-family","",_e),fontSize:t.extend("--ft-typography-subtitle1-font-size","",_.fontSize,"16px"),fontWeight:t.extend("--ft-typography-subtitle1-font-weight","",_.fontWeight,"600"),letterSpacing:t.extend("--ft-typography-subtitle1-letter-spacing","",_.letterSpacing,"0.144px"),lineHeight:t.extend("--ft-typography-subtitle1-line-height","",_.lineHeight,"1.5"),textTransform:t.extend("--ft-typography-subtitle1-text-transform","",_.textTransform,"inherit")},It={fontFamily:t.extend("--ft-typography-subtitle2-font-family","",_e),fontSize:t.extend("--ft-typography-subtitle2-font-size","",_.fontSize,"14px"),fontWeight:t.extend("--ft-typography-subtitle2-font-weight","",_.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-subtitle2-letter-spacing","",_.letterSpacing,"0.098px"),lineHeight:t.extend("--ft-typography-subtitle2-line-height","",_.lineHeight,"1.7"),textTransform:t.extend("--ft-typography-subtitle2-text-transform","",_.textTransform,"inherit")},Ne={fontFamily:t.extend("--ft-typography-body1-font-family","",_e),fontSize:t.extend("--ft-typography-body1-font-size","",_.fontSize,"16px"),fontWeight:t.extend("--ft-typography-body1-font-weight","",_.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-body1-letter-spacing","",_.letterSpacing,"0.496px"),lineHeight:t.extend("--ft-typography-body1-line-height","",_.lineHeight,"1.5"),textTransform:t.extend("--ft-typography-body1-text-transform","",_.textTransform,"inherit")},Pt={fontFamily:t.extend("--ft-typography-body2-font-family","",_e),fontSize:t.extend("--ft-typography-body2-font-size","",_.fontSize,"14px"),fontWeight:t.extend("--ft-typography-body2-font-weight","",_.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-body2-letter-spacing","",_.letterSpacing,"0.252px"),lineHeight:t.extend("--ft-typography-body2-line-height","",_.lineHeight,"1.4"),textTransform:t.extend("--ft-typography-body2-text-transform","",_.textTransform,"inherit")},ue={fontFamily:t.extend("--ft-typography-caption-font-family","",_e),fontSize:t.extend("--ft-typography-caption-font-size","",_.fontSize,"12px"),fontWeight:t.extend("--ft-typography-caption-font-weight","",_.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-caption-letter-spacing","",_.letterSpacing,"0.396px"),lineHeight:t.extend("--ft-typography-caption-line-height","",_.lineHeight,"1.33"),textTransform:t.extend("--ft-typography-caption-text-transform","",_.textTransform,"inherit")},Tt={fontFamily:t.extend("--ft-typography-breadcrumb-font-family","",_e),fontSize:t.extend("--ft-typography-breadcrumb-font-size","",_.fontSize,"10px"),fontWeight:t.extend("--ft-typography-breadcrumb-font-weight","",_.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-breadcrumb-letter-spacing","",_.letterSpacing,"0.33px"),lineHeight:t.extend("--ft-typography-breadcrumb-line-height","",_.lineHeight,"1.6"),textTransform:t.extend("--ft-typography-breadcrumb-text-transform","",_.textTransform,"inherit")},Lt={fontFamily:t.extend("--ft-typography-overline-font-family","",_e),fontSize:t.extend("--ft-typography-overline-font-size","",_.fontSize,"10px"),fontWeight:t.extend("--ft-typography-overline-font-weight","",_.fontWeight,"normal"),letterSpacing:t.extend("--ft-typography-overline-letter-spacing","",_.letterSpacing,"1.5px"),lineHeight:t.extend("--ft-typography-overline-line-height","",_.lineHeight,"1.6"),textTransform:t.extend("--ft-typography-overline-text-transform","",_.textTransform,"uppercase")},$t={fontFamily:t.extend("--ft-typography-button-font-family","",_e),fontSize:t.extend("--ft-typography-button-font-size","",_.fontSize,"14px"),fontWeight:t.extend("--ft-typography-button-font-weight","",_.fontWeight,"600"),letterSpacing:t.extend("--ft-typography-button-letter-spacing","",_.letterSpacing,"1.246px"),lineHeight:t.extend("--ft-typography-button-line-height","",_.lineHeight,"1.15"),textTransform:t.extend("--ft-typography-button-text-transform","",_.textTransform,"uppercase")},rc=P`
59
+ `}var ic=r.extend("--ft-typography-font-family","",W.titleFont),Te=r.extend("--ft-typography-font-family","",W.contentFont),I={fontFamily:Te,fontSize:r.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:r.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:r.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:r.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:r.create("--ft-typography-text-transform","","UNKNOWN","inherit")},It={fontFamily:r.extend("--ft-typography-title-font-family","",ic),fontSize:r.extend("--ft-typography-title-font-size","",I.fontSize,"20px"),fontWeight:r.extend("--ft-typography-title-font-weight","",I.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-letter-spacing","",I.letterSpacing,"0.15px"),lineHeight:r.extend("--ft-typography-title-line-height","",I.lineHeight,"1.2"),textTransform:r.extend("--ft-typography-title-text-transform","",I.textTransform,"inherit")},Pt={fontFamily:r.extend("--ft-typography-title-dense-font-family","",ic),fontSize:r.extend("--ft-typography-title-dense-font-size","",I.fontSize,"14px"),fontWeight:r.extend("--ft-typography-title-dense-font-weight","",I.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-dense-letter-spacing","",I.letterSpacing,"0.105px"),lineHeight:r.extend("--ft-typography-title-dense-line-height","",I.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-title-dense-text-transform","",I.textTransform,"inherit")},Tt={fontFamily:r.extend("--ft-typography-subtitle1-font-family","",Te),fontSize:r.extend("--ft-typography-subtitle1-font-size","",I.fontSize,"16px"),fontWeight:r.extend("--ft-typography-subtitle1-font-weight","",I.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-subtitle1-letter-spacing","",I.letterSpacing,"0.144px"),lineHeight:r.extend("--ft-typography-subtitle1-line-height","",I.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-subtitle1-text-transform","",I.textTransform,"inherit")},Lt={fontFamily:r.extend("--ft-typography-subtitle2-font-family","",Te),fontSize:r.extend("--ft-typography-subtitle2-font-size","",I.fontSize,"14px"),fontWeight:r.extend("--ft-typography-subtitle2-font-weight","",I.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-subtitle2-letter-spacing","",I.letterSpacing,"0.098px"),lineHeight:r.extend("--ft-typography-subtitle2-line-height","",I.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-subtitle2-text-transform","",I.textTransform,"inherit")},Pe={fontFamily:r.extend("--ft-typography-body1-font-family","",Te),fontSize:r.extend("--ft-typography-body1-font-size","",I.fontSize,"16px"),fontWeight:r.extend("--ft-typography-body1-font-weight","",I.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body1-letter-spacing","",I.letterSpacing,"0.496px"),lineHeight:r.extend("--ft-typography-body1-line-height","",I.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-body1-text-transform","",I.textTransform,"inherit")},$t={fontFamily:r.extend("--ft-typography-body2-font-family","",Te),fontSize:r.extend("--ft-typography-body2-font-size","",I.fontSize,"14px"),fontWeight:r.extend("--ft-typography-body2-font-weight","",I.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body2-letter-spacing","",I.letterSpacing,"0.252px"),lineHeight:r.extend("--ft-typography-body2-line-height","",I.lineHeight,"1.4"),textTransform:r.extend("--ft-typography-body2-text-transform","",I.textTransform,"inherit")},ue={fontFamily:r.extend("--ft-typography-caption-font-family","",Te),fontSize:r.extend("--ft-typography-caption-font-size","",I.fontSize,"12px"),fontWeight:r.extend("--ft-typography-caption-font-weight","",I.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-caption-letter-spacing","",I.letterSpacing,"0.396px"),lineHeight:r.extend("--ft-typography-caption-line-height","",I.lineHeight,"1.33"),textTransform:r.extend("--ft-typography-caption-text-transform","",I.textTransform,"inherit")},Ft={fontFamily:r.extend("--ft-typography-breadcrumb-font-family","",Te),fontSize:r.extend("--ft-typography-breadcrumb-font-size","",I.fontSize,"10px"),fontWeight:r.extend("--ft-typography-breadcrumb-font-weight","",I.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-breadcrumb-letter-spacing","",I.letterSpacing,"0.33px"),lineHeight:r.extend("--ft-typography-breadcrumb-line-height","",I.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-breadcrumb-text-transform","",I.textTransform,"inherit")},kt={fontFamily:r.extend("--ft-typography-overline-font-family","",Te),fontSize:r.extend("--ft-typography-overline-font-size","",I.fontSize,"10px"),fontWeight:r.extend("--ft-typography-overline-font-weight","",I.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-overline-letter-spacing","",I.letterSpacing,"1.5px"),lineHeight:r.extend("--ft-typography-overline-line-height","",I.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-overline-text-transform","",I.textTransform,"uppercase")},Ut={fontFamily:r.extend("--ft-typography-button-font-family","",Te),fontSize:r.extend("--ft-typography-button-font-size","",I.fontSize,"14px"),fontWeight:r.extend("--ft-typography-button-font-weight","",I.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-button-letter-spacing","",I.letterSpacing,"1.246px"),lineHeight:r.extend("--ft-typography-button-line-height","",I.lineHeight,"1.15"),textTransform:r.extend("--ft-typography-button-text-transform","",I.textTransform,"uppercase")},ac=L`
60
60
  .ft-typography--title {
61
- font-family: ${Rt.fontFamily};
62
- font-size: ${Rt.fontSize};
63
- font-weight: ${Rt.fontWeight};
64
- letter-spacing: ${Rt.letterSpacing};
65
- line-height: ${Rt.lineHeight};
66
- text-transform: ${Rt.textTransform};
67
- }
68
- `,oc=P`
69
- .ft-typography--title-dense {
70
- font-family: ${Nt.fontFamily};
71
- font-size: ${Nt.fontSize};
72
- font-weight: ${Nt.fontWeight};
73
- letter-spacing: ${Nt.letterSpacing};
74
- line-height: ${Nt.lineHeight};
75
- text-transform: ${Nt.textTransform};
76
- }
77
- `,nc=P`
78
- .ft-typography--subtitle1 {
79
- font-family: ${_t.fontFamily};
80
- font-size: ${_t.fontSize};
81
- font-weight: ${_t.fontWeight};
82
- letter-spacing: ${_t.letterSpacing};
83
- line-height: ${_t.lineHeight};
84
- text-transform: ${_t.textTransform};
85
- }
86
- `,ic=P`
87
- .ft-typography--subtitle2 {
88
61
  font-family: ${It.fontFamily};
89
62
  font-size: ${It.fontSize};
90
63
  font-weight: ${It.fontWeight};
@@ -92,18 +65,8 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
92
65
  line-height: ${It.lineHeight};
93
66
  text-transform: ${It.textTransform};
94
67
  }
95
-
96
- `,ac=P`
97
- .ft-typography--body1 {
98
- font-family: ${Ne.fontFamily};
99
- font-size: ${Ne.fontSize};
100
- font-weight: ${Ne.fontWeight};
101
- letter-spacing: ${Ne.letterSpacing};
102
- line-height: ${Ne.lineHeight};
103
- text-transform: ${Ne.textTransform};
104
- }
105
- `,sc=P`
106
- .ft-typography--body2 {
68
+ `,sc=L`
69
+ .ft-typography--title-dense {
107
70
  font-family: ${Pt.fontFamily};
108
71
  font-size: ${Pt.fontSize};
109
72
  font-weight: ${Pt.fontWeight};
@@ -111,17 +74,8 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
111
74
  line-height: ${Pt.lineHeight};
112
75
  text-transform: ${Pt.textTransform};
113
76
  }
114
- `,io=P`
115
- .ft-typography--caption {
116
- font-family: ${ue.fontFamily};
117
- font-size: ${ue.fontSize};
118
- font-weight: ${ue.fontWeight};
119
- letter-spacing: ${ue.letterSpacing};
120
- line-height: ${ue.lineHeight};
121
- text-transform: ${ue.textTransform};
122
- }
123
- `,cc=P`
124
- .ft-typography--breadcrumb {
77
+ `,cc=L`
78
+ .ft-typography--subtitle1 {
125
79
  font-family: ${Tt.fontFamily};
126
80
  font-size: ${Tt.fontSize};
127
81
  font-weight: ${Tt.fontWeight};
@@ -129,8 +83,8 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
129
83
  line-height: ${Tt.lineHeight};
130
84
  text-transform: ${Tt.textTransform};
131
85
  }
132
- `,lc=P`
133
- .ft-typography--overline {
86
+ `,lc=L`
87
+ .ft-typography--subtitle2 {
134
88
  font-family: ${Lt.fontFamily};
135
89
  font-size: ${Lt.fontSize};
136
90
  font-weight: ${Lt.fontWeight};
@@ -138,8 +92,18 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
138
92
  line-height: ${Lt.lineHeight};
139
93
  text-transform: ${Lt.textTransform};
140
94
  }
141
- `,dc=P`
142
- .ft-typography--button {
95
+
96
+ `,dc=L`
97
+ .ft-typography--body1 {
98
+ font-family: ${Pe.fontFamily};
99
+ font-size: ${Pe.fontSize};
100
+ font-weight: ${Pe.fontWeight};
101
+ letter-spacing: ${Pe.letterSpacing};
102
+ line-height: ${Pe.lineHeight};
103
+ text-transform: ${Pe.textTransform};
104
+ }
105
+ `,uc=L`
106
+ .ft-typography--body2 {
143
107
  font-family: ${$t.fontFamily};
144
108
  font-size: ${$t.fontSize};
145
109
  font-weight: ${$t.fontWeight};
@@ -147,29 +111,65 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
147
111
  line-height: ${$t.lineHeight};
148
112
  text-transform: ${$t.textTransform};
149
113
  }
150
- `,uc=P`
114
+ `,lo=L`
115
+ .ft-typography--caption {
116
+ font-family: ${ue.fontFamily};
117
+ font-size: ${ue.fontSize};
118
+ font-weight: ${ue.fontWeight};
119
+ letter-spacing: ${ue.letterSpacing};
120
+ line-height: ${ue.lineHeight};
121
+ text-transform: ${ue.textTransform};
122
+ }
123
+ `,pc=L`
124
+ .ft-typography--breadcrumb {
125
+ font-family: ${Ft.fontFamily};
126
+ font-size: ${Ft.fontSize};
127
+ font-weight: ${Ft.fontWeight};
128
+ letter-spacing: ${Ft.letterSpacing};
129
+ line-height: ${Ft.lineHeight};
130
+ text-transform: ${Ft.textTransform};
131
+ }
132
+ `,fc=L`
133
+ .ft-typography--overline {
134
+ font-family: ${kt.fontFamily};
135
+ font-size: ${kt.fontSize};
136
+ font-weight: ${kt.fontWeight};
137
+ letter-spacing: ${kt.letterSpacing};
138
+ line-height: ${kt.lineHeight};
139
+ text-transform: ${kt.textTransform};
140
+ }
141
+ `,hc=L`
142
+ .ft-typography--button {
143
+ font-family: ${Ut.fontFamily};
144
+ font-size: ${Ut.fontSize};
145
+ font-weight: ${Ut.fontWeight};
146
+ letter-spacing: ${Ut.letterSpacing};
147
+ line-height: ${Ut.lineHeight};
148
+ text-transform: ${Ut.textTransform};
149
+ }
150
+ `,mc=L`
151
151
  .ft-typography {
152
152
  vertical-align: inherit;
153
153
  }
154
- `,pc=[Object.keys(Xt).map(r=>ec(r))];var $={fontSize:t.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:t.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:t.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:t.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:t.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:t.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:t.extend("--ft-input-label-border-color","",M.colorOutline),textColor:t.extend("--ft-input-label-text-color","",M.colorOnSurfaceMedium),disabledTextColor:t.extend("--ft-input-label-disabled-text-color","",M.colorOnSurfaceDisabled),colorSurface:t.external(M.colorSurface,"Design system"),borderRadiusS:t.external(M.borderRadiusS,"Design system"),colorError:t.external(M.colorError,"Design system")},fc=P`
154
+ `,yc=[Object.keys(rr).map(t=>nc(t))];var U={fontSize:r.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:r.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:r.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:r.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:r.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:r.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:r.extend("--ft-input-label-border-color","",W.colorOutline),textColor:r.extend("--ft-input-label-text-color","",W.colorOnSurfaceMedium),disabledTextColor:r.extend("--ft-input-label-disabled-text-color","",W.colorOnSurfaceDisabled),colorSurface:r.external(W.colorSurface,"Design system"),borderRadiusS:r.external(W.borderRadiusS,"Design system"),colorError:r.external(W.colorError,"Design system")},gc=L`
155
155
  .ft-input-label {
156
156
  position: absolute;
157
157
  inset: 0;
158
158
  display: flex;
159
- background-color: ${$.colorSurface};
160
- border-radius: ${$.borderRadiusS} ${$.borderRadiusS} 0 0;
159
+ background-color: ${U.colorSurface};
160
+ border-radius: ${U.borderRadiusS} ${U.borderRadiusS} 0 0;
161
161
  }
162
162
 
163
163
  .ft-input-label--outlined {
164
- border-radius: ${$.borderRadiusS};
164
+ border-radius: ${U.borderRadiusS};
165
165
  }
166
166
 
167
167
  .ft-input-label {
168
- border-color: ${$.borderColor};
168
+ border-color: ${U.borderColor};
169
169
  }
170
170
 
171
171
  .ft-input-label.ft-input-label--in-error {
172
- border-color: ${$.colorError}
172
+ border-color: ${U.colorError}
173
173
  }
174
174
 
175
175
  .ft-input-label:before,
@@ -182,7 +182,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
182
182
  }
183
183
 
184
184
  .ft-input-label:before {
185
- width: calc(${$.horizontalSpacing} - 4px);
185
+ width: calc(${U.horizontalSpacing} - 4px);
186
186
  flex-shrink: 0;
187
187
  }
188
188
 
@@ -198,20 +198,20 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
198
198
  border-bottom-width: 1px;
199
199
  border-bottom-style: solid;
200
200
  border-color: inherit;
201
- color: ${$.textColor};
201
+ color: ${U.textColor};
202
202
  transition: font-size 250ms, line-height 250ms, color 250ms;
203
- max-width: calc(${$.labelMaxWidth} - 2 * (${$.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
203
+ max-width: calc(${U.labelMaxWidth} - 2 * (${U.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
204
204
  text-overflow: ellipsis;
205
- ${Z(ue.fontSize,$.fontSize)};
206
- ${Z(ue.lineHeight,$.fontSize)};
205
+ ${Z(ue.fontSize,U.fontSize)};
206
+ ${Z(ue.lineHeight,U.fontSize)};
207
207
  }
208
208
 
209
209
  .ft-input-label--in-error .ft-input-label--text {
210
- color: ${$.colorError}
210
+ color: ${U.colorError}
211
211
  }
212
212
 
213
213
  .ft-input-label--disabled .ft-input-label--text {
214
- color: ${$.disabledTextColor};
214
+ color: ${U.disabledTextColor};
215
215
  }
216
216
 
217
217
  .ft-input-label--hidden-text {
@@ -228,19 +228,19 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
228
228
  overflow: hidden;
229
229
  white-space: nowrap;
230
230
  text-overflow: ellipsis;
231
- padding: ${$.verticalSpacing} 4px;
232
- margin: calc(${$.verticalSpacing} * -1) 0;
231
+ padding: ${U.verticalSpacing} 4px;
232
+ margin: calc(${U.verticalSpacing} * -1) 0;
233
233
  max-width: 100%;
234
234
  box-sizing: border-box;
235
235
  }
236
236
 
237
237
  .ft-input-label--raised .ft-input-label--text {
238
- ${Z(ue.fontSize,$.raisedFontSize)};
239
- ${Z(ue.lineHeight,$.raisedFontSize)};
238
+ ${Z(ue.fontSize,U.raisedFontSize)};
239
+ ${Z(ue.lineHeight,U.raisedFontSize)};
240
240
  }
241
241
 
242
242
  .ft-input-label--raised .ft-input-label--floating-text {
243
- top: ${$.verticalSpacing};
243
+ top: ${U.verticalSpacing};
244
244
  }
245
245
 
246
246
  .ft-input-label--outlined .ft-input-label--text,
@@ -253,27 +253,27 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
253
253
  .ft-input-label--outlined:before {
254
254
  border-left-width: 1px;
255
255
  border-left-style: solid;
256
- border-radius: ${$.borderRadiusS} 0 0 ${$.borderRadiusS};
256
+ border-radius: ${U.borderRadiusS} 0 0 ${U.borderRadiusS};
257
257
  }
258
258
 
259
259
  .ft-input-label--outlined:after {
260
260
  border-right-width: 1px;
261
261
  border-right-style: solid;
262
- border-radius: 0 ${$.borderRadiusS} ${$.borderRadiusS} 0;
262
+ border-radius: 0 ${U.borderRadiusS} ${U.borderRadiusS} 0;
263
263
  }
264
264
 
265
265
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
266
266
  padding: 2px 4px;
267
- z-index: ${$.raisedZIndex};
268
- background-color: ${$.colorSurface};
269
- border-radius: ${$.borderRadiusS};
267
+ z-index: ${U.raisedZIndex};
268
+ background-color: ${U.colorSurface};
269
+ border-radius: ${U.borderRadiusS};
270
270
  top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
271
271
  }
272
272
 
273
273
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--text {
274
274
  border-top: none;
275
275
  }
276
- `;var hc=t.extend("--ft-ripple-color","",M.colorContent),ge={color:hc,backgroundColor:t.extend("--ft-ripple-background-color","",hc),opacityContentOnSurfacePressed:t.external(M.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:t.external(M.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:t.external(M.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:t.external(M.opacityContentOnSurfaceSelected,"Design system"),borderRadius:t.create("--ft-ripple-border-radius","","SIZE","0px")},mc=t.extend("--ft-ripple-color","",M.colorPrimary),yc={color:mc,backgroundColor:t.extend("--ft-ripple-background-color","",mc)},gc=t.extend("--ft-ripple-color","",M.colorSecondary),bc={color:gc,backgroundColor:t.extend("--ft-ripple-background-color","",gc)},xc=P`
276
+ `;var bc=r.extend("--ft-ripple-color","",W.colorContent),ve={color:bc,backgroundColor:r.extend("--ft-ripple-background-color","",bc),opacityContentOnSurfacePressed:r.external(W.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:r.external(W.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:r.external(W.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:r.external(W.opacityContentOnSurfaceSelected,"Design system"),borderRadius:r.create("--ft-ripple-border-radius","","SIZE","0px")},xc=r.extend("--ft-ripple-color","",W.colorPrimary),vc={color:xc,backgroundColor:r.extend("--ft-ripple-background-color","",xc)},Sc=r.extend("--ft-ripple-color","",W.colorSecondary),Oc={color:Sc,backgroundColor:r.extend("--ft-ripple-background-color","",Sc)},Ec=L`
277
277
  :host {
278
278
  display: contents;
279
279
  }
@@ -286,7 +286,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
286
286
 
287
287
  .ft-ripple:not(.ft-ripple--unbounded) {
288
288
  overflow: hidden;
289
- border-radius: ${ge.borderRadius};
289
+ border-radius: ${ve.borderRadius};
290
290
  }
291
291
 
292
292
  .ft-ripple .ft-ripple--background,
@@ -320,27 +320,27 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
320
320
  }
321
321
 
322
322
  .ft-ripple .ft-ripple--background {
323
- background-color: ${ge.backgroundColor};
323
+ background-color: ${ve.backgroundColor};
324
324
  }
325
325
 
326
326
  .ft-ripple .ft-ripple--effect {
327
- background-color: ${ge.color};
327
+ background-color: ${ve.color};
328
328
  }
329
329
 
330
330
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
331
- background-color: ${bc.backgroundColor};
331
+ background-color: ${Oc.backgroundColor};
332
332
  }
333
333
 
334
334
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
335
- background-color: ${bc.color};
335
+ background-color: ${Oc.color};
336
336
  }
337
337
 
338
338
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
339
- background-color: ${yc.backgroundColor};
339
+ background-color: ${vc.backgroundColor};
340
340
  }
341
341
 
342
342
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
343
- background-color: ${yc.color};
343
+ background-color: ${vc.color};
344
344
  }
345
345
 
346
346
  .ft-ripple .ft-ripple--background {
@@ -370,22 +370,22 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
370
370
  }
371
371
 
372
372
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
373
- opacity: ${ge.opacityContentOnSurfaceHover};
373
+ opacity: ${ve.opacityContentOnSurfaceHover};
374
374
  }
375
375
 
376
376
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
377
- opacity: ${ge.opacityContentOnSurfaceSelected};
377
+ opacity: ${ve.opacityContentOnSurfaceSelected};
378
378
  }
379
379
 
380
380
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
381
- opacity: ${ge.opacityContentOnSurfaceFocused};
381
+ opacity: ${ve.opacityContentOnSurfaceFocused};
382
382
  }
383
383
 
384
384
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
385
- opacity: ${ge.opacityContentOnSurfacePressed};
385
+ opacity: ${ve.opacityContentOnSurfacePressed};
386
386
  transform: translate(-50%, -50%) scale(1);
387
387
  }
388
- `;var H={fontSize:t.create("--ft-number-field-font-size","","SIZE","14px"),labelSize:t.create("--ft-number-field-label-size","","SIZE","11px"),verticalSpacing:t.create("--ft-number-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:t.create("--ft-number-field-horizontal-spacing","","SIZE","16px"),helperColor:t.extend("--ft-number-field-helper-color","",M.colorOnSurfaceMedium),colorPrimary:t.external(M.colorPrimary,"Design system"),colorOnSurface:t.external(M.colorOnSurface,"Design system"),colorOnSurfaceDisabled:t.external(M.colorOnSurfaceDisabled,"Design system"),borderRadiusS:t.external(M.borderRadiusS,"Design system"),colorSurface:t.external(M.colorSurface,"Design system"),colorOutline:t.external(M.colorOutline,"Design system")},vc=P`
388
+ `;var H={fontSize:r.create("--ft-number-field-font-size","","SIZE","14px"),labelSize:r.create("--ft-number-field-label-size","","SIZE","11px"),verticalSpacing:r.create("--ft-number-field-vertical-spacing","","SIZE","4px"),horizontalSpacing:r.create("--ft-number-field-horizontal-spacing","","SIZE","16px"),helperColor:r.extend("--ft-number-field-helper-color","",W.colorOnSurfaceMedium),colorPrimary:r.external(W.colorPrimary,"Design system"),colorOnSurface:r.external(W.colorOnSurface,"Design system"),colorOnSurfaceDisabled:r.external(W.colorOnSurfaceDisabled,"Design system"),borderRadiusS:r.external(W.borderRadiusS,"Design system"),colorSurface:r.external(W.colorSurface,"Design system"),colorOutline:r.external(W.colorOutline,"Design system")},wc=L`
389
389
  *:focus {
390
390
  outline: none;
391
391
  }
@@ -398,10 +398,10 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
398
398
  }
399
399
 
400
400
  ft-input-label {
401
- ${Z($.fontSize,H.fontSize)};
402
- ${Z($.raisedFontSize,H.labelSize)};
403
- ${Z($.verticalSpacing,H.verticalSpacing)};
404
- ${Z($.horizontalSpacing,H.horizontalSpacing)};
401
+ ${Z(U.fontSize,H.fontSize)};
402
+ ${Z(U.raisedFontSize,H.labelSize)};
403
+ ${Z(U.verticalSpacing,H.verticalSpacing)};
404
+ ${Z(U.horizontalSpacing,H.horizontalSpacing)};
405
405
  }
406
406
 
407
407
  .ft-number-field--main-panel {
@@ -418,13 +418,13 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
418
418
  overflow: hidden;
419
419
  padding: 0 ${H.horizontalSpacing};
420
420
 
421
- ${Z(Ne.fontSize,H.fontSize)};
422
- ${Z(Ne.lineHeight,H.fontSize)};
421
+ ${Z(Pe.fontSize,H.fontSize)};
422
+ ${Z(Pe.lineHeight,H.fontSize)};
423
423
  }
424
424
 
425
425
  .ft-number-field--input-panel ft-ripple {
426
- ${Z(ge.opacityContentOnSurfaceHover,"0.08")};
427
- ${Z(ge.opacityContentOnSurfacePressed,"0.04")};
426
+ ${Z(ve.opacityContentOnSurfaceHover,"0.08")};
427
+ ${Z(ve.opacityContentOnSurfacePressed,"0.04")};
428
428
  }
429
429
 
430
430
  .ft-number-field--filled.ft-number-field--with-label .ft-number-field--input-panel {
@@ -457,8 +457,8 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
457
457
  }
458
458
 
459
459
  .ft-number-field:not(.ft-number-field--disabled):focus-within ft-input-label {
460
- ${Z($.borderColor,H.colorPrimary)};
461
- ${Z($.textColor,H.colorPrimary)};
460
+ ${Z(U.borderColor,H.colorPrimary)};
461
+ ${Z(U.textColor,H.colorPrimary)};
462
462
  }
463
463
 
464
464
  .ft-number-field--filled .ft-number-field--input-panel {
@@ -479,36 +479,36 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
479
479
  padding: 0 12px 0 ${H.horizontalSpacing};
480
480
  color: ${H.helperColor};
481
481
  }
482
- `;var fr=function(r,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,o,n);else for(var c=r.length-1;c>=0;c--)(s=r[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},ie=class extends q{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){let e={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return fe`
483
- <div class="${it(e)}">
484
- ${this.text?fe`
482
+ `;var vr=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},ie=class extends q{constructor(){super(...arguments),this.text="",this.raised=!1,this.outlined=!1,this.disabled=!1,this.error=!1}render(){let e={"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error};return he`
483
+ <div class="${st(e)}">
484
+ ${this.text?he`
485
485
  <div class="ft-input-label--text ft-typography--caption">
486
486
  <span class="ft-input-label--floating-text">${this.text}</span>
487
487
  <span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
488
488
  </div>
489
489
  `:null}
490
490
  </div>
491
- `}};ie.elementDefinitions={};ie.styles=[io,fc];fr([T({type:String})],ie.prototype,"text",void 0);fr([T({type:Boolean})],ie.prototype,"raised",void 0);fr([T({type:Boolean})],ie.prototype,"outlined",void 0);fr([T({type:Boolean})],ie.prototype,"disabled",void 0);fr([T({type:Boolean})],ie.prototype,"error",void 0);Oe("ft-input-label")(ie);var te=function(r,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,o,n);else for(var c=r.length-1;c>=0;c--)(s=r[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},K=class extends q{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new Fe(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Fe(10),this.moveRipple=e=>{var o,n;let{x:i,y:a}=this.getCoordinates(e),s=(n=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return fe`
491
+ `}};ie.elementDefinitions={};ie.styles=[lo,gc];vr([$({type:String})],ie.prototype,"text",void 0);vr([$({type:Boolean})],ie.prototype,"raised",void 0);vr([$({type:Boolean})],ie.prototype,"outlined",void 0);vr([$({type:Boolean})],ie.prototype,"disabled",void 0);vr([$({type:Boolean})],ie.prototype,"error",void 0);Ce("ft-input-label")(ie);var te=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},K=class extends q{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new De(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 De(10),this.moveRipple=e=>{var o,n;let{x:i,y:a}=this.getCoordinates(e),s=(n=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return he`
492
492
  <style>
493
493
  .ft-ripple .ft-ripple--effect {
494
494
  left: ${this.originX}px;
495
495
  top: ${this.originY}px;
496
496
  }
497
497
  </style>
498
- <div class="${it(e)}">
498
+ <div class="${st(e)}">
499
499
  <div class="ft-ripple--background"></div>
500
500
  <div class="ft-ripple--effect"></div>
501
501
  </div>
502
- `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var o,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,o;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let o=(...c)=>l=>{c.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(l)},n=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&o("keyup")(c)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",n,s),e.addEventListener("touchstart",i,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",n,s),e.removeEventListener("touchstart",i,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let o=e,n=e,i,a;return o.x!=null?{x:i,y:a}=o:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let o of e.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};K.elementDefinitions={};K.styles=xc;te([T({type:Boolean})],K.prototype,"primary",void 0);te([T({type:Boolean})],K.prototype,"secondary",void 0);te([T({type:Boolean})],K.prototype,"unbounded",void 0);te([T({type:Boolean})],K.prototype,"activated",void 0);te([T({type:Boolean})],K.prototype,"selected",void 0);te([T({type:Boolean})],K.prototype,"disabled",void 0);te([ae()],K.prototype,"hovered",void 0);te([ae()],K.prototype,"focused",void 0);te([ae()],K.prototype,"pressed",void 0);te([ae()],K.prototype,"rippling",void 0);te([ae()],K.prototype,"originX",void 0);te([ae()],K.prototype,"originY",void 0);te([nt(".ft-ripple")],K.prototype,"ripple",void 0);te([nt(".ft-ripple--effect")],K.prototype,"rippleEffect",void 0);Oe("ft-ripple")(K);var Oc=Symbol.for(""),xu=r=>{if(r?.r===Oc)return r?._$litStatic$},wi=r=>({_$litStatic$:r,r:Oc});var Sc=new Map,Ec=r=>(e,...o)=>{let n=o.length,i,a,s=[],c=[],l,u=0,h=!1;for(;u<n;){for(l=e[u];u<n&&(a=o[u],(i=xu(a))!==void 0);)l+=i+e[++u],h=!0;u!==n&&c.push(a),s.push(l),u++}if(u===n&&s.push(e[n]),h){let f=s.join("$$lit$$");(e=Sc.get(f))===void 0&&(s.raw=s,Sc.set(f,e=s)),o=c}return r(e,...o)},Ci=Ec(zi),N0=Ec(Hi);var ao;(function(r){r.title="title",r.title_dense="title-dense",r.subtitle1="subtitle1",r.subtitle2="subtitle2",r.body1="body1",r.body2="body2",r.caption="caption",r.breadcrumb="breadcrumb",r.overline="overline",r.button="button",r.display="display",r.title1="title-1",r.title2="title-2",r.title3="title-3",r.body1regular="body-1-regular",r.body1medium="body-1-medium",r.body1semibold="body-1-semibold",r.body2regular="body-2-regular",r.body2medium="body-2-medium",r.body2semibold="body-2-semibold",r.label1medium="label-1-medium",r.label1semibold="label-1-semibold",r.label1bold="label-1-bold",r.label2medium="label-2-medium",r.label2semibold="label-2-semibold",r.label2bold="label-2-bold",r.caption1medium="caption-1-medium",r.caption1semibold="caption-1-semibold",r.caption1bold="caption-1-bold",r.caption2medium="caption-2-medium",r.caption2semibold="caption-2-semibold",r.caption2bold="caption-2-bold"})(ao||(ao={}));var wc=function(r,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,o,n);else for(var c=r.length-1;c>=0;c--)(s=r[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Ie=class extends q{constructor(){super(...arguments),this.variant=ao.body1}render(){return this.element?Ci`
503
- <${wi(this.element)}
502
+ `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var o,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,o;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let o=(...c)=>l=>{c.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(l)},n=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&o("keyup")(c)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",n,s),e.addEventListener("touchstart",i,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",n,s),e.removeEventListener("touchstart",i,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let o=e,n=e,i,a;return o.x!=null?{x:i,y:a}=o:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let o of e.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};K.elementDefinitions={};K.styles=Ec;te([$({type:Boolean})],K.prototype,"primary",void 0);te([$({type:Boolean})],K.prototype,"secondary",void 0);te([$({type:Boolean})],K.prototype,"unbounded",void 0);te([$({type:Boolean})],K.prototype,"activated",void 0);te([$({type:Boolean})],K.prototype,"selected",void 0);te([$({type:Boolean})],K.prototype,"disabled",void 0);te([ae()],K.prototype,"hovered",void 0);te([ae()],K.prototype,"focused",void 0);te([ae()],K.prototype,"pressed",void 0);te([ae()],K.prototype,"rippling",void 0);te([ae()],K.prototype,"originX",void 0);te([ae()],K.prototype,"originY",void 0);te([at(".ft-ripple")],K.prototype,"ripple",void 0);te([at(".ft-ripple--effect")],K.prototype,"rippleEffect",void 0);Ce("ft-ripple")(K);var Ac=Symbol.for(""),Au=t=>{if(t?.r===Ac)return t?._$litStatic$},Ii=t=>({_$litStatic$:t,r:Ac});var Cc=new Map,Rc=t=>(e,...o)=>{let n=o.length,i,a,s=[],c=[],l,u=0,h=!1;for(;u<n;){for(l=e[u];u<n&&(a=o[u],(i=Au(a))!==void 0);)l+=i+e[++u],h=!0;u!==n&&c.push(a),s.push(l),u++}if(u===n&&s.push(e[n]),h){let f=s.join("$$lit$$");(e=Cc.get(f))===void 0&&(s.raw=s,Cc.set(f,e=s)),o=c}return t(e,...o)},Pi=Rc(Zi),P0=Rc(qi);var uo;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(uo||(uo={}));var Nc=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Le=class extends q{constructor(){super(...arguments),this.variant=uo.body1}render(){return this.element?Pi`
503
+ <${Ii(this.element)}
504
504
  part="text"
505
505
  class="ft-typography ft-typography--${this.variant}">
506
506
  <slot></slot>
507
- </${wi(this.element)}>
508
- `:Ci`
507
+ </${Ii(this.element)}>
508
+ `:Pi`
509
509
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
510
- `}};Ie.styles=[rc,oc,nc,ic,ac,sc,io,cc,lc,dc,uc,...pc];wc([T()],Ie.prototype,"element",void 0);wc([T()],Ie.prototype,"variant",void 0);Oe("ft-typography")(Ie);var be=function(r,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,e,o,n);else for(var c=r.length-1;c>=0;c--)(s=r[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Q=class extends q{constructor(){super(...arguments),this.helper="",this.outlined=!1,this.disabled=!1,this.focused=!1}render(){let e={"ft-number-field":!0,"ft-number-field--filled":!this.outlined,"ft-number-field--outlined":this.outlined,"ft-number-field--disabled":this.disabled,"ft-number-field--has-value":this.value!=null,"ft-number-field--with-label":!!this.label};return fe`
511
- <div class="${it(e)}">
510
+ `}};Le.styles=[ac,sc,cc,lc,dc,uc,lo,pc,fc,hc,mc,...yc];Nc([$()],Le.prototype,"element",void 0);Nc([$()],Le.prototype,"variant",void 0);Ce("ft-typography")(Le);var Se=function(t,e,o,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,o,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,o,a):s(e,o))||a);return i>3&&a&&Object.defineProperty(e,o,a),a},Q=class extends q{constructor(){super(...arguments),this.helper="",this.outlined=!1,this.disabled=!1,this.focused=!1}render(){let e={"ft-number-field":!0,"ft-number-field--filled":!this.outlined,"ft-number-field--outlined":this.outlined,"ft-number-field--disabled":this.disabled,"ft-number-field--has-value":this.value!=null,"ft-number-field--with-label":!!this.label};return he`
511
+ <div class="${st(e)}">
512
512
  <div class="ft-number-field--main-panel"
513
513
  @focusout=${this.onMainPanelBlur}>
514
514
  <ft-input-label text="${this.label}"
@@ -517,7 +517,7 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
517
517
  ?raised=${this.focused||this.value!=null}>
518
518
  </ft-input-label>
519
519
  <div class="ft-number-field--input-panel">
520
- ${this.outlined?V:fe`
520
+ ${this.outlined?V:he`
521
521
  <ft-ripple ?disabled=${this.disabled} activated></ft-ripple>
522
522
  `}
523
523
  <input type="number"
@@ -533,12 +533,12 @@ Also for action icons.`,d.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
533
533
  />
534
534
  </div>
535
535
  </div>
536
- ${this.helper?fe`
536
+ ${this.helper?he`
537
537
  <ft-typography class="ft-number-field--helper-text" variant="caption">
538
538
  ${this.helper}
539
539
  </ft-typography>`:V}
540
540
  </div>
541
- `}update(e){super.update(e),(e.has("max")||e.has("min"))&&this.setValue(this.value)}lowerBound(e){return this.min!=null?Math.max(this.min,e):e}upperBound(e){return this.max!=null?Math.min(this.max,e):e}onChange(e){e.preventDefault(),e.stopPropagation(),this.setValue(+e.target.value)}setValue(e){let o=this.value;this.value=e;let n=this.value==null?void 0:this.lowerBound(this.upperBound(this.value));setTimeout(()=>{this.value=n,o!==n&&this.dispatchEvent(new CustomEvent("change",{detail:this.value}))})}onFocus(){this.focused=!0}onMainPanelBlur(){var e;!((e=this.mainPanel)===null||e===void 0)&&e.matches(":focus-within")||(this.focused=!1)}};Q.elementDefinitions={"ft-input-label":ie,"ft-ripple":K,"ft-typography":Ie};Q.styles=vc;be([T()],Q.prototype,"label",void 0);be([Jt()],Q.prototype,"value",void 0);be([T({type:String})],Q.prototype,"helper",void 0);be([T({type:Boolean})],Q.prototype,"outlined",void 0);be([T({type:Boolean})],Q.prototype,"disabled",void 0);be([Jt()],Q.prototype,"min",void 0);be([Jt()],Q.prototype,"max",void 0);be([ae()],Q.prototype,"focused",void 0);be([nt(".ft-number-field--input")],Q.prototype,"input",void 0);be([nt(".ft-number-field--main-panel")],Q.prototype,"mainPanel",void 0);Oe("ft-number-field")(Q);})();
541
+ `}update(e){super.update(e),(e.has("max")||e.has("min"))&&this.setValue(this.value)}lowerBound(e){return this.min!=null?Math.max(this.min,e):e}upperBound(e){return this.max!=null?Math.min(this.max,e):e}onChange(e){e.preventDefault(),e.stopPropagation(),this.setValue(+e.target.value)}setValue(e){let o=this.value;this.value=e;let n=this.value==null?void 0:this.lowerBound(this.upperBound(this.value));setTimeout(()=>{this.value=n,o!==n&&this.dispatchEvent(new CustomEvent("change",{detail:this.value}))})}onFocus(){this.focused=!0}onMainPanelBlur(){var e;!((e=this.mainPanel)===null||e===void 0)&&e.matches(":focus-within")||(this.focused=!1)}};Q.elementDefinitions={"ft-input-label":ie,"ft-ripple":K,"ft-typography":Le};Q.styles=wc;Se([$()],Q.prototype,"label",void 0);Se([tr()],Q.prototype,"value",void 0);Se([$({type:String})],Q.prototype,"helper",void 0);Se([$({type:Boolean})],Q.prototype,"outlined",void 0);Se([$({type:Boolean})],Q.prototype,"disabled",void 0);Se([tr()],Q.prototype,"min",void 0);Se([tr()],Q.prototype,"max",void 0);Se([ae()],Q.prototype,"focused",void 0);Se([at(".ft-number-field--input")],Q.prototype,"input",void 0);Se([at(".ft-number-field--main-panel")],Q.prototype,"mainPanel",void 0);Ce("ft-number-field")(Q);})();
542
542
  /*! Bundled license information:
543
543
 
544
544
  @webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js: