@fluid-topics/ft-search-result-title 1.1.94 → 1.1.95
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 Sc=Object.create;var ao=Object.defineProperty;var Oc=Object.getOwnPropertyDescriptor;var wc=Object.getOwnPropertyNames;var Ec=Object.getPrototypeOf,Cc=Object.prototype.hasOwnProperty;var Ac=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),F=(t,e)=>{for(var r in e)ao(t,r,{get:e[r],enumerable:!0})},Rc=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of wc(e))!Cc.call(t,i)&&i!==r&&ao(t,i,{get:()=>e[i],enumerable:!(n=Oc(e,i))||n.enumerable});return t};var Nc=(t,e,r)=>(r=t!=null?Sc(Ec(t)):{},Rc(e||!t||!t.__esModule?ao(r,"default",{value:t,enumerable:!0}):r,t));var ks=Ac(Ls=>{(function(t){var e=function(r){var n={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};function i(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 c(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 l(m){return typeof m!="string"&&(m=String(m)),m}function d(m){var x={next:function(){var E=m.shift();return{done:E===void 0,value:E}}};return n.iterable&&(x[Symbol.iterator]=function(){return x}),x}function p(m){this.map={},m instanceof p?m.forEach(function(x,E){this.append(E,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)}p.prototype.append=function(m,x){m=c(m),x=l(x);var E=this.map[m];this.map[m]=E?E+", "+x:x},p.prototype.delete=function(m){delete this.map[c(m)]},p.prototype.get=function(m){return m=c(m),this.has(m)?this.map[m]:null},p.prototype.has=function(m){return this.map.hasOwnProperty(c(m))},p.prototype.set=function(m,x){this.map[c(m)]=l(x)},p.prototype.forEach=function(m,x){for(var E in this.map)this.map.hasOwnProperty(E)&&m.call(x,this.map[E],E,this)},p.prototype.keys=function(){var m=[];return this.forEach(function(x,E){m.push(E)}),d(m)},p.prototype.values=function(){var m=[];return this.forEach(function(x){m.push(x)}),d(m)},p.prototype.entries=function(){var m=[];return this.forEach(function(x,E){m.push([E,x])}),d(m)},n.iterable&&(p.prototype[Symbol.iterator]=p.prototype.entries);function h(m){if(m.bodyUsed)return Promise.reject(new TypeError("Already read"));m.bodyUsed=!0}function g(m){return new Promise(function(x,E){m.onload=function(){x(m.result)},m.onerror=function(){E(m.error)}})}function y(m){var x=new FileReader,E=g(x);return x.readAsArrayBuffer(m),E}function b(m){var x=new FileReader,E=g(x);return x.readAsText(m),E}function O(m){for(var x=new Uint8Array(m),E=new Array(x.length),L=0;L<x.length;L++)E[L]=String.fromCharCode(x[L]);return E.join("")}function C(m){if(m.slice)return m.slice(0);var x=new Uint8Array(m.byteLength);return x.set(new Uint8Array(m)),x.buffer}function A(){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=C(m.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(m)||s(m))?this._bodyArrayBuffer=C(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(y)}),this.text=function(){var m=h(this);if(m)return m;if(this._bodyBlob)return b(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(O(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(w)}),this.json=function(){return this.text().then(JSON.parse)},this}var R=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function S(m){var x=m.toUpperCase();return R.indexOf(x)>-1?x:m}function v(m,x){x=x||{};var E=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 p(m.headers)),this.method=m.method,this.mode=m.mode,this.signal=m.signal,!E&&m._bodyInit!=null&&(E=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 p(x.headers)),this.method=S(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")&&E)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(E)}v.prototype.clone=function(){return new v(this,{body:this._bodyInit})};function w(m){var x=new FormData;return m.trim().split("&").forEach(function(E){if(E){var L=E.split("="),B=L.shift().replace(/\+/g," "),U=L.join("=").replace(/\+/g," ");x.append(decodeURIComponent(B),decodeURIComponent(U))}}),x}function I(m){var x=new p,E=m.replace(/\r?\n[\t ]+/g," ");return E.split(/\r?\n/).forEach(function(L){var B=L.split(":"),U=B.shift().trim();if(U){var ar=B.join(":").trim();x.append(U,ar)}}),x}A.call(v.prototype);function _(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 p(x.headers),this.url=x.url||"",this._initBody(m)}A.call(_.prototype),_.prototype.clone=function(){return new _(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},_.error=function(){var m=new _(null,{status:0,statusText:""});return m.type="error",m};var j=[301,302,303,307,308];_.redirect=function(m,x){if(j.indexOf(x)===-1)throw new RangeError("Invalid status code");return new _(null,{status:x,headers:{location:m}})},r.DOMException=t.DOMException;try{new r.DOMException}catch{r.DOMException=function(x,E){this.message=x,this.name=E;var L=Error(x);this.stack=L.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function $(m,x){return new Promise(function(E,L){var B=new v(m,x);if(B.signal&&B.signal.aborted)return L(new r.DOMException("Aborted","AbortError"));var U=new XMLHttpRequest;function ar(){U.abort()}U.onload=function(){var Nt={status:U.status,statusText:U.statusText,headers:I(U.getAllResponseHeaders()||"")};Nt.url="responseURL"in U?U.responseURL:Nt.headers.get("X-Request-URL");var io="response"in U?U.response:U.responseText;E(new _(io,Nt))},U.onerror=function(){L(new TypeError("Network request failed"))},U.ontimeout=function(){L(new TypeError("Network request failed"))},U.onabort=function(){L(new r.DOMException("Aborted","AbortError"))},U.open(B.method,B.url,!0),B.credentials==="include"?U.withCredentials=!0:B.credentials==="omit"&&(U.withCredentials=!1),"responseType"in U&&n.blob&&(U.responseType="blob"),B.headers.forEach(function(Nt,io){U.setRequestHeader(io,Nt)}),B.signal&&(B.signal.addEventListener("abort",ar),U.onreadystatechange=function(){U.readyState===4&&B.signal.removeEventListener("abort",ar)}),U.send(typeof B._bodyInit>"u"?null:B._bodyInit)})}return $.polyfill=!0,t.fetch||(t.fetch=$,t.Headers=p,t.Request=v,t.Response=_),r.Headers=p,r.Request=v,r.Response=_,r.fetch=$,Object.defineProperty(r,"__esModule",{value:!0}),r}({})})(typeof self<"u"?self:Ls)});if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,c=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(S,v){if(S=S.toLowerCase(),this._getDefinition(S)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${S}" 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 w=v.prototype.attributeChangedCallback,I=new Set(v.observedAttributes||[]);g(v,I,w);let _={elementClass:v,connectedCallback:v.prototype.connectedCallback,disconnectedCallback:v.prototype.disconnectedCallback,adoptedCallback:v.prototype.adoptedCallback,attributeChangedCallback:w,formAssociated:v.formAssociated,formAssociatedCallback:v.prototype.formAssociatedCallback,formDisabledCallback:v.prototype.formDisabledCallback,formResetCallback:v.prototype.formResetCallback,formStateRestoreCallback:v.prototype.formStateRestoreCallback,observedAttributes:I};this._definitionsByTag.set(S,_),this._definitionsByClass.set(v,_);let j=r.call(n,S);j||(j=h(S),e.call(n,S,j)),this===window.customElements&&(s.set(v,_),_.standInClass=j);let $=this._awaitingUpgrade.get(S);if($){this._awaitingUpgrade.delete(S);for(let x of $)a.delete(x),b(x,_,!0)}let m=this._whenDefinedPromises.get(S);return m!==void 0&&(m.resolve(v),this._whenDefinedPromises.delete(S)),v}upgrade(){C.push(this),n.upgrade.apply(n,arguments),C.pop()}get(S){return this._definitionsByTag.get(S)?.elementClass}_getDefinition(S){return this._definitionsByTag.get(S)}whenDefined(S){let v=this._getDefinition(S);if(v!==void 0)return Promise.resolve(v.elementClass);let w=this._whenDefinedPromises.get(S);return w===void 0&&(w={},w.promise=new Promise(I=>w.resolve=I),this._whenDefinedPromises.set(S,w)),w.promise}_upgradeWhenDefined(S,v,w){let I=this._awaitingUpgrade.get(v);I||this._awaitingUpgrade.set(v,I=new Set),w?I.add(S):I.delete(S)}};let l;window.HTMLElement=function(){let v=l;if(v)return l=void 0,v;let w=s.get(this.constructor);if(!w)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return v=Reflect.construct(t,[],w.standInClass),Object.setPrototypeOf(v,this.constructor.prototype),i.set(v,w),v},window.HTMLElement.prototype=t.prototype;let d=S=>S===document||S instanceof ShadowRoot,p=S=>{let v=S.getRootNode();if(!d(v)){let w=C[C.length-1];if(w instanceof CustomElementRegistry)return w;v=w.getRootNode(),d(v)||(v=c.get(v)?.getRootNode()||document)}return v.customElements},h=S=>class{static get formAssociated(){return!0}constructor(){let w=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(w,HTMLElement.prototype);let I=p(w)||window.customElements,_=I._getDefinition(S);return _?b(w,_):a.set(w,I),w}connectedCallback(){let w=i.get(this);w?w.connectedCallback&&w.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,S,!0)}disconnectedCallback(){let w=i.get(this);w?w.disconnectedCallback&&w.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,S,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let w=i.get(this);w&&w.formAssociated&&w?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let w=i.get(this);w?.formAssociated&&w?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let w=i.get(this);w?.formAssociated&&w?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let w=i.get(this);w?.formAssociated&&w?.formStateRestoreCallback?.apply(this,arguments)}},g=(S,v,w)=>{if(v.size===0||w===void 0)return;let I=S.prototype.setAttribute;I&&(S.prototype.setAttribute=function($,m){let x=$.toLowerCase();if(v.has(x)){let E=this.getAttribute(x);I.call(this,x,m),w.call(this,x,E,m)}else I.call(this,x,m)});let _=S.prototype.removeAttribute;_&&(S.prototype.removeAttribute=function($){let m=$.toLowerCase();if(v.has(m)){let x=this.getAttribute(m);_.call(this,m),w.call(this,m,x,null)}else _.call(this,m)});let j=S.prototype.toggleAttribute;j&&(S.prototype.toggleAttribute=function($,m){let x=$.toLowerCase();if(v.has(x)){let E=this.getAttribute(x);j.call(this,x,m);let L=this.getAttribute(x);w.call(this,x,E,L)}else j.call(this,x,m)})},y=S=>{let v=Object.getPrototypeOf(S);if(v!==window.HTMLElement)return v===t?Object.setPrototypeOf(S,window.HTMLElement):y(v)},b=(S,v,w=!1)=>{Object.setPrototypeOf(S,v.elementClass.prototype),i.set(S,v),l=S;try{new v.elementClass}catch{y(v.elementClass),new v.elementClass}v.attributeChangedCallback&&v.observedAttributes.forEach(I=>{S.hasAttribute(I)&&v.attributeChangedCallback.call(S,I,null,S.getAttribute(I))}),w&&v.connectedCallback&&S.isConnected&&v.connectedCallback.call(S)},O=Element.prototype.attachShadow;Element.prototype.attachShadow=function(S){let v=O.apply(this,arguments);return S.customElements&&(v.customElements=S.customElements),v};let C=[document],A=(S,v,w=void 0)=>{let I=(w?Object.getPrototypeOf(w):S.prototype)[v];S.prototype[v]=function(){C.push(this);let _=I.apply(w||this,arguments);return _!==void 0&&c.set(_,this),C.pop(),_}};A(ShadowRoot,"createElement",document),A(ShadowRoot,"importNode",document),A(Element,"insertAdjacentHTML");let R=(S,v)=>{let w=Object.getOwnPropertyDescriptor(S.prototype,v);Object.defineProperty(S.prototype,v,{...w,set(I){C.push(this),w.set.call(this,I),C.pop()}})};if(R(Element,"innerHTML"),R(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let S=new WeakMap,v=HTMLElement.prototype.attachInternals,w=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...$){let m=v.call(this,...$);return S.set(m,this),m},w.forEach($=>{let m=window.ElementInternals.prototype,x=m[$];m[$]=function(...E){let L=S.get(this);if(i.get(L).formAssociated===!0)return x?.call(this,...E);throw new DOMException(`Failed to execute ${x} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class I extends Array{constructor(m){super(...m),this._elements=m}get value(){return this._elements.find(m=>m.checked===!0)?.value||""}}class _{constructor(m){let x=new Map;m.forEach((E,L)=>{let B=E.getAttribute("name"),U=x.get(B)||[];this[+L]=E,U.push(E),x.set(B,U)}),this.length=m.length,x.forEach((E,L)=>{E&&(E.length===1?this[L]=E[0]:this[L]=new I(E))})}namedItem(m){return this[m]}}let j=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let $=j.get.call(this,[]),m=[];for(let x of $){let E=i.get(x);(!E||E.formAssociated===!0)&&m.push(x)}return new _(m)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,n,i)=>{if(n!==null)try{e.bind(window.customElements)(r,n,i)}catch(a){console.info(r,n,i,a)}}}var vo={};F(vo,{CSSResult:()=>rt,LitElement:()=>ue,ReactiveElement:()=>oe,_$LE:()=>Xc,_$LH:()=>qc,adoptStyles:()=>Sr,css:()=>k,defaultConverter:()=>Or,getCompatibleStyle:()=>Ut,html:()=>zt,isServer:()=>Fd,noChange:()=>xe,notEqual:()=>ho,nothing:()=>W,render:()=>xo,supportsAdoptingStyleSheets:()=>$t,svg:()=>Zc,unsafeCSS:()=>We});var sr=globalThis,lr=sr.ShadowRoot&&(sr.ShadyCSS===void 0||sr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ii=Symbol(),Ni=new WeakMap,cr=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Ii)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(lr&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Ni.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Ni.set(r,e))}return e}toString(){return this.cssText}},_i=t=>new cr(typeof t=="string"?t:t+"",void 0,Ii);var so=(t,e)=>{if(lr)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=sr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},ur=lr?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return _i(r)})(t):t;var{is:Ic,defineProperty:_c,getOwnPropertyDescriptor:Pc,getOwnPropertyNames:Tc,getOwnPropertySymbols:Lc,getPrototypeOf:kc}=Object,dr=globalThis,Pi=dr.trustedTypes,$c=Pi?Pi.emptyScript:"",Uc=dr.reactiveElementPolyfillSupport,It=(t,e)=>t,_t={toAttribute(t,e){switch(e){case Boolean:t=t?$c:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},fr=(t,e)=>!Ic(t,e),Ti={attribute:!0,type:String,converter:_t,reflect:!1,hasChanged:fr};Symbol.metadata??=Symbol("metadata"),dr.litPropertyMetadata??=new WeakMap;var $e=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=Ti){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&_c(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=Pc(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Ti}static _$Ei(){if(this.hasOwnProperty(It("elementProperties")))return;let e=kc(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(It("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(It("properties"))){let r=this.properties,n=[...Tc(r),...Lc(r)];for(let i of n)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)r.unshift(ur(i))}else e!==void 0&&r.push(ur(e));return r}static _$Eu(e,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return so(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$EO(e,r){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:_t).toAttribute(r,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,r){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:_t;this._$Em=i,this[i]=s.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(e,r,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??fr)(i?a:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};$e.elementStyles=[],$e.shadowRootOptions={mode:"open"},$e[It("elementProperties")]=new Map,$e[It("finalized")]=new Map,Uc?.({ReactiveElement:$e}),(dr.reactiveElementVersions??=[]).push("2.0.2");var lo=globalThis,pr=lo.trustedTypes,Li=pr?pr.createPolicy("lit-html",{createHTML:t=>t}):void 0,uo="$lit$",ce=`lit$${(Math.random()+"").slice(9)}$`,fo="?"+ce,Fc=`<${fo}>`,Me=document,hr=()=>Me.createComment(""),Tt=t=>t===null||typeof t!="object"&&typeof t!="function",Di=Array.isArray,Bi=t=>Di(t)||typeof t?.[Symbol.iterator]=="function",co=`[
|
|
1
|
+
"use strict";(()=>{var Sc=Object.create;var ao=Object.defineProperty;var Oc=Object.getOwnPropertyDescriptor;var wc=Object.getOwnPropertyNames;var Ec=Object.getPrototypeOf,Cc=Object.prototype.hasOwnProperty;var Ac=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),F=(t,e)=>{for(var r in e)ao(t,r,{get:e[r],enumerable:!0})},Rc=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of wc(e))!Cc.call(t,i)&&i!==r&&ao(t,i,{get:()=>e[i],enumerable:!(n=Oc(e,i))||n.enumerable});return t};var Nc=(t,e,r)=>(r=t!=null?Sc(Ec(t)):{},Rc(e||!t||!t.__esModule?ao(r,"default",{value:t,enumerable:!0}):r,t));var ks=Ac(Ls=>{(function(t){var e=function(r){var n={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};function i(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 c(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 l(m){return typeof m!="string"&&(m=String(m)),m}function d(m){var x={next:function(){var E=m.shift();return{done:E===void 0,value:E}}};return n.iterable&&(x[Symbol.iterator]=function(){return x}),x}function p(m){this.map={},m instanceof p?m.forEach(function(x,E){this.append(E,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)}p.prototype.append=function(m,x){m=c(m),x=l(x);var E=this.map[m];this.map[m]=E?E+", "+x:x},p.prototype.delete=function(m){delete this.map[c(m)]},p.prototype.get=function(m){return m=c(m),this.has(m)?this.map[m]:null},p.prototype.has=function(m){return this.map.hasOwnProperty(c(m))},p.prototype.set=function(m,x){this.map[c(m)]=l(x)},p.prototype.forEach=function(m,x){for(var E in this.map)this.map.hasOwnProperty(E)&&m.call(x,this.map[E],E,this)},p.prototype.keys=function(){var m=[];return this.forEach(function(x,E){m.push(E)}),d(m)},p.prototype.values=function(){var m=[];return this.forEach(function(x){m.push(x)}),d(m)},p.prototype.entries=function(){var m=[];return this.forEach(function(x,E){m.push([E,x])}),d(m)},n.iterable&&(p.prototype[Symbol.iterator]=p.prototype.entries);function h(m){if(m.bodyUsed)return Promise.reject(new TypeError("Already read"));m.bodyUsed=!0}function g(m){return new Promise(function(x,E){m.onload=function(){x(m.result)},m.onerror=function(){E(m.error)}})}function y(m){var x=new FileReader,E=g(x);return x.readAsArrayBuffer(m),E}function b(m){var x=new FileReader,E=g(x);return x.readAsText(m),E}function O(m){for(var x=new Uint8Array(m),E=new Array(x.length),k=0;k<x.length;k++)E[k]=String.fromCharCode(x[k]);return E.join("")}function C(m){if(m.slice)return m.slice(0);var x=new Uint8Array(m.byteLength);return x.set(new Uint8Array(m)),x.buffer}function A(){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=C(m.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(m)||s(m))?this._bodyArrayBuffer=C(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(y)}),this.text=function(){var m=h(this);if(m)return m;if(this._bodyBlob)return b(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(O(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(w)}),this.json=function(){return this.text().then(JSON.parse)},this}var R=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function S(m){var x=m.toUpperCase();return R.indexOf(x)>-1?x:m}function v(m,x){x=x||{};var E=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 p(m.headers)),this.method=m.method,this.mode=m.mode,this.signal=m.signal,!E&&m._bodyInit!=null&&(E=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 p(x.headers)),this.method=S(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")&&E)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(E)}v.prototype.clone=function(){return new v(this,{body:this._bodyInit})};function w(m){var x=new FormData;return m.trim().split("&").forEach(function(E){if(E){var k=E.split("="),B=k.shift().replace(/\+/g," "),U=k.join("=").replace(/\+/g," ");x.append(decodeURIComponent(B),decodeURIComponent(U))}}),x}function I(m){var x=new p,E=m.replace(/\r?\n[\t ]+/g," ");return E.split(/\r?\n/).forEach(function(k){var B=k.split(":"),U=B.shift().trim();if(U){var ar=B.join(":").trim();x.append(U,ar)}}),x}A.call(v.prototype);function _(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 p(x.headers),this.url=x.url||"",this._initBody(m)}A.call(_.prototype),_.prototype.clone=function(){return new _(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},_.error=function(){var m=new _(null,{status:0,statusText:""});return m.type="error",m};var j=[301,302,303,307,308];_.redirect=function(m,x){if(j.indexOf(x)===-1)throw new RangeError("Invalid status code");return new _(null,{status:x,headers:{location:m}})},r.DOMException=t.DOMException;try{new r.DOMException}catch{r.DOMException=function(x,E){this.message=x,this.name=E;var k=Error(x);this.stack=k.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function $(m,x){return new Promise(function(E,k){var B=new v(m,x);if(B.signal&&B.signal.aborted)return k(new r.DOMException("Aborted","AbortError"));var U=new XMLHttpRequest;function ar(){U.abort()}U.onload=function(){var Nt={status:U.status,statusText:U.statusText,headers:I(U.getAllResponseHeaders()||"")};Nt.url="responseURL"in U?U.responseURL:Nt.headers.get("X-Request-URL");var io="response"in U?U.response:U.responseText;E(new _(io,Nt))},U.onerror=function(){k(new TypeError("Network request failed"))},U.ontimeout=function(){k(new TypeError("Network request failed"))},U.onabort=function(){k(new r.DOMException("Aborted","AbortError"))},U.open(B.method,B.url,!0),B.credentials==="include"?U.withCredentials=!0:B.credentials==="omit"&&(U.withCredentials=!1),"responseType"in U&&n.blob&&(U.responseType="blob"),B.headers.forEach(function(Nt,io){U.setRequestHeader(io,Nt)}),B.signal&&(B.signal.addEventListener("abort",ar),U.onreadystatechange=function(){U.readyState===4&&B.signal.removeEventListener("abort",ar)}),U.send(typeof B._bodyInit>"u"?null:B._bodyInit)})}return $.polyfill=!0,t.fetch||(t.fetch=$,t.Headers=p,t.Request=v,t.Response=_),r.Headers=p,r.Request=v,r.Response=_,r.fetch=$,Object.defineProperty(r,"__esModule",{value:!0}),r}({})})(typeof self<"u"?self:Ls)});if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,c=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(S,v){if(S=S.toLowerCase(),this._getDefinition(S)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${S}" 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 w=v.prototype.attributeChangedCallback,I=new Set(v.observedAttributes||[]);g(v,I,w);let _={elementClass:v,connectedCallback:v.prototype.connectedCallback,disconnectedCallback:v.prototype.disconnectedCallback,adoptedCallback:v.prototype.adoptedCallback,attributeChangedCallback:w,formAssociated:v.formAssociated,formAssociatedCallback:v.prototype.formAssociatedCallback,formDisabledCallback:v.prototype.formDisabledCallback,formResetCallback:v.prototype.formResetCallback,formStateRestoreCallback:v.prototype.formStateRestoreCallback,observedAttributes:I};this._definitionsByTag.set(S,_),this._definitionsByClass.set(v,_);let j=r.call(n,S);j||(j=h(S),e.call(n,S,j)),this===window.customElements&&(s.set(v,_),_.standInClass=j);let $=this._awaitingUpgrade.get(S);if($){this._awaitingUpgrade.delete(S);for(let x of $)a.delete(x),b(x,_,!0)}let m=this._whenDefinedPromises.get(S);return m!==void 0&&(m.resolve(v),this._whenDefinedPromises.delete(S)),v}upgrade(){C.push(this),n.upgrade.apply(n,arguments),C.pop()}get(S){return this._definitionsByTag.get(S)?.elementClass}_getDefinition(S){return this._definitionsByTag.get(S)}whenDefined(S){let v=this._getDefinition(S);if(v!==void 0)return Promise.resolve(v.elementClass);let w=this._whenDefinedPromises.get(S);return w===void 0&&(w={},w.promise=new Promise(I=>w.resolve=I),this._whenDefinedPromises.set(S,w)),w.promise}_upgradeWhenDefined(S,v,w){let I=this._awaitingUpgrade.get(v);I||this._awaitingUpgrade.set(v,I=new Set),w?I.add(S):I.delete(S)}};let l;window.HTMLElement=function(){let v=l;if(v)return l=void 0,v;let w=s.get(this.constructor);if(!w)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return v=Reflect.construct(t,[],w.standInClass),Object.setPrototypeOf(v,this.constructor.prototype),i.set(v,w),v},window.HTMLElement.prototype=t.prototype;let d=S=>S===document||S instanceof ShadowRoot,p=S=>{let v=S.getRootNode();if(!d(v)){let w=C[C.length-1];if(w instanceof CustomElementRegistry)return w;v=w.getRootNode(),d(v)||(v=c.get(v)?.getRootNode()||document)}return v.customElements},h=S=>class{static get formAssociated(){return!0}constructor(){let w=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(w,HTMLElement.prototype);let I=p(w)||window.customElements,_=I._getDefinition(S);return _?b(w,_):a.set(w,I),w}connectedCallback(){let w=i.get(this);w?w.connectedCallback&&w.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,S,!0)}disconnectedCallback(){let w=i.get(this);w?w.disconnectedCallback&&w.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,S,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let w=i.get(this);w&&w.formAssociated&&w?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let w=i.get(this);w?.formAssociated&&w?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let w=i.get(this);w?.formAssociated&&w?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let w=i.get(this);w?.formAssociated&&w?.formStateRestoreCallback?.apply(this,arguments)}},g=(S,v,w)=>{if(v.size===0||w===void 0)return;let I=S.prototype.setAttribute;I&&(S.prototype.setAttribute=function($,m){let x=$.toLowerCase();if(v.has(x)){let E=this.getAttribute(x);I.call(this,x,m),w.call(this,x,E,m)}else I.call(this,x,m)});let _=S.prototype.removeAttribute;_&&(S.prototype.removeAttribute=function($){let m=$.toLowerCase();if(v.has(m)){let x=this.getAttribute(m);_.call(this,m),w.call(this,m,x,null)}else _.call(this,m)});let j=S.prototype.toggleAttribute;j&&(S.prototype.toggleAttribute=function($,m){let x=$.toLowerCase();if(v.has(x)){let E=this.getAttribute(x);j.call(this,x,m);let k=this.getAttribute(x);w.call(this,x,E,k)}else j.call(this,x,m)})},y=S=>{let v=Object.getPrototypeOf(S);if(v!==window.HTMLElement)return v===t?Object.setPrototypeOf(S,window.HTMLElement):y(v)},b=(S,v,w=!1)=>{Object.setPrototypeOf(S,v.elementClass.prototype),i.set(S,v),l=S;try{new v.elementClass}catch{y(v.elementClass),new v.elementClass}v.attributeChangedCallback&&v.observedAttributes.forEach(I=>{S.hasAttribute(I)&&v.attributeChangedCallback.call(S,I,null,S.getAttribute(I))}),w&&v.connectedCallback&&S.isConnected&&v.connectedCallback.call(S)},O=Element.prototype.attachShadow;Element.prototype.attachShadow=function(S){let v=O.apply(this,arguments);return S.customElements&&(v.customElements=S.customElements),v};let C=[document],A=(S,v,w=void 0)=>{let I=(w?Object.getPrototypeOf(w):S.prototype)[v];S.prototype[v]=function(){C.push(this);let _=I.apply(w||this,arguments);return _!==void 0&&c.set(_,this),C.pop(),_}};A(ShadowRoot,"createElement",document),A(ShadowRoot,"importNode",document),A(Element,"insertAdjacentHTML");let R=(S,v)=>{let w=Object.getOwnPropertyDescriptor(S.prototype,v);Object.defineProperty(S.prototype,v,{...w,set(I){C.push(this),w.set.call(this,I),C.pop()}})};if(R(Element,"innerHTML"),R(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let S=new WeakMap,v=HTMLElement.prototype.attachInternals,w=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...$){let m=v.call(this,...$);return S.set(m,this),m},w.forEach($=>{let m=window.ElementInternals.prototype,x=m[$];m[$]=function(...E){let k=S.get(this);if(i.get(k).formAssociated===!0)return x?.call(this,...E);throw new DOMException(`Failed to execute ${x} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class I extends Array{constructor(m){super(...m),this._elements=m}get value(){return this._elements.find(m=>m.checked===!0)?.value||""}}class _{constructor(m){let x=new Map;m.forEach((E,k)=>{let B=E.getAttribute("name"),U=x.get(B)||[];this[+k]=E,U.push(E),x.set(B,U)}),this.length=m.length,x.forEach((E,k)=>{E&&(E.length===1?this[k]=E[0]:this[k]=new I(E))})}namedItem(m){return this[m]}}let j=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let $=j.get.call(this,[]),m=[];for(let x of $){let E=i.get(x);(!E||E.formAssociated===!0)&&m.push(x)}return new _(m)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,n,i)=>{if(n!==null)try{e.bind(window.customElements)(r,n,i)}catch(a){console.info(r,n,i,a)}}}var vo={};F(vo,{CSSResult:()=>rt,LitElement:()=>ue,ReactiveElement:()=>oe,_$LE:()=>Xc,_$LH:()=>qc,adoptStyles:()=>Sr,css:()=>T,defaultConverter:()=>Or,getCompatibleStyle:()=>Ut,html:()=>zt,isServer:()=>Md,noChange:()=>xe,notEqual:()=>ho,nothing:()=>W,render:()=>xo,supportsAdoptingStyleSheets:()=>$t,svg:()=>Zc,unsafeCSS:()=>We});var sr=globalThis,lr=sr.ShadowRoot&&(sr.ShadyCSS===void 0||sr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ii=Symbol(),Ni=new WeakMap,cr=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Ii)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(lr&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Ni.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Ni.set(r,e))}return e}toString(){return this.cssText}},_i=t=>new cr(typeof t=="string"?t:t+"",void 0,Ii);var so=(t,e)=>{if(lr)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=sr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},ur=lr?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return _i(r)})(t):t;var{is:Ic,defineProperty:_c,getOwnPropertyDescriptor:Pc,getOwnPropertyNames:Tc,getOwnPropertySymbols:Lc,getPrototypeOf:kc}=Object,dr=globalThis,Pi=dr.trustedTypes,$c=Pi?Pi.emptyScript:"",Uc=dr.reactiveElementPolyfillSupport,It=(t,e)=>t,_t={toAttribute(t,e){switch(e){case Boolean:t=t?$c:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},fr=(t,e)=>!Ic(t,e),Ti={attribute:!0,type:String,converter:_t,reflect:!1,hasChanged:fr};Symbol.metadata??=Symbol("metadata"),dr.litPropertyMetadata??=new WeakMap;var $e=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=Ti){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&_c(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=Pc(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Ti}static _$Ei(){if(this.hasOwnProperty(It("elementProperties")))return;let e=kc(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(It("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(It("properties"))){let r=this.properties,n=[...Tc(r),...Lc(r)];for(let i of n)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)r.unshift(ur(i))}else e!==void 0&&r.push(ur(e));return r}static _$Eu(e,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return so(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$EO(e,r){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:_t).toAttribute(r,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,r){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:_t;this._$Em=i,this[i]=s.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(e,r,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??fr)(i?a:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};$e.elementStyles=[],$e.shadowRootOptions={mode:"open"},$e[It("elementProperties")]=new Map,$e[It("finalized")]=new Map,Uc?.({ReactiveElement:$e}),(dr.reactiveElementVersions??=[]).push("2.0.2");var lo=globalThis,pr=lo.trustedTypes,Li=pr?pr.createPolicy("lit-html",{createHTML:t=>t}):void 0,uo="$lit$",ce=`lit$${(Math.random()+"").slice(9)}$`,fo="?"+ce,Fc=`<${fo}>`,Me=document,hr=()=>Me.createComment(""),Tt=t=>t===null||typeof t!="object"&&typeof t!="function",Di=Array.isArray,Bi=t=>Di(t)||typeof t?.[Symbol.iterator]=="function",co=`[
|
|
2
2
|
\f\r]`,Pt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ki=/-->/g,$i=/>/g,Ue=RegExp(`>|${co}(?:([^\\s"'>=/]+)(${co}*=${co}*(?:[^
|
|
3
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Ui=/'/g,Fi=/"/g,Wi=/^(?:script|style|textarea|title)$/i,zi=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),Hi=zi(1),ji=zi(2),q=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),Mi=new WeakMap,Fe=Me.createTreeWalker(Me,129);function Vi(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Li!==void 0?Li.createHTML(e):e}var Ki=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",s=Pt;for(let c=0;c<r;c++){let l=t[c],d,p,h=-1,g=0;for(;g<l.length&&(s.lastIndex=g,p=s.exec(l),p!==null);)g=s.lastIndex,s===Pt?p[1]==="!--"?s=ki:p[1]!==void 0?s=$i:p[2]!==void 0?(Wi.test(p[2])&&(i=RegExp("</"+p[2],"g")),s=Ue):p[3]!==void 0&&(s=Ue):s===Ue?p[0]===">"?(s=i??Pt,h=-1):p[1]===void 0?h=-2:(h=s.lastIndex-p[2].length,d=p[1],s=p[3]===void 0?Ue:p[3]==='"'?Fi:Ui):s===Fi||s===Ui?s=Ue:s===ki||s===$i?s=Pt:(s=Ue,i=void 0);let y=s===Ue&&t[c+1].startsWith("/>")?" ":"";a+=s===Pt?l+Fc:h>=0?(n.push(d),l.slice(0,h)+uo+l.slice(h)+ce+y):l+ce+(h===-2?c:y)}return[Vi(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},Lt=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,l=this.parts,[d,p]=Ki(e,r);if(this.el=t.createElement(d,n),Fe.currentNode=this.el.content,r===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=Fe.nextNode())!==null&&l.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(uo)){let g=p[s++],y=i.getAttribute(h).split(ce),b=/([.?@])?(.*)/.exec(g);l.push({type:1,index:a,name:b[2],strings:y,ctor:b[1]==="."?gr:b[1]==="?"?yr:b[1]==="@"?br:Be}),i.removeAttribute(h)}else h.startsWith(ce)&&(l.push({type:6,index:a}),i.removeAttribute(h));if(Wi.test(i.tagName)){let h=i.textContent.split(ce),g=h.length-1;if(g>0){i.textContent=pr?pr.emptyScript:"";for(let y=0;y<g;y++)i.append(h[y],hr()),Fe.nextNode(),l.push({type:2,index:++a});i.append(h[g],hr())}}}else if(i.nodeType===8)if(i.data===fo)l.push({type:2,index:a});else{let h=-1;for(;(h=i.data.indexOf(ce,h+1))!==-1;)l.push({type:7,index:a}),h+=ce.length-1}a++}}static createElement(e,r){let n=Me.createElement("template");return n.innerHTML=e,n}};function De(t,e,r=t,n){if(e===q)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=Tt(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=De(t,i._$AS(t,e.values),i,n)),e}var mr=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,i=(e?.creationScope??Me).importNode(r,!0);Fe.currentNode=i;let a=Fe.nextNode(),s=0,c=0,l=n[0];for(;l!==void 0;){if(s===l.index){let d;l.type===2?d=new kt(a,a.nextSibling,this,e):l.type===1?d=new l.ctor(a,l.name,l.strings,this,e):l.type===6&&(d=new xr(a,this,e)),this._$AV.push(d),l=n[++c]}s!==l?.index&&(a=Fe.nextNode(),s++)}return Fe.currentNode=Me,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},kt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=D,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=De(this,e,r),Tt(e)?e===D||e==null||e===""?(this._$AH!==D&&this._$AR(),this._$AH=D):e!==this._$AH&&e!==q&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Bi(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==D&&Tt(this._$AH)?this._$AA.nextSibling.data=e:this.$(Me.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Lt.createElement(Vi(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new mr(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=Mi.get(e.strings);return r===void 0&&Mi.set(e.strings,r=new Lt(e)),r}T(e){Di(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of e)i===r.length?r.push(n=new t(this.k(hr()),this.k(hr()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Be=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=D,this._$AN=void 0,this.element=e,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=D}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=De(this,e,r,0),s=!Tt(e)||e!==this._$AH&&e!==q,s&&(this._$AH=e);else{let c=e,l,d;for(e=a[0],l=0;l<a.length-1;l++)d=De(this,c[n+l],r,l),d===q&&(d=this._$AH[l]),s||=!Tt(d)||d!==this._$AH[l],d===D?e=D:e!==D&&(e+=(d??"")+a[l+1]),this._$AH[l]=d}s&&!i&&this.O(e)}O(e){e===D?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},gr=class extends Be{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===D?void 0:e}},yr=class extends Be{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==D)}},br=class extends Be{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=De(this,e,r,0)??D)===q)return;let n=this._$AH,i=e===D&&n!==D||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==D&&(n===D||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},xr=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){De(this,e)}},Gi={j:uo,P:ce,A:fo,C:1,M:Ki,L:mr,R:Bi,V:De,D:kt,I:Be,H:yr,N:br,U:gr,B:xr},Mc=lo.litHtmlPolyfillSupport;Mc?.(Lt,kt),(lo.litHtmlVersions??=[]).push("3.1.0");var vr=globalThis,$t=vr.ShadowRoot&&(vr.ShadyCSS===void 0||vr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,po=Symbol(),Zi=new WeakMap,rt=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==po)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if($t&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Zi.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Zi.set(r,e))}return e}toString(){return this.cssText}},We=t=>new rt(typeof t=="string"?t:t+"",void 0,po),k=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((n,i,a)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[a+1],t[0]);return new rt(r,t,po)},Sr=(t,e)=>{if($t)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=vr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},Ut=$t?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return We(r)})(t):t;var{is:Dc,defineProperty:Bc,getOwnPropertyDescriptor:Wc,getOwnPropertyNames:zc,getOwnPropertySymbols:Hc,getPrototypeOf:jc}=Object,wr=globalThis,qi=wr.trustedTypes,Vc=qi?qi.emptyScript:"",Kc=wr.reactiveElementPolyfillSupport,Ft=(t,e)=>t,Or={toAttribute(t,e){switch(e){case Boolean:t=t?Vc:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},ho=(t,e)=>!Dc(t,e),Yi={attribute:!0,type:String,converter:Or,reflect:!1,hasChanged:ho};Symbol.metadata??=Symbol("metadata"),wr.litPropertyMetadata??=new WeakMap;var oe=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=Yi){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&Bc(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=Wc(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Yi}static _$Ei(){if(this.hasOwnProperty(Ft("elementProperties")))return;let e=jc(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Ft("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ft("properties"))){let r=this.properties,n=[...zc(r),...Hc(r)];for(let i of n)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)r.unshift(Ut(i))}else e!==void 0&&r.push(Ut(e));return r}static _$Eu(e,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Sr(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$EO(e,r){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:Or).toAttribute(r,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,r){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Or;this._$Em=i,this[i]=s.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(e,r,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??ho)(i?a:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};oe.elementStyles=[],oe.shadowRootOptions={mode:"open"},oe[Ft("elementProperties")]=new Map,oe[Ft("finalized")]=new Map,Kc?.({ReactiveElement:oe}),(wr.reactiveElementVersions??=[]).push("2.0.2");var go=globalThis,Er=go.trustedTypes,Ji=Er?Er.createPolicy("lit-html",{createHTML:t=>t}):void 0,yo="$lit$",le=`lit$${(Math.random()+"").slice(9)}$`,bo="?"+le,Gc=`<${bo}>`,je=document,Dt=()=>je.createComment(""),Bt=t=>t===null||typeof t!="object"&&typeof t!="function",oa=Array.isArray,na=t=>oa(t)||typeof t?.[Symbol.iterator]=="function",mo=`[
|
|
3
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Ui=/'/g,Fi=/"/g,Wi=/^(?:script|style|textarea|title)$/i,zi=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),Hi=zi(1),ji=zi(2),q=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),Mi=new WeakMap,Fe=Me.createTreeWalker(Me,129);function Vi(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Li!==void 0?Li.createHTML(e):e}var Ki=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",s=Pt;for(let c=0;c<r;c++){let l=t[c],d,p,h=-1,g=0;for(;g<l.length&&(s.lastIndex=g,p=s.exec(l),p!==null);)g=s.lastIndex,s===Pt?p[1]==="!--"?s=ki:p[1]!==void 0?s=$i:p[2]!==void 0?(Wi.test(p[2])&&(i=RegExp("</"+p[2],"g")),s=Ue):p[3]!==void 0&&(s=Ue):s===Ue?p[0]===">"?(s=i??Pt,h=-1):p[1]===void 0?h=-2:(h=s.lastIndex-p[2].length,d=p[1],s=p[3]===void 0?Ue:p[3]==='"'?Fi:Ui):s===Fi||s===Ui?s=Ue:s===ki||s===$i?s=Pt:(s=Ue,i=void 0);let y=s===Ue&&t[c+1].startsWith("/>")?" ":"";a+=s===Pt?l+Fc:h>=0?(n.push(d),l.slice(0,h)+uo+l.slice(h)+ce+y):l+ce+(h===-2?c:y)}return[Vi(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},Lt=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,l=this.parts,[d,p]=Ki(e,r);if(this.el=t.createElement(d,n),Fe.currentNode=this.el.content,r===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=Fe.nextNode())!==null&&l.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(uo)){let g=p[s++],y=i.getAttribute(h).split(ce),b=/([.?@])?(.*)/.exec(g);l.push({type:1,index:a,name:b[2],strings:y,ctor:b[1]==="."?gr:b[1]==="?"?yr:b[1]==="@"?br:Be}),i.removeAttribute(h)}else h.startsWith(ce)&&(l.push({type:6,index:a}),i.removeAttribute(h));if(Wi.test(i.tagName)){let h=i.textContent.split(ce),g=h.length-1;if(g>0){i.textContent=pr?pr.emptyScript:"";for(let y=0;y<g;y++)i.append(h[y],hr()),Fe.nextNode(),l.push({type:2,index:++a});i.append(h[g],hr())}}}else if(i.nodeType===8)if(i.data===fo)l.push({type:2,index:a});else{let h=-1;for(;(h=i.data.indexOf(ce,h+1))!==-1;)l.push({type:7,index:a}),h+=ce.length-1}a++}}static createElement(e,r){let n=Me.createElement("template");return n.innerHTML=e,n}};function De(t,e,r=t,n){if(e===q)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=Tt(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=De(t,i._$AS(t,e.values),i,n)),e}var mr=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,i=(e?.creationScope??Me).importNode(r,!0);Fe.currentNode=i;let a=Fe.nextNode(),s=0,c=0,l=n[0];for(;l!==void 0;){if(s===l.index){let d;l.type===2?d=new kt(a,a.nextSibling,this,e):l.type===1?d=new l.ctor(a,l.name,l.strings,this,e):l.type===6&&(d=new xr(a,this,e)),this._$AV.push(d),l=n[++c]}s!==l?.index&&(a=Fe.nextNode(),s++)}return Fe.currentNode=Me,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},kt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=D,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=De(this,e,r),Tt(e)?e===D||e==null||e===""?(this._$AH!==D&&this._$AR(),this._$AH=D):e!==this._$AH&&e!==q&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Bi(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==D&&Tt(this._$AH)?this._$AA.nextSibling.data=e:this.$(Me.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Lt.createElement(Vi(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new mr(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=Mi.get(e.strings);return r===void 0&&Mi.set(e.strings,r=new Lt(e)),r}T(e){Di(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of e)i===r.length?r.push(n=new t(this.k(hr()),this.k(hr()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Be=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=D,this._$AN=void 0,this.element=e,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=D}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=De(this,e,r,0),s=!Tt(e)||e!==this._$AH&&e!==q,s&&(this._$AH=e);else{let c=e,l,d;for(e=a[0],l=0;l<a.length-1;l++)d=De(this,c[n+l],r,l),d===q&&(d=this._$AH[l]),s||=!Tt(d)||d!==this._$AH[l],d===D?e=D:e!==D&&(e+=(d??"")+a[l+1]),this._$AH[l]=d}s&&!i&&this.O(e)}O(e){e===D?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},gr=class extends Be{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===D?void 0:e}},yr=class extends Be{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==D)}},br=class extends Be{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=De(this,e,r,0)??D)===q)return;let n=this._$AH,i=e===D&&n!==D||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==D&&(n===D||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},xr=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){De(this,e)}},Gi={j:uo,P:ce,A:fo,C:1,M:Ki,L:mr,R:Bi,V:De,D:kt,I:Be,H:yr,N:br,U:gr,B:xr},Mc=lo.litHtmlPolyfillSupport;Mc?.(Lt,kt),(lo.litHtmlVersions??=[]).push("3.1.0");var vr=globalThis,$t=vr.ShadowRoot&&(vr.ShadyCSS===void 0||vr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,po=Symbol(),Zi=new WeakMap,rt=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==po)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if($t&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Zi.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Zi.set(r,e))}return e}toString(){return this.cssText}},We=t=>new rt(typeof t=="string"?t:t+"",void 0,po),T=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((n,i,a)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[a+1],t[0]);return new rt(r,t,po)},Sr=(t,e)=>{if($t)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=vr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},Ut=$t?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return We(r)})(t):t;var{is:Dc,defineProperty:Bc,getOwnPropertyDescriptor:Wc,getOwnPropertyNames:zc,getOwnPropertySymbols:Hc,getPrototypeOf:jc}=Object,wr=globalThis,qi=wr.trustedTypes,Vc=qi?qi.emptyScript:"",Kc=wr.reactiveElementPolyfillSupport,Ft=(t,e)=>t,Or={toAttribute(t,e){switch(e){case Boolean:t=t?Vc:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},ho=(t,e)=>!Dc(t,e),Yi={attribute:!0,type:String,converter:Or,reflect:!1,hasChanged:ho};Symbol.metadata??=Symbol("metadata"),wr.litPropertyMetadata??=new WeakMap;var oe=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=Yi){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&Bc(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=Wc(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let c=i?.call(this);a.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Yi}static _$Ei(){if(this.hasOwnProperty(Ft("elementProperties")))return;let e=jc(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Ft("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ft("properties"))){let r=this.properties,n=[...zc(r),...Hc(r)];for(let i of n)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)r.unshift(Ut(i))}else e!==void 0&&r.push(Ut(e));return r}static _$Eu(e,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Sr(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$EO(e,r){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:Or).toAttribute(r,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,r){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Or;this._$Em=i,this[i]=s.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(e,r,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??ho)(i?a:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};oe.elementStyles=[],oe.shadowRootOptions={mode:"open"},oe[Ft("elementProperties")]=new Map,oe[Ft("finalized")]=new Map,Kc?.({ReactiveElement:oe}),(wr.reactiveElementVersions??=[]).push("2.0.2");var go=globalThis,Er=go.trustedTypes,Ji=Er?Er.createPolicy("lit-html",{createHTML:t=>t}):void 0,yo="$lit$",le=`lit$${(Math.random()+"").slice(9)}$`,bo="?"+le,Gc=`<${bo}>`,je=document,Dt=()=>je.createComment(""),Bt=t=>t===null||typeof t!="object"&&typeof t!="function",oa=Array.isArray,na=t=>oa(t)||typeof t?.[Symbol.iterator]=="function",mo=`[
|
|
4
4
|
\f\r]`,Mt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Xi=/-->/g,Qi=/>/g,ze=RegExp(`>|${mo}(?:([^\\s"'>=/]+)(${mo}*=${mo}*(?:[^
|
|
5
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),ea=/'/g,ta=/"/g,ia=/^(?:script|style|textarea|title)$/i,aa=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),zt=aa(1),Zc=aa(2),xe=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),ra=new WeakMap,He=je.createTreeWalker(je,129);function sa(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ji!==void 0?Ji.createHTML(e):e}var ca=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",s=Mt;for(let c=0;c<r;c++){let l=t[c],d,p,h=-1,g=0;for(;g<l.length&&(s.lastIndex=g,p=s.exec(l),p!==null);)g=s.lastIndex,s===Mt?p[1]==="!--"?s=Xi:p[1]!==void 0?s=Qi:p[2]!==void 0?(ia.test(p[2])&&(i=RegExp("</"+p[2],"g")),s=ze):p[3]!==void 0&&(s=ze):s===ze?p[0]===">"?(s=i??Mt,h=-1):p[1]===void 0?h=-2:(h=s.lastIndex-p[2].length,d=p[1],s=p[3]===void 0?ze:p[3]==='"'?ta:ea):s===ta||s===ea?s=ze:s===Xi||s===Qi?s=Mt:(s=ze,i=void 0);let y=s===ze&&t[c+1].startsWith("/>")?" ":"";a+=s===Mt?l+Gc:h>=0?(n.push(d),l.slice(0,h)+yo+l.slice(h)+le+y):l+le+(h===-2?c:y)}return[sa(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},Wt=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,l=this.parts,[d,p]=ca(e,r);if(this.el=t.createElement(d,n),He.currentNode=this.el.content,r===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=He.nextNode())!==null&&l.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(yo)){let g=p[s++],y=i.getAttribute(h).split(le),b=/([.?@])?(.*)/.exec(g);l.push({type:1,index:a,name:b[2],strings:y,ctor:b[1]==="."?Ar:b[1]==="?"?Rr:b[1]==="@"?Nr:Ke}),i.removeAttribute(h)}else h.startsWith(le)&&(l.push({type:6,index:a}),i.removeAttribute(h));if(ia.test(i.tagName)){let h=i.textContent.split(le),g=h.length-1;if(g>0){i.textContent=Er?Er.emptyScript:"";for(let y=0;y<g;y++)i.append(h[y],Dt()),He.nextNode(),l.push({type:2,index:++a});i.append(h[g],Dt())}}}else if(i.nodeType===8)if(i.data===bo)l.push({type:2,index:a});else{let h=-1;for(;(h=i.data.indexOf(le,h+1))!==-1;)l.push({type:7,index:a}),h+=le.length-1}a++}}static createElement(e,r){let n=je.createElement("template");return n.innerHTML=e,n}};function Ve(t,e,r=t,n){if(e===xe)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=Bt(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=Ve(t,i._$AS(t,e.values),i,n)),e}var Cr=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,i=(e?.creationScope??je).importNode(r,!0);He.currentNode=i;let a=He.nextNode(),s=0,c=0,l=n[0];for(;l!==void 0;){if(s===l.index){let d;l.type===2?d=new ot(a,a.nextSibling,this,e):l.type===1?d=new l.ctor(a,l.name,l.strings,this,e):l.type===6&&(d=new Ir(a,this,e)),this._$AV.push(d),l=n[++c]}s!==l?.index&&(a=He.nextNode(),s++)}return He.currentNode=je,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},ot=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Ve(this,e,r),Bt(e)?e===W||e==null||e===""?(this._$AH!==W&&this._$AR(),this._$AH=W):e!==this._$AH&&e!==xe&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):na(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==W&&Bt(this._$AH)?this._$AA.nextSibling.data=e:this.$(je.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Wt.createElement(sa(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new Cr(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=ra.get(e.strings);return r===void 0&&ra.set(e.strings,r=new Wt(e)),r}T(e){oa(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of e)i===r.length?r.push(n=new t(this.k(Dt()),this.k(Dt()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Ke=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=W,this._$AN=void 0,this.element=e,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=W}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=Ve(this,e,r,0),s=!Bt(e)||e!==this._$AH&&e!==xe,s&&(this._$AH=e);else{let c=e,l,d;for(e=a[0],l=0;l<a.length-1;l++)d=Ve(this,c[n+l],r,l),d===xe&&(d=this._$AH[l]),s||=!Bt(d)||d!==this._$AH[l],d===W?e=W:e!==W&&(e+=(d??"")+a[l+1]),this._$AH[l]=d}s&&!i&&this.O(e)}O(e){e===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Ar=class extends Ke{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===W?void 0:e}},Rr=class extends Ke{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==W)}},Nr=class extends Ke{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=Ve(this,e,r,0)??W)===xe)return;let n=this._$AH,i=e===W&&n!==W||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==W&&(n===W||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Ir=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Ve(this,e)}},qc={j:yo,P:le,A:bo,C:1,M:ca,L:Cr,R:na,V:Ve,D:ot,I:Ke,H:Rr,N:Nr,U:Ar,B:Ir},Yc=go.litHtmlPolyfillSupport;Yc?.(Wt,ot),(go.litHtmlVersions??=[]).push("3.1.0");var xo=(t,e,r)=>{let n=r?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=r?.renderBefore??null;n._$litPart$=i=new ot(e.insertBefore(Dt(),a),a,void 0,r??{})}return i._$AI(t),i};var ue=class extends oe{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=xo(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return xe}};ue._$litElement$=!0,ue.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ue});var Jc=globalThis.litElementPolyfillSupport;Jc?.({LitElement:ue});var Xc={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Fd=!1;var So={};F(So,{customElement:()=>Qc,eventOptions:()=>tl,property:()=>T,query:()=>rl,queryAll:()=>nl,queryAssignedElements:()=>al,queryAssignedNodes:()=>sl,queryAsync:()=>il,standardProperty:()=>la,state:()=>Ht});var Qc=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var el={attribute:!0,type:String,converter:_t,reflect:!1,hasChanged:fr},la=(t=el,e,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,t),n==="accessor"){let{name:s}=r;return{set(c){let l=e.get.call(this);e.set.call(this,c),this.requestUpdate(s,l,t)},init(c){return c!==void 0&&this.C(s,void 0,t),c}}}if(n==="setter"){let{name:s}=r;return function(c){let l=this[s];e.call(this,c),this.requestUpdate(s,l,t)}}throw Error("Unsupported decorator location: "+n)};function T(t){return(e,r)=>typeof r=="object"?la(t,e,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})(t,e,r)}function Ht(t){return T({...t,state:!0,attribute:!1})}function tl(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var Q=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function rl(t,e){return(r,n,i)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:c}=typeof n=="object"?r:i??(()=>{let l=Symbol();return{get(){return this[l]},set(d){this[l]=d}}})();return Q(r,n,{get(){let l=s.call(this);return l===void 0&&(l=a(this),(l!==null||this.hasUpdated)&&c.call(this,l)),l}})}return Q(r,n,{get(){return a(this)}})}}var ol;function nl(t){return(e,r)=>Q(e,r,{get(){return(this.renderRoot??(ol??=document.createDocumentFragment())).querySelectorAll(t)}})}function il(t){return(e,r)=>Q(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function al(t){return(e,r)=>{let{slot:n,selector:i}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Q(e,r,{get(){let s=this.renderRoot?.querySelector(a),c=s?.assignedElements(t)??[];return i===void 0?c:c.filter(l=>l.matches(i))}})}}function sl(t){return(e,r)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Q(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var Oo={};F(Oo,{repeat:()=>ul});var ve={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Se=t=>(...e)=>({_$litDirective$:t,values:e}),ne=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,n){this._$Ct=e,this._$AM=r,this._$Ci=n}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{D:cl}=Gi;var ua=()=>document.createComment(""),nt=(t,e,r)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=n.insertBefore(ua(),i),s=n.insertBefore(ua(),i);r=new cl(a,s,t,t.options)}else{let a=r._$AB.nextSibling,s=r._$AM,c=s!==t;if(c){let l;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(l=t._$AU)!==s._$AU&&r._$AP(l)}if(a!==i||c){let l=r._$AA;for(;l!==a;){let d=l.nextSibling;n.insertBefore(l,i),l=d}}}return r},Oe=(t,e,r=t)=>(t._$AI(e,r),t),ll={},da=(t,e=ll)=>t._$AH=e,fa=t=>t._$AH,_r=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let n=e.nextSibling;e.remove(),e=n}};var pa=(t,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},ul=Se(class extends ne{constructor(t){if(super(t),t.type!==ve.CHILD)throw Error("repeat() can only be used in text expressions")}ht(t,e,r){let n;r===void 0?r=e:e!==void 0&&(n=e);let i=[],a=[],s=0;for(let c of t)i[s]=n?n(c,s):s,a[s]=r(c,s),s++;return{values:a,keys:i}}render(t,e,r){return this.ht(t,e,r).values}update(t,[e,r,n]){let i=fa(t),{values:a,keys:s}=this.ht(e,r,n);if(!Array.isArray(i))return this.dt=s,a;let c=this.dt??=[],l=[],d,p,h=0,g=i.length-1,y=0,b=a.length-1;for(;h<=g&&y<=b;)if(i[h]===null)h++;else if(i[g]===null)g--;else if(c[h]===s[y])l[y]=Oe(i[h],a[y]),h++,y++;else if(c[g]===s[b])l[b]=Oe(i[g],a[b]),g--,b--;else if(c[h]===s[b])l[b]=Oe(i[h],a[b]),nt(t,l[b+1],i[h]),h++,b--;else if(c[g]===s[y])l[y]=Oe(i[g],a[y]),nt(t,i[h],i[g]),g--,y++;else if(d===void 0&&(d=pa(s,y,b),p=pa(c,h,g)),d.has(c[h]))if(d.has(c[g])){let O=p.get(s[y]),C=O!==void 0?i[O]:null;if(C===null){let A=nt(t,i[h]);Oe(A,a[y]),l[y]=A}else l[y]=Oe(C,a[y]),nt(t,i[h],C),i[O]=null;y++}else _r(i[g]),g--;else _r(i[h]),h++;for(;y<=b;){let O=nt(t,l[b+1]);Oe(O,a[y]),l[y++]=O}for(;h<=g;){let O=i[h++];O!==null&&_r(O)}return this.dt=s,da(t,l),q}});var wo={};F(wo,{classMap:()=>dl});var dl=Se(class extends ne{constructor(t){if(super(t),t.type!==ve.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.it===void 0){this.it=new Set,t.strings!==void 0&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(e)}let r=t.element.classList;for(let n of this.it)n in e||(r.remove(n),this.it.delete(n));for(let n in e){let i=!!e[n];i===this.it.has(n)||this.st?.has(n)||(i?(r.add(n),this.it.add(n)):(r.remove(n),this.it.delete(n)))}return q}});var Eo={};F(Eo,{styleMap:()=>pl});var ha="important",fl=" !"+ha,pl=Se(class extends ne{constructor(t){if(super(t),t.type!==ve.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{let n=t[r];return n==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let n of this.ut)e[n]==null&&(this.ut.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in e){let i=e[n];if(i!=null){this.ut.add(n);let a=typeof i=="string"&&i.endsWith(fl);n.includes("-")||a?r.setProperty(n,a?i.slice(0,-11):i,a?ha:""):r[n]=i}}return q}});var Ao={};F(Ao,{UnsafeHTMLDirective:()=>it,unsafeHTML:()=>Co});var it=class extends ne{constructor(e){if(super(e),this.et=D,e.type!==ve.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===D||e==null)return this.vt=void 0,this.et=e;if(e===q)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;let r=[e];return r.raw=r,this.vt={_$litType$:this.constructor.resultType,strings:r,values:[]}}};it.directiveName="unsafeHTML",it.resultType=1;var Co=Se(it);var No={};F(No,{CacheRegistry:()=>ie});var Ro={};F(Ro,{CancelablePromise:()=>st,CanceledPromiseError:()=>at,cancelable:()=>Pr});var at=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},st=class extends Promise{constructor(e){super((r,n)=>e(i=>{this.isCanceled?n(new at("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new at("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Pr=t=>new st((e,r)=>t.then(e).catch(r));var ie=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,r){this.loaders[e]=r,this.finalContent.delete(e)}registerFinal(e,r){this.loaders[e]=r,this.finalContent.add(e)}clearAll(){for(let e in this.content)this.clear(e)}clear(e){this.finalContent.has(e)||this.forceClear(e)}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof st&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,r){this.forceClear(e),this.register(e,async()=>r),this.content[e]=r}setFinal(e,r){this.forceClear(e),this.registerFinal(e,async()=>r),this.content[e]=r}async get(e,r,n){if(this.content[e]===void 0){if(r=r??this.loaders[e],r==null)throw new Error("Unknown cache key "+e);let i=Pr(r());return this.content[e]=i,i.then(a=>(this.content[e]=a,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),a))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var _o={};F(_o,{ClusteringHelper:()=>Io});var Io=class t{constructor(e,r,n,i){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(e,r){var n,i;let a=((i=(n=e?.map)!==null&&n!==void 0?n:e?.document)!==null&&i!==void 0?i:e?.topic).metadata;return r==null?t.flattenMetadata(a):t.flattenMetadata(a.find(s=>s.key===r))}static flattenMetadata(e){if(Array.isArray(e))return e.map(n=>t.flattenMetadata(n)).filter(n=>n!=null);let r=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!r))if(r){let n=[],i=[];return e.hierarchicalValues.forEach(a=>{n.push(a.join(" > ")),a.length>2?i.push(`... > ${a[a.length-1]}`):i.push(a.join(" > "))}),{key:e.key,label:e.label,value:n.join(", "),displayValue:i.join(", ")}}else{let n=e.values.join(", ");return{key:e.key,label:e.label,value:n,displayValue:n}}}computeClustersItemsForMetadata(e,r,n="No value"){var i,a;let s=t.extractResultMetadata(this.selectedResult,e),c=(i=s?.label)!==null&&i!==void 0?i:(a=this.getMetadataDescriptor(e))===null||a===void 0?void 0:a.label;return this.allResults.map(d=>t.extractResultMetadata(d,e)).map(d=>d??{key:e,label:c,value:void 0,displayValue:n}).filter(d=>d.value!=s?.value).filter((d,p,h)=>h.findIndex(g=>g.value===d.value)===p).map(d=>({result:this.findBestResultForMetadataValue(e,d.value),metadata:d})).sort((d,p)=>this.compareMetadata(d.metadata.value,p.metadata.value,e,r))}compareMetadata(e,r,n,i){if(e==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",c=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let l=e.localeCompare(r,i,{numeric:!0});return c?l*-1:l}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let n=this.allResults.filter(l=>{var d;return((d=t.extractResultMetadata(l,e))===null||d===void 0?void 0:d.value)==r}),a=[...t.extractResultMetadata(this.selectedResult).filter(l=>this.clusteringMetadata.has(l.key)).filter(l=>l.key!==e)],s,c=-1;for(let l of n){let d=this.countMatchingMetadata(l,a);if(d>c&&(c=d,s=l,d===a.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata(e).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}};var Po={};F(Po,{Debouncer:()=>we});var we=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(c){i(c);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Lo={};F(Lo,{customElement:()=>Ge,isNumber:()=>ba,jsonProperty:()=>Ee,optionalNumberProperty:()=>vl});var To={};F(To,{dateReviver:()=>ml,deepEqual:()=>ee,delay:()=>Tr,eventPathContainsMatchingElement:()=>yl,flatDeep:()=>ga,hasChanged:()=>jt,last:()=>xl,minmax:()=>bl,parseDate:()=>ya,waitFor:()=>ma,waitUntil:()=>hl});var Tr=t=>new Promise(e=>setTimeout(e,t));async function hl(t,e=10,r=2e4){await ma(async()=>await t()||void 0,e,r)}async function ma(t,e=10,r=2e4){let n=await t(),i,a;for(i=a=performance.now();n==null&&(!r||a-i<r);)await Tr(e),n=await t(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function ga(t,e){return t.flatMap(r=>[r,...ga(e(r),e)])}function ml(...t){return function(e,r){return t.includes(e)?ya(r):r}}function ya(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,n,i)=>r+n+":"+i),new Date(t)}function gl(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,n,i;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!ee(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!ee(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(i=Object.keys(t),r=i.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=r;n--!==0;){var a=i[n];if(!ee(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function ee(t,e){try{return gl(t,e)}catch{return!1}}function jt(t,e){return!ee(t,e)}function yl(t,e,r=window.document.body){if(e.length>0){let n=t.composedPath();for(let i of n){if(i===r)return!1;if(i.matches&&e.some(a=>i.matches(a)))return!0}}return!1}function bl(t,e,r){return Math.min(Math.max(t,e),r)}function xl(t){return t[t.length-1]}var Ge=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function Ee(t,e){let r=()=>JSON.parse(JSON.stringify(t));return T({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:jt,...e??{}})}function vl(t){return T({type:Object,converter:{fromAttribute:e=>{if(e!=null)return ba(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function ba(t){return!isNaN(parseFloat(t))}var ln={};F(ln,{designSystemVariables:()=>Lr});var cn={};F(cn,{DesignSystemFamily:()=>Kt,DesignSystemSize:()=>Gt,FtCssVariableFactory:()=>o,badge:()=>Al,banner:()=>Cl,breadcrumb:()=>Rl,button:()=>Ol,chart:()=>Bl,checkbox:()=>zl,chip:()=>wl,collapsible:()=>Ml,comboboxMultiSelect:()=>Ul,comboboxSingleSelect:()=>$l,drawer:()=>_l,floatingMenu:()=>kl,foundation:()=>u,link:()=>El,modal:()=>Il,notice:()=>Wl,notification:()=>Vl,pageHeader:()=>Nl,popover:()=>Fl,radio:()=>jl,resolveFamilyClass:()=>an,resolveSizeClass:()=>sn,semantic:()=>f,setVariable:()=>xa,switch_:()=>Dl,tabs:()=>Pl,textArea:()=>Ll,textInput:()=>Tl,toggle:()=>Hl,tooltip:()=>Kl,typographies:()=>Vt,typographyBody1Medium:()=>Do,typographyBody1Regular:()=>Mo,typographyBody1Semibold:()=>Bo,typographyBody2Medium:()=>zo,typographyBody2MediumUnderline:()=>va,typographyBody2Regular:()=>Wo,typographyBody2Semibold:()=>Ho,typographyCaption1Bold:()=>Xo,typographyCaption1Medium:()=>Yo,typographyCaption1Semibold:()=>Jo,typographyCaption2Bold:()=>tn,typographyCaption2Medium:()=>Qo,typographyCaption2Semibold:()=>en,typographyCaption3Bold:()=>nn,typographyCaption3Medium:()=>rn,typographyCaption3Semibold:()=>on,typographyDisplay:()=>ko,typographyLabel1Bold:()=>Ko,typographyLabel1Medium:()=>jo,typographyLabel1Semibold:()=>Vo,typographyLabel2Bold:()=>qo,typographyLabel2Medium:()=>Go,typographyLabel2Semibold:()=>Zo,typographyTitle1:()=>$o,typographyTitle2:()=>Uo,typographyTitle3:()=>Fo,typographyVariants:()=>Sl});var de=t=>typeof t=="string"?We(t):t,o=class{static create(e,r,n,i){let a=c=>de(c??i),s=k`var(${de(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>k`var(${de(e)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,r,n,i){let a=c=>n.get(c??i),s=k`var(${de(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>k`var(${de(e)}, ${a(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,r){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):de(a??e.lastResortDefaultValue()),i=k`var(${de(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=r,i.defaultCssValue=n,i.get=a=>k`var(${de(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function xa(t,e){return de(`${t.name}: ${e}`)}var u={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)")},ko={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")},$o={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")},Uo={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")},Fo={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")},Mo={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")},Do={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")},Bo={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")},Wo={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")},zo={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")},va={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")},Ho={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")},jo={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")},Vo={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")},Ko={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")},Go={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")},Zo={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")},qo={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")},Yo={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")},Jo={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")},Xo={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")},Qo={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")},en={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")},tn={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")},rn={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")},on={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")},nn={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")},Vt={display:ko,"title-1":$o,"title-2":Uo,"title-3":Fo,"body-1-regular":Mo,"body-1-medium":Do,"body-1-semibold":Bo,"body-2-regular":Wo,"body-2-medium":zo,"body-2-medium-underline":va,"body-2-semibold":Ho,"label-1-medium":jo,"label-1-semibold":Vo,"label-1-bold":Ko,"label-2-medium":Go,"label-2-semibold":Zo,"label-2-bold":qo,"caption-1-medium":Yo,"caption-1-semibold":Jo,"caption-1-bold":Xo,"caption-2-medium":Qo,"caption-2-semibold":en,"caption-2-bold":tn,"caption-3-medium":rn,"caption-3-semibold":on,"caption-3-bold":nn},Sl=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var f={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",u.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",u.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",u.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",u.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",u.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",u.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",u.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",u.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",u.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",u.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",u.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",u.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",u.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",u.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",u.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",u.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",u.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",u.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
6
|
-
Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",u.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",u.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",u.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",u.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",u.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",u.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",u.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",u.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",u.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",u.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",u.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",u.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",u.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",u.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",u.colorGray80)};var Ol={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",u.spacing4),largeGap:o.extend("--ft-button-large-gap","",u.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",u.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",u.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","",u.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",u.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",u.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",u.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","",u.spacing2),smallGap:o.extend("--ft-button-small-gap","",u.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",u.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",u.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","",u.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","",u.borderRadiusPill),primaryBackgroundColor:o.extend("--ft-button-primary-background-color","",f.backgroundActionPrimary),primaryColor:o.extend("--ft-button-primary-color","",f.contentGlobalOnColor),primaryIconColor:o.extend("--ft-button-primary-icon-color","",f.contentGlobalOnColor),primaryStateLayerColor:o.extend("--ft-button-primary-state-layer-color","",f.contentGlobalOnColor),primaryHoverStateLayerOpacity:o.extend("--ft-button-primary-hover-state-layer-opacity","",u.opacity16),primaryFocusStateLayerOpacity:o.extend("--ft-button-primary-focus-state-layer-opacity","",u.opacity16),primaryActiveStateLayerOpacity:o.extend("--ft-button-primary-active-state-layer-opacity","",u.opacity24),primaryDisabledComponentOpacity:o.extend("--ft-button-primary-disabled-component-opacity","",u.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",f.borderActionFocusRing),tertiaryBackgroundColor:o.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:o.extend("--ft-button-tertiary-color","",f.contentActionPrimary),tertiaryIconColor:o.extend("--ft-button-tertiary-icon-color","",f.contentActionPrimary),tertiaryStateLayerColor:o.extend("--ft-button-tertiary-state-layer-color","",f.contentActionPrimary),tertiaryHoverStateLayerOpacity:o.extend("--ft-button-tertiary-hover-state-layer-opacity","",u.opacity8),tertiaryFocusStateLayerOpacity:o.extend("--ft-button-tertiary-focus-state-layer-opacity","",u.opacity8),tertiaryActiveStateLayerOpacity:o.extend("--ft-button-tertiary-active-state-layer-opacity","",u.opacity16),tertiaryDisabledComponentOpacity:o.extend("--ft-button-tertiary-disabled-component-opacity","",u.opacity40),secondaryBackgroundColor:o.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:o.extend("--ft-button-secondary-color","",f.contentActionPrimary),secondaryIconColor:o.extend("--ft-button-secondary-icon-color","",f.contentActionPrimary),secondaryStateLayerColor:o.extend("--ft-button-secondary-state-layer-color","",f.contentActionPrimary),secondaryHoverStateLayerOpacity:o.extend("--ft-button-secondary-hover-state-layer-opacity","",u.opacity8),secondaryFocusStateLayerOpacity:o.extend("--ft-button-secondary-focus-state-layer-opacity","",u.opacity8),secondaryActiveStateLayerOpacity:o.extend("--ft-button-secondary-active-state-layer-opacity","",u.opacity16),secondaryDisabledComponentOpacity:o.extend("--ft-button-secondary-disabled-component-opacity","",u.opacity40),secondaryBorderColor:o.extend("--ft-button-secondary-border-color","",f.borderActionPrimary),neutralBackgroundColor:o.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:o.extend("--ft-button-neutral-icon-color","",f.contentGlobalSecondary),neutralColor:o.extend("--ft-button-neutral-color","",f.contentGlobalSecondary),neutralStateLayerColor:o.extend("--ft-button-neutral-state-layer-color","",f.contentGlobalSecondary),neutralHoverStateLayerOpacity:o.extend("--ft-button-neutral-hover-state-layer-opacity","",u.opacity8),neutralFocusStateLayerOpacity:o.extend("--ft-button-neutral-focus-state-layer-opacity","",u.opacity8),neutralActiveStateLayerOpacity:o.extend("--ft-button-neutral-active-state-layer-opacity","",u.opacity16),neutralDisabledComponentOpacity:o.extend("--ft-button-neutral-disabled-component-opacity","",u.opacity40)};var wl={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",u.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",u.spacing1),largeGap:o.extend("--ft-chip-large-gap","",u.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","",u.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",u.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",u.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",u.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","",u.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",u.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",u.spacing05),smallGap:o.extend("--ft-chip-small-gap","",u.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","",u.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",f.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",f.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",f.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",f.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",f.borderErrorSubtle)};var El={focusOpacity:o.extend("--ft-link-focus-opacity","",u.opacity80),focusFocusRingColor:o.extend("--ft-link-focus-focus-ring-color","",f.borderActionFocusRing),brandColor:o.extend("--ft-link-brand-color","",f.contentActionPrimary),infoColor:o.extend("--ft-link-info-color","",f.contentInfoPrimary)};var Cl={iconSize:o.extend("--ft-banner-icon-size","",u.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",u.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",u.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",u.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",u.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",u.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",u.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",u.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",f.borderInfoSubtle)};var Al={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",u.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",u.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",u.borderRadiusPill),color:o.extend("--ft-badge-color","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",f.contentActionPrimary)};var Rl={horizontalGap:o.extend("--ft-breadcrumb-horizontal-gap","",u.spacing1),verticalGap:o.extend("--ft-breadcrumb-vertical-gap","",u.spacing2),currentColor:o.extend("--ft-breadcrumb-current-color","",f.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-breadcrumb-previous-non-clickable-color","",f.contentGlobalSecondary),iconColor:o.extend("--ft-breadcrumb-icon-color","",f.contentGlobalSubtle)};var Nl={horizontalPadding:o.extend("--ft-page-header-horizontal-padding","",u.spacing6),horizontalGap:o.extend("--ft-page-header-horizontal-gap","",u.spacing4),verticalGap:o.extend("--ft-page-header-vertical-gap","",u.spacing2),classicVerticalPadding:o.extend("--ft-page-header-classic-vertical-padding","",u.spacing6),multilineVerticalPadding:o.extend("--ft-page-header-multiline-vertical-padding","",u.spacing4),inlineVerticalPadding:o.extend("--ft-page-header-inline-vertical-padding","",u.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",u.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",f.borderGlobalSubtle),titleColor:o.extend("--ft-page-header-title-color","",f.contentGlobalPrimary),subtitleColor:o.extend("--ft-page-header-subtitle-color","",f.contentGlobalSecondary)};var Il={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","",u.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",u.opacity40),shadow:o.extend("--ft-modal-shadow","",u.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",u.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",u.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",u.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",u.spacing6),containerMargin:o.extend("--ft-modal-container-margin","",u.spacing3),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-modal-header-trailing-icon-color","",f.contentGlobalSecondary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",u.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",u.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",u.spacing6),headerGap:o.extend("--ft-modal-header-gap","",u.spacing2),headerBorderBottom:o.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",u.borderRadiusM)};var _l={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",u.opacity40),shadow:o.extend("--ft-drawer-shadow","",u.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",u.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",u.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",u.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",u.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",f.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",u.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",u.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",f.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",f.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",f.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",u.spacing4),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",u.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",u.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","",u.colorGray700)};var Pl={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",u.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",u.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",u.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",u.opacity40),offColor:o.extend("--ft-tabs-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",f.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",f.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",u.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",u.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",u.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",u.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",u.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",u.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",u.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",u.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",u.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",u.opacity24),onColor:o.extend("--ft-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",f.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",f.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",u.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",u.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",u.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",u.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",f.borderActionFocusRing)};var Tl={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",u.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",u.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",u.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",u.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",u.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",u.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",u.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",u.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",u.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",f.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",f.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",u.opacity40)};var Ll={backgroundColor:o.extend("--ft-text-area-background-color","",u.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",f.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",f.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",u.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",u.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",u.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",u.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",u.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",u.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",u.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",u.borderRadiusM)};var kl={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",u.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",f.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",f.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",f.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",u.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",u.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",u.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",u.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",u.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",u.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",f.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",u.shadowElevation02)};var $l={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",u.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",u.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",u.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",u.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",u.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",u.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",u.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",u.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",u.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",u.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",u.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",f.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",f.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",f.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",u.opacity40)};var Ul={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",u.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",f.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",f.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",f.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",f.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",u.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",u.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",u.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",u.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",u.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",u.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",u.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",u.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",u.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",u.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",u.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",u.borderRadiusM)};var Fl={backgroundColor:o.extend("--ft-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",u.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",u.spacing6),titleColor:o.extend("--ft-popover-title-color","",f.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",f.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",f.contentActionPrimary),gap:o.extend("--ft-popover-gap","",u.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",u.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",u.shadowElevation02)};var Ml={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",u.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",u.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",f.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",u.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",u.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",u.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",u.spacing3),color:o.extend("--ft-collapsible-color","",f.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",f.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",f.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",f.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",u.iconSize3)};var Dl={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",u.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",u.spacing1),groupGap:o.extend("--ft-switch-group-gap","",u.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",f.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",f.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",u.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",u.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",u.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",u.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",u.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",u.opacity40),offColor:o.extend("--ft-switch-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",u.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",u.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",u.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",u.opacity40),onColor:o.extend("--ft-switch-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",u.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",u.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",f.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",u.borderRadiusS)};var Bl={color1Light:o.extend("--ft-chart-1-light","for area color charts",u.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",u.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",u.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",u.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",u.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",u.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",u.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",u.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",u.colorRed40),color5Base:o.extend("--ft-chart-5-base","",u.colorRed60),color6Light:o.extend("--ft-chart-6-light","",u.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",u.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",u.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",u.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",u.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",u.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",u.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",u.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",u.colorGray50),color10Base:o.extend("--ft-chart-10-base","",u.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",u.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",u.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",u.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",u.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",u.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",u.colorBrand200)};var Wl={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",u.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",u.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",u.borderRadiusS),gap:o.extend("--ft-notice-gap","",u.spacing2),iconSize:o.extend("--ft-notice-icon-size","",u.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",f.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",f.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",f.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",f.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",f.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",f.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",f.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",f.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",f.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",f.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",f.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",f.contentSuccessIconOnly)};var zl={color:o.extend("--ft-checkbox-color","",f.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",f.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",f.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",f.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",u.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",u.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",u.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",u.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",u.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",u.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",u.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",u.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",u.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",u.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-checkbox-gap","",u.spacing3)};var Hl={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",u.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",u.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",u.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",u.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",f.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",u.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",u.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",u.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",u.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",f.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",f.contentActionPrimary),color:o.extend("--ft-toggle-color","",f.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",f.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",u.spacing3)};var jl={color:o.extend("--ft-radio-color","",f.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",f.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",f.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",u.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",u.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",u.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",u.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",f.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",f.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",u.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",u.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",u.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",u.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",u.spacing3)};var Vl={iconSize:o.extend("--ft-notification-icon-size","",u.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",u.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",u.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",u.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",f.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",u.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",u.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",u.spacing8)};var Kl={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",u.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",u.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",u.borderRadiusS),color:o.extend("--ft-tooltip-color","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",f.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",u.opacity80),shadow:o.extend("--ft-tooltip-shadow","",u.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",u.spacing05)};var Kt;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Kt||(Kt={}));var Gt;(function(t){t.large="large",t.medium="medium",t.small="small"})(Gt||(Gt={}));function an(t){return`ftds--family-${t}`}function sn(t){return`ftds--size-${t}`}var Lr={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 pn={};F(pn,{FtNotificationEvent:()=>un,PostResizeEvent:()=>fn,PreResizeEvent:()=>dn});var un=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},dn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},fn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var En={};F(En,{computeOffsetPosition:()=>du});var Oa=["top","right","bottom","left"],Sa=["start","end"],mn=Oa.reduce((t,e)=>t.concat(e,e+"-"+Sa[0],e+"-"+Sa[1]),[]),Zt=Math.min,Ce=Math.max,qt=Math.round;var fe=t=>({x:t,y:t}),Gl={left:"right",right:"left",bottom:"top",top:"bottom"},Zl={start:"end",end:"start"};function gn(t,e,r){return Ce(t,Zt(e,r))}function kr(t,e){return typeof t=="function"?t(e):t}function ct(t){return t.split("-")[0]}function Ae(t){return t.split("-")[1]}function yn(t){return t==="x"?"y":"x"}function bn(t){return t==="y"?"height":"width"}function $r(t){return["top","bottom"].includes(ct(t))?"y":"x"}function xn(t){return yn($r(t))}function wa(t,e,r){r===void 0&&(r=!1);let n=Ae(t),i=xn(t),a=bn(i),s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=hn(s)),[s,hn(s)]}function Ea(t){return t.replace(/start|end/g,e=>Zl[e])}function hn(t){return t.replace(/left|right|bottom|top/g,e=>Gl[e])}function ql(t){return{top:0,right:0,bottom:0,left:0,...t}}function Ca(t){return typeof t!="number"?ql(t):{top:t,right:t,bottom:t,left:t}}function Ze(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Aa(t,e,r){let{reference:n,floating:i}=t,a=$r(e),s=xn(e),c=bn(s),l=ct(e),d=a==="y",p=n.x+n.width/2-i.width/2,h=n.y+n.height/2-i.height/2,g=n[c]/2-i[c]/2,y;switch(l){case"top":y={x:p,y:n.y-i.height};break;case"bottom":y={x:p,y:n.y+n.height};break;case"right":y={x:n.x+n.width,y:h};break;case"left":y={x:n.x-i.width,y:h};break;default:y={x:n.x,y:n.y}}switch(Ae(e)){case"start":y[s]-=g*(r&&d?-1:1);break;case"end":y[s]+=g*(r&&d?-1:1);break}return y}var Ra=async(t,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=r,c=a.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e)),d=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:p,y:h}=Aa(d,n,l),g=n,y={},b=0;for(let O=0;O<c.length;O++){let{name:C,fn:A}=c[O],{x:R,y:S,data:v,reset:w}=await A({x:p,y:h,initialPlacement:n,placement:g,strategy:i,middlewareData:y,rects:d,platform:s,elements:{reference:t,floating:e}});if(p=R??p,h=S??h,y={...y,[C]:{...y[C],...v}},w&&b<=50){b++,typeof w=="object"&&(w.placement&&(g=w.placement),w.rects&&(d=w.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):w.rects),{x:p,y:h}=Aa(d,g,l)),O=-1;continue}}return{x:p,y:h,placement:g,strategy:i,middlewareData:y}};async function vn(t,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:c,strategy:l}=t,{boundary:d="clippingAncestors",rootBoundary:p="viewport",elementContext:h="floating",altBoundary:g=!1,padding:y=0}=kr(e,t),b=Ca(y),C=c[g?h==="floating"?"reference":"floating":h],A=Ze(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(C)))==null||r?C:C.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:d,rootBoundary:p,strategy:l})),R=h==="floating"?{...s.floating,x:n,y:i}:s.reference,S=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),v=await(a.isElement==null?void 0:a.isElement(S))?await(a.getScale==null?void 0:a.getScale(S))||{x:1,y:1}:{x:1,y:1},w=Ze(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:R,offsetParent:S,strategy:l}):R);return{top:(A.top-w.top+b.top)/v.y,bottom:(w.bottom-A.bottom+b.bottom)/v.y,left:(A.left-w.left+b.left)/v.x,right:(w.right-A.right+b.right)/v.x}}function Yl(t,e,r){return(t?[...r.filter(i=>Ae(i)===t),...r.filter(i=>Ae(i)!==t)]:r.filter(i=>ct(i)===i)).filter(i=>t?Ae(i)===t||(e?Ea(i)!==i:!1):!0)}var Sn=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,i;let{rects:a,middlewareData:s,placement:c,platform:l,elements:d}=e,{crossAxis:p=!1,alignment:h,allowedPlacements:g=mn,autoAlignment:y=!0,...b}=kr(t,e),O=h!==void 0||g===mn?Yl(h||null,y,g):g,C=await vn(e,b),A=((r=s.autoPlacement)==null?void 0:r.index)||0,R=O[A];if(R==null)return{};let S=wa(R,a,await(l.isRTL==null?void 0:l.isRTL(d.floating)));if(c!==R)return{reset:{placement:O[0]}};let v=[C[ct(R)],C[S[0]],C[S[1]]],w=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:R,overflows:v}],I=O[A+1];if(I)return{data:{index:A+1,overflows:w},reset:{placement:I}};let _=w.map(m=>{let x=Ae(m.placement);return[m.placement,x&&p?m.overflows.slice(0,2).reduce((E,L)=>E+L,0):m.overflows[0],m.overflows]}).sort((m,x)=>m[1]-x[1]),$=((i=_.filter(m=>m[2].slice(0,Ae(m[0])?2:3).every(x=>x<=0))[0])==null?void 0:i[0])||_[0][0];return $!==c?{data:{index:A+1,overflows:w},reset:{placement:$}}:{}}}};var On=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:C=>{let{x:A,y:R}=C;return{x:A,y:R}}},...l}=kr(t,e),d={x:r,y:n},p=await vn(e,l),h=$r(ct(i)),g=yn(h),y=d[g],b=d[h];if(a){let C=g==="y"?"top":"left",A=g==="y"?"bottom":"right",R=y+p[C],S=y-p[A];y=gn(R,y,S)}if(s){let C=h==="y"?"top":"left",A=h==="y"?"bottom":"right",R=b+p[C],S=b-p[A];b=gn(R,b,S)}let O=c.fn({...e,[g]:y,[h]:b});return{...O,data:{x:O.x-r,y:O.y-n}}}}};function pe(t){return Ia(t)?(t.nodeName||"").toLowerCase():"#document"}function Z(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function he(t){var e;return(e=(Ia(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ia(t){return t instanceof Node||t instanceof Z(t).Node}function ae(t){return t instanceof Element||t instanceof Z(t).Element}function te(t){return t instanceof HTMLElement||t instanceof Z(t).HTMLElement}function Na(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Z(t).ShadowRoot}function lt(t){let{overflow:e,overflowX:r,overflowY:n,display:i}=Y(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function _a(t){return["table","td","th"].includes(pe(t))}function Fr(t){let e=Mr(),r=Y(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function Pa(t){let e=qe(t);for(;te(e)&&!Yt(e);){if(Fr(e))return e;e=qe(e)}return null}function Mr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Yt(t){return["html","body","#document"].includes(pe(t))}function Y(t){return Z(t).getComputedStyle(t)}function Jt(t){return ae(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function qe(t){if(pe(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Na(t)&&t.host||he(t);return Na(e)?e.host:e}function Ta(t){let e=qe(t);return Yt(e)?t.ownerDocument?t.ownerDocument.body:t.body:te(e)&<(e)?e:Ta(e)}function Ur(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=Ta(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=Z(i);return a?e.concat(s,s.visualViewport||[],lt(i)?i:[],s.frameElement&&r?Ur(s.frameElement):[]):e.concat(i,Ur(i,[],r))}function $a(t){let e=Y(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=te(t),a=i?t.offsetWidth:r,s=i?t.offsetHeight:n,c=qt(r)!==a||qt(n)!==s;return c&&(r=a,n=s),{width:r,height:n,$:c}}function Ua(t){return ae(t)?t:t.contextElement}function ut(t){let e=Ua(t);if(!te(e))return fe(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:a}=$a(e),s=(a?qt(r.width):r.width)/n,c=(a?qt(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var Jl=fe(0);function Fa(t){let e=Z(t);return!Mr()||!e.visualViewport?Jl:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Xl(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==Z(t)?!1:e}function Xt(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),a=Ua(t),s=fe(1);e&&(n?ae(n)&&(s=ut(n)):s=ut(t));let c=Xl(a,r,n)?Fa(a):fe(0),l=(i.left+c.x)/s.x,d=(i.top+c.y)/s.y,p=i.width/s.x,h=i.height/s.y;if(a){let g=Z(a),y=n&&ae(n)?Z(n):n,b=g.frameElement;for(;b&&n&&y!==g;){let O=ut(b),C=b.getBoundingClientRect(),A=Y(b),R=C.left+(b.clientLeft+parseFloat(A.paddingLeft))*O.x,S=C.top+(b.clientTop+parseFloat(A.paddingTop))*O.y;l*=O.x,d*=O.y,p*=O.x,h*=O.y,l+=R,d+=S,b=Z(b).frameElement}}return Ze({width:p,height:h,x:l,y:d})}function Ql(t){let{rect:e,offsetParent:r,strategy:n}=t,i=te(r),a=he(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},c=fe(1),l=fe(0);if((i||!i&&n!=="fixed")&&((pe(r)!=="body"||lt(a))&&(s=Jt(r)),te(r))){let d=Xt(r);c=ut(r),l.x=d.x+r.clientLeft,l.y=d.y+r.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-s.scrollLeft*c.x+l.x,y:e.y*c.y-s.scrollTop*c.y+l.y}}function eu(t){return Array.from(t.getClientRects())}function Ma(t){return Xt(he(t)).left+Jt(t).scrollLeft}function tu(t){let e=he(t),r=Jt(t),n=t.ownerDocument.body,i=Ce(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=Ce(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+Ma(t),c=-r.scrollTop;return Y(n).direction==="rtl"&&(s+=Ce(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:c}}function ru(t,e){let r=Z(t),n=he(t),i=r.visualViewport,a=n.clientWidth,s=n.clientHeight,c=0,l=0;if(i){a=i.width,s=i.height;let d=Mr();(!d||d&&e==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}return{width:a,height:s,x:c,y:l}}function ou(t,e){let r=Xt(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,a=te(t)?ut(t):fe(1),s=t.clientWidth*a.x,c=t.clientHeight*a.y,l=i*a.x,d=n*a.y;return{width:s,height:c,x:l,y:d}}function La(t,e,r){let n;if(e==="viewport")n=ru(t,r);else if(e==="document")n=tu(he(t));else if(ae(e))n=ou(e,r);else{let i=Fa(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return Ze(n)}function Da(t,e){let r=qe(t);return r===e||!ae(r)||Yt(r)?!1:Y(r).position==="fixed"||Da(r,e)}function nu(t,e){let r=e.get(t);if(r)return r;let n=Ur(t,[],!1).filter(c=>ae(c)&&pe(c)!=="body"),i=null,a=Y(t).position==="fixed",s=a?qe(t):t;for(;ae(s)&&!Yt(s);){let c=Y(s),l=Fr(s);!l&&c.position==="fixed"&&(i=null),(a?!l&&!i:!l&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||lt(s)&&!l&&Da(t,s))?n=n.filter(p=>p!==s):i=c,s=qe(s)}return e.set(t,n),n}function iu(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,s=[...r==="clippingAncestors"?nu(e,this._c):[].concat(r),n],c=s[0],l=s.reduce((d,p)=>{let h=La(e,p,i);return d.top=Ce(h.top,d.top),d.right=Zt(h.right,d.right),d.bottom=Zt(h.bottom,d.bottom),d.left=Ce(h.left,d.left),d},La(e,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function au(t){return $a(t)}function su(t,e,r){let n=te(e),i=he(e),a=r==="fixed",s=Xt(t,!0,a,e),c={scrollLeft:0,scrollTop:0},l=fe(0);if(n||!n&&!a)if((pe(e)!=="body"||lt(i))&&(c=Jt(e)),n){let d=Xt(e,!0,a,e);l.x=d.x+e.clientLeft,l.y=d.y+e.clientTop}else i&&(l.x=Ma(i));return{x:s.left+c.scrollLeft-l.x,y:s.top+c.scrollTop-l.y,width:s.width,height:s.height}}function ka(t,e){return!te(t)||Y(t).position==="fixed"?null:e?e(t):t.offsetParent}function Ba(t,e){let r=Z(t);if(!te(t))return r;let n=ka(t,e);for(;n&&_a(n)&&Y(n).position==="static";)n=ka(n,e);return n&&(pe(n)==="html"||pe(n)==="body"&&Y(n).position==="static"&&!Fr(n))?r:n||Pa(t)||r}var cu=async function(t){let{reference:e,floating:r,strategy:n}=t,i=this.getOffsetParent||Ba,a=this.getDimensions;return{reference:su(e,await i(r),n),floating:{x:0,y:0,...await a(r)}}};function lu(t){return Y(t).direction==="rtl"}var Dr={convertOffsetParentRelativeRectToViewportRelativeRect:Ql,getDocumentElement:he,getClippingRect:iu,getOffsetParent:Ba,getElementRects:cu,getClientRects:eu,getDimensions:au,getScale:ut,isElement:ae,isRTL:lu};var Wa=(t,e,r)=>{let n=new Map,i={platform:Dr,...r},a={...i.platform,_c:n};return Ra(t,e,{...i,platform:a})};function za(t){return uu(t)}function wn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function uu(t){for(let e=t;e;e=wn(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=wn(t);e;e=wn(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}async function du(t,e,r){return Wa(t,e,{platform:{...Dr,getOffsetParent:n=>Dr.getOffsetParent(n,za)},middleware:[On({crossAxis:!0}),Sn({allowedPlacements:[r]})]})}var Nn={};F(Nn,{FtdsBase:()=>Rn,toFtdsBase:()=>Ya});var An={};F(An,{FtLitElement:()=>K});var Cn={};F(Cn,{ScopedRegistryLitElement:()=>Qt});var Br=window,fu=Br.ShadowRoot&&(Br.ShadyCSS===void 0||Br.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,jm=Symbol();var Ha=(t,e)=>{fu?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),i=Br.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)})};var Qt=class extends ue{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return Ha(n,e.elementStyles),n}};var Wr=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ga,ja=Symbol("constructorPrototype"),Va=Symbol("constructorName"),Za=Symbol("exportpartsDebouncer"),Ka=Symbol("dynamicDependenciesLoaded"),K=class extends Qt{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Ga]=new we(5),this[Va]=this.constructor.name,this[ja]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Va]&&Object.setPrototypeOf(this,this[ja])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[Ka]||(e[Ka]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var 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(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,r,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[Za].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,n,i,a,s,c;let l=g=>g!=null&&g.trim().length>0,d=e.filter(l).map(g=>g.trim());if(d.length===0){this.removeAttribute("exportparts");return}let p=new Set;for(let g of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let y=(a=(i=g.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],b=(c=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(O=>O.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...y,...b).filter(l).map(O=>O.trim()).forEach(O=>p.add(O))}if(p.size===0){this.removeAttribute("exportparts");return}let h=[...p.values()].flatMap(g=>d.map(y=>`${g}:${y}--${g}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};Ga=Za;Wr([T()],K.prototype,"exportpartsPrefix",void 0);Wr([Ee([])],K.prototype,"exportpartsPrefixes",void 0);Wr([T()],K.prototype,"customStylesheet",void 0);Wr([Ht()],K.prototype,"useAdoptedStyleSheets",void 0);var qa=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a};function Ya(t){class e extends t{constructor(){super(...arguments),this.size=Gt.medium,this.family=Kt.neutral}getDesignSystemBaseClasses(){return{[an(this.family)]:!0,[sn(this.size)]:!0}}}return qa([T()],e.prototype,"size",void 0),qa([T()],e.prototype,"family",void 0),e}var Rn=class extends Ya(K){};var Ja={};var Tn={};F(Tn,{highlightHtml:()=>Pn,highlightHtmlColorCssVariable:()=>Xa,highlightHtmlStyles:()=>hu});var Ye=class t{constructor(e,r=!0,n=[],i=5e3){this.ctx=e,this.iframes=r,this.exclude=n,this.iframesTimeout=i}static matches(e,r){let n=typeof r=="string"?[r]:r,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let i=r.filter(a=>a.contains(n)).length>0;r.indexOf(n)===-1&&!i&&r.push(n)}),r}getIframeContents(e,r,n=()=>{}){let i;try{let a=e.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&r(i)}isIframeBlank(e){let r="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(e,r,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,n):this.getIframeContents(e,r,n):this.observeIframeLoad(e,r,n)}catch{n()}}waitForIframes(e,r){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||r()})},i=>{i||r()})}forEachIframe(e,r,n,i=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,c=0;a=Array.prototype.slice.call(a);let l=()=>{--s<=0&&i(c)};s||l(),a.forEach(d=>{t.matches(d,this.exclude)?l():this.onIframeReady(d,p=>{r(d)&&(c++,n(p)),l()},l)})}createIterator(e,r,n){return document.createNodeIterator(e,r,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,n){let i=e.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(r!==null){let s=r.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_FOLLOWING;if(s&c)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),n;return r===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:r,node:n}}checkIframeFilter(e,r,n,i){let a=!1,s=!1;return i.forEach((c,l)=>{c.val===n&&(a=l,s=c.handled)}),this.compareNodeIframe(e,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(e,r,n,i){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,n,i)})})}iterateThroughNodes(e,r,n,i,a){let s=this.createIterator(r,e,i),c=[],l=[],d,p,h=()=>({prevNode:p,node:d}=this.getIteratorNode(s),d);for(;h();)this.iframes&&this.forEachIframe(r,g=>this.checkIframeFilter(d,p,g,c),g=>{this.createInstanceOnIframe(g).forEachNode(e,y=>l.push(y),i)}),l.push(d);l.forEach(g=>{n(g)}),this.iframes&&this.handleOpenIframes(c,e,n,i),a()}forEachNode(e,r,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(c=>{let l=()=>{this.iterateThroughNodes(e,c,r,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(c,l):l()})}};var er=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new Ye(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let s=r[a],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);c!==""&&l!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(l)})`,`gm${n}`),i+`(${this.processSynomyms(c)}|${this.processSynomyms(l)})`+i))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return e.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),i.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(c=>{s+=`|${this.escapeStr(c)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let r=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&r.indexOf(i)===-1&&r.push(i)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,i)=>i.length-n.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],n=0;return e.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:c}=this.callNoMatchOnInvalidRanges(i,n);c&&(i.start=a,i.length=s-a,r.push(i),n=s)}),r}callNoMatchOnInvalidRanges(e,r){let n,i,a=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-r>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:i,valid:a}}checkWhitespaceRanges(e,r,n){let i,a=!0,s=n.length,c=r-s,l=parseInt(e.start,10)-c;return l=l>s?s:l,i=l+parseInt(e.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),l<0||i-l<0||l>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(l,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:l,end:i,valid:a}}getTextNodes(e){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:r.length,end:(r+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:n})})}matchesExclude(e){return Ye.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,n){let i=this.opt.element?this.opt.element:"mark",a=e.splitText(r),s=a.splitText(n-r),c=document.createElement(i);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=a.textContent,a.parentNode.replaceChild(c,a),s}wrapRangeInMappedTextNode(e,r,n,i,a){e.nodes.every((s,c)=>{let l=e.nodes[c+1];if(typeof l>"u"||l.start>r){if(!i(s.node))return!1;let d=r-s.start,p=(n>s.end?s.end:n)-s.start,h=e.value.substr(0,s.start),g=e.value.substr(p+s.start);if(s.node=this.wrapRangeInTextNode(s.node,d,p),e.value=h+g,e.nodes.forEach((y,b)=>{b>=c&&(e.nodes[b].start>0&&b!==c&&(e.nodes[b].start-=p),e.nodes[b].end-=p)}),n-=p,a(s.node.previousSibling,s.start),n>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(c=>{c.nodes.forEach(l=>{l=l.node;let d;for(;(d=e.exec(l.textContent))!==null&&d[s]!=="";){if(!n(d[s],l))continue;let p=d.index;if(s!==0)for(let h=1;h<s;h++)p+=d[h].length;l=this.wrapRangeInTextNode(l,p,p+d[s].length),i(l.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(c=>{let l;for(;(l=e.exec(c.value))!==null&&l[s]!=="";){let d=l.index;if(s!==0)for(let h=1;h<s;h++)d+=l[h].length;let p=d+l[s].length;this.wrapRangeInMappedTextNode(c,d,p,h=>n(l[s],h),(h,g)=>{e.lastIndex=g,i(h)})}a()})}wrapRangeFromIndex(e,r,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((c,l)=>{let{start:d,end:p,valid:h}=this.checkWhitespaceRanges(c,s,a.value);h&&this.wrapRangeInMappedTextNode(a,d,p,g=>r(g,c,a.value.substring(d,p),l),g=>{n(g,c)})}),i()})}unwrapMatches(e){let r=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));r.replaceChild(n,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(s,c)=>this.opt.filter(c,s,n),a,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,r){this.opt=r;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),c=this.opt.caseSensitive?"":"i",l=d=>{let p=new RegExp(this.createRegExp(d),`gm${c}`),h=0;this.log(`Searching with expression "${p}"`),this[i](p,1,(g,y)=>this.opt.filter(y,d,n,h),g=>{h++,n++,this.opt.each(g)},()=>{h===0&&this.opt.noMatch(d),a[s-1]===d?this.opt.done(n):l(a[a.indexOf(d)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):l(a[0])}markRanges(e,r){this.opt=r;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,c,l)=>this.opt.filter(a,s,c,l),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let 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=Ye.matches(n,r),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function In(t){let e=new er(t);return this.mark=(r,n)=>(e.mark(r,n),this),this.markRegExp=(r,n)=>(e.markRegExp(r,n),this),this.markRanges=(r,n)=>(e.markRanges(r,n),this),this.unmark=r=>(e.unmark(r),this),this}var pu=In,Xa=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),hu=k`
|
|
5
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),ea=/'/g,ta=/"/g,ia=/^(?:script|style|textarea|title)$/i,aa=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),zt=aa(1),Zc=aa(2),xe=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),ra=new WeakMap,He=je.createTreeWalker(je,129);function sa(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ji!==void 0?Ji.createHTML(e):e}var ca=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",s=Mt;for(let c=0;c<r;c++){let l=t[c],d,p,h=-1,g=0;for(;g<l.length&&(s.lastIndex=g,p=s.exec(l),p!==null);)g=s.lastIndex,s===Mt?p[1]==="!--"?s=Xi:p[1]!==void 0?s=Qi:p[2]!==void 0?(ia.test(p[2])&&(i=RegExp("</"+p[2],"g")),s=ze):p[3]!==void 0&&(s=ze):s===ze?p[0]===">"?(s=i??Mt,h=-1):p[1]===void 0?h=-2:(h=s.lastIndex-p[2].length,d=p[1],s=p[3]===void 0?ze:p[3]==='"'?ta:ea):s===ta||s===ea?s=ze:s===Xi||s===Qi?s=Mt:(s=ze,i=void 0);let y=s===ze&&t[c+1].startsWith("/>")?" ":"";a+=s===Mt?l+Gc:h>=0?(n.push(d),l.slice(0,h)+yo+l.slice(h)+le+y):l+le+(h===-2?c:y)}return[sa(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},Wt=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,l=this.parts,[d,p]=ca(e,r);if(this.el=t.createElement(d,n),He.currentNode=this.el.content,r===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=He.nextNode())!==null&&l.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(yo)){let g=p[s++],y=i.getAttribute(h).split(le),b=/([.?@])?(.*)/.exec(g);l.push({type:1,index:a,name:b[2],strings:y,ctor:b[1]==="."?Ar:b[1]==="?"?Rr:b[1]==="@"?Nr:Ke}),i.removeAttribute(h)}else h.startsWith(le)&&(l.push({type:6,index:a}),i.removeAttribute(h));if(ia.test(i.tagName)){let h=i.textContent.split(le),g=h.length-1;if(g>0){i.textContent=Er?Er.emptyScript:"";for(let y=0;y<g;y++)i.append(h[y],Dt()),He.nextNode(),l.push({type:2,index:++a});i.append(h[g],Dt())}}}else if(i.nodeType===8)if(i.data===bo)l.push({type:2,index:a});else{let h=-1;for(;(h=i.data.indexOf(le,h+1))!==-1;)l.push({type:7,index:a}),h+=le.length-1}a++}}static createElement(e,r){let n=je.createElement("template");return n.innerHTML=e,n}};function Ve(t,e,r=t,n){if(e===xe)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=Bt(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=Ve(t,i._$AS(t,e.values),i,n)),e}var Cr=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,i=(e?.creationScope??je).importNode(r,!0);He.currentNode=i;let a=He.nextNode(),s=0,c=0,l=n[0];for(;l!==void 0;){if(s===l.index){let d;l.type===2?d=new ot(a,a.nextSibling,this,e):l.type===1?d=new l.ctor(a,l.name,l.strings,this,e):l.type===6&&(d=new Ir(a,this,e)),this._$AV.push(d),l=n[++c]}s!==l?.index&&(a=He.nextNode(),s++)}return He.currentNode=je,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},ot=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Ve(this,e,r),Bt(e)?e===W||e==null||e===""?(this._$AH!==W&&this._$AR(),this._$AH=W):e!==this._$AH&&e!==xe&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):na(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==W&&Bt(this._$AH)?this._$AA.nextSibling.data=e:this.$(je.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Wt.createElement(sa(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new Cr(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=ra.get(e.strings);return r===void 0&&ra.set(e.strings,r=new Wt(e)),r}T(e){oa(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of e)i===r.length?r.push(n=new t(this.k(Dt()),this.k(Dt()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Ke=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=W,this._$AN=void 0,this.element=e,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=W}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=Ve(this,e,r,0),s=!Bt(e)||e!==this._$AH&&e!==xe,s&&(this._$AH=e);else{let c=e,l,d;for(e=a[0],l=0;l<a.length-1;l++)d=Ve(this,c[n+l],r,l),d===xe&&(d=this._$AH[l]),s||=!Bt(d)||d!==this._$AH[l],d===W?e=W:e!==W&&(e+=(d??"")+a[l+1]),this._$AH[l]=d}s&&!i&&this.O(e)}O(e){e===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Ar=class extends Ke{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===W?void 0:e}},Rr=class extends Ke{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==W)}},Nr=class extends Ke{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=Ve(this,e,r,0)??W)===xe)return;let n=this._$AH,i=e===W&&n!==W||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==W&&(n===W||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Ir=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Ve(this,e)}},qc={j:yo,P:le,A:bo,C:1,M:ca,L:Cr,R:na,V:Ve,D:ot,I:Ke,H:Rr,N:Nr,U:Ar,B:Ir},Yc=go.litHtmlPolyfillSupport;Yc?.(Wt,ot),(go.litHtmlVersions??=[]).push("3.1.0");var xo=(t,e,r)=>{let n=r?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=r?.renderBefore??null;n._$litPart$=i=new ot(e.insertBefore(Dt(),a),a,void 0,r??{})}return i._$AI(t),i};var ue=class extends oe{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=xo(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return xe}};ue._$litElement$=!0,ue.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ue});var Jc=globalThis.litElementPolyfillSupport;Jc?.({LitElement:ue});var Xc={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Md=!1;var So={};F(So,{customElement:()=>Qc,eventOptions:()=>tl,property:()=>L,query:()=>rl,queryAll:()=>nl,queryAssignedElements:()=>al,queryAssignedNodes:()=>sl,queryAsync:()=>il,standardProperty:()=>la,state:()=>Ht});var Qc=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var el={attribute:!0,type:String,converter:_t,reflect:!1,hasChanged:fr},la=(t=el,e,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,t),n==="accessor"){let{name:s}=r;return{set(c){let l=e.get.call(this);e.set.call(this,c),this.requestUpdate(s,l,t)},init(c){return c!==void 0&&this.C(s,void 0,t),c}}}if(n==="setter"){let{name:s}=r;return function(c){let l=this[s];e.call(this,c),this.requestUpdate(s,l,t)}}throw Error("Unsupported decorator location: "+n)};function L(t){return(e,r)=>typeof r=="object"?la(t,e,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})(t,e,r)}function Ht(t){return L({...t,state:!0,attribute:!1})}function tl(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var Q=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function rl(t,e){return(r,n,i)=>{let a=s=>s.renderRoot?.querySelector(t)??null;if(e){let{get:s,set:c}=typeof n=="object"?r:i??(()=>{let l=Symbol();return{get(){return this[l]},set(d){this[l]=d}}})();return Q(r,n,{get(){let l=s.call(this);return l===void 0&&(l=a(this),(l!==null||this.hasUpdated)&&c.call(this,l)),l}})}return Q(r,n,{get(){return a(this)}})}}var ol;function nl(t){return(e,r)=>Q(e,r,{get(){return(this.renderRoot??(ol??=document.createDocumentFragment())).querySelectorAll(t)}})}function il(t){return(e,r)=>Q(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function al(t){return(e,r)=>{let{slot:n,selector:i}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Q(e,r,{get(){let s=this.renderRoot?.querySelector(a),c=s?.assignedElements(t)??[];return i===void 0?c:c.filter(l=>l.matches(i))}})}}function sl(t){return(e,r)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Q(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var Oo={};F(Oo,{repeat:()=>ul});var ve={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Se=t=>(...e)=>({_$litDirective$:t,values:e}),ne=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,n){this._$Ct=e,this._$AM=r,this._$Ci=n}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{D:cl}=Gi;var ua=()=>document.createComment(""),nt=(t,e,r)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=n.insertBefore(ua(),i),s=n.insertBefore(ua(),i);r=new cl(a,s,t,t.options)}else{let a=r._$AB.nextSibling,s=r._$AM,c=s!==t;if(c){let l;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(l=t._$AU)!==s._$AU&&r._$AP(l)}if(a!==i||c){let l=r._$AA;for(;l!==a;){let d=l.nextSibling;n.insertBefore(l,i),l=d}}}return r},Oe=(t,e,r=t)=>(t._$AI(e,r),t),ll={},da=(t,e=ll)=>t._$AH=e,fa=t=>t._$AH,_r=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let n=e.nextSibling;e.remove(),e=n}};var pa=(t,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},ul=Se(class extends ne{constructor(t){if(super(t),t.type!==ve.CHILD)throw Error("repeat() can only be used in text expressions")}ht(t,e,r){let n;r===void 0?r=e:e!==void 0&&(n=e);let i=[],a=[],s=0;for(let c of t)i[s]=n?n(c,s):s,a[s]=r(c,s),s++;return{values:a,keys:i}}render(t,e,r){return this.ht(t,e,r).values}update(t,[e,r,n]){let i=fa(t),{values:a,keys:s}=this.ht(e,r,n);if(!Array.isArray(i))return this.dt=s,a;let c=this.dt??=[],l=[],d,p,h=0,g=i.length-1,y=0,b=a.length-1;for(;h<=g&&y<=b;)if(i[h]===null)h++;else if(i[g]===null)g--;else if(c[h]===s[y])l[y]=Oe(i[h],a[y]),h++,y++;else if(c[g]===s[b])l[b]=Oe(i[g],a[b]),g--,b--;else if(c[h]===s[b])l[b]=Oe(i[h],a[b]),nt(t,l[b+1],i[h]),h++,b--;else if(c[g]===s[y])l[y]=Oe(i[g],a[y]),nt(t,i[h],i[g]),g--,y++;else if(d===void 0&&(d=pa(s,y,b),p=pa(c,h,g)),d.has(c[h]))if(d.has(c[g])){let O=p.get(s[y]),C=O!==void 0?i[O]:null;if(C===null){let A=nt(t,i[h]);Oe(A,a[y]),l[y]=A}else l[y]=Oe(C,a[y]),nt(t,i[h],C),i[O]=null;y++}else _r(i[g]),g--;else _r(i[h]),h++;for(;y<=b;){let O=nt(t,l[b+1]);Oe(O,a[y]),l[y++]=O}for(;h<=g;){let O=i[h++];O!==null&&_r(O)}return this.dt=s,da(t,l),q}});var wo={};F(wo,{classMap:()=>dl});var dl=Se(class extends ne{constructor(t){if(super(t),t.type!==ve.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.it===void 0){this.it=new Set,t.strings!==void 0&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(e)}let r=t.element.classList;for(let n of this.it)n in e||(r.remove(n),this.it.delete(n));for(let n in e){let i=!!e[n];i===this.it.has(n)||this.st?.has(n)||(i?(r.add(n),this.it.add(n)):(r.remove(n),this.it.delete(n)))}return q}});var Eo={};F(Eo,{styleMap:()=>pl});var ha="important",fl=" !"+ha,pl=Se(class extends ne{constructor(t){if(super(t),t.type!==ve.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{let n=t[r];return n==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let n of this.ut)e[n]==null&&(this.ut.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in e){let i=e[n];if(i!=null){this.ut.add(n);let a=typeof i=="string"&&i.endsWith(fl);n.includes("-")||a?r.setProperty(n,a?i.slice(0,-11):i,a?ha:""):r[n]=i}}return q}});var Ao={};F(Ao,{UnsafeHTMLDirective:()=>it,unsafeHTML:()=>Co});var it=class extends ne{constructor(e){if(super(e),this.et=D,e.type!==ve.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===D||e==null)return this.vt=void 0,this.et=e;if(e===q)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;let r=[e];return r.raw=r,this.vt={_$litType$:this.constructor.resultType,strings:r,values:[]}}};it.directiveName="unsafeHTML",it.resultType=1;var Co=Se(it);var No={};F(No,{CacheRegistry:()=>ie});var Ro={};F(Ro,{CancelablePromise:()=>st,CanceledPromiseError:()=>at,cancelable:()=>Pr});var at=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},st=class extends Promise{constructor(e){super((r,n)=>e(i=>{this.isCanceled?n(new at("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new at("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Pr=t=>new st((e,r)=>t.then(e).catch(r));var ie=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,r){this.loaders[e]=r,this.finalContent.delete(e)}registerFinal(e,r){this.loaders[e]=r,this.finalContent.add(e)}clearAll(){for(let e in this.content)this.clear(e)}clear(e){this.finalContent.has(e)||this.forceClear(e)}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof st&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,r){this.forceClear(e),this.register(e,async()=>r),this.content[e]=r}setFinal(e,r){this.forceClear(e),this.registerFinal(e,async()=>r),this.content[e]=r}async get(e,r,n){if(this.content[e]===void 0){if(r=r??this.loaders[e],r==null)throw new Error("Unknown cache key "+e);let i=Pr(r());return this.content[e]=i,i.then(a=>(this.content[e]=a,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),a))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var _o={};F(_o,{ClusteringHelper:()=>Io});var Io=class t{constructor(e,r,n,i){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(e,r){var n,i;let a=((i=(n=e?.map)!==null&&n!==void 0?n:e?.document)!==null&&i!==void 0?i:e?.topic).metadata;return r==null?t.flattenMetadata(a):t.flattenMetadata(a.find(s=>s.key===r))}static flattenMetadata(e){if(Array.isArray(e))return e.map(n=>t.flattenMetadata(n)).filter(n=>n!=null);let r=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!r))if(r){let n=[],i=[];return e.hierarchicalValues.forEach(a=>{n.push(a.join(" > ")),a.length>2?i.push(`... > ${a[a.length-1]}`):i.push(a.join(" > "))}),{key:e.key,label:e.label,value:n.join(", "),displayValue:i.join(", ")}}else{let n=e.values.join(", ");return{key:e.key,label:e.label,value:n,displayValue:n}}}computeClustersItemsForMetadata(e,r,n="No value"){var i,a;let s=t.extractResultMetadata(this.selectedResult,e),c=(i=s?.label)!==null&&i!==void 0?i:(a=this.getMetadataDescriptor(e))===null||a===void 0?void 0:a.label;return this.allResults.map(d=>t.extractResultMetadata(d,e)).map(d=>d??{key:e,label:c,value:void 0,displayValue:n}).filter(d=>d.value!=s?.value).filter((d,p,h)=>h.findIndex(g=>g.value===d.value)===p).map(d=>({result:this.findBestResultForMetadataValue(e,d.value),metadata:d})).sort((d,p)=>this.compareMetadata(d.metadata.value,p.metadata.value,e,r))}compareMetadata(e,r,n,i){if(e==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",c=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let l=e.localeCompare(r,i,{numeric:!0});return c?l*-1:l}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let n=this.allResults.filter(l=>{var d;return((d=t.extractResultMetadata(l,e))===null||d===void 0?void 0:d.value)==r}),a=[...t.extractResultMetadata(this.selectedResult).filter(l=>this.clusteringMetadata.has(l.key)).filter(l=>l.key!==e)],s,c=-1;for(let l of n){let d=this.countMatchingMetadata(l,a);if(d>c&&(c=d,s=l,d===a.length))break}return s}countMatchingMetadata(e,r){return t.extractResultMetadata(e).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}};var Po={};F(Po,{Debouncer:()=>we});var we=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(c){i(c);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Lo={};F(Lo,{customElement:()=>Ge,isNumber:()=>ba,jsonProperty:()=>Ee,optionalNumberProperty:()=>vl});var To={};F(To,{dateReviver:()=>ml,deepEqual:()=>ee,delay:()=>Tr,eventPathContainsMatchingElement:()=>yl,flatDeep:()=>ga,hasChanged:()=>jt,last:()=>xl,minmax:()=>bl,parseDate:()=>ya,waitFor:()=>ma,waitUntil:()=>hl});var Tr=t=>new Promise(e=>setTimeout(e,t));async function hl(t,e=10,r=2e4){await ma(async()=>await t()||void 0,e,r)}async function ma(t,e=10,r=2e4){let n=await t(),i,a;for(i=a=performance.now();n==null&&(!r||a-i<r);)await Tr(e),n=await t(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function ga(t,e){return t.flatMap(r=>[r,...ga(e(r),e)])}function ml(...t){return function(e,r){return t.includes(e)?ya(r):r}}function ya(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,n,i)=>r+n+":"+i),new Date(t)}function gl(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,n,i;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!ee(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!ee(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(i=Object.keys(t),r=i.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=r;n--!==0;){var a=i[n];if(!ee(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function ee(t,e){try{return gl(t,e)}catch{return!1}}function jt(t,e){return!ee(t,e)}function yl(t,e,r=window.document.body){if(e.length>0){let n=t.composedPath();for(let i of n){if(i===r)return!1;if(i.matches&&e.some(a=>i.matches(a)))return!0}}return!1}function bl(t,e,r){return Math.min(Math.max(t,e),r)}function xl(t){return t[t.length-1]}var Ge=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function Ee(t,e){let r=()=>JSON.parse(JSON.stringify(t));return L({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:jt,...e??{}})}function vl(t){return L({type:Object,converter:{fromAttribute:e=>{if(e!=null)return ba(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function ba(t){return!isNaN(parseFloat(t))}var ln={};F(ln,{designSystemVariables:()=>Lr});var cn={};F(cn,{DesignSystemFamily:()=>Kt,DesignSystemSize:()=>Gt,FtCssVariableFactory:()=>o,badge:()=>Al,banner:()=>Cl,breadcrumb:()=>Rl,button:()=>Ol,chart:()=>Bl,checkbox:()=>zl,chip:()=>wl,collapsible:()=>Ml,comboboxMultiSelect:()=>Ul,comboboxSingleSelect:()=>$l,drawer:()=>_l,floatingMenu:()=>kl,foundation:()=>u,link:()=>El,modal:()=>Il,notice:()=>Wl,notification:()=>Vl,pageHeader:()=>Nl,popover:()=>Fl,radio:()=>jl,resolveFamilyClass:()=>an,resolveSizeClass:()=>sn,semantic:()=>f,setVariable:()=>xa,switch_:()=>Dl,tabs:()=>Pl,textArea:()=>Ll,textInput:()=>Tl,toggle:()=>Hl,tooltip:()=>Kl,typographies:()=>Vt,typographyBody1Medium:()=>Do,typographyBody1Regular:()=>Mo,typographyBody1Semibold:()=>Bo,typographyBody2Medium:()=>zo,typographyBody2MediumUnderline:()=>va,typographyBody2Regular:()=>Wo,typographyBody2Semibold:()=>Ho,typographyCaption1Bold:()=>Xo,typographyCaption1Medium:()=>Yo,typographyCaption1Semibold:()=>Jo,typographyCaption2Bold:()=>tn,typographyCaption2Medium:()=>Qo,typographyCaption2Semibold:()=>en,typographyCaption3Bold:()=>nn,typographyCaption3Medium:()=>rn,typographyCaption3Semibold:()=>on,typographyDisplay:()=>ko,typographyLabel1Bold:()=>Ko,typographyLabel1Medium:()=>jo,typographyLabel1Semibold:()=>Vo,typographyLabel2Bold:()=>qo,typographyLabel2Medium:()=>Go,typographyLabel2Semibold:()=>Zo,typographyTitle1:()=>$o,typographyTitle2:()=>Uo,typographyTitle3:()=>Fo,typographyVariants:()=>Sl});var de=t=>typeof t=="string"?We(t):t,o=class{static create(e,r,n,i){let a=c=>de(c??i),s=T`var(${de(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>T`var(${de(e)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,r,n,i){let a=c=>n.get(c??i),s=T`var(${de(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>T`var(${de(e)}, ${a(c)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,r){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):de(a??e.lastResortDefaultValue()),i=T`var(${de(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=r,i.defaultCssValue=n,i.get=a=>T`var(${de(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function xa(t,e){return de(`${t.name}: ${e}`)}var u={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)")},ko={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")},$o={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")},Uo={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")},Fo={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")},Mo={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")},Do={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")},Bo={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")},Wo={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")},zo={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")},va={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")},Ho={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")},jo={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")},Vo={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")},Ko={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")},Go={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")},Zo={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")},qo={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")},Yo={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")},Jo={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")},Xo={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")},Qo={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")},en={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")},tn={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")},rn={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")},on={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")},nn={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")},Vt={display:ko,"title-1":$o,"title-2":Uo,"title-3":Fo,"body-1-regular":Mo,"body-1-medium":Do,"body-1-semibold":Bo,"body-2-regular":Wo,"body-2-medium":zo,"body-2-medium-underline":va,"body-2-semibold":Ho,"label-1-medium":jo,"label-1-semibold":Vo,"label-1-bold":Ko,"label-2-medium":Go,"label-2-semibold":Zo,"label-2-bold":qo,"caption-1-medium":Yo,"caption-1-semibold":Jo,"caption-1-bold":Xo,"caption-2-medium":Qo,"caption-2-semibold":en,"caption-2-bold":tn,"caption-3-medium":rn,"caption-3-semibold":on,"caption-3-bold":nn},Sl=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var f={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",u.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",u.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",u.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",u.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",u.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",u.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",u.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",u.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",u.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",u.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",u.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",u.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",u.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",u.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",u.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",u.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",u.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",u.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
6
|
+
Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",u.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",u.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",u.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",u.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",u.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",u.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",u.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",u.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",u.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",u.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",u.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",u.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",u.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",u.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",u.colorGray80)};var Ol={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",u.spacing4),largeGap:o.extend("--ft-button-large-gap","",u.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",u.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",u.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","",u.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",u.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",u.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",u.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","",u.spacing2),smallGap:o.extend("--ft-button-small-gap","",u.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",u.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",u.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","",u.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","",u.borderRadiusPill),primaryBackgroundColor:o.extend("--ft-button-primary-background-color","",f.backgroundActionPrimary),primaryColor:o.extend("--ft-button-primary-color","",f.contentGlobalOnColor),primaryIconColor:o.extend("--ft-button-primary-icon-color","",f.contentGlobalOnColor),primaryStateLayerColor:o.extend("--ft-button-primary-state-layer-color","",f.contentGlobalOnColor),primaryHoverStateLayerOpacity:o.extend("--ft-button-primary-hover-state-layer-opacity","",u.opacity16),primaryFocusStateLayerOpacity:o.extend("--ft-button-primary-focus-state-layer-opacity","",u.opacity16),primaryActiveStateLayerOpacity:o.extend("--ft-button-primary-active-state-layer-opacity","",u.opacity24),primaryDisabledComponentOpacity:o.extend("--ft-button-primary-disabled-component-opacity","",u.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",f.borderActionFocusRing),tertiaryBackgroundColor:o.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:o.extend("--ft-button-tertiary-color","",f.contentActionPrimary),tertiaryIconColor:o.extend("--ft-button-tertiary-icon-color","",f.contentActionPrimary),tertiaryStateLayerColor:o.extend("--ft-button-tertiary-state-layer-color","",f.contentActionPrimary),tertiaryHoverStateLayerOpacity:o.extend("--ft-button-tertiary-hover-state-layer-opacity","",u.opacity8),tertiaryFocusStateLayerOpacity:o.extend("--ft-button-tertiary-focus-state-layer-opacity","",u.opacity8),tertiaryActiveStateLayerOpacity:o.extend("--ft-button-tertiary-active-state-layer-opacity","",u.opacity16),tertiaryDisabledComponentOpacity:o.extend("--ft-button-tertiary-disabled-component-opacity","",u.opacity40),secondaryBackgroundColor:o.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:o.extend("--ft-button-secondary-color","",f.contentActionPrimary),secondaryIconColor:o.extend("--ft-button-secondary-icon-color","",f.contentActionPrimary),secondaryStateLayerColor:o.extend("--ft-button-secondary-state-layer-color","",f.contentActionPrimary),secondaryHoverStateLayerOpacity:o.extend("--ft-button-secondary-hover-state-layer-opacity","",u.opacity8),secondaryFocusStateLayerOpacity:o.extend("--ft-button-secondary-focus-state-layer-opacity","",u.opacity8),secondaryActiveStateLayerOpacity:o.extend("--ft-button-secondary-active-state-layer-opacity","",u.opacity16),secondaryDisabledComponentOpacity:o.extend("--ft-button-secondary-disabled-component-opacity","",u.opacity40),secondaryBorderColor:o.extend("--ft-button-secondary-border-color","",f.borderActionPrimary),neutralBackgroundColor:o.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:o.extend("--ft-button-neutral-icon-color","",f.contentGlobalSecondary),neutralColor:o.extend("--ft-button-neutral-color","",f.contentGlobalSecondary),neutralStateLayerColor:o.extend("--ft-button-neutral-state-layer-color","",f.contentGlobalSecondary),neutralHoverStateLayerOpacity:o.extend("--ft-button-neutral-hover-state-layer-opacity","",u.opacity8),neutralFocusStateLayerOpacity:o.extend("--ft-button-neutral-focus-state-layer-opacity","",u.opacity8),neutralActiveStateLayerOpacity:o.extend("--ft-button-neutral-active-state-layer-opacity","",u.opacity16),neutralDisabledComponentOpacity:o.extend("--ft-button-neutral-disabled-component-opacity","",u.opacity40)};var wl={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",u.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",u.spacing1),largeGap:o.extend("--ft-chip-large-gap","",u.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","",u.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",u.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",u.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",u.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","",u.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",u.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",u.spacing05),smallGap:o.extend("--ft-chip-small-gap","",u.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","",u.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",f.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",f.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",f.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",f.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",f.borderErrorSubtle)};var El={focusOpacity:o.extend("--ft-link-focus-opacity","",u.opacity80),focusFocusRingColor:o.extend("--ft-link-focus-focus-ring-color","",f.borderActionFocusRing),brandColor:o.extend("--ft-link-brand-color","",f.contentActionPrimary),infoColor:o.extend("--ft-link-info-color","",f.contentInfoPrimary)};var Cl={iconSize:o.extend("--ft-banner-icon-size","",u.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",u.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",u.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",u.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",u.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",u.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",u.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",u.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",f.borderInfoSubtle)};var Al={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",u.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",u.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",u.borderRadiusPill),color:o.extend("--ft-badge-color","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",f.contentActionPrimary)};var Rl={horizontalGap:o.extend("--ft-breadcrumb-horizontal-gap","",u.spacing1),verticalGap:o.extend("--ft-breadcrumb-vertical-gap","",u.spacing2),currentColor:o.extend("--ft-breadcrumb-current-color","",f.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-breadcrumb-previous-non-clickable-color","",f.contentGlobalSecondary),iconColor:o.extend("--ft-breadcrumb-icon-color","",f.contentGlobalSubtle)};var Nl={horizontalPadding:o.extend("--ft-page-header-horizontal-padding","",u.spacing6),horizontalGap:o.extend("--ft-page-header-horizontal-gap","",u.spacing4),verticalGap:o.extend("--ft-page-header-vertical-gap","",u.spacing2),classicVerticalPadding:o.extend("--ft-page-header-classic-vertical-padding","",u.spacing6),multilineVerticalPadding:o.extend("--ft-page-header-multiline-vertical-padding","",u.spacing4),inlineVerticalPadding:o.extend("--ft-page-header-inline-vertical-padding","",u.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",u.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",f.borderGlobalSubtle),titleColor:o.extend("--ft-page-header-title-color","",f.contentGlobalPrimary),subtitleColor:o.extend("--ft-page-header-subtitle-color","",f.contentGlobalSecondary)};var Il={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","",u.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",u.opacity40),shadow:o.extend("--ft-modal-shadow","",u.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",u.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",u.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",u.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",u.spacing6),containerMargin:o.extend("--ft-modal-container-margin","",u.spacing3),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-modal-header-trailing-icon-color","",f.contentGlobalSecondary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",u.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",u.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",u.spacing6),headerGap:o.extend("--ft-modal-header-gap","",u.spacing2),headerBorderBottom:o.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",u.borderRadiusM)};var _l={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",u.opacity40),shadow:o.extend("--ft-drawer-shadow","",u.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",u.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",u.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",u.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",u.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",f.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",f.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",f.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",f.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",u.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",u.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",f.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",f.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",f.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",u.spacing4),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",u.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",u.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","",u.colorGray700)};var Pl={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",u.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",u.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",u.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",u.opacity40),offColor:o.extend("--ft-tabs-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",f.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",f.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",u.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",u.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",u.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",u.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",u.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",u.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",u.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",u.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",u.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",u.opacity24),onColor:o.extend("--ft-tabs-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",f.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",f.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",u.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",u.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",u.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",u.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",f.borderActionFocusRing)};var Tl={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",u.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",u.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",u.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",u.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",u.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",u.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",u.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",u.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",u.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",f.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",f.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",u.opacity40)};var Ll={backgroundColor:o.extend("--ft-text-area-background-color","",u.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",f.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",f.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",f.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",u.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",u.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",u.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",u.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",u.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",u.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",u.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",u.borderRadiusM)};var kl={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",u.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",f.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",f.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",f.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",u.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",u.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",u.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",u.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",u.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",u.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",f.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",u.shadowElevation02)};var $l={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",u.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",u.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",u.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",u.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",u.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",u.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",u.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",u.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",u.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",u.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",u.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",f.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",f.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",f.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",f.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",u.opacity40)};var Ul={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",u.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",f.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",f.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",f.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",f.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",f.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",f.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",f.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",f.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",f.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",f.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",u.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",u.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",u.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",u.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",u.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",u.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",u.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",u.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",u.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",u.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",u.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",u.borderRadiusM)};var Fl={backgroundColor:o.extend("--ft-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",u.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",u.spacing6),titleColor:o.extend("--ft-popover-title-color","",f.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",f.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",f.contentActionPrimary),gap:o.extend("--ft-popover-gap","",u.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",u.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",u.shadowElevation02)};var Ml={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",u.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",u.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",f.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",u.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",u.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",u.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",u.spacing3),color:o.extend("--ft-collapsible-color","",f.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",f.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",f.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",f.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",u.iconSize3)};var Dl={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",u.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",u.spacing1),groupGap:o.extend("--ft-switch-group-gap","",u.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",f.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",f.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",u.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",u.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",u.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",u.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",u.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",u.opacity40),offColor:o.extend("--ft-switch-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",u.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",u.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",u.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",u.opacity40),onColor:o.extend("--ft-switch-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",u.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",u.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",f.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",u.borderRadiusS)};var Bl={color1Light:o.extend("--ft-chart-1-light","for area color charts",u.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",u.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",u.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",u.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",u.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",u.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",u.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",u.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",u.colorRed40),color5Base:o.extend("--ft-chart-5-base","",u.colorRed60),color6Light:o.extend("--ft-chart-6-light","",u.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",u.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",u.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",u.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",u.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",u.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",u.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",u.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",u.colorGray50),color10Base:o.extend("--ft-chart-10-base","",u.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",u.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",u.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",u.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",u.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",u.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",u.colorBrand200)};var Wl={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",u.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",u.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",u.borderRadiusS),gap:o.extend("--ft-notice-gap","",u.spacing2),iconSize:o.extend("--ft-notice-icon-size","",u.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",f.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",f.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",f.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",f.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",f.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",f.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",f.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",f.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",f.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",f.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",f.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",f.contentSuccessIconOnly)};var zl={color:o.extend("--ft-checkbox-color","",f.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",f.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",f.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",f.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",u.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",u.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",u.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",u.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",u.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",u.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",u.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",u.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",u.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",u.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-checkbox-gap","",u.spacing3)};var Hl={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",u.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",u.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",u.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",u.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",f.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",u.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",u.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",u.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",u.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",f.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",f.contentActionPrimary),color:o.extend("--ft-toggle-color","",f.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",f.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",u.spacing3)};var jl={color:o.extend("--ft-radio-color","",f.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",f.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",f.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",u.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",u.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",u.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",u.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",f.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",f.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",u.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",u.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",u.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",u.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",f.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",u.spacing3)};var Vl={iconSize:o.extend("--ft-notification-icon-size","",u.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",u.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",u.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",u.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",f.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",f.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",f.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",f.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",f.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",f.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",f.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",f.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",f.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",f.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",f.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",f.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",f.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",f.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",f.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",f.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",u.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",u.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",u.spacing8)};var Kl={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",u.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",u.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",u.borderRadiusS),color:o.extend("--ft-tooltip-color","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",f.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",u.opacity80),shadow:o.extend("--ft-tooltip-shadow","",u.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",u.spacing05)};var Kt;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Kt||(Kt={}));var Gt;(function(t){t.large="large",t.medium="medium",t.small="small"})(Gt||(Gt={}));function an(t){return`ftds--family-${t}`}function sn(t){return`ftds--size-${t}`}var Lr={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 pn={};F(pn,{FtNotificationEvent:()=>un,PostResizeEvent:()=>fn,PreResizeEvent:()=>dn});var un=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},dn=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},fn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var En={};F(En,{computeOffsetPosition:()=>du});var Oa=["top","right","bottom","left"],Sa=["start","end"],mn=Oa.reduce((t,e)=>t.concat(e,e+"-"+Sa[0],e+"-"+Sa[1]),[]),Zt=Math.min,Ce=Math.max,qt=Math.round;var fe=t=>({x:t,y:t}),Gl={left:"right",right:"left",bottom:"top",top:"bottom"},Zl={start:"end",end:"start"};function gn(t,e,r){return Ce(t,Zt(e,r))}function kr(t,e){return typeof t=="function"?t(e):t}function ct(t){return t.split("-")[0]}function Ae(t){return t.split("-")[1]}function yn(t){return t==="x"?"y":"x"}function bn(t){return t==="y"?"height":"width"}function $r(t){return["top","bottom"].includes(ct(t))?"y":"x"}function xn(t){return yn($r(t))}function wa(t,e,r){r===void 0&&(r=!1);let n=Ae(t),i=xn(t),a=bn(i),s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=hn(s)),[s,hn(s)]}function Ea(t){return t.replace(/start|end/g,e=>Zl[e])}function hn(t){return t.replace(/left|right|bottom|top/g,e=>Gl[e])}function ql(t){return{top:0,right:0,bottom:0,left:0,...t}}function Ca(t){return typeof t!="number"?ql(t):{top:t,right:t,bottom:t,left:t}}function Ze(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Aa(t,e,r){let{reference:n,floating:i}=t,a=$r(e),s=xn(e),c=bn(s),l=ct(e),d=a==="y",p=n.x+n.width/2-i.width/2,h=n.y+n.height/2-i.height/2,g=n[c]/2-i[c]/2,y;switch(l){case"top":y={x:p,y:n.y-i.height};break;case"bottom":y={x:p,y:n.y+n.height};break;case"right":y={x:n.x+n.width,y:h};break;case"left":y={x:n.x-i.width,y:h};break;default:y={x:n.x,y:n.y}}switch(Ae(e)){case"start":y[s]-=g*(r&&d?-1:1);break;case"end":y[s]+=g*(r&&d?-1:1);break}return y}var Ra=async(t,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=r,c=a.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e)),d=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:p,y:h}=Aa(d,n,l),g=n,y={},b=0;for(let O=0;O<c.length;O++){let{name:C,fn:A}=c[O],{x:R,y:S,data:v,reset:w}=await A({x:p,y:h,initialPlacement:n,placement:g,strategy:i,middlewareData:y,rects:d,platform:s,elements:{reference:t,floating:e}});if(p=R??p,h=S??h,y={...y,[C]:{...y[C],...v}},w&&b<=50){b++,typeof w=="object"&&(w.placement&&(g=w.placement),w.rects&&(d=w.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):w.rects),{x:p,y:h}=Aa(d,g,l)),O=-1;continue}}return{x:p,y:h,placement:g,strategy:i,middlewareData:y}};async function vn(t,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:c,strategy:l}=t,{boundary:d="clippingAncestors",rootBoundary:p="viewport",elementContext:h="floating",altBoundary:g=!1,padding:y=0}=kr(e,t),b=Ca(y),C=c[g?h==="floating"?"reference":"floating":h],A=Ze(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(C)))==null||r?C:C.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:d,rootBoundary:p,strategy:l})),R=h==="floating"?{...s.floating,x:n,y:i}:s.reference,S=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),v=await(a.isElement==null?void 0:a.isElement(S))?await(a.getScale==null?void 0:a.getScale(S))||{x:1,y:1}:{x:1,y:1},w=Ze(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:R,offsetParent:S,strategy:l}):R);return{top:(A.top-w.top+b.top)/v.y,bottom:(w.bottom-A.bottom+b.bottom)/v.y,left:(A.left-w.left+b.left)/v.x,right:(w.right-A.right+b.right)/v.x}}function Yl(t,e,r){return(t?[...r.filter(i=>Ae(i)===t),...r.filter(i=>Ae(i)!==t)]:r.filter(i=>ct(i)===i)).filter(i=>t?Ae(i)===t||(e?Ea(i)!==i:!1):!0)}var Sn=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,i;let{rects:a,middlewareData:s,placement:c,platform:l,elements:d}=e,{crossAxis:p=!1,alignment:h,allowedPlacements:g=mn,autoAlignment:y=!0,...b}=kr(t,e),O=h!==void 0||g===mn?Yl(h||null,y,g):g,C=await vn(e,b),A=((r=s.autoPlacement)==null?void 0:r.index)||0,R=O[A];if(R==null)return{};let S=wa(R,a,await(l.isRTL==null?void 0:l.isRTL(d.floating)));if(c!==R)return{reset:{placement:O[0]}};let v=[C[ct(R)],C[S[0]],C[S[1]]],w=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:R,overflows:v}],I=O[A+1];if(I)return{data:{index:A+1,overflows:w},reset:{placement:I}};let _=w.map(m=>{let x=Ae(m.placement);return[m.placement,x&&p?m.overflows.slice(0,2).reduce((E,k)=>E+k,0):m.overflows[0],m.overflows]}).sort((m,x)=>m[1]-x[1]),$=((i=_.filter(m=>m[2].slice(0,Ae(m[0])?2:3).every(x=>x<=0))[0])==null?void 0:i[0])||_[0][0];return $!==c?{data:{index:A+1,overflows:w},reset:{placement:$}}:{}}}};var On=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:C=>{let{x:A,y:R}=C;return{x:A,y:R}}},...l}=kr(t,e),d={x:r,y:n},p=await vn(e,l),h=$r(ct(i)),g=yn(h),y=d[g],b=d[h];if(a){let C=g==="y"?"top":"left",A=g==="y"?"bottom":"right",R=y+p[C],S=y-p[A];y=gn(R,y,S)}if(s){let C=h==="y"?"top":"left",A=h==="y"?"bottom":"right",R=b+p[C],S=b-p[A];b=gn(R,b,S)}let O=c.fn({...e,[g]:y,[h]:b});return{...O,data:{x:O.x-r,y:O.y-n}}}}};function pe(t){return Ia(t)?(t.nodeName||"").toLowerCase():"#document"}function Z(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function he(t){var e;return(e=(Ia(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ia(t){return t instanceof Node||t instanceof Z(t).Node}function ae(t){return t instanceof Element||t instanceof Z(t).Element}function te(t){return t instanceof HTMLElement||t instanceof Z(t).HTMLElement}function Na(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Z(t).ShadowRoot}function lt(t){let{overflow:e,overflowX:r,overflowY:n,display:i}=Y(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function _a(t){return["table","td","th"].includes(pe(t))}function Fr(t){let e=Mr(),r=Y(t);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function Pa(t){let e=qe(t);for(;te(e)&&!Yt(e);){if(Fr(e))return e;e=qe(e)}return null}function Mr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Yt(t){return["html","body","#document"].includes(pe(t))}function Y(t){return Z(t).getComputedStyle(t)}function Jt(t){return ae(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function qe(t){if(pe(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Na(t)&&t.host||he(t);return Na(e)?e.host:e}function Ta(t){let e=qe(t);return Yt(e)?t.ownerDocument?t.ownerDocument.body:t.body:te(e)&<(e)?e:Ta(e)}function Ur(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=Ta(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=Z(i);return a?e.concat(s,s.visualViewport||[],lt(i)?i:[],s.frameElement&&r?Ur(s.frameElement):[]):e.concat(i,Ur(i,[],r))}function $a(t){let e=Y(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=te(t),a=i?t.offsetWidth:r,s=i?t.offsetHeight:n,c=qt(r)!==a||qt(n)!==s;return c&&(r=a,n=s),{width:r,height:n,$:c}}function Ua(t){return ae(t)?t:t.contextElement}function ut(t){let e=Ua(t);if(!te(e))return fe(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:a}=$a(e),s=(a?qt(r.width):r.width)/n,c=(a?qt(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var Jl=fe(0);function Fa(t){let e=Z(t);return!Mr()||!e.visualViewport?Jl:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Xl(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==Z(t)?!1:e}function Xt(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),a=Ua(t),s=fe(1);e&&(n?ae(n)&&(s=ut(n)):s=ut(t));let c=Xl(a,r,n)?Fa(a):fe(0),l=(i.left+c.x)/s.x,d=(i.top+c.y)/s.y,p=i.width/s.x,h=i.height/s.y;if(a){let g=Z(a),y=n&&ae(n)?Z(n):n,b=g.frameElement;for(;b&&n&&y!==g;){let O=ut(b),C=b.getBoundingClientRect(),A=Y(b),R=C.left+(b.clientLeft+parseFloat(A.paddingLeft))*O.x,S=C.top+(b.clientTop+parseFloat(A.paddingTop))*O.y;l*=O.x,d*=O.y,p*=O.x,h*=O.y,l+=R,d+=S,b=Z(b).frameElement}}return Ze({width:p,height:h,x:l,y:d})}function Ql(t){let{rect:e,offsetParent:r,strategy:n}=t,i=te(r),a=he(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},c=fe(1),l=fe(0);if((i||!i&&n!=="fixed")&&((pe(r)!=="body"||lt(a))&&(s=Jt(r)),te(r))){let d=Xt(r);c=ut(r),l.x=d.x+r.clientLeft,l.y=d.y+r.clientTop}return{width:e.width*c.x,height:e.height*c.y,x:e.x*c.x-s.scrollLeft*c.x+l.x,y:e.y*c.y-s.scrollTop*c.y+l.y}}function eu(t){return Array.from(t.getClientRects())}function Ma(t){return Xt(he(t)).left+Jt(t).scrollLeft}function tu(t){let e=he(t),r=Jt(t),n=t.ownerDocument.body,i=Ce(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=Ce(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+Ma(t),c=-r.scrollTop;return Y(n).direction==="rtl"&&(s+=Ce(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:c}}function ru(t,e){let r=Z(t),n=he(t),i=r.visualViewport,a=n.clientWidth,s=n.clientHeight,c=0,l=0;if(i){a=i.width,s=i.height;let d=Mr();(!d||d&&e==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}return{width:a,height:s,x:c,y:l}}function ou(t,e){let r=Xt(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,a=te(t)?ut(t):fe(1),s=t.clientWidth*a.x,c=t.clientHeight*a.y,l=i*a.x,d=n*a.y;return{width:s,height:c,x:l,y:d}}function La(t,e,r){let n;if(e==="viewport")n=ru(t,r);else if(e==="document")n=tu(he(t));else if(ae(e))n=ou(e,r);else{let i=Fa(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return Ze(n)}function Da(t,e){let r=qe(t);return r===e||!ae(r)||Yt(r)?!1:Y(r).position==="fixed"||Da(r,e)}function nu(t,e){let r=e.get(t);if(r)return r;let n=Ur(t,[],!1).filter(c=>ae(c)&&pe(c)!=="body"),i=null,a=Y(t).position==="fixed",s=a?qe(t):t;for(;ae(s)&&!Yt(s);){let c=Y(s),l=Fr(s);!l&&c.position==="fixed"&&(i=null),(a?!l&&!i:!l&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||lt(s)&&!l&&Da(t,s))?n=n.filter(p=>p!==s):i=c,s=qe(s)}return e.set(t,n),n}function iu(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,s=[...r==="clippingAncestors"?nu(e,this._c):[].concat(r),n],c=s[0],l=s.reduce((d,p)=>{let h=La(e,p,i);return d.top=Ce(h.top,d.top),d.right=Zt(h.right,d.right),d.bottom=Zt(h.bottom,d.bottom),d.left=Ce(h.left,d.left),d},La(e,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function au(t){return $a(t)}function su(t,e,r){let n=te(e),i=he(e),a=r==="fixed",s=Xt(t,!0,a,e),c={scrollLeft:0,scrollTop:0},l=fe(0);if(n||!n&&!a)if((pe(e)!=="body"||lt(i))&&(c=Jt(e)),n){let d=Xt(e,!0,a,e);l.x=d.x+e.clientLeft,l.y=d.y+e.clientTop}else i&&(l.x=Ma(i));return{x:s.left+c.scrollLeft-l.x,y:s.top+c.scrollTop-l.y,width:s.width,height:s.height}}function ka(t,e){return!te(t)||Y(t).position==="fixed"?null:e?e(t):t.offsetParent}function Ba(t,e){let r=Z(t);if(!te(t))return r;let n=ka(t,e);for(;n&&_a(n)&&Y(n).position==="static";)n=ka(n,e);return n&&(pe(n)==="html"||pe(n)==="body"&&Y(n).position==="static"&&!Fr(n))?r:n||Pa(t)||r}var cu=async function(t){let{reference:e,floating:r,strategy:n}=t,i=this.getOffsetParent||Ba,a=this.getDimensions;return{reference:su(e,await i(r),n),floating:{x:0,y:0,...await a(r)}}};function lu(t){return Y(t).direction==="rtl"}var Dr={convertOffsetParentRelativeRectToViewportRelativeRect:Ql,getDocumentElement:he,getClippingRect:iu,getOffsetParent:Ba,getElementRects:cu,getClientRects:eu,getDimensions:au,getScale:ut,isElement:ae,isRTL:lu};var Wa=(t,e,r)=>{let n=new Map,i={platform:Dr,...r},a={...i.platform,_c:n};return Ra(t,e,{...i,platform:a})};function za(t){return uu(t)}function wn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function uu(t){for(let e=t;e;e=wn(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=wn(t);e;e=wn(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||e.tagName==="BODY"))return e}return null}async function du(t,e,r){return Wa(t,e,{platform:{...Dr,getOffsetParent:n=>Dr.getOffsetParent(n,za)},middleware:[On({crossAxis:!0}),Sn({allowedPlacements:[r]})]})}var Nn={};F(Nn,{FtdsBase:()=>Rn,toFtdsBase:()=>Ya});var An={};F(An,{FtLitElement:()=>K});var Cn={};F(Cn,{ScopedRegistryLitElement:()=>Qt});var Br=window,fu=Br.ShadowRoot&&(Br.ShadyCSS===void 0||Br.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Vm=Symbol();var Ha=(t,e)=>{fu?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),i=Br.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)})};var Qt=class extends ue{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return Ha(n,e.elementStyles),n}};var Wr=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ga,ja=Symbol("constructorPrototype"),Va=Symbol("constructorName"),Za=Symbol("exportpartsDebouncer"),Ka=Symbol("dynamicDependenciesLoaded"),K=class extends Qt{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Ga]=new we(5),this[Va]=this.constructor.name,this[ja]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Va]&&Object.setPrototypeOf(this,this[ja])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(r){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",r)}let e=this.constructor;e[Ka]||(e[Ka]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var 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(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,r,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[Za].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,n,i,a,s,c;let l=g=>g!=null&&g.trim().length>0,d=e.filter(l).map(g=>g.trim());if(d.length===0){this.removeAttribute("exportparts");return}let p=new Set;for(let g of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let y=(a=(i=g.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],b=(c=(s=g.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(O=>O.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...y,...b).filter(l).map(O=>O.trim()).forEach(O=>p.add(O))}if(p.size===0){this.removeAttribute("exportparts");return}let h=[...p.values()].flatMap(g=>d.map(y=>`${g}:${y}--${g}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};Ga=Za;Wr([L()],K.prototype,"exportpartsPrefix",void 0);Wr([Ee([])],K.prototype,"exportpartsPrefixes",void 0);Wr([L()],K.prototype,"customStylesheet",void 0);Wr([Ht()],K.prototype,"useAdoptedStyleSheets",void 0);var qa=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a};function Ya(t){class e extends t{constructor(){super(...arguments),this.size=Gt.medium,this.family=Kt.neutral}getDesignSystemBaseClasses(){return{[an(this.family)]:!0,[sn(this.size)]:!0}}}return qa([L()],e.prototype,"size",void 0),qa([L()],e.prototype,"family",void 0),e}var Rn=class extends Ya(K){};var Ja={};var Tn={};F(Tn,{highlightHtml:()=>Pn,highlightHtmlColorCssVariable:()=>Xa,highlightHtmlStyles:()=>hu});var Ye=class t{constructor(e,r=!0,n=[],i=5e3){this.ctx=e,this.iframes=r,this.exclude=n,this.iframesTimeout=i}static matches(e,r){let n=typeof r=="string"?[r]:r,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let i=r.filter(a=>a.contains(n)).length>0;r.indexOf(n)===-1&&!i&&r.push(n)}),r}getIframeContents(e,r,n=()=>{}){let i;try{let a=e.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&r(i)}isIframeBlank(e){let r="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(e,r,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,r,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,n):this.getIframeContents(e,r,n):this.observeIframeLoad(e,r,n)}catch{n()}}waitForIframes(e,r){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||r()})},i=>{i||r()})}forEachIframe(e,r,n,i=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,c=0;a=Array.prototype.slice.call(a);let l=()=>{--s<=0&&i(c)};s||l(),a.forEach(d=>{t.matches(d,this.exclude)?l():this.onIframeReady(d,p=>{r(d)&&(c++,n(p)),l()},l)})}createIterator(e,r,n){return document.createNodeIterator(e,r,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,n){let i=e.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(r!==null){let s=r.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_FOLLOWING;if(s&c)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),n;return r===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:r,node:n}}checkIframeFilter(e,r,n,i){let a=!1,s=!1;return i.forEach((c,l)=>{c.val===n&&(a=l,s=c.handled)}),this.compareNodeIframe(e,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(e,r,n,i){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,n,i)})})}iterateThroughNodes(e,r,n,i,a){let s=this.createIterator(r,e,i),c=[],l=[],d,p,h=()=>({prevNode:p,node:d}=this.getIteratorNode(s),d);for(;h();)this.iframes&&this.forEachIframe(r,g=>this.checkIframeFilter(d,p,g,c),g=>{this.createInstanceOnIframe(g).forEachNode(e,y=>l.push(y),i)}),l.push(d);l.forEach(g=>{n(g)}),this.iframes&&this.handleOpenIframes(c,e,n,i),a()}forEachNode(e,r,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(c=>{let l=()=>{this.iterateThroughNodes(e,c,r,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(c,l):l()})}};var er=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new Ye(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let s=r[a],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);c!==""&&l!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(l)})`,`gm${n}`),i+`(${this.processSynomyms(c)}|${this.processSynomyms(l)})`+i))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return e.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),i.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(c=>{s+=`|${this.escapeStr(c)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let r=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&r.indexOf(i)===-1&&r.push(i)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,i)=>i.length-n.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],n=0;return e.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:c}=this.callNoMatchOnInvalidRanges(i,n);c&&(i.start=a,i.length=s-a,r.push(i),n=s)}),r}callNoMatchOnInvalidRanges(e,r){let n,i,a=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-r>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:i,valid:a}}checkWhitespaceRanges(e,r,n){let i,a=!0,s=n.length,c=r-s,l=parseInt(e.start,10)-c;return l=l>s?s:l,i=l+parseInt(e.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),l<0||i-l<0||l>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(l,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:l,end:i,valid:a}}getTextNodes(e){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:r.length,end:(r+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:n})})}matchesExclude(e){return Ye.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,n){let i=this.opt.element?this.opt.element:"mark",a=e.splitText(r),s=a.splitText(n-r),c=document.createElement(i);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=a.textContent,a.parentNode.replaceChild(c,a),s}wrapRangeInMappedTextNode(e,r,n,i,a){e.nodes.every((s,c)=>{let l=e.nodes[c+1];if(typeof l>"u"||l.start>r){if(!i(s.node))return!1;let d=r-s.start,p=(n>s.end?s.end:n)-s.start,h=e.value.substr(0,s.start),g=e.value.substr(p+s.start);if(s.node=this.wrapRangeInTextNode(s.node,d,p),e.value=h+g,e.nodes.forEach((y,b)=>{b>=c&&(e.nodes[b].start>0&&b!==c&&(e.nodes[b].start-=p),e.nodes[b].end-=p)}),n-=p,a(s.node.previousSibling,s.start),n>s.end)r=s.end;else return!1}return!0})}wrapMatches(e,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(c=>{c.nodes.forEach(l=>{l=l.node;let d;for(;(d=e.exec(l.textContent))!==null&&d[s]!=="";){if(!n(d[s],l))continue;let p=d.index;if(s!==0)for(let h=1;h<s;h++)p+=d[h].length;l=this.wrapRangeInTextNode(l,p,p+d[s].length),i(l.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(c=>{let l;for(;(l=e.exec(c.value))!==null&&l[s]!=="";){let d=l.index;if(s!==0)for(let h=1;h<s;h++)d+=l[h].length;let p=d+l[s].length;this.wrapRangeInMappedTextNode(c,d,p,h=>n(l[s],h),(h,g)=>{e.lastIndex=g,i(h)})}a()})}wrapRangeFromIndex(e,r,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((c,l)=>{let{start:d,end:p,valid:h}=this.checkWhitespaceRanges(c,s,a.value);h&&this.wrapRangeInMappedTextNode(a,d,p,g=>r(g,c,a.value.substring(d,p),l),g=>{n(g,c)})}),i()})}unwrapMatches(e){let r=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));r.replaceChild(n,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(s,c)=>this.opt.filter(c,s,n),a,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,r){this.opt=r;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),c=this.opt.caseSensitive?"":"i",l=d=>{let p=new RegExp(this.createRegExp(d),`gm${c}`),h=0;this.log(`Searching with expression "${p}"`),this[i](p,1,(g,y)=>this.opt.filter(y,d,n,h),g=>{h++,n++,this.opt.each(g)},()=>{h===0&&this.opt.noMatch(d),a[s-1]===d?this.opt.done(n):l(a[a.indexOf(d)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):l(a[0])}markRanges(e,r){this.opt=r;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,c,l)=>this.opt.filter(a,s,c,l),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let 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=Ye.matches(n,r),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function In(t){let e=new er(t);return this.mark=(r,n)=>(e.mark(r,n),this),this.markRegExp=(r,n)=>(e.markRegExp(r,n),this),this.markRanges=(r,n)=>(e.markRanges(r,n),this),this.unmark=r=>(e.unmark(r),this),this}var pu=In,Xa=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),hu=T`
|
|
7
7
|
.highlight-html-match {
|
|
8
8
|
background: ${Xa};
|
|
9
9
|
}
|
|
10
|
-
`,_n={className:"highlight-html-match"};function Pn(t,e){var r;let n=t.getAttribute("data-highlight-html-query");if((n??"")!==(e??"")){let i=new pu(t);i.unmark(_n),e&&e.trim()&&(i.mark(e.replace(/"[^"]+"/g,""),{..._n,separateWordSearch:!0}),((r=e.match(/"[^"]+"/g))!==null&&r!==void 0?r:[]).forEach(s=>i.mark(s.replace(/"/g,""),{..._n,separateWordSearch:!1})))}t.setAttribute("data-highlight-html-query",e??"")}var Ln={};F(Ln,{noTextSelect:()=>mu,safariEllipsisFix:()=>yu,wordWrap:()=>gu});var mu=
|
|
10
|
+
`,_n={className:"highlight-html-match"};function Pn(t,e){var r;let n=t.getAttribute("data-highlight-html-query");if((n??"")!==(e??"")){let i=new pu(t);i.unmark(_n),e&&e.trim()&&(i.mark(e.replace(/"[^"]+"/g,""),{..._n,separateWordSearch:!0}),((r=e.match(/"[^"]+"/g))!==null&&r!==void 0?r:[]).forEach(s=>i.mark(s.replace(/"/g,""),{..._n,separateWordSearch:!1})))}t.setAttribute("data-highlight-html-query",e??"")}var Ln={};F(Ln,{noTextInputDefaultClearButton:()=>bu,noTextSelect:()=>mu,safariEllipsisFix:()=>yu,wordWrap:()=>gu});var mu=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.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
16
16
|
-ms-user-select: none;
|
|
17
17
|
user-select: none;
|
|
18
18
|
}
|
|
19
|
-
`,gu=
|
|
19
|
+
`,gu=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.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
28
28
|
-webkit-hyphens: auto;
|
|
29
29
|
hyphens: auto
|
|
30
30
|
}
|
|
31
|
-
`,yu=
|
|
31
|
+
`,yu=T`
|
|
32
32
|
.ft-safari-ellipsis-fix {
|
|
33
33
|
margin-right: 0;
|
|
34
34
|
|
|
@@ -39,13 +39,20 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
39
39
|
display: inline-block;
|
|
40
40
|
width: 0;
|
|
41
41
|
}
|
|
42
|
-
`;var Qa={};var kn={};F(kn,{ParametrizedLabelResolver:()=>tr});var tr=class{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var n,i;e=this.resolvePluralKey(e,r);let a=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return r.forEach((s,c)=>a=a.replace(new RegExp(`\\{${c}([^}]*)\\}`,"g"),(l,d)=>this.formatValue(s,d))),a}resolvePluralKey(e,r){for(let n of r)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}formatValue(e,r){return e instanceof Date?this.formatDate(e,r):e??""}formatDate(e,r){let n=i=>r?.includes("date")?e.toLocaleDateString(i):r?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var ai={};F(ai,{FtCommandQueue:()=>rr,FtLitElementRedux:()=>Ne,FtReduxStore:()=>ke,clearAllStores:()=>rd,isFtReduxStore:()=>Je,redux:()=>es,reduxEventListener:()=>xu,reduxReactive:()=>bu});var bu=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},es=t=>{let e=t??{};return(r,n)=>{var i;let a={hasChanged:jt,attribute:!1,...e};T(a)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:c=>c[n],store:e.store})}},xu=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)};var rr=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(n=>n.type===e);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};function Je(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var ts,rs,os,zr=Symbol("internalReduxEventsUnsubscribers"),Re=Symbol("internalStoresUnsubscribers"),Xe=Symbol("internalStores"),Ne=class extends K{constructor(){super(...arguments),this[ts]=new Map,this[rs]=new Map,this[os]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[Xe].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Xe].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Xe].get(e)}addStore(e,r){var n;r=(n=r??(Je(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,e)}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[Xe].delete(r)}setupStore(e,r){this[Xe].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Xe].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let i=this.getStore(e.store);i&&(e.store?this[Re].has(e.store):this[Re].size>0)&&(this[r]=e.selector(i.getState(),this))}})}subscribeToStore(e,r){var n;this[Re].set(e,r.subscribe(()=>this.updateFromStores())),Je(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=c=>this[a](c);r.eventBus.addEventListener(i.eventName,s),this[zr].push(()=>r.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Re].forEach((e,r)=>this.unsubscribeFromStore(r)),this[zr].forEach(e=>e()),this[zr]=[]}unsubscribeFromStore(e){this[Re].has(e)&&this[Re].get(e)(),this[Re].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};ts=Re,rs=Xe,os=zr;Ne.reduxProperties=new Map;Ne.reduxReactiveProperties=new Set;Ne.reduxEventListeners=new Map;function X(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function me(t){return!!t&&!!t[M]}function re(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===Ru}(t)||Array.isArray(t)||!!t[us]||!!(!((e=t.constructor)===null||e===void 0)&&e[us])||Hn(t)||jn(t))}function Qe(t,e,r){r===void 0&&(r=!1),pt(t)===0?(r?Object.keys:ft)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function pt(t){var e=t[M];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Hn(t)?2:jn(t)?3:0}function dt(t,e){return pt(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function vu(t,e){return pt(t)===2?t.get(e):t[e]}function ds(t,e,r){var n=pt(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function fs(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Hn(t){return Cu&&t instanceof Map}function jn(t){return Au&&t instanceof Set}function Ie(t){return t.o||t.t}function Vn(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=ms(t);delete e[M];for(var r=ft(e),n=0;n<r.length;n++){var i=r[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function Kn(t,e){return e===void 0&&(e=!1),Gn(t)||me(t)||!re(t)||(pt(t)>1&&(t.set=t.add=t.clear=t.delete=Su),Object.freeze(t),e&&Qe(t,function(r,n){return Kn(n,!0)},!0)),t}function Su(){X(2)}function Gn(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function se(t){var e=zn[t];return e||X(18,t),e}function Ou(t,e){zn[t]||(zn[t]=e)}function Dn(){return nr}function $n(t,e){e&&(se("Patches"),t.u=[],t.s=[],t.v=e)}function Hr(t){Bn(t),t.p.forEach(wu),t.p=null}function Bn(t){t===nr&&(nr=t.l)}function ns(t){return nr={p:[],l:nr,h:t,m:!0,_:0}}function wu(t){var e=t[M];e.i===0||e.i===1?e.j():e.g=!0}function Un(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||se("ES5").S(e,t,n),n?(r[M].P&&(Hr(e),X(4)),re(t)&&(t=jr(e,t),e.l||Vr(e,t)),e.u&&se("Patches").M(r[M].t,t,e.u,e.s)):t=jr(e,r,[]),Hr(e),e.u&&e.v(e.u,e.s),t!==hs?t:void 0}function jr(t,e,r){if(Gn(e))return e;var n=e[M];if(!n)return Qe(e,function(c,l){return is(t,n,e,c,l,r)},!0),e;if(n.A!==t)return e;if(!n.P)return Vr(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Vn(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),Qe(a,function(c,l){return is(t,n,i,c,l,r,s)}),Vr(t,i,!1),r&&t.u&&se("Patches").N(n,r,t.u,t.s)}return n.o}function is(t,e,r,n,i,a,s){if(me(i)){var c=jr(t,i,a&&e&&e.i!==3&&!dt(e.R,n)?a.concat(n):void 0);if(ds(r,n,c),!me(c))return;t.m=!1}else s&&r.add(i);if(re(i)&&!Gn(i)){if(!t.h.D&&t._<1)return;jr(t,i),e&&e.A.l||Vr(t,i)}}function Vr(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Kn(e,r)}function Fn(t,e){var r=t[M];return(r?Ie(r):t)[e]}function as(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Object.getPrototypeOf(r)}}function _e(t){t.P||(t.P=!0,t.l&&_e(t.l))}function Mn(t){t.o||(t.o=Vn(t.t))}function Wn(t,e,r){var n=Hn(e)?se("MapSet").F(e,r):jn(e)?se("MapSet").T(e,r):t.O?function(i,a){var s=Array.isArray(i),c={i:s?1:0,A:a?a.A:Dn(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},l=c,d=ir;s&&(l=[c],d=or);var p=Proxy.revocable(l,d),h=p.revoke,g=p.proxy;return c.k=g,c.j=h,g}(e,r):se("ES5").J(e,r);return(r?r.A:Dn()).p.push(n),n}function Eu(t){return me(t)||X(22,t),function e(r){if(!re(r))return r;var n,i=r[M],a=pt(r);if(i){if(!i.P&&(i.i<4||!se("ES5").K(i)))return i.t;i.I=!0,n=ss(r,a),i.I=!1}else n=ss(r,a);return Qe(n,function(s,c){i&&vu(i.t,s)===c||ds(n,s,e(c))}),a===3?new Set(n):n}(t)}function ss(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Vn(t)}function ps(){function t(s,c){var l=a[s];return l?l.enumerable=c:a[s]=l={configurable:!0,enumerable:c,get:function(){var d=this[M];return ir.get(d,s)},set:function(d){var p=this[M];ir.set(p,s,d)}},l}function e(s){for(var c=s.length-1;c>=0;c--){var l=s[c][M];if(!l.P)switch(l.i){case 5:n(l)&&_e(l);break;case 4:r(l)&&_e(l)}}}function r(s){for(var c=s.t,l=s.k,d=ft(l),p=d.length-1;p>=0;p--){var h=d[p];if(h!==M){var g=c[h];if(g===void 0&&!dt(c,h))return!0;var y=l[h],b=y&&y[M];if(b?b.t!==g:!fs(y,g))return!0}}var O=!!c[M];return d.length!==ft(c).length+(O?0:1)}function n(s){var c=s.k;if(c.length!==s.t.length)return!0;var l=Object.getOwnPropertyDescriptor(c,c.length-1);if(l&&!l.get)return!0;for(var d=0;d<c.length;d++)if(!c.hasOwnProperty(d))return!0;return!1}function i(s){s.g&&X(3,JSON.stringify(Ie(s)))}var a={};Ou("ES5",{J:function(s,c){var l=Array.isArray(s),d=function(h,g){if(h){for(var y=Array(g.length),b=0;b<g.length;b++)Object.defineProperty(y,""+b,t(b,!0));return y}var O=ms(g);delete O[M];for(var C=ft(O),A=0;A<C.length;A++){var R=C[A];O[R]=t(R,h||!!O[R].enumerable)}return Object.create(Object.getPrototypeOf(g),O)}(l,s),p={i:l?5:4,A:c?c.A:Dn(),P:!1,I:!1,R:{},l:c,t:s,k:d,o:null,g:!1,C:!1};return Object.defineProperty(d,M,{value:p,writable:!0}),d},S:function(s,c,l){l?me(c)&&c[M].A===s&&e(s.p):(s.u&&function d(p){if(p&&typeof p=="object"){var h=p[M];if(h){var g=h.t,y=h.k,b=h.R,O=h.i;if(O===4)Qe(y,function(v){v!==M&&(g[v]!==void 0||dt(g,v)?b[v]||d(y[v]):(b[v]=!0,_e(h)))}),Qe(g,function(v){y[v]!==void 0||dt(y,v)||(b[v]=!1,_e(h))});else if(O===5){if(n(h)&&(_e(h),b.length=!0),y.length<g.length)for(var C=y.length;C<g.length;C++)b[C]=!1;else for(var A=g.length;A<y.length;A++)b[A]=!0;for(var R=Math.min(y.length,g.length),S=0;S<R;S++)y.hasOwnProperty(S)||(b[S]=!0),b[S]===void 0&&d(y[S])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var cs,nr,Zn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Cu=typeof Map<"u",Au=typeof Set<"u",ls=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",hs=Zn?Symbol.for("immer-nothing"):((cs={})["immer-nothing"]=!0,cs),us=Zn?Symbol.for("immer-draftable"):"__$immer_draftable",M=Zn?Symbol.for("immer-state"):"__$immer_state";var Ru=""+Object.prototype.constructor,ft=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,ms=Object.getOwnPropertyDescriptors||function(t){var e={};return ft(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},zn={},ir={get:function(t,e){if(e===M)return t;var r=Ie(t);if(!dt(r,e))return function(i,a,s){var c,l=as(a,s);return l?"value"in l?l.value:(c=l.get)===null||c===void 0?void 0:c.call(i.k):void 0}(t,r,e);var n=r[e];return t.I||!re(n)?n:n===Fn(t.t,e)?(Mn(t),t.o[e]=Wn(t.A.h,n,t)):n},has:function(t,e){return e in Ie(t)},ownKeys:function(t){return Reflect.ownKeys(Ie(t))},set:function(t,e,r){var n=as(Ie(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var i=Fn(Ie(t),e),a=i?.[M];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(fs(r,i)&&(r!==void 0||dt(t.t,e)))return!0;Mn(t),_e(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return Fn(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Mn(t),_e(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=Ie(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){X(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){X(12)}},or={};Qe(ir,function(t,e){or[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),or.deleteProperty=function(t,e){return or.set.call(this,t,e,void 0)},or.set=function(t,e,r){return ir.set.call(this,t[0],e,r,t[0])};var Nu=function(){function t(r){var n=this;this.O=ls,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var c=a;a=i;var l=n;return function(O){var C=this;O===void 0&&(O=c);for(var A=arguments.length,R=Array(A>1?A-1:0),S=1;S<A;S++)R[S-1]=arguments[S];return l.produce(O,function(v){var w;return(w=a).call.apply(w,[C,v].concat(R))})}}var d;if(typeof a!="function"&&X(6),s!==void 0&&typeof s!="function"&&X(7),re(i)){var p=ns(n),h=Wn(n,i,void 0),g=!0;try{d=a(h),g=!1}finally{g?Hr(p):Bn(p)}return typeof Promise<"u"&&d instanceof Promise?d.then(function(O){return $n(p,s),Un(O,p)},function(O){throw Hr(p),O}):($n(p,s),Un(d,p))}if(!i||typeof i!="object"){if((d=a(i))===void 0&&(d=i),d===hs&&(d=void 0),n.D&&Kn(d,!0),s){var y=[],b=[];se("Patches").M(i,d,y,b),s(y,b)}return d}X(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(d){for(var p=arguments.length,h=Array(p>1?p-1:0),g=1;g<p;g++)h[g-1]=arguments[g];return n.produceWithPatches(d,function(y){return i.apply(void 0,[y].concat(h))})};var s,c,l=n.produce(i,a,function(d,p){s=d,c=p});return typeof Promise<"u"&&l instanceof Promise?l.then(function(d){return[d,s,c]}):[l,s,c]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){re(r)||X(8),me(r)&&(r=Eu(r));var n=ns(this),i=Wn(this,r,void 0);return i[M].C=!0,Bn(n),i},e.finishDraft=function(r,n){var i=r&&r[M],a=i.A;return $n(a,n),Un(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!ls&&X(20),this.O=r},e.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=se("Patches").$;return me(r)?s(r,n):this.produce(r,function(c){return s(c,n)})},t}(),J=new Nu,Iu=J.produce,bg=J.produceWithPatches.bind(J),xg=J.setAutoFreeze.bind(J),vg=J.setUseProxies.bind(J),Sg=J.applyPatches.bind(J),Og=J.createDraft.bind(J),wg=J.finishDraft.bind(J),Kr=Iu;function Pe(t){"@babel/helpers - typeof";return Pe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pe(t)}function qn(t,e){if(Pe(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(Pe(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Yn(t){var e=qn(t,"string");return Pe(e)==="symbol"?e:String(e)}function Jn(t,e,r){return e=Yn(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function gs(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Gr(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?gs(Object(r),!0).forEach(function(n){Jn(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):gs(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function V(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var ys=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Xn=function(){return Math.random().toString(36).substring(7).split("").join(".")},Zr={INIT:"@@redux/INIT"+Xn(),REPLACE:"@@redux/REPLACE"+Xn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Xn()}};function _u(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Qn(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(V(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(V(1));return r(Qn)(t,e)}if(typeof t!="function")throw new Error(V(2));var i=t,a=e,s=[],c=s,l=!1;function d(){c===s&&(c=s.slice())}function p(){if(l)throw new Error(V(3));return a}function h(O){if(typeof O!="function")throw new Error(V(4));if(l)throw new Error(V(5));var C=!0;return d(),c.push(O),function(){if(C){if(l)throw new Error(V(6));C=!1,d();var R=c.indexOf(O);c.splice(R,1),s=null}}}function g(O){if(!_u(O))throw new Error(V(7));if(typeof O.type>"u")throw new Error(V(8));if(l)throw new Error(V(9));try{l=!0,a=i(a,O)}finally{l=!1}for(var C=s=c,A=0;A<C.length;A++){var R=C[A];R()}return O}function y(O){if(typeof O!="function")throw new Error(V(10));i=O,g({type:Zr.REPLACE})}function b(){var O,C=h;return O={subscribe:function(R){if(typeof R!="object"||R===null)throw new Error(V(11));function S(){R.next&&R.next(p())}S();var v=C(S);return{unsubscribe:v}}},O[ys]=function(){return this},O}return g({type:Zr.INIT}),n={dispatch:g,subscribe:h,getState:p,replaceReducer:y},n[ys]=b,n}function Pu(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:Zr.INIT});if(typeof n>"u")throw new Error(V(12));if(typeof r(void 0,{type:Zr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(V(13))})}function bs(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var i=e[n];typeof t[i]=="function"&&(r[i]=t[i])}var a=Object.keys(r),s,c;try{Pu(r)}catch(l){c=l}return function(d,p){if(d===void 0&&(d={}),c)throw c;if(0)var h;for(var g=!1,y={},b=0;b<a.length;b++){var O=a[b],C=r[O],A=d[O],R=C(A,p);if(typeof R>"u"){var S=p&&p.type;throw new Error(V(14))}y[O]=R,g=g||R!==A}return g=g||a.length!==Object.keys(d).length,g?y:d}}function ht(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function xs(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(V(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(l){return l(s)});return a=ht.apply(void 0,c)(i.dispatch),Gr(Gr({},i),{},{dispatch:a})}}}function vs(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(c){return typeof c=="function"?c(i,a,t):s(c)}}};return e}var Ss=vs();Ss.withExtraArgument=vs;var ei=Ss;var As=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Tu=function(t,e){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:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(d){return function(p){return l([d,p])}}function l(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=e.call(t,r)}catch(p){d=[6,p],i=0}finally{n=a=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}},mt=function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t},Lu=Object.defineProperty,ku=Object.defineProperties,$u=Object.getOwnPropertyDescriptors,Os=Object.getOwnPropertySymbols,Uu=Object.prototype.hasOwnProperty,Fu=Object.prototype.propertyIsEnumerable,ws=function(t,e,r){return e in t?Lu(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Te=function(t,e){for(var r in e||(e={}))Uu.call(e,r)&&ws(t,r,e[r]);if(Os)for(var n=0,i=Os(e);n<i.length;n++){var r=i[n];Fu.call(e,r)&&ws(t,r,e[r])}return t},ti=function(t,e){return ku(t,$u(e))},Mu=function(t,e,r){return new Promise(function(n,i){var a=function(l){try{c(r.next(l))}catch(d){i(d)}},s=function(l){try{c(r.throw(l))}catch(d){i(d)}},c=function(l){return l.done?n(l.value):Promise.resolve(l.value).then(a,s)};c((r=r.apply(t,e)).next())})};var Du=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ht:ht.apply(null,arguments)},Wg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Bu(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}var Wu=function(t){As(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,mt([void 0],r[0].concat(this)))):new(e.bind.apply(e,mt([void 0],r.concat(this))))},e}(Array),zu=function(t){As(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,mt([void 0],r[0].concat(this)))):new(e.bind.apply(e,mt([void 0],r.concat(this))))},e}(Array);function ni(t){return re(t)?Kr(t,function(){}):t}function Hu(t){return typeof t=="boolean"}function ju(){return function(e){return Vu(e)}}function Vu(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,n=t.immutableCheck,i=n===void 0?!0:n,a=t.serializableCheck,s=a===void 0?!0:a,c=new Wu;if(r&&(Hu(r)?c.push(ei):c.push(ei.withExtraArgument(r.extraArgument))),0){if(i)var l;if(s)var d}return c}var ri=!0;function Rs(t){var e=ju(),r=t||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,s=a===void 0?e():a,c=r.devTools,l=c===void 0?!0:c,d=r.preloadedState,p=d===void 0?void 0:d,h=r.enhancers,g=h===void 0?void 0:h,y;if(typeof i=="function")y=i;else if(Bu(i))y=bs(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var b=s;if(typeof b=="function"&&(b=b(e),!ri&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!ri&&b.some(function(v){return typeof v!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=xs.apply(void 0,b),C=ht;l&&(C=Du(Te({trace:!ri},typeof l=="object"&&l)));var A=new zu(O),R=A;Array.isArray(g)?R=mt([O],g):typeof g=="function"&&(R=g(A));var S=C.apply(void 0,R);return Qn(y,p,S)}function Le(t,e){function r(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Te(Te({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:n[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(n){return n.type===t},r}function Ns(t){var e={},r=[],n,i={addCase:function(a,s){var c=typeof a=="string"?a:a.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=s,i},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return t(i),[e,r,n]}function Ku(t){return typeof t=="function"}function Gu(t,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?Ns(e):[e,r,n],a=i[0],s=i[1],c=i[2],l;if(Ku(t))l=function(){return ni(t())};else{var d=ni(t);l=function(){return d}}function p(h,g){h===void 0&&(h=l());var y=mt([a[g.type]],s.filter(function(b){var O=b.matcher;return O(g)}).map(function(b){var O=b.reducer;return O}));return y.filter(function(b){return!!b}).length===0&&(y=[c]),y.reduce(function(b,O){if(O)if(me(b)){var C=b,A=O(C,g);return A===void 0?b:A}else{if(re(b))return Kr(b,function(R){return O(R,g)});var A=O(b,g);if(A===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return A}return b},h)}return p.getInitialState=l,p}function Zu(t,e){return t+"/"+e}function Is(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:ni(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};i.forEach(function(p){var h=n[p],g=Zu(e,p),y,b;"reducer"in h?(y=h.reducer,b=h.prepare):y=h,a[p]=y,s[g]=y,c[p]=b?Le(g,b):Le(g)});function l(){var p=typeof t.extraReducers=="function"?Ns(t.extraReducers):[t.extraReducers],h=p[0],g=h===void 0?{}:h,y=p[1],b=y===void 0?[]:y,O=p[2],C=O===void 0?void 0:O,A=Te(Te({},g),s);return Gu(r,function(R){for(var S in A)R.addCase(S,A[S]);for(var v=0,w=b;v<w.length;v++){var I=w[v];R.addMatcher(I.matcher,I.reducer)}C&&R.addDefaultCase(C)})}var d;return{name:e,reducer:function(p,h){return d||(d=l()),d(p,h)},actions:c,caseReducers:a,getInitialState:function(){return d||(d=l()),d.getInitialState()}}}var qu="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Yu=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=qu[Math.random()*64|0];return e},Ju=["name","message","stack","code"],oi=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Es=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Xu=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=Ju;r<n.length;r++){var i=n[r];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},Vg=function(){function t(e,r,n){var i=Le(e+"/fulfilled",function(p,h,g,y){return{payload:p,meta:ti(Te({},y||{}),{arg:g,requestId:h,requestStatus:"fulfilled"})}}),a=Le(e+"/pending",function(p,h,g){return{payload:void 0,meta:ti(Te({},g||{}),{arg:h,requestId:p,requestStatus:"pending"})}}),s=Le(e+"/rejected",function(p,h,g,y,b){return{payload:y,error:(n&&n.serializeError||Xu)(p||"Rejected"),meta:ti(Te({},b||{}),{arg:g,requestId:h,rejectedWithValue:!!y,requestStatus:"rejected",aborted:p?.name==="AbortError",condition:p?.name==="ConditionError"})}}),c=!1,l=typeof AbortController<"u"?AbortController:function(){function p(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return p.prototype.abort=function(){},p}();function d(p){return function(h,g,y){var b=n?.idGenerator?n.idGenerator(p):Yu(),O=new l,C,A=!1;function R(v){C=v,O.abort()}var S=function(){return Mu(this,null,function(){var v,w,I,_,j,$,m;return Tu(this,function(x){switch(x.label){case 0:return x.trys.push([0,4,,5]),_=(v=n?.condition)==null?void 0:v.call(n,p,{getState:g,extra:y}),ed(_)?[4,_]:[3,2];case 1:_=x.sent(),x.label=2;case 2:if(_===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return A=!0,j=new Promise(function(E,L){return O.signal.addEventListener("abort",function(){return L({name:"AbortError",message:C||"Aborted"})})}),h(a(b,p,(w=n?.getPendingMeta)==null?void 0:w.call(n,{requestId:b,arg:p},{getState:g,extra:y}))),[4,Promise.race([j,Promise.resolve(r(p,{dispatch:h,getState:g,extra:y,requestId:b,signal:O.signal,abort:R,rejectWithValue:function(E,L){return new oi(E,L)},fulfillWithValue:function(E,L){return new Es(E,L)}})).then(function(E){if(E instanceof oi)throw E;return E instanceof Es?i(E.payload,b,p,E.meta):i(E,b,p)})])];case 3:return I=x.sent(),[3,5];case 4:return $=x.sent(),I=$ instanceof oi?s(null,b,p,$.payload,$.meta):s($,b,p),[3,5];case 5:return m=n&&!n.dispatchConditionRejection&&s.match(I)&&I.meta.condition,m||h(I),[2,I]}})})}();return Object.assign(S,{abort:R,requestId:b,arg:p,unwrap:function(){return S.then(Qu)}})}}return Object.assign(d,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();function Qu(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function ed(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var _s="listener",Ps="completed",Ts="cancelled",Kg="task-"+Ts,Gg="task-"+Ps,Zg=_s+"-"+Ts,qg=_s+"-"+Ps;var ii="listenerMiddleware";var Yg=Le(ii+"/add"),Jg=Le(ii+"/removeAll"),Xg=Le(ii+"/remove");var Cs,Qg=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Cs||(Cs=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},td=function(t){return function(e){setTimeout(e,t)}},ey=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:td(10);ps();window.ftReduxStores||(window.ftReduxStores={});var ke=class t{static get(e){var r;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(Je(a))return a;if(i==null)return;let s=Is({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),c=Rs({reducer:(l,d)=>d.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof d.type=="string"&&d.type.startsWith("DEFAULT_VALUE_SETTER__")?{...l,...d.overwrites}:s.reducer(l,d)});return window.ftReduxStores[i.name]=new t(s,c)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new rr,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,c=n[s];return c?(...l)=>{let d=c(...l);return this.reduxStore.dispatch(d),d}:l=>{this.setState({[s]:l})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function rd(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))Je(e)&&e.clear()}var si={};F(si,{serializeRequest:()=>nd});function od(t){return`"${t}"`}function nd(t,e){var r,n,i,a;let s=new URLSearchParams({"content-lang":(r=e.contentLocale)!==null&&r!==void 0?r:"all"});if(((n=e.query)===null||n===void 0?void 0:n.length)>0&&s.append("query",e.query),e.scope&&e.scope!=="DEFAULT"&&s.append("scope",e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&s.append("virtual-field",e.virtualField.toLowerCase()),e.periodFilter){let l=e.periodFilter.period,d=l?`_${l.from}_${l.to}`:"";s.append("period",e.periodFilter.periodType.toLowerCase()+d)}if(((i=e.sort)===null||i===void 0?void 0:i.length)>0&&e.sort[0].key==="ft:lastEdition"&&s.append("sort","last_update"),((a=e.filters)===null||a===void 0?void 0:a.length)>0){let l=e.filters.map(d=>{let p=d.values.map(h=>h.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(h=>encodeURIComponent(od(h))).join("_");return`${d.key}~${p}`}).join("*");s.append("filters",l)}return new URL(`${t.replace(/\/+$/,"")}/search?${s.toString()}`).href}var ci={};F(ci,{toFtFormComponent:()=>id});var qr=Symbol("elementInternals");function id(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[qr].form}constructor(...i){super(i),this[qr]=this.attachInternals(),this[qr].role=e}setFormValue(i){this[qr].setFormValue(i)}}return r}var et=class{static format(e,r,n,i){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(n,i)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}};var li,ui,di,fi,ad=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((di=(ui=(li=window.safari)===null||li===void 0?void 0:li.pushNotification)===null||ui===void 0?void 0:ui.toString())!==null&&di!==void 0?di:"")==="[object SafariRemoteNotification]",sd="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(fi=window.ftGlobals)!==null&&fi!==void 0?fi:{lit:vo,litDecorators:So,litRepeat:Oo,litClassMap:wo,litStyleMap:Eo,litUnsafeHTML:Ao,wcUtils:{...No,...Ro,..._o,...et,...Po,...Lo,...ln,...pn,...En,...cn,...Nn,...An,...Ja,...To,...Tn,...Ln,...Qa,...kn,...ai,...Cn,...si,...ci,isSafari:ad,isTouchScreen:sd}};var Xy=Nc(ks(),1);var $s;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})($s||($s={}));var Us;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Us||(Us={}));var Fs;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(Fs||(Fs={}));var Ms;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT"})(Ms||(Ms={}));var Ds;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Ds||(Ds={}));var Bs;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Bs||(Bs={}));var Ws;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Ws||(Ws={}));var zs;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(zs||(zs={}));var Hs;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(Hs||(Hs={}));var js;(function(t){t.ASC="ASC",t.DESC="DESC"})(js||(js={}));var Vs;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Vs||(Vs={}));var pi;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(pi||(pi={}));var Ks;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Ks||(Ks={}));var Yr;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Yr||(Yr={}));var Gs;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Gs||(Gs={}));var gt;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(gt||(gt={}));var hi;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"})(hi||(hi={}));var H;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"})(H||(H={}));var Zs;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Zs||(Zs={}));var Zy={[H.PERSONAL_BOOK_SHARE_USER]:[H.PERSONAL_BOOK_USER],[H.HTML_EXPORT_USER]:[H.PERSONAL_BOOK_USER],[H.PDF_EXPORT_USER]:[H.PERSONAL_BOOK_USER],[H.KHUB_ADMIN]:[H.CONTENT_PUBLISHER],[H.ADMIN]:[H.KHUB_ADMIN,H.USERS_ADMIN,H.PORTAL_ADMIN],[H.DEVELOPER]:[H.BETA_USER,H.DEBUG_USER]};var qs=k`
|
|
43
|
-
|
|
42
|
+
`,bu=T`
|
|
43
|
+
input::-webkit-search-cancel-button,
|
|
44
|
+
input::-webkit-search-decoration,
|
|
45
|
+
input::-webkit-search-results-button,
|
|
46
|
+
input::-webkit-search-results-decoration {
|
|
47
|
+
display: none;
|
|
48
|
+
}
|
|
49
|
+
`;var Qa={};var kn={};F(kn,{ParametrizedLabelResolver:()=>tr});var tr=class{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var n,i;e=this.resolvePluralKey(e,r);let a=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return r.forEach((s,c)=>a=a.replace(new RegExp(`\\{${c}([^}]*)\\}`,"g"),(l,d)=>this.formatValue(s,d))),a}resolvePluralKey(e,r){for(let n of r)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}formatValue(e,r){return e instanceof Date?this.formatDate(e,r):e??""}formatDate(e,r){let n=i=>r?.includes("date")?e.toLocaleDateString(i):r?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var ai={};F(ai,{FtCommandQueue:()=>rr,FtLitElementRedux:()=>Ne,FtReduxStore:()=>ke,clearAllStores:()=>od,isFtReduxStore:()=>Je,redux:()=>es,reduxEventListener:()=>vu,reduxReactive:()=>xu});var xu=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},es=t=>{let e=t??{};return(r,n)=>{var i;let a={hasChanged:jt,attribute:!1,...e};L(a)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:c=>c[n],store:e.store})}},vu=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)};var rr=class{constructor(){this.queue=[]}add(e,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let r=this.queue.find(n=>n.type===e);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};function Je(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var ts,rs,os,zr=Symbol("internalReduxEventsUnsubscribers"),Re=Symbol("internalStoresUnsubscribers"),Xe=Symbol("internalStores"),Ne=class extends K{constructor(){super(...arguments),this[ts]=new Map,this[rs]=new Map,this[os]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[Xe].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Xe].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Xe].get(e)}addStore(e,r){var n;r=(n=r??(Je(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,e)}removeStore(e){let r=typeof e=="string"?e:e.name;this.unsubscribeFromStore(r),this[Xe].delete(r)}setupStore(e,r){this[Xe].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Xe].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let i=this.getStore(e.store);i&&(e.store?this[Re].has(e.store):this[Re].size>0)&&(this[r]=e.selector(i.getState(),this))}})}subscribeToStore(e,r){var n;this[Re].set(e,r.subscribe(()=>this.updateFromStores())),Je(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=c=>this[a](c);r.eventBus.addEventListener(i.eventName,s),this[zr].push(()=>r.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[Re].forEach((e,r)=>this.unsubscribeFromStore(r)),this[zr].forEach(e=>e()),this[zr]=[]}unsubscribeFromStore(e){this[Re].has(e)&&this[Re].get(e)(),this[Re].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};ts=Re,rs=Xe,os=zr;Ne.reduxProperties=new Map;Ne.reduxReactiveProperties=new Set;Ne.reduxEventListeners=new Map;function X(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function me(t){return!!t&&!!t[M]}function re(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===Nu}(t)||Array.isArray(t)||!!t[us]||!!(!((e=t.constructor)===null||e===void 0)&&e[us])||Hn(t)||jn(t))}function Qe(t,e,r){r===void 0&&(r=!1),pt(t)===0?(r?Object.keys:ft)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function pt(t){var e=t[M];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Hn(t)?2:jn(t)?3:0}function dt(t,e){return pt(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Su(t,e){return pt(t)===2?t.get(e):t[e]}function ds(t,e,r){var n=pt(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function fs(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Hn(t){return Au&&t instanceof Map}function jn(t){return Ru&&t instanceof Set}function Ie(t){return t.o||t.t}function Vn(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=ms(t);delete e[M];for(var r=ft(e),n=0;n<r.length;n++){var i=r[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function Kn(t,e){return e===void 0&&(e=!1),Gn(t)||me(t)||!re(t)||(pt(t)>1&&(t.set=t.add=t.clear=t.delete=Ou),Object.freeze(t),e&&Qe(t,function(r,n){return Kn(n,!0)},!0)),t}function Ou(){X(2)}function Gn(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function se(t){var e=zn[t];return e||X(18,t),e}function wu(t,e){zn[t]||(zn[t]=e)}function Dn(){return nr}function $n(t,e){e&&(se("Patches"),t.u=[],t.s=[],t.v=e)}function Hr(t){Bn(t),t.p.forEach(Eu),t.p=null}function Bn(t){t===nr&&(nr=t.l)}function ns(t){return nr={p:[],l:nr,h:t,m:!0,_:0}}function Eu(t){var e=t[M];e.i===0||e.i===1?e.j():e.g=!0}function Un(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||se("ES5").S(e,t,n),n?(r[M].P&&(Hr(e),X(4)),re(t)&&(t=jr(e,t),e.l||Vr(e,t)),e.u&&se("Patches").M(r[M].t,t,e.u,e.s)):t=jr(e,r,[]),Hr(e),e.u&&e.v(e.u,e.s),t!==hs?t:void 0}function jr(t,e,r){if(Gn(e))return e;var n=e[M];if(!n)return Qe(e,function(c,l){return is(t,n,e,c,l,r)},!0),e;if(n.A!==t)return e;if(!n.P)return Vr(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Vn(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),Qe(a,function(c,l){return is(t,n,i,c,l,r,s)}),Vr(t,i,!1),r&&t.u&&se("Patches").N(n,r,t.u,t.s)}return n.o}function is(t,e,r,n,i,a,s){if(me(i)){var c=jr(t,i,a&&e&&e.i!==3&&!dt(e.R,n)?a.concat(n):void 0);if(ds(r,n,c),!me(c))return;t.m=!1}else s&&r.add(i);if(re(i)&&!Gn(i)){if(!t.h.D&&t._<1)return;jr(t,i),e&&e.A.l||Vr(t,i)}}function Vr(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Kn(e,r)}function Fn(t,e){var r=t[M];return(r?Ie(r):t)[e]}function as(t,e){if(e in t)for(var r=Object.getPrototypeOf(t);r;){var n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=Object.getPrototypeOf(r)}}function _e(t){t.P||(t.P=!0,t.l&&_e(t.l))}function Mn(t){t.o||(t.o=Vn(t.t))}function Wn(t,e,r){var n=Hn(e)?se("MapSet").F(e,r):jn(e)?se("MapSet").T(e,r):t.O?function(i,a){var s=Array.isArray(i),c={i:s?1:0,A:a?a.A:Dn(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},l=c,d=ir;s&&(l=[c],d=or);var p=Proxy.revocable(l,d),h=p.revoke,g=p.proxy;return c.k=g,c.j=h,g}(e,r):se("ES5").J(e,r);return(r?r.A:Dn()).p.push(n),n}function Cu(t){return me(t)||X(22,t),function e(r){if(!re(r))return r;var n,i=r[M],a=pt(r);if(i){if(!i.P&&(i.i<4||!se("ES5").K(i)))return i.t;i.I=!0,n=ss(r,a),i.I=!1}else n=ss(r,a);return Qe(n,function(s,c){i&&Su(i.t,s)===c||ds(n,s,e(c))}),a===3?new Set(n):n}(t)}function ss(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Vn(t)}function ps(){function t(s,c){var l=a[s];return l?l.enumerable=c:a[s]=l={configurable:!0,enumerable:c,get:function(){var d=this[M];return ir.get(d,s)},set:function(d){var p=this[M];ir.set(p,s,d)}},l}function e(s){for(var c=s.length-1;c>=0;c--){var l=s[c][M];if(!l.P)switch(l.i){case 5:n(l)&&_e(l);break;case 4:r(l)&&_e(l)}}}function r(s){for(var c=s.t,l=s.k,d=ft(l),p=d.length-1;p>=0;p--){var h=d[p];if(h!==M){var g=c[h];if(g===void 0&&!dt(c,h))return!0;var y=l[h],b=y&&y[M];if(b?b.t!==g:!fs(y,g))return!0}}var O=!!c[M];return d.length!==ft(c).length+(O?0:1)}function n(s){var c=s.k;if(c.length!==s.t.length)return!0;var l=Object.getOwnPropertyDescriptor(c,c.length-1);if(l&&!l.get)return!0;for(var d=0;d<c.length;d++)if(!c.hasOwnProperty(d))return!0;return!1}function i(s){s.g&&X(3,JSON.stringify(Ie(s)))}var a={};wu("ES5",{J:function(s,c){var l=Array.isArray(s),d=function(h,g){if(h){for(var y=Array(g.length),b=0;b<g.length;b++)Object.defineProperty(y,""+b,t(b,!0));return y}var O=ms(g);delete O[M];for(var C=ft(O),A=0;A<C.length;A++){var R=C[A];O[R]=t(R,h||!!O[R].enumerable)}return Object.create(Object.getPrototypeOf(g),O)}(l,s),p={i:l?5:4,A:c?c.A:Dn(),P:!1,I:!1,R:{},l:c,t:s,k:d,o:null,g:!1,C:!1};return Object.defineProperty(d,M,{value:p,writable:!0}),d},S:function(s,c,l){l?me(c)&&c[M].A===s&&e(s.p):(s.u&&function d(p){if(p&&typeof p=="object"){var h=p[M];if(h){var g=h.t,y=h.k,b=h.R,O=h.i;if(O===4)Qe(y,function(v){v!==M&&(g[v]!==void 0||dt(g,v)?b[v]||d(y[v]):(b[v]=!0,_e(h)))}),Qe(g,function(v){y[v]!==void 0||dt(y,v)||(b[v]=!1,_e(h))});else if(O===5){if(n(h)&&(_e(h),b.length=!0),y.length<g.length)for(var C=y.length;C<g.length;C++)b[C]=!1;else for(var A=g.length;A<y.length;A++)b[A]=!0;for(var R=Math.min(y.length,g.length),S=0;S<R;S++)y.hasOwnProperty(S)||(b[S]=!0),b[S]===void 0&&d(y[S])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var cs,nr,Zn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Au=typeof Map<"u",Ru=typeof Set<"u",ls=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",hs=Zn?Symbol.for("immer-nothing"):((cs={})["immer-nothing"]=!0,cs),us=Zn?Symbol.for("immer-draftable"):"__$immer_draftable",M=Zn?Symbol.for("immer-state"):"__$immer_state";var Nu=""+Object.prototype.constructor,ft=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,ms=Object.getOwnPropertyDescriptors||function(t){var e={};return ft(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},zn={},ir={get:function(t,e){if(e===M)return t;var r=Ie(t);if(!dt(r,e))return function(i,a,s){var c,l=as(a,s);return l?"value"in l?l.value:(c=l.get)===null||c===void 0?void 0:c.call(i.k):void 0}(t,r,e);var n=r[e];return t.I||!re(n)?n:n===Fn(t.t,e)?(Mn(t),t.o[e]=Wn(t.A.h,n,t)):n},has:function(t,e){return e in Ie(t)},ownKeys:function(t){return Reflect.ownKeys(Ie(t))},set:function(t,e,r){var n=as(Ie(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var i=Fn(Ie(t),e),a=i?.[M];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(fs(r,i)&&(r!==void 0||dt(t.t,e)))return!0;Mn(t),_e(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return Fn(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Mn(t),_e(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=Ie(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){X(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){X(12)}},or={};Qe(ir,function(t,e){or[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),or.deleteProperty=function(t,e){return or.set.call(this,t,e,void 0)},or.set=function(t,e,r){return ir.set.call(this,t[0],e,r,t[0])};var Iu=function(){function t(r){var n=this;this.O=ls,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var c=a;a=i;var l=n;return function(O){var C=this;O===void 0&&(O=c);for(var A=arguments.length,R=Array(A>1?A-1:0),S=1;S<A;S++)R[S-1]=arguments[S];return l.produce(O,function(v){var w;return(w=a).call.apply(w,[C,v].concat(R))})}}var d;if(typeof a!="function"&&X(6),s!==void 0&&typeof s!="function"&&X(7),re(i)){var p=ns(n),h=Wn(n,i,void 0),g=!0;try{d=a(h),g=!1}finally{g?Hr(p):Bn(p)}return typeof Promise<"u"&&d instanceof Promise?d.then(function(O){return $n(p,s),Un(O,p)},function(O){throw Hr(p),O}):($n(p,s),Un(d,p))}if(!i||typeof i!="object"){if((d=a(i))===void 0&&(d=i),d===hs&&(d=void 0),n.D&&Kn(d,!0),s){var y=[],b=[];se("Patches").M(i,d,y,b),s(y,b)}return d}X(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(d){for(var p=arguments.length,h=Array(p>1?p-1:0),g=1;g<p;g++)h[g-1]=arguments[g];return n.produceWithPatches(d,function(y){return i.apply(void 0,[y].concat(h))})};var s,c,l=n.produce(i,a,function(d,p){s=d,c=p});return typeof Promise<"u"&&l instanceof Promise?l.then(function(d){return[d,s,c]}):[l,s,c]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){re(r)||X(8),me(r)&&(r=Cu(r));var n=ns(this),i=Wn(this,r,void 0);return i[M].C=!0,Bn(n),i},e.finishDraft=function(r,n){var i=r&&r[M],a=i.A;return $n(a,n),Un(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!ls&&X(20),this.O=r},e.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=se("Patches").$;return me(r)?s(r,n):this.produce(r,function(c){return s(c,n)})},t}(),J=new Iu,_u=J.produce,xg=J.produceWithPatches.bind(J),vg=J.setAutoFreeze.bind(J),Sg=J.setUseProxies.bind(J),Og=J.applyPatches.bind(J),wg=J.createDraft.bind(J),Eg=J.finishDraft.bind(J),Kr=_u;function Pe(t){"@babel/helpers - typeof";return Pe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pe(t)}function qn(t,e){if(Pe(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(Pe(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Yn(t){var e=qn(t,"string");return Pe(e)==="symbol"?e:String(e)}function Jn(t,e,r){return e=Yn(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function gs(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Gr(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?gs(Object(r),!0).forEach(function(n){Jn(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):gs(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function V(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var ys=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Xn=function(){return Math.random().toString(36).substring(7).split("").join(".")},Zr={INIT:"@@redux/INIT"+Xn(),REPLACE:"@@redux/REPLACE"+Xn(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Xn()}};function Pu(t){if(typeof t!="object"||t===null)return!1;for(var e=t;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function Qn(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(V(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(V(1));return r(Qn)(t,e)}if(typeof t!="function")throw new Error(V(2));var i=t,a=e,s=[],c=s,l=!1;function d(){c===s&&(c=s.slice())}function p(){if(l)throw new Error(V(3));return a}function h(O){if(typeof O!="function")throw new Error(V(4));if(l)throw new Error(V(5));var C=!0;return d(),c.push(O),function(){if(C){if(l)throw new Error(V(6));C=!1,d();var R=c.indexOf(O);c.splice(R,1),s=null}}}function g(O){if(!Pu(O))throw new Error(V(7));if(typeof O.type>"u")throw new Error(V(8));if(l)throw new Error(V(9));try{l=!0,a=i(a,O)}finally{l=!1}for(var C=s=c,A=0;A<C.length;A++){var R=C[A];R()}return O}function y(O){if(typeof O!="function")throw new Error(V(10));i=O,g({type:Zr.REPLACE})}function b(){var O,C=h;return O={subscribe:function(R){if(typeof R!="object"||R===null)throw new Error(V(11));function S(){R.next&&R.next(p())}S();var v=C(S);return{unsubscribe:v}}},O[ys]=function(){return this},O}return g({type:Zr.INIT}),n={dispatch:g,subscribe:h,getState:p,replaceReducer:y},n[ys]=b,n}function Tu(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:Zr.INIT});if(typeof n>"u")throw new Error(V(12));if(typeof r(void 0,{type:Zr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(V(13))})}function bs(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var i=e[n];typeof t[i]=="function"&&(r[i]=t[i])}var a=Object.keys(r),s,c;try{Tu(r)}catch(l){c=l}return function(d,p){if(d===void 0&&(d={}),c)throw c;if(0)var h;for(var g=!1,y={},b=0;b<a.length;b++){var O=a[b],C=r[O],A=d[O],R=C(A,p);if(typeof R>"u"){var S=p&&p.type;throw new Error(V(14))}y[O]=R,g=g||R!==A}return g=g||a.length!==Object.keys(d).length,g?y:d}}function ht(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function xs(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(V(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(l){return l(s)});return a=ht.apply(void 0,c)(i.dispatch),Gr(Gr({},i),{},{dispatch:a})}}}function vs(t){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(c){return typeof c=="function"?c(i,a,t):s(c)}}};return e}var Ss=vs();Ss.withExtraArgument=vs;var ei=Ss;var As=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Lu=function(t,e){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:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(d){return function(p){return l([d,p])}}function l(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=e.call(t,r)}catch(p){d=[6,p],i=0}finally{n=a=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}},mt=function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t},ku=Object.defineProperty,$u=Object.defineProperties,Uu=Object.getOwnPropertyDescriptors,Os=Object.getOwnPropertySymbols,Fu=Object.prototype.hasOwnProperty,Mu=Object.prototype.propertyIsEnumerable,ws=function(t,e,r){return e in t?ku(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},Te=function(t,e){for(var r in e||(e={}))Fu.call(e,r)&&ws(t,r,e[r]);if(Os)for(var n=0,i=Os(e);n<i.length;n++){var r=i[n];Mu.call(e,r)&&ws(t,r,e[r])}return t},ti=function(t,e){return $u(t,Uu(e))},Du=function(t,e,r){return new Promise(function(n,i){var a=function(l){try{c(r.next(l))}catch(d){i(d)}},s=function(l){try{c(r.throw(l))}catch(d){i(d)}},c=function(l){return l.done?n(l.value):Promise.resolve(l.value).then(a,s)};c((r=r.apply(t,e)).next())})};var Bu=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ht:ht.apply(null,arguments)},zg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Wu(t){if(typeof t!="object"||t===null)return!1;var e=Object.getPrototypeOf(t);if(e===null)return!0;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return e===r}var zu=function(t){As(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,mt([void 0],r[0].concat(this)))):new(e.bind.apply(e,mt([void 0],r.concat(this))))},e}(Array),Hu=function(t){As(e,t);function e(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=t.apply(this,r)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return t.prototype.concat.apply(this,r)},e.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(e.bind.apply(e,mt([void 0],r[0].concat(this)))):new(e.bind.apply(e,mt([void 0],r.concat(this))))},e}(Array);function ni(t){return re(t)?Kr(t,function(){}):t}function ju(t){return typeof t=="boolean"}function Vu(){return function(e){return Ku(e)}}function Ku(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,n=t.immutableCheck,i=n===void 0?!0:n,a=t.serializableCheck,s=a===void 0?!0:a,c=new zu;if(r&&(ju(r)?c.push(ei):c.push(ei.withExtraArgument(r.extraArgument))),0){if(i)var l;if(s)var d}return c}var ri=!0;function Rs(t){var e=Vu(),r=t||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,s=a===void 0?e():a,c=r.devTools,l=c===void 0?!0:c,d=r.preloadedState,p=d===void 0?void 0:d,h=r.enhancers,g=h===void 0?void 0:h,y;if(typeof i=="function")y=i;else if(Wu(i))y=bs(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var b=s;if(typeof b=="function"&&(b=b(e),!ri&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!ri&&b.some(function(v){return typeof v!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=xs.apply(void 0,b),C=ht;l&&(C=Bu(Te({trace:!ri},typeof l=="object"&&l)));var A=new Hu(O),R=A;Array.isArray(g)?R=mt([O],g):typeof g=="function"&&(R=g(A));var S=C.apply(void 0,R);return Qn(y,p,S)}function Le(t,e){function r(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Te(Te({type:t,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:t,payload:n[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(n){return n.type===t},r}function Ns(t){var e={},r=[],n,i={addCase:function(a,s){var c=typeof a=="string"?a:a.type;if(c in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[c]=s,i},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return t(i),[e,r,n]}function Gu(t){return typeof t=="function"}function Zu(t,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?Ns(e):[e,r,n],a=i[0],s=i[1],c=i[2],l;if(Gu(t))l=function(){return ni(t())};else{var d=ni(t);l=function(){return d}}function p(h,g){h===void 0&&(h=l());var y=mt([a[g.type]],s.filter(function(b){var O=b.matcher;return O(g)}).map(function(b){var O=b.reducer;return O}));return y.filter(function(b){return!!b}).length===0&&(y=[c]),y.reduce(function(b,O){if(O)if(me(b)){var C=b,A=O(C,g);return A===void 0?b:A}else{if(re(b))return Kr(b,function(R){return O(R,g)});var A=O(b,g);if(A===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return A}return b},h)}return p.getInitialState=l,p}function qu(t,e){return t+"/"+e}function Is(t){var e=t.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof t.initialState=="function"?t.initialState:ni(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};i.forEach(function(p){var h=n[p],g=qu(e,p),y,b;"reducer"in h?(y=h.reducer,b=h.prepare):y=h,a[p]=y,s[g]=y,c[p]=b?Le(g,b):Le(g)});function l(){var p=typeof t.extraReducers=="function"?Ns(t.extraReducers):[t.extraReducers],h=p[0],g=h===void 0?{}:h,y=p[1],b=y===void 0?[]:y,O=p[2],C=O===void 0?void 0:O,A=Te(Te({},g),s);return Zu(r,function(R){for(var S in A)R.addCase(S,A[S]);for(var v=0,w=b;v<w.length;v++){var I=w[v];R.addMatcher(I.matcher,I.reducer)}C&&R.addDefaultCase(C)})}var d;return{name:e,reducer:function(p,h){return d||(d=l()),d(p,h)},actions:c,caseReducers:a,getInitialState:function(){return d||(d=l()),d.getInitialState()}}}var Yu="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Ju=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=Yu[Math.random()*64|0];return e},Xu=["name","message","stack","code"],oi=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Es=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Qu=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=Xu;r<n.length;r++){var i=n[r];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},Kg=function(){function t(e,r,n){var i=Le(e+"/fulfilled",function(p,h,g,y){return{payload:p,meta:ti(Te({},y||{}),{arg:g,requestId:h,requestStatus:"fulfilled"})}}),a=Le(e+"/pending",function(p,h,g){return{payload:void 0,meta:ti(Te({},g||{}),{arg:h,requestId:p,requestStatus:"pending"})}}),s=Le(e+"/rejected",function(p,h,g,y,b){return{payload:y,error:(n&&n.serializeError||Qu)(p||"Rejected"),meta:ti(Te({},b||{}),{arg:g,requestId:h,rejectedWithValue:!!y,requestStatus:"rejected",aborted:p?.name==="AbortError",condition:p?.name==="ConditionError"})}}),c=!1,l=typeof AbortController<"u"?AbortController:function(){function p(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return p.prototype.abort=function(){},p}();function d(p){return function(h,g,y){var b=n?.idGenerator?n.idGenerator(p):Ju(),O=new l,C,A=!1;function R(v){C=v,O.abort()}var S=function(){return Du(this,null,function(){var v,w,I,_,j,$,m;return Lu(this,function(x){switch(x.label){case 0:return x.trys.push([0,4,,5]),_=(v=n?.condition)==null?void 0:v.call(n,p,{getState:g,extra:y}),td(_)?[4,_]:[3,2];case 1:_=x.sent(),x.label=2;case 2:if(_===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return A=!0,j=new Promise(function(E,k){return O.signal.addEventListener("abort",function(){return k({name:"AbortError",message:C||"Aborted"})})}),h(a(b,p,(w=n?.getPendingMeta)==null?void 0:w.call(n,{requestId:b,arg:p},{getState:g,extra:y}))),[4,Promise.race([j,Promise.resolve(r(p,{dispatch:h,getState:g,extra:y,requestId:b,signal:O.signal,abort:R,rejectWithValue:function(E,k){return new oi(E,k)},fulfillWithValue:function(E,k){return new Es(E,k)}})).then(function(E){if(E instanceof oi)throw E;return E instanceof Es?i(E.payload,b,p,E.meta):i(E,b,p)})])];case 3:return I=x.sent(),[3,5];case 4:return $=x.sent(),I=$ instanceof oi?s(null,b,p,$.payload,$.meta):s($,b,p),[3,5];case 5:return m=n&&!n.dispatchConditionRejection&&s.match(I)&&I.meta.condition,m||h(I),[2,I]}})})}();return Object.assign(S,{abort:R,requestId:b,arg:p,unwrap:function(){return S.then(ed)}})}}return Object.assign(d,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();function ed(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function td(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var _s="listener",Ps="completed",Ts="cancelled",Gg="task-"+Ts,Zg="task-"+Ps,qg=_s+"-"+Ts,Yg=_s+"-"+Ps;var ii="listenerMiddleware";var Jg=Le(ii+"/add"),Xg=Le(ii+"/removeAll"),Qg=Le(ii+"/remove");var Cs,ey=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Cs||(Cs=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},rd=function(t){return function(e){setTimeout(e,t)}},ty=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:rd(10);ps();window.ftReduxStores||(window.ftReduxStores={});var ke=class t{static get(e){var r;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(Je(a))return a;if(i==null)return;let s=Is({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),c=Rs({reducer:(l,d)=>d.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof d.type=="string"&&d.type.startsWith("DEFAULT_VALUE_SETTER__")?{...l,...d.overwrites}:s.reducer(l,d)});return window.ftReduxStores[i.name]=new t(s,c)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new rr,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,c=n[s];return c?(...l)=>{let d=c(...l);return this.reduxStore.dispatch(d),d}:l=>{this.setState({[s]:l})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function od(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))Je(e)&&e.clear()}var si={};F(si,{serializeRequest:()=>id});function nd(t){return`"${t}"`}function id(t,e){var r,n,i,a;let s=new URLSearchParams({"content-lang":(r=e.contentLocale)!==null&&r!==void 0?r:"all"});if(((n=e.query)===null||n===void 0?void 0:n.length)>0&&s.append("query",e.query),e.scope&&e.scope!=="DEFAULT"&&s.append("scope",e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&s.append("virtual-field",e.virtualField.toLowerCase()),e.periodFilter){let l=e.periodFilter.period,d=l?`_${l.from}_${l.to}`:"";s.append("period",e.periodFilter.periodType.toLowerCase()+d)}if(((i=e.sort)===null||i===void 0?void 0:i.length)>0&&e.sort[0].key==="ft:lastEdition"&&s.append("sort","last_update"),((a=e.filters)===null||a===void 0?void 0:a.length)>0){let l=e.filters.map(d=>{let p=d.values.map(h=>h.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(h=>encodeURIComponent(nd(h))).join("_");return`${d.key}~${p}`}).join("*");s.append("filters",l)}return new URL(`${t.replace(/\/+$/,"")}/search?${s.toString()}`).href}var ci={};F(ci,{toFtFormComponent:()=>ad});var qr=Symbol("elementInternals");function ad(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[qr].form}constructor(...i){super(i),this[qr]=this.attachInternals(),this[qr].role=e}setFormValue(i){this[qr].setFormValue(i)}}return r}var et=class{static format(e,r,n,i){return window.moment?window.moment(e).locale(r).format(this.getDateFormat(n,i)):e}static getDateFormat(e,r){return e?r?"lll":"ll":r?"L LT":"L"}};var li,ui,di,fi,sd=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((di=(ui=(li=window.safari)===null||li===void 0?void 0:li.pushNotification)===null||ui===void 0?void 0:ui.toString())!==null&&di!==void 0?di:"")==="[object SafariRemoteNotification]",cd="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(fi=window.ftGlobals)!==null&&fi!==void 0?fi:{lit:vo,litDecorators:So,litRepeat:Oo,litClassMap:wo,litStyleMap:Eo,litUnsafeHTML:Ao,wcUtils:{...No,...Ro,..._o,...et,...Po,...Lo,...ln,...pn,...En,...cn,...Nn,...An,...Ja,...To,...Tn,...Ln,...Qa,...kn,...ai,...Cn,...si,...ci,isSafari:sd,isTouchScreen:cd}};var Qy=Nc(ks(),1);var $s;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})($s||($s={}));var Us;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Us||(Us={}));var Fs;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER"})(Fs||(Fs={}));var Ms;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT"})(Ms||(Ms={}));var Ds;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Ds||(Ds={}));var Bs;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Bs||(Bs={}));var Ws;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Ws||(Ws={}));var zs;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(zs||(zs={}));var Hs;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(Hs||(Hs={}));var js;(function(t){t.ASC="ASC",t.DESC="DESC"})(js||(js={}));var Vs;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Vs||(Vs={}));var pi;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(pi||(pi={}));var Ks;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Ks||(Ks={}));var Yr;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Yr||(Yr={}));var Gs;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Gs||(Gs={}));var gt;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(gt||(gt={}));var hi;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"})(hi||(hi={}));var H;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN",t.DEVELOPER="DEVELOPER"})(H||(H={}));var Zs;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Zs||(Zs={}));var qy={[H.PERSONAL_BOOK_SHARE_USER]:[H.PERSONAL_BOOK_USER],[H.HTML_EXPORT_USER]:[H.PERSONAL_BOOK_USER],[H.PDF_EXPORT_USER]:[H.PERSONAL_BOOK_USER],[H.KHUB_ADMIN]:[H.CONTENT_PUBLISHER],[H.ADMIN]:[H.KHUB_ADMIN,H.USERS_ADMIN,H.PORTAL_ADMIN],[H.DEVELOPER]:[H.BETA_USER,H.DEBUG_USER]};var qs=T`
|
|
50
|
+
`;var ld="ft-app-info",mi=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},ud={session:(t,e)=>{ee(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>P.eventBus.dispatchEvent(new mi(e.payload)),0))}},P=ke.get({name:ld,reducers:ud,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 tt=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:n}=P.getState(),i=e??n;if(r&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,i,!0)}static await(e){return new Promise(r=>{let n=t.get(e);if(n)r(n);else{let i=P.subscribe(()=>{n=t.get(e),n&&(i(),r(n))})}})}};var ge=class{constructor(e=!0,r){var n;this.overrideApi=r;let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new ie,this.cache=e?i.commonCache:new ie}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:tt.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):tt.await()}clearCache(){this.cache.clearAll()}};var Ys,dd=Symbol("clearAfterUnitTest"),Jr=class extends ge{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Ys]=()=>{this.defaultMessages={},this.cache=new ie,this.listeners={}},this.currentUiLocale=P.getState().uiLocale,P.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=P.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var n;if(e=e.toLowerCase(),Object.keys(r).length>0){let i={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...r};ee(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}await this.fetchContext(e)}resolveMessage(e,r,...n){var i,a,s;e=e.toLowerCase(),this.fetchContext(e);let c=(a=(i=this.cache.getNow(e))===null||i===void 0?void 0:i.messages)!==null&&a!==void 0?a:{};return new tr((s=this.defaultMessages[e])!==null&&s!==void 0?s:{},c).resolve(r,...n)}async fetchContext(e){if(!this.cache.has(e))try{await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),await this.notify(e)}catch(r){console.error(r)}}subscribe(e,r){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(r),()=>{var i;return(i=this.listeners[e])===null||i===void 0?void 0:i.delete(r)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(e=>this.notify(e)))}async notify(e){this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(r=>Tr(0).then(()=>r()).catch(()=>null)))}};Ys=dd;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Jr{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Jr{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var Js=window.FluidTopicsI18nService,bb=window.FluidTopicsCustomI18nService;var G=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},z=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=()=>tt.get(),this.messageContexts=[],this.cache=new ie,this.cleanSessionDebouncer=new we}render(){return zt`
|
|
44
51
|
<slot></slot>
|
|
45
|
-
`}update(e){super.update(e),e.has("baseUrl")&&(P.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&P.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&P.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&P.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&P.actions.noCustom(this.noCustom),e.has("editorMode")&&P.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&P.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&P.actions.session(this.session),e.has("availableUiLocales")&&P.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>Js.addContext(r)),e.has("openExternalDocumentInNewTab")&&P.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&P.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&P.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};z.elementDefinitions={};z.styles=qs;G([
|
|
52
|
+
`}update(e){super.update(e),e.has("baseUrl")&&(P.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&P.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&P.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&P.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&P.actions.noCustom(this.noCustom),e.has("editorMode")&&P.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&P.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&P.actions.session(this.session),e.has("availableUiLocales")&&P.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>Js.addContext(r)),e.has("openExternalDocumentInNewTab")&&P.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&P.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&P.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let e=await this.apiProvider().getCurrentSession();return e.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},e.idleTimeoutInMillis),e})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};z.elementDefinitions={};z.styles=qs;G([L()],z.prototype,"baseUrl",void 0);G([L()],z.prototype,"apiIntegrationIdentifier",void 0);G([L()],z.prototype,"uiLocale",void 0);G([Ee(null)],z.prototype,"availableUiLocales",void 0);G([Ee(null)],z.prototype,"metadataConfiguration",void 0);G([L({type:Boolean})],z.prototype,"editorMode",void 0);G([L({type:Boolean})],z.prototype,"noCustom",void 0);G([L({type:Boolean})],z.prototype,"openExternalDocumentInNewTab",void 0);G([L({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],z.prototype,"noCustomComponent",void 0);G([L({type:Boolean})],z.prototype,"withManualResources",void 0);G([L({type:Boolean})],z.prototype,"navigatorOnline",void 0);G([L({type:Boolean})],z.prototype,"forcedOffline",void 0);G([L({type:Object})],z.prototype,"apiProvider",void 0);G([Ee([])],z.prototype,"messageContexts",void 0);G([Ee(void 0)],z.prototype,"session",void 0);var Xr=class extends ge{async listMySearches(){let e=P.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var Qr=class extends ge{async listMyBookmarks(){let e=P.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var fd="ft-user-assets",eo=ke.get({name:fd,initialState:{savedSearches:void 0,bookmarks:void 0}}),gi=class{constructor(){this.currentSession=P.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Qr,this.savedSearchesService=new Xr,P.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=P.getState();ee((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),eo.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),eo.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();eo.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;eo.actions.bookmarks(r)}}},Vb=new gi;var yi=class{addCommand(e,r=!1){P.commands.add(e,r)}consumeCommand(e){return P.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new yi;var bi=class{highlightHtml(e,r){Pn(e,r)}};window.FluidTopicsHighlightHtmlService=new bi;var xi=class{isDate(e){var r,n,i,a;return(a=(i=((n=(r=P.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(c=>c.key===e))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(e,r){var n,i,a;return et.format(e,(n=r?.locale)!==null&&n!==void 0?n:P.getState().uiLocale,(i=r?.longFormat)!==null&&i!==void 0?i:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new xi;Ge("ft-app-context")(z);var vi=class t extends Event{constructor(){super(t.eventName)}};vi.eventName="search-context-clear-all-filters";var pd=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Oi=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Si=Symbol("registerInterval");function hd(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Si]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Si]):this.dispatchEvent(new Oi)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Si,pd([Ht()],r.prototype,"stateManager",void 0),r}var to=class extends hd(Ne){};var wi=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ci=class extends Event{constructor(){super("register-ft-search-result-component",{bubbles:!0,composed:!0})}},Ei=Symbol("registerInterval");function md(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setResultStateManager(i){this.resultStateManager=i}unregisterResultStateManager(){this.resultStateManager&&(this.resultStateManager.unregisterComponent(this),this.resultStateManager=void 0)}connectedCallback(){super.connectedCallback(),this[Ei]=window.setInterval(()=>this.tryToRegisterToResultContext(),50)}tryToRegisterToResultContext(){this.result!=null?window.clearInterval(this[Ei]):this.dispatchEvent(new Ci)}disconnectedCallback(){super.disconnectedCallback(),this.unregisterResultStateManager()}}return e=Ei,wi([L({attribute:!1})],r.prototype,"cluster",void 0),wi([L({attribute:!1})],r.prototype,"result",void 0),wi([L({attribute:!1,type:Number})],r.prototype,"rank",void 0),r}var ro=class extends md(to){};var gd={highlightBackgroundColor:o.create("--ft-srt-highlight-background-color","","COLOR","transparent")},Xs=T`
|
|
46
53
|
.kwicmatch {
|
|
47
54
|
font-weight: 700;
|
|
48
|
-
background-color: ${
|
|
55
|
+
background-color: ${gd.highlightBackgroundColor};
|
|
49
56
|
}
|
|
50
57
|
|
|
51
58
|
a {
|
|
@@ -56,7 +63,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
56
63
|
a:focus {
|
|
57
64
|
outline: revert;
|
|
58
65
|
}
|
|
59
|
-
`;var ec=Symbol.for(""),
|
|
66
|
+
`;var ec=Symbol.for(""),yd=t=>{if(t?.r===ec)return t?._$litStatic$},Ai=t=>({_$litStatic$:t,r:ec});var Qs=new Map,tc=t=>(e,...r)=>{let n=r.length,i,a,s=[],c=[],l,d=0,p=!1;for(;d<n;){for(l=e[d];d<n&&(a=r[d],(i=yd(a))!==void 0);)l+=i+e[++d],p=!0;d!==n&&c.push(a),s.push(l),d++}if(d===n&&s.push(e[n]),p){let h=s.join("$$lit$$");(e=Qs.get(h))===void 0&&(s.raw=s,Qs.set(h,e=s)),r=c}return t(e,...r)},Ri=tc(Hi),W0=tc(ji);var oo;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button",t.display="display",t.title1="title-1",t.title2="title-2",t.title3="title-3",t.body1regular="body-1-regular",t.body1medium="body-1-medium",t.body1semibold="body-1-semibold",t.body2regular="body-2-regular",t.body2medium="body-2-medium",t.body2semibold="body-2-semibold",t.label1medium="label-1-medium",t.label1semibold="label-1-semibold",t.label1bold="label-1-bold",t.label2medium="label-2-medium",t.label2semibold="label-2-semibold",t.label2bold="label-2-bold",t.caption1medium="caption-1-medium",t.caption1semibold="caption-1-semibold",t.caption1bold="caption-1-bold",t.caption2medium="caption-2-medium",t.caption2semibold="caption-2-semibold",t.caption2bold="caption-2-bold"})(oo||(oo={}));function rc(t){let e=Vt[t];return T`
|
|
60
67
|
.ft-typography--${We(t)} {
|
|
61
68
|
font-family: ${e.fontFamily};
|
|
62
69
|
font-size: ${e.fontSize};
|
|
@@ -65,7 +72,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
65
72
|
line-height: ${e.lineHeight};
|
|
66
73
|
text-transform: ${e.textCase};
|
|
67
74
|
}
|
|
68
|
-
`}var oc=o.extend("--ft-typography-font-family","",Lr.titleFont),ye=o.extend("--ft-typography-font-family","",Lr.contentFont),N={fontFamily:ye,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")},yt={fontFamily:o.extend("--ft-typography-title-font-family","",oc),fontSize:o.extend("--ft-typography-title-font-size","",N.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",N.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",N.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",N.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",N.textTransform,"inherit")},bt={fontFamily:o.extend("--ft-typography-title-dense-font-family","",oc),fontSize:o.extend("--ft-typography-title-dense-font-size","",N.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",N.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",N.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",N.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",N.textTransform,"inherit")},xt={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",ye),fontSize:o.extend("--ft-typography-subtitle1-font-size","",N.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",N.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",N.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",N.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",N.textTransform,"inherit")},vt={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",ye),fontSize:o.extend("--ft-typography-subtitle2-font-size","",N.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",N.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",N.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",N.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",N.textTransform,"inherit")},St={fontFamily:o.extend("--ft-typography-body1-font-family","",ye),fontSize:o.extend("--ft-typography-body1-font-size","",N.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",N.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",N.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",N.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",N.textTransform,"inherit")},Ot={fontFamily:o.extend("--ft-typography-body2-font-family","",ye),fontSize:o.extend("--ft-typography-body2-font-size","",N.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",N.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",N.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",N.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",N.textTransform,"inherit")},wt={fontFamily:o.extend("--ft-typography-caption-font-family","",ye),fontSize:o.extend("--ft-typography-caption-font-size","",N.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",N.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",N.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",N.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",N.textTransform,"inherit")},Et={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",ye),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",N.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",N.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",N.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",N.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",N.textTransform,"inherit")},Ct={fontFamily:o.extend("--ft-typography-overline-font-family","",ye),fontSize:o.extend("--ft-typography-overline-font-size","",N.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",N.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",N.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",N.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",N.textTransform,"uppercase")},At={fontFamily:o.extend("--ft-typography-button-font-family","",ye),fontSize:o.extend("--ft-typography-button-font-size","",N.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",N.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",N.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",N.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",N.textTransform,"uppercase")},nc=
|
|
75
|
+
`}var oc=o.extend("--ft-typography-font-family","",Lr.titleFont),ye=o.extend("--ft-typography-font-family","",Lr.contentFont),N={fontFamily:ye,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")},yt={fontFamily:o.extend("--ft-typography-title-font-family","",oc),fontSize:o.extend("--ft-typography-title-font-size","",N.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",N.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",N.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",N.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",N.textTransform,"inherit")},bt={fontFamily:o.extend("--ft-typography-title-dense-font-family","",oc),fontSize:o.extend("--ft-typography-title-dense-font-size","",N.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",N.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",N.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",N.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",N.textTransform,"inherit")},xt={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",ye),fontSize:o.extend("--ft-typography-subtitle1-font-size","",N.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",N.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",N.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",N.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",N.textTransform,"inherit")},vt={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",ye),fontSize:o.extend("--ft-typography-subtitle2-font-size","",N.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",N.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",N.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",N.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",N.textTransform,"inherit")},St={fontFamily:o.extend("--ft-typography-body1-font-family","",ye),fontSize:o.extend("--ft-typography-body1-font-size","",N.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",N.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",N.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",N.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",N.textTransform,"inherit")},Ot={fontFamily:o.extend("--ft-typography-body2-font-family","",ye),fontSize:o.extend("--ft-typography-body2-font-size","",N.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",N.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",N.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",N.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",N.textTransform,"inherit")},wt={fontFamily:o.extend("--ft-typography-caption-font-family","",ye),fontSize:o.extend("--ft-typography-caption-font-size","",N.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",N.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",N.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",N.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",N.textTransform,"inherit")},Et={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",ye),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",N.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",N.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",N.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",N.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",N.textTransform,"inherit")},Ct={fontFamily:o.extend("--ft-typography-overline-font-family","",ye),fontSize:o.extend("--ft-typography-overline-font-size","",N.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",N.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",N.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",N.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",N.textTransform,"uppercase")},At={fontFamily:o.extend("--ft-typography-button-font-family","",ye),fontSize:o.extend("--ft-typography-button-font-size","",N.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",N.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",N.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",N.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",N.textTransform,"uppercase")},nc=T`
|
|
69
76
|
.ft-typography--title {
|
|
70
77
|
font-family: ${yt.fontFamily};
|
|
71
78
|
font-size: ${yt.fontSize};
|
|
@@ -74,7 +81,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
74
81
|
line-height: ${yt.lineHeight};
|
|
75
82
|
text-transform: ${yt.textTransform};
|
|
76
83
|
}
|
|
77
|
-
`,ic=
|
|
84
|
+
`,ic=T`
|
|
78
85
|
.ft-typography--title-dense {
|
|
79
86
|
font-family: ${bt.fontFamily};
|
|
80
87
|
font-size: ${bt.fontSize};
|
|
@@ -83,7 +90,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
83
90
|
line-height: ${bt.lineHeight};
|
|
84
91
|
text-transform: ${bt.textTransform};
|
|
85
92
|
}
|
|
86
|
-
`,ac=
|
|
93
|
+
`,ac=T`
|
|
87
94
|
.ft-typography--subtitle1 {
|
|
88
95
|
font-family: ${xt.fontFamily};
|
|
89
96
|
font-size: ${xt.fontSize};
|
|
@@ -92,7 +99,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
92
99
|
line-height: ${xt.lineHeight};
|
|
93
100
|
text-transform: ${xt.textTransform};
|
|
94
101
|
}
|
|
95
|
-
`,sc=
|
|
102
|
+
`,sc=T`
|
|
96
103
|
.ft-typography--subtitle2 {
|
|
97
104
|
font-family: ${vt.fontFamily};
|
|
98
105
|
font-size: ${vt.fontSize};
|
|
@@ -102,7 +109,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
102
109
|
text-transform: ${vt.textTransform};
|
|
103
110
|
}
|
|
104
111
|
|
|
105
|
-
`,cc=
|
|
112
|
+
`,cc=T`
|
|
106
113
|
.ft-typography--body1 {
|
|
107
114
|
font-family: ${St.fontFamily};
|
|
108
115
|
font-size: ${St.fontSize};
|
|
@@ -111,7 +118,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
111
118
|
line-height: ${St.lineHeight};
|
|
112
119
|
text-transform: ${St.textTransform};
|
|
113
120
|
}
|
|
114
|
-
`,lc=
|
|
121
|
+
`,lc=T`
|
|
115
122
|
.ft-typography--body2 {
|
|
116
123
|
font-family: ${Ot.fontFamily};
|
|
117
124
|
font-size: ${Ot.fontSize};
|
|
@@ -120,7 +127,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
120
127
|
line-height: ${Ot.lineHeight};
|
|
121
128
|
text-transform: ${Ot.textTransform};
|
|
122
129
|
}
|
|
123
|
-
`,uc=
|
|
130
|
+
`,uc=T`
|
|
124
131
|
.ft-typography--caption {
|
|
125
132
|
font-family: ${wt.fontFamily};
|
|
126
133
|
font-size: ${wt.fontSize};
|
|
@@ -129,7 +136,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
129
136
|
line-height: ${wt.lineHeight};
|
|
130
137
|
text-transform: ${wt.textTransform};
|
|
131
138
|
}
|
|
132
|
-
`,dc=
|
|
139
|
+
`,dc=T`
|
|
133
140
|
.ft-typography--breadcrumb {
|
|
134
141
|
font-family: ${Et.fontFamily};
|
|
135
142
|
font-size: ${Et.fontSize};
|
|
@@ -138,7 +145,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
138
145
|
line-height: ${Et.lineHeight};
|
|
139
146
|
text-transform: ${Et.textTransform};
|
|
140
147
|
}
|
|
141
|
-
`,fc=
|
|
148
|
+
`,fc=T`
|
|
142
149
|
.ft-typography--overline {
|
|
143
150
|
font-family: ${Ct.fontFamily};
|
|
144
151
|
font-size: ${Ct.fontSize};
|
|
@@ -147,7 +154,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
147
154
|
line-height: ${Ct.lineHeight};
|
|
148
155
|
text-transform: ${Ct.textTransform};
|
|
149
156
|
}
|
|
150
|
-
`,pc=
|
|
157
|
+
`,pc=T`
|
|
151
158
|
.ft-typography--button {
|
|
152
159
|
font-family: ${At.fontFamily};
|
|
153
160
|
font-size: ${At.fontSize};
|
|
@@ -156,7 +163,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
156
163
|
line-height: ${At.lineHeight};
|
|
157
164
|
text-transform: ${At.textTransform};
|
|
158
165
|
}
|
|
159
|
-
`,hc=
|
|
166
|
+
`,hc=T`
|
|
160
167
|
.ft-typography {
|
|
161
168
|
vertical-align: inherit;
|
|
162
169
|
}
|
|
@@ -168,7 +175,7 @@ Also for action icons.`,u.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
168
175
|
</${Ai(this.element)}>
|
|
169
176
|
`:Ri`
|
|
170
177
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
171
|
-
`}};be.styles=[nc,ic,ac,sc,cc,lc,uc,dc,fc,pc,hc,...mc];gc([
|
|
178
|
+
`}};be.styles=[nc,ic,ac,sc,cc,lc,uc,dc,fc,pc,hc,...mc];gc([L()],be.prototype,"element",void 0);gc([L()],be.prototype,"variant",void 0);Ge("ft-typography")(be);var yc=t=>t??D;function bc(t){var e,r,n,i,a;return((i=(r=(e=t.map)===null||e===void 0?void 0:e.openMode)!==null&&r!==void 0?r:(n=t.topic)===null||n===void 0?void 0:n.openMode)!==null&&i!==void 0?i:(a=t.document)===null||a===void 0?void 0:a.openMode)===Yr.EXTERNAL}function xc(t){var e,r,n,i,a;if(bc(t))return(i=(r=(e=t.map)===null||e===void 0?void 0:e.originUrl)!==null&&r!==void 0?r:(n=t.topic)===null||n===void 0?void 0:n.originUrl)!==null&&i!==void 0?i:(a=t.document)===null||a===void 0?void 0:a.originUrl;switch(t.type){case gt.MAP:return t.map.readerUrl;case gt.DOCUMENT:return t.document.viewerUrl;case gt.TOPIC:return t.topic.readerUrl}return""}function vc(t,e){return yc(e&&bc(t)?"_blank":void 0)}var no=class extends CustomEvent{constructor(e,r){super("ft-search-result-click",{detail:{result:e,rank:r},bubbles:!0,composed:!0})}};var Rt=class extends ro{render(){var e;return this.result?zt`
|
|
172
179
|
<a href="${this.result?xc(this.result):""}" @click=${this.onResultClick} target="${vc(this.result,(e=this.stateManager)===null||e===void 0?void 0:e.openExternalDocumentInNewTab)}">
|
|
173
180
|
<ft-typography variant="title" part="text">${Co(this.selectTitle(this.result))}</ft-typography>
|
|
174
181
|
</a>
|