@fluid-topics/ft-reader-metadata 1.1.84 → 1.1.85

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 Wc=Object.create;var an=Object.defineProperty;var Fc=Object.getOwnPropertyDescriptor;var zc=Object.getOwnPropertyNames;var Hc=Object.getPrototypeOf,jc=Object.prototype.hasOwnProperty;var Vc=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Z=(e,t)=>{for(var r in t)an(e,r,{get:t[r],enumerable:!0})},Kc=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of zc(t))!jc.call(e,i)&&i!==r&&an(e,i,{get:()=>t[i],enumerable:!(n=Fc(t,i))||n.enumerable});return e};var Gc=(e,t,r)=>(r=e!=null?Wc(Hc(e)):{},Kc(t||!e||!e.__esModule?an(r,"default",{value:e,enumerable:!0}):r,e));var yc=Vc(mc=>{(function(e){var t=function(r){var n={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};function i(m){return m&&DataView.prototype.isPrototypeOf(m)}if(n.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 d(m){var x={next:function(){var A=m.shift();return{done:A===void 0,value:A}}};return n.iterable&&(x[Symbol.iterator]=function(){return x}),x}function f(m){this.map={},m instanceof f?m.forEach(function(x,A){this.append(A,x)},this):Array.isArray(m)?m.forEach(function(x){this.append(x[0],x[1])},this):m&&Object.getOwnPropertyNames(m).forEach(function(x){this.append(x,m[x])},this)}f.prototype.append=function(m,x){m=l(m),x=c(x);var A=this.map[m];this.map[m]=A?A+", "+x:x},f.prototype.delete=function(m){delete this.map[l(m)]},f.prototype.get=function(m){return m=l(m),this.has(m)?this.map[m]:null},f.prototype.has=function(m){return this.map.hasOwnProperty(l(m))},f.prototype.set=function(m,x){this.map[l(m)]=c(x)},f.prototype.forEach=function(m,x){for(var A in this.map)this.map.hasOwnProperty(A)&&m.call(x,this.map[A],A,this)},f.prototype.keys=function(){var m=[];return this.forEach(function(x,A){m.push(A)}),d(m)},f.prototype.values=function(){var m=[];return this.forEach(function(x){m.push(x)}),d(m)},f.prototype.entries=function(){var m=[];return this.forEach(function(x,A){m.push([A,x])}),d(m)},n.iterable&&(f.prototype[Symbol.iterator]=f.prototype.entries);function h(m){if(m.bodyUsed)return Promise.reject(new TypeError("Already read"));m.bodyUsed=!0}function y(m){return new Promise(function(x,A){m.onload=function(){x(m.result)},m.onerror=function(){A(m.error)}})}function g(m){var x=new FileReader,A=y(x);return x.readAsArrayBuffer(m),A}function b(m){var x=new FileReader,A=y(x);return x.readAsText(m),A}function E(m){for(var x=new Uint8Array(m),A=new Array(x.length),W=0;W<x.length;W++)A[W]=String.fromCharCode(x[W]);return A.join("")}function R(m){if(m.slice)return m.slice(0);var x=new Uint8Array(m.byteLength);return x.set(new Uint8Array(m)),x.buffer}function N(){return this.bodyUsed=!1,this._initBody=function(m){this._bodyInit=m,m?typeof m=="string"?this._bodyText=m:n.blob&&Blob.prototype.isPrototypeOf(m)?this._bodyBlob=m:n.formData&&FormData.prototype.isPrototypeOf(m)?this._bodyFormData=m:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)?this._bodyText=m.toString():n.arrayBuffer&&n.blob&&i(m)?(this._bodyArrayBuffer=R(m.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(m)||s(m))?this._bodyArrayBuffer=R(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):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.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(g)}),this.text=function(){var m=h(this);if(m)return m;if(this._bodyBlob)return b(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(E(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(C)}),this.json=function(){return this.text().then(JSON.parse)},this}var P=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function O(m){var x=m.toUpperCase();return P.indexOf(x)>-1?x:m}function v(m,x){x=x||{};var A=x.body;if(m instanceof v){if(m.bodyUsed)throw new TypeError("Already read");this.url=m.url,this.credentials=m.credentials,x.headers||(this.headers=new f(m.headers)),this.method=m.method,this.mode=m.mode,this.signal=m.signal,!A&&m._bodyInit!=null&&(A=m._bodyInit,m.bodyUsed=!0)}else this.url=String(m);if(this.credentials=x.credentials||this.credentials||"same-origin",(x.headers||!this.headers)&&(this.headers=new f(x.headers)),this.method=O(x.method||this.method||"GET"),this.mode=x.mode||this.mode||null,this.signal=x.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&A)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(A)}v.prototype.clone=function(){return new v(this,{body:this._bodyInit})};function C(m){var x=new FormData;return m.trim().split("&").forEach(function(A){if(A){var W=A.split("="),tt=W.shift().replace(/\+/g," "),H=W.join("=").replace(/\+/g," ");x.append(decodeURIComponent(tt),decodeURIComponent(H))}}),x}function $(m){var x=new f,A=m.replace(/\r?\n[\t ]+/g," ");return A.split(/\r?\n/).forEach(function(W){var tt=W.split(":"),H=tt.shift().trim();if(H){var Jr=tt.join(":").trim();x.append(H,Jr)}}),x}N.call(v.prototype);function U(m,x){x||(x={}),this.type="default",this.status=x.status===void 0?200:x.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in x?x.statusText:"OK",this.headers=new f(x.headers),this.url=x.url||"",this._initBody(m)}N.call(U.prototype),U.prototype.clone=function(){return new U(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},U.error=function(){var m=new U(null,{status:0,statusText:""});return m.type="error",m};var ct=[301,302,303,307,308];U.redirect=function(m,x){if(ct.indexOf(x)===-1)throw new RangeError("Invalid status code");return new U(null,{status:x,headers:{location:m}})},r.DOMException=e.DOMException;try{new r.DOMException}catch{r.DOMException=function(x,A){this.message=x,this.name=A;var W=Error(x);this.stack=W.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function z(m,x){return new Promise(function(A,W){var tt=new v(m,x);if(tt.signal&&tt.signal.aborted)return W(new r.DOMException("Aborted","AbortError"));var H=new XMLHttpRequest;function Jr(){H.abort()}H.onload=function(){var yr={status:H.status,statusText:H.statusText,headers:$(H.getAllResponseHeaders()||"")};yr.url="responseURL"in H?H.responseURL:yr.headers.get("X-Request-URL");var nn="response"in H?H.response:H.responseText;A(new U(nn,yr))},H.onerror=function(){W(new TypeError("Network request failed"))},H.ontimeout=function(){W(new TypeError("Network request failed"))},H.onabort=function(){W(new r.DOMException("Aborted","AbortError"))},H.open(tt.method,tt.url,!0),tt.credentials==="include"?H.withCredentials=!0:tt.credentials==="omit"&&(H.withCredentials=!1),"responseType"in H&&n.blob&&(H.responseType="blob"),tt.headers.forEach(function(yr,nn){H.setRequestHeader(nn,yr)}),tt.signal&&(tt.signal.addEventListener("abort",Jr),H.onreadystatechange=function(){H.readyState===4&&tt.signal.removeEventListener("abort",Jr)}),H.send(typeof tt._bodyInit>"u"?null:tt._bodyInit)})}return z.polyfill=!0,e.fetch||(e.fetch=z,e.Headers=f,e.Request=v,e.Response=U),r.Headers=f,r.Request=v,r.Response=U,r.fetch=z,Object.defineProperty(r,"__esModule",{value:!0}),r}({})})(typeof self<"u"?self:mc)});if(!ShadowRoot.prototype.createElement){let e=window.HTMLElement,t=window.customElements.define,r=window.customElements.get,n=window.customElements,i=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,v){if(O=O.toLowerCase(),this._getDefinition(O)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${O}" has already been used with this registry`);if(this._definitionsByClass.get(v)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let C=v.prototype.attributeChangedCallback,$=new Set(v.observedAttributes||[]);y(v,$,C);let U={elementClass:v,connectedCallback:v.prototype.connectedCallback,disconnectedCallback:v.prototype.disconnectedCallback,adoptedCallback:v.prototype.adoptedCallback,attributeChangedCallback:C,formAssociated:v.formAssociated,formAssociatedCallback:v.prototype.formAssociatedCallback,formDisabledCallback:v.prototype.formDisabledCallback,formResetCallback:v.prototype.formResetCallback,formStateRestoreCallback:v.prototype.formStateRestoreCallback,observedAttributes:$};this._definitionsByTag.set(O,U),this._definitionsByClass.set(v,U);let ct=r.call(n,O);ct||(ct=h(O),t.call(n,O,ct)),this===window.customElements&&(s.set(v,U),U.standInClass=ct);let z=this._awaitingUpgrade.get(O);if(z){this._awaitingUpgrade.delete(O);for(let x of z)a.delete(x),b(x,U,!0)}let m=this._whenDefinedPromises.get(O);return m!==void 0&&(m.resolve(v),this._whenDefinedPromises.delete(O)),v}upgrade(){R.push(this),n.upgrade.apply(n,arguments),R.pop()}get(O){return this._definitionsByTag.get(O)?.elementClass}_getDefinition(O){return this._definitionsByTag.get(O)}whenDefined(O){let v=this._getDefinition(O);if(v!==void 0)return Promise.resolve(v.elementClass);let C=this._whenDefinedPromises.get(O);return C===void 0&&(C={},C.promise=new Promise($=>C.resolve=$),this._whenDefinedPromises.set(O,C)),C.promise}_upgradeWhenDefined(O,v,C){let $=this._awaitingUpgrade.get(v);$||this._awaitingUpgrade.set(v,$=new Set),C?$.add(O):$.delete(O)}};let c;window.HTMLElement=function(){let v=c;if(v)return c=void 0,v;let C=s.get(this.constructor);if(!C)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return v=Reflect.construct(e,[],C.standInClass),Object.setPrototypeOf(v,this.constructor.prototype),i.set(v,C),v},window.HTMLElement.prototype=e.prototype;let d=O=>O===document||O instanceof ShadowRoot,f=O=>{let v=O.getRootNode();if(!d(v)){let C=R[R.length-1];if(C instanceof CustomElementRegistry)return C;v=C.getRootNode(),d(v)||(v=l.get(v)?.getRootNode()||document)}return v.customElements},h=O=>class{static get formAssociated(){return!0}constructor(){let C=Reflect.construct(e,[],this.constructor);Object.setPrototypeOf(C,HTMLElement.prototype);let $=f(C)||window.customElements,U=$._getDefinition(O);return U?b(C,U):a.set(C,$),C}connectedCallback(){let C=i.get(this);C?C.connectedCallback&&C.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,O,!0)}disconnectedCallback(){let C=i.get(this);C?C.disconnectedCallback&&C.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,O,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let C=i.get(this);C&&C.formAssociated&&C?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let C=i.get(this);C?.formAssociated&&C?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let C=i.get(this);C?.formAssociated&&C?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let C=i.get(this);C?.formAssociated&&C?.formStateRestoreCallback?.apply(this,arguments)}},y=(O,v,C)=>{if(v.size===0||C===void 0)return;let $=O.prototype.setAttribute;$&&(O.prototype.setAttribute=function(z,m){let x=z.toLowerCase();if(v.has(x)){let A=this.getAttribute(x);$.call(this,x,m),C.call(this,x,A,m)}else $.call(this,x,m)});let U=O.prototype.removeAttribute;U&&(O.prototype.removeAttribute=function(z){let m=z.toLowerCase();if(v.has(m)){let x=this.getAttribute(m);U.call(this,m),C.call(this,m,x,null)}else U.call(this,m)});let ct=O.prototype.toggleAttribute;ct&&(O.prototype.toggleAttribute=function(z,m){let x=z.toLowerCase();if(v.has(x)){let A=this.getAttribute(x);ct.call(this,x,m);let W=this.getAttribute(x);C.call(this,x,A,W)}else ct.call(this,x,m)})},g=O=>{let v=Object.getPrototypeOf(O);if(v!==window.HTMLElement)return v===e?Object.setPrototypeOf(O,window.HTMLElement):g(v)},b=(O,v,C=!1)=>{Object.setPrototypeOf(O,v.elementClass.prototype),i.set(O,v),c=O;try{new v.elementClass}catch{g(v.elementClass),new v.elementClass}v.attributeChangedCallback&&v.observedAttributes.forEach($=>{O.hasAttribute($)&&v.attributeChangedCallback.call(O,$,null,O.getAttribute($))}),C&&v.connectedCallback&&O.isConnected&&v.connectedCallback.call(O)},E=Element.prototype.attachShadow;Element.prototype.attachShadow=function(O){let v=E.apply(this,arguments);return O.customElements&&(v.customElements=O.customElements),v};let R=[document],N=(O,v,C=void 0)=>{let $=(C?Object.getPrototypeOf(C):O.prototype)[v];O.prototype[v]=function(){R.push(this);let U=$.apply(C||this,arguments);return U!==void 0&&l.set(U,this),R.pop(),U}};N(ShadowRoot,"createElement",document),N(ShadowRoot,"importNode",document),N(Element,"insertAdjacentHTML");let P=(O,v)=>{let C=Object.getOwnPropertyDescriptor(O.prototype,v);Object.defineProperty(O.prototype,v,{...C,set($){R.push(this),C.set.call(this,$),R.pop()}})};if(P(Element,"innerHTML"),P(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let O=new WeakMap,v=HTMLElement.prototype.attachInternals,C=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...z){let m=v.call(this,...z);return O.set(m,this),m},C.forEach(z=>{let m=window.ElementInternals.prototype,x=m[z];m[z]=function(...A){let W=O.get(this);if(i.get(W).formAssociated===!0)return x?.call(this,...A);throw new DOMException(`Failed to execute ${x} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class $ extends Array{constructor(m){super(...m),this._elements=m}get value(){return this._elements.find(m=>m.checked===!0)?.value||""}}class U{constructor(m){let x=new Map;m.forEach((A,W)=>{let tt=A.getAttribute("name"),H=x.get(tt)||[];this[+W]=A,H.push(A),x.set(tt,H)}),this.length=m.length,x.forEach((A,W)=>{A&&(A.length===1?this[W]=A[0]:this[W]=new $(A))})}namedItem(m){return this[m]}}let ct=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let z=ct.get.call(this,[]),m=[];for(let x of z){let A=i.get(x);(!A||A.formAssociated===!0)&&m.push(x)}return new U(m)}})}}try{window.customElements.define("custom-element",null)}catch{let t=window.customElements.define;window.customElements.define=(r,n,i)=>{if(n!==null)try{t.bind(window.customElements)(r,n,i)}catch(a){console.info(r,n,i,a)}}}var xn={};Z(xn,{CSSResult:()=>je,LitElement:()=>Yt,ReactiveElement:()=>Mt,_$LE:()=>gp,_$LH:()=>hp,adoptStyles:()=>ho,css:()=>T,defaultConverter:()=>mo,getCompatibleStyle:()=>Cr,html:()=>D,isServer:()=>Kf,noChange:()=>ne,notEqual:()=>un,nothing:()=>j,render:()=>bn,supportsAdoptingStyleSheets:()=>Er,svg:()=>up,unsafeCSS:()=>Zt});var Qr=globalThis,eo=Qr.ShadowRoot&&(Qr.ShadyCSS===void 0||Qr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ta=Symbol(),Pa=new WeakMap,to=class{constructor(t,r,n){if(this._$cssResult$=!0,n!==Ta)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(eo&&t===void 0){let n=r!==void 0&&r.length===1;n&&(t=Pa.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Pa.set(r,t))}return t}toString(){return this.cssText}},La=e=>new to(typeof e=="string"?e:e+"",void 0,Ta);var sn=(e,t)=>{if(eo)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let n=document.createElement("style"),i=Qr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)}},ro=eo?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return La(r)})(e):e;var{is:Zc,defineProperty:qc,getOwnPropertyDescriptor:Yc,getOwnPropertyNames:Xc,getOwnPropertySymbols:Jc,getPrototypeOf:Qc}=Object,oo=globalThis,Ia=oo.trustedTypes,tp=Ia?Ia.emptyScript:"",ep=oo.reactiveElementPolyfillSupport,gr=(e,t)=>e,br={toAttribute(e,t){switch(t){case Boolean:e=e?tp:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},no=(e,t)=>!Zc(e,t),$a={attribute:!0,type:String,converter:br,reflect:!1,hasChanged:no};Symbol.metadata??=Symbol("metadata"),oo.litPropertyMetadata??=new WeakMap;var Se=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,r=$a){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(t,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,r);i!==void 0&&qc(this.prototype,t,i)}}static getPropertyDescriptor(t,r,n){let{get:i,set:a}=Yc(this.prototype,t)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let l=i?.call(this);a.call(this,s),this.requestUpdate(t,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??$a}static _$Ei(){if(this.hasOwnProperty(gr("elementProperties")))return;let t=Qc(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(gr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(gr("properties"))){let r=this.properties,n=[...Xc(r),...Jc(r)];for(let i of n)this.createProperty(i,r[i])}let t=this[Symbol.metadata];if(t!==null){let r=litPropertyMetadata.get(t);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(t){let r=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)r.unshift(ro(i))}else t!==void 0&&r.push(ro(t));return r}static _$Eu(t,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.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(t=>this.enableUpdating=t),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$E_??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){let t=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return sn(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,r,n){this._$AK(t,n)}_$EO(t,r){let n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:br).toAttribute(r,n.type);this._$Em=t,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(t,r){let n=this.constructor,i=n._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:br;this._$Em=i,this[i]=s.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(t,r,n,i=!1,a){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??no)(i?a:this[t],r))return;this.C(t,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,r,n){this._$AL.has(t)||this._$AL.set(t,r),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let t=!1,r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(r)}willUpdate(t){}_$AE(t){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(t){}firstUpdated(t){}};Se.elementStyles=[],Se.shadowRootOptions={mode:"open"},Se[gr("elementProperties")]=new Map,Se[gr("finalized")]=new Map,ep?.({ReactiveElement:Se}),(oo.reactiveElementVersions??=[]).push("2.0.2");var cn=globalThis,io=cn.trustedTypes,ka=io?io.createPolicy("lit-html",{createHTML:e=>e}):void 0,pn="$lit$",Gt=`lit$${(Math.random()+"").slice(9)}$`,dn="?"+Gt,rp=`<${dn}>`,Ce=document,ao=()=>Ce.createComment(""),vr=e=>e===null||typeof e!="object"&&typeof e!="function",Fa=Array.isArray,za=e=>Fa(e)||typeof e?.[Symbol.iterator]=="function",ln=`[
2
- \f\r]`,xr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ma=/-->/g,Da=/>/g,Oe=RegExp(`>|${ln}(?:([^\\s"'>=/]+)(${ln}*=${ln}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Ua=/'/g,Ba=/"/g,Ha=/^(?:script|style|textarea|title)$/i,ja=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),Va=ja(1),Ka=ja(2),xt=Symbol.for("lit-noChange"),X=Symbol.for("lit-nothing"),Wa=new WeakMap,Ee=Ce.createTreeWalker(Ce,129);function Ga(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return ka!==void 0?ka.createHTML(t):t}var Za=(e,t)=>{let r=e.length-1,n=[],i,a=t===2?"<svg>":"",s=xr;for(let l=0;l<r;l++){let c=e[l],d,f,h=-1,y=0;for(;y<c.length&&(s.lastIndex=y,f=s.exec(c),f!==null);)y=s.lastIndex,s===xr?f[1]==="!--"?s=Ma:f[1]!==void 0?s=Da:f[2]!==void 0?(Ha.test(f[2])&&(i=RegExp("</"+f[2],"g")),s=Oe):f[3]!==void 0&&(s=Oe):s===Oe?f[0]===">"?(s=i??xr,h=-1):f[1]===void 0?h=-2:(h=s.lastIndex-f[2].length,d=f[1],s=f[3]===void 0?Oe:f[3]==='"'?Ba:Ua):s===Ba||s===Ua?s=Oe:s===Ma||s===Da?s=xr:(s=Oe,i=void 0);let g=s===Oe&&e[l+1].startsWith("/>")?" ":"";a+=s===xr?c+rp:h>=0?(n.push(d),c.slice(0,h)+pn+c.slice(h)+Gt+g):c+Gt+(h===-2?l:g)}return[Ga(e,a+(e[r]||"<?>")+(t===2?"</svg>":"")),n]},Sr=class e{constructor({strings:t,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,l=t.length-1,c=this.parts,[d,f]=Za(t,r);if(this.el=e.createElement(d,n),Ee.currentNode=this.el.content,r===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=Ee.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(pn)){let y=f[s++],g=i.getAttribute(h).split(Gt),b=/([.?@])?(.*)/.exec(y);c.push({type:1,index:a,name:b[2],strings:g,ctor:b[1]==="."?lo:b[1]==="?"?co:b[1]==="@"?po:Ae}),i.removeAttribute(h)}else h.startsWith(Gt)&&(c.push({type:6,index:a}),i.removeAttribute(h));if(Ha.test(i.tagName)){let h=i.textContent.split(Gt),y=h.length-1;if(y>0){i.textContent=io?io.emptyScript:"";for(let g=0;g<y;g++)i.append(h[g],ao()),Ee.nextNode(),c.push({type:2,index:++a});i.append(h[y],ao())}}}else if(i.nodeType===8)if(i.data===dn)c.push({type:2,index:a});else{let h=-1;for(;(h=i.data.indexOf(Gt,h+1))!==-1;)c.push({type:7,index:a}),h+=Gt.length-1}a++}}static createElement(t,r){let n=Ce.createElement("template");return n.innerHTML=t,n}};function we(e,t,r=e,n){if(t===xt)return t;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=vr(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(t=we(e,i._$AS(e,t.values),i,n)),t}var so=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:n}=this._$AD,i=(t?.creationScope??Ce).importNode(r,!0);Ee.currentNode=i;let a=Ee.nextNode(),s=0,l=0,c=n[0];for(;c!==void 0;){if(s===c.index){let d;c.type===2?d=new Or(a,a.nextSibling,this,t):c.type===1?d=new c.ctor(a,c.name,c.strings,this,t):c.type===6&&(d=new fo(a,this,t)),this._$AV.push(d),c=n[++l]}s!==c?.index&&(a=Ee.nextNode(),s++)}return Ee.currentNode=Ce,i}p(t){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,r),r+=n.strings.length-2):n._$AI(t[r])),r++}},Or=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,n,i){this.type=2,this._$AH=X,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=we(this,t,r),vr(t)?t===X||t==null||t===""?(this._$AH!==X&&this._$AR(),this._$AH=X):t!==this._$AH&&t!==xt&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):za(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==X&&vr(this._$AH)?this._$AA.nextSibling.data=t:this.$(Ce.createTextNode(t)),this._$AH=t}g(t){let{values:r,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=Sr.createElement(Ga(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new so(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(t){let r=Wa.get(t.strings);return r===void 0&&Wa.set(t.strings,r=new Sr(t)),r}T(t){Fa(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of t)i===r.length?r.push(n=new e(this.k(ao()),this.k(ao()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Ae=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,n,i,a){this.type=1,this._$AH=X,this._$AN=void 0,this.element=t,this.name=r,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=X}_$AI(t,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=we(this,t,r,0),s=!vr(t)||t!==this._$AH&&t!==xt,s&&(this._$AH=t);else{let l=t,c,d;for(t=a[0],c=0;c<a.length-1;c++)d=we(this,l[n+c],r,c),d===xt&&(d=this._$AH[c]),s||=!vr(d)||d!==this._$AH[c],d===X?t=X:t!==X&&(t+=(d??"")+a[c+1]),this._$AH[c]=d}s&&!i&&this.O(t)}O(t){t===X?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},lo=class extends Ae{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===X?void 0:t}},co=class extends Ae{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==X)}},po=class extends Ae{constructor(t,r,n,i,a){super(t,r,n,i,a),this.type=5}_$AI(t,r=this){if((t=we(this,t,r,0)??X)===xt)return;let n=this._$AH,i=t===X&&n!==X||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==X&&(n===X||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},fo=class{constructor(t,r,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){we(this,t)}},qa={j:pn,P:Gt,A:dn,C:1,M:Za,L:so,R:za,V:we,D:Or,I:Ae,H:co,N:po,U:lo,B:fo},op=cn.litHtmlPolyfillSupport;op?.(Sr,Or),(cn.litHtmlVersions??=[]).push("3.1.0");var uo=globalThis,Er=uo.ShadowRoot&&(uo.ShadyCSS===void 0||uo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,fn=Symbol(),Ya=new WeakMap,je=class{constructor(t,r,n){if(this._$cssResult$=!0,n!==fn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(Er&&t===void 0){let n=r!==void 0&&r.length===1;n&&(t=Ya.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Ya.set(r,t))}return t}toString(){return this.cssText}},Zt=e=>new je(typeof e=="string"?e:e+"",void 0,fn),T=(e,...t)=>{let r=e.length===1?e[0]:t.reduce((n,i,a)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+e[a+1],e[0]);return new je(r,e,fn)},ho=(e,t)=>{if(Er)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let n=document.createElement("style"),i=uo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)}},Cr=Er?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return Zt(r)})(e):e;var{is:np,defineProperty:ip,getOwnPropertyDescriptor:ap,getOwnPropertyNames:sp,getOwnPropertySymbols:lp,getPrototypeOf:cp}=Object,yo=globalThis,Xa=yo.trustedTypes,pp=Xa?Xa.emptyScript:"",dp=yo.reactiveElementPolyfillSupport,wr=(e,t)=>e,mo={toAttribute(e,t){switch(t){case Boolean:e=e?pp:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},un=(e,t)=>!np(e,t),Ja={attribute:!0,type:String,converter:mo,reflect:!1,hasChanged:un};Symbol.metadata??=Symbol("metadata"),yo.litPropertyMetadata??=new WeakMap;var Mt=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,r=Ja){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(t,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,r);i!==void 0&&ip(this.prototype,t,i)}}static getPropertyDescriptor(t,r,n){let{get:i,set:a}=ap(this.prototype,t)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let l=i?.call(this);a.call(this,s),this.requestUpdate(t,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Ja}static _$Ei(){if(this.hasOwnProperty(wr("elementProperties")))return;let t=cp(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(wr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(wr("properties"))){let r=this.properties,n=[...sp(r),...lp(r)];for(let i of n)this.createProperty(i,r[i])}let t=this[Symbol.metadata];if(t!==null){let r=litPropertyMetadata.get(t);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(t){let r=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)r.unshift(Cr(i))}else t!==void 0&&r.push(Cr(t));return r}static _$Eu(t,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.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(t=>this.enableUpdating=t),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$E_??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){let t=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return ho(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,r,n){this._$AK(t,n)}_$EO(t,r){let n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:mo).toAttribute(r,n.type);this._$Em=t,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(t,r){let n=this.constructor,i=n._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:mo;this._$Em=i,this[i]=s.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(t,r,n,i=!1,a){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??un)(i?a:this[t],r))return;this.C(t,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,r,n){this._$AL.has(t)||this._$AL.set(t,r),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let t=!1,r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(r)}willUpdate(t){}_$AE(t){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(t){}firstUpdated(t){}};Mt.elementStyles=[],Mt.shadowRootOptions={mode:"open"},Mt[wr("elementProperties")]=new Map,Mt[wr("finalized")]=new Map,dp?.({ReactiveElement:Mt}),(yo.reactiveElementVersions??=[]).push("2.0.2");var mn=globalThis,go=mn.trustedTypes,Qa=go?go.createPolicy("lit-html",{createHTML:e=>e}):void 0,yn="$lit$",qt=`lit$${(Math.random()+"").slice(9)}$`,gn="?"+qt,fp=`<${gn}>`,_e=document,Rr=()=>_e.createComment(""),Nr=e=>e===null||typeof e!="object"&&typeof e!="function",is=Array.isArray,as=e=>is(e)||typeof e?.[Symbol.iterator]=="function",hn=`[
4
- \f\r]`,Ar=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ts=/-->/g,es=/>/g,Re=RegExp(`>|${hn}(?:([^\\s"'>=/]+)(${hn}*=${hn}*(?:[^
5
- \f\r"'\`<>=]|("|')|))|$)`,"g"),rs=/'/g,os=/"/g,ss=/^(?:script|style|textarea|title)$/i,ls=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),D=ls(1),up=ls(2),ne=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),ns=new WeakMap,Ne=_e.createTreeWalker(_e,129);function cs(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Qa!==void 0?Qa.createHTML(t):t}var ps=(e,t)=>{let r=e.length-1,n=[],i,a=t===2?"<svg>":"",s=Ar;for(let l=0;l<r;l++){let c=e[l],d,f,h=-1,y=0;for(;y<c.length&&(s.lastIndex=y,f=s.exec(c),f!==null);)y=s.lastIndex,s===Ar?f[1]==="!--"?s=ts:f[1]!==void 0?s=es:f[2]!==void 0?(ss.test(f[2])&&(i=RegExp("</"+f[2],"g")),s=Re):f[3]!==void 0&&(s=Re):s===Re?f[0]===">"?(s=i??Ar,h=-1):f[1]===void 0?h=-2:(h=s.lastIndex-f[2].length,d=f[1],s=f[3]===void 0?Re:f[3]==='"'?os:rs):s===os||s===rs?s=Re:s===ts||s===es?s=Ar:(s=Re,i=void 0);let g=s===Re&&e[l+1].startsWith("/>")?" ":"";a+=s===Ar?c+fp:h>=0?(n.push(d),c.slice(0,h)+yn+c.slice(h)+qt+g):c+qt+(h===-2?l:g)}return[cs(e,a+(e[r]||"<?>")+(t===2?"</svg>":"")),n]},_r=class e{constructor({strings:t,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,l=t.length-1,c=this.parts,[d,f]=ps(t,r);if(this.el=e.createElement(d,n),Ne.currentNode=this.el.content,r===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=Ne.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(yn)){let y=f[s++],g=i.getAttribute(h).split(qt),b=/([.?@])?(.*)/.exec(y);c.push({type:1,index:a,name:b[2],strings:g,ctor:b[1]==="."?xo:b[1]==="?"?vo:b[1]==="@"?So:Te}),i.removeAttribute(h)}else h.startsWith(qt)&&(c.push({type:6,index:a}),i.removeAttribute(h));if(ss.test(i.tagName)){let h=i.textContent.split(qt),y=h.length-1;if(y>0){i.textContent=go?go.emptyScript:"";for(let g=0;g<y;g++)i.append(h[g],Rr()),Ne.nextNode(),c.push({type:2,index:++a});i.append(h[y],Rr())}}}else if(i.nodeType===8)if(i.data===gn)c.push({type:2,index:a});else{let h=-1;for(;(h=i.data.indexOf(qt,h+1))!==-1;)c.push({type:7,index:a}),h+=qt.length-1}a++}}static createElement(t,r){let n=_e.createElement("template");return n.innerHTML=t,n}};function Pe(e,t,r=e,n){if(t===ne)return t;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=Nr(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(t=Pe(e,i._$AS(e,t.values),i,n)),t}var bo=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:n}=this._$AD,i=(t?.creationScope??_e).importNode(r,!0);Ne.currentNode=i;let a=Ne.nextNode(),s=0,l=0,c=n[0];for(;c!==void 0;){if(s===c.index){let d;c.type===2?d=new Ve(a,a.nextSibling,this,t):c.type===1?d=new c.ctor(a,c.name,c.strings,this,t):c.type===6&&(d=new Oo(a,this,t)),this._$AV.push(d),c=n[++l]}s!==c?.index&&(a=Ne.nextNode(),s++)}return Ne.currentNode=_e,i}p(t){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,r),r+=n.strings.length-2):n._$AI(t[r])),r++}},Ve=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,n,i){this.type=2,this._$AH=j,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=Pe(this,t,r),Nr(t)?t===j||t==null||t===""?(this._$AH!==j&&this._$AR(),this._$AH=j):t!==this._$AH&&t!==ne&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):as(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==j&&Nr(this._$AH)?this._$AA.nextSibling.data=t:this.$(_e.createTextNode(t)),this._$AH=t}g(t){let{values:r,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=_r.createElement(cs(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new bo(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(t){let r=ns.get(t.strings);return r===void 0&&ns.set(t.strings,r=new _r(t)),r}T(t){is(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of t)i===r.length?r.push(n=new e(this.k(Rr()),this.k(Rr()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Te=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,n,i,a){this.type=1,this._$AH=j,this._$AN=void 0,this.element=t,this.name=r,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=j}_$AI(t,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=Pe(this,t,r,0),s=!Nr(t)||t!==this._$AH&&t!==ne,s&&(this._$AH=t);else{let l=t,c,d;for(t=a[0],c=0;c<a.length-1;c++)d=Pe(this,l[n+c],r,c),d===ne&&(d=this._$AH[c]),s||=!Nr(d)||d!==this._$AH[c],d===j?t=j:t!==j&&(t+=(d??"")+a[c+1]),this._$AH[c]=d}s&&!i&&this.O(t)}O(t){t===j?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},xo=class extends Te{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===j?void 0:t}},vo=class extends Te{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==j)}},So=class extends Te{constructor(t,r,n,i,a){super(t,r,n,i,a),this.type=5}_$AI(t,r=this){if((t=Pe(this,t,r,0)??j)===ne)return;let n=this._$AH,i=t===j&&n!==j||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==j&&(n===j||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Oo=class{constructor(t,r,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){Pe(this,t)}},hp={j:yn,P:qt,A:gn,C:1,M:ps,L:bo,R:as,V:Pe,D:Ve,I:Te,H:vo,N:So,U:xo,B:Oo},mp=mn.litHtmlPolyfillSupport;mp?.(_r,Ve),(mn.litHtmlVersions??=[]).push("3.1.0");var bn=(e,t,r)=>{let n=r?.renderBefore??t,i=n._$litPart$;if(i===void 0){let a=r?.renderBefore??null;n._$litPart$=i=new Ve(t.insertBefore(Rr(),a),a,void 0,r??{})}return i._$AI(e),i};var Yt=class extends Mt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=bn(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ne}};Yt._$litElement$=!0,Yt.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Yt});var yp=globalThis.litElementPolyfillSupport;yp?.({LitElement:Yt});var gp={_$AK:(e,t,r)=>{e._$AK(t,r)},_$AL:e=>e._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Kf=!1;var On={};Z(On,{customElement:()=>bp,eventOptions:()=>Ke,property:()=>S,query:()=>it,queryAll:()=>Sp,queryAssignedElements:()=>vn,queryAssignedNodes:()=>Sn,queryAsync:()=>Op,standardProperty:()=>ds,state:()=>J});var bp=e=>(t,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var xp={attribute:!0,type:String,converter:br,reflect:!1,hasChanged:no},ds=(e=xp,t,r)=>{let{kind:n,metadata:i}=r,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(r.name,e),n==="accessor"){let{name:s}=r;return{set(l){let c=t.get.call(this);t.set.call(this,l),this.requestUpdate(s,c,e)},init(l){return l!==void 0&&this.C(s,void 0,e),l}}}if(n==="setter"){let{name:s}=r;return function(l){let c=this[s];t.call(this,l),this.requestUpdate(s,c,e)}}throw Error("Unsupported decorator location: "+n)};function S(e){return(t,r)=>typeof r=="object"?ds(e,t,r):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(e,t,r)}function J(e){return S({...e,state:!0,attribute:!1})}function Ke(e){return(t,r)=>{let n=typeof t=="function"?t:t[r];Object.assign(n,e)}}var Tt=(e,t,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,r),r);function it(e,t){return(r,n,i)=>{let a=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:l}=typeof n=="object"?r:i??(()=>{let c=Symbol();return{get(){return this[c]},set(d){this[c]=d}}})();return Tt(r,n,{get(){let c=s.call(this);return c===void 0&&(c=a(this),(c!==null||this.hasUpdated)&&l.call(this,c)),c}})}return Tt(r,n,{get(){return a(this)}})}}var vp;function Sp(e){return(t,r)=>Tt(t,r,{get(){return(this.renderRoot??(vp??=document.createDocumentFragment())).querySelectorAll(e)}})}function Op(e){return(t,r)=>Tt(t,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function vn(e){return(t,r)=>{let{slot:n,selector:i}=e??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Tt(t,r,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(e)??[];return i===void 0?l:l.filter(c=>c.matches(i))}})}}function Sn(e){return(t,r)=>{let{slot:n}=e??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Tt(t,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(e)??[]}})}}var Cn={};Z(Cn,{repeat:()=>En});var ie={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ae=e=>(...t)=>({_$litDirective$:e,values:t}),Dt=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,r,n){this._$Ct=t,this._$AM=r,this._$Ci=n}_$AS(t,r){return this.update(t,r)}update(t,r){return this.render(...r)}};var{D:Ep}=qa;var fs=()=>document.createComment(""),Ge=(e,t,r)=>{let n=e._$AA.parentNode,i=t===void 0?e._$AB:t._$AA;if(r===void 0){let a=n.insertBefore(fs(),i),s=n.insertBefore(fs(),i);r=new Ep(a,s,e,e.options)}else{let a=r._$AB.nextSibling,s=r._$AM,l=s!==e;if(l){let c;r._$AQ?.(e),r._$AM=e,r._$AP!==void 0&&(c=e._$AU)!==s._$AU&&r._$AP(c)}if(a!==i||l){let c=r._$AA;for(;c!==a;){let d=c.nextSibling;n.insertBefore(c,i),c=d}}}return r},se=(e,t,r=e)=>(e._$AI(t,r),e),Cp={},us=(e,t=Cp)=>e._$AH=t,hs=e=>e._$AH,Eo=e=>{e._$AP?.(!1,!0);let t=e._$AA,r=e._$AB.nextSibling;for(;t!==r;){let n=t.nextSibling;t.remove(),t=n}};var ms=(e,t,r)=>{let n=new Map;for(let i=t;i<=r;i++)n.set(e[i],i);return n},En=ae(class extends Dt{constructor(e){if(super(e),e.type!==ie.CHILD)throw Error("repeat() can only be used in text expressions")}ht(e,t,r){let n;r===void 0?r=t:t!==void 0&&(n=t);let i=[],a=[],s=0;for(let l of e)i[s]=n?n(l,s):s,a[s]=r(l,s),s++;return{values:a,keys:i}}render(e,t,r){return this.ht(e,t,r).values}update(e,[t,r,n]){let i=hs(e),{values:a,keys:s}=this.ht(t,r,n);if(!Array.isArray(i))return this.dt=s,a;let l=this.dt??=[],c=[],d,f,h=0,y=i.length-1,g=0,b=a.length-1;for(;h<=y&&g<=b;)if(i[h]===null)h++;else if(i[y]===null)y--;else if(l[h]===s[g])c[g]=se(i[h],a[g]),h++,g++;else if(l[y]===s[b])c[b]=se(i[y],a[b]),y--,b--;else if(l[h]===s[b])c[b]=se(i[h],a[b]),Ge(e,c[b+1],i[h]),h++,b--;else if(l[y]===s[g])c[g]=se(i[y],a[g]),Ge(e,i[h],i[y]),y--,g++;else if(d===void 0&&(d=ms(s,g,b),f=ms(l,h,y)),d.has(l[h]))if(d.has(l[y])){let E=f.get(s[g]),R=E!==void 0?i[E]:null;if(R===null){let N=Ge(e,i[h]);se(N,a[g]),c[g]=N}else c[g]=se(R,a[g]),Ge(e,i[h],R),i[E]=null;g++}else Eo(i[y]),y--;else Eo(i[h]),h++;for(;g<=b;){let E=Ge(e,c[b+1]);se(E,a[g]),c[g++]=E}for(;h<=y;){let E=i[h++];E!==null&&Eo(E)}return this.dt=s,us(e,c),xt}});var wn={};Z(wn,{classMap:()=>Xt});var Xt=ae(class extends Dt{constructor(e){if(super(e),e.type!==ie.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.it===void 0){this.it=new Set,e.strings!==void 0&&(this.st=new Set(e.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in t)t[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(t)}let r=e.element.classList;for(let n of this.it)n in t||(r.remove(n),this.it.delete(n));for(let n in t){let i=!!t[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 xt}});var An={};Z(An,{styleMap:()=>Ap});var ys="important",wp=" !"+ys,Ap=ae(class extends Dt{constructor(e){if(super(e),e.type!==ie.ATTRIBUTE||e.name!=="style"||e.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(e){return Object.keys(e).reduce((t,r)=>{let n=e[r];return n==null?t:t+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(e,[t]){let{style:r}=e.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(t)),this.render(t);for(let n of this.ut)t[n]==null&&(this.ut.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in t){let i=t[n];if(i!=null){this.ut.add(n);let a=typeof i=="string"&&i.endsWith(wp);n.includes("-")||a?r.setProperty(n,a?i.slice(0,-11):i,a?ys:""):r[n]=i}}return xt}});var Nn={};Z(Nn,{UnsafeHTMLDirective:()=>Ze,unsafeHTML:()=>Rn});var Ze=class extends Dt{constructor(t){if(super(t),this.et=X,t.type!==ie.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===X||t==null)return this.vt=void 0,this.et=t;if(t===xt)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;let r=[t];return r.raw=r,this.vt={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Ze.directiveName="unsafeHTML",Ze.resultType=1;var Rn=ae(Ze);var Tn={};Z(Tn,{CacheRegistry:()=>Ut});var Pn={};Z(Pn,{CancelablePromise:()=>qe,CanceledPromiseError:()=>Pr,cancelable:()=>_n});var Pr=class extends Error{constructor(t,r,n){super(t),this.canceledPromiseResult=r,this.canceledPromiseError=n}},qe=class extends Promise{constructor(t){super((r,n)=>t(i=>{this.isCanceled?n(new Pr("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new Pr("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},_n=e=>new qe((t,r)=>e.then(t).catch(r));var Ut=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,r){this.loaders[t]=r,this.finalContent.delete(t)}registerFinal(t,r){this.loaders[t]=r,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof qe&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){this.clearTimeouts[t]!=null&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,r){this.forceClear(t),this.register(t,async()=>r),this.content[t]=r}setFinal(t,r){this.forceClear(t),this.registerFinal(t,async()=>r),this.content[t]=r}async get(t,r,n){if(this.content[t]===void 0){if(r=r??this.loaders[t],r==null)throw new Error("Unknown cache key "+t);let i=_n(r());return this.content[t]=i,i.then(a=>(this.content[t]=a,n!=null&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout(()=>this.clear(t),n)),a))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return t!=null&&!(t instanceof Promise)&&!(t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return this.content[t]!=null}resolvedKeys(){return Object.keys(this.content).filter(t=>this.isResolvedValue(this.content[t]))}resolvedValues(){return Object.values(this.content).filter(t=>this.isResolvedValue(t))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var Ln={};Z(Ln,{ClusteringHelper:()=>Tr});var Tr=class e{constructor(t,r,n,i){this.allResults=t,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(t,r){var n,i;let a=((i=(n=t?.map)!==null&&n!==void 0?n:t?.document)!==null&&i!==void 0?i:t?.topic).metadata;return r==null?e.flattenMetadata(a):e.flattenMetadata(a.find(s=>s.key===r))}static flattenMetadata(t){if(Array.isArray(t))return t.map(n=>e.flattenMetadata(n)).filter(n=>n!=null);let r=t?.hierarchicalValues!=null&&t.hierarchicalValues.length>0;if(!(t==null||t.values.length==0&&!r))if(r){let n=[],i=[];return t.hierarchicalValues.forEach(a=>{n.push(a.join(" > ")),a.length>2?i.push(`... > ${a[a.length-1]}`):i.push(a.join(" > "))}),{key:t.key,label:t.label,value:n.join(", "),displayValue:i.join(", ")}}else{let n=t.values.join(", ");return{key:t.key,label:t.label,value:n,displayValue:n}}}computeClustersItemsForMetadata(t,r,n="No value"){var i,a;let s=e.extractResultMetadata(this.selectedResult,t),l=(i=s?.label)!==null&&i!==void 0?i:(a=this.getMetadataDescriptor(t))===null||a===void 0?void 0:a.label;return this.allResults.map(d=>e.extractResultMetadata(d,t)).map(d=>d??{key:t,label:l,value:void 0,displayValue:n}).filter(d=>d.value!=s?.value).filter((d,f,h)=>h.findIndex(y=>y.value===d.value)===f).map(d=>({result:this.findBestResultForMetadataValue(t,d.value),metadata:d})).sort((d,f)=>this.compareMetadata(d.metadata.value,f.metadata.value,t,r))}compareMetadata(t,r,n,i){if(t==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let c=t.localeCompare(r,i,{numeric:!0});return l?c*-1:c}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(r=>t==r.key)}findBestResultForMetadataValue(t,r){let n=this.allResults.filter(c=>{var d;return((d=e.extractResultMetadata(c,t))===null||d===void 0?void 0:d.value)==r}),a=[...e.extractResultMetadata(this.selectedResult).filter(c=>this.clusteringMetadata.has(c.key)).filter(c=>c.key!==t)],s,l=-1;for(let c of n){let d=this.countMatchingMetadata(c,a);if(d>l&&(l=d,s=c,d===a.length))break}return s}countMatchingMetadata(t,r){return e.extractResultMetadata(t).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}};var In={};Z(In,{Debouncer:()=>vt});var vt=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,r){return this.callbacks=[t],this.debounce(r)}queue(t,r){return this.callbacks.push(t),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,r;let n=[...this.callbacks];this.callbacks=[];let i=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){i(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 Mn={};Z(Mn,{customElement:()=>K,isNumber:()=>vs,jsonProperty:()=>At,optionalNumberProperty:()=>Lp});var kn={};Z(kn,{dateReviver:()=>Np,deepEqual:()=>Lt,delay:()=>Co,eventPathContainsMatchingElement:()=>$n,flatDeep:()=>bs,hasChanged:()=>Lr,last:()=>Tp,minmax:()=>Pp,parseDate:()=>xs,waitFor:()=>gs,waitUntil:()=>Rp});var Co=e=>new Promise(t=>setTimeout(t,e));async function Rp(e,t=10,r=2e4){await gs(async()=>await e()||void 0,t,r)}async function gs(e,t=10,r=2e4){let n=await e(),i,a;for(i=a=performance.now();n==null&&(!r||a-i<r);)await Co(t),n=await e(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function bs(e,t){return e.flatMap(r=>[r,...bs(t(r),t)])}function Np(...e){return function(t,r){return e.includes(t)?xs(r):r}}function xs(e){return e.match(/^\d{4}-\d{2}-\d{2}$/)&&(e=e.replace(/-/g,"/")),e=e.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(t,r,n,i)=>r+n+":"+i),new Date(e)}function _p(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var r,n,i;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!Lt(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!Lt(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(i=Object.keys(e),r=i.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;for(n=r;n--!==0;){var a=i[n];if(!Lt(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function Lt(e,t){try{return _p(e,t)}catch{return!1}}function Lr(e,t){return!Lt(e,t)}function $n(e,t,r=window.document.body){if(t.length>0){let n=e.composedPath();for(let i of n){if(i===r)return!1;if(i.matches&&t.some(a=>i.matches(a)))return!0}}return!1}function Pp(e,t,r){return Math.min(Math.max(e,t),r)}function Tp(e){return e[e.length-1]}var K=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function At(e,t){let r=()=>JSON.parse(JSON.stringify(e));return S({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Lr,...t??{}})}function Lp(e){return S({type:Object,converter:{fromAttribute:t=>{if(t!=null)return vs(t)?+t:void 0},toAttribute:t=>t==null?void 0:""+t},...e??{}})}function vs(e){return!isNaN(parseFloat(e))}var di={};Z(di,{designSystemVariables:()=>M});var pi={};Z(pi,{DesignSystemFamily:()=>li,DesignSystemSize:()=>ci,FtCssVariableFactory:()=>o,badge:()=>Dp,banner:()=>Mp,breadcrumb:()=>Up,button:()=>_,chart:()=>Xp,checkbox:()=>Qp,chip:()=>$p,collapsible:()=>qp,comboboxMultiSelect:()=>Kp,comboboxSingleSelect:()=>Vp,drawer:()=>Fp,floatingMenu:()=>jp,foundation:()=>p,link:()=>kp,modal:()=>Wp,notice:()=>Jp,notification:()=>rd,pageHeader:()=>Bp,popover:()=>Gp,radio:()=>ed,resolveFamilyClass:()=>nd,resolveSizeClass:()=>id,semantic:()=>u,setVariable:()=>I,switch_:()=>Yp,tabs:()=>Zp,textArea:()=>Hp,textInput:()=>zp,toggle:()=>td,tooltip:()=>od,typographies:()=>Ir,typographyBody1Medium:()=>zn,typographyBody1Regular:()=>Fn,typographyBody1Semibold:()=>Hn,typographyBody2Medium:()=>Vn,typographyBody2MediumUnderline:()=>Ss,typographyBody2Regular:()=>jn,typographyBody2Semibold:()=>Kn,typographyCaption1Bold:()=>ei,typographyCaption1Medium:()=>Qn,typographyCaption1Semibold:()=>ti,typographyCaption2Bold:()=>ni,typographyCaption2Medium:()=>ri,typographyCaption2Semibold:()=>oi,typographyCaption3Bold:()=>si,typographyCaption3Medium:()=>ii,typographyCaption3Semibold:()=>ai,typographyDisplay:()=>Dn,typographyLabel1Bold:()=>qn,typographyLabel1Medium:()=>Gn,typographyLabel1Semibold:()=>Zn,typographyLabel2Bold:()=>Jn,typographyLabel2Medium:()=>Yn,typographyLabel2Semibold:()=>Xn,typographyTitle1:()=>Un,typographyTitle2:()=>Bn,typographyTitle3:()=>Wn,typographyVariants:()=>Ip});var Jt=e=>typeof e=="string"?Zt(e):e,o=class{static create(t,r,n,i){let a=l=>Jt(l??i),s=T`var(${Jt(t)}, ${a(i)})`;return s.name=t,s.description=r,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>T`var(${Jt(t)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,r,n,i){let a=l=>n.get(l??i),s=T`var(${Jt(t)}, ${a(i)})`;return s.name=t,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>T`var(${Jt(t)}, ${a(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(t,r){let n=a=>t.fallbackVariable?t.fallbackVariable.get(a??t.defaultValue):Jt(a??t.lastResortDefaultValue()),i=T`var(${Jt(t.name)}, ${n(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=r,i.defaultCssValue=n,i.get=a=>T`var(${Jt(t.name)}, ${n(a)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};function I(e,t){return Jt(`${e.name}: ${t}`)}var p={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)")},Dn={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")},Un={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")},Bn={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")},Wn={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")},Fn={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")},zn={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")},Hn={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")},jn={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")},Vn={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")},Ss={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")},Kn={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")},Gn={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")},Zn={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")},qn={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")},Yn={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")},Xn={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")},Jn={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")},Qn={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")},ti={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")},ei={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")},ri={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")},oi={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")},ni={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")},ii={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")},ai={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")},si={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")},Ir={display:Dn,"title-1":Un,"title-2":Bn,"title-3":Wn,"body-1-regular":Fn,"body-1-medium":zn,"body-1-semibold":Hn,"body-2-regular":jn,"body-2-medium":Vn,"body-2-medium-underline":Ss,"body-2-semibold":Kn,"label-1-medium":Gn,"label-1-semibold":Zn,"label-1-bold":qn,"label-2-medium":Yn,"label-2-semibold":Xn,"label-2-bold":Jn,"caption-1-medium":Qn,"caption-1-semibold":ti,"caption-1-bold":ei,"caption-2-medium":ri,"caption-2-semibold":oi,"caption-2-bold":ni,"caption-3-medium":ii,"caption-3-semibold":ai,"caption-3-bold":si},Ip=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var u={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",p.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",p.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",p.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",p.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",p.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",p.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",p.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",p.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",p.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",p.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",p.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",p.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",p.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",p.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",p.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",p.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",p.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",p.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
6
- Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",p.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",p.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",p.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",p.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",p.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",p.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",p.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",p.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",p.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",p.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",p.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",p.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",p.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",p.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",p.colorGray80)};var _={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",p.spacing4),largeGap:o.extend("--ft-button-large-gap","",p.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",p.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",p.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","",p.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",p.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",p.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",p.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","",p.spacing2),smallGap:o.extend("--ft-button-small-gap","",p.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",p.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",p.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","",p.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","",p.borderRadiusPill),primaryBackgroundColor:o.extend("--ft-button-primary-background-color","",u.backgroundActionPrimary),primaryColor:o.extend("--ft-button-primary-color","",u.contentGlobalOnColor),primaryIconColor:o.extend("--ft-button-primary-icon-color","",u.contentGlobalOnColor),primaryStateLayerColor:o.extend("--ft-button-primary-state-layer-color","",u.contentGlobalOnColor),primaryHoverStateLayerOpacity:o.extend("--ft-button-primary-hover-state-layer-opacity","",p.opacity16),primaryFocusStateLayerOpacity:o.extend("--ft-button-primary-focus-state-layer-opacity","",p.opacity16),primaryActiveStateLayerOpacity:o.extend("--ft-button-primary-active-state-layer-opacity","",p.opacity24),primaryDisabledComponentOpacity:o.extend("--ft-button-primary-disabled-component-opacity","",p.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBackgroundColor:o.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:o.extend("--ft-button-tertiary-color","",u.contentActionPrimary),tertiaryIconColor:o.extend("--ft-button-tertiary-icon-color","",u.contentActionPrimary),tertiaryStateLayerColor:o.extend("--ft-button-tertiary-state-layer-color","",u.contentActionPrimary),tertiaryHoverStateLayerOpacity:o.extend("--ft-button-tertiary-hover-state-layer-opacity","",p.opacity8),tertiaryFocusStateLayerOpacity:o.extend("--ft-button-tertiary-focus-state-layer-opacity","",p.opacity8),tertiaryActiveStateLayerOpacity:o.extend("--ft-button-tertiary-active-state-layer-opacity","",p.opacity16),tertiaryDisabledComponentOpacity:o.extend("--ft-button-tertiary-disabled-component-opacity","",p.opacity40),secondaryBackgroundColor:o.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:o.extend("--ft-button-secondary-color","",u.contentActionPrimary),secondaryIconColor:o.extend("--ft-button-secondary-icon-color","",u.contentActionPrimary),secondaryStateLayerColor:o.extend("--ft-button-secondary-state-layer-color","",u.contentActionPrimary),secondaryHoverStateLayerOpacity:o.extend("--ft-button-secondary-hover-state-layer-opacity","",p.opacity8),secondaryFocusStateLayerOpacity:o.extend("--ft-button-secondary-focus-state-layer-opacity","",p.opacity8),secondaryActiveStateLayerOpacity:o.extend("--ft-button-secondary-active-state-layer-opacity","",p.opacity16),secondaryDisabledComponentOpacity:o.extend("--ft-button-secondary-disabled-component-opacity","",p.opacity40),secondaryBorderColor:o.extend("--ft-button-secondary-border-color","",u.borderActionPrimary),neutralBackgroundColor:o.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:o.extend("--ft-button-neutral-icon-color","",u.contentGlobalSecondary),neutralColor:o.extend("--ft-button-neutral-color","",u.contentGlobalSecondary),neutralStateLayerColor:o.extend("--ft-button-neutral-state-layer-color","",u.contentGlobalSecondary),neutralHoverStateLayerOpacity:o.extend("--ft-button-neutral-hover-state-layer-opacity","",p.opacity8),neutralFocusStateLayerOpacity:o.extend("--ft-button-neutral-focus-state-layer-opacity","",p.opacity8),neutralActiveStateLayerOpacity:o.extend("--ft-button-neutral-active-state-layer-opacity","",p.opacity16),neutralDisabledComponentOpacity:o.extend("--ft-button-neutral-disabled-component-opacity","",p.opacity40)};var $p={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",p.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",p.spacing1),largeGap:o.extend("--ft-chip-large-gap","",p.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.extend("--ft-chip-large-border-radius","",p.borderRadiusPill),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",p.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",p.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",p.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",p.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.extend("--ft-chip-medium-border-radius","",p.borderRadiusPill),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",p.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",p.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",p.spacing05),smallGap:o.extend("--ft-chip-small-gap","",p.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.extend("--ft-chip-small-border-radius","",p.borderRadiusPill),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",p.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)};var kp={focusOpacity:o.extend("--ft-link-focus-opacity","",p.opacity80),focusFocusRingColor:o.extend("--ft-link-focus-focus-ring-color","",u.borderActionFocusRing),brandColor:o.extend("--ft-link-brand-color","",u.contentActionPrimary),infoColor:o.extend("--ft-link-info-color","",u.contentInfoPrimary)};var Mp={iconSize:o.extend("--ft-banner-icon-size","",p.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",p.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",p.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",p.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",p.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",p.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",p.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",p.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",u.borderInfoSubtle)};var Dp={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",p.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",p.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",p.borderRadiusPill),color:o.extend("--ft-badge-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",u.contentActionPrimary)};var Up={horizontalGap:o.extend("--ft-breadcrumb-horizontal-gap","",p.spacing1),verticalGap:o.extend("--ft-breadcrumb-vertical-gap","",p.spacing2),currentColor:o.extend("--ft-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:o.extend("--ft-breadcrumb-icon-color","",u.contentGlobalSubtle)};var Bp={horizontalPadding:o.extend("--ft-page-header-horizontal-padding","",p.spacing12),horizontalGap:o.extend("--ft-page-header-horizontal-gap","",p.spacing4),verticalGap:o.extend("--ft-page-header-vertical-gap","",p.spacing2),classicVerticalPadding:o.extend("--ft-page-header-classic-vertical-padding","",p.spacing6),multilineVerticalPadding:o.extend("--ft-page-header-multiline-vertical-padding","",p.spacing4),inlineVerticalPadding:o.extend("--ft-page-header-inline-vertical-padding","",p.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",p.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",u.borderGlobalSubtle),titleColor:o.extend("--ft-page-header-title-color","",u.contentGlobalPrimary),subtitleColor:o.extend("--ft-page-header-subtitle-color","",u.contentGlobalSecondary)};var Wp={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","",p.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",p.opacity40),shadow:o.extend("--ft-modal-shadow","",p.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",p.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",p.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",p.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",p.spacing6),containerMargin:o.extend("--ft-modal-container-margin","",p.spacing3),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-modal-header-trailing-icon-color","",u.contentGlobalSecondary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",p.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",p.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",p.spacing6),headerGap:o.extend("--ft-modal-header-gap","",p.spacing2),headerBorderBottom:o.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",p.borderRadiusM)};var Fp={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",p.opacity40),shadow:o.extend("--ft-drawer-shadow","",p.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",p.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",p.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",p.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",p.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",p.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",p.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",p.spacing4),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",p.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",p.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","",p.colorGray700)};var zp={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",p.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",p.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",p.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",p.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",p.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",p.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",p.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",u.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","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",u.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","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",p.opacity40)};var Hp={backgroundColor:o.extend("--ft-text-area-background-color","",p.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",u.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","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",u.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","",p.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",p.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",p.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",p.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",p.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",p.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",p.borderRadiusM)};var jp={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",p.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",p.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",p.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",p.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",p.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",p.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",p.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",u.backgroundGlobalOnSurface)};var Vp={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",p.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",p.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",p.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",p.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",p.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",p.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",p.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",p.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",p.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",u.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","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",p.opacity40)};var Kp={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",p.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.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","",p.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",p.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",p.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",p.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",p.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",p.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",p.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",p.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",p.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",p.borderRadiusM)};var Gp={backgroundColor:o.extend("--ft-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",p.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",p.spacing6),titleColor:o.extend("--ft-popover-title-color","",u.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",u.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",u.contentActionPrimary),gap:o.extend("--ft-popover-gap","",p.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",p.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",p.shadowElevation02)};var Zp={topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",p.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",p.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",p.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",p.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",p.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",p.spacing1),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",p.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",p.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",p.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",p.opacity40),offColor:o.extend("--ft-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",p.opacity8),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",p.opacity0),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",p.opacity8),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",p.opacity16),onColor:o.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",p.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",p.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",p.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",p.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var qp={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",p.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",p.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",p.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",p.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",p.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",p.spacing3),color:o.extend("--ft-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",p.iconSize3)};var Yp={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",p.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",p.spacing1),groupGap:o.extend("--ft-switch-group-gap","",p.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",p.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",p.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",p.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",p.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",p.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",p.opacity40),offColor:o.extend("--ft-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",p.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",p.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",p.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",p.opacity40),onColor:o.extend("--ft-switch-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",p.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",p.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",p.borderRadiusS)};var Xp={color1Light:o.extend("--ft-chart-1-light","for area color charts",p.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",p.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",p.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",p.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",p.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",p.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",p.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",p.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",p.colorRed40),color5Base:o.extend("--ft-chart-5-base","",p.colorRed60),color6Light:o.extend("--ft-chart-6-light","",p.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",p.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",p.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",p.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",p.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",p.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",p.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",p.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",p.colorGray50),color10Base:o.extend("--ft-chart-10-base","",p.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",p.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",p.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",p.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",p.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",p.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",p.colorBrand200)};var Jp={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",p.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",p.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",p.borderRadiusS),gap:o.extend("--ft-notice-gap","",p.spacing2),iconSize:o.extend("--ft-notice-icon-size","",p.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly)};var Qp={color:o.extend("--ft-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",p.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",p.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",p.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",p.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",p.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",p.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",p.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",p.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",p.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",p.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",u.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","",p.spacing3)};var td={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",p.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",p.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",p.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",p.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",p.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",p.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",p.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",p.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:o.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",p.spacing3)};var ed={color:o.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",p.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",p.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",p.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",p.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",p.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",p.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",p.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",p.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",u.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","",p.spacing3)};var rd={iconSize:o.extend("--ft-notification-icon-size","",p.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",p.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",p.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",p.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",u.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",p.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",p.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",p.spacing8)};var od={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",p.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",p.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",p.borderRadiusS),color:o.extend("--ft-tooltip-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",p.opacity80),shadow:o.extend("--ft-tooltip-shadow","",p.shadowElevation03),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",p.spacing05)};var li;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(li||(li={}));var ci;(function(e){e.large="large",e.medium="medium",e.small="small"})(ci||(ci={}));function nd(e){return`design-system--family-${e}`}function id(e){return`design-system--size-${e}`}var M={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 mi={};Z(mi,{FtNotificationEvent:()=>fi,PostResizeEvent:()=>hi,PreResizeEvent:()=>ui});var fi=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},ui=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},hi=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var Ai={};Z(Ai,{computeOffsetPosition:()=>Br});var Es=["top","right","bottom","left"],Os=["start","end"],gi=Es.reduce((e,t)=>e.concat(t,t+"-"+Os[0],t+"-"+Os[1]),[]),$r=Math.min,le=Math.max,kr=Math.round;var Qt=e=>({x:e,y:e}),ad={left:"right",right:"left",bottom:"top",top:"bottom"},sd={start:"end",end:"start"};function bi(e,t,r){return le(e,$r(t,r))}function wo(e,t){return typeof e=="function"?e(t):e}function Ye(e){return e.split("-")[0]}function ce(e){return e.split("-")[1]}function xi(e){return e==="x"?"y":"x"}function vi(e){return e==="y"?"height":"width"}function Ao(e){return["top","bottom"].includes(Ye(e))?"y":"x"}function Si(e){return xi(Ao(e))}function Cs(e,t,r){r===void 0&&(r=!1);let n=ce(e),i=Si(e),a=vi(i),s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=yi(s)),[s,yi(s)]}function ws(e){return e.replace(/start|end/g,t=>sd[t])}function yi(e){return e.replace(/left|right|bottom|top/g,t=>ad[t])}function ld(e){return{top:0,right:0,bottom:0,left:0,...e}}function As(e){return typeof e!="number"?ld(e):{top:e,right:e,bottom:e,left:e}}function Le(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Rs(e,t,r){let{reference:n,floating:i}=e,a=Ao(t),s=Si(t),l=vi(s),c=Ye(t),d=a==="y",f=n.x+n.width/2-i.width/2,h=n.y+n.height/2-i.height/2,y=n[l]/2-i[l]/2,g;switch(c){case"top":g={x:f,y:n.y-i.height};break;case"bottom":g={x:f,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:h};break;case"left":g={x:n.x-i.width,y:h};break;default:g={x:n.x,y:n.y}}switch(ce(t)){case"start":g[s]-=y*(r&&d?-1:1);break;case"end":g[s]+=y*(r&&d?-1:1);break}return g}var Ns=async(e,t,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=r,l=a.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(t)),d=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:f,y:h}=Rs(d,n,c),y=n,g={},b=0;for(let E=0;E<l.length;E++){let{name:R,fn:N}=l[E],{x:P,y:O,data:v,reset:C}=await N({x:f,y:h,initialPlacement:n,placement:y,strategy:i,middlewareData:g,rects:d,platform:s,elements:{reference:e,floating:t}});if(f=P??f,h=O??h,g={...g,[R]:{...g[R],...v}},C&&b<=50){b++,typeof C=="object"&&(C.placement&&(y=C.placement),C.rects&&(d=C.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):C.rects),{x:f,y:h}=Rs(d,y,c)),E=-1;continue}}return{x:f,y:h,placement:y,strategy:i,middlewareData:g}};async function Oi(e,t){var r;t===void 0&&(t={});let{x:n,y:i,platform:a,rects:s,elements:l,strategy:c}=e,{boundary:d="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:y=!1,padding:g=0}=wo(t,e),b=As(g),R=l[y?h==="floating"?"reference":"floating":h],N=Le(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(R)))==null||r?R:R.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:d,rootBoundary:f,strategy:c})),P=h==="floating"?{...s.floating,x:n,y:i}:s.reference,O=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),v=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},C=Le(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:P,offsetParent:O,strategy:c}):P);return{top:(N.top-C.top+b.top)/v.y,bottom:(C.bottom-N.bottom+b.bottom)/v.y,left:(N.left-C.left+b.left)/v.x,right:(C.right-N.right+b.right)/v.x}}function cd(e,t,r){return(e?[...r.filter(i=>ce(i)===e),...r.filter(i=>ce(i)!==e)]:r.filter(i=>Ye(i)===i)).filter(i=>e?ce(i)===e||(t?ws(i)!==i:!1):!0)}var Ei=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,n,i;let{rects:a,middlewareData:s,placement:l,platform:c,elements:d}=t,{crossAxis:f=!1,alignment:h,allowedPlacements:y=gi,autoAlignment:g=!0,...b}=wo(e,t),E=h!==void 0||y===gi?cd(h||null,g,y):y,R=await Oi(t,b),N=((r=s.autoPlacement)==null?void 0:r.index)||0,P=E[N];if(P==null)return{};let O=Cs(P,a,await(c.isRTL==null?void 0:c.isRTL(d.floating)));if(l!==P)return{reset:{placement:E[0]}};let v=[R[Ye(P)],R[O[0]],R[O[1]]],C=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:P,overflows:v}],$=E[N+1];if($)return{data:{index:N+1,overflows:C},reset:{placement:$}};let U=C.map(m=>{let x=ce(m.placement);return[m.placement,x&&f?m.overflows.slice(0,2).reduce((A,W)=>A+W,0):m.overflows[0],m.overflows]}).sort((m,x)=>m[1]-x[1]),z=((i=U.filter(m=>m[2].slice(0,ce(m[0])?2:3).every(x=>x<=0))[0])==null?void 0:i[0])||U[0][0];return z!==l?{data:{index:N+1,overflows:C},reset:{placement:z}}:{}}}};var Ci=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:n,placement:i}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:R=>{let{x:N,y:P}=R;return{x:N,y:P}}},...c}=wo(e,t),d={x:r,y:n},f=await Oi(t,c),h=Ao(Ye(i)),y=xi(h),g=d[y],b=d[h];if(a){let R=y==="y"?"top":"left",N=y==="y"?"bottom":"right",P=g+f[R],O=g-f[N];g=bi(P,g,O)}if(s){let R=h==="y"?"top":"left",N=h==="y"?"bottom":"right",P=b+f[R],O=b-f[N];b=bi(P,b,O)}let E=l.fn({...t,[y]:g,[h]:b});return{...E,data:{x:E.x-r,y:E.y-n}}}}};function te(e){return Ps(e)?(e.nodeName||"").toLowerCase():"#document"}function ht(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ee(e){var t;return(t=(Ps(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ps(e){return e instanceof Node||e instanceof ht(e).Node}function Bt(e){return e instanceof Element||e instanceof ht(e).Element}function It(e){return e instanceof HTMLElement||e instanceof ht(e).HTMLElement}function _s(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ht(e).ShadowRoot}function Xe(e){let{overflow:t,overflowX:r,overflowY:n,display:i}=St(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(i)}function Ts(e){return["table","td","th"].includes(te(e))}function No(e){let t=_o(),r=St(e);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(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 Ls(e){let t=Ie(e);for(;It(t)&&!Mr(t);){if(No(t))return t;t=Ie(t)}return null}function _o(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Mr(e){return["html","body","#document"].includes(te(e))}function St(e){return ht(e).getComputedStyle(e)}function Dr(e){return Bt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ie(e){if(te(e)==="html")return e;let t=e.assignedSlot||e.parentNode||_s(e)&&e.host||ee(e);return _s(t)?t.host:t}function Is(e){let t=Ie(e);return Mr(t)?e.ownerDocument?e.ownerDocument.body:e.body:It(t)&&Xe(t)?t:Is(t)}function Ro(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);let i=Is(e),a=i===((n=e.ownerDocument)==null?void 0:n.body),s=ht(i);return a?t.concat(s,s.visualViewport||[],Xe(i)?i:[],s.frameElement&&r?Ro(s.frameElement):[]):t.concat(i,Ro(i,[],r))}function Ms(e){let t=St(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=It(e),a=i?e.offsetWidth:r,s=i?e.offsetHeight:n,l=kr(r)!==a||kr(n)!==s;return l&&(r=a,n=s),{width:r,height:n,$:l}}function Ds(e){return Bt(e)?e:e.contextElement}function Je(e){let t=Ds(e);if(!It(t))return Qt(1);let r=t.getBoundingClientRect(),{width:n,height:i,$:a}=Ms(t),s=(a?kr(r.width):r.width)/n,l=(a?kr(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var pd=Qt(0);function Us(e){let t=ht(e);return!_o()||!t.visualViewport?pd:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function dd(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==ht(e)?!1:t}function Ur(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);let i=e.getBoundingClientRect(),a=Ds(e),s=Qt(1);t&&(n?Bt(n)&&(s=Je(n)):s=Je(e));let l=dd(a,r,n)?Us(a):Qt(0),c=(i.left+l.x)/s.x,d=(i.top+l.y)/s.y,f=i.width/s.x,h=i.height/s.y;if(a){let y=ht(a),g=n&&Bt(n)?ht(n):n,b=y.frameElement;for(;b&&n&&g!==y;){let E=Je(b),R=b.getBoundingClientRect(),N=St(b),P=R.left+(b.clientLeft+parseFloat(N.paddingLeft))*E.x,O=R.top+(b.clientTop+parseFloat(N.paddingTop))*E.y;c*=E.x,d*=E.y,f*=E.x,h*=E.y,c+=P,d+=O,b=ht(b).frameElement}}return Le({width:f,height:h,x:c,y:d})}function fd(e){let{rect:t,offsetParent:r,strategy:n}=e,i=It(r),a=ee(r);if(r===a)return t;let s={scrollLeft:0,scrollTop:0},l=Qt(1),c=Qt(0);if((i||!i&&n!=="fixed")&&((te(r)!=="body"||Xe(a))&&(s=Dr(r)),It(r))){let d=Ur(r);l=Je(r),c.x=d.x+r.clientLeft,c.y=d.y+r.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-s.scrollLeft*l.x+c.x,y:t.y*l.y-s.scrollTop*l.y+c.y}}function ud(e){return Array.from(e.getClientRects())}function Bs(e){return Ur(ee(e)).left+Dr(e).scrollLeft}function hd(e){let t=ee(e),r=Dr(e),n=e.ownerDocument.body,i=le(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=le(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+Bs(e),l=-r.scrollTop;return St(n).direction==="rtl"&&(s+=le(t.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:l}}function md(e,t){let r=ht(e),n=ee(e),i=r.visualViewport,a=n.clientWidth,s=n.clientHeight,l=0,c=0;if(i){a=i.width,s=i.height;let d=_o();(!d||d&&t==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:a,height:s,x:l,y:c}}function yd(e,t){let r=Ur(e,!0,t==="fixed"),n=r.top+e.clientTop,i=r.left+e.clientLeft,a=It(e)?Je(e):Qt(1),s=e.clientWidth*a.x,l=e.clientHeight*a.y,c=i*a.x,d=n*a.y;return{width:s,height:l,x:c,y:d}}function $s(e,t,r){let n;if(t==="viewport")n=md(e,r);else if(t==="document")n=hd(ee(e));else if(Bt(t))n=yd(t,r);else{let i=Us(e);n={...t,x:t.x-i.x,y:t.y-i.y}}return Le(n)}function Ws(e,t){let r=Ie(e);return r===t||!Bt(r)||Mr(r)?!1:St(r).position==="fixed"||Ws(r,t)}function gd(e,t){let r=t.get(e);if(r)return r;let n=Ro(e,[],!1).filter(l=>Bt(l)&&te(l)!=="body"),i=null,a=St(e).position==="fixed",s=a?Ie(e):e;for(;Bt(s)&&!Mr(s);){let l=St(s),c=No(s);!c&&l.position==="fixed"&&(i=null),(a?!c&&!i:!c&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Xe(s)&&!c&&Ws(e,s))?n=n.filter(f=>f!==s):i=l,s=Ie(s)}return t.set(e,n),n}function bd(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e,s=[...r==="clippingAncestors"?gd(t,this._c):[].concat(r),n],l=s[0],c=s.reduce((d,f)=>{let h=$s(t,f,i);return d.top=le(h.top,d.top),d.right=$r(h.right,d.right),d.bottom=$r(h.bottom,d.bottom),d.left=le(h.left,d.left),d},$s(t,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function xd(e){return Ms(e)}function vd(e,t,r){let n=It(t),i=ee(t),a=r==="fixed",s=Ur(e,!0,a,t),l={scrollLeft:0,scrollTop:0},c=Qt(0);if(n||!n&&!a)if((te(t)!=="body"||Xe(i))&&(l=Dr(t)),n){let d=Ur(t,!0,a,t);c.x=d.x+t.clientLeft,c.y=d.y+t.clientTop}else i&&(c.x=Bs(i));return{x:s.left+l.scrollLeft-c.x,y:s.top+l.scrollTop-c.y,width:s.width,height:s.height}}function ks(e,t){return!It(e)||St(e).position==="fixed"?null:t?t(e):e.offsetParent}function Fs(e,t){let r=ht(e);if(!It(e))return r;let n=ks(e,t);for(;n&&Ts(n)&&St(n).position==="static";)n=ks(n,t);return n&&(te(n)==="html"||te(n)==="body"&&St(n).position==="static"&&!No(n))?r:n||Ls(e)||r}var Sd=async function(e){let{reference:t,floating:r,strategy:n}=e,i=this.getOffsetParent||Fs,a=this.getDimensions;return{reference:vd(t,await i(r),n),floating:{x:0,y:0,...await a(r)}}};function Od(e){return St(e).direction==="rtl"}var Po={convertOffsetParentRelativeRectToViewportRelativeRect:fd,getDocumentElement:ee,getClippingRect:bd,getOffsetParent:Fs,getElementRects:Sd,getClientRects:ud,getDimensions:xd,getScale:Je,isElement:Bt,isRTL:Od};var zs=(e,t,r)=>{let n=new Map,i={platform:Po,...r},a={...i.platform,_c:n};return Ns(e,t,{...i,platform:a})};function Hs(e){return Ed(e)}function wi(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Ed(e){for(let t=e;t;t=wi(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=wi(e);t;t=wi(t)){if(!(t instanceof Element))continue;let r=getComputedStyle(t);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||t.tagName==="BODY"))return t}return null}async function Br(e,t,r){return zs(e,t,{platform:{...Po,getOffsetParent:n=>Po.getOffsetParent(n,Hs)},middleware:[Ci({crossAxis:!0}),Ei({allowedPlacements:[r]})]})}var Ni={};Z(Ni,{FtLitElement:()=>F});var Ri={};Z(Ri,{ScopedRegistryLitElement:()=>Wr});var To=window,Cd=To.ShadowRoot&&(To.ShadyCSS===void 0||To.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Jy=Symbol();var js=(e,t)=>{Cd?e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):t.forEach(r=>{let n=document.createElement("style"),i=To.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)})};var Wr=class extends Yt{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([i,a])=>t.registry.define(i,a)));let r={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return js(n,t.elementStyles),n}};var Lo=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Gs,Vs=Symbol("constructorPrototype"),Ks=Symbol("constructorName"),Zs=Symbol("exportpartsDebouncer"),F=class extends Wr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Gs]=new vt(5),this[Ks]=this.constructor.name,this[Vs]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ks]&&Object.setPrototypeOf(this,this[Vs])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}this.importDynamicDependencies()}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}applyCustomStylesheet(t){var r,n,i;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var t,r,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[Zs].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(t){var r,n,i,a,s,l;let c=y=>y!=null&&y.trim().length>0,d=t.filter(c).map(y=>y.trim());if(d.length===0){this.removeAttribute("exportparts");return}let f=new Set;for(let y of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let g=(a=(i=y.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],b=(l=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(E=>E.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...g,...b).filter(c).map(E=>E.trim()).forEach(E=>f.add(E))}if(f.size===0){this.removeAttribute("exportparts");return}let h=[...f.values()].flatMap(y=>d.map(g=>`${y}:${g}--${y}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};Gs=Zs;Lo([S()],F.prototype,"exportpartsPrefix",void 0);Lo([At([])],F.prototype,"exportpartsPrefixes",void 0);Lo([S()],F.prototype,"customStylesheet",void 0);Lo([J()],F.prototype,"useAdoptedStyleSheets",void 0);var qs={};var Li={};Z(Li,{highlightHtml:()=>Ti,highlightHtmlColorCssVariable:()=>Ys,highlightHtmlStyles:()=>Ad});var $e=class e{constructor(t,r=!0,n=[],i=5e3){this.ctx=t,this.iframes=r,this.exclude=n,this.iframesTimeout=i}static matches(t,r){let n=typeof r=="string"?[r]:r,i=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(t,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let t,r=[];return typeof this.ctx>"u"||!this.ctx?t=[]:NodeList.prototype.isPrototypeOf(this.ctx)?t=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?t=this.ctx:typeof this.ctx=="string"?t=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):t=[this.ctx],t.forEach(n=>{let i=r.filter(a=>a.contains(n)).length>0;r.indexOf(n)===-1&&!i&&r.push(n)}),r}getIframeContents(t,r,n=()=>{}){let i;try{let a=t.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&r(i)}isIframeBlank(t){let r="about:blank",n=t.getAttribute("src").trim();return t.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(t,r,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(t)||(t.removeEventListener("load",s),this.getIframeContents(t,r,n))}catch{n()}}};t.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(t,r,n){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,r,n):this.getIframeContents(t,r,n):this.observeIframeLoad(t,r,n)}catch{n()}}waitForIframes(t,r){let n=0;this.forEachIframe(t,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||r()})},i=>{i||r()})}forEachIframe(t,r,n,i=()=>{}){let a=t.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let c=()=>{--s<=0&&i(l)};s||c(),a.forEach(d=>{e.matches(d,this.exclude)?c():this.onIframeReady(d,f=>{r(d)&&(l++,n(f)),c()},c)})}createIterator(t,r,n){return document.createNodeIterator(t,r,n,!1)}createInstanceOnIframe(t){return new e(t.querySelector("html"),this.iframes)}compareNodeIframe(t,r,n){let i=t.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(r!==null){let s=r.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(t){let r=t.previousNode(),n;return r===null?n=t.nextNode():n=t.nextNode()&&t.nextNode(),{prevNode:r,node:n}}checkIframeFilter(t,r,n,i){let a=!1,s=!1;return i.forEach((l,c)=>{l.val===n&&(a=c,s=l.handled)}),this.compareNodeIframe(t,r,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(t,r,n,i){t.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,n,i)})})}iterateThroughNodes(t,r,n,i,a){let s=this.createIterator(r,t,i),l=[],c=[],d,f,h=()=>({prevNode:f,node:d}=this.getIteratorNode(s),d);for(;h();)this.iframes&&this.forEachIframe(r,y=>this.checkIframeFilter(d,f,y,l),y=>{this.createInstanceOnIframe(y).forEachNode(t,g=>c.push(g),i)}),c.push(d);c.forEach(y=>{n(y)}),this.iframes&&this.handleOpenIframes(l,t,n,i),a()}forEachNode(t,r,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(l=>{let c=()=>{this.iterateThroughNodes(t,l,r,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(l,c):c()})}};var Fr=class{constructor(t){this.ctx=t,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){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},t)}get opt(){return this._opt}get iterator(){return new $e(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return this.opt.wildcards!=="disabled"&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),this.opt.wildcards!=="disabled"&&(t=this.createWildcardsRegExp(t)),t=this.createAccuracyRegExp(t),t}createSynonymsRegExp(t){let r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let s=r[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&c!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(c)})`,`gm${n}`),i+`(${this.processSynomyms(l)}|${this.processSynomyms(c)})`+i))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return t=t.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),t.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(t){let r=this.opt.wildcards==="withSpaces";return t.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,(r,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?r:r+"\0"})}createJoinersRegExp(t){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?t.split(/\u0000+/).join(`[${r.join("")}]*`):t}createDiacriticsRegExp(t){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 t.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;t=t.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),i.push(s)}return!0})}),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(t){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),i){case"partially":default:return`()(${t})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${t}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${t})(?=$|\\s${s})`}}getSeparatedKeywords(t){let r=[];return t.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(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||Object.prototype.toString.call(t[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];let r=[],n=0;return t.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(i,n);l&&(i.start=a,i.length=s-a,r.push(i),n=s)}),r}callNoMatchOnInvalidRanges(t,r){let n,i,a=!1;return t&&typeof t.start<"u"?(n=parseInt(t.start,10),i=n+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&i-r>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:n,end:i,valid:a}}checkWhitespaceRanges(t,r,n){let i,a=!0,s=n.length,l=r-s,c=parseInt(t.start,10)-l;return c=c>s?s:c,i=c+parseInt(t.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),c<0||i-c<0||c>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):n.substring(c,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:c,end:i,valid:a}}getTextNodes(t){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,()=>{t({value:r,nodes:n})})}matchesExclude(t){return $e.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,r,n){let i=this.opt.element?this.opt.element:"mark",a=t.splitText(r),s=a.splitText(n-r),l=document.createElement(i);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(t,r,n,i,a){t.nodes.every((s,l)=>{let c=t.nodes[l+1];if(typeof c>"u"||c.start>r){if(!i(s.node))return!1;let d=r-s.start,f=(n>s.end?s.end:n)-s.start,h=t.value.substr(0,s.start),y=t.value.substr(f+s.start);if(s.node=this.wrapRangeInTextNode(s.node,d,f),t.value=h+y,t.nodes.forEach((g,b)=>{b>=l&&(t.nodes[b].start>0&&b!==l&&(t.nodes[b].start-=f),t.nodes[b].end-=f)}),n-=f,a(s.node.previousSibling,s.start),n>s.end)r=s.end;else return!1}return!0})}wrapMatches(t,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(c=>{c=c.node;let d;for(;(d=t.exec(c.textContent))!==null&&d[s]!=="";){if(!n(d[s],c))continue;let f=d.index;if(s!==0)for(let h=1;h<s;h++)f+=d[h].length;c=this.wrapRangeInTextNode(c,f,f+d[s].length),i(c.previousSibling),t.lastIndex=0}}),a()})}wrapMatchesAcrossElements(t,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(l=>{let c;for(;(c=t.exec(l.value))!==null&&c[s]!=="";){let d=c.index;if(s!==0)for(let h=1;h<s;h++)d+=c[h].length;let f=d+c[s].length;this.wrapRangeInMappedTextNode(l,d,f,h=>n(c[s],h),(h,y)=>{t.lastIndex=y,i(h)})}a()})}wrapRangeFromIndex(t,r,n,i){this.getTextNodes(a=>{let s=a.value.length;t.forEach((l,c)=>{let{start:d,end:f,valid:h}=this.checkWhitespaceRanges(l,s,a.value);h&&this.wrapRangeInMappedTextNode(a,d,f,y=>r(y,l,a.value.substring(d,f),c),y=>{n(y,l)})}),i()})}unwrapMatches(t){let r=t.parentNode,n=document.createDocumentFragment();for(;t.firstChild;)n.appendChild(t.removeChild(t.firstChild));r.replaceChild(n,t),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(t){if(t){if(t.nodeType===3)for(;t.nextSibling&&t.nextSibling.nodeType===3;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,r){this.opt=r,this.log(`Searching with expression "${t}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](t,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),a,()=>{n===0&&this.opt.noMatch(t),this.opt.done(n)})}mark(t,r){this.opt=r;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof t=="string"?[t]:t),l=this.opt.caseSensitive?"":"i",c=d=>{let f=new RegExp(this.createRegExp(d),`gm${l}`),h=0;this.log(`Searching with expression "${f}"`),this[i](f,1,(y,g)=>this.opt.filter(g,d,n,h),y=>{h++,n++,this.opt.each(y)},()=>{h===0&&this.opt.noMatch(d),a[s-1]===d?this.opt.done(n):c(a[a.indexOf(d)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):c(a[0])}markRanges(t,r){this.opt=r;let n=0,i=this.checkRanges(t);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,l,c)=>this.opt.filter(a,s,l,c),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(t){this.opt=t;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=$e.matches(n,r),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function _i(e){let t=new Fr(e);return this.mark=(r,n)=>(t.mark(r,n),this),this.markRegExp=(r,n)=>(t.markRegExp(r,n),this),this.markRanges=(r,n)=>(t.markRanges(r,n),this),this.unmark=r=>(t.unmark(r),this),this}var wd=_i,Ys=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Ad=T`
1
+ "use strict";(()=>{var Zl=Object.create;var dn=Object.defineProperty;var Vl=Object.getOwnPropertyDescriptor;var jl=Object.getOwnPropertyNames;var ql=Object.getPrototypeOf,Yl=Object.prototype.hasOwnProperty;var Xl=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),X=(e,t)=>{for(var r in t)dn(e,r,{get:t[r],enumerable:!0})},Jl=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of jl(t))!Yl.call(e,i)&&i!==r&&dn(e,i,{get:()=>t[i],enumerable:!(n=Vl(t,i))||n.enumerable});return e};var Ql=(e,t,r)=>(r=e!=null?Zl(ql(e)):{},Jl(t||!e||!e.__esModule?dn(r,"default",{value:e,enumerable:!0}):r,e));var Ol=Xl(Sl=>{(function(e){var t=function(r){var n={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};function i(b){return b&&DataView.prototype.isPrototypeOf(b)}if(n.arrayBuffer)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=ArrayBuffer.isView||function(b){return b&&c.indexOf(Object.prototype.toString.call(b))>-1};function l(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 O={next:function(){var I=b.shift();return{done:I===void 0,value:I}}};return n.iterable&&(O[Symbol.iterator]=function(){return O}),O}function h(b){this.map={},b instanceof h?b.forEach(function(O,I){this.append(I,O)},this):Array.isArray(b)?b.forEach(function(O){this.append(O[0],O[1])},this):b&&Object.getOwnPropertyNames(b).forEach(function(O){this.append(O,b[O])},this)}h.prototype.append=function(b,O){b=l(b),O=d(O);var I=this.map[b];this.map[b]=I?I+", "+O:O},h.prototype.delete=function(b){delete this.map[l(b)]},h.prototype.get=function(b){return b=l(b),this.has(b)?this.map[b]:null},h.prototype.has=function(b){return this.map.hasOwnProperty(l(b))},h.prototype.set=function(b,O){this.map[l(b)]=d(O)},h.prototype.forEach=function(b,O){for(var I in this.map)this.map.hasOwnProperty(I)&&b.call(O,this.map[I],I,this)},h.prototype.keys=function(){var b=[];return this.forEach(function(O,I){b.push(I)}),u(b)},h.prototype.values=function(){var b=[];return this.forEach(function(O){b.push(O)}),u(b)},h.prototype.entries=function(){var b=[];return this.forEach(function(O,I){b.push([I,O])}),u(b)},n.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function y(b){if(b.bodyUsed)return Promise.reject(new TypeError("Already read"));b.bodyUsed=!0}function x(b){return new Promise(function(O,I){b.onload=function(){O(b.result)},b.onerror=function(){I(b.error)}})}function v(b){var O=new FileReader,I=x(O);return O.readAsArrayBuffer(b),I}function S(b){var O=new FileReader,I=x(O);return O.readAsText(b),I}function N(b){for(var O=new Uint8Array(b),I=new Array(O.length),H=0;H<O.length;H++)I[H]=String.fromCharCode(O[H]);return I.join("")}function P(b){if(b.slice)return b.slice(0);var O=new Uint8Array(b.byteLength);return O.set(new Uint8Array(b)),O.buffer}function L(){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=P(b.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(b)||s(b))?this._bodyArrayBuffer=P(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=y(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?y(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(v)}),this.text=function(){var b=y(this);if(b)return b;if(this._bodyBlob)return S(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 k=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function w(b){var O=b.toUpperCase();return k.indexOf(O)>-1?O:b}function C(b,O){O=O||{};var I=O.body;if(b instanceof C){if(b.bodyUsed)throw new TypeError("Already read");this.url=b.url,this.credentials=b.credentials,O.headers||(this.headers=new h(b.headers)),this.method=b.method,this.mode=b.mode,this.signal=b.signal,!I&&b._bodyInit!=null&&(I=b._bodyInit,b.bodyUsed=!0)}else this.url=String(b);if(this.credentials=O.credentials||this.credentials||"same-origin",(O.headers||!this.headers)&&(this.headers=new h(O.headers)),this.method=w(O.method||this.method||"GET"),this.mode=O.mode||this.mode||null,this.signal=O.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&I)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(I)}C.prototype.clone=function(){return new C(this,{body:this._bodyInit})};function A(b){var O=new FormData;return b.trim().split("&").forEach(function(I){if(I){var H=I.split("="),ot=H.shift().replace(/\+/g," "),Z=H.join("=").replace(/\+/g," ");O.append(decodeURIComponent(ot),decodeURIComponent(Z))}}),O}function W(b){var O=new h,I=b.replace(/\r?\n[\t ]+/g," ");return I.split(/\r?\n/).forEach(function(H){var ot=H.split(":"),Z=ot.shift().trim();if(Z){var ro=ot.join(":").trim();O.append(Z,ro)}}),O}L.call(C.prototype);function F(b,O){O||(O={}),this.type="default",this.status=O.status===void 0?200:O.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in O?O.statusText:"OK",this.headers=new h(O.headers),this.url=O.url||"",this._initBody(b)}L.call(F.prototype),F.prototype.clone=function(){return new F(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},F.error=function(){var b=new F(null,{status:0,statusText:""});return b.type="error",b};var ft=[301,302,303,307,308];F.redirect=function(b,O){if(ft.indexOf(O)===-1)throw new RangeError("Invalid status code");return new F(null,{status:O,headers:{location:b}})},r.DOMException=e.DOMException;try{new r.DOMException}catch{r.DOMException=function(O,I){this.message=O,this.name=I;var H=Error(O);this.stack=H.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function G(b,O){return new Promise(function(I,H){var ot=new C(b,O);if(ot.signal&&ot.signal.aborted)return H(new r.DOMException("Aborted","AbortError"));var Z=new XMLHttpRequest;function ro(){Z.abort()}Z.onload=function(){var vr={status:Z.status,statusText:Z.statusText,headers:W(Z.getAllResponseHeaders()||"")};vr.url="responseURL"in Z?Z.responseURL:vr.headers.get("X-Request-URL");var ln="response"in Z?Z.response:Z.responseText;I(new F(ln,vr))},Z.onerror=function(){H(new TypeError("Network request failed"))},Z.ontimeout=function(){H(new TypeError("Network request failed"))},Z.onabort=function(){H(new r.DOMException("Aborted","AbortError"))},Z.open(ot.method,ot.url,!0),ot.credentials==="include"?Z.withCredentials=!0:ot.credentials==="omit"&&(Z.withCredentials=!1),"responseType"in Z&&n.blob&&(Z.responseType="blob"),ot.headers.forEach(function(vr,ln){Z.setRequestHeader(ln,vr)}),ot.signal&&(ot.signal.addEventListener("abort",ro),Z.onreadystatechange=function(){Z.readyState===4&&ot.signal.removeEventListener("abort",ro)}),Z.send(typeof ot._bodyInit>"u"?null:ot._bodyInit)})}return G.polyfill=!0,e.fetch||(e.fetch=G,e.Headers=h,e.Request=C,e.Response=F),r.Headers=h,r.Request=C,r.Response=F,r.fetch=G,Object.defineProperty(r,"__esModule",{value:!0}),r}({})})(typeof self<"u"?self:Sl)});if(!ShadowRoot.prototype.createElement){let e=window.HTMLElement,t=window.customElements.define,r=window.customElements.get,n=window.customElements,i=new WeakMap,c=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(w,C){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(C)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let A=C.prototype.attributeChangedCallback,W=new Set(C.observedAttributes||[]);x(C,W,A);let F={elementClass:C,connectedCallback:C.prototype.connectedCallback,disconnectedCallback:C.prototype.disconnectedCallback,adoptedCallback:C.prototype.adoptedCallback,attributeChangedCallback:A,formAssociated:C.formAssociated,formAssociatedCallback:C.prototype.formAssociatedCallback,formDisabledCallback:C.prototype.formDisabledCallback,formResetCallback:C.prototype.formResetCallback,formStateRestoreCallback:C.prototype.formStateRestoreCallback,observedAttributes:W};this._definitionsByTag.set(w,F),this._definitionsByClass.set(C,F);let ft=r.call(n,w);ft||(ft=y(w),t.call(n,w,ft)),this===window.customElements&&(s.set(C,F),F.standInClass=ft);let G=this._awaitingUpgrade.get(w);if(G){this._awaitingUpgrade.delete(w);for(let O of G)c.delete(O),S(O,F,!0)}let b=this._whenDefinedPromises.get(w);return b!==void 0&&(b.resolve(C),this._whenDefinedPromises.delete(w)),C}upgrade(){P.push(this),n.upgrade.apply(n,arguments),P.pop()}get(w){return this._definitionsByTag.get(w)?.elementClass}_getDefinition(w){return this._definitionsByTag.get(w)}whenDefined(w){let C=this._getDefinition(w);if(C!==void 0)return Promise.resolve(C.elementClass);let A=this._whenDefinedPromises.get(w);return A===void 0&&(A={},A.promise=new Promise(W=>A.resolve=W),this._whenDefinedPromises.set(w,A)),A.promise}_upgradeWhenDefined(w,C,A){let W=this._awaitingUpgrade.get(C);W||this._awaitingUpgrade.set(C,W=new Set),A?W.add(w):W.delete(w)}};let d;window.HTMLElement=function(){let C=d;if(C)return d=void 0,C;let A=s.get(this.constructor);if(!A)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return C=Reflect.construct(e,[],A.standInClass),Object.setPrototypeOf(C,this.constructor.prototype),i.set(C,A),C},window.HTMLElement.prototype=e.prototype;let u=w=>w===document||w instanceof ShadowRoot,h=w=>{let C=w.getRootNode();if(!u(C)){let A=P[P.length-1];if(A instanceof CustomElementRegistry)return A;C=A.getRootNode(),u(C)||(C=l.get(C)?.getRootNode()||document)}return C.customElements},y=w=>class{static get formAssociated(){return!0}constructor(){let A=Reflect.construct(e,[],this.constructor);Object.setPrototypeOf(A,HTMLElement.prototype);let W=h(A)||window.customElements,F=W._getDefinition(w);return F?S(A,F):c.set(A,W),A}connectedCallback(){let A=i.get(this);A?A.connectedCallback&&A.connectedCallback.apply(this,arguments):c.get(this)._upgradeWhenDefined(this,w,!0)}disconnectedCallback(){let A=i.get(this);A?A.disconnectedCallback&&A.disconnectedCallback.apply(this,arguments):c.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,C,A)=>{if(C.size===0||A===void 0)return;let W=w.prototype.setAttribute;W&&(w.prototype.setAttribute=function(G,b){let O=G.toLowerCase();if(C.has(O)){let I=this.getAttribute(O);W.call(this,O,b),A.call(this,O,I,b)}else W.call(this,O,b)});let F=w.prototype.removeAttribute;F&&(w.prototype.removeAttribute=function(G){let b=G.toLowerCase();if(C.has(b)){let O=this.getAttribute(b);F.call(this,b),A.call(this,b,O,null)}else F.call(this,b)});let ft=w.prototype.toggleAttribute;ft&&(w.prototype.toggleAttribute=function(G,b){let O=G.toLowerCase();if(C.has(O)){let I=this.getAttribute(O);ft.call(this,O,b);let H=this.getAttribute(O);A.call(this,O,I,H)}else ft.call(this,O,b)})},v=w=>{let C=Object.getPrototypeOf(w);if(C!==window.HTMLElement)return C===e?Object.setPrototypeOf(w,window.HTMLElement):v(C)},S=(w,C,A=!1)=>{Object.setPrototypeOf(w,C.elementClass.prototype),i.set(w,C),d=w;try{new C.elementClass}catch{v(C.elementClass),new C.elementClass}C.attributeChangedCallback&&C.observedAttributes.forEach(W=>{w.hasAttribute(W)&&C.attributeChangedCallback.call(w,W,null,w.getAttribute(W))}),A&&C.connectedCallback&&w.isConnected&&C.connectedCallback.call(w)},N=Element.prototype.attachShadow;Element.prototype.attachShadow=function(w){let C=N.apply(this,arguments);return w.customElements&&(C.customElements=w.customElements),C};let P=[document],L=(w,C,A=void 0)=>{let W=(A?Object.getPrototypeOf(A):w.prototype)[C];w.prototype[C]=function(){P.push(this);let F=W.apply(A||this,arguments);return F!==void 0&&l.set(F,this),P.pop(),F}};L(ShadowRoot,"createElement",document),L(ShadowRoot,"importNode",document),L(Element,"insertAdjacentHTML");let k=(w,C)=>{let A=Object.getOwnPropertyDescriptor(w.prototype,C);Object.defineProperty(w.prototype,C,{...A,set(W){P.push(this),A.set.call(this,W),P.pop()}})};if(k(Element,"innerHTML"),k(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let w=new WeakMap,C=HTMLElement.prototype.attachInternals,A=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...G){let b=C.call(this,...G);return w.set(b,this),b},A.forEach(G=>{let b=window.ElementInternals.prototype,O=b[G];b[G]=function(...I){let H=w.get(this);if(i.get(H).formAssociated===!0)return O?.call(this,...I);throw new DOMException(`Failed to execute ${O} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class W extends Array{constructor(b){super(...b),this._elements=b}get value(){return this._elements.find(b=>b.checked===!0)?.value||""}}class F{constructor(b){let O=new Map;b.forEach((I,H)=>{let ot=I.getAttribute("name"),Z=O.get(ot)||[];this[+H]=I,Z.push(I),O.set(ot,Z)}),this.length=b.length,O.forEach((I,H)=>{I&&(I.length===1?this[H]=I[0]:this[H]=new W(I))})}namedItem(b){return this[b]}}let ft=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let G=ft.get.call(this,[]),b=[];for(let O of G){let I=i.get(O);(!I||I.formAssociated===!0)&&b.push(O)}return new F(b)}})}}try{window.customElements.define("custom-element",null)}catch{let t=window.customElements.define;window.customElements.define=(r,n,i)=>{if(n!==null)try{t.bind(window.customElements)(r,n,i)}catch(c){console.info(r,n,i,c)}}}var Cn={};X(Cn,{CSSResult:()=>je,LitElement:()=>Qt,ReactiveElement:()=>Bt,_$LE:()=>Cd,_$LH:()=>vd,adoptStyles:()=>bo,css:()=>T,defaultConverter:()=>xo,getCompatibleStyle:()=>Rr,html:()=>B,isServer:()=>Qf,noChange:()=>ce,notEqual:()=>yn,nothing:()=>V,render:()=>On,supportsAdoptingStyleSheets:()=>Ar,svg:()=>xd,unsafeCSS:()=>kt});var oo=globalThis,ao=oo.ShadowRoot&&(oo.ShadyCSS===void 0||oo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ui=Symbol(),ki=new WeakMap,no=class{constructor(t,r,n){if(this._$cssResult$=!0,n!==Ui)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(ao&&t===void 0){let n=r!==void 0&&r.length===1;n&&(t=ki.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&ki.set(r,t))}return t}toString(){return this.cssText}},$i=e=>new no(typeof e=="string"?e:e+"",void 0,Ui);var pn=(e,t)=>{if(ao)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let n=document.createElement("style"),i=oo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)}},io=ao?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return $i(r)})(e):e;var{is:td,defineProperty:ed,getOwnPropertyDescriptor:rd,getOwnPropertyNames:od,getOwnPropertySymbols:nd,getPrototypeOf:ad}=Object,co=globalThis,Wi=co.trustedTypes,id=Wi?Wi.emptyScript:"",cd=co.reactiveElementPolyfillSupport,Sr=(e,t)=>e,Or={toAttribute(e,t){switch(t){case Boolean:e=e?id:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},so=(e,t)=>!td(e,t),Mi={attribute:!0,type:String,converter:Or,reflect:!1,hasChanged:so};Symbol.metadata??=Symbol("metadata"),co.litPropertyMetadata??=new WeakMap;var we=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,r=Mi){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(t,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,r);i!==void 0&&ed(this.prototype,t,i)}}static getPropertyDescriptor(t,r,n){let{get:i,set:c}=rd(this.prototype,t)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let l=i?.call(this);c.call(this,s),this.requestUpdate(t,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Mi}static _$Ei(){if(this.hasOwnProperty(Sr("elementProperties")))return;let t=ad(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Sr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Sr("properties"))){let r=this.properties,n=[...od(r),...nd(r)];for(let i of n)this.createProperty(i,r[i])}let t=this[Symbol.metadata];if(t!==null){let r=litPropertyMetadata.get(t);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(t){let r=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)r.unshift(io(i))}else t!==void 0&&r.push(io(t));return r}static _$Eu(t,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.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(t=>this.enableUpdating=t),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$E_??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){let t=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return pn(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,r,n){this._$AK(t,n)}_$EO(t,r){let n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){let c=(n.converter?.toAttribute!==void 0?n.converter:Or).toAttribute(r,n.type);this._$Em=t,c==null?this.removeAttribute(i):this.setAttribute(i,c),this._$Em=null}}_$AK(t,r){let n=this.constructor,i=n._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let c=n.getPropertyOptions(i),s=typeof c.converter=="function"?{fromAttribute:c.converter}:c.converter?.fromAttribute!==void 0?c.converter:Or;this._$Em=i,this[i]=s.fromAttribute(r,c.type),this._$Em=null}}requestUpdate(t,r,n,i=!1,c){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??so)(i?c:this[t],r))return;this.C(t,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,r,n){this._$AL.has(t)||this._$AL.set(t,r),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,c]of this._$Ep)this[i]=c;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,c]of n)c.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],c)}let t=!1,r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(r)}willUpdate(t){}_$AE(t){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(t){}firstUpdated(t){}};we.elementStyles=[],we.shadowRootOptions={mode:"open"},we[Sr("elementProperties")]=new Map,we[Sr("finalized")]=new Map,cd?.({ReactiveElement:we}),(co.reactiveElementVersions??=[]).push("2.0.2");var un=globalThis,lo=un.trustedTypes,Di=lo?lo.createPolicy("lit-html",{createHTML:e=>e}):void 0,hn="$lit$",Xt=`lit$${(Math.random()+"").slice(9)}$`,mn="?"+Xt,sd=`<${mn}>`,Re=document,po=()=>Re.createComment(""),Er=e=>e===null||typeof e!="object"&&typeof e!="function",Gi=Array.isArray,Zi=e=>Gi(e)||typeof e?.[Symbol.iterator]=="function",fn=`[
2
+ \f\r]`,Cr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Bi=/-->/g,Fi=/>/g,Ne=RegExp(`>|${fn}(?:([^\\s"'>=/]+)(${fn}*=${fn}*(?:[^
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),zi=/'/g,Hi=/"/g,Vi=/^(?:script|style|textarea|title)$/i,ji=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),qi=ji(1),Yi=ji(2),Ot=Symbol.for("lit-noChange"),tt=Symbol.for("lit-nothing"),Ki=new WeakMap,Ae=Re.createTreeWalker(Re,129);function Xi(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Di!==void 0?Di.createHTML(t):t}var Ji=(e,t)=>{let r=e.length-1,n=[],i,c=t===2?"<svg>":"",s=Cr;for(let l=0;l<r;l++){let d=e[l],u,h,y=-1,x=0;for(;x<d.length&&(s.lastIndex=x,h=s.exec(d),h!==null);)x=s.lastIndex,s===Cr?h[1]==="!--"?s=Bi:h[1]!==void 0?s=Fi:h[2]!==void 0?(Vi.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=Ne):h[3]!==void 0&&(s=Ne):s===Ne?h[0]===">"?(s=i??Cr,y=-1):h[1]===void 0?y=-2:(y=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?Ne:h[3]==='"'?Hi:zi):s===Hi||s===zi?s=Ne:s===Bi||s===Fi?s=Cr:(s=Ne,i=void 0);let v=s===Ne&&e[l+1].startsWith("/>")?" ":"";c+=s===Cr?d+sd:y>=0?(n.push(u),d.slice(0,y)+hn+d.slice(y)+Xt+v):d+Xt+(y===-2?l:v)}return[Xi(e,c+(e[r]||"<?>")+(t===2?"</svg>":"")),n]},wr=class e{constructor({strings:t,_$litType$:r},n){let i;this.parts=[];let c=0,s=0,l=t.length-1,d=this.parts,[u,h]=Ji(t,r);if(this.el=e.createElement(u,n),Ae.currentNode=this.el.content,r===2){let y=this.el.content.firstChild;y.replaceWith(...y.childNodes)}for(;(i=Ae.nextNode())!==null&&d.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let y of i.getAttributeNames())if(y.endsWith(hn)){let x=h[s++],v=i.getAttribute(y).split(Xt),S=/([.?@])?(.*)/.exec(x);d.push({type:1,index:c,name:S[2],strings:v,ctor:S[1]==="."?uo:S[1]==="?"?ho:S[1]==="@"?mo:Pe}),i.removeAttribute(y)}else y.startsWith(Xt)&&(d.push({type:6,index:c}),i.removeAttribute(y));if(Vi.test(i.tagName)){let y=i.textContent.split(Xt),x=y.length-1;if(x>0){i.textContent=lo?lo.emptyScript:"";for(let v=0;v<x;v++)i.append(y[v],po()),Ae.nextNode(),d.push({type:2,index:++c});i.append(y[x],po())}}}else if(i.nodeType===8)if(i.data===mn)d.push({type:2,index:c});else{let y=-1;for(;(y=i.data.indexOf(Xt,y+1))!==-1;)d.push({type:7,index:c}),y+=Xt.length-1}c++}}static createElement(t,r){let n=Re.createElement("template");return n.innerHTML=t,n}};function Ie(e,t,r=e,n){if(t===Ot)return t;let i=n!==void 0?r._$Co?.[n]:r._$Cl,c=Er(t)?void 0:t._$litDirective$;return i?.constructor!==c&&(i?._$AO?.(!1),c===void 0?i=void 0:(i=new c(e),i._$AT(e,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(t=Ie(e,i._$AS(e,t.values),i,n)),t}var fo=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:n}=this._$AD,i=(t?.creationScope??Re).importNode(r,!0);Ae.currentNode=i;let c=Ae.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let u;d.type===2?u=new Nr(c,c.nextSibling,this,t):d.type===1?u=new d.ctor(c,d.name,d.strings,this,t):d.type===6&&(u=new go(c,this,t)),this._$AV.push(u),d=n[++l]}s!==d?.index&&(c=Ae.nextNode(),s++)}return Ae.currentNode=Re,i}p(t){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,r),r+=n.strings.length-2):n._$AI(t[r])),r++}},Nr=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,n,i){this.type=2,this._$AH=tt,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=Ie(this,t,r),Er(t)?t===tt||t==null||t===""?(this._$AH!==tt&&this._$AR(),this._$AH=tt):t!==this._$AH&&t!==Ot&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Zi(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==tt&&Er(this._$AH)?this._$AA.nextSibling.data=t:this.$(Re.createTextNode(t)),this._$AH=t}g(t){let{values:r,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=wr.createElement(Xi(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let c=new fo(i,this),s=c.u(this.options);c.p(r),this.$(s),this._$AH=c}}_$AC(t){let r=Ki.get(t.strings);return r===void 0&&Ki.set(t.strings,r=new wr(t)),r}T(t){Gi(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let c of t)i===r.length?r.push(n=new e(this.k(po()),this.k(po()),this,this.options)):n=r[i],n._$AI(c),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Pe=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,n,i,c){this.type=1,this._$AH=tt,this._$AN=void 0,this.element=t,this.name=r,this._$AM=i,this.options=c,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=tt}_$AI(t,r=this,n,i){let c=this.strings,s=!1;if(c===void 0)t=Ie(this,t,r,0),s=!Er(t)||t!==this._$AH&&t!==Ot,s&&(this._$AH=t);else{let l=t,d,u;for(t=c[0],d=0;d<c.length-1;d++)u=Ie(this,l[n+d],r,d),u===Ot&&(u=this._$AH[d]),s||=!Er(u)||u!==this._$AH[d],u===tt?t=tt:t!==tt&&(t+=(u??"")+c[d+1]),this._$AH[d]=u}s&&!i&&this.O(t)}O(t){t===tt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},uo=class extends Pe{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===tt?void 0:t}},ho=class extends Pe{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==tt)}},mo=class extends Pe{constructor(t,r,n,i,c){super(t,r,n,i,c),this.type=5}_$AI(t,r=this){if((t=Ie(this,t,r,0)??tt)===Ot)return;let n=this._$AH,i=t===tt&&n!==tt||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,c=t!==tt&&(n===tt||i);i&&this.element.removeEventListener(this.name,this,n),c&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},go=class{constructor(t,r,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){Ie(this,t)}},Qi={j:hn,P:Xt,A:mn,C:1,M:Ji,L:fo,R:Zi,V:Ie,D:Nr,I:Pe,H:ho,N:mo,U:uo,B:go},ld=un.litHtmlPolyfillSupport;ld?.(wr,Nr),(un.litHtmlVersions??=[]).push("3.1.0");var yo=globalThis,Ar=yo.ShadowRoot&&(yo.ShadyCSS===void 0||yo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,gn=Symbol(),tc=new WeakMap,je=class{constructor(t,r,n){if(this._$cssResult$=!0,n!==gn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(Ar&&t===void 0){let n=r!==void 0&&r.length===1;n&&(t=tc.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&tc.set(r,t))}return t}toString(){return this.cssText}},kt=e=>new je(typeof e=="string"?e:e+"",void 0,gn),T=(e,...t)=>{let r=e.length===1?e[0]:t.reduce((n,i,c)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+e[c+1],e[0]);return new je(r,e,gn)},bo=(e,t)=>{if(Ar)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let n=document.createElement("style"),i=yo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)}},Rr=Ar?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return kt(r)})(e):e;var{is:dd,defineProperty:pd,getOwnPropertyDescriptor:fd,getOwnPropertyNames:ud,getOwnPropertySymbols:hd,getPrototypeOf:md}=Object,vo=globalThis,ec=vo.trustedTypes,gd=ec?ec.emptyScript:"",yd=vo.reactiveElementPolyfillSupport,Ir=(e,t)=>e,xo={toAttribute(e,t){switch(t){case Boolean:e=e?gd:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},yn=(e,t)=>!dd(e,t),rc={attribute:!0,type:String,converter:xo,reflect:!1,hasChanged:yn};Symbol.metadata??=Symbol("metadata"),vo.litPropertyMetadata??=new WeakMap;var Bt=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,r=rc){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(t,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,r);i!==void 0&&pd(this.prototype,t,i)}}static getPropertyDescriptor(t,r,n){let{get:i,set:c}=fd(this.prototype,t)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let l=i?.call(this);c.call(this,s),this.requestUpdate(t,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??rc}static _$Ei(){if(this.hasOwnProperty(Ir("elementProperties")))return;let t=md(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Ir("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ir("properties"))){let r=this.properties,n=[...ud(r),...hd(r)];for(let i of n)this.createProperty(i,r[i])}let t=this[Symbol.metadata];if(t!==null){let r=litPropertyMetadata.get(t);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(t){let r=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)r.unshift(Rr(i))}else t!==void 0&&r.push(Rr(t));return r}static _$Eu(t,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.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(t=>this.enableUpdating=t),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$E_??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){let t=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return bo(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,r,n){this._$AK(t,n)}_$EO(t,r){let n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){let c=(n.converter?.toAttribute!==void 0?n.converter:xo).toAttribute(r,n.type);this._$Em=t,c==null?this.removeAttribute(i):this.setAttribute(i,c),this._$Em=null}}_$AK(t,r){let n=this.constructor,i=n._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let c=n.getPropertyOptions(i),s=typeof c.converter=="function"?{fromAttribute:c.converter}:c.converter?.fromAttribute!==void 0?c.converter:xo;this._$Em=i,this[i]=s.fromAttribute(r,c.type),this._$Em=null}}requestUpdate(t,r,n,i=!1,c){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??yn)(i?c:this[t],r))return;this.C(t,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,r,n){this._$AL.has(t)||this._$AL.set(t,r),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,c]of this._$Ep)this[i]=c;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,c]of n)c.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],c)}let t=!1,r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(r)}willUpdate(t){}_$AE(t){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(t){}firstUpdated(t){}};Bt.elementStyles=[],Bt.shadowRootOptions={mode:"open"},Bt[Ir("elementProperties")]=new Map,Bt[Ir("finalized")]=new Map,yd?.({ReactiveElement:Bt}),(vo.reactiveElementVersions??=[]).push("2.0.2");var xn=globalThis,So=xn.trustedTypes,oc=So?So.createPolicy("lit-html",{createHTML:e=>e}):void 0,vn="$lit$",Jt=`lit$${(Math.random()+"").slice(9)}$`,Sn="?"+Jt,bd=`<${Sn}>`,Te=document,Lr=()=>Te.createComment(""),_r=e=>e===null||typeof e!="object"&&typeof e!="function",lc=Array.isArray,dc=e=>lc(e)||typeof e?.[Symbol.iterator]=="function",bn=`[
4
+ \f\r]`,Pr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,nc=/-->/g,ac=/>/g,Le=RegExp(`>|${bn}(?:([^\\s"'>=/]+)(${bn}*=${bn}*(?:[^
5
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),ic=/'/g,cc=/"/g,pc=/^(?:script|style|textarea|title)$/i,fc=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),B=fc(1),xd=fc(2),ce=Symbol.for("lit-noChange"),V=Symbol.for("lit-nothing"),sc=new WeakMap,_e=Te.createTreeWalker(Te,129);function uc(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return oc!==void 0?oc.createHTML(t):t}var hc=(e,t)=>{let r=e.length-1,n=[],i,c=t===2?"<svg>":"",s=Pr;for(let l=0;l<r;l++){let d=e[l],u,h,y=-1,x=0;for(;x<d.length&&(s.lastIndex=x,h=s.exec(d),h!==null);)x=s.lastIndex,s===Pr?h[1]==="!--"?s=nc:h[1]!==void 0?s=ac:h[2]!==void 0?(pc.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=Le):h[3]!==void 0&&(s=Le):s===Le?h[0]===">"?(s=i??Pr,y=-1):h[1]===void 0?y=-2:(y=s.lastIndex-h[2].length,u=h[1],s=h[3]===void 0?Le:h[3]==='"'?cc:ic):s===cc||s===ic?s=Le:s===nc||s===ac?s=Pr:(s=Le,i=void 0);let v=s===Le&&e[l+1].startsWith("/>")?" ":"";c+=s===Pr?d+bd:y>=0?(n.push(u),d.slice(0,y)+vn+d.slice(y)+Jt+v):d+Jt+(y===-2?l:v)}return[uc(e,c+(e[r]||"<?>")+(t===2?"</svg>":"")),n]},Tr=class e{constructor({strings:t,_$litType$:r},n){let i;this.parts=[];let c=0,s=0,l=t.length-1,d=this.parts,[u,h]=hc(t,r);if(this.el=e.createElement(u,n),_e.currentNode=this.el.content,r===2){let y=this.el.content.firstChild;y.replaceWith(...y.childNodes)}for(;(i=_e.nextNode())!==null&&d.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let y of i.getAttributeNames())if(y.endsWith(vn)){let x=h[s++],v=i.getAttribute(y).split(Jt),S=/([.?@])?(.*)/.exec(x);d.push({type:1,index:c,name:S[2],strings:v,ctor:S[1]==="."?Co:S[1]==="?"?Eo:S[1]==="@"?wo:Ue}),i.removeAttribute(y)}else y.startsWith(Jt)&&(d.push({type:6,index:c}),i.removeAttribute(y));if(pc.test(i.tagName)){let y=i.textContent.split(Jt),x=y.length-1;if(x>0){i.textContent=So?So.emptyScript:"";for(let v=0;v<x;v++)i.append(y[v],Lr()),_e.nextNode(),d.push({type:2,index:++c});i.append(y[x],Lr())}}}else if(i.nodeType===8)if(i.data===Sn)d.push({type:2,index:c});else{let y=-1;for(;(y=i.data.indexOf(Jt,y+1))!==-1;)d.push({type:7,index:c}),y+=Jt.length-1}c++}}static createElement(t,r){let n=Te.createElement("template");return n.innerHTML=t,n}};function ke(e,t,r=e,n){if(t===ce)return t;let i=n!==void 0?r._$Co?.[n]:r._$Cl,c=_r(t)?void 0:t._$litDirective$;return i?.constructor!==c&&(i?._$AO?.(!1),c===void 0?i=void 0:(i=new c(e),i._$AT(e,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(t=ke(e,i._$AS(e,t.values),i,n)),t}var Oo=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:n}=this._$AD,i=(t?.creationScope??Te).importNode(r,!0);_e.currentNode=i;let c=_e.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let u;d.type===2?u=new qe(c,c.nextSibling,this,t):d.type===1?u=new d.ctor(c,d.name,d.strings,this,t):d.type===6&&(u=new No(c,this,t)),this._$AV.push(u),d=n[++l]}s!==d?.index&&(c=_e.nextNode(),s++)}return _e.currentNode=Te,i}p(t){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,r),r+=n.strings.length-2):n._$AI(t[r])),r++}},qe=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,n,i){this.type=2,this._$AH=V,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=ke(this,t,r),_r(t)?t===V||t==null||t===""?(this._$AH!==V&&this._$AR(),this._$AH=V):t!==this._$AH&&t!==ce&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):dc(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==V&&_r(this._$AH)?this._$AA.nextSibling.data=t:this.$(Te.createTextNode(t)),this._$AH=t}g(t){let{values:r,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=Tr.createElement(uc(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let c=new Oo(i,this),s=c.u(this.options);c.p(r),this.$(s),this._$AH=c}}_$AC(t){let r=sc.get(t.strings);return r===void 0&&sc.set(t.strings,r=new Tr(t)),r}T(t){lc(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let c of t)i===r.length?r.push(n=new e(this.k(Lr()),this.k(Lr()),this,this.options)):n=r[i],n._$AI(c),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Ue=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,n,i,c){this.type=1,this._$AH=V,this._$AN=void 0,this.element=t,this.name=r,this._$AM=i,this.options=c,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=V}_$AI(t,r=this,n,i){let c=this.strings,s=!1;if(c===void 0)t=ke(this,t,r,0),s=!_r(t)||t!==this._$AH&&t!==ce,s&&(this._$AH=t);else{let l=t,d,u;for(t=c[0],d=0;d<c.length-1;d++)u=ke(this,l[n+d],r,d),u===ce&&(u=this._$AH[d]),s||=!_r(u)||u!==this._$AH[d],u===V?t=V:t!==V&&(t+=(u??"")+c[d+1]),this._$AH[d]=u}s&&!i&&this.O(t)}O(t){t===V?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Co=class extends Ue{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===V?void 0:t}},Eo=class extends Ue{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==V)}},wo=class extends Ue{constructor(t,r,n,i,c){super(t,r,n,i,c),this.type=5}_$AI(t,r=this){if((t=ke(this,t,r,0)??V)===ce)return;let n=this._$AH,i=t===V&&n!==V||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,c=t!==V&&(n===V||i);i&&this.element.removeEventListener(this.name,this,n),c&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},No=class{constructor(t,r,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){ke(this,t)}},vd={j:vn,P:Jt,A:Sn,C:1,M:hc,L:Oo,R:dc,V:ke,D:qe,I:Ue,H:Eo,N:wo,U:Co,B:No},Sd=xn.litHtmlPolyfillSupport;Sd?.(Tr,qe),(xn.litHtmlVersions??=[]).push("3.1.0");var On=(e,t,r)=>{let n=r?.renderBefore??t,i=n._$litPart$;if(i===void 0){let c=r?.renderBefore??null;n._$litPart$=i=new qe(t.insertBefore(Lr(),c),c,void 0,r??{})}return i._$AI(e),i};var Qt=class extends Bt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=On(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ce}};Qt._$litElement$=!0,Qt.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Qt});var Od=globalThis.litElementPolyfillSupport;Od?.({LitElement:Qt});var Cd={_$AK:(e,t,r)=>{e._$AK(t,r)},_$AL:e=>e._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Qf=!1;var Nn={};X(Nn,{customElement:()=>Ed,eventOptions:()=>Ye,property:()=>E,query:()=>st,queryAll:()=>Ad,queryAssignedElements:()=>En,queryAssignedNodes:()=>wn,queryAsync:()=>Rd,standardProperty:()=>mc,state:()=>et});var Ed=e=>(t,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var wd={attribute:!0,type:String,converter:Or,reflect:!1,hasChanged:so},mc=(e=wd,t,r)=>{let{kind:n,metadata:i}=r,c=globalThis.litPropertyMetadata.get(i);if(c===void 0&&globalThis.litPropertyMetadata.set(i,c=new Map),c.set(r.name,e),n==="accessor"){let{name:s}=r;return{set(l){let d=t.get.call(this);t.set.call(this,l),this.requestUpdate(s,d,e)},init(l){return l!==void 0&&this.C(s,void 0,e),l}}}if(n==="setter"){let{name:s}=r;return function(l){let d=this[s];t.call(this,l),this.requestUpdate(s,d,e)}}throw Error("Unsupported decorator location: "+n)};function E(e){return(t,r)=>typeof r=="object"?mc(e,t,r):((n,i,c)=>{let s=i.hasOwnProperty(c);return i.constructor.createProperty(c,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(i,c):void 0})(e,t,r)}function et(e){return E({...e,state:!0,attribute:!1})}function Ye(e){return(t,r)=>{let n=typeof t=="function"?t:t[r];Object.assign(n,e)}}var Ut=(e,t,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,r),r);function st(e,t){return(r,n,i)=>{let c=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:l}=typeof n=="object"?r:i??(()=>{let d=Symbol();return{get(){return this[d]},set(u){this[d]=u}}})();return Ut(r,n,{get(){let d=s.call(this);return d===void 0&&(d=c(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return Ut(r,n,{get(){return c(this)}})}}var Nd;function Ad(e){return(t,r)=>Ut(t,r,{get(){return(this.renderRoot??(Nd??=document.createDocumentFragment())).querySelectorAll(e)}})}function Rd(e){return(t,r)=>Ut(t,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function En(e){return(t,r)=>{let{slot:n,selector:i}=e??{},c="slot"+(n?`[name=${n}]`:":not([name])");return Ut(t,r,{get(){let s=this.renderRoot?.querySelector(c),l=s?.assignedElements(e)??[];return i===void 0?l:l.filter(d=>d.matches(i))}})}}function wn(e){return(t,r)=>{let{slot:n}=e??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Ut(t,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(e)??[]}})}}var Rn={};X(Rn,{repeat:()=>An});var se={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},le=e=>(...t)=>({_$litDirective$:e,values:t}),Ft=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,r,n){this._$Ct=t,this._$AM=r,this._$Ci=n}_$AS(t,r){return this.update(t,r)}update(t,r){return this.render(...r)}};var{D:Id}=Qi;var gc=()=>document.createComment(""),Xe=(e,t,r)=>{let n=e._$AA.parentNode,i=t===void 0?e._$AB:t._$AA;if(r===void 0){let c=n.insertBefore(gc(),i),s=n.insertBefore(gc(),i);r=new Id(c,s,e,e.options)}else{let c=r._$AB.nextSibling,s=r._$AM,l=s!==e;if(l){let d;r._$AQ?.(e),r._$AM=e,r._$AP!==void 0&&(d=e._$AU)!==s._$AU&&r._$AP(d)}if(c!==i||l){let d=r._$AA;for(;d!==c;){let u=d.nextSibling;n.insertBefore(d,i),d=u}}}return r},de=(e,t,r=e)=>(e._$AI(t,r),e),Pd={},yc=(e,t=Pd)=>e._$AH=t,bc=e=>e._$AH,Ao=e=>{e._$AP?.(!1,!0);let t=e._$AA,r=e._$AB.nextSibling;for(;t!==r;){let n=t.nextSibling;t.remove(),t=n}};var xc=(e,t,r)=>{let n=new Map;for(let i=t;i<=r;i++)n.set(e[i],i);return n},An=le(class extends Ft{constructor(e){if(super(e),e.type!==se.CHILD)throw Error("repeat() can only be used in text expressions")}ht(e,t,r){let n;r===void 0?r=t:t!==void 0&&(n=t);let i=[],c=[],s=0;for(let l of e)i[s]=n?n(l,s):s,c[s]=r(l,s),s++;return{values:c,keys:i}}render(e,t,r){return this.ht(e,t,r).values}update(e,[t,r,n]){let i=bc(e),{values:c,keys:s}=this.ht(t,r,n);if(!Array.isArray(i))return this.dt=s,c;let l=this.dt??=[],d=[],u,h,y=0,x=i.length-1,v=0,S=c.length-1;for(;y<=x&&v<=S;)if(i[y]===null)y++;else if(i[x]===null)x--;else if(l[y]===s[v])d[v]=de(i[y],c[v]),y++,v++;else if(l[x]===s[S])d[S]=de(i[x],c[S]),x--,S--;else if(l[y]===s[S])d[S]=de(i[y],c[S]),Xe(e,d[S+1],i[y]),y++,S--;else if(l[x]===s[v])d[v]=de(i[x],c[v]),Xe(e,i[y],i[x]),x--,v++;else if(u===void 0&&(u=xc(s,v,S),h=xc(l,y,x)),u.has(l[y]))if(u.has(l[x])){let N=h.get(s[v]),P=N!==void 0?i[N]:null;if(P===null){let L=Xe(e,i[y]);de(L,c[v]),d[v]=L}else d[v]=de(P,c[v]),Xe(e,i[y],P),i[N]=null;v++}else Ao(i[x]),x--;else Ao(i[y]),y++;for(;v<=S;){let N=Xe(e,d[S+1]);de(N,c[v]),d[v++]=N}for(;y<=x;){let N=i[y++];N!==null&&Ao(N)}return this.dt=s,yc(e,d),Ot}});var In={};X(In,{classMap:()=>te});var te=le(class extends Ft{constructor(e){if(super(e),e.type!==se.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.it===void 0){this.it=new Set,e.strings!==void 0&&(this.st=new Set(e.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in t)t[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(t)}let r=e.element.classList;for(let n of this.it)n in t||(r.remove(n),this.it.delete(n));for(let n in t){let i=!!t[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 Ot}});var Pn={};X(Pn,{styleMap:()=>_d});var vc="important",Ld=" !"+vc,_d=le(class extends Ft{constructor(e){if(super(e),e.type!==se.ATTRIBUTE||e.name!=="style"||e.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(e){return Object.keys(e).reduce((t,r)=>{let n=e[r];return n==null?t:t+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(e,[t]){let{style:r}=e.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(t)),this.render(t);for(let n of this.ut)t[n]==null&&(this.ut.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in t){let i=t[n];if(i!=null){this.ut.add(n);let c=typeof i=="string"&&i.endsWith(Ld);n.includes("-")||c?r.setProperty(n,c?i.slice(0,-11):i,c?vc:""):r[n]=i}}return Ot}});var _n={};X(_n,{UnsafeHTMLDirective:()=>Je,unsafeHTML:()=>Ln});var Je=class extends Ft{constructor(t){if(super(t),this.et=tt,t.type!==se.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===tt||t==null)return this.vt=void 0,this.et=t;if(t===Ot)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;let r=[t];return r.raw=r,this.vt={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Je.directiveName="unsafeHTML",Je.resultType=1;var Ln=le(Je);var Un={};X(Un,{CacheRegistry:()=>zt});var kn={};X(kn,{CancelablePromise:()=>Qe,CanceledPromiseError:()=>kr,cancelable:()=>Tn});var kr=class extends Error{constructor(t,r,n){super(t),this.canceledPromiseResult=r,this.canceledPromiseError=n}},Qe=class extends Promise{constructor(t){super((r,n)=>t(i=>{this.isCanceled?n(new kr("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new kr("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Tn=e=>new Qe((t,r)=>e.then(t).catch(r));var zt=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,r){this.loaders[t]=r,this.finalContent.delete(t)}registerFinal(t,r){this.loaders[t]=r,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof Qe&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){this.clearTimeouts[t]!=null&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,r){this.forceClear(t),this.register(t,async()=>r),this.content[t]=r}setFinal(t,r){this.forceClear(t),this.registerFinal(t,async()=>r),this.content[t]=r}async get(t,r,n){if(this.content[t]===void 0){if(r=r??this.loaders[t],r==null)throw new Error("Unknown cache key "+t);let i=Tn(r());return this.content[t]=i,i.then(c=>(this.content[t]=c,n!=null&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout(()=>this.clear(t),n)),c))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return t!=null&&!(t instanceof Promise)&&!(t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return this.content[t]!=null}resolvedKeys(){return Object.keys(this.content).filter(t=>this.isResolvedValue(this.content[t]))}resolvedValues(){return Object.values(this.content).filter(t=>this.isResolvedValue(t))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var $n={};X($n,{ClusteringHelper:()=>Ur});var Ur=class e{constructor(t,r,n,i){this.allResults=t,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(t,r){var n,i;let c=((i=(n=t?.map)!==null&&n!==void 0?n:t?.document)!==null&&i!==void 0?i:t?.topic).metadata;return r==null?e.flattenMetadata(c):e.flattenMetadata(c.find(s=>s.key===r))}static flattenMetadata(t){if(Array.isArray(t))return t.map(n=>e.flattenMetadata(n)).filter(n=>n!=null);let r=t?.hierarchicalValues!=null&&t.hierarchicalValues.length>0;if(!(t==null||t.values.length==0&&!r))if(r){let n=[],i=[];return t.hierarchicalValues.forEach(c=>{n.push(c.join(" > ")),c.length>2?i.push(`... > ${c[c.length-1]}`):i.push(c.join(" > "))}),{key:t.key,label:t.label,value:n.join(", "),displayValue:i.join(", ")}}else{let n=t.values.join(", ");return{key:t.key,label:t.label,value:n,displayValue:n}}}computeClustersItemsForMetadata(t,r,n="No value"){var i,c;let s=e.extractResultMetadata(this.selectedResult,t),l=(i=s?.label)!==null&&i!==void 0?i:(c=this.getMetadataDescriptor(t))===null||c===void 0?void 0:c.label;return this.allResults.map(u=>e.extractResultMetadata(u,t)).map(u=>u??{key:t,label:l,value:void 0,displayValue:n}).filter(u=>u.value!=s?.value).filter((u,h,y)=>y.findIndex(x=>x.value===u.value)===h).map(u=>({result:this.findBestResultForMetadataValue(t,u.value),metadata:u})).sort((u,h)=>this.compareMetadata(u.metadata.value,h.metadata.value,t,r))}compareMetadata(t,r,n,i){if(t==null)return-1;if(r==null)return 1;let c=this.getMetadataDescriptor(n),s=c?.sortRule||"NONE",l=c?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=t.localeCompare(r,i,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(r=>t==r.key)}findBestResultForMetadataValue(t,r){let n=this.allResults.filter(d=>{var u;return((u=e.extractResultMetadata(d,t))===null||u===void 0?void 0:u.value)==r}),c=[...e.extractResultMetadata(this.selectedResult).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==t)],s,l=-1;for(let d of n){let u=this.countMatchingMetadata(d,c);if(u>l&&(l=u,s=d,u===c.length))break}return s}countMatchingMetadata(t,r){return e.extractResultMetadata(t).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}};var Wn={};X(Wn,{Debouncer:()=>Ct});var Ct=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,r){return this.callbacks=[t],this.debounce(r)}queue(t,r){return this.callbacks.push(t),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,r;let n=[...this.callbacks];this.callbacks=[];let i=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,c=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){i(l);return}c(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Bn={};X(Bn,{customElement:()=>q,isNumber:()=>Ec,jsonProperty:()=>It,optionalNumberProperty:()=>Md});var Dn={};X(Dn,{dateReviver:()=>kd,deepEqual:()=>$t,delay:()=>Ro,eventPathContainsMatchingElement:()=>Mn,flatDeep:()=>Oc,hasChanged:()=>$r,last:()=>Wd,minmax:()=>$d,parseDate:()=>Cc,waitFor:()=>Sc,waitUntil:()=>Td});var Ro=e=>new Promise(t=>setTimeout(t,e));async function Td(e,t=10,r=2e4){await Sc(async()=>await e()||void 0,t,r)}async function Sc(e,t=10,r=2e4){let n=await e(),i,c;for(i=c=performance.now();n==null&&(!r||c-i<r);)await Ro(t),n=await e(),c=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Oc(e,t){return e.flatMap(r=>[r,...Oc(t(r),t)])}function kd(...e){return function(t,r){return e.includes(t)?Cc(r):r}}function Cc(e){return e.match(/^\d{4}-\d{2}-\d{2}$/)&&(e=e.replace(/-/g,"/")),e=e.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(t,r,n,i)=>r+n+":"+i),new Date(e)}function Ud(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var r,n,i;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!$t(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!$t(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(i=Object.keys(e),r=i.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;for(n=r;n--!==0;){var c=i[n];if(!$t(e[c],t[c]))return!1}return!0}return e!==e&&t!==t}function $t(e,t){try{return Ud(e,t)}catch{return!1}}function $r(e,t){return!$t(e,t)}function Mn(e,t,r=window.document.body){if(t.length>0){let n=e.composedPath();for(let i of n){if(i===r)return!1;if(i.matches&&t.some(c=>i.matches(c)))return!0}}return!1}function $d(e,t,r){return Math.min(Math.max(e,t),r)}function Wd(e){return e[e.length-1]}var q=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function It(e,t){let r=()=>JSON.parse(JSON.stringify(e));return E({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:$r,...t??{}})}function Md(e){return E({type:Object,converter:{fromAttribute:t=>{if(t!=null)return Ec(t)?+t:void 0},toAttribute:t=>t==null?void 0:""+t},...e??{}})}function Ec(e){return!isNaN(parseFloat(e))}var ma={};X(ma,{designSystemVariables:()=>D});var ha={};X(ha,{DesignSystemFamily:()=>fa,DesignSystemSize:()=>ua,FtCssVariableFactory:()=>o,badge:()=>Kd,banner:()=>Hd,breadcrumb:()=>Gd,button:()=>Bd,chart:()=>np,checkbox:()=>ip,chip:()=>Fd,collapsible:()=>rp,comboboxMultiSelect:()=>tp,comboboxSingleSelect:()=>Qd,drawer:()=>jd,floatingMenu:()=>Jd,foundation:()=>f,link:()=>zd,modal:()=>Vd,notice:()=>ap,notification:()=>lp,pageHeader:()=>Zd,popover:()=>ep,radio:()=>sp,resolveFamilyClass:()=>pp,resolveSizeClass:()=>fp,semantic:()=>m,setVariable:()=>$,switch_:()=>op,tabs:()=>qd,textArea:()=>Xd,textInput:()=>Yd,toggle:()=>cp,tooltip:()=>dp,typographies:()=>Wr,typographyBody1Medium:()=>Zn,typographyBody1Regular:()=>Gn,typographyBody1Semibold:()=>Vn,typographyBody2Medium:()=>qn,typographyBody2MediumUnderline:()=>wc,typographyBody2Regular:()=>jn,typographyBody2Semibold:()=>Yn,typographyCaption1Bold:()=>aa,typographyCaption1Medium:()=>oa,typographyCaption1Semibold:()=>na,typographyCaption2Bold:()=>sa,typographyCaption2Medium:()=>ia,typographyCaption2Semibold:()=>ca,typographyCaption3Bold:()=>pa,typographyCaption3Medium:()=>la,typographyCaption3Semibold:()=>da,typographyDisplay:()=>Fn,typographyLabel1Bold:()=>Qn,typographyLabel1Medium:()=>Xn,typographyLabel1Semibold:()=>Jn,typographyLabel2Bold:()=>ra,typographyLabel2Medium:()=>ta,typographyLabel2Semibold:()=>ea,typographyTitle1:()=>zn,typographyTitle2:()=>Hn,typographyTitle3:()=>Kn,typographyVariants:()=>Dd});var ee=e=>typeof e=="string"?kt(e):e,o=class{static create(t,r,n,i){let c=l=>ee(l??i),s=T`var(${ee(t)}, ${c(i)})`;return s.name=t,s.description=r,s.category=n,s.defaultValue=i,s.defaultCssValue=c,s.get=l=>T`var(${ee(t)}, ${c(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,r,n,i){let c=l=>n.get(l??i),s=T`var(${ee(t)}, ${c(i)})`;return s.name=t,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=c,s.get=l=>T`var(${ee(t)}, ${c(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(t,r){let n=c=>t.fallbackVariable?t.fallbackVariable.get(c??t.defaultValue):ee(c??t.lastResortDefaultValue()),i=T`var(${ee(t.name)}, ${n(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=r,i.defaultCssValue=n,i.get=c=>T`var(${ee(t.name)}, ${n(c)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};function $(e,t){return ee(`${e.name}: ${t}`)}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)")},Fn={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")},zn={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")},Hn={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")},Kn={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")},Zn={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")},Vn={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")},jn={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")},qn={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")},wc={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")},Yn={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")},Xn={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")},Jn={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")},Qn={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")},ta={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")},ea={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")},ra={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")},oa={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")},na={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")},aa={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")},ia={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")},ca={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")},sa={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")},la={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")},da={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")},pa={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")},Wr={display:Fn,"title-1":zn,"title-2":Hn,"title-3":Kn,"body-1-regular":Gn,"body-1-medium":Zn,"body-1-semibold":Vn,"body-2-regular":jn,"body-2-medium":qn,"body-2-medium-underline":wc,"body-2-semibold":Yn,"label-1-medium":Xn,"label-1-semibold":Jn,"label-1-bold":Qn,"label-2-medium":ta,"label-2-semibold":ea,"label-2-bold":ra,"caption-1-medium":oa,"caption-1-semibold":na,"caption-1-bold":aa,"caption-2-medium":ia,"caption-2-semibold":ca,"caption-2-bold":sa,"caption-3-medium":la,"caption-3-semibold":da,"caption-3-bold":pa},Dd=["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 m={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 Bd={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","",m.backgroundActionPrimary),primaryColor:o.extend("--ft-button-primary-color","",m.contentGlobalOnColor),primaryIconColor:o.extend("--ft-button-primary-icon-color","",m.contentGlobalOnColor),primaryStateLayerColor:o.extend("--ft-button-primary-state-layer-color","",m.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","",m.borderActionFocusRing),tertiaryBackgroundColor:o.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:o.extend("--ft-button-tertiary-color","",m.contentActionPrimary),tertiaryIconColor:o.extend("--ft-button-tertiary-icon-color","",m.contentActionPrimary),tertiaryStateLayerColor:o.extend("--ft-button-tertiary-state-layer-color","",m.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","",m.contentActionPrimary),secondaryIconColor:o.extend("--ft-button-secondary-icon-color","",m.contentActionPrimary),secondaryStateLayerColor:o.extend("--ft-button-secondary-state-layer-color","",m.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","",m.borderActionPrimary),neutralBackgroundColor:o.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:o.extend("--ft-button-neutral-icon-color","",m.contentGlobalSecondary),neutralColor:o.extend("--ft-button-neutral-color","",m.contentGlobalSecondary),neutralStateLayerColor:o.extend("--ft-button-neutral-state-layer-color","",m.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 Fd={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","",m.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",m.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",m.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",m.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",m.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",m.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",m.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",m.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",m.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",m.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",m.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",m.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",m.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",m.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",m.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",m.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",m.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",m.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",m.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",m.borderErrorSubtle)};var zd={focusOpacity:o.extend("--ft-link-focus-opacity","",f.opacity80),focusFocusRingColor:o.extend("--ft-link-focus-focus-ring-color","",m.borderActionFocusRing),brandColor:o.extend("--ft-link-brand-color","",m.contentActionPrimary),infoColor:o.extend("--ft-link-info-color","",m.contentInfoPrimary)};var Hd={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","",m.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",m.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",m.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",m.borderInfoSubtle)};var Kd={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","",m.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",m.contentActionPrimary)};var Gd={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","",m.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-breadcrumb-previous-non-clickable-color","",m.contentGlobalSecondary),iconColor:o.extend("--ft-breadcrumb-icon-color","",m.contentGlobalSubtle)};var Zd={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","",m.borderGlobalSubtle),titleColor:o.extend("--ft-page-header-title-color","",m.contentGlobalPrimary),subtitleColor:o.extend("--ft-page-header-subtitle-color","",m.contentGlobalSecondary)};var Vd={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","",m.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","",m.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",m.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",m.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-modal-header-trailing-icon-color","",m.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 jd={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",f.opacity40),shadow:o.extend("--ft-drawer-shadow","",f.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",m.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","",m.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",m.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",m.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",m.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","",m.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",m.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",m.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 qd={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","",m.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",m.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",m.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","",m.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",m.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",m.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","",m.borderActionFocusRing)};var Yd={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","",m.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",m.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",m.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",m.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",m.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","",m.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",m.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",m.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","",m.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",f.opacity40)};var Xd={backgroundColor:o.extend("--ft-text-area-background-color","",f.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",m.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",m.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",m.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",m.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","",m.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",m.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",m.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",m.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 Jd={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","",m.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",m.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",m.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",m.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",f.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",m.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","",m.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",f.shadowElevation02)};var Qd={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","",m.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",m.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",m.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",m.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",m.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","",m.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",m.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",m.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",m.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",m.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",m.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 tp={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",f.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",m.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",m.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",m.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",m.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",m.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",m.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",m.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",m.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",m.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",m.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",m.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 ep={backgroundColor:o.extend("--ft-popover-background-color","",m.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","",m.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",m.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",m.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 rp={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","",m.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","",m.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",m.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",m.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",m.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",f.iconSize3)};var op={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","",m.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",m.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","",m.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",m.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","",m.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",m.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","",m.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",f.borderRadiusS)};var np={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 ap={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","",m.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",m.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",m.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",m.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",m.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",m.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",m.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",m.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",m.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",m.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",m.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",m.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",m.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",m.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",m.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",m.contentSuccessIconOnly)};var ip={color:o.extend("--ft-checkbox-color","",m.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",m.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",m.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",m.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","",m.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 cp={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","",m.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",m.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",m.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","",m.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",m.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",m.contentActionPrimary),color:o.extend("--ft-toggle-color","",m.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",m.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",f.spacing3)};var sp={color:o.extend("--ft-radio-color","",m.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",m.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",m.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","",m.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",m.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","",m.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 lp={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","",m.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",m.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",m.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",m.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",m.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",m.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",m.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",m.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",m.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",m.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",m.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",m.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",m.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",m.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",m.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",m.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 dp={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","",m.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",m.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 fa;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(fa||(fa={}));var ua;(function(e){e.large="large",e.medium="medium",e.small="small"})(ua||(ua={}));function pp(e){return`design-system--family-${e}`}function fp(e){return`design-system--size-${e}`}var D={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 xa={};X(xa,{FtNotificationEvent:()=>ga,PostResizeEvent:()=>ba,PreResizeEvent:()=>ya});var ga=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},ya=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},ba=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var Pa={};X(Pa,{computeOffsetPosition:()=>Hr});var Ac=["top","right","bottom","left"],Nc=["start","end"],Sa=Ac.reduce((e,t)=>e.concat(t,t+"-"+Nc[0],t+"-"+Nc[1]),[]),Mr=Math.min,pe=Math.max,Dr=Math.round;var re=e=>({x:e,y:e}),up={left:"right",right:"left",bottom:"top",top:"bottom"},hp={start:"end",end:"start"};function Oa(e,t,r){return pe(e,Mr(t,r))}function Io(e,t){return typeof e=="function"?e(t):e}function tr(e){return e.split("-")[0]}function fe(e){return e.split("-")[1]}function Ca(e){return e==="x"?"y":"x"}function Ea(e){return e==="y"?"height":"width"}function Po(e){return["top","bottom"].includes(tr(e))?"y":"x"}function wa(e){return Ca(Po(e))}function Rc(e,t,r){r===void 0&&(r=!1);let n=fe(e),i=wa(e),c=Ea(i),s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[c]>t.floating[c]&&(s=va(s)),[s,va(s)]}function Ic(e){return e.replace(/start|end/g,t=>hp[t])}function va(e){return e.replace(/left|right|bottom|top/g,t=>up[t])}function mp(e){return{top:0,right:0,bottom:0,left:0,...e}}function Pc(e){return typeof e!="number"?mp(e):{top:e,right:e,bottom:e,left:e}}function $e(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Lc(e,t,r){let{reference:n,floating:i}=e,c=Po(t),s=wa(t),l=Ea(s),d=tr(t),u=c==="y",h=n.x+n.width/2-i.width/2,y=n.y+n.height/2-i.height/2,x=n[l]/2-i[l]/2,v;switch(d){case"top":v={x:h,y:n.y-i.height};break;case"bottom":v={x:h,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y};break;case"left":v={x:n.x-i.width,y};break;default:v={x:n.x,y:n.y}}switch(fe(t)){case"start":v[s]-=x*(r&&u?-1:1);break;case"end":v[s]+=x*(r&&u?-1:1);break}return v}var _c=async(e,t,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:c=[],platform:s}=r,l=c.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(t)),u=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:h,y}=Lc(u,n,d),x=n,v={},S=0;for(let N=0;N<l.length;N++){let{name:P,fn:L}=l[N],{x:k,y:w,data:C,reset:A}=await L({x:h,y,initialPlacement:n,placement:x,strategy:i,middlewareData:v,rects:u,platform:s,elements:{reference:e,floating:t}});if(h=k??h,y=w??y,v={...v,[P]:{...v[P],...C}},A&&S<=50){S++,typeof A=="object"&&(A.placement&&(x=A.placement),A.rects&&(u=A.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):A.rects),{x:h,y}=Lc(u,x,d)),N=-1;continue}}return{x:h,y,placement:x,strategy:i,middlewareData:v}};async function Na(e,t){var r;t===void 0&&(t={});let{x:n,y:i,platform:c,rects:s,elements:l,strategy:d}=e,{boundary:u="clippingAncestors",rootBoundary:h="viewport",elementContext:y="floating",altBoundary:x=!1,padding:v=0}=Io(t,e),S=Pc(v),P=l[x?y==="floating"?"reference":"floating":y],L=$e(await c.getClippingRect({element:(r=await(c.isElement==null?void 0:c.isElement(P)))==null||r?P:P.contextElement||await(c.getDocumentElement==null?void 0:c.getDocumentElement(l.floating)),boundary:u,rootBoundary:h,strategy:d})),k=y==="floating"?{...s.floating,x:n,y:i}:s.reference,w=await(c.getOffsetParent==null?void 0:c.getOffsetParent(l.floating)),C=await(c.isElement==null?void 0:c.isElement(w))?await(c.getScale==null?void 0:c.getScale(w))||{x:1,y:1}:{x:1,y:1},A=$e(c.convertOffsetParentRelativeRectToViewportRelativeRect?await c.convertOffsetParentRelativeRectToViewportRelativeRect({rect:k,offsetParent:w,strategy:d}):k);return{top:(L.top-A.top+S.top)/C.y,bottom:(A.bottom-L.bottom+S.bottom)/C.y,left:(L.left-A.left+S.left)/C.x,right:(A.right-L.right+S.right)/C.x}}function gp(e,t,r){return(e?[...r.filter(i=>fe(i)===e),...r.filter(i=>fe(i)!==e)]:r.filter(i=>tr(i)===i)).filter(i=>e?fe(i)===e||(t?Ic(i)!==i:!1):!0)}var Aa=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,n,i;let{rects:c,middlewareData:s,placement:l,platform:d,elements:u}=t,{crossAxis:h=!1,alignment:y,allowedPlacements:x=Sa,autoAlignment:v=!0,...S}=Io(e,t),N=y!==void 0||x===Sa?gp(y||null,v,x):x,P=await Na(t,S),L=((r=s.autoPlacement)==null?void 0:r.index)||0,k=N[L];if(k==null)return{};let w=Rc(k,c,await(d.isRTL==null?void 0:d.isRTL(u.floating)));if(l!==k)return{reset:{placement:N[0]}};let C=[P[tr(k)],P[w[0]],P[w[1]]],A=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:k,overflows:C}],W=N[L+1];if(W)return{data:{index:L+1,overflows:A},reset:{placement:W}};let F=A.map(b=>{let O=fe(b.placement);return[b.placement,O&&h?b.overflows.slice(0,2).reduce((I,H)=>I+H,0):b.overflows[0],b.overflows]}).sort((b,O)=>b[1]-O[1]),G=((i=F.filter(b=>b[2].slice(0,fe(b[0])?2:3).every(O=>O<=0))[0])==null?void 0:i[0])||F[0][0];return G!==l?{data:{index:L+1,overflows:A},reset:{placement:G}}:{}}}};var Ra=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:n,placement:i}=t,{mainAxis:c=!0,crossAxis:s=!1,limiter:l={fn:P=>{let{x:L,y:k}=P;return{x:L,y:k}}},...d}=Io(e,t),u={x:r,y:n},h=await Na(t,d),y=Po(tr(i)),x=Ca(y),v=u[x],S=u[y];if(c){let P=x==="y"?"top":"left",L=x==="y"?"bottom":"right",k=v+h[P],w=v-h[L];v=Oa(k,v,w)}if(s){let P=y==="y"?"top":"left",L=y==="y"?"bottom":"right",k=S+h[P],w=S-h[L];S=Oa(k,S,w)}let N=l.fn({...t,[x]:v,[y]:S});return{...N,data:{x:N.x-r,y:N.y-n}}}}};function oe(e){return kc(e)?(e.nodeName||"").toLowerCase():"#document"}function yt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ne(e){var t;return(t=(kc(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function kc(e){return e instanceof Node||e instanceof yt(e).Node}function Ht(e){return e instanceof Element||e instanceof yt(e).Element}function Wt(e){return e instanceof HTMLElement||e instanceof yt(e).HTMLElement}function Tc(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof yt(e).ShadowRoot}function er(e){let{overflow:t,overflowX:r,overflowY:n,display:i}=Et(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(i)}function Uc(e){return["table","td","th"].includes(oe(e))}function _o(e){let t=To(),r=Et(e);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(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 $c(e){let t=We(e);for(;Wt(t)&&!Br(t);){if(_o(t))return t;t=We(t)}return null}function To(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Br(e){return["html","body","#document"].includes(oe(e))}function Et(e){return yt(e).getComputedStyle(e)}function Fr(e){return Ht(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function We(e){if(oe(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Tc(e)&&e.host||ne(e);return Tc(t)?t.host:t}function Wc(e){let t=We(e);return Br(t)?e.ownerDocument?e.ownerDocument.body:e.body:Wt(t)&&er(t)?t:Wc(t)}function Lo(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);let i=Wc(e),c=i===((n=e.ownerDocument)==null?void 0:n.body),s=yt(i);return c?t.concat(s,s.visualViewport||[],er(i)?i:[],s.frameElement&&r?Lo(s.frameElement):[]):t.concat(i,Lo(i,[],r))}function Bc(e){let t=Et(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=Wt(e),c=i?e.offsetWidth:r,s=i?e.offsetHeight:n,l=Dr(r)!==c||Dr(n)!==s;return l&&(r=c,n=s),{width:r,height:n,$:l}}function Fc(e){return Ht(e)?e:e.contextElement}function rr(e){let t=Fc(e);if(!Wt(t))return re(1);let r=t.getBoundingClientRect(),{width:n,height:i,$:c}=Bc(t),s=(c?Dr(r.width):r.width)/n,l=(c?Dr(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var yp=re(0);function zc(e){let t=yt(e);return!To()||!t.visualViewport?yp:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function bp(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==yt(e)?!1:t}function zr(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);let i=e.getBoundingClientRect(),c=Fc(e),s=re(1);t&&(n?Ht(n)&&(s=rr(n)):s=rr(e));let l=bp(c,r,n)?zc(c):re(0),d=(i.left+l.x)/s.x,u=(i.top+l.y)/s.y,h=i.width/s.x,y=i.height/s.y;if(c){let x=yt(c),v=n&&Ht(n)?yt(n):n,S=x.frameElement;for(;S&&n&&v!==x;){let N=rr(S),P=S.getBoundingClientRect(),L=Et(S),k=P.left+(S.clientLeft+parseFloat(L.paddingLeft))*N.x,w=P.top+(S.clientTop+parseFloat(L.paddingTop))*N.y;d*=N.x,u*=N.y,h*=N.x,y*=N.y,d+=k,u+=w,S=yt(S).frameElement}}return $e({width:h,height:y,x:d,y:u})}function xp(e){let{rect:t,offsetParent:r,strategy:n}=e,i=Wt(r),c=ne(r);if(r===c)return t;let s={scrollLeft:0,scrollTop:0},l=re(1),d=re(0);if((i||!i&&n!=="fixed")&&((oe(r)!=="body"||er(c))&&(s=Fr(r)),Wt(r))){let u=zr(r);l=rr(r),d.x=u.x+r.clientLeft,d.y=u.y+r.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-s.scrollLeft*l.x+d.x,y:t.y*l.y-s.scrollTop*l.y+d.y}}function vp(e){return Array.from(e.getClientRects())}function Hc(e){return zr(ne(e)).left+Fr(e).scrollLeft}function Sp(e){let t=ne(e),r=Fr(e),n=e.ownerDocument.body,i=pe(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),c=pe(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+Hc(e),l=-r.scrollTop;return Et(n).direction==="rtl"&&(s+=pe(t.clientWidth,n.clientWidth)-i),{width:i,height:c,x:s,y:l}}function Op(e,t){let r=yt(e),n=ne(e),i=r.visualViewport,c=n.clientWidth,s=n.clientHeight,l=0,d=0;if(i){c=i.width,s=i.height;let u=To();(!u||u&&t==="fixed")&&(l=i.offsetLeft,d=i.offsetTop)}return{width:c,height:s,x:l,y:d}}function Cp(e,t){let r=zr(e,!0,t==="fixed"),n=r.top+e.clientTop,i=r.left+e.clientLeft,c=Wt(e)?rr(e):re(1),s=e.clientWidth*c.x,l=e.clientHeight*c.y,d=i*c.x,u=n*c.y;return{width:s,height:l,x:d,y:u}}function Mc(e,t,r){let n;if(t==="viewport")n=Op(e,r);else if(t==="document")n=Sp(ne(e));else if(Ht(t))n=Cp(t,r);else{let i=zc(e);n={...t,x:t.x-i.x,y:t.y-i.y}}return $e(n)}function Kc(e,t){let r=We(e);return r===t||!Ht(r)||Br(r)?!1:Et(r).position==="fixed"||Kc(r,t)}function Ep(e,t){let r=t.get(e);if(r)return r;let n=Lo(e,[],!1).filter(l=>Ht(l)&&oe(l)!=="body"),i=null,c=Et(e).position==="fixed",s=c?We(e):e;for(;Ht(s)&&!Br(s);){let l=Et(s),d=_o(s);!d&&l.position==="fixed"&&(i=null),(c?!d&&!i:!d&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||er(s)&&!d&&Kc(e,s))?n=n.filter(h=>h!==s):i=l,s=We(s)}return t.set(e,n),n}function wp(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e,s=[...r==="clippingAncestors"?Ep(t,this._c):[].concat(r),n],l=s[0],d=s.reduce((u,h)=>{let y=Mc(t,h,i);return u.top=pe(y.top,u.top),u.right=Mr(y.right,u.right),u.bottom=Mr(y.bottom,u.bottom),u.left=pe(y.left,u.left),u},Mc(t,l,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Np(e){return Bc(e)}function Ap(e,t,r){let n=Wt(t),i=ne(t),c=r==="fixed",s=zr(e,!0,c,t),l={scrollLeft:0,scrollTop:0},d=re(0);if(n||!n&&!c)if((oe(t)!=="body"||er(i))&&(l=Fr(t)),n){let u=zr(t,!0,c,t);d.x=u.x+t.clientLeft,d.y=u.y+t.clientTop}else i&&(d.x=Hc(i));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function Dc(e,t){return!Wt(e)||Et(e).position==="fixed"?null:t?t(e):e.offsetParent}function Gc(e,t){let r=yt(e);if(!Wt(e))return r;let n=Dc(e,t);for(;n&&Uc(n)&&Et(n).position==="static";)n=Dc(n,t);return n&&(oe(n)==="html"||oe(n)==="body"&&Et(n).position==="static"&&!_o(n))?r:n||$c(e)||r}var Rp=async function(e){let{reference:t,floating:r,strategy:n}=e,i=this.getOffsetParent||Gc,c=this.getDimensions;return{reference:Ap(t,await i(r),n),floating:{x:0,y:0,...await c(r)}}};function Ip(e){return Et(e).direction==="rtl"}var ko={convertOffsetParentRelativeRectToViewportRelativeRect:xp,getDocumentElement:ne,getClippingRect:wp,getOffsetParent:Gc,getElementRects:Rp,getClientRects:vp,getDimensions:Np,getScale:rr,isElement:Ht,isRTL:Ip};var Zc=(e,t,r)=>{let n=new Map,i={platform:ko,...r},c={...i.platform,_c:n};return _c(e,t,{...i,platform:c})};function Vc(e){return Pp(e)}function Ia(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Pp(e){for(let t=e;t;t=Ia(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Ia(e);t;t=Ia(t)){if(!(t instanceof Element))continue;let r=getComputedStyle(t);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||t.tagName==="BODY"))return t}return null}async function Hr(e,t,r){return Zc(e,t,{platform:{...ko,getOffsetParent:n=>ko.getOffsetParent(n,Vc)},middleware:[Ra({crossAxis:!0}),Aa({allowedPlacements:[r]})]})}var _a={};X(_a,{FtLitElement:()=>K});var La={};X(La,{ScopedRegistryLitElement:()=>Kr});var Uo=window,Lp=Uo.ShadowRoot&&(Uo.ShadyCSS===void 0||Uo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ay=Symbol();var jc=(e,t)=>{Lp?e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):t.forEach(r=>{let n=document.createElement("style"),i=Uo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)})};var Kr=class extends Qt{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([i,c])=>t.registry.define(i,c)));let r={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return jc(n,t.elementStyles),n}};var $o=function(e,t,r,n){var i=arguments.length,c=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(c=(i<3?s(c):i>3?s(t,r,c):s(t,r))||c);return i>3&&c&&Object.defineProperty(t,r,c),c},Xc,qc=Symbol("constructorPrototype"),Yc=Symbol("constructorName"),Jc=Symbol("exportpartsDebouncer"),K=class extends Kr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Xc]=new Ct(5),this[Yc]=this.constructor.name,this[qc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Yc]&&Object.setPrototypeOf(this,this[qc])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}this.importDynamicDependencies()}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}applyCustomStylesheet(t){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(c=>c.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(c){console.error(c,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let c=document.createElement("style");c.classList.add("ft-lit-element--custom-stylesheet"),c.innerHTML=this.customStylesheet,this.shadowRoot.append(c)}}scheduleExportpartsUpdate(){var t,r,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[Jc].run(()=>{var i,c;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((c=this.exportpartsPrefixes)===null||c===void 0?void 0:c.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(t){var r,n,i,c,s,l;let d=x=>x!=null&&x.trim().length>0,u=t.filter(d).map(x=>x.trim());if(u.length===0){this.removeAttribute("exportparts");return}let h=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 v=(c=(i=x.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&c!==void 0?c:[],S=(l=(s=x.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(N=>N.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...v,...S).filter(d).map(N=>N.trim()).forEach(N=>h.add(N))}if(h.size===0){this.removeAttribute("exportparts");return}let y=[...h.values()].flatMap(x=>u.map(v=>`${x}:${v}--${x}`));this.setAttribute("exportparts",[...this.part,...y].join(", "))}};Xc=Jc;$o([E()],K.prototype,"exportpartsPrefix",void 0);$o([It([])],K.prototype,"exportpartsPrefixes",void 0);$o([E()],K.prototype,"customStylesheet",void 0);$o([et()],K.prototype,"useAdoptedStyleSheets",void 0);var Qc={};var $a={};X($a,{highlightHtml:()=>Ua,highlightHtmlColorCssVariable:()=>ts,highlightHtmlStyles:()=>Tp});var Me=class e{constructor(t,r=!0,n=[],i=5e3){this.ctx=t,this.iframes=r,this.exclude=n,this.iframesTimeout=i}static matches(t,r){let n=typeof r=="string"?[r]:r,i=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(i){let c=!1;return n.every(s=>i.call(t,s)?(c=!0,!1):!0),c}else return!1}getContexts(){let t,r=[];return typeof this.ctx>"u"||!this.ctx?t=[]:NodeList.prototype.isPrototypeOf(this.ctx)?t=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?t=this.ctx:typeof this.ctx=="string"?t=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):t=[this.ctx],t.forEach(n=>{let i=r.filter(c=>c.contains(n)).length>0;r.indexOf(n)===-1&&!i&&r.push(n)}),r}getIframeContents(t,r,n=()=>{}){let i;try{let c=t.contentWindow;if(i=c.document,!c||!i)throw new Error("iframe inaccessible")}catch{n()}i&&r(i)}isIframeBlank(t){let r="about:blank",n=t.getAttribute("src").trim();return t.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(t,r,n){let i=!1,c=null,s=()=>{if(!i){i=!0,clearTimeout(c);try{this.isIframeBlank(t)||(t.removeEventListener("load",s),this.getIframeContents(t,r,n))}catch{n()}}};t.addEventListener("load",s),c=setTimeout(s,this.iframesTimeout)}onIframeReady(t,r,n){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,r,n):this.getIframeContents(t,r,n):this.observeIframeLoad(t,r,n)}catch{n()}}waitForIframes(t,r){let n=0;this.forEachIframe(t,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||r()})},i=>{i||r()})}forEachIframe(t,r,n,i=()=>{}){let c=t.querySelectorAll("iframe"),s=c.length,l=0;c=Array.prototype.slice.call(c);let d=()=>{--s<=0&&i(l)};s||d(),c.forEach(u=>{e.matches(u,this.exclude)?d():this.onIframeReady(u,h=>{r(u)&&(l++,n(h)),d()},d)})}createIterator(t,r,n){return document.createNodeIterator(t,r,n,!1)}createInstanceOnIframe(t){return new e(t.querySelector("html"),this.iframes)}compareNodeIframe(t,r,n){let i=t.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_PRECEDING;if(i&c)if(r!==null){let s=r.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(t){let r=t.previousNode(),n;return r===null?n=t.nextNode():n=t.nextNode()&&t.nextNode(),{prevNode:r,node:n}}checkIframeFilter(t,r,n,i){let c=!1,s=!1;return i.forEach((l,d)=>{l.val===n&&(c=d,s=l.handled)}),this.compareNodeIframe(t,r,n)?(c===!1&&!s?i.push({val:n,handled:!0}):c!==!1&&!s&&(i[c].handled=!0),!0):(c===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(t,r,n,i){t.forEach(c=>{c.handled||this.getIframeContents(c.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,n,i)})})}iterateThroughNodes(t,r,n,i,c){let s=this.createIterator(r,t,i),l=[],d=[],u,h,y=()=>({prevNode:h,node:u}=this.getIteratorNode(s),u);for(;y();)this.iframes&&this.forEachIframe(r,x=>this.checkIframeFilter(u,h,x,l),x=>{this.createInstanceOnIframe(x).forEachNode(t,v=>d.push(v),i)}),d.push(u);d.forEach(x=>{n(x)}),this.iframes&&this.handleOpenIframes(l,t,n,i),c()}forEachNode(t,r,n,i=()=>{}){let c=this.getContexts(),s=c.length;s||i(),c.forEach(l=>{let d=()=>{this.iterateThroughNodes(t,l,r,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(l,d):d()})}};var Gr=class{constructor(t){this.ctx=t,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){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},t)}get opt(){return this._opt}get iterator(){return new Me(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return this.opt.wildcards!=="disabled"&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),this.opt.wildcards!=="disabled"&&(t=this.createWildcardsRegExp(t)),t=this.createAccuracyRegExp(t),t}createSynonymsRegExp(t){let r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let c in r)if(r.hasOwnProperty(c)){let s=r[c],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(c):this.escapeStr(c),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${n}`),i+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+i))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return t=t.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),t.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(t){let r=this.opt.wildcards==="withSpaces";return t.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,(r,n,i)=>{let c=i.charAt(n+1);return/[(|)\\]/.test(c)||c===""?r:r+"\0"})}createJoinersRegExp(t){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?t.split(/\u0000+/).join(`[${r.join("")}]*`):t}createDiacriticsRegExp(t){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 t.split("").forEach(c=>{n.every(s=>{if(s.indexOf(c)!==-1){if(i.indexOf(s)>-1)return!1;t=t.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),i.push(s)}return!0})}),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(t){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,c=typeof n=="string"?[]:n.limiters,s="";switch(c.forEach(l=>{s+=`|${this.escapeStr(l)}`}),i){case"partially":default:return`()(${t})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${t}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${t})(?=$|\\s${s})`}}getSeparatedKeywords(t){let r=[];return t.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(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||Object.prototype.toString.call(t[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];let r=[],n=0;return t.sort((i,c)=>i.start-c.start).forEach(i=>{let{start:c,end:s,valid:l}=this.callNoMatchOnInvalidRanges(i,n);l&&(i.start=c,i.length=s-c,r.push(i),n=s)}),r}callNoMatchOnInvalidRanges(t,r){let n,i,c=!1;return t&&typeof t.start<"u"?(n=parseInt(t.start,10),i=n+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&i-r>0&&i-n>0?c=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:n,end:i,valid:c}}checkWhitespaceRanges(t,r,n){let i,c=!0,s=n.length,l=r-s,d=parseInt(t.start,10)-l;return d=d>s?s:d,i=d+parseInt(t.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||i-d<0||d>s||i>s?(c=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):n.substring(d,i).replace(/\s+/g,"")===""&&(c=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:d,end:i,valid:c}}getTextNodes(t){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,()=>{t({value:r,nodes:n})})}matchesExclude(t){return Me.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,r,n){let i=this.opt.element?this.opt.element:"mark",c=t.splitText(r),s=c.splitText(n-r),l=document.createElement(i);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=c.textContent,c.parentNode.replaceChild(l,c),s}wrapRangeInMappedTextNode(t,r,n,i,c){t.nodes.every((s,l)=>{let d=t.nodes[l+1];if(typeof d>"u"||d.start>r){if(!i(s.node))return!1;let u=r-s.start,h=(n>s.end?s.end:n)-s.start,y=t.value.substr(0,s.start),x=t.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,u,h),t.value=y+x,t.nodes.forEach((v,S)=>{S>=l&&(t.nodes[S].start>0&&S!==l&&(t.nodes[S].start-=h),t.nodes[S].end-=h)}),n-=h,c(s.node.previousSibling,s.start),n>s.end)r=s.end;else return!1}return!0})}wrapMatches(t,r,n,i,c){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let u;for(;(u=t.exec(d.textContent))!==null&&u[s]!=="";){if(!n(u[s],d))continue;let h=u.index;if(s!==0)for(let y=1;y<s;y++)h+=u[y].length;d=this.wrapRangeInTextNode(d,h,h+u[s].length),i(d.previousSibling),t.lastIndex=0}}),c()})}wrapMatchesAcrossElements(t,r,n,i,c){let s=r===0?0:r+1;this.getTextNodes(l=>{let d;for(;(d=t.exec(l.value))!==null&&d[s]!=="";){let u=d.index;if(s!==0)for(let y=1;y<s;y++)u+=d[y].length;let h=u+d[s].length;this.wrapRangeInMappedTextNode(l,u,h,y=>n(d[s],y),(y,x)=>{t.lastIndex=x,i(y)})}c()})}wrapRangeFromIndex(t,r,n,i){this.getTextNodes(c=>{let s=c.value.length;t.forEach((l,d)=>{let{start:u,end:h,valid:y}=this.checkWhitespaceRanges(l,s,c.value);y&&this.wrapRangeInMappedTextNode(c,u,h,x=>r(x,l,c.value.substring(u,h),d),x=>{n(x,l)})}),i()})}unwrapMatches(t){let r=t.parentNode,n=document.createDocumentFragment();for(;t.firstChild;)n.appendChild(t.removeChild(t.firstChild));r.replaceChild(n,t),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(t){if(t){if(t.nodeType===3)for(;t.nextSibling&&t.nextSibling.nodeType===3;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,r){this.opt=r,this.log(`Searching with expression "${t}"`);let n=0,i="wrapMatches",c=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](t,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),c,()=>{n===0&&this.opt.noMatch(t),this.opt.done(n)})}mark(t,r){this.opt=r;let n=0,i="wrapMatches",{keywords:c,length:s}=this.getSeparatedKeywords(typeof t=="string"?[t]:t),l=this.opt.caseSensitive?"":"i",d=u=>{let h=new RegExp(this.createRegExp(u),`gm${l}`),y=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(x,v)=>this.opt.filter(v,u,n,y),x=>{y++,n++,this.opt.each(x)},()=>{y===0&&this.opt.noMatch(u),c[s-1]===u?this.opt.done(n):d(c[c.indexOf(u)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(c[0])}markRanges(t,r){this.opt=r;let n=0,i=this.checkRanges(t);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(c,s,l,d)=>this.opt.filter(c,s,l,d),(c,s)=>{n++,this.opt.each(c,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(t){this.opt=t;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=Me.matches(n,r),c=this.matchesExclude(n);return!i||c?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Ta(e){let t=new Gr(e);return this.mark=(r,n)=>(t.mark(r,n),this),this.markRegExp=(r,n)=>(t.markRegExp(r,n),this),this.markRanges=(r,n)=>(t.markRanges(r,n),this),this.unmark=r=>(t.unmark(r),this),this}var _p=Ta,ts=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Tp=T`
7
7
  .highlight-html-match {
8
- background: ${Ys};
8
+ background: ${ts};
9
9
  }
10
- `,Pi={className:"highlight-html-match"};function Ti(e,t){var r;let n=e.getAttribute("data-highlight-html-query");if((n??"")!==(t??"")){let i=new wd(e);i.unmark(Pi),t&&t.trim()&&(i.mark(t.replace(/"[^"]+"/g,""),{...Pi,separateWordSearch:!0}),((r=t.match(/"[^"]+"/g))!==null&&r!==void 0?r:[]).forEach(s=>i.mark(s.replace(/"/g,""),{...Pi,separateWordSearch:!1})))}e.setAttribute("data-highlight-html-query",t??"")}var Ii={};Z(Ii,{noTextSelect:()=>ke,safariEllipsisFix:()=>zr,wordWrap:()=>Rd});var ke=T`
10
+ `,ka={className:"highlight-html-match"};function Ua(e,t){var r;let n=e.getAttribute("data-highlight-html-query");if((n??"")!==(t??"")){let i=new _p(e);i.unmark(ka),t&&t.trim()&&(i.mark(t.replace(/"[^"]+"/g,""),{...ka,separateWordSearch:!0}),((r=t.match(/"[^"]+"/g))!==null&&r!==void 0?r:[]).forEach(s=>i.mark(s.replace(/"/g,""),{...ka,separateWordSearch:!1})))}e.setAttribute("data-highlight-html-query",t??"")}var Wa={};X(Wa,{noTextSelect:()=>De,safariEllipsisFix:()=>Zr,wordWrap:()=>kp});var De=T`
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.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
16
16
  -ms-user-select: none;
17
17
  user-select: none;
18
18
  }
19
- `,Rd=T`
19
+ `,kp=T`
20
20
  .ft-word-wrap {
21
21
  white-space: normal;
22
22
  word-wrap: break-word;
@@ -28,7 +28,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
28
28
  -webkit-hyphens: auto;
29
29
  hyphens: auto
30
30
  }
31
- `,zr=T`
31
+ `,Zr=T`
32
32
  .ft-safari-ellipsis-fix {
33
33
  margin-right: 0;
34
34
 
@@ -39,7 +39,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
39
39
  display: inline-block;
40
40
  width: 0;
41
41
  }
42
- `;var Xs={};var $i={};Z($i,{ParametrizedLabelResolver:()=>Hr});var Hr=class{constructor(t,r){this.defaultLabels=t,this.labels=r}resolve(t,...r){var n,i;t=this.resolvePluralKey(t,r);let a=(i=(n=this.labels[t])!==null&&n!==void 0?n:this.defaultLabels[t])!==null&&i!==void 0?i:"";return r.forEach((s,l)=>a=a.replace(new RegExp(`\\{${l}([^}]*)\\}`,"g"),(c,d)=>this.formatValue(s,d))),a}resolvePluralKey(t,r){for(let n of r)if(typeof n=="number"){let i=`${String(t)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return t}formatValue(t,r){return t instanceof Date?this.formatDate(t,r):t??""}formatDate(t,r){let n=i=>r?.includes("date")?t.toLocaleDateString(i):r?.includes("time")?t.toLocaleTimeString(i):t.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var la={};Z(la,{FtCommandQueue:()=>jr,FtLitElementRedux:()=>Ft,FtReduxStore:()=>Be,clearAllStores:()=>df,isFtReduxStore:()=>Me,redux:()=>Wt,reduxEventListener:()=>Mi,reduxReactive:()=>ki});var ki=()=>(e,t)=>{var r;let n=e.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(t)},Wt=e=>{let t=e??{};return(r,n)=>{var i;let a={hasChanged:Lr,attribute:!1,...t};S(a)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=t.selector)!==null&&i!==void 0?i:l=>l[n],store:t.store})}},Mi=e=>(t,r)=>{let n=t.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,e)};var jr=class{constructor(){this.queue=[]}add(t,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==t.type)),this.queue.push(t)}consume(t){let r=this.queue.find(n=>n.type===t);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};function Me(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Js,Qs,tl,Io=Symbol("internalReduxEventsUnsubscribers"),pe=Symbol("internalStoresUnsubscribers"),De=Symbol("internalStores"),Ft=class extends F{constructor(){super(...arguments),this[Js]=new Map,this[Qs]=new Map,this[tl]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(r=>t.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[De].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[De].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[De].get(t)}addStore(t,r){var n;r=(n=r??(Me(t)?t.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,t)}removeStore(t){let r=typeof t=="string"?t:t.name;this.unsubscribeFromStore(r),this[De].delete(r)}setupStore(t,r){this[De].set(t,r),this.subscribeToStore(t,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[De].forEach((t,r)=>this.subscribeToStore(r,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let i=this.getStore(t.store);i&&(t.store?this[pe].has(t.store):this[pe].size>0)&&(this[r]=t.selector(i.getState(),this))}})}subscribeToStore(t,r){var n;this[pe].set(t,r.subscribe(()=>this.updateFromStores())),Me(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||r.name===i.store)){let s=l=>this[a](l);r.eventBus.addEventListener(i.eventName,s),this[Io].push(()=>r.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[pe].forEach((t,r)=>this.unsubscribeFromStore(r)),this[Io].forEach(t=>t()),this[Io]=[]}unsubscribeFromStore(t){this[pe].has(t)&&this[pe].get(t)(),this[pe].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Js=pe,Qs=De,tl=Io;Ft.reduxProperties=new Map;Ft.reduxReactiveProperties=new Set;Ft.reduxEventListeners=new Map;function Rt(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function re(e){return!!e&&!!e[q]}function $t(e){var t;return!!e&&(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)===kd}(e)||Array.isArray(e)||!!e[sl]||!!(!((t=e.constructor)===null||t===void 0)&&t[sl])||Vi(e)||Ki(e))}function Ue(e,t,r){r===void 0&&(r=!1),er(e)===0?(r?Object.keys:tr)(e).forEach(function(n){r&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,i){return t(i,n,e)})}function er(e){var t=e[q];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Vi(e)?2:Ki(e)?3:0}function Qe(e,t){return er(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Nd(e,t){return er(e)===2?e.get(t):e[t]}function ll(e,t,r){var n=er(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function cl(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Vi(e){return Id&&e instanceof Map}function Ki(e){return $d&&e instanceof Set}function de(e){return e.o||e.t}function Gi(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=fl(e);delete t[q];for(var r=tr(t),n=0;n<r.length;n++){var i=r[n],a=t[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function Zi(e,t){return t===void 0&&(t=!1),qi(e)||re(e)||!$t(e)||(er(e)>1&&(e.set=e.add=e.clear=e.delete=_d),Object.freeze(e),t&&Ue(e,function(r,n){return Zi(n,!0)},!0)),e}function _d(){Rt(2)}function qi(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function zt(e){var t=ji[e];return t||Rt(18,e),t}function Pd(e,t){ji[e]||(ji[e]=t)}function Fi(){return Kr}function Di(e,t){t&&(zt("Patches"),e.u=[],e.s=[],e.v=t)}function $o(e){zi(e),e.p.forEach(Td),e.p=null}function zi(e){e===Kr&&(Kr=e.l)}function el(e){return Kr={p:[],l:Kr,h:e,m:!0,_:0}}function Td(e){var t=e[q];t.i===0||t.i===1?t.j():t.g=!0}function Ui(e,t){t._=t.p.length;var r=t.p[0],n=e!==void 0&&e!==r;return t.h.O||zt("ES5").S(t,e,n),n?(r[q].P&&($o(t),Rt(4)),$t(e)&&(e=ko(t,e),t.l||Mo(t,e)),t.u&&zt("Patches").M(r[q].t,e,t.u,t.s)):e=ko(t,r,[]),$o(t),t.u&&t.v(t.u,t.s),e!==dl?e:void 0}function ko(e,t,r){if(qi(t))return t;var n=t[q];if(!n)return Ue(t,function(l,c){return rl(e,n,t,l,c,r)},!0),t;if(n.A!==e)return t;if(!n.P)return Mo(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Gi(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),Ue(a,function(l,c){return rl(e,n,i,l,c,r,s)}),Mo(e,i,!1),r&&e.u&&zt("Patches").N(n,r,e.u,e.s)}return n.o}function rl(e,t,r,n,i,a,s){if(re(i)){var l=ko(e,i,a&&t&&t.i!==3&&!Qe(t.R,n)?a.concat(n):void 0);if(ll(r,n,l),!re(l))return;e.m=!1}else s&&r.add(i);if($t(i)&&!qi(i)){if(!e.h.D&&e._<1)return;ko(e,i),t&&t.A.l||Mo(e,i)}}function Mo(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&Zi(t,r)}function Bi(e,t){var r=e[q];return(r?de(r):e)[t]}function ol(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function fe(e){e.P||(e.P=!0,e.l&&fe(e.l))}function Wi(e){e.o||(e.o=Gi(e.t))}function Hi(e,t,r){var n=Vi(t)?zt("MapSet").F(t,r):Ki(t)?zt("MapSet").T(t,r):e.O?function(i,a){var s=Array.isArray(i),l={i:s?1:0,A:a?a.A:Fi(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},c=l,d=Gr;s&&(c=[l],d=Vr);var f=Proxy.revocable(c,d),h=f.revoke,y=f.proxy;return l.k=y,l.j=h,y}(t,r):zt("ES5").J(t,r);return(r?r.A:Fi()).p.push(n),n}function Ld(e){return re(e)||Rt(22,e),function t(r){if(!$t(r))return r;var n,i=r[q],a=er(r);if(i){if(!i.P&&(i.i<4||!zt("ES5").K(i)))return i.t;i.I=!0,n=nl(r,a),i.I=!1}else n=nl(r,a);return Ue(n,function(s,l){i&&Nd(i.t,s)===l||ll(n,s,t(l))}),a===3?new Set(n):n}(e)}function nl(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Gi(e)}function pl(){function e(s,l){var c=a[s];return c?c.enumerable=l:a[s]=c={configurable:!0,enumerable:l,get:function(){var d=this[q];return Gr.get(d,s)},set:function(d){var f=this[q];Gr.set(f,s,d)}},c}function t(s){for(var l=s.length-1;l>=0;l--){var c=s[l][q];if(!c.P)switch(c.i){case 5:n(c)&&fe(c);break;case 4:r(c)&&fe(c)}}}function r(s){for(var l=s.t,c=s.k,d=tr(c),f=d.length-1;f>=0;f--){var h=d[f];if(h!==q){var y=l[h];if(y===void 0&&!Qe(l,h))return!0;var g=c[h],b=g&&g[q];if(b?b.t!==y:!cl(g,y))return!0}}var E=!!l[q];return d.length!==tr(l).length+(E?0:1)}function n(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 d=0;d<l.length;d++)if(!l.hasOwnProperty(d))return!0;return!1}function i(s){s.g&&Rt(3,JSON.stringify(de(s)))}var a={};Pd("ES5",{J:function(s,l){var c=Array.isArray(s),d=function(h,y){if(h){for(var g=Array(y.length),b=0;b<y.length;b++)Object.defineProperty(g,""+b,e(b,!0));return g}var E=fl(y);delete E[q];for(var R=tr(E),N=0;N<R.length;N++){var P=R[N];E[P]=e(P,h||!!E[P].enumerable)}return Object.create(Object.getPrototypeOf(y),E)}(c,s),f={i:c?5:4,A:l?l.A:Fi(),P:!1,I:!1,R:{},l,t:s,k:d,o:null,g:!1,C:!1};return Object.defineProperty(d,q,{value:f,writable:!0}),d},S:function(s,l,c){c?re(l)&&l[q].A===s&&t(s.p):(s.u&&function d(f){if(f&&typeof f=="object"){var h=f[q];if(h){var y=h.t,g=h.k,b=h.R,E=h.i;if(E===4)Ue(g,function(v){v!==q&&(y[v]!==void 0||Qe(y,v)?b[v]||d(g[v]):(b[v]=!0,fe(h)))}),Ue(y,function(v){g[v]!==void 0||Qe(g,v)||(b[v]=!1,fe(h))});else if(E===5){if(n(h)&&(fe(h),b.length=!0),g.length<y.length)for(var R=g.length;R<y.length;R++)b[R]=!1;else for(var N=y.length;N<g.length;N++)b[N]=!0;for(var P=Math.min(g.length,y.length),O=0;O<P;O++)g.hasOwnProperty(O)||(b[O]=!0),b[O]===void 0&&d(g[O])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var il,Kr,Yi=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Id=typeof Map<"u",$d=typeof Set<"u",al=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",dl=Yi?Symbol.for("immer-nothing"):((il={})["immer-nothing"]=!0,il),sl=Yi?Symbol.for("immer-draftable"):"__$immer_draftable",q=Yi?Symbol.for("immer-state"):"__$immer_state";var kd=""+Object.prototype.constructor,tr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,fl=Object.getOwnPropertyDescriptors||function(e){var t={};return tr(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},ji={},Gr={get:function(e,t){if(t===q)return e;var r=de(e);if(!Qe(r,t))return function(i,a,s){var l,c=ol(a,s);return c?"value"in c?c.value:(l=c.get)===null||l===void 0?void 0:l.call(i.k):void 0}(e,r,t);var n=r[t];return e.I||!$t(n)?n:n===Bi(e.t,t)?(Wi(e),e.o[t]=Hi(e.A.h,n,e)):n},has:function(e,t){return t in de(e)},ownKeys:function(e){return Reflect.ownKeys(de(e))},set:function(e,t,r){var n=ol(de(e),t);if(n?.set)return n.set.call(e.k,r),!0;if(!e.P){var i=Bi(de(e),t),a=i?.[q];if(a&&a.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(cl(r,i)&&(r!==void 0||Qe(e.t,t)))return!0;Wi(e),fe(e)}return e.o[t]===r&&(r!==void 0||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return Bi(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Wi(e),fe(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=de(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){Rt(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Rt(12)}},Vr={};Ue(Gr,function(e,t){Vr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Vr.deleteProperty=function(e,t){return Vr.set.call(this,e,t,void 0)},Vr.set=function(e,t,r){return Gr.set.call(this,e[0],t,r,e[0])};var Md=function(){function e(r){var n=this;this.O=al,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var l=a;a=i;var c=n;return function(E){var R=this;E===void 0&&(E=l);for(var N=arguments.length,P=Array(N>1?N-1:0),O=1;O<N;O++)P[O-1]=arguments[O];return c.produce(E,function(v){var C;return(C=a).call.apply(C,[R,v].concat(P))})}}var d;if(typeof a!="function"&&Rt(6),s!==void 0&&typeof s!="function"&&Rt(7),$t(i)){var f=el(n),h=Hi(n,i,void 0),y=!0;try{d=a(h),y=!1}finally{y?$o(f):zi(f)}return typeof Promise<"u"&&d instanceof Promise?d.then(function(E){return Di(f,s),Ui(E,f)},function(E){throw $o(f),E}):(Di(f,s),Ui(d,f))}if(!i||typeof i!="object"){if((d=a(i))===void 0&&(d=i),d===dl&&(d=void 0),n.D&&Zi(d,!0),s){var g=[],b=[];zt("Patches").M(i,d,g,b),s(g,b)}return d}Rt(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(d){for(var f=arguments.length,h=Array(f>1?f-1:0),y=1;y<f;y++)h[y-1]=arguments[y];return n.produceWithPatches(d,function(g){return i.apply(void 0,[g].concat(h))})};var s,l,c=n.produce(i,a,function(d,f){s=d,l=f});return typeof Promise<"u"&&c instanceof Promise?c.then(function(d){return[d,s,l]}):[c,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var t=e.prototype;return t.createDraft=function(r){$t(r)||Rt(8),re(r)&&(r=Ld(r));var n=el(this),i=Hi(this,r,void 0);return i[q].C=!0,zi(n),i},t.finishDraft=function(r,n){var i=r&&r[q],a=i.A;return Di(a,n),Ui(void 0,a)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!al&&Rt(20),this.O=r},t.applyPatches=function(r,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}i>-1&&(n=n.slice(i+1));var s=zt("Patches").$;return re(r)?s(r,n):this.produce(r,function(l){return s(l,n)})},e}(),Ot=new Md,Dd=Ot.produce,Eg=Ot.produceWithPatches.bind(Ot),Cg=Ot.setAutoFreeze.bind(Ot),wg=Ot.setUseProxies.bind(Ot),Ag=Ot.applyPatches.bind(Ot),Rg=Ot.createDraft.bind(Ot),Ng=Ot.finishDraft.bind(Ot),Do=Dd;function ue(e){"@babel/helpers - typeof";return ue=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ue(e)}function Xi(e,t){if(ue(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(ue(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ji(e){var t=Xi(e,"string");return ue(t)==="symbol"?t:String(t)}function Qi(e,t,r){return t=Ji(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ul(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Uo(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ul(Object(r),!0).forEach(function(n){Qi(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ul(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function pt(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var hl=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ta=function(){return Math.random().toString(36).substring(7).split("").join(".")},Bo={INIT:"@@redux/INIT"+ta(),REPLACE:"@@redux/REPLACE"+ta(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ta()}};function Ud(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function ea(e,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(pt(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(pt(1));return r(ea)(e,t)}if(typeof e!="function")throw new Error(pt(2));var i=e,a=t,s=[],l=s,c=!1;function d(){l===s&&(l=s.slice())}function f(){if(c)throw new Error(pt(3));return a}function h(E){if(typeof E!="function")throw new Error(pt(4));if(c)throw new Error(pt(5));var R=!0;return d(),l.push(E),function(){if(R){if(c)throw new Error(pt(6));R=!1,d();var P=l.indexOf(E);l.splice(P,1),s=null}}}function y(E){if(!Ud(E))throw new Error(pt(7));if(typeof E.type>"u")throw new Error(pt(8));if(c)throw new Error(pt(9));try{c=!0,a=i(a,E)}finally{c=!1}for(var R=s=l,N=0;N<R.length;N++){var P=R[N];P()}return E}function g(E){if(typeof E!="function")throw new Error(pt(10));i=E,y({type:Bo.REPLACE})}function b(){var E,R=h;return E={subscribe:function(P){if(typeof P!="object"||P===null)throw new Error(pt(11));function O(){P.next&&P.next(f())}O();var v=R(O);return{unsubscribe:v}}},E[hl]=function(){return this},E}return y({type:Bo.INIT}),n={dispatch:y,subscribe:h,getState:f,replaceReducer:g},n[hl]=b,n}function Bd(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:Bo.INIT});if(typeof n>"u")throw new Error(pt(12));if(typeof r(void 0,{type:Bo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(pt(13))})}function ml(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var i=t[n];typeof e[i]=="function"&&(r[i]=e[i])}var a=Object.keys(r),s,l;try{Bd(r)}catch(c){l=c}return function(d,f){if(d===void 0&&(d={}),l)throw l;if(0)var h;for(var y=!1,g={},b=0;b<a.length;b++){var E=a[b],R=r[E],N=d[E],P=R(N,f);if(typeof P>"u"){var O=f&&f.type;throw new Error(pt(14))}g[E]=P,y=y||P!==N}return y=y||a.length!==Object.keys(d).length,y?g:d}}function rr(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function yl(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(pt(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=t.map(function(c){return c(s)});return a=rr.apply(void 0,l)(i.dispatch),Uo(Uo({},i),{},{dispatch:a})}}}function gl(e){var t=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(l){return typeof l=="function"?l(i,a,e):s(l)}}};return t}var bl=gl();bl.withExtraArgument=gl;var ra=bl;var El=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Wd=function(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(d){return function(f){return c([d,f])}}function c(d){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=d[0]&2?i.return:d[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,d[1])).done)return a;switch(i=0,a&&(d=[d[0]&2,a.value]),d[0]){case 0:case 1:a=d;break;case 4:return r.label++,{value:d[1],done:!1};case 5:r.label++,i=d[1],d=[0];continue;case 7:d=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(d[0]===6||d[0]===2)){r=0;continue}if(d[0]===3&&(!a||d[1]>a[0]&&d[1]<a[3])){r.label=d[1];break}if(d[0]===6&&r.label<a[1]){r.label=a[1],a=d;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(d);break}a[2]&&r.ops.pop(),r.trys.pop();continue}d=t.call(e,r)}catch(f){d=[6,f],i=0}finally{n=a=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}},or=function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e},Fd=Object.defineProperty,zd=Object.defineProperties,Hd=Object.getOwnPropertyDescriptors,xl=Object.getOwnPropertySymbols,jd=Object.prototype.hasOwnProperty,Vd=Object.prototype.propertyIsEnumerable,vl=function(e,t,r){return t in e?Fd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},he=function(e,t){for(var r in t||(t={}))jd.call(t,r)&&vl(e,r,t[r]);if(xl)for(var n=0,i=xl(t);n<i.length;n++){var r=i[n];Vd.call(t,r)&&vl(e,r,t[r])}return e},oa=function(e,t){return zd(e,Hd(t))},Kd=function(e,t,r){return new Promise(function(n,i){var a=function(c){try{l(r.next(c))}catch(d){i(d)}},s=function(c){try{l(r.throw(c))}catch(d){i(d)}},l=function(c){return c.done?n(c.value):Promise.resolve(c.value).then(a,s)};l((r=r.apply(e,t)).next())})};var Gd=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?rr:rr.apply(null,arguments)},Kg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function Zd(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var r=t;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return t===r}var qd=function(e){El(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=e.apply(this,r)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.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(t.bind.apply(t,or([void 0],r[0].concat(this)))):new(t.bind.apply(t,or([void 0],r.concat(this))))},t}(Array),Yd=function(e){El(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=e.apply(this,r)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.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(t.bind.apply(t,or([void 0],r[0].concat(this)))):new(t.bind.apply(t,or([void 0],r.concat(this))))},t}(Array);function aa(e){return $t(e)?Do(e,function(){}):e}function Xd(e){return typeof e=="boolean"}function Jd(){return function(t){return Qd(t)}}function Qd(e){e===void 0&&(e={});var t=e.thunk,r=t===void 0?!0:t,n=e.immutableCheck,i=n===void 0?!0:n,a=e.serializableCheck,s=a===void 0?!0:a,l=new qd;if(r&&(Xd(r)?l.push(ra):l.push(ra.withExtraArgument(r.extraArgument))),0){if(i)var c;if(s)var d}return l}var na=!0;function Cl(e){var t=Jd(),r=e||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,s=a===void 0?t():a,l=r.devTools,c=l===void 0?!0:l,d=r.preloadedState,f=d===void 0?void 0:d,h=r.enhancers,y=h===void 0?void 0:h,g;if(typeof i=="function")g=i;else if(Zd(i))g=ml(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var b=s;if(typeof b=="function"&&(b=b(t),!na&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!na&&b.some(function(v){return typeof v!="function"}))throw new Error("each middleware provided to configureStore must be a function");var E=yl.apply(void 0,b),R=rr;c&&(R=Gd(he({trace:!na},typeof c=="object"&&c)));var N=new Yd(E),P=N;Array.isArray(y)?P=or([E],y):typeof y=="function"&&(P=y(N));var O=R.apply(void 0,P);return ea(g,f,O)}function me(e,t){function r(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(t){var a=t.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return he(he({type:e,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:e,payload:n[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(n){return n.type===e},r}function wl(e){var t={},r=[],n,i={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[l]=s,i},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return e(i),[t,r,n]}function tf(e){return typeof e=="function"}function ef(e,t,r,n){r===void 0&&(r=[]);var i=typeof t=="function"?wl(t):[t,r,n],a=i[0],s=i[1],l=i[2],c;if(tf(e))c=function(){return aa(e())};else{var d=aa(e);c=function(){return d}}function f(h,y){h===void 0&&(h=c());var g=or([a[y.type]],s.filter(function(b){var E=b.matcher;return E(y)}).map(function(b){var E=b.reducer;return E}));return g.filter(function(b){return!!b}).length===0&&(g=[l]),g.reduce(function(b,E){if(E)if(re(b)){var R=b,N=E(R,y);return N===void 0?b:N}else{if($t(b))return Do(b,function(P){return E(P,y)});var N=E(b,y);if(N===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return N}return b},h)}return f.getInitialState=c,f}function rf(e,t){return e+"/"+t}function Al(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof e.initialState=="function"?e.initialState:aa(e.initialState),n=e.reducers||{},i=Object.keys(n),a={},s={},l={};i.forEach(function(f){var h=n[f],y=rf(t,f),g,b;"reducer"in h?(g=h.reducer,b=h.prepare):g=h,a[f]=g,s[y]=g,l[f]=b?me(y,b):me(y)});function c(){var f=typeof e.extraReducers=="function"?wl(e.extraReducers):[e.extraReducers],h=f[0],y=h===void 0?{}:h,g=f[1],b=g===void 0?[]:g,E=f[2],R=E===void 0?void 0:E,N=he(he({},y),s);return ef(r,function(P){for(var O in N)P.addCase(O,N[O]);for(var v=0,C=b;v<C.length;v++){var $=C[v];P.addMatcher($.matcher,$.reducer)}R&&P.addDefaultCase(R)})}var d;return{name:t,reducer:function(f,h){return d||(d=c()),d(f,h)},actions:l,caseReducers:a,getInitialState:function(){return d||(d=c()),d.getInitialState()}}}var of="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",nf=function(e){e===void 0&&(e=21);for(var t="",r=e;r--;)t+=of[Math.random()*64|0];return t},af=["name","message","stack","code"],ia=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),Sl=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),sf=function(e){if(typeof e=="object"&&e!==null){for(var t={},r=0,n=af;r<n.length;r++){var i=n[r];typeof e[i]=="string"&&(t[i]=e[i])}return t}return{message:String(e)}},Yg=function(){function e(t,r,n){var i=me(t+"/fulfilled",function(f,h,y,g){return{payload:f,meta:oa(he({},g||{}),{arg:y,requestId:h,requestStatus:"fulfilled"})}}),a=me(t+"/pending",function(f,h,y){return{payload:void 0,meta:oa(he({},y||{}),{arg:h,requestId:f,requestStatus:"pending"})}}),s=me(t+"/rejected",function(f,h,y,g,b){return{payload:g,error:(n&&n.serializeError||sf)(f||"Rejected"),meta:oa(he({},b||{}),{arg:y,requestId:h,rejectedWithValue:!!g,requestStatus:"rejected",aborted:f?.name==="AbortError",condition:f?.name==="ConditionError"})}}),l=!1,c=typeof AbortController<"u"?AbortController:function(){function f(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return f.prototype.abort=function(){},f}();function d(f){return function(h,y,g){var b=n?.idGenerator?n.idGenerator(f):nf(),E=new c,R,N=!1;function P(v){R=v,E.abort()}var O=function(){return Kd(this,null,function(){var v,C,$,U,ct,z,m;return Wd(this,function(x){switch(x.label){case 0:return x.trys.push([0,4,,5]),U=(v=n?.condition)==null?void 0:v.call(n,f,{getState:y,extra:g}),cf(U)?[4,U]:[3,2];case 1:U=x.sent(),x.label=2;case 2:if(U===!1||E.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return N=!0,ct=new Promise(function(A,W){return E.signal.addEventListener("abort",function(){return W({name:"AbortError",message:R||"Aborted"})})}),h(a(b,f,(C=n?.getPendingMeta)==null?void 0:C.call(n,{requestId:b,arg:f},{getState:y,extra:g}))),[4,Promise.race([ct,Promise.resolve(r(f,{dispatch:h,getState:y,extra:g,requestId:b,signal:E.signal,abort:P,rejectWithValue:function(A,W){return new ia(A,W)},fulfillWithValue:function(A,W){return new Sl(A,W)}})).then(function(A){if(A instanceof ia)throw A;return A instanceof Sl?i(A.payload,b,f,A.meta):i(A,b,f)})])];case 3:return $=x.sent(),[3,5];case 4:return z=x.sent(),$=z instanceof ia?s(null,b,f,z.payload,z.meta):s(z,b,f),[3,5];case 5:return m=n&&!n.dispatchConditionRejection&&s.match($)&&$.meta.condition,m||h($),[2,$]}})})}();return Object.assign(O,{abort:P,requestId:b,arg:f,unwrap:function(){return O.then(lf)}})}}return Object.assign(d,{pending:a,rejected:s,fulfilled:i,typePrefix:t})}return e.withTypes=function(){return e},e}();function lf(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function cf(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Rl="listener",Nl="completed",_l="cancelled",Xg="task-"+_l,Jg="task-"+Nl,Qg=Rl+"-"+_l,tb=Rl+"-"+Nl;var sa="listenerMiddleware";var eb=me(sa+"/add"),rb=me(sa+"/removeAll"),ob=me(sa+"/remove");var Ol,nb=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Ol||(Ol=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},pf=function(e){return function(t){setTimeout(t,e)}},ib=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:pf(10);pl();window.ftReduxStores||(window.ftReduxStores={});var Be=class e{static get(t){var r;let n=typeof t=="string"?t:t.name,i=typeof t=="string"?void 0:t,a=window.ftReduxStores[n];if(Me(a))return a;if(i==null)return;let s=Al({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),l=Cl({reducer:(c,d)=>d.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof d.type=="string"&&d.type.startsWith("DEFAULT_VALUE_SETTER__")?{...c,...d.overwrites}:s.reducer(c,d)});return window.ftReduxStores[i.name]=new e(s,l)}constructor(t,r){this.reduxSlice=t,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new jr,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,l=n[s];return l?(...c)=>{let d=l(...c);return this.reduxStore.dispatch(d),d}:c=>{this.setState({[s]:c})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}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(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function df(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))Me(t)&&t.clear()}var ca={};Z(ca,{serializeRequest:()=>uf});function ff(e){return`"${e}"`}function uf(e,t){var r,n,i,a;let s=new URLSearchParams({"content-lang":(r=t.contentLocale)!==null&&r!==void 0?r:"all"});if(((n=t.query)===null||n===void 0?void 0:n.length)>0&&s.append("query",t.query),t.scope&&t.scope!=="DEFAULT"&&s.append("scope",t.scope.toLowerCase()),t.virtualField&&t.virtualField!=="EVERYWHERE"&&s.append("virtual-field",t.virtualField.toLowerCase()),t.periodFilter){let c=t.periodFilter.period,d=c?`_${c.from}_${c.to}`:"";s.append("period",t.periodFilter.periodType.toLowerCase()+d)}if(((i=t.sort)===null||i===void 0?void 0:i.length)>0&&t.sort[0].key==="ft:lastEdition"&&s.append("sort","last_update"),((a=t.filters)===null||a===void 0?void 0:a.length)>0){let c=t.filters.map(d=>{let f=d.values.map(h=>h.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(h=>encodeURIComponent(ff(h))).join("_");return`${d.key}~${f}`}).join("*");s.append("filters",c)}return new URL(`${e.replace(/\/+$/,"")}/search?${s.toString()}`).href}var da={};Z(da,{toFtFormComponent:()=>pa});var Wo=Symbol("elementInternals");function pa(e,t){class r extends e{static get formAssociated(){return!0}get form(){return this[Wo].form}constructor(...i){super(i),this[Wo]=this.attachInternals(),this[Wo].role=t}setFormValue(i){this[Wo].setFormValue(i)}}return r}var ye=class{static format(t,r,n,i){return window.moment?window.moment(t).locale(r).format(this.getDateFormat(n,i)):t}static getDateFormat(t,r){return t?r?"lll":"ll":r?"L LT":"L"}};var fa,ua,ha,ma,Zr=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((ha=(ua=(fa=window.safari)===null||fa===void 0?void 0:fa.pushNotification)===null||ua===void 0?void 0:ua.toString())!==null&&ha!==void 0?ha:"")==="[object SafariRemoteNotification]",hf="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(ma=window.ftGlobals)!==null&&ma!==void 0?ma:{lit:xn,litDecorators:On,litRepeat:Cn,litClassMap:wn,litStyleMap:An,litUnsafeHTML:Nn,wcUtils:{...Tn,...Pn,...Ln,...ye,...In,...Mn,...di,...mi,...Ai,...pi,...Ni,...qs,...kn,...Li,...Ii,...Xs,...$i,...la,...Ri,...ca,...da,isSafari:Zr,isTouchScreen:hf}};var Kb={},Pl=T`
42
+ `;var es={};var Ma={};X(Ma,{ParametrizedLabelResolver:()=>Vr});var Vr=class{constructor(t,r){this.defaultLabels=t,this.labels=r}resolve(t,...r){var n,i;t=this.resolvePluralKey(t,r);let c=(i=(n=this.labels[t])!==null&&n!==void 0?n:this.defaultLabels[t])!==null&&i!==void 0?i:"";return r.forEach((s,l)=>c=c.replace(new RegExp(`\\{${l}([^}]*)\\}`,"g"),(d,u)=>this.formatValue(s,u))),c}resolvePluralKey(t,r){for(let n of r)if(typeof n=="number"){let i=`${String(t)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return t}formatValue(t,r){return t instanceof Date?this.formatDate(t,r):t??""}formatDate(t,r){let n=i=>r?.includes("date")?t.toLocaleDateString(i):r?.includes("time")?t.toLocaleTimeString(i):t.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var fi={};X(fi,{FtCommandQueue:()=>jr,FtLitElementRedux:()=>Gt,FtReduxStore:()=>He,clearAllStores:()=>bf,isFtReduxStore:()=>Be,redux:()=>Kt,reduxEventListener:()=>Ba,reduxReactive:()=>Da});var Da=()=>(e,t)=>{var r;let n=e.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(t)},Kt=e=>{let t=e??{};return(r,n)=>{var i;let c={hasChanged:$r,attribute:!1,...t};E(c)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=t.selector)!==null&&i!==void 0?i:l=>l[n],store:t.store})}},Ba=e=>(t,r)=>{let n=t.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,e)};var jr=class{constructor(){this.queue=[]}add(t,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==t.type)),this.queue.push(t)}consume(t){let r=this.queue.find(n=>n.type===t);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};function Be(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var rs,os,ns,Wo=Symbol("internalReduxEventsUnsubscribers"),ue=Symbol("internalStoresUnsubscribers"),Fe=Symbol("internalStores"),Gt=class extends K{constructor(){super(...arguments),this[rs]=new Map,this[os]=new Map,this[ns]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(r=>t.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[Fe].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Fe].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[Fe].get(t)}addStore(t,r){var n;r=(n=r??(Be(t)?t.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,t)}removeStore(t){let r=typeof t=="string"?t:t.name;this.unsubscribeFromStore(r),this[Fe].delete(r)}setupStore(t,r){this[Fe].set(t,r),this.subscribeToStore(t,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Fe].forEach((t,r)=>this.subscribeToStore(r,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let i=this.getStore(t.store);i&&(t.store?this[ue].has(t.store):this[ue].size>0)&&(this[r]=t.selector(i.getState(),this))}})}subscribeToStore(t,r){var n;this[ue].set(t,r.subscribe(()=>this.updateFromStores())),Be(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,c)=>{if(typeof this[c]=="function"&&(!i.store||r.name===i.store)){let s=l=>this[c](l);r.eventBus.addEventListener(i.eventName,s),this[Wo].push(()=>r.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[ue].forEach((t,r)=>this.unsubscribeFromStore(r)),this[Wo].forEach(t=>t()),this[Wo]=[]}unsubscribeFromStore(t){this[ue].has(t)&&this[ue].get(t)(),this[ue].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};rs=ue,os=Fe,ns=Wo;Gt.reduxProperties=new Map;Gt.reduxReactiveProperties=new Set;Gt.reduxEventListeners=new Map;function Pt(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(0)var i,c;throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function ae(e){return!!e&&!!e[J]}function Mt(e){var t;return!!e&&(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)===zp}(e)||Array.isArray(e)||!!e[ps]||!!(!((t=e.constructor)===null||t===void 0)&&t[ps])||qa(e)||Ya(e))}function ze(e,t,r){r===void 0&&(r=!1),ar(e)===0?(r?Object.keys:nr)(e).forEach(function(n){r&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,i){return t(i,n,e)})}function ar(e){var t=e[J];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:qa(e)?2:Ya(e)?3:0}function or(e,t){return ar(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Up(e,t){return ar(e)===2?e.get(t):e[t]}function fs(e,t,r){var n=ar(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function us(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function qa(e){return Bp&&e instanceof Map}function Ya(e){return Fp&&e instanceof Set}function he(e){return e.o||e.t}function Xa(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=gs(e);delete t[J];for(var r=nr(t),n=0;n<r.length;n++){var i=r[n],c=t[i];c.writable===!1&&(c.writable=!0,c.configurable=!0),(c.get||c.set)&&(t[i]={configurable:!0,writable:!0,enumerable:c.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function Ja(e,t){return t===void 0&&(t=!1),Qa(e)||ae(e)||!Mt(e)||(ar(e)>1&&(e.set=e.add=e.clear=e.delete=$p),Object.freeze(e),t&&ze(e,function(r,n){return Ja(n,!0)},!0)),e}function $p(){Pt(2)}function Qa(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Zt(e){var t=ja[e];return t||Pt(18,e),t}function Wp(e,t){ja[e]||(ja[e]=t)}function Ga(){return Yr}function Fa(e,t){t&&(Zt("Patches"),e.u=[],e.s=[],e.v=t)}function Mo(e){Za(e),e.p.forEach(Mp),e.p=null}function Za(e){e===Yr&&(Yr=e.l)}function as(e){return Yr={p:[],l:Yr,h:e,m:!0,_:0}}function Mp(e){var t=e[J];t.i===0||t.i===1?t.j():t.g=!0}function za(e,t){t._=t.p.length;var r=t.p[0],n=e!==void 0&&e!==r;return t.h.O||Zt("ES5").S(t,e,n),n?(r[J].P&&(Mo(t),Pt(4)),Mt(e)&&(e=Do(t,e),t.l||Bo(t,e)),t.u&&Zt("Patches").M(r[J].t,e,t.u,t.s)):e=Do(t,r,[]),Mo(t),t.u&&t.v(t.u,t.s),e!==ms?e:void 0}function Do(e,t,r){if(Qa(t))return t;var n=t[J];if(!n)return ze(t,function(l,d){return is(e,n,t,l,d,r)},!0),t;if(n.A!==e)return t;if(!n.P)return Bo(e,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,c=i,s=!1;n.i===3&&(c=new Set(i),i.clear(),s=!0),ze(c,function(l,d){return is(e,n,i,l,d,r,s)}),Bo(e,i,!1),r&&e.u&&Zt("Patches").N(n,r,e.u,e.s)}return n.o}function is(e,t,r,n,i,c,s){if(ae(i)){var l=Do(e,i,c&&t&&t.i!==3&&!or(t.R,n)?c.concat(n):void 0);if(fs(r,n,l),!ae(l))return;e.m=!1}else s&&r.add(i);if(Mt(i)&&!Qa(i)){if(!e.h.D&&e._<1)return;Do(e,i),t&&t.A.l||Bo(e,i)}}function Bo(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&Ja(t,r)}function Ha(e,t){var r=e[J];return(r?he(r):e)[t]}function cs(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function me(e){e.P||(e.P=!0,e.l&&me(e.l))}function Ka(e){e.o||(e.o=Xa(e.t))}function Va(e,t,r){var n=qa(t)?Zt("MapSet").F(t,r):Ya(t)?Zt("MapSet").T(t,r):e.O?function(i,c){var s=Array.isArray(i),l={i:s?1:0,A:c?c.A:Ga(),P:!1,I:!1,R:{},l:c,t:i,k:null,o:null,j:null,C:!1},d=l,u=Xr;s&&(d=[l],u=qr);var h=Proxy.revocable(d,u),y=h.revoke,x=h.proxy;return l.k=x,l.j=y,x}(t,r):Zt("ES5").J(t,r);return(r?r.A:Ga()).p.push(n),n}function Dp(e){return ae(e)||Pt(22,e),function t(r){if(!Mt(r))return r;var n,i=r[J],c=ar(r);if(i){if(!i.P&&(i.i<4||!Zt("ES5").K(i)))return i.t;i.I=!0,n=ss(r,c),i.I=!1}else n=ss(r,c);return ze(n,function(s,l){i&&Up(i.t,s)===l||fs(n,s,t(l))}),c===3?new Set(n):n}(e)}function ss(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Xa(e)}function hs(){function e(s,l){var d=c[s];return d?d.enumerable=l:c[s]=d={configurable:!0,enumerable:l,get:function(){var u=this[J];return Xr.get(u,s)},set:function(u){var h=this[J];Xr.set(h,s,u)}},d}function t(s){for(var l=s.length-1;l>=0;l--){var d=s[l][J];if(!d.P)switch(d.i){case 5:n(d)&&me(d);break;case 4:r(d)&&me(d)}}}function r(s){for(var l=s.t,d=s.k,u=nr(d),h=u.length-1;h>=0;h--){var y=u[h];if(y!==J){var x=l[y];if(x===void 0&&!or(l,y))return!0;var v=d[y],S=v&&v[J];if(S?S.t!==x:!us(v,x))return!0}}var N=!!l[J];return u.length!==nr(l).length+(N?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var u=0;u<l.length;u++)if(!l.hasOwnProperty(u))return!0;return!1}function i(s){s.g&&Pt(3,JSON.stringify(he(s)))}var c={};Wp("ES5",{J:function(s,l){var d=Array.isArray(s),u=function(y,x){if(y){for(var v=Array(x.length),S=0;S<x.length;S++)Object.defineProperty(v,""+S,e(S,!0));return v}var N=gs(x);delete N[J];for(var P=nr(N),L=0;L<P.length;L++){var k=P[L];N[k]=e(k,y||!!N[k].enumerable)}return Object.create(Object.getPrototypeOf(x),N)}(d,s),h={i:d?5:4,A:l?l.A:Ga(),P:!1,I:!1,R:{},l,t:s,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,J,{value:h,writable:!0}),u},S:function(s,l,d){d?ae(l)&&l[J].A===s&&t(s.p):(s.u&&function u(h){if(h&&typeof h=="object"){var y=h[J];if(y){var x=y.t,v=y.k,S=y.R,N=y.i;if(N===4)ze(v,function(C){C!==J&&(x[C]!==void 0||or(x,C)?S[C]||u(v[C]):(S[C]=!0,me(y)))}),ze(x,function(C){v[C]!==void 0||or(v,C)||(S[C]=!1,me(y))});else if(N===5){if(n(y)&&(me(y),S.length=!0),v.length<x.length)for(var P=v.length;P<x.length;P++)S[P]=!1;else for(var L=x.length;L<v.length;L++)S[L]=!0;for(var k=Math.min(v.length,x.length),w=0;w<k;w++)v.hasOwnProperty(w)||(S[w]=!0),S[w]===void 0&&u(v[w])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var ls,Yr,ti=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Bp=typeof Map<"u",Fp=typeof Set<"u",ds=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",ms=ti?Symbol.for("immer-nothing"):((ls={})["immer-nothing"]=!0,ls),ps=ti?Symbol.for("immer-draftable"):"__$immer_draftable",J=ti?Symbol.for("immer-state"):"__$immer_state";var zp=""+Object.prototype.constructor,nr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,gs=Object.getOwnPropertyDescriptors||function(e){var t={};return nr(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},ja={},Xr={get:function(e,t){if(t===J)return e;var r=he(e);if(!or(r,t))return function(i,c,s){var l,d=cs(c,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(i.k):void 0}(e,r,t);var n=r[t];return e.I||!Mt(n)?n:n===Ha(e.t,t)?(Ka(e),e.o[t]=Va(e.A.h,n,e)):n},has:function(e,t){return t in he(e)},ownKeys:function(e){return Reflect.ownKeys(he(e))},set:function(e,t,r){var n=cs(he(e),t);if(n?.set)return n.set.call(e.k,r),!0;if(!e.P){var i=Ha(he(e),t),c=i?.[J];if(c&&c.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(us(r,i)&&(r!==void 0||or(e.t,t)))return!0;Ka(e),me(e)}return e.o[t]===r&&(r!==void 0||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return Ha(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Ka(e),me(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=he(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){Pt(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Pt(12)}},qr={};ze(Xr,function(e,t){qr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),qr.deleteProperty=function(e,t){return qr.set.call(this,e,t,void 0)},qr.set=function(e,t,r){return Xr.set.call(this,e[0],t,r,e[0])};var Hp=function(){function e(r){var n=this;this.O=ds,this.D=!0,this.produce=function(i,c,s){if(typeof i=="function"&&typeof c!="function"){var l=c;c=i;var d=n;return function(N){var P=this;N===void 0&&(N=l);for(var L=arguments.length,k=Array(L>1?L-1:0),w=1;w<L;w++)k[w-1]=arguments[w];return d.produce(N,function(C){var A;return(A=c).call.apply(A,[P,C].concat(k))})}}var u;if(typeof c!="function"&&Pt(6),s!==void 0&&typeof s!="function"&&Pt(7),Mt(i)){var h=as(n),y=Va(n,i,void 0),x=!0;try{u=c(y),x=!1}finally{x?Mo(h):Za(h)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(N){return Fa(h,s),za(N,h)},function(N){throw Mo(h),N}):(Fa(h,s),za(u,h))}if(!i||typeof i!="object"){if((u=c(i))===void 0&&(u=i),u===ms&&(u=void 0),n.D&&Ja(u,!0),s){var v=[],S=[];Zt("Patches").M(i,u,v,S),s(v,S)}return u}Pt(21,i)},this.produceWithPatches=function(i,c){if(typeof i=="function")return function(u){for(var h=arguments.length,y=Array(h>1?h-1:0),x=1;x<h;x++)y[x-1]=arguments[x];return n.produceWithPatches(u,function(v){return i.apply(void 0,[v].concat(y))})};var s,l,d=n.produce(i,c,function(u,h){s=u,l=h});return typeof Promise<"u"&&d instanceof Promise?d.then(function(u){return[u,s,l]}):[d,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var t=e.prototype;return t.createDraft=function(r){Mt(r)||Pt(8),ae(r)&&(r=Dp(r));var n=as(this),i=Va(this,r,void 0);return i[J].C=!0,Za(n),i},t.finishDraft=function(r,n){var i=r&&r[J],c=i.A;return Fa(c,n),za(void 0,c)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!ds&&Pt(20),this.O=r},t.applyPatches=function(r,n){var i;for(i=n.length-1;i>=0;i--){var c=n[i];if(c.path.length===0&&c.op==="replace"){r=c.value;break}}i>-1&&(n=n.slice(i+1));var s=Zt("Patches").$;return ae(r)?s(r,n):this.produce(r,function(l){return s(l,n)})},e}(),wt=new Hp,Kp=wt.produce,Py=wt.produceWithPatches.bind(wt),Ly=wt.setAutoFreeze.bind(wt),_y=wt.setUseProxies.bind(wt),Ty=wt.applyPatches.bind(wt),ky=wt.createDraft.bind(wt),Uy=wt.finishDraft.bind(wt),Fo=Kp;function ge(e){"@babel/helpers - typeof";return ge=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ge(e)}function ei(e,t){if(ge(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(ge(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ri(e){var t=ei(e,"string");return ge(t)==="symbol"?t:String(t)}function oi(e,t,r){return t=ri(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function zo(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ys(Object(r),!0).forEach(function(n){oi(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ys(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function ut(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var bs=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ni=function(){return Math.random().toString(36).substring(7).split("").join(".")},Ho={INIT:"@@redux/INIT"+ni(),REPLACE:"@@redux/REPLACE"+ni(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ni()}};function Gp(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function ai(e,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(ut(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(ut(1));return r(ai)(e,t)}if(typeof e!="function")throw new Error(ut(2));var i=e,c=t,s=[],l=s,d=!1;function u(){l===s&&(l=s.slice())}function h(){if(d)throw new Error(ut(3));return c}function y(N){if(typeof N!="function")throw new Error(ut(4));if(d)throw new Error(ut(5));var P=!0;return u(),l.push(N),function(){if(P){if(d)throw new Error(ut(6));P=!1,u();var k=l.indexOf(N);l.splice(k,1),s=null}}}function x(N){if(!Gp(N))throw new Error(ut(7));if(typeof N.type>"u")throw new Error(ut(8));if(d)throw new Error(ut(9));try{d=!0,c=i(c,N)}finally{d=!1}for(var P=s=l,L=0;L<P.length;L++){var k=P[L];k()}return N}function v(N){if(typeof N!="function")throw new Error(ut(10));i=N,x({type:Ho.REPLACE})}function S(){var N,P=y;return N={subscribe:function(k){if(typeof k!="object"||k===null)throw new Error(ut(11));function w(){k.next&&k.next(h())}w();var C=P(w);return{unsubscribe:C}}},N[bs]=function(){return this},N}return x({type:Ho.INIT}),n={dispatch:x,subscribe:y,getState:h,replaceReducer:v},n[bs]=S,n}function Zp(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:Ho.INIT});if(typeof n>"u")throw new Error(ut(12));if(typeof r(void 0,{type:Ho.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ut(13))})}function xs(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var i=t[n];typeof e[i]=="function"&&(r[i]=e[i])}var c=Object.keys(r),s,l;try{Zp(r)}catch(d){l=d}return function(u,h){if(u===void 0&&(u={}),l)throw l;if(0)var y;for(var x=!1,v={},S=0;S<c.length;S++){var N=c[S],P=r[N],L=u[N],k=P(L,h);if(typeof k>"u"){var w=h&&h.type;throw new Error(ut(14))}v[N]=k,x=x||k!==L}return x=x||c.length!==Object.keys(u).length,x?v:u}}function ir(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function vs(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),c=function(){throw new Error(ut(15))},s={getState:i.getState,dispatch:function(){return c.apply(void 0,arguments)}},l=t.map(function(d){return d(s)});return c=ir.apply(void 0,l)(i.dispatch),zo(zo({},i),{},{dispatch:c})}}}function Ss(e){var t=function(n){var i=n.dispatch,c=n.getState;return function(s){return function(l){return typeof l=="function"?l(i,c,e):s(l)}}};return t}var Os=Ss();Os.withExtraArgument=Ss;var ii=Os;var As=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var c in i)Object.prototype.hasOwnProperty.call(i,c)&&(n[c]=i[c])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Vp=function(e,t){var r={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},n,i,c,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(u){return function(h){return d([u,h])}}function d(u){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(c=u[0]&2?i.return:u[0]?i.throw||((c=i.return)&&c.call(i),0):i.next)&&!(c=c.call(i,u[1])).done)return c;switch(i=0,c&&(u=[u[0]&2,c.value]),u[0]){case 0:case 1:c=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(c=r.trys,!(c=c.length>0&&c[c.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!c||u[1]>c[0]&&u[1]<c[3])){r.label=u[1];break}if(u[0]===6&&r.label<c[1]){r.label=c[1],c=u;break}if(c&&r.label<c[2]){r.label=c[2],r.ops.push(u);break}c[2]&&r.ops.pop(),r.trys.pop();continue}u=t.call(e,r)}catch(h){u=[6,h],i=0}finally{n=c=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},cr=function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e},jp=Object.defineProperty,qp=Object.defineProperties,Yp=Object.getOwnPropertyDescriptors,Cs=Object.getOwnPropertySymbols,Xp=Object.prototype.hasOwnProperty,Jp=Object.prototype.propertyIsEnumerable,Es=function(e,t,r){return t in e?jp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},ye=function(e,t){for(var r in t||(t={}))Xp.call(t,r)&&Es(e,r,t[r]);if(Cs)for(var n=0,i=Cs(t);n<i.length;n++){var r=i[n];Jp.call(t,r)&&Es(e,r,t[r])}return e},ci=function(e,t){return qp(e,Yp(t))},Qp=function(e,t,r){return new Promise(function(n,i){var c=function(d){try{l(r.next(d))}catch(u){i(u)}},s=function(d){try{l(r.throw(d))}catch(u){i(u)}},l=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(c,s)};l((r=r.apply(e,t)).next())})};var tf=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ir:ir.apply(null,arguments)},Qy=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function ef(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var r=t;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return t===r}var rf=function(e){As(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=e.apply(this,r)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.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(t.bind.apply(t,cr([void 0],r[0].concat(this)))):new(t.bind.apply(t,cr([void 0],r.concat(this))))},t}(Array),of=function(e){As(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=e.apply(this,r)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.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(t.bind.apply(t,cr([void 0],r[0].concat(this)))):new(t.bind.apply(t,cr([void 0],r.concat(this))))},t}(Array);function di(e){return Mt(e)?Fo(e,function(){}):e}function nf(e){return typeof e=="boolean"}function af(){return function(t){return cf(t)}}function cf(e){e===void 0&&(e={});var t=e.thunk,r=t===void 0?!0:t,n=e.immutableCheck,i=n===void 0?!0:n,c=e.serializableCheck,s=c===void 0?!0:c,l=new rf;if(r&&(nf(r)?l.push(ii):l.push(ii.withExtraArgument(r.extraArgument))),0){if(i)var d;if(s)var u}return l}var si=!0;function Rs(e){var t=af(),r=e||{},n=r.reducer,i=n===void 0?void 0:n,c=r.middleware,s=c===void 0?t():c,l=r.devTools,d=l===void 0?!0:l,u=r.preloadedState,h=u===void 0?void 0:u,y=r.enhancers,x=y===void 0?void 0:y,v;if(typeof i=="function")v=i;else if(ef(i))v=xs(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 S=s;if(typeof S=="function"&&(S=S(t),!si&&!Array.isArray(S)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!si&&S.some(function(C){return typeof C!="function"}))throw new Error("each middleware provided to configureStore must be a function");var N=vs.apply(void 0,S),P=ir;d&&(P=tf(ye({trace:!si},typeof d=="object"&&d)));var L=new of(N),k=L;Array.isArray(x)?k=cr([N],x):typeof x=="function"&&(k=x(L));var w=P.apply(void 0,k);return ai(v,h,w)}function be(e,t){function r(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(t){var c=t.apply(void 0,n);if(!c)throw new Error("prepareAction did not return an object");return ye(ye({type:e,payload:c.payload},"meta"in c&&{meta:c.meta}),"error"in c&&{error:c.error})}return{type:e,payload:n[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(n){return n.type===e},r}function Is(e){var t={},r=[],n,i={addCase:function(c,s){var l=typeof c=="string"?c:c.type;if(l in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[l]=s,i},addMatcher:function(c,s){return r.push({matcher:c,reducer:s}),i},addDefaultCase:function(c){return n=c,i}};return e(i),[t,r,n]}function sf(e){return typeof e=="function"}function lf(e,t,r,n){r===void 0&&(r=[]);var i=typeof t=="function"?Is(t):[t,r,n],c=i[0],s=i[1],l=i[2],d;if(sf(e))d=function(){return di(e())};else{var u=di(e);d=function(){return u}}function h(y,x){y===void 0&&(y=d());var v=cr([c[x.type]],s.filter(function(S){var N=S.matcher;return N(x)}).map(function(S){var N=S.reducer;return N}));return v.filter(function(S){return!!S}).length===0&&(v=[l]),v.reduce(function(S,N){if(N)if(ae(S)){var P=S,L=N(P,x);return L===void 0?S:L}else{if(Mt(S))return Fo(S,function(k){return N(k,x)});var L=N(S,x);if(L===void 0){if(S===null)return S;throw Error("A case reducer on a non-draftable value must not return undefined")}return L}return S},y)}return h.getInitialState=d,h}function df(e,t){return e+"/"+t}function Ps(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof e.initialState=="function"?e.initialState:di(e.initialState),n=e.reducers||{},i=Object.keys(n),c={},s={},l={};i.forEach(function(h){var y=n[h],x=df(t,h),v,S;"reducer"in y?(v=y.reducer,S=y.prepare):v=y,c[h]=v,s[x]=v,l[h]=S?be(x,S):be(x)});function d(){var h=typeof e.extraReducers=="function"?Is(e.extraReducers):[e.extraReducers],y=h[0],x=y===void 0?{}:y,v=h[1],S=v===void 0?[]:v,N=h[2],P=N===void 0?void 0:N,L=ye(ye({},x),s);return lf(r,function(k){for(var w in L)k.addCase(w,L[w]);for(var C=0,A=S;C<A.length;C++){var W=A[C];k.addMatcher(W.matcher,W.reducer)}P&&k.addDefaultCase(P)})}var u;return{name:t,reducer:function(h,y){return u||(u=d()),u(h,y)},actions:l,caseReducers:c,getInitialState:function(){return u||(u=d()),u.getInitialState()}}}var pf="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",ff=function(e){e===void 0&&(e=21);for(var t="",r=e;r--;)t+=pf[Math.random()*64|0];return t},uf=["name","message","stack","code"],li=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),ws=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),hf=function(e){if(typeof e=="object"&&e!==null){for(var t={},r=0,n=uf;r<n.length;r++){var i=n[r];typeof e[i]=="string"&&(t[i]=e[i])}return t}return{message:String(e)}},ob=function(){function e(t,r,n){var i=be(t+"/fulfilled",function(h,y,x,v){return{payload:h,meta:ci(ye({},v||{}),{arg:x,requestId:y,requestStatus:"fulfilled"})}}),c=be(t+"/pending",function(h,y,x){return{payload:void 0,meta:ci(ye({},x||{}),{arg:y,requestId:h,requestStatus:"pending"})}}),s=be(t+"/rejected",function(h,y,x,v,S){return{payload:v,error:(n&&n.serializeError||hf)(h||"Rejected"),meta:ci(ye({},S||{}),{arg:x,requestId:y,rejectedWithValue:!!v,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function u(h){return function(y,x,v){var S=n?.idGenerator?n.idGenerator(h):ff(),N=new d,P,L=!1;function k(C){P=C,N.abort()}var w=function(){return Qp(this,null,function(){var C,A,W,F,ft,G,b;return Vp(this,function(O){switch(O.label){case 0:return O.trys.push([0,4,,5]),F=(C=n?.condition)==null?void 0:C.call(n,h,{getState:x,extra:v}),gf(F)?[4,F]:[3,2];case 1:F=O.sent(),O.label=2;case 2:if(F===!1||N.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return L=!0,ft=new Promise(function(I,H){return N.signal.addEventListener("abort",function(){return H({name:"AbortError",message:P||"Aborted"})})}),y(c(S,h,(A=n?.getPendingMeta)==null?void 0:A.call(n,{requestId:S,arg:h},{getState:x,extra:v}))),[4,Promise.race([ft,Promise.resolve(r(h,{dispatch:y,getState:x,extra:v,requestId:S,signal:N.signal,abort:k,rejectWithValue:function(I,H){return new li(I,H)},fulfillWithValue:function(I,H){return new ws(I,H)}})).then(function(I){if(I instanceof li)throw I;return I instanceof ws?i(I.payload,S,h,I.meta):i(I,S,h)})])];case 3:return W=O.sent(),[3,5];case 4:return G=O.sent(),W=G instanceof li?s(null,S,h,G.payload,G.meta):s(G,S,h),[3,5];case 5:return b=n&&!n.dispatchConditionRejection&&s.match(W)&&W.meta.condition,b||y(W),[2,W]}})})}();return Object.assign(w,{abort:k,requestId:S,arg:h,unwrap:function(){return w.then(mf)}})}}return Object.assign(u,{pending:c,rejected:s,fulfilled:i,typePrefix:t})}return e.withTypes=function(){return e},e}();function mf(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function gf(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Ls="listener",_s="completed",Ts="cancelled",nb="task-"+Ts,ab="task-"+_s,ib=Ls+"-"+Ts,cb=Ls+"-"+_s;var pi="listenerMiddleware";var sb=be(pi+"/add"),lb=be(pi+"/removeAll"),db=be(pi+"/remove");var Ns,pb=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Ns||(Ns=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},yf=function(e){return function(t){setTimeout(t,e)}},fb=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:yf(10);hs();window.ftReduxStores||(window.ftReduxStores={});var He=class e{static get(t){var r;let n=typeof t=="string"?t:t.name,i=typeof t=="string"?void 0:t,c=window.ftReduxStores[n];if(Be(c))return c;if(i==null)return;let s=Ps({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),l=Rs({reducer:(d,u)=>u.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...u.overwrites}:s.reducer(d,u)});return window.ftReduxStores[i.name]=new e(s,l)}constructor(t,r){this.reduxSlice=t,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new jr,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,c)=>{let s=i,l=n[s];return l?(...d)=>{let u=l(...d);return this.reduxStore.dispatch(u),u}:d=>{this.setState({[s]:d})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}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(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function bf(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))Be(t)&&t.clear()}var ui={};X(ui,{serializeRequest:()=>vf});function xf(e){return`"${e}"`}function vf(e,t){var r,n,i,c;let s=new URLSearchParams({"content-lang":(r=t.contentLocale)!==null&&r!==void 0?r:"all"});if(((n=t.query)===null||n===void 0?void 0:n.length)>0&&s.append("query",t.query),t.scope&&t.scope!=="DEFAULT"&&s.append("scope",t.scope.toLowerCase()),t.virtualField&&t.virtualField!=="EVERYWHERE"&&s.append("virtual-field",t.virtualField.toLowerCase()),t.periodFilter){let d=t.periodFilter.period,u=d?`_${d.from}_${d.to}`:"";s.append("period",t.periodFilter.periodType.toLowerCase()+u)}if(((i=t.sort)===null||i===void 0?void 0:i.length)>0&&t.sort[0].key==="ft:lastEdition"&&s.append("sort","last_update"),((c=t.filters)===null||c===void 0?void 0:c.length)>0){let d=t.filters.map(u=>{let h=u.values.map(y=>y.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(y=>encodeURIComponent(xf(y))).join("_");return`${u.key}~${h}`}).join("*");s.append("filters",d)}return new URL(`${e.replace(/\/+$/,"")}/search?${s.toString()}`).href}var mi={};X(mi,{toFtFormComponent:()=>hi});var Ko=Symbol("elementInternals");function hi(e,t){class r extends e{static get formAssociated(){return!0}get form(){return this[Ko].form}constructor(...i){super(i),this[Ko]=this.attachInternals(),this[Ko].role=t}setFormValue(i){this[Ko].setFormValue(i)}}return r}var xe=class{static format(t,r,n,i){return window.moment?window.moment(t).locale(r).format(this.getDateFormat(n,i)):t}static getDateFormat(t,r){return t?r?"lll":"ll":r?"L LT":"L"}};var gi,yi,bi,xi,Jr=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((bi=(yi=(gi=window.safari)===null||gi===void 0?void 0:gi.pushNotification)===null||yi===void 0?void 0:yi.toString())!==null&&bi!==void 0?bi:"")==="[object SafariRemoteNotification]",Sf="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(xi=window.ftGlobals)!==null&&xi!==void 0?xi:{lit:Cn,litDecorators:Nn,litRepeat:Rn,litClassMap:In,litStyleMap:Pn,litUnsafeHTML:_n,wcUtils:{...Un,...kn,...$n,...xe,...Wn,...Bn,...ma,...xa,...Pa,...ha,..._a,...Qc,...Dn,...$a,...Wa,...es,...Ma,...fi,...La,...ui,...mi,isSafari:Jr,isTouchScreen:Sf}};var Qb={},ks=T`
43
43
  :host {
44
44
  display: inline-block;
45
45
  }
@@ -59,8 +59,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
59
59
  all: unset;
60
60
  position: relative;
61
61
  }
62
- `;var Tl;(function(e){e.FEEDBACK="FEEDBACK",e.RATING="RATING",e.PRINT="PRINT",e.BOOKMARK="BOOKMARK",e.COLLECTIONS="COLLECTIONS",e.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Tl||(Tl={}));var mf=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},ga=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},ya=Symbol("registerInterval");function yf(e){var t;class r extends e{constructor(){super(...arguments),this[t]=0}setReaderStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var i;return(i=this.stateManager)===null||i===void 0?void 0:i.service}connectedCallback(){super.connectedCallback(),this[ya]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[ya]):this.dispatchEvent(new ga)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=ya,mf([J()],r.prototype,"stateManager",void 0),r}var Fo=class extends yf(Ft){};var Il=Symbol.for(""),gf=e=>{if(e?.r===Il)return e?._$litStatic$},ba=e=>({_$litStatic$:e,r:Il});var Ll=new Map,$l=e=>(t,...r)=>{let n=r.length,i,a,s=[],l=[],c,d=0,f=!1;for(;d<n;){for(c=t[d];d<n&&(a=r[d],(i=gf(a))!==void 0);)c+=i+t[++d],f=!0;d!==n&&l.push(a),s.push(c),d++}if(d===n&&s.push(t[n]),f){let h=s.join("$$lit$$");(t=Ll.get(h))===void 0&&(s.raw=s,Ll.set(h,t=s)),r=l}return e(t,...r)},xa=$l(Va),tx=$l(Ka);var We;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button",e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(We||(We={}));function kl(e){let t=Ir[e];return T`
63
- .ft-typography--${Zt(e)} {
62
+ `;var Us;(function(e){e.FEEDBACK="FEEDBACK",e.RATING="RATING",e.PRINT="PRINT",e.BOOKMARK="BOOKMARK",e.COLLECTIONS="COLLECTIONS",e.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Us||(Us={}));var Of=function(e,t,r,n){var i=arguments.length,c=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(c=(i<3?s(c):i>3?s(t,r,c):s(t,r))||c);return i>3&&c&&Object.defineProperty(t,r,c),c},Si=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},vi=Symbol("registerInterval");function Cf(e){var t;class r extends e{constructor(){super(...arguments),this[t]=0}setReaderStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var i;return(i=this.stateManager)===null||i===void 0?void 0:i.service}connectedCallback(){super.connectedCallback(),this[vi]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[vi]):this.dispatchEvent(new Si)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=vi,Of([et()],r.prototype,"stateManager",void 0),r}var Go=class extends Cf(Gt){};var Ws=Symbol.for(""),Ef=e=>{if(e?.r===Ws)return e?._$litStatic$},Oi=e=>({_$litStatic$:e,r:Ws});var $s=new Map,Ms=e=>(t,...r)=>{let n=r.length,i,c,s=[],l=[],d,u=0,h=!1;for(;u<n;){for(d=t[u];u<n&&(c=r[u],(i=Ef(c))!==void 0);)d+=i+t[++u],h=!0;u!==n&&l.push(c),s.push(d),u++}if(u===n&&s.push(t[n]),h){let y=s.join("$$lit$$");(t=$s.get(y))===void 0&&(s.raw=s,$s.set(y,t=s)),r=l}return e(t,...r)},Ci=Ms(qi),cx=Ms(Yi);var Ke;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button",e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})(Ke||(Ke={}));function Ds(e){let t=Wr[e];return T`
63
+ .ft-typography--${kt(e)} {
64
64
  font-family: ${t.fontFamily};
65
65
  font-size: ${t.fontSize};
66
66
  font-weight: ${t.fontWeight};
@@ -68,35 +68,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
68
68
  line-height: ${t.lineHeight};
69
69
  text-transform: ${t.textCase};
70
70
  }
71
- `}var Ml=o.extend("--ft-typography-font-family","",M.titleFont),oe=o.extend("--ft-typography-font-family","",M.contentFont),L={fontFamily:oe,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")},nr={fontFamily:o.extend("--ft-typography-title-font-family","",Ml),fontSize:o.extend("--ft-typography-title-font-size","",L.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",L.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",L.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",L.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",L.textTransform,"inherit")},ir={fontFamily:o.extend("--ft-typography-title-dense-font-family","",Ml),fontSize:o.extend("--ft-typography-title-dense-font-size","",L.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",L.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",L.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",L.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",L.textTransform,"inherit")},ar={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",oe),fontSize:o.extend("--ft-typography-subtitle1-font-size","",L.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",L.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",L.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",L.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",L.textTransform,"inherit")},sr={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",oe),fontSize:o.extend("--ft-typography-subtitle2-font-size","",L.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",L.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",L.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",L.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",L.textTransform,"inherit")},lr={fontFamily:o.extend("--ft-typography-body1-font-family","",oe),fontSize:o.extend("--ft-typography-body1-font-size","",L.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",L.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",L.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",L.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",L.textTransform,"inherit")},Ht={fontFamily:o.extend("--ft-typography-body2-font-family","",oe),fontSize:o.extend("--ft-typography-body2-font-size","",L.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",L.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",L.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",L.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",L.textTransform,"inherit")},cr={fontFamily:o.extend("--ft-typography-caption-font-family","",oe),fontSize:o.extend("--ft-typography-caption-font-size","",L.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",L.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",L.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",L.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",L.textTransform,"inherit")},pr={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",oe),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",L.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",L.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",L.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",L.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",L.textTransform,"inherit")},dr={fontFamily:o.extend("--ft-typography-overline-font-family","",oe),fontSize:o.extend("--ft-typography-overline-font-size","",L.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",L.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",L.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",L.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",L.textTransform,"uppercase")},jt={fontFamily:o.extend("--ft-typography-button-font-family","",oe),fontSize:o.extend("--ft-typography-button-font-size","",L.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",L.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",L.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",L.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",L.textTransform,"uppercase")},Dl=T`
71
+ `}var Bs=o.extend("--ft-typography-font-family","",D.titleFont),ie=o.extend("--ft-typography-font-family","",D.contentFont),U={fontFamily:ie,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")},sr={fontFamily:o.extend("--ft-typography-title-font-family","",Bs),fontSize:o.extend("--ft-typography-title-font-size","",U.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",U.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",U.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",U.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",U.textTransform,"inherit")},lr={fontFamily:o.extend("--ft-typography-title-dense-font-family","",Bs),fontSize:o.extend("--ft-typography-title-dense-font-size","",U.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",U.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",U.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",U.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",U.textTransform,"inherit")},dr={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",ie),fontSize:o.extend("--ft-typography-subtitle1-font-size","",U.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",U.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",U.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",U.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",U.textTransform,"inherit")},pr={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",ie),fontSize:o.extend("--ft-typography-subtitle2-font-size","",U.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",U.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",U.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",U.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",U.textTransform,"inherit")},fr={fontFamily:o.extend("--ft-typography-body1-font-family","",ie),fontSize:o.extend("--ft-typography-body1-font-size","",U.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",U.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",U.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",U.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",U.textTransform,"inherit")},Vt={fontFamily:o.extend("--ft-typography-body2-font-family","",ie),fontSize:o.extend("--ft-typography-body2-font-size","",U.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",U.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",U.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",U.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",U.textTransform,"inherit")},ur={fontFamily:o.extend("--ft-typography-caption-font-family","",ie),fontSize:o.extend("--ft-typography-caption-font-size","",U.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",U.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",U.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",U.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",U.textTransform,"inherit")},hr={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",ie),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",U.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",U.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",U.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",U.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",U.textTransform,"inherit")},mr={fontFamily:o.extend("--ft-typography-overline-font-family","",ie),fontSize:o.extend("--ft-typography-overline-font-size","",U.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",U.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",U.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",U.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",U.textTransform,"uppercase")},jt={fontFamily:o.extend("--ft-typography-button-font-family","",ie),fontSize:o.extend("--ft-typography-button-font-size","",U.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",U.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",U.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",U.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",U.textTransform,"uppercase")},Fs=T`
72
72
  .ft-typography--title {
73
- font-family: ${nr.fontFamily};
74
- font-size: ${nr.fontSize};
75
- font-weight: ${nr.fontWeight};
76
- letter-spacing: ${nr.letterSpacing};
77
- line-height: ${nr.lineHeight};
78
- text-transform: ${nr.textTransform};
79
- }
80
- `,Ul=T`
81
- .ft-typography--title-dense {
82
- font-family: ${ir.fontFamily};
83
- font-size: ${ir.fontSize};
84
- font-weight: ${ir.fontWeight};
85
- letter-spacing: ${ir.letterSpacing};
86
- line-height: ${ir.lineHeight};
87
- text-transform: ${ir.textTransform};
88
- }
89
- `,Bl=T`
90
- .ft-typography--subtitle1 {
91
- font-family: ${ar.fontFamily};
92
- font-size: ${ar.fontSize};
93
- font-weight: ${ar.fontWeight};
94
- letter-spacing: ${ar.letterSpacing};
95
- line-height: ${ar.lineHeight};
96
- text-transform: ${ar.textTransform};
97
- }
98
- `,Wl=T`
99
- .ft-typography--subtitle2 {
100
73
  font-family: ${sr.fontFamily};
101
74
  font-size: ${sr.fontSize};
102
75
  font-weight: ${sr.fontWeight};
@@ -104,9 +77,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
104
77
  line-height: ${sr.lineHeight};
105
78
  text-transform: ${sr.textTransform};
106
79
  }
107
-
108
- `,Fl=T`
109
- .ft-typography--body1 {
80
+ `,zs=T`
81
+ .ft-typography--title-dense {
110
82
  font-family: ${lr.fontFamily};
111
83
  font-size: ${lr.fontSize};
112
84
  font-weight: ${lr.fontWeight};
@@ -114,26 +86,17 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
114
86
  line-height: ${lr.lineHeight};
115
87
  text-transform: ${lr.textTransform};
116
88
  }
117
- `,zl=T`
118
- .ft-typography--body2 {
119
- font-family: ${Ht.fontFamily};
120
- font-size: ${Ht.fontSize};
121
- font-weight: ${Ht.fontWeight};
122
- letter-spacing: ${Ht.letterSpacing};
123
- line-height: ${Ht.lineHeight};
124
- text-transform: ${Ht.textTransform};
125
- }
126
- `,Hl=T`
127
- .ft-typography--caption {
128
- font-family: ${cr.fontFamily};
129
- font-size: ${cr.fontSize};
130
- font-weight: ${cr.fontWeight};
131
- letter-spacing: ${cr.letterSpacing};
132
- line-height: ${cr.lineHeight};
133
- text-transform: ${cr.textTransform};
134
- }
135
- `,jl=T`
136
- .ft-typography--breadcrumb {
89
+ `,Hs=T`
90
+ .ft-typography--subtitle1 {
91
+ font-family: ${dr.fontFamily};
92
+ font-size: ${dr.fontSize};
93
+ font-weight: ${dr.fontWeight};
94
+ letter-spacing: ${dr.letterSpacing};
95
+ line-height: ${dr.lineHeight};
96
+ text-transform: ${dr.textTransform};
97
+ }
98
+ `,Ks=T`
99
+ .ft-typography--subtitle2 {
137
100
  font-family: ${pr.fontFamily};
138
101
  font-size: ${pr.fontSize};
139
102
  font-weight: ${pr.fontWeight};
@@ -141,16 +104,53 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
141
104
  line-height: ${pr.lineHeight};
142
105
  text-transform: ${pr.textTransform};
143
106
  }
144
- `,Vl=T`
107
+
108
+ `,Gs=T`
109
+ .ft-typography--body1 {
110
+ font-family: ${fr.fontFamily};
111
+ font-size: ${fr.fontSize};
112
+ font-weight: ${fr.fontWeight};
113
+ letter-spacing: ${fr.letterSpacing};
114
+ line-height: ${fr.lineHeight};
115
+ text-transform: ${fr.textTransform};
116
+ }
117
+ `,Zs=T`
118
+ .ft-typography--body2 {
119
+ font-family: ${Vt.fontFamily};
120
+ font-size: ${Vt.fontSize};
121
+ font-weight: ${Vt.fontWeight};
122
+ letter-spacing: ${Vt.letterSpacing};
123
+ line-height: ${Vt.lineHeight};
124
+ text-transform: ${Vt.textTransform};
125
+ }
126
+ `,Vs=T`
127
+ .ft-typography--caption {
128
+ font-family: ${ur.fontFamily};
129
+ font-size: ${ur.fontSize};
130
+ font-weight: ${ur.fontWeight};
131
+ letter-spacing: ${ur.letterSpacing};
132
+ line-height: ${ur.lineHeight};
133
+ text-transform: ${ur.textTransform};
134
+ }
135
+ `,js=T`
136
+ .ft-typography--breadcrumb {
137
+ font-family: ${hr.fontFamily};
138
+ font-size: ${hr.fontSize};
139
+ font-weight: ${hr.fontWeight};
140
+ letter-spacing: ${hr.letterSpacing};
141
+ line-height: ${hr.lineHeight};
142
+ text-transform: ${hr.textTransform};
143
+ }
144
+ `,qs=T`
145
145
  .ft-typography--overline {
146
- font-family: ${dr.fontFamily};
147
- font-size: ${dr.fontSize};
148
- font-weight: ${dr.fontWeight};
149
- letter-spacing: ${dr.letterSpacing};
150
- line-height: ${dr.lineHeight};
151
- text-transform: ${dr.textTransform};
152
- }
153
- `,Kl=T`
146
+ font-family: ${mr.fontFamily};
147
+ font-size: ${mr.fontSize};
148
+ font-weight: ${mr.fontWeight};
149
+ letter-spacing: ${mr.letterSpacing};
150
+ line-height: ${mr.lineHeight};
151
+ text-transform: ${mr.textTransform};
152
+ }
153
+ `,Ys=T`
154
154
  .ft-typography--button {
155
155
  font-family: ${jt.fontFamily};
156
156
  font-size: ${jt.fontSize};
@@ -159,19 +159,19 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
159
159
  line-height: ${jt.lineHeight};
160
160
  text-transform: ${jt.textTransform};
161
161
  }
162
- `,Gl=T`
162
+ `,Xs=T`
163
163
  .ft-typography {
164
164
  vertical-align: inherit;
165
165
  }
166
- `,Zl=[Object.keys(Ir).map(e=>kl(e))];var ql=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},lt=class extends F{constructor(){super(...arguments),this.variant=We.body1}render(){return this.element?xa`
167
- <${ba(this.element)}
166
+ `,Js=[Object.keys(Wr).map(e=>Ds(e))];var Qs=function(e,t,r,n){var i=arguments.length,c=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(c=(i<3?s(c):i>3?s(t,r,c):s(t,r))||c);return i>3&&c&&Object.defineProperty(t,r,c),c},pt=class extends K{constructor(){super(...arguments),this.variant=Ke.body1}render(){return this.element?Ci`
167
+ <${Oi(this.element)}
168
168
  part="text"
169
169
  class="ft-typography ft-typography--${this.variant}">
170
170
  <slot></slot>
171
- </${ba(this.element)}>
172
- `:xa`
171
+ </${Oi(this.element)}>
172
+ `:Ci`
173
173
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
174
- `}};lt.styles=[Dl,Ul,Bl,Wl,Fl,zl,Hl,jl,Vl,Kl,Gl,...Zl];ql([S()],lt.prototype,"element",void 0);ql([S()],lt.prototype,"variant",void 0);K("ft-typography")(lt);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(M.borderRadiusS,"Design system"),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},Yl=T`
174
+ `}};pt.styles=[Fs,zs,Hs,Ks,Gs,Zs,Vs,js,qs,Ys,Xs,...Js];Qs([E()],pt.prototype,"element",void 0);Qs([E()],pt.prototype,"variant",void 0);q("ft-typography")(pt);var gr={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(D.borderRadiusS,"Design system"),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},tl=T`
175
175
  .ft-tooltip--container {
176
176
  display: block;
177
177
  }
@@ -186,21 +186,21 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
186
186
  box-sizing: border-box;
187
187
  overflow: hidden;
188
188
  width: max-content;
189
- max-width: ${fr.maxWidth};
189
+ max-width: ${gr.maxWidth};
190
190
  text-align: center;
191
- padding: ${fr.distance};
192
- z-index: ${fr.zIndex};
191
+ padding: ${gr.distance};
192
+ z-index: ${gr.zIndex};
193
193
  }
194
194
 
195
195
  .ft-tooltip--content {
196
196
  padding: 4px 8px;
197
- border-radius: ${fr.borderRadiusS};
198
- background-color: ${fr.backgroundColor};
199
- color: ${fr.color};
197
+ border-radius: ${gr.borderRadiusS};
198
+ background-color: ${gr.backgroundColor};
199
+ color: ${gr.color};
200
200
  position: relative;
201
201
  word-break: break-word;
202
202
  }
203
- `;var mt=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Y=class extends F{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 vt,this.revealDebouncer=new vt}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return D`
203
+ `;var bt=function(e,t,r,n){var i=arguments.length,c=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(c=(i<3?s(c):i>3?s(t,r,c):s(t,r))||c);return i>3&&c&&Object.defineProperty(t,r,c),c},Q=class extends K{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 Ct,this.revealDebouncer=new Ct}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return B`
204
204
  <div part="container"
205
205
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
206
206
  @mouseenter=${this.onHover}
@@ -218,7 +218,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
218
218
  </div>
219
219
  </div>
220
220
  </div>
221
- `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(r=>t.has(r))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Br(this.slottedElement,this.tooltip,this.position).then(({x:t,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${t}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",t=>{t.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(t,r){return Math.max(t,Math.min(0,-r))}};Y.elementDefinitions={"ft-typography":lt};Y.styles=Yl;mt([S()],Y.prototype,"text",void 0);mt([S({type:Boolean})],Y.prototype,"manual",void 0);mt([S({type:Boolean})],Y.prototype,"inline",void 0);mt([S({type:Number})],Y.prototype,"delay",void 0);mt([S()],Y.prototype,"position",void 0);mt([Sn()],Y.prototype,"slotNodes",void 0);mt([it(".ft-tooltip--container")],Y.prototype,"container",void 0);mt([it(".ft-tooltip")],Y.prototype,"tooltip",void 0);mt([it(".ft-tooltip--content")],Y.prototype,"tooltipContent",void 0);mt([J()],Y.prototype,"visible",void 0);mt([Ke({passive:!0})],Y.prototype,"onTouch",null);mt([Ke({passive:!0})],Y.prototype,"onHover",null);mt([Ke({passive:!0})],Y.prototype,"onOut",null);mt([Ke({passive:!0})],Y.prototype,"onClick",null);K("ft-tooltip")(Y);var Xl=o.extend("--ft-ripple-color","",M.colorContent),B={color:Xl,backgroundColor:o.extend("--ft-ripple-background-color","",Xl),opacityContentOnSurfacePressed:o.external(M.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(M.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(M.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(M.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},Jl=o.extend("--ft-ripple-color","",M.colorPrimary),Ql={color:Jl,backgroundColor:o.extend("--ft-ripple-background-color","",Jl)},tc=o.extend("--ft-ripple-color","",M.colorSecondary),ec={color:tc,backgroundColor:o.extend("--ft-ripple-background-color","",tc)},rc=T`
221
+ `}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(r=>t.has(r))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Hr(this.slottedElement,this.tooltip,this.position).then(({x:t,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${t}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",t=>{t.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(t,r){return Math.max(t,Math.min(0,-r))}};Q.elementDefinitions={"ft-typography":pt};Q.styles=tl;bt([E()],Q.prototype,"text",void 0);bt([E({type:Boolean})],Q.prototype,"manual",void 0);bt([E({type:Boolean})],Q.prototype,"inline",void 0);bt([E({type:Number})],Q.prototype,"delay",void 0);bt([E()],Q.prototype,"position",void 0);bt([wn()],Q.prototype,"slotNodes",void 0);bt([st(".ft-tooltip--container")],Q.prototype,"container",void 0);bt([st(".ft-tooltip")],Q.prototype,"tooltip",void 0);bt([st(".ft-tooltip--content")],Q.prototype,"tooltipContent",void 0);bt([et()],Q.prototype,"visible",void 0);bt([Ye({passive:!0})],Q.prototype,"onTouch",null);bt([Ye({passive:!0})],Q.prototype,"onHover",null);bt([Ye({passive:!0})],Q.prototype,"onOut",null);bt([Ye({passive:!0})],Q.prototype,"onClick",null);q("ft-tooltip")(Q);var el=o.extend("--ft-ripple-color","",D.colorContent),z={color:el,backgroundColor:o.extend("--ft-ripple-background-color","",el),opacityContentOnSurfacePressed:o.external(D.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(D.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(D.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(D.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},rl=o.extend("--ft-ripple-color","",D.colorPrimary),ol={color:rl,backgroundColor:o.extend("--ft-ripple-background-color","",rl)},nl=o.extend("--ft-ripple-color","",D.colorSecondary),al={color:nl,backgroundColor:o.extend("--ft-ripple-background-color","",nl)},il=T`
222
222
  :host {
223
223
  display: contents;
224
224
  }
@@ -231,7 +231,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
231
231
 
232
232
  .ft-ripple:not(.ft-ripple--unbounded) {
233
233
  overflow: hidden;
234
- border-radius: ${B.borderRadius};
234
+ border-radius: ${z.borderRadius};
235
235
  }
236
236
 
237
237
  .ft-ripple .ft-ripple--background,
@@ -265,27 +265,27 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
265
265
  }
266
266
 
267
267
  .ft-ripple .ft-ripple--background {
268
- background-color: ${B.backgroundColor};
268
+ background-color: ${z.backgroundColor};
269
269
  }
270
270
 
271
271
  .ft-ripple .ft-ripple--effect {
272
- background-color: ${B.color};
272
+ background-color: ${z.color};
273
273
  }
274
274
 
275
275
  .ft-ripple.ft-ripple--secondary .ft-ripple--background {
276
- background-color: ${ec.backgroundColor};
276
+ background-color: ${al.backgroundColor};
277
277
  }
278
278
 
279
279
  .ft-ripple.ft-ripple--secondary .ft-ripple--effect {
280
- background-color: ${ec.color};
280
+ background-color: ${al.color};
281
281
  }
282
282
 
283
283
  .ft-ripple.ft-ripple--primary .ft-ripple--background {
284
- background-color: ${Ql.backgroundColor};
284
+ background-color: ${ol.backgroundColor};
285
285
  }
286
286
 
287
287
  .ft-ripple.ft-ripple--primary .ft-ripple--effect {
288
- background-color: ${Ql.color};
288
+ background-color: ${ol.color};
289
289
  }
290
290
 
291
291
  .ft-ripple .ft-ripple--background {
@@ -315,33 +315,33 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
315
315
  }
316
316
 
317
317
  .ft-ripple.ft-ripple--hovered .ft-ripple--background {
318
- opacity: ${B.opacityContentOnSurfaceHover};
318
+ opacity: ${z.opacityContentOnSurfaceHover};
319
319
  }
320
320
 
321
321
  .ft-ripple.ft-ripple--selected .ft-ripple--background {
322
- opacity: ${B.opacityContentOnSurfaceSelected};
322
+ opacity: ${z.opacityContentOnSurfaceSelected};
323
323
  }
324
324
 
325
325
  .ft-ripple.ft-ripple--focused .ft-ripple--background {
326
- opacity: ${B.opacityContentOnSurfaceFocused};
326
+ opacity: ${z.opacityContentOnSurfaceFocused};
327
327
  }
328
328
 
329
329
  .ft-ripple.ft-ripple--pressed .ft-ripple--effect {
330
- opacity: ${B.opacityContentOnSurfacePressed};
330
+ opacity: ${z.opacityContentOnSurfacePressed};
331
331
  transform: translate(-50%, -50%) scale(1);
332
332
  }
333
- `;var yt=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},V=class extends F{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 vt(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new vt(10),this.moveRipple=t=>{var r,n;let{x:i,y:a}=this.getCoordinates(t),s=(n=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"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 D`
333
+ `;var xt=function(e,t,r,n){var i=arguments.length,c=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(c=(i<3?s(c):i>3?s(t,r,c):s(t,r))||c);return i>3&&c&&Object.defineProperty(t,r,c),c},j=class extends K{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 Ct(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Ct(10),this.moveRipple=t=>{var r,n;let{x:i,y:c}=this.getCoordinates(t),s=(n=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-s.x:s.width/2),this.originY=Math.round(c!=null?c-s.y:s.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"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 B`
334
334
  <style>
335
335
  .ft-ripple .ft-ripple--effect {
336
336
  left: ${this.originX}px;
337
337
  top: ${this.originY}px;
338
338
  }
339
339
  </style>
340
- <div class="${Xt(t)}">
340
+ <div class="${te(t)}">
341
341
  <div class="ft-ripple--background"></div>
342
342
  <div class="ft-ripple--effect"></div>
343
343
  </div>
344
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var r,n;super.update(t),t.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 t,r;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let r=(...l)=>c=>{l.forEach(d=>window.addEventListener(d,this.endPress,{once:!0})),this.startPress(c)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&r("keyup")(l)},s={passive:!0};t.addEventListener("mouseover",this.startHover,s),t.addEventListener("mousemove",this.moveRipple,s),t.addEventListener("mouseleave",this.endHover,s),t.addEventListener("mousedown",n,s),t.addEventListener("touchstart",i,s),t.addEventListener("touchmove",this.moveRipple,s),t.addEventListener("keydown",a,s),t.addEventListener("focus",this.startFocus,s),t.addEventListener("blur",this.endFocus,s),t.addEventListener("focusin",this.startFocus,s),t.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,s),t.removeEventListener("mousemove",this.moveRipple,s),t.removeEventListener("mouseleave",this.endHover,s),t.removeEventListener("mousedown",n,s),t.removeEventListener("touchstart",i,s),t.removeEventListener("touchmove",this.moveRipple,s),t.removeEventListener("keydown",a,s),t.removeEventListener("focus",this.startFocus,s),t.removeEventListener("blur",this.endFocus,s),t.removeEventListener("focusin",this.startFocus,s),t.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let r=t,n=t,i,a;return r.x!=null?{x:i,y:a}=r:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let r of t.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()}};V.elementDefinitions={};V.styles=rc;yt([S({type:Boolean})],V.prototype,"primary",void 0);yt([S({type:Boolean})],V.prototype,"secondary",void 0);yt([S({type:Boolean})],V.prototype,"unbounded",void 0);yt([S({type:Boolean})],V.prototype,"activated",void 0);yt([S({type:Boolean})],V.prototype,"selected",void 0);yt([S({type:Boolean})],V.prototype,"disabled",void 0);yt([J()],V.prototype,"hovered",void 0);yt([J()],V.prototype,"focused",void 0);yt([J()],V.prototype,"pressed",void 0);yt([J()],V.prototype,"rippling",void 0);yt([J()],V.prototype,"originX",void 0);yt([J()],V.prototype,"originY",void 0);yt([it(".ft-ripple")],V.prototype,"ripple",void 0);yt([it(".ft-ripple--effect")],V.prototype,"rippleEffect",void 0);K("ft-ripple")(V);var zo;(function(e){e.ADD_TO_PBK="&#xe800;",e.ALERT="&#xe801;",e.ADD_ALERT="&#xe802;",e.BACK_TO_SEARCH="&#xe803;",e.ADD_BOOKMARK="&#xe804;",e.BOOKMARK="&#xe805;",e.BOOKS="&#xe806;",e.MENU="&#xe807;",e.DOWNLOAD="&#xe808;",e.EDIT="&#xe809;",e.FEEDBACK="&#xe80a;",e.HOME="&#xe80b;",e.MODIFY_PBK="&#xe80c;",e.SCHEDULED="&#xe80d;",e.SEARCH="&#xe80e;",e.EXPORT="&#xe80f;",e.TOC="&#xe810;",e.WRITE_UGC="&#xe811;",e.TRASH="&#xe812;",e.USER="&#xe813;",e.EXTLINK="&#xe814;",e.CALENDAR="&#xe815;",e.OFFLINE="&#xe816;",e.BOOK="&#xe817;",e.DOWNLOAD_PLAIN="&#xe818;",e.CHECK="&#xe819;",e.STAR_PLAIN="&#xe900;",e.TOPICS="&#xe901;",e.DISC="&#xe902;",e.CIRCLE="&#xe903;",e.SHARED="&#xe904;",e.SORT_UNSORTED="&#xe905;",e.SORT_UP="&#xe906;",e.SORT_DOWN="&#xe907;",e.WORKING="&#xe908;",e.CLOSE="&#xe909;",e.ZOOM_OUT="&#xe90a;",e.ZOOM_IN="&#xe90b;",e.ZOOM_REALSIZE="&#xe90c;",e.ZOOM_FULLSCREEN="&#xe90d;",e.ADMIN_RESTRICTED="&#xe90e;",e.ADMIN="&#xe90f;",e.ADMIN_KHUB="&#xe910;",e.ADMIN_THEME="&#xe911;",e.ADMIN_USERS="&#xe912;",e.WARNING="&#xe913;",e.CONTEXT="&#xe914;",e.SEARCH_HOME="&#xe915;",e.STEPS="&#xe916;",e.ICON_EXPAND="&#xe917;",e.ICON_COLLAPSE="&#xe918;",e.INFO="&#xe919;",e.MINUS_PLAIN="&#xe91a;",e.PLUS_PLAIN="&#xe91b;",e.FACET_HAS_DESCENDANT="&#xe91c;",e.TRIANGLE_BOTTOM="&#xe91d;",e.TRIANGLE_LEFT="&#xe91e;",e.TRIANGLE_RIGHT="&#xe91f;",e.TRIANGLE_TOP="&#xe920;",e.THIN_ARROW="&#xe921;",e.SIGN_IN="&#xe922;",e.LOGOUT="&#xe923;",e.TRANSLATE="&#xe924;",e.CLOSE_PLAIN="&#xe925;",e.CHECK_PLAIN="&#xe926;",e.ARTICLE="&#xe927;",e.COLUMNS="&#xe928;",e.ANALYTICS="&#xe929;",e.COLLECTIONS="&#xe92a;",e.ARROW_DOWN="&#xe92b;",e.ARROW_LEFT="&#xe92c;",e.ARROW_RIGHT="&#xe92d;",e.ARROW_UP="&#xe92e;",e.SEARCH_IN_PUBLICATION="&#xe92f;",e.COPY_TO_CLIPBOARD="&#xe930;",e.SHARED_PBK="&#xe931;",e.ATTACHMENTS="&#xe932;",e.STRIPE_ARROW_LEFT="&#xe933;",e.STRIPE_ARROW_RIGHT="&#xe934;",e.FILTERS="&#xe935;",e.DOT="&#xe936;",e.MINUS="&#xe937;",e.PLUS="&#xe938;",e.MAILS_AND_NOTIFICATIONS="&#xe939;",e.SAVE="&#xe93a;",e.LOCKER="&#xe93b;",e.ADMIN_INTEGRATION="&#xe93c;",e.SYNC="&#xe93d;",e.TAG="&#xe93e;",e.BOOK_PLAIN="&#xe93f;",e.UPLOAD="&#xe940;",e.ONLINE="&#xe941;",e.TAG_PLAIN="&#xe942;",e.ACCOUNT_SETTINGS="&#xe943;",e.PRINT="&#xe944;",e.DEFAULT_ROLES="&#xe945;",e.SHORTCUT_MENU="&#xe946;",e.RELATIVES_PLAIN="&#xe947;",e.RELATIVES="&#xe948;",e.PAUSE="&#xe949;",e.PLAY="&#xe94a;",e.ADMIN_PORTAL="&#xe94b;",e.STAR="&#xe94c;",e.THUMBS_DOWN="&#xe94d;",e.THUMBS_DOWN_PLAIN="&#xe94e;",e.THUMBS_UP="&#xe94f;",e.THUMBS_UP_PLAIN="&#xe950;",e.FEEDBACK_PLAIN="&#xe951;",e.RATE_PLAIN="&#xe952;",e.RATE="&#xe953;",e.OFFLINE_SETTINGS="&#xe954;",e.MY_COLLECTIONS="&#xe955;",e.THIN_ARROW_LEFT="&#xe956;",e.THIN_ARROW_RIGHT="&#xe957;",e.RESET="&#xe958;",e.MY_LIBRARY="&#xe959;",e.UNSTRUCTURED_DOC="&#xe95a;",e.CONTEXTUAL="&#xe95b;",e.THIN_ARROW_UP="&#xe95c;",e.ARROW_RIGHT_TO_LINE="&#xe95d;",e.DESKTOP="&#xe95e;",e.TABLET_LANDSCAPE="&#xe95f;",e.TABLET_PORTRAIT="&#xe960;",e.MOBILE_LANDSCAPE="&#xe961;",e.MOBILE_PORTRAIT="&#xe962;",e.DIAGRAM_SUNBURST="&#xe963;",e.DIAGRAM_SANKEY="&#xe964;",e.COMMENT_QUESTION="&#xe965;",e.COMMENT_QUESTION_PLAIN="&#xe966;",e.MESSAGE_BOT="&#xe967;",e.CHART_SIMPLE="&#xe968;",e.BARS_PROGRESS="&#xe969;",e.BOOK_OPEN_GEAR="&#xe96a;",e.BOOK_OPEN_GEAR_SLASH="&#xe96b;",e.LINE_CHART="&#xe96c;",e.STACKED_CHART="&#xe96d;",e.CHART_BAR_STACKED="&#xe96e;",e.CHART_BAR_GROUPED="&#xe96f;",e.EYE_SLASH="&#xe970;",e.X_MARK="&#xe971;",e.EXPAND_WIDE="&#xe972;",e.PIP="&#xe973;",e.PIP_WIDE="&#xe974;",e.LIFE_RING="&#xe975;",e.GLOBE="&#xe976;",e.PIGGY_BANK="&#xe977;",e.EXTLINK_LIGHT="&#xe978;",e.CLONE="&#xe979;",e.CLONE_LINK_SIMPLE="&#xe97a;",e.CHART_BAR_NORMALIZED="&#xe97b;",e.CONSUMER="&#xe97c;",e.OCTAGON_XMARK="&#xe97d;",e.HOURGLASS_HALF="&#xe97e;",e.CLOCK="&#xe97f;",e.CLOCK_THREE="&#xe97f;",e.CALENDAR_DAY="&#xe980;",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",e.WAND_MAGIC_SPARKLES="&#xe982;",e.PAPER_PLANE="&#xe983;",e.CIRCLE_STOP="&#xe984;",e.ARROW_ROTATE_RIGHT="&#xe985;",e.ARROWS_ROTATE="&#xe986;",e.ALIGN_RIGHT="&#xe987;",e.FORMAT_CLEAR="&#xe988;",e.ALIGN_CENTER="&#xe989;",e.ALIGN_LEFT="&#xe98a;",e.PALETTE="&#xe98b;",e.BOLD="&#xe98c;",e.ITALIC="&#xe98d;",e.UNDERLINE="&#xe98e;",e.STRIKETHROUGH="&#xe98f;",e.LINK_SIMPLE_SLASH="&#xe990;",e.LINK_SIMPLE="&#xe991;",e.ROUTE="&#xe992;",e.CIRCLE_USER_SLASH="&#xe993;",e.CIRCLE_USER_CHECK="&#xe994;",e.EYE="&#xf06e;",e.SHARE="&#xe80f1;"})(zo||(zo={}));var w;(function(e){e.UNKNOWN="&#xe90a;",e.ABW="&#xe900;",e.AUDIO="&#xe901;",e.AVI="&#xe902;",e.CHM="&#xe904;",e.CODE="&#xe905;",e.CSV="&#xe903;",e.DITA="&#xe906;",e.EPUB="&#xe907;",e.EXCEL="&#xe908;",e.FLAC="&#xe909;",e.GIF="&#xe90b;",e.GZIP="&#xe90c;",e.HTML="&#xe90d;",e.IMAGE="&#xe90e;",e.JPEG="&#xe90f;",e.JSON="&#xe910;",e.M4A="&#xe911;",e.MOV="&#xe912;",e.MP3="&#xe913;",e.MP4="&#xe914;",e.OGG="&#xe915;",e.PDF="&#xe916;",e.PNG="&#xe917;",e.POWERPOINT="&#xe918;",e.RAR="&#xe91a;",e.STP="&#xe91b;",e.TEXT="&#xe91c;",e.VIDEO="&#xe91e;",e.WAV="&#xe91f;",e.WMA="&#xe920;",e.WORD="&#xe921;",e.XML="&#xe922;",e.YAML="&#xe919;",e.ZIP="&#xe923;"})(w||(w={}));var R0=new Map([...["abw"].map(e=>[e,w.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,w.AUDIO]),...["avi"].map(e=>[e,w.AVI]),...["chm","xhs"].map(e=>[e,w.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,w.CODE]),...["csv"].map(e=>[e,w.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,w.DITA]),...["epub"].map(e=>[e,w.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,w.EXCEL]),...["flac"].map(e=>[e,w.FLAC]),...["gif"].map(e=>[e,w.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,w.GZIP]),...["html","htm","xhtml"].map(e=>[e,w.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,w.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,w.JPEG]),...["json"].map(e=>[e,w.JSON]),...["m4a","m4p"].map(e=>[e,w.M4A]),...["mov","qt"].map(e=>[e,w.MOV]),...["mp3"].map(e=>[e,w.MP3]),...["mp4","m4v"].map(e=>[e,w.MP4]),...["ogg","oga"].map(e=>[e,w.OGG]),...["pdf","ps"].map(e=>[e,w.PDF]),...["png"].map(e=>[e,w.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,w.POWERPOINT]),...["rar"].map(e=>[e,w.RAR]),...["stp"].map(e=>[e,w.STP]),...["txt","rtf","md","mdown"].map(e=>[e,w.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,w.VIDEO]),...["wav"].map(e=>[e,w.WAV]),...["wma"].map(e=>[e,w.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,w.WORD]),...["xml","xsl","rdf"].map(e=>[e,w.XML]),...["yaml","yml","x-yaml"].map(e=>[e,w.YAML]),...["zip"].map(e=>[e,w.ZIP])]);var N0={[w.ABW]:"#91ABC6",[w.AUDIO]:"#1795E3",[w.AVI]:"#E63324",[w.CHM]:"#71C3EB",[w.CODE]:"#71C3EB",[w.CSV]:"#1F7345",[w.DITA]:"#71C3EB",[w.EPUB]:"#85B926",[w.EXCEL]:"#1F7345",[w.FLAC]:"#1795E3",[w.GIF]:"#59B031",[w.GZIP]:"#F8AB36",[w.HTML]:"#71C3EB",[w.IMAGE]:"#59B031",[w.JPEG]:"#59B031",[w.JSON]:"#71C3EB",[w.M4A]:"#1795E3",[w.MOV]:"#E63324",[w.MP3]:"#1795E3",[w.MP4]:"#E63324",[w.OGG]:"#1795E3",[w.PDF]:"#E44948",[w.PNG]:"#59B031",[w.POWERPOINT]:"#B54A2B",[w.RAR]:"#F8AB36",[w.STP]:"#3764B1",[w.TEXT]:"#3162AB",[w.UNKNOWN]:"#999999",[w.VIDEO]:"#E63324",[w.WAV]:"#1795E3",[w.WMA]:"#1795E3",[w.WORD]:"#3162AB",[w.XML]:"#71C3EB",[w.YAML]:"#71C3EB",[w.ZIP]:"#F8AB36"};var dt={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")},oc=T`
344
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var r,n;super.update(t),t.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 t,r;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let r=(...l)=>d=>{l.forEach(u=>window.addEventListener(u,this.endPress,{once:!0})),this.startPress(d)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),c=l=>{["Enter"," "].includes(l.key)&&r("keyup")(l)},s={passive:!0};t.addEventListener("mouseover",this.startHover,s),t.addEventListener("mousemove",this.moveRipple,s),t.addEventListener("mouseleave",this.endHover,s),t.addEventListener("mousedown",n,s),t.addEventListener("touchstart",i,s),t.addEventListener("touchmove",this.moveRipple,s),t.addEventListener("keydown",c,s),t.addEventListener("focus",this.startFocus,s),t.addEventListener("blur",this.endFocus,s),t.addEventListener("focusin",this.startFocus,s),t.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,s),t.removeEventListener("mousemove",this.moveRipple,s),t.removeEventListener("mouseleave",this.endHover,s),t.removeEventListener("mousedown",n,s),t.removeEventListener("touchstart",i,s),t.removeEventListener("touchmove",this.moveRipple,s),t.removeEventListener("keydown",c,s),t.removeEventListener("focus",this.startFocus,s),t.removeEventListener("blur",this.endFocus,s),t.removeEventListener("focusin",this.startFocus,s),t.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let r=t,n=t,i,c;return r.x!=null?{x:i,y:c}=r:n.touches!=null&&(i=n.touches[0].clientX,c=n.touches[0].clientY),{x:i,y:c}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let r of t.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=il;xt([E({type:Boolean})],j.prototype,"primary",void 0);xt([E({type:Boolean})],j.prototype,"secondary",void 0);xt([E({type:Boolean})],j.prototype,"unbounded",void 0);xt([E({type:Boolean})],j.prototype,"activated",void 0);xt([E({type:Boolean})],j.prototype,"selected",void 0);xt([E({type:Boolean})],j.prototype,"disabled",void 0);xt([et()],j.prototype,"hovered",void 0);xt([et()],j.prototype,"focused",void 0);xt([et()],j.prototype,"pressed",void 0);xt([et()],j.prototype,"rippling",void 0);xt([et()],j.prototype,"originX",void 0);xt([et()],j.prototype,"originY",void 0);xt([st(".ft-ripple")],j.prototype,"ripple",void 0);xt([st(".ft-ripple--effect")],j.prototype,"rippleEffect",void 0);q("ft-ripple")(j);var Zo;(function(e){e.ADD_TO_PBK="&#xe800;",e.ALERT="&#xe801;",e.ADD_ALERT="&#xe802;",e.BACK_TO_SEARCH="&#xe803;",e.ADD_BOOKMARK="&#xe804;",e.BOOKMARK="&#xe805;",e.BOOKS="&#xe806;",e.MENU="&#xe807;",e.DOWNLOAD="&#xe808;",e.EDIT="&#xe809;",e.FEEDBACK="&#xe80a;",e.HOME="&#xe80b;",e.MODIFY_PBK="&#xe80c;",e.SCHEDULED="&#xe80d;",e.SEARCH="&#xe80e;",e.EXPORT="&#xe80f;",e.TOC="&#xe810;",e.WRITE_UGC="&#xe811;",e.TRASH="&#xe812;",e.USER="&#xe813;",e.EXTLINK="&#xe814;",e.CALENDAR="&#xe815;",e.OFFLINE="&#xe816;",e.BOOK="&#xe817;",e.DOWNLOAD_PLAIN="&#xe818;",e.CHECK="&#xe819;",e.STAR_PLAIN="&#xe900;",e.TOPICS="&#xe901;",e.DISC="&#xe902;",e.CIRCLE="&#xe903;",e.SHARED="&#xe904;",e.SORT_UNSORTED="&#xe905;",e.SORT_UP="&#xe906;",e.SORT_DOWN="&#xe907;",e.WORKING="&#xe908;",e.CLOSE="&#xe909;",e.ZOOM_OUT="&#xe90a;",e.ZOOM_IN="&#xe90b;",e.ZOOM_REALSIZE="&#xe90c;",e.ZOOM_FULLSCREEN="&#xe90d;",e.ADMIN_RESTRICTED="&#xe90e;",e.ADMIN="&#xe90f;",e.ADMIN_KHUB="&#xe910;",e.ADMIN_THEME="&#xe911;",e.ADMIN_USERS="&#xe912;",e.WARNING="&#xe913;",e.CONTEXT="&#xe914;",e.SEARCH_HOME="&#xe915;",e.STEPS="&#xe916;",e.ICON_EXPAND="&#xe917;",e.ICON_COLLAPSE="&#xe918;",e.INFO="&#xe919;",e.MINUS_PLAIN="&#xe91a;",e.PLUS_PLAIN="&#xe91b;",e.FACET_HAS_DESCENDANT="&#xe91c;",e.TRIANGLE_BOTTOM="&#xe91d;",e.TRIANGLE_LEFT="&#xe91e;",e.TRIANGLE_RIGHT="&#xe91f;",e.TRIANGLE_TOP="&#xe920;",e.THIN_ARROW="&#xe921;",e.SIGN_IN="&#xe922;",e.LOGOUT="&#xe923;",e.TRANSLATE="&#xe924;",e.CLOSE_PLAIN="&#xe925;",e.CHECK_PLAIN="&#xe926;",e.ARTICLE="&#xe927;",e.COLUMNS="&#xe928;",e.ANALYTICS="&#xe929;",e.COLLECTIONS="&#xe92a;",e.ARROW_DOWN="&#xe92b;",e.ARROW_LEFT="&#xe92c;",e.ARROW_RIGHT="&#xe92d;",e.ARROW_UP="&#xe92e;",e.SEARCH_IN_PUBLICATION="&#xe92f;",e.COPY_TO_CLIPBOARD="&#xe930;",e.SHARED_PBK="&#xe931;",e.ATTACHMENTS="&#xe932;",e.STRIPE_ARROW_LEFT="&#xe933;",e.STRIPE_ARROW_RIGHT="&#xe934;",e.FILTERS="&#xe935;",e.DOT="&#xe936;",e.MINUS="&#xe937;",e.PLUS="&#xe938;",e.MAILS_AND_NOTIFICATIONS="&#xe939;",e.SAVE="&#xe93a;",e.LOCKER="&#xe93b;",e.ADMIN_INTEGRATION="&#xe93c;",e.SYNC="&#xe93d;",e.TAG="&#xe93e;",e.BOOK_PLAIN="&#xe93f;",e.UPLOAD="&#xe940;",e.ONLINE="&#xe941;",e.TAG_PLAIN="&#xe942;",e.ACCOUNT_SETTINGS="&#xe943;",e.PRINT="&#xe944;",e.DEFAULT_ROLES="&#xe945;",e.SHORTCUT_MENU="&#xe946;",e.RELATIVES_PLAIN="&#xe947;",e.RELATIVES="&#xe948;",e.PAUSE="&#xe949;",e.PLAY="&#xe94a;",e.ADMIN_PORTAL="&#xe94b;",e.STAR="&#xe94c;",e.THUMBS_DOWN="&#xe94d;",e.THUMBS_DOWN_PLAIN="&#xe94e;",e.THUMBS_UP="&#xe94f;",e.THUMBS_UP_PLAIN="&#xe950;",e.FEEDBACK_PLAIN="&#xe951;",e.RATE_PLAIN="&#xe952;",e.RATE="&#xe953;",e.OFFLINE_SETTINGS="&#xe954;",e.MY_COLLECTIONS="&#xe955;",e.THIN_ARROW_LEFT="&#xe956;",e.THIN_ARROW_RIGHT="&#xe957;",e.RESET="&#xe958;",e.MY_LIBRARY="&#xe959;",e.UNSTRUCTURED_DOC="&#xe95a;",e.CONTEXTUAL="&#xe95b;",e.THIN_ARROW_UP="&#xe95c;",e.ARROW_RIGHT_TO_LINE="&#xe95d;",e.DESKTOP="&#xe95e;",e.TABLET_LANDSCAPE="&#xe95f;",e.TABLET_PORTRAIT="&#xe960;",e.MOBILE_LANDSCAPE="&#xe961;",e.MOBILE_PORTRAIT="&#xe962;",e.DIAGRAM_SUNBURST="&#xe963;",e.DIAGRAM_SANKEY="&#xe964;",e.COMMENT_QUESTION="&#xe965;",e.COMMENT_QUESTION_PLAIN="&#xe966;",e.MESSAGE_BOT="&#xe967;",e.CHART_SIMPLE="&#xe968;",e.BARS_PROGRESS="&#xe969;",e.BOOK_OPEN_GEAR="&#xe96a;",e.BOOK_OPEN_GEAR_SLASH="&#xe96b;",e.LINE_CHART="&#xe96c;",e.STACKED_CHART="&#xe96d;",e.CHART_BAR_STACKED="&#xe96e;",e.CHART_BAR_GROUPED="&#xe96f;",e.EYE_SLASH="&#xe970;",e.X_MARK="&#xe971;",e.EXPAND_WIDE="&#xe972;",e.PIP="&#xe973;",e.PIP_WIDE="&#xe974;",e.LIFE_RING="&#xe975;",e.GLOBE="&#xe976;",e.PIGGY_BANK="&#xe977;",e.EXTLINK_LIGHT="&#xe978;",e.CLONE="&#xe979;",e.CLONE_LINK_SIMPLE="&#xe97a;",e.CHART_BAR_NORMALIZED="&#xe97b;",e.CONSUMER="&#xe97c;",e.OCTAGON_XMARK="&#xe97d;",e.HOURGLASS_HALF="&#xe97e;",e.CLOCK="&#xe97f;",e.CLOCK_THREE="&#xe97f;",e.CALENDAR_DAY="&#xe980;",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",e.WAND_MAGIC_SPARKLES="&#xe982;",e.PAPER_PLANE="&#xe983;",e.CIRCLE_STOP="&#xe984;",e.ARROW_ROTATE_RIGHT="&#xe985;",e.ARROWS_ROTATE="&#xe986;",e.ALIGN_RIGHT="&#xe987;",e.FORMAT_CLEAR="&#xe988;",e.ALIGN_CENTER="&#xe989;",e.ALIGN_LEFT="&#xe98a;",e.PALETTE="&#xe98b;",e.BOLD="&#xe98c;",e.ITALIC="&#xe98d;",e.UNDERLINE="&#xe98e;",e.STRIKETHROUGH="&#xe98f;",e.LINK_SIMPLE_SLASH="&#xe990;",e.LINK_SIMPLE="&#xe991;",e.ROUTE="&#xe992;",e.CIRCLE_USER_SLASH="&#xe993;",e.CIRCLE_USER_CHECK="&#xe994;",e.EYE="&#xf06e;",e.SHARE="&#xe80f1;"})(Zo||(Zo={}));var R;(function(e){e.UNKNOWN="&#xe90a;",e.ABW="&#xe900;",e.AUDIO="&#xe901;",e.AVI="&#xe902;",e.CHM="&#xe904;",e.CODE="&#xe905;",e.CSV="&#xe903;",e.DITA="&#xe906;",e.EPUB="&#xe907;",e.EXCEL="&#xe908;",e.FLAC="&#xe909;",e.GIF="&#xe90b;",e.GZIP="&#xe90c;",e.HTML="&#xe90d;",e.IMAGE="&#xe90e;",e.JPEG="&#xe90f;",e.JSON="&#xe910;",e.M4A="&#xe911;",e.MOV="&#xe912;",e.MP3="&#xe913;",e.MP4="&#xe914;",e.OGG="&#xe915;",e.PDF="&#xe916;",e.PNG="&#xe917;",e.POWERPOINT="&#xe918;",e.RAR="&#xe91a;",e.STP="&#xe91b;",e.TEXT="&#xe91c;",e.VIDEO="&#xe91e;",e.WAV="&#xe91f;",e.WMA="&#xe920;",e.WORD="&#xe921;",e.XML="&#xe922;",e.YAML="&#xe919;",e.ZIP="&#xe923;"})(R||(R={}));var k0=new Map([...["abw"].map(e=>[e,R.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(e=>[e,R.AUDIO]),...["avi"].map(e=>[e,R.AVI]),...["chm","xhs"].map(e=>[e,R.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(e=>[e,R.CODE]),...["csv"].map(e=>[e,R.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,R.DITA]),...["epub"].map(e=>[e,R.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,R.EXCEL]),...["flac"].map(e=>[e,R.FLAC]),...["gif"].map(e=>[e,R.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,R.GZIP]),...["html","htm","xhtml"].map(e=>[e,R.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(e=>[e,R.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,R.JPEG]),...["json"].map(e=>[e,R.JSON]),...["m4a","m4p"].map(e=>[e,R.M4A]),...["mov","qt"].map(e=>[e,R.MOV]),...["mp3"].map(e=>[e,R.MP3]),...["mp4","m4v"].map(e=>[e,R.MP4]),...["ogg","oga"].map(e=>[e,R.OGG]),...["pdf","ps"].map(e=>[e,R.PDF]),...["png"].map(e=>[e,R.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,R.POWERPOINT]),...["rar"].map(e=>[e,R.RAR]),...["stp"].map(e=>[e,R.STP]),...["txt","rtf","md","mdown"].map(e=>[e,R.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(e=>[e,R.VIDEO]),...["wav"].map(e=>[e,R.WAV]),...["wma"].map(e=>[e,R.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,R.WORD]),...["xml","xsl","rdf"].map(e=>[e,R.XML]),...["yaml","yml","x-yaml"].map(e=>[e,R.YAML]),...["zip"].map(e=>[e,R.ZIP])]);var U0={[R.ABW]:"#91ABC6",[R.AUDIO]:"#1795E3",[R.AVI]:"#E63324",[R.CHM]:"#71C3EB",[R.CODE]:"#71C3EB",[R.CSV]:"#1F7345",[R.DITA]:"#71C3EB",[R.EPUB]:"#85B926",[R.EXCEL]:"#1F7345",[R.FLAC]:"#1795E3",[R.GIF]:"#59B031",[R.GZIP]:"#F8AB36",[R.HTML]:"#71C3EB",[R.IMAGE]:"#59B031",[R.JPEG]:"#59B031",[R.JSON]:"#71C3EB",[R.M4A]:"#1795E3",[R.MOV]:"#E63324",[R.MP3]:"#1795E3",[R.MP4]:"#E63324",[R.OGG]:"#1795E3",[R.PDF]:"#E44948",[R.PNG]:"#59B031",[R.POWERPOINT]:"#B54A2B",[R.RAR]:"#F8AB36",[R.STP]:"#3764B1",[R.TEXT]:"#3162AB",[R.UNKNOWN]:"#999999",[R.VIDEO]:"#E63324",[R.WAV]:"#1795E3",[R.WMA]:"#1795E3",[R.WORD]:"#3162AB",[R.XML]:"#71C3EB",[R.YAML]:"#71C3EB",[R.ZIP]:"#F8AB36"};var ht={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")},cl=T`
345
345
  :host, i.ft-icon {
346
346
  display: inline-flex;
347
347
  align-items: center;
@@ -350,14 +350,14 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
350
350
  }
351
351
 
352
352
  :host {
353
- width: ${dt.size};
354
- height: ${dt.size};
353
+ width: ${ht.size};
354
+ height: ${ht.size};
355
355
  }
356
356
 
357
357
  i.ft-icon {
358
358
  width: 100%;
359
359
  height: 100%;
360
- font-size: ${dt.size};
360
+ font-size: ${ht.size};
361
361
  line-height: 1;
362
362
  font-weight: normal;
363
363
  text-transform: none;
@@ -368,33 +368,33 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
368
368
  text-rendering: auto;
369
369
  -webkit-font-smoothing: antialiased;
370
370
  -moz-osx-font-smoothing: grayscale;
371
- vertical-align: ${dt.verticalAlign};
371
+ vertical-align: ${ht.verticalAlign};
372
372
  }
373
373
 
374
374
  i.ft-icon.ft-icon--fluid-topics {
375
- font-family: ${dt.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
375
+ font-family: ${ht.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
376
376
 
377
377
  /* Ugly fix because font is broken */
378
- font-size: calc(0.75 * ${dt.size});
379
- line-height: ${dt.size};
378
+ font-size: calc(0.75 * ${ht.size});
379
+ line-height: ${ht.size};
380
380
  position: relative;
381
381
  top: -4%;
382
382
  justify-content: center;
383
383
  }
384
384
 
385
385
  .ft-icon--file-format {
386
- font-family: ${dt.fileFormatFontFamily}, ft-mime, sans-serif;
386
+ font-family: ${ht.fileFormatFontFamily}, ft-mime, sans-serif;
387
387
  }
388
388
 
389
389
  .ft-icon--material {
390
- font-family: ${dt.materialFontFamily}, "Material Icons", sans-serif;
390
+ font-family: ${ht.materialFontFamily}, "Material Icons", sans-serif;
391
391
  }
392
- `;var Vt;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(Vt||(Vt={}));var Ho=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},ft=class extends F{constructor(){super(...arguments),this.resolvedIcon=j}render(){let t=this.variant&&Object.values(Vt).includes(this.variant)?this.variant:Vt.fluid_topics,r=t!==Vt.material||!!this.value;return D`
392
+ `;var qt;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(qt||(qt={}));var Vo=function(e,t,r,n){var i=arguments.length,c=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(c=(i<3?s(c):i>3?s(t,r,c):s(t,r))||c);return i>3&&c&&Object.defineProperty(t,r,c),c},mt=class extends K{constructor(){super(...arguments),this.resolvedIcon=V}render(){let t=this.variant&&Object.values(qt).includes(this.variant)?this.variant:qt.fluid_topics,r=t!==qt.material||!!this.value;return B`
393
393
  <i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
394
- ${Rn(this.resolvedIcon)}
394
+ ${Ln(this.resolvedIcon)}
395
395
  <slot ?hidden=${r}></slot>
396
396
  </i>
397
- `}get textContent(){var t,r;return(r=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(t){super.update(t),["value","variant"].some(r=>t.has(r))&&this.resolveIcon()}resolveIcon(){var t,r;let n=this.value||this.textContent;switch(this.variant){case Vt.file_format:this.resolvedIcon=(t=w[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case Vt.material:this.resolvedIcon=this.value||j;break;default:this.resolvedIcon=(r=zo[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};ft.elementDefinitions={};ft.styles=oc;Ho([S()],ft.prototype,"variant",void 0);Ho([S()],ft.prototype,"value",void 0);Ho([J()],ft.prototype,"resolvedIcon",void 0);Ho([it("slot")],ft.prototype,"slottedContent",void 0);K("ft-icon")(ft);var gt={color:o.extend("--ft-loader-color","",M.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},nc=T`
397
+ `}get textContent(){var t,r;return(r=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(t){super.update(t),["value","variant"].some(r=>t.has(r))&&this.resolveIcon()}resolveIcon(){var t,r;let n=this.value||this.textContent;switch(this.variant){case qt.file_format:this.resolvedIcon=(t=R[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case qt.material:this.resolvedIcon=this.value||V;break;default:this.resolvedIcon=(r=Zo[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};mt.elementDefinitions={};mt.styles=cl;Vo([E()],mt.prototype,"variant",void 0);Vo([E()],mt.prototype,"value",void 0);Vo([et()],mt.prototype,"resolvedIcon",void 0);Vo([st("slot")],mt.prototype,"slottedContent",void 0);q("ft-icon")(mt);var vt={color:o.extend("--ft-loader-color","",D.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},sl=T`
398
398
  :host {
399
399
  line-height: 0;
400
400
  }
@@ -403,8 +403,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
403
403
  display: inline-block;
404
404
  position: relative;
405
405
 
406
- width: ${gt.size};
407
- height: ${gt.size};
406
+ width: ${vt.size};
407
+ height: ${vt.size};
408
408
  }
409
409
 
410
410
  .ft-loader div {
@@ -413,7 +413,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
413
413
  width: 25%;
414
414
  height: 25%;
415
415
  border-radius: 50%;
416
- background: ${gt.color};
416
+ background: ${vt.color};
417
417
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
418
418
  }
419
419
 
@@ -460,10 +460,10 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
460
460
  transform: translate(0, 0);
461
461
  }
462
462
  100% {
463
- transform: translate(calc(0.35 * ${gt.size}), 0);
463
+ transform: translate(calc(0.35 * ${vt.size}), 0);
464
464
  }
465
465
  }
466
- `;var ic=o.extend("--ft-button-color","",M.colorPrimary),Q={backgroundColor:o.extend("--ft-button-background-color","",M.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",M.borderRadiusL),color:ic,fontSize:o.extend("--ft-button-font-size","",jt.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",ic),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(M.colorOpacityDisabled,"Design system")},ac=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",M.colorOnPrimary)),va={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",M.colorPrimary)),color:ac,rippleColor:o.extend("--ft-button-primary-ripple-color","",ac)},Kt={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",M.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")},sc=[T`
466
+ `;var ll=o.extend("--ft-button-color","",D.colorPrimary),rt={backgroundColor:o.extend("--ft-button-background-color","",D.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",D.borderRadiusL),color:ll,fontSize:o.extend("--ft-button-font-size","",jt.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",ll),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(D.colorOpacityDisabled,"Design system")},dl=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",D.colorOnPrimary)),Ei={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",D.colorPrimary)),color:dl,rippleColor:o.extend("--ft-button-primary-ripple-color","",dl)},Yt={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",D.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")},pl=[T`
467
467
  :host {
468
468
  display: inline-block;
469
469
  max-width: 100%;
@@ -474,7 +474,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
474
474
  box-shadow: 0px 0px 0px transparent;
475
475
  border: 0px solid transparent;
476
476
  text-shadow: 0px 0px 0px transparent;
477
- font-size: ${Q.fontSize};
477
+ font-size: ${rt.fontSize};
478
478
  }
479
479
 
480
480
  button:hover {
@@ -503,31 +503,31 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
503
503
  border: none;
504
504
  pointer-events: auto;
505
505
 
506
- --ft-button-internal-line-height: max(calc(${Q.fontSize} + 2px), ${Q.iconSize});
507
- --ft-button-internal-color: ${Q.color};
508
- ${I(dt.size,Q.iconSize)};
509
- ${I(B.color,Q.rippleColor)};
506
+ --ft-button-internal-line-height: max(calc(${rt.fontSize} + 2px), ${rt.iconSize});
507
+ --ft-button-internal-color: ${rt.color};
508
+ ${$(ht.size,rt.iconSize)};
509
+ ${$(z.color,rt.rippleColor)};
510
510
 
511
- border-radius: ${Q.borderRadius};
512
- padding: ${Q.verticalPadding} ${Q.horizontalPadding};
513
- background-color: ${Q.backgroundColor};
511
+ border-radius: ${rt.borderRadius};
512
+ padding: ${rt.verticalPadding} ${rt.horizontalPadding};
513
+ background-color: ${rt.backgroundColor};
514
514
  color: var(--ft-button-internal-color);
515
515
  -webkit-mask-image: radial-gradient(white, black);
516
516
  }
517
517
 
518
518
  .ft-button.ft-button--outlined {
519
519
  border: 1px solid var(--ft-button-internal-color);
520
- padding: calc(${Q.verticalPadding} - 1px) calc(${Q.horizontalPadding} - 1px);
520
+ padding: calc(${rt.verticalPadding} - 1px) calc(${rt.horizontalPadding} - 1px);
521
521
  }
522
522
 
523
523
  .ft-button.ft-button--dense {
524
- padding: ${Kt.verticalPadding} ${Kt.horizontalPadding};
525
- border-radius: ${Kt.borderRadius};
526
- gap: ${Kt.iconPadding};
524
+ padding: ${Yt.verticalPadding} ${Yt.horizontalPadding};
525
+ border-radius: ${Yt.borderRadius};
526
+ gap: ${Yt.iconPadding};
527
527
  }
528
528
 
529
529
  .ft-button.ft-button--dense.ft-button--outlined {
530
- padding: calc(${Kt.verticalPadding} - 1px) calc(${Kt.horizontalPadding} - 1px);
530
+ padding: calc(${Yt.verticalPadding} - 1px) calc(${Yt.horizontalPadding} - 1px);
531
531
  }
532
532
 
533
533
  .ft-button:not([disabled]):hover {
@@ -535,22 +535,22 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
535
535
  }
536
536
 
537
537
  .ft-button--round {
538
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Q.verticalPadding});
538
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${rt.verticalPadding});
539
539
  }
540
540
 
541
541
  .ft-button--round.ft-button--dense {
542
- border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Kt.verticalPadding});
542
+ border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Yt.verticalPadding});
543
543
  }
544
544
 
545
545
  .ft-button[disabled] {
546
546
  filter: grayscale(1);
547
- opacity: ${Q.opacityDisabled};
547
+ opacity: ${rt.opacityDisabled};
548
548
  }
549
549
 
550
550
  .ft-button.ft-button--primary {
551
- background-color: ${va.backgroundColor};
552
- --ft-button-internal-color: ${va.color};
553
- ${I(B.color,va.rippleColor)};
551
+ background-color: ${Ei.backgroundColor};
552
+ --ft-button-internal-color: ${Ei.color};
553
+ ${$(z.color,Ei.rippleColor)};
554
554
  }
555
555
 
556
556
  .ft-button:focus {
@@ -563,13 +563,13 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
563
563
  white-space: nowrap;
564
564
  text-overflow: ellipsis;
565
565
  display: block;
566
- margin: 0 ${Q.iconPadding};
567
- ${I(jt.fontSize,"1em")};
568
- ${I(jt.lineHeight,"var(--ft-button-internal-line-height)")};
566
+ margin: 0 ${rt.iconPadding};
567
+ ${$(jt.fontSize,"1em")};
568
+ ${$(jt.lineHeight,"var(--ft-button-internal-line-height)")};
569
569
  }
570
570
 
571
571
  .ft-button--dense .ft-button--label {
572
- margin: 0 ${Kt.iconPadding};
572
+ margin: 0 ${Yt.iconPadding};
573
573
  }
574
574
 
575
575
  .ft-button--label[hidden] {
@@ -582,13 +582,13 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
582
582
  }
583
583
 
584
584
  .ft-button--label[hidden] + [part="icon"] {
585
- margin: 0 calc(${Q.horizontalPadding} * -1);
586
- padding: 0 ${Q.verticalPadding};
585
+ margin: 0 calc(${rt.horizontalPadding} * -1);
586
+ padding: 0 ${rt.verticalPadding};
587
587
  }
588
588
 
589
589
  .ft-button--dense .ft-button--label[hidden] + [part="icon"] {
590
- margin: 0 calc(${Kt.horizontalPadding} * -1);
591
- padding: 0 ${Kt.verticalPadding};
590
+ margin: 0 calc(${Yt.horizontalPadding} * -1);
591
+ padding: 0 ${Yt.verticalPadding};
592
592
  }
593
593
 
594
594
  .ft-button:not(.ft-button--trailing-icon) [part="label"]{
@@ -596,43 +596,44 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
596
596
  }
597
597
 
598
598
  ft-loader {
599
- ${I(gt.size,Q.iconSize)};
600
- ${I(gt.color,"var(--ft-button-internal-color)")};
599
+ ${$(vt.size,rt.iconSize)};
600
+ ${$(vt.color,"var(--ft-button-internal-color)")};
601
601
  }
602
- `,ke];var Fe=class extends F{render(){return D`
602
+ `,De];var Ge=class extends K{render(){return B`
603
603
  <div class="ft-loader">
604
604
  <div></div>
605
605
  <div></div>
606
606
  <div></div>
607
607
  <div></div>
608
608
  </div>
609
- `}};Fe.styles=nc;K("ft-loader")(Fe);var Et=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},ot=class extends pa(F,"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",t=>{var r;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){return this.addTooltipIfNeeded(D`
609
+ `}};Ge.styles=sl;q("ft-loader")(Ge);var Nt=function(e,t,r,n){var i=arguments.length,c=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(c=(i<3?s(c):i>3?s(t,r,c):s(t,r))||c);return i>3&&c&&Object.defineProperty(t,r,c),c},it=class extends hi(K,"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",t=>{var r;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){return this.addTooltipIfNeeded(B`
610
610
  <button part="button"
611
- class="${Xt(this.buttonClasses)}"
611
+ class="${te(this.buttonClasses)}"
612
612
  aria-label="${this.getLabel()}"
613
613
  ?disabled=${this.isDisabled()}>
614
614
  <ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
615
615
  <ft-typography part="label"
616
616
  variant=${this.typographyVariant}
617
617
  element="span"
618
- class="ft-button--label ${Zr?"ft-safari-ellipsis-fix":""}"
618
+ class="ft-button--label ${Jr?"ft-safari-ellipsis-fix":""}"
619
619
  ?hidden=${!this.hasTextContent()}>
620
620
  <slot @slotchange=${this.onSlotchange}></slot>
621
621
  </ft-typography>
622
622
  ${this.resolveIcon()}
623
623
  </button>
624
- `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?D`
624
+ `)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?B`
625
625
  <ft-tooltip part="tooltip"
626
626
  text="${this.getLabel()}"
627
627
  position="${this.tooltipPosition}">
628
628
  ${t}
629
629
  </ft-tooltip>
630
- `:t}resolveIcon(){return this.loading?D`
631
- <ft-loader part="loader icon"></ft-loader> `:this.icon?D`
630
+ `:t}resolveIcon(){return this.loading?B`
631
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?B`
632
632
  <ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
633
- `:D`
633
+ `:B`
634
634
  <slot part="icon" name="icon"></slot>
635
- `}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(r=>this.unslotText(r)).join(""):t?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};ot.elementDefinitions={"ft-ripple":V,"ft-tooltip":Y,"ft-typography":lt,"ft-icon":ft,"ft-loader":Fe};Et([S({type:String,reflect:!0})],ot.prototype,"role",void 0);Et([S()],ot.prototype,"type",void 0);Et([S({type:Boolean})],ot.prototype,"disabled",void 0);Et([S()],ot.prototype,"label",void 0);Et([S()],ot.prototype,"icon",void 0);Et([S()],ot.prototype,"iconVariant",void 0);Et([S({type:Boolean})],ot.prototype,"trailingIcon",void 0);Et([S({type:Boolean})],ot.prototype,"loading",void 0);Et([S()],ot.prototype,"tooltipPosition",void 0);Et([S({type:Boolean})],ot.prototype,"hideTooltip",void 0);Et([S({type:Boolean})],ot.prototype,"forceTooltip",void 0);Et([it(".ft-button")],ot.prototype,"button",void 0);Et([it(".ft-button--label slot")],ot.prototype,"slottedContent",void 0);var jo=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Ct=class extends ot{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"}};Ct.styles=[zr,sc];jo([S({type:Boolean})],Ct.prototype,"primary",void 0);jo([S({type:Boolean})],Ct.prototype,"outlined",void 0);jo([S({type:Boolean})],Ct.prototype,"dense",void 0);jo([S({type:Boolean})],Ct.prototype,"round",void 0);var lc=[T`
635
+ `}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(r=>this.unslotText(r)).join(""):t?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};it.elementDefinitions={"ft-ripple":j,"ft-tooltip":Q,"ft-typography":pt,"ft-icon":mt,"ft-loader":Ge};Nt([E({type:String,reflect:!0})],it.prototype,"role",void 0);Nt([E()],it.prototype,"type",void 0);Nt([E({type:Boolean})],it.prototype,"disabled",void 0);Nt([E()],it.prototype,"label",void 0);Nt([E()],it.prototype,"icon",void 0);Nt([E()],it.prototype,"iconVariant",void 0);Nt([E({type:Boolean})],it.prototype,"trailingIcon",void 0);Nt([E({type:Boolean})],it.prototype,"loading",void 0);Nt([E()],it.prototype,"tooltipPosition",void 0);Nt([E({type:Boolean})],it.prototype,"hideTooltip",void 0);Nt([E({type:Boolean})],it.prototype,"forceTooltip",void 0);Nt([st(".ft-button")],it.prototype,"button",void 0);Nt([st(".ft-button--label slot")],it.prototype,"slottedContent",void 0);var jo=function(e,t,r,n){var i=arguments.length,c=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(c=(i<3?s(c):i>3?s(t,r,c):s(t,r))||c);return i>3&&c&&Object.defineProperty(t,r,c),c},At=class extends it{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"}};At.styles=[Zr,pl];jo([E({type:Boolean})],At.prototype,"primary",void 0);jo([E({type:Boolean})],At.prototype,"outlined",void 0);jo([E({type:Boolean})],At.prototype,"dense",void 0);jo([E({type:Boolean})],At.prototype,"round",void 0);var ve=e=>typeof e=="string"?kt(e):e,a=class{static create(t,r,n,i){let c=l=>ve(l??i),s=T`var(${ve(t)}, ${c(i)})`;return s.name=t,s.description=r,s.category=n,s.defaultValue=i,s.defaultCssValue=c,s.get=l=>T`var(${ve(t)}, ${c(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,r,n,i){let c=l=>n.get(l??i),s=T`var(${ve(t)}, ${c(i)})`;return s.name=t,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=c,s.get=l=>T`var(${ve(t)}, ${c(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(t,r){let n=c=>t.fallbackVariable?t.fallbackVariable.get(c??t.defaultValue):ve(c??t.lastResortDefaultValue()),i=T`var(${ve(t.name)}, ${n(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=r,i.defaultCssValue=n,i.get=c=>T`var(${ve(t.name)}, ${n(c)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.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)")},Bv={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")},Fv={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")},zv={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")},Hv={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")},Kv={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")},Gv={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")},Zv={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")},Vv={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")},jv={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")},qv={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")},Yv={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")},Xv={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")},Jv={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")},Qv={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")},tS={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")},eS={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")},rS={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")},oS={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")},nS={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")},aS={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")},iS={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")},cS={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")},sS={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")},lS={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")},dS={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")},pS={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 g={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.
636
+ 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","",g.backgroundActionPrimary),primaryColor:a.extend("--ft-button-primary-color","",g.contentGlobalOnColor),primaryIconColor:a.extend("--ft-button-primary-icon-color","",g.contentGlobalOnColor),primaryStateLayerColor:a.extend("--ft-button-primary-state-layer-color","",g.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","",g.borderActionFocusRing),tertiaryBackgroundColor:a.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:a.extend("--ft-button-tertiary-color","",g.contentActionPrimary),tertiaryIconColor:a.extend("--ft-button-tertiary-icon-color","",g.contentActionPrimary),tertiaryStateLayerColor:a.extend("--ft-button-tertiary-state-layer-color","",g.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","",g.contentActionPrimary),secondaryIconColor:a.extend("--ft-button-secondary-icon-color","",g.contentActionPrimary),secondaryStateLayerColor:a.extend("--ft-button-secondary-state-layer-color","",g.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","",g.borderActionPrimary),neutralBackgroundColor:a.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:a.extend("--ft-button-neutral-icon-color","",g.contentGlobalSecondary),neutralColor:a.extend("--ft-button-neutral-color","",g.contentGlobalSecondary),neutralStateLayerColor:a.extend("--ft-button-neutral-state-layer-color","",g.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 CS={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","",g.backgroundGlobalOnSurface),neutralColor:a.extend("--ft-chip-neutral-color","",g.contentGlobalSecondary),neutralIconColor:a.extend("--ft-chip-neutral-icon-color","",g.contentGlobalSecondary),neutralBorderColor:a.extend("--ft-chip-neutral-border-color","",g.borderGlobalSubtle),infoBackgroundColor:a.extend("--ft-chip-info-background-color","",g.backgroundInfoSubtle),infoColor:a.extend("--ft-chip-info-color","",g.contentInfoPrimary),infoIconColor:a.extend("--ft-chip-info-icon-color","",g.contentInfoIconOnly),infoBorderColor:a.extend("--ft-chip-info-border-color","",g.borderInfoSubtle),successBackgroundColor:a.extend("--ft-chip-success-background-color","",g.backgroundSuccessSubtle),successColor:a.extend("--ft-chip-success-color","",g.contentSuccessPrimary),successIconColor:a.extend("--ft-chip-success-icon-color","",g.contentSuccessIconOnly),successBorderColor:a.extend("--ft-chip-success-border-color","",g.borderSuccessSubtle),warningBackgroundColor:a.extend("--ft-chip-warning-background-color","",g.backgroundWarningSubtle),warningColor:a.extend("--ft-chip-warning-color","",g.contentWarningPrimary),warningIconColor:a.extend("--ft-chip-warning-icon-color","",g.contentWarningIconOnly),warningBorderColor:a.extend("--ft-chip-warning-border-color","",g.borderWarningSubtle),errorBackgroundColor:a.extend("--ft-chip-error-background-color","",g.backgroundErrorSubtle),errorColor:a.extend("--ft-chip-error-color","",g.contentErrorPrimary),errorIconColor:a.extend("--ft-chip-error-icon-color","",g.contentErrorIconOnly),errorBorderColor:a.extend("--ft-chip-error-border-color","",g.borderErrorSubtle)};var RS={focusOpacity:a.extend("--ft-link-focus-opacity","",p.opacity80),focusFocusRingColor:a.extend("--ft-link-focus-focus-ring-color","",g.borderActionFocusRing),brandColor:a.extend("--ft-link-brand-color","",g.contentActionPrimary),infoColor:a.extend("--ft-link-info-color","",g.contentInfoPrimary)};var TS={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","",g.backgroundInfoSubtle),infoColor:a.extend("--ft-banner-info-color","",g.contentInfoPrimary),infoIconColor:a.extend("--ft-banner-info-icon-color","",g.contentInfoIconOnly),infoBorderColor:a.extend("--ft-banner-info-border-color","",g.borderInfoSubtle)};var MS={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","",g.contentGlobalOnColor),backgroundColor:a.extend("--ft-badge-background-color","",g.contentActionPrimary)};var HS={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","",g.contentGlobalPrimary),previousNonClickableColor:a.extend("--ft-breadcrumb-previous-non-clickable-color","",g.contentGlobalSecondary),iconColor:a.extend("--ft-breadcrumb-icon-color","",g.contentGlobalSubtle)};var jS={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","",g.borderGlobalSubtle),titleColor:a.extend("--ft-page-header-title-color","",g.contentGlobalPrimary),subtitleColor:a.extend("--ft-page-header-subtitle-color","",g.contentGlobalSecondary)};var QS={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","",g.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","",g.backgroundGlobalOnSurface),headerBorderColor:a.extend("--ft-modal-header-border-color","",g.borderGlobalSubtle),headerColor:a.extend("--ft-modal-header-color","",g.contentGlobalPrimary),headerTrailingIconColor:a.extend("--ft-modal-header-trailing-icon-color","",g.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 nO={overlayOpacity:a.extend("--ft-drawer-overlay-opacity","",p.opacity40),shadow:a.extend("--ft-drawer-shadow","",p.shadowElevation03),bodyColor:a.extend("--ft-drawer-body-color","",g.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","",g.backgroundGlobalOnSurface),headerBorderColor:a.extend("--ft-drawer-header-border-color","",g.borderGlobalSubtle),headerColor:a.extend("--ft-drawer-header-color","",g.contentGlobalPrimary),headerTrailingIconColor:a.extend("--ft-drawer-header-trailing-icon-color","",g.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","",g.backgroundGlobalOnSurface),buttonsBarBorderColor:a.extend("--ft-drawer-buttons-bar-border-color","",g.borderGlobalSubtle),buttonsBarColor:a.extend("--ft-drawer-buttons-bar-color","",g.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 lO={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","",g.contentGlobalPrimary),trailingIconColor:a.extend("--ft-text-input-trailing-icon-color","",g.contentGlobalSubtle),labelColor:a.extend("--ft-text-input-label-color","",g.contentGlobalSubtle),defaultBorderColor:a.extend("--ft-text-input-default-border-color","",g.borderInputPrimary),defaultHelperTextColor:a.extend("--ft-text-input-default-helper-text-color","",g.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","",g.borderErrorPrimary),errorHelperTextColor:a.extend("--ft-text-input-error-helper-text-color","",g.contentErrorPrimary),errorHelperIconColor:a.extend("--ft-text-input-error-helper-icon-color","",g.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","",g.borderActionFocusRing),focusOutlineOffset:a.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:a.extend("--ft-text-input-disabled-component-opacity","",p.opacity40)};var hO={backgroundColor:a.extend("--ft-text-area-background-color","",p.colorWhite),contentValueColor:a.extend("--ft-text-area-content-value-color","",g.contentGlobalPrimary),labelColor:a.extend("--ft-text-area-label-color","",g.contentGlobalSubtle),defaultBorderColor:a.extend("--ft-text-area-default-border-color","",g.borderInputPrimary),defaultHelperTextColor:a.extend("--ft-text-area-default-helper-text-color","",g.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","",g.borderErrorPrimary),errorHelperTextColor:a.extend("--ft-text-area-error-helper-text-color","",g.contentErrorPrimary),errorHelperIconColor:a.extend("--ft-text-area-error-helper-icon-color","",g.contentErrorIconOnly),focusFocusRingColor:a.extend("--ft-text-area-focus-focus-ring-color","",g.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 xO={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","",g.contentGlobalPrimary),offColor:a.extend("--ft-floating-menu-off-color","",g.contentGlobalPrimary),onColor:a.extend("--ft-floating-menu-on-color","",g.contentActionPrimary),onStateLayerColor:a.extend("--ft-floating-menu-on-state-layer-color","",g.contentActionPrimary),gap:a.extend("--ft-floating-menu-gap","",p.spacing3),focusFocusRingColor:a.extend("--ft-floating-menu-focus-focus-ring-color","",g.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","",g.backgroundGlobalOnSurface)};var EO={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","",g.contentGlobalSubtle),contentValueColor:a.extend("--ft-combobox-single-select-content-value-color","",g.contentGlobalPrimary),trailingIconColor:a.extend("--ft-combobox-single-select-trailing-icon-color","",g.contentGlobalSubtle),defaultBorderColor:a.extend("--ft-combobox-single-select-default-border-color","",g.borderInputPrimary),defaultHelperTextColor:a.extend("--ft-combobox-single-select-default-helper-text-color","",g.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","",g.borderErrorPrimary),errorHelperTextColor:a.extend("--ft-combobox-single-select-error-helper-text-color","",g.contentErrorPrimary),warningBorderWidth:a.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:a.extend("--ft-combobox-single-select-warning-border-color","",g.borderWarningPrimary),warningHelperTextColor:a.extend("--ft-combobox-single-select-warning-helper-text-color","",g.contentWarningPrimary),warningHelperIconColor:a.extend("--ft-combobox-single-select-warning-helper-icon-color","",g.contentWarningIconOnly),focusOutlineWidth:a.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:a.extend("--ft-combobox-single-select-focus-focus-ring-color","",g.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 IO={backgroundColor:a.extend("--ft-combobox-multi-select-background-color","",p.colorWhite),labelColor:a.extend("--ft-combobox-multi-select-label-color","",g.contentGlobalSubtle),trailingIconColor:a.extend("--ft-combobox-multi-select-trailing-icon-color","",g.contentGlobalSubtle),defaultBorderColor:a.extend("--ft-combobox-multi-select-default-border-color","",g.borderInputPrimary),defaultHelperTextColor:a.extend("--ft-combobox-multi-select-default-helper-text-color","",g.contentGlobalSubtle),defaultBorderWidth:a.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:a.extend("--ft-combobox-multi-select-error-border-color","",g.borderErrorPrimary),errorHelperTextColor:a.extend("--ft-combobox-multi-select-error-helper-text-color","",g.contentErrorPrimary),errorHelperIcon:a.extend("--ft-combobox-multi-select-error-helper-icon","",g.contentErrorIconOnly),errorBorderWidth:a.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:a.extend("--ft-combobox-multi-select-warning-border-color","",g.borderWarningPrimary),warningHelperTextColor:a.extend("--ft-combobox-multi-select-warning-helper-text-color","",g.contentWarningPrimary),warningHelperIconColor:a.extend("--ft-combobox-multi-select-warning-helper-icon-color","",g.contentWarningIconOnly),warningBorderWidth:a.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:a.extend("--ft-combobox-multi-select-focus-focus-ring-color","",g.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 kO={backgroundColor:a.extend("--ft-popover-background-color","",g.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","",g.contentGlobalPrimary),bodyColor:a.extend("--ft-popover-body-color","",g.contentGlobalSecondary),linkColor:a.extend("--ft-popover-link-color","",g.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 DO={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","",g.contentGlobalSubtle),offStateLayerColor:a.extend("--ft-tabs-off-state-layer-color","",g.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","",g.contentActionPrimary),onStateLayerColor:a.extend("--ft-tabs-on-state-layer-color","",g.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","",g.borderActionFocusRing)};var KO={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","",g.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","",g.contentGlobalPrimary),stateLayerColor:a.extend("--ft-collapsible-state-layer-color","",g.contentGlobalPrimary),backgroundColor:a.extend("--ft-collapsible-background-color","",g.backgroundGlobalOnSurface),borderColor:a.extend("--ft-collapsible-border-color","",g.borderGlobalSubtle),iconSize:a.extend("--ft-collapsible-icon-size","",p.iconSize3)};var qO={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","",g.backgroundGlobalSurface),groupBorderColor:a.extend("--ft-switch-group-border-color","",g.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","",g.contentGlobalSubtle),offStateLayerColor:a.extend("--ft-switch-off-state-layer-color","",g.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","",g.contentActionPrimary),onStateLayerColor:a.extend("--ft-switch-on-state-layer-color","",g.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","",g.borderActionFocusRing),optionBorderRadius:a.extend("--ft-switch-option-border-radius","",p.borderRadiusS)};var QO={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 nC={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","",g.backgroundInfoSubtle),infoBorderColor:a.extend("--ft-notice-info-border-color","",g.borderInfoSubtle),infoColor:a.extend("--ft-notice-info-color","",g.contentInfoPrimary),infoIconColor:a.extend("--ft-notice-info-icon-color","",g.contentInfoIconOnly),warningBackgroundColor:a.extend("--ft-notice-warning-background-color","",g.backgroundWarningSubtle),warningBorderColor:a.extend("--ft-notice-warning-border-color","",g.borderWarningSubtle),warningColor:a.extend("--ft-notice-warning-color","",g.contentWarningPrimary),warningIconColor:a.extend("--ft-notice-warning-icon-color","",g.contentWarningIconOnly),errorBackgroundColor:a.extend("--ft-notice-error-background-color","",g.backgroundErrorSubtle),errorBorderColor:a.extend("--ft-notice-error-border-color","",g.borderErrorSubtle),errorColor:a.extend("--ft-notice-error-color","",g.contentErrorPrimary),errorIconColor:a.extend("--ft-notice-error-icon-color","",g.contentErrorIconOnly),successBackgroundColor:a.extend("--ft-notice-success-background-color","",g.backgroundSuccessSubtle),successBorderColor:a.extend("--ft-notice-success-border-color","",g.borderSuccessSubtle),successColor:a.extend("--ft-notice-success-color","",g.contentSuccessPrimary),successIconColor:a.extend("--ft-notice-success-icon-color","",g.contentSuccessIconOnly)};var lC={color:a.extend("--ft-checkbox-color","",g.contentGlobalPrimary),checkedBackgroundColor:a.extend("--ft-checkbox-checked-background-color","",g.contentActionPrimary),checkedStateLayerColor:a.extend("--ft-checkbox-checked-state-layer-color","",g.contentActionPrimary),checkedIconColor:a.extend("--ft-checkbox-checked-icon-color","",g.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","",g.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 hC={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","",g.contentGlobalSubtle),offIconColor:a.extend("--ft-toggle-off-icon-color","",g.contentGlobalSubtle),offStateLayerColor:a.extend("--ft-toggle-off-state-layer-color","",g.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","",g.contentActionPrimary),onStateLayerColor:a.extend("--ft-toggle-on-state-layer-color","",g.contentActionPrimary),onIconColor:a.extend("--ft-toggle-on-icon-color","",g.contentActionPrimary),color:a.extend("--ft-toggle-color","",g.contentGlobalPrimary),focusFocusRingColor:a.extend("--ft-toggle-focus-focus-ring-color","",g.borderActionFocusRing),gap:a.extend("--ft-toggle-gap","",p.spacing3)};var xC={color:a.extend("--ft-radio-color","",g.contentGlobalPrimary),selectedRadioColor:a.extend("--ft-radio-selected-radio-color","",g.contentActionPrimary),selectedStateLayerColor:a.extend("--ft-radio-selected-state-layer-color","",g.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","",g.borderInputPrimary),unselectedBorderColor:a.extend("--ft-radio-unselected-border-color","",g.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","",g.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 EC={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","",g.backgroundInfoSubtle),infoColor:a.extend("--ft-notification-info-color","",g.contentInfoPrimary),infoIconColor:a.extend("--ft-notification-info-icon-color","",g.contentInfoIconOnly),infoBorderColor:a.extend("--ft-notification-info-border-color","",g.borderInfoSubtle),successBackgroundColor:a.extend("--ft-notification-success-background-color","",g.backgroundSuccessSubtle),successColor:a.extend("--ft-notification-success-color","",g.contentSuccessPrimary),successIconColor:a.extend("--ft-notification-success-icon-color","",g.contentSuccessIconOnly),successBorderColor:a.extend("--ft-notification-success-border-color","",g.borderSuccessSubtle),warningBackgroundColor:a.extend("--ft-notification-warning-background-color","",g.backgroundWarningSubtle),warningColor:a.extend("--ft-notification-warning-color","",g.contentWarningPrimary),warningIconColor:a.extend("--ft-notification-warning-icon-color","",g.contentWarningIconOnly),warningBorderColor:a.extend("--ft-notification-warning-border-color","",g.borderWarningSubtle),errorBackgroundColor:a.extend("--ft-notification-error-background-color","",g.backgroundErrorSubtle),errorColor:a.extend("--ft-notification-error-color","",g.contentErrorPrimary),errorIconColor:a.extend("--ft-notification-error-icon-color","",g.contentErrorIconOnly),errorBorderColor:a.extend("--ft-notification-error-border-color","",g.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 IC={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","",g.contentGlobalOnColor),backgroundColor:a.extend("--ft-tooltip-background-color","",g.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 fl;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(fl||(fl={}));var ul;(function(e){e.large="large",e.medium="medium",e.small="small"})(ul||(ul={}));var hl=[T`
636
637
  :host {
637
638
  display: inline-block;
638
639
  max-width: 100%;
@@ -711,13 +712,13 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
711
712
  /** Primary styles **/
712
713
 
713
714
  .ft-button--primary {
714
- ${I(gt.color,_.primaryIconColor)};
715
+ ${$(vt.color,_.primaryIconColor)};
715
716
 
716
- ${I(B.color,_.primaryStateLayerColor)};
717
- ${I(B.opacityContentOnSurfaceHover,_.primaryHoverStateLayerOpacity)};
718
- ${I(B.opacityContentOnSurfaceFocused,_.primaryFocusStateLayerOpacity)};
719
- ${I(B.opacityContentOnSurfaceSelected,_.primaryActiveStateLayerOpacity)};
720
- ${I(B.opacityContentOnSurfacePressed,_.primaryActiveStateLayerOpacity)};
717
+ ${$(z.color,_.primaryStateLayerColor)};
718
+ ${$(z.opacityContentOnSurfaceHover,_.primaryHoverStateLayerOpacity)};
719
+ ${$(z.opacityContentOnSurfaceFocused,_.primaryFocusStateLayerOpacity)};
720
+ ${$(z.opacityContentOnSurfaceSelected,_.primaryActiveStateLayerOpacity)};
721
+ ${$(z.opacityContentOnSurfacePressed,_.primaryActiveStateLayerOpacity)};
721
722
 
722
723
  background-color: ${_.primaryBackgroundColor};
723
724
  color: ${_.primaryColor};
@@ -735,13 +736,13 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
735
736
  /** Secondary styles **/
736
737
 
737
738
  .ft-button--secondary {
738
- ${I(gt.color,_.secondaryIconColor)};
739
+ ${$(vt.color,_.secondaryIconColor)};
739
740
 
740
- ${I(B.color,_.secondaryStateLayerColor)};
741
- ${I(B.opacityContentOnSurfaceHover,_.secondaryHoverStateLayerOpacity)};
742
- ${I(B.opacityContentOnSurfaceFocused,_.secondaryFocusStateLayerOpacity)};
743
- ${I(B.opacityContentOnSurfaceSelected,_.secondaryActiveStateLayerOpacity)};
744
- ${I(B.opacityContentOnSurfacePressed,_.secondaryActiveStateLayerOpacity)};
741
+ ${$(z.color,_.secondaryStateLayerColor)};
742
+ ${$(z.opacityContentOnSurfaceHover,_.secondaryHoverStateLayerOpacity)};
743
+ ${$(z.opacityContentOnSurfaceFocused,_.secondaryFocusStateLayerOpacity)};
744
+ ${$(z.opacityContentOnSurfaceSelected,_.secondaryActiveStateLayerOpacity)};
745
+ ${$(z.opacityContentOnSurfacePressed,_.secondaryActiveStateLayerOpacity)};
745
746
 
746
747
  background-color: ${_.secondaryBackgroundColor};
747
748
  color: ${_.secondaryColor};
@@ -760,13 +761,13 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
760
761
  /** Tertiary styles **/
761
762
 
762
763
  .ft-button--tertiary {
763
- ${I(gt.color,_.tertiaryIconColor)};
764
+ ${$(vt.color,_.tertiaryIconColor)};
764
765
 
765
- ${I(B.color,_.tertiaryStateLayerColor)};
766
- ${I(B.opacityContentOnSurfaceHover,_.tertiaryHoverStateLayerOpacity)};
767
- ${I(B.opacityContentOnSurfaceFocused,_.tertiaryFocusStateLayerOpacity)};
768
- ${I(B.opacityContentOnSurfaceSelected,_.tertiaryActiveStateLayerOpacity)};
769
- ${I(B.opacityContentOnSurfacePressed,_.tertiaryActiveStateLayerOpacity)};
766
+ ${$(z.color,_.tertiaryStateLayerColor)};
767
+ ${$(z.opacityContentOnSurfaceHover,_.tertiaryHoverStateLayerOpacity)};
768
+ ${$(z.opacityContentOnSurfaceFocused,_.tertiaryFocusStateLayerOpacity)};
769
+ ${$(z.opacityContentOnSurfaceSelected,_.tertiaryActiveStateLayerOpacity)};
770
+ ${$(z.opacityContentOnSurfacePressed,_.tertiaryActiveStateLayerOpacity)};
770
771
 
771
772
  background-color: ${_.tertiaryBackgroundColor};
772
773
  color: ${_.tertiaryColor};
@@ -784,13 +785,13 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
784
785
  /** Neutral styles **/
785
786
 
786
787
  .ft-button--neutral {
787
- ${I(gt.color,_.neutralIconColor)};
788
+ ${$(vt.color,_.neutralIconColor)};
788
789
 
789
- ${I(B.backgroundColor,_.neutralStateLayerColor)};
790
- ${I(B.opacityContentOnSurfaceHover,_.neutralHoverStateLayerOpacity)};
791
- ${I(B.opacityContentOnSurfaceFocused,_.neutralFocusStateLayerOpacity)};
792
- ${I(B.opacityContentOnSurfaceSelected,_.neutralActiveStateLayerOpacity)};
793
- ${I(B.opacityContentOnSurfacePressed,_.neutralActiveStateLayerOpacity)};
790
+ ${$(z.backgroundColor,_.neutralStateLayerColor)};
791
+ ${$(z.opacityContentOnSurfaceHover,_.neutralHoverStateLayerOpacity)};
792
+ ${$(z.opacityContentOnSurfaceFocused,_.neutralFocusStateLayerOpacity)};
793
+ ${$(z.opacityContentOnSurfaceSelected,_.neutralActiveStateLayerOpacity)};
794
+ ${$(z.opacityContentOnSurfacePressed,_.neutralActiveStateLayerOpacity)};
794
795
 
795
796
  background-color: ${_.neutralBackgroundColor};
796
797
  color: ${_.neutralColor};
@@ -808,8 +809,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
808
809
  /** Large styles **/
809
810
 
810
811
  .ft-button--large {
811
- ${I(dt.size,_.largeIconSize)};
812
- ${I(gt.size,_.largeIconSize)};
812
+ ${$(ht.size,_.largeIconSize)};
813
+ ${$(vt.size,_.largeIconSize)};
813
814
 
814
815
  height: ${_.largeHeight};
815
816
  padding: 0 ${_.largeHorizontalPadding};
@@ -831,8 +832,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
831
832
  /** Small styles **/
832
833
 
833
834
  .ft-button--small {
834
- ${I(dt.size,_.smallIconSize)};
835
- ${I(gt.size,_.smallIconSize)};
835
+ ${$(ht.size,_.smallIconSize)};
836
+ ${$(vt.size,_.smallIconSize)};
836
837
 
837
838
  height: ${_.smallHeight};
838
839
  padding: 0 ${_.smallHorizontalPadding};
@@ -850,7 +851,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
850
851
  width: ${_.smallIconOnlyWidth};
851
852
  padding: unset;
852
853
  }
853
- `,ke];var qr=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Nt=class extends ot{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?We.caption1medium:We.body2medium}};Nt.styles=[zr,lc];qr([S({type:Boolean})],Nt.prototype,"primary",void 0);qr([S({type:Boolean})],Nt.prototype,"secondary",void 0);qr([S({type:Boolean})],Nt.prototype,"tertiary",void 0);qr([S({type:Boolean})],Nt.prototype,"neutral",void 0);qr([S({type:Boolean})],Nt.prototype,"small",void 0);K("ft-button")(Ct);K("ftds-button")(Nt);var cc=o.extend("--ft-chip-color","",M.colorOnSurface),_t={backgroundColor:o.extend("--ft-chip-background-color","",M.colorSurface),color:cc,fontSize:o.extend("--ft-chip-font-size","",Ht.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","",cc),horizontalPadding:o.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:o.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:o.external(M.colorOutline,"Design system"),opacityDisabled:o.external(M.colorOpacityDisabled,"Design system")},pc=o.extend("--ft-chip-highlighted-color","",o.extend("--ft-chip-color","",M.colorOnPrimary)),Sa={backgroundColor:o.extend("--ft-chip-highlighted-background-color","",o.extend("--ft-chip-background-color","",M.colorPrimary)),color:pc,rippleColor:o.extend("--ft-chip-highlighted-ripple-color","",pc)},dc={horizontalPadding:o.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:o.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},fc=[ke,T`
854
+ `,De];var Qr=function(e,t,r,n){var i=arguments.length,c=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(c=(i<3?s(c):i>3?s(t,r,c):s(t,r))||c);return i>3&&c&&Object.defineProperty(t,r,c),c},Lt=class extends it{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?Ke.caption1medium:Ke.body2medium}};Lt.styles=[Zr,hl];Qr([E({type:Boolean})],Lt.prototype,"primary",void 0);Qr([E({type:Boolean})],Lt.prototype,"secondary",void 0);Qr([E({type:Boolean})],Lt.prototype,"tertiary",void 0);Qr([E({type:Boolean})],Lt.prototype,"neutral",void 0);Qr([E({type:Boolean})],Lt.prototype,"small",void 0);q("ft-button")(At);q("ftds-button")(Lt);var ml=o.extend("--ft-chip-color","",D.colorOnSurface),_t={backgroundColor:o.extend("--ft-chip-background-color","",D.colorSurface),color:ml,fontSize:o.extend("--ft-chip-font-size","",Vt.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","",ml),horizontalPadding:o.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:o.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:o.external(D.colorOutline,"Design system"),opacityDisabled:o.external(D.colorOpacityDisabled,"Design system")},gl=o.extend("--ft-chip-highlighted-color","",o.extend("--ft-chip-color","",D.colorOnPrimary)),wi={backgroundColor:o.extend("--ft-chip-highlighted-background-color","",o.extend("--ft-chip-background-color","",D.colorPrimary)),color:gl,rippleColor:o.extend("--ft-chip-highlighted-ripple-color","",gl)},yl={horizontalPadding:o.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:o.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},bl=[De,T`
854
855
  :host {
855
856
  display: inline-block;
856
857
  max-width: 100%;
@@ -868,7 +869,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
868
869
 
869
870
  --ft-chip-internal-font-size: ${_t.fontSize};
870
871
  --ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
871
- ${I(dt.size,_t.iconSize)};
872
+ ${$(ht.size,_t.iconSize)};
872
873
  --ft-chip-internal-vertical-padding: ${_t.verticalPadding};
873
874
  --ft-chip-internal-horizontal-padding: ${_t.horizontalPadding};
874
875
  --ft-chip-internal-icon-padding: 3px;
@@ -876,8 +877,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
876
877
 
877
878
  border: 1px solid ${_t.colorOutline};
878
879
  color: ${_t.color};
879
- ${I(B.color,_t.rippleColor)};
880
- border-radius: var(${Zt(_t.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
880
+ ${$(z.color,_t.rippleColor)};
881
+ border-radius: var(${kt(_t.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
881
882
  padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
882
883
  background-color: ${_t.backgroundColor};
883
884
  line-height: var(--ft-chip-internal-content-height);
@@ -889,8 +890,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
889
890
 
890
891
  .ft-chip--dense {
891
892
  --ft-chip-internal-icon-padding: 3px;
892
- --ft-chip-internal-vertical-padding: ${dc.verticalPadding};
893
- --ft-chip-internal-horizontal-padding: ${dc.horizontalPadding};
893
+ --ft-chip-internal-vertical-padding: ${yl.verticalPadding};
894
+ --ft-chip-internal-horizontal-padding: ${yl.horizontalPadding};
894
895
  --ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
895
896
  }
896
897
 
@@ -908,9 +909,9 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
908
909
  .ft-chip--highlighted {
909
910
  border: none;
910
911
  padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
911
- background-color: ${Sa.backgroundColor};
912
- ${I(B.color,Sa.rippleColor)};
913
- color: ${Sa.color};
912
+ background-color: ${wi.backgroundColor};
913
+ ${$(z.color,wi.rippleColor)};
914
+ color: ${wi.color};
914
915
  }
915
916
 
916
917
  .ft-chip--clickable {
@@ -940,9 +941,9 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
940
941
  }
941
942
 
942
943
  .ft-chip--icon-button {
943
- ${I(Q.iconSize,_t.iconSize)};
944
- ${I(Q.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
945
- ${I(Q.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
944
+ ${$(rt.iconSize,_t.iconSize)};
945
+ ${$(rt.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
946
+ ${$(rt.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
946
947
  margin: calc((-1) * var(--ft-chip-internal-icon-padding));
947
948
  }
948
949
 
@@ -950,8 +951,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
950
951
  vertical-align: bottom;
951
952
  display: block;
952
953
  margin: 0 var(--ft-chip-internal-horizontal-padding);
953
- ${I(Ht.fontSize,"var(--ft-chip-internal-font-size)")};
954
- ${I(Ht.lineHeight,"var(--ft-chip-internal-content-height)")};
954
+ ${$(Vt.fontSize,"var(--ft-chip-internal-font-size)")};
955
+ ${$(Vt.lineHeight,"var(--ft-chip-internal-content-height)")};
955
956
  }
956
957
 
957
958
  .ft-chip--safari-fix .ft-chip--label {
@@ -987,8 +988,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
987
988
  .ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
988
989
  order: -1;
989
990
  }
990
- `];var wt=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Vo=class extends CustomEvent{constructor(){super("icon-click")}},et=class extends F{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 t={"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":Zr};return D`
991
- <div class="${Xt(t)}"
991
+ `];var Rt=function(e,t,r,n){var i=arguments.length,c=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(c=(i<3?s(c):i>3?s(t,r,c):s(t,r))||c);return i>3&&c&&Object.defineProperty(t,r,c),c},qo=class extends CustomEvent{constructor(){super("icon-click")}},nt=class extends K{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 t={"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":Jr};return B`
992
+ <div class="${te(t)}"
992
993
  aria-label="${this.getLabel()}"
993
994
  tabindex="${this.interactionsOnChip?0:-1}"
994
995
  @keyup=${this.onKeyUp}
@@ -999,7 +1000,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
999
1000
  </ft-typography>
1000
1001
  ${this.internalIcon?this.renderIcon():null}
1001
1002
  </div>
1002
- `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?D`
1003
+ `}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?B`
1003
1004
  <ft-button round
1004
1005
  class="ft-chip--icon-button"
1005
1006
  @click=${this.onIconClick}
@@ -1008,13 +1009,13 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1008
1009
  label="${this.iconLabel}"
1009
1010
  part="icon-button"
1010
1011
  ></ft-button>
1011
- `:D`
1012
+ `:B`
1012
1013
  <div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
1013
1014
  <ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
1014
1015
  </div>
1015
- `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Vo))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Vo))}getLabel(){return this.label||this.textContent}get textContent(){var t,r;return(r=(t=this.slottedContent)===null||t===void 0?void 0:t.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)}};et.elementDefinitions={"ft-ripple":V,"ft-typography":lt,"ft-icon":ft,"ft-button":Ct};et.styles=fc;wt([S({type:Boolean})],et.prototype,"highlighted",void 0);wt([S({type:Boolean})],et.prototype,"removable",void 0);wt([S({type:Boolean})],et.prototype,"disabled",void 0);wt([S({type:Boolean})],et.prototype,"clickable",void 0);wt([S({type:Boolean})],et.prototype,"iconClickable",void 0);wt([S({type:Boolean})],et.prototype,"dense",void 0);wt([S({type:Boolean})],et.prototype,"multiLine",void 0);wt([S()],et.prototype,"label",void 0);wt([S()],et.prototype,"iconLabel",void 0);wt([S()],et.prototype,"icon",void 0);wt([S()],et.prototype,"iconVariant",void 0);wt([S({type:Boolean})],et.prototype,"trailingIcon",void 0);wt([it("ft-typography slot")],et.prototype,"slottedContent",void 0);K("ft-chip")(et);var ge={zIndex:o.create("--ft-floating-menu-z-index","","NUMBER","8"),maxWidth:o.create("--ft-floating-menu-max-width","","SIZE","300px"),maxHeight:o.create("--ft-floating-menu-max-height","","SIZE","500px"),textColor:o.extend("--ft-floating-menu-text-color","",M.colorOnSurfaceHigh),colorSurface:o.external(M.colorSurface,"Design system"),menuElevation:o.external(M.elevation02,"Design system"),borderRadiusS:o.external(M.borderRadiusS,"Design system")},Ko=T`
1016
+ `}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new qo))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new qo))}getLabel(){return this.label||this.textContent}get textContent(){var t,r;return(r=(t=this.slottedContent)===null||t===void 0?void 0:t.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)}};nt.elementDefinitions={"ft-ripple":j,"ft-typography":pt,"ft-icon":mt,"ft-button":At};nt.styles=bl;Rt([E({type:Boolean})],nt.prototype,"highlighted",void 0);Rt([E({type:Boolean})],nt.prototype,"removable",void 0);Rt([E({type:Boolean})],nt.prototype,"disabled",void 0);Rt([E({type:Boolean})],nt.prototype,"clickable",void 0);Rt([E({type:Boolean})],nt.prototype,"iconClickable",void 0);Rt([E({type:Boolean})],nt.prototype,"dense",void 0);Rt([E({type:Boolean})],nt.prototype,"multiLine",void 0);Rt([E()],nt.prototype,"label",void 0);Rt([E()],nt.prototype,"iconLabel",void 0);Rt([E()],nt.prototype,"icon",void 0);Rt([E()],nt.prototype,"iconVariant",void 0);Rt([E({type:Boolean})],nt.prototype,"trailingIcon",void 0);Rt([st("ft-typography slot")],nt.prototype,"slottedContent",void 0);q("ft-chip")(nt);var Se={zIndex:o.create("--ft-floating-menu-z-index","","NUMBER","8"),maxWidth:o.create("--ft-floating-menu-max-width","","SIZE","300px"),maxHeight:o.create("--ft-floating-menu-max-height","","SIZE","500px"),textColor:o.extend("--ft-floating-menu-text-color","",D.colorOnSurfaceHigh),colorSurface:o.external(D.colorSurface,"Design system"),menuElevation:o.external(D.elevation02,"Design system"),borderRadiusS:o.external(D.borderRadiusS,"Design system")},Yo=T`
1016
1017
  .ft-floating-menu {
1017
- color: ${ge.textColor};
1018
+ color: ${Se.textColor};
1018
1019
  display: contents;
1019
1020
  }
1020
1021
 
@@ -1031,19 +1032,19 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1031
1032
  display: none;
1032
1033
  position: relative;
1033
1034
  overflow: auto;
1034
- max-width: ${ge.maxWidth};
1035
- max-height: ${ge.maxHeight};
1036
- box-shadow: ${ge.menuElevation};
1037
- background-color: ${ge.colorSurface};
1038
- border-radius: ${ge.borderRadiusS};
1039
- color: ${ge.textColor};
1040
- z-index: ${ge.zIndex};
1035
+ max-width: ${Se.maxWidth};
1036
+ max-height: ${Se.maxHeight};
1037
+ box-shadow: ${Se.menuElevation};
1038
+ background-color: ${Se.colorSurface};
1039
+ border-radius: ${Se.borderRadiusS};
1040
+ color: ${Se.textColor};
1041
+ z-index: ${Se.zIndex};
1041
1042
  }
1042
1043
 
1043
1044
  .ft-floating-menu--open .ft-floating-menu--options {
1044
1045
  display: block;
1045
1046
  }
1046
- `;var bf={iconColor:o.extend("--ft-floating-menu-icon-color","",M.colorOnSurfaceMedium)},uc=T`
1047
+ `;var wf={iconColor:o.extend("--ft-floating-menu-icon-color","",D.colorOnSurfaceMedium)},xl=T`
1047
1048
  .ft-floating-menu-item {
1048
1049
  cursor: pointer;
1049
1050
  display: flex;
@@ -1058,7 +1059,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1058
1059
  }
1059
1060
 
1060
1061
  .ft-floating-menu-item ft-icon {
1061
- color: ${bf.iconColor};
1062
+ color: ${wf.iconColor};
1062
1063
  margin-left: 0;
1063
1064
  flex-shrink: 0;
1064
1065
  flex-grow: 0;
@@ -1073,21 +1074,21 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1073
1074
  word-break: break-word;
1074
1075
  hyphens: auto;
1075
1076
  }
1076
- `;var Zo=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Go=class extends CustomEvent{constructor(t){super("select",{detail:t,bubbles:!0,composed:!0})}},bt=class extends F{constructor(){super(...arguments),this.value="",this.notFocusable=!1}render(){return D`
1077
+ `;var Jo=function(e,t,r,n){var i=arguments.length,c=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(c=(i<3?s(c):i>3?s(t,r,c):s(t,r))||c);return i>3&&c&&Object.defineProperty(t,r,c),c},Xo=class extends CustomEvent{constructor(t){super("select",{detail:t,bubbles:!0,composed:!0})}},St=class extends K{constructor(){super(...arguments),this.value="",this.notFocusable=!1}render(){return B`
1077
1078
  <div class="ft-floating-menu-item"
1078
1079
  tabindex=${this.notFocusable?"-1":"0"}
1079
1080
  @keydown=${t=>this.onKeyDown(t)}
1080
1081
  @click=${this.onClick}>
1081
1082
  <ft-ripple></ft-ripple>
1082
- ${this.icon?D`
1083
+ ${this.icon?B`
1083
1084
  <ft-icon .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
1084
- `:j}
1085
+ `:V}
1085
1086
  <ft-typography variant="body2">
1086
1087
  <slot></slot>
1087
1088
  </ft-typography>
1088
1089
  </div>
1089
- `}onClick(t){this.dispatchEvent(new Go(this.value))}onKeyDown(t){(t.key=="Enter"||t.key==" ")&&(t.preventDefault(),this.dispatchEvent(new Go(this.value)))}};bt.elementDefinitions={"ft-icon":ft,"ft-ripple":V,"ft-typography":lt};bt.styles=uc;Zo([S()],bt.prototype,"iconVariant",void 0);Zo([S()],bt.prototype,"icon",void 0);Zo([S()],bt.prototype,"value",void 0);Zo([S({type:Boolean})],bt.prototype,"notFocusable",void 0);var nt=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a};var G=class extends F{constructor(){super(...arguments),this.menuOpen=!1,this.forceMenuOpen=!1,this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1,this.iconVariant=Vt.fluid_topics,this.icon="SHORTCUT_MENU",this.horizontalAlignment="left",this.verticalAlignment="bottom",this.disabled=!1,this.closeMenuMatchers=[],this.hideOptionsOnClickOutside=t=>{this.menuOpen=this.menuOpen&&t.composedPath().includes(this.container)}}render(){let t={"ft-floating-menu":!0,"ft-floating-menu--open":this.forceMenuOpen||this.menuOpen,["ft-floating-menu--"+this.horizontalAlignment.toLowerCase()]:!0,["ft-floating-menu--"+this.verticalAlignment.toLowerCase()]:!0};return D`
1090
- <div part="container" class="${Xt(t)}">
1090
+ `}onClick(t){this.dispatchEvent(new Xo(this.value))}onKeyDown(t){(t.key=="Enter"||t.key==" ")&&(t.preventDefault(),this.dispatchEvent(new Xo(this.value)))}};St.elementDefinitions={"ft-icon":mt,"ft-ripple":j,"ft-typography":pt};St.styles=xl;Jo([E()],St.prototype,"iconVariant",void 0);Jo([E()],St.prototype,"icon",void 0);Jo([E()],St.prototype,"value",void 0);Jo([E({type:Boolean})],St.prototype,"notFocusable",void 0);var ct=function(e,t,r,n){var i=arguments.length,c=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(c=(i<3?s(c):i>3?s(t,r,c):s(t,r))||c);return i>3&&c&&Object.defineProperty(t,r,c),c};var Y=class extends K{constructor(){super(...arguments),this.menuOpen=!1,this.forceMenuOpen=!1,this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1,this.iconVariant=qt.fluid_topics,this.icon="SHORTCUT_MENU",this.horizontalAlignment="left",this.verticalAlignment="bottom",this.disabled=!1,this.closeMenuMatchers=[],this.hideOptionsOnClickOutside=t=>{this.menuOpen=this.menuOpen&&t.composedPath().includes(this.container)}}render(){let t={"ft-floating-menu":!0,"ft-floating-menu--open":this.forceMenuOpen||this.menuOpen,["ft-floating-menu--"+this.horizontalAlignment.toLowerCase()]:!0,["ft-floating-menu--"+this.verticalAlignment.toLowerCase()]:!0};return B`
1091
+ <div part="container" class="${te(t)}">
1091
1092
  <slot name="toggle"
1092
1093
  part="toggle"
1093
1094
  @click=${this.toggleMenu}
@@ -1121,7 +1122,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1121
1122
  </div>
1122
1123
  </div>
1123
1124
  </div>
1124
- `}toggleMenu(){this.menuOpen=!this.menuOpen}openMenu(){this.menuOpen=!0}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){$n(t,this.closeMenuMatchers,this)&&this.closeMenu()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptionsOnClickOutside)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("menuOpen")&&(this.menuOpen?(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper(),document.addEventListener("click",this.hideOptionsOnClickOutside)):document.removeEventListener("click",this.hideOptionsOnClickOutside))}async positionMenuWrapper(){this.menuWrapper.style.left="",this.menuWrapper.style.top="";let t=this.customToggle.length>0?this.customToggle[0]:this.actionButton,{x:r,y:n}=await Br(t,this.menuWrapper,this.convertPlacement());this.menuWrapper.style.left=`${r}px`,this.menuWrapper.style.top=`${n}px`,this.menuWrapper.classList.add("ft-floating-menu--wrapper-positioned")}convertPlacement(){switch(this.horizontalAlignment){case"left":return this.verticalAlignment+"-start";case"right":return this.verticalAlignment+"-end";case"center":return this.verticalAlignment+"-center"}}};G.elementDefinitions={"ft-floating-menu-item":bt};nt([J()],G.prototype,"menuOpen",void 0);nt([J()],G.prototype,"forceMenuOpen",void 0);nt([it(".ft-floating-menu")],G.prototype,"container",void 0);nt([it(".ft-floating-menu--wrapper")],G.prototype,"menuWrapper",void 0);nt([it("#actions-button")],G.prototype,"actionButton",void 0);nt([vn({slot:"toggle"})],G.prototype,"customToggle",void 0);nt([S({type:Boolean})],G.prototype,"primary",void 0);nt([S({type:Boolean})],G.prototype,"secondary",void 0);nt([S({type:Boolean})],G.prototype,"tertiary",void 0);nt([S({type:Boolean})],G.prototype,"neutral",void 0);nt([S({type:Boolean})],G.prototype,"small",void 0);nt([S()],G.prototype,"label",void 0);nt([S()],G.prototype,"tooltipPosition",void 0);nt([S()],G.prototype,"iconVariant",void 0);nt([S()],G.prototype,"icon",void 0);nt([S()],G.prototype,"text",void 0);nt([S()],G.prototype,"horizontalAlignment",void 0);nt([S()],G.prototype,"verticalAlignment",void 0);nt([S({type:Boolean})],G.prototype,"disabled",void 0);nt([At([])],G.prototype,"closeMenuMatchers",void 0);var be=class extends G{};be.elementDefinitions={"ft-or-ftds-button":Ct};be.styles=Ko;var ur=class extends G{};ur.elementDefinitions={"ft-or-ftds-button":Nt};ur.styles=Ko;var xf={color:o.extend("--ft-floating-menu-label-color","",M.colorOnSurfaceMedium)},hc=T`
1125
+ `}toggleMenu(){this.menuOpen=!this.menuOpen}openMenu(){this.menuOpen=!0}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){Mn(t,this.closeMenuMatchers,this)&&this.closeMenu()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptionsOnClickOutside)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("menuOpen")&&(this.menuOpen?(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper(),document.addEventListener("click",this.hideOptionsOnClickOutside)):document.removeEventListener("click",this.hideOptionsOnClickOutside))}async positionMenuWrapper(){this.menuWrapper.style.left="",this.menuWrapper.style.top="";let t=this.customToggle.length>0?this.customToggle[0]:this.actionButton,{x:r,y:n}=await Hr(t,this.menuWrapper,this.convertPlacement());this.menuWrapper.style.left=`${r}px`,this.menuWrapper.style.top=`${n}px`,this.menuWrapper.classList.add("ft-floating-menu--wrapper-positioned")}convertPlacement(){switch(this.horizontalAlignment){case"left":return this.verticalAlignment+"-start";case"right":return this.verticalAlignment+"-end";case"center":return this.verticalAlignment+"-center"}}};Y.elementDefinitions={"ft-floating-menu-item":St};ct([et()],Y.prototype,"menuOpen",void 0);ct([et()],Y.prototype,"forceMenuOpen",void 0);ct([st(".ft-floating-menu")],Y.prototype,"container",void 0);ct([st(".ft-floating-menu--wrapper")],Y.prototype,"menuWrapper",void 0);ct([st("#actions-button")],Y.prototype,"actionButton",void 0);ct([En({slot:"toggle"})],Y.prototype,"customToggle",void 0);ct([E({type:Boolean})],Y.prototype,"primary",void 0);ct([E({type:Boolean})],Y.prototype,"secondary",void 0);ct([E({type:Boolean})],Y.prototype,"tertiary",void 0);ct([E({type:Boolean})],Y.prototype,"neutral",void 0);ct([E({type:Boolean})],Y.prototype,"small",void 0);ct([E()],Y.prototype,"label",void 0);ct([E()],Y.prototype,"tooltipPosition",void 0);ct([E()],Y.prototype,"iconVariant",void 0);ct([E()],Y.prototype,"icon",void 0);ct([E()],Y.prototype,"text",void 0);ct([E()],Y.prototype,"horizontalAlignment",void 0);ct([E()],Y.prototype,"verticalAlignment",void 0);ct([E({type:Boolean})],Y.prototype,"disabled",void 0);ct([It([])],Y.prototype,"closeMenuMatchers",void 0);var Oe=class extends Y{};Oe.elementDefinitions={"ft-or-ftds-button":At};Oe.styles=Yo;var yr=class extends Y{};yr.elementDefinitions={"ft-or-ftds-button":Lt};yr.styles=Yo;var Nf={color:o.extend("--ft-floating-menu-label-color","",D.colorOnSurfaceMedium)},vl=T`
1125
1126
  .ft-floating-menu-label {
1126
1127
  padding: 4px 8px;
1127
1128
  }
@@ -1132,69 +1133,69 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
1132
1133
  width: max-content;
1133
1134
  text-overflow: ellipsis;
1134
1135
  overflow: hidden;
1135
- color: ${xf.color}
1136
+ color: ${Nf.color}
1136
1137
  }
1137
- `;var xe=class extends F{render(){return D`
1138
+ `;var Ce=class extends K{render(){return B`
1138
1139
  <div class="ft-floating-menu-label">
1139
1140
  <ft-typography variant="caption">
1140
1141
  <slot></slot>
1141
1142
  </ft-typography>
1142
1143
  </div>
1143
- `}};xe.elementDefinitions={"ft-typography":lt};xe.styles=hc;K("ft-floating-menu")(be);K("ftds-floating-menu")(ur);K("ft-floating-menu-item")(bt);K("ft-floating-menu-label")(xe);var $O=Gc(yc(),1);var gc;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(gc||(gc={}));var bc;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(bc||(bc={}));var xc;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(xc||(xc={}));var vc;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT"})(vc||(vc={}));var Sc;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(Sc||(Sc={}));var Oc;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(Oc||(Oc={}));var Ec;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(Ec||(Ec={}));var Cc;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(Cc||(Cc={}));var wc;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(wc||(wc={}));var Ac;(function(e){e.ASC="ASC",e.DESC="DESC"})(Ac||(Ac={}));var Rc;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(Rc||(Rc={}));var Nc;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Nc||(Nc={}));var _c;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(_c||(_c={}));var qo;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(qo||(qo={}));var Pc;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Pc||(Pc={}));var hr;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(hr||(hr={}));var Tc;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS"})(Tc||(Tc={}));var at;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN",e.DEVELOPER="DEVELOPER"})(at||(at={}));var Lc;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(Lc||(Lc={}));var PO={[at.PERSONAL_BOOK_SHARE_USER]:[at.PERSONAL_BOOK_USER],[at.HTML_EXPORT_USER]:[at.PERSONAL_BOOK_USER],[at.PDF_EXPORT_USER]:[at.PERSONAL_BOOK_USER],[at.KHUB_ADMIN]:[at.CONTENT_PUBLISHER],[at.ADMIN]:[at.KHUB_ADMIN,at.USERS_ADMIN,at.PORTAL_ADMIN],[at.DEVELOPER]:[at.BETA_USER,at.DEBUG_USER]};function vf(e){var t,r,n,i,a;return((i=(r=(t=e.map)===null||t===void 0?void 0:t.openMode)!==null&&r!==void 0?r:(n=e.topic)===null||n===void 0?void 0:n.openMode)!==null&&i!==void 0?i:(a=e.document)===null||a===void 0?void 0:a.openMode)===qo.EXTERNAL}function Oa(e){var t,r,n,i,a;if(vf(e))return(i=(r=(t=e.map)===null||t===void 0?void 0:t.originUrl)!==null&&r!==void 0?r:(n=e.topic)===null||n===void 0?void 0:n.originUrl)!==null&&i!==void 0?i:(a=e.document)===null||a===void 0?void 0:a.originUrl;switch(e.type){case hr.MAP:return e.map.readerUrl;case hr.DOCUMENT:return e.document.viewerUrl;case hr.TOPIC:return e.topic.readerUrl}return""}var Ic=T`
1144
- `;var Sf="ft-app-info",Ea=class extends CustomEvent{constructor(t){super("authentication-change",{detail:t})}},Of={session:(e,t)=>{Lt(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>k.eventBus.dispatchEvent(new Ea(t.payload)),0))}},k=Be.get({name:Sf,reducers:Of,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 ze=class e{static get(t){let{baseUrl:r,apiIntegrationIdentifier:n}=k.getState(),i=t??n;if(r&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,i,!0)}static await(t){return new Promise(r=>{let n=e.get(t);if(n)r(n);else{let i=k.subscribe(()=>{n=e.get(t),n&&(i(),r(n))})}})}};var ve=class{constructor(t=!0,r){var n;this.overrideApi=r;let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new Ut,this.cache=t?i.commonCache:new Ut}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:ze.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):ze.await()}clearCache(){this.cache.clearAll()}};var $c,Ef=Symbol("clearAfterUnitTest"),Yo=class extends ve{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[$c]=()=>{this.defaultMessages={},this.cache=new Ut,this.listeners={}},this.currentUiLocale=k.getState().uiLocale,k.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=k.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let r=t.name.toLowerCase();this.cache.setFinal(r,t),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,r){var n;if(t=t.toLowerCase(),Object.keys(r).length>0){let i={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...r};Lt(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,r,...n){var i,a,s;t=t.toLowerCase(),this.fetchContext(t);let l=(a=(i=this.cache.getNow(t))===null||i===void 0?void 0:i.messages)!==null&&a!==void 0?a:{};return new Hr((s=this.defaultMessages[t])!==null&&s!==void 0?s:{},l).resolve(r,...n)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),await this.notify(t)}catch(r){console.error(r)}}subscribe(t,r){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(r),()=>{var i;return(i=this.listeners[t])===null||i===void 0?void 0:i.delete(r)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(t=>this.notify(t)))}async notify(t){this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(r=>Co(0).then(()=>r()).catch(()=>null)))}};$c=Ef;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Yo{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Yo{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var mr=window.FluidTopicsI18nService,kc=window.FluidTopicsCustomI18nService;var ut=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},rt=class extends F{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=()=>ze.get(),this.messageContexts=[],this.cache=new Ut,this.cleanSessionDebouncer=new vt}render(){return D`
1144
+ `}};Ce.elementDefinitions={"ft-typography":pt};Ce.styles=vl;q("ft-floating-menu")(Oe);q("ftds-floating-menu")(yr);q("ft-floating-menu-item")(St);q("ft-floating-menu-label")(Ce);var hN=Ql(Ol(),1);var Cl;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(Cl||(Cl={}));var El;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(El||(El={}));var wl;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(wl||(wl={}));var Nl;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT"})(Nl||(Nl={}));var Al;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(Al||(Al={}));var Rl;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(Rl||(Rl={}));var Il;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(Il||(Il={}));var Pl;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(Pl||(Pl={}));var Ll;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(Ll||(Ll={}));var _l;(function(e){e.ASC="ASC",e.DESC="DESC"})(_l||(_l={}));var Tl;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(Tl||(Tl={}));var kl;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(kl||(kl={}));var Ul;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Ul||(Ul={}));var Qo;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(Qo||(Qo={}));var $l;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})($l||($l={}));var br;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(br||(br={}));var Wl;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS"})(Wl||(Wl={}));var lt;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN",e.DEVELOPER="DEVELOPER"})(lt||(lt={}));var Ml;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(Ml||(Ml={}));var dN={[lt.PERSONAL_BOOK_SHARE_USER]:[lt.PERSONAL_BOOK_USER],[lt.HTML_EXPORT_USER]:[lt.PERSONAL_BOOK_USER],[lt.PDF_EXPORT_USER]:[lt.PERSONAL_BOOK_USER],[lt.KHUB_ADMIN]:[lt.CONTENT_PUBLISHER],[lt.ADMIN]:[lt.KHUB_ADMIN,lt.USERS_ADMIN,lt.PORTAL_ADMIN],[lt.DEVELOPER]:[lt.BETA_USER,lt.DEBUG_USER]};function Af(e){var t,r,n,i,c;return((i=(r=(t=e.map)===null||t===void 0?void 0:t.openMode)!==null&&r!==void 0?r:(n=e.topic)===null||n===void 0?void 0:n.openMode)!==null&&i!==void 0?i:(c=e.document)===null||c===void 0?void 0:c.openMode)===Qo.EXTERNAL}function Ni(e){var t,r,n,i,c;if(Af(e))return(i=(r=(t=e.map)===null||t===void 0?void 0:t.originUrl)!==null&&r!==void 0?r:(n=e.topic)===null||n===void 0?void 0:n.originUrl)!==null&&i!==void 0?i:(c=e.document)===null||c===void 0?void 0:c.originUrl;switch(e.type){case br.MAP:return e.map.readerUrl;case br.DOCUMENT:return e.document.viewerUrl;case br.TOPIC:return e.topic.readerUrl}return""}var Dl=T`
1145
+ `;var Rf="ft-app-info",Ai=class extends CustomEvent{constructor(t){super("authentication-change",{detail:t})}},If={session:(e,t)=>{$t(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>M.eventBus.dispatchEvent(new Ai(t.payload)),0))}},M=He.get({name:Rf,reducers:If,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 Ze=class e{static get(t){let{baseUrl:r,apiIntegrationIdentifier:n}=M.getState(),i=t??n;if(r&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,i,!0)}static await(t){return new Promise(r=>{let n=e.get(t);if(n)r(n);else{let i=M.subscribe(()=>{n=e.get(t),n&&(i(),r(n))})}})}};var Ee=class{constructor(t=!0,r){var n;this.overrideApi=r;let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new zt,this.cache=t?i.commonCache:new zt}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:Ze.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Ze.await()}clearCache(){this.cache.clearAll()}};var Bl,Pf=Symbol("clearAfterUnitTest"),tn=class extends Ee{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Bl]=()=>{this.defaultMessages={},this.cache=new zt,this.listeners={}},this.currentUiLocale=M.getState().uiLocale,M.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=M.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let r=t.name.toLowerCase();this.cache.setFinal(r,t),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,r){var n;if(t=t.toLowerCase(),Object.keys(r).length>0){let i={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...r};$t(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,r,...n){var i,c,s;t=t.toLowerCase(),this.fetchContext(t);let l=(c=(i=this.cache.getNow(t))===null||i===void 0?void 0:i.messages)!==null&&c!==void 0?c:{};return new Vr((s=this.defaultMessages[t])!==null&&s!==void 0?s:{},l).resolve(r,...n)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),await this.notify(t)}catch(r){console.error(r)}}subscribe(t,r){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(r),()=>{var i;return(i=this.listeners[t])===null||i===void 0?void 0:i.delete(r)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(t=>this.notify(t)))}async notify(t){this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(r=>Ro(0).then(()=>r()).catch(()=>null)))}};Bl=Pf;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends tn{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends tn{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var xr=window.FluidTopicsI18nService,Fl=window.FluidTopicsCustomI18nService;var gt=function(e,t,r,n){var i=arguments.length,c=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(c=(i<3?s(c):i>3?s(t,r,c):s(t,r))||c);return i>3&&c&&Object.defineProperty(t,r,c),c},at=class extends K{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=()=>Ze.get(),this.messageContexts=[],this.cache=new zt,this.cleanSessionDebouncer=new Ct}render(){return B`
1145
1146
  <slot></slot>
1146
- `}update(t){super.update(t),t.has("baseUrl")&&(k.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&k.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&k.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&k.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&k.actions.noCustom(this.noCustom),t.has("editorMode")&&k.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&k.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&k.actions.session(this.session),t.has("availableUiLocales")&&k.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>mr.addContext(r)),t.has("openExternalDocumentInNewTab")&&k.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&k.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&k.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 t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};rt.elementDefinitions={};rt.styles=Ic;ut([S()],rt.prototype,"baseUrl",void 0);ut([S()],rt.prototype,"apiIntegrationIdentifier",void 0);ut([S()],rt.prototype,"uiLocale",void 0);ut([At(null)],rt.prototype,"availableUiLocales",void 0);ut([At(null)],rt.prototype,"metadataConfiguration",void 0);ut([S({type:Boolean})],rt.prototype,"editorMode",void 0);ut([S({type:Boolean})],rt.prototype,"noCustom",void 0);ut([S({type:Boolean})],rt.prototype,"openExternalDocumentInNewTab",void 0);ut([S({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],rt.prototype,"noCustomComponent",void 0);ut([S({type:Boolean})],rt.prototype,"withManualResources",void 0);ut([S({type:Boolean})],rt.prototype,"navigatorOnline",void 0);ut([S({type:Boolean})],rt.prototype,"forcedOffline",void 0);ut([S({type:Object})],rt.prototype,"apiProvider",void 0);ut([At([])],rt.prototype,"messageContexts",void 0);ut([At(void 0)],rt.prototype,"session",void 0);var Xo=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a};function Mc(e){class t extends e{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(k)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}formatDateValues(n){var i,a;return((a=(i=this.metadataDescriptors.find(l=>l.key===n?.key))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1)?this.formatMetadataDates(n):n}formatMetadataDates(n){return{key:n.key,label:n.label,values:n.values.map(i=>ye.format(i,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat)),hierarchicalValues:n.hierarchicalValues}}}return Xo([S({type:Boolean})],t.prototype,"useLongDateFormat",void 0),Xo([S({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),Xo([Wt({store:k.name,selector:r=>{var n,i;return(i=(n=r.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&i!==void 0?i:[]}})],t.prototype,"metadataDescriptors",void 0),Xo([Wt({store:k.name})],t.prototype,"uiLocale",void 0),t}var Jo=class extends ve{async listMySearches(){let t=k.getState().session;return t?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var Qo=class extends ve{async listMyBookmarks(){let t=k.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var Cf="ft-user-assets",tn=Be.get({name:Cf,initialState:{savedSearches:void 0,bookmarks:void 0}}),Ca=class{constructor(){this.currentSession=k.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Qo,this.savedSearchesService=new Jo,k.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:r}=k.getState();Lt((t=this.currentSession)===null||t===void 0?void 0:t.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),tn.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),tn.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();tn.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let r=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;tn.actions.bookmarks(r)}}},IE=new Ca;var wa=class{addCommand(t,r=!1){k.commands.add(t,r)}consumeCommand(t){return k.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new wa;var Aa=class{highlightHtml(t,r){Ti(t,r)}};window.FluidTopicsHighlightHtmlService=new Aa;var Ra=class{isDate(t){var r,n,i,a;return(a=(i=((n=(r=k.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===t))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(t,r){var n,i,a;return ye.format(t,(n=r?.locale)!==null&&n!==void 0?n:k.getState().uiLocale,(i=r?.longFormat)!==null&&i!==void 0?i:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new Ra;K("ft-app-context")(rt);var wf=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Na=Symbol("i18nAttributes"),He=Symbol("i18nProperties"),Yr=Symbol("i18nUnsubs");function rn(e){var t;class r extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map}get i18nService(){return this.useCustomMessageContexts?kc:mr}i18n(i,a,...s){var l;if(typeof i=="string")return this.i18nService.resolveMessage(i,a,...s);let c=(l=i.args)!==null&&l!==void 0?l:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...c)}onI18nUpdate(i){var a,s;(a=this[Na])===null||a===void 0||a.forEach((l,c)=>{var d;let f=this.getI18nAttributeValue(c);((d=f?.context)===null||d===void 0?void 0:d.toLowerCase())===i.toLowerCase()&&this.updateI18nAttributeMessage(c,f,l)}),(s=this[He])===null||s===void 0||s.forEach((l,c)=>{l.context.toLowerCase()===i.toLowerCase()&&(this[c]=this.i18n(l))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(i,a,s){this[i]={...a,message:this.i18n({context:a.context,key:a.key,...s})}}update(i){var a,s;super.update(i),(a=this[Na])===null||a===void 0||a.forEach((l,c)=>{let d=this.getI18nAttributeValue(c);d?.context&&d.key&&(i.has(c)||l.argsProvider!=null)&&(i.has(c)&&this.addI18nContext(d.context),this.updateI18nAttributeMessage(c,d,l))}),(s=this[He])===null||s===void 0||s.forEach((l,c)=>{l.argsProvider!=null&&(this[c]=this.i18n(l))})}getI18nAttributeValue(i){return this[i]}connectedCallback(){var i,a,s,l;super.connectedCallback(),new Set([...(a=(i=this[He])===null||i===void 0?void 0:i.values())!==null&&a!==void 0?a:[],...[...(l=(s=this[Na])===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(i,a){i=i.toLowerCase(),this[Yr].has(i)||this[Yr].set(i,this.i18nService.subscribe(i,()=>this.onI18nUpdate(i))),this.i18nService.prepareContext(i,a??{}),this.onI18nUpdate(i)}addI18nContext(i,a){this.addI18nMessages(typeof i=="string"?i:i.name,a)}disconnectedCallback(){super.disconnectedCallback(),this[Yr].forEach(i=>i()),this[Yr].clear()}}return t=Yr,wf([S({type:Boolean})],r.prototype,"useCustomMessageContexts",void 0),r}var Dc=class extends rn(F){},en=class extends rn(Ft){};var Uc=T`
1147
- `;var Xr=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},kt=class extends en{constructor(){super(),this.editorMode=!1,this.addStore(k)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":j:D`
1147
+ `}update(t){super.update(t),t.has("baseUrl")&&(M.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&M.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&M.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&M.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&M.actions.noCustom(this.noCustom),t.has("editorMode")&&M.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&M.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&M.actions.session(this.session),t.has("availableUiLocales")&&M.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>xr.addContext(r)),t.has("openExternalDocumentInNewTab")&&M.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&M.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&M.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 t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};at.elementDefinitions={};at.styles=Dl;gt([E()],at.prototype,"baseUrl",void 0);gt([E()],at.prototype,"apiIntegrationIdentifier",void 0);gt([E()],at.prototype,"uiLocale",void 0);gt([It(null)],at.prototype,"availableUiLocales",void 0);gt([It(null)],at.prototype,"metadataConfiguration",void 0);gt([E({type:Boolean})],at.prototype,"editorMode",void 0);gt([E({type:Boolean})],at.prototype,"noCustom",void 0);gt([E({type:Boolean})],at.prototype,"openExternalDocumentInNewTab",void 0);gt([E({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],at.prototype,"noCustomComponent",void 0);gt([E({type:Boolean})],at.prototype,"withManualResources",void 0);gt([E({type:Boolean})],at.prototype,"navigatorOnline",void 0);gt([E({type:Boolean})],at.prototype,"forcedOffline",void 0);gt([E({type:Object})],at.prototype,"apiProvider",void 0);gt([It([])],at.prototype,"messageContexts",void 0);gt([It(void 0)],at.prototype,"session",void 0);var en=function(e,t,r,n){var i=arguments.length,c=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(c=(i<3?s(c):i>3?s(t,r,c):s(t,r))||c);return i>3&&c&&Object.defineProperty(t,r,c),c};function zl(e){class t extends e{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(M)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}formatDateValues(n){var i,c;return((c=(i=this.metadataDescriptors.find(l=>l.key===n?.key))===null||i===void 0?void 0:i.date)!==null&&c!==void 0?c:!1)?this.formatMetadataDates(n):n}formatMetadataDates(n){return{key:n.key,label:n.label,values:n.values.map(i=>xe.format(i,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat)),hierarchicalValues:n.hierarchicalValues}}}return en([E({type:Boolean})],t.prototype,"useLongDateFormat",void 0),en([E({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),en([Kt({store:M.name,selector:r=>{var n,i;return(i=(n=r.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&i!==void 0?i:[]}})],t.prototype,"metadataDescriptors",void 0),en([Kt({store:M.name})],t.prototype,"uiLocale",void 0),t}var rn=class extends Ee{async listMySearches(){let t=M.getState().session;return t?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var on=class extends Ee{async listMyBookmarks(){let t=M.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var Lf="ft-user-assets",nn=He.get({name:Lf,initialState:{savedSearches:void 0,bookmarks:void 0}}),Ri=class{constructor(){this.currentSession=M.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new on,this.savedSearchesService=new rn,M.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:r}=M.getState();$t((t=this.currentSession)===null||t===void 0?void 0:t.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),nn.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),nn.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();nn.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let r=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;nn.actions.bookmarks(r)}}},uA=new Ri;var Ii=class{addCommand(t,r=!1){M.commands.add(t,r)}consumeCommand(t){return M.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new Ii;var Pi=class{highlightHtml(t,r){Ua(t,r)}};window.FluidTopicsHighlightHtmlService=new Pi;var Li=class{isDate(t){var r,n,i,c;return(c=(i=((n=(r=M.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===t))===null||i===void 0?void 0:i.date)!==null&&c!==void 0?c:!1}format(t,r){var n,i,c;return xe.format(t,(n=r?.locale)!==null&&n!==void 0?n:M.getState().uiLocale,(i=r?.longFormat)!==null&&i!==void 0?i:!1,(c=r?.withTime)!==null&&c!==void 0?c:!1)}};window.FluidTopicsDateService=new Li;q("ft-app-context")(at);var _f=function(e,t,r,n){var i=arguments.length,c=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(c=(i<3?s(c):i>3?s(t,r,c):s(t,r))||c);return i>3&&c&&Object.defineProperty(t,r,c),c},_i=Symbol("i18nAttributes"),Ve=Symbol("i18nProperties"),to=Symbol("i18nUnsubs");function cn(e){var t;class r extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map}get i18nService(){return this.useCustomMessageContexts?Fl:xr}i18n(i,c,...s){var l;if(typeof i=="string")return this.i18nService.resolveMessage(i,c,...s);let d=(l=i.args)!==null&&l!==void 0?l:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...d)}onI18nUpdate(i){var c,s;(c=this[_i])===null||c===void 0||c.forEach((l,d)=>{var u;let h=this.getI18nAttributeValue(d);((u=h?.context)===null||u===void 0?void 0:u.toLowerCase())===i.toLowerCase()&&this.updateI18nAttributeMessage(d,h,l)}),(s=this[Ve])===null||s===void 0||s.forEach((l,d)=>{l.context.toLowerCase()===i.toLowerCase()&&(this[d]=this.i18n(l))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(i,c,s){this[i]={...c,message:this.i18n({context:c.context,key:c.key,...s})}}update(i){var c,s;super.update(i),(c=this[_i])===null||c===void 0||c.forEach((l,d)=>{let u=this.getI18nAttributeValue(d);u?.context&&u.key&&(i.has(d)||l.argsProvider!=null)&&(i.has(d)&&this.addI18nContext(u.context),this.updateI18nAttributeMessage(d,u,l))}),(s=this[Ve])===null||s===void 0||s.forEach((l,d)=>{l.argsProvider!=null&&(this[d]=this.i18n(l))})}getI18nAttributeValue(i){return this[i]}connectedCallback(){var i,c,s,l;super.connectedCallback(),new Set([...(c=(i=this[Ve])===null||i===void 0?void 0:i.values())!==null&&c!==void 0?c:[],...[...(l=(s=this[_i])===null||s===void 0?void 0:s.keys())!==null&&l!==void 0?l:[]].map(d=>this.getI18nAttributeValue(d))].map(d=>d?.context)).forEach(d=>d&&this.addI18nMessages(d))}addI18nMessages(i,c){i=i.toLowerCase(),this[to].has(i)||this[to].set(i,this.i18nService.subscribe(i,()=>this.onI18nUpdate(i))),this.i18nService.prepareContext(i,c??{}),this.onI18nUpdate(i)}addI18nContext(i,c){this.addI18nMessages(typeof i=="string"?i:i.name,c)}disconnectedCallback(){super.disconnectedCallback(),this[to].forEach(i=>i()),this[to].clear()}}return t=to,_f([E({type:Boolean})],r.prototype,"useCustomMessageContexts",void 0),r}var Hl=class extends cn(K){},an=class extends cn(Gt){};var Kl=T`
1148
+ `;var eo=function(e,t,r,n){var i=arguments.length,c=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(c=(i<3?s(c):i>3?s(t,r,c):s(t,r))||c);return i>3&&c&&Object.defineProperty(t,r,c),c},Dt=class extends an{constructor(){super(),this.editorMode=!1,this.addStore(M)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":V:B`
1148
1149
  <span class="ft-i18n">
1149
1150
  ${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
1150
1151
  </span>
1151
- `}update(t){var r;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};kt.elementDefinitions={};kt.styles=Uc;Xr([Wt()],kt.prototype,"editorMode",void 0);Xr([S()],kt.prototype,"context",void 0);Xr([S()],kt.prototype,"key",void 0);Xr([At([])],kt.prototype,"args",void 0);Xr([S()],kt.prototype,"defaultMessage",void 0);var on=class e{static build(t){return new e(t)}static fromGwt(t){return new e(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(r,n)=>{let i=n;return a=>({context:this.name,key:i,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(r,n)=>(...i)=>mr.resolveMessage(this.name,n,...i)})}};var Bc=(e,t)=>(r,n)=>{var i,a;r.constructor.createProperty(n,t??{attribute:!1,type:String});let s={...e,key:(i=e.key)!==null&&i!==void 0?i:n};r[He]=(a=r[He])!==null&&a!==void 0?a:new Map,r[He].set(n,s)};K("ft-i18n")(kt);var _a=on.build("designedReaderMapMetadata");var Pt=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},st=class extends Mc(rn(Fo)){constructor(){super(),this.multiLine=!1,this.useForSwitchingToRelatives=!1,this.displayLabel=!1,this.editorMode=!1,this.relatives=[],this.noValueMessage="No value",this.addI18nContext(_a)}setReaderStateManager(t){super.setReaderStateManager(t),this.key&&this.useForSwitchingToRelatives&&t.registerMetadataForSwitchToRelatives(this.key)}updateRelatives(){var t,r,n,i;this.useForSwitchingToRelatives&&this.key?this.relatives=(i=(r=(t=this.stateManager)===null||t===void 0?void 0:t.clusteringHelper)===null||r===void 0?void 0:r.computeClustersItemsForMetadata(this.key,((n=this.map)===null||n===void 0?void 0:n.lang)||"en",this.noValueMessage))!==null&&i!==void 0?i:[]:this.relatives=[]}render(){return D`
1152
+ `}update(t){var r;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};Dt.elementDefinitions={};Dt.styles=Kl;eo([Kt()],Dt.prototype,"editorMode",void 0);eo([E()],Dt.prototype,"context",void 0);eo([E()],Dt.prototype,"key",void 0);eo([It([])],Dt.prototype,"args",void 0);eo([E()],Dt.prototype,"defaultMessage",void 0);var sn=class e{static build(t){return new e(t)}static fromGwt(t){return new e(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(r,n)=>{let i=n;return c=>({context:this.name,key:i,args:typeof c=="function"?void 0:c,argsProvider:typeof c=="function"?c:void 0})}}),this.messages=new Proxy({},{get:(r,n)=>(...i)=>xr.resolveMessage(this.name,n,...i)})}};var Gl=(e,t)=>(r,n)=>{var i,c;r.constructor.createProperty(n,t??{attribute:!1,type:String});let s={...e,key:(i=e.key)!==null&&i!==void 0?i:n};r[Ve]=(c=r[Ve])!==null&&c!==void 0?c:new Map,r[Ve].set(n,s)};q("ft-i18n")(Dt);var Ti=sn.build("designedReaderMapMetadata");var Tt=function(e,t,r,n){var i=arguments.length,c=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")c=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(c=(i<3?s(c):i>3?s(t,r,c):s(t,r))||c);return i>3&&c&&Object.defineProperty(t,r,c),c},dt=class extends zl(cn(Go)){constructor(){super(),this.multiLine=!1,this.useForSwitchingToRelatives=!1,this.displayLabel=!1,this.editorMode=!1,this.relatives=[],this.noValueMessage="No value",this.addI18nContext(Ti)}setReaderStateManager(t){super.setReaderStateManager(t),this.key&&this.useForSwitchingToRelatives&&t.registerMetadataForSwitchToRelatives(this.key)}updateRelatives(){var t,r,n,i;this.useForSwitchingToRelatives&&this.key?this.relatives=(i=(r=(t=this.stateManager)===null||t===void 0?void 0:t.clusteringHelper)===null||r===void 0?void 0:r.computeClustersItemsForMetadata(this.key,((n=this.map)===null||n===void 0?void 0:n.lang)||"en",this.noValueMessage))!==null&&i!==void 0?i:[]:this.relatives=[]}render(){return B`
1152
1153
  ${this.useForSwitchingToRelatives&&this.relatives.length>0?this.renderSwitchToRelatives():this.renderChip()}
1153
1154
  ${this.hideIfEmpty()}
1154
- `}renderSwitchToRelatives(){return D`
1155
+ `}renderSwitchToRelatives(){return B`
1155
1156
  <div part="floating-menu-container" class="ft-reader-metadata--container">
1156
1157
  <ft-floating-menu part="floating-menu" text="Toggle collapsible" trailingIcon>
1157
1158
  ${this.renderChip(!0)}
1158
1159
  <ft-floating-menu-label>${this.metadataLabel}</ft-floating-menu-label>
1159
- ${En(this.relatives,t=>t.metadata.value,t=>this.renderRelativeItem(t.result,t.metadata))}
1160
+ ${An(this.relatives,t=>t.metadata.value,t=>this.renderRelativeItem(t.result,t.metadata))}
1160
1161
  </ft-floating-menu>
1161
1162
  </div>
1162
- `}renderChip(t=!1){var r,n,i,a,s,l;let c=this.displayLabel&&((r=this.flatMetadata)===null||r===void 0?void 0:r.value)==((n=this.flatMetadata)===null||n===void 0?void 0:n.displayValue),d=D`
1163
+ `}renderChip(t=!1){var r,n,i,c,s,l;let d=this.displayLabel&&((r=this.flatMetadata)===null||r===void 0?void 0:r.value)==((n=this.flatMetadata)===null||n===void 0?void 0:n.displayValue),u=B`
1163
1164
  <ft-chip part="chip"
1164
1165
  exportpartsPrefix="chip"
1165
- slot="${c&&t?"toggle":""}"
1166
+ slot="${d&&t?"toggle":""}"
1166
1167
  trailingIcon icon="${t?"thin_arrow":""}"
1167
1168
  ?clickable=${t}
1168
1169
  ?multiLine=${this.multiLine}>
1169
- ${this.displayLabel?D`
1170
- <span part="label">${(a=(i=this.metadata)===null||i===void 0?void 0:i.label)!==null&&a!==void 0?a:this.key}: </span>
1171
- `:j}
1170
+ ${this.displayLabel?B`
1171
+ <span part="label">${(c=(i=this.metadata)===null||i===void 0?void 0:i.label)!==null&&c!==void 0?c:this.key}: </span>
1172
+ `:V}
1172
1173
  <span part="values">${this.metadataValue}</span>
1173
- </ft-chip>`;return c?d:D`
1174
+ </ft-chip>`;return d?u:B`
1174
1175
  <ft-tooltip part="tooltip"
1175
1176
  slot="${t?"toggle":""}"
1176
1177
  class="${this.multiLine?"ft-reader-metadata-multi-line":""}"
1177
1178
  text="${`${this.metadataLabel}: ${(l=(s=this.flatMetadata)===null||s===void 0?void 0:s.value)!==null&&l!==void 0?l:this.noValueMessage}`}">
1178
- ${d}
1179
+ ${u}
1179
1180
  </ft-tooltip>
1180
- `}get metadataValue(){return this.flatMetadata?this.flatMetadata.displayValue:this.editorMode?this.key?`no value for ${this.key}`:"no metadata selected":this.noValueMessage}renderRelativeItem(t,r){return D`
1181
+ `}get metadataValue(){return this.flatMetadata?this.flatMetadata.displayValue:this.editorMode?this.key?`no value for ${this.key}`:"no metadata selected":this.noValueMessage}renderRelativeItem(t,r){return B`
1181
1182
  <a part="relative-item-link"
1182
- href="${Oa(t)}"
1183
+ href="${Ni(t)}"
1183
1184
  @click=${n=>this.addTopicPivotParam(n,t)}>
1184
1185
  <ft-ripple part="relative-item-ripple"></ft-ripple>
1185
1186
  <ft-floating-menu-item part="relative-item" value="${r.value}" notFocusable>
1186
- ${r.value==null||r.value===r.displayValue?r.displayValue:D`
1187
+ ${r.value==null||r.value===r.displayValue?r.displayValue:B`
1187
1188
  <ft-tooltip part="relative-item-tooltip" text="${r.value}">${r.displayValue}</ft-tooltip>
1188
1189
  `}
1189
1190
  </ft-floating-menu-item>
1190
1191
  </a>
1191
- `}hideIfEmpty(){let t=this.flatMetadata==null&&(this.useForSwitchingToRelatives?this.relatives.length===0:!0);return!this.editorMode&&t?D`
1192
+ `}hideIfEmpty(){let t=this.flatMetadata==null&&(this.useForSwitchingToRelatives?this.relatives.length===0:!0);return!this.editorMode&&t?B`
1192
1193
  <style>
1193
1194
  :host {
1194
1195
  display: none !important;
1195
1196
  }
1196
1197
  </style>
1197
- `:j}addTopicPivotParam(t,r){var n,i;let a=this.stateManager.store.getState().visibleTopics[0];if(a&&r.type=="MAP"){t.stopPropagation(),t.preventDefault();let s=(n=this.service)===null||n===void 0?void 0:n.getTocNodeNow(a);(i=this.service)===null||i===void 0||i.getTopicInfo(s).then(l=>{let c=l?.metadata.find(h=>h.key==this.relativeTopicPivotMetadata),d=new URL(Oa(r));c&&c.values.forEach(h=>d.searchParams.append("topicPivot",h));let f=document.createElement("a");f.href=d.toString(),(t.ctrlKey||t.metaKey)&&(f.target="_blank"),this.append(f),f.click()})}}update(t){var r,n,i,a;super.update(t),t.has("key")&&this.useForSwitchingToRelatives&&(t.get("key")&&((r=this.stateManager)===null||r===void 0||r.unregisterMetadataForSwitchToRelatives(t.get("key"))),this.key&&((n=this.stateManager)===null||n===void 0||n.registerMetadataForSwitchToRelatives(this.key))),t.has("useForSwitchingToRelatives")&&this.key&&(this.useForSwitchingToRelatives?(i=this.stateManager)===null||i===void 0||i.registerMetadataForSwitchToRelatives(this.key):(a=this.stateManager)===null||a===void 0||a.unregisterMetadataForSwitchToRelatives(this.key)),(t.has("metadata")||this.dateFormatOptionsChanged(t))&&(this.flatMetadata=Tr.flattenMetadata(this.formatDateValues(this.metadata)))}get metadataLabel(){var t,r,n,i,a,s;return this.metadata?this.metadata.label:(s=(i=(n=(r=(t=this.stateManager)===null||t===void 0?void 0:t.clusteringHelper)===null||r===void 0?void 0:r.getMetadataDescriptor(this.key))===null||n===void 0?void 0:n.label)!==null&&i!==void 0?i:(a=this.relatives.find(l=>l.metadata.value))===null||a===void 0?void 0:a.metadata.label)!==null&&s!==void 0?s:this.key}};st.elementDefinitions={"ft-chip":et,"ft-floating-menu":be,"ft-floating-menu-item":bt,"ft-floating-menu-label":xe,"ft-ripple":V,"ft-tooltip":Y};st.styles=Pl;Pt([S(),ki()],st.prototype,"key",void 0);Pt([S({type:Boolean})],st.prototype,"multiLine",void 0);Pt([S({type:Boolean})],st.prototype,"useForSwitchingToRelatives",void 0);Pt([S({type:Boolean})],st.prototype,"displayLabel",void 0);Pt([S({attribute:!1})],st.prototype,"editorMode",void 0);Pt([Wt({store:"reader",selector:(e,t)=>{var r,n;return(n=(r=e.map)===null||r===void 0?void 0:r.metadata)===null||n===void 0?void 0:n.find(i=>i.key===t.key)}})],st.prototype,"metadata",void 0);Pt([J()],st.prototype,"flatMetadata",void 0);Pt([Wt({store:"reader"})],st.prototype,"map",void 0);Pt([Wt({store:"reader",selector:e=>{var t;return(t=e.configuration)===null||t===void 0?void 0:t.relativeTopicPivotMetadata}})],st.prototype,"relativeTopicPivotMetadata",void 0);Pt([J()],st.prototype,"relatives",void 0);Pt([Bc(_a.properties.itemWithNoValueForSwitchToRelatives())],st.prototype,"noValueMessage",void 0);Pt([Mi({eventName:"clustering-helper-created"})],st.prototype,"updateRelatives",null);K("ft-reader-metadata")(st);})();
1198
+ `:V}addTopicPivotParam(t,r){var n,i;let c=this.stateManager.store.getState().visibleTopics[0];if(c&&r.type=="MAP"){t.stopPropagation(),t.preventDefault();let s=(n=this.service)===null||n===void 0?void 0:n.getTocNodeNow(c);(i=this.service)===null||i===void 0||i.getTopicInfo(s).then(l=>{let d=l?.metadata.find(y=>y.key==this.relativeTopicPivotMetadata),u=new URL(Ni(r));d&&d.values.forEach(y=>u.searchParams.append("topicPivot",y));let h=document.createElement("a");h.href=u.toString(),(t.ctrlKey||t.metaKey)&&(h.target="_blank"),this.append(h),h.click()})}}update(t){var r,n,i,c;super.update(t),t.has("key")&&this.useForSwitchingToRelatives&&(t.get("key")&&((r=this.stateManager)===null||r===void 0||r.unregisterMetadataForSwitchToRelatives(t.get("key"))),this.key&&((n=this.stateManager)===null||n===void 0||n.registerMetadataForSwitchToRelatives(this.key))),t.has("useForSwitchingToRelatives")&&this.key&&(this.useForSwitchingToRelatives?(i=this.stateManager)===null||i===void 0||i.registerMetadataForSwitchToRelatives(this.key):(c=this.stateManager)===null||c===void 0||c.unregisterMetadataForSwitchToRelatives(this.key)),(t.has("metadata")||this.dateFormatOptionsChanged(t))&&(this.flatMetadata=Ur.flattenMetadata(this.formatDateValues(this.metadata)))}get metadataLabel(){var t,r,n,i,c,s;return this.metadata?this.metadata.label:(s=(i=(n=(r=(t=this.stateManager)===null||t===void 0?void 0:t.clusteringHelper)===null||r===void 0?void 0:r.getMetadataDescriptor(this.key))===null||n===void 0?void 0:n.label)!==null&&i!==void 0?i:(c=this.relatives.find(l=>l.metadata.value))===null||c===void 0?void 0:c.metadata.label)!==null&&s!==void 0?s:this.key}};dt.elementDefinitions={"ft-chip":nt,"ft-floating-menu":Oe,"ft-floating-menu-item":St,"ft-floating-menu-label":Ce,"ft-ripple":j,"ft-tooltip":Q};dt.styles=ks;Tt([E(),Da()],dt.prototype,"key",void 0);Tt([E({type:Boolean})],dt.prototype,"multiLine",void 0);Tt([E({type:Boolean})],dt.prototype,"useForSwitchingToRelatives",void 0);Tt([E({type:Boolean})],dt.prototype,"displayLabel",void 0);Tt([E({attribute:!1})],dt.prototype,"editorMode",void 0);Tt([Kt({store:"reader",selector:(e,t)=>{var r,n;return(n=(r=e.map)===null||r===void 0?void 0:r.metadata)===null||n===void 0?void 0:n.find(i=>i.key===t.key)}})],dt.prototype,"metadata",void 0);Tt([et()],dt.prototype,"flatMetadata",void 0);Tt([Kt({store:"reader"})],dt.prototype,"map",void 0);Tt([Kt({store:"reader",selector:e=>{var t;return(t=e.configuration)===null||t===void 0?void 0:t.relativeTopicPivotMetadata}})],dt.prototype,"relativeTopicPivotMetadata",void 0);Tt([et()],dt.prototype,"relatives",void 0);Tt([Gl(Ti.properties.itemWithNoValueForSwitchToRelatives())],dt.prototype,"noValueMessage",void 0);Tt([Ba({eventName:"clustering-helper-created"})],dt.prototype,"updateRelatives",null);q("ft-reader-metadata")(dt);})();
1198
1199
  /*! Bundled license information:
1199
1200
 
1200
1201
  @webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js: