@fluid-topics/ft-icon 1.3.5 → 1.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-icon.min.js +15 -15
- package/package.json +3 -3
package/build/ft-icon.min.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
2
|
-
`)===0?D.substr(1,D.length):D}).forEach(function(D){var B=D.split(":"),I=B.shift().trim();if(I){var Wt=B.join(":").trim();try{x.append(I,Wt)}catch(mr){console.warn("Response "+mr.message)}}}),x}R.call(S.prototype);function L(m,x){if(!(this instanceof L))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)}R.call(L.prototype),L.prototype.clone=function(){return new L(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},L.error=function(){var m=new L(null,{status:200,statusText:""});return m.ok=!1,m.status=0,m.type="error",m};var k=[301,302,303,307,308];L.redirect=function(m,x){if(k.indexOf(x)===-1)throw new RangeError("Invalid status code");return new L(null,{status:x,headers:{location:m}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(x,_){this.message=x,this.name=_;var D=Error(x);this.stack=D.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function N(m,x){return new Promise(function(_,D){var B=new S(m,x);if(B.signal&&B.signal.aborted)return D(new o.DOMException("Aborted","AbortError"));var I=new XMLHttpRequest;function Wt(){I.abort()}I.onload=function(){var G={statusText:I.statusText,headers:P(I.getAllResponseHeaders()||"")};B.url.indexOf("file://")===0&&(I.status<200||I.status>599)?G.status=200:G.status=I.status,G.url="responseURL"in I?I.responseURL:G.headers.get("X-Request-URL");var Re="response"in I?I.response:I.responseText;setTimeout(function(){_(new L(Re,G))},0)},I.onerror=function(){setTimeout(function(){D(new TypeError("Network request failed"))},0)},I.ontimeout=function(){setTimeout(function(){D(new TypeError("Network request timed out"))},0)},I.onabort=function(){setTimeout(function(){D(new o.DOMException("Aborted","AbortError"))},0)};function mr(G){try{return G===""&&n.location.href?n.location.href:G}catch{return G}}if(I.open(B.method,mr(B.url),!0),B.credentials==="include"?I.withCredentials=!0:B.credentials==="omit"&&(I.withCredentials=!1),"responseType"in I&&(a.blob?I.responseType="blob":a.arrayBuffer&&(I.responseType="arraybuffer")),x&&typeof x.headers=="object"&&!(x.headers instanceof f||n.Headers&&x.headers instanceof n.Headers)){var xn=[];Object.getOwnPropertyNames(x.headers).forEach(function(G){xn.push(d(G)),I.setRequestHeader(G,p(x.headers[G]))}),B.headers.forEach(function(G,Re){xn.indexOf(Re)===-1&&I.setRequestHeader(Re,G)})}else B.headers.forEach(function(G,Re){I.setRequestHeader(Re,G)});B.signal&&(B.signal.addEventListener("abort",Wt),I.onreadystatechange=function(){I.readyState===4&&B.signal.removeEventListener("abort",Wt)}),I.send(typeof B._bodyInit>"u"?null:B._bodyInit)})}return N.polyfill=!0,n.fetch||(n.fetch=N,n.Headers=f,n.Request=S,n.Response=L),o.Headers=f,o.Request=S,o.Response=L,o.fetch=N,o}({})})(pr);pr.fetch.ponyfill=!0;delete pr.fetch.polyfill;var ct=ur.fetch?ur:pr;Ae=ct.fetch;Ae.default=ct.fetch;Ae.fetch=ct.fetch;Ae.Headers=ct.Headers;Ae.Request=ct.Request;Ae.Response=ct.Response;Ti.exports=Ae});if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,n=window.customElements,a=new WeakMap,i=new WeakMap,c=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(O,E){if(O=O.toLowerCase(),this._getDefinition(O)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${O}" has already been used with this registry`);if(this._definitionsByClass.get(E)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let S=E.prototype.attributeChangedCallback,T=new Set(E.observedAttributes||[]);g(E,T,S);let P={elementClass:E,connectedCallback:E.prototype.connectedCallback,disconnectedCallback:E.prototype.disconnectedCallback,adoptedCallback:E.prototype.adoptedCallback,attributeChangedCallback:S,formAssociated:E.formAssociated,formAssociatedCallback:E.prototype.formAssociatedCallback,formDisabledCallback:E.prototype.formDisabledCallback,formResetCallback:E.prototype.formResetCallback,formStateRestoreCallback:E.prototype.formStateRestoreCallback,observedAttributes:T};this._definitionsByTag.set(O,P),this._definitionsByClass.set(E,P);let L=o.call(n,O);L||(L=f(O),e.call(n,O,L)),this===window.customElements&&(c.set(E,P),P.standInClass=L);let k=this._awaitingUpgrade.get(O);if(k){this._awaitingUpgrade.delete(O);for(let m of k)i.delete(m),y(m,P,!0)}let N=this._whenDefinedPromises.get(O);return N!==void 0&&(N.resolve(E),this._whenDefinedPromises.delete(O)),E}upgrade(){A.push(this),n.upgrade.apply(n,arguments),A.pop()}get(O){return this._definitionsByTag.get(O)?.elementClass}_getDefinition(O){return this._definitionsByTag.get(O)}whenDefined(O){let E=this._getDefinition(O);if(E!==void 0)return Promise.resolve(E.elementClass);let S=this._whenDefinedPromises.get(O);return S===void 0&&(S={},S.promise=new Promise(T=>S.resolve=T),this._whenDefinedPromises.set(O,S)),S.promise}_upgradeWhenDefined(O,E,S){let T=this._awaitingUpgrade.get(E);T||this._awaitingUpgrade.set(E,T=new Set),S?T.add(O):T.delete(O)}};let d;window.HTMLElement=function(){let E=d;if(E)return d=void 0,E;let S=c.get(this.constructor);if(!S)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return E=Reflect.construct(t,[],S.standInClass),Object.setPrototypeOf(E,this.constructor.prototype),a.set(E,S),E},window.HTMLElement.prototype=t.prototype;let p=O=>O===document||O instanceof ShadowRoot,h=O=>{let E=O.getRootNode();if(!p(E)){let S=A[A.length-1];if(S instanceof CustomElementRegistry)return S;E=S.getRootNode(),p(E)||(E=l.get(E)?.getRootNode()||document)}return E.customElements},f=O=>class{static get formAssociated(){return!0}constructor(){let S=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(S,HTMLElement.prototype);let T=h(S)||window.customElements,P=T._getDefinition(O);return P?y(S,P):i.set(S,T),S}connectedCallback(){let S=a.get(this);S?S.connectedCallback&&S.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,O,!0)}disconnectedCallback(){let S=a.get(this);S?S.disconnectedCallback&&S.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,O,!1)}adoptedCallback(){a.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let S=a.get(this);S&&S.formAssociated&&S?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let S=a.get(this);S?.formAssociated&&S?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let S=a.get(this);S?.formAssociated&&S?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let S=a.get(this);S?.formAssociated&&S?.formStateRestoreCallback?.apply(this,arguments)}},g=(O,E,S)=>{if(E.size===0||S===void 0)return;let T=O.prototype.setAttribute;T&&(O.prototype.setAttribute=function(k,N){let m=k.toLowerCase();if(E.has(m)){let x=this.getAttribute(m);T.call(this,m,N),S.call(this,m,x,N)}else T.call(this,m,N)});let P=O.prototype.removeAttribute;P&&(O.prototype.removeAttribute=function(k){let N=k.toLowerCase();if(E.has(N)){let m=this.getAttribute(N);P.call(this,N),S.call(this,N,m,null)}else P.call(this,N)});let L=O.prototype.toggleAttribute;L&&(O.prototype.toggleAttribute=function(k,N){let m=k.toLowerCase();if(E.has(m)){let x=this.getAttribute(m);L.call(this,m,N);let _=this.getAttribute(m);S.call(this,m,x,_)}else L.call(this,m,N)})},b=O=>{let E=Object.getPrototypeOf(O);if(E!==window.HTMLElement)return E===t?Object.setPrototypeOf(O,window.HTMLElement):b(E)},y=(O,E,S=!1)=>{Object.setPrototypeOf(O,E.elementClass.prototype),a.set(O,E),d=O;try{new E.elementClass}catch{b(E.elementClass),new E.elementClass}E.attributeChangedCallback&&E.observedAttributes.forEach(T=>{O.hasAttribute(T)&&E.attributeChangedCallback.call(O,T,null,O.getAttribute(T))}),S&&E.connectedCallback&&O.isConnected&&E.connectedCallback.call(O)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(O){let E=v.apply(this,arguments);return O.customElements&&(E.customElements=O.customElements),E};let A=[document],C=(O,E,S=void 0)=>{let T=(S?Object.getPrototypeOf(S):O.prototype)[E];O.prototype[E]=function(){A.push(this);let P=T.apply(S||this,arguments);return P!==void 0&&l.set(P,this),A.pop(),P}};C(ShadowRoot,"createElement",document),C(ShadowRoot,"importNode",document),C(Element,"insertAdjacentHTML");let R=(O,E)=>{let S=Object.getOwnPropertyDescriptor(O.prototype,E);Object.defineProperty(O.prototype,E,{...S,set(T){A.push(this),S.set.call(this,T),A.pop()}})};if(R(Element,"innerHTML"),R(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let O=new WeakMap,E=HTMLElement.prototype.attachInternals,S=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...k){let N=E.call(this,...k);return O.set(N,this),N},S.forEach(k=>{let N=window.ElementInternals.prototype,m=N[k];N[k]=function(...x){let _=O.get(this);if(a.get(_).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 T extends Array{constructor(N){super(...N),this._elements=N}get value(){return this._elements.find(N=>N.checked===!0)?.value||""}}class P{constructor(N){let m=new Map;N.forEach((x,_)=>{let D=x.getAttribute("name"),B=m.get(D)||[];this[+_]=x,B.push(x),m.set(D,B)}),this.length=N.length,m.forEach((x,_)=>{x&&(x.length===1?this[_]=x[0]:this[_]=new T(x))})}namedItem(N){return this[N]}}let L=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let k=L.get.call(this,[]),N=[];for(let m of k){let x=a.get(m);(!x||x.formAssociated===!0)&&N.push(m)}return new P(N)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(o,n,a)=>{if(n!==null)try{e.bind(window.customElements)(o,n,a)}catch(i){console.info(o,n,a,i)}}}var Rr={};U(Rr,{CSSResult:()=>ze,LitElement:()=>se,ReactiveElement:()=>re,_$LE:()=>Ic,_$LH:()=>Cr,adoptStyles:()=>pt,css:()=>F,defaultConverter:()=>Ge,getCompatibleStyle:()=>Ft,html:()=>qt,isServer:()=>Od,mathml:()=>Tc,noChange:()=>j,notEqual:()=>ht,nothing:()=>W,render:()=>Ar,supportsAdoptingStyleSheets:()=>dt,svg:()=>_c,unsafeCSS:()=>ut});var Ht=globalThis,dt=Ht.ShadowRoot&&(Ht.ShadyCSS===void 0||Ht.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,yr=Symbol(),vn=new WeakMap,ze=class{constructor(e,o,n){if(this._$cssResult$=!0,n!==yr)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(dt&&e===void 0){let n=o!==void 0&&o.length===1;n&&(e=vn.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&vn.set(o,e))}return e}toString(){return this.cssText}},ut=t=>new ze(typeof t=="string"?t:t+"",void 0,yr),F=(t,...e)=>{let o=t.length===1?t[0]:e.reduce((n,a,i)=>n+(c=>{if(c._$cssResult$===!0)return c.cssText;if(typeof c=="number")return c;throw Error("Value passed to 'css' function must be a 'css' function result: "+c+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(a)+t[i+1],t[0]);return new ze(o,t,yr)},pt=(t,e)=>{if(dt)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let n=document.createElement("style"),a=Ht.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,t.appendChild(n)}},Ft=dt?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let o="";for(let n of e.cssRules)o+=n.cssText;return ut(o)})(t):t;var{is:vc,defineProperty:Sc,getOwnPropertyDescriptor:Oc,getOwnPropertyNames:Ec,getOwnPropertySymbols:Cc,getPrototypeOf:Ac}=Object,zt=globalThis,Sn=zt.trustedTypes,wc=Sn?Sn.emptyScript:"",Rc=zt.reactiveElementPolyfillSupport,ft=(t,e)=>t,Ge={toAttribute(t,e){switch(e){case Boolean:t=t?wc: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}},ht=(t,e)=>!vc(t,e),On={attribute:!0,type:String,converter:Ge,reflect:!1,useDefault:!1,hasChanged:ht};Symbol.metadata??=Symbol("metadata"),zt.litPropertyMetadata??=new WeakMap;var re=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=On){if(o.state&&(o.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((o=Object.create(o)).wrapped=!0),this.elementProperties.set(e,o),!o.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(e,n,o);a!==void 0&&Sc(this.prototype,e,a)}}static getPropertyDescriptor(e,o,n){let{get:a,set:i}=Oc(this.prototype,e)??{get(){return this[o]},set(c){this[o]=c}};return{get:a,set(c){let l=a?.call(this);i?.call(this,c),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??On}static _$Ei(){if(this.hasOwnProperty(ft("elementProperties")))return;let e=Ac(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=[...Ec(o),...Cc(o)];for(let a of n)this.createProperty(a,o[a])}let e=this[Symbol.metadata];if(e!==null){let o=litPropertyMetadata.get(e);if(o!==void 0)for(let[n,a]of o)this.elementProperties.set(n,a)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let a=this._$Eu(o,n);a!==void 0&&this._$Eh.set(a,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let o=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let a of n)o.unshift(Ft(a))}else e!==void 0&&o.push(Ft(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._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){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 pt(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,o,n){this._$AK(e,n)}_$ET(e,o){let n=this.constructor.elementProperties.get(e),a=this.constructor._$Eu(e,n);if(a!==void 0&&n.reflect===!0){let i=(n.converter?.toAttribute!==void 0?n.converter:Ge).toAttribute(o,n.type);this._$Em=e,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(e,o){let n=this.constructor,a=n._$Eh.get(e);if(a!==void 0&&this._$Em!==a){let i=n.getPropertyOptions(a),c=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:Ge;this._$Em=a,this[a]=c.fromAttribute(o,i.type)??this._$Ej?.get(a)??null,this._$Em=null}}requestUpdate(e,o,n){if(e!==void 0){let a=this.constructor,i=this[e];if(n??=a.getPropertyOptions(e),!((n.hasChanged??ht)(i,o)||n.useDefault&&n.reflect&&i===this._$Ej?.get(e)&&!this.hasAttribute(a._$Eu(e,n))))return;this.C(e,o,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,o,{useDefault:n,reflect:a,wrapped:i},c){n&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,c??o??this[e]),i!==!0||c!==void 0)||(this._$AL.has(e)||(this.hasUpdated||n||(o=void 0),this._$AL.set(e,o)),a===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(o){Promise.reject(o)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[a,i]of n){let{wrapped:c}=i,l=this[a];c!==!0||this._$AL.has(a)||l===void 0||this.C(a,void 0,i,l)}}let e=!1,o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),this._$EO?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$EM()}catch(n){throw e=!1,this._$EM(),n}e&&this._$AE(o)}willUpdate(e){}_$AE(e){this._$EO?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(o=>this._$ET(o,this[o])),this._$EM()}updated(e){}firstUpdated(e){}};re.elementStyles=[],re.shadowRootOptions={mode:"open"},re[ft("elementProperties")]=new Map,re[ft("finalized")]=new Map,Rc?.({ReactiveElement:re}),(zt.reactiveElementVersions??=[]).push("2.1.0");var xr=globalThis,Gt=xr.trustedTypes,En=Gt?Gt.createPolicy("lit-html",{createHTML:t=>t}):void 0,vr="$lit$",ce=`lit$${Math.random().toFixed(9).slice(2)}$`,Sr="?"+ce,Nc=`<${Sr}>`,Te=document,gt=()=>Te.createComment(""),yt=t=>t===null||typeof t!="object"&&typeof t!="function",Or=Array.isArray,_n=t=>Or(t)||typeof t?.[Symbol.iterator]=="function",br=`[
|
|
3
|
-
\f\r]`,mt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
4
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),wn=/'/g,Rn=/"/g,Tn=/^(?:script|style|textarea|title)$/i,Er=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),qt=Er(1),_c=Er(2),Tc=Er(3),j=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),Nn=new WeakMap,_e=Te.createTreeWalker(Te,129);function Pn(t,e){if(!Or(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return En!==void 0?En.createHTML(e):e}var Ln=(t,e)=>{let o=t.length-1,n=[],a,i=e===2?"<svg>":e===3?"<math>":"",c=mt;for(let l=0;l<o;l++){let d=t[l],p,h,f=-1,g=0;for(;g<d.length&&(c.lastIndex=g,h=c.exec(d),h!==null);)g=c.lastIndex,c===mt?h[1]==="!--"?c=Cn:h[1]!==void 0?c=An:h[2]!==void 0?(Tn.test(h[2])&&(a=RegExp("</"+h[2],"g")),c=Ne):h[3]!==void 0&&(c=Ne):c===Ne?h[0]===">"?(c=a??mt,f=-1):h[1]===void 0?f=-2:(f=c.lastIndex-h[2].length,p=h[1],c=h[3]===void 0?Ne:h[3]==='"'?Rn:wn):c===Rn||c===wn?c=Ne:c===Cn||c===An?c=mt:(c=Ne,a=void 0);let b=c===Ne&&t[l+1].startsWith("/>")?" ":"";i+=c===mt?d+Nc:f>=0?(n.push(p),d.slice(0,f)+vr+d.slice(f)+ce+b):d+ce+(f===-2?l:b)}return[Pn(t,i+(t[o]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},bt=class t{constructor({strings:e,_$litType$:o},n){let a;this.parts=[];let i=0,c=0,l=e.length-1,d=this.parts,[p,h]=Ln(e,o);if(this.el=t.createElement(p,n),_e.currentNode=this.el.content,o===2||o===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(a=_e.nextNode())!==null&&d.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let f of a.getAttributeNames())if(f.endsWith(vr)){let g=h[c++],b=a.getAttribute(f).split(ce),y=/([.?@])?(.*)/.exec(g);d.push({type:1,index:i,name:y[2],strings:b,ctor:y[1]==="."?jt:y[1]==="?"?Kt:y[1]==="@"?Vt:Le}),a.removeAttribute(f)}else f.startsWith(ce)&&(d.push({type:6,index:i}),a.removeAttribute(f));if(Tn.test(a.tagName)){let f=a.textContent.split(ce),g=f.length-1;if(g>0){a.textContent=Gt?Gt.emptyScript:"";for(let b=0;b<g;b++)a.append(f[b],gt()),_e.nextNode(),d.push({type:2,index:++i});a.append(f[g],gt())}}}else if(a.nodeType===8)if(a.data===Sr)d.push({type:2,index:i});else{let f=-1;for(;(f=a.data.indexOf(ce,f+1))!==-1;)d.push({type:7,index:i}),f+=ce.length-1}i++}}static createElement(e,o){let n=Te.createElement("template");return n.innerHTML=e,n}};function Pe(t,e,o=t,n){if(e===j)return e;let a=n!==void 0?o._$Co?.[n]:o._$Cl,i=yt(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(t),a._$AT(t,o,n)),n!==void 0?(o._$Co??=[])[n]=a:o._$Cl=a),a!==void 0&&(e=Pe(t,a._$AS(t,e.values),a,n)),e}var $t=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:n}=this._$AD,a=(e?.creationScope??Te).importNode(o,!0);_e.currentNode=a;let i=_e.nextNode(),c=0,l=0,d=n[0];for(;d!==void 0;){if(c===d.index){let p;d.type===2?p=new $e(i,i.nextSibling,this,e):d.type===1?p=new d.ctor(i,d.name,d.strings,this,e):d.type===6&&(p=new Zt(i,this,e)),this._$AV.push(p),d=n[++l]}c!==d?.index&&(i=_e.nextNode(),c++)}return _e.currentNode=Te,a}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},$e=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,a){this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=Pe(this,e,o),yt(e)?e===W||e==null||e===""?(this._$AH!==W&&this._$AR(),this._$AH=W):e!==this._$AH&&e!==j&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):_n(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==W&&yt(this._$AH)?this._$AA.nextSibling.data=e:this.T(Te.createTextNode(e)),this._$AH=e}$(e){let{values:o,_$litType$:n}=e,a=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=bt.createElement(Pn(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let i=new $t(a,this),c=i.u(this.options);i.p(o),this.T(c),this._$AH=i}}_$AC(e){let o=Nn.get(e.strings);return o===void 0&&Nn.set(e.strings,o=new bt(e)),o}k(e){Or(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let i of e)a===o.length?o.push(n=new t(this.O(gt()),this.O(gt()),this,this.options)):n=o[a],n._$AI(i),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Le=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,a,i){this.type=1,this._$AH=W,this._$AN=void 0,this.element=e,this.name=o,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=W}_$AI(e,o=this,n,a){let i=this.strings,c=!1;if(i===void 0)e=Pe(this,e,o,0),c=!yt(e)||e!==this._$AH&&e!==j,c&&(this._$AH=e);else{let l=e,d,p;for(e=i[0],d=0;d<i.length-1;d++)p=Pe(this,l[n+d],o,d),p===j&&(p=this._$AH[d]),c||=!yt(p)||p!==this._$AH[d],p===W?e=W:e!==W&&(e+=(p??"")+i[d+1]),this._$AH[d]=p}c&&!a&&this.j(e)}j(e){e===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},jt=class extends Le{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===W?void 0:e}},Kt=class extends Le{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==W)}},Vt=class extends Le{constructor(e,o,n,a,i){super(e,o,n,a,i),this.type=5}_$AI(e,o=this){if((e=Pe(this,e,o,0)??W)===j)return;let n=this._$AH,a=e===W&&n!==W||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==W&&(n===W||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Zt=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){Pe(this,e)}},Cr={M:vr,P:ce,A:Sr,C:1,L:Ln,R:$t,D:_n,V:Pe,I:$e,H:Le,N:Kt,U:Vt,B:jt,F:Zt},Pc=xr.litHtmlPolyfillSupport;Pc?.(bt,$e),(xr.litHtmlVersions??=[]).push("3.3.0");var Ar=(t,e,o)=>{let n=o?.renderBefore??e,a=n._$litPart$;if(a===void 0){let i=o?.renderBefore??null;n._$litPart$=a=new $e(e.insertBefore(gt(),i),i,void 0,o??{})}return a._$AI(t),a};var wr=globalThis,se=class extends re{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=Ar(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return j}};se._$litElement$=!0,se.finalized=!0,wr.litElementHydrateSupport?.({LitElement:se});var Lc=wr.litElementPolyfillSupport;Lc?.({LitElement:se});var Ic={_$AK:(t,e,o)=>{t._$AK(e,o)},_$AL:t=>t._$AL};(wr.litElementVersions??=[]).push("4.2.0");var Od=!1;var _r={};U(_r,{customElement:()=>kc,eventOptions:()=>Uc,property:()=>z,query:()=>Nr,queryAll:()=>Bc,queryAssignedElements:()=>Hc,queryAssignedNodes:()=>Fc,queryAsync:()=>Wc,standardProperty:()=>In,state:()=>je});var kc=t=>(e,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var Dc={attribute:!0,type:String,converter:Ge,reflect:!1,hasChanged:ht},In=(t=Dc,e,o)=>{let{kind:n,metadata:a}=o,i=globalThis.litPropertyMetadata.get(a);if(i===void 0&&globalThis.litPropertyMetadata.set(a,i=new Map),n==="setter"&&((t=Object.create(t)).wrapped=!0),i.set(o.name,t),n==="accessor"){let{name:c}=o;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(c,d,t)},init(l){return l!==void 0&&this.C(c,void 0,t,l),l}}}if(n==="setter"){let{name:c}=o;return function(l){let d=this[c];e.call(this,l),this.requestUpdate(c,d,t)}}throw Error("Unsupported decorator location: "+n)};function z(t){return(e,o)=>typeof o=="object"?In(t,e,o):((n,a,i)=>{let c=a.hasOwnProperty(i);return a.constructor.createProperty(i,n),c?Object.getOwnPropertyDescriptor(a,i):void 0})(t,e,o)}function je(t){return z({...t,state:!0,attribute:!1})}function Uc(t){return(e,o)=>{let n=typeof e=="function"?e:e[o];Object.assign(n,t)}}var J=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,o),o);function Nr(t,e){return(o,n,a)=>{let i=c=>c.renderRoot?.querySelector(t)??null;if(e){let{get:c,set:l}=typeof n=="object"?o:a??(()=>{let d=Symbol();return{get(){return this[d]},set(p){this[d]=p}}})();return J(o,n,{get(){let d=c.call(this);return d===void 0&&(d=i(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return J(o,n,{get(){return i(this)}})}}var Mc;function Bc(t){return(e,o)=>J(e,o,{get(){return(this.renderRoot??(Mc??=document.createDocumentFragment())).querySelectorAll(t)}})}function Wc(t){return(e,o)=>J(e,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function Hc(t){return(e,o)=>{let{slot:n,selector:a}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return J(e,o,{get(){let c=this.renderRoot?.querySelector(i),l=c?.assignedElements(t)??[];return a===void 0?l:l.filter(d=>d.matches(a))}})}}function Fc(t){return(e,o)=>{let{slot:n}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return J(e,o,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(t)??[]}})}}var Tr={};U(Tr,{repeat:()=>Bn});var he={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},me=t=>(...e)=>({_$litDirective$:t,values:e}),oe=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{I:zc}=Cr;var kn=()=>document.createComment(""),Ke=(t,e,o)=>{let n=t._$AA.parentNode,a=e===void 0?t._$AB:e._$AA;if(o===void 0){let i=n.insertBefore(kn(),a),c=n.insertBefore(kn(),a);o=new zc(i,c,t,t.options)}else{let i=o._$AB.nextSibling,c=o._$AM,l=c!==t;if(l){let d;o._$AQ?.(t),o._$AM=t,o._$AP!==void 0&&(d=t._$AU)!==c._$AU&&o._$AP(d)}if(i!==a||l){let d=o._$AA;for(;d!==i;){let p=d.nextSibling;n.insertBefore(d,a),d=p}}}return o},ge=(t,e,o=t)=>(t._$AI(e,o),t),Gc={},Dn=(t,e=Gc)=>t._$AH=e,Un=t=>t._$AH,Yt=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 Mn=(t,e,o)=>{let n=new Map;for(let a=e;a<=o;a++)n.set(t[a],a);return n},Bn=me(class extends oe{constructor(t){if(super(t),t.type!==he.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,o){let n;o===void 0?o=e:e!==void 0&&(n=e);let a=[],i=[],c=0;for(let l of t)a[c]=n?n(l,c):c,i[c]=o(l,c),c++;return{values:i,keys:a}}render(t,e,o){return this.dt(t,e,o).values}update(t,[e,o,n]){let a=Un(t),{values:i,keys:c}=this.dt(e,o,n);if(!Array.isArray(a))return this.ut=c,i;let l=this.ut??=[],d=[],p,h,f=0,g=a.length-1,b=0,y=i.length-1;for(;f<=g&&b<=y;)if(a[f]===null)f++;else if(a[g]===null)g--;else if(l[f]===c[b])d[b]=ge(a[f],i[b]),f++,b++;else if(l[g]===c[y])d[y]=ge(a[g],i[y]),g--,y--;else if(l[f]===c[y])d[y]=ge(a[f],i[y]),Ke(t,d[y+1],a[f]),f++,y--;else if(l[g]===c[b])d[b]=ge(a[g],i[b]),Ke(t,a[f],a[g]),g--,b++;else if(p===void 0&&(p=Mn(c,b,y),h=Mn(l,f,g)),p.has(l[f]))if(p.has(l[g])){let v=h.get(c[b]),A=v!==void 0?a[v]:null;if(A===null){let C=Ke(t,a[f]);ge(C,i[b]),d[b]=C}else d[b]=ge(A,i[b]),Ke(t,a[f],A),a[v]=null;b++}else Yt(a[g]),g--;else Yt(a[f]),f++;for(;b<=y;){let v=Ke(t,d[y+1]);ge(v,i[b]),d[b++]=v}for(;f<=g;){let v=a[f++];v!==null&&Yt(v)}return this.ut=c,Dn(t,d),j}});var Pr={};U(Pr,{classMap:()=>$c});var $c=me(class extends oe{constructor(t){if(super(t),t.type!==he.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.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.nt?.has(n)&&this.st.add(n);return this.render(e)}let o=t.element.classList;for(let n of this.st)n in e||(o.remove(n),this.st.delete(n));for(let n in e){let a=!!e[n];a===this.st.has(n)||this.nt?.has(n)||(a?(o.add(n),this.st.add(n)):(o.remove(n),this.st.delete(n)))}return j}});var Lr={};U(Lr,{styleMap:()=>Kc});var Wn="important",jc=" !"+Wn,Kc=me(class extends oe{constructor(t){if(super(t),t.type!==he.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.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let n of this.ft)e[n]==null&&(this.ft.delete(n),n.includes("-")?o.removeProperty(n):o[n]=null);for(let n in e){let a=e[n];if(a!=null){this.ft.add(n);let i=typeof a=="string"&&a.endsWith(jc);n.includes("-")||i?o.setProperty(n,i?a.slice(0,-11):a,i?Wn:""):o[n]=a}}return j}});var kr={};U(kr,{UnsafeHTMLDirective:()=>Ve,unsafeHTML:()=>Ir});var Ve=class extends oe{constructor(e){if(super(e),this.it=W,e.type!==he.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===W||e==null)return this._t=void 0,this.it=e;if(e===j)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let o=[e];return o.raw=o,this._t={_$litType$:this.constructor.resultType,strings:o,values:[]}}};Ve.directiveName="unsafeHTML",Ve.resultType=1;var Ir=me(Ve);var zr={};U(zr,{CacheRegistry:()=>Fr,ClearCacheEvent:()=>vt});var Ur={};U(Ur,{CancelablePromise:()=>Xt,CanceledPromiseError:()=>xt,cancelable:()=>Dr});var xt=class extends Error{constructor(e,o,n){super(e),this.canceledPromiseResult=o,this.canceledPromiseError=n}},Xt=class extends Promise{constructor(e){super((o,n)=>e(a=>{this.isCanceled?n(new xt("Promise has been canceled",a)):o(a)},a=>{this.isCanceled?n(new xt("Promise has been canceled",void 0,a)):n(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Dr=t=>new Xt((e,o)=>t.then(e).catch(o));var Hr={};U(Hr,{FtNotificationEvent:()=>Mr,PostResizeEvent:()=>Wr,PreResizeEvent:()=>Br,WithEventBus:()=>Ie,withEventBus:()=>Hn});var Mr=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Br=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Wr=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};function Hn(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(o,n,a){this.eventBus.addEventListener(o,n,a)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,a){this.eventBus.removeEventListener(o,n,a)}}}var Ie=class extends Hn(Object){};var vt=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},Fr=class extends Ie{constructor(){super(...arguments),this.content={}}register(e,o,n=!1){var a;let i=this.content[e],c=(a=i?.status)!==null&&a!==void 0?a:"REGISTERED";this.content[e]={...i,loader:o,final:n,status:c}}registerFinal(e,o){this.forceClear(e),this.register(e,o,!0)}clearAll(e=!0){let o=[];for(let n in this.content)this.clear(n,!1)!=null&&o.push(n);return e&&o.length>0&&this.dispatchEvent(new vt(o)),o}clear(e,o=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),o&&this.dispatchEvent(new vt([e])),e}forceClear(e){var o;let n=this.content[e];n&&(this.clearClearTimeout(e),(o=n.promise)===null||o===void 0||o.cancel(),this.content[e]={loader:n.loader,final:n.final,status:"REGISTERED"})}clearClearTimeout(e){var o,n,a;((o=this.content[e])===null||o===void 0?void 0:o.clearTimeout)!=null&&(window.clearTimeout((n=this.content[e])===null||n===void 0?void 0:n.clearTimeout),(a=this.content[e])===null||a===void 0||delete a.clearTimeout)}set(e,o,n=!1){this.forceClear(e);let a=async()=>o,i="RESOLVED";this.content[e]={loader:a,final:n,status:i,value:o}}setFinal(e,o){return this.set(e,o,!0)}async get(e,o,n){if(!this.isRegistered(e)){if(!o)throw new Error("Unknown cache key "+e);this.register(e,o)}let a=this.content[e];switch(a.status){case"ERROR":throw a.error;case"LOADING":return a.promise;case"RESOLVED":return a.value;case"REGISTERED":return o=o??a.loader,a.status="LOADING",a.promise=Dr(o()),a.promise.then(i=>(a.status="RESOLVED",a.value=i,n!=null&&(this.clearClearTimeout(e),a.clearTimeout=window.setTimeout(()=>this.clear(e),n)),i)).catch(i=>{var c;throw!((c=a.promise)===null||c===void 0)&&c.isCanceled||(a.status="ERROR",a.error=i),i})}}isRegistered(e){return this.content[e]!=null}getNow(e){var o;return(o=this.content[e])===null||o===void 0?void 0:o.value}has(e){var o,n;return((o=this.content[e])===null||o===void 0?void 0:o.status)!==void 0&&((n=this.content[e])===null||n===void 0?void 0:n.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(e=>{var o;return((o=this.content[e])===null||o===void 0?void 0:o.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(e=>this.content[e].value)}keys(){return Object.keys(this.content)}};var jr={};U(jr,{ClusteringHelper:()=>$r,formatHierarchicalValues:()=>Gr});function Gr(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var $r=class t{constructor(e,o,n,a){this.allResults=e,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=a}static extractResultMetadata(e){var o,n,a,i,c;let l=((i=(n=(o=e.result)===null||o===void 0?void 0:o.map)!==null&&n!==void 0?n:(a=e.result)===null||a===void 0?void 0:a.document)!==null&&i!==void 0?i:(c=e.result)===null||c===void 0?void 0:c.topic).metadata;return e.key==null?t.flattenMetadata(l,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(l.find(d=>d.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,o,n){if(Array.isArray(e))return e.map(i=>t.flattenMetadata(i,o,n)).filter(i=>i!=null);let a=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!a))if(a){let i=[],c=[];return e.hierarchicalValues.forEach(l=>{i.push(Gr(l)),c.push(Gr(l,o))}),{key:e.key,label:e.label,value:i.join(", "),displayValue:c.join(", "),displayTooltipValue:i.join(", ")}}else{let i=e.values.join(", "),c=e.values.map(l=>n?n(l):l).join(", ");return{key:e.key,label:e.label,value:i,displayValue:c,displayTooltipValue:c}}}computeClustersItemsForMetadata(e,o,n="No value",a,i){var c,l;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:i}),p=(c=d?.label)!==null&&c!==void 0?c:(l=this.getMetadataDescriptor(e))===null||l===void 0?void 0:l.label;return this.allResults.map(f=>t.extractResultMetadata({result:f,key:e,hierarchicalValueTruncatingLevel:a,dateFormatter:i})).map(f=>f??{key:e,label:p,value:void 0,displayValue:n}).filter(f=>f.value!=d?.value).filter((f,g,b)=>b.findIndex(y=>y.value===f.value)===g).map(f=>({result:this.findBestResultForMetadataValue(e,f.value),metadata:f})).sort((f,g)=>this.compareMetadata(f.metadata.value,g.metadata.value,e,o))}compareMetadata(e,o,n,a){if(e==null)return-1;if(o==null)return 1;let i=this.getMetadataDescriptor(n),c=i?.sortRule||"NONE",l=i?.reverseSort||!1;if(c=="ALPHABET"||c=="VERSION"){let d=e.localeCompare(o,a,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(o=>e==o.key)}findBestResultForMetadataValue(e,o){let n=this.allResults.filter(d=>{var p;return((p=t.extractResultMetadata({result:d,key:e}))===null||p===void 0?void 0:p.value)==o}),i=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],c,l=-1;for(let d of n){let p=this.countMatchingMetadata(d,i);if(p>l&&(l=p,c=d,p===i.length))break}return c}countMatchingMetadata(e,o){return t.extractResultMetadata({result:e}).filter(n=>o.some(a=>a.key===n.key&&a.value===n.value)).length}};var Kr={};U(Kr,{Debouncer:()=>St});var St=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,o){return this.callbacks=[e],this.debounce(o)}queue(e,o){return this.callbacks.push(e),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,o;let n=[...this.callbacks];this.callbacks=[];let a=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,i=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let c of n)try{await c()}catch(l){a(l);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Xr={};U(Xr,{customElement:()=>qr,isNumber:()=>Kn,jsonProperty:()=>Yr,optionalNumberProperty:()=>es});var Zr={};U(Zr,{dateReviver:()=>Zc,deepCopy:()=>Jc,deepEqual:()=>Ot,delay:()=>Fn,eventPathContainsMatchingElement:()=>Yc,flatDeep:()=>Gn,getComposedPathTo:()=>Vr,hasChanged:()=>ke,last:()=>Xc,minmax:()=>Et,parseDate:()=>$n,randomId:()=>Qc,unslotText:()=>jn,waitFor:()=>zn,waitUntil:()=>Vc});var Fn=t=>new Promise(e=>setTimeout(e,t));async function Vc(t,e=10,o=2e4){await zn(async()=>await t()||void 0,e,o)}async function zn(t,e=10,o=2e4){let n=await t(),a,i;for(a=i=performance.now();n==null&&(!o||i-a<o);)await Fn(e),n=await t(),i=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Gn(t,e){return t.flatMap(o=>[o,...Gn(e(o),e)])}function Zc(...t){return(e,o)=>t.includes(e)?$n(o):o}function $n(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,o,n,a)=>o+n+":"+a),new Date(t)}function qc(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var o,n,a;if(Array.isArray(t)){if(o=t.length,o!=e.length)return!1;for(n=o;n--!==0;)if(!Ot(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(!Ot(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();let i=c=>Object.keys(c).filter(l=>c[l]!=null);if(a=i(t),o=a.length,o!==i(e).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[n]))return!1;for(n=o;n--!==0;){let c=a[n];if(!Ot(t[c],e[c]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function Ot(t,e){try{return qc(t,e)}catch{return!1}}function ke(t,e){return!Ot(t,e)}function Yc(t,e,o=window.document.body){if(e.length>0){let n=t.composedPath();for(let a of n){if(a===o)return!1;if(a.matches&&e.some(i=>a.matches(i)))return!0}}return!1}function Et(t,e,o){return Math.min(Math.max(t,e),o)}function Xc(t){return t[t.length-1]}function jn(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>jn(e)).join(""):t?.textContent||""}function Vr(t){let e=[],o=n=>{n.stopPropagation(),e=n.composedPath()};return t.addEventListener("get-composed-path",o),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",o),e}function Jc(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function Qc(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}var qr=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function Yr(t,e){let o=()=>JSON.parse(JSON.stringify(t));return z({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:ke,...e??{}})}function es(t){return z({type:Object,converter:{fromAttribute:e=>{if(e!=null)return Kn(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function Kn(t){return!isNaN(parseFloat(t))}var to={};U(to,{designSystemVariables:()=>Ds});var eo={};U(eo,{DesignSystemFamily:()=>Ct,DesignSystemSize:()=>At,FtCssVariableFactory:()=>r,badge:()=>ds,banner:()=>ls,button:()=>os,chart:()=>ws,checkbox:()=>ns,chip:()=>cs,chipChoice:()=>is,collapsible:()=>Cs,comboboxMultiSelect:()=>Os,comboboxSingleSelect:()=>Ss,drawer:()=>gs,floatingMenu:()=>vs,foundation:()=>s,link:()=>ss,modal:()=>ms,notice:()=>Ns,notification:()=>Ps,pageDesigner:()=>Rs,pageFooter:()=>fs,pageHeader:()=>ps,pageLayout:()=>hs,popover:()=>Es,radio:()=>Ts,reorderableList:()=>Is,resolveFamilyClass:()=>Jr,resolveSizeClass:()=>Qr,semantic:()=>u,setVariable:()=>Ze,switch_:()=>As,table:()=>as,tabs:()=>ys,textArea:()=>xs,textInput:()=>bs,titleBreadcrumb:()=>us,toggle:()=>_s,tooltip:()=>Ls,treeList:()=>ks,typographies:()=>ts,typographyBody1Medium:()=>Jn,typographyBody1Regular:()=>Xn,typographyBody1Semibold:()=>Qn,typographyBody2Medium:()=>ta,typographyBody2MediumUnderline:()=>ra,typographyBody2Regular:()=>ea,typographyBody2Semibold:()=>oa,typographyCaption1Bold:()=>pa,typographyCaption1Medium:()=>da,typographyCaption1Semibold:()=>ua,typographyCaption2Bold:()=>ma,typographyCaption2Medium:()=>fa,typographyCaption2Semibold:()=>ha,typographyCaption3Bold:()=>ba,typographyCaption3Medium:()=>ga,typographyCaption3Semibold:()=>ya,typographyDisplay:()=>Vn,typographyLabel1Bold:()=>ia,typographyLabel1Medium:()=>na,typographyLabel1Semibold:()=>aa,typographyLabel2Bold:()=>la,typographyLabel2Medium:()=>ca,typographyLabel2Semibold:()=>sa,typographyTitle1:()=>Zn,typographyTitle2:()=>qn,typographyTitle3:()=>Yn,typographyVariants:()=>rs});var ye=t=>typeof t=="string"?ut(t):t,r=class{static create(e,o,n,a){let i=l=>ye(l??a),c=F`var(${ye(e)}, ${i(a)})`;return c.name=e,c.description=o,c.category=n,c.defaultValue=a,c.defaultCssValue=i,c.set=l=>Ze(c,l??i(a)),c.get=l=>F`var(${ye(e)}, ${i(l)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>a,c}static extend(e,o,n,a){let i=l=>n.get(l??a),c=F`var(${ye(e)}, ${i(a)})`;return c.name=e,c.description=o,c.category=n.category,c.fallbackVariable=n,c.defaultValue=a,c.defaultCssValue=i,c.set=l=>Ze(c,l??i(a)),c.get=l=>F`var(${ye(e)}, ${i(l)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),c}static external(e,o){let n=i=>e.defaultCssValue(i),a=F`var(${ye(e.name)}, ${n(e.defaultValue)})`;return a.name=e.name,a.category=e.category,a.fallbackVariable=e.fallbackVariable,a.defaultValue=e.defaultValue,a.context=o,a.defaultCssValue=n,a.set=i=>e.set(i),a.get=i=>F`var(${ye(e.name)}, ${n(i)})`,a.breadcrumb=()=>e.breadcrumb(),a.lastResortDefaultValue=()=>e.lastResortDefaultValue(),a}};function Ze(t,e){return ye(`${t.name}: ${e}`)}var s={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(0.25rem*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(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"),opacity12:r.create("--ft-opacity-12","","NUMBER","0.12"),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"),opacity48:r.create("--ft-opacity-48","","NUMBER","0.48"),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)")},Vn={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","1.2"),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")},Zn={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","1.2"),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")},qn={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","1.2"),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")},Yn={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","1.2"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Xn={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","1.35"),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")},Jn={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","1.35"),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")},Qn={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","1.35"),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")},ea={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","1.35"),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")},ta={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","1.35"),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")},ra={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","1.35"),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")},oa={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","1.35"),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")},na={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")},aa={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")},ia={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")},ca={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")},sa={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")},la={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")},da={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","1.3"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},ua={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","1.3"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},pa={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","1.3"),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")},fa={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","1.3"),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")},ha={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","1.3"),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")},ma={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","1.3"),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")},ga={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","1.3"),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")},ya={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","1.3"),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")},ba={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","1.3"),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")},ts={display:Vn,"title-1":Zn,"title-2":qn,"title-3":Yn,"body-1-regular":Xn,"body-1-medium":Jn,"body-1-semibold":Qn,"body-2-regular":ea,"body-2-medium":ta,"body-2-medium-underline":ra,"body-2-semibold":oa,"label-1-medium":na,"label-1-semibold":aa,"label-1-bold":ia,"label-2-medium":ca,"label-2-semibold":sa,"label-2-bold":la,"caption-1-medium":da,"caption-1-semibold":ua,"caption-1-bold":pa,"caption-2-medium":fa,"caption-2-semibold":ha,"caption-2-bold":ma,"caption-3-medium":ga,"caption-3-semibold":ya,"caption-3-bold":ba},rs=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var u={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",s.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",s.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",s.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",s.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",s.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",s.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",s.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",s.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",s.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",s.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",s.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",s.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",s.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",s.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",s.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",s.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",s.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",s.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
5
|
-
Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",s.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",s.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",s.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",s.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",s.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",s.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",s.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",s.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",s.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",s.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",s.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",s.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",s.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",s.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",s.colorGray80),borderNeutralPrimary:r.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",s.colorGray200)};var os={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",s.spacing4),largeGap:r.extend("--ft-button-large-gap","",s.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",s.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",s.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","",s.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",s.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",s.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",s.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","",s.spacing2),smallGap:r.extend("--ft-button-small-gap","",s.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",s.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",s.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","",s.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","",s.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ft-button-primary-brand-background-color","",u.backgroundActionPrimary),primaryBrandColor:r.extend("--ft-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ft-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ft-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ft-button-primary-brand-hover-state-layer-opacity","",s.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ft-button-primary-brand-focus-state-layer-opacity","",s.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ft-button-primary-brand-active-state-layer-opacity","",s.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ft-button-primary-brand-disabled-component-opacity","",s.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ft-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ft-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ft-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",s.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",s.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",s.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ft-button-tertiary-brand-disabled-component-opacity","",s.opacity40),tertiaryInfoBackgroundColor:r.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ft-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ft-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ft-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",s.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",s.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ft-button-tertiary-info-active-state-layer-opacity","",s.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ft-button-tertiary-info-disabled-component-opacity","",s.opacity40),tertiarySuccessBackgroundColor:r.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ft-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ft-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ft-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",s.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",s.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ft-button-tertiary-success-active-state-layer-opacity","",s.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ft-button-tertiary-success-disabled-component-opacity","",s.opacity40),tertiaryWarningBackgroundColor:r.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ft-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ft-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ft-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",s.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",s.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",s.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ft-button-tertiary-warning-disabled-component-opacity","",s.opacity40),tertiaryErrorBackgroundColor:r.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ft-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ft-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ft-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",s.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",s.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ft-button-tertiary-error-active-state-layer-opacity","",s.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ft-button-tertiary-error-disabled-component-opacity","",s.opacity40),tertiaryNeutralBackgroundColor:r.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ft-button-tertiary-neutral-icon-color","",u.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ft-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ft-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",s.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",s.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",s.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",s.opacity40),secondaryBrandBackgroundColor:r.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ft-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:r.extend("--ft-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ft-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",s.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",s.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ft-button-secondary-brand-active-state-layer-opacity","",s.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ft-button-secondary-brand-disabled-component-opacity","",s.opacity40),secondaryBrandBorderColor:r.extend("--ft-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",s.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",s.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",s.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ft-button-secondary-neutral-disabled-component-opacity","",s.opacity40),secondaryNeutralBackgroundColor:r.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ft-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ft-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ft-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ft-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ft-button-secondary-info-hover-state-layer-opacity","",s.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ft-button-secondary-info-focus-state-layer-opacity","",s.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ft-button-secondary-info-active-state-layer-opacity","",s.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ft-button-secondary-info-disabled-component-opacity","",s.opacity40),secondaryInfoBackgroundColor:r.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ft-button-secondary-info-border-color","",u.borderInfoPrimary),secondaryInfoColor:r.extend("--ft-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ft-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ft-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ft-button-secondary-success-hover-state-layer-opacity","",s.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ft-button-secondary-success-focus-state-layer-opacity","",s.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ft-button-secondary-success-active-state-layer-opacity","",s.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ft-button-secondary-success-disabled-component-opacity","",s.opacity40),secondarySuccessBackgroundColor:r.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ft-button-secondary-success-border-color","",u.borderSuccessPrimary),secondarySuccessColor:r.extend("--ft-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ft-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ft-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",s.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",s.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ft-button-secondary-warning-active-state-layer-opacity","",s.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ft-button-secondary-warning-disabled-component-opacity","",s.opacity40),secondaryWarningBackgroundColor:r.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ft-button-secondary-warning-border-color","",u.borderWarningPrimary),secondaryWarningColor:r.extend("--ft-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ft-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ft-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ft-button-secondary-error-hover-state-layer-opacity","",s.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ft-button-secondary-error-focus-state-layer-opacity","",s.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ft-button-secondary-error-active-state-layer-opacity","",s.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ft-button-secondary-error-disabled-component-opacity","",s.opacity40),secondaryErrorBackgroundColor:r.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ft-button-secondary-error-border-color","",u.contentErrorPrimary),secondaryErrorColor:r.extend("--ft-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ft-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ft-button-secondary-error-state-layer-color","",u.contentErrorPrimary)};var ns={iconSize:r.extend("--ft-checkbox-icon-size","",s.iconSize2),boxSize:r.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:r.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:r.create("--ft-checkbox-border-radius","","SIZE","1px"),color:r.extend("--ft-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",s.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",s.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",s.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",s.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",s.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",s.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",s.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",s.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",s.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",s.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:r.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:r.extend("--ft-checkbox-horizontal-gap","",s.spacing3),leftPadding:r.extend("--ft-checkbox-left-padding","",s.spacing2)};var as={headerRowBorderWidth:r.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:r.extend("--ft-table-header-row-background-color","",u.backgroundGlobalOnSurfaceDark),headerRowBorderColor:r.extend("--ft-table-header-row-border-color","",u.borderGlobalPrimary),headerRowColor:r.extend("--ft-table-header-row-color","",u.contentGlobalPrimary),dataRowBorderWidth:r.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:r.extend("--ft-table-data-row-background-color","",u.backgroundGlobalOnSurface),dataRowBorderColor:r.extend("--ft-table-data-row-border-color","",u.borderGlobalSubtle),dataRowColor:r.extend("--ft-table-data-row-color","",u.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:r.extend("--ft-table-data-row-default-hover-background-color","",s.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:r.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",s.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:r.extend("--ft-table-data-row-selectable-selected-default-background-color","",s.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:r.extend("--ft-table-data-row-selectable-selected-default-border-color","",s.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:r.extend("--ft-table-data-row-selectable-selected-hover-background-color","",s.colorBrand20),dataRowSelectableSelectedHoverBorderColor:r.extend("--ft-table-data-row-selectable-selected-hover-border-color","",s.colorBrand30),dataRowSelectableSelectedColor:r.extend("--ft-table-data-row-selectable-selected-color","",u.contentActionPrimary),dataRowClickableHoverBackgroundColor:r.extend("--ft-table-data-row-clickable-hover-background-color","",s.colorGray30),dataRowClickableFocusBorderColor:r.extend("--ft-table-data-row-clickable-focus-border-color","",u.borderActionFocusRing),dataRowClickableFocusBackgroundColor:r.extend("--ft-table-data-row-clickable-focus-background-color","",s.colorGray30),dataRowClickableActiveBackgroundColor:r.extend("--ft-table-data-row-clickable-active-background-color","",s.colorGray40),headerCellHorizontalGap:r.extend("--ft-table-header-cell-horizontal-gap","",s.spacing1),headerCellVerticalPadding:r.extend("--ft-table-header-cell-vertical-padding","",s.spacing2),headerCellHorizontalPadding:r.extend("--ft-table-header-cell-horizontal-padding","",s.spacing3),dataCellVerticalPadding:r.extend("--ft-table-data-cell-vertical-padding","",s.spacing2),dataCellHorizontalPadding:r.extend("--ft-table-data-cell-horizontal-padding","",s.spacing3),dataCellVerticalGap:r.extend("--ft-table-data-cell-vertical-gap","",s.spacing1)};var is={neutralOffHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",s.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",s.opacity8),neutralOffFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",s.opacity16),neutralOffBackgroundColor:r.extend("--ft-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ft-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:r.extend("--ft-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ft-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",s.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",s.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",s.opacity24),neutralOnFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",s.opacity32),neutralOnBackgroundColor:r.extend("--ft-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ft-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:r.extend("--ft-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:r.extend("--ft-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ft-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:r.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-choice-large-horizontal-padding","",s.spacing3),largeGap:r.extend("--ft-chip-choice-large-gap","",s.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","",s.iconSize3),mediumMinHeight:r.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-choice-medium-horizontal-padding","",s.spacing2),mediumGap:r.extend("--ft-chip-choice-medium-gap","",s.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","",s.iconSize2)};var cs={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",s.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",s.spacing1),largeGap:r.extend("--ft-chip-large-gap","",s.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","",s.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",s.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",s.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",s.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","",s.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",s.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",s.spacing05),smallGap:r.extend("--ft-chip-small-gap","",s.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","",s.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)};var ss={brandHoverOpacity:r.extend("--ft-link-brand-hover-opacity","",s.opacity80),brandHoverColor:r.extend("--ft-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ft-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:r.extend("--ft-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:r.extend("--ft-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:r.extend("--ft-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:r.extend("--ft-link-info-hover-opacity","",s.opacity80),infoHoverColor:r.extend("--ft-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ft-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:r.extend("--ft-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:r.extend("--ft-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:r.extend("--ft-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ft-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:r.extend("--ft-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:r.extend("--ft-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:r.extend("--ft-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:r.extend("--ft-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:r.extend("--ft-link-neutral-visited-color","",s.colorBrand100)};var ls={iconSize:r.extend("--ft-banner-icon-size","",s.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",s.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",s.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",s.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",s.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",s.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",s.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",s.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",u.borderInfoSubtle)};var ds={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",s.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",s.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",s.borderRadiusPill),color:r.extend("--ft-badge-color","",u.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",u.contentActionPrimary)};var us={horizontalGap:r.extend("--ft-title-breadcrumb-horizontal-gap","",s.spacing1),currentColor:r.extend("--ft-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:r.extend("--ft-title-breadcrumb-icon-color","",u.contentGlobalSubtle)};var ps={parentHorizontalPadding:r.extend("--ft-page-header-parent-horizontal-padding","",s.spacing6),parentTopPadding:r.extend("--ft-page-header-parent-top-padding","",s.spacing4),parentBottomPadding:r.extend("--ft-page-header-parent-bottom-padding","",s.spacing6),parentHelpLeftMargin:r.extend("--ft-page-header-parent-help-left-margin","",s.spacing1),parentTitleColor:r.extend("--ft-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:r.extend("--ft-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ft-page-header-parent-chip-left-margin","",s.spacing4),parentVerticalGap:r.extend("--ft-page-header-parent-vertical-gap","",s.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",s.spacing4),parentButtonsGroupVerticalGap:r.extend("--ft-page-header-parent-buttons-group-vertical-gap","",s.spacing4),parentChipsGroupHorizontalGap:r.extend("--ft-page-header-parent-chips-group-horizontal-gap","",s.spacing2),parentChipsGroupVerticalGap:r.extend("--ft-page-header-parent-chips-group-vertical-gap","",s.spacing2),childHorizontalPadding:r.extend("--ft-page-header-child-horizontal-padding","",s.spacing6),childTopPadding:r.extend("--ft-page-header-child-top-padding","",s.spacing2),childBottomPadding:r.extend("--ft-page-header-child-bottom-padding","",s.spacing2),childHelpLeftMargin:r.extend("--ft-page-header-child-help-left-margin","",s.spacing1),childChipLeftMargin:r.extend("--ft-page-header-child-chip-left-margin","",s.spacing4),childVerticalGap:r.extend("--ft-page-header-child-vertical-gap","",s.spacing2),childMinHeight:r.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ft-page-header-child-buttons-group-horizontal-gap","",s.spacing4),childButtonsGroupVerticalGap:r.extend("--ft-page-header-child-buttons-group-vertical-gap","",s.spacing4),childChipsGroupHorizontalGap:r.extend("--ft-page-header-child-chips-group-horizontal-gap","",s.spacing2),childChipsGroupVerticalGap:r.extend("--ft-page-header-child-chips-group-vertical-gap","",s.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",s.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:r.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var fs={horizontalPadding:r.extend("--ft-page-footer-horizontal-padding","",s.spacing6),verticalPadding:r.extend("--ft-page-footer-vertical-padding","",s.spacing2),verticalGap:r.extend("--ft-page-footer-vertical-gap","",s.spacing2),minHeight:r.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ft-page-footer-background-color","",s.colorWhite),topBorderColor:r.extend("--ft-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:r.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ft-page-footer-buttons-group-gap","",s.spacing4)};var hs={contentHorizontalPadding:r.extend("--ft-page-layout-content-horizontal-padding","",s.spacing6),contentVerticalPadding:r.extend("--ft-page-layout-content-vertical-padding","",s.spacing6)};var ms={smallContainerTargetWidth:r.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ft-modal-small-container-margin","",s.spacing6),mediumContainerTargetWidth:r.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ft-modal-medium-container-margin","",s.spacing6),largeContainerTargetWidth:r.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ft-modal-large-container-margin","",s.spacing6),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",s.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",s.opacity40),shadow:r.extend("--ft-modal-shadow","",s.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",s.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",s.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",s.spacing6),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ft-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",s.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",s.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",s.spacing6),headerGap:r.extend("--ft-modal-header-gap","",s.spacing2),headerBorderBottomWidth:r.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",s.borderRadiusM)};var gs={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",s.opacity40),shadow:r.extend("--ft-drawer-shadow","",s.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",s.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",s.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",s.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",s.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",s.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",s.spacing6),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",s.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",s.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","",s.colorGray700)};var ys={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",s.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",s.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",s.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",s.opacity40),offColor:r.extend("--ft-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",s.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",s.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",s.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",s.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",s.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",s.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",s.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",s.opacity24),onColor:r.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",s.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",s.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",s.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",s.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var bs={largeFieldHorizontalPadding:r.extend("--ft-text-input-large-field-horizontal-padding","",s.spacing4),largeFieldHorizontalGap:r.extend("--ft-text-input-large-field-horizontal-gap","",s.spacing3),largeFieldVerticalGap:r.extend("--ft-text-input-large-field-vertical-gap","",s.spacing05),largeFieldHeight:r.create("--ft-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ft-text-input-large-field-icon-size","",s.iconSize3),mediumFieldHorizontalPadding:r.extend("--ft-text-input-medium-field-horizontal-padding","",s.spacing4),mediumFieldHorizontalGap:r.extend("--ft-text-input-medium-field-horizontal-gap","",s.spacing3),mediumFieldVerticalGap:r.create("--ft-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ft-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ft-text-input-medium-field-icon-size","",s.iconSize3),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",s.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",s.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",s.borderRadiusS),backgroundColor:r.extend("--ft-text-input-background-color","",s.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderColor:r.extend("--ft-text-input-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-text-input-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-text-input-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",s.opacity40)};var xs={backgroundColor:r.extend("--ft-text-area-background-color","",s.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",s.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",s.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",s.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",s.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",s.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",s.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",s.borderRadiusS)};var vs={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",s.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",s.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",s.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",s.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",s.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",s.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",s.shadowElevation02)};var Ss={largeFieldHorizontalPadding:r.extend("--ft-combobox-single-select-large-field-horizontal-padding","",s.spacing4),largeFieldHorizontalGap:r.extend("--ft-combobox-single-select-large-field-horizontal-gap","",s.spacing3),largeFieldVerticalGap:r.extend("--ft-combobox-single-select-large-field-vertical-gap","",s.spacing05),largeFieldHeight:r.create("--ft-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ft-combobox-single-select-large-field-icon-size","",s.iconSize3),mediumFieldHorizontalPadding:r.extend("--ft-combobox-single-select-medium-field-horizontal-padding","",s.spacing4),mediumFieldHorizontalGap:r.extend("--ft-combobox-single-select-medium-field-horizontal-gap","",s.spacing3),mediumFieldVerticalGap:r.create("--ft-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ft-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ft-combobox-single-select-medium-field-icon-size","",s.iconSize3),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",s.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",s.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",s.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",s.borderRadiusS),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",s.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",s.opacity40)};var Os={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",s.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",s.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",s.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",s.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",s.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",s.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",s.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",s.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",s.borderRadiusS)};var Es={backgroundColor:r.extend("--ft-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",s.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",s.spacing6),titleColor:r.extend("--ft-popover-title-color","",u.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",u.contentGlobalSecondary),gap:r.extend("--ft-popover-gap","",s.spacing2),borderRadius:r.extend("--ft-popover-border-radius","",s.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",s.shadowElevation02),maxWidth:r.create("--ft-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:r.extend("--ft-popover-content-section-vertical-gap","",s.spacing2),multiSectionVerticalGap:r.extend("--ft-popover-multi-section-vertical-gap","",s.spacing6)};var Cs={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",s.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",s.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",s.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",s.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",s.spacing3),color:r.extend("--ft-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",s.iconSize3)};var As={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",s.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",s.spacing1),groupGap:r.extend("--ft-switch-group-gap","",s.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",s.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",s.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",s.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",s.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",s.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",s.opacity40),offColor:r.extend("--ft-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",s.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",s.opacity40),onColor:r.extend("--ft-switch-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",s.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",s.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",s.borderRadiusS)};var ws={color1Light:r.extend("--ft-chart-1-light","for area color charts",s.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",s.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",s.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",s.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",s.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",s.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",s.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",s.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",s.colorRed40),color5Base:r.extend("--ft-chart-5-base","",s.colorRed60),color6Light:r.extend("--ft-chart-6-light","",s.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",s.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",s.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",s.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",s.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",s.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",s.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",s.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",s.colorGray50),color10Base:r.extend("--ft-chart-10-base","",s.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",s.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",s.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",s.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",s.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",s.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",s.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",s.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",s.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",s.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",s.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",s.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",s.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",s.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",s.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",s.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",s.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",s.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",s.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",s.colorCyan200)};var Rs={color1IconColor:r.extend("--ft-page-designer-1-icon-color","for area color charts",s.colorCyan0),color1ToolbarColor:r.extend("--ft-page-designer-1-toolbar-color","for area color charts",s.colorCyan0),color2IconColor:r.extend("--ft-page-designer-2-icon-color","for area color charts",s.colorBrand0),color2ToolbarColor:r.extend("--ft-page-designer-2-toolbar-color","for area color charts",s.colorBrand0),color3IconColor:r.extend("--ft-page-designer-3-icon-color","for area color charts",s.colorYellow200),color3ToolbarColor:r.extend("--ft-page-designer-3-toolbar-color","for area color charts",s.colorYellow200),color4IconColor:r.extend("--ft-page-designer-4-icon-color","for area color charts",s.colorUltramarine50),color4ToolbarColor:r.extend("--ft-page-designer-4-toolbar-color","for area color charts",s.colorUltramarine50),color5IconColor:r.extend("--ft-page-designer-5-icon-color","for area color charts",s.colorGreen0),color5ToolbarColor:r.extend("--ft-page-designer-5-toolbar-color","for area color charts",s.colorGreen0),color6IconColor:r.extend("--ft-page-designer-6-icon-color","for area color charts",s.colorOrange0),color6ToolbarColor:r.extend("--ft-page-designer-6-toolbar-color","for area color charts",s.colorOrange0),color7IconColor:r.extend("--ft-page-designer-7-icon-color","for area color charts",s.colorAvocado200),color7ToolbarColor:r.extend("--ft-page-designer-7-toolbar-color","for area color charts",s.colorAvocado200),color8IconColor:r.extend("--ft-page-designer-8-icon-color","for area color charts",s.colorBrown0),color8ToolbarColor:r.extend("--ft-page-designer-8-toolbar-color","for area color charts",s.colorBrown0)};var Ns={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",s.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",s.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",s.borderRadiusS),gap:r.extend("--ft-notice-gap","",s.spacing2),iconSize:r.extend("--ft-notice-icon-size","",s.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly),denseHorizontalPadding:r.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:r.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:r.extend("--ft-notice-dense-gap","",s.spacing1),denseIconSize:r.extend("--ft-notice-dense-icon-size","",s.iconSize2),denseBorderWidth:r.create("--ft-notice-dense-border-width","","SIZE","0")};var _s={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",s.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",s.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",s.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",s.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",s.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",s.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",s.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:r.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",s.spacing3)};var Ts={color:r.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",s.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",s.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",s.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",s.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",s.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",s.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",s.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",s.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",s.spacing3)};var Ps={iconSize:r.extend("--ft-notification-icon-size","",s.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",s.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",s.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",s.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",u.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",s.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",s.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",s.spacing8)};var Ls={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",s.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",s.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",s.borderRadiusS),color:r.extend("--ft-tooltip-color","",u.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",s.opacity80),shadow:r.extend("--ft-tooltip-shadow","",s.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",s.spacing05)};var Is={verticalPadding:r.extend("--ft-reorderable-list-vertical-padding","",s.spacing4),gap:r.extend("--ft-reorderable-list-gap","",s.spacing1),borderRadius:r.extend("--ft-reorderable-list-border-radius","",s.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",s.spacing6),reorderableItemTitleColor:r.extend("--ft-reorderable-list-reorderable-item-title-color","",u.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",s.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",s.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",s.spacing2),reorderableItemUsersCountColor:r.extend("--ft-reorderable-list-reorderable-item-users-count-color","",u.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",s.spacing6),reorderableItemBackgroundColor:r.extend("--ft-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",s.spacing1),reorderableItemWarningMessageColor:r.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ft-reorderable-list-reorderable-item-grip-color","",u.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",s.opacity48),boxShadow:r.extend("--ft-reorderable-list-box-shadow","",s.shadowElevation01),borderWidth:r.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ft-reorderable-list-reorderable-items-gap","",s.spacing2),leftPadding:r.extend("--ft-reorderable-list-left-padding","",s.spacing2),rightPadding:r.extend("--ft-reorderable-list-right-padding","",s.spacing6),borderColor:r.extend("--ft-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:r.extend("--ft-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)};var ks={nodeHeight:r.create("--ft-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:r.extend("--ft-tree-list-node-parent-label-margin-left","",s.spacing2),nodeParentLabelMarginRight:r.extend("--ft-tree-list-node-parent-label-margin-right","",s.spacing2),nodeRootPaddingLeft:r.extend("--ft-tree-list-node-root-padding-left","",s.spacing3),nodeChildPaddingLeft:r.extend("--ft-tree-list-node-child-padding-left","",s.spacing5),nodeLeafPaddingLeft:r.extend("--ft-tree-list-node-leaf-padding-left","",s.spacing6),nodeUnselectedDefaultBorderColor:r.extend("--ft-tree-list-node-unselected-default-border-color","",u.borderGlobalSubtle),nodeUnselectedIconColor:r.extend("--ft-tree-list-node-unselected-icon-color","",u.contentGlobalSecondary),nodeUnselectedLabelColor:r.extend("--ft-tree-list-node-unselected-label-color","",u.contentGlobalSecondary),nodeUnselectedCounterColor:r.extend("--ft-tree-list-node-unselected-counter-color","",u.contentGlobalSecondary),nodeHoverBorderColor:r.extend("--ft-tree-list-node-hover-border-color","",u.borderActionPrimary),nodeFocusFocusRingColor:r.extend("--ft-tree-list-node-focus-focus-ring-color","",u.borderActionFocusRing),nodeFocusOutlineWidth:r.create("--ft-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:r.extend("--ft-tree-list-node-selected-default-border-color","",u.borderGlobalPrimary),nodeSelectedIconColor:r.extend("--ft-tree-list-node-selected-icon-color","",u.contentGlobalSecondary),nodeSelectedLabelColor:r.extend("--ft-tree-list-node-selected-label-color","",u.contentGlobalPrimary),nodeSelectedCounterColor:r.extend("--ft-tree-list-node-selected-counter-color","",u.contentGlobalSecondary),nodeSelectedBackgroundColor:r.create("--ft-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:r.extend("--ft-tree-list-node-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:r.extend("--ft-tree-list-node-descendant-of-selected-icon-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:r.extend("--ft-tree-list-node-descendant-of-selected-label-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:r.extend("--ft-tree-list-node-descendant-of-selected-counter-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:r.create("--ft-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:r.create("--ft-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:r.extend("--ft-tree-list-header-section-padding-left","",s.spacing3),headerSectionPaddingRight:r.extend("--ft-tree-list-header-section-padding-right","",s.spacing3),headerSectionHorizontalGap:r.extend("--ft-tree-list-header-section-horizontal-gap","",s.spacing2),headerSectionMarginBottom:r.extend("--ft-tree-list-header-section-margin-bottom","",s.spacing2),headerSectionColor:r.extend("--ft-tree-list-header-section-color","",u.contentGlobalPrimary),headerSectionCounterColor:r.extend("--ft-tree-list-header-section-counter-color","",u.contentGlobalSecondary),listContainerBorderWidth:r.create("--ft-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:r.extend("--ft-tree-list-list-container-background-color","",u.backgroundGlobalSurface),listContainerBorderColor:r.extend("--ft-tree-list-list-container-border-color","",u.borderGlobalSubtle),loadMorePaddingLeft:r.extend("--ft-tree-list-load-more-padding-left","",s.spacing6),loadMoreUnselectedDefaultBorderColor:r.extend("--ft-tree-list-load-more-unselected-default-border-color","",u.borderGlobalSubtle),loadMoreIconColor:r.extend("--ft-tree-list-load-more-icon-color","",u.contentActionPrimary),loadMoreLabelColor:r.extend("--ft-tree-list-load-more-label-color","",u.contentActionPrimary),loadMoreHoverBorderColor:r.extend("--ft-tree-list-load-more-hover-border-color","",s.colorBrand20),loadMoreHoverBackgroundColor:r.create("--ft-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:r.extend("--ft-tree-list-load-more-active-border-color","",s.colorBrand20),loadMoreActiveBackgroundColor:r.create("--ft-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:r.create("--ft-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:r.create("--ft-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:r.extend("--ft-tree-list-load-more-descendant-of-selected-default-border-color","",u.borderGlobalPrimary)};var Ct;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Ct||(Ct={}));var At;(function(t){t.large="large",t.medium="medium",t.small="small"})(At||(At={}));function Jr(t){return`ftds--family-${t}`}function Qr(t){return`ftds--size-${t}`}var Ds={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 go={};U(go,{computeOffsetAutoPosition:()=>rl,computeOffsetPosition:()=>tl});var va=["top","right","bottom","left"],xa=["start","end"],oo=va.reduce((t,e)=>t.concat(e,e+"-"+xa[0],e+"-"+xa[1]),[]),Jt=Math.min,be=Math.max;var Us={left:"right",right:"left",bottom:"top",top:"bottom"},Ms={start:"end",end:"start"};function no(t,e,o){return be(t,Jt(e,o))}function qe(t,e){return typeof t=="function"?t(e):t}function xe(t){return t.split("-")[0]}function ne(t){return t.split("-")[1]}function ao(t){return t==="x"?"y":"x"}function io(t){return t==="y"?"height":"width"}function Ye(t){return["top","bottom"].includes(xe(t))?"y":"x"}function co(t){return ao(Ye(t))}function Sa(t,e,o){o===void 0&&(o=!1);let n=ne(t),a=co(t),i=io(a),c=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(c=ro(c)),[c,ro(c)]}function Oa(t){return t.replace(/start|end/g,e=>Ms[e])}function ro(t){return t.replace(/left|right|bottom|top/g,e=>Us[e])}function Bs(t){return{top:0,right:0,bottom:0,left:0,...t}}function Ea(t){return typeof t!="number"?Bs(t):{top:t,right:t,bottom:t,left:t}}function De(t){let{x:e,y:o,width:n,height:a}=t;return{width:n,height:a,top:o,left:e,right:e+n,bottom:o+a,x:e,y:o}}function Ca(t,e,o){let{reference:n,floating:a}=t,i=Ye(e),c=co(e),l=io(c),d=xe(e),p=i==="y",h=n.x+n.width/2-a.width/2,f=n.y+n.height/2-a.height/2,g=n[l]/2-a[l]/2,b;switch(d){case"top":b={x:h,y:n.y-a.height};break;case"bottom":b={x:h,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:f};break;case"left":b={x:n.x-a.width,y:f};break;default:b={x:n.x,y:n.y}}switch(ne(e)){case"start":b[c]-=g*(o&&p?-1:1);break;case"end":b[c]+=g*(o&&p?-1:1);break}return b}var Aa=async(t,e,o)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:c}=o,l=i.filter(Boolean),d=await(c.isRTL==null?void 0:c.isRTL(e)),p=await c.getElementRects({reference:t,floating:e,strategy:a}),{x:h,y:f}=Ca(p,n,d),g=n,b={},y=0;for(let v=0;v<l.length;v++){let{name:A,fn:C}=l[v],{x:R,y:O,data:E,reset:S}=await C({x:h,y:f,initialPlacement:n,placement:g,strategy:a,middlewareData:b,rects:p,platform:c,elements:{reference:t,floating:e}});h=R??h,f=O??f,b={...b,[A]:{...b[A],...E}},S&&y<=50&&(y++,typeof S=="object"&&(S.placement&&(g=S.placement),S.rects&&(p=S.rects===!0?await c.getElementRects({reference:t,floating:e,strategy:a}):S.rects),{x:h,y:f}=Ca(p,g,d)),v=-1)}return{x:h,y:f,placement:g,strategy:a,middlewareData:b}};async function Qt(t,e){var o;e===void 0&&(e={});let{x:n,y:a,platform:i,rects:c,elements:l,strategy:d}=t,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:g=!1,padding:b=0}=qe(e,t),y=Ea(b),A=l[g?f==="floating"?"reference":"floating":f],C=De(await i.getClippingRect({element:(o=await(i.isElement==null?void 0:i.isElement(A)))==null||o?A:A.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:p,rootBoundary:h,strategy:d})),R=f==="floating"?{x:n,y:a,width:c.floating.width,height:c.floating.height}:c.reference,O=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),E=await(i.isElement==null?void 0:i.isElement(O))?await(i.getScale==null?void 0:i.getScale(O))||{x:1,y:1}:{x:1,y:1},S=De(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:R,offsetParent:O,strategy:d}):R);return{top:(C.top-S.top+y.top)/E.y,bottom:(S.bottom-C.bottom+y.bottom)/E.y,left:(C.left-S.left+y.left)/E.x,right:(S.right-C.right+y.right)/E.x}}function Ws(t,e,o){return(t?[...o.filter(a=>ne(a)===t),...o.filter(a=>ne(a)!==t)]:o.filter(a=>xe(a)===a)).filter(a=>t?ne(a)===t||(e?Oa(a)!==a:!1):!0)}var er=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,n,a;let{rects:i,middlewareData:c,placement:l,platform:d,elements:p}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:g=oo,autoAlignment:b=!0,...y}=qe(t,e),v=f!==void 0||g===oo?Ws(f||null,b,g):g,A=await Qt(e,y),C=((o=c.autoPlacement)==null?void 0:o.index)||0,R=v[C];if(R==null)return{};let O=Sa(R,i,await(d.isRTL==null?void 0:d.isRTL(p.floating)));if(l!==R)return{reset:{placement:v[0]}};let E=[A[xe(R)],A[O[0]],A[O[1]]],S=[...((n=c.autoPlacement)==null?void 0:n.overflows)||[],{placement:R,overflows:E}],T=v[C+1];if(T)return{data:{index:C+1,overflows:S},reset:{placement:T}};let P=S.map(N=>{let m=ne(N.placement);return[N.placement,m&&h?N.overflows.slice(0,2).reduce((x,_)=>x+_,0):N.overflows[0],N.overflows]}).sort((N,m)=>N[1]-m[1]),k=((a=P.filter(N=>N[2].slice(0,ne(N[0])?2:3).every(m=>m<=0))[0])==null?void 0:a[0])||P[0][0];return k!==l?{data:{index:C+1,overflows:S},reset:{placement:k}}:{}}}};async function Hs(t,e){let{placement:o,platform:n,elements:a}=t,i=await(n.isRTL==null?void 0:n.isRTL(a.floating)),c=xe(o),l=ne(o),d=Ye(o)==="y",p=["left","top"].includes(c)?-1:1,h=i&&d?-1:1,f=qe(e,t),{mainAxis:g,crossAxis:b,alignmentAxis:y}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof y=="number"&&(b=l==="end"?y*-1:y),d?{x:b*h,y:g*p}:{x:g*p,y:b*h}}var so=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var o,n;let{x:a,y:i,placement:c,middlewareData:l}=e,d=await Hs(e,t);return c===((o=l.offset)==null?void 0:o.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:a+d.x,y:i+d.y,data:{...d,placement:c}}}}},lo=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:o,y:n,placement:a}=e,{mainAxis:i=!0,crossAxis:c=!1,limiter:l={fn:A=>{let{x:C,y:R}=A;return{x:C,y:R}}},...d}=qe(t,e),p={x:o,y:n},h=await Qt(e,d),f=Ye(xe(a)),g=ao(f),b=p[g],y=p[f];if(i){let A=g==="y"?"top":"left",C=g==="y"?"bottom":"right",R=b+h[A],O=b-h[C];b=no(R,b,O)}if(c){let A=f==="y"?"top":"left",C=f==="y"?"bottom":"right",R=y+h[A],O=y-h[C];y=no(R,y,O)}let v=l.fn({...e,[g]:b,[f]:y});return{...v,data:{x:v.x-o,y:v.y-n,enabled:{[g]:i,[f]:c}}}}}};var uo=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var o,n;let{placement:a,rects:i,platform:c,elements:l}=e,{apply:d=()=>{},...p}=qe(t,e),h=await Qt(e,p),f=xe(a),g=ne(a),b=Ye(a)==="y",{width:y,height:v}=i.floating,A,C;f==="top"||f==="bottom"?(A=f,C=g===(await(c.isRTL==null?void 0:c.isRTL(l.floating))?"start":"end")?"left":"right"):(C=f,A=g==="end"?"top":"bottom");let R=v-h.top-h.bottom,O=y-h.left-h.right,E=Jt(v-h[A],R),S=Jt(y-h[C],O),T=!e.middlewareData.shift,P=E,L=S;if((o=e.middlewareData.shift)!=null&&o.enabled.x&&(L=O),(n=e.middlewareData.shift)!=null&&n.enabled.y&&(P=R),T&&!g){let N=be(h.left,0),m=be(h.right,0),x=be(h.top,0),_=be(h.bottom,0);b?L=y-2*(N!==0||m!==0?N+m:be(h.left,h.right)):P=v-2*(x!==0||_!==0?x+_:be(h.top,h.bottom))}await d({...e,availableWidth:L,availableHeight:P});let k=await c.getDimensions(l.floating);return y!==k.width||v!==k.height?{reset:{rects:!0}}:{}}}};var po=Math.min,Xe=Math.max,wt=Math.round;var le=t=>({x:t,y:t});function de(t){return Ra(t)?(t.nodeName||"").toLowerCase():"#document"}function V(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function ue(t){var e;return(e=(Ra(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ra(t){return t instanceof Node||t instanceof V(t).Node}function ae(t){return t instanceof Element||t instanceof V(t).Element}function Q(t){return t instanceof HTMLElement||t instanceof V(t).HTMLElement}function wa(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof V(t).ShadowRoot}function Je(t){let{overflow:e,overflowX:o,overflowY:n,display:a}=q(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(a)}function Na(t){return["table","td","th"].includes(de(t))}function rr(t){let e=or(),o=q(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 _a(t){let e=Ue(t);for(;Q(e)&&!Rt(e);){if(rr(e))return e;e=Ue(e)}return null}function or(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Rt(t){return["html","body","#document"].includes(de(t))}function q(t){return V(t).getComputedStyle(t)}function Nt(t){return ae(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ue(t){if(de(t)==="html")return t;let e=t.assignedSlot||t.parentNode||wa(t)&&t.host||ue(t);return wa(e)?e.host:e}function Ta(t){let e=Ue(t);return Rt(e)?t.ownerDocument?t.ownerDocument.body:t.body:Q(e)&&Je(e)?e:Ta(e)}function tr(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);let a=Ta(t),i=a===((n=t.ownerDocument)==null?void 0:n.body),c=V(a);return i?e.concat(c,c.visualViewport||[],Je(a)?a:[],c.frameElement&&o?tr(c.frameElement):[]):e.concat(a,tr(a,[],o))}function Ia(t){let e=q(t),o=parseFloat(e.width)||0,n=parseFloat(e.height)||0,a=Q(t),i=a?t.offsetWidth:o,c=a?t.offsetHeight:n,l=wt(o)!==i||wt(n)!==c;return l&&(o=i,n=c),{width:o,height:n,$:l}}function ka(t){return ae(t)?t:t.contextElement}function Qe(t){let e=ka(t);if(!Q(e))return le(1);let o=e.getBoundingClientRect(),{width:n,height:a,$:i}=Ia(e),c=(i?wt(o.width):o.width)/n,l=(i?wt(o.height):o.height)/a;return(!c||!Number.isFinite(c))&&(c=1),(!l||!Number.isFinite(l))&&(l=1),{x:c,y:l}}var Fs=le(0);function Da(t){let e=V(t);return!or()||!e.visualViewport?Fs:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function zs(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==V(t)?!1:e}function _t(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);let a=t.getBoundingClientRect(),i=ka(t),c=le(1);e&&(n?ae(n)&&(c=Qe(n)):c=Qe(t));let l=zs(i,o,n)?Da(i):le(0),d=(a.left+l.x)/c.x,p=(a.top+l.y)/c.y,h=a.width/c.x,f=a.height/c.y;if(i){let g=V(i),b=n&&ae(n)?V(n):n,y=g.frameElement;for(;y&&n&&b!==g;){let v=Qe(y),A=y.getBoundingClientRect(),C=q(y),R=A.left+(y.clientLeft+parseFloat(C.paddingLeft))*v.x,O=A.top+(y.clientTop+parseFloat(C.paddingTop))*v.y;d*=v.x,p*=v.y,h*=v.x,f*=v.y,d+=R,p+=O,y=V(y).frameElement}}return De({width:h,height:f,x:d,y:p})}function Gs(t){let{rect:e,offsetParent:o,strategy:n}=t,a=Q(o),i=ue(o);if(o===i)return e;let c={scrollLeft:0,scrollTop:0},l=le(1),d=le(0);if((a||!a&&n!=="fixed")&&((de(o)!=="body"||Je(i))&&(c=Nt(o)),Q(o))){let p=_t(o);l=Qe(o),d.x=p.x+o.clientLeft,d.y=p.y+o.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-c.scrollLeft*l.x+d.x,y:e.y*l.y-c.scrollTop*l.y+d.y}}function $s(t){return Array.from(t.getClientRects())}function Ua(t){return _t(ue(t)).left+Nt(t).scrollLeft}function js(t){let e=ue(t),o=Nt(t),n=t.ownerDocument.body,a=Xe(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=Xe(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),c=-o.scrollLeft+Ua(t),l=-o.scrollTop;return q(n).direction==="rtl"&&(c+=Xe(e.clientWidth,n.clientWidth)-a),{width:a,height:i,x:c,y:l}}function Ks(t,e){let o=V(t),n=ue(t),a=o.visualViewport,i=n.clientWidth,c=n.clientHeight,l=0,d=0;if(a){i=a.width,c=a.height;let p=or();(!p||p&&e==="fixed")&&(l=a.offsetLeft,d=a.offsetTop)}return{width:i,height:c,x:l,y:d}}function Vs(t,e){let o=_t(t,!0,e==="fixed"),n=o.top+t.clientTop,a=o.left+t.clientLeft,i=Q(t)?Qe(t):le(1),c=t.clientWidth*i.x,l=t.clientHeight*i.y,d=a*i.x,p=n*i.y;return{width:c,height:l,x:d,y:p}}function Pa(t,e,o){let n;if(e==="viewport")n=Ks(t,o);else if(e==="document")n=js(ue(t));else if(ae(e))n=Vs(e,o);else{let a=Da(t);n={...e,x:e.x-a.x,y:e.y-a.y}}return De(n)}function Ma(t,e){let o=Ue(t);return o===e||!ae(o)||Rt(o)?!1:q(o).position==="fixed"||Ma(o,e)}function Zs(t,e){let o=e.get(t);if(o)return o;let n=tr(t,[],!1).filter(l=>ae(l)&&de(l)!=="body"),a=null,i=q(t).position==="fixed",c=i?Ue(t):t;for(;ae(c)&&!Rt(c);){let l=q(c),d=rr(c);!d&&l.position==="fixed"&&(a=null),(i?!d&&!a:!d&&l.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||Je(c)&&!d&&Ma(t,c))?n=n.filter(h=>h!==c):a=l,c=Ue(c)}return e.set(t,n),n}function qs(t){let{element:e,boundary:o,rootBoundary:n,strategy:a}=t,c=[...o==="clippingAncestors"?Zs(e,this._c):[].concat(o),n],l=c[0],d=c.reduce((p,h)=>{let f=Pa(e,h,a);return p.top=Xe(f.top,p.top),p.right=po(f.right,p.right),p.bottom=po(f.bottom,p.bottom),p.left=Xe(f.left,p.left),p},Pa(e,l,a));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Ys(t){return Ia(t)}function Xs(t,e,o){let n=Q(e),a=ue(e),i=o==="fixed",c=_t(t,!0,i,e),l={scrollLeft:0,scrollTop:0},d=le(0);if(n||!n&&!i)if((de(e)!=="body"||Je(a))&&(l=Nt(e)),n){let p=_t(e,!0,i,e);d.x=p.x+e.clientLeft,d.y=p.y+e.clientTop}else a&&(d.x=Ua(a));return{x:c.left+l.scrollLeft-d.x,y:c.top+l.scrollTop-d.y,width:c.width,height:c.height}}function La(t,e){return!Q(t)||q(t).position==="fixed"?null:e?e(t):t.offsetParent}function Ba(t,e){let o=V(t);if(!Q(t))return o;let n=La(t,e);for(;n&&Na(n)&&q(n).position==="static";)n=La(n,e);return n&&(de(n)==="html"||de(n)==="body"&&q(n).position==="static"&&!rr(n))?o:n||_a(t)||o}var Js=async function(t){let{reference:e,floating:o,strategy:n}=t,a=this.getOffsetParent||Ba,i=this.getDimensions;return{reference:Xs(e,await a(o),n),floating:{x:0,y:0,...await i(o)}}};function Qs(t){return q(t).direction==="rtl"}var et={convertOffsetParentRelativeRectToViewportRelativeRect:Gs,getDocumentElement:ue,getClippingRect:qs,getOffsetParent:Ba,getElementRects:Js,getClientRects:$s,getDimensions:Ys,getScale:Qe,isElement:ae,isRTL:Qs};var fo=(t,e,o)=>{let n=new Map,a={platform:et,...o},i={...a.platform,_c:n};return Aa(t,e,{...a,platform:i})};function mo(t){return el(t)}function ho(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function el(t){for(let e=t;e;e=ho(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=ho(t);e;e=ho(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 tl(t,e,o){return fo(t,e,{platform:{...et,getOffsetParent:n=>et.getOffsetParent(n,mo)},middleware:[lo({crossAxis:!0}),er({allowedPlacements:[o]})]})}async function rl(t,e,o,n,a,i,c=4){return fo(t,e,{placement:o,strategy:a,platform:{...et,getOffsetParent:l=>et.getOffsetParent(l,mo)},middleware:[so(c),er({allowedPlacements:n}),uo({apply({availableHeight:l,elements:d}){i?d.floating.style.maxHeight=`min(${Math.max(0,l)}px, var(${i}))`:d.floating.style.maxHeight=`${Math.max(0,l)}px`}})]})}var Oo={};U(Oo,{FtdsBase:()=>So,toFtdsBase:()=>ja});var vo={};U(vo,{FtLitElement:()=>Z});var yo={};U(yo,{ScopedRegistryLitElement:()=>Tt});var Tt=class extends se{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([a,i])=>e.registry.define(a,i)));let o={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return pt(n,e.elementStyles),n}};var xo={};U(xo,{shadowQuerySelector:()=>bo,shadowQuerySelectorAll:()=>ol});function bo(t,e,...o){var n;let a=t.querySelector(e);for(let i of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}function ol(t,e,...o){let n=[...t.querySelectorAll(e)];for(let a of o)n=n.flatMap(i=>{var c,l;return[...(l=(c=i.shadowRoot)===null||c===void 0?void 0:c.querySelectorAll(a))!==null&&l!==void 0?l:[]]});return n}var Pt=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(c=t[l])&&(i=(a<3?c(i):a>3?c(e,o,i):c(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},za,Wa=Symbol("constructorPrototype"),Ha=Symbol("constructorName"),Ga=Symbol("exportpartsDebouncer"),Fa=Symbol("dynamicDependenciesLoaded"),Z=class extends Tt{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[za]=new St(5),this[Ha]=this.constructor.name,this[Wa]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ha]&&Object.setPrototypeOf(this,this[Wa])}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[Fa]||(e[Fa]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.focusElementToFocus(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:a}=this.elementToFocus;if(n!=null){let i=[...a??[],n];o=bo(this.shadowRoot,...i)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var o,n,a;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}scheduleExportpartsUpdate(){var e,o,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Ga].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var o,n,a,i,c,l;let d=g=>g!=null&&g.trim().length>0,p=e.filter(d).map(g=>g.trim());if(p.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let g of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let b=(i=(a=g.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],y=(l=(c=g.getAttribute("exportparts"))===null||c===void 0?void 0:c.split(",").map(v=>v.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...b,...y).filter(d).map(v=>v.trim()).forEach(v=>h.add(v))}if(h.size===0){this.removeAttribute("exportparts");return}let f=[...h.values()].flatMap(g=>p.map(b=>`${g}:${b}--${g}`));this.setAttribute("exportparts",[...this.part,...f].join(", "))}};za=Ga;Pt([z()],Z.prototype,"exportpartsPrefix",void 0);Pt([Yr([])],Z.prototype,"exportpartsPrefixes",void 0);Pt([z()],Z.prototype,"customStylesheet",void 0);Pt([z()],Z.prototype,"elementToFocus",void 0);Pt([je()],Z.prototype,"useAdoptedStyleSheets",void 0);var $a=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(c=t[l])&&(i=(a<3?c(i):a>3?c(e,o,i):c(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i};function ja(t){class e extends t{constructor(){super(...arguments),this.size=At.medium,this.family=Ct.neutral}getDesignSystemBaseClasses(){return{[Jr(this.family)]:!0,[Qr(this.size)]:!0}}}return $a([z()],e.prototype,"size",void 0),$a([z()],e.prototype,"family",void 0),e}var So=class extends ja(Z){};var Ka={};var Co={};U(Co,{highlightHtml:()=>il,highlightHtmlColorCssVariable:()=>Va,highlightHtmlStyles:()=>al});var Me=class t{constructor(e,o=!0,n=[],a=5e3){this.ctx=e,this.iframes=o,this.exclude=n,this.iframesTimeout=a}static matches(e,o){let n=typeof o=="string"?[o]:o,a=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(a){let i=!1;return n.every(c=>a.call(e,c)?(i=!0,!1):!0),i}else return!1}getContexts(){let e,o=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let a=o.filter(i=>i.contains(n)).length>0;o.indexOf(n)===-1&&!a&&o.push(n)}),o}getIframeContents(e,o,n=()=>{}){let a;try{let i=e.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{n()}a&&o(a)}isIframeBlank(e){let o="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===o&&n!==o&&n}observeIframeLoad(e,o,n){let a=!1,i=null,c=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(e)||(e.removeEventListener("load",c),this.getIframeContents(e,o,n))}catch{n()}}};e.addEventListener("load",c),i=setTimeout(c,this.iframesTimeout)}onIframeReady(e,o,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,o,n):this.getIframeContents(e,o,n):this.observeIframeLoad(e,o,n)}catch{n()}}waitForIframes(e,o){let n=0;this.forEachIframe(e,()=>!0,a=>{n++,this.waitForIframes(a.querySelector("html"),()=>{--n||o()})},a=>{a||o()})}forEachIframe(e,o,n,a=()=>{}){let i=e.querySelectorAll("iframe"),c=i.length,l=0;i=Array.prototype.slice.call(i);let d=()=>{--c<=0&&a(l)};c||d(),i.forEach(p=>{t.matches(p,this.exclude)?d():this.onIframeReady(p,h=>{o(p)&&(l++,n(h)),d()},d)})}createIterator(e,o,n){return document.createNodeIterator(e,o,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,o,n){let a=e.compareDocumentPosition(n),i=Node.DOCUMENT_POSITION_PRECEDING;if(a&i)if(o!==null){let c=o.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(c&l)return!0}else return!0;return!1}getIteratorNode(e){let o=e.previousNode(),n;return o===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:o,node:n}}checkIframeFilter(e,o,n,a){let i=!1,c=!1;return a.forEach((l,d)=>{l.val===n&&(i=d,c=l.handled)}),this.compareNodeIframe(e,o,n)?(i===!1&&!c?a.push({val:n,handled:!0}):i!==!1&&!c&&(a[i].handled=!0),!0):(i===!1&&a.push({val:n,handled:!1}),!1)}handleOpenIframes(e,o,n,a){e.forEach(i=>{i.handled||this.getIframeContents(i.val,c=>{this.createInstanceOnIframe(c).forEachNode(o,n,a)})})}iterateThroughNodes(e,o,n,a,i){let c=this.createIterator(o,e,a),l=[],d=[],p,h,f=()=>({prevNode:h,node:p}=this.getIteratorNode(c),p);for(;f();)this.iframes&&this.forEachIframe(o,g=>this.checkIframeFilter(p,h,g,l),g=>{this.createInstanceOnIframe(g).forEachNode(e,b=>d.push(b),a)}),d.push(p);d.forEach(g=>{n(g)}),this.iframes&&this.handleOpenIframes(l,e,n,a),i()}forEachNode(e,o,n,a=()=>{}){let i=this.getContexts(),c=i.length;c||a(),i.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,o,n,()=>{--c<=0&&a()})};this.iframes?this.waitForIframes(l,d):d()})}};var Lt=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 Me(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,o="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[o]=="function"&&n[o](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let o=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",a=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in o)if(o.hasOwnProperty(i)){let c=o[i],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(c):this.escapeStr(c);l!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${n}`),a+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+a))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,o=>o.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,o=>o.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let o=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(o,n,a)=>{let i=a.charAt(n+1);return/[(|)\\]/.test(i)||i===""?o:o+"\0"})}createJoinersRegExp(e){let o=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&o.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?e.split(/\u0000+/).join(`[${o.join("")}]*`):e}createDiacriticsRegExp(e){let o=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],a=[];return e.split("").forEach(i=>{n.every(c=>{if(c.indexOf(i)!==-1){if(a.indexOf(c)>-1)return!1;e=e.replace(new RegExp(`[${c}]`,`gm${o}`),`[${c}]`),a.push(c)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let o="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,a=typeof n=="string"?n:n.value,i=typeof n=="string"?[]:n.limiters,c="";switch(i.forEach(l=>{c+=`|${this.escapeStr(l)}`}),a){case"partially":default:return`()(${e})`;case"complementary":return c="\\s"+(c||this.escapeStr(o)),`()([^${c}]*${e}[^${c}]*)`;case"exactly":return`(^|\\s${c})(${e})(?=$|\\s${c})`}}getSeparatedKeywords(e){let o=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(a=>{a.trim()&&o.indexOf(a)===-1&&o.push(a)}):n.trim()&&o.indexOf(n)===-1&&o.push(n)}),{keywords:o.sort((n,a)=>a.length-n.length),length:o.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let o=[],n=0;return e.sort((a,i)=>a.start-i.start).forEach(a=>{let{start:i,end:c,valid:l}=this.callNoMatchOnInvalidRanges(a,n);l&&(a.start=i,a.length=c-i,o.push(a),n=c)}),o}callNoMatchOnInvalidRanges(e,o){let n,a,i=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),a=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&a-o>0&&a-n>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:a,valid:i}}checkWhitespaceRanges(e,o,n){let a,i=!0,c=n.length,l=o-c,d=parseInt(e.start,10)-l;return d=d>c?c:d,a=d+parseInt(e.length,10),a>c&&(a=c,this.log(`End range automatically set to the max value of ${c}`)),d<0||a-d<0||d>c||a>c?(i=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(d,a).replace(/\s+/g,"")===""&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:a,valid:i}}getTextNodes(e){let o="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,a=>{n.push({start:o.length,end:(o+=a.textContent).length,node:a})},a=>this.matchesExclude(a.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:o,nodes:n})})}matchesExclude(e){return Me.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,o,n){let a=this.opt.element?this.opt.element:"mark",i=e.splitText(o),c=i.splitText(n-o),l=document.createElement(a);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=i.textContent,i.parentNode.replaceChild(l,i),c}wrapRangeInMappedTextNode(e,o,n,a,i){e.nodes.every((c,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>o){if(!a(c.node))return!1;let p=o-c.start,h=(n>c.end?c.end:n)-c.start,f=e.value.substr(0,c.start),g=e.value.substr(h+c.start);if(c.node=this.wrapRangeInTextNode(c.node,p,h),e.value=f+g,e.nodes.forEach((b,y)=>{y>=l&&(e.nodes[y].start>0&&y!==l&&(e.nodes[y].start-=h),e.nodes[y].end-=h)}),n-=h,i(c.node.previousSibling,c.start),n>c.end)o=c.end;else return!1}return!0})}wrapMatches(e,o,n,a,i){let c=o===0?0:o+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let p;for(;(p=e.exec(d.textContent))!==null&&p[c]!=="";){if(!n(p[c],d))continue;let h=p.index;if(c!==0)for(let f=1;f<c;f++)h+=p[f].length;d=this.wrapRangeInTextNode(d,h,h+p[c].length),a(d.previousSibling),e.lastIndex=0}}),i()})}wrapMatchesAcrossElements(e,o,n,a,i){let c=o===0?0:o+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[c]!=="";){let p=d.index;if(c!==0)for(let f=1;f<c;f++)p+=d[f].length;let h=p+d[c].length;this.wrapRangeInMappedTextNode(l,p,h,f=>n(d[c],f),(f,g)=>{e.lastIndex=g,a(f)})}i()})}wrapRangeFromIndex(e,o,n,a){this.getTextNodes(i=>{let c=i.value.length;e.forEach((l,d)=>{let{start:p,end:h,valid:f}=this.checkWhitespaceRanges(l,c,i.value);f&&this.wrapRangeInMappedTextNode(i,p,h,g=>o(g,l,i.value.substring(p,h),d),g=>{n(g,l)})}),a()})}unwrapMatches(e){let o=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));o.replaceChild(n,e),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,o){this.opt=o,this.log(`Searching with expression "${e}"`);let n=0,a="wrapMatches",i=c=>{n++,this.opt.each(c)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](e,this.opt.ignoreGroups,(c,l)=>this.opt.filter(l,c,n),i,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,o){this.opt=o;let n=0,a="wrapMatches",{keywords:i,length:c}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",d=p=>{let h=new RegExp(this.createRegExp(p),`gm${l}`),f=0;this.log(`Searching with expression "${h}"`),this[a](h,1,(g,b)=>this.opt.filter(b,p,n,f),g=>{f++,n++,this.opt.each(g)},()=>{f===0&&this.opt.noMatch(p),i[c-1]===p?this.opt.done(n):d(i[i.indexOf(p)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),c===0?this.opt.done(n):d(i[0])}markRanges(e,o){this.opt=o;let n=0,a=this.checkRanges(e);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,(i,c,l,d)=>this.opt.filter(i,c,l,d),(i,c)=>{n++,this.opt.each(i,c)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let a=Me.matches(n,o),i=this.matchesExclude(n);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Eo(t){let e=new Lt(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 nl=Eo,Va=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),al=F`
|
|
1
|
+
"use strict";(()=>{var hc=Object.create;var yr=Object.defineProperty;var mc=Object.getOwnPropertyDescriptor;var gc=Object.getOwnPropertyNames;var yc=Object.getPrototypeOf,bc=Object.prototype.hasOwnProperty;var xc=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),U=(t,e)=>{for(var o in e)yr(t,o,{get:e[o],enumerable:!0})},vc=(t,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of gc(e))!bc.call(t,a)&&a!==o&&yr(t,a,{get:()=>e[a],enumerable:!(n=mc(e,a))||n.enumerable});return t};var Sc=(t,e,o)=>(o=t!=null?hc(yc(t)):{},vc(e||!t||!t.__esModule?yr(o,"default",{value:t,enumerable:!0}):o,t));var Ii=xc((Ae,Li)=>{var pr=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,fr=function(){function t(){this.fetch=!1,this.DOMException=pr.DOMException}return t.prototype=pr,new t}();(function(t){var e=function(o){var n=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},a={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function i(m){return m&&DataView.prototype.isPrototypeOf(m)}if(a.arrayBuffer)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(m){return m&&c.indexOf(Object.prototype.toString.call(m))>-1};function d(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 p(m){return typeof m!="string"&&(m=String(m)),m}function h(m){var x={next:function(){var _=m.shift();return{done:_===void 0,value:_}}};return a.iterable&&(x[Symbol.iterator]=function(){return x}),x}function f(m){this.map={},m instanceof f?m.forEach(function(x,_){this.append(_,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=d(m),x=p(x);var _=this.map[m];this.map[m]=_?_+", "+x:x},f.prototype.delete=function(m){delete this.map[d(m)]},f.prototype.get=function(m){return m=d(m),this.has(m)?this.map[m]:null},f.prototype.has=function(m){return this.map.hasOwnProperty(d(m))},f.prototype.set=function(m,x){this.map[d(m)]=p(x)},f.prototype.forEach=function(m,x){for(var _ in this.map)this.map.hasOwnProperty(_)&&m.call(x,this.map[_],_,this)},f.prototype.keys=function(){var m=[];return this.forEach(function(x,_){m.push(_)}),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,_){m.push([_,x])}),h(m)},a.iterable&&(f.prototype[Symbol.iterator]=f.prototype.entries);function g(m){if(!m._noBody){if(m.bodyUsed)return Promise.reject(new TypeError("Already read"));m.bodyUsed=!0}}function b(m){return new Promise(function(x,_){m.onload=function(){x(m.result)},m.onerror=function(){_(m.error)}})}function y(m){var x=new FileReader,_=b(x);return x.readAsArrayBuffer(m),_}function v(m){var x=new FileReader,_=b(x),D=/charset=([A-Za-z0-9_-]+)/.exec(m.type),B=D?D[1]:"utf-8";return x.readAsText(m,B),_}function A(m){for(var x=new Uint8Array(m),_=new Array(x.length),D=0;D<x.length;D++)_[D]=String.fromCharCode(x[D]);return _.join("")}function C(m){if(m.slice)return m.slice(0);var x=new Uint8Array(m.byteLength);return x.set(new Uint8Array(m)),x.buffer}function R(){return this.bodyUsed=!1,this._initBody=function(m){this.bodyUsed=this.bodyUsed,this._bodyInit=m,m?typeof m=="string"?this._bodyText=m:a.blob&&Blob.prototype.isPrototypeOf(m)?this._bodyBlob=m:a.formData&&FormData.prototype.isPrototypeOf(m)?this._bodyFormData=m:a.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)?this._bodyText=m.toString():a.arrayBuffer&&a.blob&&i(m)?(this._bodyArrayBuffer=C(m.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(m)||l(m))?this._bodyArrayBuffer=C(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):a.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a.blob&&(this.blob=function(){var m=g(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=g(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(a.blob)return this.blob().then(y);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var m=g(this);if(m)return m;if(this._bodyBlob)return v(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)},a.formData&&(this.formData=function(){return this.text().then(T)}),this.json=function(){return this.text().then(JSON.parse)},this}var O=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function E(m){var x=m.toUpperCase();return O.indexOf(x)>-1?x:m}function S(m,x){if(!(this instanceof S))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');x=x||{};var _=x.body;if(m instanceof S){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,!_&&m._bodyInit!=null&&(_=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=E(x.method||this.method||"GET"),this.mode=x.mode||this.mode||null,this.signal=x.signal||this.signal||function(){if("AbortController"in n){var I=new AbortController;return I.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&_)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(_),(this.method==="GET"||this.method==="HEAD")&&(x.cache==="no-store"||x.cache==="no-cache")){var D=/([?&])_=[^&]*/;if(D.test(this.url))this.url=this.url.replace(D,"$1_="+new Date().getTime());else{var B=/\?/;this.url+=(B.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}S.prototype.clone=function(){return new S(this,{body:this._bodyInit})};function T(m){var x=new FormData;return m.trim().split("&").forEach(function(_){if(_){var D=_.split("="),B=D.shift().replace(/\+/g," "),I=D.join("=").replace(/\+/g," ");x.append(decodeURIComponent(B),decodeURIComponent(I))}}),x}function P(m){var x=new f,_=m.replace(/\r?\n[\t ]+/g," ");return _.split("\r").map(function(D){return D.indexOf(`
|
|
2
|
+
`)===0?D.substr(1,D.length):D}).forEach(function(D){var B=D.split(":"),I=B.shift().trim();if(I){var Wt=B.join(":").trim();try{x.append(I,Wt)}catch(gr){console.warn("Response "+gr.message)}}}),x}R.call(S.prototype);function L(m,x){if(!(this instanceof L))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)}R.call(L.prototype),L.prototype.clone=function(){return new L(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},L.error=function(){var m=new L(null,{status:200,statusText:""});return m.ok=!1,m.status=0,m.type="error",m};var k=[301,302,303,307,308];L.redirect=function(m,x){if(k.indexOf(x)===-1)throw new RangeError("Invalid status code");return new L(null,{status:x,headers:{location:m}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(x,_){this.message=x,this.name=_;var D=Error(x);this.stack=D.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function N(m,x){return new Promise(function(_,D){var B=new S(m,x);if(B.signal&&B.signal.aborted)return D(new o.DOMException("Aborted","AbortError"));var I=new XMLHttpRequest;function Wt(){I.abort()}I.onload=function(){var G={statusText:I.statusText,headers:P(I.getAllResponseHeaders()||"")};B.url.indexOf("file://")===0&&(I.status<200||I.status>599)?G.status=200:G.status=I.status,G.url="responseURL"in I?I.responseURL:G.headers.get("X-Request-URL");var Re="response"in I?I.response:I.responseText;setTimeout(function(){_(new L(Re,G))},0)},I.onerror=function(){setTimeout(function(){D(new TypeError("Network request failed"))},0)},I.ontimeout=function(){setTimeout(function(){D(new TypeError("Network request timed out"))},0)},I.onabort=function(){setTimeout(function(){D(new o.DOMException("Aborted","AbortError"))},0)};function gr(G){try{return G===""&&n.location.href?n.location.href:G}catch{return G}}if(I.open(B.method,gr(B.url),!0),B.credentials==="include"?I.withCredentials=!0:B.credentials==="omit"&&(I.withCredentials=!1),"responseType"in I&&(a.blob?I.responseType="blob":a.arrayBuffer&&(I.responseType="arraybuffer")),x&&typeof x.headers=="object"&&!(x.headers instanceof f||n.Headers&&x.headers instanceof n.Headers)){var Sn=[];Object.getOwnPropertyNames(x.headers).forEach(function(G){Sn.push(d(G)),I.setRequestHeader(G,p(x.headers[G]))}),B.headers.forEach(function(G,Re){Sn.indexOf(Re)===-1&&I.setRequestHeader(Re,G)})}else B.headers.forEach(function(G,Re){I.setRequestHeader(Re,G)});B.signal&&(B.signal.addEventListener("abort",Wt),I.onreadystatechange=function(){I.readyState===4&&B.signal.removeEventListener("abort",Wt)}),I.send(typeof B._bodyInit>"u"?null:B._bodyInit)})}return N.polyfill=!0,n.fetch||(n.fetch=N,n.Headers=f,n.Request=S,n.Response=L),o.Headers=f,o.Request=S,o.Response=L,o.fetch=N,o}({})})(fr);fr.fetch.ponyfill=!0;delete fr.fetch.polyfill;var ct=pr.fetch?pr:fr;Ae=ct.fetch;Ae.default=ct.fetch;Ae.fetch=ct.fetch;Ae.Headers=ct.Headers;Ae.Request=ct.Request;Ae.Response=ct.Response;Li.exports=Ae});if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,o=window.customElements.get,n=window.customElements,a=new WeakMap,i=new WeakMap,c=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(O,E){if(O=O.toLowerCase(),this._getDefinition(O)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${O}" has already been used with this registry`);if(this._definitionsByClass.get(E)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let S=E.prototype.attributeChangedCallback,T=new Set(E.observedAttributes||[]);g(E,T,S);let P={elementClass:E,connectedCallback:E.prototype.connectedCallback,disconnectedCallback:E.prototype.disconnectedCallback,adoptedCallback:E.prototype.adoptedCallback,attributeChangedCallback:S,formAssociated:E.formAssociated,formAssociatedCallback:E.prototype.formAssociatedCallback,formDisabledCallback:E.prototype.formDisabledCallback,formResetCallback:E.prototype.formResetCallback,formStateRestoreCallback:E.prototype.formStateRestoreCallback,observedAttributes:T};this._definitionsByTag.set(O,P),this._definitionsByClass.set(E,P);let L=o.call(n,O);L||(L=f(O),e.call(n,O,L)),this===window.customElements&&(c.set(E,P),P.standInClass=L);let k=this._awaitingUpgrade.get(O);if(k){this._awaitingUpgrade.delete(O);for(let m of k)i.delete(m),y(m,P,!0)}let N=this._whenDefinedPromises.get(O);return N!==void 0&&(N.resolve(E),this._whenDefinedPromises.delete(O)),E}upgrade(){A.push(this),n.upgrade.apply(n,arguments),A.pop()}get(O){return this._definitionsByTag.get(O)?.elementClass}_getDefinition(O){return this._definitionsByTag.get(O)}whenDefined(O){let E=this._getDefinition(O);if(E!==void 0)return Promise.resolve(E.elementClass);let S=this._whenDefinedPromises.get(O);return S===void 0&&(S={},S.promise=new Promise(T=>S.resolve=T),this._whenDefinedPromises.set(O,S)),S.promise}_upgradeWhenDefined(O,E,S){let T=this._awaitingUpgrade.get(E);T||this._awaitingUpgrade.set(E,T=new Set),S?T.add(O):T.delete(O)}};let d;window.HTMLElement=function(){let E=d;if(E)return d=void 0,E;let S=c.get(this.constructor);if(!S)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return E=Reflect.construct(t,[],S.standInClass),Object.setPrototypeOf(E,this.constructor.prototype),a.set(E,S),E},window.HTMLElement.prototype=t.prototype;let p=O=>O===document||O instanceof ShadowRoot,h=O=>{let E=O.getRootNode();if(!p(E)){let S=A[A.length-1];if(S instanceof CustomElementRegistry)return S;E=S.getRootNode(),p(E)||(E=l.get(E)?.getRootNode()||document)}return E.customElements},f=O=>class{static get formAssociated(){return!0}constructor(){let S=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(S,HTMLElement.prototype);let T=h(S)||window.customElements,P=T._getDefinition(O);return P?y(S,P):i.set(S,T),S}connectedCallback(){let S=a.get(this);S?S.connectedCallback&&S.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,O,!0)}disconnectedCallback(){let S=a.get(this);S?S.disconnectedCallback&&S.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,O,!1)}adoptedCallback(){a.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let S=a.get(this);S&&S.formAssociated&&S?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let S=a.get(this);S?.formAssociated&&S?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let S=a.get(this);S?.formAssociated&&S?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let S=a.get(this);S?.formAssociated&&S?.formStateRestoreCallback?.apply(this,arguments)}},g=(O,E,S)=>{if(E.size===0||S===void 0)return;let T=O.prototype.setAttribute;T&&(O.prototype.setAttribute=function(k,N){let m=k.toLowerCase();if(E.has(m)){let x=this.getAttribute(m);T.call(this,m,N),S.call(this,m,x,N)}else T.call(this,m,N)});let P=O.prototype.removeAttribute;P&&(O.prototype.removeAttribute=function(k){let N=k.toLowerCase();if(E.has(N)){let m=this.getAttribute(N);P.call(this,N),S.call(this,N,m,null)}else P.call(this,N)});let L=O.prototype.toggleAttribute;L&&(O.prototype.toggleAttribute=function(k,N){let m=k.toLowerCase();if(E.has(m)){let x=this.getAttribute(m);L.call(this,m,N);let _=this.getAttribute(m);S.call(this,m,x,_)}else L.call(this,m,N)})},b=O=>{let E=Object.getPrototypeOf(O);if(E!==window.HTMLElement)return E===t?Object.setPrototypeOf(O,window.HTMLElement):b(E)},y=(O,E,S=!1)=>{Object.setPrototypeOf(O,E.elementClass.prototype),a.set(O,E),d=O;try{new E.elementClass}catch{b(E.elementClass),new E.elementClass}E.attributeChangedCallback&&E.observedAttributes.forEach(T=>{O.hasAttribute(T)&&E.attributeChangedCallback.call(O,T,null,O.getAttribute(T))}),S&&E.connectedCallback&&O.isConnected&&E.connectedCallback.call(O)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(O){let E=v.apply(this,arguments);return O.customElements&&(E.customElements=O.customElements),E};let A=[document],C=(O,E,S=void 0)=>{let T=(S?Object.getPrototypeOf(S):O.prototype)[E];O.prototype[E]=function(){A.push(this);let P=T.apply(S||this,arguments);return P!==void 0&&l.set(P,this),A.pop(),P}};C(ShadowRoot,"createElement",document),C(ShadowRoot,"importNode",document),C(Element,"insertAdjacentHTML");let R=(O,E)=>{let S=Object.getOwnPropertyDescriptor(O.prototype,E);Object.defineProperty(O.prototype,E,{...S,set(T){A.push(this),S.set.call(this,T),A.pop()}})};if(R(Element,"innerHTML"),R(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let O=new WeakMap,E=HTMLElement.prototype.attachInternals,S=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...k){let N=E.call(this,...k);return O.set(N,this),N},S.forEach(k=>{let N=window.ElementInternals.prototype,m=N[k];N[k]=function(...x){let _=O.get(this);if(a.get(_).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 T extends Array{constructor(N){super(...N),this._elements=N}get value(){return this._elements.find(N=>N.checked===!0)?.value||""}}class P{constructor(N){let m=new Map;N.forEach((x,_)=>{let D=x.getAttribute("name"),B=m.get(D)||[];this[+_]=x,B.push(x),m.set(D,B)}),this.length=N.length,m.forEach((x,_)=>{x&&(x.length===1?this[_]=x[0]:this[_]=new T(x))})}namedItem(N){return this[N]}}let L=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let k=L.get.call(this,[]),N=[];for(let m of k){let x=a.get(m);(!x||x.formAssociated===!0)&&N.push(m)}return new P(N)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(o,n,a)=>{if(n!==null)try{e.bind(window.customElements)(o,n,a)}catch(i){console.info(o,n,a,i)}}}var Nr={};U(Nr,{CSSResult:()=>ze,LitElement:()=>se,ReactiveElement:()=>re,_$LE:()=>Dc,_$LH:()=>Ar,adoptStyles:()=>pt,css:()=>F,defaultConverter:()=>Ge,getCompatibleStyle:()=>Ft,html:()=>qt,isServer:()=>Ad,mathml:()=>Lc,noChange:()=>j,notEqual:()=>ht,nothing:()=>W,render:()=>wr,supportsAdoptingStyleSheets:()=>dt,svg:()=>Pc,unsafeCSS:()=>ut});var Ht=globalThis,dt=Ht.ShadowRoot&&(Ht.ShadyCSS===void 0||Ht.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,br=Symbol(),On=new WeakMap,ze=class{constructor(e,o,n){if(this._$cssResult$=!0,n!==br)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(dt&&e===void 0){let n=o!==void 0&&o.length===1;n&&(e=On.get(o)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&On.set(o,e))}return e}toString(){return this.cssText}},ut=t=>new ze(typeof t=="string"?t:t+"",void 0,br),F=(t,...e)=>{let o=t.length===1?t[0]:e.reduce((n,a,i)=>n+(c=>{if(c._$cssResult$===!0)return c.cssText;if(typeof c=="number")return c;throw Error("Value passed to 'css' function must be a 'css' function result: "+c+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(a)+t[i+1],t[0]);return new ze(o,t,br)},pt=(t,e)=>{if(dt)t.adoptedStyleSheets=e.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of e){let n=document.createElement("style"),a=Ht.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,t.appendChild(n)}},Ft=dt?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let o="";for(let n of e.cssRules)o+=n.cssText;return ut(o)})(t):t;var{is:Oc,defineProperty:Ec,getOwnPropertyDescriptor:Cc,getOwnPropertyNames:Ac,getOwnPropertySymbols:wc,getPrototypeOf:Rc}=Object,zt=globalThis,En=zt.trustedTypes,Nc=En?En.emptyScript:"",_c=zt.reactiveElementPolyfillSupport,ft=(t,e)=>t,Ge={toAttribute(t,e){switch(e){case Boolean:t=t?Nc: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}},ht=(t,e)=>!Oc(t,e),Cn={attribute:!0,type:String,converter:Ge,reflect:!1,useDefault:!1,hasChanged:ht};Symbol.metadata??=Symbol("metadata"),zt.litPropertyMetadata??=new WeakMap;var re=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=Cn){if(o.state&&(o.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((o=Object.create(o)).wrapped=!0),this.elementProperties.set(e,o),!o.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(e,n,o);a!==void 0&&Ec(this.prototype,e,a)}}static getPropertyDescriptor(e,o,n){let{get:a,set:i}=Cc(this.prototype,e)??{get(){return this[o]},set(c){this[o]=c}};return{get:a,set(c){let l=a?.call(this);i?.call(this,c),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Cn}static _$Ei(){if(this.hasOwnProperty(ft("elementProperties")))return;let e=Rc(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=[...Ac(o),...wc(o)];for(let a of n)this.createProperty(a,o[a])}let e=this[Symbol.metadata];if(e!==null){let o=litPropertyMetadata.get(e);if(o!==void 0)for(let[n,a]of o)this.elementProperties.set(n,a)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let a=this._$Eu(o,n);a!==void 0&&this._$Eh.set(a,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let o=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let a of n)o.unshift(Ft(a))}else e!==void 0&&o.push(Ft(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._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){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 pt(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,o,n){this._$AK(e,n)}_$ET(e,o){let n=this.constructor.elementProperties.get(e),a=this.constructor._$Eu(e,n);if(a!==void 0&&n.reflect===!0){let i=(n.converter?.toAttribute!==void 0?n.converter:Ge).toAttribute(o,n.type);this._$Em=e,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(e,o){let n=this.constructor,a=n._$Eh.get(e);if(a!==void 0&&this._$Em!==a){let i=n.getPropertyOptions(a),c=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:Ge;this._$Em=a,this[a]=c.fromAttribute(o,i.type)??this._$Ej?.get(a)??null,this._$Em=null}}requestUpdate(e,o,n){if(e!==void 0){let a=this.constructor,i=this[e];if(n??=a.getPropertyOptions(e),!((n.hasChanged??ht)(i,o)||n.useDefault&&n.reflect&&i===this._$Ej?.get(e)&&!this.hasAttribute(a._$Eu(e,n))))return;this.C(e,o,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,o,{useDefault:n,reflect:a,wrapped:i},c){n&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,c??o??this[e]),i!==!0||c!==void 0)||(this._$AL.has(e)||(this.hasUpdated||n||(o=void 0),this._$AL.set(e,o)),a===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(o){Promise.reject(o)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[a,i]of n){let{wrapped:c}=i,l=this[a];c!==!0||this._$AL.has(a)||l===void 0||this.C(a,void 0,i,l)}}let e=!1,o=this._$AL;try{e=this.shouldUpdate(o),e?(this.willUpdate(o),this._$EO?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$EM()}catch(n){throw e=!1,this._$EM(),n}e&&this._$AE(o)}willUpdate(e){}_$AE(e){this._$EO?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(o=>this._$ET(o,this[o])),this._$EM()}updated(e){}firstUpdated(e){}};re.elementStyles=[],re.shadowRootOptions={mode:"open"},re[ft("elementProperties")]=new Map,re[ft("finalized")]=new Map,_c?.({ReactiveElement:re}),(zt.reactiveElementVersions??=[]).push("2.1.0");var vr=globalThis,Gt=vr.trustedTypes,An=Gt?Gt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Sr="$lit$",ce=`lit$${Math.random().toFixed(9).slice(2)}$`,Or="?"+ce,Tc=`<${Or}>`,Te=document,gt=()=>Te.createComment(""),yt=t=>t===null||typeof t!="object"&&typeof t!="function",Er=Array.isArray,Pn=t=>Er(t)||typeof t?.[Symbol.iterator]=="function",xr=`[
|
|
3
|
+
\f\r]`,mt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,wn=/-->/g,Rn=/>/g,Ne=RegExp(`>|${xr}(?:([^\\s"'>=/]+)(${xr}*=${xr}*(?:[^
|
|
4
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Nn=/'/g,_n=/"/g,Ln=/^(?:script|style|textarea|title)$/i,Cr=t=>(e,...o)=>({_$litType$:t,strings:e,values:o}),qt=Cr(1),Pc=Cr(2),Lc=Cr(3),j=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),Tn=new WeakMap,_e=Te.createTreeWalker(Te,129);function In(t,e){if(!Er(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return An!==void 0?An.createHTML(e):e}var kn=(t,e)=>{let o=t.length-1,n=[],a,i=e===2?"<svg>":e===3?"<math>":"",c=mt;for(let l=0;l<o;l++){let d=t[l],p,h,f=-1,g=0;for(;g<d.length&&(c.lastIndex=g,h=c.exec(d),h!==null);)g=c.lastIndex,c===mt?h[1]==="!--"?c=wn:h[1]!==void 0?c=Rn:h[2]!==void 0?(Ln.test(h[2])&&(a=RegExp("</"+h[2],"g")),c=Ne):h[3]!==void 0&&(c=Ne):c===Ne?h[0]===">"?(c=a??mt,f=-1):h[1]===void 0?f=-2:(f=c.lastIndex-h[2].length,p=h[1],c=h[3]===void 0?Ne:h[3]==='"'?_n:Nn):c===_n||c===Nn?c=Ne:c===wn||c===Rn?c=mt:(c=Ne,a=void 0);let b=c===Ne&&t[l+1].startsWith("/>")?" ":"";i+=c===mt?d+Tc:f>=0?(n.push(p),d.slice(0,f)+Sr+d.slice(f)+ce+b):d+ce+(f===-2?l:b)}return[In(t,i+(t[o]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},bt=class t{constructor({strings:e,_$litType$:o},n){let a;this.parts=[];let i=0,c=0,l=e.length-1,d=this.parts,[p,h]=kn(e,o);if(this.el=t.createElement(p,n),_e.currentNode=this.el.content,o===2||o===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(a=_e.nextNode())!==null&&d.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let f of a.getAttributeNames())if(f.endsWith(Sr)){let g=h[c++],b=a.getAttribute(f).split(ce),y=/([.?@])?(.*)/.exec(g);d.push({type:1,index:i,name:y[2],strings:b,ctor:y[1]==="."?jt:y[1]==="?"?Kt:y[1]==="@"?Vt:Le}),a.removeAttribute(f)}else f.startsWith(ce)&&(d.push({type:6,index:i}),a.removeAttribute(f));if(Ln.test(a.tagName)){let f=a.textContent.split(ce),g=f.length-1;if(g>0){a.textContent=Gt?Gt.emptyScript:"";for(let b=0;b<g;b++)a.append(f[b],gt()),_e.nextNode(),d.push({type:2,index:++i});a.append(f[g],gt())}}}else if(a.nodeType===8)if(a.data===Or)d.push({type:2,index:i});else{let f=-1;for(;(f=a.data.indexOf(ce,f+1))!==-1;)d.push({type:7,index:i}),f+=ce.length-1}i++}}static createElement(e,o){let n=Te.createElement("template");return n.innerHTML=e,n}};function Pe(t,e,o=t,n){if(e===j)return e;let a=n!==void 0?o._$Co?.[n]:o._$Cl,i=yt(e)?void 0:e._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(t),a._$AT(t,o,n)),n!==void 0?(o._$Co??=[])[n]=a:o._$Cl=a),a!==void 0&&(e=Pe(t,a._$AS(t,e.values),a,n)),e}var $t=class{constructor(e,o){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:o},parts:n}=this._$AD,a=(e?.creationScope??Te).importNode(o,!0);_e.currentNode=a;let i=_e.nextNode(),c=0,l=0,d=n[0];for(;d!==void 0;){if(c===d.index){let p;d.type===2?p=new $e(i,i.nextSibling,this,e):d.type===1?p=new d.ctor(i,d.name,d.strings,this,e):d.type===6&&(p=new Zt(i,this,e)),this._$AV.push(p),d=n[++l]}c!==d?.index&&(i=_e.nextNode(),c++)}return _e.currentNode=Te,a}p(e){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,o),o+=n.strings.length-2):n._$AI(e[o])),o++}},$e=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,o,n,a){this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=e,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,o=this._$AM;return o!==void 0&&e?.nodeType===11&&(e=o.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,o=this){e=Pe(this,e,o),yt(e)?e===W||e==null||e===""?(this._$AH!==W&&this._$AR(),this._$AH=W):e!==this._$AH&&e!==j&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Pn(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==W&&yt(this._$AH)?this._$AA.nextSibling.data=e:this.T(Te.createTextNode(e)),this._$AH=e}$(e){let{values:o,_$litType$:n}=e,a=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=bt.createElement(In(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let i=new $t(a,this),c=i.u(this.options);i.p(o),this.T(c),this._$AH=i}}_$AC(e){let o=Tn.get(e.strings);return o===void 0&&Tn.set(e.strings,o=new bt(e)),o}k(e){Er(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let i of e)a===o.length?o.push(n=new t(this.O(gt()),this.O(gt()),this,this.options)):n=o[a],n._$AI(i),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$AR(e=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Le=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,o,n,a,i){this.type=1,this._$AH=W,this._$AN=void 0,this.element=e,this.name=o,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=W}_$AI(e,o=this,n,a){let i=this.strings,c=!1;if(i===void 0)e=Pe(this,e,o,0),c=!yt(e)||e!==this._$AH&&e!==j,c&&(this._$AH=e);else{let l=e,d,p;for(e=i[0],d=0;d<i.length-1;d++)p=Pe(this,l[n+d],o,d),p===j&&(p=this._$AH[d]),c||=!yt(p)||p!==this._$AH[d],p===W?e=W:e!==W&&(e+=(p??"")+i[d+1]),this._$AH[d]=p}c&&!a&&this.j(e)}j(e){e===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},jt=class extends Le{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===W?void 0:e}},Kt=class extends Le{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==W)}},Vt=class extends Le{constructor(e,o,n,a,i){super(e,o,n,a,i),this.type=5}_$AI(e,o=this){if((e=Pe(this,e,o,0)??W)===j)return;let n=this._$AH,a=e===W&&n!==W||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,i=e!==W&&(n===W||a);a&&this.element.removeEventListener(this.name,this,n),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Zt=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){Pe(this,e)}},Ar={M:Sr,P:ce,A:Or,C:1,L:kn,R:$t,D:Pn,V:Pe,I:$e,H:Le,N:Kt,U:Vt,B:jt,F:Zt},Ic=vr.litHtmlPolyfillSupport;Ic?.(bt,$e),(vr.litHtmlVersions??=[]).push("3.3.0");var wr=(t,e,o)=>{let n=o?.renderBefore??e,a=n._$litPart$;if(a===void 0){let i=o?.renderBefore??null;n._$litPart$=a=new $e(e.insertBefore(gt(),i),i,void 0,o??{})}return a._$AI(t),a};var Rr=globalThis,se=class extends re{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=wr(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return j}};se._$litElement$=!0,se.finalized=!0,Rr.litElementHydrateSupport?.({LitElement:se});var kc=Rr.litElementPolyfillSupport;kc?.({LitElement:se});var Dc={_$AK:(t,e,o)=>{t._$AK(e,o)},_$AL:t=>t._$AL};(Rr.litElementVersions??=[]).push("4.2.0");var Ad=!1;var Tr={};U(Tr,{customElement:()=>Uc,eventOptions:()=>Bc,property:()=>z,query:()=>_r,queryAll:()=>Hc,queryAssignedElements:()=>zc,queryAssignedNodes:()=>Gc,queryAsync:()=>Fc,standardProperty:()=>Dn,state:()=>je});var Uc=t=>(e,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var Mc={attribute:!0,type:String,converter:Ge,reflect:!1,hasChanged:ht},Dn=(t=Mc,e,o)=>{let{kind:n,metadata:a}=o,i=globalThis.litPropertyMetadata.get(a);if(i===void 0&&globalThis.litPropertyMetadata.set(a,i=new Map),n==="setter"&&((t=Object.create(t)).wrapped=!0),i.set(o.name,t),n==="accessor"){let{name:c}=o;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(c,d,t)},init(l){return l!==void 0&&this.C(c,void 0,t,l),l}}}if(n==="setter"){let{name:c}=o;return function(l){let d=this[c];e.call(this,l),this.requestUpdate(c,d,t)}}throw Error("Unsupported decorator location: "+n)};function z(t){return(e,o)=>typeof o=="object"?Dn(t,e,o):((n,a,i)=>{let c=a.hasOwnProperty(i);return a.constructor.createProperty(i,n),c?Object.getOwnPropertyDescriptor(a,i):void 0})(t,e,o)}function je(t){return z({...t,state:!0,attribute:!1})}function Bc(t){return(e,o)=>{let n=typeof e=="function"?e:e[o];Object.assign(n,t)}}var J=(t,e,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,o),o);function _r(t,e){return(o,n,a)=>{let i=c=>c.renderRoot?.querySelector(t)??null;if(e){let{get:c,set:l}=typeof n=="object"?o:a??(()=>{let d=Symbol();return{get(){return this[d]},set(p){this[d]=p}}})();return J(o,n,{get(){let d=c.call(this);return d===void 0&&(d=i(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return J(o,n,{get(){return i(this)}})}}var Wc;function Hc(t){return(e,o)=>J(e,o,{get(){return(this.renderRoot??(Wc??=document.createDocumentFragment())).querySelectorAll(t)}})}function Fc(t){return(e,o)=>J(e,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function zc(t){return(e,o)=>{let{slot:n,selector:a}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return J(e,o,{get(){let c=this.renderRoot?.querySelector(i),l=c?.assignedElements(t)??[];return a===void 0?l:l.filter(d=>d.matches(a))}})}}function Gc(t){return(e,o)=>{let{slot:n}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return J(e,o,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(t)??[]}})}}var Pr={};U(Pr,{repeat:()=>Hn});var he={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},me=t=>(...e)=>({_$litDirective$:t,values:e}),oe=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{I:$c}=Ar;var Un=()=>document.createComment(""),Ke=(t,e,o)=>{let n=t._$AA.parentNode,a=e===void 0?t._$AB:e._$AA;if(o===void 0){let i=n.insertBefore(Un(),a),c=n.insertBefore(Un(),a);o=new $c(i,c,t,t.options)}else{let i=o._$AB.nextSibling,c=o._$AM,l=c!==t;if(l){let d;o._$AQ?.(t),o._$AM=t,o._$AP!==void 0&&(d=t._$AU)!==c._$AU&&o._$AP(d)}if(i!==a||l){let d=o._$AA;for(;d!==i;){let p=d.nextSibling;n.insertBefore(d,a),d=p}}}return o},ge=(t,e,o=t)=>(t._$AI(e,o),t),jc={},Mn=(t,e=jc)=>t._$AH=e,Bn=t=>t._$AH,Yt=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 Wn=(t,e,o)=>{let n=new Map;for(let a=e;a<=o;a++)n.set(t[a],a);return n},Hn=me(class extends oe{constructor(t){if(super(t),t.type!==he.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,o){let n;o===void 0?o=e:e!==void 0&&(n=e);let a=[],i=[],c=0;for(let l of t)a[c]=n?n(l,c):c,i[c]=o(l,c),c++;return{values:i,keys:a}}render(t,e,o){return this.dt(t,e,o).values}update(t,[e,o,n]){let a=Bn(t),{values:i,keys:c}=this.dt(e,o,n);if(!Array.isArray(a))return this.ut=c,i;let l=this.ut??=[],d=[],p,h,f=0,g=a.length-1,b=0,y=i.length-1;for(;f<=g&&b<=y;)if(a[f]===null)f++;else if(a[g]===null)g--;else if(l[f]===c[b])d[b]=ge(a[f],i[b]),f++,b++;else if(l[g]===c[y])d[y]=ge(a[g],i[y]),g--,y--;else if(l[f]===c[y])d[y]=ge(a[f],i[y]),Ke(t,d[y+1],a[f]),f++,y--;else if(l[g]===c[b])d[b]=ge(a[g],i[b]),Ke(t,a[f],a[g]),g--,b++;else if(p===void 0&&(p=Wn(c,b,y),h=Wn(l,f,g)),p.has(l[f]))if(p.has(l[g])){let v=h.get(c[b]),A=v!==void 0?a[v]:null;if(A===null){let C=Ke(t,a[f]);ge(C,i[b]),d[b]=C}else d[b]=ge(A,i[b]),Ke(t,a[f],A),a[v]=null;b++}else Yt(a[g]),g--;else Yt(a[f]),f++;for(;b<=y;){let v=Ke(t,d[y+1]);ge(v,i[b]),d[b++]=v}for(;f<=g;){let v=a[f++];v!==null&&Yt(v)}return this.ut=c,Mn(t,d),j}});var Lr={};U(Lr,{classMap:()=>Kc});var Kc=me(class extends oe{constructor(t){if(super(t),t.type!==he.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.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.nt?.has(n)&&this.st.add(n);return this.render(e)}let o=t.element.classList;for(let n of this.st)n in e||(o.remove(n),this.st.delete(n));for(let n in e){let a=!!e[n];a===this.st.has(n)||this.nt?.has(n)||(a?(o.add(n),this.st.add(n)):(o.remove(n),this.st.delete(n)))}return j}});var Ir={};U(Ir,{styleMap:()=>Zc});var Fn="important",Vc=" !"+Fn,Zc=me(class extends oe{constructor(t){if(super(t),t.type!==he.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.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let n of this.ft)e[n]==null&&(this.ft.delete(n),n.includes("-")?o.removeProperty(n):o[n]=null);for(let n in e){let a=e[n];if(a!=null){this.ft.add(n);let i=typeof a=="string"&&a.endsWith(Vc);n.includes("-")||i?o.setProperty(n,i?a.slice(0,-11):a,i?Fn:""):o[n]=a}}return j}});var Dr={};U(Dr,{UnsafeHTMLDirective:()=>Ve,unsafeHTML:()=>kr});var Ve=class extends oe{constructor(e){if(super(e),this.it=W,e.type!==he.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===W||e==null)return this._t=void 0,this.it=e;if(e===j)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let o=[e];return o.raw=o,this._t={_$litType$:this.constructor.resultType,strings:o,values:[]}}};Ve.directiveName="unsafeHTML",Ve.resultType=1;var kr=me(Ve);var Gr={};U(Gr,{CacheRegistry:()=>zr,ClearCacheEvent:()=>vt});var Mr={};U(Mr,{CancelablePromise:()=>Xt,CanceledPromiseError:()=>xt,cancelable:()=>Ur});var xt=class extends Error{constructor(e,o,n){super(e),this.canceledPromiseResult=o,this.canceledPromiseError=n}},Xt=class extends Promise{constructor(e){super((o,n)=>e(a=>{this.isCanceled?n(new xt("Promise has been canceled",a)):o(a)},a=>{this.isCanceled?n(new xt("Promise has been canceled",void 0,a)):n(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Ur=t=>new Xt((e,o)=>t.then(e).catch(o));var Fr={};U(Fr,{FtNotificationEvent:()=>Br,PostResizeEvent:()=>Hr,PreResizeEvent:()=>Wr,WithEventBus:()=>Ie,withEventBus:()=>zn});var Br=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Wr=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Hr=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};function zn(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(o,n,a){this.eventBus.addEventListener(o,n,a)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,a){this.eventBus.removeEventListener(o,n,a)}}}var Ie=class extends zn(Object){};var vt=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},zr=class extends Ie{constructor(){super(...arguments),this.content={}}register(e,o,n=!1){var a;let i=this.content[e],c=(a=i?.status)!==null&&a!==void 0?a:"REGISTERED";this.content[e]={...i,loader:o,final:n,status:c}}registerFinal(e,o){this.forceClear(e),this.register(e,o,!0)}clearAll(e=!0){let o=[];for(let n in this.content)this.clear(n,!1)!=null&&o.push(n);return e&&o.length>0&&this.dispatchEvent(new vt(o)),o}clear(e,o=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),o&&this.dispatchEvent(new vt([e])),e}forceClear(e){var o;let n=this.content[e];n&&(this.clearClearTimeout(e),(o=n.promise)===null||o===void 0||o.cancel(),this.content[e]={loader:n.loader,final:n.final,status:"REGISTERED"})}clearClearTimeout(e){var o,n,a;((o=this.content[e])===null||o===void 0?void 0:o.clearTimeout)!=null&&(window.clearTimeout((n=this.content[e])===null||n===void 0?void 0:n.clearTimeout),(a=this.content[e])===null||a===void 0||delete a.clearTimeout)}set(e,o,n=!1){this.forceClear(e);let a=async()=>o,i="RESOLVED";this.content[e]={loader:a,final:n,status:i,value:o}}setFinal(e,o){return this.set(e,o,!0)}async get(e,o,n){if(!this.isRegistered(e)){if(!o)throw new Error("Unknown cache key "+e);this.register(e,o)}let a=this.content[e];switch(a.status){case"ERROR":throw a.error;case"LOADING":return a.promise;case"RESOLVED":return a.value;case"REGISTERED":return o=o??a.loader,a.status="LOADING",a.promise=Ur(o()),a.promise.then(i=>(a.status="RESOLVED",a.value=i,n!=null&&(this.clearClearTimeout(e),a.clearTimeout=window.setTimeout(()=>this.clear(e),n)),i)).catch(i=>{var c;throw!((c=a.promise)===null||c===void 0)&&c.isCanceled||(a.status="ERROR",a.error=i),i})}}isRegistered(e){return this.content[e]!=null}getNow(e){var o;return(o=this.content[e])===null||o===void 0?void 0:o.value}has(e){var o,n;return((o=this.content[e])===null||o===void 0?void 0:o.status)!==void 0&&((n=this.content[e])===null||n===void 0?void 0:n.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(e=>{var o;return((o=this.content[e])===null||o===void 0?void 0:o.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(e=>this.content[e].value)}keys(){return Object.keys(this.content)}};var Kr={};U(Kr,{ClusteringHelper:()=>jr,formatHierarchicalValues:()=>$r});function $r(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var jr=class t{constructor(e,o,n,a){this.allResults=e,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=a}static extractResultMetadata(e){var o,n,a,i,c;let l=((i=(n=(o=e.result)===null||o===void 0?void 0:o.map)!==null&&n!==void 0?n:(a=e.result)===null||a===void 0?void 0:a.document)!==null&&i!==void 0?i:(c=e.result)===null||c===void 0?void 0:c.topic).metadata;return e.key==null?t.flattenMetadata(l,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(l.find(d=>d.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,o,n){if(Array.isArray(e))return e.map(i=>t.flattenMetadata(i,o,n)).filter(i=>i!=null);let a=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!a))if(a){let i=[],c=[];return e.hierarchicalValues.forEach(l=>{i.push($r(l)),c.push($r(l,o))}),{key:e.key,label:e.label,value:i.join(", "),displayValue:c.join(", "),displayTooltipValue:i.join(", ")}}else{let i=e.values.join(", "),c=e.values.map(l=>n?n(l):l).join(", ");return{key:e.key,label:e.label,value:i,displayValue:c,displayTooltipValue:c}}}computeClustersItemsForMetadata(e,o,n="No value",a,i){var c,l;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:i}),p=(c=d?.label)!==null&&c!==void 0?c:(l=this.getMetadataDescriptor(e))===null||l===void 0?void 0:l.label;return this.allResults.map(f=>t.extractResultMetadata({result:f,key:e,hierarchicalValueTruncatingLevel:a,dateFormatter:i})).map(f=>f??{key:e,label:p,value:void 0,displayValue:n}).filter(f=>f.value!=d?.value).filter((f,g,b)=>b.findIndex(y=>y.value===f.value)===g).map(f=>({result:this.findBestResultForMetadataValue(e,f.value),metadata:f})).sort((f,g)=>this.compareMetadata(f.metadata.value,g.metadata.value,e,o))}compareMetadata(e,o,n,a){if(e==null)return-1;if(o==null)return 1;let i=this.getMetadataDescriptor(n),c=i?.sortRule||"NONE",l=i?.reverseSort||!1;if(c=="ALPHABET"||c=="VERSION"){let d=e.localeCompare(o,a,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(o=>e==o.key)}findBestResultForMetadataValue(e,o){let n=this.allResults.filter(d=>{var p;return((p=t.extractResultMetadata({result:d,key:e}))===null||p===void 0?void 0:p.value)==o}),i=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],c,l=-1;for(let d of n){let p=this.countMatchingMetadata(d,i);if(p>l&&(l=p,c=d,p===i.length))break}return c}countMatchingMetadata(e,o){return t.extractResultMetadata({result:e}).filter(n=>o.some(a=>a.key===n.key&&a.value===n.value)).length}};var Vr={};U(Vr,{Debouncer:()=>St});var St=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,o){return this.callbacks=[e],this.debounce(o)}queue(e,o){return this.callbacks.push(e),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,o;let n=[...this.callbacks];this.callbacks=[];let a=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,i=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let c of n)try{await c()}catch(l){a(l);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Jr={};U(Jr,{customElement:()=>Yr,isNumber:()=>Zn,jsonProperty:()=>Xr,optionalNumberProperty:()=>rs});var qr={};U(qr,{dateReviver:()=>Yc,deepCopy:()=>es,deepEqual:()=>Ot,delay:()=>Gn,eventPathContainsMatchingElement:()=>Jc,flatDeep:()=>jn,getComposedPathTo:()=>Zr,hasChanged:()=>ke,last:()=>Qc,minmax:()=>Et,parseDate:()=>Kn,randomId:()=>ts,unslotText:()=>Vn,waitFor:()=>$n,waitUntil:()=>qc});var Gn=t=>new Promise(e=>setTimeout(e,t));async function qc(t,e=10,o=2e4){await $n(async()=>await t()||void 0,e,o)}async function $n(t,e=10,o=2e4){let n=await t(),a,i;for(a=i=performance.now();n==null&&(!o||i-a<o);)await Gn(e),n=await t(),i=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function jn(t,e){return t.flatMap(o=>[o,...jn(e(o),e)])}function Yc(...t){return(e,o)=>t.includes(e)?Kn(o):o}function Kn(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,o,n,a)=>o+n+":"+a),new Date(t)}function Xc(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var o,n,a;if(Array.isArray(t)){if(o=t.length,o!=e.length)return!1;for(n=o;n--!==0;)if(!Ot(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(!Ot(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();let i=c=>Object.keys(c).filter(l=>c[l]!=null);if(a=i(t),o=a.length,o!==i(e).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,a[n]))return!1;for(n=o;n--!==0;){let c=a[n];if(!Ot(t[c],e[c]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function Ot(t,e){try{return Xc(t,e)}catch{return!1}}function ke(t,e){return!Ot(t,e)}function Jc(t,e,o=window.document.body){if(e.length>0){let n=t.composedPath();for(let a of n){if(a===o)return!1;if(a.matches&&e.some(i=>a.matches(i)))return!0}}return!1}function Et(t,e,o){return Math.min(Math.max(t,e),o)}function Qc(t){return t[t.length-1]}function Vn(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>Vn(e)).join(""):t?.textContent||""}function Zr(t){let e=[],o=n=>{n.stopPropagation(),e=n.composedPath()};return t.addEventListener("get-composed-path",o),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",o),e}function es(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function ts(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}var Yr=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function Xr(t,e){let o=()=>JSON.parse(JSON.stringify(t));return z({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:ke,...e??{}})}function rs(t){return z({type:Object,converter:{fromAttribute:e=>{if(e!=null)return Zn(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function Zn(t){return!isNaN(parseFloat(t))}var ro={};U(ro,{designSystemVariables:()=>Ms});var to={};U(to,{DesignSystemFamily:()=>Ct,DesignSystemSize:()=>At,FtCssVariableFactory:()=>r,badge:()=>ps,banner:()=>us,button:()=>as,chart:()=>Ns,checkbox:()=>is,chip:()=>ls,chipChoice:()=>ss,collapsible:()=>ws,comboboxMultiSelect:()=>Cs,comboboxSingleSelect:()=>Es,drawer:()=>bs,floatingMenu:()=>Os,foundation:()=>s,link:()=>ds,modal:()=>ys,notice:()=>Ts,notification:()=>Is,pageDesigner:()=>_s,pageFooter:()=>ms,pageHeader:()=>hs,pageLayout:()=>gs,popover:()=>As,radio:()=>Ls,reorderableList:()=>Ds,resolveFamilyClass:()=>Qr,resolveSizeClass:()=>eo,semantic:()=>u,setVariable:()=>Ze,switch_:()=>Rs,table:()=>cs,tabs:()=>xs,textArea:()=>Ss,textInput:()=>vs,titleBreadcrumb:()=>fs,toggle:()=>Ps,tooltip:()=>ks,treeList:()=>Us,typographies:()=>os,typographyBody1Medium:()=>ea,typographyBody1Regular:()=>Qn,typographyBody1Semibold:()=>ta,typographyBody2Medium:()=>oa,typographyBody2MediumUnderline:()=>na,typographyBody2Regular:()=>ra,typographyBody2Semibold:()=>aa,typographyCaption1Bold:()=>ha,typographyCaption1Medium:()=>pa,typographyCaption1Semibold:()=>fa,typographyCaption2Bold:()=>ya,typographyCaption2Medium:()=>ma,typographyCaption2Semibold:()=>ga,typographyCaption3Bold:()=>va,typographyCaption3Medium:()=>ba,typographyCaption3Semibold:()=>xa,typographyDisplay:()=>qn,typographyLabel1Bold:()=>sa,typographyLabel1Medium:()=>ia,typographyLabel1Semibold:()=>ca,typographyLabel2Bold:()=>ua,typographyLabel2Medium:()=>la,typographyLabel2Semibold:()=>da,typographyTitle1:()=>Yn,typographyTitle2:()=>Xn,typographyTitle3:()=>Jn,typographyVariants:()=>ns});var ye=t=>typeof t=="string"?ut(t):t,r=class{static create(e,o,n,a){let i=l=>ye(l??a),c=F`var(${ye(e)}, ${i(a)})`;return c.name=e,c.description=o,c.category=n,c.defaultValue=a,c.defaultCssValue=i,c.set=l=>Ze(c,l??i(a)),c.get=l=>F`var(${ye(e)}, ${i(l)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>a,c}static extend(e,o,n,a){let i=l=>n.get(l??a),c=F`var(${ye(e)}, ${i(a)})`;return c.name=e,c.description=o,c.category=n.category,c.fallbackVariable=n,c.defaultValue=a,c.defaultCssValue=i,c.set=l=>Ze(c,l??i(a)),c.get=l=>F`var(${ye(e)}, ${i(l)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),c}static external(e,o){let n=i=>e.defaultCssValue(i),a=F`var(${ye(e.name)}, ${n(e.defaultValue)})`;return a.name=e.name,a.category=e.category,a.fallbackVariable=e.fallbackVariable,a.defaultValue=e.defaultValue,a.context=o,a.defaultCssValue=n,a.set=i=>e.set(i),a.get=i=>F`var(${ye(e.name)}, ${n(i)})`,a.breadcrumb=()=>e.breadcrumb(),a.lastResortDefaultValue=()=>e.lastResortDefaultValue(),a}};function Ze(t,e){return ye(`${t.name}: ${e}`)}var s={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(0.25rem*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(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"),opacity12:r.create("--ft-opacity-12","","NUMBER","0.12"),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"),opacity48:r.create("--ft-opacity-48","","NUMBER","0.48"),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)")},qn={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","1.2"),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")},Yn={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","1.2"),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")},Xn={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","1.2"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Jn={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","1.2"),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")},Qn={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","1.35"),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")},ea={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","1.35"),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")},ta={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","1.35"),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")},ra={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","1.35"),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")},oa={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","1.35"),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")},na={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","1.35"),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")},aa={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","1.35"),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")},ia={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")},ca={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")},sa={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")},la={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")},da={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")},ua={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")},pa={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","1.3"),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")},fa={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","1.3"),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")},ha={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","1.3"),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")},ma={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","1.3"),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")},ga={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","1.3"),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")},ya={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","1.3"),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")},ba={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","1.3"),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")},xa={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","1.3"),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")},va={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","1.3"),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")},os={display:qn,"title-1":Yn,"title-2":Xn,"title-3":Jn,"body-1-regular":Qn,"body-1-medium":ea,"body-1-semibold":ta,"body-2-regular":ra,"body-2-medium":oa,"body-2-medium-underline":na,"body-2-semibold":aa,"label-1-medium":ia,"label-1-semibold":ca,"label-1-bold":sa,"label-2-medium":la,"label-2-semibold":da,"label-2-bold":ua,"caption-1-medium":pa,"caption-1-semibold":fa,"caption-1-bold":ha,"caption-2-medium":ma,"caption-2-semibold":ga,"caption-2-bold":ya,"caption-3-medium":ba,"caption-3-semibold":xa,"caption-3-bold":va},ns=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var u={backgroundActionPrimary:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",s.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",s.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",s.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",s.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",s.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",s.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",s.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",s.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",s.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",s.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",s.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",s.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",s.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",s.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",s.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",s.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",s.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",s.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
5
|
+
Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",s.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",s.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",s.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",s.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",s.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",s.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",s.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",s.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",s.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",s.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",s.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",s.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",s.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",s.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",s.colorGray80),borderNeutralPrimary:r.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",s.colorGray200)};var as={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",s.spacing4),largeGap:r.extend("--ft-button-large-gap","",s.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",s.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",s.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","",s.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",s.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",s.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",s.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","",s.spacing2),smallGap:r.extend("--ft-button-small-gap","",s.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",s.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",s.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","",s.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","",s.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ft-button-primary-brand-background-color","",u.backgroundActionPrimary),primaryBrandColor:r.extend("--ft-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ft-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ft-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ft-button-primary-brand-hover-state-layer-opacity","",s.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ft-button-primary-brand-focus-state-layer-opacity","",s.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ft-button-primary-brand-active-state-layer-opacity","",s.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ft-button-primary-brand-disabled-component-opacity","",s.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ft-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ft-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ft-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",s.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",s.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",s.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ft-button-tertiary-brand-disabled-component-opacity","",s.opacity40),tertiaryInfoBackgroundColor:r.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ft-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ft-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ft-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",s.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",s.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ft-button-tertiary-info-active-state-layer-opacity","",s.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ft-button-tertiary-info-disabled-component-opacity","",s.opacity40),tertiarySuccessBackgroundColor:r.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ft-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ft-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ft-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",s.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",s.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ft-button-tertiary-success-active-state-layer-opacity","",s.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ft-button-tertiary-success-disabled-component-opacity","",s.opacity40),tertiaryWarningBackgroundColor:r.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ft-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ft-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ft-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",s.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",s.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",s.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ft-button-tertiary-warning-disabled-component-opacity","",s.opacity40),tertiaryErrorBackgroundColor:r.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ft-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ft-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ft-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",s.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",s.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ft-button-tertiary-error-active-state-layer-opacity","",s.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ft-button-tertiary-error-disabled-component-opacity","",s.opacity40),tertiaryNeutralBackgroundColor:r.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ft-button-tertiary-neutral-icon-color","",u.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ft-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ft-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",s.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",s.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",s.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",s.opacity40),secondaryBrandBackgroundColor:r.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ft-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:r.extend("--ft-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ft-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",s.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",s.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ft-button-secondary-brand-active-state-layer-opacity","",s.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ft-button-secondary-brand-disabled-component-opacity","",s.opacity40),secondaryBrandBorderColor:r.extend("--ft-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",s.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",s.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",s.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ft-button-secondary-neutral-disabled-component-opacity","",s.opacity40),secondaryNeutralBackgroundColor:r.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ft-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ft-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ft-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ft-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ft-button-secondary-info-hover-state-layer-opacity","",s.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ft-button-secondary-info-focus-state-layer-opacity","",s.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ft-button-secondary-info-active-state-layer-opacity","",s.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ft-button-secondary-info-disabled-component-opacity","",s.opacity40),secondaryInfoBackgroundColor:r.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ft-button-secondary-info-border-color","",u.borderInfoPrimary),secondaryInfoColor:r.extend("--ft-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ft-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ft-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ft-button-secondary-success-hover-state-layer-opacity","",s.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ft-button-secondary-success-focus-state-layer-opacity","",s.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ft-button-secondary-success-active-state-layer-opacity","",s.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ft-button-secondary-success-disabled-component-opacity","",s.opacity40),secondarySuccessBackgroundColor:r.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ft-button-secondary-success-border-color","",u.borderSuccessPrimary),secondarySuccessColor:r.extend("--ft-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ft-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ft-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",s.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",s.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ft-button-secondary-warning-active-state-layer-opacity","",s.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ft-button-secondary-warning-disabled-component-opacity","",s.opacity40),secondaryWarningBackgroundColor:r.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ft-button-secondary-warning-border-color","",u.borderWarningPrimary),secondaryWarningColor:r.extend("--ft-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ft-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ft-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ft-button-secondary-error-hover-state-layer-opacity","",s.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ft-button-secondary-error-focus-state-layer-opacity","",s.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ft-button-secondary-error-active-state-layer-opacity","",s.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ft-button-secondary-error-disabled-component-opacity","",s.opacity40),secondaryErrorBackgroundColor:r.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ft-button-secondary-error-border-color","",u.contentErrorPrimary),secondaryErrorColor:r.extend("--ft-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ft-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ft-button-secondary-error-state-layer-color","",u.contentErrorPrimary)};var is={iconSize:r.extend("--ft-checkbox-icon-size","",s.iconSize2),boxSize:r.create("--ft-checkbox-box-size","","SIZE","18px"),colorLegendSize:r.create("--ft-checkbox-color-legend-size","","SIZE","16px"),borderRadius:r.create("--ft-checkbox-border-radius","","SIZE","1px"),color:r.extend("--ft-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",s.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",s.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",s.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",s.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",s.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",s.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",s.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",s.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",s.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",s.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),borderWidth:r.create("--ft-checkbox-border-width","","SIZE","2px"),horizontalGap:r.extend("--ft-checkbox-horizontal-gap","",s.spacing3),leftPadding:r.extend("--ft-checkbox-left-padding","",s.spacing2)};var cs={headerRowBorderWidth:r.create("--ft-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:r.extend("--ft-table-header-row-background-color","",u.backgroundGlobalOnSurfaceDark),headerRowBorderColor:r.extend("--ft-table-header-row-border-color","",u.borderGlobalPrimary),headerRowColor:r.extend("--ft-table-header-row-color","",u.contentGlobalPrimary),dataRowBorderWidth:r.create("--ft-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:r.extend("--ft-table-data-row-background-color","",u.backgroundGlobalOnSurface),dataRowBorderColor:r.extend("--ft-table-data-row-border-color","",u.borderGlobalSubtle),dataRowColor:r.extend("--ft-table-data-row-color","",u.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:r.extend("--ft-table-data-row-default-hover-background-color","",s.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:r.extend("--ft-table-data-row-selectable-unselected-hover-background-color","",s.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:r.extend("--ft-table-data-row-selectable-selected-default-background-color","",s.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:r.extend("--ft-table-data-row-selectable-selected-default-border-color","",s.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:r.extend("--ft-table-data-row-selectable-selected-hover-background-color","",s.colorBrand20),dataRowSelectableSelectedHoverBorderColor:r.extend("--ft-table-data-row-selectable-selected-hover-border-color","",s.colorBrand30),dataRowSelectableSelectedColor:r.extend("--ft-table-data-row-selectable-selected-color","",u.contentActionPrimary),dataRowClickableHoverBackgroundColor:r.extend("--ft-table-data-row-clickable-hover-background-color","",s.colorGray30),dataRowClickableFocusBorderColor:r.extend("--ft-table-data-row-clickable-focus-border-color","",u.borderActionFocusRing),dataRowClickableFocusBackgroundColor:r.extend("--ft-table-data-row-clickable-focus-background-color","",s.colorGray30),dataRowClickableActiveBackgroundColor:r.extend("--ft-table-data-row-clickable-active-background-color","",s.colorGray40),headerCellHorizontalGap:r.extend("--ft-table-header-cell-horizontal-gap","",s.spacing1),headerCellVerticalPadding:r.extend("--ft-table-header-cell-vertical-padding","",s.spacing2),headerCellHorizontalPadding:r.extend("--ft-table-header-cell-horizontal-padding","",s.spacing3),dataCellVerticalPadding:r.extend("--ft-table-data-cell-vertical-padding","",s.spacing2),dataCellHorizontalPadding:r.extend("--ft-table-data-cell-horizontal-padding","",s.spacing3),dataCellVerticalGap:r.extend("--ft-table-data-cell-vertical-gap","",s.spacing1)};var ss={neutralOffHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",s.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",s.opacity8),neutralOffFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",s.opacity16),neutralOffBackgroundColor:r.extend("--ft-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ft-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:r.extend("--ft-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ft-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",s.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",s.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",s.opacity24),neutralOnFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",s.opacity32),neutralOnBackgroundColor:r.extend("--ft-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ft-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:r.extend("--ft-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:r.extend("--ft-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ft-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:r.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-choice-large-horizontal-padding","",s.spacing3),largeGap:r.extend("--ft-chip-choice-large-gap","",s.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","",s.iconSize3),mediumMinHeight:r.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-choice-medium-horizontal-padding","",s.spacing2),mediumGap:r.extend("--ft-chip-choice-medium-gap","",s.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","",s.iconSize2)};var ls={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",s.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",s.spacing1),largeGap:r.extend("--ft-chip-large-gap","",s.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","",s.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",s.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",s.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",s.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","",s.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",s.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",s.spacing05),smallGap:r.extend("--ft-chip-small-gap","",s.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","",s.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)};var ds={brandHoverOpacity:r.extend("--ft-link-brand-hover-opacity","",s.opacity80),brandHoverColor:r.extend("--ft-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ft-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:r.extend("--ft-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:r.extend("--ft-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:r.extend("--ft-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:r.extend("--ft-link-info-hover-opacity","",s.opacity80),infoHoverColor:r.extend("--ft-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ft-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:r.extend("--ft-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:r.extend("--ft-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:r.extend("--ft-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ft-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:r.extend("--ft-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:r.extend("--ft-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:r.extend("--ft-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:r.extend("--ft-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:r.extend("--ft-link-neutral-visited-color","",s.colorBrand100)};var us={iconSize:r.extend("--ft-banner-icon-size","",s.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",s.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",s.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",s.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",s.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",s.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",s.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",s.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",u.borderInfoSubtle)};var ps={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",s.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",s.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",s.borderRadiusPill),color:r.extend("--ft-badge-color","",u.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",u.contentActionPrimary)};var fs={horizontalGap:r.extend("--ft-title-breadcrumb-horizontal-gap","",s.spacing1),currentColor:r.extend("--ft-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:r.extend("--ft-title-breadcrumb-icon-color","",u.contentGlobalSubtle)};var hs={parentHorizontalPadding:r.extend("--ft-page-header-parent-horizontal-padding","",s.spacing6),parentTopPadding:r.extend("--ft-page-header-parent-top-padding","",s.spacing4),parentBottomPadding:r.extend("--ft-page-header-parent-bottom-padding","",s.spacing6),parentHelpLeftMargin:r.extend("--ft-page-header-parent-help-left-margin","",s.spacing1),parentTitleColor:r.extend("--ft-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:r.extend("--ft-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ft-page-header-parent-chip-left-margin","",s.spacing4),parentVerticalGap:r.extend("--ft-page-header-parent-vertical-gap","",s.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",s.spacing4),parentButtonsGroupVerticalGap:r.extend("--ft-page-header-parent-buttons-group-vertical-gap","",s.spacing4),parentChipsGroupHorizontalGap:r.extend("--ft-page-header-parent-chips-group-horizontal-gap","",s.spacing2),parentChipsGroupVerticalGap:r.extend("--ft-page-header-parent-chips-group-vertical-gap","",s.spacing2),childHorizontalPadding:r.extend("--ft-page-header-child-horizontal-padding","",s.spacing6),childTopPadding:r.extend("--ft-page-header-child-top-padding","",s.spacing2),childBottomPadding:r.extend("--ft-page-header-child-bottom-padding","",s.spacing2),childHelpLeftMargin:r.extend("--ft-page-header-child-help-left-margin","",s.spacing1),childChipLeftMargin:r.extend("--ft-page-header-child-chip-left-margin","",s.spacing4),childVerticalGap:r.extend("--ft-page-header-child-vertical-gap","",s.spacing2),childMinHeight:r.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ft-page-header-child-buttons-group-horizontal-gap","",s.spacing4),childButtonsGroupVerticalGap:r.extend("--ft-page-header-child-buttons-group-vertical-gap","",s.spacing4),childChipsGroupHorizontalGap:r.extend("--ft-page-header-child-chips-group-horizontal-gap","",s.spacing2),childChipsGroupVerticalGap:r.extend("--ft-page-header-child-chips-group-vertical-gap","",s.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",s.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:r.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var ms={horizontalPadding:r.extend("--ft-page-footer-horizontal-padding","",s.spacing6),verticalPadding:r.extend("--ft-page-footer-vertical-padding","",s.spacing2),verticalGap:r.extend("--ft-page-footer-vertical-gap","",s.spacing2),minHeight:r.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ft-page-footer-background-color","",s.colorWhite),topBorderColor:r.extend("--ft-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:r.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ft-page-footer-buttons-group-gap","",s.spacing4)};var gs={contentHorizontalPadding:r.extend("--ft-page-layout-content-horizontal-padding","",s.spacing6),contentVerticalPadding:r.extend("--ft-page-layout-content-vertical-padding","",s.spacing6)};var ys={smallContainerTargetWidth:r.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ft-modal-small-container-margin","",s.spacing6),mediumContainerTargetWidth:r.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ft-modal-medium-container-margin","",s.spacing6),largeContainerTargetWidth:r.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ft-modal-large-container-margin","",s.spacing6),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",s.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",s.opacity40),shadow:r.extend("--ft-modal-shadow","",s.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",s.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",s.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",s.spacing6),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ft-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",s.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",s.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",s.spacing6),headerGap:r.extend("--ft-modal-header-gap","",s.spacing2),headerBorderBottomWidth:r.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",s.borderRadiusM)};var bs={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",s.opacity40),shadow:r.extend("--ft-drawer-shadow","",s.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",s.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",s.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",s.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",s.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",s.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",s.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",s.spacing6),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",s.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",s.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","",s.colorGray700)};var xs={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",s.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",s.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",s.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",s.opacity40),offColor:r.extend("--ft-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",s.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",s.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",s.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",s.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",s.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",s.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",s.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",s.opacity24),onColor:r.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",s.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",s.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",s.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",s.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var vs={largeFieldHorizontalPadding:r.extend("--ft-text-input-large-field-horizontal-padding","",s.spacing4),largeFieldHorizontalGap:r.extend("--ft-text-input-large-field-horizontal-gap","",s.spacing3),largeFieldVerticalGap:r.extend("--ft-text-input-large-field-vertical-gap","",s.spacing05),largeFieldHeight:r.create("--ft-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ft-text-input-large-field-icon-size","",s.iconSize3),mediumFieldHorizontalPadding:r.extend("--ft-text-input-medium-field-horizontal-padding","",s.spacing4),mediumFieldHorizontalGap:r.extend("--ft-text-input-medium-field-horizontal-gap","",s.spacing3),mediumFieldVerticalGap:r.create("--ft-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ft-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ft-text-input-medium-field-icon-size","",s.iconSize3),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",s.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",s.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",s.borderRadiusS),backgroundColor:r.extend("--ft-text-input-background-color","",s.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderColor:r.extend("--ft-text-input-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-text-input-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-text-input-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",s.opacity40)};var Ss={backgroundColor:r.extend("--ft-text-area-background-color","",s.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",s.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",s.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",s.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",s.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",s.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",s.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",s.borderRadiusS)};var Os={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",s.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",s.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",s.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",s.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",s.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",s.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",s.shadowElevation02)};var Es={largeFieldHorizontalPadding:r.extend("--ft-combobox-single-select-large-field-horizontal-padding","",s.spacing4),largeFieldHorizontalGap:r.extend("--ft-combobox-single-select-large-field-horizontal-gap","",s.spacing3),largeFieldVerticalGap:r.extend("--ft-combobox-single-select-large-field-vertical-gap","",s.spacing05),largeFieldHeight:r.create("--ft-combobox-single-select-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ft-combobox-single-select-large-field-icon-size","",s.iconSize3),mediumFieldHorizontalPadding:r.extend("--ft-combobox-single-select-medium-field-horizontal-padding","",s.spacing4),mediumFieldHorizontalGap:r.extend("--ft-combobox-single-select-medium-field-horizontal-gap","",s.spacing3),mediumFieldVerticalGap:r.create("--ft-combobox-single-select-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ft-combobox-single-select-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ft-combobox-single-select-medium-field-icon-size","",s.iconSize3),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",s.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",s.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",s.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",s.borderRadiusS),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",s.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",s.opacity40)};var Cs={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",s.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",s.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",s.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",s.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",s.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",s.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",s.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",s.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",s.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",s.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",s.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",s.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",s.borderRadiusS)};var As={backgroundColor:r.extend("--ft-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",s.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",s.spacing6),titleColor:r.extend("--ft-popover-title-color","",u.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",u.contentGlobalSecondary),gap:r.extend("--ft-popover-gap","",s.spacing2),borderRadius:r.extend("--ft-popover-border-radius","",s.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",s.shadowElevation02),maxWidth:r.create("--ft-popover-max-width","","SIZE","440px"),contentSectionVerticalGap:r.extend("--ft-popover-content-section-vertical-gap","",s.spacing2),multiSectionVerticalGap:r.extend("--ft-popover-multi-section-vertical-gap","",s.spacing6)};var ws={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",s.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",s.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",s.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",s.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",s.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",s.spacing3),color:r.extend("--ft-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",s.iconSize3)};var Rs={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",s.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",s.spacing1),groupGap:r.extend("--ft-switch-group-gap","",s.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",s.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",s.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",s.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",s.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",s.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",s.opacity40),offColor:r.extend("--ft-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",s.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",s.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",s.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",s.opacity40),onColor:r.extend("--ft-switch-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",s.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",s.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",s.borderRadiusS)};var Ns={color1Light:r.extend("--ft-chart-1-light","for area color charts",s.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",s.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",s.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",s.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",s.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",s.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",s.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",s.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",s.colorRed40),color5Base:r.extend("--ft-chart-5-base","",s.colorRed60),color6Light:r.extend("--ft-chart-6-light","",s.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",s.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",s.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",s.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",s.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",s.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",s.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",s.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",s.colorGray50),color10Base:r.extend("--ft-chart-10-base","",s.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",s.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",s.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",s.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",s.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",s.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",s.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",s.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",s.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",s.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",s.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",s.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",s.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",s.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",s.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",s.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",s.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",s.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",s.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",s.colorCyan200)};var _s={color1IconColor:r.extend("--ft-page-designer-1-icon-color","for area color charts",s.colorCyan0),color1ToolbarColor:r.extend("--ft-page-designer-1-toolbar-color","for area color charts",s.colorCyan0),color2IconColor:r.extend("--ft-page-designer-2-icon-color","for area color charts",s.colorBrand0),color2ToolbarColor:r.extend("--ft-page-designer-2-toolbar-color","for area color charts",s.colorBrand0),color3IconColor:r.extend("--ft-page-designer-3-icon-color","for area color charts",s.colorYellow200),color3ToolbarColor:r.extend("--ft-page-designer-3-toolbar-color","for area color charts",s.colorYellow200),color4IconColor:r.extend("--ft-page-designer-4-icon-color","for area color charts",s.colorUltramarine50),color4ToolbarColor:r.extend("--ft-page-designer-4-toolbar-color","for area color charts",s.colorUltramarine50),color5IconColor:r.extend("--ft-page-designer-5-icon-color","for area color charts",s.colorGreen0),color5ToolbarColor:r.extend("--ft-page-designer-5-toolbar-color","for area color charts",s.colorGreen0),color6IconColor:r.extend("--ft-page-designer-6-icon-color","for area color charts",s.colorOrange0),color6ToolbarColor:r.extend("--ft-page-designer-6-toolbar-color","for area color charts",s.colorOrange0),color7IconColor:r.extend("--ft-page-designer-7-icon-color","for area color charts",s.colorAvocado200),color7ToolbarColor:r.extend("--ft-page-designer-7-toolbar-color","for area color charts",s.colorAvocado200),color8IconColor:r.extend("--ft-page-designer-8-icon-color","for area color charts",s.colorBrown0),color8ToolbarColor:r.extend("--ft-page-designer-8-toolbar-color","for area color charts",s.colorBrown0)};var Ts={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",s.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",s.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",s.borderRadiusS),gap:r.extend("--ft-notice-gap","",s.spacing2),iconSize:r.extend("--ft-notice-icon-size","",s.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly),denseHorizontalPadding:r.create("--ft-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:r.create("--ft-notice-dense-vertical-padding","","SIZE","0px"),denseGap:r.extend("--ft-notice-dense-gap","",s.spacing1),denseIconSize:r.extend("--ft-notice-dense-icon-size","",s.iconSize2),denseBorderWidth:r.create("--ft-notice-dense-border-width","","SIZE","0")};var Ps={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",s.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",s.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",s.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",s.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",s.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",s.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",s.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",s.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:r.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",s.spacing3)};var Ls={color:r.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",s.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",s.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",s.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",s.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",s.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",s.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",s.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",s.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",s.spacing3)};var Is={iconSize:r.extend("--ft-notification-icon-size","",s.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",s.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",s.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",s.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",u.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",s.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",s.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",s.spacing8)};var ks={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",s.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",s.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",s.borderRadiusS),color:r.extend("--ft-tooltip-color","",u.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",s.opacity80),shadow:r.extend("--ft-tooltip-shadow","",s.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",s.spacing05)};var Ds={verticalPadding:r.extend("--ft-reorderable-list-vertical-padding","",s.spacing4),gap:r.extend("--ft-reorderable-list-gap","",s.spacing1),borderRadius:r.extend("--ft-reorderable-list-border-radius","",s.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ft-reorderable-list-reorderable-item-title-margin-right","",s.spacing6),reorderableItemTitleColor:r.extend("--ft-reorderable-list-reorderable-item-title-color","",u.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-margin-right","",s.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ft-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",s.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ft-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",s.spacing2),reorderableItemUsersCountColor:r.extend("--ft-reorderable-list-reorderable-item-users-count-color","",u.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ft-reorderable-list-reorderable-item-users-count-margin-right","",s.spacing6),reorderableItemBackgroundColor:r.extend("--ft-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ft-reorderable-list-reorderable-item-warning-message-gap","",s.spacing1),reorderableItemWarningMessageColor:r.extend("--ft-reorderable-list-reorderable-item-warning-message-color","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ft-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ft-reorderable-list-reorderable-item-grip-color","",u.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ft-reorderable-list-reorderable-item-grip-opacity","",s.opacity48),boxShadow:r.extend("--ft-reorderable-list-box-shadow","",s.shadowElevation01),borderWidth:r.create("--ft-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ft-reorderable-list-reorderable-items-gap","",s.spacing2),leftPadding:r.extend("--ft-reorderable-list-left-padding","",s.spacing2),rightPadding:r.extend("--ft-reorderable-list-right-padding","",s.spacing6),borderColor:r.extend("--ft-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:r.extend("--ft-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)};var Us={nodeHeight:r.create("--ft-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:r.extend("--ft-tree-list-node-parent-label-margin-left","",s.spacing2),nodeParentLabelMarginRight:r.extend("--ft-tree-list-node-parent-label-margin-right","",s.spacing2),nodeRootPaddingLeft:r.extend("--ft-tree-list-node-root-padding-left","",s.spacing3),nodeChildPaddingLeft:r.extend("--ft-tree-list-node-child-padding-left","",s.spacing5),nodeLeafPaddingLeft:r.extend("--ft-tree-list-node-leaf-padding-left","",s.spacing6),nodeUnselectedDefaultBorderColor:r.extend("--ft-tree-list-node-unselected-default-border-color","",u.borderGlobalSubtle),nodeUnselectedIconColor:r.extend("--ft-tree-list-node-unselected-icon-color","",u.contentGlobalSecondary),nodeUnselectedLabelColor:r.extend("--ft-tree-list-node-unselected-label-color","",u.contentGlobalSecondary),nodeUnselectedCounterColor:r.extend("--ft-tree-list-node-unselected-counter-color","",u.contentGlobalSecondary),nodeHoverBorderColor:r.extend("--ft-tree-list-node-hover-border-color","",u.borderActionPrimary),nodeFocusFocusRingColor:r.extend("--ft-tree-list-node-focus-focus-ring-color","",u.borderActionFocusRing),nodeFocusOutlineWidth:r.create("--ft-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:r.extend("--ft-tree-list-node-selected-default-border-color","",u.borderGlobalPrimary),nodeSelectedIconColor:r.extend("--ft-tree-list-node-selected-icon-color","",u.contentGlobalSecondary),nodeSelectedLabelColor:r.extend("--ft-tree-list-node-selected-label-color","",u.contentGlobalPrimary),nodeSelectedCounterColor:r.extend("--ft-tree-list-node-selected-counter-color","",u.contentGlobalSecondary),nodeSelectedBackgroundColor:r.create("--ft-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:r.extend("--ft-tree-list-node-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:r.extend("--ft-tree-list-node-descendant-of-selected-icon-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:r.extend("--ft-tree-list-node-descendant-of-selected-label-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:r.extend("--ft-tree-list-node-descendant-of-selected-counter-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:r.create("--ft-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:r.create("--ft-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:r.extend("--ft-tree-list-header-section-padding-left","",s.spacing3),headerSectionPaddingRight:r.extend("--ft-tree-list-header-section-padding-right","",s.spacing3),headerSectionHorizontalGap:r.extend("--ft-tree-list-header-section-horizontal-gap","",s.spacing2),headerSectionMarginBottom:r.extend("--ft-tree-list-header-section-margin-bottom","",s.spacing2),headerSectionColor:r.extend("--ft-tree-list-header-section-color","",u.contentGlobalPrimary),headerSectionCounterColor:r.extend("--ft-tree-list-header-section-counter-color","",u.contentGlobalSecondary),listContainerBorderWidth:r.create("--ft-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:r.extend("--ft-tree-list-list-container-background-color","",u.backgroundGlobalSurface),listContainerBorderColor:r.extend("--ft-tree-list-list-container-border-color","",u.borderGlobalSubtle),loadMorePaddingLeft:r.extend("--ft-tree-list-load-more-padding-left","",s.spacing6),loadMoreUnselectedDefaultBorderColor:r.extend("--ft-tree-list-load-more-unselected-default-border-color","",u.borderGlobalSubtle),loadMoreIconColor:r.extend("--ft-tree-list-load-more-icon-color","",u.contentActionPrimary),loadMoreLabelColor:r.extend("--ft-tree-list-load-more-label-color","",u.contentActionPrimary),loadMoreHoverBorderColor:r.extend("--ft-tree-list-load-more-hover-border-color","",s.colorBrand20),loadMoreHoverBackgroundColor:r.create("--ft-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:r.extend("--ft-tree-list-load-more-active-border-color","",s.colorBrand20),loadMoreActiveBackgroundColor:r.create("--ft-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:r.create("--ft-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:r.create("--ft-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:r.extend("--ft-tree-list-load-more-descendant-of-selected-default-border-color","",u.borderGlobalPrimary)};var Ct;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Ct||(Ct={}));var At;(function(t){t.large="large",t.medium="medium",t.small="small"})(At||(At={}));function Qr(t){return`ftds--family-${t}`}function eo(t){return`ftds--size-${t}`}var Ms={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 oo={};U(oo,{DynamicImporter:()=>Jt,dynamicImporter:()=>Bs});var Jt=class{async import(e){return import(e)}},Bs=new Jt;var bo={};U(bo,{computeOffsetAutoPosition:()=>al,computeOffsetPosition:()=>nl});var Oa=["top","right","bottom","left"],Sa=["start","end"],ao=Oa.reduce((t,e)=>t.concat(e,e+"-"+Sa[0],e+"-"+Sa[1]),[]),Qt=Math.min,be=Math.max;var Ws={left:"right",right:"left",bottom:"top",top:"bottom"},Hs={start:"end",end:"start"};function io(t,e,o){return be(t,Qt(e,o))}function qe(t,e){return typeof t=="function"?t(e):t}function xe(t){return t.split("-")[0]}function ne(t){return t.split("-")[1]}function co(t){return t==="x"?"y":"x"}function so(t){return t==="y"?"height":"width"}function Ye(t){return["top","bottom"].includes(xe(t))?"y":"x"}function lo(t){return co(Ye(t))}function Ea(t,e,o){o===void 0&&(o=!1);let n=ne(t),a=lo(t),i=so(a),c=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(c=no(c)),[c,no(c)]}function Ca(t){return t.replace(/start|end/g,e=>Hs[e])}function no(t){return t.replace(/left|right|bottom|top/g,e=>Ws[e])}function Fs(t){return{top:0,right:0,bottom:0,left:0,...t}}function Aa(t){return typeof t!="number"?Fs(t):{top:t,right:t,bottom:t,left:t}}function De(t){let{x:e,y:o,width:n,height:a}=t;return{width:n,height:a,top:o,left:e,right:e+n,bottom:o+a,x:e,y:o}}function wa(t,e,o){let{reference:n,floating:a}=t,i=Ye(e),c=lo(e),l=so(c),d=xe(e),p=i==="y",h=n.x+n.width/2-a.width/2,f=n.y+n.height/2-a.height/2,g=n[l]/2-a[l]/2,b;switch(d){case"top":b={x:h,y:n.y-a.height};break;case"bottom":b={x:h,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:f};break;case"left":b={x:n.x-a.width,y:f};break;default:b={x:n.x,y:n.y}}switch(ne(e)){case"start":b[c]-=g*(o&&p?-1:1);break;case"end":b[c]+=g*(o&&p?-1:1);break}return b}var Ra=async(t,e,o)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:c}=o,l=i.filter(Boolean),d=await(c.isRTL==null?void 0:c.isRTL(e)),p=await c.getElementRects({reference:t,floating:e,strategy:a}),{x:h,y:f}=wa(p,n,d),g=n,b={},y=0;for(let v=0;v<l.length;v++){let{name:A,fn:C}=l[v],{x:R,y:O,data:E,reset:S}=await C({x:h,y:f,initialPlacement:n,placement:g,strategy:a,middlewareData:b,rects:p,platform:c,elements:{reference:t,floating:e}});h=R??h,f=O??f,b={...b,[A]:{...b[A],...E}},S&&y<=50&&(y++,typeof S=="object"&&(S.placement&&(g=S.placement),S.rects&&(p=S.rects===!0?await c.getElementRects({reference:t,floating:e,strategy:a}):S.rects),{x:h,y:f}=wa(p,g,d)),v=-1)}return{x:h,y:f,placement:g,strategy:a,middlewareData:b}};async function er(t,e){var o;e===void 0&&(e={});let{x:n,y:a,platform:i,rects:c,elements:l,strategy:d}=t,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:g=!1,padding:b=0}=qe(e,t),y=Aa(b),A=l[g?f==="floating"?"reference":"floating":f],C=De(await i.getClippingRect({element:(o=await(i.isElement==null?void 0:i.isElement(A)))==null||o?A:A.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:p,rootBoundary:h,strategy:d})),R=f==="floating"?{x:n,y:a,width:c.floating.width,height:c.floating.height}:c.reference,O=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),E=await(i.isElement==null?void 0:i.isElement(O))?await(i.getScale==null?void 0:i.getScale(O))||{x:1,y:1}:{x:1,y:1},S=De(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:R,offsetParent:O,strategy:d}):R);return{top:(C.top-S.top+y.top)/E.y,bottom:(S.bottom-C.bottom+y.bottom)/E.y,left:(C.left-S.left+y.left)/E.x,right:(S.right-C.right+y.right)/E.x}}function zs(t,e,o){return(t?[...o.filter(a=>ne(a)===t),...o.filter(a=>ne(a)!==t)]:o.filter(a=>xe(a)===a)).filter(a=>t?ne(a)===t||(e?Ca(a)!==a:!1):!0)}var tr=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var o,n,a;let{rects:i,middlewareData:c,placement:l,platform:d,elements:p}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:g=ao,autoAlignment:b=!0,...y}=qe(t,e),v=f!==void 0||g===ao?zs(f||null,b,g):g,A=await er(e,y),C=((o=c.autoPlacement)==null?void 0:o.index)||0,R=v[C];if(R==null)return{};let O=Ea(R,i,await(d.isRTL==null?void 0:d.isRTL(p.floating)));if(l!==R)return{reset:{placement:v[0]}};let E=[A[xe(R)],A[O[0]],A[O[1]]],S=[...((n=c.autoPlacement)==null?void 0:n.overflows)||[],{placement:R,overflows:E}],T=v[C+1];if(T)return{data:{index:C+1,overflows:S},reset:{placement:T}};let P=S.map(N=>{let m=ne(N.placement);return[N.placement,m&&h?N.overflows.slice(0,2).reduce((x,_)=>x+_,0):N.overflows[0],N.overflows]}).sort((N,m)=>N[1]-m[1]),k=((a=P.filter(N=>N[2].slice(0,ne(N[0])?2:3).every(m=>m<=0))[0])==null?void 0:a[0])||P[0][0];return k!==l?{data:{index:C+1,overflows:S},reset:{placement:k}}:{}}}};async function Gs(t,e){let{placement:o,platform:n,elements:a}=t,i=await(n.isRTL==null?void 0:n.isRTL(a.floating)),c=xe(o),l=ne(o),d=Ye(o)==="y",p=["left","top"].includes(c)?-1:1,h=i&&d?-1:1,f=qe(e,t),{mainAxis:g,crossAxis:b,alignmentAxis:y}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof y=="number"&&(b=l==="end"?y*-1:y),d?{x:b*h,y:g*p}:{x:g*p,y:b*h}}var uo=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var o,n;let{x:a,y:i,placement:c,middlewareData:l}=e,d=await Gs(e,t);return c===((o=l.offset)==null?void 0:o.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:a+d.x,y:i+d.y,data:{...d,placement:c}}}}},po=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:o,y:n,placement:a}=e,{mainAxis:i=!0,crossAxis:c=!1,limiter:l={fn:A=>{let{x:C,y:R}=A;return{x:C,y:R}}},...d}=qe(t,e),p={x:o,y:n},h=await er(e,d),f=Ye(xe(a)),g=co(f),b=p[g],y=p[f];if(i){let A=g==="y"?"top":"left",C=g==="y"?"bottom":"right",R=b+h[A],O=b-h[C];b=io(R,b,O)}if(c){let A=f==="y"?"top":"left",C=f==="y"?"bottom":"right",R=y+h[A],O=y-h[C];y=io(R,y,O)}let v=l.fn({...e,[g]:b,[f]:y});return{...v,data:{x:v.x-o,y:v.y-n,enabled:{[g]:i,[f]:c}}}}}};var fo=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var o,n;let{placement:a,rects:i,platform:c,elements:l}=e,{apply:d=()=>{},...p}=qe(t,e),h=await er(e,p),f=xe(a),g=ne(a),b=Ye(a)==="y",{width:y,height:v}=i.floating,A,C;f==="top"||f==="bottom"?(A=f,C=g===(await(c.isRTL==null?void 0:c.isRTL(l.floating))?"start":"end")?"left":"right"):(C=f,A=g==="end"?"top":"bottom");let R=v-h.top-h.bottom,O=y-h.left-h.right,E=Qt(v-h[A],R),S=Qt(y-h[C],O),T=!e.middlewareData.shift,P=E,L=S;if((o=e.middlewareData.shift)!=null&&o.enabled.x&&(L=O),(n=e.middlewareData.shift)!=null&&n.enabled.y&&(P=R),T&&!g){let N=be(h.left,0),m=be(h.right,0),x=be(h.top,0),_=be(h.bottom,0);b?L=y-2*(N!==0||m!==0?N+m:be(h.left,h.right)):P=v-2*(x!==0||_!==0?x+_:be(h.top,h.bottom))}await d({...e,availableWidth:L,availableHeight:P});let k=await c.getDimensions(l.floating);return y!==k.width||v!==k.height?{reset:{rects:!0}}:{}}}};var ho=Math.min,Xe=Math.max,wt=Math.round;var le=t=>({x:t,y:t});function de(t){return _a(t)?(t.nodeName||"").toLowerCase():"#document"}function V(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function ue(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 V(t).Node}function ae(t){return t instanceof Element||t instanceof V(t).Element}function Q(t){return t instanceof HTMLElement||t instanceof V(t).HTMLElement}function Na(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof V(t).ShadowRoot}function Je(t){let{overflow:e,overflowX:o,overflowY:n,display:a}=q(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(a)}function Ta(t){return["table","td","th"].includes(de(t))}function or(t){let e=nr(),o=q(t);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function Pa(t){let e=Ue(t);for(;Q(e)&&!Rt(e);){if(or(e))return e;e=Ue(e)}return null}function nr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Rt(t){return["html","body","#document"].includes(de(t))}function q(t){return V(t).getComputedStyle(t)}function Nt(t){return ae(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Ue(t){if(de(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Na(t)&&t.host||ue(t);return Na(e)?e.host:e}function La(t){let e=Ue(t);return Rt(e)?t.ownerDocument?t.ownerDocument.body:t.body:Q(e)&&Je(e)?e:La(e)}function rr(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);let a=La(t),i=a===((n=t.ownerDocument)==null?void 0:n.body),c=V(a);return i?e.concat(c,c.visualViewport||[],Je(a)?a:[],c.frameElement&&o?rr(c.frameElement):[]):e.concat(a,rr(a,[],o))}function Da(t){let e=q(t),o=parseFloat(e.width)||0,n=parseFloat(e.height)||0,a=Q(t),i=a?t.offsetWidth:o,c=a?t.offsetHeight:n,l=wt(o)!==i||wt(n)!==c;return l&&(o=i,n=c),{width:o,height:n,$:l}}function Ua(t){return ae(t)?t:t.contextElement}function Qe(t){let e=Ua(t);if(!Q(e))return le(1);let o=e.getBoundingClientRect(),{width:n,height:a,$:i}=Da(e),c=(i?wt(o.width):o.width)/n,l=(i?wt(o.height):o.height)/a;return(!c||!Number.isFinite(c))&&(c=1),(!l||!Number.isFinite(l))&&(l=1),{x:c,y:l}}var $s=le(0);function Ma(t){let e=V(t);return!nr()||!e.visualViewport?$s:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function js(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==V(t)?!1:e}function _t(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);let a=t.getBoundingClientRect(),i=Ua(t),c=le(1);e&&(n?ae(n)&&(c=Qe(n)):c=Qe(t));let l=js(i,o,n)?Ma(i):le(0),d=(a.left+l.x)/c.x,p=(a.top+l.y)/c.y,h=a.width/c.x,f=a.height/c.y;if(i){let g=V(i),b=n&&ae(n)?V(n):n,y=g.frameElement;for(;y&&n&&b!==g;){let v=Qe(y),A=y.getBoundingClientRect(),C=q(y),R=A.left+(y.clientLeft+parseFloat(C.paddingLeft))*v.x,O=A.top+(y.clientTop+parseFloat(C.paddingTop))*v.y;d*=v.x,p*=v.y,h*=v.x,f*=v.y,d+=R,p+=O,y=V(y).frameElement}}return De({width:h,height:f,x:d,y:p})}function Ks(t){let{rect:e,offsetParent:o,strategy:n}=t,a=Q(o),i=ue(o);if(o===i)return e;let c={scrollLeft:0,scrollTop:0},l=le(1),d=le(0);if((a||!a&&n!=="fixed")&&((de(o)!=="body"||Je(i))&&(c=Nt(o)),Q(o))){let p=_t(o);l=Qe(o),d.x=p.x+o.clientLeft,d.y=p.y+o.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-c.scrollLeft*l.x+d.x,y:e.y*l.y-c.scrollTop*l.y+d.y}}function Vs(t){return Array.from(t.getClientRects())}function Ba(t){return _t(ue(t)).left+Nt(t).scrollLeft}function Zs(t){let e=ue(t),o=Nt(t),n=t.ownerDocument.body,a=Xe(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=Xe(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),c=-o.scrollLeft+Ba(t),l=-o.scrollTop;return q(n).direction==="rtl"&&(c+=Xe(e.clientWidth,n.clientWidth)-a),{width:a,height:i,x:c,y:l}}function qs(t,e){let o=V(t),n=ue(t),a=o.visualViewport,i=n.clientWidth,c=n.clientHeight,l=0,d=0;if(a){i=a.width,c=a.height;let p=nr();(!p||p&&e==="fixed")&&(l=a.offsetLeft,d=a.offsetTop)}return{width:i,height:c,x:l,y:d}}function Ys(t,e){let o=_t(t,!0,e==="fixed"),n=o.top+t.clientTop,a=o.left+t.clientLeft,i=Q(t)?Qe(t):le(1),c=t.clientWidth*i.x,l=t.clientHeight*i.y,d=a*i.x,p=n*i.y;return{width:c,height:l,x:d,y:p}}function Ia(t,e,o){let n;if(e==="viewport")n=qs(t,o);else if(e==="document")n=Zs(ue(t));else if(ae(e))n=Ys(e,o);else{let a=Ma(t);n={...e,x:e.x-a.x,y:e.y-a.y}}return De(n)}function Wa(t,e){let o=Ue(t);return o===e||!ae(o)||Rt(o)?!1:q(o).position==="fixed"||Wa(o,e)}function Xs(t,e){let o=e.get(t);if(o)return o;let n=rr(t,[],!1).filter(l=>ae(l)&&de(l)!=="body"),a=null,i=q(t).position==="fixed",c=i?Ue(t):t;for(;ae(c)&&!Rt(c);){let l=q(c),d=or(c);!d&&l.position==="fixed"&&(a=null),(i?!d&&!a:!d&&l.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||Je(c)&&!d&&Wa(t,c))?n=n.filter(h=>h!==c):a=l,c=Ue(c)}return e.set(t,n),n}function Js(t){let{element:e,boundary:o,rootBoundary:n,strategy:a}=t,c=[...o==="clippingAncestors"?Xs(e,this._c):[].concat(o),n],l=c[0],d=c.reduce((p,h)=>{let f=Ia(e,h,a);return p.top=Xe(f.top,p.top),p.right=ho(f.right,p.right),p.bottom=ho(f.bottom,p.bottom),p.left=Xe(f.left,p.left),p},Ia(e,l,a));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Qs(t){return Da(t)}function el(t,e,o){let n=Q(e),a=ue(e),i=o==="fixed",c=_t(t,!0,i,e),l={scrollLeft:0,scrollTop:0},d=le(0);if(n||!n&&!i)if((de(e)!=="body"||Je(a))&&(l=Nt(e)),n){let p=_t(e,!0,i,e);d.x=p.x+e.clientLeft,d.y=p.y+e.clientTop}else a&&(d.x=Ba(a));return{x:c.left+l.scrollLeft-d.x,y:c.top+l.scrollTop-d.y,width:c.width,height:c.height}}function ka(t,e){return!Q(t)||q(t).position==="fixed"?null:e?e(t):t.offsetParent}function Ha(t,e){let o=V(t);if(!Q(t))return o;let n=ka(t,e);for(;n&&Ta(n)&&q(n).position==="static";)n=ka(n,e);return n&&(de(n)==="html"||de(n)==="body"&&q(n).position==="static"&&!or(n))?o:n||Pa(t)||o}var tl=async function(t){let{reference:e,floating:o,strategy:n}=t,a=this.getOffsetParent||Ha,i=this.getDimensions;return{reference:el(e,await a(o),n),floating:{x:0,y:0,...await i(o)}}};function rl(t){return q(t).direction==="rtl"}var et={convertOffsetParentRelativeRectToViewportRelativeRect:Ks,getDocumentElement:ue,getClippingRect:Js,getOffsetParent:Ha,getElementRects:tl,getClientRects:Vs,getDimensions:Qs,getScale:Qe,isElement:ae,isRTL:rl};var mo=(t,e,o)=>{let n=new Map,a={platform:et,...o},i={...a.platform,_c:n};return Ra(t,e,{...a,platform:i})};function yo(t){return ol(t)}function go(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function ol(t){for(let e=t;e;e=go(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=go(t);e;e=go(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 nl(t,e,o){return mo(t,e,{platform:{...et,getOffsetParent:n=>et.getOffsetParent(n,yo)},middleware:[po({crossAxis:!0}),tr({allowedPlacements:[o]})]})}async function al(t,e,o,n,a,i,c=4){return mo(t,e,{placement:o,strategy:a,platform:{...et,getOffsetParent:l=>et.getOffsetParent(l,yo)},middleware:[uo(c),tr({allowedPlacements:n}),fo({apply({availableHeight:l,elements:d}){i?d.floating.style.maxHeight=`min(${Math.max(0,l)}px, var(${i}))`:d.floating.style.maxHeight=`${Math.max(0,l)}px`}})]})}var Co={};U(Co,{FtdsBase:()=>Eo,toFtdsBase:()=>Va});var Oo={};U(Oo,{FtLitElement:()=>Z});var xo={};U(xo,{ScopedRegistryLitElement:()=>Tt});var Tt=class extends se{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([a,i])=>e.registry.define(a,i)));let o={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return pt(n,e.elementStyles),n}};var So={};U(So,{shadowQuerySelector:()=>vo,shadowQuerySelectorAll:()=>il});function vo(t,e,...o){var n;let a=t.querySelector(e);for(let i of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}function il(t,e,...o){let n=[...t.querySelectorAll(e)];for(let a of o)n=n.flatMap(i=>{var c,l;return[...(l=(c=i.shadowRoot)===null||c===void 0?void 0:c.querySelectorAll(a))!==null&&l!==void 0?l:[]]});return n}var Pt=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(c=t[l])&&(i=(a<3?c(i):a>3?c(e,o,i):c(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},$a,Fa=Symbol("constructorPrototype"),za=Symbol("constructorName"),ja=Symbol("exportpartsDebouncer"),Ga=Symbol("dynamicDependenciesLoaded"),Z=class extends Tt{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[$a]=new St(5),this[za]=this.constructor.name,this[Fa]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[za]&&Object.setPrototypeOf(this,this[Fa])}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[Ga]||(e[Ga]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.focusElementToFocus(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:a}=this.elementToFocus;if(n!=null){let i=[...a??[],n];o=vo(this.shadowRoot,...i)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var o,n,a;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}scheduleExportpartsUpdate(){var e,o,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[ja].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var o,n,a,i,c,l;let d=g=>g!=null&&g.trim().length>0,p=e.filter(d).map(g=>g.trim());if(p.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let g of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let b=(i=(a=g.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],y=(l=(c=g.getAttribute("exportparts"))===null||c===void 0?void 0:c.split(",").map(v=>v.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...b,...y).filter(d).map(v=>v.trim()).forEach(v=>h.add(v))}if(h.size===0){this.removeAttribute("exportparts");return}let f=[...h.values()].flatMap(g=>p.map(b=>`${g}:${b}--${g}`));this.setAttribute("exportparts",[...this.part,...f].join(", "))}};$a=ja;Pt([z()],Z.prototype,"exportpartsPrefix",void 0);Pt([Xr([])],Z.prototype,"exportpartsPrefixes",void 0);Pt([z()],Z.prototype,"customStylesheet",void 0);Pt([z()],Z.prototype,"elementToFocus",void 0);Pt([je()],Z.prototype,"useAdoptedStyleSheets",void 0);var Ka=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(c=t[l])&&(i=(a<3?c(i):a>3?c(e,o,i):c(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i};function Va(t){class e extends t{constructor(){super(...arguments),this.size=At.medium,this.family=Ct.neutral}getDesignSystemBaseClasses(){return{[Qr(this.family)]:!0,[eo(this.size)]:!0}}}return Ka([z()],e.prototype,"size",void 0),Ka([z()],e.prototype,"family",void 0),e}var Eo=class extends Va(Z){};var Za={};var wo={};U(wo,{highlightHtml:()=>ll,highlightHtmlColorCssVariable:()=>qa,highlightHtmlStyles:()=>sl});var Me=class t{constructor(e,o=!0,n=[],a=5e3){this.ctx=e,this.iframes=o,this.exclude=n,this.iframesTimeout=a}static matches(e,o){let n=typeof o=="string"?[o]:o,a=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(a){let i=!1;return n.every(c=>a.call(e,c)?(i=!0,!1):!0),i}else return!1}getContexts(){let e,o=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let a=o.filter(i=>i.contains(n)).length>0;o.indexOf(n)===-1&&!a&&o.push(n)}),o}getIframeContents(e,o,n=()=>{}){let a;try{let i=e.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{n()}a&&o(a)}isIframeBlank(e){let o="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===o&&n!==o&&n}observeIframeLoad(e,o,n){let a=!1,i=null,c=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(e)||(e.removeEventListener("load",c),this.getIframeContents(e,o,n))}catch{n()}}};e.addEventListener("load",c),i=setTimeout(c,this.iframesTimeout)}onIframeReady(e,o,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,o,n):this.getIframeContents(e,o,n):this.observeIframeLoad(e,o,n)}catch{n()}}waitForIframes(e,o){let n=0;this.forEachIframe(e,()=>!0,a=>{n++,this.waitForIframes(a.querySelector("html"),()=>{--n||o()})},a=>{a||o()})}forEachIframe(e,o,n,a=()=>{}){let i=e.querySelectorAll("iframe"),c=i.length,l=0;i=Array.prototype.slice.call(i);let d=()=>{--c<=0&&a(l)};c||d(),i.forEach(p=>{t.matches(p,this.exclude)?d():this.onIframeReady(p,h=>{o(p)&&(l++,n(h)),d()},d)})}createIterator(e,o,n){return document.createNodeIterator(e,o,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,o,n){let a=e.compareDocumentPosition(n),i=Node.DOCUMENT_POSITION_PRECEDING;if(a&i)if(o!==null){let c=o.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(c&l)return!0}else return!0;return!1}getIteratorNode(e){let o=e.previousNode(),n;return o===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:o,node:n}}checkIframeFilter(e,o,n,a){let i=!1,c=!1;return a.forEach((l,d)=>{l.val===n&&(i=d,c=l.handled)}),this.compareNodeIframe(e,o,n)?(i===!1&&!c?a.push({val:n,handled:!0}):i!==!1&&!c&&(a[i].handled=!0),!0):(i===!1&&a.push({val:n,handled:!1}),!1)}handleOpenIframes(e,o,n,a){e.forEach(i=>{i.handled||this.getIframeContents(i.val,c=>{this.createInstanceOnIframe(c).forEachNode(o,n,a)})})}iterateThroughNodes(e,o,n,a,i){let c=this.createIterator(o,e,a),l=[],d=[],p,h,f=()=>({prevNode:h,node:p}=this.getIteratorNode(c),p);for(;f();)this.iframes&&this.forEachIframe(o,g=>this.checkIframeFilter(p,h,g,l),g=>{this.createInstanceOnIframe(g).forEachNode(e,b=>d.push(b),a)}),d.push(p);d.forEach(g=>{n(g)}),this.iframes&&this.handleOpenIframes(l,e,n,a),i()}forEachNode(e,o,n,a=()=>{}){let i=this.getContexts(),c=i.length;c||a(),i.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,o,n,()=>{--c<=0&&a()})};this.iframes?this.waitForIframes(l,d):d()})}};var Lt=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 Me(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,o="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[o]=="function"&&n[o](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let o=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",a=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in o)if(o.hasOwnProperty(i)){let c=o[i],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(c):this.escapeStr(c);l!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${n}`),a+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+a))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,o=>o.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,o=>o.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let o=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(o,n,a)=>{let i=a.charAt(n+1);return/[(|)\\]/.test(i)||i===""?o:o+"\0"})}createJoinersRegExp(e){let o=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&o.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?e.split(/\u0000+/).join(`[${o.join("")}]*`):e}createDiacriticsRegExp(e){let o=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],a=[];return e.split("").forEach(i=>{n.every(c=>{if(c.indexOf(i)!==-1){if(a.indexOf(c)>-1)return!1;e=e.replace(new RegExp(`[${c}]`,`gm${o}`),`[${c}]`),a.push(c)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let o="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,a=typeof n=="string"?n:n.value,i=typeof n=="string"?[]:n.limiters,c="";switch(i.forEach(l=>{c+=`|${this.escapeStr(l)}`}),a){case"partially":default:return`()(${e})`;case"complementary":return c="\\s"+(c||this.escapeStr(o)),`()([^${c}]*${e}[^${c}]*)`;case"exactly":return`(^|\\s${c})(${e})(?=$|\\s${c})`}}getSeparatedKeywords(e){let o=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(a=>{a.trim()&&o.indexOf(a)===-1&&o.push(a)}):n.trim()&&o.indexOf(n)===-1&&o.push(n)}),{keywords:o.sort((n,a)=>a.length-n.length),length:o.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let o=[],n=0;return e.sort((a,i)=>a.start-i.start).forEach(a=>{let{start:i,end:c,valid:l}=this.callNoMatchOnInvalidRanges(a,n);l&&(a.start=i,a.length=c-i,o.push(a),n=c)}),o}callNoMatchOnInvalidRanges(e,o){let n,a,i=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),a=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&a-o>0&&a-n>0?i=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:a,valid:i}}checkWhitespaceRanges(e,o,n){let a,i=!0,c=n.length,l=o-c,d=parseInt(e.start,10)-l;return d=d>c?c:d,a=d+parseInt(e.length,10),a>c&&(a=c,this.log(`End range automatically set to the max value of ${c}`)),d<0||a-d<0||d>c||a>c?(i=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(d,a).replace(/\s+/g,"")===""&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:a,valid:i}}getTextNodes(e){let o="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,a=>{n.push({start:o.length,end:(o+=a.textContent).length,node:a})},a=>this.matchesExclude(a.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:o,nodes:n})})}matchesExclude(e){return Me.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,o,n){let a=this.opt.element?this.opt.element:"mark",i=e.splitText(o),c=i.splitText(n-o),l=document.createElement(a);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=i.textContent,i.parentNode.replaceChild(l,i),c}wrapRangeInMappedTextNode(e,o,n,a,i){e.nodes.every((c,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>o){if(!a(c.node))return!1;let p=o-c.start,h=(n>c.end?c.end:n)-c.start,f=e.value.substr(0,c.start),g=e.value.substr(h+c.start);if(c.node=this.wrapRangeInTextNode(c.node,p,h),e.value=f+g,e.nodes.forEach((b,y)=>{y>=l&&(e.nodes[y].start>0&&y!==l&&(e.nodes[y].start-=h),e.nodes[y].end-=h)}),n-=h,i(c.node.previousSibling,c.start),n>c.end)o=c.end;else return!1}return!0})}wrapMatches(e,o,n,a,i){let c=o===0?0:o+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let p;for(;(p=e.exec(d.textContent))!==null&&p[c]!=="";){if(!n(p[c],d))continue;let h=p.index;if(c!==0)for(let f=1;f<c;f++)h+=p[f].length;d=this.wrapRangeInTextNode(d,h,h+p[c].length),a(d.previousSibling),e.lastIndex=0}}),i()})}wrapMatchesAcrossElements(e,o,n,a,i){let c=o===0?0:o+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[c]!=="";){let p=d.index;if(c!==0)for(let f=1;f<c;f++)p+=d[f].length;let h=p+d[c].length;this.wrapRangeInMappedTextNode(l,p,h,f=>n(d[c],f),(f,g)=>{e.lastIndex=g,a(f)})}i()})}wrapRangeFromIndex(e,o,n,a){this.getTextNodes(i=>{let c=i.value.length;e.forEach((l,d)=>{let{start:p,end:h,valid:f}=this.checkWhitespaceRanges(l,c,i.value);f&&this.wrapRangeInMappedTextNode(i,p,h,g=>o(g,l,i.value.substring(p,h),d),g=>{n(g,l)})}),a()})}unwrapMatches(e){let o=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));o.replaceChild(n,e),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,o){this.opt=o,this.log(`Searching with expression "${e}"`);let n=0,a="wrapMatches",i=c=>{n++,this.opt.each(c)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](e,this.opt.ignoreGroups,(c,l)=>this.opt.filter(l,c,n),i,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,o){this.opt=o;let n=0,a="wrapMatches",{keywords:i,length:c}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",d=p=>{let h=new RegExp(this.createRegExp(p),`gm${l}`),f=0;this.log(`Searching with expression "${h}"`),this[a](h,1,(g,b)=>this.opt.filter(b,p,n,f),g=>{f++,n++,this.opt.each(g)},()=>{f===0&&this.opt.noMatch(p),i[c-1]===p?this.opt.done(n):d(i[i.indexOf(p)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),c===0?this.opt.done(n):d(i[0])}markRanges(e,o){this.opt=o;let n=0,a=this.checkRanges(e);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,(i,c,l,d)=>this.opt.filter(i,c,l,d),(i,c)=>{n++,this.opt.each(i,c)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let a=Me.matches(n,o),i=this.matchesExclude(n);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Ao(t){let e=new Lt(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 cl=Ao,qa=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),sl=F`
|
|
6
6
|
.highlight-html-match {
|
|
7
|
-
background: ${
|
|
7
|
+
background: ${qa};
|
|
8
8
|
}
|
|
9
|
-
`;function
|
|
9
|
+
`;function ll(t,e,o){var n,a;let i=t.getAttribute("data-highlight-html-query");if((i??"")!==(e??"")){let c=new cl(t);if(c.unmark(),e&&e.trim()){let l={className:(n=o?.className)!==null&&n!==void 0?n:"highlight-html-match",acrossElements:!0};o?.attributes!=null&&(l.each=p=>{for(let h in o.attributes)p.setAttribute(h,o.attributes[h])}),c.mark(e.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((a=e.match(/"[^"]+"/g))!==null&&a!==void 0?a:[]).forEach(p=>c.mark(p.replace(/"/g,""),{...l,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var No={};U(No,{noTextInputDefaultClearButton:()=>pl,noTextSelect:()=>Ro,safariEllipsisFix:()=>ul,wordWrap:()=>dl});var Ro=F`
|
|
10
10
|
.ft-no-text-select {
|
|
11
11
|
-webkit-touch-callout: none;
|
|
12
12
|
-webkit-user-select: none;
|
|
@@ -15,7 +15,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
15
15
|
-ms-user-select: none;
|
|
16
16
|
user-select: none;
|
|
17
17
|
}
|
|
18
|
-
`,
|
|
18
|
+
`,dl=F`
|
|
19
19
|
.ft-word-wrap {
|
|
20
20
|
white-space: normal;
|
|
21
21
|
word-wrap: break-word;
|
|
@@ -27,7 +27,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
27
27
|
-webkit-hyphens: auto;
|
|
28
28
|
hyphens: auto
|
|
29
29
|
}
|
|
30
|
-
`,
|
|
30
|
+
`,ul=F`
|
|
31
31
|
.ft-safari-ellipsis-fix {
|
|
32
32
|
margin-right: 0;
|
|
33
33
|
|
|
@@ -38,14 +38,14 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
38
38
|
display: inline-block;
|
|
39
39
|
width: 0;
|
|
40
40
|
}
|
|
41
|
-
`,
|
|
41
|
+
`,pl=F`
|
|
42
42
|
input::-webkit-search-cancel-button,
|
|
43
43
|
input::-webkit-search-decoration,
|
|
44
44
|
input::-webkit-search-results-button,
|
|
45
45
|
input::-webkit-search-results-decoration {
|
|
46
46
|
display: none;
|
|
47
47
|
}
|
|
48
|
-
`;var Za={};var No={};U(No,{ParametrizedLabelResolver:()=>Ro});var Ro=class t{constructor(e,o){this.defaultLabels=e,this.labels=o}resolve(e,...o){var n,a;e=this.resolvePluralKey(e,o);let i=(a=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&a!==void 0?a:"";return t.replaceParameters(i,...o)}static replaceParameters(e,...o){return o.forEach((n,a)=>e=e.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,c)=>t.formatValue(n,c))),e}resolvePluralKey(e,o){for(let n of o)if(typeof n=="number"){let a=`${String(e)}[\\=${n}]`;if(a in this.labels||a in this.defaultLabels)return a}return e}static formatValue(e,o){return e instanceof Date?t.formatDate(e,o):e??""}static formatDate(e,o){let n=a=>o?.includes("date")?e.toLocaleDateString(a):o?.includes("time")?e.toLocaleTimeString(a):e.toLocaleString(a);try{return n(document.documentElement.lang)}catch{return n()}}};var Qo={};U(Qo,{FtCommandQueue:()=>It,FtLitElementRedux:()=>tt,FtReduxStore:()=>Jo,ReduxWatcher:()=>lr,clearAllStores:()=>ql,isFtReduxStore:()=>Be,redux:()=>ul,reduxEventListener:()=>pl,reduxReactive:()=>dl,watch:()=>Yl});var dl=()=>(t,e)=>{var o;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(e)},ul=t=>{let e=t??{};return(o,n)=>{var a;let i={hasChanged:ke,attribute:!1,...e};z(i)(o,n);let c=o.constructor;c.reduxProperties=new Map(c.reduxProperties),c.reduxProperties.set(n,{selector:(a=e.selector)!==null&&a!==void 0?a:l=>l[n],store:e.store})}},pl=t=>(e,o)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,t)};var It=class{constructor(){this.queue=[]}add(e,o=!1){o&&this.clear(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}clear(e){typeof e=="string"?this.queue=this.queue.filter(o=>o.type!==e):this.queue=this.queue.filter(o=>!e.test(o.type))}};function Be(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var qa,Ya,Xa,kt=Symbol("internalReduxEventsUnsubscribers"),ve=Symbol("internalStoresUnsubscribers"),We=Symbol("internalStores"),tt=class extends Z{constructor(){super(...arguments),this[qa]=new Map,this[Ya]=new Map,this[Xa]=new Map}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(o=>e.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[We].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[We].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[We].get(e)}addStore(e,o){var n;o=(n=o??(Be(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this[We].set(o,e),this.subscribeToStore(o,e),this.updateFromStores()}removeStore(e){let o=typeof e=="string"?e:e.name;this.unsubscribeFromStore(o),this[We].delete(o)}setupStores(){this.unsubscribeFromStores(),this[We].forEach((e,o)=>this.subscribeToStore(o,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let a=this.getStore(e.store);a&&(e.store?this[ve].has(e.store):this[ve].size>0)&&(this[o]=e.selector(a.getState(),this))}})}subscribeToStore(e,o){var n;this[ve].set(e,o.subscribe(()=>this.updateFromStores())),this[kt].set(e,[]),Be(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||o.name===a.store)){let c=l=>this[i](l);o.addEventListener(a.eventName,c),this[kt].get(e).push(()=>o.removeEventListener(a.eventName,c))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[ve].forEach((e,o)=>this.unsubscribeFromStore(o))}unsubscribeFromStore(e){var o;this[ve].has(e)&&this[ve].get(e)(),this[ve].delete(e),(o=this[kt].get(e))===null||o===void 0||o.forEach(n=>n()),this[kt].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};qa=ve,Ya=We,Xa=kt;tt.reduxProperties=new Map;tt.reduxReactiveProperties=new Set;tt.reduxEventListeners=new Map;function X(t){for(var e=arguments.length,o=Array(e>1?e-1:0),n=1;n<e;n++)o[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map(function(c){return"'"+c+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function pe(t){return!!t&&!!t[H]}function ee(t){var e;return!!t&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===vl}(t)||Array.isArray(t)||!!t[ni]||!!(!((e=t.constructor)===null||e===void 0)&&e[ni])||Mo(t)||Bo(t))}function He(t,e,o){o===void 0&&(o=!1),nt(t)===0?(o?Object.keys:ot)(t).forEach(function(n){o&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,a){return e(a,n,t)})}function nt(t){var e=t[H];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Mo(t)?2:Bo(t)?3:0}function rt(t,e){return nt(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function fl(t,e){return nt(t)===2?t.get(e):t[e]}function ai(t,e,o){var n=nt(t);n===2?t.set(e,o):n===3?t.add(o):t[e]=o}function ii(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Mo(t){return bl&&t instanceof Map}function Bo(t){return xl&&t instanceof Set}function Se(t){return t.o||t.t}function Wo(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=li(t);delete e[H];for(var o=ot(e),n=0;n<o.length;n++){var a=o[n],i=e[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[a]})}return Object.create(Object.getPrototypeOf(t),e)}function Ho(t,e){return e===void 0&&(e=!1),Fo(t)||pe(t)||!ee(t)||(nt(t)>1&&(t.set=t.add=t.clear=t.delete=hl),Object.freeze(t),e&&He(t,function(o,n){return Ho(n,!0)},!0)),t}function hl(){X(2)}function Fo(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function ie(t){var e=Uo[t];return e||X(18,t),e}function ml(t,e){Uo[t]||(Uo[t]=e)}function Io(){return Ut}function _o(t,e){e&&(ie("Patches"),t.u=[],t.s=[],t.v=e)}function nr(t){ko(t),t.p.forEach(gl),t.p=null}function ko(t){t===Ut&&(Ut=t.l)}function Ja(t){return Ut={p:[],l:Ut,h:t,m:!0,_:0}}function gl(t){var e=t[H];e.i===0||e.i===1?e.j():e.g=!0}function To(t,e){e._=e.p.length;var o=e.p[0],n=t!==void 0&&t!==o;return e.h.O||ie("ES5").S(e,t,n),n?(o[H].P&&(nr(e),X(4)),ee(t)&&(t=ar(e,t),e.l||ir(e,t)),e.u&&ie("Patches").M(o[H].t,t,e.u,e.s)):t=ar(e,o,[]),nr(e),e.u&&e.v(e.u,e.s),t!==si?t:void 0}function ar(t,e,o){if(Fo(e))return e;var n=e[H];if(!n)return He(e,function(l,d){return Qa(t,n,e,l,d,o)},!0),e;if(n.A!==t)return e;if(!n.P)return ir(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Wo(n.k):n.o,i=a,c=!1;n.i===3&&(i=new Set(a),a.clear(),c=!0),He(i,function(l,d){return Qa(t,n,a,l,d,o,c)}),ir(t,a,!1),o&&t.u&&ie("Patches").N(n,o,t.u,t.s)}return n.o}function Qa(t,e,o,n,a,i,c){if(pe(a)){var l=ar(t,a,i&&e&&e.i!==3&&!rt(e.R,n)?i.concat(n):void 0);if(ai(o,n,l),!pe(l))return;t.m=!1}else c&&o.add(a);if(ee(a)&&!Fo(a)){if(!t.h.D&&t._<1)return;ar(t,a),e&&e.A.l||ir(t,a)}}function ir(t,e,o){o===void 0&&(o=!1),!t.l&&t.h.D&&t.m&&Ho(e,o)}function Po(t,e){var o=t[H];return(o?Se(o):t)[e]}function ei(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 Oe(t){t.P||(t.P=!0,t.l&&Oe(t.l))}function Lo(t){t.o||(t.o=Wo(t.t))}function Do(t,e,o){var n=Mo(e)?ie("MapSet").F(e,o):Bo(e)?ie("MapSet").T(e,o):t.O?function(a,i){var c=Array.isArray(a),l={i:c?1:0,A:i?i.A:Io(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},d=l,p=Mt;c&&(d=[l],p=Dt);var h=Proxy.revocable(d,p),f=h.revoke,g=h.proxy;return l.k=g,l.j=f,g}(e,o):ie("ES5").J(e,o);return(o?o.A:Io()).p.push(n),n}function yl(t){return pe(t)||X(22,t),function e(o){if(!ee(o))return o;var n,a=o[H],i=nt(o);if(a){if(!a.P&&(a.i<4||!ie("ES5").K(a)))return a.t;a.I=!0,n=ti(o,i),a.I=!1}else n=ti(o,i);return He(n,function(c,l){a&&fl(a.t,c)===l||ai(n,c,e(l))}),i===3?new Set(n):n}(t)}function ti(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Wo(t)}function ci(){function t(c,l){var d=i[c];return d?d.enumerable=l:i[c]=d={configurable:!0,enumerable:l,get:function(){var p=this[H];return Mt.get(p,c)},set:function(p){var h=this[H];Mt.set(h,c,p)}},d}function e(c){for(var l=c.length-1;l>=0;l--){var d=c[l][H];if(!d.P)switch(d.i){case 5:n(d)&&Oe(d);break;case 4:o(d)&&Oe(d)}}}function o(c){for(var l=c.t,d=c.k,p=ot(d),h=p.length-1;h>=0;h--){var f=p[h];if(f!==H){var g=l[f];if(g===void 0&&!rt(l,f))return!0;var b=d[f],y=b&&b[H];if(y?y.t!==g:!ii(b,g))return!0}}var v=!!l[H];return p.length!==ot(l).length+(v?0:1)}function n(c){var l=c.k;if(l.length!==c.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var p=0;p<l.length;p++)if(!l.hasOwnProperty(p))return!0;return!1}function a(c){c.g&&X(3,JSON.stringify(Se(c)))}var i={};ml("ES5",{J:function(c,l){var d=Array.isArray(c),p=function(f,g){if(f){for(var b=Array(g.length),y=0;y<g.length;y++)Object.defineProperty(b,""+y,t(y,!0));return b}var v=li(g);delete v[H];for(var A=ot(v),C=0;C<A.length;C++){var R=A[C];v[R]=t(R,f||!!v[R].enumerable)}return Object.create(Object.getPrototypeOf(g),v)}(d,c),h={i:d?5:4,A:l?l.A:Io(),P:!1,I:!1,R:{},l,t:c,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,H,{value:h,writable:!0}),p},S:function(c,l,d){d?pe(l)&&l[H].A===c&&e(c.p):(c.u&&function p(h){if(h&&typeof h=="object"){var f=h[H];if(f){var g=f.t,b=f.k,y=f.R,v=f.i;if(v===4)He(b,function(E){E!==H&&(g[E]!==void 0||rt(g,E)?y[E]||p(b[E]):(y[E]=!0,Oe(f)))}),He(g,function(E){b[E]!==void 0||rt(b,E)||(y[E]=!1,Oe(f))});else if(v===5){if(n(f)&&(Oe(f),y.length=!0),b.length<g.length)for(var A=b.length;A<g.length;A++)y[A]=!1;else for(var C=g.length;C<b.length;C++)y[C]=!0;for(var R=Math.min(b.length,g.length),O=0;O<R;O++)b.hasOwnProperty(O)||(y[O]=!0),y[O]===void 0&&p(b[O])}}}}(c.p[0]),e(c.p))},K:function(c){return c.i===4?o(c):n(c)}})}var ri,Ut,zo=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",bl=typeof Map<"u",xl=typeof Set<"u",oi=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",si=zo?Symbol.for("immer-nothing"):((ri={})["immer-nothing"]=!0,ri),ni=zo?Symbol.for("immer-draftable"):"__$immer_draftable",H=zo?Symbol.for("immer-state"):"__$immer_state";var vl=""+Object.prototype.constructor,ot=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,li=Object.getOwnPropertyDescriptors||function(t){var e={};return ot(t).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)}),e},Uo={},Mt={get:function(t,e){if(e===H)return t;var o=Se(t);if(!rt(o,e))return function(a,i,c){var l,d=ei(i,c);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(a.k):void 0}(t,o,e);var n=o[e];return t.I||!ee(n)?n:n===Po(t.t,e)?(Lo(t),t.o[e]=Do(t.A.h,n,t)):n},has:function(t,e){return e in Se(t)},ownKeys:function(t){return Reflect.ownKeys(Se(t))},set:function(t,e,o){var n=ei(Se(t),e);if(n?.set)return n.set.call(t.k,o),!0;if(!t.P){var a=Po(Se(t),e),i=a?.[H];if(i&&i.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(ii(o,a)&&(o!==void 0||rt(t.t,e)))return!0;Lo(t),Oe(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 Po(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Lo(t),Oe(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=Se(t),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:o[e]}},defineProperty:function(){X(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){X(12)}},Dt={};He(Mt,function(t,e){Dt[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Dt.deleteProperty=function(t,e){return Dt.set.call(this,t,e,void 0)},Dt.set=function(t,e,o){return Mt.set.call(this,t[0],e,o,t[0])};var Sl=function(){function t(o){var n=this;this.O=oi,this.D=!0,this.produce=function(a,i,c){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var d=n;return function(v){var A=this;v===void 0&&(v=l);for(var C=arguments.length,R=Array(C>1?C-1:0),O=1;O<C;O++)R[O-1]=arguments[O];return d.produce(v,function(E){var S;return(S=i).call.apply(S,[A,E].concat(R))})}}var p;if(typeof i!="function"&&X(6),c!==void 0&&typeof c!="function"&&X(7),ee(a)){var h=Ja(n),f=Do(n,a,void 0),g=!0;try{p=i(f),g=!1}finally{g?nr(h):ko(h)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(v){return _o(h,c),To(v,h)},function(v){throw nr(h),v}):(_o(h,c),To(p,h))}if(!a||typeof a!="object"){if((p=i(a))===void 0&&(p=a),p===si&&(p=void 0),n.D&&Ho(p,!0),c){var b=[],y=[];ie("Patches").M(a,p,b,y),c(b,y)}return p}X(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(p){for(var h=arguments.length,f=Array(h>1?h-1:0),g=1;g<h;g++)f[g-1]=arguments[g];return n.produceWithPatches(p,function(b){return a.apply(void 0,[b].concat(f))})};var c,l,d=n.produce(a,i,function(p,h){c=p,l=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(p){return[p,c,l]}):[d,c,l]},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){ee(o)||X(8),pe(o)&&(o=yl(o));var n=Ja(this),a=Do(this,o,void 0);return a[H].C=!0,ko(n),a},e.finishDraft=function(o,n){var a=o&&o[H],i=a.A;return _o(i,n),To(void 0,i)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!oi&&X(20),this.O=o},e.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){o=i.value;break}}a>-1&&(n=n.slice(a+1));var c=ie("Patches").$;return pe(o)?c(o,n):this.produce(o,function(l){return c(l,n)})},t}(),Y=new Sl,Ol=Y.produce,Um=Y.produceWithPatches.bind(Y),Mm=Y.setAutoFreeze.bind(Y),Bm=Y.setUseProxies.bind(Y),Wm=Y.applyPatches.bind(Y),Hm=Y.createDraft.bind(Y),Fm=Y.finishDraft.bind(Y),cr=Ol;function Fe(t){"@babel/helpers - typeof";return Fe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Fe(t)}function di(t,e){if(Fe(t)!="object"||!t)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var n=o.call(t,e||"default");if(Fe(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function ui(t){var e=di(t,"string");return Fe(e)=="symbol"?e:e+""}function pi(t,e,o){return(e=ui(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function fi(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),o.push.apply(o,n)}return o}function Go(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?fi(Object(o),!0).forEach(function(n){pi(t,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):fi(Object(o)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))})}return t}function K(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 hi=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),$o=function(){return Math.random().toString(36).substring(7).split("").join(".")},sr={INIT:"@@redux/INIT"+$o(),REPLACE:"@@redux/REPLACE"+$o(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+$o()}};function El(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 jo(t,e,o){var n;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(K(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(K(1));return o(jo)(t,e)}if(typeof t!="function")throw new Error(K(2));var a=t,i=e,c=[],l=c,d=!1;function p(){l===c&&(l=c.slice())}function h(){if(d)throw new Error(K(3));return i}function f(v){if(typeof v!="function")throw new Error(K(4));if(d)throw new Error(K(5));var A=!0;return p(),l.push(v),function(){if(A){if(d)throw new Error(K(6));A=!1,p();var R=l.indexOf(v);l.splice(R,1),c=null}}}function g(v){if(!El(v))throw new Error(K(7));if(typeof v.type>"u")throw new Error(K(8));if(d)throw new Error(K(9));try{d=!0,i=a(i,v)}finally{d=!1}for(var A=c=l,C=0;C<A.length;C++){var R=A[C];R()}return v}function b(v){if(typeof v!="function")throw new Error(K(10));a=v,g({type:sr.REPLACE})}function y(){var v,A=f;return v={subscribe:function(R){if(typeof R!="object"||R===null)throw new Error(K(11));function O(){R.next&&R.next(h())}O();var E=A(O);return{unsubscribe:E}}},v[hi]=function(){return this},v}return g({type:sr.INIT}),n={dispatch:g,subscribe:f,getState:h,replaceReducer:b},n[hi]=y,n}function Cl(t){Object.keys(t).forEach(function(e){var o=t[e],n=o(void 0,{type:sr.INIT});if(typeof n>"u")throw new Error(K(12));if(typeof o(void 0,{type:sr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(K(13))})}function mi(t){for(var e=Object.keys(t),o={},n=0;n<e.length;n++){var a=e[n];typeof t[a]=="function"&&(o[a]=t[a])}var i=Object.keys(o),c,l;try{Cl(o)}catch(d){l=d}return function(p,h){if(p===void 0&&(p={}),l)throw l;if(0)var f;for(var g=!1,b={},y=0;y<i.length;y++){var v=i[y],A=o[v],C=p[v],R=A(C,h);if(typeof R>"u"){var O=h&&h.type;throw new Error(K(14))}b[v]=R,g=g||R!==C}return g=g||i.length!==Object.keys(p).length,g?b:p}}function at(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function gi(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(K(15))},c={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=e.map(function(d){return d(c)});return i=at.apply(void 0,l)(a.dispatch),Go(Go({},a),{},{dispatch:i})}}}function yi(t){var e=function(n){var a=n.dispatch,i=n.getState;return function(c){return function(l){return typeof l=="function"?l(a,i,t):c(l)}}};return e}var bi=yi();bi.withExtraArgument=yi;var Ko=bi;var Ei=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,o)};return function(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(e,o);function n(){this.constructor=e}e.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),Al=function(t,e){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,c;return c={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function l(p){return function(h){return d([p,h])}}function d(p){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(i=p[0]&2?a.return:p[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,p[1])).done)return i;switch(a=0,i&&(p=[p[0]&2,i.value]),p[0]){case 0:case 1:i=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,a=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!i||p[1]>i[0]&&p[1]<i[3])){o.label=p[1];break}if(p[0]===6&&o.label<i[1]){o.label=i[1],i=p;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(p);break}i[2]&&o.ops.pop(),o.trys.pop();continue}p=e.call(t,o)}catch(h){p=[6,h],a=0}finally{n=i=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},it=function(t,e){for(var o=0,n=e.length,a=t.length;o<n;o++,a++)t[a]=e[o];return t},wl=Object.defineProperty,Rl=Object.defineProperties,Nl=Object.getOwnPropertyDescriptors,xi=Object.getOwnPropertySymbols,_l=Object.prototype.hasOwnProperty,Tl=Object.prototype.propertyIsEnumerable,vi=function(t,e,o){return e in t?wl(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Ee=function(t,e){for(var o in e||(e={}))_l.call(e,o)&&vi(t,o,e[o]);if(xi)for(var n=0,a=xi(e);n<a.length;n++){var o=a[n];Tl.call(e,o)&&vi(t,o,e[o])}return t},Vo=function(t,e){return Rl(t,Nl(e))},Pl=function(t,e,o){return new Promise(function(n,a){var i=function(d){try{l(o.next(d))}catch(p){a(p)}},c=function(d){try{l(o.throw(d))}catch(p){a(p)}},l=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(i,c)};l((o=o.apply(t,e)).next())})};var Ll=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?at:at.apply(null,arguments)},ag=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Il(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 kl=function(t){Ei(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=t.apply(this,o)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,it([void 0],o[0].concat(this)))):new(e.bind.apply(e,it([void 0],o.concat(this))))},e}(Array),Dl=function(t){Ei(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=t.apply(this,o)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,it([void 0],o[0].concat(this)))):new(e.bind.apply(e,it([void 0],o.concat(this))))},e}(Array);function Yo(t){return ee(t)?cr(t,function(){}):t}function Ul(t){return typeof t=="boolean"}function Ml(){return function(e){return Bl(e)}}function Bl(t){t===void 0&&(t={});var e=t.thunk,o=e===void 0?!0:e,n=t.immutableCheck,a=n===void 0?!0:n,i=t.serializableCheck,c=i===void 0?!0:i,l=new kl;if(o&&(Ul(o)?l.push(Ko):l.push(Ko.withExtraArgument(o.extraArgument))),0){if(a)var d;if(c)var p}return l}var Zo=!0;function Ci(t){var e=Ml(),o=t||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,c=i===void 0?e():i,l=o.devTools,d=l===void 0?!0:l,p=o.preloadedState,h=p===void 0?void 0:p,f=o.enhancers,g=f===void 0?void 0:f,b;if(typeof a=="function")b=a;else if(Il(a))b=mi(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var y=c;if(typeof y=="function"&&(y=y(e),!Zo&&!Array.isArray(y)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Zo&&y.some(function(E){return typeof E!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=gi.apply(void 0,y),A=at;d&&(A=Ll(Ee({trace:!Zo},typeof d=="object"&&d)));var C=new Dl(v),R=C;Array.isArray(g)?R=it([v],g):typeof g=="function"&&(R=g(C));var O=A.apply(void 0,R);return jo(b,h,O)}function Ce(t,e){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(e){var i=e.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return Ee(Ee({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:n[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(n){return n.type===t},o}function Ai(t){var e={},o=[],n,a={addCase:function(i,c){var l=typeof i=="string"?i:i.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=c,a},addMatcher:function(i,c){return o.push({matcher:i,reducer:c}),a},addDefaultCase:function(i){return n=i,a}};return t(a),[e,o,n]}function Wl(t){return typeof t=="function"}function Hl(t,e,o,n){o===void 0&&(o=[]);var a=typeof e=="function"?Ai(e):[e,o,n],i=a[0],c=a[1],l=a[2],d;if(Wl(t))d=function(){return Yo(t())};else{var p=Yo(t);d=function(){return p}}function h(f,g){f===void 0&&(f=d());var b=it([i[g.type]],c.filter(function(y){var v=y.matcher;return v(g)}).map(function(y){var v=y.reducer;return v}));return b.filter(function(y){return!!y}).length===0&&(b=[l]),b.reduce(function(y,v){if(v)if(pe(y)){var A=y,C=v(A,g);return C===void 0?y:C}else{if(ee(y))return cr(y,function(R){return v(R,g)});var C=v(y,g);if(C===void 0){if(y===null)return y;throw Error("A case reducer on a non-draftable value must not return undefined")}return C}return y},f)}return h.getInitialState=d,h}function Fl(t,e){return t+"/"+e}function wi(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:Yo(t.initialState),n=t.reducers||{},a=Object.keys(n),i={},c={},l={};a.forEach(function(h){var f=n[h],g=Fl(e,h),b,y;"reducer"in f?(b=f.reducer,y=f.prepare):b=f,i[h]=b,c[g]=b,l[h]=y?Ce(g,y):Ce(g)});function d(){var h=typeof t.extraReducers=="function"?Ai(t.extraReducers):[t.extraReducers],f=h[0],g=f===void 0?{}:f,b=h[1],y=b===void 0?[]:b,v=h[2],A=v===void 0?void 0:v,C=Ee(Ee({},g),c);return Hl(o,function(R){for(var O in C)R.addCase(O,C[O]);for(var E=0,S=y;E<S.length;E++){var T=S[E];R.addMatcher(T.matcher,T.reducer)}A&&R.addDefaultCase(A)})}var p;return{name:e,reducer:function(h,f){return p||(p=d()),p(h,f)},actions:l,caseReducers:i,getInitialState:function(){return p||(p=d()),p.getInitialState()}}}var zl="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Gl=function(t){t===void 0&&(t=21);for(var e="",o=t;o--;)e+=zl[Math.random()*64|0];return e},$l=["name","message","stack","code"],qo=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),Si=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),jl=function(t){if(typeof t=="object"&&t!==null){for(var e={},o=0,n=$l;o<n.length;o++){var a=n[o];typeof t[a]=="string"&&(e[a]=t[a])}return e}return{message:String(t)}},lg=function(){function t(e,o,n){var a=Ce(e+"/fulfilled",function(h,f,g,b){return{payload:h,meta:Vo(Ee({},b||{}),{arg:g,requestId:f,requestStatus:"fulfilled"})}}),i=Ce(e+"/pending",function(h,f,g){return{payload:void 0,meta:Vo(Ee({},g||{}),{arg:f,requestId:h,requestStatus:"pending"})}}),c=Ce(e+"/rejected",function(h,f,g,b,y){return{payload:b,error:(n&&n.serializeError||jl)(h||"Rejected"),meta:Vo(Ee({},y||{}),{arg:g,requestId:f,rejectedWithValue:!!b,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function p(h){return function(f,g,b){var y=n?.idGenerator?n.idGenerator(h):Gl(),v=new d,A,C=!1;function R(E){A=E,v.abort()}var O=function(){return Pl(this,null,function(){var E,S,T,P,L,k,N;return Al(this,function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),P=(E=n?.condition)==null?void 0:E.call(n,h,{getState:g,extra:b}),Vl(P)?[4,P]:[3,2];case 1:P=m.sent(),m.label=2;case 2:if(P===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return C=!0,L=new Promise(function(x,_){return v.signal.addEventListener("abort",function(){return _({name:"AbortError",message:A||"Aborted"})})}),f(i(y,h,(S=n?.getPendingMeta)==null?void 0:S.call(n,{requestId:y,arg:h},{getState:g,extra:b}))),[4,Promise.race([L,Promise.resolve(o(h,{dispatch:f,getState:g,extra:b,requestId:y,signal:v.signal,abort:R,rejectWithValue:function(x,_){return new qo(x,_)},fulfillWithValue:function(x,_){return new Si(x,_)}})).then(function(x){if(x instanceof qo)throw x;return x instanceof Si?a(x.payload,y,h,x.meta):a(x,y,h)})])];case 3:return T=m.sent(),[3,5];case 4:return k=m.sent(),T=k instanceof qo?c(null,y,h,k.payload,k.meta):c(k,y,h),[3,5];case 5:return N=n&&!n.dispatchConditionRejection&&c.match(T)&&T.meta.condition,N||f(T),[2,T]}})})}();return Object.assign(O,{abort:R,requestId:y,arg:h,unwrap:function(){return O.then(Kl)}})}}return Object.assign(p,{pending:i,rejected:c,fulfilled:a,typePrefix:e})}return t.withTypes=function(){return t},t}();function Kl(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Vl(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Ri="listener",Ni="completed",_i="cancelled",dg="task-"+_i,ug="task-"+Ni,pg=Ri+"-"+_i,fg=Ri+"-"+Ni;var Xo="listenerMiddleware";var hg=Ce(Xo+"/add"),mg=Ce(Xo+"/removeAll"),gg=Ce(Xo+"/remove");var Oi,yg=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Oi||(Oi=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Zl=function(t){return function(e){setTimeout(e,t)}},bg=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Zl(10);ci();window.ftReduxStores||(window.ftReduxStores={});var Jo=class t extends Ie{static get(e){var o;let n=typeof e=="string"?e:e.name,a=typeof e=="string"?void 0:e,i=window.ftReduxStores[n];if(Be(i))return i;if(a==null)return;let c=wi({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),l=Ci({reducer:(d,p)=>p.type==="CLEAR_FT_REDUX_STORE"?c.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...p.overwrites}:c.reducer(d,p)});return window.ftReduxStores[a.name]=new t(c,l,a.eventBus)}constructor(e,o,n){super(),this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new It;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,c,l)=>{let d=c,p=i[d];return p?(...h)=>{let f=p(...h.map(a));return this.reduxStore.dispatch(f),f}:h=>{this.setState({[d]:a(h)})}}}),this.eventBus=n??this.eventBus}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 ql(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))Be(e)&&e.clear()}var lr=class{constructor(e,o,n){this.store=e,this.valueSelector=o,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),o=this.valueSelector(e);ke(this.lastValue,o)&&(this.callback(o,e),this.lastValue=o)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function Yl(t,e,o){return new lr(t,e,o).watch()}var rn={};U(rn,{scrollHelper:()=>Xl});var en,dr=new Map,tn=class{lock(e,o){if(o){let n=dr.get(o);if(n==null||n===e)return dr.set(o,e),o}}release(e,o){o&&dr.get(o)===e&&dr.delete(o)}findFirstScrollableParent(e){var o;let n,a;for(let i of Vr(e)){let c=i,l=this.elementCanScroll(c);if(l&&c.clientHeight&&c.clientHeight<c.scrollHeight){n=c;break}else l&&a==null&&(a=c)}return(o=n??a)!==null&&o!==void 0?o:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,o){var n,a;let i=0;for(;o&&o.offsetParent!==e.offsetParent;)i+=(n=o.offsetTop)!==null&&n!==void 0?n:0,o=o.offsetParent;return i+((a=o?.offsetTop)!==null&&a!==void 0?a:0)-e.offsetTop}computeTopOffsetRatio(e,o){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return o;default:return 0}}scrollIntoViewIfPossible(e,o){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let a=this.getAbsoluteScrollOffset(n,e),i=a-n.clientHeight+e.clientHeight,c=a,l=Et(0,(c-n.scrollTop)/(c-i),1),d=this.computeTopOffsetRatio(o?.position,l)*(i-c)+c;n.scrollTo({behavior:o?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(en=window.FluidTopicsScrollHelper)!==null&&en!==void 0?en:new tn;var Xl=window.FluidTopicsScrollHelper;var nn={};U(nn,{SearchPlaceConverter:()=>fr,SearchPlaceQueryParams:()=>M,isSearchPlaceQueryParams:()=>ic,serializeRequest:()=>ed});var Jl=xc(Pi(),1);var Li;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Li||(Li={}));var Ii;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Ii||(Ii={}));var ki;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.MAP_ATTACHMENT="MAP_ATTACHMENT",t.RESOURCE="RESOURCE"})(ki||(ki={}));var Di;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.MAP_ATTACHMENT="MAP_ATTACHMENT",t.RESOURCE="RESOURCE"})(Di||(Di={}));var Ui;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Ui||(Ui={}));var Mi;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(Mi||(Mi={}));var Bi;(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.GEN_AI__COMPLETED_QUERY="GEN_AI__COMPLETED_QUERY",t.GEN_AI__RATE="GEN_AI__RATE",t.GENAI_CASE_DEFLECTION__START="GENAI_CASE_DEFLECTION__START",t.GENAI_CASE_DEFLECTION__OPEN_TICKET="GENAI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",t.TOPIC__DISPLAY="TOPIC__DISPLAY",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(Bi||(Bi={}));var Wi;(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"})(Wi||(Wi={}));var Hi;(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"})(Hi||(Hi={}));var Fi;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Fi||(Fi={}));var zi;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(zi||(zi={}));var Gi;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Gi||(Gi={}));var $i;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})($i||($i={}));var ji;(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"})(ji||(ji={}));var Ki;(function(t){t.ASC="ASC",t.DESC="DESC"})(Ki||(Ki={}));var Vi;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Vi||(Vi={}));var on;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(on||(on={}));var ec=t=>Object.keys(on).includes(t);var Zi;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Zi||(Zi={}));var qi;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(qi||(qi={}));var Yi;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Yi||(Yi={}));var st;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(st||(st={}));var tc=t=>Object.keys(st).includes(t);var Xi;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(Xi||(Xi={}));var Ji;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Ji||(Ji={}));var $;(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.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_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.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})($||($={}));var Qi;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(Qi||(Qi={}));var rc;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(rc||(rc={}));var oc;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(oc||(oc={}));var nc;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(nc||(nc={}));var Wg={[$.PERSONAL_BOOK_SHARE_USER]:[$.PERSONAL_BOOK_USER],[$.HTML_EXPORT_USER]:[$.PERSONAL_BOOK_USER],[$.PDF_EXPORT_USER]:[$.PERSONAL_BOOK_USER],[$.KHUB_ADMIN]:[$.CONTENT_PUBLISHER],[$.ADMIN]:[$.KHUB_ADMIN,$.USERS_ADMIN,$.PORTAL_ADMIN],[$.GENERATIVE_AI_EXPORT_USER]:[$.GENERATIVE_AI_USER]};function Ql(t){return`"${t}"`}function ac(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function ed(t,e){return new fr(t).serialize(e)}var M;(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",t.PER_PAGE="per-page"})(M||(M={}));var td=new Set(Object.values(M));function ic(t){return td.has(t)}var fr=class{constructor(e,o={},n=20,a=!1,i="en-US"){this.baseUrl=e,this.predefinedSorts=o,this.defaultPerPage=n,this.allLanguagesAllowed=a,this.defaultContentLocale=i,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,o){return this.serializeToCurrentPageIfPossible(e,o??"/search")}serializeToCurrentPageIfPossible(e,o){let n=o==null||o.trim().length===0,a=new URL(n?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${o}`);return a.search=this.toURLSearchParams(e),a.toString()}toURLSearchParams(e,o=!1){var n,a,i,c,l,d,p,h,f,g,b,y;let v=new URLSearchParams;e.contentLocale?(!o||e.contentLocale!==this.defaultContentLocale)&&v.append(M.LOCALE,e.contentLocale):v.append(M.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&v.append(M.QUERY,e.query);let A=(i=(a=e.metadataFilters)===null||a===void 0?void 0:a.filter(S=>S.valueFilter&&!S.valueFilter.negative))!==null&&i!==void 0?i:[];if(A.length>0){let S=A.map(T=>{var P,L;let k=((L=(P=T.valueFilter)===null||P===void 0?void 0:P.values)!==null&&L!==void 0?L:[]).map(N=>this.escapeFilters(N)).map(N=>Ql(ac(N))).join("_");return`${T.key}~${k}`}).join("*");v.append(M.VALUE_FILTERS,S)}let C=(l=(c=e.metadataFilters)===null||c===void 0?void 0:c.filter(S=>S.dateFilter))!==null&&l!==void 0?l:[];if(C.length>0){let S=C.map(T=>{var P;return`${T.key}~${(P=T.dateFilter)===null||P===void 0?void 0:P.type.toLowerCase()}`}).join("*");v.append(M.DATE_FILTERS,S)}let R=(p=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(S=>S.rangeFilter))!==null&&p!==void 0?p:[];if(R.length>0){let S=R.map(T=>{var P,L;return`${T.key}~${(P=T.rangeFilter)===null||P===void 0?void 0:P.from}_${(L=T.rangeFilter)===null||L===void 0?void 0:L.to}`}).join("*");v.append(M.RANGE_FILTERS,S)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&v.append(M.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&v.append(M.SCOPE,e.scope.toLowerCase()),((h=e.sort)===null||h===void 0?void 0:h.length)>0&&e.sort[0].key==="ft:lastEdition"&&v.append(M.SORT,"last_update"),!((f=e.paging)===null||f===void 0)&&f.perPage&&((b=(g=e.paging)===null||g===void 0?void 0:g.perPage)!==null&&b!==void 0?b:this.defaultPerPage)!=this.defaultPerPage&&v.append(M.PER_PAGE,String(e.paging.perPage));let O=(y=e.otherQueryParams)!==null&&y!==void 0?y:{};for(let S in O)v.append(S,O[S]);let E=new Array;return v.forEach((S,T)=>{E.push(this.encodeQueryString(T)+"="+this.encodeQueryString(S))}),encodeURI(E.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var o;let n=e.split("?"),a=this.fromURLSearchParams(n.slice(1).join("?")),i=n[0].split("/search/")[1];return i==null?a:{...a,scope:(o=this.scopeMapping[i])!==null&&o!==void 0?o:a.scope}}fromURLSearchParams(e){var o,n,a,i,c,l,d,p;try{e=decodeURI(e).replace(/%23/g,"#")}catch(C){console.warn("Could not decode search request query params, fallback on raw value",C)}let h=new URLSearchParams(e),f=h.get(M.LOCALE)==="all"?void 0:h.get(M.LOCALE),g=((o=h.get(M.VIRTUAL_FIELD))!==null&&o!==void 0?o:"EVERYWHERE").toUpperCase(),b=((n=h.get(M.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),y=(a=h.get(M.SCOPE))!==null&&a!==void 0?a:"default",v=+((i=h.get(M.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),A={};for(let C of h.keys())ic(C)||(A[C]=h.get(C));return{contentLocale:f??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(c=h.get(M.QUERY))!==null&&c!==void 0?c:"",scope:(l=this.scopeMapping[y])!==null&&l!==void 0?l:"DEFAULT",virtualField:ec(g)?g:"EVERYWHERE",sort:(p=(d=this.predefinedSorts[b])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&p!==void 0?p:[],metadataFilters:this.parseCompatFilters(h),facets:[],paging:{page:1,perPage:Et(1,isNaN(v)?this.defaultPerPage:v,1e3)},otherQueryParams:A}}parseCompatFilters(e){var o,n,a,i,c,l;let d=[];return e.has(M.FILTERS)&&(d=this.parseValueFilters((o=e.get(M.FILTERS))!==null&&o!==void 0?o:"")),(n=e.has(M.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((a=e.get(M.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...d,...this.parseValueFilters((i=e.get(M.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((c=e.get(M.DATE_FILTERS))!==null&&c!==void 0?c:""),...this.parseRangeFilters((l=e.get(M.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(e){return this.superEscapeFilters(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(ac).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],dateFilter:{type:st[o[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],rangeFilter:{from:o[1].split("_")[0],to:o[1].split("_")[1]}}))}escapeFilters(e){for(let[o,n,a]of this.filtersEscapeMapping)e=e.replaceAll(o,n);return e}superEscapeFilters(e){for(let[o,n,a]of this.filtersEscapeMapping)e=e.replaceAll(n,a);return e}unescapeFilterValue(e){for(let[o,n,a]of this.filtersEscapeMapping)e=e.replace(a,o);return e}parseLegacyPeriodFilter(e){if(tc(e))return[{key:"ft:lastEdition",dateFilter:{type:st[e]}}];if(e.startsWith("CUSTOM_")){let[o,n,a]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:a}}]}return[]}};var cn={};U(cn,{toFtFormComponent:()=>rd});var an=Symbol("elementInternals");function rd(t){class e extends t{static get formAssociated(){return!0}get form(){return this[an].form}constructor(...n){super(n),this[an]=this.attachInternals()}setFormValue(n){this[an].setFormValue(n)}}return e}var ln={};U(ln,{DateFormatter:()=>sn});var sn=class{static format(e,o,n,a){return window.moment?window.moment(e).locale(o).format(this.getDateFormat(n,a)):e}static getDateFormat(e,o){return e?o?"lll":"ll":o?"L LT":"L"}};var un={};U(un,{ALL_KEYS_VALUE:()=>dn,SameWindowStorageEvent:()=>lt});var dn="__all__",lt=class extends CustomEvent{constructor(e,o,n){super("same-window-storage",{detail:{key:e,oldValue:o,newValue:n}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==dn}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(t,e,o){let n=e.getItem(o[0]);Reflect.apply(t,e,o),window.dispatchEvent(new lt(o[0],n,o[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(t,e,o){let n=e.getItem(o[0]);Reflect.apply(t,e,o),window.dispatchEvent(new lt(o[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,o){Reflect.apply(t,e,o),window.dispatchEvent(new lt(dn))}});var fn={};U(fn,{FocusMainContentEvent:()=>pn});var pn=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var cc={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1};function od(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0)}function nd(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}document.addEventListener("keydown",od);document.addEventListener("click",nd);var sc=F`
|
|
48
|
+
`;var Ya={};var To={};U(To,{ParametrizedLabelResolver:()=>_o});var _o=class t{constructor(e,o){this.defaultLabels=e,this.labels=o}resolve(e,...o){var n,a;e=this.resolvePluralKey(e,o);let i=(a=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&a!==void 0?a:"";return t.replaceParameters(i,...o)}static replaceParameters(e,...o){return o.forEach((n,a)=>e=e.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,c)=>t.formatValue(n,c))),e}resolvePluralKey(e,o){for(let n of o)if(typeof n=="number"){let a=`${String(e)}[\\=${n}]`;if(a in this.labels||a in this.defaultLabels)return a}return e}static formatValue(e,o){return e instanceof Date?t.formatDate(e,o):e??""}static formatDate(e,o){let n=a=>o?.includes("date")?e.toLocaleDateString(a):o?.includes("time")?e.toLocaleTimeString(a):e.toLocaleString(a);try{return n(document.documentElement.lang)}catch{return n()}}};var tn={};U(tn,{FtCommandQueue:()=>It,FtLitElementRedux:()=>tt,FtReduxStore:()=>en,ReduxWatcher:()=>dr,clearAllStores:()=>Jl,isFtReduxStore:()=>Be,redux:()=>hl,reduxEventListener:()=>ml,reduxReactive:()=>fl,watch:()=>Ql});var fl=()=>(t,e)=>{var o;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(e)},hl=t=>{let e=t??{};return(o,n)=>{var a;let i={hasChanged:ke,attribute:!1,...e};z(i)(o,n);let c=o.constructor;c.reduxProperties=new Map(c.reduxProperties),c.reduxProperties.set(n,{selector:(a=e.selector)!==null&&a!==void 0?a:l=>l[n],store:e.store})}},ml=t=>(e,o)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,t)};var It=class{constructor(){this.queue=[]}add(e,o=!1){o&&this.clear(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}clear(e){typeof e=="string"?this.queue=this.queue.filter(o=>o.type!==e):this.queue=this.queue.filter(o=>!e.test(o.type))}};function Be(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Xa,Ja,Qa,kt=Symbol("internalReduxEventsUnsubscribers"),ve=Symbol("internalStoresUnsubscribers"),We=Symbol("internalStores"),tt=class extends Z{constructor(){super(...arguments),this[Xa]=new Map,this[Ja]=new Map,this[Qa]=new Map}get reduxConstructor(){return this.constructor}willUpdate(e){super.willUpdate(e),[...this.reduxConstructor.reduxReactiveProperties].some(o=>e.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[We].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[We].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[We].get(e)}addStore(e,o){var n;o=(n=o??(Be(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this[We].set(o,e),this.subscribeToStore(o,e),this.updateFromStores()}removeStore(e){let o=typeof e=="string"?e:e.name;this.unsubscribeFromStore(o),this[We].delete(o)}setupStores(){this.unsubscribeFromStores(),this[We].forEach((e,o)=>this.subscribeToStore(o,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let a=this.getStore(e.store);a&&(e.store?this[ve].has(e.store):this[ve].size>0)&&(this[o]=e.selector(a.getState(),this))}})}subscribeToStore(e,o){var n;this[ve].set(e,o.subscribe(()=>this.updateFromStores())),this[kt].set(e,[]),Be(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||o.name===a.store)){let c=l=>this[i](l);o.addEventListener(a.eventName,c),this[kt].get(e).push(()=>o.removeEventListener(a.eventName,c))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[ve].forEach((e,o)=>this.unsubscribeFromStore(o))}unsubscribeFromStore(e){var o;this[ve].has(e)&&this[ve].get(e)(),this[ve].delete(e),(o=this[kt].get(e))===null||o===void 0||o.forEach(n=>n()),this[kt].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Xa=ve,Ja=We,Qa=kt;tt.reduxProperties=new Map;tt.reduxReactiveProperties=new Set;tt.reduxEventListeners=new Map;function X(t){for(var e=arguments.length,o=Array(e>1?e-1:0),n=1;n<e;n++)o[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+t+(o.length?" "+o.map(function(c){return"'"+c+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function pe(t){return!!t&&!!t[H]}function ee(t){var e;return!!t&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===El}(t)||Array.isArray(t)||!!t[ii]||!!(!((e=t.constructor)===null||e===void 0)&&e[ii])||Wo(t)||Ho(t))}function He(t,e,o){o===void 0&&(o=!1),nt(t)===0?(o?Object.keys:ot)(t).forEach(function(n){o&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,a){return e(a,n,t)})}function nt(t){var e=t[H];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Wo(t)?2:Ho(t)?3:0}function rt(t,e){return nt(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function gl(t,e){return nt(t)===2?t.get(e):t[e]}function ci(t,e,o){var n=nt(t);n===2?t.set(e,o):n===3?t.add(o):t[e]=o}function si(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Wo(t){return Sl&&t instanceof Map}function Ho(t){return Ol&&t instanceof Set}function Se(t){return t.o||t.t}function Fo(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=ui(t);delete e[H];for(var o=ot(e),n=0;n<o.length;n++){var a=o[n],i=e[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[a]})}return Object.create(Object.getPrototypeOf(t),e)}function zo(t,e){return e===void 0&&(e=!1),Go(t)||pe(t)||!ee(t)||(nt(t)>1&&(t.set=t.add=t.clear=t.delete=yl),Object.freeze(t),e&&He(t,function(o,n){return zo(n,!0)},!0)),t}function yl(){X(2)}function Go(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function ie(t){var e=Bo[t];return e||X(18,t),e}function bl(t,e){Bo[t]||(Bo[t]=e)}function Do(){return Ut}function Po(t,e){e&&(ie("Patches"),t.u=[],t.s=[],t.v=e)}function ar(t){Uo(t),t.p.forEach(xl),t.p=null}function Uo(t){t===Ut&&(Ut=t.l)}function ei(t){return Ut={p:[],l:Ut,h:t,m:!0,_:0}}function xl(t){var e=t[H];e.i===0||e.i===1?e.j():e.g=!0}function Lo(t,e){e._=e.p.length;var o=e.p[0],n=t!==void 0&&t!==o;return e.h.O||ie("ES5").S(e,t,n),n?(o[H].P&&(ar(e),X(4)),ee(t)&&(t=ir(e,t),e.l||cr(e,t)),e.u&&ie("Patches").M(o[H].t,t,e.u,e.s)):t=ir(e,o,[]),ar(e),e.u&&e.v(e.u,e.s),t!==di?t:void 0}function ir(t,e,o){if(Go(e))return e;var n=e[H];if(!n)return He(e,function(l,d){return ti(t,n,e,l,d,o)},!0),e;if(n.A!==t)return e;if(!n.P)return cr(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Fo(n.k):n.o,i=a,c=!1;n.i===3&&(i=new Set(a),a.clear(),c=!0),He(i,function(l,d){return ti(t,n,a,l,d,o,c)}),cr(t,a,!1),o&&t.u&&ie("Patches").N(n,o,t.u,t.s)}return n.o}function ti(t,e,o,n,a,i,c){if(pe(a)){var l=ir(t,a,i&&e&&e.i!==3&&!rt(e.R,n)?i.concat(n):void 0);if(ci(o,n,l),!pe(l))return;t.m=!1}else c&&o.add(a);if(ee(a)&&!Go(a)){if(!t.h.D&&t._<1)return;ir(t,a),e&&e.A.l||cr(t,a)}}function cr(t,e,o){o===void 0&&(o=!1),!t.l&&t.h.D&&t.m&&zo(e,o)}function Io(t,e){var o=t[H];return(o?Se(o):t)[e]}function ri(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 Oe(t){t.P||(t.P=!0,t.l&&Oe(t.l))}function ko(t){t.o||(t.o=Fo(t.t))}function Mo(t,e,o){var n=Wo(e)?ie("MapSet").F(e,o):Ho(e)?ie("MapSet").T(e,o):t.O?function(a,i){var c=Array.isArray(a),l={i:c?1:0,A:i?i.A:Do(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},d=l,p=Mt;c&&(d=[l],p=Dt);var h=Proxy.revocable(d,p),f=h.revoke,g=h.proxy;return l.k=g,l.j=f,g}(e,o):ie("ES5").J(e,o);return(o?o.A:Do()).p.push(n),n}function vl(t){return pe(t)||X(22,t),function e(o){if(!ee(o))return o;var n,a=o[H],i=nt(o);if(a){if(!a.P&&(a.i<4||!ie("ES5").K(a)))return a.t;a.I=!0,n=oi(o,i),a.I=!1}else n=oi(o,i);return He(n,function(c,l){a&&gl(a.t,c)===l||ci(n,c,e(l))}),i===3?new Set(n):n}(t)}function oi(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Fo(t)}function li(){function t(c,l){var d=i[c];return d?d.enumerable=l:i[c]=d={configurable:!0,enumerable:l,get:function(){var p=this[H];return Mt.get(p,c)},set:function(p){var h=this[H];Mt.set(h,c,p)}},d}function e(c){for(var l=c.length-1;l>=0;l--){var d=c[l][H];if(!d.P)switch(d.i){case 5:n(d)&&Oe(d);break;case 4:o(d)&&Oe(d)}}}function o(c){for(var l=c.t,d=c.k,p=ot(d),h=p.length-1;h>=0;h--){var f=p[h];if(f!==H){var g=l[f];if(g===void 0&&!rt(l,f))return!0;var b=d[f],y=b&&b[H];if(y?y.t!==g:!si(b,g))return!0}}var v=!!l[H];return p.length!==ot(l).length+(v?0:1)}function n(c){var l=c.k;if(l.length!==c.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var p=0;p<l.length;p++)if(!l.hasOwnProperty(p))return!0;return!1}function a(c){c.g&&X(3,JSON.stringify(Se(c)))}var i={};bl("ES5",{J:function(c,l){var d=Array.isArray(c),p=function(f,g){if(f){for(var b=Array(g.length),y=0;y<g.length;y++)Object.defineProperty(b,""+y,t(y,!0));return b}var v=ui(g);delete v[H];for(var A=ot(v),C=0;C<A.length;C++){var R=A[C];v[R]=t(R,f||!!v[R].enumerable)}return Object.create(Object.getPrototypeOf(g),v)}(d,c),h={i:d?5:4,A:l?l.A:Do(),P:!1,I:!1,R:{},l,t:c,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,H,{value:h,writable:!0}),p},S:function(c,l,d){d?pe(l)&&l[H].A===c&&e(c.p):(c.u&&function p(h){if(h&&typeof h=="object"){var f=h[H];if(f){var g=f.t,b=f.k,y=f.R,v=f.i;if(v===4)He(b,function(E){E!==H&&(g[E]!==void 0||rt(g,E)?y[E]||p(b[E]):(y[E]=!0,Oe(f)))}),He(g,function(E){b[E]!==void 0||rt(b,E)||(y[E]=!1,Oe(f))});else if(v===5){if(n(f)&&(Oe(f),y.length=!0),b.length<g.length)for(var A=b.length;A<g.length;A++)y[A]=!1;else for(var C=g.length;C<b.length;C++)y[C]=!0;for(var R=Math.min(b.length,g.length),O=0;O<R;O++)b.hasOwnProperty(O)||(y[O]=!0),y[O]===void 0&&p(b[O])}}}}(c.p[0]),e(c.p))},K:function(c){return c.i===4?o(c):n(c)}})}var ni,Ut,$o=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Sl=typeof Map<"u",Ol=typeof Set<"u",ai=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",di=$o?Symbol.for("immer-nothing"):((ni={})["immer-nothing"]=!0,ni),ii=$o?Symbol.for("immer-draftable"):"__$immer_draftable",H=$o?Symbol.for("immer-state"):"__$immer_state";var El=""+Object.prototype.constructor,ot=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,ui=Object.getOwnPropertyDescriptors||function(t){var e={};return ot(t).forEach(function(o){e[o]=Object.getOwnPropertyDescriptor(t,o)}),e},Bo={},Mt={get:function(t,e){if(e===H)return t;var o=Se(t);if(!rt(o,e))return function(a,i,c){var l,d=ri(i,c);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(a.k):void 0}(t,o,e);var n=o[e];return t.I||!ee(n)?n:n===Io(t.t,e)?(ko(t),t.o[e]=Mo(t.A.h,n,t)):n},has:function(t,e){return e in Se(t)},ownKeys:function(t){return Reflect.ownKeys(Se(t))},set:function(t,e,o){var n=ri(Se(t),e);if(n?.set)return n.set.call(t.k,o),!0;if(!t.P){var a=Io(Se(t),e),i=a?.[H];if(i&&i.t===o)return t.o[e]=o,t.R[e]=!1,!0;if(si(o,a)&&(o!==void 0||rt(t.t,e)))return!0;ko(t),Oe(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 Io(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,ko(t),Oe(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var o=Se(t),n=Reflect.getOwnPropertyDescriptor(o,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:o[e]}},defineProperty:function(){X(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){X(12)}},Dt={};He(Mt,function(t,e){Dt[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Dt.deleteProperty=function(t,e){return Dt.set.call(this,t,e,void 0)},Dt.set=function(t,e,o){return Mt.set.call(this,t[0],e,o,t[0])};var Cl=function(){function t(o){var n=this;this.O=ai,this.D=!0,this.produce=function(a,i,c){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var d=n;return function(v){var A=this;v===void 0&&(v=l);for(var C=arguments.length,R=Array(C>1?C-1:0),O=1;O<C;O++)R[O-1]=arguments[O];return d.produce(v,function(E){var S;return(S=i).call.apply(S,[A,E].concat(R))})}}var p;if(typeof i!="function"&&X(6),c!==void 0&&typeof c!="function"&&X(7),ee(a)){var h=ei(n),f=Mo(n,a,void 0),g=!0;try{p=i(f),g=!1}finally{g?ar(h):Uo(h)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(v){return Po(h,c),Lo(v,h)},function(v){throw ar(h),v}):(Po(h,c),Lo(p,h))}if(!a||typeof a!="object"){if((p=i(a))===void 0&&(p=a),p===di&&(p=void 0),n.D&&zo(p,!0),c){var b=[],y=[];ie("Patches").M(a,p,b,y),c(b,y)}return p}X(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(p){for(var h=arguments.length,f=Array(h>1?h-1:0),g=1;g<h;g++)f[g-1]=arguments[g];return n.produceWithPatches(p,function(b){return a.apply(void 0,[b].concat(f))})};var c,l,d=n.produce(a,i,function(p,h){c=p,l=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(p){return[p,c,l]}):[d,c,l]},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){ee(o)||X(8),pe(o)&&(o=vl(o));var n=ei(this),a=Mo(this,o,void 0);return a[H].C=!0,Uo(n),a},e.finishDraft=function(o,n){var a=o&&o[H],i=a.A;return Po(i,n),Lo(void 0,i)},e.setAutoFreeze=function(o){this.D=o},e.setUseProxies=function(o){o&&!ai&&X(20),this.O=o},e.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){o=i.value;break}}a>-1&&(n=n.slice(a+1));var c=ie("Patches").$;return pe(o)?c(o,n):this.produce(o,function(l){return c(l,n)})},t}(),Y=new Cl,Al=Y.produce,Wm=Y.produceWithPatches.bind(Y),Hm=Y.setAutoFreeze.bind(Y),Fm=Y.setUseProxies.bind(Y),zm=Y.applyPatches.bind(Y),Gm=Y.createDraft.bind(Y),$m=Y.finishDraft.bind(Y),sr=Al;function Fe(t){"@babel/helpers - typeof";return Fe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Fe(t)}function pi(t,e){if(Fe(t)!="object"||!t)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var n=o.call(t,e||"default");if(Fe(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function fi(t){var e=pi(t,"string");return Fe(e)=="symbol"?e:e+""}function hi(t,e,o){return(e=fi(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function mi(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),o.push.apply(o,n)}return o}function jo(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?mi(Object(o),!0).forEach(function(n){hi(t,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):mi(Object(o)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(o,n))})}return t}function K(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 gi=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ko=function(){return Math.random().toString(36).substring(7).split("").join(".")},lr={INIT:"@@redux/INIT"+Ko(),REPLACE:"@@redux/REPLACE"+Ko(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ko()}};function wl(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 Vo(t,e,o){var n;if(typeof e=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(K(0));if(typeof e=="function"&&typeof o>"u"&&(o=e,e=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(K(1));return o(Vo)(t,e)}if(typeof t!="function")throw new Error(K(2));var a=t,i=e,c=[],l=c,d=!1;function p(){l===c&&(l=c.slice())}function h(){if(d)throw new Error(K(3));return i}function f(v){if(typeof v!="function")throw new Error(K(4));if(d)throw new Error(K(5));var A=!0;return p(),l.push(v),function(){if(A){if(d)throw new Error(K(6));A=!1,p();var R=l.indexOf(v);l.splice(R,1),c=null}}}function g(v){if(!wl(v))throw new Error(K(7));if(typeof v.type>"u")throw new Error(K(8));if(d)throw new Error(K(9));try{d=!0,i=a(i,v)}finally{d=!1}for(var A=c=l,C=0;C<A.length;C++){var R=A[C];R()}return v}function b(v){if(typeof v!="function")throw new Error(K(10));a=v,g({type:lr.REPLACE})}function y(){var v,A=f;return v={subscribe:function(R){if(typeof R!="object"||R===null)throw new Error(K(11));function O(){R.next&&R.next(h())}O();var E=A(O);return{unsubscribe:E}}},v[gi]=function(){return this},v}return g({type:lr.INIT}),n={dispatch:g,subscribe:f,getState:h,replaceReducer:b},n[gi]=y,n}function Rl(t){Object.keys(t).forEach(function(e){var o=t[e],n=o(void 0,{type:lr.INIT});if(typeof n>"u")throw new Error(K(12));if(typeof o(void 0,{type:lr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(K(13))})}function yi(t){for(var e=Object.keys(t),o={},n=0;n<e.length;n++){var a=e[n];typeof t[a]=="function"&&(o[a]=t[a])}var i=Object.keys(o),c,l;try{Rl(o)}catch(d){l=d}return function(p,h){if(p===void 0&&(p={}),l)throw l;if(0)var f;for(var g=!1,b={},y=0;y<i.length;y++){var v=i[y],A=o[v],C=p[v],R=A(C,h);if(typeof R>"u"){var O=h&&h.type;throw new Error(K(14))}b[v]=R,g=g||R!==C}return g=g||i.length!==Object.keys(p).length,g?b:p}}function at(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function bi(){for(var t=arguments.length,e=new Array(t),o=0;o<t;o++)e[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(K(15))},c={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=e.map(function(d){return d(c)});return i=at.apply(void 0,l)(a.dispatch),jo(jo({},a),{},{dispatch:i})}}}function xi(t){var e=function(n){var a=n.dispatch,i=n.getState;return function(c){return function(l){return typeof l=="function"?l(a,i,t):c(l)}}};return e}var vi=xi();vi.withExtraArgument=xi;var Zo=vi;var Ai=function(){var t=function(e,o){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,o)};return function(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");t(e,o);function n(){this.constructor=e}e.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),Nl=function(t,e){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,c;return c={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function l(p){return function(h){return d([p,h])}}function d(p){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(i=p[0]&2?a.return:p[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,p[1])).done)return i;switch(a=0,i&&(p=[p[0]&2,i.value]),p[0]){case 0:case 1:i=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,a=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!i||p[1]>i[0]&&p[1]<i[3])){o.label=p[1];break}if(p[0]===6&&o.label<i[1]){o.label=i[1],i=p;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(p);break}i[2]&&o.ops.pop(),o.trys.pop();continue}p=e.call(t,o)}catch(h){p=[6,h],a=0}finally{n=i=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},it=function(t,e){for(var o=0,n=e.length,a=t.length;o<n;o++,a++)t[a]=e[o];return t},_l=Object.defineProperty,Tl=Object.defineProperties,Pl=Object.getOwnPropertyDescriptors,Si=Object.getOwnPropertySymbols,Ll=Object.prototype.hasOwnProperty,Il=Object.prototype.propertyIsEnumerable,Oi=function(t,e,o){return e in t?_l(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o},Ee=function(t,e){for(var o in e||(e={}))Ll.call(e,o)&&Oi(t,o,e[o]);if(Si)for(var n=0,a=Si(e);n<a.length;n++){var o=a[n];Il.call(e,o)&&Oi(t,o,e[o])}return t},qo=function(t,e){return Tl(t,Pl(e))},kl=function(t,e,o){return new Promise(function(n,a){var i=function(d){try{l(o.next(d))}catch(p){a(p)}},c=function(d){try{l(o.throw(d))}catch(p){a(p)}},l=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(i,c)};l((o=o.apply(t,e)).next())})};var Dl=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?at:at.apply(null,arguments)},sg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Ul(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 Ml=function(t){Ai(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=t.apply(this,o)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,it([void 0],o[0].concat(this)))):new(e.bind.apply(e,it([void 0],o.concat(this))))},e}(Array),Bl=function(t){Ai(e,t);function e(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=t.apply(this,o)||this;return Object.setPrototypeOf(a,e.prototype),a}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return t.prototype.concat.apply(this,o)},e.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(e.bind.apply(e,it([void 0],o[0].concat(this)))):new(e.bind.apply(e,it([void 0],o.concat(this))))},e}(Array);function Jo(t){return ee(t)?sr(t,function(){}):t}function Wl(t){return typeof t=="boolean"}function Hl(){return function(e){return Fl(e)}}function Fl(t){t===void 0&&(t={});var e=t.thunk,o=e===void 0?!0:e,n=t.immutableCheck,a=n===void 0?!0:n,i=t.serializableCheck,c=i===void 0?!0:i,l=new Ml;if(o&&(Wl(o)?l.push(Zo):l.push(Zo.withExtraArgument(o.extraArgument))),0){if(a)var d;if(c)var p}return l}var Yo=!0;function wi(t){var e=Hl(),o=t||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,c=i===void 0?e():i,l=o.devTools,d=l===void 0?!0:l,p=o.preloadedState,h=p===void 0?void 0:p,f=o.enhancers,g=f===void 0?void 0:f,b;if(typeof a=="function")b=a;else if(Ul(a))b=yi(a);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var y=c;if(typeof y=="function"&&(y=y(e),!Yo&&!Array.isArray(y)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Yo&&y.some(function(E){return typeof E!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=bi.apply(void 0,y),A=at;d&&(A=Dl(Ee({trace:!Yo},typeof d=="object"&&d)));var C=new Bl(v),R=C;Array.isArray(g)?R=it([v],g):typeof g=="function"&&(R=g(C));var O=A.apply(void 0,R);return Vo(b,h,O)}function Ce(t,e){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(e){var i=e.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return Ee(Ee({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:n[0]}}return o.toString=function(){return""+t},o.type=t,o.match=function(n){return n.type===t},o}function Ri(t){var e={},o=[],n,a={addCase:function(i,c){var l=typeof i=="string"?i:i.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=c,a},addMatcher:function(i,c){return o.push({matcher:i,reducer:c}),a},addDefaultCase:function(i){return n=i,a}};return t(a),[e,o,n]}function zl(t){return typeof t=="function"}function Gl(t,e,o,n){o===void 0&&(o=[]);var a=typeof e=="function"?Ri(e):[e,o,n],i=a[0],c=a[1],l=a[2],d;if(zl(t))d=function(){return Jo(t())};else{var p=Jo(t);d=function(){return p}}function h(f,g){f===void 0&&(f=d());var b=it([i[g.type]],c.filter(function(y){var v=y.matcher;return v(g)}).map(function(y){var v=y.reducer;return v}));return b.filter(function(y){return!!y}).length===0&&(b=[l]),b.reduce(function(y,v){if(v)if(pe(y)){var A=y,C=v(A,g);return C===void 0?y:C}else{if(ee(y))return sr(y,function(R){return v(R,g)});var C=v(y,g);if(C===void 0){if(y===null)return y;throw Error("A case reducer on a non-draftable value must not return undefined")}return C}return y},f)}return h.getInitialState=d,h}function $l(t,e){return t+"/"+e}function Ni(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:Jo(t.initialState),n=t.reducers||{},a=Object.keys(n),i={},c={},l={};a.forEach(function(h){var f=n[h],g=$l(e,h),b,y;"reducer"in f?(b=f.reducer,y=f.prepare):b=f,i[h]=b,c[g]=b,l[h]=y?Ce(g,y):Ce(g)});function d(){var h=typeof t.extraReducers=="function"?Ri(t.extraReducers):[t.extraReducers],f=h[0],g=f===void 0?{}:f,b=h[1],y=b===void 0?[]:b,v=h[2],A=v===void 0?void 0:v,C=Ee(Ee({},g),c);return Gl(o,function(R){for(var O in C)R.addCase(O,C[O]);for(var E=0,S=y;E<S.length;E++){var T=S[E];R.addMatcher(T.matcher,T.reducer)}A&&R.addDefaultCase(A)})}var p;return{name:e,reducer:function(h,f){return p||(p=d()),p(h,f)},actions:l,caseReducers:i,getInitialState:function(){return p||(p=d()),p.getInitialState()}}}var jl="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Kl=function(t){t===void 0&&(t=21);for(var e="",o=t;o--;)e+=jl[Math.random()*64|0];return e},Vl=["name","message","stack","code"],Xo=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),Ei=function(){function t(e,o){this.payload=e,this.meta=o}return t}(),Zl=function(t){if(typeof t=="object"&&t!==null){for(var e={},o=0,n=Vl;o<n.length;o++){var a=n[o];typeof t[a]=="string"&&(e[a]=t[a])}return e}return{message:String(t)}},pg=function(){function t(e,o,n){var a=Ce(e+"/fulfilled",function(h,f,g,b){return{payload:h,meta:qo(Ee({},b||{}),{arg:g,requestId:f,requestStatus:"fulfilled"})}}),i=Ce(e+"/pending",function(h,f,g){return{payload:void 0,meta:qo(Ee({},g||{}),{arg:f,requestId:h,requestStatus:"pending"})}}),c=Ce(e+"/rejected",function(h,f,g,b,y){return{payload:b,error:(n&&n.serializeError||Zl)(h||"Rejected"),meta:qo(Ee({},y||{}),{arg:g,requestId:f,rejectedWithValue:!!b,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function p(h){return function(f,g,b){var y=n?.idGenerator?n.idGenerator(h):Kl(),v=new d,A,C=!1;function R(E){A=E,v.abort()}var O=function(){return kl(this,null,function(){var E,S,T,P,L,k,N;return Nl(this,function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),P=(E=n?.condition)==null?void 0:E.call(n,h,{getState:g,extra:b}),Yl(P)?[4,P]:[3,2];case 1:P=m.sent(),m.label=2;case 2:if(P===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return C=!0,L=new Promise(function(x,_){return v.signal.addEventListener("abort",function(){return _({name:"AbortError",message:A||"Aborted"})})}),f(i(y,h,(S=n?.getPendingMeta)==null?void 0:S.call(n,{requestId:y,arg:h},{getState:g,extra:b}))),[4,Promise.race([L,Promise.resolve(o(h,{dispatch:f,getState:g,extra:b,requestId:y,signal:v.signal,abort:R,rejectWithValue:function(x,_){return new Xo(x,_)},fulfillWithValue:function(x,_){return new Ei(x,_)}})).then(function(x){if(x instanceof Xo)throw x;return x instanceof Ei?a(x.payload,y,h,x.meta):a(x,y,h)})])];case 3:return T=m.sent(),[3,5];case 4:return k=m.sent(),T=k instanceof Xo?c(null,y,h,k.payload,k.meta):c(k,y,h),[3,5];case 5:return N=n&&!n.dispatchConditionRejection&&c.match(T)&&T.meta.condition,N||f(T),[2,T]}})})}();return Object.assign(O,{abort:R,requestId:y,arg:h,unwrap:function(){return O.then(ql)}})}}return Object.assign(p,{pending:i,rejected:c,fulfilled:a,typePrefix:e})}return t.withTypes=function(){return t},t}();function ql(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Yl(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var _i="listener",Ti="completed",Pi="cancelled",fg="task-"+Pi,hg="task-"+Ti,mg=_i+"-"+Pi,gg=_i+"-"+Ti;var Qo="listenerMiddleware";var yg=Ce(Qo+"/add"),bg=Ce(Qo+"/removeAll"),xg=Ce(Qo+"/remove");var Ci,vg=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Ci||(Ci=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Xl=function(t){return function(e){setTimeout(e,t)}},Sg=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Xl(10);li();window.ftReduxStores||(window.ftReduxStores={});var en=class t extends Ie{static get(e){var o;let n=typeof e=="string"?e:e.name,a=typeof e=="string"?void 0:e,i=window.ftReduxStores[n];if(Be(i))return i;if(a==null)return;let c=Ni({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),l=wi({reducer:(d,p)=>p.type==="CLEAR_FT_REDUX_STORE"?c.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...p.overwrites}:c.reducer(d,p)});return window.ftReduxStores[a.name]=new t(c,l,a.eventBus)}constructor(e,o,n){super(),this.reduxSlice=e,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new It;let a=i=>i!=null?JSON.parse(JSON.stringify(i)):i;this.actions=new Proxy(this.reduxSlice.actions,{get:(i,c,l)=>{let d=c,p=i[d];return p?(...h)=>{let f=p(...h.map(a));return this.reduxStore.dispatch(f),f}:h=>{this.setState({[d]:a(h)})}}}),this.eventBus=n??this.eventBus}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 Jl(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))Be(e)&&e.clear()}var dr=class{constructor(e,o,n){this.store=e,this.valueSelector=o,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),o=this.valueSelector(e);ke(this.lastValue,o)&&(this.callback(o,e),this.lastValue=o)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function Ql(t,e,o){return new dr(t,e,o).watch()}var nn={};U(nn,{scrollHelper:()=>ed});var rn,ur=new Map,on=class{lock(e,o){if(o){let n=ur.get(o);if(n==null||n===e)return ur.set(o,e),o}}release(e,o){o&&ur.get(o)===e&&ur.delete(o)}findFirstScrollableParent(e){var o;let n,a;for(let i of Zr(e)){let c=i,l=this.elementCanScroll(c);if(l&&c.clientHeight&&c.clientHeight<c.scrollHeight){n=c;break}else l&&a==null&&(a=c)}return(o=n??a)!==null&&o!==void 0?o:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,o){var n,a;let i=0;for(;o&&o.offsetParent!==e.offsetParent;)i+=(n=o.offsetTop)!==null&&n!==void 0?n:0,o=o.offsetParent;return i+((a=o?.offsetTop)!==null&&a!==void 0?a:0)-e.offsetTop}computeTopOffsetRatio(e,o){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return o;default:return 0}}scrollIntoViewIfPossible(e,o){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let a=this.getAbsoluteScrollOffset(n,e),i=a-n.clientHeight+e.clientHeight,c=a,l=Et(0,(c-n.scrollTop)/(c-i),1),d=this.computeTopOffsetRatio(o?.position,l)*(i-c)+c;n.scrollTo({behavior:o?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(rn=window.FluidTopicsScrollHelper)!==null&&rn!==void 0?rn:new on;var ed=window.FluidTopicsScrollHelper;var cn={};U(cn,{SearchPlaceConverter:()=>hr,SearchPlaceQueryParams:()=>M,isSearchPlaceQueryParams:()=>sc,serializeRequest:()=>od});var td=Sc(Ii(),1);var ki;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(ki||(ki={}));var Di;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Di||(Di={}));var Ui;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.MAP_ATTACHMENT="MAP_ATTACHMENT",t.RESOURCE="RESOURCE"})(Ui||(Ui={}));var Mi;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.MAP_ATTACHMENT="MAP_ATTACHMENT",t.RESOURCE="RESOURCE"})(Mi||(Mi={}));var Bi;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Bi||(Bi={}));var Wi;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(Wi||(Wi={}));var Hi;(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.DOCUMENT__DISPLAY="DOCUMENT__DISPLAY",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.GEN_AI__COMPLETED_QUERY="GEN_AI__COMPLETED_QUERY",t.GEN_AI__RATE="GEN_AI__RATE",t.GENAI_CASE_DEFLECTION__START="GENAI_CASE_DEFLECTION__START",t.GENAI_CASE_DEFLECTION__OPEN_TICKET="GENAI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",t.TOPIC__DISPLAY="TOPIC__DISPLAY",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(Hi||(Hi={}));var Fi;(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"})(Fi||(Fi={}));var zi;(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"})(zi||(zi={}));var Gi;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Gi||(Gi={}));var $i;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})($i||($i={}));var ji;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(ji||(ji={}));var Ki;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Ki||(Ki={}));var Vi;(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"})(Vi||(Vi={}));var Zi;(function(t){t.ASC="ASC",t.DESC="DESC"})(Zi||(Zi={}));var qi;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(qi||(qi={}));var an;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(an||(an={}));var rc=t=>Object.keys(an).includes(t);var Yi;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Yi||(Yi={}));var Xi;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Xi||(Xi={}));var Ji;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Ji||(Ji={}));var st;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(st||(st={}));var oc=t=>Object.keys(st).includes(t);var Qi;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(Qi||(Qi={}));var ec;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(ec||(ec={}));var $;(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.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_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.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})($||($={}));var tc;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(tc||(tc={}));var nc;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(nc||(nc={}));var ac;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(ac||(ac={}));var ic;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(ic||(ic={}));var zg={[$.PERSONAL_BOOK_SHARE_USER]:[$.PERSONAL_BOOK_USER],[$.HTML_EXPORT_USER]:[$.PERSONAL_BOOK_USER],[$.PDF_EXPORT_USER]:[$.PERSONAL_BOOK_USER],[$.KHUB_ADMIN]:[$.CONTENT_PUBLISHER],[$.ADMIN]:[$.KHUB_ADMIN,$.USERS_ADMIN,$.PORTAL_ADMIN],[$.GENERATIVE_AI_EXPORT_USER]:[$.GENERATIVE_AI_USER]};function rd(t){return`"${t}"`}function cc(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function od(t,e){return new hr(t).serialize(e)}var M;(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",t.PER_PAGE="per-page"})(M||(M={}));var nd=new Set(Object.values(M));function sc(t){return nd.has(t)}var hr=class{constructor(e,o={},n=20,a=!1,i="en-US"){this.baseUrl=e,this.predefinedSorts=o,this.defaultPerPage=n,this.allLanguagesAllowed=a,this.defaultContentLocale=i,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(e,o){return this.serializeToCurrentPageIfPossible(e,o??"/search")}serializeToCurrentPageIfPossible(e,o){let n=o==null||o.trim().length===0,a=new URL(n?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${o}`);return a.search=this.toURLSearchParams(e),a.toString()}toURLSearchParams(e,o=!1){var n,a,i,c,l,d,p,h,f,g,b,y;let v=new URLSearchParams;e.contentLocale?(!o||e.contentLocale!==this.defaultContentLocale)&&v.append(M.LOCALE,e.contentLocale):v.append(M.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&v.append(M.QUERY,e.query);let A=(i=(a=e.metadataFilters)===null||a===void 0?void 0:a.filter(S=>S.valueFilter&&!S.valueFilter.negative))!==null&&i!==void 0?i:[];if(A.length>0){let S=A.map(T=>{var P,L;let k=((L=(P=T.valueFilter)===null||P===void 0?void 0:P.values)!==null&&L!==void 0?L:[]).map(N=>this.escapeFilters(N)).map(N=>rd(cc(N))).join("_");return`${T.key}~${k}`}).join("*");v.append(M.VALUE_FILTERS,S)}let C=(l=(c=e.metadataFilters)===null||c===void 0?void 0:c.filter(S=>S.dateFilter))!==null&&l!==void 0?l:[];if(C.length>0){let S=C.map(T=>{var P;return`${T.key}~${(P=T.dateFilter)===null||P===void 0?void 0:P.type.toLowerCase()}`}).join("*");v.append(M.DATE_FILTERS,S)}let R=(p=(d=e.metadataFilters)===null||d===void 0?void 0:d.filter(S=>S.rangeFilter))!==null&&p!==void 0?p:[];if(R.length>0){let S=R.map(T=>{var P,L;return`${T.key}~${(P=T.rangeFilter)===null||P===void 0?void 0:P.from}_${(L=T.rangeFilter)===null||L===void 0?void 0:L.to}`}).join("*");v.append(M.RANGE_FILTERS,S)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&v.append(M.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&v.append(M.SCOPE,e.scope.toLowerCase()),((h=e.sort)===null||h===void 0?void 0:h.length)>0&&e.sort[0].key==="ft:lastEdition"&&v.append(M.SORT,"last_update"),!((f=e.paging)===null||f===void 0)&&f.perPage&&((b=(g=e.paging)===null||g===void 0?void 0:g.perPage)!==null&&b!==void 0?b:this.defaultPerPage)!=this.defaultPerPage&&v.append(M.PER_PAGE,String(e.paging.perPage));let O=(y=e.otherQueryParams)!==null&&y!==void 0?y:{};for(let S in O)v.append(S,O[S]);let E=new Array;return v.forEach((S,T)=>{E.push(this.encodeQueryString(T)+"="+this.encodeQueryString(S))}),encodeURI(E.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var o;let n=e.split("?"),a=this.fromURLSearchParams(n.slice(1).join("?")),i=n[0].split("/search/")[1];return i==null?a:{...a,scope:(o=this.scopeMapping[i])!==null&&o!==void 0?o:a.scope}}fromURLSearchParams(e){var o,n,a,i,c,l,d,p;try{e=decodeURI(e).replace(/%23/g,"#")}catch(C){console.warn("Could not decode search request query params, fallback on raw value",C)}let h=new URLSearchParams(e),f=h.get(M.LOCALE)==="all"?void 0:h.get(M.LOCALE),g=((o=h.get(M.VIRTUAL_FIELD))!==null&&o!==void 0?o:"EVERYWHERE").toUpperCase(),b=((n=h.get(M.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),y=(a=h.get(M.SCOPE))!==null&&a!==void 0?a:"default",v=+((i=h.get(M.PER_PAGE))!==null&&i!==void 0?i:this.defaultPerPage),A={};for(let C of h.keys())sc(C)||(A[C]=h.get(C));return{contentLocale:f??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(c=h.get(M.QUERY))!==null&&c!==void 0?c:"",scope:(l=this.scopeMapping[y])!==null&&l!==void 0?l:"DEFAULT",virtualField:rc(g)?g:"EVERYWHERE",sort:(p=(d=this.predefinedSorts[b])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&p!==void 0?p:[],metadataFilters:this.parseCompatFilters(h),facets:[],paging:{page:1,perPage:Et(1,isNaN(v)?this.defaultPerPage:v,1e3)},otherQueryParams:A}}parseCompatFilters(e){var o,n,a,i,c,l;let d=[];return e.has(M.FILTERS)&&(d=this.parseValueFilters((o=e.get(M.FILTERS))!==null&&o!==void 0?o:"")),(n=e.has(M.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((a=e.get(M.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...d,...this.parseValueFilters((i=e.get(M.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((c=e.get(M.DATE_FILTERS))!==null&&c!==void 0?c:""),...this.parseRangeFilters((l=e.get(M.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(e){return this.superEscapeFilters(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(cc).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],dateFilter:{type:st[o[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:this.splitUnknownFilter(e).map(o=>({key:o[0],rangeFilter:{from:o[1].split("_")[0],to:o[1].split("_")[1]}}))}escapeFilters(e){for(let[o,n,a]of this.filtersEscapeMapping)e=e.replaceAll(o,n);return e}superEscapeFilters(e){for(let[o,n,a]of this.filtersEscapeMapping)e=e.replaceAll(n,a);return e}unescapeFilterValue(e){for(let[o,n,a]of this.filtersEscapeMapping)e=e.replace(a,o);return e}parseLegacyPeriodFilter(e){if(oc(e))return[{key:"ft:lastEdition",dateFilter:{type:st[e]}}];if(e.startsWith("CUSTOM_")){let[o,n,a]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:a}}]}return[]}};var ln={};U(ln,{toFtFormComponent:()=>ad});var sn=Symbol("elementInternals");function ad(t){class e extends t{static get formAssociated(){return!0}get form(){return this[sn].form}constructor(...n){super(n),this[sn]=this.attachInternals()}setFormValue(n){this[sn].setFormValue(n)}}return e}var un={};U(un,{DateFormatter:()=>dn});var dn=class{static format(e,o,n,a){return window.moment?window.moment(e).locale(o).format(this.getDateFormat(n,a)):e}static getDateFormat(e,o){return e?o?"lll":"ll":o?"L LT":"L"}};var fn={};U(fn,{ALL_KEYS_VALUE:()=>pn,SameWindowStorageEvent:()=>lt});var pn="__all__",lt=class extends CustomEvent{constructor(e,o,n){super("same-window-storage",{detail:{key:e,oldValue:o,newValue:n}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==pn}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(t,e,o){let n=e.getItem(o[0]);Reflect.apply(t,e,o),window.dispatchEvent(new lt(o[0],n,o[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(t,e,o){let n=e.getItem(o[0]);Reflect.apply(t,e,o),window.dispatchEvent(new lt(o[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,o){Reflect.apply(t,e,o),window.dispatchEvent(new lt(pn))}});var mn={};U(mn,{FocusMainContentEvent:()=>hn});var hn=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var lc={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1};function id(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0)}function cd(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}document.addEventListener("keydown",id);document.addEventListener("click",cd);var dc=F`
|
|
49
49
|
.sr-only {
|
|
50
50
|
position:absolute;
|
|
51
51
|
left:-10000px;
|
|
@@ -69,7 +69,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
69
69
|
width:auto;
|
|
70
70
|
height:auto;
|
|
71
71
|
}
|
|
72
|
-
`;var lc;(function(t){t.blur="blur",t.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",t.input="input"})(lc||(lc={}));var dc;(function(t){t.default="default",t.warning="warning",t.error="error"})(dc||(dc={}));var hn,mn,gn,yn,ad=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((gn=(mn=(hn=window.safari)===null||hn===void 0?void 0:hn.pushNotification)===null||mn===void 0?void 0:mn.toString())!==null&&gn!==void 0?gn:"")==="[object SafariRemoteNotification]",id="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(yn=window.ftGlobals)!==null&&yn!==void 0?yn:{lit:Rr,litDecorators:_r,litRepeat:Tr,litClassMap:Pr,litStyleMap:Lr,litUnsafeHTML:kr,wcUtils:{...zr,...Ur,...jr,...ln,...Kr,...Xr,...to,...Hr,...go,...fn,...cc,...rn,...eo,...Oo,...cn,...vo,...Ka,...Zr,...Co,...wo,...sc,...Za,...No,...Qo,...un,...yo,...xo,...nn,isSafari:ad,isTouchScreen:id,setVariable:Ze}};var hr;(function(t){t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.BOOKS="",t.MENU="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.HOME="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.EXPORT="",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.USER="",t.EXTLINK="",t.CALENDAR="",t.OFFLINE="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.STAR_PLAIN="",t.TOPICS="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN="",t.ADMIN_KHUB="",t.ADMIN_THEME="",t.ADMIN_USERS="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.INFO="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.FACET_HAS_DESCENDANT="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.THIN_ARROW="",t.SIGN_IN="",t.LOGOUT="",t.TRANSLATE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.ARTICLE="",t.COLUMNS="",t.ANALYTICS="",t.COLLECTIONS="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SEARCH_IN_PUBLICATION="",t.COPY_TO_CLIPBOARD="",t.SHARED_PBK="",t.ATTACHMENTS="",t.STRIPE_ARROW_LEFT="",t.STRIPE_ARROW_RIGHT="",t.FILTERS="",t.DOT="",t.MINUS="",t.PLUS="",t.MAILS_AND_NOTIFICATIONS="",t.SAVE="",t.LOCKER="",t.ADMIN_INTEGRATION="",t.SYNC="",t.TAG="",t.BOOK_PLAIN="",t.UPLOAD="",t.ONLINE="",t.TAG_PLAIN="",t.ACCOUNT_SETTINGS="",t.PRINT="",t.DEFAULT_ROLES="",t.SHORTCUT_MENU="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.PAUSE="",t.PLAY="",t.ADMIN_PORTAL="",t.STAR="",t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.FEEDBACK_PLAIN="",t.RATE_PLAIN="",t.RATE="",t.OFFLINE_SETTINGS="",t.MY_COLLECTIONS="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.RESET="",t.MY_LIBRARY="",t.UNSTRUCTURED_DOC="",t.CONTEXTUAL="",t.THIN_ARROW_UP="",t.ARROW_RIGHT_TO_LINE="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_STACKED="",t.CHART_BAR_GROUPED="",t.EYE_SLASH="",t.X_MARK="",t.EXPAND_WIDE="",t.PIP="",t.PIP_WIDE="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.EXTLINK_LIGHT="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CHART_BAR_NORMALIZED="",t.CONSUMER="",t.OCTAGON_XMARK="",t.HOURGLASS_HALF="",t.CLOCK="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE="",t.CIRCLE_STOP="",t.ARROW_ROTATE_RIGHT="",t.ARROWS_ROTATE="",t.ALIGN_RIGHT="",t.FORMAT_CLEAR="",t.ALIGN_CENTER="",t.ALIGN_LEFT="",t.PALETTE="",t.BOLD="",t.ITALIC="",t.UNDERLINE="",t.STRIKETHROUGH="",t.LINK_SIMPLE_SLASH="",t.LINK_SIMPLE="",t.ROUTE="",t.CIRCLE_USER_SLASH="",t.CIRCLE_USER_CHECK="",t.LIST_MAGNIFYING_GLASS="",t.MEDAL="",t.THUMBS_UP_THUMBS_DOWN_SOLID="",t.ARROW_TURN_DOWN_RIGHT="",t.FLASK="",t.LOCK_KEYHOLE_OPEN_SOLID="",t.HOURGLASS_END="",t.CIRCLE_QUESTION="",t.GRIP_LINES_SOLID="",t.TRANSLATE_SPARKLE_SOLID="",t.CODE="",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",t.PAPER_PLANE_SLASH="",t.COMPRESS="",t.EXPAND="",t.ARROW_ROTATE_LEFT="",t.EYE="",t.SHARE="󨃱",t.MOBILE_SMALL="",t.SPARKLES="",t.HAND_SOLID="",t.CLOCK_SOLID="",t.CONTEXT_MENU_CURSOR=""})(hr||(hr={}));var w;(function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""})(w||(w={}));var bn=new Map([...["abw"].map(t=>[t,w.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,w.AUDIO]),...["avi"].map(t=>[t,w.AVI]),...["chm","xhs"].map(t=>[t,w.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,w.CODE]),...["csv"].map(t=>[t,w.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,w.DITA]),...["epub"].map(t=>[t,w.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,w.EXCEL]),...["flac"].map(t=>[t,w.FLAC]),...["gif"].map(t=>[t,w.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,w.GZIP]),...["html","htm","xhtml"].map(t=>[t,w.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,w.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,w.JPEG]),...["json"].map(t=>[t,w.JSON]),...["m4a","m4p"].map(t=>[t,w.M4A]),...["mov","qt"].map(t=>[t,w.MOV]),...["mp3"].map(t=>[t,w.MP3]),...["mp4","m4v"].map(t=>[t,w.MP4]),...["ogg","oga"].map(t=>[t,w.OGG]),...["pdf","ps"].map(t=>[t,w.PDF]),...["png"].map(t=>[t,w.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,w.POWERPOINT]),...["rar"].map(t=>[t,w.RAR]),...["stp"].map(t=>[t,w.STP]),...["txt","rtf","md","mdown"].map(t=>[t,w.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,w.VIDEO]),...["wav"].map(t=>[t,w.WAV]),...["wma"].map(t=>[t,w.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,w.WORD]),...["xml","xsl","rdf"].map(t=>[t,w.XML]),...["yaml","yml","x-yaml"].map(t=>[t,w.YAML]),...["zip"].map(t=>[t,w.ZIP])]),cd=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);function Vy(t,e){var o,n,a,i;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[c,l]=(((o=cd.get(t))!==null&&o!==void 0?o:t)+"/").split("/");return(i=(a=(n=bn.get(l))!==null&&n!==void 0?n:bn.get(e))!==null&&a!==void 0?a:bn.get(c))!==null&&i!==void 0?i:w.UNKNOWN}var Zy={[w.ABW]:"#91ABC6",[w.AUDIO]:"#1795E3",[w.AVI]:"#E63324",[w.CHM]:"#71C3EB",[w.CODE]:"#71C3EB",[w.CSV]:"#1F7345",[w.DITA]:"#71C3EB",[w.EPUB]:"#85B926",[w.EXCEL]:"#1F7345",[w.FLAC]:"#1795E3",[w.GIF]:"#59B031",[w.GZIP]:"#F8AB36",[w.HTML]:"#71C3EB",[w.IMAGE]:"#59B031",[w.JPEG]:"#59B031",[w.JSON]:"#71C3EB",[w.M4A]:"#1795E3",[w.MOV]:"#E63324",[w.MP3]:"#1795E3",[w.MP4]:"#E63324",[w.OGG]:"#1795E3",[w.PDF]:"#E44948",[w.PNG]:"#59B031",[w.POWERPOINT]:"#B54A2B",[w.RAR]:"#F8AB36",[w.STP]:"#3764B1",[w.TEXT]:"#3162AB",[w.UNKNOWN]:"#999999",[w.VIDEO]:"#E63324",[w.WAV]:"#1795E3",[w.WMA]:"#1795E3",[w.WORD]:"#3162AB",[w.XML]:"#71C3EB",[w.YAML]:"#71C3EB",[w.ZIP]:"#F8AB36"};var fe={size:r.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:r.extend("--ft-icon-fluid-topics-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:r.extend("--ft-icon-file-format-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:r.extend("--ft-icon-material-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:r.create("--ft-icon-vertical-align","","UNKNOWN","unset")},uc=[F`
|
|
72
|
+
`;var uc;(function(t){t.blur="blur",t.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",t.input="input"})(uc||(uc={}));var pc;(function(t){t.default="default",t.warning="warning",t.error="error"})(pc||(pc={}));var gn,yn,bn,xn,sd=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((bn=(yn=(gn=window.safari)===null||gn===void 0?void 0:gn.pushNotification)===null||yn===void 0?void 0:yn.toString())!==null&&bn!==void 0?bn:"")==="[object SafariRemoteNotification]",ld="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(xn=window.ftGlobals)!==null&&xn!==void 0?xn:{lit:Nr,litDecorators:Tr,litRepeat:Pr,litClassMap:Lr,litStyleMap:Ir,litUnsafeHTML:Dr,wcUtils:{...Gr,...Mr,...Kr,...un,...Vr,...Jr,...ro,...Fr,...bo,...mn,...lc,...nn,...to,...Co,...ln,...Oo,...Za,...qr,...wo,...oo,...No,...dc,...Ya,...To,...tn,...fn,...xo,...So,...cn,isSafari:sd,isTouchScreen:ld,setVariable:Ze}};var mr;(function(t){t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.BOOKS="",t.MENU="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.HOME="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.EXPORT="",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.USER="",t.EXTLINK="",t.CALENDAR="",t.OFFLINE="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.STAR_PLAIN="",t.TOPICS="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN="",t.ADMIN_KHUB="",t.ADMIN_THEME="",t.ADMIN_USERS="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.INFO="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.FACET_HAS_DESCENDANT="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.THIN_ARROW="",t.SIGN_IN="",t.LOGOUT="",t.TRANSLATE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.ARTICLE="",t.COLUMNS="",t.ANALYTICS="",t.COLLECTIONS="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SEARCH_IN_PUBLICATION="",t.COPY_TO_CLIPBOARD="",t.SHARED_PBK="",t.ATTACHMENTS="",t.STRIPE_ARROW_LEFT="",t.STRIPE_ARROW_RIGHT="",t.FILTERS="",t.DOT="",t.MINUS="",t.PLUS="",t.MAILS_AND_NOTIFICATIONS="",t.SAVE="",t.LOCKER="",t.ADMIN_INTEGRATION="",t.SYNC="",t.TAG="",t.BOOK_PLAIN="",t.UPLOAD="",t.ONLINE="",t.TAG_PLAIN="",t.ACCOUNT_SETTINGS="",t.PRINT="",t.DEFAULT_ROLES="",t.SHORTCUT_MENU="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.PAUSE="",t.PLAY="",t.ADMIN_PORTAL="",t.STAR="",t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.FEEDBACK_PLAIN="",t.RATE_PLAIN="",t.RATE="",t.OFFLINE_SETTINGS="",t.MY_COLLECTIONS="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.RESET="",t.MY_LIBRARY="",t.UNSTRUCTURED_DOC="",t.CONTEXTUAL="",t.THIN_ARROW_UP="",t.ARROW_RIGHT_TO_LINE="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_STACKED="",t.CHART_BAR_GROUPED="",t.EYE_SLASH="",t.X_MARK="",t.EXPAND_WIDE="",t.PIP="",t.PIP_WIDE="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.EXTLINK_LIGHT="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CHART_BAR_NORMALIZED="",t.CONSUMER="",t.OCTAGON_XMARK="",t.HOURGLASS_HALF="",t.CLOCK="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE="",t.CIRCLE_STOP="",t.ARROW_ROTATE_RIGHT="",t.ARROWS_ROTATE="",t.ALIGN_RIGHT="",t.FORMAT_CLEAR="",t.ALIGN_CENTER="",t.ALIGN_LEFT="",t.PALETTE="",t.BOLD="",t.ITALIC="",t.UNDERLINE="",t.STRIKETHROUGH="",t.LINK_SIMPLE_SLASH="",t.LINK_SIMPLE="",t.ROUTE="",t.CIRCLE_USER_SLASH="",t.CIRCLE_USER_CHECK="",t.LIST_MAGNIFYING_GLASS="",t.MEDAL="",t.THUMBS_UP_THUMBS_DOWN_SOLID="",t.ARROW_TURN_DOWN_RIGHT="",t.FLASK="",t.LOCK_KEYHOLE_OPEN_SOLID="",t.HOURGLASS_END="",t.CIRCLE_QUESTION="",t.GRIP_LINES_SOLID="",t.TRANSLATE_SPARKLE_SOLID="",t.CODE="",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="",t.PAPER_PLANE_SLASH="",t.COMPRESS="",t.EXPAND="",t.ARROW_ROTATE_LEFT="",t.EYE="",t.SHARE="󨃱",t.MOBILE_SMALL="",t.SPARKLES="",t.HAND_SOLID="",t.CLOCK_SOLID="",t.CONTEXT_MENU_CURSOR=""})(mr||(mr={}));var w;(function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""})(w||(w={}));var vn=new Map([...["abw"].map(t=>[t,w.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,w.AUDIO]),...["avi"].map(t=>[t,w.AVI]),...["chm","xhs"].map(t=>[t,w.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,w.CODE]),...["csv"].map(t=>[t,w.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,w.DITA]),...["epub"].map(t=>[t,w.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,w.EXCEL]),...["flac"].map(t=>[t,w.FLAC]),...["gif"].map(t=>[t,w.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,w.GZIP]),...["html","htm","xhtml"].map(t=>[t,w.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,w.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,w.JPEG]),...["json"].map(t=>[t,w.JSON]),...["m4a","m4p"].map(t=>[t,w.M4A]),...["mov","qt"].map(t=>[t,w.MOV]),...["mp3"].map(t=>[t,w.MP3]),...["mp4","m4v"].map(t=>[t,w.MP4]),...["ogg","oga"].map(t=>[t,w.OGG]),...["pdf","ps"].map(t=>[t,w.PDF]),...["png"].map(t=>[t,w.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,w.POWERPOINT]),...["rar"].map(t=>[t,w.RAR]),...["stp"].map(t=>[t,w.STP]),...["txt","rtf","md","mdown"].map(t=>[t,w.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,w.VIDEO]),...["wav"].map(t=>[t,w.WAV]),...["wma"].map(t=>[t,w.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,w.WORD]),...["xml","xsl","rdf"].map(t=>[t,w.XML]),...["yaml","yml","x-yaml"].map(t=>[t,w.YAML]),...["zip"].map(t=>[t,w.ZIP])]),dd=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);function Xy(t,e){var o,n,a,i;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[c,l]=(((o=dd.get(t))!==null&&o!==void 0?o:t)+"/").split("/");return(i=(a=(n=vn.get(l))!==null&&n!==void 0?n:vn.get(e))!==null&&a!==void 0?a:vn.get(c))!==null&&i!==void 0?i:w.UNKNOWN}var Jy={[w.ABW]:"#91ABC6",[w.AUDIO]:"#1795E3",[w.AVI]:"#E63324",[w.CHM]:"#71C3EB",[w.CODE]:"#71C3EB",[w.CSV]:"#1F7345",[w.DITA]:"#71C3EB",[w.EPUB]:"#85B926",[w.EXCEL]:"#1F7345",[w.FLAC]:"#1795E3",[w.GIF]:"#59B031",[w.GZIP]:"#F8AB36",[w.HTML]:"#71C3EB",[w.IMAGE]:"#59B031",[w.JPEG]:"#59B031",[w.JSON]:"#71C3EB",[w.M4A]:"#1795E3",[w.MOV]:"#E63324",[w.MP3]:"#1795E3",[w.MP4]:"#E63324",[w.OGG]:"#1795E3",[w.PDF]:"#E44948",[w.PNG]:"#59B031",[w.POWERPOINT]:"#B54A2B",[w.RAR]:"#F8AB36",[w.STP]:"#3764B1",[w.TEXT]:"#3162AB",[w.UNKNOWN]:"#999999",[w.VIDEO]:"#E63324",[w.WAV]:"#1795E3",[w.WMA]:"#1795E3",[w.WORD]:"#3162AB",[w.XML]:"#71C3EB",[w.YAML]:"#71C3EB",[w.ZIP]:"#F8AB36"};var fe={size:r.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:r.extend("--ft-icon-fluid-topics-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:r.extend("--ft-icon-file-format-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:r.extend("--ft-icon-material-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:r.create("--ft-icon-vertical-align","","UNKNOWN","unset")},fc=[F`
|
|
73
73
|
:host, i.ft-icon {
|
|
74
74
|
display: inline-flex;
|
|
75
75
|
align-items: center;
|
|
@@ -117,12 +117,12 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
117
117
|
.ft-icon--material {
|
|
118
118
|
font-family: ${fe.materialFontFamily}, "Material Icons", sans-serif;
|
|
119
119
|
}
|
|
120
|
-
`,
|
|
120
|
+
`,Ro];var we;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(we||(we={}));var Bt=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(c=t[l])&&(i=(a<3?c(i):a>3?c(e,o,i):c(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},te=class extends Z{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=W}render(){let e=this.variant&&Object.values(we).includes(this.variant)?this.variant:we.fluid_topics,o=e!==we.material||!!this.value;return qt`
|
|
121
121
|
<i class="ft-icon ft-icon--${e} ft-no-text-select" part="icon icon-${e}">
|
|
122
|
-
${
|
|
122
|
+
${kr(this.resolvedIcon)}
|
|
123
123
|
<slot ?hidden=${o}></slot>
|
|
124
124
|
</i>
|
|
125
|
-
`}get textContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(e){super.update(e),["value","variant"].some(o=>e.has(o))&&this.resolveIcon()}resolveIcon(){var e,o;let n=this.value||this.textContent;switch(this.variant){case we.file_format:this.resolvedIcon=(e=w[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case we.material:this.resolvedIcon=this.value||W;break;default:this.resolvedIcon=(o=
|
|
125
|
+
`}get textContent(){var e,o;return(o=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(e){super.update(e),["value","variant"].some(o=>e.has(o))&&this.resolveIcon()}resolveIcon(){var e,o;let n=this.value||this.textContent;switch(this.variant){case we.file_format:this.resolvedIcon=(e=w[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case we.material:this.resolvedIcon=this.value||W;break;default:this.resolvedIcon=(o=mr[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};te.elementDefinitions={};te.styles=fc;Bt([z()],te.prototype,"variant",void 0);Bt([z()],te.prototype,"value",void 0);Bt([z({reflect:!0,attribute:"aria-hidden"})],te.prototype,"ariaHidden",void 0);Bt([je()],te.prototype,"resolvedIcon",void 0);Bt([_r("slot")],te.prototype,"slottedContent",void 0);Yr("ft-icon")(te);})();
|
|
126
126
|
/*! Bundled license information:
|
|
127
127
|
|
|
128
128
|
@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js:
|