@fluid-topics/ft-search-selected-facets 1.1.85 → 1.1.87

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +1,13 @@
1
- "use strict";(()=>{var Od=Object.create;var Tn=Object.defineProperty;var Cd=Object.getOwnPropertyDescriptor;var Ed=Object.getOwnPropertyNames;var wd=Object.getPrototypeOf,Nd=Object.prototype.hasOwnProperty;var Ad=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),ee=(t,e)=>{for(var r in e)Tn(t,r,{get:e[r],enumerable:!0})},Rd=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Ed(e))!Nd.call(t,i)&&i!==r&&Tn(t,i,{get:()=>e[i],enumerable:!(n=Cd(e,i))||n.enumerable});return t};var Id=(t,e,r)=>(r=t!=null?Od(wd(t)):{},Rd(e||!t||!t.__esModule?Tn(r,"default",{value:t,enumerable:!0}):r,t));var lc=Ad(sc=>{(function(t){var e=function(r){var n={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};function i(b){return b&&DataView.prototype.isPrototypeOf(b)}if(n.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(b){return b&&s.indexOf(Object.prototype.toString.call(b))>-1};function c(b){if(typeof b!="string"&&(b=String(b)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(b))throw new TypeError("Invalid character in header field name");return b.toLowerCase()}function d(b){return typeof b!="string"&&(b=String(b)),b}function u(b){var C={next:function(){var L=b.shift();return{done:L===void 0,value:L}}};return n.iterable&&(C[Symbol.iterator]=function(){return C}),C}function y(b){this.map={},b instanceof y?b.forEach(function(C,L){this.append(L,C)},this):Array.isArray(b)?b.forEach(function(C){this.append(C[0],C[1])},this):b&&Object.getOwnPropertyNames(b).forEach(function(C){this.append(C,b[C])},this)}y.prototype.append=function(b,C){b=c(b),C=d(C);var L=this.map[b];this.map[b]=L?L+", "+C:C},y.prototype.delete=function(b){delete this.map[c(b)]},y.prototype.get=function(b){return b=c(b),this.has(b)?this.map[b]:null},y.prototype.has=function(b){return this.map.hasOwnProperty(c(b))},y.prototype.set=function(b,C){this.map[c(b)]=d(C)},y.prototype.forEach=function(b,C){for(var L in this.map)this.map.hasOwnProperty(L)&&b.call(C,this.map[L],L,this)},y.prototype.keys=function(){var b=[];return this.forEach(function(C,L){b.push(L)}),u(b)},y.prototype.values=function(){var b=[];return this.forEach(function(C){b.push(C)}),u(b)},y.prototype.entries=function(){var b=[];return this.forEach(function(C,L){b.push([L,C])}),u(b)},n.iterable&&(y.prototype[Symbol.iterator]=y.prototype.entries);function g(b){if(b.bodyUsed)return Promise.reject(new TypeError("Already read"));b.bodyUsed=!0}function x(b){return new Promise(function(C,L){b.onload=function(){C(b.result)},b.onerror=function(){L(b.error)}})}function S(b){var C=new FileReader,L=x(C);return C.readAsArrayBuffer(b),L}function O(b){var C=new FileReader,L=x(C);return C.readAsText(b),L}function N(b){for(var C=new Uint8Array(b),L=new Array(C.length),Z=0;Z<C.length;Z++)L[Z]=String.fromCharCode(C[Z]);return L.join("")}function k(b){if(b.slice)return b.slice(0);var C=new Uint8Array(b.byteLength);return C.set(new Uint8Array(b)),C.buffer}function _(){return this.bodyUsed=!1,this._initBody=function(b){this._bodyInit=b,b?typeof b=="string"?this._bodyText=b:n.blob&&Blob.prototype.isPrototypeOf(b)?this._bodyBlob=b:n.formData&&FormData.prototype.isPrototypeOf(b)?this._bodyFormData=b:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(b)?this._bodyText=b.toString():n.arrayBuffer&&n.blob&&i(b)?(this._bodyArrayBuffer=k(b.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(b)||l(b))?this._bodyArrayBuffer=k(b):this._bodyText=b=Object.prototype.toString.call(b):this._bodyText="",this.headers.get("content-type")||(typeof b=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(b)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var b=g(this);if(b)return b;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(){return this._bodyArrayBuffer?g(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(S)}),this.text=function(){var b=g(this);if(b)return b;if(this._bodyBlob)return O(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(N(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},n.formData&&(this.formData=function(){return this.text().then(A)}),this.json=function(){return this.text().then(JSON.parse)},this}var U=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function w(b){var C=b.toUpperCase();return U.indexOf(C)>-1?C:b}function E(b,C){C=C||{};var L=C.body;if(b instanceof E){if(b.bodyUsed)throw new TypeError("Already read");this.url=b.url,this.credentials=b.credentials,C.headers||(this.headers=new y(b.headers)),this.method=b.method,this.mode=b.mode,this.signal=b.signal,!L&&b._bodyInit!=null&&(L=b._bodyInit,b.bodyUsed=!0)}else this.url=String(b);if(this.credentials=C.credentials||this.credentials||"same-origin",(C.headers||!this.headers)&&(this.headers=new y(C.headers)),this.method=w(C.method||this.method||"GET"),this.mode=C.mode||this.mode||null,this.signal=C.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&L)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(L)}E.prototype.clone=function(){return new E(this,{body:this._bodyInit})};function A(b){var C=new FormData;return b.trim().split("&").forEach(function(L){if(L){var Z=L.split("="),se=Z.shift().replace(/\+/g," "),X=Z.join("=").replace(/\+/g," ");C.append(decodeURIComponent(se),decodeURIComponent(X))}}),C}function F(b){var C=new y,L=b.replace(/\r?\n[\t ]+/g," ");return L.split(/\r?\n/).forEach(function(Z){var se=Z.split(":"),X=se.shift().trim();if(X){var No=se.join(":").trim();C.append(X,No)}}),C}_.call(E.prototype);function z(b,C){C||(C={}),this.type="default",this.status=C.status===void 0?200:C.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in C?C.statusText:"OK",this.headers=new y(C.headers),this.url=C.url||"",this._initBody(b)}_.call(z.prototype),z.prototype.clone=function(){return new z(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new y(this.headers),url:this.url})},z.error=function(){var b=new z(null,{status:0,statusText:""});return b.type="error",b};var ve=[301,302,303,307,308];z.redirect=function(b,C){if(ve.indexOf(C)===-1)throw new RangeError("Invalid status code");return new z(null,{status:C,headers:{location:b}})},r.DOMException=t.DOMException;try{new r.DOMException}catch{r.DOMException=function(C,L){this.message=C,this.name=L;var Z=Error(C);this.stack=Z.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function Y(b,C){return new Promise(function(L,Z){var se=new E(b,C);if(se.signal&&se.signal.aborted)return Z(new r.DOMException("Aborted","AbortError"));var X=new XMLHttpRequest;function No(){X.abort()}X.onload=function(){var Gr={status:X.status,statusText:X.statusText,headers:F(X.getAllResponseHeaders()||"")};Gr.url="responseURL"in X?X.responseURL:Gr.headers.get("X-Request-URL");var _n="response"in X?X.response:X.responseText;L(new z(_n,Gr))},X.onerror=function(){Z(new TypeError("Network request failed"))},X.ontimeout=function(){Z(new TypeError("Network request failed"))},X.onabort=function(){Z(new r.DOMException("Aborted","AbortError"))},X.open(se.method,se.url,!0),se.credentials==="include"?X.withCredentials=!0:se.credentials==="omit"&&(X.withCredentials=!1),"responseType"in X&&n.blob&&(X.responseType="blob"),se.headers.forEach(function(Gr,_n){X.setRequestHeader(_n,Gr)}),se.signal&&(se.signal.addEventListener("abort",No),X.onreadystatechange=function(){X.readyState===4&&se.signal.removeEventListener("abort",No)}),X.send(typeof se._bodyInit>"u"?null:se._bodyInit)})}return Y.polyfill=!0,t.fetch||(t.fetch=Y,t.Headers=y,t.Request=E,t.Response=z),r.Headers=y,r.Request=E,r.Response=z,r.fetch=Y,Object.defineProperty(r,"__esModule",{value:!0}),r}({})})(typeof self<"u"?self:sc)});if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,n=window.customElements,i=new WeakMap,s=new WeakMap,l=new WeakMap,c=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(w,E){if(w=w.toLowerCase(),this._getDefinition(w)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${w}" 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 A=E.prototype.attributeChangedCallback,F=new Set(E.observedAttributes||[]);x(E,F,A);let z={elementClass:E,connectedCallback:E.prototype.connectedCallback,disconnectedCallback:E.prototype.disconnectedCallback,adoptedCallback:E.prototype.adoptedCallback,attributeChangedCallback:A,formAssociated:E.formAssociated,formAssociatedCallback:E.prototype.formAssociatedCallback,formDisabledCallback:E.prototype.formDisabledCallback,formResetCallback:E.prototype.formResetCallback,formStateRestoreCallback:E.prototype.formStateRestoreCallback,observedAttributes:F};this._definitionsByTag.set(w,z),this._definitionsByClass.set(E,z);let ve=r.call(n,w);ve||(ve=g(w),e.call(n,w,ve)),this===window.customElements&&(l.set(E,z),z.standInClass=ve);let Y=this._awaitingUpgrade.get(w);if(Y){this._awaitingUpgrade.delete(w);for(let C of Y)s.delete(C),O(C,z,!0)}let b=this._whenDefinedPromises.get(w);return b!==void 0&&(b.resolve(E),this._whenDefinedPromises.delete(w)),E}upgrade(){k.push(this),n.upgrade.apply(n,arguments),k.pop()}get(w){return this._definitionsByTag.get(w)?.elementClass}_getDefinition(w){return this._definitionsByTag.get(w)}whenDefined(w){let E=this._getDefinition(w);if(E!==void 0)return Promise.resolve(E.elementClass);let A=this._whenDefinedPromises.get(w);return A===void 0&&(A={},A.promise=new Promise(F=>A.resolve=F),this._whenDefinedPromises.set(w,A)),A.promise}_upgradeWhenDefined(w,E,A){let F=this._awaitingUpgrade.get(E);F||this._awaitingUpgrade.set(E,F=new Set),A?F.add(w):F.delete(w)}};let d;window.HTMLElement=function(){let E=d;if(E)return d=void 0,E;let A=l.get(this.constructor);if(!A)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return E=Reflect.construct(t,[],A.standInClass),Object.setPrototypeOf(E,this.constructor.prototype),i.set(E,A),E},window.HTMLElement.prototype=t.prototype;let u=w=>w===document||w instanceof ShadowRoot,y=w=>{let E=w.getRootNode();if(!u(E)){let A=k[k.length-1];if(A instanceof CustomElementRegistry)return A;E=A.getRootNode(),u(E)||(E=c.get(E)?.getRootNode()||document)}return E.customElements},g=w=>class{static get formAssociated(){return!0}constructor(){let A=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(A,HTMLElement.prototype);let F=y(A)||window.customElements,z=F._getDefinition(w);return z?O(A,z):s.set(A,F),A}connectedCallback(){let A=i.get(this);A?A.connectedCallback&&A.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,w,!0)}disconnectedCallback(){let A=i.get(this);A?A.disconnectedCallback&&A.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,w,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let A=i.get(this);A&&A.formAssociated&&A?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let A=i.get(this);A?.formAssociated&&A?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let A=i.get(this);A?.formAssociated&&A?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let A=i.get(this);A?.formAssociated&&A?.formStateRestoreCallback?.apply(this,arguments)}},x=(w,E,A)=>{if(E.size===0||A===void 0)return;let F=w.prototype.setAttribute;F&&(w.prototype.setAttribute=function(Y,b){let C=Y.toLowerCase();if(E.has(C)){let L=this.getAttribute(C);F.call(this,C,b),A.call(this,C,L,b)}else F.call(this,C,b)});let z=w.prototype.removeAttribute;z&&(w.prototype.removeAttribute=function(Y){let b=Y.toLowerCase();if(E.has(b)){let C=this.getAttribute(b);z.call(this,b),A.call(this,b,C,null)}else z.call(this,b)});let ve=w.prototype.toggleAttribute;ve&&(w.prototype.toggleAttribute=function(Y,b){let C=Y.toLowerCase();if(E.has(C)){let L=this.getAttribute(C);ve.call(this,C,b);let Z=this.getAttribute(C);A.call(this,C,L,Z)}else ve.call(this,C,b)})},S=w=>{let E=Object.getPrototypeOf(w);if(E!==window.HTMLElement)return E===t?Object.setPrototypeOf(w,window.HTMLElement):S(E)},O=(w,E,A=!1)=>{Object.setPrototypeOf(w,E.elementClass.prototype),i.set(w,E),d=w;try{new E.elementClass}catch{S(E.elementClass),new E.elementClass}E.attributeChangedCallback&&E.observedAttributes.forEach(F=>{w.hasAttribute(F)&&E.attributeChangedCallback.call(w,F,null,w.getAttribute(F))}),A&&E.connectedCallback&&w.isConnected&&E.connectedCallback.call(w)},N=Element.prototype.attachShadow;Element.prototype.attachShadow=function(w){let E=N.apply(this,arguments);return w.customElements&&(E.customElements=w.customElements),E};let k=[document],_=(w,E,A=void 0)=>{let F=(A?Object.getPrototypeOf(A):w.prototype)[E];w.prototype[E]=function(){k.push(this);let z=F.apply(A||this,arguments);return z!==void 0&&c.set(z,this),k.pop(),z}};_(ShadowRoot,"createElement",document),_(ShadowRoot,"importNode",document),_(Element,"insertAdjacentHTML");let U=(w,E)=>{let A=Object.getOwnPropertyDescriptor(w.prototype,E);Object.defineProperty(w.prototype,E,{...A,set(F){k.push(this),A.set.call(this,F),k.pop()}})};if(U(Element,"innerHTML"),U(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let w=new WeakMap,E=HTMLElement.prototype.attachInternals,A=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...Y){let b=E.call(this,...Y);return w.set(b,this),b},A.forEach(Y=>{let b=window.ElementInternals.prototype,C=b[Y];b[Y]=function(...L){let Z=w.get(this);if(i.get(Z).formAssociated===!0)return C?.call(this,...L);throw new DOMException(`Failed to execute ${C} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class F extends Array{constructor(b){super(...b),this._elements=b}get value(){return this._elements.find(b=>b.checked===!0)?.value||""}}class z{constructor(b){let C=new Map;b.forEach((L,Z)=>{let se=L.getAttribute("name"),X=C.get(se)||[];this[+Z]=L,X.push(L),C.set(se,X)}),this.length=b.length,C.forEach((L,Z)=>{L&&(L.length===1?this[Z]=L[0]:this[Z]=new F(L))})}namedItem(b){return this[b]}}let ve=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let Y=ve.get.call(this,[]),b=[];for(let C of Y){let L=i.get(C);(!L||L.formAssociated===!0)&&b.push(C)}return new z(b)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,n,i)=>{if(n!==null)try{e.bind(window.customElements)(r,n,i)}catch(s){console.info(r,n,i,s)}}}var Zn={};ee(Zn,{CSSResult:()=>fr,LitElement:()=>dt,ReactiveElement:()=>Je,_$LE:()=>Qd,_$LH:()=>Yd,adoptStyles:()=>Mo,css:()=>R,defaultConverter:()=>zo,getCompatibleStyle:()=>Jr,html:()=>T,isServer:()=>Pu,noChange:()=>Ot,notEqual:()=>Mn,nothing:()=>G,render:()=>Vn,supportsAdoptingStyleSheets:()=>Xr,svg:()=>qd,unsafeCSS:()=>Ke});var Ao=globalThis,Io=Ao.ShadowRoot&&(Ao.ShadyCSS===void 0||Ao.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ss=Symbol(),as=new WeakMap,Ro=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==ss)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(Io&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=as.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&as.set(r,e))}return e}toString(){return this.cssText}},ls=t=>new Ro(typeof t=="string"?t:t+"",void 0,ss);var $n=(t,e)=>{if(Io)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=Ao.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},Lo=Io?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return ls(r)})(t):t;var{is:Ld,defineProperty:Pd,getOwnPropertyDescriptor:kd,getOwnPropertyNames:_d,getOwnPropertySymbols:Td,getPrototypeOf:$d}=Object,Po=globalThis,cs=Po.trustedTypes,Dd=cs?cs.emptyScript:"",Ud=Po.reactiveElementPolyfillSupport,Kr=(t,e)=>t,Vr={toAttribute(t,e){switch(e){case Boolean:t=t?Dd:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},ko=(t,e)=>!Ld(t,e),ds={attribute:!0,type:String,converter:Vr,reflect:!1,hasChanged:ko};Symbol.metadata??=Symbol("metadata"),Po.litPropertyMetadata??=new WeakMap;var zt=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=ds){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&Pd(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:s}=kd(this.prototype,e)??{get(){return this[r]},set(l){this[r]=l}};return{get(){return i?.call(this)},set(l){let c=i?.call(this);s.call(this,l),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??ds}static _$Ei(){if(this.hasOwnProperty(Kr("elementProperties")))return;let e=$d(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Kr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Kr("properties"))){let r=this.properties,n=[..._d(r),...Td(r)];for(let i of n)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)r.unshift(Lo(i))}else e!==void 0&&r.push(Lo(e));return r}static _$Eu(e,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return $n(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$EO(e,r){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let s=(n.converter?.toAttribute!==void 0?n.converter:Vr).toAttribute(r,n.type);this._$Em=e,s==null?this.removeAttribute(i):this.setAttribute(i,s),this._$Em=null}}_$AK(e,r){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let s=n.getPropertyOptions(i),l=typeof s.converter=="function"?{fromAttribute:s.converter}:s.converter?.fromAttribute!==void 0?s.converter:Vr;this._$Em=i,this[i]=l.fromAttribute(r,s.type),this._$Em=null}}requestUpdate(e,r,n,i=!1,s){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??ko)(i?s:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,s]of this._$Ep)this[i]=s;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,s]of n)s.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],s)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};zt.elementStyles=[],zt.shadowRootOptions={mode:"open"},zt[Kr("elementProperties")]=new Map,zt[Kr("finalized")]=new Map,Ud?.({ReactiveElement:zt}),(Po.reactiveElementVersions??=[]).push("2.0.2");var Un=globalThis,_o=Un.trustedTypes,ps=_o?_o.createPolicy("lit-html",{createHTML:t=>t}):void 0,Bn="$lit$",lt=`lit$${(Math.random()+"").slice(9)}$`,Fn="?"+lt,Bd=`<${Fn}>`,Kt=document,To=()=>Kt.createComment(""),jr=t=>t===null||typeof t!="object"&&typeof t!="function",gs=Array.isArray,bs=t=>gs(t)||typeof t?.[Symbol.iterator]=="function",Dn=`[
2
- \f\r]`,Zr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,fs=/-->/g,us=/>/g,Ht=RegExp(`>|${Dn}(?:([^\\s"'>=/]+)(${Dn}*=${Dn}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),hs=/'/g,ms=/"/g,xs=/^(?:script|style|textarea|title)$/i,vs=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),Ss=vs(1),Os=vs(2),$e=Symbol.for("lit-noChange"),le=Symbol.for("lit-nothing"),ys=new WeakMap,Gt=Kt.createTreeWalker(Kt,129);function Cs(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return ps!==void 0?ps.createHTML(e):e}var Es=(t,e)=>{let r=t.length-1,n=[],i,s=e===2?"<svg>":"",l=Zr;for(let c=0;c<r;c++){let d=t[c],u,y,g=-1,x=0;for(;x<d.length&&(l.lastIndex=x,y=l.exec(d),y!==null);)x=l.lastIndex,l===Zr?y[1]==="!--"?l=fs:y[1]!==void 0?l=us:y[2]!==void 0?(xs.test(y[2])&&(i=RegExp("</"+y[2],"g")),l=Ht):y[3]!==void 0&&(l=Ht):l===Ht?y[0]===">"?(l=i??Zr,g=-1):y[1]===void 0?g=-2:(g=l.lastIndex-y[2].length,u=y[1],l=y[3]===void 0?Ht:y[3]==='"'?ms:hs):l===ms||l===hs?l=Ht:l===fs||l===us?l=Zr:(l=Ht,i=void 0);let S=l===Ht&&t[c+1].startsWith("/>")?" ":"";s+=l===Zr?d+Bd:g>=0?(n.push(u),d.slice(0,g)+Bn+d.slice(g)+lt+S):d+lt+(g===-2?c:S)}return[Cs(t,s+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},qr=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let s=0,l=0,c=e.length-1,d=this.parts,[u,y]=Es(e,r);if(this.el=t.createElement(u,n),Gt.currentNode=this.el.content,r===2){let g=this.el.content.firstChild;g.replaceWith(...g.childNodes)}for(;(i=Gt.nextNode())!==null&&d.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let g of i.getAttributeNames())if(g.endsWith(Bn)){let x=y[l++],S=i.getAttribute(g).split(lt),O=/([.?@])?(.*)/.exec(x);d.push({type:1,index:s,name:O[2],strings:S,ctor:O[1]==="."?Do:O[1]==="?"?Uo:O[1]==="@"?Bo:Zt}),i.removeAttribute(g)}else g.startsWith(lt)&&(d.push({type:6,index:s}),i.removeAttribute(g));if(xs.test(i.tagName)){let g=i.textContent.split(lt),x=g.length-1;if(x>0){i.textContent=_o?_o.emptyScript:"";for(let S=0;S<x;S++)i.append(g[S],To()),Gt.nextNode(),d.push({type:2,index:++s});i.append(g[x],To())}}}else if(i.nodeType===8)if(i.data===Fn)d.push({type:2,index:s});else{let g=-1;for(;(g=i.data.indexOf(lt,g+1))!==-1;)d.push({type:7,index:s}),g+=lt.length-1}s++}}static createElement(e,r){let n=Kt.createElement("template");return n.innerHTML=e,n}};function Vt(t,e,r=t,n){if(e===$e)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,s=jr(e)?void 0:e._$litDirective$;return i?.constructor!==s&&(i?._$AO?.(!1),s===void 0?i=void 0:(i=new s(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=Vt(t,i._$AS(t,e.values),i,n)),e}var $o=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,i=(e?.creationScope??Kt).importNode(r,!0);Gt.currentNode=i;let s=Gt.nextNode(),l=0,c=0,d=n[0];for(;d!==void 0;){if(l===d.index){let u;d.type===2?u=new Yr(s,s.nextSibling,this,e):d.type===1?u=new d.ctor(s,d.name,d.strings,this,e):d.type===6&&(u=new Fo(s,this,e)),this._$AV.push(u),d=n[++c]}l!==d?.index&&(s=Gt.nextNode(),l++)}return Gt.currentNode=Kt,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},Yr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=le,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Vt(this,e,r),jr(e)?e===le||e==null||e===""?(this._$AH!==le&&this._$AR(),this._$AH=le):e!==this._$AH&&e!==$e&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):bs(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==le&&jr(this._$AH)?this._$AA.nextSibling.data=e:this.$(Kt.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=qr.createElement(Cs(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let s=new $o(i,this),l=s.u(this.options);s.p(r),this.$(l),this._$AH=s}}_$AC(e){let r=ys.get(e.strings);return r===void 0&&ys.set(e.strings,r=new qr(e)),r}T(e){gs(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let s of e)i===r.length?r.push(n=new t(this.k(To()),this.k(To()),this,this.options)):n=r[i],n._$AI(s),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Zt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,s){this.type=1,this._$AH=le,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=s,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=le}_$AI(e,r=this,n,i){let s=this.strings,l=!1;if(s===void 0)e=Vt(this,e,r,0),l=!jr(e)||e!==this._$AH&&e!==$e,l&&(this._$AH=e);else{let c=e,d,u;for(e=s[0],d=0;d<s.length-1;d++)u=Vt(this,c[n+d],r,d),u===$e&&(u=this._$AH[d]),l||=!jr(u)||u!==this._$AH[d],u===le?e=le:e!==le&&(e+=(u??"")+s[d+1]),this._$AH[d]=u}l&&!i&&this.O(e)}O(e){e===le?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Do=class extends Zt{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===le?void 0:e}},Uo=class extends Zt{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==le)}},Bo=class extends Zt{constructor(e,r,n,i,s){super(e,r,n,i,s),this.type=5}_$AI(e,r=this){if((e=Vt(this,e,r,0)??le)===$e)return;let n=this._$AH,i=e===le&&n!==le||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,s=e!==le&&(n===le||i);i&&this.element.removeEventListener(this.name,this,n),s&&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)}},Fo=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Vt(this,e)}},ws={j:Bn,P:lt,A:Fn,C:1,M:Es,L:$o,R:bs,V:Vt,D:Yr,I:Zt,H:Uo,N:Bo,U:Do,B:Fo},Fd=Un.litHtmlPolyfillSupport;Fd?.(qr,Yr),(Un.litHtmlVersions??=[]).push("3.1.0");var Wo=globalThis,Xr=Wo.ShadowRoot&&(Wo.ShadyCSS===void 0||Wo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Wn=Symbol(),Ns=new WeakMap,fr=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Wn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(Xr&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Ns.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Ns.set(r,e))}return e}toString(){return this.cssText}},Ke=t=>new fr(typeof t=="string"?t:t+"",void 0,Wn),R=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((n,i,s)=>n+(l=>{if(l._$cssResult$===!0)return l.cssText;if(typeof l=="number")return l;throw Error("Value passed to 'css' function must be a 'css' function result: "+l+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[s+1],t[0]);return new fr(r,t,Wn)},Mo=(t,e)=>{if(Xr)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=Wo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},Jr=Xr?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Ke(r)})(t):t;var{is:Wd,defineProperty:Md,getOwnPropertyDescriptor:zd,getOwnPropertyNames:Hd,getOwnPropertySymbols:Gd,getPrototypeOf:Kd}=Object,Ho=globalThis,As=Ho.trustedTypes,Vd=As?As.emptyScript:"",Zd=Ho.reactiveElementPolyfillSupport,Qr=(t,e)=>t,zo={toAttribute(t,e){switch(e){case Boolean:t=t?Vd:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},Mn=(t,e)=>!Wd(t,e),Rs={attribute:!0,type:String,converter:zo,reflect:!1,hasChanged:Mn};Symbol.metadata??=Symbol("metadata"),Ho.litPropertyMetadata??=new WeakMap;var Je=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=Rs){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&Md(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:s}=zd(this.prototype,e)??{get(){return this[r]},set(l){this[r]=l}};return{get(){return i?.call(this)},set(l){let c=i?.call(this);s.call(this,l),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Rs}static _$Ei(){if(this.hasOwnProperty(Qr("elementProperties")))return;let e=Kd(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Qr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Qr("properties"))){let r=this.properties,n=[...Hd(r),...Gd(r)];for(let i of n)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)r.unshift(Jr(i))}else e!==void 0&&r.push(Jr(e));return r}static _$Eu(e,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Mo(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$EO(e,r){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let s=(n.converter?.toAttribute!==void 0?n.converter:zo).toAttribute(r,n.type);this._$Em=e,s==null?this.removeAttribute(i):this.setAttribute(i,s),this._$Em=null}}_$AK(e,r){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let s=n.getPropertyOptions(i),l=typeof s.converter=="function"?{fromAttribute:s.converter}:s.converter?.fromAttribute!==void 0?s.converter:zo;this._$Em=i,this[i]=l.fromAttribute(r,s.type),this._$Em=null}}requestUpdate(e,r,n,i=!1,s){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Mn)(i?s:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,s]of this._$Ep)this[i]=s;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,s]of n)s.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],s)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};Je.elementStyles=[],Je.shadowRootOptions={mode:"open"},Je[Qr("elementProperties")]=new Map,Je[Qr("finalized")]=new Map,Zd?.({ReactiveElement:Je}),(Ho.reactiveElementVersions??=[]).push("2.0.2");var Hn=globalThis,Go=Hn.trustedTypes,Is=Go?Go.createPolicy("lit-html",{createHTML:t=>t}):void 0,Gn="$lit$",ct=`lit$${(Math.random()+"").slice(9)}$`,Kn="?"+ct,jd=`<${Kn}>`,Yt=document,to=()=>Yt.createComment(""),ro=t=>t===null||typeof t!="object"&&typeof t!="function",$s=Array.isArray,Ds=t=>$s(t)||typeof t?.[Symbol.iterator]=="function",zn=`[
4
- \f\r]`,eo=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ls=/-->/g,Ps=/>/g,jt=RegExp(`>|${zn}(?:([^\\s"'>=/]+)(${zn}*=${zn}*(?:[^
5
- \f\r"'\`<>=]|("|')|))|$)`,"g"),ks=/'/g,_s=/"/g,Us=/^(?:script|style|textarea|title)$/i,Bs=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),T=Bs(1),qd=Bs(2),Ot=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),Ts=new WeakMap,qt=Yt.createTreeWalker(Yt,129);function Fs(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Is!==void 0?Is.createHTML(e):e}var Ws=(t,e)=>{let r=t.length-1,n=[],i,s=e===2?"<svg>":"",l=eo;for(let c=0;c<r;c++){let d=t[c],u,y,g=-1,x=0;for(;x<d.length&&(l.lastIndex=x,y=l.exec(d),y!==null);)x=l.lastIndex,l===eo?y[1]==="!--"?l=Ls:y[1]!==void 0?l=Ps:y[2]!==void 0?(Us.test(y[2])&&(i=RegExp("</"+y[2],"g")),l=jt):y[3]!==void 0&&(l=jt):l===jt?y[0]===">"?(l=i??eo,g=-1):y[1]===void 0?g=-2:(g=l.lastIndex-y[2].length,u=y[1],l=y[3]===void 0?jt:y[3]==='"'?_s:ks):l===_s||l===ks?l=jt:l===Ls||l===Ps?l=eo:(l=jt,i=void 0);let S=l===jt&&t[c+1].startsWith("/>")?" ":"";s+=l===eo?d+jd:g>=0?(n.push(u),d.slice(0,g)+Gn+d.slice(g)+ct+S):d+ct+(g===-2?c:S)}return[Fs(t,s+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},oo=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let s=0,l=0,c=e.length-1,d=this.parts,[u,y]=Ws(e,r);if(this.el=t.createElement(u,n),qt.currentNode=this.el.content,r===2){let g=this.el.content.firstChild;g.replaceWith(...g.childNodes)}for(;(i=qt.nextNode())!==null&&d.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let g of i.getAttributeNames())if(g.endsWith(Gn)){let x=y[l++],S=i.getAttribute(g).split(ct),O=/([.?@])?(.*)/.exec(x);d.push({type:1,index:s,name:O[2],strings:S,ctor:O[1]==="."?Vo:O[1]==="?"?Zo:O[1]==="@"?jo:Jt}),i.removeAttribute(g)}else g.startsWith(ct)&&(d.push({type:6,index:s}),i.removeAttribute(g));if(Us.test(i.tagName)){let g=i.textContent.split(ct),x=g.length-1;if(x>0){i.textContent=Go?Go.emptyScript:"";for(let S=0;S<x;S++)i.append(g[S],to()),qt.nextNode(),d.push({type:2,index:++s});i.append(g[x],to())}}}else if(i.nodeType===8)if(i.data===Kn)d.push({type:2,index:s});else{let g=-1;for(;(g=i.data.indexOf(ct,g+1))!==-1;)d.push({type:7,index:s}),g+=ct.length-1}s++}}static createElement(e,r){let n=Yt.createElement("template");return n.innerHTML=e,n}};function Xt(t,e,r=t,n){if(e===Ot)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,s=ro(e)?void 0:e._$litDirective$;return i?.constructor!==s&&(i?._$AO?.(!1),s===void 0?i=void 0:(i=new s(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=Xt(t,i._$AS(t,e.values),i,n)),e}var Ko=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,i=(e?.creationScope??Yt).importNode(r,!0);qt.currentNode=i;let s=qt.nextNode(),l=0,c=0,d=n[0];for(;d!==void 0;){if(l===d.index){let u;d.type===2?u=new ur(s,s.nextSibling,this,e):d.type===1?u=new d.ctor(s,d.name,d.strings,this,e):d.type===6&&(u=new qo(s,this,e)),this._$AV.push(u),d=n[++c]}l!==d?.index&&(s=qt.nextNode(),l++)}return qt.currentNode=Yt,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},ur=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=G,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Xt(this,e,r),ro(e)?e===G||e==null||e===""?(this._$AH!==G&&this._$AR(),this._$AH=G):e!==this._$AH&&e!==Ot&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Ds(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==G&&ro(this._$AH)?this._$AA.nextSibling.data=e:this.$(Yt.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=oo.createElement(Fs(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let s=new Ko(i,this),l=s.u(this.options);s.p(r),this.$(l),this._$AH=s}}_$AC(e){let r=Ts.get(e.strings);return r===void 0&&Ts.set(e.strings,r=new oo(e)),r}T(e){$s(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let s of e)i===r.length?r.push(n=new t(this.k(to()),this.k(to()),this,this.options)):n=r[i],n._$AI(s),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Jt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,s){this.type=1,this._$AH=G,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=s,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=G}_$AI(e,r=this,n,i){let s=this.strings,l=!1;if(s===void 0)e=Xt(this,e,r,0),l=!ro(e)||e!==this._$AH&&e!==Ot,l&&(this._$AH=e);else{let c=e,d,u;for(e=s[0],d=0;d<s.length-1;d++)u=Xt(this,c[n+d],r,d),u===Ot&&(u=this._$AH[d]),l||=!ro(u)||u!==this._$AH[d],u===G?e=G:e!==G&&(e+=(u??"")+s[d+1]),this._$AH[d]=u}l&&!i&&this.O(e)}O(e){e===G?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Vo=class extends Jt{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===G?void 0:e}},Zo=class extends Jt{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==G)}},jo=class extends Jt{constructor(e,r,n,i,s){super(e,r,n,i,s),this.type=5}_$AI(e,r=this){if((e=Xt(this,e,r,0)??G)===Ot)return;let n=this._$AH,i=e===G&&n!==G||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,s=e!==G&&(n===G||i);i&&this.element.removeEventListener(this.name,this,n),s&&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)}},qo=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Xt(this,e)}},Yd={j:Gn,P:ct,A:Kn,C:1,M:Ws,L:Ko,R:Ds,V:Xt,D:ur,I:Jt,H:Zo,N:jo,U:Vo,B:qo},Xd=Hn.litHtmlPolyfillSupport;Xd?.(oo,ur),(Hn.litHtmlVersions??=[]).push("3.1.0");var Vn=(t,e,r)=>{let n=r?.renderBefore??e,i=n._$litPart$;if(i===void 0){let s=r?.renderBefore??null;n._$litPart$=i=new ur(e.insertBefore(to(),s),s,void 0,r??{})}return i._$AI(t),i};var dt=class extends Je{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Vn(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Ot}};dt._$litElement$=!0,dt.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:dt});var Jd=globalThis.litElementPolyfillSupport;Jd?.({LitElement:dt});var Qd={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Pu=!1;var Xn={};ee(Xn,{customElement:()=>ep,eventOptions:()=>hr,property:()=>v,query:()=>K,queryAll:()=>jn,queryAssignedElements:()=>qn,queryAssignedNodes:()=>Yn,queryAsync:()=>op,standardProperty:()=>Ms,state:()=>j});var ep=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var tp={attribute:!0,type:String,converter:Vr,reflect:!1,hasChanged:ko},Ms=(t=tp,e,r)=>{let{kind:n,metadata:i}=r,s=globalThis.litPropertyMetadata.get(i);if(s===void 0&&globalThis.litPropertyMetadata.set(i,s=new Map),s.set(r.name,t),n==="accessor"){let{name:l}=r;return{set(c){let d=e.get.call(this);e.set.call(this,c),this.requestUpdate(l,d,t)},init(c){return c!==void 0&&this.C(l,void 0,t),c}}}if(n==="setter"){let{name:l}=r;return function(c){let d=this[l];e.call(this,c),this.requestUpdate(l,d,t)}}throw Error("Unsupported decorator location: "+n)};function v(t){return(e,r)=>typeof r=="object"?Ms(t,e,r):((n,i,s)=>{let l=i.hasOwnProperty(s);return i.constructor.createProperty(s,l?{...n,wrapped:!0}:n),l?Object.getOwnPropertyDescriptor(i,s):void 0})(t,e,r)}function j(t){return v({...t,state:!0,attribute:!1})}function hr(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var Ve=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function K(t,e){return(r,n,i)=>{let s=l=>l.renderRoot?.querySelector(t)??null;if(e){let{get:l,set:c}=typeof n=="object"?r:i??(()=>{let d=Symbol();return{get(){return this[d]},set(u){this[d]=u}}})();return Ve(r,n,{get(){let d=l.call(this);return d===void 0&&(d=s(this),(d!==null||this.hasUpdated)&&c.call(this,d)),d}})}return Ve(r,n,{get(){return s(this)}})}}var rp;function jn(t){return(e,r)=>Ve(e,r,{get(){return(this.renderRoot??(rp??=document.createDocumentFragment())).querySelectorAll(t)}})}function op(t){return(e,r)=>Ve(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function qn(t){return(e,r)=>{let{slot:n,selector:i}=t??{},s="slot"+(n?`[name=${n}]`:":not([name])");return Ve(e,r,{get(){let l=this.renderRoot?.querySelector(s),c=l?.assignedElements(t)??[];return i===void 0?c:c.filter(d=>d.matches(i))}})}}function Yn(t){return(e,r)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Ve(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var Jn={};ee(Jn,{repeat:()=>yr});var Ct={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Et=t=>(...e)=>({_$litDirective$:t,values:e}),Qe=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,n){this._$Ct=e,this._$AM=r,this._$Ci=n}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{D:np}=ws;var zs=()=>document.createComment(""),mr=(t,e,r)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(r===void 0){let s=n.insertBefore(zs(),i),l=n.insertBefore(zs(),i);r=new np(s,l,t,t.options)}else{let s=r._$AB.nextSibling,l=r._$AM,c=l!==t;if(c){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==l._$AU&&r._$AP(d)}if(s!==i||c){let d=r._$AA;for(;d!==s;){let u=d.nextSibling;n.insertBefore(d,i),d=u}}}return r},wt=(t,e,r=t)=>(t._$AI(e,r),t),ip={},Hs=(t,e=ip)=>t._$AH=e,Gs=t=>t._$AH,Yo=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let n=e.nextSibling;e.remove(),e=n}};var Ks=(t,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},yr=Et(class extends Qe{constructor(t){if(super(t),t.type!==Ct.CHILD)throw Error("repeat() can only be used in text expressions")}ht(t,e,r){let n;r===void 0?r=e:e!==void 0&&(n=e);let i=[],s=[],l=0;for(let c of t)i[l]=n?n(c,l):l,s[l]=r(c,l),l++;return{values:s,keys:i}}render(t,e,r){return this.ht(t,e,r).values}update(t,[e,r,n]){let i=Gs(t),{values:s,keys:l}=this.ht(e,r,n);if(!Array.isArray(i))return this.dt=l,s;let c=this.dt??=[],d=[],u,y,g=0,x=i.length-1,S=0,O=s.length-1;for(;g<=x&&S<=O;)if(i[g]===null)g++;else if(i[x]===null)x--;else if(c[g]===l[S])d[S]=wt(i[g],s[S]),g++,S++;else if(c[x]===l[O])d[O]=wt(i[x],s[O]),x--,O--;else if(c[g]===l[O])d[O]=wt(i[g],s[O]),mr(t,d[O+1],i[g]),g++,O--;else if(c[x]===l[S])d[S]=wt(i[x],s[S]),mr(t,i[g],i[x]),x--,S++;else if(u===void 0&&(u=Ks(l,S,O),y=Ks(c,g,x)),u.has(c[g]))if(u.has(c[x])){let N=y.get(l[S]),k=N!==void 0?i[N]:null;if(k===null){let _=mr(t,i[g]);wt(_,s[S]),d[S]=_}else d[S]=wt(k,s[S]),mr(t,i[g],k),i[N]=null;S++}else Yo(i[x]),x--;else Yo(i[g]),g++;for(;S<=O;){let N=mr(t,d[O+1]);wt(N,s[S]),d[S++]=N}for(;g<=x;){let N=i[g++];N!==null&&Yo(N)}return this.dt=l,Hs(t,d),$e}});var Qn={};ee(Qn,{classMap:()=>De});var De=Et(class extends Qe{constructor(t){if(super(t),t.type!==Ct.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.it===void 0){this.it=new Set,t.strings!==void 0&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(e)}let r=t.element.classList;for(let n of this.it)n in e||(r.remove(n),this.it.delete(n));for(let n in e){let i=!!e[n];i===this.it.has(n)||this.st?.has(n)||(i?(r.add(n),this.it.add(n)):(r.remove(n),this.it.delete(n)))}return $e}});var ei={};ee(ei,{styleMap:()=>sp});var Vs="important",ap=" !"+Vs,sp=Et(class extends Qe{constructor(t){if(super(t),t.type!==Ct.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{let n=t[r];return n==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let n of this.ut)e[n]==null&&(this.ut.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in e){let i=e[n];if(i!=null){this.ut.add(n);let s=typeof i=="string"&&i.endsWith(ap);n.includes("-")||s?r.setProperty(n,s?i.slice(0,-11):i,s?Vs:""):r[n]=i}}return $e}});var ri={};ee(ri,{UnsafeHTMLDirective:()=>gr,unsafeHTML:()=>ti});var gr=class extends Qe{constructor(e){if(super(e),this.et=le,e.type!==Ct.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===le||e==null)return this.vt=void 0,this.et=e;if(e===$e)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;let r=[e];return r.raw=r,this.vt={_$litType$:this.constructor.resultType,strings:r,values:[]}}};gr.directiveName="unsafeHTML",gr.resultType=1;var ti=Et(gr);var ni={};ee(ni,{CacheRegistry:()=>et});var oi={};ee(oi,{CancelablePromise:()=>br,CanceledPromiseError:()=>Nt,cancelable:()=>xr});var Nt=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},br=class extends Promise{constructor(e){super((r,n)=>e(i=>{this.isCanceled?n(new Nt("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new Nt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},xr=t=>new br((e,r)=>t.then(e).catch(r));var et=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,r){this.loaders[e]=r,this.finalContent.delete(e)}registerFinal(e,r){this.loaders[e]=r,this.finalContent.add(e)}clearAll(){for(let e in this.content)this.clear(e)}clear(e){this.finalContent.has(e)||this.forceClear(e)}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof br&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,r){this.forceClear(e),this.register(e,async()=>r),this.content[e]=r}setFinal(e,r){this.forceClear(e),this.registerFinal(e,async()=>r),this.content[e]=r}async get(e,r,n){if(this.content[e]===void 0){if(r=r??this.loaders[e],r==null)throw new Error("Unknown cache key "+e);let i=xr(r());return this.content[e]=i,i.then(s=>(this.content[e]=s,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),s))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var ai={};ee(ai,{ClusteringHelper:()=>ii});var ii=class t{constructor(e,r,n,i){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(e,r){var n,i;let s=((i=(n=e?.map)!==null&&n!==void 0?n:e?.document)!==null&&i!==void 0?i:e?.topic).metadata;return r==null?t.flattenMetadata(s):t.flattenMetadata(s.find(l=>l.key===r))}static flattenMetadata(e){if(Array.isArray(e))return e.map(n=>t.flattenMetadata(n)).filter(n=>n!=null);let r=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!r))if(r){let n=[],i=[];return e.hierarchicalValues.forEach(s=>{n.push(s.join(" > ")),s.length>2?i.push(`... > ${s[s.length-1]}`):i.push(s.join(" > "))}),{key:e.key,label:e.label,value:n.join(", "),displayValue:i.join(", ")}}else{let n=e.values.join(", ");return{key:e.key,label:e.label,value:n,displayValue:n}}}computeClustersItemsForMetadata(e,r,n="No value"){var i,s;let l=t.extractResultMetadata(this.selectedResult,e),c=(i=l?.label)!==null&&i!==void 0?i:(s=this.getMetadataDescriptor(e))===null||s===void 0?void 0:s.label;return this.allResults.map(u=>t.extractResultMetadata(u,e)).map(u=>u??{key:e,label:c,value:void 0,displayValue:n}).filter(u=>u.value!=l?.value).filter((u,y,g)=>g.findIndex(x=>x.value===u.value)===y).map(u=>({result:this.findBestResultForMetadataValue(e,u.value),metadata:u})).sort((u,y)=>this.compareMetadata(u.metadata.value,y.metadata.value,e,r))}compareMetadata(e,r,n,i){if(e==null)return-1;if(r==null)return 1;let s=this.getMetadataDescriptor(n),l=s?.sortRule||"NONE",c=s?.reverseSort||!1;if(l=="ALPHABET"||l=="VERSION"){let d=e.localeCompare(r,i,{numeric:!0});return c?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let n=this.allResults.filter(d=>{var u;return((u=t.extractResultMetadata(d,e))===null||u===void 0?void 0:u.value)==r}),s=[...t.extractResultMetadata(this.selectedResult).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],l,c=-1;for(let d of n){let u=this.countMatchingMetadata(d,s);if(u>c&&(c=u,l=d,u===s.length))break}return l}countMatchingMetadata(e,r){return t.extractResultMetadata(e).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}};var si={};ee(si,{Debouncer:()=>ne});var ne=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,s=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let l of n)try{await l()}catch(c){i(c);return}s(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var ci={};ee(ci,{customElement:()=>H,isNumber:()=>qs,jsonProperty:()=>ge,optionalNumberProperty:()=>hp});var li={};ee(li,{dateReviver:()=>cp,deepEqual:()=>Ue,delay:()=>Xo,eventPathContainsMatchingElement:()=>pp,flatDeep:()=>pt,hasChanged:()=>no,last:()=>up,minmax:()=>fp,parseDate:()=>js,waitFor:()=>Zs,waitUntil:()=>lp});var Xo=t=>new Promise(e=>setTimeout(e,t));async function lp(t,e=10,r=2e4){await Zs(async()=>await t()||void 0,e,r)}async function Zs(t,e=10,r=2e4){let n=await t(),i,s;for(i=s=performance.now();n==null&&(!r||s-i<r);)await Xo(e),n=await t(),s=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function pt(t,e){return t.flatMap(r=>[r,...pt(e(r),e)])}function cp(...t){return function(e,r){return t.includes(e)?js(r):r}}function js(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,n,i)=>r+n+":"+i),new Date(t)}function dp(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,n,i;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!Ue(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(!Ue(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(i=Object.keys(t),r=i.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=r;n--!==0;){var s=i[n];if(!Ue(t[s],e[s]))return!1}return!0}return t!==t&&e!==e}function Ue(t,e){try{return dp(t,e)}catch{return!1}}function no(t,e){return!Ue(t,e)}function pp(t,e,r=window.document.body){if(e.length>0){let n=t.composedPath();for(let i of n){if(i===r)return!1;if(i.matches&&e.some(s=>i.matches(s)))return!0}}return!1}function fp(t,e,r){return Math.min(Math.max(t,e),r)}function up(t){return t[t.length-1]}var H=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function ge(t,e){let r=()=>JSON.parse(JSON.stringify(t));return v({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:no,...e??{}})}function hp(t){return v({type:Object,converter:{fromAttribute:e=>{if(e!=null)return qs(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function qs(t){return!isNaN(parseFloat(t))}var Bi={};ee(Bi,{designSystemVariables:()=>P});var Ui={};ee(Ui,{DesignSystemFamily:()=>$i,DesignSystemSize:()=>Di,FtCssVariableFactory:()=>o,badge:()=>vp,banner:()=>xp,breadcrumb:()=>Sp,button:()=>yp,chart:()=>Tp,checkbox:()=>Dp,chip:()=>gp,collapsible:()=>kp,comboboxMultiSelect:()=>Lp,comboboxSingleSelect:()=>Ip,drawer:()=>Ep,floatingMenu:()=>Rp,foundation:()=>f,link:()=>bp,modal:()=>Cp,notice:()=>$p,notification:()=>Fp,pageHeader:()=>Op,popover:()=>Pp,radio:()=>Bp,resolveFamilyClass:()=>Mp,resolveSizeClass:()=>zp,semantic:()=>h,setVariable:()=>D,switch_:()=>_p,tabs:()=>wp,textArea:()=>Ap,textInput:()=>Np,toggle:()=>Up,tooltip:()=>Wp,typographies:()=>io,typographyBody1Medium:()=>mi,typographyBody1Regular:()=>hi,typographyBody1Semibold:()=>yi,typographyBody2Medium:()=>bi,typographyBody2MediumUnderline:()=>Ys,typographyBody2Regular:()=>gi,typographyBody2Semibold:()=>xi,typographyCaption1Bold:()=>Ri,typographyCaption1Medium:()=>Ni,typographyCaption1Semibold:()=>Ai,typographyCaption2Bold:()=>Pi,typographyCaption2Medium:()=>Ii,typographyCaption2Semibold:()=>Li,typographyCaption3Bold:()=>Ti,typographyCaption3Medium:()=>ki,typographyCaption3Semibold:()=>_i,typographyDisplay:()=>di,typographyLabel1Bold:()=>Oi,typographyLabel1Medium:()=>vi,typographyLabel1Semibold:()=>Si,typographyLabel2Bold:()=>wi,typographyLabel2Medium:()=>Ci,typographyLabel2Semibold:()=>Ei,typographyTitle1:()=>pi,typographyTitle2:()=>fi,typographyTitle3:()=>ui,typographyVariants:()=>mp});var ft=t=>typeof t=="string"?Ke(t):t,o=class{static create(e,r,n,i){let s=c=>ft(c??i),l=R`var(${ft(e)}, ${s(i)})`;return l.name=e,l.description=r,l.category=n,l.defaultValue=i,l.defaultCssValue=s,l.get=c=>R`var(${ft(e)}, ${s(c)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>i,l}static extend(e,r,n,i){let s=c=>n.get(c??i),l=R`var(${ft(e)}, ${s(i)})`;return l.name=e,l.description=r,l.category=n.category,l.fallbackVariable=n,l.defaultValue=i,l.defaultCssValue=s,l.get=c=>R`var(${ft(e)}, ${s(c)})`,l.breadcrumb=()=>[n.name,...n.breadcrumb()],l.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),l}static external(e,r){let n=s=>e.fallbackVariable?e.fallbackVariable.get(s??e.defaultValue):ft(s??e.lastResortDefaultValue()),i=R`var(${ft(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=r,i.defaultCssValue=n,i.get=s=>R`var(${ft(e.name)}, ${n(s)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function D(t,e){return ft(`${t.name}: ${e}`)}var f={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},di={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},pi={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},fi={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},ui={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},hi={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},mi={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},yi={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},gi={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},bi={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Ys={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},xi={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},vi={fontFamily:o.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Si={fontFamily:o.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Oi={fontFamily:o.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Ci={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Ei={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},wi={fontFamily:o.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Ni={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Ai={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Ri={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Ii={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Li={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Pi={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},ki={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},_i={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Ti={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},io={display:di,"title-1":pi,"title-2":fi,"title-3":ui,"body-1-regular":hi,"body-1-medium":mi,"body-1-semibold":yi,"body-2-regular":gi,"body-2-medium":bi,"body-2-medium-underline":Ys,"body-2-semibold":xi,"label-1-medium":vi,"label-1-semibold":Si,"label-1-bold":Oi,"label-2-medium":Ci,"label-2-semibold":Ei,"label-2-bold":wi,"caption-1-medium":Ni,"caption-1-semibold":Ai,"caption-1-bold":Ri,"caption-2-medium":Ii,"caption-2-semibold":Li,"caption-2-bold":Pi,"caption-3-medium":ki,"caption-3-semibold":_i,"caption-3-bold":Ti},mp=["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 h={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",f.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",f.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",f.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",f.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",f.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",f.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",f.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",f.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",f.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",f.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",f.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",f.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",f.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",f.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",f.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",f.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",f.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",f.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
6
- Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",f.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",f.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",f.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",f.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",f.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",f.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",f.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",f.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",f.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",f.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",f.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",f.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",f.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",f.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",f.colorGray80)};var yp={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",f.spacing4),largeGap:o.extend("--ft-button-large-gap","",f.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",f.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",f.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",f.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",f.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",f.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",f.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",f.spacing2),smallGap:o.extend("--ft-button-small-gap","",f.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",f.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",f.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",f.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",f.borderRadiusPill),primaryBackgroundColor:o.extend("--ft-button-primary-background-color","",h.backgroundActionPrimary),primaryColor:o.extend("--ft-button-primary-color","",h.contentGlobalOnColor),primaryIconColor:o.extend("--ft-button-primary-icon-color","",h.contentGlobalOnColor),primaryStateLayerColor:o.extend("--ft-button-primary-state-layer-color","",h.contentGlobalOnColor),primaryHoverStateLayerOpacity:o.extend("--ft-button-primary-hover-state-layer-opacity","",f.opacity16),primaryFocusStateLayerOpacity:o.extend("--ft-button-primary-focus-state-layer-opacity","",f.opacity16),primaryActiveStateLayerOpacity:o.extend("--ft-button-primary-active-state-layer-opacity","",f.opacity24),primaryDisabledComponentOpacity:o.extend("--ft-button-primary-disabled-component-opacity","",f.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",h.borderActionFocusRing),tertiaryBackgroundColor:o.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:o.extend("--ft-button-tertiary-color","",h.contentActionPrimary),tertiaryIconColor:o.extend("--ft-button-tertiary-icon-color","",h.contentActionPrimary),tertiaryStateLayerColor:o.extend("--ft-button-tertiary-state-layer-color","",h.contentActionPrimary),tertiaryHoverStateLayerOpacity:o.extend("--ft-button-tertiary-hover-state-layer-opacity","",f.opacity8),tertiaryFocusStateLayerOpacity:o.extend("--ft-button-tertiary-focus-state-layer-opacity","",f.opacity8),tertiaryActiveStateLayerOpacity:o.extend("--ft-button-tertiary-active-state-layer-opacity","",f.opacity16),tertiaryDisabledComponentOpacity:o.extend("--ft-button-tertiary-disabled-component-opacity","",f.opacity40),secondaryBackgroundColor:o.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:o.extend("--ft-button-secondary-color","",h.contentActionPrimary),secondaryIconColor:o.extend("--ft-button-secondary-icon-color","",h.contentActionPrimary),secondaryStateLayerColor:o.extend("--ft-button-secondary-state-layer-color","",h.contentActionPrimary),secondaryHoverStateLayerOpacity:o.extend("--ft-button-secondary-hover-state-layer-opacity","",f.opacity8),secondaryFocusStateLayerOpacity:o.extend("--ft-button-secondary-focus-state-layer-opacity","",f.opacity8),secondaryActiveStateLayerOpacity:o.extend("--ft-button-secondary-active-state-layer-opacity","",f.opacity16),secondaryDisabledComponentOpacity:o.extend("--ft-button-secondary-disabled-component-opacity","",f.opacity40),secondaryBorderColor:o.extend("--ft-button-secondary-border-color","",h.borderActionPrimary),neutralBackgroundColor:o.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:o.extend("--ft-button-neutral-icon-color","",h.contentGlobalSecondary),neutralColor:o.extend("--ft-button-neutral-color","",h.contentGlobalSecondary),neutralStateLayerColor:o.extend("--ft-button-neutral-state-layer-color","",h.contentGlobalSecondary),neutralHoverStateLayerOpacity:o.extend("--ft-button-neutral-hover-state-layer-opacity","",f.opacity8),neutralFocusStateLayerOpacity:o.extend("--ft-button-neutral-focus-state-layer-opacity","",f.opacity8),neutralActiveStateLayerOpacity:o.extend("--ft-button-neutral-active-state-layer-opacity","",f.opacity16),neutralDisabledComponentOpacity:o.extend("--ft-button-neutral-disabled-component-opacity","",f.opacity40)};var gp={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",f.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",f.spacing1),largeGap:o.extend("--ft-chip-large-gap","",f.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",f.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",f.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",f.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",f.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",f.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",f.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",f.spacing05),smallGap:o.extend("--ft-chip-small-gap","",f.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",f.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",h.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",h.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",h.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",h.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",h.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",h.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",h.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",h.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",h.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",h.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",h.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",h.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",h.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",h.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",h.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",h.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",h.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",h.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",h.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",h.borderErrorSubtle)};var bp={focusOpacity:o.extend("--ft-link-focus-opacity","",f.opacity80),focusFocusRingColor:o.extend("--ft-link-focus-focus-ring-color","",h.borderActionFocusRing),brandColor:o.extend("--ft-link-brand-color","",h.contentActionPrimary),infoColor:o.extend("--ft-link-info-color","",h.contentInfoPrimary)};var xp={iconSize:o.extend("--ft-banner-icon-size","",f.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",f.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",f.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",f.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",f.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",f.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",f.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",f.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",h.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",h.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",h.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",h.borderInfoSubtle)};var vp={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",f.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",f.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",f.borderRadiusPill),color:o.extend("--ft-badge-color","",h.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",h.contentActionPrimary)};var Sp={horizontalGap:o.extend("--ft-breadcrumb-horizontal-gap","",f.spacing1),verticalGap:o.extend("--ft-breadcrumb-vertical-gap","",f.spacing2),currentColor:o.extend("--ft-breadcrumb-current-color","",h.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-breadcrumb-previous-non-clickable-color","",h.contentGlobalSecondary),iconColor:o.extend("--ft-breadcrumb-icon-color","",h.contentGlobalSubtle)};var Op={horizontalPadding:o.extend("--ft-page-header-horizontal-padding","",f.spacing6),horizontalGap:o.extend("--ft-page-header-horizontal-gap","",f.spacing4),verticalGap:o.extend("--ft-page-header-vertical-gap","",f.spacing2),classicVerticalPadding:o.extend("--ft-page-header-classic-vertical-padding","",f.spacing6),multilineVerticalPadding:o.extend("--ft-page-header-multiline-vertical-padding","",f.spacing4),inlineVerticalPadding:o.extend("--ft-page-header-inline-vertical-padding","",f.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",f.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",h.borderGlobalSubtle),titleColor:o.extend("--ft-page-header-title-color","",h.contentGlobalPrimary),subtitleColor:o.extend("--ft-page-header-subtitle-color","",h.contentGlobalSecondary)};var Cp={smallContainerWidth:o.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:o.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",f.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",f.opacity40),shadow:o.extend("--ft-modal-shadow","",f.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",f.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",h.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",f.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",f.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",f.spacing6),containerMargin:o.extend("--ft-modal-container-margin","",f.spacing3),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",h.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",h.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",h.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-modal-header-trailing-icon-color","",h.contentGlobalSecondary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",f.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",f.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",f.spacing6),headerGap:o.extend("--ft-modal-header-gap","",f.spacing2),headerBorderBottom:o.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",f.borderRadiusM)};var Ep={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",f.opacity40),shadow:o.extend("--ft-drawer-shadow","",f.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",h.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",f.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",f.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",f.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",f.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",h.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",h.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",h.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",h.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",f.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",f.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",h.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",h.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",h.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",f.spacing4),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",f.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",f.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",f.colorGray700)};var wp={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",f.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",f.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",f.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",f.opacity40),offColor:o.extend("--ft-tabs-off-color","",h.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",h.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",h.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",f.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",f.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",f.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",f.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",f.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",f.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",f.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",f.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",f.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",f.opacity24),onColor:o.extend("--ft-tabs-on-color","",h.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",h.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",h.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",f.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",f.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",f.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",f.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",h.borderActionFocusRing)};var Np={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",f.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",f.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",f.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",f.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",f.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",f.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",f.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",f.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",f.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",h.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",h.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",h.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",h.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",h.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",h.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",h.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",h.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",h.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",f.opacity40)};var Ap={backgroundColor:o.extend("--ft-text-area-background-color","",f.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",h.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",h.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",h.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",h.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",h.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",h.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",h.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",h.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",f.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",f.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",f.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",f.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",f.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",f.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",f.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",f.borderRadiusM)};var Rp={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",f.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",h.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",h.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",h.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",h.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",f.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",h.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",f.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",f.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",f.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",f.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",f.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",h.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",f.shadowElevation02)};var Ip={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",f.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",f.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",f.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",f.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",f.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",f.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",f.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",f.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",f.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",f.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",f.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",h.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",h.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",h.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",h.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",h.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",h.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",h.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",h.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",h.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",h.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",h.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",f.opacity40)};var Lp={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",f.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",h.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",h.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",h.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",h.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",h.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",h.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",h.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",h.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",h.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",h.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",h.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",f.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",f.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",f.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",f.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",f.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",f.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",f.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",f.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",f.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",f.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",f.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",f.borderRadiusM)};var Pp={backgroundColor:o.extend("--ft-popover-background-color","",h.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",f.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",f.spacing6),titleColor:o.extend("--ft-popover-title-color","",h.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",h.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",h.contentActionPrimary),gap:o.extend("--ft-popover-gap","",f.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",f.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",f.shadowElevation02)};var kp={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",f.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",f.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",h.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",f.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",f.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",f.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",f.spacing3),color:o.extend("--ft-collapsible-color","",h.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",h.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",h.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",h.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",f.iconSize3)};var _p={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",f.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",f.spacing1),groupGap:o.extend("--ft-switch-group-gap","",f.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",h.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",h.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",f.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",f.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",f.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",f.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",f.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",f.opacity40),offColor:o.extend("--ft-switch-off-color","",h.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",h.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",f.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",f.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",f.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",f.opacity40),onColor:o.extend("--ft-switch-on-color","",h.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",h.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",f.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",f.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",h.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",f.borderRadiusS)};var Tp={color1Light:o.extend("--ft-chart-1-light","for area color charts",f.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",f.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",f.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",f.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",f.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",f.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",f.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",f.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",f.colorRed40),color5Base:o.extend("--ft-chart-5-base","",f.colorRed60),color6Light:o.extend("--ft-chart-6-light","",f.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",f.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",f.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",f.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",f.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",f.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",f.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",f.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",f.colorGray50),color10Base:o.extend("--ft-chart-10-base","",f.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",f.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",f.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",f.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",f.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",f.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",f.colorBrand200)};var $p={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",f.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",f.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",f.borderRadiusS),gap:o.extend("--ft-notice-gap","",f.spacing2),iconSize:o.extend("--ft-notice-icon-size","",f.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",h.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",h.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",h.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",h.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",h.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",h.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",h.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",h.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",h.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",h.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",h.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",h.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",h.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",h.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",h.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",h.contentSuccessIconOnly)};var Dp={color:o.extend("--ft-checkbox-color","",h.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",h.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",h.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",h.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",f.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",f.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",f.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",f.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",f.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",f.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",f.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",f.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",f.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",f.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",h.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-checkbox-gap","",f.spacing3)};var Up={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",f.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",f.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",f.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",f.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",h.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",h.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",h.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",f.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",f.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",f.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",f.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",h.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",h.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",h.contentActionPrimary),color:o.extend("--ft-toggle-color","",h.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",h.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",f.spacing3)};var Bp={color:o.extend("--ft-radio-color","",h.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",h.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",h.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",f.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",f.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",f.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",f.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",h.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",h.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",f.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",f.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",f.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",f.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",h.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",f.spacing3)};var Fp={iconSize:o.extend("--ft-notification-icon-size","",f.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",f.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",f.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",f.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",h.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",h.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",h.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",h.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",h.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",h.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",h.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",h.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",h.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",h.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",h.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",h.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",h.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",h.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",h.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",h.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",f.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",f.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",f.spacing8)};var Wp={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",f.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",f.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",f.borderRadiusS),color:o.extend("--ft-tooltip-color","",h.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",h.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",f.opacity80),shadow:o.extend("--ft-tooltip-shadow","",f.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",f.spacing05)};var $i;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})($i||($i={}));var Di;(function(t){t.large="large",t.medium="medium",t.small="small"})(Di||(Di={}));function Mp(t){return`design-system--family-${t}`}function zp(t){return`design-system--size-${t}`}var P={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:o.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:o.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:o.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:o.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:o.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:o.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:o.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:o.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:o.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:o.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var zi={};ee(zi,{FtNotificationEvent:()=>Fi,PostResizeEvent:()=>Mi,PreResizeEvent:()=>Wi});var Fi=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Wi=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Mi=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var ea={};ee(ea,{computeOffsetPosition:()=>Qi});var Js=["top","right","bottom","left"],Xs=["start","end"],Gi=Js.reduce((t,e)=>t.concat(e,e+"-"+Xs[0],e+"-"+Xs[1]),[]),ao=Math.min,At=Math.max,so=Math.round;var ut=t=>({x:t,y:t}),Hp={left:"right",right:"left",bottom:"top",top:"bottom"},Gp={start:"end",end:"start"};function Ki(t,e,r){return At(t,ao(e,r))}function Jo(t,e){return typeof t=="function"?t(e):t}function vr(t){return t.split("-")[0]}function Rt(t){return t.split("-")[1]}function Vi(t){return t==="x"?"y":"x"}function Zi(t){return t==="y"?"height":"width"}function Qo(t){return["top","bottom"].includes(vr(t))?"y":"x"}function ji(t){return Vi(Qo(t))}function Qs(t,e,r){r===void 0&&(r=!1);let n=Rt(t),i=ji(t),s=Zi(i),l=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(l=Hi(l)),[l,Hi(l)]}function el(t){return t.replace(/start|end/g,e=>Gp[e])}function Hi(t){return t.replace(/left|right|bottom|top/g,e=>Hp[e])}function Kp(t){return{top:0,right:0,bottom:0,left:0,...t}}function tl(t){return typeof t!="number"?Kp(t):{top:t,right:t,bottom:t,left:t}}function Qt(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function rl(t,e,r){let{reference:n,floating:i}=t,s=Qo(e),l=ji(e),c=Zi(l),d=vr(e),u=s==="y",y=n.x+n.width/2-i.width/2,g=n.y+n.height/2-i.height/2,x=n[c]/2-i[c]/2,S;switch(d){case"top":S={x:y,y:n.y-i.height};break;case"bottom":S={x:y,y:n.y+n.height};break;case"right":S={x:n.x+n.width,y:g};break;case"left":S={x:n.x-i.width,y:g};break;default:S={x:n.x,y:n.y}}switch(Rt(e)){case"start":S[l]-=x*(r&&u?-1:1);break;case"end":S[l]+=x*(r&&u?-1:1);break}return S}var ol=async(t,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:l}=r,c=s.filter(Boolean),d=await(l.isRTL==null?void 0:l.isRTL(e)),u=await l.getElementRects({reference:t,floating:e,strategy:i}),{x:y,y:g}=rl(u,n,d),x=n,S={},O=0;for(let N=0;N<c.length;N++){let{name:k,fn:_}=c[N],{x:U,y:w,data:E,reset:A}=await _({x:y,y:g,initialPlacement:n,placement:x,strategy:i,middlewareData:S,rects:u,platform:l,elements:{reference:t,floating:e}});if(y=U??y,g=w??g,S={...S,[k]:{...S[k],...E}},A&&O<=50){O++,typeof A=="object"&&(A.placement&&(x=A.placement),A.rects&&(u=A.rects===!0?await l.getElementRects({reference:t,floating:e,strategy:i}):A.rects),{x:y,y:g}=rl(u,x,d)),N=-1;continue}}return{x:y,y:g,placement:x,strategy:i,middlewareData:S}};async function qi(t,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:s,rects:l,elements:c,strategy:d}=t,{boundary:u="clippingAncestors",rootBoundary:y="viewport",elementContext:g="floating",altBoundary:x=!1,padding:S=0}=Jo(e,t),O=tl(S),k=c[x?g==="floating"?"reference":"floating":g],_=Qt(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement(k)))==null||r?k:k.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:u,rootBoundary:y,strategy:d})),U=g==="floating"?{...l.floating,x:n,y:i}:l.reference,w=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),E=await(s.isElement==null?void 0:s.isElement(w))?await(s.getScale==null?void 0:s.getScale(w))||{x:1,y:1}:{x:1,y:1},A=Qt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({rect:U,offsetParent:w,strategy:d}):U);return{top:(_.top-A.top+O.top)/E.y,bottom:(A.bottom-_.bottom+O.bottom)/E.y,left:(_.left-A.left+O.left)/E.x,right:(A.right-_.right+O.right)/E.x}}function Vp(t,e,r){return(t?[...r.filter(i=>Rt(i)===t),...r.filter(i=>Rt(i)!==t)]:r.filter(i=>vr(i)===i)).filter(i=>t?Rt(i)===t||(e?el(i)!==i:!1):!0)}var Yi=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,i;let{rects:s,middlewareData:l,placement:c,platform:d,elements:u}=e,{crossAxis:y=!1,alignment:g,allowedPlacements:x=Gi,autoAlignment:S=!0,...O}=Jo(t,e),N=g!==void 0||x===Gi?Vp(g||null,S,x):x,k=await qi(e,O),_=((r=l.autoPlacement)==null?void 0:r.index)||0,U=N[_];if(U==null)return{};let w=Qs(U,s,await(d.isRTL==null?void 0:d.isRTL(u.floating)));if(c!==U)return{reset:{placement:N[0]}};let E=[k[vr(U)],k[w[0]],k[w[1]]],A=[...((n=l.autoPlacement)==null?void 0:n.overflows)||[],{placement:U,overflows:E}],F=N[_+1];if(F)return{data:{index:_+1,overflows:A},reset:{placement:F}};let z=A.map(b=>{let C=Rt(b.placement);return[b.placement,C&&y?b.overflows.slice(0,2).reduce((L,Z)=>L+Z,0):b.overflows[0],b.overflows]}).sort((b,C)=>b[1]-C[1]),Y=((i=z.filter(b=>b[2].slice(0,Rt(b[0])?2:3).every(C=>C<=0))[0])==null?void 0:i[0])||z[0][0];return Y!==c?{data:{index:_+1,overflows:A},reset:{placement:Y}}:{}}}};var Xi=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:i}=e,{mainAxis:s=!0,crossAxis:l=!1,limiter:c={fn:k=>{let{x:_,y:U}=k;return{x:_,y:U}}},...d}=Jo(t,e),u={x:r,y:n},y=await qi(e,d),g=Qo(vr(i)),x=Vi(g),S=u[x],O=u[g];if(s){let k=x==="y"?"top":"left",_=x==="y"?"bottom":"right",U=S+y[k],w=S-y[_];S=Ki(U,S,w)}if(l){let k=g==="y"?"top":"left",_=g==="y"?"bottom":"right",U=O+y[k],w=O-y[_];O=Ki(U,O,w)}let N=c.fn({...e,[x]:S,[g]:O});return{...N,data:{x:N.x-r,y:N.y-n}}}}};function ht(t){return il(t)?(t.nodeName||"").toLowerCase():"#document"}function Ae(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function mt(t){var e;return(e=(il(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function il(t){return t instanceof Node||t instanceof Ae(t).Node}function tt(t){return t instanceof Element||t instanceof Ae(t).Element}function Ze(t){return t instanceof HTMLElement||t instanceof Ae(t).HTMLElement}function nl(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ae(t).ShadowRoot}function Sr(t){let{overflow:e,overflowX:r,overflowY:n,display:i}=Be(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function al(t){return["table","td","th"].includes(ht(t))}function tn(t){let e=rn(),r=Be(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function sl(t){let e=er(t);for(;Ze(e)&&!lo(e);){if(tn(e))return e;e=er(e)}return null}function rn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function lo(t){return["html","body","#document"].includes(ht(t))}function Be(t){return Ae(t).getComputedStyle(t)}function co(t){return tt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function er(t){if(ht(t)==="html")return t;let e=t.assignedSlot||t.parentNode||nl(t)&&t.host||mt(t);return nl(e)?e.host:e}function ll(t){let e=er(t);return lo(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ze(e)&&Sr(e)?e:ll(e)}function en(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=ll(t),s=i===((n=t.ownerDocument)==null?void 0:n.body),l=Ae(i);return s?e.concat(l,l.visualViewport||[],Sr(i)?i:[],l.frameElement&&r?en(l.frameElement):[]):e.concat(i,en(i,[],r))}function pl(t){let e=Be(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=Ze(t),s=i?t.offsetWidth:r,l=i?t.offsetHeight:n,c=so(r)!==s||so(n)!==l;return c&&(r=s,n=l),{width:r,height:n,$:c}}function fl(t){return tt(t)?t:t.contextElement}function Or(t){let e=fl(t);if(!Ze(e))return ut(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:s}=pl(e),l=(s?so(r.width):r.width)/n,c=(s?so(r.height):r.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!c||!Number.isFinite(c))&&(c=1),{x:l,y:c}}var Zp=ut(0);function ul(t){let e=Ae(t);return!rn()||!e.visualViewport?Zp:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function jp(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==Ae(t)?!1:e}function po(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),s=fl(t),l=ut(1);e&&(n?tt(n)&&(l=Or(n)):l=Or(t));let c=jp(s,r,n)?ul(s):ut(0),d=(i.left+c.x)/l.x,u=(i.top+c.y)/l.y,y=i.width/l.x,g=i.height/l.y;if(s){let x=Ae(s),S=n&&tt(n)?Ae(n):n,O=x.frameElement;for(;O&&n&&S!==x;){let N=Or(O),k=O.getBoundingClientRect(),_=Be(O),U=k.left+(O.clientLeft+parseFloat(_.paddingLeft))*N.x,w=k.top+(O.clientTop+parseFloat(_.paddingTop))*N.y;d*=N.x,u*=N.y,y*=N.x,g*=N.y,d+=U,u+=w,O=Ae(O).frameElement}}return Qt({width:y,height:g,x:d,y:u})}function qp(t){let{rect:e,offsetParent:r,strategy:n}=t,i=Ze(r),s=mt(r);if(r===s)return e;let l={scrollLeft:0,scrollTop:0},c=ut(1),d=ut(0);if((i||!i&&n!=="fixed")&&((ht(r)!=="body"||Sr(s))&&(l=co(r)),Ze(r))){let u=po(r);c=Or(r),d.x=u.x+r.clientLeft,d.y=u.y+r.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-l.scrollLeft*c.x+d.x,y:e.y*c.y-l.scrollTop*c.y+d.y}}function Yp(t){return Array.from(t.getClientRects())}function hl(t){return po(mt(t)).left+co(t).scrollLeft}function Xp(t){let e=mt(t),r=co(t),n=t.ownerDocument.body,i=At(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),s=At(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),l=-r.scrollLeft+hl(t),c=-r.scrollTop;return Be(n).direction==="rtl"&&(l+=At(e.clientWidth,n.clientWidth)-i),{width:i,height:s,x:l,y:c}}function Jp(t,e){let r=Ae(t),n=mt(t),i=r.visualViewport,s=n.clientWidth,l=n.clientHeight,c=0,d=0;if(i){s=i.width,l=i.height;let u=rn();(!u||u&&e==="fixed")&&(c=i.offsetLeft,d=i.offsetTop)}return{width:s,height:l,x:c,y:d}}function Qp(t,e){let r=po(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,s=Ze(t)?Or(t):ut(1),l=t.clientWidth*s.x,c=t.clientHeight*s.y,d=i*s.x,u=n*s.y;return{width:l,height:c,x:d,y:u}}function cl(t,e,r){let n;if(e==="viewport")n=Jp(t,r);else if(e==="document")n=Xp(mt(t));else if(tt(e))n=Qp(e,r);else{let i=ul(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return Qt(n)}function ml(t,e){let r=er(t);return r===e||!tt(r)||lo(r)?!1:Be(r).position==="fixed"||ml(r,e)}function ef(t,e){let r=e.get(t);if(r)return r;let n=en(t,[],!1).filter(c=>tt(c)&&ht(c)!=="body"),i=null,s=Be(t).position==="fixed",l=s?er(t):t;for(;tt(l)&&!lo(l);){let c=Be(l),d=tn(l);!d&&c.position==="fixed"&&(i=null),(s?!d&&!i:!d&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Sr(l)&&!d&&ml(t,l))?n=n.filter(y=>y!==l):i=c,l=er(l)}return e.set(t,n),n}function tf(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,l=[...r==="clippingAncestors"?ef(e,this._c):[].concat(r),n],c=l[0],d=l.reduce((u,y)=>{let g=cl(e,y,i);return u.top=At(g.top,u.top),u.right=ao(g.right,u.right),u.bottom=ao(g.bottom,u.bottom),u.left=At(g.left,u.left),u},cl(e,c,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function rf(t){return pl(t)}function of(t,e,r){let n=Ze(e),i=mt(e),s=r==="fixed",l=po(t,!0,s,e),c={scrollLeft:0,scrollTop:0},d=ut(0);if(n||!n&&!s)if((ht(e)!=="body"||Sr(i))&&(c=co(e)),n){let u=po(e,!0,s,e);d.x=u.x+e.clientLeft,d.y=u.y+e.clientTop}else i&&(d.x=hl(i));return{x:l.left+c.scrollLeft-d.x,y:l.top+c.scrollTop-d.y,width:l.width,height:l.height}}function dl(t,e){return!Ze(t)||Be(t).position==="fixed"?null:e?e(t):t.offsetParent}function yl(t,e){let r=Ae(t);if(!Ze(t))return r;let n=dl(t,e);for(;n&&al(n)&&Be(n).position==="static";)n=dl(n,e);return n&&(ht(n)==="html"||ht(n)==="body"&&Be(n).position==="static"&&!tn(n))?r:n||sl(t)||r}var nf=async function(t){let{reference:e,floating:r,strategy:n}=t,i=this.getOffsetParent||yl,s=this.getDimensions;return{reference:of(e,await i(r),n),floating:{x:0,y:0,...await s(r)}}};function af(t){return Be(t).direction==="rtl"}var on={convertOffsetParentRelativeRectToViewportRelativeRect:qp,getDocumentElement:mt,getClippingRect:tf,getOffsetParent:yl,getElementRects:nf,getClientRects:Yp,getDimensions:rf,getScale:Or,isElement:tt,isRTL:af};var gl=(t,e,r)=>{let n=new Map,i={platform:on,...r},s={...i.platform,_c:n};return ol(t,e,{...i,platform:s})};function bl(t){return sf(t)}function Ji(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function sf(t){for(let e=t;e;e=Ji(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Ji(t);e;e=Ji(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}async function Qi(t,e,r){return gl(t,e,{platform:{...on,getOffsetParent:n=>on.getOffsetParent(n,bl)},middleware:[Xi({crossAxis:!0}),Yi({allowedPlacements:[r]})]})}var ra={};ee(ra,{FtLitElement:()=>M});var ta={};ee(ta,{ScopedRegistryLitElement:()=>fo});var nn=window,lf=nn.ShadowRoot&&(nn.ShadyCSS===void 0||nn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ug=Symbol();var xl=(t,e)=>{lf?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),i=nn.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)})};var fo=class extends dt{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,s])=>e.registry.define(i,s)));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return xl(n,e.elementStyles),n}};var an=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(s=(i<3?l(s):i>3?l(e,r,s):l(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Ol,vl=Symbol("constructorPrototype"),Sl=Symbol("constructorName"),Cl=Symbol("exportpartsDebouncer"),M=class extends fo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Ol]=new ne(5),this[Sl]=this.constructor.name,this[vl]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Sl]&&Object.setPrototypeOf(this,this[vl])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(e){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",e)}this.importDynamicDependencies()}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var r,n,i;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(s=>s.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(s){console.error(s,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let s=document.createElement("style");s.classList.add("ft-lit-element--custom-stylesheet"),s.innerHTML=this.customStylesheet,this.shadowRoot.append(s)}}scheduleExportpartsUpdate(){var e,r,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[Cl].run(()=>{var i,s;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((s=this.exportpartsPrefixes)===null||s===void 0?void 0:s.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,n,i,s,l,c;let d=x=>x!=null&&x.trim().length>0,u=e.filter(d).map(x=>x.trim());if(u.length===0){this.removeAttribute("exportparts");return}let y=new Set;for(let x of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let S=(s=(i=x.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&s!==void 0?s:[],O=(c=(l=x.getAttribute("exportparts"))===null||l===void 0?void 0:l.split(",").map(N=>N.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...S,...O).filter(d).map(N=>N.trim()).forEach(N=>y.add(N))}if(y.size===0){this.removeAttribute("exportparts");return}let g=[...y.values()].flatMap(x=>u.map(S=>`${x}:${S}--${x}`));this.setAttribute("exportparts",[...this.part,...g].join(", "))}};Ol=Cl;an([v()],M.prototype,"exportpartsPrefix",void 0);an([ge([])],M.prototype,"exportpartsPrefixes",void 0);an([v()],M.prototype,"customStylesheet",void 0);an([j()],M.prototype,"useAdoptedStyleSheets",void 0);var El={};var aa={};ee(aa,{highlightHtml:()=>ia,highlightHtmlColorCssVariable:()=>wl,highlightHtmlStyles:()=>df});var tr=class t{constructor(e,r=!0,n=[],i=5e3){this.ctx=e,this.iframes=r,this.exclude=n,this.iframesTimeout=i}static matches(e,r){let n=typeof r=="string"?[r]:r,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let s=!1;return n.every(l=>i.call(e,l)?(s=!0,!1):!0),s}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let i=r.filter(s=>s.contains(n)).length>0;r.indexOf(n)===-1&&!i&&r.push(n)}),r}getIframeContents(e,r,n=()=>{}){let i;try{let s=e.contentWindow;if(i=s.document,!s||!i)throw new Error("iframe inaccessible")}catch{n()}i&&r(i)}isIframeBlank(e){let r="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(e,r,n){let i=!1,s=null,l=()=>{if(!i){i=!0,clearTimeout(s);try{this.isIframeBlank(e)||(e.removeEventListener("load",l),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",l),s=setTimeout(l,this.iframesTimeout)}onIframeReady(e,r,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,n):this.getIframeContents(e,r,n):this.observeIframeLoad(e,r,n)}catch{n()}}waitForIframes(e,r){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||r()})},i=>{i||r()})}forEachIframe(e,r,n,i=()=>{}){let s=e.querySelectorAll("iframe"),l=s.length,c=0;s=Array.prototype.slice.call(s);let d=()=>{--l<=0&&i(c)};l||d(),s.forEach(u=>{t.matches(u,this.exclude)?d():this.onIframeReady(u,y=>{r(u)&&(c++,n(y)),d()},d)})}createIterator(e,r,n){return document.createNodeIterator(e,r,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,n){let i=e.compareDocumentPosition(n),s=Node.DOCUMENT_POSITION_PRECEDING;if(i&s)if(r!==null){let l=r.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_FOLLOWING;if(l&c)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),n;return r===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:r,node:n}}checkIframeFilter(e,r,n,i){let s=!1,l=!1;return i.forEach((c,d)=>{c.val===n&&(s=d,l=c.handled)}),this.compareNodeIframe(e,r,n)?(s===!1&&!l?i.push({val:n,handled:!0}):s!==!1&&!l&&(i[s].handled=!0),!0):(s===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(e,r,n,i){e.forEach(s=>{s.handled||this.getIframeContents(s.val,l=>{this.createInstanceOnIframe(l).forEachNode(r,n,i)})})}iterateThroughNodes(e,r,n,i,s){let l=this.createIterator(r,e,i),c=[],d=[],u,y,g=()=>({prevNode:y,node:u}=this.getIteratorNode(l),u);for(;g();)this.iframes&&this.forEachIframe(r,x=>this.checkIframeFilter(u,y,x,c),x=>{this.createInstanceOnIframe(x).forEachNode(e,S=>d.push(S),i)}),d.push(u);d.forEach(x=>{n(x)}),this.iframes&&this.handleOpenIframes(c,e,n,i),s()}forEachNode(e,r,n,i=()=>{}){let s=this.getContexts(),l=s.length;l||i(),s.forEach(c=>{let d=()=>{this.iterateThroughNodes(e,c,r,n,()=>{--l<=0&&i()})};this.iframes?this.waitForIframes(c,d):d()})}};var uo=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new tr(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let s in r)if(r.hasOwnProperty(s)){let l=r[s],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(l):this.escapeStr(l);c!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(d)})`,`gm${n}`),i+`(${this.processSynomyms(c)}|${this.processSynomyms(d)})`+i))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,n,i)=>{let s=i.charAt(n+1);return/[(|)\\]/.test(s)||s===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return e.split("").forEach(s=>{n.every(l=>{if(l.indexOf(s)!==-1){if(i.indexOf(l)>-1)return!1;e=e.replace(new RegExp(`[${l}]`,`gm${r}`),`[${l}]`),i.push(l)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,s=typeof n=="string"?[]:n.limiters,l="";switch(s.forEach(c=>{l+=`|${this.escapeStr(c)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return l="\\s"+(l||this.escapeStr(r)),`()([^${l}]*${e}[^${l}]*)`;case"exactly":return`(^|\\s${l})(${e})(?=$|\\s${l})`}}getSeparatedKeywords(e){let r=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&r.indexOf(i)===-1&&r.push(i)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,i)=>i.length-n.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],n=0;return e.sort((i,s)=>i.start-s.start).forEach(i=>{let{start:s,end:l,valid:c}=this.callNoMatchOnInvalidRanges(i,n);c&&(i.start=s,i.length=l-s,r.push(i),n=l)}),r}callNoMatchOnInvalidRanges(e,r){let n,i,s=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-r>0&&i-n>0?s=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:i,valid:s}}checkWhitespaceRanges(e,r,n){let i,s=!0,l=n.length,c=r-l,d=parseInt(e.start,10)-c;return d=d>l?l:d,i=d+parseInt(e.length,10),i>l&&(i=l,this.log(`End range automatically set to the max value of ${l}`)),d<0||i-d<0||d>l||i>l?(s=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(d,i).replace(/\s+/g,"")===""&&(s=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:i,valid:s}}getTextNodes(e){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:r.length,end:(r+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:n})})}matchesExclude(e){return tr.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,n){let i=this.opt.element?this.opt.element:"mark",s=e.splitText(r),l=s.splitText(n-r),c=document.createElement(i);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=s.textContent,s.parentNode.replaceChild(c,s),l}wrapRangeInMappedTextNode(e,r,n,i,s){e.nodes.every((l,c)=>{let d=e.nodes[c+1];if(typeof d>"u"||d.start>r){if(!i(l.node))return!1;let u=r-l.start,y=(n>l.end?l.end:n)-l.start,g=e.value.substr(0,l.start),x=e.value.substr(y+l.start);if(l.node=this.wrapRangeInTextNode(l.node,u,y),e.value=g+x,e.nodes.forEach((S,O)=>{O>=c&&(e.nodes[O].start>0&&O!==c&&(e.nodes[O].start-=y),e.nodes[O].end-=y)}),n-=y,s(l.node.previousSibling,l.start),n>l.end)r=l.end;else return!1}return!0})}wrapMatches(e,r,n,i,s){let l=r===0?0:r+1;this.getTextNodes(c=>{c.nodes.forEach(d=>{d=d.node;let u;for(;(u=e.exec(d.textContent))!==null&&u[l]!=="";){if(!n(u[l],d))continue;let y=u.index;if(l!==0)for(let g=1;g<l;g++)y+=u[g].length;d=this.wrapRangeInTextNode(d,y,y+u[l].length),i(d.previousSibling),e.lastIndex=0}}),s()})}wrapMatchesAcrossElements(e,r,n,i,s){let l=r===0?0:r+1;this.getTextNodes(c=>{let d;for(;(d=e.exec(c.value))!==null&&d[l]!=="";){let u=d.index;if(l!==0)for(let g=1;g<l;g++)u+=d[g].length;let y=u+d[l].length;this.wrapRangeInMappedTextNode(c,u,y,g=>n(d[l],g),(g,x)=>{e.lastIndex=x,i(g)})}s()})}wrapRangeFromIndex(e,r,n,i){this.getTextNodes(s=>{let l=s.value.length;e.forEach((c,d)=>{let{start:u,end:y,valid:g}=this.checkWhitespaceRanges(c,l,s.value);g&&this.wrapRangeInMappedTextNode(s,u,y,x=>r(x,c,s.value.substring(u,y),d),x=>{n(x,c)})}),i()})}unwrapMatches(e){let r=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));r.replaceChild(n,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let n=0,i="wrapMatches",s=l=>{n++,this.opt.each(l)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(l,c)=>this.opt.filter(c,l,n),s,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,r){this.opt=r;let n=0,i="wrapMatches",{keywords:s,length:l}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),c=this.opt.caseSensitive?"":"i",d=u=>{let y=new RegExp(this.createRegExp(u),`gm${c}`),g=0;this.log(`Searching with expression "${y}"`),this[i](y,1,(x,S)=>this.opt.filter(S,u,n,g),x=>{g++,n++,this.opt.each(x)},()=>{g===0&&this.opt.noMatch(u),s[l-1]===u?this.opt.done(n):d(s[s.indexOf(u)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),l===0?this.opt.done(n):d(s[0])}markRanges(e,r){this.opt=r;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(s,l,c,d)=>this.opt.filter(s,l,c,d),(s,l)=>{n++,this.opt.each(s,l)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=tr.matches(n,r),s=this.matchesExclude(n);return!i||s?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function oa(t){let e=new uo(t);return this.mark=(r,n)=>(e.mark(r,n),this),this.markRegExp=(r,n)=>(e.markRegExp(r,n),this),this.markRanges=(r,n)=>(e.markRanges(r,n),this),this.unmark=r=>(e.unmark(r),this),this}var cf=oa,wl=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),df=R`
1
+ "use strict";(()=>{var Rd=Object.create;var Di=Object.defineProperty;var Nd=Object.getOwnPropertyDescriptor;var _d=Object.getOwnPropertyNames;var Td=Object.getPrototypeOf,Pd=Object.prototype.hasOwnProperty;var $d=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),J=(t,e)=>{for(var r in e)Di(t,r,{get:e[r],enumerable:!0})},Ld=(t,e,r,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of _d(e))!Pd.call(t,n)&&n!==r&&Di(t,n,{get:()=>e[n],enumerable:!(i=Nd(e,n))||i.enumerable});return t};var Id=(t,e,r)=>(r=t!=null?Rd(Td(t)):{},Ld(e||!t||!t.__esModule?Di(r,"default",{value:t,enumerable:!0}):r,t));var hc=$d(uc=>{(function(t){var e=function(r){var i={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};function n(m){return m&&DataView.prototype.isPrototypeOf(m)}if(i.arrayBuffer)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=ArrayBuffer.isView||function(m){return m&&a.indexOf(Object.prototype.toString.call(m))>-1};function l(m){if(typeof m!="string"&&(m=String(m)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(m))throw new TypeError("Invalid character in header field name");return m.toLowerCase()}function c(m){return typeof m!="string"&&(m=String(m)),m}function p(m){var v={next:function(){var R=m.shift();return{done:R===void 0,value:R}}};return i.iterable&&(v[Symbol.iterator]=function(){return v}),v}function u(m){this.map={},m instanceof u?m.forEach(function(v,R){this.append(R,v)},this):Array.isArray(m)?m.forEach(function(v){this.append(v[0],v[1])},this):m&&Object.getOwnPropertyNames(m).forEach(function(v){this.append(v,m[v])},this)}u.prototype.append=function(m,v){m=l(m),v=c(v);var R=this.map[m];this.map[m]=R?R+", "+v:v},u.prototype.delete=function(m){delete this.map[l(m)]},u.prototype.get=function(m){return m=l(m),this.has(m)?this.map[m]:null},u.prototype.has=function(m){return this.map.hasOwnProperty(l(m))},u.prototype.set=function(m,v){this.map[l(m)]=c(v)},u.prototype.forEach=function(m,v){for(var R in this.map)this.map.hasOwnProperty(R)&&m.call(v,this.map[R],R,this)},u.prototype.keys=function(){var m=[];return this.forEach(function(v,R){m.push(R)}),p(m)},u.prototype.values=function(){var m=[];return this.forEach(function(v){m.push(v)}),p(m)},u.prototype.entries=function(){var m=[];return this.forEach(function(v,R){m.push([R,v])}),p(m)},i.iterable&&(u.prototype[Symbol.iterator]=u.prototype.entries);function h(m){if(m.bodyUsed)return Promise.reject(new TypeError("Already read"));m.bodyUsed=!0}function g(m){return new Promise(function(v,R){m.onload=function(){v(m.result)},m.onerror=function(){R(m.error)}})}function b(m){var v=new FileReader,R=g(v);return v.readAsArrayBuffer(m),R}function x(m){var v=new FileReader,R=g(v);return v.readAsText(m),R}function C(m){for(var v=new Uint8Array(m),R=new Array(v.length),j=0;j<v.length;j++)R[j]=String.fromCharCode(v[j]);return R.join("")}function P(m){if(m.slice)return m.slice(0);var v=new Uint8Array(m.byteLength);return v.set(new Uint8Array(m)),v.buffer}function $(){return this.bodyUsed=!1,this._initBody=function(m){this._bodyInit=m,m?typeof m=="string"?this._bodyText=m:i.blob&&Blob.prototype.isPrototypeOf(m)?this._bodyBlob=m:i.formData&&FormData.prototype.isPrototypeOf(m)?this._bodyFormData=m:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)?this._bodyText=m.toString():i.arrayBuffer&&i.blob&&n(m)?(this._bodyArrayBuffer=P(m.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(m)||s(m))?this._bodyArrayBuffer=P(m):this._bodyText=m=Object.prototype.toString.call(m):this._bodyText="",this.headers.get("content-type")||(typeof m=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var m=h(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(){return this._bodyArrayBuffer?h(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(b)}),this.text=function(){var m=h(this);if(m)return m;if(this._bodyBlob)return x(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(C(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(E)}),this.json=function(){return this.text().then(JSON.parse)},this}var I=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function O(m){var v=m.toUpperCase();return I.indexOf(v)>-1?v:m}function S(m,v){v=v||{};var R=v.body;if(m instanceof S){if(m.bodyUsed)throw new TypeError("Already read");this.url=m.url,this.credentials=m.credentials,v.headers||(this.headers=new u(m.headers)),this.method=m.method,this.mode=m.mode,this.signal=m.signal,!R&&m._bodyInit!=null&&(R=m._bodyInit,m.bodyUsed=!0)}else this.url=String(m);if(this.credentials=v.credentials||this.credentials||"same-origin",(v.headers||!this.headers)&&(this.headers=new u(v.headers)),this.method=O(v.method||this.method||"GET"),this.mode=v.mode||this.mode||null,this.signal=v.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&R)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(R)}S.prototype.clone=function(){return new S(this,{body:this._bodyInit})};function E(m){var v=new FormData;return m.trim().split("&").forEach(function(R){if(R){var j=R.split("="),ne=j.shift().replace(/\+/g," "),q=j.join("=").replace(/\+/g," ");v.append(decodeURIComponent(ne),decodeURIComponent(q))}}),v}function M(m){var v=new u,R=m.replace(/\r?\n[\t ]+/g," ");return R.split(/\r?\n/).forEach(function(j){var ne=j.split(":"),q=ne.shift().trim();if(q){var No=ne.join(":").trim();v.append(q,No)}}),v}$.call(S.prototype);function z(m,v){v||(v={}),this.type="default",this.status=v.status===void 0?200:v.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in v?v.statusText:"OK",this.headers=new u(v.headers),this.url=v.url||"",this._initBody(m)}$.call(z.prototype),z.prototype.clone=function(){return new z(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},z.error=function(){var m=new z(null,{status:0,statusText:""});return m.type="error",m};var Se=[301,302,303,307,308];z.redirect=function(m,v){if(Se.indexOf(v)===-1)throw new RangeError("Invalid status code");return new z(null,{status:v,headers:{location:m}})},r.DOMException=t.DOMException;try{new r.DOMException}catch{r.DOMException=function(v,R){this.message=v,this.name=R;var j=Error(v);this.stack=j.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function Z(m,v){return new Promise(function(R,j){var ne=new S(m,v);if(ne.signal&&ne.signal.aborted)return j(new r.DOMException("Aborted","AbortError"));var q=new XMLHttpRequest;function No(){q.abort()}q.onload=function(){var jr={status:q.status,statusText:q.statusText,headers:M(q.getAllResponseHeaders()||"")};jr.url="responseURL"in q?q.responseURL:jr.headers.get("X-Request-URL");var ki="response"in q?q.response:q.responseText;R(new z(ki,jr))},q.onerror=function(){j(new TypeError("Network request failed"))},q.ontimeout=function(){j(new TypeError("Network request failed"))},q.onabort=function(){j(new r.DOMException("Aborted","AbortError"))},q.open(ne.method,ne.url,!0),ne.credentials==="include"?q.withCredentials=!0:ne.credentials==="omit"&&(q.withCredentials=!1),"responseType"in q&&i.blob&&(q.responseType="blob"),ne.headers.forEach(function(jr,ki){q.setRequestHeader(ki,jr)}),ne.signal&&(ne.signal.addEventListener("abort",No),q.onreadystatechange=function(){q.readyState===4&&ne.signal.removeEventListener("abort",No)}),q.send(typeof ne._bodyInit>"u"?null:ne._bodyInit)})}return Z.polyfill=!0,t.fetch||(t.fetch=Z,t.Headers=u,t.Request=S,t.Response=z),r.Headers=u,r.Request=S,r.Response=z,r.fetch=Z,Object.defineProperty(r,"__esModule",{value:!0}),r}({})})(typeof self<"u"?self:uc)});if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,i=window.customElements,n=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(O,S){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(S)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let E=S.prototype.attributeChangedCallback,M=new Set(S.observedAttributes||[]);g(S,M,E);let z={elementClass:S,connectedCallback:S.prototype.connectedCallback,disconnectedCallback:S.prototype.disconnectedCallback,adoptedCallback:S.prototype.adoptedCallback,attributeChangedCallback:E,formAssociated:S.formAssociated,formAssociatedCallback:S.prototype.formAssociatedCallback,formDisabledCallback:S.prototype.formDisabledCallback,formResetCallback:S.prototype.formResetCallback,formStateRestoreCallback:S.prototype.formStateRestoreCallback,observedAttributes:M};this._definitionsByTag.set(O,z),this._definitionsByClass.set(S,z);let Se=r.call(i,O);Se||(Se=h(O),e.call(i,O,Se)),this===window.customElements&&(s.set(S,z),z.standInClass=Se);let Z=this._awaitingUpgrade.get(O);if(Z){this._awaitingUpgrade.delete(O);for(let v of Z)a.delete(v),x(v,z,!0)}let m=this._whenDefinedPromises.get(O);return m!==void 0&&(m.resolve(S),this._whenDefinedPromises.delete(O)),S}upgrade(){P.push(this),i.upgrade.apply(i,arguments),P.pop()}get(O){return this._definitionsByTag.get(O)?.elementClass}_getDefinition(O){return this._definitionsByTag.get(O)}whenDefined(O){let S=this._getDefinition(O);if(S!==void 0)return Promise.resolve(S.elementClass);let E=this._whenDefinedPromises.get(O);return E===void 0&&(E={},E.promise=new Promise(M=>E.resolve=M),this._whenDefinedPromises.set(O,E)),E.promise}_upgradeWhenDefined(O,S,E){let M=this._awaitingUpgrade.get(S);M||this._awaitingUpgrade.set(S,M=new Set),E?M.add(O):M.delete(O)}};let c;window.HTMLElement=function(){let S=c;if(S)return c=void 0,S;let E=s.get(this.constructor);if(!E)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return S=Reflect.construct(t,[],E.standInClass),Object.setPrototypeOf(S,this.constructor.prototype),n.set(S,E),S},window.HTMLElement.prototype=t.prototype;let p=O=>O===document||O instanceof ShadowRoot,u=O=>{let S=O.getRootNode();if(!p(S)){let E=P[P.length-1];if(E instanceof CustomElementRegistry)return E;S=E.getRootNode(),p(S)||(S=l.get(S)?.getRootNode()||document)}return S.customElements},h=O=>class{static get formAssociated(){return!0}constructor(){let E=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(E,HTMLElement.prototype);let M=u(E)||window.customElements,z=M._getDefinition(O);return z?x(E,z):a.set(E,M),E}connectedCallback(){let E=n.get(this);E?E.connectedCallback&&E.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,O,!0)}disconnectedCallback(){let E=n.get(this);E?E.disconnectedCallback&&E.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,O,!1)}adoptedCallback(){n.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let E=n.get(this);E&&E.formAssociated&&E?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let E=n.get(this);E?.formAssociated&&E?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let E=n.get(this);E?.formAssociated&&E?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let E=n.get(this);E?.formAssociated&&E?.formStateRestoreCallback?.apply(this,arguments)}},g=(O,S,E)=>{if(S.size===0||E===void 0)return;let M=O.prototype.setAttribute;M&&(O.prototype.setAttribute=function(Z,m){let v=Z.toLowerCase();if(S.has(v)){let R=this.getAttribute(v);M.call(this,v,m),E.call(this,v,R,m)}else M.call(this,v,m)});let z=O.prototype.removeAttribute;z&&(O.prototype.removeAttribute=function(Z){let m=Z.toLowerCase();if(S.has(m)){let v=this.getAttribute(m);z.call(this,m),E.call(this,m,v,null)}else z.call(this,m)});let Se=O.prototype.toggleAttribute;Se&&(O.prototype.toggleAttribute=function(Z,m){let v=Z.toLowerCase();if(S.has(v)){let R=this.getAttribute(v);Se.call(this,v,m);let j=this.getAttribute(v);E.call(this,v,R,j)}else Se.call(this,v,m)})},b=O=>{let S=Object.getPrototypeOf(O);if(S!==window.HTMLElement)return S===t?Object.setPrototypeOf(O,window.HTMLElement):b(S)},x=(O,S,E=!1)=>{Object.setPrototypeOf(O,S.elementClass.prototype),n.set(O,S),c=O;try{new S.elementClass}catch{b(S.elementClass),new S.elementClass}S.attributeChangedCallback&&S.observedAttributes.forEach(M=>{O.hasAttribute(M)&&S.attributeChangedCallback.call(O,M,null,O.getAttribute(M))}),E&&S.connectedCallback&&O.isConnected&&S.connectedCallback.call(O)},C=Element.prototype.attachShadow;Element.prototype.attachShadow=function(O){let S=C.apply(this,arguments);return O.customElements&&(S.customElements=O.customElements),S};let P=[document],$=(O,S,E=void 0)=>{let M=(E?Object.getPrototypeOf(E):O.prototype)[S];O.prototype[S]=function(){P.push(this);let z=M.apply(E||this,arguments);return z!==void 0&&l.set(z,this),P.pop(),z}};$(ShadowRoot,"createElement",document),$(ShadowRoot,"importNode",document),$(Element,"insertAdjacentHTML");let I=(O,S)=>{let E=Object.getOwnPropertyDescriptor(O.prototype,S);Object.defineProperty(O.prototype,S,{...E,set(M){P.push(this),E.set.call(this,M),P.pop()}})};if(I(Element,"innerHTML"),I(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let O=new WeakMap,S=HTMLElement.prototype.attachInternals,E=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...Z){let m=S.call(this,...Z);return O.set(m,this),m},E.forEach(Z=>{let m=window.ElementInternals.prototype,v=m[Z];m[Z]=function(...R){let j=O.get(this);if(n.get(j).formAssociated===!0)return v?.call(this,...R);throw new DOMException(`Failed to execute ${v} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class M extends Array{constructor(m){super(...m),this._elements=m}get value(){return this._elements.find(m=>m.checked===!0)?.value||""}}class z{constructor(m){let v=new Map;m.forEach((R,j)=>{let ne=R.getAttribute("name"),q=v.get(ne)||[];this[+j]=R,q.push(R),v.set(ne,q)}),this.length=m.length,v.forEach((R,j)=>{R&&(R.length===1?this[j]=R[0]:this[j]=new M(R))})}namedItem(m){return this[m]}}let Se=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let Z=Se.get.call(this,[]),m=[];for(let v of Z){let R=n.get(v);(!R||R.formAssociated===!0)&&m.push(v)}return new z(m)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,i,n)=>{if(i!==null)try{e.bind(window.customElements)(r,i,n)}catch(a){console.info(r,i,n,a)}}}var qi={};J(qi,{CSSResult:()=>fr,LitElement:()=>ft,ReactiveElement:()=>et,_$LE:()=>ip,_$LH:()=>tp,adoptStyles:()=>Ho,css:()=>N,defaultConverter:()=>Vo,getCompatibleStyle:()=>Qr,html:()=>_,isServer:()=>$u,noChange:()=>wt,notEqual:()=>Hi,nothing:()=>B,render:()=>Zi,supportsAdoptingStyleSheets:()=>Jr,svg:()=>ep,unsafeCSS:()=>dt});var _o=globalThis,Po=_o.ShadowRoot&&(_o.ShadyCSS===void 0||_o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,fs=Symbol(),ps=new WeakMap,To=class{constructor(e,r,i){if(this._$cssResult$=!0,i!==fs)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(Po&&e===void 0){let i=r!==void 0&&r.length===1;i&&(e=ps.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),i&&ps.set(r,e))}return e}toString(){return this.cssText}},us=t=>new To(typeof t=="string"?t:t+"",void 0,fs);var Mi=(t,e)=>{if(Po)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let i=document.createElement("style"),n=_o.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=r.cssText,t.appendChild(i)}},$o=Po?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let i of e.cssRules)r+=i.cssText;return us(r)})(t):t;var{is:kd,defineProperty:Dd,getOwnPropertyDescriptor:Md,getOwnPropertyNames:Ud,getOwnPropertySymbols:Bd,getPrototypeOf:Fd}=Object,Lo=globalThis,hs=Lo.trustedTypes,zd=hs?hs.emptyScript:"",Wd=Lo.reactiveElementPolyfillSupport,Kr=(t,e)=>t,Gr={toAttribute(t,e){switch(e){case Boolean:t=t?zd:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},Io=(t,e)=>!kd(t,e),ms={attribute:!0,type:String,converter:Gr,reflect:!1,hasChanged:Io};Symbol.metadata??=Symbol("metadata"),Lo.litPropertyMetadata??=new WeakMap;var Ht=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=ms){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let i=Symbol(),n=this.getPropertyDescriptor(e,i,r);n!==void 0&&Dd(this.prototype,e,n)}}static getPropertyDescriptor(e,r,i){let{get:n,set:a}=Md(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return n?.call(this)},set(s){let l=n?.call(this);a.call(this,s),this.requestUpdate(e,l,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??ms}static _$Ei(){if(this.hasOwnProperty(Kr("elementProperties")))return;let e=Fd(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Kr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Kr("properties"))){let r=this.properties,i=[...Ud(r),...Bd(r)];for(let n of i)this.createProperty(n,r[n])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[i,n]of r)this.elementProperties.set(i,n)}this._$Eh=new Map;for(let[r,i]of this.elementProperties){let n=this._$Eu(r,i);n!==void 0&&this._$Eh.set(n,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let i=new Set(e.flat(1/0).reverse());for(let n of i)r.unshift($o(n))}else e!==void 0&&r.push($o(e));return r}static _$Eu(e,r){let i=r.attribute;return i===!1?void 0:typeof i=="string"?i:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,r=this.constructor.elementProperties;for(let i of r.keys())this.hasOwnProperty(i)&&(e.set(i,this[i]),delete this[i]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Mi(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,i){this._$AK(e,i)}_$EO(e,r){let i=this.constructor.elementProperties.get(e),n=this.constructor._$Eu(e,i);if(n!==void 0&&i.reflect===!0){let a=(i.converter?.toAttribute!==void 0?i.converter:Gr).toAttribute(r,i.type);this._$Em=e,a==null?this.removeAttribute(n):this.setAttribute(n,a),this._$Em=null}}_$AK(e,r){let i=this.constructor,n=i._$Eh.get(e);if(n!==void 0&&this._$Em!==n){let a=i.getPropertyOptions(n),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Gr;this._$Em=n,this[n]=s.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(e,r,i,n=!1,a){if(e!==void 0){if(i??=this.constructor.getPropertyOptions(e),!(i.hasChanged??Io)(n?a:this[e],r))return;this.C(e,r,i)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,i){this._$AL.has(e)||this._$AL.set(e,r),i.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,a]of this._$Ep)this[n]=a;this._$Ep=void 0}let i=this.constructor.elementProperties;if(i.size>0)for(let[n,a]of i)a.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.C(n,this[n],a)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(i=>i.hostUpdate?.()),this.update(r)):this._$ET()}catch(i){throw e=!1,this._$ET(),i}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};Ht.elementStyles=[],Ht.shadowRootOptions={mode:"open"},Ht[Kr("elementProperties")]=new Map,Ht[Kr("finalized")]=new Map,Wd?.({ReactiveElement:Ht}),(Lo.reactiveElementVersions??=[]).push("2.0.2");var Bi=globalThis,ko=Bi.trustedTypes,ys=ko?ko.createPolicy("lit-html",{createHTML:t=>t}):void 0,Fi="$lit$",ct=`lit$${(Math.random()+"").slice(9)}$`,zi="?"+ct,Hd=`<${zi}>`,Kt=document,Do=()=>Kt.createComment(""),qr=t=>t===null||typeof t!="object"&&typeof t!="function",Os=Array.isArray,Cs=t=>Os(t)||typeof t?.[Symbol.iterator]=="function",Ui=`[
2
+ \f\r]`,Zr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,gs=/-->/g,bs=/>/g,Vt=RegExp(`>|${Ui}(?:([^\\s"'>=/]+)(${Ui}*=${Ui}*(?:[^
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),xs=/'/g,vs=/"/g,Es=/^(?:script|style|textarea|title)$/i,ws=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),As=ws(1),Rs=ws(2),ke=Symbol.for("lit-noChange"),ae=Symbol.for("lit-nothing"),Ss=new WeakMap,jt=Kt.createTreeWalker(Kt,129);function Ns(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return ys!==void 0?ys.createHTML(e):e}var _s=(t,e)=>{let r=t.length-1,i=[],n,a=e===2?"<svg>":"",s=Zr;for(let l=0;l<r;l++){let c=t[l],p,u,h=-1,g=0;for(;g<c.length&&(s.lastIndex=g,u=s.exec(c),u!==null);)g=s.lastIndex,s===Zr?u[1]==="!--"?s=gs:u[1]!==void 0?s=bs:u[2]!==void 0?(Es.test(u[2])&&(n=RegExp("</"+u[2],"g")),s=Vt):u[3]!==void 0&&(s=Vt):s===Vt?u[0]===">"?(s=n??Zr,h=-1):u[1]===void 0?h=-2:(h=s.lastIndex-u[2].length,p=u[1],s=u[3]===void 0?Vt:u[3]==='"'?vs:xs):s===vs||s===xs?s=Vt:s===gs||s===bs?s=Zr:(s=Vt,n=void 0);let b=s===Vt&&t[l+1].startsWith("/>")?" ":"";a+=s===Zr?c+Hd:h>=0?(i.push(p),c.slice(0,h)+Fi+c.slice(h)+ct+b):c+ct+(h===-2?l:b)}return[Ns(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),i]},Yr=class t{constructor({strings:e,_$litType$:r},i){let n;this.parts=[];let a=0,s=0,l=e.length-1,c=this.parts,[p,u]=_s(e,r);if(this.el=t.createElement(p,i),jt.currentNode=this.el.content,r===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(n=jt.nextNode())!==null&&c.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let h of n.getAttributeNames())if(h.endsWith(Fi)){let g=u[s++],b=n.getAttribute(h).split(ct),x=/([.?@])?(.*)/.exec(g);c.push({type:1,index:a,name:x[2],strings:b,ctor:x[1]==="."?Uo:x[1]==="?"?Bo:x[1]==="@"?Fo:Zt}),n.removeAttribute(h)}else h.startsWith(ct)&&(c.push({type:6,index:a}),n.removeAttribute(h));if(Es.test(n.tagName)){let h=n.textContent.split(ct),g=h.length-1;if(g>0){n.textContent=ko?ko.emptyScript:"";for(let b=0;b<g;b++)n.append(h[b],Do()),jt.nextNode(),c.push({type:2,index:++a});n.append(h[g],Do())}}}else if(n.nodeType===8)if(n.data===zi)c.push({type:2,index:a});else{let h=-1;for(;(h=n.data.indexOf(ct,h+1))!==-1;)c.push({type:7,index:a}),h+=ct.length-1}a++}}static createElement(e,r){let i=Kt.createElement("template");return i.innerHTML=e,i}};function Gt(t,e,r=t,i){if(e===ke)return e;let n=i!==void 0?r._$Co?.[i]:r._$Cl,a=qr(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(t),n._$AT(t,r,i)),i!==void 0?(r._$Co??=[])[i]=n:r._$Cl=n),n!==void 0&&(e=Gt(t,n._$AS(t,e.values),n,i)),e}var Mo=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:i}=this._$AD,n=(e?.creationScope??Kt).importNode(r,!0);jt.currentNode=n;let a=jt.nextNode(),s=0,l=0,c=i[0];for(;c!==void 0;){if(s===c.index){let p;c.type===2?p=new Xr(a,a.nextSibling,this,e):c.type===1?p=new c.ctor(a,c.name,c.strings,this,e):c.type===6&&(p=new zo(a,this,e)),this._$AV.push(p),c=i[++l]}s!==c?.index&&(a=jt.nextNode(),s++)}return jt.currentNode=Kt,n}p(e){let r=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,r),r+=i.strings.length-2):i._$AI(e[r])),r++}},Xr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,i,n){this.type=2,this._$AH=ae,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Gt(this,e,r),qr(e)?e===ae||e==null||e===""?(this._$AH!==ae&&this._$AR(),this._$AH=ae):e!==this._$AH&&e!==ke&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Cs(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==ae&&qr(this._$AH)?this._$AA.nextSibling.data=e:this.$(Kt.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=Yr.createElement(Ns(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new Mo(n,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=Ss.get(e.strings);return r===void 0&&Ss.set(e.strings,r=new Yr(e)),r}T(e){Os(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,i,n=0;for(let a of e)n===r.length?r.push(i=new t(this.k(Do()),this.k(Do()),this,this.options)):i=r[n],i._$AI(a),n++;n<r.length&&(this._$AR(i&&i._$AB.nextSibling,n),r.length=n)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Zt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,i,n,a){this.type=1,this._$AH=ae,this._$AN=void 0,this.element=e,this.name=r,this._$AM=n,this.options=a,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=ae}_$AI(e,r=this,i,n){let a=this.strings,s=!1;if(a===void 0)e=Gt(this,e,r,0),s=!qr(e)||e!==this._$AH&&e!==ke,s&&(this._$AH=e);else{let l=e,c,p;for(e=a[0],c=0;c<a.length-1;c++)p=Gt(this,l[i+c],r,c),p===ke&&(p=this._$AH[c]),s||=!qr(p)||p!==this._$AH[c],p===ae?e=ae:e!==ae&&(e+=(p??"")+a[c+1]),this._$AH[c]=p}s&&!n&&this.O(e)}O(e){e===ae?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Uo=class extends Zt{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===ae?void 0:e}},Bo=class extends Zt{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==ae)}},Fo=class extends Zt{constructor(e,r,i,n,a){super(e,r,i,n,a),this.type=5}_$AI(e,r=this){if((e=Gt(this,e,r,0)??ae)===ke)return;let i=this._$AH,n=e===ae&&i!==ae||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==ae&&(i===ae||n);n&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},zo=class{constructor(e,r,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){Gt(this,e)}},Ts={j:Fi,P:ct,A:zi,C:1,M:_s,L:Mo,R:Cs,V:Gt,D:Xr,I:Zt,H:Bo,N:Fo,U:Uo,B:zo},Vd=Bi.litHtmlPolyfillSupport;Vd?.(Yr,Xr),(Bi.litHtmlVersions??=[]).push("3.1.0");var Wo=globalThis,Jr=Wo.ShadowRoot&&(Wo.ShadyCSS===void 0||Wo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Wi=Symbol(),Ps=new WeakMap,fr=class{constructor(e,r,i){if(this._$cssResult$=!0,i!==Wi)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(Jr&&e===void 0){let i=r!==void 0&&r.length===1;i&&(e=Ps.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),i&&Ps.set(r,e))}return e}toString(){return this.cssText}},dt=t=>new fr(typeof t=="string"?t:t+"",void 0,Wi),N=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((i,n,a)=>i+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+t[a+1],t[0]);return new fr(r,t,Wi)},Ho=(t,e)=>{if(Jr)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let i=document.createElement("style"),n=Wo.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=r.cssText,t.appendChild(i)}},Qr=Jr?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let i of e.cssRules)r+=i.cssText;return dt(r)})(t):t;var{is:jd,defineProperty:Kd,getOwnPropertyDescriptor:Gd,getOwnPropertyNames:Zd,getOwnPropertySymbols:qd,getPrototypeOf:Yd}=Object,jo=globalThis,$s=jo.trustedTypes,Xd=$s?$s.emptyScript:"",Jd=jo.reactiveElementPolyfillSupport,eo=(t,e)=>t,Vo={toAttribute(t,e){switch(e){case Boolean:t=t?Xd:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},Hi=(t,e)=>!jd(t,e),Ls={attribute:!0,type:String,converter:Vo,reflect:!1,hasChanged:Hi};Symbol.metadata??=Symbol("metadata"),jo.litPropertyMetadata??=new WeakMap;var et=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=Ls){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let i=Symbol(),n=this.getPropertyDescriptor(e,i,r);n!==void 0&&Kd(this.prototype,e,n)}}static getPropertyDescriptor(e,r,i){let{get:n,set:a}=Gd(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return n?.call(this)},set(s){let l=n?.call(this);a.call(this,s),this.requestUpdate(e,l,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Ls}static _$Ei(){if(this.hasOwnProperty(eo("elementProperties")))return;let e=Yd(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(eo("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(eo("properties"))){let r=this.properties,i=[...Zd(r),...qd(r)];for(let n of i)this.createProperty(n,r[n])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[i,n]of r)this.elementProperties.set(i,n)}this._$Eh=new Map;for(let[r,i]of this.elementProperties){let n=this._$Eu(r,i);n!==void 0&&this._$Eh.set(n,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let i=new Set(e.flat(1/0).reverse());for(let n of i)r.unshift(Qr(n))}else e!==void 0&&r.push(Qr(e));return r}static _$Eu(e,r){let i=r.attribute;return i===!1?void 0:typeof i=="string"?i:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,r=this.constructor.elementProperties;for(let i of r.keys())this.hasOwnProperty(i)&&(e.set(i,this[i]),delete this[i]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Ho(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,i){this._$AK(e,i)}_$EO(e,r){let i=this.constructor.elementProperties.get(e),n=this.constructor._$Eu(e,i);if(n!==void 0&&i.reflect===!0){let a=(i.converter?.toAttribute!==void 0?i.converter:Vo).toAttribute(r,i.type);this._$Em=e,a==null?this.removeAttribute(n):this.setAttribute(n,a),this._$Em=null}}_$AK(e,r){let i=this.constructor,n=i._$Eh.get(e);if(n!==void 0&&this._$Em!==n){let a=i.getPropertyOptions(n),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Vo;this._$Em=n,this[n]=s.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(e,r,i,n=!1,a){if(e!==void 0){if(i??=this.constructor.getPropertyOptions(e),!(i.hasChanged??Hi)(n?a:this[e],r))return;this.C(e,r,i)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,i){this._$AL.has(e)||this._$AL.set(e,r),i.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,a]of this._$Ep)this[n]=a;this._$Ep=void 0}let i=this.constructor.elementProperties;if(i.size>0)for(let[n,a]of i)a.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.C(n,this[n],a)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(i=>i.hostUpdate?.()),this.update(r)):this._$ET()}catch(i){throw e=!1,this._$ET(),i}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};et.elementStyles=[],et.shadowRootOptions={mode:"open"},et[eo("elementProperties")]=new Map,et[eo("finalized")]=new Map,Jd?.({ReactiveElement:et}),(jo.reactiveElementVersions??=[]).push("2.0.2");var ji=globalThis,Ko=ji.trustedTypes,Is=Ko?Ko.createPolicy("lit-html",{createHTML:t=>t}):void 0,Ki="$lit$",pt=`lit$${(Math.random()+"").slice(9)}$`,Gi="?"+pt,Qd=`<${Gi}>`,Xt=document,ro=()=>Xt.createComment(""),oo=t=>t===null||typeof t!="object"&&typeof t!="function",Fs=Array.isArray,zs=t=>Fs(t)||typeof t?.[Symbol.iterator]=="function",Vi=`[
4
+ \f\r]`,to=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ks=/-->/g,Ds=/>/g,qt=RegExp(`>|${Vi}(?:([^\\s"'>=/]+)(${Vi}*=${Vi}*(?:[^
5
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Ms=/'/g,Us=/"/g,Ws=/^(?:script|style|textarea|title)$/i,Hs=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),_=Hs(1),ep=Hs(2),wt=Symbol.for("lit-noChange"),B=Symbol.for("lit-nothing"),Bs=new WeakMap,Yt=Xt.createTreeWalker(Xt,129);function Vs(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Is!==void 0?Is.createHTML(e):e}var js=(t,e)=>{let r=t.length-1,i=[],n,a=e===2?"<svg>":"",s=to;for(let l=0;l<r;l++){let c=t[l],p,u,h=-1,g=0;for(;g<c.length&&(s.lastIndex=g,u=s.exec(c),u!==null);)g=s.lastIndex,s===to?u[1]==="!--"?s=ks:u[1]!==void 0?s=Ds:u[2]!==void 0?(Ws.test(u[2])&&(n=RegExp("</"+u[2],"g")),s=qt):u[3]!==void 0&&(s=qt):s===qt?u[0]===">"?(s=n??to,h=-1):u[1]===void 0?h=-2:(h=s.lastIndex-u[2].length,p=u[1],s=u[3]===void 0?qt:u[3]==='"'?Us:Ms):s===Us||s===Ms?s=qt:s===ks||s===Ds?s=to:(s=qt,n=void 0);let b=s===qt&&t[l+1].startsWith("/>")?" ":"";a+=s===to?c+Qd:h>=0?(i.push(p),c.slice(0,h)+Ki+c.slice(h)+pt+b):c+pt+(h===-2?l:b)}return[Vs(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),i]},io=class t{constructor({strings:e,_$litType$:r},i){let n;this.parts=[];let a=0,s=0,l=e.length-1,c=this.parts,[p,u]=js(e,r);if(this.el=t.createElement(p,i),Yt.currentNode=this.el.content,r===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(n=Yt.nextNode())!==null&&c.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(let h of n.getAttributeNames())if(h.endsWith(Ki)){let g=u[s++],b=n.getAttribute(h).split(pt),x=/([.?@])?(.*)/.exec(g);c.push({type:1,index:a,name:x[2],strings:b,ctor:x[1]==="."?Zo:x[1]==="?"?qo:x[1]==="@"?Yo:Qt}),n.removeAttribute(h)}else h.startsWith(pt)&&(c.push({type:6,index:a}),n.removeAttribute(h));if(Ws.test(n.tagName)){let h=n.textContent.split(pt),g=h.length-1;if(g>0){n.textContent=Ko?Ko.emptyScript:"";for(let b=0;b<g;b++)n.append(h[b],ro()),Yt.nextNode(),c.push({type:2,index:++a});n.append(h[g],ro())}}}else if(n.nodeType===8)if(n.data===Gi)c.push({type:2,index:a});else{let h=-1;for(;(h=n.data.indexOf(pt,h+1))!==-1;)c.push({type:7,index:a}),h+=pt.length-1}a++}}static createElement(e,r){let i=Xt.createElement("template");return i.innerHTML=e,i}};function Jt(t,e,r=t,i){if(e===wt)return e;let n=i!==void 0?r._$Co?.[i]:r._$Cl,a=oo(e)?void 0:e._$litDirective$;return n?.constructor!==a&&(n?._$AO?.(!1),a===void 0?n=void 0:(n=new a(t),n._$AT(t,r,i)),i!==void 0?(r._$Co??=[])[i]=n:r._$Cl=n),n!==void 0&&(e=Jt(t,n._$AS(t,e.values),n,i)),e}var Go=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:i}=this._$AD,n=(e?.creationScope??Xt).importNode(r,!0);Yt.currentNode=n;let a=Yt.nextNode(),s=0,l=0,c=i[0];for(;c!==void 0;){if(s===c.index){let p;c.type===2?p=new ur(a,a.nextSibling,this,e):c.type===1?p=new c.ctor(a,c.name,c.strings,this,e):c.type===6&&(p=new Xo(a,this,e)),this._$AV.push(p),c=i[++l]}s!==c?.index&&(a=Yt.nextNode(),s++)}return Yt.currentNode=Xt,n}p(e){let r=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,r),r+=i.strings.length-2):i._$AI(e[r])),r++}},ur=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,i,n){this.type=2,this._$AH=B,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Jt(this,e,r),oo(e)?e===B||e==null||e===""?(this._$AH!==B&&this._$AR(),this._$AH=B):e!==this._$AH&&e!==wt&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):zs(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==B&&oo(this._$AH)?this._$AA.nextSibling.data=e:this.$(Xt.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=io.createElement(Vs(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(r);else{let a=new Go(n,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=Bs.get(e.strings);return r===void 0&&Bs.set(e.strings,r=new io(e)),r}T(e){Fs(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,i,n=0;for(let a of e)n===r.length?r.push(i=new t(this.k(ro()),this.k(ro()),this,this.options)):i=r[n],i._$AI(a),n++;n<r.length&&(this._$AR(i&&i._$AB.nextSibling,n),r.length=n)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Qt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,i,n,a){this.type=1,this._$AH=B,this._$AN=void 0,this.element=e,this.name=r,this._$AM=n,this.options=a,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=B}_$AI(e,r=this,i,n){let a=this.strings,s=!1;if(a===void 0)e=Jt(this,e,r,0),s=!oo(e)||e!==this._$AH&&e!==wt,s&&(this._$AH=e);else{let l=e,c,p;for(e=a[0],c=0;c<a.length-1;c++)p=Jt(this,l[i+c],r,c),p===wt&&(p=this._$AH[c]),s||=!oo(p)||p!==this._$AH[c],p===B?e=B:e!==B&&(e+=(p??"")+a[c+1]),this._$AH[c]=p}s&&!n&&this.O(e)}O(e){e===B?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Zo=class extends Qt{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===B?void 0:e}},qo=class extends Qt{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==B)}},Yo=class extends Qt{constructor(e,r,i,n,a){super(e,r,i,n,a),this.type=5}_$AI(e,r=this){if((e=Jt(this,e,r,0)??B)===wt)return;let i=this._$AH,n=e===B&&i!==B||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,a=e!==B&&(i===B||n);n&&this.element.removeEventListener(this.name,this,i),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Xo=class{constructor(e,r,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){Jt(this,e)}},tp={j:Ki,P:pt,A:Gi,C:1,M:js,L:Go,R:zs,V:Jt,D:ur,I:Qt,H:qo,N:Yo,U:Zo,B:Xo},rp=ji.litHtmlPolyfillSupport;rp?.(io,ur),(ji.litHtmlVersions??=[]).push("3.1.0");var Zi=(t,e,r)=>{let i=r?.renderBefore??e,n=i._$litPart$;if(n===void 0){let a=r?.renderBefore??null;i._$litPart$=n=new ur(e.insertBefore(ro(),a),a,void 0,r??{})}return n._$AI(t),n};var ft=class extends et{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Zi(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return wt}};ft._$litElement$=!0,ft.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ft});var op=globalThis.litElementPolyfillSupport;op?.({LitElement:ft});var ip={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var $u=!1;var Qi={};J(Qi,{customElement:()=>np,eventOptions:()=>hr,property:()=>y,query:()=>W,queryAll:()=>Yi,queryAssignedElements:()=>Xi,queryAssignedNodes:()=>Ji,queryAsync:()=>lp,standardProperty:()=>Ks,state:()=>K});var np=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var ap={attribute:!0,type:String,converter:Gr,reflect:!1,hasChanged:Io},Ks=(t=ap,e,r)=>{let{kind:i,metadata:n}=r,a=globalThis.litPropertyMetadata.get(n);if(a===void 0&&globalThis.litPropertyMetadata.set(n,a=new Map),a.set(r.name,t),i==="accessor"){let{name:s}=r;return{set(l){let c=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,c,t)},init(l){return l!==void 0&&this.C(s,void 0,t),l}}}if(i==="setter"){let{name:s}=r;return function(l){let c=this[s];e.call(this,l),this.requestUpdate(s,c,t)}}throw Error("Unsupported decorator location: "+i)};function y(t){return(e,r)=>typeof r=="object"?Ks(t,e,r):((i,n,a)=>{let s=n.hasOwnProperty(a);return n.constructor.createProperty(a,s?{...i,wrapped:!0}:i),s?Object.getOwnPropertyDescriptor(n,a):void 0})(t,e,r)}function K(t){return y({...t,state:!0,attribute:!1})}function hr(t){return(e,r)=>{let i=typeof e=="function"?e:e[r];Object.assign(i,t)}}var Ke=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function W(t,e){return(r,i,n)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:l}=typeof i=="object"?r:n??(()=>{let c=Symbol();return{get(){return this[c]},set(p){this[c]=p}}})();return Ke(r,i,{get(){let c=s.call(this);return c===void 0&&(c=a(this),(c!==null||this.hasUpdated)&&l.call(this,c)),c}})}return Ke(r,i,{get(){return a(this)}})}}var sp;function Yi(t){return(e,r)=>Ke(e,r,{get(){return(this.renderRoot??(sp??=document.createDocumentFragment())).querySelectorAll(t)}})}function lp(t){return(e,r)=>Ke(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function Xi(t){return(e,r)=>{let{slot:i,selector:n}=t??{},a="slot"+(i?`[name=${i}]`:":not([name])");return Ke(e,r,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(t)??[];return n===void 0?l:l.filter(c=>c.matches(n))}})}}function Ji(t){return(e,r)=>{let{slot:i}=t??{},n="slot"+(i?`[name=${i}]`:":not([name])");return Ke(e,r,{get(){return this.renderRoot?.querySelector(n)?.assignedNodes(t)??[]}})}}var en={};J(en,{repeat:()=>yr});var At={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Rt=t=>(...e)=>({_$litDirective$:t,values:e}),tt=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,i){this._$Ct=e,this._$AM=r,this._$Ci=i}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{D:cp}=Ts;var Gs=()=>document.createComment(""),mr=(t,e,r)=>{let i=t._$AA.parentNode,n=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=i.insertBefore(Gs(),n),s=i.insertBefore(Gs(),n);r=new cp(a,s,t,t.options)}else{let a=r._$AB.nextSibling,s=r._$AM,l=s!==t;if(l){let c;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(c=t._$AU)!==s._$AU&&r._$AP(c)}if(a!==n||l){let c=r._$AA;for(;c!==a;){let p=c.nextSibling;i.insertBefore(c,n),c=p}}}return r},Nt=(t,e,r=t)=>(t._$AI(e,r),t),dp={},Zs=(t,e=dp)=>t._$AH=e,qs=t=>t._$AH,Jo=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let i=e.nextSibling;e.remove(),e=i}};var Ys=(t,e,r)=>{let i=new Map;for(let n=e;n<=r;n++)i.set(t[n],n);return i},yr=Rt(class extends tt{constructor(t){if(super(t),t.type!==At.CHILD)throw Error("repeat() can only be used in text expressions")}ht(t,e,r){let i;r===void 0?r=e:e!==void 0&&(i=e);let n=[],a=[],s=0;for(let l of t)n[s]=i?i(l,s):s,a[s]=r(l,s),s++;return{values:a,keys:n}}render(t,e,r){return this.ht(t,e,r).values}update(t,[e,r,i]){let n=qs(t),{values:a,keys:s}=this.ht(e,r,i);if(!Array.isArray(n))return this.dt=s,a;let l=this.dt??=[],c=[],p,u,h=0,g=n.length-1,b=0,x=a.length-1;for(;h<=g&&b<=x;)if(n[h]===null)h++;else if(n[g]===null)g--;else if(l[h]===s[b])c[b]=Nt(n[h],a[b]),h++,b++;else if(l[g]===s[x])c[x]=Nt(n[g],a[x]),g--,x--;else if(l[h]===s[x])c[x]=Nt(n[h],a[x]),mr(t,c[x+1],n[h]),h++,x--;else if(l[g]===s[b])c[b]=Nt(n[g],a[b]),mr(t,n[h],n[g]),g--,b++;else if(p===void 0&&(p=Ys(s,b,x),u=Ys(l,h,g)),p.has(l[h]))if(p.has(l[g])){let C=u.get(s[b]),P=C!==void 0?n[C]:null;if(P===null){let $=mr(t,n[h]);Nt($,a[b]),c[b]=$}else c[b]=Nt(P,a[b]),mr(t,n[h],P),n[C]=null;b++}else Jo(n[g]),g--;else Jo(n[h]),h++;for(;b<=x;){let C=mr(t,c[x+1]);Nt(C,a[b]),c[b++]=C}for(;h<=g;){let C=n[h++];C!==null&&Jo(C)}return this.dt=s,Zs(t,c),ke}});var tn={};J(tn,{classMap:()=>Ee});var Ee=Rt(class extends tt{constructor(t){if(super(t),t.type!==At.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.it===void 0){this.it=new Set,t.strings!==void 0&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter(i=>i!=="")));for(let i in e)e[i]&&!this.st?.has(i)&&this.it.add(i);return this.render(e)}let r=t.element.classList;for(let i of this.it)i in e||(r.remove(i),this.it.delete(i));for(let i in e){let n=!!e[i];n===this.it.has(i)||this.st?.has(i)||(n?(r.add(i),this.it.add(i)):(r.remove(i),this.it.delete(i)))}return ke}});var rn={};J(rn,{styleMap:()=>fp});var Xs="important",pp=" !"+Xs,fp=Rt(class extends tt{constructor(t){if(super(t),t.type!==At.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{let i=t[r];return i==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let i of this.ut)e[i]==null&&(this.ut.delete(i),i.includes("-")?r.removeProperty(i):r[i]=null);for(let i in e){let n=e[i];if(n!=null){this.ut.add(i);let a=typeof n=="string"&&n.endsWith(pp);i.includes("-")||a?r.setProperty(i,a?n.slice(0,-11):n,a?Xs:""):r[i]=n}}return ke}});var nn={};J(nn,{UnsafeHTMLDirective:()=>gr,unsafeHTML:()=>on});var gr=class extends tt{constructor(e){if(super(e),this.et=ae,e.type!==At.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===ae||e==null)return this.vt=void 0,this.et=e;if(e===ke)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;let r=[e];return r.raw=r,this.vt={_$litType$:this.constructor.resultType,strings:r,values:[]}}};gr.directiveName="unsafeHTML",gr.resultType=1;var on=Rt(gr);var sn={};J(sn,{CacheRegistry:()=>rt});var an={};J(an,{CancelablePromise:()=>br,CanceledPromiseError:()=>_t,cancelable:()=>xr});var _t=class extends Error{constructor(e,r,i){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=i}},br=class extends Promise{constructor(e){super((r,i)=>e(n=>{this.isCanceled?i(new _t("Promise has been canceled",n)):r(n)},n=>{this.isCanceled?i(new _t("Promise has been canceled",void 0,n)):i(n)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},xr=t=>new br((e,r)=>t.then(e).catch(r));var rt=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,r){this.loaders[e]=r,this.finalContent.delete(e)}registerFinal(e,r){this.loaders[e]=r,this.finalContent.add(e)}clearAll(){for(let e in this.content)this.clear(e)}clear(e){this.finalContent.has(e)||this.forceClear(e)}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof br&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,r){this.forceClear(e),this.register(e,async()=>r),this.content[e]=r}setFinal(e,r){this.forceClear(e),this.registerFinal(e,async()=>r),this.content[e]=r}async get(e,r,i){if(this.content[e]===void 0){if(r=r??this.loaders[e],r==null)throw new Error("Unknown cache key "+e);let n=xr(r());return this.content[e]=n,n.then(a=>(this.content[e]=a,i!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),i)),a))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var cn={};J(cn,{ClusteringHelper:()=>ln});var ln=class t{constructor(e,r,i,n){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=i,this.metadataDescriptors=n}static extractResultMetadata(e,r){var i,n;let a=((n=(i=e?.map)!==null&&i!==void 0?i:e?.document)!==null&&n!==void 0?n:e?.topic).metadata;return r==null?t.flattenMetadata(a):t.flattenMetadata(a.find(s=>s.key===r))}static flattenMetadata(e){if(Array.isArray(e))return e.map(i=>t.flattenMetadata(i)).filter(i=>i!=null);let r=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!r))if(r){let i=[],n=[];return e.hierarchicalValues.forEach(a=>{i.push(a.join(" > ")),a.length>2?n.push(`... > ${a[a.length-1]}`):n.push(a.join(" > "))}),{key:e.key,label:e.label,value:i.join(", "),displayValue:n.join(", ")}}else{let i=e.values.join(", ");return{key:e.key,label:e.label,value:i,displayValue:i}}}computeClustersItemsForMetadata(e,r,i="No value"){var n,a;let s=t.extractResultMetadata(this.selectedResult,e),l=(n=s?.label)!==null&&n!==void 0?n:(a=this.getMetadataDescriptor(e))===null||a===void 0?void 0:a.label;return this.allResults.map(p=>t.extractResultMetadata(p,e)).map(p=>p??{key:e,label:l,value:void 0,displayValue:i}).filter(p=>p.value!=s?.value).filter((p,u,h)=>h.findIndex(g=>g.value===p.value)===u).map(p=>({result:this.findBestResultForMetadataValue(e,p.value),metadata:p})).sort((p,u)=>this.compareMetadata(p.metadata.value,u.metadata.value,e,r))}compareMetadata(e,r,i,n){if(e==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(i),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let c=e.localeCompare(r,n,{numeric:!0});return l?c*-1:c}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let i=this.allResults.filter(c=>{var p;return((p=t.extractResultMetadata(c,e))===null||p===void 0?void 0:p.value)==r}),a=[...t.extractResultMetadata(this.selectedResult).filter(c=>this.clusteringMetadata.has(c.key)).filter(c=>c.key!==e)],s,l=-1;for(let c of i){let p=this.countMatchingMetadata(c,a);if(p>l&&(l=p,s=c,p===a.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata(e).filter(i=>r.some(n=>n.key===i.key&&n.value===i.value)).length}};var dn={};J(dn,{Debouncer:()=>oe});var oe=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,i)=>{this.resolvePromise=r,this.rejectPromise=i})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let i=[...this.callbacks];this.callbacks=[];let n=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of i)try{await s()}catch(l){n(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var fn={};J(fn,{customElement:()=>F,isNumber:()=>el,jsonProperty:()=>be,optionalNumberProperty:()=>xp});var pn={};J(pn,{dateReviver:()=>hp,deepEqual:()=>De,delay:()=>Qo,eventPathContainsMatchingElement:()=>yp,flatDeep:()=>ut,hasChanged:()=>no,last:()=>bp,minmax:()=>gp,parseDate:()=>Qs,waitFor:()=>Js,waitUntil:()=>up});var Qo=t=>new Promise(e=>setTimeout(e,t));async function up(t,e=10,r=2e4){await Js(async()=>await t()||void 0,e,r)}async function Js(t,e=10,r=2e4){let i=await t(),n,a;for(n=a=performance.now();i==null&&(!r||a-n<r);)await Qo(e),i=await t(),a=performance.now();if(i==null)throw new Error("Timeout exceeded");return i}function ut(t,e){return t.flatMap(r=>[r,...ut(e(r),e)])}function hp(...t){return function(e,r){return t.includes(e)?Qs(r):r}}function Qs(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,i,n)=>r+i+":"+n),new Date(t)}function mp(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,i,n;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(i=r;i--!==0;)if(!De(t[i],e[i]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;for(i of t.entries())if(!De(i[1],e.get(i[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(i of t.entries())if(!e.has(i[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(n=Object.keys(t),r=n.length,r!==Object.keys(e).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(e,n[i]))return!1;for(i=r;i--!==0;){var a=n[i];if(!De(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function De(t,e){try{return mp(t,e)}catch{return!1}}function no(t,e){return!De(t,e)}function yp(t,e,r=window.document.body){if(e.length>0){let i=t.composedPath();for(let n of i){if(n===r)return!1;if(n.matches&&e.some(a=>n.matches(a)))return!0}}return!1}function gp(t,e,r){return Math.min(Math.max(t,e),r)}function bp(t){return t[t.length-1]}var F=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function be(t,e){let r=()=>JSON.parse(JSON.stringify(t));return y({type:Object,converter:{fromAttribute:i=>{if(i==null)return r();try{return JSON.parse(i)}catch{return r()}},toAttribute:i=>JSON.stringify(i)},hasChanged:no,...e??{}})}function xp(t){return y({type:Object,converter:{fromAttribute:e=>{if(e!=null)return el(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function el(t){return!isNaN(parseFloat(t))}var zn={};J(zn,{designSystemVariables:()=>T});var Fn={};J(Fn,{DesignSystemFamily:()=>mt,DesignSystemSize:()=>ue,FtCssVariableFactory:()=>o,badge:()=>Cp,banner:()=>Op,breadcrumb:()=>Ep,button:()=>w,chart:()=>Mp,checkbox:()=>Bp,chip:()=>H,collapsible:()=>kp,comboboxMultiSelect:()=>Lp,comboboxSingleSelect:()=>$p,drawer:()=>Rp,floatingMenu:()=>Pp,foundation:()=>d,link:()=>Sp,modal:()=>Ap,notice:()=>Up,notification:()=>Wp,pageHeader:()=>wp,popover:()=>Ip,radio:()=>zp,resolveFamilyClass:()=>Un,resolveSizeClass:()=>Bn,semantic:()=>f,setVariable:()=>L,switch_:()=>Dp,tabs:()=>Np,textArea:()=>Tp,textInput:()=>_p,toggle:()=>Fp,tooltip:()=>Hp,typographies:()=>ao,typographyBody1Medium:()=>bn,typographyBody1Regular:()=>gn,typographyBody1Semibold:()=>xn,typographyBody2Medium:()=>Sn,typographyBody2MediumUnderline:()=>tl,typographyBody2Regular:()=>vn,typographyBody2Semibold:()=>On,typographyCaption1Bold:()=>Pn,typographyCaption1Medium:()=>_n,typographyCaption1Semibold:()=>Tn,typographyCaption2Bold:()=>In,typographyCaption2Medium:()=>$n,typographyCaption2Semibold:()=>Ln,typographyCaption3Bold:()=>Mn,typographyCaption3Medium:()=>kn,typographyCaption3Semibold:()=>Dn,typographyDisplay:()=>un,typographyLabel1Bold:()=>wn,typographyLabel1Medium:()=>Cn,typographyLabel1Semibold:()=>En,typographyLabel2Bold:()=>Nn,typographyLabel2Medium:()=>An,typographyLabel2Semibold:()=>Rn,typographyTitle1:()=>hn,typographyTitle2:()=>mn,typographyTitle3:()=>yn,typographyVariants:()=>vp});var ht=t=>typeof t=="string"?dt(t):t,o=class{static create(e,r,i,n){let a=l=>ht(l??n),s=N`var(${ht(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=i,s.defaultValue=n,s.defaultCssValue=a,s.get=l=>N`var(${ht(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>n,s}static extend(e,r,i,n){let a=l=>i.get(l??n),s=N`var(${ht(e)}, ${a(n)})`;return s.name=e,s.description=r,s.category=i.category,s.fallbackVariable=i,s.defaultValue=n,s.defaultCssValue=a,s.get=l=>N`var(${ht(e)}, ${a(l)})`,s.breadcrumb=()=>[i.name,...i.breadcrumb()],s.lastResortDefaultValue=()=>n??i.lastResortDefaultValue(),s}static external(e,r){let i=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):ht(a??e.lastResortDefaultValue()),n=N`var(${ht(e.name)}, ${i(e.defaultValue)})`;return n.name=e.name,n.category=e.category,n.fallbackVariable=e.fallbackVariable,n.defaultValue=e.defaultValue,n.context=r,n.defaultCssValue=i,n.get=a=>N`var(${ht(e.name)}, ${i(a)})`,n.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],n.lastResortDefaultValue=()=>e.lastResortDefaultValue(),n}};function L(t,e){return ht(`${t.name}: ${e}`)}var d={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},un={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},hn={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},mn={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},yn={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},gn={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},bn={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},xn={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},vn={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Sn={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},tl={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},On={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Cn={fontFamily:o.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},En={fontFamily:o.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},wn={fontFamily:o.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},An={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Rn={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Nn={fontFamily:o.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},_n={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Tn={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Pn={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},$n={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Ln={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},In={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},kn={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Dn={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},Mn={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},ao={display:un,"title-1":hn,"title-2":mn,"title-3":yn,"body-1-regular":gn,"body-1-medium":bn,"body-1-semibold":xn,"body-2-regular":vn,"body-2-medium":Sn,"body-2-medium-underline":tl,"body-2-semibold":On,"label-1-medium":Cn,"label-1-semibold":En,"label-1-bold":wn,"label-2-medium":An,"label-2-semibold":Rn,"label-2-bold":Nn,"caption-1-medium":_n,"caption-1-semibold":Tn,"caption-1-bold":Pn,"caption-2-medium":$n,"caption-2-semibold":Ln,"caption-2-bold":In,"caption-3-medium":kn,"caption-3-semibold":Dn,"caption-3-bold":Mn},vp=["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 f={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",d.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",d.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",d.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",d.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",d.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",d.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",d.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",d.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",d.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",d.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",d.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",d.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",d.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",d.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",d.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",d.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",d.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",d.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
6
+ Also for action icons.`,d.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",d.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",d.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",d.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",d.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",d.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",d.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",d.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",d.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",d.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",d.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",d.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",d.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",d.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",d.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",d.colorGray80)};var w={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",d.spacing4),largeGap:o.extend("--ft-button-large-gap","",d.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",d.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",d.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",d.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",d.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",d.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",d.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",d.spacing2),smallGap:o.extend("--ft-button-small-gap","",d.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",d.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",d.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",d.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",d.borderRadiusPill),primaryBackgroundColor:o.extend("--ft-button-primary-background-color","",f.backgroundActionPrimary),primaryColor:o.extend("--ft-button-primary-color","",f.contentGlobalOnColor),primaryIconColor:o.extend("--ft-button-primary-icon-color","",f.contentGlobalOnColor),primaryStateLayerColor:o.extend("--ft-button-primary-state-layer-color","",f.contentGlobalOnColor),primaryHoverStateLayerOpacity:o.extend("--ft-button-primary-hover-state-layer-opacity","",d.opacity16),primaryFocusStateLayerOpacity:o.extend("--ft-button-primary-focus-state-layer-opacity","",d.opacity16),primaryActiveStateLayerOpacity:o.extend("--ft-button-primary-active-state-layer-opacity","",d.opacity24),primaryDisabledComponentOpacity:o.extend("--ft-button-primary-disabled-component-opacity","",d.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",f.borderActionFocusRing),tertiaryBackgroundColor:o.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:o.extend("--ft-button-tertiary-color","",f.contentActionPrimary),tertiaryIconColor:o.extend("--ft-button-tertiary-icon-color","",f.contentActionPrimary),tertiaryStateLayerColor:o.extend("--ft-button-tertiary-state-layer-color","",f.contentActionPrimary),tertiaryHoverStateLayerOpacity:o.extend("--ft-button-tertiary-hover-state-layer-opacity","",d.opacity8),tertiaryFocusStateLayerOpacity:o.extend("--ft-button-tertiary-focus-state-layer-opacity","",d.opacity8),tertiaryActiveStateLayerOpacity:o.extend("--ft-button-tertiary-active-state-layer-opacity","",d.opacity16),tertiaryDisabledComponentOpacity:o.extend("--ft-button-tertiary-disabled-component-opacity","",d.opacity40),secondaryBackgroundColor:o.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:o.extend("--ft-button-secondary-color","",f.contentActionPrimary),secondaryIconColor:o.extend("--ft-button-secondary-icon-color","",f.contentActionPrimary),secondaryStateLayerColor:o.extend("--ft-button-secondary-state-layer-color","",f.contentActionPrimary),secondaryHoverStateLayerOpacity:o.extend("--ft-button-secondary-hover-state-layer-opacity","",d.opacity8),secondaryFocusStateLayerOpacity:o.extend("--ft-button-secondary-focus-state-layer-opacity","",d.opacity8),secondaryActiveStateLayerOpacity:o.extend("--ft-button-secondary-active-state-layer-opacity","",d.opacity16),secondaryDisabledComponentOpacity:o.extend("--ft-button-secondary-disabled-component-opacity","",d.opacity40),secondaryBorderColor:o.extend("--ft-button-secondary-border-color","",f.borderActionPrimary),neutralBackgroundColor:o.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:o.extend("--ft-button-neutral-icon-color","",f.contentGlobalSecondary),neutralColor:o.extend("--ft-button-neutral-color","",f.contentGlobalSecondary),neutralStateLayerColor:o.extend("--ft-button-neutral-state-layer-color","",f.contentGlobalSecondary),neutralHoverStateLayerOpacity:o.extend("--ft-button-neutral-hover-state-layer-opacity","",d.opacity8),neutralFocusStateLayerOpacity:o.extend("--ft-button-neutral-focus-state-layer-opacity","",d.opacity8),neutralActiveStateLayerOpacity:o.extend("--ft-button-neutral-active-state-layer-opacity","",d.opacity16),neutralDisabledComponentOpacity:o.extend("--ft-button-neutral-disabled-component-opacity","",d.opacity40)};var H={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",d.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",d.spacing1),largeGap:o.extend("--ft-chip-large-gap","",d.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",d.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",d.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",d.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",d.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",d.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",d.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",d.spacing05),smallGap:o.extend("--ft-chip-small-gap","",d.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",d.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",f.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",f.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",f.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",f.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",f.borderErrorSubtle)};var Sp={focusOpacity:o.extend("--ft-link-focus-opacity","",d.opacity80),focusFocusRingColor:o.extend("--ft-link-focus-focus-ring-color","",f.borderActionFocusRing),brandColor:o.extend("--ft-link-brand-color","",f.contentActionPrimary),infoColor:o.extend("--ft-link-info-color","",f.contentInfoPrimary)};var Op={iconSize:o.extend("--ft-banner-icon-size","",d.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",d.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",d.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",d.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",d.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",d.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",d.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",d.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",f.borderInfoSubtle)};var Cp={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",d.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",d.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",d.borderRadiusPill),color:o.extend("--ft-badge-color","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",f.contentActionPrimary)};var Ep={horizontalGap:o.extend("--ft-breadcrumb-horizontal-gap","",d.spacing1),verticalGap:o.extend("--ft-breadcrumb-vertical-gap","",d.spacing2),currentColor:o.extend("--ft-breadcrumb-current-color","",f.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-breadcrumb-previous-non-clickable-color","",f.contentGlobalSecondary),iconColor:o.extend("--ft-breadcrumb-icon-color","",f.contentGlobalSubtle)};var wp={horizontalPadding:o.extend("--ft-page-header-horizontal-padding","",d.spacing6),horizontalGap:o.extend("--ft-page-header-horizontal-gap","",d.spacing4),verticalGap:o.extend("--ft-page-header-vertical-gap","",d.spacing2),classicVerticalPadding:o.extend("--ft-page-header-classic-vertical-padding","",d.spacing6),multilineVerticalPadding:o.extend("--ft-page-header-multiline-vertical-padding","",d.spacing4),inlineVerticalPadding:o.extend("--ft-page-header-inline-vertical-padding","",d.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",d.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",f.borderGlobalSubtle),titleColor:o.extend("--ft-page-header-title-color","",f.contentGlobalPrimary),subtitleColor:o.extend("--ft-page-header-subtitle-color","",f.contentGlobalSecondary)};var Ap={smallContainerWidth:o.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:o.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",d.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",d.opacity40),shadow:o.extend("--ft-modal-shadow","",d.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",d.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",d.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",d.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",d.spacing6),containerMargin:o.extend("--ft-modal-container-margin","",d.spacing3),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-modal-header-trailing-icon-color","",f.contentGlobalSecondary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",d.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",d.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",d.spacing6),headerGap:o.extend("--ft-modal-header-gap","",d.spacing2),headerBorderBottom:o.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",d.borderRadiusM)};var Rp={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",d.opacity40),shadow:o.extend("--ft-drawer-shadow","",d.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",d.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",d.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",d.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",d.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",f.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",d.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",d.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",f.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",f.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",f.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",d.spacing4),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",d.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",d.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",d.colorGray700)};var Np={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",d.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",d.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",d.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",d.opacity40),offColor:o.extend("--ft-tabs-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",f.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",f.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",d.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",d.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",d.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",d.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",d.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",d.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",d.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",d.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",d.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",d.opacity24),onColor:o.extend("--ft-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",f.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",f.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",d.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",d.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",d.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",d.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",f.borderActionFocusRing)};var _p={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",d.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",d.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",d.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",d.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",d.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",d.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",d.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",f.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",f.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",d.opacity40)};var Tp={backgroundColor:o.extend("--ft-text-area-background-color","",d.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",f.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",f.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",d.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",d.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",d.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",d.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",d.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",d.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",d.borderRadiusM)};var Pp={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",d.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",f.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",f.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",f.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",d.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",d.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",d.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",d.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",d.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",d.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",f.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",d.shadowElevation02)};var $p={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",d.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",d.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",d.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",d.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",d.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",d.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",d.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",d.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",d.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",f.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",f.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",f.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",d.opacity40)};var Lp={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",d.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",f.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",f.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",f.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",f.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",d.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",d.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",d.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",d.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",d.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",d.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",d.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",d.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",d.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",d.borderRadiusM)};var Ip={backgroundColor:o.extend("--ft-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",d.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",d.spacing6),titleColor:o.extend("--ft-popover-title-color","",f.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",f.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",f.contentActionPrimary),gap:o.extend("--ft-popover-gap","",d.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",d.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",d.shadowElevation02)};var kp={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",d.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",d.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",f.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",d.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",d.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",d.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",d.spacing3),color:o.extend("--ft-collapsible-color","",f.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",f.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",f.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",f.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",d.iconSize3)};var Dp={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",d.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",d.spacing1),groupGap:o.extend("--ft-switch-group-gap","",d.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",f.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",f.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",d.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",d.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",d.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",d.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",d.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",d.opacity40),offColor:o.extend("--ft-switch-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",d.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",d.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",d.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",d.opacity40),onColor:o.extend("--ft-switch-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",d.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",d.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",f.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",d.borderRadiusS)};var Mp={color1Light:o.extend("--ft-chart-1-light","for area color charts",d.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",d.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",d.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",d.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",d.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",d.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",d.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",d.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",d.colorRed40),color5Base:o.extend("--ft-chart-5-base","",d.colorRed60),color6Light:o.extend("--ft-chart-6-light","",d.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",d.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",d.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",d.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",d.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",d.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",d.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",d.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",d.colorGray50),color10Base:o.extend("--ft-chart-10-base","",d.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",d.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",d.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",d.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",d.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",d.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",d.colorBrand200)};var Up={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",d.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",d.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",d.borderRadiusS),gap:o.extend("--ft-notice-gap","",d.spacing2),iconSize:o.extend("--ft-notice-icon-size","",d.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",f.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",f.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",f.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",f.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",f.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",f.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",f.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",f.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",f.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",f.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",f.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",f.contentSuccessIconOnly)};var Bp={color:o.extend("--ft-checkbox-color","",f.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",f.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",f.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",f.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",d.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",d.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",d.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",d.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",d.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",d.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",d.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",d.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",d.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",d.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-checkbox-gap","",d.spacing3)};var Fp={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",d.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",d.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",d.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",d.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",f.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",d.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",d.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",d.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",d.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",f.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",f.contentActionPrimary),color:o.extend("--ft-toggle-color","",f.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",f.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",d.spacing3)};var zp={color:o.extend("--ft-radio-color","",f.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",f.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",f.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",d.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",d.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",d.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",d.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",f.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",f.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",d.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",d.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",d.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",d.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",d.spacing3)};var Wp={iconSize:o.extend("--ft-notification-icon-size","",d.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",d.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",d.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",d.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",f.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",d.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",d.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",d.spacing8)};var Hp={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",d.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",d.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",d.borderRadiusS),color:o.extend("--ft-tooltip-color","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",f.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",d.opacity80),shadow:o.extend("--ft-tooltip-shadow","",d.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",d.spacing05)};var mt;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(mt||(mt={}));var ue;(function(t){t.large="large",t.medium="medium",t.small="small"})(ue||(ue={}));function Un(t){return`ftds--family-${t}`}function Bn(t){return`ftds--size-${t}`}var T={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:o.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:o.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:o.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:o.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:o.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:o.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:o.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:o.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:o.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:o.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var jn={};J(jn,{FtNotificationEvent:()=>Wn,PostResizeEvent:()=>Vn,PreResizeEvent:()=>Hn});var Wn=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Hn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Vn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var oa={};J(oa,{computeOffsetPosition:()=>ra});var ol=["top","right","bottom","left"],rl=["start","end"],Gn=ol.reduce((t,e)=>t.concat(e,e+"-"+rl[0],e+"-"+rl[1]),[]),so=Math.min,Tt=Math.max,lo=Math.round;var yt=t=>({x:t,y:t}),Vp={left:"right",right:"left",bottom:"top",top:"bottom"},jp={start:"end",end:"start"};function Zn(t,e,r){return Tt(t,so(e,r))}function ei(t,e){return typeof t=="function"?t(e):t}function vr(t){return t.split("-")[0]}function Pt(t){return t.split("-")[1]}function qn(t){return t==="x"?"y":"x"}function Yn(t){return t==="y"?"height":"width"}function ti(t){return["top","bottom"].includes(vr(t))?"y":"x"}function Xn(t){return qn(ti(t))}function il(t,e,r){r===void 0&&(r=!1);let i=Pt(t),n=Xn(t),a=Yn(n),s=n==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Kn(s)),[s,Kn(s)]}function nl(t){return t.replace(/start|end/g,e=>jp[e])}function Kn(t){return t.replace(/left|right|bottom|top/g,e=>Vp[e])}function Kp(t){return{top:0,right:0,bottom:0,left:0,...t}}function al(t){return typeof t!="number"?Kp(t):{top:t,right:t,bottom:t,left:t}}function er(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function sl(t,e,r){let{reference:i,floating:n}=t,a=ti(e),s=Xn(e),l=Yn(s),c=vr(e),p=a==="y",u=i.x+i.width/2-n.width/2,h=i.y+i.height/2-n.height/2,g=i[l]/2-n[l]/2,b;switch(c){case"top":b={x:u,y:i.y-n.height};break;case"bottom":b={x:u,y:i.y+i.height};break;case"right":b={x:i.x+i.width,y:h};break;case"left":b={x:i.x-n.width,y:h};break;default:b={x:i.x,y:i.y}}switch(Pt(e)){case"start":b[s]-=g*(r&&p?-1:1);break;case"end":b[s]+=g*(r&&p?-1:1);break}return b}var ll=async(t,e,r)=>{let{placement:i="bottom",strategy:n="absolute",middleware:a=[],platform:s}=r,l=a.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(e)),p=await s.getElementRects({reference:t,floating:e,strategy:n}),{x:u,y:h}=sl(p,i,c),g=i,b={},x=0;for(let C=0;C<l.length;C++){let{name:P,fn:$}=l[C],{x:I,y:O,data:S,reset:E}=await $({x:u,y:h,initialPlacement:i,placement:g,strategy:n,middlewareData:b,rects:p,platform:s,elements:{reference:t,floating:e}});if(u=I??u,h=O??h,b={...b,[P]:{...b[P],...S}},E&&x<=50){x++,typeof E=="object"&&(E.placement&&(g=E.placement),E.rects&&(p=E.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:n}):E.rects),{x:u,y:h}=sl(p,g,c)),C=-1;continue}}return{x:u,y:h,placement:g,strategy:n,middlewareData:b}};async function Jn(t,e){var r;e===void 0&&(e={});let{x:i,y:n,platform:a,rects:s,elements:l,strategy:c}=t,{boundary:p="clippingAncestors",rootBoundary:u="viewport",elementContext:h="floating",altBoundary:g=!1,padding:b=0}=ei(e,t),x=al(b),P=l[g?h==="floating"?"reference":"floating":h],$=er(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(P)))==null||r?P:P.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:p,rootBoundary:u,strategy:c})),I=h==="floating"?{...s.floating,x:i,y:n}:s.reference,O=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),S=await(a.isElement==null?void 0:a.isElement(O))?await(a.getScale==null?void 0:a.getScale(O))||{x:1,y:1}:{x:1,y:1},E=er(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:I,offsetParent:O,strategy:c}):I);return{top:($.top-E.top+x.top)/S.y,bottom:(E.bottom-$.bottom+x.bottom)/S.y,left:($.left-E.left+x.left)/S.x,right:(E.right-$.right+x.right)/S.x}}function Gp(t,e,r){return(t?[...r.filter(n=>Pt(n)===t),...r.filter(n=>Pt(n)!==t)]:r.filter(n=>vr(n)===n)).filter(n=>t?Pt(n)===t||(e?nl(n)!==n:!1):!0)}var Qn=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,i,n;let{rects:a,middlewareData:s,placement:l,platform:c,elements:p}=e,{crossAxis:u=!1,alignment:h,allowedPlacements:g=Gn,autoAlignment:b=!0,...x}=ei(t,e),C=h!==void 0||g===Gn?Gp(h||null,b,g):g,P=await Jn(e,x),$=((r=s.autoPlacement)==null?void 0:r.index)||0,I=C[$];if(I==null)return{};let O=il(I,a,await(c.isRTL==null?void 0:c.isRTL(p.floating)));if(l!==I)return{reset:{placement:C[0]}};let S=[P[vr(I)],P[O[0]],P[O[1]]],E=[...((i=s.autoPlacement)==null?void 0:i.overflows)||[],{placement:I,overflows:S}],M=C[$+1];if(M)return{data:{index:$+1,overflows:E},reset:{placement:M}};let z=E.map(m=>{let v=Pt(m.placement);return[m.placement,v&&u?m.overflows.slice(0,2).reduce((R,j)=>R+j,0):m.overflows[0],m.overflows]}).sort((m,v)=>m[1]-v[1]),Z=((n=z.filter(m=>m[2].slice(0,Pt(m[0])?2:3).every(v=>v<=0))[0])==null?void 0:n[0])||z[0][0];return Z!==l?{data:{index:$+1,overflows:E},reset:{placement:Z}}:{}}}};var ea=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:i,placement:n}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:P=>{let{x:$,y:I}=P;return{x:$,y:I}}},...c}=ei(t,e),p={x:r,y:i},u=await Jn(e,c),h=ti(vr(n)),g=qn(h),b=p[g],x=p[h];if(a){let P=g==="y"?"top":"left",$=g==="y"?"bottom":"right",I=b+u[P],O=b-u[$];b=Zn(I,b,O)}if(s){let P=h==="y"?"top":"left",$=h==="y"?"bottom":"right",I=x+u[P],O=x-u[$];x=Zn(I,x,O)}let C=l.fn({...e,[g]:b,[h]:x});return{...C,data:{x:C.x-r,y:C.y-i}}}}};function gt(t){return dl(t)?(t.nodeName||"").toLowerCase():"#document"}function Ne(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function bt(t){var e;return(e=(dl(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function dl(t){return t instanceof Node||t instanceof Ne(t).Node}function ot(t){return t instanceof Element||t instanceof Ne(t).Element}function Ge(t){return t instanceof HTMLElement||t instanceof Ne(t).HTMLElement}function cl(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ne(t).ShadowRoot}function Sr(t){let{overflow:e,overflowX:r,overflowY:i,display:n}=Me(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+r)&&!["inline","contents"].includes(n)}function pl(t){return["table","td","th"].includes(gt(t))}function oi(t){let e=ii(),r=Me(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(i=>(r.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(r.contain||"").includes(i))}function fl(t){let e=tr(t);for(;Ge(e)&&!co(e);){if(oi(e))return e;e=tr(e)}return null}function ii(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function co(t){return["html","body","#document"].includes(gt(t))}function Me(t){return Ne(t).getComputedStyle(t)}function po(t){return ot(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function tr(t){if(gt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||cl(t)&&t.host||bt(t);return cl(e)?e.host:e}function ul(t){let e=tr(t);return co(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ge(e)&&Sr(e)?e:ul(e)}function ri(t,e,r){var i;e===void 0&&(e=[]),r===void 0&&(r=!0);let n=ul(t),a=n===((i=t.ownerDocument)==null?void 0:i.body),s=Ne(n);return a?e.concat(s,s.visualViewport||[],Sr(n)?n:[],s.frameElement&&r?ri(s.frameElement):[]):e.concat(n,ri(n,[],r))}function yl(t){let e=Me(t),r=parseFloat(e.width)||0,i=parseFloat(e.height)||0,n=Ge(t),a=n?t.offsetWidth:r,s=n?t.offsetHeight:i,l=lo(r)!==a||lo(i)!==s;return l&&(r=a,i=s),{width:r,height:i,$:l}}function gl(t){return ot(t)?t:t.contextElement}function Or(t){let e=gl(t);if(!Ge(e))return yt(1);let r=e.getBoundingClientRect(),{width:i,height:n,$:a}=yl(e),s=(a?lo(r.width):r.width)/i,l=(a?lo(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Zp=yt(0);function bl(t){let e=Ne(t);return!ii()||!e.visualViewport?Zp:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function qp(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==Ne(t)?!1:e}function fo(t,e,r,i){e===void 0&&(e=!1),r===void 0&&(r=!1);let n=t.getBoundingClientRect(),a=gl(t),s=yt(1);e&&(i?ot(i)&&(s=Or(i)):s=Or(t));let l=qp(a,r,i)?bl(a):yt(0),c=(n.left+l.x)/s.x,p=(n.top+l.y)/s.y,u=n.width/s.x,h=n.height/s.y;if(a){let g=Ne(a),b=i&&ot(i)?Ne(i):i,x=g.frameElement;for(;x&&i&&b!==g;){let C=Or(x),P=x.getBoundingClientRect(),$=Me(x),I=P.left+(x.clientLeft+parseFloat($.paddingLeft))*C.x,O=P.top+(x.clientTop+parseFloat($.paddingTop))*C.y;c*=C.x,p*=C.y,u*=C.x,h*=C.y,c+=I,p+=O,x=Ne(x).frameElement}}return er({width:u,height:h,x:c,y:p})}function Yp(t){let{rect:e,offsetParent:r,strategy:i}=t,n=Ge(r),a=bt(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},l=yt(1),c=yt(0);if((n||!n&&i!=="fixed")&&((gt(r)!=="body"||Sr(a))&&(s=po(r)),Ge(r))){let p=fo(r);l=Or(r),c.x=p.x+r.clientLeft,c.y=p.y+r.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+c.x,y:e.y*l.y-s.scrollTop*l.y+c.y}}function Xp(t){return Array.from(t.getClientRects())}function xl(t){return fo(bt(t)).left+po(t).scrollLeft}function Jp(t){let e=bt(t),r=po(t),i=t.ownerDocument.body,n=Tt(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),a=Tt(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight),s=-r.scrollLeft+xl(t),l=-r.scrollTop;return Me(i).direction==="rtl"&&(s+=Tt(e.clientWidth,i.clientWidth)-n),{width:n,height:a,x:s,y:l}}function Qp(t,e){let r=Ne(t),i=bt(t),n=r.visualViewport,a=i.clientWidth,s=i.clientHeight,l=0,c=0;if(n){a=n.width,s=n.height;let p=ii();(!p||p&&e==="fixed")&&(l=n.offsetLeft,c=n.offsetTop)}return{width:a,height:s,x:l,y:c}}function ef(t,e){let r=fo(t,!0,e==="fixed"),i=r.top+t.clientTop,n=r.left+t.clientLeft,a=Ge(t)?Or(t):yt(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,c=n*a.x,p=i*a.y;return{width:s,height:l,x:c,y:p}}function hl(t,e,r){let i;if(e==="viewport")i=Qp(t,r);else if(e==="document")i=Jp(bt(t));else if(ot(e))i=ef(e,r);else{let n=bl(t);i={...e,x:e.x-n.x,y:e.y-n.y}}return er(i)}function vl(t,e){let r=tr(t);return r===e||!ot(r)||co(r)?!1:Me(r).position==="fixed"||vl(r,e)}function tf(t,e){let r=e.get(t);if(r)return r;let i=ri(t,[],!1).filter(l=>ot(l)&&gt(l)!=="body"),n=null,a=Me(t).position==="fixed",s=a?tr(t):t;for(;ot(s)&&!co(s);){let l=Me(s),c=oi(s);!c&&l.position==="fixed"&&(n=null),(a?!c&&!n:!c&&l.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||Sr(s)&&!c&&vl(t,s))?i=i.filter(u=>u!==s):n=l,s=tr(s)}return e.set(t,i),i}function rf(t){let{element:e,boundary:r,rootBoundary:i,strategy:n}=t,s=[...r==="clippingAncestors"?tf(e,this._c):[].concat(r),i],l=s[0],c=s.reduce((p,u)=>{let h=hl(e,u,n);return p.top=Tt(h.top,p.top),p.right=so(h.right,p.right),p.bottom=so(h.bottom,p.bottom),p.left=Tt(h.left,p.left),p},hl(e,l,n));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function of(t){return yl(t)}function nf(t,e,r){let i=Ge(e),n=bt(e),a=r==="fixed",s=fo(t,!0,a,e),l={scrollLeft:0,scrollTop:0},c=yt(0);if(i||!i&&!a)if((gt(e)!=="body"||Sr(n))&&(l=po(e)),i){let p=fo(e,!0,a,e);c.x=p.x+e.clientLeft,c.y=p.y+e.clientTop}else n&&(c.x=xl(n));return{x:s.left+l.scrollLeft-c.x,y:s.top+l.scrollTop-c.y,width:s.width,height:s.height}}function ml(t,e){return!Ge(t)||Me(t).position==="fixed"?null:e?e(t):t.offsetParent}function Sl(t,e){let r=Ne(t);if(!Ge(t))return r;let i=ml(t,e);for(;i&&pl(i)&&Me(i).position==="static";)i=ml(i,e);return i&&(gt(i)==="html"||gt(i)==="body"&&Me(i).position==="static"&&!oi(i))?r:i||fl(t)||r}var af=async function(t){let{reference:e,floating:r,strategy:i}=t,n=this.getOffsetParent||Sl,a=this.getDimensions;return{reference:nf(e,await n(r),i),floating:{x:0,y:0,...await a(r)}}};function sf(t){return Me(t).direction==="rtl"}var ni={convertOffsetParentRelativeRectToViewportRelativeRect:Yp,getDocumentElement:bt,getClippingRect:rf,getOffsetParent:Sl,getElementRects:af,getClientRects:Xp,getDimensions:of,getScale:Or,isElement:ot,isRTL:sf};var Ol=(t,e,r)=>{let i=new Map,n={platform:ni,...r},a={...n.platform,_c:i};return ll(t,e,{...n,platform:a})};function Cl(t){return lf(t)}function ta(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function lf(t){for(let e=t;e;e=ta(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=ta(t);e;e=ta(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}async function ra(t,e,r){return Ol(t,e,{platform:{...ni,getOffsetParent:i=>ni.getOffsetParent(i,Cl)},middleware:[ea({crossAxis:!0}),Qn({allowedPlacements:[r]})]})}var aa={};J(aa,{FtdsBase:()=>ho,toFtdsBase:()=>li});var na={};J(na,{FtLitElement:()=>D});var ia={};J(ia,{ScopedRegistryLitElement:()=>uo});var ai=window,cf=ai.ShadowRoot&&(ai.ShadyCSS===void 0||ai.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ug=Symbol();var El=(t,e)=>{cf?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let i=document.createElement("style"),n=ai.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=r.cssText,t.appendChild(i)})};var uo=class extends ft{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([n,a])=>e.registry.define(n,a)));let r={...e.shadowRootOptions,customElements:e.registry},i=this.renderOptions.creationScope=this.attachShadow(r);return El(i,e.elementStyles),i}};var si=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Rl,wl=Symbol("constructorPrototype"),Al=Symbol("constructorName"),Nl=Symbol("exportpartsDebouncer"),D=class extends uo{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Rl]=new oe(5),this[Al]=this.constructor.name,this[wl]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Al]&&Object.setPrototypeOf(this,this[wl])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(e){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",e)}this.importDynamicDependencies()}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var r,i,n;if(((i=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((n=this.customStylesheet)!==null&&n!==void 0?n:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,r,i;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(i=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&i!==void 0&&i)&&this[Nl].run(()=>{var n,a;!((n=this.exportpartsPrefix)===null||n===void 0)&&n.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,i,n,a,s,l;let c=g=>g!=null&&g.trim().length>0,p=e.filter(c).map(g=>g.trim());if(p.length===0){this.removeAttribute("exportparts");return}let u=new Set;for(let g of(i=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&i!==void 0?i:[]){let b=(a=(n=g.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],x=(l=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(C=>C.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...b,...x).filter(c).map(C=>C.trim()).forEach(C=>u.add(C))}if(u.size===0){this.removeAttribute("exportparts");return}let h=[...u.values()].flatMap(g=>p.map(b=>`${g}:${b}--${g}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};Rl=Nl;si([y()],D.prototype,"exportpartsPrefix",void 0);si([be([])],D.prototype,"exportpartsPrefixes",void 0);si([y()],D.prototype,"customStylesheet",void 0);si([K()],D.prototype,"useAdoptedStyleSheets",void 0);var _l=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a};function li(t){class e extends t{constructor(){super(...arguments),this.size=ue.medium,this.family=mt.neutral}getDesignSystemBaseClasses(){return{[Un(this.family)]:!0,[Bn(this.size)]:!0}}}return _l([y()],e.prototype,"size",void 0),_l([y()],e.prototype,"family",void 0),e}var ho=class extends li(D){};var Tl={};var da={};J(da,{highlightHtml:()=>ca,highlightHtmlColorCssVariable:()=>Pl,highlightHtmlStyles:()=>pf});var rr=class t{constructor(e,r=!0,i=[],n=5e3){this.ctx=e,this.iframes=r,this.exclude=i,this.iframesTimeout=n}static matches(e,r){let i=typeof r=="string"?[r]:r,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){let a=!1;return i.every(s=>n.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(i=>{let n=r.filter(a=>a.contains(i)).length>0;r.indexOf(i)===-1&&!n&&r.push(i)}),r}getIframeContents(e,r,i=()=>{}){let n;try{let a=e.contentWindow;if(n=a.document,!a||!n)throw new Error("iframe inaccessible")}catch{i()}n&&r(n)}isIframeBlank(e){let r="about:blank",i=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&i!==r&&i}observeIframeLoad(e,r,i){let n=!1,a=null,s=()=>{if(!n){n=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,i))}catch{i()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,i){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,i):this.getIframeContents(e,r,i):this.observeIframeLoad(e,r,i)}catch{i()}}waitForIframes(e,r){let i=0;this.forEachIframe(e,()=>!0,n=>{i++,this.waitForIframes(n.querySelector("html"),()=>{--i||r()})},n=>{n||r()})}forEachIframe(e,r,i,n=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let c=()=>{--s<=0&&n(l)};s||c(),a.forEach(p=>{t.matches(p,this.exclude)?c():this.onIframeReady(p,u=>{r(p)&&(l++,i(u)),c()},c)})}createIterator(e,r,i){return document.createNodeIterator(e,r,i,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,i){let n=e.compareDocumentPosition(i),a=Node.DOCUMENT_POSITION_PRECEDING;if(n&a)if(r!==null){let s=r.compareDocumentPosition(i),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),i;return r===null?i=e.nextNode():i=e.nextNode()&&e.nextNode(),{prevNode:r,node:i}}checkIframeFilter(e,r,i,n){let a=!1,s=!1;return n.forEach((l,c)=>{l.val===i&&(a=c,s=l.handled)}),this.compareNodeIframe(e,r,i)?(a===!1&&!s?n.push({val:i,handled:!0}):a!==!1&&!s&&(n[a].handled=!0),!0):(a===!1&&n.push({val:i,handled:!1}),!1)}handleOpenIframes(e,r,i,n){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,i,n)})})}iterateThroughNodes(e,r,i,n,a){let s=this.createIterator(r,e,n),l=[],c=[],p,u,h=()=>({prevNode:u,node:p}=this.getIteratorNode(s),p);for(;h();)this.iframes&&this.forEachIframe(r,g=>this.checkIframeFilter(p,u,g,l),g=>{this.createInstanceOnIframe(g).forEachNode(e,b=>c.push(b),n)}),c.push(p);c.forEach(g=>{i(g)}),this.iframes&&this.handleOpenIframes(l,e,i,n),a()}forEachNode(e,r,i,n=()=>{}){let a=this.getContexts(),s=a.length;s||n(),a.forEach(l=>{let c=()=>{this.iterateThroughNodes(e,l,r,i,()=>{--s<=0&&n()})};this.iframes?this.waitForIframes(l,c):c()})}};var mo=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new rr(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let i=this.opt.log;this.opt.debug&&typeof i=="object"&&typeof i[r]=="function"&&i[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,i=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let s=r[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&c!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(c)})`,`gm${i}`),n+`(${this.processSynomyms(l)}|${this.processSynomyms(c)})`+n))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,i,n)=>{let a=n.charAt(i+1);return/[(|)\\]/.test(a)||a===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],i=this.opt.ignorePunctuation;return Array.isArray(i)&&i.length&&r.push(this.escapeStr(i.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",i=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"],n=[];return e.split("").forEach(a=>{i.every(s=>{if(s.indexOf(a)!==-1){if(n.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),n.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",i=this.opt.accuracy,n=typeof i=="string"?i:i.value,a=typeof i=="string"?[]:i.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),n){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let r=[];return e.forEach(i=>{this.opt.separateWordSearch?i.split(" ").forEach(n=>{n.trim()&&r.indexOf(n)===-1&&r.push(n)}):i.trim()&&r.indexOf(i)===-1&&r.push(i)}),{keywords:r.sort((i,n)=>n.length-i.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],i=0;return e.sort((n,a)=>n.start-a.start).forEach(n=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(n,i);l&&(n.start=a,n.length=s-a,r.push(n),i=s)}),r}callNoMatchOnInvalidRanges(e,r){let i,n,a=!1;return e&&typeof e.start<"u"?(i=parseInt(e.start,10),n=i+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-r>0&&n-i>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:i,end:n,valid:a}}checkWhitespaceRanges(e,r,i){let n,a=!0,s=i.length,l=r-s,c=parseInt(e.start,10)-l;return c=c>s?s:c,n=c+parseInt(e.length,10),n>s&&(n=s,this.log(`End range automatically set to the max value of ${s}`)),c<0||n-c<0||c>s||n>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):i.substring(c,n).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:c,end:n,valid:a}}getTextNodes(e){let r="",i=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{i.push({start:r.length,end:(r+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:i})})}matchesExclude(e){return rr.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,i){let n=this.opt.element?this.opt.element:"mark",a=e.splitText(r),s=a.splitText(i-r),l=document.createElement(n);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(e,r,i,n,a){e.nodes.every((s,l)=>{let c=e.nodes[l+1];if(typeof c>"u"||c.start>r){if(!n(s.node))return!1;let p=r-s.start,u=(i>s.end?s.end:i)-s.start,h=e.value.substr(0,s.start),g=e.value.substr(u+s.start);if(s.node=this.wrapRangeInTextNode(s.node,p,u),e.value=h+g,e.nodes.forEach((b,x)=>{x>=l&&(e.nodes[x].start>0&&x!==l&&(e.nodes[x].start-=u),e.nodes[x].end-=u)}),i-=u,a(s.node.previousSibling,s.start),i>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,i,n,a){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(c=>{c=c.node;let p;for(;(p=e.exec(c.textContent))!==null&&p[s]!=="";){if(!i(p[s],c))continue;let u=p.index;if(s!==0)for(let h=1;h<s;h++)u+=p[h].length;c=this.wrapRangeInTextNode(c,u,u+p[s].length),n(c.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,r,i,n,a){let s=r===0?0:r+1;this.getTextNodes(l=>{let c;for(;(c=e.exec(l.value))!==null&&c[s]!=="";){let p=c.index;if(s!==0)for(let h=1;h<s;h++)p+=c[h].length;let u=p+c[s].length;this.wrapRangeInMappedTextNode(l,p,u,h=>i(c[s],h),(h,g)=>{e.lastIndex=g,n(h)})}a()})}wrapRangeFromIndex(e,r,i,n){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,c)=>{let{start:p,end:u,valid:h}=this.checkWhitespaceRanges(l,s,a.value);h&&this.wrapRangeInMappedTextNode(a,p,u,g=>r(g,l,a.value.substring(p,u),c),g=>{i(g,l)})}),n()})}unwrapMatches(e){let r=e.parentNode,i=document.createDocumentFragment();for(;e.firstChild;)i.appendChild(e.removeChild(e.firstChild));r.replaceChild(i,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let i=0,n="wrapMatches",a=s=>{i++,this.opt.each(s)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,i),a,()=>{i===0&&this.opt.noMatch(e),this.opt.done(i)})}mark(e,r){this.opt=r;let i=0,n="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",c=p=>{let u=new RegExp(this.createRegExp(p),`gm${l}`),h=0;this.log(`Searching with expression "${u}"`),this[n](u,1,(g,b)=>this.opt.filter(b,p,i,h),g=>{h++,i++,this.opt.each(g)},()=>{h===0&&this.opt.noMatch(p),a[s-1]===p?this.opt.done(i):c(a[a.indexOf(p)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),s===0?this.opt.done(i):c(a[0])}markRanges(e,r){this.opt=r;let i=0,n=this.checkRanges(e);n&&n.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(n)),this.wrapRangeFromIndex(n,(a,s,l,c)=>this.opt.filter(a,s,l,c),(a,s)=>{i++,this.opt.each(a,s)},()=>{this.opt.done(i)})):this.opt.done(i)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,i=>{this.unwrapMatches(i)},i=>{let n=rr.matches(i,r),a=this.matchesExclude(i);return!n||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function sa(t){let e=new mo(t);return this.mark=(r,i)=>(e.mark(r,i),this),this.markRegExp=(r,i)=>(e.markRegExp(r,i),this),this.markRanges=(r,i)=>(e.markRanges(r,i),this),this.unmark=r=>(e.unmark(r),this),this}var df=sa,Pl=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),pf=N`
7
7
  .highlight-html-match {
8
- background: ${wl};
8
+ background: ${Pl};
9
9
  }
10
- `,na={className:"highlight-html-match"};function ia(t,e){var r;let n=t.getAttribute("data-highlight-html-query");if((n??"")!==(e??"")){let i=new cf(t);i.unmark(na),e&&e.trim()&&(i.mark(e.replace(/"[^"]+"/g,""),{...na,separateWordSearch:!0}),((r=e.match(/"[^"]+"/g))!==null&&r!==void 0?r:[]).forEach(l=>i.mark(l.replace(/"/g,""),{...na,separateWordSearch:!1})))}t.setAttribute("data-highlight-html-query",e??"")}var sa={};ee(sa,{noTextSelect:()=>rr,safariEllipsisFix:()=>ho,wordWrap:()=>pf});var rr=R`
10
+ `,la={className:"highlight-html-match"};function ca(t,e){var r;let i=t.getAttribute("data-highlight-html-query");if((i??"")!==(e??"")){let n=new df(t);n.unmark(la),e&&e.trim()&&(n.mark(e.replace(/"[^"]+"/g,""),{...la,separateWordSearch:!0}),((r=e.match(/"[^"]+"/g))!==null&&r!==void 0?r:[]).forEach(s=>n.mark(s.replace(/"/g,""),{...la,separateWordSearch:!1})))}t.setAttribute("data-highlight-html-query",e??"")}var pa={};J(pa,{noTextSelect:()=>or,safariEllipsisFix:()=>yo,wordWrap:()=>ff});var or=N`
11
11
  .ft-no-text-select {
12
12
  -webkit-touch-callout: none;
13
13
  -webkit-user-select: none;
@@ -16,7 +16,7 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
16
16
  -ms-user-select: none;
17
17
  user-select: none;
18
18
  }
19
- `,pf=R`
19
+ `,ff=N`
20
20
  .ft-word-wrap {
21
21
  white-space: normal;
22
22
  word-wrap: break-word;
@@ -28,7 +28,7 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
28
28
  -webkit-hyphens: auto;
29
29
  hyphens: auto
30
30
  }
31
- `,ho=R`
31
+ `,yo=N`
32
32
  .ft-safari-ellipsis-fix {
33
33
  margin-right: 0;
34
34
 
@@ -39,20 +39,20 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
39
39
  display: inline-block;
40
40
  width: 0;
41
41
  }
42
- `;var Nl={};var la={};ee(la,{ParametrizedLabelResolver:()=>mo});var mo=class{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var n,i;e=this.resolvePluralKey(e,r);let s=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return r.forEach((l,c)=>s=s.replace(new RegExp(`\\{${c}([^}]*)\\}`,"g"),(d,u)=>this.formatValue(l,u))),s}resolvePluralKey(e,r){for(let n of r)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}formatValue(e,r){return e instanceof Date?this.formatDate(e,r):e??""}formatDate(e,r){let n=i=>r?.includes("date")?e.toLocaleDateString(i):r?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var Ta={};ee(Ta,{FtCommandQueue:()=>yo,FtLitElementRedux:()=>ze,FtReduxStore:()=>gt,clearAllStores:()=>Yf,isFtReduxStore:()=>or,redux:()=>he,reduxEventListener:()=>uf,reduxReactive:()=>ff});var ff=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},he=t=>{let e=t??{};return(r,n)=>{var i;let s={hasChanged:no,attribute:!1,...e};v(s)(r,n);let l=r.constructor;l.reduxProperties=new Map(l.reduxProperties),l.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:c=>c[n],store:e.store})}},uf=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)};var yo=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(n=>n.type===e);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};function or(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Al,Rl,Il,sn=Symbol("internalReduxEventsUnsubscribers"),It=Symbol("internalStoresUnsubscribers"),nr=Symbol("internalStores"),ze=class extends M{constructor(){super(...arguments),this[Al]=new Map,this[Rl]=new Map,this[Il]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[nr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[nr].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[nr].get(e)}addStore(e,r){var n;r=(n=r??(or(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,e)}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[nr].delete(r)}setupStore(e,r){this[nr].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[nr].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let i=this.getStore(e.store);i&&(e.store?this[It].has(e.store):this[It].size>0)&&(this[r]=e.selector(i.getState(),this))}})}subscribeToStore(e,r){var n;this[It].set(e,r.subscribe(()=>this.updateFromStores())),or(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,s)=>{if(typeof this[s]=="function"&&(!i.store||r.name===i.store)){let l=c=>this[s](c);r.eventBus.addEventListener(i.eventName,l),this[sn].push(()=>r.eventBus.removeEventListener(i.eventName,l))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[It].forEach((e,r)=>this.unsubscribeFromStore(r)),this[sn].forEach(e=>e()),this[sn]=[]}unsubscribeFromStore(e){this[It].has(e)&&this[It].get(e)(),this[It].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Al=It,Rl=nr,Il=sn;ze.reduxProperties=new Map;ze.reduxReactiveProperties=new Set;ze.reduxEventListeners=new Map;function He(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(0)var i,s;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(l){return"'"+l+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function yt(t){return!!t&&!!t[te]}function je(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===Sf}(t)||Array.isArray(t)||!!t[Dl]||!!(!((e=t.constructor)===null||e===void 0)&&e[Dl])||ga(t)||ba(t))}function ir(t,e,r){r===void 0&&(r=!1),wr(t)===0?(r?Object.keys:Er)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function wr(t){var e=t[te];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:ga(t)?2:ba(t)?3:0}function Cr(t,e){return wr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function hf(t,e){return wr(t)===2?t.get(e):t[e]}function Ul(t,e,r){var n=wr(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function Bl(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function ga(t){return xf&&t instanceof Map}function ba(t){return vf&&t instanceof Set}function Lt(t){return t.o||t.t}function xa(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Ml(t);delete e[te];for(var r=Er(e),n=0;n<r.length;n++){var i=r[n],s=e[i];s.writable===!1&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(e[i]={configurable:!0,writable:!0,enumerable:s.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function va(t,e){return e===void 0&&(e=!1),Sa(t)||yt(t)||!je(t)||(wr(t)>1&&(t.set=t.add=t.clear=t.delete=mf),Object.freeze(t),e&&ir(t,function(r,n){return va(n,!0)},!0)),t}function mf(){He(2)}function Sa(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function rt(t){var e=ya[t];return e||He(18,t),e}function yf(t,e){ya[t]||(ya[t]=e)}function ua(){return bo}function ca(t,e){e&&(rt("Patches"),t.u=[],t.s=[],t.v=e)}function ln(t){ha(t),t.p.forEach(gf),t.p=null}function ha(t){t===bo&&(bo=t.l)}function Ll(t){return bo={p:[],l:bo,h:t,m:!0,_:0}}function gf(t){var e=t[te];e.i===0||e.i===1?e.j():e.g=!0}function da(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||rt("ES5").S(e,t,n),n?(r[te].P&&(ln(e),He(4)),je(t)&&(t=cn(e,t),e.l||dn(e,t)),e.u&&rt("Patches").M(r[te].t,t,e.u,e.s)):t=cn(e,r,[]),ln(e),e.u&&e.v(e.u,e.s),t!==Wl?t:void 0}function cn(t,e,r){if(Sa(e))return e;var n=e[te];if(!n)return ir(e,function(c,d){return Pl(t,n,e,c,d,r)},!0),e;if(n.A!==t)return e;if(!n.P)return dn(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=xa(n.k):n.o,s=i,l=!1;n.i===3&&(s=new Set(i),i.clear(),l=!0),ir(s,function(c,d){return Pl(t,n,i,c,d,r,l)}),dn(t,i,!1),r&&t.u&&rt("Patches").N(n,r,t.u,t.s)}return n.o}function Pl(t,e,r,n,i,s,l){if(yt(i)){var c=cn(t,i,s&&e&&e.i!==3&&!Cr(e.R,n)?s.concat(n):void 0);if(Ul(r,n,c),!yt(c))return;t.m=!1}else l&&r.add(i);if(je(i)&&!Sa(i)){if(!t.h.D&&t._<1)return;cn(t,i),e&&e.A.l||dn(t,i)}}function dn(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&va(e,r)}function pa(t,e){var r=t[te];return(r?Lt(r):t)[e]}function kl(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Object.getPrototypeOf(r)}}function Pt(t){t.P||(t.P=!0,t.l&&Pt(t.l))}function fa(t){t.o||(t.o=xa(t.t))}function ma(t,e,r){var n=ga(e)?rt("MapSet").F(e,r):ba(e)?rt("MapSet").T(e,r):t.O?function(i,s){var l=Array.isArray(i),c={i:l?1:0,A:s?s.A:ua(),P:!1,I:!1,R:{},l:s,t:i,k:null,o:null,j:null,C:!1},d=c,u=xo;l&&(d=[c],u=go);var y=Proxy.revocable(d,u),g=y.revoke,x=y.proxy;return c.k=x,c.j=g,x}(e,r):rt("ES5").J(e,r);return(r?r.A:ua()).p.push(n),n}function bf(t){return yt(t)||He(22,t),function e(r){if(!je(r))return r;var n,i=r[te],s=wr(r);if(i){if(!i.P&&(i.i<4||!rt("ES5").K(i)))return i.t;i.I=!0,n=_l(r,s),i.I=!1}else n=_l(r,s);return ir(n,function(l,c){i&&hf(i.t,l)===c||Ul(n,l,e(c))}),s===3?new Set(n):n}(t)}function _l(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return xa(t)}function Fl(){function t(l,c){var d=s[l];return d?d.enumerable=c:s[l]=d={configurable:!0,enumerable:c,get:function(){var u=this[te];return xo.get(u,l)},set:function(u){var y=this[te];xo.set(y,l,u)}},d}function e(l){for(var c=l.length-1;c>=0;c--){var d=l[c][te];if(!d.P)switch(d.i){case 5:n(d)&&Pt(d);break;case 4:r(d)&&Pt(d)}}}function r(l){for(var c=l.t,d=l.k,u=Er(d),y=u.length-1;y>=0;y--){var g=u[y];if(g!==te){var x=c[g];if(x===void 0&&!Cr(c,g))return!0;var S=d[g],O=S&&S[te];if(O?O.t!==x:!Bl(S,x))return!0}}var N=!!c[te];return u.length!==Er(c).length+(N?0:1)}function n(l){var c=l.k;if(c.length!==l.t.length)return!0;var d=Object.getOwnPropertyDescriptor(c,c.length-1);if(d&&!d.get)return!0;for(var u=0;u<c.length;u++)if(!c.hasOwnProperty(u))return!0;return!1}function i(l){l.g&&He(3,JSON.stringify(Lt(l)))}var s={};yf("ES5",{J:function(l,c){var d=Array.isArray(l),u=function(g,x){if(g){for(var S=Array(x.length),O=0;O<x.length;O++)Object.defineProperty(S,""+O,t(O,!0));return S}var N=Ml(x);delete N[te];for(var k=Er(N),_=0;_<k.length;_++){var U=k[_];N[U]=t(U,g||!!N[U].enumerable)}return Object.create(Object.getPrototypeOf(x),N)}(d,l),y={i:d?5:4,A:c?c.A:ua(),P:!1,I:!1,R:{},l:c,t:l,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,te,{value:y,writable:!0}),u},S:function(l,c,d){d?yt(c)&&c[te].A===l&&e(l.p):(l.u&&function u(y){if(y&&typeof y=="object"){var g=y[te];if(g){var x=g.t,S=g.k,O=g.R,N=g.i;if(N===4)ir(S,function(E){E!==te&&(x[E]!==void 0||Cr(x,E)?O[E]||u(S[E]):(O[E]=!0,Pt(g)))}),ir(x,function(E){S[E]!==void 0||Cr(S,E)||(O[E]=!1,Pt(g))});else if(N===5){if(n(g)&&(Pt(g),O.length=!0),S.length<x.length)for(var k=S.length;k<x.length;k++)O[k]=!1;else for(var _=x.length;_<S.length;_++)O[_]=!0;for(var U=Math.min(S.length,x.length),w=0;w<U;w++)S.hasOwnProperty(w)||(O[w]=!0),O[w]===void 0&&u(S[w])}}}}(l.p[0]),e(l.p))},K:function(l){return l.i===4?r(l):n(l)}})}var Tl,bo,Oa=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",xf=typeof Map<"u",vf=typeof Set<"u",$l=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Wl=Oa?Symbol.for("immer-nothing"):((Tl={})["immer-nothing"]=!0,Tl),Dl=Oa?Symbol.for("immer-draftable"):"__$immer_draftable",te=Oa?Symbol.for("immer-state"):"__$immer_state";var Sf=""+Object.prototype.constructor,Er=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Ml=Object.getOwnPropertyDescriptors||function(t){var e={};return Er(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},ya={},xo={get:function(t,e){if(e===te)return t;var r=Lt(t);if(!Cr(r,e))return function(i,s,l){var c,d=kl(s,l);return d?"value"in d?d.value:(c=d.get)===null||c===void 0?void 0:c.call(i.k):void 0}(t,r,e);var n=r[e];return t.I||!je(n)?n:n===pa(t.t,e)?(fa(t),t.o[e]=ma(t.A.h,n,t)):n},has:function(t,e){return e in Lt(t)},ownKeys:function(t){return Reflect.ownKeys(Lt(t))},set:function(t,e,r){var n=kl(Lt(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var i=pa(Lt(t),e),s=i?.[te];if(s&&s.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Bl(r,i)&&(r!==void 0||Cr(t.t,e)))return!0;fa(t),Pt(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return pa(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,fa(t),Pt(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=Lt(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){He(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){He(12)}},go={};ir(xo,function(t,e){go[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),go.deleteProperty=function(t,e){return go.set.call(this,t,e,void 0)},go.set=function(t,e,r){return xo.set.call(this,t[0],e,r,t[0])};var Of=function(){function t(r){var n=this;this.O=$l,this.D=!0,this.produce=function(i,s,l){if(typeof i=="function"&&typeof s!="function"){var c=s;s=i;var d=n;return function(N){var k=this;N===void 0&&(N=c);for(var _=arguments.length,U=Array(_>1?_-1:0),w=1;w<_;w++)U[w-1]=arguments[w];return d.produce(N,function(E){var A;return(A=s).call.apply(A,[k,E].concat(U))})}}var u;if(typeof s!="function"&&He(6),l!==void 0&&typeof l!="function"&&He(7),je(i)){var y=Ll(n),g=ma(n,i,void 0),x=!0;try{u=s(g),x=!1}finally{x?ln(y):ha(y)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(N){return ca(y,l),da(N,y)},function(N){throw ln(y),N}):(ca(y,l),da(u,y))}if(!i||typeof i!="object"){if((u=s(i))===void 0&&(u=i),u===Wl&&(u=void 0),n.D&&va(u,!0),l){var S=[],O=[];rt("Patches").M(i,u,S,O),l(S,O)}return u}He(21,i)},this.produceWithPatches=function(i,s){if(typeof i=="function")return function(u){for(var y=arguments.length,g=Array(y>1?y-1:0),x=1;x<y;x++)g[x-1]=arguments[x];return n.produceWithPatches(u,function(S){return i.apply(void 0,[S].concat(g))})};var l,c,d=n.produce(i,s,function(u,y){l=u,c=y});return typeof Promise<"u"&&d instanceof Promise?d.then(function(u){return[u,l,c]}):[d,l,c]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){je(r)||He(8),yt(r)&&(r=bf(r));var n=Ll(this),i=ma(this,r,void 0);return i[te].C=!0,ha(n),i},e.finishDraft=function(r,n){var i=r&&r[te],s=i.A;return ca(s,n),da(void 0,s)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!$l&&He(20),this.O=r},e.applyPatches=function(r,n){var i;for(i=n.length-1;i>=0;i--){var s=n[i];if(s.path.length===0&&s.op==="replace"){r=s.value;break}}i>-1&&(n=n.slice(i+1));var l=rt("Patches").$;return yt(r)?l(r,n):this.produce(r,function(c){return l(c,n)})},t}(),Fe=new Of,Cf=Fe.produce,lb=Fe.produceWithPatches.bind(Fe),cb=Fe.setAutoFreeze.bind(Fe),db=Fe.setUseProxies.bind(Fe),pb=Fe.applyPatches.bind(Fe),fb=Fe.createDraft.bind(Fe),ub=Fe.finishDraft.bind(Fe),pn=Cf;function kt(t){"@babel/helpers - typeof";return kt=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},kt(t)}function Ca(t,e){if(kt(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(kt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Ea(t){var e=Ca(t,"string");return kt(e)==="symbol"?e:String(e)}function wa(t,e,r){return e=Ea(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function zl(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function fn(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?zl(Object(r),!0).forEach(function(n){wa(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):zl(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Se(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 Hl=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Na=function(){return Math.random().toString(36).substring(7).split("").join(".")},un={INIT:"@@redux/INIT"+Na(),REPLACE:"@@redux/REPLACE"+Na(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Na()}};function Ef(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 Aa(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Se(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Se(1));return r(Aa)(t,e)}if(typeof t!="function")throw new Error(Se(2));var i=t,s=e,l=[],c=l,d=!1;function u(){c===l&&(c=l.slice())}function y(){if(d)throw new Error(Se(3));return s}function g(N){if(typeof N!="function")throw new Error(Se(4));if(d)throw new Error(Se(5));var k=!0;return u(),c.push(N),function(){if(k){if(d)throw new Error(Se(6));k=!1,u();var U=c.indexOf(N);c.splice(U,1),l=null}}}function x(N){if(!Ef(N))throw new Error(Se(7));if(typeof N.type>"u")throw new Error(Se(8));if(d)throw new Error(Se(9));try{d=!0,s=i(s,N)}finally{d=!1}for(var k=l=c,_=0;_<k.length;_++){var U=k[_];U()}return N}function S(N){if(typeof N!="function")throw new Error(Se(10));i=N,x({type:un.REPLACE})}function O(){var N,k=g;return N={subscribe:function(U){if(typeof U!="object"||U===null)throw new Error(Se(11));function w(){U.next&&U.next(y())}w();var E=k(w);return{unsubscribe:E}}},N[Hl]=function(){return this},N}return x({type:un.INIT}),n={dispatch:x,subscribe:g,getState:y,replaceReducer:S},n[Hl]=O,n}function wf(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:un.INIT});if(typeof n>"u")throw new Error(Se(12));if(typeof r(void 0,{type:un.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Se(13))})}function Gl(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var i=e[n];typeof t[i]=="function"&&(r[i]=t[i])}var s=Object.keys(r),l,c;try{wf(r)}catch(d){c=d}return function(u,y){if(u===void 0&&(u={}),c)throw c;if(0)var g;for(var x=!1,S={},O=0;O<s.length;O++){var N=s[O],k=r[N],_=u[N],U=k(_,y);if(typeof U>"u"){var w=y&&y.type;throw new Error(Se(14))}S[N]=U,x=x||U!==_}return x=x||s.length!==Object.keys(u).length,x?S:u}}function Nr(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function Kl(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),s=function(){throw new Error(Se(15))},l={getState:i.getState,dispatch:function(){return s.apply(void 0,arguments)}},c=e.map(function(d){return d(l)});return s=Nr.apply(void 0,c)(i.dispatch),fn(fn({},i),{},{dispatch:s})}}}function Vl(t){var e=function(n){var i=n.dispatch,s=n.getState;return function(l){return function(c){return typeof c=="function"?c(i,s,t):l(c)}}};return e}var Zl=Vl();Zl.withExtraArgument=Vl;var Ra=Zl;var Jl=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Nf=function(t,e){var r={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,i,s,l;return l={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function c(u){return function(y){return d([u,y])}}function d(u){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(s=u[0]&2?i.return:u[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,u[1])).done)return s;switch(i=0,s&&(u=[u[0]&2,s.value]),u[0]){case 0:case 1:s=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,i=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(s=r.trys,!(s=s.length>0&&s[s.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!s||u[1]>s[0]&&u[1]<s[3])){r.label=u[1];break}if(u[0]===6&&r.label<s[1]){r.label=s[1],s=u;break}if(s&&r.label<s[2]){r.label=s[2],r.ops.push(u);break}s[2]&&r.ops.pop(),r.trys.pop();continue}u=e.call(t,r)}catch(y){u=[6,y],i=0}finally{n=s=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Ar=function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t},Af=Object.defineProperty,Rf=Object.defineProperties,If=Object.getOwnPropertyDescriptors,jl=Object.getOwnPropertySymbols,Lf=Object.prototype.hasOwnProperty,Pf=Object.prototype.propertyIsEnumerable,ql=function(t,e,r){return e in t?Af(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},_t=function(t,e){for(var r in e||(e={}))Lf.call(e,r)&&ql(t,r,e[r]);if(jl)for(var n=0,i=jl(e);n<i.length;n++){var r=i[n];Pf.call(e,r)&&ql(t,r,e[r])}return t},Ia=function(t,e){return Rf(t,If(e))},kf=function(t,e,r){return new Promise(function(n,i){var s=function(d){try{c(r.next(d))}catch(u){i(u)}},l=function(d){try{c(r.throw(d))}catch(u){i(u)}},c=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(s,l)};c((r=r.apply(t,e)).next())})};var _f=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Nr:Nr.apply(null,arguments)},Pb=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Tf(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}var $f=function(t){Jl(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Ar([void 0],r[0].concat(this)))):new(e.bind.apply(e,Ar([void 0],r.concat(this))))},e}(Array),Df=function(t){Jl(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Ar([void 0],r[0].concat(this)))):new(e.bind.apply(e,Ar([void 0],r.concat(this))))},e}(Array);function ka(t){return je(t)?pn(t,function(){}):t}function Uf(t){return typeof t=="boolean"}function Bf(){return function(e){return Ff(e)}}function Ff(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,n=t.immutableCheck,i=n===void 0?!0:n,s=t.serializableCheck,l=s===void 0?!0:s,c=new $f;if(r&&(Uf(r)?c.push(Ra):c.push(Ra.withExtraArgument(r.extraArgument))),0){if(i)var d;if(l)var u}return c}var La=!0;function Ql(t){var e=Bf(),r=t||{},n=r.reducer,i=n===void 0?void 0:n,s=r.middleware,l=s===void 0?e():s,c=r.devTools,d=c===void 0?!0:c,u=r.preloadedState,y=u===void 0?void 0:u,g=r.enhancers,x=g===void 0?void 0:g,S;if(typeof i=="function")S=i;else if(Tf(i))S=Gl(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var O=l;if(typeof O=="function"&&(O=O(e),!La&&!Array.isArray(O)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!La&&O.some(function(E){return typeof E!="function"}))throw new Error("each middleware provided to configureStore must be a function");var N=Kl.apply(void 0,O),k=Nr;d&&(k=_f(_t({trace:!La},typeof d=="object"&&d)));var _=new Df(N),U=_;Array.isArray(x)?U=Ar([N],x):typeof x=="function"&&(U=x(_));var w=k.apply(void 0,U);return Aa(S,y,w)}function Tt(t,e){function r(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var s=e.apply(void 0,n);if(!s)throw new Error("prepareAction did not return an object");return _t(_t({type:t,payload:s.payload},"meta"in s&&{meta:s.meta}),"error"in s&&{error:s.error})}return{type:t,payload:n[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(n){return n.type===t},r}function ec(t){var e={},r=[],n,i={addCase:function(s,l){var c=typeof s=="string"?s:s.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=l,i},addMatcher:function(s,l){return r.push({matcher:s,reducer:l}),i},addDefaultCase:function(s){return n=s,i}};return t(i),[e,r,n]}function Wf(t){return typeof t=="function"}function Mf(t,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?ec(e):[e,r,n],s=i[0],l=i[1],c=i[2],d;if(Wf(t))d=function(){return ka(t())};else{var u=ka(t);d=function(){return u}}function y(g,x){g===void 0&&(g=d());var S=Ar([s[x.type]],l.filter(function(O){var N=O.matcher;return N(x)}).map(function(O){var N=O.reducer;return N}));return S.filter(function(O){return!!O}).length===0&&(S=[c]),S.reduce(function(O,N){if(N)if(yt(O)){var k=O,_=N(k,x);return _===void 0?O:_}else{if(je(O))return pn(O,function(U){return N(U,x)});var _=N(O,x);if(_===void 0){if(O===null)return O;throw Error("A case reducer on a non-draftable value must not return undefined")}return _}return O},g)}return y.getInitialState=d,y}function zf(t,e){return t+"/"+e}function tc(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:ka(t.initialState),n=t.reducers||{},i=Object.keys(n),s={},l={},c={};i.forEach(function(y){var g=n[y],x=zf(e,y),S,O;"reducer"in g?(S=g.reducer,O=g.prepare):S=g,s[y]=S,l[x]=S,c[y]=O?Tt(x,O):Tt(x)});function d(){var y=typeof t.extraReducers=="function"?ec(t.extraReducers):[t.extraReducers],g=y[0],x=g===void 0?{}:g,S=y[1],O=S===void 0?[]:S,N=y[2],k=N===void 0?void 0:N,_=_t(_t({},x),l);return Mf(r,function(U){for(var w in _)U.addCase(w,_[w]);for(var E=0,A=O;E<A.length;E++){var F=A[E];U.addMatcher(F.matcher,F.reducer)}k&&U.addDefaultCase(k)})}var u;return{name:e,reducer:function(y,g){return u||(u=d()),u(y,g)},actions:c,caseReducers:s,getInitialState:function(){return u||(u=d()),u.getInitialState()}}}var Hf="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Gf=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=Hf[Math.random()*64|0];return e},Kf=["name","message","stack","code"],Pa=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Yl=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Vf=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=Kf;r<n.length;r++){var i=n[r];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},$b=function(){function t(e,r,n){var i=Tt(e+"/fulfilled",function(y,g,x,S){return{payload:y,meta:Ia(_t({},S||{}),{arg:x,requestId:g,requestStatus:"fulfilled"})}}),s=Tt(e+"/pending",function(y,g,x){return{payload:void 0,meta:Ia(_t({},x||{}),{arg:g,requestId:y,requestStatus:"pending"})}}),l=Tt(e+"/rejected",function(y,g,x,S,O){return{payload:S,error:(n&&n.serializeError||Vf)(y||"Rejected"),meta:Ia(_t({},O||{}),{arg:x,requestId:g,rejectedWithValue:!!S,requestStatus:"rejected",aborted:y?.name==="AbortError",condition:y?.name==="ConditionError"})}}),c=!1,d=typeof AbortController<"u"?AbortController:function(){function y(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return y.prototype.abort=function(){},y}();function u(y){return function(g,x,S){var O=n?.idGenerator?n.idGenerator(y):Gf(),N=new d,k,_=!1;function U(E){k=E,N.abort()}var w=function(){return kf(this,null,function(){var E,A,F,z,ve,Y,b;return Nf(this,function(C){switch(C.label){case 0:return C.trys.push([0,4,,5]),z=(E=n?.condition)==null?void 0:E.call(n,y,{getState:x,extra:S}),jf(z)?[4,z]:[3,2];case 1:z=C.sent(),C.label=2;case 2:if(z===!1||N.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return _=!0,ve=new Promise(function(L,Z){return N.signal.addEventListener("abort",function(){return Z({name:"AbortError",message:k||"Aborted"})})}),g(s(O,y,(A=n?.getPendingMeta)==null?void 0:A.call(n,{requestId:O,arg:y},{getState:x,extra:S}))),[4,Promise.race([ve,Promise.resolve(r(y,{dispatch:g,getState:x,extra:S,requestId:O,signal:N.signal,abort:U,rejectWithValue:function(L,Z){return new Pa(L,Z)},fulfillWithValue:function(L,Z){return new Yl(L,Z)}})).then(function(L){if(L instanceof Pa)throw L;return L instanceof Yl?i(L.payload,O,y,L.meta):i(L,O,y)})])];case 3:return F=C.sent(),[3,5];case 4:return Y=C.sent(),F=Y instanceof Pa?l(null,O,y,Y.payload,Y.meta):l(Y,O,y),[3,5];case 5:return b=n&&!n.dispatchConditionRejection&&l.match(F)&&F.meta.condition,b||g(F),[2,F]}})})}();return Object.assign(w,{abort:U,requestId:O,arg:y,unwrap:function(){return w.then(Zf)}})}}return Object.assign(u,{pending:s,rejected:l,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();function Zf(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function jf(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var rc="listener",oc="completed",nc="cancelled",Db="task-"+nc,Ub="task-"+oc,Bb=rc+"-"+nc,Fb=rc+"-"+oc;var _a="listenerMiddleware";var Wb=Tt(_a+"/add"),Mb=Tt(_a+"/removeAll"),zb=Tt(_a+"/remove");var Xl,Hb=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Xl||(Xl=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},qf=function(t){return function(e){setTimeout(e,t)}},Gb=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:qf(10);Fl();window.ftReduxStores||(window.ftReduxStores={});var gt=class t{static get(e){var r;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,s=window.ftReduxStores[n];if(or(s))return s;if(i==null)return;let l=tc({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),c=Ql({reducer:(d,u)=>u.type==="CLEAR_FT_REDUX_STORE"?l.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...u.overwrites}:l.reducer(d,u)});return window.ftReduxStores[i.name]=new t(l,c)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new yo,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,s)=>{let l=i,c=n[l];return c?(...d)=>{let u=c(...d);return this.reduxStore.dispatch(u),u}:d=>{this.setState({[l]:d})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function Yf(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))or(e)&&e.clear()}var $a={};ee($a,{serializeRequest:()=>Jf});function Xf(t){return`"${t}"`}function Jf(t,e){var r,n,i,s;let l=new URLSearchParams({"content-lang":(r=e.contentLocale)!==null&&r!==void 0?r:"all"});if(((n=e.query)===null||n===void 0?void 0:n.length)>0&&l.append("query",e.query),e.scope&&e.scope!=="DEFAULT"&&l.append("scope",e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&l.append("virtual-field",e.virtualField.toLowerCase()),e.periodFilter){let d=e.periodFilter.period,u=d?`_${d.from}_${d.to}`:"";l.append("period",e.periodFilter.periodType.toLowerCase()+u)}if(((i=e.sort)===null||i===void 0?void 0:i.length)>0&&e.sort[0].key==="ft:lastEdition"&&l.append("sort","last_update"),((s=e.filters)===null||s===void 0?void 0:s.length)>0){let d=e.filters.map(u=>{let y=u.values.map(g=>g.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(g=>encodeURIComponent(Xf(g))).join("_");return`${u.key}~${y}`}).join("*");l.append("filters",d)}return new URL(`${t.replace(/\/+$/,"")}/search?${l.toString()}`).href}var Ua={};ee(Ua,{toFtFormComponent:()=>Da});var hn=Symbol("elementInternals");function Da(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[hn].form}constructor(...i){super(i),this[hn]=this.attachInternals(),this[hn].role=e}setFormValue(i){this[hn].setFormValue(i)}}return r}var ar=class{static format(e,r,n,i){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(n,i)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}};var Ba,Fa,Wa,Ma,sr=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Wa=(Fa=(Ba=window.safari)===null||Ba===void 0?void 0:Ba.pushNotification)===null||Fa===void 0?void 0:Fa.toString())!==null&&Wa!==void 0?Wa:"")==="[object SafariRemoteNotification]",Qf="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Ma=window.ftGlobals)!==null&&Ma!==void 0?Ma:{lit:Zn,litDecorators:Xn,litRepeat:Jn,litClassMap:Qn,litStyleMap:ei,litUnsafeHTML:ri,wcUtils:{...ni,...oi,...ai,...ar,...si,...ci,...Bi,...zi,...ea,...Ui,...ra,...El,...li,...aa,...sa,...Nl,...la,...Ta,...ta,...$a,...Ua,isSafari:sr,isTouchScreen:Qf}};var eu={spacing:o.create("--ft-search-selected-facets-spacing","","SIZE","8px")},ic=R`
42
+ `;var $l={};var fa={};J(fa,{ParametrizedLabelResolver:()=>go});var go=class{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var i,n;e=this.resolvePluralKey(e,r);let a=(n=(i=this.labels[e])!==null&&i!==void 0?i:this.defaultLabels[e])!==null&&n!==void 0?n:"";return r.forEach((s,l)=>a=a.replace(new RegExp(`\\{${l}([^}]*)\\}`,"g"),(c,p)=>this.formatValue(s,p))),a}resolvePluralKey(e,r){for(let i of r)if(typeof i=="number"){let n=`${String(e)}[\\=${i}]`;if(n in this.labels||n in this.defaultLabels)return n}return e}formatValue(e,r){return e instanceof Date?this.formatDate(e,r):e??""}formatDate(e,r){let i=n=>r?.includes("date")?e.toLocaleDateString(n):r?.includes("time")?e.toLocaleTimeString(n):e.toLocaleString(n);try{return i(document.documentElement.lang)}catch{return i()}}};var Ua={};J(Ua,{FtCommandQueue:()=>bo,FtLitElementRedux:()=>ze,FtReduxStore:()=>vt,clearAllStores:()=>Xf,isFtReduxStore:()=>ir,redux:()=>he,reduxEventListener:()=>hf,reduxReactive:()=>uf});var uf=()=>(t,e)=>{var r;let i=t.constructor;i.reduxReactiveProperties=new Set(i.reduxReactiveProperties),(r=i.reduxReactiveProperties)===null||r===void 0||r.add(e)},he=t=>{let e=t??{};return(r,i)=>{var n;let a={hasChanged:no,attribute:!1,...e};y(a)(r,i);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(i,{selector:(n=e.selector)!==null&&n!==void 0?n:l=>l[i],store:e.store})}},hf=t=>(e,r)=>{let i=e.constructor;i.reduxEventListeners=new Map(i.reduxEventListeners),i.reduxEventListeners.set(r,t)};var bo=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(i=>i.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(i=>i.type===e);return r&&(this.queue=this.queue.filter(i=>i!==r)),r}};function ir(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Ll,Il,kl,ci=Symbol("internalReduxEventsUnsubscribers"),$t=Symbol("internalStoresUnsubscribers"),nr=Symbol("internalStores"),ze=class extends D{constructor(){super(...arguments),this[Ll]=new Map,this[Il]=new Map,this[kl]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[nr].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[nr].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[nr].get(e)}addStore(e,r){var i;r=(i=r??(ir(e)?e.name:void 0))!==null&&i!==void 0?i:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,e)}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[nr].delete(r)}setupStore(e,r){this[nr].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[nr].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let i=this.constructor.getPropertyOptions(r);if(!i?.attribute||!this.hasAttribute(typeof i?.attribute=="string"?i.attribute:r)){let n=this.getStore(e.store);n&&(e.store?this[$t].has(e.store):this[$t].size>0)&&(this[r]=e.selector(n.getState(),this))}})}subscribeToStore(e,r){var i;this[$t].set(e,r.subscribe(()=>this.updateFromStores())),ir(r)&&r.eventBus&&((i=this.reduxConstructor.reduxEventListeners)===null||i===void 0||i.forEach((n,a)=>{if(typeof this[a]=="function"&&(!n.store||r.name===n.store)){let s=l=>this[a](l);r.eventBus.addEventListener(n.eventName,s),this[ci].push(()=>r.eventBus.removeEventListener(n.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[$t].forEach((e,r)=>this.unsubscribeFromStore(r)),this[ci].forEach(e=>e()),this[ci]=[]}unsubscribeFromStore(e){this[$t].has(e)&&this[$t].get(e)(),this[$t].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Ll=$t,Il=nr,kl=ci;ze.reduxProperties=new Map;ze.reduxReactiveProperties=new Set;ze.reduxEventListeners=new Map;function We(t){for(var e=arguments.length,r=Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];if(0)var n,a;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function xt(t){return!!t&&!!t[ee]}function Ze(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var i=Object.getPrototypeOf(r);if(i===null)return!0;var n=Object.hasOwnProperty.call(i,"constructor")&&i.constructor;return n===Object||typeof n=="function"&&Function.toString.call(n)===Of}(t)||Array.isArray(t)||!!t[Wl]||!!(!((e=t.constructor)===null||e===void 0)&&e[Wl])||Sa(t)||Oa(t))}function ar(t,e,r){r===void 0&&(r=!1),wr(t)===0?(r?Object.keys:Er)(t).forEach(function(i){r&&typeof i=="symbol"||e(i,t[i],t)}):t.forEach(function(i,n){return e(n,i,t)})}function wr(t){var e=t[ee];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Sa(t)?2:Oa(t)?3:0}function Cr(t,e){return wr(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function mf(t,e){return wr(t)===2?t.get(e):t[e]}function Hl(t,e,r){var i=wr(t);i===2?t.set(e,r):i===3?t.add(r):t[e]=r}function Vl(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Sa(t){return vf&&t instanceof Map}function Oa(t){return Sf&&t instanceof Set}function Lt(t){return t.o||t.t}function Ca(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=Gl(t);delete e[ee];for(var r=Er(e),i=0;i<r.length;i++){var n=r[i],a=e[n];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[n]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[n]})}return Object.create(Object.getPrototypeOf(t),e)}function Ea(t,e){return e===void 0&&(e=!1),wa(t)||xt(t)||!Ze(t)||(wr(t)>1&&(t.set=t.add=t.clear=t.delete=yf),Object.freeze(t),e&&ar(t,function(r,i){return Ea(i,!0)},!0)),t}function yf(){We(2)}function wa(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function it(t){var e=va[t];return e||We(18,t),e}function gf(t,e){va[t]||(va[t]=e)}function ga(){return vo}function ua(t,e){e&&(it("Patches"),t.u=[],t.s=[],t.v=e)}function di(t){ba(t),t.p.forEach(bf),t.p=null}function ba(t){t===vo&&(vo=t.l)}function Dl(t){return vo={p:[],l:vo,h:t,m:!0,_:0}}function bf(t){var e=t[ee];e.i===0||e.i===1?e.j():e.g=!0}function ha(t,e){e._=e.p.length;var r=e.p[0],i=t!==void 0&&t!==r;return e.h.O||it("ES5").S(e,t,i),i?(r[ee].P&&(di(e),We(4)),Ze(t)&&(t=pi(e,t),e.l||fi(e,t)),e.u&&it("Patches").M(r[ee].t,t,e.u,e.s)):t=pi(e,r,[]),di(e),e.u&&e.v(e.u,e.s),t!==Kl?t:void 0}function pi(t,e,r){if(wa(e))return e;var i=e[ee];if(!i)return ar(e,function(l,c){return Ml(t,i,e,l,c,r)},!0),e;if(i.A!==t)return e;if(!i.P)return fi(t,i.t,!0),i.t;if(!i.I){i.I=!0,i.A._--;var n=i.i===4||i.i===5?i.o=Ca(i.k):i.o,a=n,s=!1;i.i===3&&(a=new Set(n),n.clear(),s=!0),ar(a,function(l,c){return Ml(t,i,n,l,c,r,s)}),fi(t,n,!1),r&&t.u&&it("Patches").N(i,r,t.u,t.s)}return i.o}function Ml(t,e,r,i,n,a,s){if(xt(n)){var l=pi(t,n,a&&e&&e.i!==3&&!Cr(e.R,i)?a.concat(i):void 0);if(Hl(r,i,l),!xt(l))return;t.m=!1}else s&&r.add(n);if(Ze(n)&&!wa(n)){if(!t.h.D&&t._<1)return;pi(t,n),e&&e.A.l||fi(t,n)}}function fi(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Ea(e,r)}function ma(t,e){var r=t[ee];return(r?Lt(r):t)[e]}function Ul(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var i=Object.getOwnPropertyDescriptor(r,e);if(i)return i;r=Object.getPrototypeOf(r)}}function It(t){t.P||(t.P=!0,t.l&&It(t.l))}function ya(t){t.o||(t.o=Ca(t.t))}function xa(t,e,r){var i=Sa(e)?it("MapSet").F(e,r):Oa(e)?it("MapSet").T(e,r):t.O?function(n,a){var s=Array.isArray(n),l={i:s?1:0,A:a?a.A:ga(),P:!1,I:!1,R:{},l:a,t:n,k:null,o:null,j:null,C:!1},c=l,p=So;s&&(c=[l],p=xo);var u=Proxy.revocable(c,p),h=u.revoke,g=u.proxy;return l.k=g,l.j=h,g}(e,r):it("ES5").J(e,r);return(r?r.A:ga()).p.push(i),i}function xf(t){return xt(t)||We(22,t),function e(r){if(!Ze(r))return r;var i,n=r[ee],a=wr(r);if(n){if(!n.P&&(n.i<4||!it("ES5").K(n)))return n.t;n.I=!0,i=Bl(r,a),n.I=!1}else i=Bl(r,a);return ar(i,function(s,l){n&&mf(n.t,s)===l||Hl(i,s,e(l))}),a===3?new Set(i):i}(t)}function Bl(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Ca(t)}function jl(){function t(s,l){var c=a[s];return c?c.enumerable=l:a[s]=c={configurable:!0,enumerable:l,get:function(){var p=this[ee];return So.get(p,s)},set:function(p){var u=this[ee];So.set(u,s,p)}},c}function e(s){for(var l=s.length-1;l>=0;l--){var c=s[l][ee];if(!c.P)switch(c.i){case 5:i(c)&&It(c);break;case 4:r(c)&&It(c)}}}function r(s){for(var l=s.t,c=s.k,p=Er(c),u=p.length-1;u>=0;u--){var h=p[u];if(h!==ee){var g=l[h];if(g===void 0&&!Cr(l,h))return!0;var b=c[h],x=b&&b[ee];if(x?x.t!==g:!Vl(b,g))return!0}}var C=!!l[ee];return p.length!==Er(l).length+(C?0:1)}function i(s){var l=s.k;if(l.length!==s.t.length)return!0;var c=Object.getOwnPropertyDescriptor(l,l.length-1);if(c&&!c.get)return!0;for(var p=0;p<l.length;p++)if(!l.hasOwnProperty(p))return!0;return!1}function n(s){s.g&&We(3,JSON.stringify(Lt(s)))}var a={};gf("ES5",{J:function(s,l){var c=Array.isArray(s),p=function(h,g){if(h){for(var b=Array(g.length),x=0;x<g.length;x++)Object.defineProperty(b,""+x,t(x,!0));return b}var C=Gl(g);delete C[ee];for(var P=Er(C),$=0;$<P.length;$++){var I=P[$];C[I]=t(I,h||!!C[I].enumerable)}return Object.create(Object.getPrototypeOf(g),C)}(c,s),u={i:c?5:4,A:l?l.A:ga(),P:!1,I:!1,R:{},l,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,ee,{value:u,writable:!0}),p},S:function(s,l,c){c?xt(l)&&l[ee].A===s&&e(s.p):(s.u&&function p(u){if(u&&typeof u=="object"){var h=u[ee];if(h){var g=h.t,b=h.k,x=h.R,C=h.i;if(C===4)ar(b,function(S){S!==ee&&(g[S]!==void 0||Cr(g,S)?x[S]||p(b[S]):(x[S]=!0,It(h)))}),ar(g,function(S){b[S]!==void 0||Cr(b,S)||(x[S]=!1,It(h))});else if(C===5){if(i(h)&&(It(h),x.length=!0),b.length<g.length)for(var P=b.length;P<g.length;P++)x[P]=!1;else for(var $=g.length;$<b.length;$++)x[$]=!0;for(var I=Math.min(b.length,g.length),O=0;O<I;O++)b.hasOwnProperty(O)||(x[O]=!0),x[O]===void 0&&p(b[O])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):i(s)}})}var Fl,vo,Aa=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",vf=typeof Map<"u",Sf=typeof Set<"u",zl=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Kl=Aa?Symbol.for("immer-nothing"):((Fl={})["immer-nothing"]=!0,Fl),Wl=Aa?Symbol.for("immer-draftable"):"__$immer_draftable",ee=Aa?Symbol.for("immer-state"):"__$immer_state";var Of=""+Object.prototype.constructor,Er=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Gl=Object.getOwnPropertyDescriptors||function(t){var e={};return Er(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},va={},So={get:function(t,e){if(e===ee)return t;var r=Lt(t);if(!Cr(r,e))return function(n,a,s){var l,c=Ul(a,s);return c?"value"in c?c.value:(l=c.get)===null||l===void 0?void 0:l.call(n.k):void 0}(t,r,e);var i=r[e];return t.I||!Ze(i)?i:i===ma(t.t,e)?(ya(t),t.o[e]=xa(t.A.h,i,t)):i},has:function(t,e){return e in Lt(t)},ownKeys:function(t){return Reflect.ownKeys(Lt(t))},set:function(t,e,r){var i=Ul(Lt(t),e);if(i?.set)return i.set.call(t.k,r),!0;if(!t.P){var n=ma(Lt(t),e),a=n?.[ee];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(Vl(r,n)&&(r!==void 0||Cr(t.t,e)))return!0;ya(t),It(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return ma(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,ya(t),It(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=Lt(t),i=Reflect.getOwnPropertyDescriptor(r,e);return i&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:i.enumerable,value:r[e]}},defineProperty:function(){We(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){We(12)}},xo={};ar(So,function(t,e){xo[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),xo.deleteProperty=function(t,e){return xo.set.call(this,t,e,void 0)},xo.set=function(t,e,r){return So.set.call(this,t[0],e,r,t[0])};var Cf=function(){function t(r){var i=this;this.O=zl,this.D=!0,this.produce=function(n,a,s){if(typeof n=="function"&&typeof a!="function"){var l=a;a=n;var c=i;return function(C){var P=this;C===void 0&&(C=l);for(var $=arguments.length,I=Array($>1?$-1:0),O=1;O<$;O++)I[O-1]=arguments[O];return c.produce(C,function(S){var E;return(E=a).call.apply(E,[P,S].concat(I))})}}var p;if(typeof a!="function"&&We(6),s!==void 0&&typeof s!="function"&&We(7),Ze(n)){var u=Dl(i),h=xa(i,n,void 0),g=!0;try{p=a(h),g=!1}finally{g?di(u):ba(u)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(C){return ua(u,s),ha(C,u)},function(C){throw di(u),C}):(ua(u,s),ha(p,u))}if(!n||typeof n!="object"){if((p=a(n))===void 0&&(p=n),p===Kl&&(p=void 0),i.D&&Ea(p,!0),s){var b=[],x=[];it("Patches").M(n,p,b,x),s(b,x)}return p}We(21,n)},this.produceWithPatches=function(n,a){if(typeof n=="function")return function(p){for(var u=arguments.length,h=Array(u>1?u-1:0),g=1;g<u;g++)h[g-1]=arguments[g];return i.produceWithPatches(p,function(b){return n.apply(void 0,[b].concat(h))})};var s,l,c=i.produce(n,a,function(p,u){s=p,l=u});return typeof Promise<"u"&&c instanceof Promise?c.then(function(p){return[p,s,l]}):[c,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){Ze(r)||We(8),xt(r)&&(r=xf(r));var i=Dl(this),n=xa(this,r,void 0);return n[ee].C=!0,ba(i),n},e.finishDraft=function(r,i){var n=r&&r[ee],a=n.A;return ua(a,i),ha(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!zl&&We(20),this.O=r},e.applyPatches=function(r,i){var n;for(n=i.length-1;n>=0;n--){var a=i[n];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}n>-1&&(i=i.slice(n+1));var s=it("Patches").$;return xt(r)?s(r,i):this.produce(r,function(l){return s(l,i)})},t}(),Ue=new Cf,Ef=Ue.produce,fb=Ue.produceWithPatches.bind(Ue),ub=Ue.setAutoFreeze.bind(Ue),hb=Ue.setUseProxies.bind(Ue),mb=Ue.applyPatches.bind(Ue),yb=Ue.createDraft.bind(Ue),gb=Ue.finishDraft.bind(Ue),ui=Ef;function kt(t){"@babel/helpers - typeof";return kt=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},kt(t)}function Ra(t,e){if(kt(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var i=r.call(t,e||"default");if(kt(i)!=="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Na(t){var e=Ra(t,"string");return kt(e)==="symbol"?e:String(e)}function _a(t,e,r){return e=Na(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Zl(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,i)}return r}function hi(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Zl(Object(r),!0).forEach(function(i){_a(t,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Zl(Object(r)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(r,i))})}return t}function Oe(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 ql=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Ta=function(){return Math.random().toString(36).substring(7).split("").join(".")},mi={INIT:"@@redux/INIT"+Ta(),REPLACE:"@@redux/REPLACE"+Ta(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Ta()}};function wf(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 Pa(t,e,r){var i;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Oe(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Oe(1));return r(Pa)(t,e)}if(typeof t!="function")throw new Error(Oe(2));var n=t,a=e,s=[],l=s,c=!1;function p(){l===s&&(l=s.slice())}function u(){if(c)throw new Error(Oe(3));return a}function h(C){if(typeof C!="function")throw new Error(Oe(4));if(c)throw new Error(Oe(5));var P=!0;return p(),l.push(C),function(){if(P){if(c)throw new Error(Oe(6));P=!1,p();var I=l.indexOf(C);l.splice(I,1),s=null}}}function g(C){if(!wf(C))throw new Error(Oe(7));if(typeof C.type>"u")throw new Error(Oe(8));if(c)throw new Error(Oe(9));try{c=!0,a=n(a,C)}finally{c=!1}for(var P=s=l,$=0;$<P.length;$++){var I=P[$];I()}return C}function b(C){if(typeof C!="function")throw new Error(Oe(10));n=C,g({type:mi.REPLACE})}function x(){var C,P=h;return C={subscribe:function(I){if(typeof I!="object"||I===null)throw new Error(Oe(11));function O(){I.next&&I.next(u())}O();var S=P(O);return{unsubscribe:S}}},C[ql]=function(){return this},C}return g({type:mi.INIT}),i={dispatch:g,subscribe:h,getState:u,replaceReducer:b},i[ql]=x,i}function Af(t){Object.keys(t).forEach(function(e){var r=t[e],i=r(void 0,{type:mi.INIT});if(typeof i>"u")throw new Error(Oe(12));if(typeof r(void 0,{type:mi.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Oe(13))})}function Yl(t){for(var e=Object.keys(t),r={},i=0;i<e.length;i++){var n=e[i];typeof t[n]=="function"&&(r[n]=t[n])}var a=Object.keys(r),s,l;try{Af(r)}catch(c){l=c}return function(p,u){if(p===void 0&&(p={}),l)throw l;if(0)var h;for(var g=!1,b={},x=0;x<a.length;x++){var C=a[x],P=r[C],$=p[C],I=P($,u);if(typeof I>"u"){var O=u&&u.type;throw new Error(Oe(14))}b[C]=I,g=g||I!==$}return g=g||a.length!==Object.keys(p).length,g?b:p}}function Ar(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(i){return i}:e.length===1?e[0]:e.reduce(function(i,n){return function(){return i(n.apply(void 0,arguments))}})}function Xl(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(i){return function(){var n=i.apply(void 0,arguments),a=function(){throw new Error(Oe(15))},s={getState:n.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(c){return c(s)});return a=Ar.apply(void 0,l)(n.dispatch),hi(hi({},n),{},{dispatch:a})}}}function Jl(t){var e=function(i){var n=i.dispatch,a=i.getState;return function(s){return function(l){return typeof l=="function"?l(n,a,t):s(l)}}};return e}var Ql=Jl();Ql.withExtraArgument=Jl;var $a=Ql;var ic=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(i[a]=n[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function i(){this.constructor=e}e.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)}}(),Rf=function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,n,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(p){return function(u){return c([p,u])}}function c(p){if(i)throw new TypeError("Generator is already executing.");for(;r;)try{if(i=1,n&&(a=p[0]&2?n.return:p[0]?n.throw||((a=n.return)&&a.call(n),0):n.next)&&!(a=a.call(n,p[1])).done)return a;switch(n=0,a&&(p=[p[0]&2,a.value]),p[0]){case 0:case 1:a=p;break;case 4:return r.label++,{value:p[1],done:!1};case 5:r.label++,n=p[1],p=[0];continue;case 7:p=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(p[0]===6||p[0]===2)){r=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){r.label=p[1];break}if(p[0]===6&&r.label<a[1]){r.label=a[1],a=p;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(p);break}a[2]&&r.ops.pop(),r.trys.pop();continue}p=e.call(t,r)}catch(u){p=[6,u],n=0}finally{i=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},Rr=function(t,e){for(var r=0,i=e.length,n=t.length;r<i;r++,n++)t[n]=e[r];return t},Nf=Object.defineProperty,_f=Object.defineProperties,Tf=Object.getOwnPropertyDescriptors,ec=Object.getOwnPropertySymbols,Pf=Object.prototype.hasOwnProperty,$f=Object.prototype.propertyIsEnumerable,tc=function(t,e,r){return e in t?Nf(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Dt=function(t,e){for(var r in e||(e={}))Pf.call(e,r)&&tc(t,r,e[r]);if(ec)for(var i=0,n=ec(e);i<n.length;i++){var r=n[i];$f.call(e,r)&&tc(t,r,e[r])}return t},La=function(t,e){return _f(t,Tf(e))},Lf=function(t,e,r){return new Promise(function(i,n){var a=function(c){try{l(r.next(c))}catch(p){n(p)}},s=function(c){try{l(r.throw(c))}catch(p){n(p)}},l=function(c){return c.done?i(c.value):Promise.resolve(c.value).then(a,s)};l((r=r.apply(t,e)).next())})};var If=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Ar:Ar.apply(null,arguments)},kb=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function kf(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}var Df=function(t){ic(e,t);function e(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Rr([void 0],r[0].concat(this)))):new(e.bind.apply(e,Rr([void 0],r.concat(this))))},e}(Array),Mf=function(t){ic(e,t);function e(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var n=t.apply(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,Rr([void 0],r[0].concat(this)))):new(e.bind.apply(e,Rr([void 0],r.concat(this))))},e}(Array);function Da(t){return Ze(t)?ui(t,function(){}):t}function Uf(t){return typeof t=="boolean"}function Bf(){return function(e){return Ff(e)}}function Ff(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,i=t.immutableCheck,n=i===void 0?!0:i,a=t.serializableCheck,s=a===void 0?!0:a,l=new Df;if(r&&(Uf(r)?l.push($a):l.push($a.withExtraArgument(r.extraArgument))),0){if(n)var c;if(s)var p}return l}var Ia=!0;function nc(t){var e=Bf(),r=t||{},i=r.reducer,n=i===void 0?void 0:i,a=r.middleware,s=a===void 0?e():a,l=r.devTools,c=l===void 0?!0:l,p=r.preloadedState,u=p===void 0?void 0:p,h=r.enhancers,g=h===void 0?void 0:h,b;if(typeof n=="function")b=n;else if(kf(n))b=Yl(n);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 x=s;if(typeof x=="function"&&(x=x(e),!Ia&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Ia&&x.some(function(S){return typeof S!="function"}))throw new Error("each middleware provided to configureStore must be a function");var C=Xl.apply(void 0,x),P=Ar;c&&(P=If(Dt({trace:!Ia},typeof c=="object"&&c)));var $=new Mf(C),I=$;Array.isArray(g)?I=Rr([C],g):typeof g=="function"&&(I=g($));var O=P.apply(void 0,I);return Pa(b,u,O)}function Mt(t,e){function r(){for(var i=[],n=0;n<arguments.length;n++)i[n]=arguments[n];if(e){var a=e.apply(void 0,i);if(!a)throw new Error("prepareAction did not return an object");return Dt(Dt({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:i[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(i){return i.type===t},r}function ac(t){var e={},r=[],i,n={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,n},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),n},addDefaultCase:function(a){return i=a,n}};return t(n),[e,r,i]}function zf(t){return typeof t=="function"}function Wf(t,e,r,i){r===void 0&&(r=[]);var n=typeof e=="function"?ac(e):[e,r,i],a=n[0],s=n[1],l=n[2],c;if(zf(t))c=function(){return Da(t())};else{var p=Da(t);c=function(){return p}}function u(h,g){h===void 0&&(h=c());var b=Rr([a[g.type]],s.filter(function(x){var C=x.matcher;return C(g)}).map(function(x){var C=x.reducer;return C}));return b.filter(function(x){return!!x}).length===0&&(b=[l]),b.reduce(function(x,C){if(C)if(xt(x)){var P=x,$=C(P,g);return $===void 0?x:$}else{if(Ze(x))return ui(x,function(I){return C(I,g)});var $=C(x,g);if($===void 0){if(x===null)return x;throw Error("A case reducer on a non-draftable value must not return undefined")}return $}return x},h)}return u.getInitialState=c,u}function Hf(t,e){return t+"/"+e}function sc(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:Da(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},s={},l={};n.forEach(function(u){var h=i[u],g=Hf(e,u),b,x;"reducer"in h?(b=h.reducer,x=h.prepare):b=h,a[u]=b,s[g]=b,l[u]=x?Mt(g,x):Mt(g)});function c(){var u=typeof t.extraReducers=="function"?ac(t.extraReducers):[t.extraReducers],h=u[0],g=h===void 0?{}:h,b=u[1],x=b===void 0?[]:b,C=u[2],P=C===void 0?void 0:C,$=Dt(Dt({},g),s);return Wf(r,function(I){for(var O in $)I.addCase(O,$[O]);for(var S=0,E=x;S<E.length;S++){var M=E[S];I.addMatcher(M.matcher,M.reducer)}P&&I.addDefaultCase(P)})}var p;return{name:e,reducer:function(u,h){return p||(p=c()),p(u,h)},actions:l,caseReducers:a,getInitialState:function(){return p||(p=c()),p.getInitialState()}}}var Vf="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",jf=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=Vf[Math.random()*64|0];return e},Kf=["name","message","stack","code"],ka=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),rc=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Gf=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,i=Kf;r<i.length;r++){var n=i[r];typeof t[n]=="string"&&(e[n]=t[n])}return e}return{message:String(t)}},Bb=function(){function t(e,r,i){var n=Mt(e+"/fulfilled",function(u,h,g,b){return{payload:u,meta:La(Dt({},b||{}),{arg:g,requestId:h,requestStatus:"fulfilled"})}}),a=Mt(e+"/pending",function(u,h,g){return{payload:void 0,meta:La(Dt({},g||{}),{arg:h,requestId:u,requestStatus:"pending"})}}),s=Mt(e+"/rejected",function(u,h,g,b,x){return{payload:b,error:(i&&i.serializeError||Gf)(u||"Rejected"),meta:La(Dt({},x||{}),{arg:g,requestId:h,rejectedWithValue:!!b,requestStatus:"rejected",aborted:u?.name==="AbortError",condition:u?.name==="ConditionError"})}}),l=!1,c=typeof AbortController<"u"?AbortController:function(){function u(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return u.prototype.abort=function(){},u}();function p(u){return function(h,g,b){var x=i?.idGenerator?i.idGenerator(u):jf(),C=new c,P,$=!1;function I(S){P=S,C.abort()}var O=function(){return Lf(this,null,function(){var S,E,M,z,Se,Z,m;return Rf(this,function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),z=(S=i?.condition)==null?void 0:S.call(i,u,{getState:g,extra:b}),qf(z)?[4,z]:[3,2];case 1:z=v.sent(),v.label=2;case 2:if(z===!1||C.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return $=!0,Se=new Promise(function(R,j){return C.signal.addEventListener("abort",function(){return j({name:"AbortError",message:P||"Aborted"})})}),h(a(x,u,(E=i?.getPendingMeta)==null?void 0:E.call(i,{requestId:x,arg:u},{getState:g,extra:b}))),[4,Promise.race([Se,Promise.resolve(r(u,{dispatch:h,getState:g,extra:b,requestId:x,signal:C.signal,abort:I,rejectWithValue:function(R,j){return new ka(R,j)},fulfillWithValue:function(R,j){return new rc(R,j)}})).then(function(R){if(R instanceof ka)throw R;return R instanceof rc?n(R.payload,x,u,R.meta):n(R,x,u)})])];case 3:return M=v.sent(),[3,5];case 4:return Z=v.sent(),M=Z instanceof ka?s(null,x,u,Z.payload,Z.meta):s(Z,x,u),[3,5];case 5:return m=i&&!i.dispatchConditionRejection&&s.match(M)&&M.meta.condition,m||h(M),[2,M]}})})}();return Object.assign(O,{abort:I,requestId:x,arg:u,unwrap:function(){return O.then(Zf)}})}}return Object.assign(p,{pending:a,rejected:s,fulfilled:n,typePrefix:e})}return t.withTypes=function(){return t},t}();function Zf(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function qf(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var lc="listener",cc="completed",dc="cancelled",Fb="task-"+dc,zb="task-"+cc,Wb=lc+"-"+dc,Hb=lc+"-"+cc;var Ma="listenerMiddleware";var Vb=Mt(Ma+"/add"),jb=Mt(Ma+"/removeAll"),Kb=Mt(Ma+"/remove");var oc,Gb=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(oc||(oc=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Yf=function(t){return function(e){setTimeout(e,t)}},Zb=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Yf(10);jl();window.ftReduxStores||(window.ftReduxStores={});var vt=class t{static get(e){var r;let i=typeof e=="string"?e:e.name,n=typeof e=="string"?void 0:e,a=window.ftReduxStores[i];if(ir(a))return a;if(n==null)return;let s=sc({...n,reducers:(r=n.reducers)!==null&&r!==void 0?r:{}}),l=nc({reducer:(c,p)=>p.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...c,...p.overwrites}:s.reducer(c,p)});return window.ftReduxStores[n.name]=new t(s,l)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new bo,this.actions=new Proxy(this.reduxSlice.actions,{get:(i,n,a)=>{let s=n,l=i[s];return l?(...c)=>{let p=l(...c);return this.reduxStore.dispatch(p),p}:c=>{this.setState({[s]:c})}}})}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 Xf(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))ir(e)&&e.clear()}var Ba={};J(Ba,{serializeRequest:()=>Qf});function Jf(t){return`"${t}"`}function Qf(t,e){var r,i,n,a;let s=new URLSearchParams({"content-lang":(r=e.contentLocale)!==null&&r!==void 0?r:"all"});if(((i=e.query)===null||i===void 0?void 0:i.length)>0&&s.append("query",e.query),e.scope&&e.scope!=="DEFAULT"&&s.append("scope",e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&s.append("virtual-field",e.virtualField.toLowerCase()),e.periodFilter){let c=e.periodFilter.period,p=c?`_${c.from}_${c.to}`:"";s.append("period",e.periodFilter.periodType.toLowerCase()+p)}if(((n=e.sort)===null||n===void 0?void 0:n.length)>0&&e.sort[0].key==="ft:lastEdition"&&s.append("sort","last_update"),((a=e.filters)===null||a===void 0?void 0:a.length)>0){let c=e.filters.map(p=>{let u=p.values.map(h=>h.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(h=>encodeURIComponent(Jf(h))).join("_");return`${p.key}~${u}`}).join("*");s.append("filters",c)}return new URL(`${t.replace(/\/+$/,"")}/search?${s.toString()}`).href}var za={};J(za,{toFtFormComponent:()=>Fa});var yi=Symbol("elementInternals");function Fa(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[yi].form}constructor(...n){super(n),this[yi]=this.attachInternals(),this[yi].role=e}setFormValue(n){this[yi].setFormValue(n)}}return r}var sr=class{static format(e,r,i,n){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(i,n)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}};var Wa,Ha,Va,ja,lr=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Va=(Ha=(Wa=window.safari)===null||Wa===void 0?void 0:Wa.pushNotification)===null||Ha===void 0?void 0:Ha.toString())!==null&&Va!==void 0?Va:"")==="[object SafariRemoteNotification]",eu="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(ja=window.ftGlobals)!==null&&ja!==void 0?ja:{lit:qi,litDecorators:Qi,litRepeat:en,litClassMap:tn,litStyleMap:rn,litUnsafeHTML:nn,wcUtils:{...sn,...an,...cn,...sr,...dn,...fn,...zn,...jn,...oa,...Fn,...aa,...na,...Tl,...pn,...da,...pa,...$l,...fa,...Ua,...ia,...Ba,...za,isSafari:lr,isTouchScreen:eu}};var tu={spacing:o.create("--ft-search-selected-facets-spacing","","SIZE","8px")},pc=N`
43
43
  .ft-search-selected-facets--container {
44
44
  display: flex;
45
45
  flex-wrap: wrap;
46
- gap: ${eu.spacing};
46
+ gap: ${tu.spacing};
47
47
  }
48
48
 
49
49
  .ft-search-selected-facets--container > * {
50
50
  min-width: 0;
51
51
  }
52
- `;var tu={setRequest:(t,e)=>{t.request=e.payload},setRequestQuery:(t,e)=>{t.request.query=e.payload},setRequestContentLocale:(t,e)=>{t.request.contentLocale=e.payload},setPageSize:(t,e)=>{t.request.paging.perPage=e.payload},setPageNumber:(t,e)=>{t.request.paging.page=e.payload},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestFilters:(t,e)=>{t.request.filters=e.payload},setRequestFacets:(t,e)=>{t.request.facets=e.payload},setRequestVirtualField:(t,e)=>{t.request.virtualField=e.payload},setRequestScope:(t,e)=>{t.request.scope=e.payload},setRequestClusterSortCriterion:(t,e)=>{var r;t.request.clusterSortCriterions=(r=e.payload)!==null&&r!==void 0?r:[]},setResults:(t,e)=>{t.results=e.payload},setFacets:(t,e)=>{t.facets=e.payload},setSpellcheck:(t,e)=>{t.spellcheck=e.payload},setLocales:(t,e)=>{t.locales=e.payload},setPaging:(t,e)=>{t.paging=e.payload},setLiveQuery:(t,e)=>{t.liveQuery=e.payload},setSuggestResults:(t,e)=>{t.suggestResults=e.payload},setRequestPeriodFilter:(t,e)=>{t.request.periodFilter=e.payload}},ac=t=>gt.get({name:"ft-search-"+t,initialState:{request:{query:"",clusterSortCriterions:[],filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:tu});var Gx=Id(lc(),1);var cc;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(cc||(cc={}));var dc;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(dc||(dc={}));var pc;(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"})(pc||(pc={}));var fc;(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"})(fc||(fc={}));var uc;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(uc||(uc={}));var hc;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(hc||(hc={}));var mc;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(mc||(mc={}));var yc;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(yc||(yc={}));var mn;(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"})(mn||(mn={}));var gc;(function(t){t.ASC="ASC",t.DESC="DESC"})(gc||(gc={}));var bc;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(bc||(bc={}));var Rr;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Rr||(Rr={}));var xc;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(xc||(xc={}));var vc;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(vc||(vc={}));var Sc;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Sc||(Sc={}));var Oc;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(Oc||(Oc={}));var Ir;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"})(Ir||(Ir={}));var me;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"})(me||(me={}));var Cc;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Cc||(Cc={}));var Wx={[me.PERSONAL_BOOK_SHARE_USER]:[me.PERSONAL_BOOK_USER],[me.HTML_EXPORT_USER]:[me.PERSONAL_BOOK_USER],[me.PDF_EXPORT_USER]:[me.PERSONAL_BOOK_USER],[me.KHUB_ADMIN]:[me.CONTENT_PUBLISHER],[me.ADMIN]:[me.KHUB_ADMIN,me.USERS_ADMIN,me.PORTAL_ADMIN],[me.DEVELOPER]:[me.BETA_USER,me.DEBUG_USER]};var Ec=R`
53
- `;var ru="ft-app-info",za=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},ou={session:(t,e)=>{Ue(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>W.eventBus.dispatchEvent(new za(e.payload)),0))}},W=gt.get({name:ru,reducers:ou,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var lr=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:n}=W.getState(),i=e??n;if(r&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,i,!0)}static await(e){return new Promise(r=>{let n=t.get(e);if(n)r(n);else{let i=W.subscribe(()=>{n=t.get(e),n&&(i(),r(n))})}})}};var ot=class{constructor(e=!0,r){var n;this.overrideApi=r;let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new et,this.cache=e?i.commonCache:new et}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:lr.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):lr.await()}clearCache(){this.cache.clearAll()}};var wc,nu=Symbol("clearAfterUnitTest"),yn=class extends ot{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[wc]=()=>{this.defaultMessages={},this.cache=new et,this.listeners={}},this.currentUiLocale=W.getState().uiLocale,W.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=W.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var n;if(e=e.toLowerCase(),Object.keys(r).length>0){let i={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...r};Ue(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}await this.fetchContext(e)}resolveMessage(e,r,...n){var i,s,l;e=e.toLowerCase(),this.fetchContext(e);let c=(s=(i=this.cache.getNow(e))===null||i===void 0?void 0:i.messages)!==null&&s!==void 0?s:{};return new mo((l=this.defaultMessages[e])!==null&&l!==void 0?l:{},c).resolve(r,...n)}async fetchContext(e){if(!this.cache.has(e))try{await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),await this.notify(e)}catch(r){console.error(r)}}subscribe(e,r){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(r),()=>{var i;return(i=this.listeners[e])===null||i===void 0?void 0:i.delete(r)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(e=>this.notify(e)))}async notify(e){this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(r=>Xo(0).then(()=>r()).catch(()=>null)))}};wc=nu;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends yn{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends yn{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var Lr=window.FluidTopicsI18nService,Nc=window.FluidTopicsCustomI18nService;var we=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(s=(i<3?l(s):i>3?l(e,r,s):l(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},ce=class extends M{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>lr.get(),this.messageContexts=[],this.cache=new et,this.cleanSessionDebouncer=new ne}render(){return T`
52
+ `;var ru={setRequest:(t,e)=>{t.request=e.payload},setRequestQuery:(t,e)=>{t.request.query=e.payload},setRequestContentLocale:(t,e)=>{t.request.contentLocale=e.payload},setPageSize:(t,e)=>{t.request.paging.perPage=e.payload},setPageNumber:(t,e)=>{t.request.paging.page=e.payload},setRequestSort:(t,e)=>{t.request.sort=e.payload},setRequestFilters:(t,e)=>{t.request.filters=e.payload},setRequestFacets:(t,e)=>{t.request.facets=e.payload},setRequestVirtualField:(t,e)=>{t.request.virtualField=e.payload},setRequestScope:(t,e)=>{t.request.scope=e.payload},setRequestClusterSortCriterion:(t,e)=>{var r;t.request.clusterSortCriterions=(r=e.payload)!==null&&r!==void 0?r:[]},setResults:(t,e)=>{t.results=e.payload},setFacets:(t,e)=>{t.facets=e.payload},setSpellcheck:(t,e)=>{t.spellcheck=e.payload},setLocales:(t,e)=>{t.locales=e.payload},setPaging:(t,e)=>{t.paging=e.payload},setLiveQuery:(t,e)=>{t.liveQuery=e.payload},setSuggestResults:(t,e)=>{t.suggestResults=e.payload},setRequestPeriodFilter:(t,e)=>{t.request.periodFilter=e.payload}},fc=t=>vt.get({name:"ft-search-"+t,initialState:{request:{query:"",clusterSortCriterions:[],filters:[],facets:[],sort:[],paging:{page:1,perPage:20}},liveQuery:""},reducers:ru});var qx=Id(hc(),1);var mc;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(mc||(mc={}));var yc;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(yc||(yc={}));var gc;(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"})(gc||(gc={}));var bc;(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"})(bc||(bc={}));var xc;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(xc||(xc={}));var vc;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(vc||(vc={}));var Sc;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Sc||(Sc={}));var Oc;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Oc||(Oc={}));var gi;(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"})(gi||(gi={}));var Cc;(function(t){t.ASC="ASC",t.DESC="DESC"})(Cc||(Cc={}));var Ec;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Ec||(Ec={}));var Nr;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Nr||(Nr={}));var wc;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(wc||(wc={}));var Ac;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Ac||(Ac={}));var Rc;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Rc||(Rc={}));var Nc;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(Nc||(Nc={}));var _r;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"})(_r||(_r={}));var me;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"})(me||(me={}));var _c;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(_c||(_c={}));var jx={[me.PERSONAL_BOOK_SHARE_USER]:[me.PERSONAL_BOOK_USER],[me.HTML_EXPORT_USER]:[me.PERSONAL_BOOK_USER],[me.PDF_EXPORT_USER]:[me.PERSONAL_BOOK_USER],[me.KHUB_ADMIN]:[me.CONTENT_PUBLISHER],[me.ADMIN]:[me.KHUB_ADMIN,me.USERS_ADMIN,me.PORTAL_ADMIN],[me.DEVELOPER]:[me.BETA_USER,me.DEBUG_USER]};var Tc=N`
53
+ `;var ou="ft-app-info",Ka=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},iu={session:(t,e)=>{De(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>U.eventBus.dispatchEvent(new Ka(e.payload)),0))}},U=vt.get({name:ou,reducers:iu,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var cr=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:i}=U.getState(),n=e??i;if(r&&n&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,n,!0)}static await(e){return new Promise(r=>{let i=t.get(e);if(i)r(i);else{let n=U.subscribe(()=>{i=t.get(e),i&&(n(),r(i))})}})}};var nt=class{constructor(e=!0,r){var i;this.overrideApi=r;let n=this.constructor;n.commonCache=(i=n.commonCache)!==null&&i!==void 0?i:new rt,this.cache=e?n.commonCache:new rt}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:cr.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):cr.await()}clearCache(){this.cache.clearAll()}};var Pc,nu=Symbol("clearAfterUnitTest"),bi=class extends nt{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Pc]=()=>{this.defaultMessages={},this.cache=new rt,this.listeners={}},this.currentUiLocale=U.getState().uiLocale,U.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=U.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var i;if(e=e.toLowerCase(),Object.keys(r).length>0){let n={...(i=this.defaultMessages[e])!==null&&i!==void 0?i:{},...r};De(this.defaultMessages[e],n)||(this.defaultMessages[e]=n,await this.notify(e))}await this.fetchContext(e)}resolveMessage(e,r,...i){var n,a,s;e=e.toLowerCase(),this.fetchContext(e);let l=(a=(n=this.cache.getNow(e))===null||n===void 0?void 0:n.messages)!==null&&a!==void 0?a:{};return new go((s=this.defaultMessages[e])!==null&&s!==void 0?s:{},l).resolve(r,...i)}async fetchContext(e){if(!this.cache.has(e))try{await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),await this.notify(e)}catch(r){console.error(r)}}subscribe(e,r){var i;return e=e.toLowerCase(),this.listeners[e]=(i=this.listeners[e])!==null&&i!==void 0?i:new Set,this.listeners[e].add(r),()=>{var n;return(n=this.listeners[e])===null||n===void 0?void 0:n.delete(r)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(e=>this.notify(e)))}async notify(e){this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(r=>Qo(0).then(()=>r()).catch(()=>null)))}};Pc=nu;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends bi{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends bi{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var Tr=window.FluidTopicsI18nService,$c=window.FluidTopicsCustomI18nService;var we=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},se=class extends D{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>cr.get(),this.messageContexts=[],this.cache=new rt,this.cleanSessionDebouncer=new oe}render(){return _`
54
54
  <slot></slot>
55
- `}update(e){super.update(e),e.has("baseUrl")&&(W.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&W.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&W.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&W.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&W.actions.noCustom(this.noCustom),e.has("editorMode")&&W.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&W.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&W.actions.session(this.session),e.has("availableUiLocales")&&W.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>Lr.addContext(r)),e.has("openExternalDocumentInNewTab")&&W.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&W.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&W.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};ce.elementDefinitions={};ce.styles=Ec;we([v()],ce.prototype,"baseUrl",void 0);we([v()],ce.prototype,"apiIntegrationIdentifier",void 0);we([v()],ce.prototype,"uiLocale",void 0);we([ge(null)],ce.prototype,"availableUiLocales",void 0);we([ge(null)],ce.prototype,"metadataConfiguration",void 0);we([v({type:Boolean})],ce.prototype,"editorMode",void 0);we([v({type:Boolean})],ce.prototype,"noCustom",void 0);we([v({type:Boolean})],ce.prototype,"openExternalDocumentInNewTab",void 0);we([v({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],ce.prototype,"noCustomComponent",void 0);we([v({type:Boolean})],ce.prototype,"withManualResources",void 0);we([v({type:Boolean})],ce.prototype,"navigatorOnline",void 0);we([v({type:Boolean})],ce.prototype,"forcedOffline",void 0);we([v({type:Object})],ce.prototype,"apiProvider",void 0);we([ge([])],ce.prototype,"messageContexts",void 0);we([ge(void 0)],ce.prototype,"session",void 0);var gn=class extends ot{async listMySearches(){let e=W.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var bn=class extends ot{async listMyBookmarks(){let e=W.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var iu="ft-user-assets",xn=gt.get({name:iu,initialState:{savedSearches:void 0,bookmarks:void 0}}),Ha=class{constructor(){this.currentSession=W.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new bn,this.savedSearchesService=new gn,W.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=W.getState();Ue((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),xn.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),xn.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();xn.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;xn.actions.bookmarks(r)}}},Ac=new Ha;var Ga=class{addCommand(e,r=!1){W.commands.add(e,r)}consumeCommand(e){return W.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Ga;var Ka=class{highlightHtml(e,r){ia(e,r)}};window.FluidTopicsHighlightHtmlService=new Ka;var Va=class{isDate(e){var r,n,i,s;return(s=(i=((n=(r=W.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(c=>c.key===e))===null||i===void 0?void 0:i.date)!==null&&s!==void 0?s:!1}format(e,r){var n,i,s;return ar.format(e,(n=r?.locale)!==null&&n!==void 0?n:W.getState().uiLocale,(i=r?.longFormat)!==null&&i!==void 0?i:!1,(s=r?.withTime)!==null&&s!==void 0?s:!1)}};window.FluidTopicsDateService=new Va;H("ft-app-context")(ce);var vn=class extends ot{async launchSearch(e){return this.cache.get(this.hash(e),async()=>(await this.awaitApi).search(e),2*60*1e3)}async launchSuggest(e){return this.cache.get(this.hash(e),async()=>(await this.awaitApi).getSuggestions(e),2*60*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}hash(e){return""+Array.from(JSON.stringify(e)).reduce((r,n)=>0|31*r+n.charCodeAt(0),0)}};var So=t=>t.request.virtualField===Rr.TITLE_ONLY&&t.request.scope===Ir.DOCUMENTS,Sn=class t extends Event{constructor(){super(t.eventName)}};Sn.eventName="search-context-clear-all-filters";var vo=class t{static build(e,r){return new t(ac(e.trim()||"context"),r)}constructor(e,r){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new ne(10),this.searchDebouncer=new ne(100),this.suggestDebouncer=new ne(300),this.service=r??new vn}async initService(){return this.updateLocales(),this.launchSearch()}setQuery(e){this.store.actions.setRequestQuery(e),this.store.actions.setLiveQuery(e),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(e){let r=this.store.getState().locales,n=this.store.getState().request.contentLocale;if(e!=n){if(r){let i=s=>r.some(l=>l.lang==s);i(e)||(e=i(n)?n:r[0].lang)}this.store.actions.setRequestContentLocale(e),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return e}setPageSize(e){this.store.actions.setPageSize(e),this.launchSearch()}setPageNumber(e){this.store.actions.setPageNumber(e),this.launchSearch()}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(e){let r=e.filter(n=>n.values.length>0);this.store.actions.setRequestFilters(r),this.store.actions.setPageNumber(1),r.forEach(n=>{this.facetIds.includes(n.key)||(this.facetIds=[...this.facetIds,n.key])}),this.launchSearch()}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e),this.launchSearch()}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(Rr.TITLE_ONLY),this.store.actions.setRequestScope(Ir.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Rr.EVERYWHERE),this.store.actions.setRequestScope(Ir.DEFAULT)),this.launchSearch()}setVirtualField(e){this.store.actions.setRequestVirtualField(e),this.launchSearch()}get searchInDocumentTitlesOnly(){return So(this.store.getState())}get periodFilter(){return this.store.getState().request.periodFilter}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new Sn)}addFacet(e){this.facetIds=[...this.facetIds,e],this.launchSearch()}replaceFacet(e,r){let n=this.facetIds.filter(i=>i!=e);r&&n.push(r),this.facetIds=n,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map(e=>e.id)}set facetIds(e){let n=[...new Set(e)].map(i=>({id:i}));this.store.actions.setRequestFacets(n)}setFilter(e,r){let n=this.store.getState().request.filters,i={key:e,values:r,negative:!1},s=[...n.filter(l=>l.key!==e),i];this.setFilters(s)}setLiveQuery(e){this.store.actions.setLiveQuery(e),this.launchSuggest()}setRequest(e){this.store.actions.setRequest(e),this.store.actions.setLiveQuery(e.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(e){this.store.actions.setRequestScope(e),this.launchSearch()}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e,this.launchSearch()}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}setPeriodFilter(e){this.store.actions.setRequestPeriodFilter(e),this.store.actions.setPageNumber(1),this.launchSearch()}updateLocales(){return this.localesDebouncer.run(async()=>this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales))}launchSearch(){return this.searchDebouncer.run(()=>this.fetchSearchData())}launchSuggest(){return this.suggestDebouncer.run(()=>this.fetchSuggestData())}async fetchSearchData(){var e,r;try{(e=this.cancelableSearch)===null||e===void 0||e.cancel();let n=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&n.query.length==0)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=xr(this.service.launchSearch(n));let i=await this.cancelableSearch;if(i.paging.currentPage<=1)this.store.actions.setResults(i.results),this.store.actions.setFacets(i.facets),this.store.actions.setSpellcheck(i.spellcheck);else{let s=((r=this.store.getState().results)!==null&&r!==void 0?r:[]).concat(i.results);this.store.actions.setResults(s)}this.store.actions.setPaging(i.paging)}}catch(n){!(n instanceof Nt)&&this.errorHandler&&this.errorHandler(n)}}async fetchSuggestData(){var e;try{let r=this.store.getState(),n=r.request,i={input:r.liveQuery,filters:n.filters,sort:n.sort,contentLocale:n.contentLocale,scope:n.scope};(e=this.cancelableSuggest)===null||e===void 0||e.cancel(),this.cancelableSuggest=xr(this.service.launchSuggest(i));let s=await this.cancelableSuggest;this.store.actions.setSuggestResults(s.suggestions)}catch(r){!(r instanceof Nt)&&this.errorHandler&&this.errorHandler(r)}}clear(){this.store.clear()}};var au=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(s=(i<3?l(s):i>3?l(e,r,s):l(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},ja=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Za=Symbol("registerInterval");function su(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Za]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Za]):this.dispatchEvent(new ja)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Za,au([j()],r.prototype,"stateManager",void 0),r}var $t=class extends su(ze){};var Rc=o.extend("--ft-ripple-color","",P.colorContent),V={color:Rc,backgroundColor:o.extend("--ft-ripple-background-color","",Rc),opacityContentOnSurfacePressed:o.external(P.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(P.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(P.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(P.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},Ic=o.extend("--ft-ripple-color","",P.colorPrimary),Lc={color:Ic,backgroundColor:o.extend("--ft-ripple-background-color","",Ic)},Pc=o.extend("--ft-ripple-color","",P.colorSecondary),kc={color:Pc,backgroundColor:o.extend("--ft-ripple-background-color","",Pc)},_c=R`
55
+ `}update(e){super.update(e),e.has("baseUrl")&&(U.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&U.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&U.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&U.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&U.actions.noCustom(this.noCustom),e.has("editorMode")&&U.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&U.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&U.actions.session(this.session),e.has("availableUiLocales")&&U.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>Tr.addContext(r)),e.has("openExternalDocumentInNewTab")&&U.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&U.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&U.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};se.elementDefinitions={};se.styles=Tc;we([y()],se.prototype,"baseUrl",void 0);we([y()],se.prototype,"apiIntegrationIdentifier",void 0);we([y()],se.prototype,"uiLocale",void 0);we([be(null)],se.prototype,"availableUiLocales",void 0);we([be(null)],se.prototype,"metadataConfiguration",void 0);we([y({type:Boolean})],se.prototype,"editorMode",void 0);we([y({type:Boolean})],se.prototype,"noCustom",void 0);we([y({type:Boolean})],se.prototype,"openExternalDocumentInNewTab",void 0);we([y({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],se.prototype,"noCustomComponent",void 0);we([y({type:Boolean})],se.prototype,"withManualResources",void 0);we([y({type:Boolean})],se.prototype,"navigatorOnline",void 0);we([y({type:Boolean})],se.prototype,"forcedOffline",void 0);we([y({type:Object})],se.prototype,"apiProvider",void 0);we([be([])],se.prototype,"messageContexts",void 0);we([be(void 0)],se.prototype,"session",void 0);var xi=class extends nt{async listMySearches(){let e=U.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var vi=class extends nt{async listMyBookmarks(){let e=U.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var au="ft-user-assets",Si=vt.get({name:au,initialState:{savedSearches:void 0,bookmarks:void 0}}),Ga=class{constructor(){this.currentSession=U.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new vi,this.savedSearchesService=new xi,U.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=U.getState();De((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Si.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Si.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Si.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;Si.actions.bookmarks(r)}}},Lc=new Ga;var Za=class{addCommand(e,r=!1){U.commands.add(e,r)}consumeCommand(e){return U.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Za;var qa=class{highlightHtml(e,r){ca(e,r)}};window.FluidTopicsHighlightHtmlService=new qa;var Ya=class{isDate(e){var r,i,n,a;return(a=(n=((i=(r=U.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&i!==void 0?i:[]).find(l=>l.key===e))===null||n===void 0?void 0:n.date)!==null&&a!==void 0?a:!1}format(e,r){var i,n,a;return sr.format(e,(i=r?.locale)!==null&&i!==void 0?i:U.getState().uiLocale,(n=r?.longFormat)!==null&&n!==void 0?n:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new Ya;F("ft-app-context")(se);var Oi=class extends nt{async launchSearch(e){return this.cache.get(this.hash(e),async()=>(await this.awaitApi).search(e),2*60*1e3)}async launchSuggest(e){return this.cache.get(this.hash(e),async()=>(await this.awaitApi).getSuggestions(e),2*60*1e3)}async getAvailableSearchLocales(){return this.cache.get("available-locales",async()=>(await this.awaitApi).getAvailableSearchLocales())}hash(e){return""+Array.from(JSON.stringify(e)).reduce((r,i)=>0|31*r+i.charCodeAt(0),0)}};var Co=t=>t.request.virtualField===Nr.TITLE_ONLY&&t.request.scope===_r.DOCUMENTS,Ci=class t extends Event{constructor(){super(t.eventName)}};Ci.eventName="search-context-clear-all-filters";var Oo=class t{static build(e,r){return new t(fc(e.trim()||"context"),r)}constructor(e,r){this.store=e,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.localesDebouncer=new oe(10),this.searchDebouncer=new oe(100),this.suggestDebouncer=new oe(300),this.service=r??new Oi}async initService(){return this.updateLocales(),this.launchSearch()}setQuery(e){this.store.actions.setRequestQuery(e),this.store.actions.setLiveQuery(e),this.store.actions.setPageNumber(1),this.launchSearch()}setContentLocale(e){let r=this.store.getState().locales,i=this.store.getState().request.contentLocale;if(e!=i){if(r){let n=a=>r.some(s=>s.lang==a);n(e)||(e=n(i)?i:r[0].lang)}this.store.actions.setRequestContentLocale(e),this.store.actions.setPageNumber(1),this.store.actions.setRequestFilters([]),this.launchSearch()}return e}setPageSize(e){this.store.actions.setPageSize(e),this.launchSearch()}setPageNumber(e){this.store.actions.setPageNumber(e),this.launchSearch()}setSort(e){this.store.actions.setRequestSort(e),this.store.actions.setPageNumber(1),this.launchSearch()}setFilters(e){let r=e.filter(i=>i.values.length>0);this.store.actions.setRequestFilters(r),this.store.actions.setPageNumber(1),r.forEach(i=>{this.facetIds.includes(i.key)||(this.facetIds=[...this.facetIds,i.key])}),this.launchSearch()}setClusterSortCriterion(e){this.store.actions.setRequestClusterSortCriterion(e),this.launchSearch()}setSearchInDocumentTitlesOnly(e){e?(this.store.actions.setRequestVirtualField(Nr.TITLE_ONLY),this.store.actions.setRequestScope(_r.DOCUMENTS)):(this.store.actions.setRequestVirtualField(Nr.EVERYWHERE),this.store.actions.setRequestScope(_r.DEFAULT)),this.launchSearch()}setVirtualField(e){this.store.actions.setRequestVirtualField(e),this.launchSearch()}get searchInDocumentTitlesOnly(){return Co(this.store.getState())}get periodFilter(){return this.store.getState().request.periodFilter}clearAllFilters(){this.setFilters([]),this.store.eventBus.dispatchEvent(new Ci)}addFacet(e){this.facetIds=[...this.facetIds,e],this.launchSearch()}replaceFacet(e,r){let i=this.facetIds.filter(n=>n!=e);r&&i.push(r),this.facetIds=i,this.launchSearch()}get facetIds(){return this.store.getState().request.facets.map(e=>e.id)}set facetIds(e){let i=[...new Set(e)].map(n=>({id:n}));this.store.actions.setRequestFacets(i)}setFilter(e,r){let i=this.store.getState().request.filters,n={key:e,values:r,negative:!1},a=[...i.filter(s=>s.key!==e),n];this.setFilters(a)}setLiveQuery(e){this.store.actions.setLiveQuery(e),this.launchSuggest()}setRequest(e){this.store.actions.setRequest(e),this.store.actions.setLiveQuery(e.query),this.store.actions.setPageNumber(1),this.launchSearch()}setScope(e){this.store.actions.setRequestScope(e),this.launchSearch()}setIgnoreEmptyQuery(e){this.ignoreEmptyQuery=e,this.launchSearch()}setOpenExternalDocumentInNewTab(e){this.openExternalDocumentInNewTab=e}setPeriodFilter(e){this.store.actions.setRequestPeriodFilter(e),this.store.actions.setPageNumber(1),this.launchSearch()}updateLocales(){return this.localesDebouncer.run(async()=>this.store.actions.setLocales((await this.service.getAvailableSearchLocales()).contentLocales))}launchSearch(){return this.searchDebouncer.run(()=>this.fetchSearchData())}launchSuggest(){return this.suggestDebouncer.run(()=>this.fetchSuggestData())}async fetchSearchData(){var e,r;try{(e=this.cancelableSearch)===null||e===void 0||e.cancel();let i=this.store.getState().request;if(this.store.actions.setPaging(void 0),this.ignoreEmptyQuery&&i.query.length==0)this.store.actions.setResults(void 0),this.store.actions.setFacets(void 0),this.store.actions.setSpellcheck(void 0);else{this.cancelableSearch=xr(this.service.launchSearch(i));let n=await this.cancelableSearch;if(n.paging.currentPage<=1)this.store.actions.setResults(n.results),this.store.actions.setFacets(n.facets),this.store.actions.setSpellcheck(n.spellcheck);else{let a=((r=this.store.getState().results)!==null&&r!==void 0?r:[]).concat(n.results);this.store.actions.setResults(a)}this.store.actions.setPaging(n.paging)}}catch(i){!(i instanceof _t)&&this.errorHandler&&this.errorHandler(i)}}async fetchSuggestData(){var e;try{let r=this.store.getState(),i=r.request,n={input:r.liveQuery,filters:i.filters,sort:i.sort,contentLocale:i.contentLocale,scope:i.scope};(e=this.cancelableSuggest)===null||e===void 0||e.cancel(),this.cancelableSuggest=xr(this.service.launchSuggest(n));let a=await this.cancelableSuggest;this.store.actions.setSuggestResults(a.suggestions)}catch(r){!(r instanceof _t)&&this.errorHandler&&this.errorHandler(r)}}clear(){this.store.clear()}};var su=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ja=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Xa=Symbol("registerInterval");function lu(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(n){this.clearStateManager(),this.stateManager=n,this.addStore(n.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Xa]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Xa]):this.dispatchEvent(new Ja)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Xa,su([K()],r.prototype,"stateManager",void 0),r}var Ut=class extends lu(ze){};var Ic=o.extend("--ft-ripple-color","",T.colorContent),V={color:Ic,backgroundColor:o.extend("--ft-ripple-background-color","",Ic),opacityContentOnSurfacePressed:o.external(T.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(T.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(T.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(T.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},kc=o.extend("--ft-ripple-color","",T.colorPrimary),Dc={color:kc,backgroundColor:o.extend("--ft-ripple-background-color","",kc)},Mc=o.extend("--ft-ripple-color","",T.colorSecondary),Uc={color:Mc,backgroundColor:o.extend("--ft-ripple-background-color","",Mc)},Bc=N`
56
56
  :host {
57
57
  display: contents;
58
58
  }
@@ -107,19 +107,19 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
107
107
  }
108
108
 
109
109
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
110
- background-color: ${kc.backgroundColor};
110
+ background-color: ${Uc.backgroundColor};
111
111
  }
112
112
 
113
113
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
114
- background-color: ${kc.color};
114
+ background-color: ${Uc.color};
115
115
  }
116
116
 
117
117
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
118
- background-color: ${Lc.backgroundColor};
118
+ background-color: ${Dc.backgroundColor};
119
119
  }
120
120
 
121
121
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
122
- background-color: ${Lc.color};
122
+ background-color: ${Dc.color};
123
123
  }
124
124
 
125
125
  .ft-ripple .ft-ripple--background {
@@ -164,19 +164,19 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
164
164
  opacity: ${V.opacityContentOnSurfacePressed};
165
165
  transform: translate(-50%, -50%) scale(1);
166
166
  }
167
- `;var Re=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(s=(i<3?l(s):i>3?l(e,r,s):l(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},J=class extends M{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new ne(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new ne(10),this.moveRipple=e=>{var r,n;let{x:i,y:s}=this.getCoordinates(e),l=(n=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-l.x:l.width/2),this.originY=Math.round(s!=null?s-l.y:l.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return T`
167
+ `;var _e=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Y=class extends D{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new oe(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new oe(10),this.moveRipple=e=>{var r,i;let{x:n,y:a}=this.getCoordinates(e),s=(i=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&i!==void 0?i:{x:0,y:0,width:0,height:0};this.originX=Math.round(n!=null?n-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return _`
168
168
  <style>
169
169
  .ft-ripple .ft-ripple--effect {
170
170
  left: ${this.originX}px;
171
171
  top: ${this.originY}px;
172
172
  }
173
173
  </style>
174
- <div class="${De(e)}">
174
+ <div class="${Ee(e)}">
175
175
  <div class="ft-ripple--background"></div>
176
176
  <div class="ft-ripple--effect"></div>
177
177
  </div>
178
- `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...c)=>d=>{c.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(d)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),s=c=>{["Enter"," "].includes(c.key)&&r("keyup")(c)},l={passive:!0};e.addEventListener("mouseover",this.startHover,l),e.addEventListener("mousemove",this.moveRipple,l),e.addEventListener("mouseleave",this.endHover,l),e.addEventListener("mousedown",n,l),e.addEventListener("touchstart",i,l),e.addEventListener("touchmove",this.moveRipple,l),e.addEventListener("keydown",s,l),e.addEventListener("focus",this.startFocus,l),e.addEventListener("blur",this.endFocus,l),e.addEventListener("focusin",this.startFocus,l),e.addEventListener("focusout",this.endFocus,l),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,l),e.removeEventListener("mousemove",this.moveRipple,l),e.removeEventListener("mouseleave",this.endHover,l),e.removeEventListener("mousedown",n,l),e.removeEventListener("touchstart",i,l),e.removeEventListener("touchmove",this.moveRipple,l),e.removeEventListener("keydown",s,l),e.removeEventListener("focus",this.startFocus,l),e.removeEventListener("blur",this.endFocus,l),e.removeEventListener("focusin",this.startFocus,l),e.removeEventListener("focusout",this.endFocus,l),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,n=e,i,s;return r.x!=null?{x:i,y:s}=r:n.touches!=null&&(i=n.touches[0].clientX,s=n.touches[0].clientY),{x:i,y:s}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};J.elementDefinitions={};J.styles=_c;Re([v({type:Boolean})],J.prototype,"primary",void 0);Re([v({type:Boolean})],J.prototype,"secondary",void 0);Re([v({type:Boolean})],J.prototype,"unbounded",void 0);Re([v({type:Boolean})],J.prototype,"activated",void 0);Re([v({type:Boolean})],J.prototype,"selected",void 0);Re([v({type:Boolean})],J.prototype,"disabled",void 0);Re([j()],J.prototype,"hovered",void 0);Re([j()],J.prototype,"focused",void 0);Re([j()],J.prototype,"pressed",void 0);Re([j()],J.prototype,"rippling",void 0);Re([j()],J.prototype,"originX",void 0);Re([j()],J.prototype,"originY",void 0);Re([K(".ft-ripple")],J.prototype,"ripple",void 0);Re([K(".ft-ripple--effect")],J.prototype,"rippleEffect",void 0);H("ft-ripple")(J);var $c=Symbol.for(""),lu=t=>{if(t?.r===$c)return t?._$litStatic$},qa=t=>({_$litStatic$:t,r:$c});var Tc=new Map,Dc=t=>(e,...r)=>{let n=r.length,i,s,l=[],c=[],d,u=0,y=!1;for(;u<n;){for(d=e[u];u<n&&(s=r[u],(i=lu(s))!==void 0);)d+=i+e[++u],y=!0;u!==n&&c.push(s),l.push(d),u++}if(u===n&&l.push(e[n]),y){let g=l.join("$$lit$$");(e=Tc.get(g))===void 0&&(l.raw=l,Tc.set(g,e=l)),r=c}return t(e,...r)},Ya=Dc(Ss),Dv=Dc(Os);var cr;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(cr||(cr={}));function Uc(t){let e=io[t];return R`
179
- .ft-typography--${Ke(t)} {
178
+ `}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,i;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(i=this.target)===null||i===void 0||i.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let i=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;i&&this.setupFor((r=this.target)!==null&&r!==void 0?r:i)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...l)=>c=>{l.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(c)},i=r("mouseup","contextmenu"),n=r("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&r("keyup")(l)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",i,s),e.addEventListener("touchstart",n,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",i,s),e.removeEventListener("touchstart",n,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,i=e,n,a;return r.x!=null?{x:n,y:a}=r:i.touches!=null&&(n=i.touches[0].clientX,a=i.touches[0].clientY),{x:n,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};Y.elementDefinitions={};Y.styles=Bc;_e([y({type:Boolean})],Y.prototype,"primary",void 0);_e([y({type:Boolean})],Y.prototype,"secondary",void 0);_e([y({type:Boolean})],Y.prototype,"unbounded",void 0);_e([y({type:Boolean})],Y.prototype,"activated",void 0);_e([y({type:Boolean})],Y.prototype,"selected",void 0);_e([y({type:Boolean})],Y.prototype,"disabled",void 0);_e([K()],Y.prototype,"hovered",void 0);_e([K()],Y.prototype,"focused",void 0);_e([K()],Y.prototype,"pressed",void 0);_e([K()],Y.prototype,"rippling",void 0);_e([K()],Y.prototype,"originX",void 0);_e([K()],Y.prototype,"originY",void 0);_e([W(".ft-ripple")],Y.prototype,"ripple",void 0);_e([W(".ft-ripple--effect")],Y.prototype,"rippleEffect",void 0);F("ft-ripple")(Y);var zc=Symbol.for(""),cu=t=>{if(t?.r===zc)return t?._$litStatic$},Qa=t=>({_$litStatic$:t,r:zc});var Fc=new Map,Wc=t=>(e,...r)=>{let i=r.length,n,a,s=[],l=[],c,p=0,u=!1;for(;p<i;){for(c=e[p];p<i&&(a=r[p],(n=cu(a))!==void 0);)c+=n+e[++p],u=!0;p!==i&&l.push(a),s.push(c),p++}if(p===i&&s.push(e[i]),u){let h=s.join("$$lit$$");(e=Fc.get(h))===void 0&&(s.raw=s,Fc.set(h,e=s)),r=l}return t(e,...r)},es=Wc(As),z0=Wc(Rs);var He;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(He||(He={}));function Hc(t){let e=ao[t];return N`
179
+ .ft-typography--${dt(t)} {
180
180
  font-family: ${e.fontFamily};
181
181
  font-size: ${e.fontSize};
182
182
  font-weight: ${e.fontWeight};
@@ -184,7 +184,7 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
184
184
  line-height: ${e.lineHeight};
185
185
  text-transform: ${e.textCase};
186
186
  }
187
- `}var Bc=o.extend("--ft-typography-font-family","",P.titleFont),bt=o.extend("--ft-typography-font-family","",P.contentFont),B={fontFamily:bt,fontSize:o.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Pr={fontFamily:o.extend("--ft-typography-title-font-family","",Bc),fontSize:o.extend("--ft-typography-title-font-size","",B.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",B.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",B.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",B.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",B.textTransform,"inherit")},kr={fontFamily:o.extend("--ft-typography-title-dense-font-family","",Bc),fontSize:o.extend("--ft-typography-title-dense-font-size","",B.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",B.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",B.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",B.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",B.textTransform,"inherit")},_r={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",bt),fontSize:o.extend("--ft-typography-subtitle1-font-size","",B.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",B.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",B.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",B.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",B.textTransform,"inherit")},Tr={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",bt),fontSize:o.extend("--ft-typography-subtitle2-font-size","",B.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",B.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",B.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",B.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",B.textTransform,"inherit")},$r={fontFamily:o.extend("--ft-typography-body1-font-family","",bt),fontSize:o.extend("--ft-typography-body1-font-size","",B.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",B.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",B.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",B.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",B.textTransform,"inherit")},be={fontFamily:o.extend("--ft-typography-body2-font-family","",bt),fontSize:o.extend("--ft-typography-body2-font-size","",B.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",B.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",B.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",B.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",B.textTransform,"inherit")},Dr={fontFamily:o.extend("--ft-typography-caption-font-family","",bt),fontSize:o.extend("--ft-typography-caption-font-size","",B.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",B.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",B.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",B.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",B.textTransform,"inherit")},Ur={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",bt),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",B.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",B.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",B.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",B.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",B.textTransform,"inherit")},Br={fontFamily:o.extend("--ft-typography-overline-font-family","",bt),fontSize:o.extend("--ft-typography-overline-font-size","",B.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",B.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",B.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",B.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",B.textTransform,"uppercase")},nt={fontFamily:o.extend("--ft-typography-button-font-family","",bt),fontSize:o.extend("--ft-typography-button-font-size","",B.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",B.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",B.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",B.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",B.textTransform,"uppercase")},Fc=R`
187
+ `}var Vc=o.extend("--ft-typography-font-family","",T.titleFont),St=o.extend("--ft-typography-font-family","",T.contentFont),k={fontFamily:St,fontSize:o.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.create("--ft-typography-text-transform","","UNKNOWN","inherit")},Pr={fontFamily:o.extend("--ft-typography-title-font-family","",Vc),fontSize:o.extend("--ft-typography-title-font-size","",k.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",k.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",k.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",k.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",k.textTransform,"inherit")},$r={fontFamily:o.extend("--ft-typography-title-dense-font-family","",Vc),fontSize:o.extend("--ft-typography-title-dense-font-size","",k.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",k.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",k.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",k.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",k.textTransform,"inherit")},Lr={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",St),fontSize:o.extend("--ft-typography-subtitle1-font-size","",k.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",k.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",k.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",k.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",k.textTransform,"inherit")},Ir={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",St),fontSize:o.extend("--ft-typography-subtitle2-font-size","",k.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",k.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",k.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",k.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",k.textTransform,"inherit")},kr={fontFamily:o.extend("--ft-typography-body1-font-family","",St),fontSize:o.extend("--ft-typography-body1-font-size","",k.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",k.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",k.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",k.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",k.textTransform,"inherit")},xe={fontFamily:o.extend("--ft-typography-body2-font-family","",St),fontSize:o.extend("--ft-typography-body2-font-size","",k.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",k.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",k.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",k.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",k.textTransform,"inherit")},Dr={fontFamily:o.extend("--ft-typography-caption-font-family","",St),fontSize:o.extend("--ft-typography-caption-font-size","",k.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",k.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",k.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",k.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",k.textTransform,"inherit")},Mr={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",St),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",k.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",k.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",k.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",k.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",k.textTransform,"inherit")},Ur={fontFamily:o.extend("--ft-typography-overline-font-family","",St),fontSize:o.extend("--ft-typography-overline-font-size","",k.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",k.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",k.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",k.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",k.textTransform,"uppercase")},at={fontFamily:o.extend("--ft-typography-button-font-family","",St),fontSize:o.extend("--ft-typography-button-font-size","",k.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",k.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",k.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",k.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",k.textTransform,"uppercase")},jc=N`
188
188
  .ft-typography--title {
189
189
  font-family: ${Pr.fontFamily};
190
190
  font-size: ${Pr.fontSize};
@@ -193,36 +193,8 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
193
193
  line-height: ${Pr.lineHeight};
194
194
  text-transform: ${Pr.textTransform};
195
195
  }
196
- `,Wc=R`
196
+ `,Kc=N`
197
197
  .ft-typography--title-dense {
198
- font-family: ${kr.fontFamily};
199
- font-size: ${kr.fontSize};
200
- font-weight: ${kr.fontWeight};
201
- letter-spacing: ${kr.letterSpacing};
202
- line-height: ${kr.lineHeight};
203
- text-transform: ${kr.textTransform};
204
- }
205
- `,Mc=R`
206
- .ft-typography--subtitle1 {
207
- font-family: ${_r.fontFamily};
208
- font-size: ${_r.fontSize};
209
- font-weight: ${_r.fontWeight};
210
- letter-spacing: ${_r.letterSpacing};
211
- line-height: ${_r.lineHeight};
212
- text-transform: ${_r.textTransform};
213
- }
214
- `,zc=R`
215
- .ft-typography--subtitle2 {
216
- font-family: ${Tr.fontFamily};
217
- font-size: ${Tr.fontSize};
218
- font-weight: ${Tr.fontWeight};
219
- letter-spacing: ${Tr.letterSpacing};
220
- line-height: ${Tr.lineHeight};
221
- text-transform: ${Tr.textTransform};
222
- }
223
-
224
- `,Hc=R`
225
- .ft-typography--body1 {
226
198
  font-family: ${$r.fontFamily};
227
199
  font-size: ${$r.fontSize};
228
200
  font-weight: ${$r.fontWeight};
@@ -230,16 +202,44 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
230
202
  line-height: ${$r.lineHeight};
231
203
  text-transform: ${$r.textTransform};
232
204
  }
233
- `,Gc=R`
205
+ `,Gc=N`
206
+ .ft-typography--subtitle1 {
207
+ font-family: ${Lr.fontFamily};
208
+ font-size: ${Lr.fontSize};
209
+ font-weight: ${Lr.fontWeight};
210
+ letter-spacing: ${Lr.letterSpacing};
211
+ line-height: ${Lr.lineHeight};
212
+ text-transform: ${Lr.textTransform};
213
+ }
214
+ `,Zc=N`
215
+ .ft-typography--subtitle2 {
216
+ font-family: ${Ir.fontFamily};
217
+ font-size: ${Ir.fontSize};
218
+ font-weight: ${Ir.fontWeight};
219
+ letter-spacing: ${Ir.letterSpacing};
220
+ line-height: ${Ir.lineHeight};
221
+ text-transform: ${Ir.textTransform};
222
+ }
223
+
224
+ `,qc=N`
225
+ .ft-typography--body1 {
226
+ font-family: ${kr.fontFamily};
227
+ font-size: ${kr.fontSize};
228
+ font-weight: ${kr.fontWeight};
229
+ letter-spacing: ${kr.letterSpacing};
230
+ line-height: ${kr.lineHeight};
231
+ text-transform: ${kr.textTransform};
232
+ }
233
+ `,Yc=N`
234
234
  .ft-typography--body2 {
235
- font-family: ${be.fontFamily};
236
- font-size: ${be.fontSize};
237
- font-weight: ${be.fontWeight};
238
- letter-spacing: ${be.letterSpacing};
239
- line-height: ${be.lineHeight};
240
- text-transform: ${be.textTransform};
241
- }
242
- `,On=R`
235
+ font-family: ${xe.fontFamily};
236
+ font-size: ${xe.fontSize};
237
+ font-weight: ${xe.fontWeight};
238
+ letter-spacing: ${xe.letterSpacing};
239
+ line-height: ${xe.lineHeight};
240
+ text-transform: ${xe.textTransform};
241
+ }
242
+ `,Ei=N`
243
243
  .ft-typography--caption {
244
244
  font-family: ${Dr.fontFamily};
245
245
  font-size: ${Dr.fontSize};
@@ -248,8 +248,17 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
248
248
  line-height: ${Dr.lineHeight};
249
249
  text-transform: ${Dr.textTransform};
250
250
  }
251
- `,Kc=R`
251
+ `,Xc=N`
252
252
  .ft-typography--breadcrumb {
253
+ font-family: ${Mr.fontFamily};
254
+ font-size: ${Mr.fontSize};
255
+ font-weight: ${Mr.fontWeight};
256
+ letter-spacing: ${Mr.letterSpacing};
257
+ line-height: ${Mr.lineHeight};
258
+ text-transform: ${Mr.textTransform};
259
+ }
260
+ `,Jc=N`
261
+ .ft-typography--overline {
253
262
  font-family: ${Ur.fontFamily};
254
263
  font-size: ${Ur.fontSize};
255
264
  font-weight: ${Ur.fontWeight};
@@ -257,37 +266,28 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
257
266
  line-height: ${Ur.lineHeight};
258
267
  text-transform: ${Ur.textTransform};
259
268
  }
260
- `,Vc=R`
261
- .ft-typography--overline {
262
- font-family: ${Br.fontFamily};
263
- font-size: ${Br.fontSize};
264
- font-weight: ${Br.fontWeight};
265
- letter-spacing: ${Br.letterSpacing};
266
- line-height: ${Br.lineHeight};
267
- text-transform: ${Br.textTransform};
268
- }
269
- `,Zc=R`
269
+ `,Qc=N`
270
270
  .ft-typography--button {
271
- font-family: ${nt.fontFamily};
272
- font-size: ${nt.fontSize};
273
- font-weight: ${nt.fontWeight};
274
- letter-spacing: ${nt.letterSpacing};
275
- line-height: ${nt.lineHeight};
276
- text-transform: ${nt.textTransform};
277
- }
278
- `,jc=R`
271
+ font-family: ${at.fontFamily};
272
+ font-size: ${at.fontSize};
273
+ font-weight: ${at.fontWeight};
274
+ letter-spacing: ${at.letterSpacing};
275
+ line-height: ${at.lineHeight};
276
+ text-transform: ${at.textTransform};
277
+ }
278
+ `,ed=N`
279
279
  .ft-typography {
280
280
  vertical-align: inherit;
281
281
  }
282
- `,qc=[Object.keys(io).map(t=>Uc(t))];var Yc=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(s=(i<3?l(s):i>3?l(e,r,s):l(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},ie=class extends M{constructor(){super(...arguments),this.variant=cr.body1}render(){return this.element?Ya`
283
- <${qa(this.element)}
282
+ `,td=[Object.keys(ao).map(t=>Hc(t))];var rd=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Q=class extends D{constructor(){super(...arguments),this.variant=He.body1}render(){return this.element?es`
283
+ <${Qa(this.element)}
284
284
  part="text"
285
285
  class="ft-typography ft-typography--${this.variant}">
286
286
  <slot></slot>
287
- </${qa(this.element)}>
288
- `:Ya`
287
+ </${Qa(this.element)}>
288
+ `:es`
289
289
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
290
- `}};ie.styles=[Fc,Wc,Mc,zc,Hc,Gc,On,Kc,Vc,Zc,jc,...qc];Yc([v()],ie.prototype,"element",void 0);Yc([v()],ie.prototype,"variant",void 0);H("ft-typography")(ie);var Cn;(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;"})(Cn||(Cn={}));var I;(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(I||(I={}));var kS=new Map([...["abw"].map(t=>[t,I.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,I.AUDIO]),...["avi"].map(t=>[t,I.AVI]),...["chm","xhs"].map(t=>[t,I.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,I.CODE]),...["csv"].map(t=>[t,I.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,I.DITA]),...["epub"].map(t=>[t,I.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,I.EXCEL]),...["flac"].map(t=>[t,I.FLAC]),...["gif"].map(t=>[t,I.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,I.GZIP]),...["html","htm","xhtml"].map(t=>[t,I.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,I.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,I.JPEG]),...["json"].map(t=>[t,I.JSON]),...["m4a","m4p"].map(t=>[t,I.M4A]),...["mov","qt"].map(t=>[t,I.MOV]),...["mp3"].map(t=>[t,I.MP3]),...["mp4","m4v"].map(t=>[t,I.MP4]),...["ogg","oga"].map(t=>[t,I.OGG]),...["pdf","ps"].map(t=>[t,I.PDF]),...["png"].map(t=>[t,I.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,I.POWERPOINT]),...["rar"].map(t=>[t,I.RAR]),...["stp"].map(t=>[t,I.STP]),...["txt","rtf","md","mdown"].map(t=>[t,I.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,I.VIDEO]),...["wav"].map(t=>[t,I.WAV]),...["wma"].map(t=>[t,I.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,I.WORD]),...["xml","xsl","rdf"].map(t=>[t,I.XML]),...["yaml","yml","x-yaml"].map(t=>[t,I.YAML]),...["zip"].map(t=>[t,I.ZIP])]);var _S={[I.ABW]:"#91ABC6",[I.AUDIO]:"#1795E3",[I.AVI]:"#E63324",[I.CHM]:"#71C3EB",[I.CODE]:"#71C3EB",[I.CSV]:"#1F7345",[I.DITA]:"#71C3EB",[I.EPUB]:"#85B926",[I.EXCEL]:"#1F7345",[I.FLAC]:"#1795E3",[I.GIF]:"#59B031",[I.GZIP]:"#F8AB36",[I.HTML]:"#71C3EB",[I.IMAGE]:"#59B031",[I.JPEG]:"#59B031",[I.JSON]:"#71C3EB",[I.M4A]:"#1795E3",[I.MOV]:"#E63324",[I.MP3]:"#1795E3",[I.MP4]:"#E63324",[I.OGG]:"#1795E3",[I.PDF]:"#E44948",[I.PNG]:"#59B031",[I.POWERPOINT]:"#B54A2B",[I.RAR]:"#F8AB36",[I.STP]:"#3764B1",[I.TEXT]:"#3162AB",[I.UNKNOWN]:"#999999",[I.VIDEO]:"#E63324",[I.WAV]:"#1795E3",[I.WMA]:"#1795E3",[I.WORD]:"#3162AB",[I.XML]:"#71C3EB",[I.YAML]:"#71C3EB",[I.ZIP]:"#F8AB36"};var Oe={size:o.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.extend("--ft-icon-fluid-topics-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.extend("--ft-icon-file-format-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.extend("--ft-icon-material-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Xc=R`
290
+ `}};Q.styles=[jc,Kc,Gc,Zc,qc,Yc,Ei,Xc,Jc,Qc,ed,...td];rd([y()],Q.prototype,"element",void 0);rd([y()],Q.prototype,"variant",void 0);F("ft-typography")(Q);var Br;(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.LIST_MAGNIFYING_GLASS="&#xe995;",t.MEDAL="&#xe996;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;"})(Br||(Br={}));var A;(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(A||(A={}));var MS=new Map([...["abw"].map(t=>[t,A.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,A.AUDIO]),...["avi"].map(t=>[t,A.AVI]),...["chm","xhs"].map(t=>[t,A.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,A.CODE]),...["csv"].map(t=>[t,A.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,A.DITA]),...["epub"].map(t=>[t,A.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,A.EXCEL]),...["flac"].map(t=>[t,A.FLAC]),...["gif"].map(t=>[t,A.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,A.GZIP]),...["html","htm","xhtml"].map(t=>[t,A.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,A.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,A.JPEG]),...["json"].map(t=>[t,A.JSON]),...["m4a","m4p"].map(t=>[t,A.M4A]),...["mov","qt"].map(t=>[t,A.MOV]),...["mp3"].map(t=>[t,A.MP3]),...["mp4","m4v"].map(t=>[t,A.MP4]),...["ogg","oga"].map(t=>[t,A.OGG]),...["pdf","ps"].map(t=>[t,A.PDF]),...["png"].map(t=>[t,A.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,A.POWERPOINT]),...["rar"].map(t=>[t,A.RAR]),...["stp"].map(t=>[t,A.STP]),...["txt","rtf","md","mdown"].map(t=>[t,A.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,A.VIDEO]),...["wav"].map(t=>[t,A.WAV]),...["wma"].map(t=>[t,A.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,A.WORD]),...["xml","xsl","rdf"].map(t=>[t,A.XML]),...["yaml","yml","x-yaml"].map(t=>[t,A.YAML]),...["zip"].map(t=>[t,A.ZIP])]);var US={[A.ABW]:"#91ABC6",[A.AUDIO]:"#1795E3",[A.AVI]:"#E63324",[A.CHM]:"#71C3EB",[A.CODE]:"#71C3EB",[A.CSV]:"#1F7345",[A.DITA]:"#71C3EB",[A.EPUB]:"#85B926",[A.EXCEL]:"#1F7345",[A.FLAC]:"#1795E3",[A.GIF]:"#59B031",[A.GZIP]:"#F8AB36",[A.HTML]:"#71C3EB",[A.IMAGE]:"#59B031",[A.JPEG]:"#59B031",[A.JSON]:"#71C3EB",[A.M4A]:"#1795E3",[A.MOV]:"#E63324",[A.MP3]:"#1795E3",[A.MP4]:"#E63324",[A.OGG]:"#1795E3",[A.PDF]:"#E44948",[A.PNG]:"#59B031",[A.POWERPOINT]:"#B54A2B",[A.RAR]:"#F8AB36",[A.STP]:"#3764B1",[A.TEXT]:"#3162AB",[A.UNKNOWN]:"#999999",[A.VIDEO]:"#E63324",[A.WAV]:"#1795E3",[A.WMA]:"#1795E3",[A.WORD]:"#3162AB",[A.XML]:"#71C3EB",[A.YAML]:"#71C3EB",[A.ZIP]:"#F8AB36"};var de={size:o.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.extend("--ft-icon-fluid-topics-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.extend("--ft-icon-file-format-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.extend("--ft-icon-material-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.create("--ft-icon-vertical-align","","UNKNOWN","unset")},od=N`
291
291
  :host, i.ft-icon {
292
292
  display: inline-flex;
293
293
  align-items: center;
@@ -296,14 +296,14 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
296
296
  }
297
297
 
298
298
  :host {
299
- width: ${Oe.size};
300
- height: ${Oe.size};
299
+ width: ${de.size};
300
+ height: ${de.size};
301
301
  }
302
302
 
303
303
  i.ft-icon {
304
304
  width: 100%;
305
305
  height: 100%;
306
- font-size: ${Oe.size};
306
+ font-size: ${de.size};
307
307
  line-height: 1;
308
308
  font-weight: normal;
309
309
  text-transform: none;
@@ -314,33 +314,33 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
314
314
  text-rendering: auto;
315
315
  -webkit-font-smoothing: antialiased;
316
316
  -moz-osx-font-smoothing: grayscale;
317
- vertical-align: ${Oe.verticalAlign};
317
+ vertical-align: ${de.verticalAlign};
318
318
  }
319
319
 
320
320
  i.ft-icon.ft-icon--fluid-topics {
321
- font-family: ${Oe.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
321
+ font-family: ${de.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
322
322
 
323
323
  /* Ugly fix because font is broken */
324
- font-size: calc(0.75 * ${Oe.size});
325
- line-height: ${Oe.size};
324
+ font-size: calc(0.75 * ${de.size});
325
+ line-height: ${de.size};
326
326
  position: relative;
327
327
  top: -4%;
328
328
  justify-content: center;
329
329
  }
330
330
 
331
331
  .ft-icon--file-format {
332
- font-family: ${Oe.fileFormatFontFamily}, ft-mime, sans-serif;
332
+ font-family: ${de.fileFormatFontFamily}, ft-mime, sans-serif;
333
333
  }
334
334
 
335
335
  .ft-icon--material {
336
- font-family: ${Oe.materialFontFamily}, "Material Icons", sans-serif;
336
+ font-family: ${de.materialFontFamily}, "Material Icons", sans-serif;
337
337
  }
338
- `;var Dt;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Dt||(Dt={}));var En=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(s=(i<3?l(s):i>3?l(e,r,s):l(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Ce=class extends M{constructor(){super(...arguments),this.resolvedIcon=G}render(){let e=this.variant&&Object.values(Dt).includes(this.variant)?this.variant:Dt.fluid_topics,r=e!==Dt.material||!!this.value;return T`
338
+ `;var Ve;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Ve||(Ve={}));var wi=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ye=class extends D{constructor(){super(...arguments),this.resolvedIcon=B}render(){let e=this.variant&&Object.values(Ve).includes(this.variant)?this.variant:Ve.fluid_topics,r=e!==Ve.material||!!this.value;return _`
339
339
  <i class="ft-icon ft-icon--${e}" part="icon icon-${e}">
340
- ${ti(this.resolvedIcon)}
340
+ ${on(this.resolvedIcon)}
341
341
  <slot ?hidden=${r}></slot>
342
342
  </i>
343
- `}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let n=this.value||this.textContent;switch(this.variant){case Dt.file_format:this.resolvedIcon=(e=I[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case Dt.material:this.resolvedIcon=this.value||G;break;default:this.resolvedIcon=(r=Cn[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};Ce.elementDefinitions={};Ce.styles=Xc;En([v()],Ce.prototype,"variant",void 0);En([v()],Ce.prototype,"value",void 0);En([j()],Ce.prototype,"resolvedIcon",void 0);En([K("slot")],Ce.prototype,"slottedContent",void 0);H("ft-icon")(Ce);var Ie={color:o.extend("--ft-loader-color","",P.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},Jc=R`
343
+ `}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let i=this.value||this.textContent;switch(this.variant){case Ve.file_format:this.resolvedIcon=(e=A[i.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:i;break;case Ve.material:this.resolvedIcon=this.value||B;break;default:this.resolvedIcon=(r=Br[i.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:i;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};ye.elementDefinitions={};ye.styles=od;wi([y()],ye.prototype,"variant",void 0);wi([y()],ye.prototype,"value",void 0);wi([K()],ye.prototype,"resolvedIcon",void 0);wi([W("slot")],ye.prototype,"slottedContent",void 0);F("ft-icon")(ye);var Ae={color:o.extend("--ft-loader-color","",T.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},id=N`
344
344
  :host {
345
345
  line-height: 0;
346
346
  }
@@ -349,8 +349,8 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
349
349
  display: inline-block;
350
350
  position: relative;
351
351
 
352
- width: ${Ie.size};
353
- height: ${Ie.size};
352
+ width: ${Ae.size};
353
+ height: ${Ae.size};
354
354
  }
355
355
 
356
356
  .ft-loader div {
@@ -359,7 +359,7 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
359
359
  width: 25%;
360
360
  height: 25%;
361
361
  border-radius: 50%;
362
- background: ${Ie.color};
362
+ background: ${Ae.color};
363
363
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
364
364
  }
365
365
 
@@ -406,10 +406,10 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
406
406
  transform: translate(0, 0);
407
407
  }
408
408
  100% {
409
- transform: translate(calc(0.35 * ${Ie.size}), 0);
409
+ transform: translate(calc(0.35 * ${Ae.size}), 0);
410
410
  }
411
411
  }
412
- `;var Qc=o.extend("--ft-button-color","",P.colorPrimary),Q={backgroundColor:o.extend("--ft-button-background-color","",P.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",P.borderRadiusL),color:Qc,fontSize:o.extend("--ft-button-font-size","",nt.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",Qc),verticalPadding:o.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.external(P.colorOpacityDisabled,"Design system")},ed=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",P.colorOnPrimary)),Xa={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",P.colorPrimary)),color:ed,rippleColor:o.extend("--ft-button-primary-ripple-color","",ed)},it={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",P.borderRadiusM)),verticalPadding:o.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:o.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:o.create("--ft-button-dense-icon-padding","","SIZE","4px")},td=[R`
412
+ `;var nd=o.extend("--ft-button-color","",T.colorPrimary),X={backgroundColor:o.extend("--ft-button-background-color","",T.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",T.borderRadiusL),color:nd,fontSize:o.extend("--ft-button-font-size","",at.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",nd),verticalPadding:o.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.external(T.colorOpacityDisabled,"Design system")},ad=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",T.colorOnPrimary)),ts={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",T.colorPrimary)),color:ad,rippleColor:o.extend("--ft-button-primary-ripple-color","",ad)},st={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",T.borderRadiusM)),verticalPadding:o.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:o.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:o.create("--ft-button-dense-icon-padding","","SIZE","4px")},sd=[N`
413
413
  :host {
414
414
  display: inline-block;
415
415
  max-width: 100%;
@@ -420,7 +420,7 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
420
420
  box-shadow: 0px 0px 0px transparent;
421
421
  border: 0px solid transparent;
422
422
  text-shadow: 0px 0px 0px transparent;
423
- font-size: ${Q.fontSize};
423
+ font-size: ${X.fontSize};
424
424
  }
425
425
 
426
426
  button:hover {
@@ -449,31 +449,31 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
449
449
  border: none;
450
450
  pointer-events: auto;
451
451
 
452
- --ft-button-internal-line-height: max(calc(${Q.fontSize} + 2px), ${Q.iconSize});
453
- --ft-button-internal-color: ${Q.color};
454
- ${D(Oe.size,Q.iconSize)};
455
- ${D(V.color,Q.rippleColor)};
452
+ --ft-button-internal-line-height: max(calc(${X.fontSize} + 2px), ${X.iconSize});
453
+ --ft-button-internal-color: ${X.color};
454
+ ${L(de.size,X.iconSize)};
455
+ ${L(V.color,X.rippleColor)};
456
456
 
457
- border-radius: ${Q.borderRadius};
458
- padding: ${Q.verticalPadding} ${Q.horizontalPadding};
459
- background-color: ${Q.backgroundColor};
457
+ border-radius: ${X.borderRadius};
458
+ padding: ${X.verticalPadding} ${X.horizontalPadding};
459
+ background-color: ${X.backgroundColor};
460
460
  color: var(--ft-button-internal-color);
461
461
  -webkit-mask-image: radial-gradient(white, black);
462
462
  }
463
463
 
464
464
  .ft-button.ft-button--outlined {
465
465
  border: 1px solid var(--ft-button-internal-color);
466
- padding: calc(${Q.verticalPadding} - 1px) calc(${Q.horizontalPadding} - 1px);
466
+ padding: calc(${X.verticalPadding} - 1px) calc(${X.horizontalPadding} - 1px);
467
467
  }
468
468
 
469
469
  .ft-button.ft-button--dense {
470
- padding: ${it.verticalPadding} ${it.horizontalPadding};
471
- border-radius: ${it.borderRadius};
472
- gap: ${it.iconPadding};
470
+ padding: ${st.verticalPadding} ${st.horizontalPadding};
471
+ border-radius: ${st.borderRadius};
472
+ gap: ${st.iconPadding};
473
473
  }
474
474
 
475
475
  .ft-button.ft-button--dense.ft-button--outlined {
476
- padding: calc(${it.verticalPadding} - 1px) calc(${it.horizontalPadding} - 1px);
476
+ padding: calc(${st.verticalPadding} - 1px) calc(${st.horizontalPadding} - 1px);
477
477
  }
478
478
 
479
479
  .ft-button:not([disabled]):hover {
@@ -481,22 +481,22 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
481
481
  }
482
482
 
483
483
  .ft-button--round {
484
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Q.verticalPadding});
484
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${X.verticalPadding});
485
485
  }
486
486
 
487
487
  .ft-button--round.ft-button--dense {
488
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${it.verticalPadding});
488
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${st.verticalPadding});
489
489
  }
490
490
 
491
491
  .ft-button[disabled] {
492
492
  filter: grayscale(1);
493
- opacity: ${Q.opacityDisabled};
493
+ opacity: ${X.opacityDisabled};
494
494
  }
495
495
 
496
496
  .ft-button.ft-button--primary {
497
- background-color: ${Xa.backgroundColor};
498
- --ft-button-internal-color: ${Xa.color};
499
- ${D(V.color,Xa.rippleColor)};
497
+ background-color: ${ts.backgroundColor};
498
+ --ft-button-internal-color: ${ts.color};
499
+ ${L(V.color,ts.rippleColor)};
500
500
  }
501
501
 
502
502
  .ft-button:focus {
@@ -509,13 +509,13 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
509
509
  white-space: nowrap;
510
510
  text-overflow: ellipsis;
511
511
  display: block;
512
- margin: 0 ${Q.iconPadding};
513
- ${D(nt.fontSize,"1em")};
514
- ${D(nt.lineHeight,"var(--ft-button-internal-line-height)")};
512
+ margin: 0 ${X.iconPadding};
513
+ ${L(at.fontSize,"1em")};
514
+ ${L(at.lineHeight,"var(--ft-button-internal-line-height)")};
515
515
  }
516
516
 
517
517
  .ft-button--dense .ft-button--label {
518
- margin: 0 ${it.iconPadding};
518
+ margin: 0 ${st.iconPadding};
519
519
  }
520
520
 
521
521
  .ft-button--label[hidden] {
@@ -528,13 +528,13 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
528
528
  }
529
529
 
530
530
  .ft-button--label[hidden] + [part="icon"] {
531
- margin: 0 calc(${Q.horizontalPadding} * -1);
532
- padding: 0 ${Q.verticalPadding};
531
+ margin: 0 calc(${X.horizontalPadding} * -1);
532
+ padding: 0 ${X.verticalPadding};
533
533
  }
534
534
 
535
535
  .ft-button--dense .ft-button--label[hidden] + [part="icon"] {
536
- margin: 0 calc(${it.horizontalPadding} * -1);
537
- padding: 0 ${it.verticalPadding};
536
+ margin: 0 calc(${st.horizontalPadding} * -1);
537
+ padding: 0 ${st.verticalPadding};
538
538
  }
539
539
 
540
540
  .ft-button:not(.ft-button--trailing-icon) [part="label"]{
@@ -542,10 +542,10 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
542
542
  }
543
543
 
544
544
  ft-loader {
545
- ${D(Ie.size,Q.iconSize)};
546
- ${D(Ie.color,"var(--ft-button-internal-color)")};
545
+ ${L(Ae.size,X.iconSize)};
546
+ ${L(Ae.color,"var(--ft-button-internal-color)")};
547
547
  }
548
- `,rr];var Fr={distance:o.create("--ft-tooltip-distance","","SIZE","4px"),color:o.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:o.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:o.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:o.external(P.borderRadiusS,"Design system"),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},rd=R`
548
+ `,or];var Fr={distance:o.create("--ft-tooltip-distance","","SIZE","4px"),color:o.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:o.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:o.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:o.external(T.borderRadiusS,"Design system"),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},ld=N`
549
549
  .ft-tooltip--container {
550
550
  display: block;
551
551
  }
@@ -574,7 +574,7 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
574
574
  position: relative;
575
575
  word-break: break-word;
576
576
  }
577
- `;var Le=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(s=(i<3?l(s):i>3?l(e,r,s):l(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},re=class extends M{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new ne,this.revealDebouncer=new ne}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return T`
577
+ `;var Te=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},te=class extends D{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new oe,this.revealDebouncer=new oe}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return _`
578
578
  <div part="container"
579
579
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
580
580
  @mouseenter=${this.onHover}
@@ -592,41 +592,40 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
592
592
  </div>
593
593
  </div>
594
594
  </div>
595
- `}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Qi(this.slottedElement,this.tooltip,this.position).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,r){return Math.max(e,Math.min(0,-r))}};re.elementDefinitions={"ft-typography":ie};re.styles=rd;Le([v()],re.prototype,"text",void 0);Le([v({type:Boolean})],re.prototype,"manual",void 0);Le([v({type:Boolean})],re.prototype,"inline",void 0);Le([v({type:Number})],re.prototype,"delay",void 0);Le([v()],re.prototype,"position",void 0);Le([Yn()],re.prototype,"slotNodes",void 0);Le([K(".ft-tooltip--container")],re.prototype,"container",void 0);Le([K(".ft-tooltip")],re.prototype,"tooltip",void 0);Le([K(".ft-tooltip--content")],re.prototype,"tooltipContent",void 0);Le([j()],re.prototype,"visible",void 0);Le([hr({passive:!0})],re.prototype,"onTouch",null);Le([hr({passive:!0})],re.prototype,"onHover",null);Le([hr({passive:!0})],re.prototype,"onOut",null);Le([hr({passive:!0})],re.prototype,"onClick",null);H("ft-tooltip")(re);var dr=class extends M{render(){return T`
595
+ `}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",ra(this.slottedElement,this.tooltip,this.position).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,r){return Math.max(e,Math.min(0,-r))}};te.elementDefinitions={"ft-typography":Q};te.styles=ld;Te([y()],te.prototype,"text",void 0);Te([y({type:Boolean})],te.prototype,"manual",void 0);Te([y({type:Boolean})],te.prototype,"inline",void 0);Te([y({type:Number})],te.prototype,"delay",void 0);Te([y()],te.prototype,"position",void 0);Te([Ji()],te.prototype,"slotNodes",void 0);Te([W(".ft-tooltip--container")],te.prototype,"container",void 0);Te([W(".ft-tooltip")],te.prototype,"tooltip",void 0);Te([W(".ft-tooltip--content")],te.prototype,"tooltipContent",void 0);Te([K()],te.prototype,"visible",void 0);Te([hr({passive:!0})],te.prototype,"onTouch",null);Te([hr({passive:!0})],te.prototype,"onHover",null);Te([hr({passive:!0})],te.prototype,"onOut",null);Te([hr({passive:!0})],te.prototype,"onClick",null);F("ft-tooltip")(te);var dr=class extends D{render(){return _`
596
596
  <div class="ft-loader">
597
597
  <div></div>
598
598
  <div></div>
599
599
  <div></div>
600
600
  <div></div>
601
601
  </div>
602
- `}};dr.styles=Jc;H("ft-loader")(dr);var We=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(s=(i<3?l(s):i>3?l(e,r,s):l(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},fe=class extends Da(M,"button"){constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){return this.addTooltipIfNeeded(T`
602
+ `}};dr.styles=id;F("ft-loader")(dr);var Be=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},pe=class extends Fa(D,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){return this.addTooltipIfNeeded(_`
603
603
  <button part="button"
604
- class="${De(this.buttonClasses)}"
604
+ class="${Ee(this.buttonClasses)}"
605
605
  aria-label="${this.getLabel()}"
606
606
  ?disabled=${this.isDisabled()}>
607
607
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
608
608
  <ft-typography part="label"
609
609
  variant=${this.typographyVariant}
610
610
  element="span"
611
- class="ft-button--label ${sr?"ft-safari-ellipsis-fix":""}"
611
+ class="ft-button--label ${lr?"ft-safari-ellipsis-fix":""}"
612
612
  ?hidden=${!this.hasTextContent()}>
613
613
  <slot @slotchange=${this.onSlotchange}></slot>
614
614
  </ft-typography>
615
615
  ${this.resolveIcon()}
616
616
  </button>
617
- `)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?T`
617
+ `)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?_`
618
618
  <ft-tooltip part="tooltip"
619
619
  text="${this.getLabel()}"
620
620
  position="${this.tooltipPosition}">
621
621
  ${e}
622
622
  </ft-tooltip>
623
- `:e}resolveIcon(){return this.loading?T`
624
- <ft-loader part="loader icon"></ft-loader> `:this.icon?T`
623
+ `:e}resolveIcon(){return this.loading?_`
624
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?_`
625
625
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
626
- `:T`
626
+ `:_`
627
627
  <slot part="icon" name="icon"></slot>
628
- `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(r=>this.unslotText(r)).join(""):e?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};fe.elementDefinitions={"ft-ripple":J,"ft-tooltip":re,"ft-typography":ie,"ft-icon":Ce,"ft-loader":dr};We([v({type:String,reflect:!0})],fe.prototype,"role",void 0);We([v()],fe.prototype,"type",void 0);We([v({type:Boolean})],fe.prototype,"disabled",void 0);We([v()],fe.prototype,"label",void 0);We([v()],fe.prototype,"icon",void 0);We([v()],fe.prototype,"iconVariant",void 0);We([v({type:Boolean})],fe.prototype,"trailingIcon",void 0);We([v({type:Boolean})],fe.prototype,"loading",void 0);We([v()],fe.prototype,"tooltipPosition",void 0);We([v({type:Boolean})],fe.prototype,"hideTooltip",void 0);We([v({type:Boolean})],fe.prototype,"forceTooltip",void 0);We([K(".ft-button")],fe.prototype,"button",void 0);We([K(".ft-button--label slot")],fe.prototype,"slottedContent",void 0);var wn=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(s=(i<3?l(s):i>3?l(e,r,s):l(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},xe=class extends fe{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};xe.styles=[ho,td];wn([v({type:Boolean})],xe.prototype,"primary",void 0);wn([v({type:Boolean})],xe.prototype,"outlined",void 0);wn([v({type:Boolean})],xe.prototype,"dense",void 0);wn([v({type:Boolean})],xe.prototype,"round",void 0);var Ut=t=>typeof t=="string"?Ke(t):t,a=class{static create(e,r,n,i){let s=c=>Ut(c??i),l=R`var(${Ut(e)}, ${s(i)})`;return l.name=e,l.description=r,l.category=n,l.defaultValue=i,l.defaultCssValue=s,l.get=c=>R`var(${Ut(e)}, ${s(c)})`,l.breadcrumb=()=>[],l.lastResortDefaultValue=()=>i,l}static extend(e,r,n,i){let s=c=>n.get(c??i),l=R`var(${Ut(e)}, ${s(i)})`;return l.name=e,l.description=r,l.category=n.category,l.fallbackVariable=n,l.defaultValue=i,l.defaultCssValue=s,l.get=c=>R`var(${Ut(e)}, ${s(c)})`,l.breadcrumb=()=>[n.name,...n.breadcrumb()],l.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),l}static external(e,r){let n=s=>e.fallbackVariable?e.fallbackVariable.get(s??e.defaultValue):Ut(s??e.lastResortDefaultValue()),i=R`var(${Ut(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=r,i.defaultCssValue=n,i.get=s=>R`var(${Ut(e.name)}, ${n(s)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};var p={colorWhite:a.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:a.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:a.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:a.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:a.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:a.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:a.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:a.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:a.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:a.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:a.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:a.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:a.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:a.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:a.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:a.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:a.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:a.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:a.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:a.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:a.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:a.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:a.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:a.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:a.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:a.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:a.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:a.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:a.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:a.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:a.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:a.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:a.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:a.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:a.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:a.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:a.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:a.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:a.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:a.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:a.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:a.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:a.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:a.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:a.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:a.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:a.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:a.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:a.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:a.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:a.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:a.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:a.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:a.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:a.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:a.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:a.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:a.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:a.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:a.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:a.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:a.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:a.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:a.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:a.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:a.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:a.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:a.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:a.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:a.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:a.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:a.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:a.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:a.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:a.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:a.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:a.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:a.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:a.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:a.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:a.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:a.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:a.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:a.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:a.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:a.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:a.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:a.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:a.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:a.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:a.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:a.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:a.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:a.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:a.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:a.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:a.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:a.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:a.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:a.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:a.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:a.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:a.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:a.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:a.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:a.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:a.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:a.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:a.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:a.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:a.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:a.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:a.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:a.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:a.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:a.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:a.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:a.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:a.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:a.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:a.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:a.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:a.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:a.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:a.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:a.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:a.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:a.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:a.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:a.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:a.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:a.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:a.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:a.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:a.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:a.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:a.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:a.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:a.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:a.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:a.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:a.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:a.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:a.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:a.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:a.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:a.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:a.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:a.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:a.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:a.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:a.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:a.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:a.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:a.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:a.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:a.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:a.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:a.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:a.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:a.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:a.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:a.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:a.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:a.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:a.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:a.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:a.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:a.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:a.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:a.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:a.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:a.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:a.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:a.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:a.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:a.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:a.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:a.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:a.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:a.create("--ft-opacity-0","","NUMBER","0"),opacity8:a.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:a.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:a.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:a.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:a.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:a.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:a.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:a.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:a.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:a.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:a.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:a.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:a.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:a.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)")},eC={fontFamily:a.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:a.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:a.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:a.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-display-textCase","","UNKNOWN","none")},tC={fontFamily:a.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:a.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:a.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:a.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},rC={fontFamily:a.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:a.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:a.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:a.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},oC={fontFamily:a.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:a.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:a.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:a.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},nC={fontFamily:a.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:a.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:a.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:a.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:a.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},iC={fontFamily:a.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:a.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:a.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:a.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},aC={fontFamily:a.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:a.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:a.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:a.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},sC={fontFamily:a.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:a.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:a.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:a.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:a.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},lC={fontFamily:a.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:a.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:a.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:a.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},cC={fontFamily:a.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:a.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:a.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:a.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:a.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:a.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},dC={fontFamily:a.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:a.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:a.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:a.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},pC={fontFamily:a.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:a.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:a.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:a.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:a.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},fC={fontFamily:a.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:a.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:a.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:a.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:a.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},uC={fontFamily:a.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:a.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:a.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:a.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:a.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:a.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},hC={fontFamily:a.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:a.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:a.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:a.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:a.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},mC={fontFamily:a.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:a.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:a.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:a.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:a.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},yC={fontFamily:a.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:a.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:a.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:a.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:a.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:a.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},gC={fontFamily:a.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:a.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},bC={fontFamily:a.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:a.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},xC={fontFamily:a.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:a.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:a.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},vC={fontFamily:a.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:a.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},SC={fontFamily:a.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:a.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},OC={fontFamily:a.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:a.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:a.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},CC={fontFamily:a.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:a.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},EC={fontFamily:a.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:a.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},wC={fontFamily:a.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:a.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:a.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")};var m={backgroundActionPrimary:a.extend("--ft-background-action-primary","Used as backgorund of primary action components.",p.colorBrand0),backgroundErrorSubtle:a.extend("--ft-background-error-subtle","Used as background of subtle error components.",p.colorRed10),backgroundInfoSubtle:a.extend("--ft-background-info-subtle","Used as background of subtle information components.",p.colorCyan10),backgroundWarningSubtle:a.extend("--ft-background-warning-subtle","Used as background of subtle information components.",p.colorOrange10),backgroundSuccessSubtle:a.extend("--ft-background-success-subtle","Used as background of subtle success components.",p.colorGreen10),backgroundGlobalSurface:a.extend("--ft-background-global-surface","Used as app background.",p.colorWhite),backgroundGlobalOnSurface:a.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",p.colorGray10),backgroundGlobalOnSurfaceDark:a.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",p.colorGray30),contentActionPrimary:a.extend("--ft-content-action-primary","Used on label of primary action on light surface.",p.colorBrand0),contentWarningPrimary:a.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",p.colorOrange200),contentWarningIconOnly:a.extend("--ft-content-warning-icon-only","Used on warning status icons alone",p.colorOrange0),contentErrorPrimary:a.extend("--ft-content-error-primary","Used on label of error messages on light surface.",p.colorRed0),contentErrorIconOnly:a.extend("--ft-content-error-icon-only","Used on error status icons alone",p.colorRed70),contentInfoPrimary:a.extend("--ft-content-info-primary","Used on label of information messages on light surface.",p.colorCyan200),contentInfoIconOnly:a.extend("--ft-content-info-icon-only","Used on info status icons alone",p.colorCyan0),contentSuccessPrimary:a.extend("--ft-content-success-primary","Used on label of success messages on light surface.",p.colorGreen200),contentSuccessIconOnly:a.extend("--ft-content-success-icon-only","Used on success status icons alone",p.colorGreen0),contentGlobalPrimary:a.extend("--ft-content-global-primary","Used for main content on the page.",p.colorGray500),contentGlobalSecondary:a.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
629
- Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",p.colorGray0),contentGlobalOnColor:a.extend("--ft-content-global-on-color","Used for content on a dominant color.",p.colorWhite),borderActionPrimary:a.extend("--ft-border-action-primary","Used as border for primary action components.",p.colorBrand0),borderActionFocusRing:a.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",p.colorCyan0),borderWarningPrimary:a.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",p.colorOrange200),borderWarningSubtle:a.extend("--ft-border-warning-subtle","Used as border for warning components.",p.colorOrange30),borderSuccessPrimary:a.extend("--ft-border-success-primary","Used as border for success buttons.",p.colorGreen200),borderSuccessSubtle:a.extend("--ft-border-success-subtle","Used as border for success components.",p.colorGreen30),borderErrorPrimary:a.extend("--ft-border-error-primary","Used as border for text fields in error states.",p.colorRed0),borderErrorSubtle:a.extend("--ft-border-error-subtle","Used as border for error components.",p.colorRed30),borderInfoPrimary:a.extend("--ft-border-info-primary","Used as border for buttons in info color.",p.colorCyan200),borderInfoSubtle:a.extend("--ft-border-info-subtle","Used as border for information components.",p.colorCyan30),borderGlobalPrimary:a.extend("--ft-border-global-primary","Used as border for element like input.",p.colorGray50),borderGlobalSubtle:a.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",p.colorGray30),borderInputPrimary:a.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",p.colorGray80)};var $={largeHeight:a.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:a.extend("--ft-button-large-horizontal-padding","",p.spacing4),largeGap:a.extend("--ft-button-large-gap","",p.spacing2),largeBorderRadius:a.extend("--ft-button-large-border-radius","",p.borderRadiusS),largeIconSize:a.extend("--ft-button-large-icon-size","",p.iconSize3),largeBorderWidth:a.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:a.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:a.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:a.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:a.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:a.extend("--ft-button-medium-horizontal-padding","",p.spacing3),mediumGap:a.extend("--ft-button-medium-gap","",p.spacing2),mediumBorderRadius:a.extend("--ft-button-medium-border-radius","",p.borderRadiusS),mediumIconSize:a.extend("--ft-button-medium-icon-size","",p.iconSize2),mediumBorderWidth:a.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:a.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:a.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:a.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:a.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:a.extend("--ft-button-small-horizontal-padding","",p.spacing2),smallGap:a.extend("--ft-button-small-gap","",p.spacing1),smallBorderRadius:a.extend("--ft-button-small-border-radius","",p.borderRadiusS),smallIconSize:a.extend("--ft-button-small-icon-size","",p.iconSize1),smallBorderWidth:a.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:a.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:a.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:a.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:a.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:a.extend("--ft-button-x-small-icon-size","",p.iconSize1),xSmallFocusOutlineOffset:a.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:a.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:a.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:a.extend("--ft-button-round-border-radius","",p.borderRadiusPill),primaryBackgroundColor:a.extend("--ft-button-primary-background-color","",m.backgroundActionPrimary),primaryColor:a.extend("--ft-button-primary-color","",m.contentGlobalOnColor),primaryIconColor:a.extend("--ft-button-primary-icon-color","",m.contentGlobalOnColor),primaryStateLayerColor:a.extend("--ft-button-primary-state-layer-color","",m.contentGlobalOnColor),primaryHoverStateLayerOpacity:a.extend("--ft-button-primary-hover-state-layer-opacity","",p.opacity16),primaryFocusStateLayerOpacity:a.extend("--ft-button-primary-focus-state-layer-opacity","",p.opacity16),primaryActiveStateLayerOpacity:a.extend("--ft-button-primary-active-state-layer-opacity","",p.opacity24),primaryDisabledComponentOpacity:a.extend("--ft-button-primary-disabled-component-opacity","",p.opacity40),focusFocusRingColor:a.extend("--ft-button-focus-focus-ring-color","",m.borderActionFocusRing),tertiaryBackgroundColor:a.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:a.extend("--ft-button-tertiary-color","",m.contentActionPrimary),tertiaryIconColor:a.extend("--ft-button-tertiary-icon-color","",m.contentActionPrimary),tertiaryStateLayerColor:a.extend("--ft-button-tertiary-state-layer-color","",m.contentActionPrimary),tertiaryHoverStateLayerOpacity:a.extend("--ft-button-tertiary-hover-state-layer-opacity","",p.opacity8),tertiaryFocusStateLayerOpacity:a.extend("--ft-button-tertiary-focus-state-layer-opacity","",p.opacity8),tertiaryActiveStateLayerOpacity:a.extend("--ft-button-tertiary-active-state-layer-opacity","",p.opacity16),tertiaryDisabledComponentOpacity:a.extend("--ft-button-tertiary-disabled-component-opacity","",p.opacity40),secondaryBackgroundColor:a.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:a.extend("--ft-button-secondary-color","",m.contentActionPrimary),secondaryIconColor:a.extend("--ft-button-secondary-icon-color","",m.contentActionPrimary),secondaryStateLayerColor:a.extend("--ft-button-secondary-state-layer-color","",m.contentActionPrimary),secondaryHoverStateLayerOpacity:a.extend("--ft-button-secondary-hover-state-layer-opacity","",p.opacity8),secondaryFocusStateLayerOpacity:a.extend("--ft-button-secondary-focus-state-layer-opacity","",p.opacity8),secondaryActiveStateLayerOpacity:a.extend("--ft-button-secondary-active-state-layer-opacity","",p.opacity16),secondaryDisabledComponentOpacity:a.extend("--ft-button-secondary-disabled-component-opacity","",p.opacity40),secondaryBorderColor:a.extend("--ft-button-secondary-border-color","",m.borderActionPrimary),neutralBackgroundColor:a.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:a.extend("--ft-button-neutral-icon-color","",m.contentGlobalSecondary),neutralColor:a.extend("--ft-button-neutral-color","",m.contentGlobalSecondary),neutralStateLayerColor:a.extend("--ft-button-neutral-state-layer-color","",m.contentGlobalSecondary),neutralHoverStateLayerOpacity:a.extend("--ft-button-neutral-hover-state-layer-opacity","",p.opacity8),neutralFocusStateLayerOpacity:a.extend("--ft-button-neutral-focus-state-layer-opacity","",p.opacity8),neutralActiveStateLayerOpacity:a.extend("--ft-button-neutral-active-state-layer-opacity","",p.opacity16),neutralDisabledComponentOpacity:a.extend("--ft-button-neutral-disabled-component-opacity","",p.opacity40)};var UC={largeMinHeight:a.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:a.extend("--ft-chip-large-horizontal-padding","",p.spacing3),largeButtonRightPadding:a.extend("--ft-chip-large-button-right-padding","",p.spacing1),largeGap:a.extend("--ft-chip-large-gap","",p.spacing1),largeFocusOutlineOffset:a.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:a.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:a.extend("--ft-chip-large-border-radius","",p.borderRadiusPill),largeBorderWidth:a.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:a.extend("--ft-chip-large-icon-size","",p.iconSize3),mediumMinHeight:a.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:a.extend("--ft-chip-medium-horizontal-padding","",p.spacing2),mediumButtonRightPadding:a.extend("--ft-chip-medium-button-right-padding","",p.spacing05),mediumGap:a.extend("--ft-chip-medium-gap","",p.spacing1),mediumFocusOutlineOffset:a.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:a.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:a.extend("--ft-chip-medium-border-radius","",p.borderRadiusPill),mediumBorderWidth:a.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:a.extend("--ft-chip-medium-icon-size","",p.iconSize2),smallMinHeight:a.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:a.extend("--ft-chip-small-horizontal-padding","",p.spacing1),smallButtonRightPadding:a.extend("--ft-chip-small-button-right-padding","",p.spacing05),smallGap:a.extend("--ft-chip-small-gap","",p.spacing1),smallFocusOutlineOffset:a.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:a.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:a.extend("--ft-chip-small-border-radius","",p.borderRadiusPill),smallBorderWidth:a.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:a.extend("--ft-chip-small-icon-size","",p.iconSize1),neutralBackgroundColor:a.extend("--ft-chip-neutral-background-color","",m.backgroundGlobalOnSurface),neutralColor:a.extend("--ft-chip-neutral-color","",m.contentGlobalSecondary),neutralIconColor:a.extend("--ft-chip-neutral-icon-color","",m.contentGlobalSecondary),neutralBorderColor:a.extend("--ft-chip-neutral-border-color","",m.borderGlobalSubtle),infoBackgroundColor:a.extend("--ft-chip-info-background-color","",m.backgroundInfoSubtle),infoColor:a.extend("--ft-chip-info-color","",m.contentInfoPrimary),infoIconColor:a.extend("--ft-chip-info-icon-color","",m.contentInfoIconOnly),infoBorderColor:a.extend("--ft-chip-info-border-color","",m.borderInfoSubtle),successBackgroundColor:a.extend("--ft-chip-success-background-color","",m.backgroundSuccessSubtle),successColor:a.extend("--ft-chip-success-color","",m.contentSuccessPrimary),successIconColor:a.extend("--ft-chip-success-icon-color","",m.contentSuccessIconOnly),successBorderColor:a.extend("--ft-chip-success-border-color","",m.borderSuccessSubtle),warningBackgroundColor:a.extend("--ft-chip-warning-background-color","",m.backgroundWarningSubtle),warningColor:a.extend("--ft-chip-warning-color","",m.contentWarningPrimary),warningIconColor:a.extend("--ft-chip-warning-icon-color","",m.contentWarningIconOnly),warningBorderColor:a.extend("--ft-chip-warning-border-color","",m.borderWarningSubtle),errorBackgroundColor:a.extend("--ft-chip-error-background-color","",m.backgroundErrorSubtle),errorColor:a.extend("--ft-chip-error-color","",m.contentErrorPrimary),errorIconColor:a.extend("--ft-chip-error-icon-color","",m.contentErrorIconOnly),errorBorderColor:a.extend("--ft-chip-error-border-color","",m.borderErrorSubtle)};var zC={focusOpacity:a.extend("--ft-link-focus-opacity","",p.opacity80),focusFocusRingColor:a.extend("--ft-link-focus-focus-ring-color","",m.borderActionFocusRing),brandColor:a.extend("--ft-link-brand-color","",m.contentActionPrimary),infoColor:a.extend("--ft-link-info-color","",m.contentInfoPrimary)};var ZC={iconSize:a.extend("--ft-banner-icon-size","",p.iconSize5),borderWidth:a.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:a.extend("--ft-banner-left-padding","",p.spacing6),rightPadding:a.extend("--ft-banner-right-padding","",p.spacing6),verticalPadding:a.extend("--ft-banner-vertical-padding","",p.spacing6),horizontalSideGap:a.extend("--ft-banner-horizontal-side-gap","",p.spacing6),horizontalMobileGap:a.extend("--ft-banner-horizontal-mobile-gap","",p.spacing4),verticalMobileGap:a.extend("--ft-banner-vertical-mobile-gap","",p.spacing6),horizontalMiddleGap:a.extend("--ft-banner-horizontal-middle-gap","",p.spacing20),infoBackgroundColor:a.extend("--ft-banner-info-background-color","",m.backgroundInfoSubtle),infoColor:a.extend("--ft-banner-info-color","",m.contentInfoPrimary),infoIconColor:a.extend("--ft-banner-info-icon-color","",m.contentInfoIconOnly),infoBorderColor:a.extend("--ft-banner-info-border-color","",m.borderInfoSubtle)};var JC={horizontalPadding:a.extend("--ft-badge-horizontal-padding","",p.spacing1),verticalPadding:a.extend("--ft-badge-vertical-padding","",p.spacing1),borderRadius:a.extend("--ft-badge-border-radius","",p.borderRadiusPill),color:a.extend("--ft-badge-color","",m.contentGlobalOnColor),backgroundColor:a.extend("--ft-badge-background-color","",m.contentActionPrimary)};var oE={horizontalGap:a.extend("--ft-breadcrumb-horizontal-gap","",p.spacing1),verticalGap:a.extend("--ft-breadcrumb-vertical-gap","",p.spacing2),currentColor:a.extend("--ft-breadcrumb-current-color","",m.contentGlobalPrimary),previousNonClickableColor:a.extend("--ft-breadcrumb-previous-non-clickable-color","",m.contentGlobalSecondary),iconColor:a.extend("--ft-breadcrumb-icon-color","",m.contentGlobalSubtle)};var lE={horizontalPadding:a.extend("--ft-page-header-horizontal-padding","",p.spacing12),horizontalGap:a.extend("--ft-page-header-horizontal-gap","",p.spacing4),verticalGap:a.extend("--ft-page-header-vertical-gap","",p.spacing2),classicVerticalPadding:a.extend("--ft-page-header-classic-vertical-padding","",p.spacing6),multilineVerticalPadding:a.extend("--ft-page-header-multiline-vertical-padding","",p.spacing4),inlineVerticalPadding:a.extend("--ft-page-header-inline-vertical-padding","",p.spacing2),backgroundColor:a.extend("--ft-page-header-background-color","",p.colorWhite),bottomBorderColor:a.extend("--ft-page-header-bottom-border-color","",m.borderGlobalSubtle),titleColor:a.extend("--ft-page-header-title-color","",m.contentGlobalPrimary),subtitleColor:a.extend("--ft-page-header-subtitle-color","",m.contentGlobalSecondary)};var uE={smallContainerWidth:a.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:a.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:a.extend("--ft-modal-overlay-background-color","",p.colorGray700),overlayOpacity:a.extend("--ft-modal-overlay-opacity","",p.opacity40),shadow:a.extend("--ft-modal-shadow","",p.shadowElevation03),bodyBackgroundColor:a.extend("--ft-modal-body-background-color","",p.colorWhite),bodyColor:a.extend("--ft-modal-body-color","",m.contentGlobalPrimary),bodyHorizontalPadding:a.extend("--ft-modal-body-horizontal-padding","",p.spacing6),bodyVerticalPadding:a.extend("--ft-modal-body-vertical-padding","",p.spacing6),bodyVerticalGap:a.extend("--ft-modal-body-vertical-gap","",p.spacing6),containerMargin:a.extend("--ft-modal-container-margin","",p.spacing3),headerBackgroundColor:a.extend("--ft-modal-header-background-color","",m.backgroundGlobalOnSurface),headerBorderColor:a.extend("--ft-modal-header-border-color","",m.borderGlobalSubtle),headerColor:a.extend("--ft-modal-header-color","",m.contentGlobalPrimary),headerTrailingIconColor:a.extend("--ft-modal-header-trailing-icon-color","",m.contentGlobalSecondary),headerVerticalPadding:a.extend("--ft-modal-header-vertical-padding","",p.spacing1),headerRightPadding:a.extend("--ft-modal-header-right-padding","",p.spacing1),headerLeftPadding:a.extend("--ft-modal-header-left-padding","",p.spacing6),headerGap:a.extend("--ft-modal-header-gap","",p.spacing2),headerBorderBottom:a.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:a.extend("--ft-modal-border-radius","",p.borderRadiusM)};var bE={overlayOpacity:a.extend("--ft-drawer-overlay-opacity","",p.opacity40),shadow:a.extend("--ft-drawer-shadow","",p.shadowElevation03),bodyColor:a.extend("--ft-drawer-body-color","",m.contentGlobalPrimary),bodyHorizontalPadding:a.extend("--ft-drawer-body-horizontal-padding","",p.spacing6),bodyVerticalPadding:a.extend("--ft-drawer-body-vertical-padding","",p.spacing6),bodyGap:a.extend("--ft-drawer-body-gap","",p.spacing6),bodyBackgroundColor:a.extend("--ft-drawer-body-background-color","",p.colorWhite),headerBackgroundColor:a.extend("--ft-drawer-header-background-color","",m.backgroundGlobalOnSurface),headerBorderColor:a.extend("--ft-drawer-header-border-color","",m.borderGlobalSubtle),headerColor:a.extend("--ft-drawer-header-color","",m.contentGlobalPrimary),headerTrailingIconColor:a.extend("--ft-drawer-header-trailing-icon-color","",m.contentGlobalSecondary),headerHeight:a.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:a.extend("--ft-drawer-header-horizontal-padding","",p.spacing2),headerBorderWidth:a.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:a.extend("--ft-drawer-header-gap","",p.spacing3),buttonsBarBackgroundColor:a.extend("--ft-drawer-buttons-bar-background-color","",m.backgroundGlobalOnSurface),buttonsBarBorderColor:a.extend("--ft-drawer-buttons-bar-border-color","",m.borderGlobalSubtle),buttonsBarColor:a.extend("--ft-drawer-buttons-bar-color","",m.contentGlobalPrimary),buttonsBarHorizontalPadding:a.extend("--ft-drawer-buttons-bar-horizontal-padding","",p.spacing4),buttonsBarVerticalPadding:a.extend("--ft-drawer-buttons-bar-vertical-padding","",p.spacing4),buttonsBarGap:a.extend("--ft-drawer-buttons-bar-gap","",p.spacing3),buttonsBarBorderWidth:a.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:a.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:a.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:a.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:a.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:a.extend("--ft-drawer-overlay-background-color","",p.colorGray700)};var CE={fieldHorizontalPadding:a.extend("--ft-text-input-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:a.extend("--ft-text-input-field-horizontal-gap","",p.spacing3),fieldVerticalGap:a.extend("--ft-text-input-field-vertical-gap","",p.spacing05),fieldIconSize:a.extend("--ft-text-input-field-icon-size","",p.iconSize3),fieldHeight:a.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:a.extend("--ft-text-input-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:a.extend("--ft-text-input-helper-horizontal-gap","",p.spacing1),helperIconSize:a.extend("--ft-text-input-helper-icon-size","",p.iconSize2),borderRadius:a.extend("--ft-text-input-border-radius","",p.borderRadiusM),backgroundColor:a.extend("--ft-text-input-background-color","",p.colorWhite),contentValueColor:a.extend("--ft-text-input-content-value-color","",m.contentGlobalPrimary),trailingIconColor:a.extend("--ft-text-input-trailing-icon-color","",m.contentGlobalSubtle),labelColor:a.extend("--ft-text-input-label-color","",m.contentGlobalSubtle),defaultBorderColor:a.extend("--ft-text-input-default-border-color","",m.borderInputPrimary),defaultHelperTextColor:a.extend("--ft-text-input-default-helper-text-color","",m.contentGlobalSubtle),defaultBorderWidth:a.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:a.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:a.extend("--ft-text-input-error-border-color","",m.borderErrorPrimary),errorHelperTextColor:a.extend("--ft-text-input-error-helper-text-color","",m.contentErrorPrimary),errorHelperIconColor:a.extend("--ft-text-input-error-helper-icon-color","",m.contentErrorIconOnly),warningBorderWidth:a.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:a.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:a.extend("--ft-text-input-focus-focus-ring-color","",m.borderActionFocusRing),focusOutlineOffset:a.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:a.extend("--ft-text-input-disabled-component-opacity","",p.opacity40)};var RE={backgroundColor:a.extend("--ft-text-area-background-color","",p.colorWhite),contentValueColor:a.extend("--ft-text-area-content-value-color","",m.contentGlobalPrimary),labelColor:a.extend("--ft-text-area-label-color","",m.contentGlobalSubtle),defaultBorderColor:a.extend("--ft-text-area-default-border-color","",m.borderInputPrimary),defaultHelperTextColor:a.extend("--ft-text-area-default-helper-text-color","",m.contentGlobalSubtle),defaultBorderWidth:a.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:a.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:a.extend("--ft-text-area-error-border-color","",m.borderErrorPrimary),errorHelperTextColor:a.extend("--ft-text-area-error-helper-text-color","",m.contentErrorPrimary),errorHelperIconColor:a.extend("--ft-text-area-error-helper-icon-color","",m.contentErrorIconOnly),focusFocusRingColor:a.extend("--ft-text-area-focus-focus-ring-color","",m.borderActionFocusRing),focusOutlineWidth:a.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:a.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:a.extend("--ft-text-area-disabled-component-opacity","",p.opacity40),fieldHorizontalLeftPadding:a.extend("--ft-text-area-field-horizontal-left-padding","",p.spacing4),fieldHorizontalGap:a.extend("--ft-text-area-field-horizontal-gap","",p.spacing3),fieldVerticalGap:a.extend("--ft-text-area-field-vertical-gap","",p.spacing05),fieldMinHeight:a.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:a.extend("--ft-text-area-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:a.extend("--ft-text-area-helper-horizontal-gap","",p.spacing1),helperIconSize:a.extend("--ft-text-area-helper-icon-size","",p.iconSize2),borderRadius:a.extend("--ft-text-area-border-radius","",p.borderRadiusM)};var _E={height:a.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:a.extend("--ft-floating-menu-horizontal-padding","",p.spacing4),offIconColor:a.extend("--ft-floating-menu-off-icon-color","",m.contentGlobalPrimary),offColor:a.extend("--ft-floating-menu-off-color","",m.contentGlobalPrimary),onColor:a.extend("--ft-floating-menu-on-color","",m.contentActionPrimary),onStateLayerColor:a.extend("--ft-floating-menu-on-state-layer-color","",m.contentActionPrimary),gap:a.extend("--ft-floating-menu-gap","",p.spacing3),focusFocusRingColor:a.extend("--ft-floating-menu-focus-focus-ring-color","",m.borderActionFocusRing),focusOutlineWidth:a.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:a.extend("--ft-floating-menu-focus-state-layer-opacity","",p.opacity8),hoverStateLayerOpacity:a.extend("--ft-floating-menu-hover-state-layer-opacity","",p.opacity8),activeStateLayerOpacity:a.extend("--ft-floating-menu-active-state-layer-opacity","",p.opacity16),disabledComponentOpacity:a.extend("--ft-floating-menu-disabled-component-opacity","",p.opacity40),iconSize:a.extend("--ft-floating-menu-icon-size","",p.iconSize3),backgroundColor:a.extend("--ft-floating-menu-background-color","",m.backgroundGlobalOnSurface)};var BE={fieldHorizontalPadding:a.extend("--ft-combobox-single-select-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:a.extend("--ft-combobox-single-select-field-horizontal-gap","",p.spacing3),fieldVerticalGap:a.extend("--ft-combobox-single-select-field-vertical-gap","",p.spacing05),fieldIconSize:a.extend("--ft-combobox-single-select-field-icon-size","",p.iconSize3),fieldHeight:a.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:a.extend("--ft-combobox-single-select-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:a.extend("--ft-combobox-single-select-helper-horizontal-gap","",p.spacing1),helperVerticalGap:a.extend("--ft-combobox-single-select-helper-vertical-gap","",p.spacing1),helperIconSize:a.extend("--ft-combobox-single-select-helper-icon-size","",p.iconSize2),menuVerticalGap:a.extend("--ft-combobox-single-select-menu-vertical-gap","",p.spacing2),borderRadius:a.extend("--ft-combobox-single-select-border-radius","",p.borderRadiusM),backgroundColor:a.extend("--ft-combobox-single-select-background-color","",p.colorWhite),labelColor:a.extend("--ft-combobox-single-select-label-color","",m.contentGlobalSubtle),contentValueColor:a.extend("--ft-combobox-single-select-content-value-color","",m.contentGlobalPrimary),trailingIconColor:a.extend("--ft-combobox-single-select-trailing-icon-color","",m.contentGlobalSubtle),defaultBorderColor:a.extend("--ft-combobox-single-select-default-border-color","",m.borderInputPrimary),defaultHelperTextColor:a.extend("--ft-combobox-single-select-default-helper-text-color","",m.contentGlobalSubtle),defaultBorderWidth:a.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:a.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:a.extend("--ft-combobox-single-select-error-border-color","",m.borderErrorPrimary),errorHelperTextColor:a.extend("--ft-combobox-single-select-error-helper-text-color","",m.contentErrorPrimary),warningBorderWidth:a.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:a.extend("--ft-combobox-single-select-warning-border-color","",m.borderWarningPrimary),warningHelperTextColor:a.extend("--ft-combobox-single-select-warning-helper-text-color","",m.contentWarningPrimary),warningHelperIconColor:a.extend("--ft-combobox-single-select-warning-helper-icon-color","",m.contentWarningIconOnly),focusOutlineWidth:a.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:a.extend("--ft-combobox-single-select-focus-focus-ring-color","",m.borderActionFocusRing),focusOutlineOffset:a.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:a.extend("--ft-combobox-single-select-disabled-component-opacity","",p.opacity40)};var HE={backgroundColor:a.extend("--ft-combobox-multi-select-background-color","",p.colorWhite),labelColor:a.extend("--ft-combobox-multi-select-label-color","",m.contentGlobalSubtle),trailingIconColor:a.extend("--ft-combobox-multi-select-trailing-icon-color","",m.contentGlobalSubtle),defaultBorderColor:a.extend("--ft-combobox-multi-select-default-border-color","",m.borderInputPrimary),defaultHelperTextColor:a.extend("--ft-combobox-multi-select-default-helper-text-color","",m.contentGlobalSubtle),defaultBorderWidth:a.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:a.extend("--ft-combobox-multi-select-error-border-color","",m.borderErrorPrimary),errorHelperTextColor:a.extend("--ft-combobox-multi-select-error-helper-text-color","",m.contentErrorPrimary),errorHelperIcon:a.extend("--ft-combobox-multi-select-error-helper-icon","",m.contentErrorIconOnly),errorBorderWidth:a.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:a.extend("--ft-combobox-multi-select-warning-border-color","",m.borderWarningPrimary),warningHelperTextColor:a.extend("--ft-combobox-multi-select-warning-helper-text-color","",m.contentWarningPrimary),warningHelperIconColor:a.extend("--ft-combobox-multi-select-warning-helper-icon-color","",m.contentWarningIconOnly),warningBorderWidth:a.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:a.extend("--ft-combobox-multi-select-focus-focus-ring-color","",m.borderActionFocusRing),focusOutlineWidth:a.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:a.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:a.extend("--ft-combobox-multi-select-disabled-component-opacity","",p.opacity40),helperHorizontalPadding:a.extend("--ft-combobox-multi-select-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:a.extend("--ft-combobox-multi-select-helper-horizontal-gap","",p.spacing1),helperVerticalGap:a.extend("--ft-combobox-multi-select-helper-vertical-gap","",p.spacing1),helperIconSize:a.extend("--ft-combobox-multi-select-helper-icon-size","",p.iconSize2),fieldHorizontalPadding:a.extend("--ft-combobox-multi-select-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:a.extend("--ft-combobox-multi-select-field-horizontal-gap","",p.spacing3),fieldVerticalGap:a.extend("--ft-combobox-multi-select-field-vertical-gap","",p.spacing05),fieldIconSize:a.extend("--ft-combobox-multi-select-field-icon-size","",p.iconSize3),fieldMaxHeight:a.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:a.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",p.spacing1),contentValuesVerticalGap:a.extend("--ft-combobox-multi-select-content-values-vertical-gap","",p.spacing1),borderRadius:a.extend("--ft-combobox-multi-select-border-radius","",p.borderRadiusM)};var jE={backgroundColor:a.extend("--ft-popover-background-color","",m.backgroundGlobalOnSurface),horizontalPadding:a.extend("--ft-popover-horizontal-padding","",p.spacing6),verticalPadding:a.extend("--ft-popover-vertical-padding","",p.spacing6),titleColor:a.extend("--ft-popover-title-color","",m.contentGlobalPrimary),bodyColor:a.extend("--ft-popover-body-color","",m.contentGlobalSecondary),linkColor:a.extend("--ft-popover-link-color","",m.contentActionPrimary),gap:a.extend("--ft-popover-gap","",p.spacing3),borderRadius:a.extend("--ft-popover-border-radius","",p.borderRadiusM),shadow:a.extend("--ft-popover-shadow","",p.shadowElevation02)};var QE={topLeftBorderRadius:a.extend("--ft-tabs-top-left-border-radius","",p.borderRadiusS),topRightBorderRadius:a.extend("--ft-tabs-top-right-border-radius","",p.borderRadiusS),withLabelHorizontalPadding:a.extend("--ft-tabs-with-label-horizontal-padding","",p.spacing4),withLabelVerticalPadding:a.extend("--ft-tabs-with-label-vertical-padding","",p.spacing3),horizontalGap:a.extend("--ft-tabs-horizontal-gap","",p.spacing1),verticalGap:a.extend("--ft-tabs-vertical-gap","",p.spacing1),offHoverStateLayerOpacity:a.extend("--ft-tabs-off-hover-state-layer-opacity","",p.opacity8),offDefaultStateLayerOpacity:a.extend("--ft-tabs-off-default-state-layer-opacity","",p.opacity0),offFocusStateLayerOpacity:a.extend("--ft-tabs-off-focus-state-layer-opacity","",p.opacity8),offDisabledComponentOpacity:a.extend("--ft-tabs-off-disabled-component-opacity","",p.opacity40),offColor:a.extend("--ft-tabs-off-color","",m.contentGlobalSubtle),offStateLayerColor:a.extend("--ft-tabs-off-state-layer-color","",m.contentGlobalSubtle),onHoverStateLayerOpacity:a.extend("--ft-tabs-on-hover-state-layer-opacity","",p.opacity8),onDefaultStateLayerOpacity:a.extend("--ft-tabs-on-default-state-layer-opacity","",p.opacity0),onFocusStateLayerOpacity:a.extend("--ft-tabs-on-focus-state-layer-opacity","",p.opacity8),onActiveStateLayerOpacity:a.extend("--ft-tabs-on-active-state-layer-opacity","",p.opacity16),onColor:a.extend("--ft-tabs-on-color","",m.contentActionPrimary),onStateLayerColor:a.extend("--ft-tabs-on-state-layer-color","",m.contentActionPrimary),iconOnlyHorizontalPadding:a.extend("--ft-tabs-icon-only-horizontal-padding","",p.spacing4),iconOnlyVerticalPadding:a.extend("--ft-tabs-icon-only-vertical-padding","",p.spacing4),alertTopPadding:a.extend("--ft-tabs-alert-top-padding","",p.spacing1),alertRightPadding:a.extend("--ft-tabs-alert-right-padding","",p.spacing05),focusOutlineWidth:a.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:a.extend("--ft-tabs-focus-focus-ring-color","",m.borderActionFocusRing)};var nw={hoverStateLayerOpacity:a.extend("--ft-collapsible-hover-state-layer-opacity","",p.opacity8),focusStateLayerOpacity:a.extend("--ft-collapsible-focus-state-layer-opacity","",p.opacity8),focusOutlineWidth:a.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:a.extend("--ft-collapsible-focus-focus-ring-color","",m.borderActionFocusRing),activeStateLayerOpacity:a.extend("--ft-collapsible-active-state-layer-opacity","",p.opacity16),disabledComponentOpacity:a.extend("--ft-collapsible-disabled-component-opacity","",p.opacity40),horizontalPadding:a.extend("--ft-collapsible-horizontal-padding","",p.spacing4),verticalPadding:a.extend("--ft-collapsible-vertical-padding","",p.spacing3),color:a.extend("--ft-collapsible-color","",m.contentGlobalPrimary),stateLayerColor:a.extend("--ft-collapsible-state-layer-color","",m.contentGlobalPrimary),backgroundColor:a.extend("--ft-collapsible-background-color","",m.backgroundGlobalOnSurface),borderColor:a.extend("--ft-collapsible-border-color","",m.borderGlobalSubtle),iconSize:a.extend("--ft-collapsible-icon-size","",p.iconSize3)};var cw={groupHorizontalPadding:a.extend("--ft-switch-group-horizontal-padding","",p.spacing1),groupVerticalPadding:a.extend("--ft-switch-group-vertical-padding","",p.spacing1),groupGap:a.extend("--ft-switch-group-gap","",p.spacing1),groupBackgroundColor:a.extend("--ft-switch-group-background-color","",m.backgroundGlobalSurface),groupBorderColor:a.extend("--ft-switch-group-border-color","",m.borderGlobalSubtle),groupBorderRadius:a.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:a.extend("--ft-switch-label-horizontal-padding","",p.spacing2),labelVerticalPadding:a.extend("--ft-switch-label-vertical-padding","",p.spacing1),offHoverStateLayerOpacity:a.extend("--ft-switch-off-hover-state-layer-opacity","",p.opacity8),offFocusStateLayerOpacity:a.extend("--ft-switch-off-focus-state-layer-opacity","",p.opacity8),offActiveStateLayerOpacity:a.extend("--ft-switch-off-active-state-layer-opacity","",p.opacity16),offDisabledComponentOpacity:a.extend("--ft-switch-off-disabled-component-opacity","",p.opacity40),offColor:a.extend("--ft-switch-off-color","",m.contentGlobalSubtle),offStateLayerColor:a.extend("--ft-switch-off-state-layer-color","",m.contentGlobalSubtle),onHoverStateLayerOpacity:a.extend("--ft-switch-on-hover-state-layer-opacity","",p.opacity8),onFocusStateLayerOpacity:a.extend("--ft-switch-on-focus-state-layer-opacity","",p.opacity8),onActiveStateLayerOpacity:a.extend("--ft-switch-on-active-state-layer-opacity","",p.opacity16),onDisabledComponentOpacity:a.extend("--ft-switch-on-disabled-component-opacity","",p.opacity40),onColor:a.extend("--ft-switch-on-color","",m.contentActionPrimary),onStateLayerColor:a.extend("--ft-switch-on-state-layer-color","",m.contentActionPrimary),iconHorizontalPadding:a.extend("--ft-switch-icon-horizontal-padding","",p.spacing1),iconVerticalPadding:a.extend("--ft-switch-icon-vertical-padding","",p.spacing1),focusOutlineWidth:a.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:a.extend("--ft-switch-focus-focus-ring-color","",m.borderActionFocusRing),optionBorderRadius:a.extend("--ft-switch-option-border-radius","",p.borderRadiusS)};var uw={color1Light:a.extend("--ft-chart-1-light","for area color charts",p.colorBrand40),color1Base:a.extend("--ft-chart-1-base","for line charts",p.colorBrand0),color2Light:a.extend("--ft-chart-2-light","for area color charts",p.colorYellow60),color2Base:a.extend("--ft-chart-2-base","for line charts",p.colorYellow100),color3Light:a.extend("--ft-chart-3-light","",p.colorUltramarine40),color3Base:a.extend("--ft-chart-3-base","",p.colorUltramarine70),color4Light:a.extend("--ft-chart-4-light","",p.colorCyan50),color4Base:a.extend("--ft-chart-4-base","",p.colorCyan100),color5Light:a.extend("--ft-chart-5-light","",p.colorRed40),color5Base:a.extend("--ft-chart-5-base","",p.colorRed60),color6Light:a.extend("--ft-chart-6-light","",p.colorGreen40),color6Base:a.extend("--ft-chart-6-base","",p.colorGreen70),color7Light:a.extend("--ft-chart-7-light","",p.colorOrange70),color7Base:a.extend("--ft-chart-7-base","",p.colorOrange100),color8Light:a.extend("--ft-chart-8-light","",p.colorAvocado70),color8Base:a.extend("--ft-chart-8-base","",p.colorAvocado200),color9Light:a.extend("--ft-chart-9-light","",p.colorBrown50),color9Base:a.extend("--ft-chart-9-base","",p.colorBrown200),color10Light:a.extend("--ft-chart-10-light","",p.colorGray50),color10Base:a.extend("--ft-chart-10-base","",p.colorGray80),monochrome10:a.extend("--ft-chart-monochrome-10","",p.colorBrand10),monochrome20:a.extend("--ft-chart-monochrome-20","",p.colorBrand20),monochrome30:a.extend("--ft-chart-monochrome-30","",p.colorBrand40),monochrome40:a.extend("--ft-chart-monochrome-40","",p.colorBrand60),monochrome50:a.extend("--ft-chart-monochrome-50","",p.colorBrand0),monochrome60:a.extend("--ft-chart-monochrome-60","",p.colorBrand200)};var bw={borderWidth:a.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:a.extend("--ft-notice-horizontal-padding","",p.spacing3),verticalPadding:a.extend("--ft-notice-vertical-padding","",p.spacing2),borderRadius:a.extend("--ft-notice-border-radius","",p.borderRadiusS),gap:a.extend("--ft-notice-gap","",p.spacing2),iconSize:a.extend("--ft-notice-icon-size","",p.iconSize3),infoBackgroundColor:a.extend("--ft-notice-info-background-color","",m.backgroundInfoSubtle),infoBorderColor:a.extend("--ft-notice-info-border-color","",m.borderInfoSubtle),infoColor:a.extend("--ft-notice-info-color","",m.contentInfoPrimary),infoIconColor:a.extend("--ft-notice-info-icon-color","",m.contentInfoIconOnly),warningBackgroundColor:a.extend("--ft-notice-warning-background-color","",m.backgroundWarningSubtle),warningBorderColor:a.extend("--ft-notice-warning-border-color","",m.borderWarningSubtle),warningColor:a.extend("--ft-notice-warning-color","",m.contentWarningPrimary),warningIconColor:a.extend("--ft-notice-warning-icon-color","",m.contentWarningIconOnly),errorBackgroundColor:a.extend("--ft-notice-error-background-color","",m.backgroundErrorSubtle),errorBorderColor:a.extend("--ft-notice-error-border-color","",m.borderErrorSubtle),errorColor:a.extend("--ft-notice-error-color","",m.contentErrorPrimary),errorIconColor:a.extend("--ft-notice-error-icon-color","",m.contentErrorIconOnly),successBackgroundColor:a.extend("--ft-notice-success-background-color","",m.backgroundSuccessSubtle),successBorderColor:a.extend("--ft-notice-success-border-color","",m.borderSuccessSubtle),successColor:a.extend("--ft-notice-success-color","",m.contentSuccessPrimary),successIconColor:a.extend("--ft-notice-success-icon-color","",m.contentSuccessIconOnly)};var Cw={color:a.extend("--ft-checkbox-color","",m.contentGlobalPrimary),checkedBackgroundColor:a.extend("--ft-checkbox-checked-background-color","",m.contentActionPrimary),checkedStateLayerColor:a.extend("--ft-checkbox-checked-state-layer-color","",m.contentActionPrimary),checkedIconColor:a.extend("--ft-checkbox-checked-icon-color","",m.contentGlobalOnColor),checkedHoverStateLayerOpacity:a.extend("--ft-checkbox-checked-hover-state-layer-opacity","",p.opacity16),checkedFocusStateLayerOpacity:a.extend("--ft-checkbox-checked-focus-state-layer-opacity","",p.opacity16),checkedActiveStateLayerOpacity:a.extend("--ft-checkbox-checked-active-state-layer-opacity","",p.opacity24),checkedDisabledComponentOpacity:a.extend("--ft-checkbox-checked-disabled-component-opacity","",p.opacity40),uncheckedBorderColor:a.extend("--ft-checkbox-unchecked-border-color","",p.colorGray80),uncheckedStateLayerColor:a.extend("--ft-checkbox-unchecked-state-layer-color","",p.colorGray80),uncheckedHoverStateLayerOpacity:a.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",p.opacity16),uncheckedFocusStateLayerOpacity:a.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",p.opacity16),uncheckedActiveStateLayerOpacity:a.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",p.opacity24),uncheckedDisabledComponentOpacity:a.extend("--ft-checkbox-unchecked-disabled-component-opacity","",p.opacity40),focusFocusRingColor:a.extend("--ft-checkbox-focus-focus-ring-color","",m.borderActionFocusRing),focusOutlineOffset:a.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:a.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:a.extend("--ft-checkbox-gap","",p.spacing3)};var Rw={offHoverStateLayerOpacity:a.extend("--ft-toggle-off-hover-state-layer-opacity","",p.opacity16),offFocusStateLayerOpacity:a.extend("--ft-toggle-off-focus-state-layer-opacity","",p.opacity16),offActiveStateLayerOpacity:a.extend("--ft-toggle-off-active-state-layer-opacity","",p.opacity24),offDisabledComponentOpacity:a.extend("--ft-toggle-off-disabled-component-opacity","",p.opacity40),offBackgroundColor:a.extend("--ft-toggle-off-background-color","",m.contentGlobalSubtle),offIconColor:a.extend("--ft-toggle-off-icon-color","",m.contentGlobalSubtle),offStateLayerColor:a.extend("--ft-toggle-off-state-layer-color","",m.contentGlobalSubtle),onHoverStateLayerOpacity:a.extend("--ft-toggle-on-hover-state-layer-opacity","",p.opacity16),onFocusStateLayerOpacity:a.extend("--ft-toggle-on-focus-state-layer-opacity","",p.opacity16),onActiveStateLayerOpacity:a.extend("--ft-toggle-on-active-state-layer-opacity","",p.opacity24),onDisabledComponentOpacity:a.extend("--ft-toggle-on-disabled-component-opacity","",p.opacity40),onBackgroundColor:a.extend("--ft-toggle-on-background-color","",m.contentActionPrimary),onStateLayerColor:a.extend("--ft-toggle-on-state-layer-color","",m.contentActionPrimary),onIconColor:a.extend("--ft-toggle-on-icon-color","",m.contentActionPrimary),color:a.extend("--ft-toggle-color","",m.contentGlobalPrimary),focusFocusRingColor:a.extend("--ft-toggle-focus-focus-ring-color","",m.borderActionFocusRing),gap:a.extend("--ft-toggle-gap","",p.spacing3)};var _w={color:a.extend("--ft-radio-color","",m.contentGlobalPrimary),selectedRadioColor:a.extend("--ft-radio-selected-radio-color","",m.contentActionPrimary),selectedStateLayerColor:a.extend("--ft-radio-selected-state-layer-color","",m.contentActionPrimary),selectedHoverStateLayerOpacity:a.extend("--ft-radio-selected-hover-state-layer-opacity","",p.opacity16),selectedFocusStateLayerOpacity:a.extend("--ft-radio-selected-focus-state-layer-opacity","",p.opacity16),selectedActiveStateLayerOpacity:a.extend("--ft-radio-selected-active-state-layer-opacity","",p.opacity24),selectedDisabledComponentOpacity:a.extend("--ft-radio-selected-disabled-component-opacity","",p.opacity40),unselectedStateLayerColor:a.extend("--ft-radio-unselected-state-layer-color","",m.borderInputPrimary),unselectedBorderColor:a.extend("--ft-radio-unselected-border-color","",m.borderInputPrimary),unselectedHoverStateLayerOpacity:a.extend("--ft-radio-unselected-hover-state-layer-opacity","",p.opacity16),unselectedFocusStateLayerOpacity:a.extend("--ft-radio-unselected-focus-state-layer-opacity","",p.opacity16),unselectedActiveStateLayerOpacity:a.extend("--ft-radio-unselected-active-state-layer-opacity","",p.opacity24),unselectedDisabledComponentOpacity:a.extend("--ft-radio-unselected-disabled-component-opacity","",p.opacity40),focusFocusRingColor:a.extend("--ft-radio-focus-focus-ring-color","",m.borderActionFocusRing),focusOutlineOffset:a.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:a.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:a.extend("--ft-radio-gap","",p.spacing3)};var Bw={iconSize:a.extend("--ft-notification-icon-size","",p.iconSize4),leftPadding:a.extend("--ft-notification-left-padding","",p.spacing5),rightPadding:a.extend("--ft-notification-right-padding","",p.spacing4),verticalPadding:a.extend("--ft-notification-vertical-padding","",p.spacing3),infoBackgroundColor:a.extend("--ft-notification-info-background-color","",m.backgroundInfoSubtle),infoColor:a.extend("--ft-notification-info-color","",m.contentInfoPrimary),infoIconColor:a.extend("--ft-notification-info-icon-color","",m.contentInfoIconOnly),infoBorderColor:a.extend("--ft-notification-info-border-color","",m.borderInfoSubtle),successBackgroundColor:a.extend("--ft-notification-success-background-color","",m.backgroundSuccessSubtle),successColor:a.extend("--ft-notification-success-color","",m.contentSuccessPrimary),successIconColor:a.extend("--ft-notification-success-icon-color","",m.contentSuccessIconOnly),successBorderColor:a.extend("--ft-notification-success-border-color","",m.borderSuccessSubtle),warningBackgroundColor:a.extend("--ft-notification-warning-background-color","",m.backgroundWarningSubtle),warningColor:a.extend("--ft-notification-warning-color","",m.contentWarningPrimary),warningIconColor:a.extend("--ft-notification-warning-icon-color","",m.contentWarningIconOnly),warningBorderColor:a.extend("--ft-notification-warning-border-color","",m.borderWarningSubtle),errorBackgroundColor:a.extend("--ft-notification-error-background-color","",m.backgroundErrorSubtle),errorColor:a.extend("--ft-notification-error-color","",m.contentErrorPrimary),errorIconColor:a.extend("--ft-notification-error-icon-color","",m.contentErrorIconOnly),errorBorderColor:a.extend("--ft-notification-error-border-color","",m.borderErrorSubtle),borderRadius:a.extend("--ft-notification-border-radius","",p.borderRadiusPill),borderWidth:a.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:a.extend("--ft-notification-leading-gap","",p.spacing2),trailingGap:a.extend("--ft-notification-trailing-gap","",p.spacing8)};var Hw={horizontalPadding:a.extend("--ft-tooltip-horizontal-padding","",p.spacing2),verticalPadding:a.extend("--ft-tooltip-vertical-padding","",p.spacing2),borderRadius:a.extend("--ft-tooltip-border-radius","",p.borderRadiusS),color:a.extend("--ft-tooltip-color","",m.contentGlobalOnColor),backgroundColor:a.extend("--ft-tooltip-background-color","",m.contentGlobalPrimary),backgroundOpacity:a.extend("--ft-tooltip-background-opacity","",p.opacity80),shadow:a.extend("--ft-tooltip-shadow","",p.shadowElevation03),maxWidth:a.create("--ft-tooltip-max-width","","SIZE","256px"),gap:a.extend("--ft-tooltip-gap","",p.spacing05)};var od;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(od||(od={}));var nd;(function(t){t.large="large",t.medium="medium",t.small="small"})(nd||(nd={}));var id=[R`
628
+ `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(r=>this.unslotText(r)).join(""):e?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};pe.elementDefinitions={"ft-ripple":Y,"ft-tooltip":te,"ft-typography":Q,"ft-icon":ye,"ft-loader":dr};Be([y({type:String,reflect:!0})],pe.prototype,"role",void 0);Be([y()],pe.prototype,"type",void 0);Be([y({type:Boolean})],pe.prototype,"disabled",void 0);Be([y()],pe.prototype,"label",void 0);Be([y()],pe.prototype,"icon",void 0);Be([y()],pe.prototype,"iconVariant",void 0);Be([y({type:Boolean})],pe.prototype,"trailingIcon",void 0);Be([y({type:Boolean})],pe.prototype,"loading",void 0);Be([y()],pe.prototype,"tooltipPosition",void 0);Be([y({type:Boolean})],pe.prototype,"hideTooltip",void 0);Be([y({type:Boolean})],pe.prototype,"forceTooltip",void 0);Be([W(".ft-button")],pe.prototype,"button",void 0);Be([W(".ft-button--label slot")],pe.prototype,"slottedContent",void 0);var Ai=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ve=class extends pe{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};ve.styles=[yo,sd];Ai([y({type:Boolean})],ve.prototype,"primary",void 0);Ai([y({type:Boolean})],ve.prototype,"outlined",void 0);Ai([y({type:Boolean})],ve.prototype,"dense",void 0);Ai([y({type:Boolean})],ve.prototype,"round",void 0);var cd=[N`
630
629
  :host {
631
630
  display: inline-block;
632
631
  max-width: 100%;
@@ -676,7 +675,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
676
675
  }
677
676
 
678
677
  .ft-button:focus-visible {
679
- outline-color: ${$.focusFocusRingColor};
678
+ outline-color: ${w.focusFocusRingColor};
680
679
  outline-style: solid;
681
680
  }
682
681
 
@@ -702,149 +701,175 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
702
701
  display: none;
703
702
  }
704
703
 
704
+ .ft-button.ft-button--icon-only {
705
+ padding: unset;
706
+ border-radius: 50%;
707
+ }
708
+
705
709
  /** Primary styles **/
706
710
 
707
711
  .ft-button--primary {
708
- ${D(Ie.color,$.primaryIconColor)};
712
+ ${L(Ae.color,w.primaryIconColor)};
709
713
 
710
- ${D(V.color,$.primaryStateLayerColor)};
711
- ${D(V.opacityContentOnSurfaceHover,$.primaryHoverStateLayerOpacity)};
712
- ${D(V.opacityContentOnSurfaceFocused,$.primaryFocusStateLayerOpacity)};
713
- ${D(V.opacityContentOnSurfaceSelected,$.primaryActiveStateLayerOpacity)};
714
- ${D(V.opacityContentOnSurfacePressed,$.primaryActiveStateLayerOpacity)};
714
+ ${L(V.color,w.primaryStateLayerColor)};
715
+ ${L(V.opacityContentOnSurfaceHover,w.primaryHoverStateLayerOpacity)};
716
+ ${L(V.opacityContentOnSurfaceFocused,w.primaryFocusStateLayerOpacity)};
717
+ ${L(V.opacityContentOnSurfaceSelected,w.primaryActiveStateLayerOpacity)};
718
+ ${L(V.opacityContentOnSurfacePressed,w.primaryActiveStateLayerOpacity)};
715
719
 
716
- background-color: ${$.primaryBackgroundColor};
717
- color: ${$.primaryColor};
720
+ background-color: ${w.primaryBackgroundColor};
721
+ color: ${w.primaryColor};
718
722
  border-style: none;
719
723
  }
720
724
 
721
725
  .ft-button--primary[disabled] {
722
- opacity: ${$.primaryDisabledComponentOpacity};
726
+ opacity: ${w.primaryDisabledComponentOpacity};
723
727
  }
724
728
 
725
729
  .ft-button--primary ft-icon {
726
- color: ${$.primaryIconColor};
730
+ color: ${w.primaryIconColor};
727
731
  }
728
732
 
729
733
  /** Secondary styles **/
730
734
 
731
735
  .ft-button--secondary {
732
- ${D(Ie.color,$.secondaryIconColor)};
736
+ ${L(Ae.color,w.secondaryIconColor)};
733
737
 
734
- ${D(V.color,$.secondaryStateLayerColor)};
735
- ${D(V.opacityContentOnSurfaceHover,$.secondaryHoverStateLayerOpacity)};
736
- ${D(V.opacityContentOnSurfaceFocused,$.secondaryFocusStateLayerOpacity)};
737
- ${D(V.opacityContentOnSurfaceSelected,$.secondaryActiveStateLayerOpacity)};
738
- ${D(V.opacityContentOnSurfacePressed,$.secondaryActiveStateLayerOpacity)};
738
+ ${L(V.color,w.secondaryStateLayerColor)};
739
+ ${L(V.opacityContentOnSurfaceHover,w.secondaryHoverStateLayerOpacity)};
740
+ ${L(V.opacityContentOnSurfaceFocused,w.secondaryFocusStateLayerOpacity)};
741
+ ${L(V.opacityContentOnSurfaceSelected,w.secondaryActiveStateLayerOpacity)};
742
+ ${L(V.opacityContentOnSurfacePressed,w.secondaryActiveStateLayerOpacity)};
739
743
 
740
- background-color: ${$.secondaryBackgroundColor};
741
- color: ${$.secondaryColor};
742
- border-color: ${$.secondaryBorderColor};
744
+ background-color: ${w.secondaryBackgroundColor};
745
+ color: ${w.secondaryColor};
746
+ border-color: ${w.secondaryBorderColor};
743
747
  border-style: solid;
744
748
  }
745
749
 
746
750
  .ft-button--secondary[disabled] {
747
- opacity: ${$.secondaryDisabledComponentOpacity};
751
+ opacity: ${w.secondaryDisabledComponentOpacity};
748
752
  }
749
753
 
750
754
  .ft-button--secondary ft-icon {
751
- color: ${$.secondaryIconColor};
755
+ color: ${w.secondaryIconColor};
752
756
  }
753
757
 
754
758
  /** Tertiary styles **/
755
759
 
756
760
  .ft-button--tertiary {
757
- ${D(Ie.color,$.tertiaryIconColor)};
761
+ ${L(Ae.color,w.tertiaryIconColor)};
758
762
 
759
- ${D(V.color,$.tertiaryStateLayerColor)};
760
- ${D(V.opacityContentOnSurfaceHover,$.tertiaryHoverStateLayerOpacity)};
761
- ${D(V.opacityContentOnSurfaceFocused,$.tertiaryFocusStateLayerOpacity)};
762
- ${D(V.opacityContentOnSurfaceSelected,$.tertiaryActiveStateLayerOpacity)};
763
- ${D(V.opacityContentOnSurfacePressed,$.tertiaryActiveStateLayerOpacity)};
763
+ ${L(V.color,w.tertiaryStateLayerColor)};
764
+ ${L(V.opacityContentOnSurfaceHover,w.tertiaryHoverStateLayerOpacity)};
765
+ ${L(V.opacityContentOnSurfaceFocused,w.tertiaryFocusStateLayerOpacity)};
766
+ ${L(V.opacityContentOnSurfaceSelected,w.tertiaryActiveStateLayerOpacity)};
767
+ ${L(V.opacityContentOnSurfacePressed,w.tertiaryActiveStateLayerOpacity)};
764
768
 
765
- background-color: ${$.tertiaryBackgroundColor};
766
- color: ${$.tertiaryColor};
769
+ background-color: ${w.tertiaryBackgroundColor};
770
+ color: ${w.tertiaryColor};
767
771
  border-style: none;
768
772
  }
769
773
 
770
774
  .ft-button--tertiary[disabled] {
771
- opacity: ${$.tertiaryDisabledComponentOpacity};
775
+ opacity: ${w.tertiaryDisabledComponentOpacity};
772
776
  }
773
777
 
774
778
  .ft-button--tertiary ft-icon {
775
- color: ${$.tertiaryIconColor};
779
+ color: ${w.tertiaryIconColor};
776
780
  }
777
781
 
778
782
  /** Neutral styles **/
779
783
 
780
- .ft-button--neutral {
781
- ${D(Ie.color,$.neutralIconColor)};
784
+ .ftds--family-neutral {
785
+ ${L(Ae.color,w.neutralIconColor)};
782
786
 
783
- ${D(V.backgroundColor,$.neutralStateLayerColor)};
784
- ${D(V.opacityContentOnSurfaceHover,$.neutralHoverStateLayerOpacity)};
785
- ${D(V.opacityContentOnSurfaceFocused,$.neutralFocusStateLayerOpacity)};
786
- ${D(V.opacityContentOnSurfaceSelected,$.neutralActiveStateLayerOpacity)};
787
- ${D(V.opacityContentOnSurfacePressed,$.neutralActiveStateLayerOpacity)};
787
+ ${L(V.backgroundColor,w.neutralStateLayerColor)};
788
+ ${L(V.opacityContentOnSurfaceHover,w.neutralHoverStateLayerOpacity)};
789
+ ${L(V.opacityContentOnSurfaceFocused,w.neutralFocusStateLayerOpacity)};
790
+ ${L(V.opacityContentOnSurfaceSelected,w.neutralActiveStateLayerOpacity)};
791
+ ${L(V.opacityContentOnSurfacePressed,w.neutralActiveStateLayerOpacity)};
788
792
 
789
- background-color: ${$.neutralBackgroundColor};
790
- color: ${$.neutralColor};
793
+ background-color: ${w.neutralBackgroundColor};
794
+ color: ${w.neutralColor};
791
795
  border-style: none;
792
796
  }
793
797
 
794
- .ft-button--neutral[disabled] {
795
- opacity: ${$.neutralDisabledComponentOpacity};
798
+ .ftds--family-neutral[disabled] {
799
+ opacity: ${w.neutralDisabledComponentOpacity};
796
800
  }
797
801
 
798
- .ft-button--neutral ft-icon {
799
- color: ${$.neutralIconColor};
802
+ .ftds--family-neutral ft-icon {
803
+ color: ${w.neutralIconColor};
800
804
  }
801
805
 
802
806
  /** Large styles **/
803
807
 
804
- .ft-button--large {
805
- ${D(Oe.size,$.largeIconSize)};
806
- ${D(Ie.size,$.largeIconSize)};
808
+ .ftds--size-large {
809
+ ${L(de.size,w.largeIconSize)};
810
+ ${L(Ae.size,w.largeIconSize)};
807
811
 
808
- height: ${$.largeHeight};
809
- padding: 0 ${$.largeHorizontalPadding};
810
- gap: ${$.largeGap};
811
- border-radius: ${$.largeBorderRadius};
812
- border-width: ${$.largeBorderWidth};
812
+ height: ${w.largeHeight};
813
+ padding: 0 ${w.largeHorizontalPadding};
814
+ gap: ${w.largeGap};
815
+ border-radius: ${w.largeBorderRadius};
816
+ border-width: ${w.largeBorderWidth};
813
817
  }
814
818
 
815
- .ft-button--large:focus-visible {
816
- outline-width: ${$.largeFocusOutlineWidth};
817
- outline-offset: ${$.largeFocusOutlineOffset};
819
+ .ftds--size-large:focus-visible {
820
+ outline-width: ${w.largeFocusOutlineWidth};
821
+ outline-offset: ${w.largeFocusOutlineOffset};
818
822
  }
819
823
 
820
- .ft-button--large.ft-button--icon-only {
821
- width: ${$.largeIconOnlyWidth};
822
- padding: unset;
824
+ .ftds--size-large.ft-button--icon-only {
825
+ width: ${w.largeIconOnlyWidth};
823
826
  }
824
827
 
825
828
  /** Small styles **/
826
829
 
827
- .ft-button--small {
828
- ${D(Oe.size,$.smallIconSize)};
829
- ${D(Ie.size,$.smallIconSize)};
830
+ .ftds--size-medium {
831
+ ${L(de.size,w.mediumIconSize)};
832
+ ${L(Ae.size,w.mediumIconSize)};
830
833
 
831
- height: ${$.smallHeight};
832
- padding: 0 ${$.smallHorizontalPadding};
833
- gap: ${$.smallGap};
834
- border-radius: ${$.smallBorderRadius};
835
- border-width: ${$.smallBorderWidth};
834
+ height: ${w.mediumHeight};
835
+ padding: 0 ${w.mediumHorizontalPadding};
836
+ gap: ${w.mediumGap};
837
+ border-radius: ${w.mediumBorderRadius};
838
+ border-width: ${w.mediumBorderWidth};
836
839
  }
837
840
 
838
- .ft-button--small:focus-visible {
839
- outline-width: ${$.smallFocusOutlineWidth};
840
- outline-offset: ${$.smallFocusOutlineOffset};
841
+ .ftds--size-medium:focus-visible {
842
+ outline-width: ${w.mediumFocusOutlineWidth};
843
+ outline-offset: ${w.mediumFocusOutlineOffset};
841
844
  }
842
845
 
843
- .ft-button--small.ft-button--icon-only {
844
- width: ${$.smallIconOnlyWidth};
845
- padding: unset;
846
+ .ftds--size-medium.ft-button--icon-only {
847
+ width: ${w.mediumIconOnlyWidth};
846
848
  }
847
- `,rr];var Oo=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(s=(i<3?l(s):i>3?l(e,r,s):l(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},at=class extends fe{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary&&!this.neutral,"ft-button--neutral":this.neutral,"ft-button--large":!this.small,"ft-button--small":this.small,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon}}get typographyVariant(){return this.small?cr.caption1medium:cr.body2medium}};at.styles=[ho,id];Oo([v({type:Boolean})],at.prototype,"primary",void 0);Oo([v({type:Boolean})],at.prototype,"secondary",void 0);Oo([v({type:Boolean})],at.prototype,"tertiary",void 0);Oo([v({type:Boolean})],at.prototype,"neutral",void 0);Oo([v({type:Boolean})],at.prototype,"small",void 0);H("ft-button")(xe);H("ftds-button")(at);var ad=o.extend("--ft-chip-color","",P.colorOnSurface),Ge={backgroundColor:o.extend("--ft-chip-background-color","",P.colorSurface),color:ad,fontSize:o.extend("--ft-chip-font-size","",be.fontSize),iconSize:o.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:o.create("--ft-chip-border-radius","","SIZE",""),rippleColor:o.extend("--ft-chip-ripple-color","",ad),horizontalPadding:o.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:o.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:o.external(P.colorOutline,"Design system"),opacityDisabled:o.external(P.colorOpacityDisabled,"Design system")},sd=o.extend("--ft-chip-highlighted-color","",o.extend("--ft-chip-color","",P.colorOnPrimary)),Ja={backgroundColor:o.extend("--ft-chip-highlighted-background-color","",o.extend("--ft-chip-background-color","",P.colorPrimary)),color:sd,rippleColor:o.extend("--ft-chip-highlighted-ripple-color","",sd)},ld={horizontalPadding:o.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:o.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},cd=[rr,R`
849
+
850
+
851
+ /** Small styles **/
852
+
853
+ .ftds--size-small {
854
+ ${L(de.size,w.smallIconSize)};
855
+ ${L(Ae.size,w.smallIconSize)};
856
+
857
+ height: ${w.smallHeight};
858
+ padding: 0 ${w.smallHorizontalPadding};
859
+ gap: ${w.smallGap};
860
+ border-radius: ${w.smallBorderRadius};
861
+ border-width: ${w.smallBorderWidth};
862
+ }
863
+
864
+ .ftds--size-small:focus-visible {
865
+ outline-width: ${w.smallFocusOutlineWidth};
866
+ outline-offset: ${w.smallFocusOutlineOffset};
867
+ }
868
+
869
+ .ftds--size-small.ft-button--icon-only {
870
+ width: ${w.smallIconOnlyWidth};
871
+ }
872
+ `,or];var Ri=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},qe=class extends li(pe){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=mt.brand,this.iconVariant=Ve.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case ue.large:return He.body2medium;case ue.medium:return He.caption1medium;case ue.small:return He.caption2medium}}};qe.styles=[yo,cd];Ri([y({type:Boolean})],qe.prototype,"primary",void 0);Ri([y({type:Boolean})],qe.prototype,"secondary",void 0);Ri([y({type:Boolean})],qe.prototype,"tertiary",void 0);Ri([y({type:Boolean})],qe.prototype,"round",void 0);F("ft-button")(ve);F("ftds-button")(qe);var dd=o.extend("--ft-chip-color","",T.colorOnSurface),je={backgroundColor:o.extend("--ft-chip-background-color","",T.colorSurface),color:dd,fontSize:o.extend("--ft-chip-font-size","",xe.fontSize),iconSize:o.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:o.create("--ft-chip-border-radius","","SIZE",""),rippleColor:o.extend("--ft-chip-ripple-color","",dd),horizontalPadding:o.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:o.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:o.external(T.colorOutline,"Design system"),opacityDisabled:o.external(T.colorOpacityDisabled,"Design system")},pd=o.extend("--ft-chip-highlighted-color","",o.extend("--ft-chip-color","",T.colorOnPrimary)),rs={backgroundColor:o.extend("--ft-chip-highlighted-background-color","",o.extend("--ft-chip-background-color","",T.colorPrimary)),color:pd,rippleColor:o.extend("--ft-chip-highlighted-ripple-color","",pd)},fd={horizontalPadding:o.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:o.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},ud=[or,N`
848
873
  :host {
849
874
  display: inline-block;
850
875
  max-width: 100%;
@@ -860,20 +885,20 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
860
885
  box-sizing: border-box;
861
886
  pointer-events: auto;
862
887
 
863
- --ft-chip-internal-font-size: ${Ge.fontSize};
888
+ --ft-chip-internal-font-size: ${je.fontSize};
864
889
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
865
- ${D(Oe.size,Ge.iconSize)};
866
- --ft-chip-internal-vertical-padding: ${Ge.verticalPadding};
867
- --ft-chip-internal-horizontal-padding: ${Ge.horizontalPadding};
890
+ ${L(de.size,je.iconSize)};
891
+ --ft-chip-internal-vertical-padding: ${je.verticalPadding};
892
+ --ft-chip-internal-horizontal-padding: ${je.horizontalPadding};
868
893
  --ft-chip-internal-icon-padding: 3px;
869
- --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${Ge.iconSize});
894
+ --ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${je.iconSize});
870
895
 
871
- border: 1px solid ${Ge.colorOutline};
872
- color: ${Ge.color};
873
- ${D(V.color,Ge.rippleColor)};
874
- border-radius: var(${Ke(Ge.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
896
+ border: 1px solid ${je.colorOutline};
897
+ color: ${je.color};
898
+ ${L(V.color,je.rippleColor)};
899
+ border-radius: var(${dt(je.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
875
900
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
876
- background-color: ${Ge.backgroundColor};
901
+ background-color: ${je.backgroundColor};
877
902
  line-height: var(--ft-chip-internal-content-height);
878
903
  }
879
904
 
@@ -883,8 +908,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
883
908
 
884
909
  .ft-chip--dense {
885
910
  --ft-chip-internal-icon-padding: 3px;
886
- --ft-chip-internal-vertical-padding: ${ld.verticalPadding};
887
- --ft-chip-internal-horizontal-padding: ${ld.horizontalPadding};
911
+ --ft-chip-internal-vertical-padding: ${fd.verticalPadding};
912
+ --ft-chip-internal-horizontal-padding: ${fd.horizontalPadding};
888
913
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
889
914
  }
890
915
 
@@ -896,15 +921,15 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
896
921
  cursor: default;
897
922
  pointer-events: none;
898
923
  filter: grayscale(1);
899
- opacity: ${Ge.opacityDisabled};
924
+ opacity: ${je.opacityDisabled};
900
925
  }
901
926
 
902
927
  .ft-chip--highlighted {
903
928
  border: none;
904
929
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
905
- background-color: ${Ja.backgroundColor};
906
- ${D(V.color,Ja.rippleColor)};
907
- color: ${Ja.color};
930
+ background-color: ${rs.backgroundColor};
931
+ ${L(V.color,rs.rippleColor)};
932
+ color: ${rs.color};
908
933
  }
909
934
 
910
935
  .ft-chip--clickable {
@@ -934,9 +959,9 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
934
959
  }
935
960
 
936
961
  .ft-chip--icon-button {
937
- ${D(Q.iconSize,Ge.iconSize)};
938
- ${D(Q.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
939
- ${D(Q.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
962
+ ${L(X.iconSize,je.iconSize)};
963
+ ${L(X.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
964
+ ${L(X.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
940
965
  margin: calc((-1) * var(--ft-chip-internal-icon-padding));
941
966
  }
942
967
 
@@ -944,8 +969,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
944
969
  vertical-align: bottom;
945
970
  display: block;
946
971
  margin: 0 var(--ft-chip-internal-horizontal-padding);
947
- ${D(be.fontSize,"var(--ft-chip-internal-font-size)")};
948
- ${D(be.lineHeight,"var(--ft-chip-internal-content-height)")};
972
+ ${L(xe.fontSize,"var(--ft-chip-internal-font-size)")};
973
+ ${L(xe.lineHeight,"var(--ft-chip-internal-content-height)")};
949
974
  }
950
975
 
951
976
  .ft-chip--safari-fix .ft-chip--label {
@@ -981,8 +1006,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
981
1006
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
982
1007
  order: -1;
983
1008
  }
984
- `];var Me=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(s=(i<3?l(s):i>3?l(e,r,s):l(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Nn=class extends CustomEvent{constructor(){super("icon-click")}},de=class extends M{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){let e={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":sr};return T`
985
- <div class="${De(e)}"
1009
+ `];var Fe=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Ni=class extends CustomEvent{constructor(){super("icon-click")}},le=class extends D{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){let e={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":lr};return _`
1010
+ <div class="${Ee(e)}"
986
1011
  aria-label="${this.getLabel()}"
987
1012
  tabindex="${this.interactionsOnChip?0:-1}"
988
1013
  @keyup=${this.onKeyUp}
@@ -993,7 +1018,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
993
1018
  </ft-typography>
994
1019
  ${this.internalIcon?this.renderIcon():null}
995
1020
  </div>
996
- `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?T`
1021
+ `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?_`
997
1022
  <ft-button round
998
1023
  class="ft-chip--icon-button"
999
1024
  @click=${this.onIconClick}
@@ -1002,28 +1027,158 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
1002
1027
  label="${this.iconLabel}"
1003
1028
  part="icon-button"
1004
1029
  ></ft-button>
1005
- `:T`
1030
+ `:_`
1006
1031
  <div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
1007
1032
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
1008
1033
  </div>
1009
- `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new Nn))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new Nn))}getLabel(){return this.label||this.textContent}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};de.elementDefinitions={"ft-ripple":J,"ft-typography":ie,"ft-icon":Ce,"ft-button":xe};de.styles=cd;Me([v({type:Boolean})],de.prototype,"highlighted",void 0);Me([v({type:Boolean})],de.prototype,"removable",void 0);Me([v({type:Boolean})],de.prototype,"disabled",void 0);Me([v({type:Boolean})],de.prototype,"clickable",void 0);Me([v({type:Boolean})],de.prototype,"iconClickable",void 0);Me([v({type:Boolean})],de.prototype,"dense",void 0);Me([v({type:Boolean})],de.prototype,"multiLine",void 0);Me([v()],de.prototype,"label",void 0);Me([v()],de.prototype,"iconLabel",void 0);Me([v()],de.prototype,"icon",void 0);Me([v()],de.prototype,"iconVariant",void 0);Me([v({type:Boolean})],de.prototype,"trailingIcon",void 0);Me([K("ft-typography slot")],de.prototype,"slottedContent",void 0);H("ft-chip")(de);var dd=R`
1010
- `;var cu=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(s=(i<3?l(s):i>3?l(e,r,s):l(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Qa=Symbol("i18nAttributes"),An=Symbol("i18nProperties"),Co=Symbol("i18nUnsubs");function Bt(t){var e;class r extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Nc:Lr}i18n(i,s,...l){var c;if(typeof i=="string")return this.i18nService.resolveMessage(i,s,...l);let d=(c=i.args)!==null&&c!==void 0?c:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...d)}onI18nUpdate(i){var s,l;(s=this[Qa])===null||s===void 0||s.forEach((c,d)=>{var u;let y=this.getI18nAttributeValue(d);((u=y?.context)===null||u===void 0?void 0:u.toLowerCase())===i.toLowerCase()&&this.updateI18nAttributeMessage(d,y,c)}),(l=this[An])===null||l===void 0||l.forEach((c,d)=>{c.context.toLowerCase()===i.toLowerCase()&&(this[d]=this.i18n(c))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(i,s,l){this[i]={...s,message:this.i18n({context:s.context,key:s.key,...l})}}update(i){var s,l;super.update(i),(s=this[Qa])===null||s===void 0||s.forEach((c,d)=>{let u=this.getI18nAttributeValue(d);u?.context&&u.key&&(i.has(d)||c.argsProvider!=null)&&(i.has(d)&&this.addI18nContext(u.context),this.updateI18nAttributeMessage(d,u,c))}),(l=this[An])===null||l===void 0||l.forEach((c,d)=>{c.argsProvider!=null&&(this[d]=this.i18n(c))})}getI18nAttributeValue(i){return this[i]}connectedCallback(){var i,s,l,c;super.connectedCallback(),new Set([...(s=(i=this[An])===null||i===void 0?void 0:i.values())!==null&&s!==void 0?s:[],...[...(c=(l=this[Qa])===null||l===void 0?void 0:l.keys())!==null&&c!==void 0?c:[]].map(d=>this.getI18nAttributeValue(d))].map(d=>d?.context)).forEach(d=>d&&this.addI18nMessages(d))}addI18nMessages(i,s){i=i.toLowerCase(),this[Co].has(i)||this[Co].set(i,this.i18nService.subscribe(i,()=>this.onI18nUpdate(i))),this.i18nService.prepareContext(i,s??{}),this.onI18nUpdate(i)}addI18nContext(i,s){this.addI18nMessages(typeof i=="string"?i:i.name,s)}disconnectedCallback(){super.disconnectedCallback(),this[Co].forEach(i=>i()),this[Co].clear()}}return e=Co,cu([v({type:Boolean})],r.prototype,"useCustomMessageContexts",void 0),r}var pd=class extends Bt(M){},Rn=class extends Bt(ze){};var Eo=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(s=(i<3?l(s):i>3?l(e,r,s):l(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},qe=class extends Rn{constructor(){super(),this.editorMode=!1,this.addStore(W)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":G:T`
1034
+ `}onKeyUp(e){this.interactionsOnChip&&["Enter"," "].includes(e.key)&&e.target.click()}onIconKeyUp(e){this.interactionsOnIcon&&["Enter"," "].includes(e.key)&&(e.stopPropagation(),this.dispatchEvent(new Ni))}onIconClick(e){this.interactionsOnIcon&&(e.stopPropagation(),this.dispatchEvent(new Ni))}getLabel(){return this.label||this.textContent}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};le.elementDefinitions={"ft-ripple":Y,"ft-typography":Q,"ft-icon":ye,"ft-button":ve};le.styles=ud;Fe([y({type:Boolean})],le.prototype,"highlighted",void 0);Fe([y({type:Boolean})],le.prototype,"removable",void 0);Fe([y({type:Boolean})],le.prototype,"disabled",void 0);Fe([y({type:Boolean})],le.prototype,"clickable",void 0);Fe([y({type:Boolean})],le.prototype,"iconClickable",void 0);Fe([y({type:Boolean})],le.prototype,"dense",void 0);Fe([y({type:Boolean})],le.prototype,"multiLine",void 0);Fe([y()],le.prototype,"label",void 0);Fe([y()],le.prototype,"iconLabel",void 0);Fe([y()],le.prototype,"icon",void 0);Fe([y()],le.prototype,"iconVariant",void 0);Fe([y({type:Boolean})],le.prototype,"trailingIcon",void 0);Fe([W("ft-typography slot")],le.prototype,"slottedContent",void 0);var hd=[N`
1035
+ :host {
1036
+ display: inline-block;
1037
+ max-width: 100%;
1038
+ pointer-events: none;
1039
+ }
1040
+
1041
+ .ftds-chip {
1042
+ display: flex;
1043
+ align-items: center;
1044
+ }
1045
+
1046
+ .ftds-chip ft-typography {
1047
+ display: flex; /* For typo alignment in the chip */
1048
+ }
1049
+
1050
+ /* MEDIUM VARIANT */
1051
+ .ftds--size-medium {
1052
+ min-height: ${H.mediumMinHeight};
1053
+ padding: 0 ${H.mediumHorizontalPadding};
1054
+ border-radius: ${H.mediumBorderRadius};
1055
+ border-width: ${H.mediumBorderWidth};
1056
+ border-style: solid;
1057
+ gap: ${H.mediumGap};
1058
+ ${L(de.size,H.mediumIconSize)}
1059
+ }
1060
+
1061
+ .ftds--size-medium.ftds-chip--removable {
1062
+ padding-right: ${H.mediumButtonRightPadding};
1063
+ }
1064
+
1065
+
1066
+ /* LARGE VARIANT */
1067
+ .ftds--size-large {
1068
+ min-height: ${H.largeMinHeight};
1069
+ padding: 0 ${H.largeHorizontalPadding};
1070
+ border-radius: ${H.largeBorderRadius};
1071
+ border-width: ${H.largeBorderWidth};
1072
+ border-style: solid;
1073
+ gap: ${H.largeGap};
1074
+ ${L(de.size,H.largeIconSize)}
1075
+ }
1076
+
1077
+ .ftds--size-large.ftds-chip--removable {
1078
+ padding-right: ${H.largeButtonRightPadding};
1079
+ }
1080
+
1081
+
1082
+ /* NEUTRAL COLORS */
1083
+ .ftds--family-neutral {
1084
+ background-color: ${H.neutralBackgroundColor};
1085
+ border-color: ${H.neutralBorderColor};
1086
+ color: ${H.neutralColor};
1087
+ }
1088
+
1089
+ .ftds--family-neutral .ftds-chip--icon-container {
1090
+ color: ${H.neutralIconColor};
1091
+ }
1092
+
1093
+
1094
+ /* INFO COLORS */
1095
+ .ftds--family-info {
1096
+ background-color: ${H.infoBackgroundColor};
1097
+ border-color: ${H.infoBorderColor};
1098
+ color: ${H.infoColor};
1099
+ }
1100
+
1101
+ .ftds--family-info .ftds-chip--icon-container {
1102
+ color: ${H.infoIconColor};
1103
+ }
1104
+
1105
+
1106
+ /* SUCCESS COLORS */
1107
+ .ftds--family-success {
1108
+ background-color: ${H.successBackgroundColor};
1109
+ border-color: ${H.successBorderColor};
1110
+ color: ${H.successColor};
1111
+ }
1112
+
1113
+ .ftds--family-success .ftds-chip--icon-container {
1114
+ color: ${H.successIconColor};
1115
+ }
1116
+
1117
+
1118
+ /* WARNING COLORS */
1119
+ .ftds--family-warning {
1120
+ background-color: ${H.warningBackgroundColor};
1121
+ border-color: ${H.warningBorderColor};
1122
+ color: ${H.warningColor};
1123
+ }
1124
+
1125
+ .ftds--family-warning .ftds-chip--icon-container {
1126
+ color: ${H.warningIconColor};
1127
+ }
1128
+
1129
+
1130
+ /* ERROR COLORS */
1131
+ .ftds--family-error {
1132
+ background-color: ${H.errorBackgroundColor};
1133
+ border-color: ${H.errorBorderColor};
1134
+ color: ${H.errorColor};
1135
+ }
1136
+
1137
+ .ftds--family-error .ftds-chip--icon-container {
1138
+ color: ${H.errorIconColor};
1139
+ }
1140
+ `];var Eo=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},os=class extends CustomEvent{constructor(){super("remove")}},Ye=class extends ho{constructor(){super(...arguments),this.removable=!1,this.removeButtonLabel="Remove",this.label=""}render(){let e={"ftds-chip":!0,"ftds-chip--removable":this.removable,"ftds-chip--with-icon":!!this.icon,...this.getDesignSystemBaseClasses()};return _`
1141
+ <div class="${Ee(e)}"
1142
+ aria-label="${this.getLabel()}"
1143
+ part="chip">
1144
+ ${this.renderIcon()}
1145
+ <ft-typography variant=${this.typographyVariant()} element="span" class="ftds-chip--label" part="label">
1146
+ <slot @slotchange=${this.onSlotchange}></slot>
1147
+ </ft-typography>
1148
+ ${this.renderRemoveButton()}
1149
+ </div>
1150
+ `}renderIcon(){return this.icon?_`
1151
+ <div class="ftds-chip--icon-container" part="icon-container">
1152
+ <ft-icon .variant=${Ve.fluid_topics} .value="${this.icon}" part="icon"></ft-icon>
1153
+ </div>
1154
+ `:B}renderRemoveButton(){return this.removable?_`
1155
+ <ftds-button round
1156
+ class="ftds-chip--remove-button"
1157
+ @click=${this.dispatchRemoveEvent}
1158
+ icon=${Br.X_MARK}
1159
+ label=${this.removeButtonLabel}
1160
+ family=${mt.neutral}
1161
+ size=${this.resolveButtonSize()}
1162
+ part="icon-button"
1163
+ ></ftds-button>
1164
+ `:B}resolveButtonSize(){switch(this.size){case ue.large:return ue.medium;case ue.medium:case ue.small:return ue.small}}getLabel(){return this.label||this.textContent}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(i=>i.textContent).join("").trim())!==null&&r!==void 0?r:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new os)}typographyVariant(){switch(this.size){case ue.large:return He.body2medium;case ue.medium:return He.caption1medium;case ue.small:return He.caption2medium}}};Ye.elementDefinitions={"ft-typography":Q,"ft-icon":ye,"ftds-button":qe};Ye.styles=hd;Eo([y({type:Boolean})],Ye.prototype,"removable",void 0);Eo([y()],Ye.prototype,"removeButtonLabel",void 0);Eo([y()],Ye.prototype,"label",void 0);Eo([y()],Ye.prototype,"icon",void 0);Eo([W("ft-typography slot")],Ye.prototype,"slottedContent",void 0);F("ft-chip")(le);F("ftds-chip")(Ye);var md=N`
1165
+ `;var du=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},is=Symbol("i18nAttributes"),_i=Symbol("i18nProperties"),wo=Symbol("i18nUnsubs");function Bt(t){var e;class r extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?$c:Tr}i18n(n,a,...s){var l;if(typeof n=="string")return this.i18nService.resolveMessage(n,a,...s);let c=(l=n.args)!==null&&l!==void 0?l:n.argsProvider?n.argsProvider(this):[];return this.i18nService.resolveMessage(n.context,n.key,...c)}onI18nUpdate(n){var a,s;(a=this[is])===null||a===void 0||a.forEach((l,c)=>{var p;let u=this.getI18nAttributeValue(c);((p=u?.context)===null||p===void 0?void 0:p.toLowerCase())===n.toLowerCase()&&this.updateI18nAttributeMessage(c,u,l)}),(s=this[_i])===null||s===void 0||s.forEach((l,c)=>{l.context.toLowerCase()===n.toLowerCase()&&(this[c]=this.i18n(l))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(n,a,s){this[n]={...a,message:this.i18n({context:a.context,key:a.key,...s})}}update(n){var a,s;super.update(n),(a=this[is])===null||a===void 0||a.forEach((l,c)=>{let p=this.getI18nAttributeValue(c);p?.context&&p.key&&(n.has(c)||l.argsProvider!=null)&&(n.has(c)&&this.addI18nContext(p.context),this.updateI18nAttributeMessage(c,p,l))}),(s=this[_i])===null||s===void 0||s.forEach((l,c)=>{l.argsProvider!=null&&(this[c]=this.i18n(l))})}getI18nAttributeValue(n){return this[n]}connectedCallback(){var n,a,s,l;super.connectedCallback(),new Set([...(a=(n=this[_i])===null||n===void 0?void 0:n.values())!==null&&a!==void 0?a:[],...[...(l=(s=this[is])===null||s===void 0?void 0:s.keys())!==null&&l!==void 0?l:[]].map(c=>this.getI18nAttributeValue(c))].map(c=>c?.context)).forEach(c=>c&&this.addI18nMessages(c))}addI18nMessages(n,a){n=n.toLowerCase(),this[wo].has(n)||this[wo].set(n,this.i18nService.subscribe(n,()=>this.onI18nUpdate(n))),this.i18nService.prepareContext(n,a??{}),this.onI18nUpdate(n)}addI18nContext(n,a){this.addI18nMessages(typeof n=="string"?n:n.name,a)}disconnectedCallback(){super.disconnectedCallback(),this[wo].forEach(n=>n()),this[wo].clear()}}return e=wo,du([y({type:Boolean})],r.prototype,"useCustomMessageContexts",void 0),r}var yd=class extends Bt(D){},Ti=class extends Bt(ze){};var Ao=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Xe=class extends Ti{constructor(){super(),this.editorMode=!1,this.addStore(U)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":B:_`
1011
1166
  <span class="ft-i18n">
1012
1167
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
1013
1168
  </span>
1014
- `}update(e){var r;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};qe.elementDefinitions={};qe.styles=dd;Eo([he()],qe.prototype,"editorMode",void 0);Eo([v()],qe.prototype,"context",void 0);Eo([v()],qe.prototype,"key",void 0);Eo([ge([])],qe.prototype,"args",void 0);Eo([v()],qe.prototype,"defaultMessage",void 0);var Wr=class t{static build(e){return new t(e)}static fromGwt(e){return new t(e)}constructor(e){this.name=e,this.properties=new Proxy({},{get:(r,n)=>{let i=n;return s=>({context:this.name,key:i,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(r,n)=>(...i)=>Lr.resolveMessage(this.name,n,...i)})}};H("ft-i18n")(qe);var fd=R`
1015
- `;var Ee=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(s=(i<3?l(s):i>3?l(e,r,s):l(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},es=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},ts=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},rs=class extends CustomEvent{constructor(e,r,n){super("ft-search-results-change",{detail:{request:e,paging:r,spellcheck:n}})}},ae=class extends ze{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=vo.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),e),this._stateManager.errorHandler=r=>this.handleLoadError(r),this.addStore(this.stateManager.store,"search")}return this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.addStore(W)}render(){return T`
1169
+ `}update(e){var r;super.update(e),["context","key","defaultMessage"].some(i=>e.has(i))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};Xe.elementDefinitions={};Xe.styles=md;Ao([he()],Xe.prototype,"editorMode",void 0);Ao([y()],Xe.prototype,"context",void 0);Ao([y()],Xe.prototype,"key",void 0);Ao([be([])],Xe.prototype,"args",void 0);Ao([y()],Xe.prototype,"defaultMessage",void 0);var zr=class t{static build(e){return new t(e)}static fromGwt(e){return new t(e)}constructor(e){this.name=e,this.properties=new Proxy({},{get:(r,i)=>{let n=i;return a=>({context:this.name,key:n,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(r,i)=>(...n)=>Tr.resolveMessage(this.name,i,...n)})}};F("ft-i18n")(Xe);var gd=N`
1170
+ `;var Ce=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ns=class extends CustomEvent{constructor(e){super("ft-search-load-error",{detail:e})}},as=class extends CustomEvent{constructor(e){super("ft-search-request-change",{detail:e})}},ss=class extends CustomEvent{constructor(e,r,i){super("ft-search-results-change",{detail:{request:e,paging:r,spellcheck:i}})}},ie=class extends ze{get stateManager(){if(this._stateManager==null){let e=this.searchServiceProvider?this.searchServiceProvider():void 0;this._stateManager=Oo.build(this.id||(""+Math.round(Math.random()*999e3)).padStart(6,"0"),e),this._stateManager.errorHandler=r=>this.handleLoadError(r),this.addStore(this.stateManager.store,"search")}return this._stateManager}constructor(){super(),this.query="",this.pageSize=20,this.searchInDocumentTitlesOnly=!1,this.ignoreEmptyQuery=!1,this.openExternalDocumentInNewTab=!1,this.filters=[],this.sort=[],this.addStore(U)}render(){return _`
1016
1171
  <slot @register-ft-search-component=${this.registerComponent}></slot>
1017
- `}update(e){super.update(e),e.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),e.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.setContentLocale(this.contentLocale),e.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),e.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),e.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),e.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),e.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),e.has("virtualField")&&this.virtualField!==void 0&&this.stateManager.setVirtualField(this.virtualField),e.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),e.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("periodFilter")&&this.periodFilter!==void 0&&this.stateManager.setPeriodFilter(this.periodFilter),e.has("session")&&this.session!==void 0&&(this.stateManager.service.clearCache(),this.stateManager.initService())}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort)}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new ts(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new rs(this.request,this.paging,this.autocorrect))}registerComponent(e){e.stopPropagation();let r=e.composedPath()[0];this.register(r)}register(e){e.setSearchStateManager(this.stateManager)}handleLoadError(e){this.dispatchEvent(new es(e))}reloadSavedSearches(){Ac.clearMySearches()}clear(){this.stateManager.clear()}};ae.elementDefinitions={};ae.styles=fd;Ee([he({store:W.name})],ae.prototype,"session",void 0);Ee([v()],ae.prototype,"query",void 0);Ee([v()],ae.prototype,"contentLocale",void 0);Ee([v({type:Number})],ae.prototype,"pageSize",void 0);Ee([v({type:Boolean})],ae.prototype,"searchInDocumentTitlesOnly",void 0);Ee([v()],ae.prototype,"periodFilter",void 0);Ee([v()],ae.prototype,"scope",void 0);Ee([v()],ae.prototype,"virtualField",void 0);Ee([v({type:Boolean})],ae.prototype,"ignoreEmptyQuery",void 0);Ee([he({store:W.name})],ae.prototype,"openExternalDocumentInNewTab",void 0);Ee([ge([])],ae.prototype,"filters",void 0);Ee([ge([])],ae.prototype,"sort",void 0);Ee([he({store:"search"})],ae.prototype,"request",void 0);Ee([he({store:"search"})],ae.prototype,"paging",void 0);Ee([he({store:"search",selector:t=>t.spellcheck})],ae.prototype,"autocorrect",void 0);Ee([v({attribute:!1})],ae.prototype,"searchServiceProvider",void 0);H("ft-search-context")(ae);var ud=R`
1018
- `;var xt={textColor:o.extend("--ft-checkbox-text-color","",P.colorOnSurfaceHigh),fontSize:o.extend("--ft-checkbox-font-size","",B.fontSize),colorPrimary:o.external(P.colorPrimary,"Design system"),colorOnPrimary:o.external(P.colorOnPrimary,"Design system"),borderColor:o.extend("--ft-checkbox-border-color","",P.colorOnSurfaceMedium),colorOnSurfaceDisabled:o.external(P.colorOnSurfaceDisabled,"Design system")},hd=R`
1172
+ `}update(e){super.update(e),e.has("query")&&this.query!==void 0&&this.stateManager.setQuery(this.query),e.has("contentLocale")&&this.contentLocale!==void 0&&this.stateManager.setContentLocale(this.contentLocale),e.has("filters")&&this.filters!==void 0&&this.stateManager.setFilters(this.filters),e.has("sort")&&this.sort!==void 0&&this.stateManager.setSort(this.sort),e.has("pageSize")&&this.pageSize!==void 0&&this.stateManager.setPageSize(this.pageSize),e.has("searchInDocumentTitlesOnly")&&this.searchInDocumentTitlesOnly!==void 0&&this.stateManager.setSearchInDocumentTitlesOnly(this.searchInDocumentTitlesOnly),e.has("scope")&&this.scope!==void 0&&this.stateManager.setScope(this.scope),e.has("virtualField")&&this.virtualField!==void 0&&this.stateManager.setVirtualField(this.virtualField),e.has("ignoreEmptyQuery")&&this.ignoreEmptyQuery!==void 0&&this.stateManager.setIgnoreEmptyQuery(this.ignoreEmptyQuery),e.has("openExternalDocumentInNewTab")&&this.openExternalDocumentInNewTab!==void 0&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("periodFilter")&&this.periodFilter!==void 0&&this.stateManager.setPeriodFilter(this.periodFilter),e.has("session")&&this.session!==void 0&&(this.stateManager.service.clearCache(),this.stateManager.initService())}connectedCallback(){super.connectedCallback(),this.stateManager.initService(),this.stateManager.setQuery(this.query),this.stateManager.setContentLocale(this.contentLocale),this.stateManager.setFilters(this.filters),this.stateManager.setPageSize(this.pageSize),this.stateManager.setSort(this.sort)}contentAvailableCallback(e){super.contentAvailableCallback(e),e.has("request")&&this.request&&this.dispatchEvent(new as(this.request)),e.has("paging")&&this.paging!==void 0&&this.dispatchEvent(new ss(this.request,this.paging,this.autocorrect))}registerComponent(e){e.stopPropagation();let r=e.composedPath()[0];this.register(r)}register(e){e.setSearchStateManager(this.stateManager)}handleLoadError(e){this.dispatchEvent(new ns(e))}reloadSavedSearches(){Lc.clearMySearches()}clear(){this.stateManager.clear()}};ie.elementDefinitions={};ie.styles=gd;Ce([he({store:U.name})],ie.prototype,"session",void 0);Ce([y()],ie.prototype,"query",void 0);Ce([y()],ie.prototype,"contentLocale",void 0);Ce([y({type:Number})],ie.prototype,"pageSize",void 0);Ce([y({type:Boolean})],ie.prototype,"searchInDocumentTitlesOnly",void 0);Ce([y()],ie.prototype,"periodFilter",void 0);Ce([y()],ie.prototype,"scope",void 0);Ce([y()],ie.prototype,"virtualField",void 0);Ce([y({type:Boolean})],ie.prototype,"ignoreEmptyQuery",void 0);Ce([he({store:U.name})],ie.prototype,"openExternalDocumentInNewTab",void 0);Ce([be([])],ie.prototype,"filters",void 0);Ce([be([])],ie.prototype,"sort",void 0);Ce([he({store:"search"})],ie.prototype,"request",void 0);Ce([he({store:"search"})],ie.prototype,"paging",void 0);Ce([he({store:"search",selector:t=>t.spellcheck})],ie.prototype,"autocorrect",void 0);Ce([y({attribute:!1})],ie.prototype,"searchServiceProvider",void 0);F("ft-search-context")(ie);var bd=N`
1173
+ `;var Ot={textColor:o.extend("--ft-checkbox-text-color","",T.colorOnSurfaceHigh),fontSize:o.extend("--ft-checkbox-font-size","",k.fontSize),colorPrimary:o.external(T.colorPrimary,"Design system"),colorOnPrimary:o.external(T.colorOnPrimary,"Design system"),borderColor:o.extend("--ft-checkbox-border-color","",T.colorOnSurfaceMedium),colorOnSurfaceDisabled:o.external(T.colorOnSurfaceDisabled,"Design system")},xd=N`
1019
1174
  * {
1020
1175
  box-sizing: border-box;
1021
1176
  }
1022
1177
 
1023
1178
  .ft-checkbox {
1024
1179
  box-sizing: border-box;
1025
- color: ${xt.textColor};
1026
- font-size: ${xt.fontSize};
1180
+ color: ${Ot.textColor};
1181
+ font-size: ${Ot.fontSize};
1027
1182
 
1028
1183
  display: inline-flex;
1029
1184
  align-items: center;
@@ -1031,7 +1186,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
1031
1186
  }
1032
1187
 
1033
1188
  .ft-checkbox--disabled {
1034
- color: ${xt.colorOnSurfaceDisabled};
1189
+ color: ${Ot.colorOnSurfaceDisabled};
1035
1190
  }
1036
1191
 
1037
1192
  input {
@@ -1055,26 +1210,26 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
1055
1210
 
1056
1211
  .ft-checkbox--box {
1057
1212
  display: flex;
1058
- border: 2px solid ${xt.borderColor};
1213
+ border: 2px solid ${Ot.borderColor};
1059
1214
  border-radius: 2px;
1060
1215
 
1061
1216
  width: 18px;
1062
1217
  height: 18px;
1063
1218
 
1064
- color: ${xt.colorOnPrimary};
1219
+ color: ${Ot.colorOnPrimary};
1065
1220
  }
1066
1221
 
1067
1222
 
1068
1223
  .ft-checkbox--checked .ft-checkbox--box,
1069
1224
  .ft-checkbox--indeterminate .ft-checkbox--box {
1070
- border-color: ${xt.colorPrimary};
1071
- background-color: ${xt.colorPrimary};
1225
+ border-color: ${Ot.colorPrimary};
1226
+ background-color: ${Ot.colorPrimary};
1072
1227
  }
1073
1228
 
1074
1229
  .ft-checkbox--disabled .ft-checkbox--box {
1075
- border-color: ${xt.colorOnSurfaceDisabled};
1230
+ border-color: ${Ot.colorOnSurfaceDisabled};
1076
1231
  background-color: transparent;
1077
- color: ${xt.colorOnSurfaceDisabled};
1232
+ color: ${Ot.colorOnSurfaceDisabled};
1078
1233
  }
1079
1234
 
1080
1235
  .ft-checkbox--checkmark {
@@ -1093,8 +1248,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
1093
1248
  .ft-checkbox--indeterminate .ft-checkbox--checkmark {
1094
1249
  opacity: 1;
1095
1250
  }
1096
- `;var Mr=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(s=(i<3?l(s):i>3?l(e,r,s):l(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Pe=class extends M{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){let e={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return T`
1097
- <label class="${De(e)}" for="checkbox-input">
1251
+ `;var Wr=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Pe=class extends D{constructor(){super(...arguments),this.name="",this.checked=!1,this.indeterminate=!1,this.disabled=!1}render(){let e={"ft-checkbox":!0,"ft-checkbox--checked":this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled};return _`
1252
+ <label class="${Ee(e)}" for="checkbox-input">
1098
1253
  <div class="ft-checkbox--box-container">
1099
1254
  <ft-ripple
1100
1255
  ?disabled=${this.disabled}
@@ -1120,7 +1275,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
1120
1275
  <slot></slot>
1121
1276
  </ft-typography>
1122
1277
  </label>
1123
- `}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}};Pe.elementDefinitions={"ft-ripple":J,"ft-typography":ie};Pe.styles=hd;Mr([v()],Pe.prototype,"name",void 0);Mr([v({type:Boolean,reflect:!0})],Pe.prototype,"checked",void 0);Mr([v({type:Boolean})],Pe.prototype,"indeterminate",void 0);Mr([v({type:Boolean})],Pe.prototype,"disabled",void 0);Mr([K(".ft-checkbox")],Pe.prototype,"container",void 0);Mr([K("ft-ripple")],Pe.prototype,"ripple",void 0);H("ft-checkbox")(Pe);var pr={textColor:o.extend("--ft-radio-text-color","",P.colorOnSurfaceHigh),colorPrimary:o.external(P.colorPrimary,"Design system"),colorOnPrimary:o.external(P.colorOnPrimary,"Design system"),borderColor:o.extend("--ft-radio-border-color","",P.colorOnSurfaceMedium),colorOnSurfaceDisabled:o.external(P.colorOnSurfaceDisabled,"Design system")},md=R`
1278
+ `}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.indeterminate=!1,this.dispatchEvent(new CustomEvent("change",{detail:this.checked}))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}};Pe.elementDefinitions={"ft-ripple":Y,"ft-typography":Q};Pe.styles=xd;Wr([y()],Pe.prototype,"name",void 0);Wr([y({type:Boolean,reflect:!0})],Pe.prototype,"checked",void 0);Wr([y({type:Boolean})],Pe.prototype,"indeterminate",void 0);Wr([y({type:Boolean})],Pe.prototype,"disabled",void 0);Wr([W(".ft-checkbox")],Pe.prototype,"container",void 0);Wr([W("ft-ripple")],Pe.prototype,"ripple",void 0);F("ft-checkbox")(Pe);var pr={textColor:o.extend("--ft-radio-text-color","",T.colorOnSurfaceHigh),colorPrimary:o.external(T.colorPrimary,"Design system"),colorOnPrimary:o.external(T.colorOnPrimary,"Design system"),borderColor:o.extend("--ft-radio-border-color","",T.colorOnSurfaceMedium),colorOnSurfaceDisabled:o.external(T.colorOnSurfaceDisabled,"Design system")},vd=N`
1124
1279
  * {
1125
1280
  box-sizing: border-box;
1126
1281
  }
@@ -1201,15 +1356,15 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
1201
1356
  }
1202
1357
 
1203
1358
  .ft-radio:has(:focus-visible) {
1204
- outline: 2px solid ${P.colorPrimary};
1359
+ outline: 2px solid ${T.colorPrimary};
1205
1360
  outline-offset: -2px;
1206
1361
  }
1207
1362
 
1208
1363
  .ft-radio ft-typography {
1209
1364
  padding-right: 2px;
1210
1365
  }
1211
- `;var vt=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(s=(i<3?l(s):i>3?l(e,r,s):l(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},In=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},ue=class extends M{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.ariaChecked="false",this.disabled=!1,this.role="radio"}render(){let e={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return T`
1212
- <div class="${De(e)}">
1366
+ `;var Ct=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Pi=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},fe=class extends D{constructor(){super(...arguments),this.value="",this.name="",this.checked=!1,this.ariaChecked="false",this.disabled=!1,this.role="radio"}render(){let e={"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled};return _`
1367
+ <div class="${Ee(e)}">
1213
1368
  <div class="ft-radio--box-container">
1214
1369
  <ft-ripple
1215
1370
  ?disabled=${this.disabled}
@@ -1227,13 +1382,13 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
1227
1382
  @change=${this.onChange}
1228
1383
  >
1229
1384
  </div>
1230
- <label for="radio-button" @click=${r=>{var n;r.stopPropagation(),r.preventDefault(),(n=this.input)===null||n===void 0||n.click()}}>
1385
+ <label for="radio-button" @click=${r=>{var i;r.stopPropagation(),r.preventDefault(),(i=this.input)===null||i===void 0||i.click()}}>
1231
1386
  <ft-typography variant="body2">
1232
1387
  <slot></slot>
1233
1388
  </ft-typography>
1234
1389
  </label>
1235
1390
  </div>
1236
- `}update(e){super.update(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.dispatchEvent(new In(this.value,this.checked))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new In(this.value,this.checked))}setInputTabIndex(e){this.input&&(this.input.tabIndex=e)}focus(){var e;(e=this.input)===null||e===void 0||e.focus()}};ue.elementDefinitions={"ft-ripple":J,"ft-typography":ie};ue.styles=md;vt([v()],ue.prototype,"value",void 0);vt([v()],ue.prototype,"name",void 0);vt([v({type:Boolean,reflect:!0})],ue.prototype,"checked",void 0);vt([v({attribute:"aria-checked",reflect:!0})],ue.prototype,"ariaChecked",void 0);vt([v({type:Boolean})],ue.prototype,"disabled",void 0);vt([v({reflect:!0,attribute:"role"})],ue.prototype,"role",void 0);vt([K(".ft-radio")],ue.prototype,"container",void 0);vt([K("ft-ripple")],ue.prototype,"ripple",void 0);vt([K("input")],ue.prototype,"input",void 0);var yd=R`
1391
+ `}update(e){super.update(e),e.has("checked")&&(this.ariaChecked=this.checked?"true":"false")}onChange(e){e.stopPropagation(),this.checked=e.target.checked,this.dispatchEvent(new Pi(this.value,this.checked))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),(r=this.ripple)===null||r===void 0||r.setupFor(this.container)}select(){this.checked=!0,this.dispatchEvent(new Pi(this.value,this.checked))}setInputTabIndex(e){this.input&&(this.input.tabIndex=e)}focus(){var e;(e=this.input)===null||e===void 0||e.focus()}};fe.elementDefinitions={"ft-ripple":Y,"ft-typography":Q};fe.styles=vd;Ct([y()],fe.prototype,"value",void 0);Ct([y()],fe.prototype,"name",void 0);Ct([y({type:Boolean,reflect:!0})],fe.prototype,"checked",void 0);Ct([y({attribute:"aria-checked",reflect:!0})],fe.prototype,"ariaChecked",void 0);Ct([y({type:Boolean})],fe.prototype,"disabled",void 0);Ct([y({reflect:!0,attribute:"role"})],fe.prototype,"role",void 0);Ct([W(".ft-radio")],fe.prototype,"container",void 0);Ct([W("ft-ripple")],fe.prototype,"ripple",void 0);Ct([W("input")],fe.prototype,"input",void 0);var Sd=N`
1237
1392
  :host {
1238
1393
  display: block;
1239
1394
  }
@@ -1241,12 +1396,12 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
1241
1396
  :host(:focus-visible) {
1242
1397
  outline: none;
1243
1398
  }
1244
- `;var zr=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(s=(i<3?l(s):i>3?l(e,r,s):l(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},ke=class extends M{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.tabIndex=0,this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{this.tabIndex==0&&(this.tabIndex=-1,setTimeout(()=>this.focusCurrentChecked(),100))},this.onFocusOut=e=>{!this.contains(e.relatedTarget)&&(this.tabIndex=0)}}render(){return T`
1399
+ `;var Hr=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},$e=class extends D{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.tabIndex=0,this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{this.tabIndex==0&&(this.tabIndex=-1,setTimeout(()=>this.focusCurrentChecked(),100))},this.onFocusOut=e=>{!this.contains(e.relatedTarget)&&(this.tabIndex=0)}}render(){return _`
1245
1400
  <slot @slotchange=${this.onSlotChange}
1246
1401
  @change=${this.onChange}
1247
1402
  @keydown=${this.onKeyDown}
1248
1403
  ></slot>
1249
- `}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.onFocus),this.addEventListener("focusout",this.onFocusOut)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.onFocus),this.removeEventListener("focusout",this.onFocusOut)}onSlotChange(){this.radioButtons.forEach(e=>e.name=this.name)}contentAvailableCallback(e){super.contentAvailableCallback(e),this.radioButtons.forEach(r=>r.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(e){e.stopPropagation(),this.radioButtons.forEach(r=>r.checked=e.detail.value===r.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(e){let r=!1;switch(e.key){case"ArrowUp":case"ArrowLeft":{r=!0;let n=this.currentSelectedIndex-1;this.radioButtons[n<0?this.radioButtons.length-1:n].select(),this.radioButtons[n<0?this.radioButtons.length-1:n].focus();break}case"ArrowDown":case"ArrowRight":{r=!0;let n=this.currentSelectedIndex+1;this.radioButtons[n>this.radioButtons.length-1?0:n].select(),this.radioButtons[n>this.radioButtons.length-1?0:n].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}r&&(e.stopPropagation(),e.preventDefault())}resolveCurrentSelectedIndex(){let e=this.radioButtons.findIndex(r=>r.checked);e==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=e}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};ke.elementDefinitions={};ke.styles=yd;zr([v()],ke.prototype,"name",void 0);zr([v({reflect:!0,attribute:"role"})],ke.prototype,"role",void 0);zr([v({reflect:!0})],ke.prototype,"tabIndex",void 0);zr([v({reflect:!0,attribute:"aria-labelledby"})],ke.prototype,"ariaLabelledBy",void 0);zr([qn()],ke.prototype,"radioButtons",void 0);zr([j()],ke.prototype,"currentSelectedIndex",void 0);H("ft-radio")(ue);H("ft-radio-group")(ke);var Ln={borderRadiusM:o.external(P.borderRadiusM,"Design system"),colorOutline:o.external(P.colorOutline,"Design system"),colorOnSurface:o.external(P.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external(P.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:o.external(P.colorOnSurfaceDisabled,"Design system"),colorPrimary:o.external(P.colorPrimary,"Design system"),colorOnPrimary:o.external(P.colorOnPrimary,"Design system"),fontFamily:o.external(be.fontFamily,"Body2 typography"),fontSize:o.external(be.fontSize,"Body2 typography"),fontWeight:o.external(be.fontWeight,"Body2 typography"),letterSpacing:o.external(be.letterSpacing,"Body2 typography"),lineHeight:o.external(be.lineHeight,"Body2 typography"),textTransform:o.external(be.textTransform,"Body2 typography")},gd=R`
1404
+ `}connectedCallback(){super.connectedCallback(),this.addEventListener("focus",this.onFocus),this.addEventListener("focusout",this.onFocusOut)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focus",this.onFocus),this.removeEventListener("focusout",this.onFocusOut)}onSlotChange(){this.radioButtons.forEach(e=>e.name=this.name)}contentAvailableCallback(e){super.contentAvailableCallback(e),this.radioButtons.forEach(r=>r.setInputTabIndex(-1)),this.resolveCurrentSelectedIndex()}onChange(e){e.stopPropagation(),this.radioButtons.forEach(r=>r.checked=e.detail.value===r.value),this.dispatchEvent(new CustomEvent("change",{detail:e.detail.value})),this.resolveCurrentSelectedIndex()}onKeyDown(e){let r=!1;switch(e.key){case"ArrowUp":case"ArrowLeft":{r=!0;let i=this.currentSelectedIndex-1;this.radioButtons[i<0?this.radioButtons.length-1:i].select(),this.radioButtons[i<0?this.radioButtons.length-1:i].focus();break}case"ArrowDown":case"ArrowRight":{r=!0;let i=this.currentSelectedIndex+1;this.radioButtons[i>this.radioButtons.length-1?0:i].select(),this.radioButtons[i>this.radioButtons.length-1?0:i].focus();break}case"Enter":this.radioButtons[this.currentSelectedIndex].select()}r&&(e.stopPropagation(),e.preventDefault())}resolveCurrentSelectedIndex(){let e=this.radioButtons.findIndex(r=>r.checked);e==-1?(this.currentSelectedIndex=0,this.radioButtons[0].select()):this.currentSelectedIndex=e}focusCurrentChecked(){this.radioButtons[this.currentSelectedIndex].focus()}};$e.elementDefinitions={};$e.styles=Sd;Hr([y()],$e.prototype,"name",void 0);Hr([y({reflect:!0,attribute:"role"})],$e.prototype,"role",void 0);Hr([y({reflect:!0})],$e.prototype,"tabIndex",void 0);Hr([y({reflect:!0,attribute:"aria-labelledby"})],$e.prototype,"ariaLabelledBy",void 0);Hr([Xi()],$e.prototype,"radioButtons",void 0);Hr([K()],$e.prototype,"currentSelectedIndex",void 0);F("ft-radio")(fe);F("ft-radio-group")($e);var $i={borderRadiusM:o.external(T.borderRadiusM,"Design system"),colorOutline:o.external(T.colorOutline,"Design system"),colorOnSurface:o.external(T.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external(T.colorOnSurfaceMedium,"Design system"),colorOnSurfaceDisabled:o.external(T.colorOnSurfaceDisabled,"Design system"),colorPrimary:o.external(T.colorPrimary,"Design system"),colorOnPrimary:o.external(T.colorOnPrimary,"Design system"),fontFamily:o.external(xe.fontFamily,"Body2 typography"),fontSize:o.external(xe.fontSize,"Body2 typography"),fontWeight:o.external(xe.fontWeight,"Body2 typography"),letterSpacing:o.external(xe.letterSpacing,"Body2 typography"),lineHeight:o.external(xe.lineHeight,"Body2 typography"),textTransform:o.external(xe.textTransform,"Body2 typography")},Od=N`
1250
1405
  .ft-filter-level--container {
1251
1406
  display: flex;
1252
1407
  flex-direction: column;
@@ -1260,14 +1415,14 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
1260
1415
  flex-shrink: 0;
1261
1416
  text-decoration: none;
1262
1417
  position: relative;
1263
- border-radius: ${Ln.borderRadiusM};
1418
+ border-radius: ${$i.borderRadiusM};
1264
1419
  overflow: hidden;
1265
1420
  display: flex;
1266
1421
  align-items: center;
1267
1422
  padding: 4px 4px;
1268
1423
  gap: 4px;
1269
1424
  cursor: pointer;
1270
- color: ${Ln.colorOnSurface};
1425
+ color: ${$i.colorOnSurface};
1271
1426
  }
1272
1427
 
1273
1428
  .ft-filter-level--go-back:focus {
@@ -1296,7 +1451,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
1296
1451
  }
1297
1452
 
1298
1453
  ft-button {
1299
- ${D(Q.color,Ln.colorOnSurface)};
1454
+ ${L(X.color,$i.colorOnSurface)};
1300
1455
  }
1301
1456
 
1302
1457
  ft-radio, ft-checkbox {
@@ -1310,11 +1465,11 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
1310
1465
 
1311
1466
  .ft-filter-level--no-values {
1312
1467
  margin: 10px 0;
1313
- color: ${Ln.colorOnSurfaceMedium};
1468
+ color: ${$i.colorOnSurfaceMedium};
1314
1469
  }
1315
- `;var Ne=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(s=(i<3?l(s):i>3?l(e,r,s):l(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},pe=class extends M{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.displayCount=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let e=this.limit;return e!=null&&e<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var e,r;return(r=(e=this.container)===null||e===void 0?void 0:e.scrollHeight)!==null&&r!==void 0?r:0}render(){let e=[...this.options];this.hideSelectedOptions&&(e=e.filter(n=>!n.selected)),this.filter&&(e=e.filter(n=>n.label.toLowerCase().includes(this.filter.toLowerCase())));let r=e.slice(0,this.limit);return T`
1470
+ `;var Re=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ce=class extends D{constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.displayCount=!1,this.preventNavigation=!1,this.filter="",this.moreValuesButtonLabel="More",this.displayedValuesLimit=0,this.displayedPages=1}get hasHiddenValues(){let e=this.limit;return e!=null&&e<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var e,r;return(r=(e=this.container)===null||e===void 0?void 0:e.scrollHeight)!==null&&r!==void 0?r:0}render(){let e=[...this.options];this.hideSelectedOptions&&(e=e.filter(i=>!i.selected)),this.filter&&(e=e.filter(i=>i.label.toLowerCase().includes(this.filter.toLowerCase())));let r=e.slice(0,this.limit);return _`
1316
1471
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1317
- ${this.parent==null?null:T`
1472
+ ${this.parent==null?null:_`
1318
1473
  <div tabindex="0"
1319
1474
  part="controls go-back"
1320
1475
  class="ft-filter-level--go-back"
@@ -1327,26 +1482,26 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
1327
1482
  <ft-typography variant="body2">${this.parent.label}</ft-typography>
1328
1483
  </div>
1329
1484
  `}
1330
- ${this.options.length===0&&this.noValuesLabel?T`
1485
+ ${this.options.length===0&&this.noValuesLabel?_`
1331
1486
  <ft-typography class="ft-filter-level--no-values" element="span" variant="body2">
1332
1487
  ${this.noValuesLabel}
1333
1488
  </ft-typography>
1334
- `:G}
1335
- ${yr(r,n=>n.value,n=>{var i;return T`
1489
+ `:B}
1490
+ ${yr(r,i=>i.value,i=>{var n;return _`
1336
1491
  <div class="ft-filter-level--option" part="options" tabindex="-1">
1337
- ${this.multivalued?this.buildMultiValuedOption(n):this.buildMonoValuedOption(n)}
1338
- ${this.preventNavigation||n.selected||((i=n.subOptions)!==null&&i!==void 0?i:[]).length===0?G:T`
1492
+ ${this.multivalued?this.buildMultiValuedOption(i):this.buildMonoValuedOption(i)}
1493
+ ${this.preventNavigation||i.selected||((n=i.subOptions)!==null&&n!==void 0?n:[]).length===0?B:_`
1339
1494
  <ft-button icon="thin_arrow_right"
1340
1495
  part="controls navigate-hierarchy"
1341
1496
  aria-label="expand node"
1342
- label="${n.label}"
1497
+ label="${i.label}"
1343
1498
  ?disabled=${this.disabled}
1344
1499
  tooltipPosition="left"
1345
- @click=${()=>this.displayLevel(n)}></ft-button>
1500
+ @click=${()=>this.displayLevel(i)}></ft-button>
1346
1501
  `}
1347
1502
  </div>
1348
1503
  `})}
1349
- ${r.length<e.length?T`
1504
+ ${r.length<e.length?_`
1350
1505
  <ft-button
1351
1506
  class="ft-filter-level--display-more"
1352
1507
  icon="thin_arrow"
@@ -1355,19 +1510,19 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
1355
1510
  @click=${this.displayMore}>
1356
1511
  ${this.moreValuesButtonLabel}
1357
1512
  </ft-button>
1358
- `:G}
1513
+ `:B}
1359
1514
  </div>
1360
- `}goBackOnKeyPress(e){(e.key==="Enter"||e.key===" ")&&this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(e){e.stopPropagation(),e.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){this.displayedPages++}buildMultiValuedOption(e){var r;return T`
1515
+ `}goBackOnKeyPress(e){(e.key==="Enter"||e.key===" ")&&this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(e){e.stopPropagation(),e.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){this.displayedPages++}buildMultiValuedOption(e){var r;return _`
1361
1516
  <ft-checkbox name="${this.filterId}"
1362
1517
  part="multivalued-option"
1363
1518
  data-value="${e.value}"
1364
1519
  .checked=${e.selected}
1365
1520
  .disabled=${this.disabled}
1366
- .indeterminate=${pt((r=e.subOptions)!==null&&r!==void 0?r:[],n=>{var i;return(i=n.subOptions)!==null&&i!==void 0?i:[]}).some(n=>n.selected)}
1367
- @change=${n=>this.optionsChanged(n,e)}>
1521
+ .indeterminate=${ut((r=e.subOptions)!==null&&r!==void 0?r:[],i=>{var n;return(n=i.subOptions)!==null&&n!==void 0?n:[]}).some(i=>i.selected)}
1522
+ @change=${i=>this.optionsChanged(i,e)}>
1368
1523
  ${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
1369
1524
  </ft-checkbox>
1370
- `}buildMonoValuedOption(e){return T`
1525
+ `}buildMonoValuedOption(e){return _`
1371
1526
  <ft-radio name="${this.filterId+Math.round(Math.random()*1e6)}"
1372
1527
  part="monovalued-option"
1373
1528
  data-value="${e.value}"
@@ -1378,7 +1533,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
1378
1533
  @change=${r=>this.optionsChanged(r,e)}>
1379
1534
  ${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
1380
1535
  </ft-radio>
1381
- `}onRadioKeyDown(e,r){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,r))}optionsChanged(e,r){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}};pe.elementDefinitions={"ft-button":xe,"ft-ripple":J,"ft-typography":ie,"ft-checkbox":Pe,"ft-icon":Ce,"ft-radio":ue};pe.styles=gd;Ne([v({type:String})],pe.prototype,"filterId",void 0);Ne([v({type:Object})],pe.prototype,"parent",void 0);Ne([v({type:Array})],pe.prototype,"options",void 0);Ne([v({type:Boolean})],pe.prototype,"multivalued",void 0);Ne([v({type:Boolean})],pe.prototype,"disabled",void 0);Ne([v({type:Boolean})],pe.prototype,"hideSelectedOptions",void 0);Ne([v({type:Boolean})],pe.prototype,"displayCount",void 0);Ne([v({type:Boolean})],pe.prototype,"preventNavigation",void 0);Ne([v({type:String})],pe.prototype,"filter",void 0);Ne([v({type:String})],pe.prototype,"moreValuesButtonLabel",void 0);Ne([v({type:String})],pe.prototype,"noValuesLabel",void 0);Ne([v({type:Number})],pe.prototype,"displayedValuesLimit",void 0);Ne([K(".ft-filter-level--container")],pe.prototype,"container",void 0);Ne([j()],pe.prototype,"radios",void 0);Ne([j()],pe.prototype,"displayedPages",void 0);var Ft={buttonsColor:o.extend("--ft-snap-scroll-buttons-color","",P.colorPrimary),buttonsZIndex:o.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:o.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:o.external(P.colorSurface,"Design system")},bd=R`
1536
+ `}onRadioKeyDown(e,r){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,r))}optionsChanged(e,r){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}};ce.elementDefinitions={"ft-button":ve,"ft-ripple":Y,"ft-typography":Q,"ft-checkbox":Pe,"ft-icon":ye,"ft-radio":fe};ce.styles=Od;Re([y({type:String})],ce.prototype,"filterId",void 0);Re([y({type:Object})],ce.prototype,"parent",void 0);Re([y({type:Array})],ce.prototype,"options",void 0);Re([y({type:Boolean})],ce.prototype,"multivalued",void 0);Re([y({type:Boolean})],ce.prototype,"disabled",void 0);Re([y({type:Boolean})],ce.prototype,"hideSelectedOptions",void 0);Re([y({type:Boolean})],ce.prototype,"displayCount",void 0);Re([y({type:Boolean})],ce.prototype,"preventNavigation",void 0);Re([y({type:String})],ce.prototype,"filter",void 0);Re([y({type:String})],ce.prototype,"moreValuesButtonLabel",void 0);Re([y({type:String})],ce.prototype,"noValuesLabel",void 0);Re([y({type:Number})],ce.prototype,"displayedValuesLimit",void 0);Re([W(".ft-filter-level--container")],ce.prototype,"container",void 0);Re([K()],ce.prototype,"radios",void 0);Re([K()],ce.prototype,"displayedPages",void 0);var Ft={buttonsColor:o.extend("--ft-snap-scroll-buttons-color","",T.colorPrimary),buttonsZIndex:o.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:o.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:o.external(T.colorSurface,"Design system")},Cd=N`
1382
1537
  .ft-snap-scroll {
1383
1538
  box-sizing: border-box;
1384
1539
  position: relative;
@@ -1459,8 +1614,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
1459
1614
  z-index: ${Ft.buttonsZIndex};
1460
1615
  opacity: 1;
1461
1616
  transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
1462
- ${D(Q.backgroundColor,"transparent")};
1463
- ${D(Q.color,Ft.buttonsColor)};
1617
+ ${L(X.backgroundColor,"transparent")};
1618
+ ${L(X.color,Ft.buttonsColor)};
1464
1619
  }
1465
1620
 
1466
1621
  .ft-snap-scroll--previous[hidden],
@@ -1503,7 +1658,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
1503
1658
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1504
1659
  background-color: ${Ft.colorSurface};
1505
1660
  }
1506
- `;var st=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(s=(i<3?l(s):i>3?l(e,r,s):l(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},os=class extends CustomEvent{constructor(e,r){super("current-element-change",{detail:{index:e,element:r}})}},ye=class extends M{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver(()=>this.scheduleUpdateScroll()),this.scrollDebouncer=new ne(200),this.updateScrollDebouncer=new ne(100)}scrollToIndex(e){this.scrollToElement(this.elements[e])}scrollIndexIntoView(e){let r=this.elements[e];if(r){let n=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,i=this.contentSlot[this.scrollAttribute]+this.prevSize;(r[this.offsetAttribute]<i||r[this.offsetAttribute]+r[this.sizeAttribute]>n)&&this.scrollToElement(r)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){let e=De({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":sr}),r=this.controls&&this.withScroll;return T`
1661
+ `;var lt=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},ls=class extends CustomEvent{constructor(e,r){super("current-element-change",{detail:{index:e,element:r}})}},ge=class extends D{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver(()=>this.scheduleUpdateScroll()),this.scrollDebouncer=new oe(200),this.updateScrollDebouncer=new oe(100)}scrollToIndex(e){this.scrollToElement(this.elements[e])}scrollIndexIntoView(e){let r=this.elements[e];if(r){let i=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,n=this.contentSlot[this.scrollAttribute]+this.prevSize;(r[this.offsetAttribute]<n||r[this.offsetAttribute]+r[this.sizeAttribute]>i)&&this.scrollToElement(r)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){let e=Ee({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":lr}),r=this.controls&&this.withScroll;return _`
1507
1662
  <div part="container" class="${e}">
1508
1663
  <ft-button
1509
1664
  class="ft-snap-scroll--previous"
@@ -1527,7 +1682,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
1527
1682
  @click=${this.next}
1528
1683
  ></ft-button>
1529
1684
  </div>
1530
- `}update(e){super.update(e),e.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),e.has("currentElement")&&this.dispatchEvent(new os(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(r=this.listenedContainer)===null||r===void 0||r.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let e=this.closestElementFromStart();if(e!=null){let r=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<r&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var r,n;e&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(e)-this.controlsSize,behavior:"smooth"}):(n=this.contentSlot)===null||n===void 0||n.scrollTo({top:this.getOffset(e)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(e))}onSlotChange(){var e,r;this.elements=(r=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(n=>n))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let r=0;r<this.elements.length;r++)(e<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[e]))&&(e=r);return e}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let e=this.elements[0];return e?e[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(e){return e[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(e){let r=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-r)}};ye.elementDefinitions={"ft-button":xe};ye.styles=bd;st([v({type:Boolean})],ye.prototype,"horizontal",void 0);st([v({type:Boolean})],ye.prototype,"hideScrollbar",void 0);st([v({type:Boolean})],ye.prototype,"controls",void 0);st([v({type:Boolean})],ye.prototype,"limitSize",void 0);st([j()],ye.prototype,"elements",void 0);st([j()],ye.prototype,"currentElement",void 0);st([j()],ye.prototype,"withScroll",void 0);st([j()],ye.prototype,"startReached",void 0);st([j()],ye.prototype,"endReached",void 0);st([K(".ft-snap-scroll--content")],ye.prototype,"contentSlot",void 0);H("ft-snap-scroll")(ye);var _e={colorOutline:o.external(P.colorOutline,"Design system"),colorOnSurface:o.external(P.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external(P.colorOnSurfaceMedium,"Design system"),colorPrimary:o.external(P.colorPrimary,"Design system"),colorSurface:o.external(P.colorSurface,"Design system"),transitionDuration:o.external(P.transitionDuration,"Design system"),transitionTimingFunction:o.external(P.transitionTimingFunction,"Design system"),labelColor:o.extend("--ft-filter-label-color","",P.colorOnSurface),labelFontSize:o.extend("--ft-filter-label-font-size","",B.fontSize,"16px")},xd=[On,R`
1685
+ `}update(e){super.update(e),e.has("horizontal")&&(this.horizontal?(this.offsetAttribute="offsetLeft",this.scrollAttribute="scrollLeft",this.sizeAttribute="clientWidth",this.scrollSizeAttribute="scrollWidth"):(this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight")),e.has("currentElement")&&this.dispatchEvent(new ls(this.currentElement,this.elements[this.currentElement]))}contentAvailableCallback(e){var r;super.contentAvailableCallback(e),this.contentSlot&&this.listenedContainer!==this.contentSlot&&(this.resizeObserver.observe(this.contentSlot),this.listenedContainer&&this.listenedContainer.removeEventListener("scroll",this.updateScrollCallback),this.listenedContainer=this.contentSlot,(r=this.listenedContainer)===null||r===void 0||r.addEventListener("scroll",this.updateScrollCallback))}onScroll(){this.scrollDebouncer.run(()=>this.snap()),this.scheduleUpdateScroll()}snap(){let e=this.closestElementFromStart();if(e!=null){let r=this.getDistanceFromStart(e);Math.abs(this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.contentSlot[this.scrollSizeAttribute])<r&&(e=this.lastElement),this.scrollToElement(e)}}scrollToElement(e){var r,i;e&&(this.horizontal?(r=this.contentSlot)===null||r===void 0||r.scrollTo({left:this.getOffset(e)-this.controlsSize,behavior:"smooth"}):(i=this.contentSlot)===null||i===void 0||i.scrollTo({top:this.getOffset(e)-this.controlsSize,behavior:"smooth"}),this.currentElement=this.elements.indexOf(e))}onSlotChange(){var e,r;this.elements=(r=(e=this.contentSlot)===null||e===void 0?void 0:e.assignedElements().map(i=>i))!==null&&r!==void 0?r:[],this.scheduleUpdateScroll()}closestElementFromStart(){return this.elements[this.closestIndexFromStart()]}closestIndexFromStart(){let e=-1;for(let r=0;r<this.elements.length;r++)(e<0||this.getDistanceFromStart(this.elements[r])<this.getDistanceFromStart(this.elements[e]))&&(e=r);return e}scheduleUpdateScroll(){this.updateScrollDebouncer.run(()=>this.updateScroll())}updateScroll(){this.contentSlot!=null?(this.withScroll=this.contentSlot[this.scrollSizeAttribute]>this.contentSlot[this.sizeAttribute],this.startReached=this.contentSlot[this.scrollAttribute]===0,this.endReached=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]+1>=this.contentSlot[this.scrollSizeAttribute]):(this.withScroll=!1,this.startReached=!0,this.endReached=!0)}get lastElement(){return this.elements[this.elements.length-1]}get firstElementOffset(){let e=this.elements[0];return e?e[this.offsetAttribute]:0}get controlsSize(){return this.controls?36:0}get nextSize(){return this.endReached?0:this.controlsSize}get prevSize(){return this.startReached?0:this.controlsSize}getOffset(e){return e[this.offsetAttribute]-this.firstElementOffset}getDistanceFromStart(e){let r=e===this.elements[0]?0:this.controlsSize;return Math.abs(this.getOffset(e)-this.contentSlot[this.scrollAttribute]-r)}};ge.elementDefinitions={"ft-button":ve};ge.styles=Cd;lt([y({type:Boolean})],ge.prototype,"horizontal",void 0);lt([y({type:Boolean})],ge.prototype,"hideScrollbar",void 0);lt([y({type:Boolean})],ge.prototype,"controls",void 0);lt([y({type:Boolean})],ge.prototype,"limitSize",void 0);lt([K()],ge.prototype,"elements",void 0);lt([K()],ge.prototype,"currentElement",void 0);lt([K()],ge.prototype,"withScroll",void 0);lt([K()],ge.prototype,"startReached",void 0);lt([K()],ge.prototype,"endReached",void 0);lt([W(".ft-snap-scroll--content")],ge.prototype,"contentSlot",void 0);F("ft-snap-scroll")(ge);var Le={colorOutline:o.external(T.colorOutline,"Design system"),colorOnSurface:o.external(T.colorOnSurface,"Design system"),colorOnSurfaceMedium:o.external(T.colorOnSurfaceMedium,"Design system"),colorPrimary:o.external(T.colorPrimary,"Design system"),colorSurface:o.external(T.colorSurface,"Design system"),transitionDuration:o.external(T.transitionDuration,"Design system"),transitionTimingFunction:o.external(T.transitionTimingFunction,"Design system"),labelColor:o.extend("--ft-filter-label-color","",T.colorOnSurface),labelFontSize:o.extend("--ft-filter-label-font-size","",k.fontSize,"16px")},Ed=[Ei,N`
1531
1686
  :host {
1532
1687
  display: flex;
1533
1688
  max-height: 100%;
@@ -1554,7 +1709,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
1554
1709
  .ft-filter--header ft-button {
1555
1710
  flex-shrink: 0;
1556
1711
  margin-left: auto;
1557
- ${D(Q.iconSize,"18px")};
1712
+ ${L(X.iconSize,"18px")};
1558
1713
  }
1559
1714
  .filter-label {
1560
1715
  display: contents;
@@ -1565,10 +1720,10 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
1565
1720
  flex-shrink: 1;
1566
1721
  flex-grow: 1;
1567
1722
  word-break: break-word;
1568
- color: ${_e.labelColor};
1569
- font-size: ${_e.labelFontSize};
1570
- ${D(B.lineHeight,"22px")};
1571
- ${D(B.fontWeight,"bold")};
1723
+ color: ${Le.labelColor};
1724
+ font-size: ${Le.labelFontSize};
1725
+ ${L(k.lineHeight,"22px")};
1726
+ ${L(k.fontWeight,"bold")};
1572
1727
  }
1573
1728
 
1574
1729
  .ft-filter--filter {
@@ -1579,8 +1734,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
1579
1734
  padding: 0 10px;
1580
1735
  overflow: hidden;
1581
1736
  height: 32px;
1582
- transition: height ${_e.transitionDuration} ${_e.transitionTimingFunction},
1583
- margin ${_e.transitionDuration} ${_e.transitionTimingFunction};
1737
+ transition: height ${Le.transitionDuration} ${Le.transitionTimingFunction},
1738
+ margin ${Le.transitionDuration} ${Le.transitionTimingFunction};
1584
1739
  transition-delay: 500ms;
1585
1740
  }
1586
1741
 
@@ -1593,15 +1748,15 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
1593
1748
  display: block;
1594
1749
  width: 100%;
1595
1750
  border-radius: 4px;
1596
- border: 1px solid ${_e.colorOutline};
1751
+ border: 1px solid ${Le.colorOutline};
1597
1752
  padding: 4px;
1598
- background-color: ${_e.colorSurface};
1599
- color: ${_e.colorOnSurface};
1600
- outline-color: ${_e.colorPrimary};
1753
+ background-color: ${Le.colorSurface};
1754
+ color: ${Le.colorOnSurface};
1755
+ outline-color: ${Le.colorPrimary};
1601
1756
  }
1602
1757
 
1603
1758
  input::placeholder {
1604
- color: ${_e.colorOnSurfaceMedium};
1759
+ color: ${Le.colorOnSurfaceMedium};
1605
1760
  }
1606
1761
 
1607
1762
  input:placeholder-shown {
@@ -1617,7 +1772,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
1617
1772
  }
1618
1773
 
1619
1774
  .ft-filter--separator {
1620
- border-top: 1px solid ${_e.colorOutline};
1775
+ border-top: 1px solid ${Le.colorOutline};
1621
1776
  margin: 4px 10px;
1622
1777
  }
1623
1778
 
@@ -1642,10 +1797,10 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
1642
1797
  slot:not([name]) {
1643
1798
  display: none;
1644
1799
  }
1645
- `];var oe=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(s=(i<3?l(s):i>3?l(e,r,s):l(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},ns=class extends CustomEvent{constructor(e){super("change",{detail:e})}},q=class extends M{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayCount=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver(()=>this.updateScroll()),this.levelsScrollDebouncer=new ne(300),this.changeDebouncer=new ne(10),this.lastDispatchedValues=[]}get flatOptions(){return pt(this.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return pt(this.options,e=>{var r;return e.selected?[]:(r=e.subOptions)!==null&&r!==void 0?r:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(e=>e.selected).map(e=>e.value)}render(){let e=this.flatOptions.some(i=>i.selected),r=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,n=this.filterPlaceHolder.replace("{0}",this.label);return T`
1800
+ `];var re=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},cs=class extends CustomEvent{constructor(e){super("change",{detail:e})}},G=class extends D{constructor(){super(...arguments),this.id="",this.label="",this.filterPlaceHolder="Filter {0}",this.clearButtonLabel="Clear",this.moreValuesButtonLabel="More",this.noValuesLabel="No values available",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayCount=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver(()=>this.updateScroll()),this.levelsScrollDebouncer=new oe(300),this.changeDebouncer=new oe(10),this.lastDispatchedValues=[]}get flatOptions(){return ut(this.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return ut(this.options,e=>{var r;return e.selected?[]:(r=e.subOptions)!==null&&r!==void 0?r:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(e=>e.selected).map(e=>e.value)}render(){let e=this.flatOptions.some(n=>n.selected),r=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,i=this.filterPlaceHolder.replace("{0}",this.label);return _`
1646
1801
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1647
1802
  part="container">
1648
- ${!this.label&&!e?null:T`
1803
+ ${!this.label&&!e?null:_`
1649
1804
 
1650
1805
  <div class="ft-filter--header" part="header">
1651
1806
  <div class="filter-label" id="id-group-${this.id}">
@@ -1654,7 +1809,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
1654
1809
  </ft-typography>
1655
1810
  <slot name="label"></slot>
1656
1811
  </div>
1657
- ${e&&!this.hideClearButton?T`
1812
+ ${e&&!this.hideClearButton?_`
1658
1813
  <ft-button icon="close" dense @click=${this.clear} part="clear-button">
1659
1814
  ${this.clearButtonLabel}
1660
1815
  </ft-button>
@@ -1666,8 +1821,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
1666
1821
  part="input"
1667
1822
  class="ft-typography--caption"
1668
1823
  ?disabled=${!r}
1669
- placeholder="${n}"
1670
- size="${r?n.length:0}"
1824
+ placeholder="${i}"
1825
+ size="${r?i.length:0}"
1671
1826
  @search=${this.onFilterChange}
1672
1827
  @keyup=${this.onFilterChange}>
1673
1828
  </div>
@@ -1678,8 +1833,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
1678
1833
  @slotchange=${this.updateOptionsFromSlot}
1679
1834
  @option-change=${this.optionsChanged}></slot>
1680
1835
  </div>
1681
- `}update(e){if(super.update(e),e.has("options")){let r=new Set(this.flatOptions.map(n=>n.value));this.displayedLevels=this.displayedLevels.filter(n=>r.has(n)),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(e){var r,n,i,s,l;super.contentAvailableCallback(e),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),e.has("options")&&(this.updateScroll(),(r=this.levelsContainer)===null||r===void 0||r.scrollToIndex(this.displayedLevels.length)),e.has("slideIn")&&this.slideIn&&setTimeout(()=>{var c;(c=this.levelsContainer)===null||c===void 0||c.next(),this.slideIn=void 0},0),e.has("slideOut")&&this.slideOut&&((n=this.levelsContainer)===null||n===void 0||n.previous(),setTimeout(()=>{this.displayedLevels.pop(),this.slideOut=void 0},300)),this.lastLevelHasHiddenvalues=(l=(s=(i=this.shadowRoot)===null||i===void 0?void 0:i.querySelector(".ft-filter--levels ft-filter-level:last-child"))===null||s===void 0?void 0:s.hasHiddenValues)!==null&&l!==void 0?l:!1}renderLevels(){let e=this.flatOptions,r=e.filter(s=>s.selected),n=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,i=n<0?"ft-filter--level-center":"ft-filter--level-left";return T`
1682
- ${this.raiseSelectedOptions&&r.length>0?T`
1836
+ `}update(e){if(super.update(e),e.has("options")){let r=new Set(this.flatOptions.map(i=>i.value));this.displayedLevels=this.displayedLevels.filter(i=>r.has(i)),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(e){var r,i,n,a,s;super.contentAvailableCallback(e),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),e.has("options")&&(this.updateScroll(),(r=this.levelsContainer)===null||r===void 0||r.scrollToIndex(this.displayedLevels.length)),e.has("slideIn")&&this.slideIn&&setTimeout(()=>{var l;(l=this.levelsContainer)===null||l===void 0||l.next(),this.slideIn=void 0},0),e.has("slideOut")&&this.slideOut&&((i=this.levelsContainer)===null||i===void 0||i.previous(),setTimeout(()=>{this.displayedLevels.pop(),this.slideOut=void 0},300)),this.lastLevelHasHiddenvalues=(s=(a=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelector(".ft-filter--levels ft-filter-level:last-child"))===null||a===void 0?void 0:a.hasHiddenValues)!==null&&s!==void 0?s:!1}renderLevels(){let e=this.flatOptions,r=e.filter(a=>a.selected),i=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,n=i<0?"ft-filter--level-center":"ft-filter--level-left";return _`
1837
+ ${this.raiseSelectedOptions&&r.length>0?_`
1683
1838
  <ft-filter-level
1684
1839
  filterId="${this.id}"
1685
1840
  ?multivalued=${this.multivalued}
@@ -1695,11 +1850,11 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
1695
1850
  `:null}
1696
1851
  <ft-snap-scroll horizontal hideScrollbar
1697
1852
  class="ft-filter--levels"
1698
- @current-element-change=${s=>this.levelsScrollDebouncer.run(()=>{for(;s.detail.index<this.displayedLevels.length;)this.displayedLevels.pop();this.requestUpdate()})}>
1699
- ${this.renderLevel(i,this.options)}
1700
- ${this.displayedLevels.map(s=>e.find(l=>l.value===s)).map((s,l)=>{var c;let d=s?.value===this.slideIn||s?.value===this.slideOut?"ft-filter--level-right":l===n?"ft-filter--level-center":"ft-filter--level-left";return this.renderLevel(d,(c=s?.subOptions)!==null&&c!==void 0?c:[],s)})}
1853
+ @current-element-change=${a=>this.levelsScrollDebouncer.run(()=>{for(;a.detail.index<this.displayedLevels.length;)this.displayedLevels.pop();this.requestUpdate()})}>
1854
+ ${this.renderLevel(n,this.options)}
1855
+ ${this.displayedLevels.map(a=>e.find(s=>s.value===a)).map((a,s)=>{var l;let c=a?.value===this.slideIn||a?.value===this.slideOut?"ft-filter--level-right":s===i?"ft-filter--level-center":"ft-filter--level-left";return this.renderLevel(c,(l=a?.subOptions)!==null&&l!==void 0?l:[],a)})}
1701
1856
  </ft-snap-scroll>
1702
- `}renderLevel(e,r,n){return T`
1857
+ `}renderLevel(e,r,i){return _`
1703
1858
  <ft-filter-level
1704
1859
  class="${e}"
1705
1860
  filterId="${this.id}"
@@ -1709,7 +1864,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
1709
1864
  ?disabled=${this.disabled||e!=="ft-filter--level-center"}
1710
1865
  ?hideSelectedOptions=${this.raiseSelectedOptions}
1711
1866
  ?displayCount="${this.displayCount}"
1712
- .parent=${n}
1867
+ .parent=${i}
1713
1868
  .options=${r}
1714
1869
  .displayedValuesLimit=${this.displayedValuesLimit}
1715
1870
  @change=${this.onChange}
@@ -1719,18 +1874,18 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
1719
1874
  .exportpartsPrefixes=${["values","available-values"]}
1720
1875
  noValuesLabel="${this.noValuesLabel}"
1721
1876
  ></ft-filter-level>
1722
- `}goBack(e){this.slideOut=e.detail.value}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value}clear(){if(this.flatOptions.forEach(e=>e.selected=!1),this.displayedLevels.length>0){let e=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[e],this.slideOut=e}this.optionsChanged()}onChange(e){var r;e.stopPropagation();let n=this.flatOptions.find(s=>s.value===e.detail.value);n.selected=!n.selected;let i=s=>{var l;s!==n&&(s.selected=!1),(l=s.subOptions)===null||l===void 0||l.forEach(i)};this.multivalued?(r=n.subOptions)===null||r===void 0||r.forEach(i):this.options.forEach(i),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var e;this.sendEventIfValuesChanged(),this.requestUpdate(),(e=this.levels)===null||e===void 0||e.forEach(r=>r.requestUpdate())})}sendEventIfValuesChanged(){let e=this.selectedValues;Ue(this.lastDispatchedValues,e)||(this.dispatchEvent(new ns(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(r=>r),this.optionsChanged()}onFilterChange(){var e,r;this.filter=(r=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&r!==void 0?r:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};q.elementDefinitions={"ft-button":xe,"ft-filter-level":pe,"ft-snap-scroll":ye,"ft-typography":ie};q.styles=xd;oe([v({type:String})],q.prototype,"id",void 0);oe([v({type:String})],q.prototype,"label",void 0);oe([v({type:String})],q.prototype,"filterPlaceHolder",void 0);oe([v({type:String})],q.prototype,"clearButtonLabel",void 0);oe([v({type:String})],q.prototype,"moreValuesButtonLabel",void 0);oe([v({type:String})],q.prototype,"noValuesLabel",void 0);oe([ge([])],q.prototype,"options",void 0);oe([v({type:Boolean})],q.prototype,"multivalued",void 0);oe([v({type:Boolean})],q.prototype,"disabled",void 0);oe([v({type:Boolean})],q.prototype,"raiseSelectedOptions",void 0);oe([v({type:Boolean})],q.prototype,"displayCount",void 0);oe([v({type:Number})],q.prototype,"displayedValuesLimit",void 0);oe([v({type:Boolean})],q.prototype,"hideClearButton",void 0);oe([K(".ft-filter--slot")],q.prototype,"slotElement",void 0);oe([K(".ft-filter--container")],q.prototype,"container",void 0);oe([K(".ft-filter--values")],q.prototype,"valuesContainer",void 0);oe([K(".ft-filter--levels")],q.prototype,"levelsContainer",void 0);oe([j()],q.prototype,"lastLevelHasHiddenvalues",void 0);oe([K(".ft-filter--filter input")],q.prototype,"filterInput",void 0);oe([jn(".ft-filter--levels ft-filter-level")],q.prototype,"levels",void 0);oe([j()],q.prototype,"withScroll",void 0);oe([j()],q.prototype,"filter",void 0);oe([j()],q.prototype,"slideIn",void 0);oe([j()],q.prototype,"slideOut",void 0);var Hr=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(s=(i<3?l(s):i>3?l(e,r,s):l(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Ye=class extends M{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return T`
1877
+ `}goBack(e){this.slideOut=e.detail.value}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value}clear(){if(this.flatOptions.forEach(e=>e.selected=!1),this.displayedLevels.length>0){let e=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[e],this.slideOut=e}this.optionsChanged()}onChange(e){var r;e.stopPropagation();let i=this.flatOptions.find(a=>a.value===e.detail.value);i.selected=!i.selected;let n=a=>{var s;a!==i&&(a.selected=!1),(s=a.subOptions)===null||s===void 0||s.forEach(n)};this.multivalued?(r=i.subOptions)===null||r===void 0||r.forEach(n):this.options.forEach(n),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var e;this.sendEventIfValuesChanged(),this.requestUpdate(),(e=this.levels)===null||e===void 0||e.forEach(r=>r.requestUpdate())})}sendEventIfValuesChanged(){let e=this.selectedValues;De(this.lastDispatchedValues,e)||(this.dispatchEvent(new cs(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(r=>r),this.optionsChanged()}onFilterChange(){var e,r;this.filter=(r=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&r!==void 0?r:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};G.elementDefinitions={"ft-button":ve,"ft-filter-level":ce,"ft-snap-scroll":ge,"ft-typography":Q};G.styles=Ed;re([y({type:String})],G.prototype,"id",void 0);re([y({type:String})],G.prototype,"label",void 0);re([y({type:String})],G.prototype,"filterPlaceHolder",void 0);re([y({type:String})],G.prototype,"clearButtonLabel",void 0);re([y({type:String})],G.prototype,"moreValuesButtonLabel",void 0);re([y({type:String})],G.prototype,"noValuesLabel",void 0);re([be([])],G.prototype,"options",void 0);re([y({type:Boolean})],G.prototype,"multivalued",void 0);re([y({type:Boolean})],G.prototype,"disabled",void 0);re([y({type:Boolean})],G.prototype,"raiseSelectedOptions",void 0);re([y({type:Boolean})],G.prototype,"displayCount",void 0);re([y({type:Number})],G.prototype,"displayedValuesLimit",void 0);re([y({type:Boolean})],G.prototype,"hideClearButton",void 0);re([W(".ft-filter--slot")],G.prototype,"slotElement",void 0);re([W(".ft-filter--container")],G.prototype,"container",void 0);re([W(".ft-filter--values")],G.prototype,"valuesContainer",void 0);re([W(".ft-filter--levels")],G.prototype,"levelsContainer",void 0);re([K()],G.prototype,"lastLevelHasHiddenvalues",void 0);re([W(".ft-filter--filter input")],G.prototype,"filterInput",void 0);re([Yi(".ft-filter--levels ft-filter-level")],G.prototype,"levels",void 0);re([K()],G.prototype,"withScroll",void 0);re([K()],G.prototype,"filter",void 0);re([K()],G.prototype,"slideIn",void 0);re([K()],G.prototype,"slideOut",void 0);var Vr=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Je=class extends D{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return _`
1723
1878
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1724
- `}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(r=>r)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Ye.elementDefinitions={};Hr([v({type:String})],Ye.prototype,"label",void 0);Hr([v({type:Object,converter:t=>t})],Ye.prototype,"value",void 0);Hr([v({type:Boolean,reflect:!0})],Ye.prototype,"selected",void 0);Hr([v({type:Object})],Ye.prototype,"subOptions",void 0);Hr([ge({})],Ye.prototype,"renderOption",void 0);Hr([K(".ft-filter-option--slot")],Ye.prototype,"slotElement",void 0);H("ft-filter")(q);H("ft-filter-option")(Ye);var Wt=Wr.build("designedSearchType"),Pn={label:"Search scope",documentTitlesOnly:"Search in document titles only"};var vd=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(s=(i<3?l(s):i>3?l(e,r,s):l(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Mt=class extends Bt($t){constructor(){super(),this.addI18nContext(Wt,Pn)}render(){return T`
1879
+ `}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(r=>r)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};Je.elementDefinitions={};Vr([y({type:String})],Je.prototype,"label",void 0);Vr([y({type:Object,converter:t=>t})],Je.prototype,"value",void 0);Vr([y({type:Boolean,reflect:!0})],Je.prototype,"selected",void 0);Vr([y({type:Object})],Je.prototype,"subOptions",void 0);Vr([be({})],Je.prototype,"renderOption",void 0);Vr([W(".ft-filter-option--slot")],Je.prototype,"slotElement",void 0);F("ft-filter")(G);F("ft-filter-option")(Je);var zt=zr.build("designedSearchType"),Li={label:"Search scope",documentTitlesOnly:"Search in document titles only"};var wd=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Wt=class extends Bt(Ut){constructor(){super(),this.addI18nContext(zt,Li)}render(){return _`
1725
1880
  <ft-filter
1726
- label=${Wt.messages.label()}
1727
- .options=${[{label:Wt.messages.documentTitlesOnly(),value:e=>{var r;return(r=this.stateManager)===null||r===void 0?void 0:r.setSearchInDocumentTitlesOnly(e)},selected:this.searchInDocumentTitlesOnly}]}
1881
+ label=${zt.messages.label()}
1882
+ .options=${[{label:zt.messages.documentTitlesOnly(),value:e=>{var r;return(r=this.stateManager)===null||r===void 0?void 0:r.setSearchInDocumentTitlesOnly(e)},selected:this.searchInDocumentTitlesOnly}]}
1728
1883
  part="filter"
1729
1884
  .exportpartsPrefixes=${["filter"]}
1730
1885
  multivalued
1731
1886
  @change=${this.onSelected}
1732
1887
  ></ft-filter>
1733
- `}onSelected(e){var r;(r=this.filter)===null||r===void 0||r.options.forEach(n=>n.value(n.selected))}};Mt.elementDefinitions={"ft-filter":q};Mt.styles=ud;vd([he({selector:So})],Mt.prototype,"searchInDocumentTitlesOnly",void 0);vd([K("ft-filter")],Mt.prototype,"filter",void 0);H("ft-search-type")(Mt);var du={headerColor:o.extend("--ft-search-period-filter-header-color","",P.colorOnSurface)},Sd=R`
1888
+ `}onSelected(e){var r;(r=this.filter)===null||r===void 0||r.options.forEach(i=>i.value(i.selected))}};Wt.elementDefinitions={"ft-filter":G};Wt.styles=bd;wd([he({selector:Co})],Wt.prototype,"searchInDocumentTitlesOnly",void 0);wd([W("ft-filter")],Wt.prototype,"filter",void 0);F("ft-search-type")(Wt);var pu={headerColor:o.extend("--ft-search-period-filter-header-color","",T.colorOnSurface)},Ad=N`
1734
1889
  [part="container"] {
1735
1890
  flex-grow: 1;
1736
1891
  display: flex;
@@ -1745,7 +1900,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
1745
1900
  overflow: auto;
1746
1901
  display: flex;
1747
1902
  flex-direction: column;
1748
- ${D(B.lineHeight,"22px")};
1903
+ ${L(k.lineHeight,"22px")};
1749
1904
  }
1750
1905
 
1751
1906
  [part="header"] {
@@ -1755,7 +1910,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
1755
1910
  flex-shrink: 0;
1756
1911
  padding: 0 10px;
1757
1912
  margin-bottom: 8px;
1758
- color: ${du.headerColor};
1913
+ color: ${pu.headerColor};
1759
1914
  }
1760
1915
 
1761
1916
  [part="label"] {
@@ -1763,63 +1918,63 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
1763
1918
  flex-shrink: 1;
1764
1919
  flex-grow: 1;
1765
1920
  word-break: break-word;
1766
- font-size: ${_e.labelFontSize};
1767
- ${D(B.fontWeight,"bold")};
1921
+ font-size: ${Le.labelFontSize};
1922
+ ${L(k.fontWeight,"bold")};
1768
1923
  }
1769
1924
 
1770
- `;var Te=Wr.build("designedSearchPeriodFilter"),kn={label:"Last update",anyTime:"Any time",LAST_WEEK:"Less than a week",LAST_MONTH:"Less than a month",LAST_QUARTER:"Less than a quarter",LAST_YEAR:"Less than a year",CUSTOM:"Custom period",customPeriod:"From {0} to {1}",period:"Period: {0}"};var wo=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(s=(i<3?l(s):i>3?l(e,r,s):l(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Xe=class extends Bt($t){constructor(){super(),this.addI18nContext(Te,kn)}render(){var e,r,n,i;return T`<div part="container">
1925
+ `;var Ie=zr.build("designedSearchPeriodFilter"),Ii={label:"Last update",anyTime:"Any time",LAST_WEEK:"Less than a week",LAST_MONTH:"Less than a month",LAST_QUARTER:"Less than a quarter",LAST_YEAR:"Less than a year",CUSTOM:"Custom period",customPeriod:"From {0} to {1}",period:"Period: {0}"};var Ro=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Qe=class extends Bt(Ut){constructor(){super(),this.addI18nContext(Ie,Ii)}render(){var e,r,i,n;return _`<div part="container">
1771
1926
  <div part="header">
1772
1927
  <ft-typography variant="overline" part="label" id="label">
1773
- ${Te.messages.label()}
1928
+ ${Ie.messages.label()}
1774
1929
  </ft-typography>
1775
1930
  </div>
1776
- <ft-radio-group @change=${s=>this.setPeriodFilter(s)} aria-labelledby="label">
1777
- <ft-radio value="anyTime" ?checked=${this.periodFilter===void 0||this.periodFilter.periodType===void 0}>${Te.messages.anyTime()}</ft-radio>
1778
- ${this.lessThanAWeek?T`<ft-radio ?checked=${((e=this.periodFilter)===null||e===void 0?void 0:e.periodType)=="LAST_WEEK"} value="LAST_WEEK">${Te.messages.LAST_WEEK()}</ft-radio>`:G}
1779
- ${this.lessThanAMonth?T`<ft-radio ?checked=${((r=this.periodFilter)===null||r===void 0?void 0:r.periodType)=="LAST_MONTH"} value="LAST_MONTH">${Te.messages.LAST_MONTH()}</ft-radio>`:G}
1780
- ${this.lessThanAQuarter?T`<ft-radio ?checked=${((n=this.periodFilter)===null||n===void 0?void 0:n.periodType)=="LAST_QUARTER"} value="LAST_QUARTER">${Te.messages.LAST_QUARTER()}</ft-radio>`:G}
1781
- ${this.lessThanAYear?T`<ft-radio ?checked=${((i=this.periodFilter)===null||i===void 0?void 0:i.periodType)=="LAST_YEAR"} value="LAST_YEAR">${Te.messages.LAST_YEAR()}</ft-radio>`:G}
1931
+ <ft-radio-group @change=${a=>this.setPeriodFilter(a)} aria-labelledby="label">
1932
+ <ft-radio value="anyTime" ?checked=${this.periodFilter===void 0||this.periodFilter.periodType===void 0}>${Ie.messages.anyTime()}</ft-radio>
1933
+ ${this.lessThanAWeek?_`<ft-radio ?checked=${((e=this.periodFilter)===null||e===void 0?void 0:e.periodType)=="LAST_WEEK"} value="LAST_WEEK">${Ie.messages.LAST_WEEK()}</ft-radio>`:B}
1934
+ ${this.lessThanAMonth?_`<ft-radio ?checked=${((r=this.periodFilter)===null||r===void 0?void 0:r.periodType)=="LAST_MONTH"} value="LAST_MONTH">${Ie.messages.LAST_MONTH()}</ft-radio>`:B}
1935
+ ${this.lessThanAQuarter?_`<ft-radio ?checked=${((i=this.periodFilter)===null||i===void 0?void 0:i.periodType)=="LAST_QUARTER"} value="LAST_QUARTER">${Ie.messages.LAST_QUARTER()}</ft-radio>`:B}
1936
+ ${this.lessThanAYear?_`<ft-radio ?checked=${((n=this.periodFilter)===null||n===void 0?void 0:n.periodType)=="LAST_YEAR"} value="LAST_YEAR">${Ie.messages.LAST_YEAR()}</ft-radio>`:B}
1782
1937
  </ft-radio-group>
1783
- </div>`}setPeriodFilter(e){var r;let n=mn[e.detail];(r=this.stateManager)===null||r===void 0||r.setPeriodFilter(n===void 0?void 0:{periodType:n})}};Xe.elementDefinitions={"ft-radio-group":ke,"ft-radio":ue,"ft-typography":ie};Xe.styles=Sd;wo([v({type:Boolean})],Xe.prototype,"lessThanAWeek",void 0);wo([v({type:Boolean})],Xe.prototype,"lessThanAMonth",void 0);wo([v({type:Boolean})],Xe.prototype,"lessThanAQuarter",void 0);wo([v({type:Boolean})],Xe.prototype,"lessThanAYear",void 0);wo([he({store:"search",selector:t=>t.request.periodFilter})],Xe.prototype,"periodFilter",void 0);H("ft-search-period-filter")(Xe);var is=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(l=t[c])&&(s=(i<3?l(s):i>3?l(e,r,s):l(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},St=class extends Bt($t){get hasSomethingToDisplay(){var e;return this.searchInDocumentTitlesOnly||((e=this.facets)===null||e===void 0?void 0:e.some(r=>this.getSelectedValues(r).length>0))||this.periodFilter&&this.periodFilter.periodType}constructor(){super(),this.addI18nContext(Wt,Pn),this.addI18nContext(Te,kn)}render(){return this.hasSomethingToDisplay?T`
1938
+ </div>`}setPeriodFilter(e){var r;let i=gi[e.detail];(r=this.stateManager)===null||r===void 0||r.setPeriodFilter(i===void 0?void 0:{periodType:i})}};Qe.elementDefinitions={"ft-radio-group":$e,"ft-radio":fe,"ft-typography":Q};Qe.styles=Ad;Ro([y({type:Boolean})],Qe.prototype,"lessThanAWeek",void 0);Ro([y({type:Boolean})],Qe.prototype,"lessThanAMonth",void 0);Ro([y({type:Boolean})],Qe.prototype,"lessThanAQuarter",void 0);Ro([y({type:Boolean})],Qe.prototype,"lessThanAYear",void 0);Ro([he({store:"search",selector:t=>t.request.periodFilter})],Qe.prototype,"periodFilter",void 0);F("ft-search-period-filter")(Qe);var ds=function(t,e,r,i){var n=arguments.length,a=n<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,i);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(a=(n<3?s(a):n>3?s(e,r,a):s(e,r))||a);return n>3&&a&&Object.defineProperty(e,r,a),a},Et=class extends Bt(Ut){get hasSomethingToDisplay(){var e;return this.searchInDocumentTitlesOnly||((e=this.facets)===null||e===void 0?void 0:e.some(r=>this.getSelectedValues(r).length>0))||this.periodFilter&&this.periodFilter.periodType}constructor(){super(),this.addI18nContext(zt,Li),this.addI18nContext(Ie,Ii)}render(){return this.hasSomethingToDisplay?_`
1784
1939
  <div class="ft-search-selected-facets--container">
1785
- ${yr(this.facets||[],e=>e.key,e=>{let r=this.getSelectedValues(e);return yr(r,n=>e.key+"-"+n,n=>this.renderFacet(e.key,e.label,r,n))})}
1940
+ ${yr(this.facets||[],e=>e.key,e=>{let r=this.getSelectedValues(e);return yr(r,i=>e.key+"-"+i,i=>this.renderFacet(e.key,e.label,r,i))})}
1786
1941
  ${this.renderSearchInDocumentTitlesOnly()}
1787
1942
  ${this.renderPeriodFilter()}
1788
1943
  </div>
1789
- `:G}renderFacet(e,r,n,i){let s=r+": "+this.getBreadcrumbFromValue(i),l=e.replace(":","-");return T`
1790
- <ft-tooltip inline text="${s}"
1791
- part="tooltips tooltip-${l}">
1944
+ `:B}renderFacet(e,r,i,n){let a=r+": "+this.getBreadcrumbFromValue(n),s=e.replace(":","-");return _`
1945
+ <ft-tooltip inline text="${a}"
1946
+ part="tooltips tooltip-${s}">
1792
1947
  <ft-chip
1793
- part="ft-search-selected-facets ft-search-selected-facet-${l}"
1948
+ part="ft-search-selected-facets ft-search-selected-facet-${s}"
1794
1949
  removable
1795
- label="${s}"
1796
- @icon-click=${()=>{var c;return(c=this.stateManager)===null||c===void 0?void 0:c.setFilter(e,n.filter(d=>d!==i))}}
1950
+ label="${a}"
1951
+ @icon-click=${()=>{var l;return(l=this.stateManager)===null||l===void 0?void 0:l.setFilter(e,i.filter(c=>c!==n))}}
1797
1952
  data-key="${e}"
1798
- data-value="${i}">
1799
- ${this.getLabelFromValue(i)}
1953
+ data-value="${n}">
1954
+ ${this.getLabelFromValue(n)}
1800
1955
  </ft-chip>
1801
1956
  </ft-tooltip>
1802
- `}getSelectedValues(e){return pt(e.rootNodes,r=>r.selected?[]:r.childNodes).filter(r=>r.selected).map(r=>r.value)}getLabelFromValue(e){return this.unquote(e).split("|").pop()}getBreadcrumbFromValue(e){return this.unquote(e).split("|").join(" > ")}unquote(e){return e.startsWith('"')&&e.endsWith('"')?e.replace(/(^"+)|("+$)/g,""):e}renderSearchInDocumentTitlesOnly(){return this.searchInDocumentTitlesOnly?T`
1803
- <ft-tooltip inline text="${Wt.messages.documentTitlesOnly()}"
1957
+ `}getSelectedValues(e){return ut(e.rootNodes,r=>r.selected?[]:r.childNodes).filter(r=>r.selected).map(r=>r.value)}getLabelFromValue(e){return this.unquote(e).split("|").pop()}getBreadcrumbFromValue(e){return this.unquote(e).split("|").join(" > ")}unquote(e){return e.startsWith('"')&&e.endsWith('"')?e.replace(/(^"+)|("+$)/g,""):e}renderSearchInDocumentTitlesOnly(){return this.searchInDocumentTitlesOnly?_`
1958
+ <ft-tooltip inline text="${zt.messages.documentTitlesOnly()}"
1804
1959
  part="tooltips tooltip-search-in-document-titles-only">
1805
1960
  <ft-chip
1806
1961
  part="ft-search-selected-facets ft-search-selected-facet-search-in-document-titles-only"
1807
1962
  removable
1808
1963
  @icon-click=${()=>{var e;return(e=this.stateManager)===null||e===void 0?void 0:e.setSearchInDocumentTitlesOnly(!1)}}>
1809
- ${Wt.messages.documentTitlesOnly()}
1964
+ ${zt.messages.documentTitlesOnly()}
1810
1965
  </ft-chip>
1811
1966
  </ft-tooltip>
1812
- `:G}renderPeriodFilter(){var e,r;return this.periodFilter&&this.periodFilter.periodType?T`
1813
- <ft-tooltip inline text="${Te.messages.period(this.periodFilter.periodType==="CUSTOM"?Te.messages.customPeriod((e=this.periodFilter.period)===null||e===void 0?void 0:e.from,(r=this.periodFilter.period)===null||r===void 0?void 0:r.to):Te.messages[this.periodFilter.periodType]())}"
1967
+ `:B}renderPeriodFilter(){var e,r;return this.periodFilter&&this.periodFilter.periodType?_`
1968
+ <ft-tooltip inline text="${Ie.messages.period(this.periodFilter.periodType==="CUSTOM"?Ie.messages.customPeriod((e=this.periodFilter.period)===null||e===void 0?void 0:e.from,(r=this.periodFilter.period)===null||r===void 0?void 0:r.to):Ie.messages[this.periodFilter.periodType]())}"
1814
1969
  part=" tooltips tooltip-search-period-filter">
1815
1970
  <ft-chip
1816
1971
  part="ft-search-selected-facets ft-search-selected-facet-period-filter"
1817
1972
  removable
1818
- @icon-click=${()=>{var n;return(n=this.stateManager)===null||n===void 0?void 0:n.setPeriodFilter(void 0)}}>
1819
- ${Te.messages[this.periodFilter.periodType]()}
1973
+ @icon-click=${()=>{var i;return(i=this.stateManager)===null||i===void 0?void 0:i.setPeriodFilter(void 0)}}>
1974
+ ${Ie.messages[this.periodFilter.periodType]()}
1820
1975
  </ft-chip>
1821
1976
  </ft-tooltip>
1822
- `:G}};St.elementDefinitions={"ft-chip":de,"ft-tooltip":re};St.styles=ic;is([he({store:"search"})],St.prototype,"facets",void 0);is([he({store:"search",selector:So})],St.prototype,"searchInDocumentTitlesOnly",void 0);is([he({store:"search",selector:t=>t.request.periodFilter})],St.prototype,"periodFilter",void 0);H("ft-search-selected-facets")(St);})();
1977
+ `:B}};Et.elementDefinitions={"ft-chip":le,"ft-tooltip":te};Et.styles=pc;ds([he({store:"search"})],Et.prototype,"facets",void 0);ds([he({store:"search",selector:Co})],Et.prototype,"searchInDocumentTitlesOnly",void 0);ds([he({store:"search",selector:t=>t.request.periodFilter})],Et.prototype,"periodFilter",void 0);F("ft-search-selected-facets")(Et);})();
1823
1978
  /*! Bundled license information:
1824
1979
 
1825
1980
  @webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js: