@fluid-topics/ft-search-input 1.1.105 → 1.1.107
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-search-input.js +1 -1
- package/build/ft-search-input.light.js +215 -214
- package/build/ft-search-input.min.js +216 -215
- package/package.json +10 -10
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
"use strict";(()=>{var $l=Object.create;var Zo=Object.defineProperty;var kl=Object.getOwnPropertyDescriptor;var Dl=Object.getOwnPropertyNames;var Ml=Object.getPrototypeOf,Ul=Object.prototype.hasOwnProperty;var Bl=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),H=(t,e)=>{for(var r in e)Zo(t,r,{get:e[r],enumerable:!0})},Fl=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Dl(e))!Ul.call(t,i)&&i!==r&&Zo(t,i,{get:()=>e[i],enumerable:!(n=kl(e,i))||n.enumerable});return t};var Wl=(t,e,r)=>(r=t!=null?$l(Ml(t)):{},Fl(e||!t||!t.__esModule?Zo(r,"default",{value:t,enumerable:!0}):r,t));var pl=Bl(ll=>{(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 R=m.shift();return{done:R===void 0,value:R}}};return n.iterable&&(x[Symbol.iterator]=function(){return x}),x}function u(m){this.map={},m instanceof u?m.forEach(function(x,R){this.append(R,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)}u.prototype.append=function(m,x){m=c(m),x=l(x);var R=this.map[m];this.map[m]=R?R+", "+x:x},u.prototype.delete=function(m){delete this.map[c(m)]},u.prototype.get=function(m){return m=c(m),this.has(m)?this.map[m]:null},u.prototype.has=function(m){return this.map.hasOwnProperty(c(m))},u.prototype.set=function(m,x){this.map[c(m)]=l(x)},u.prototype.forEach=function(m,x){for(var R in this.map)this.map.hasOwnProperty(R)&&m.call(x,this.map[R],R,this)},u.prototype.keys=function(){var m=[];return this.forEach(function(x,R){m.push(R)}),d(m)},u.prototype.values=function(){var m=[];return this.forEach(function(x){m.push(x)}),d(m)},u.prototype.entries=function(){var m=[];return this.forEach(function(x,R){m.push([R,x])}),d(m)},n.iterable&&(u.prototype[Symbol.iterator]=u.prototype.entries);function h(m){if(m.bodyUsed)return Promise.reject(new TypeError("Already read"));m.bodyUsed=!0}function y(m){return new Promise(function(x,R){m.onload=function(){x(m.result)},m.onerror=function(){R(m.error)}})}function g(m){var x=new FileReader,R=y(x);return x.readAsArrayBuffer(m),R}function b(m){var x=new FileReader,R=y(x);return x.readAsText(m),R}function O(m){for(var x=new Uint8Array(m),R=new Array(x.length),U=0;U<x.length;U++)R[U]=String.fromCharCode(x[U]);return R.join("")}function N(m){if(m.slice)return m.slice(0);var x=new Uint8Array(m.byteLength);return x.set(new Uint8Array(m)),x.buffer}function _(){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=N(m.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(m)||s(m))?this._bodyArrayBuffer=N(m):this._bodyText=m=Object.prototype.toString.call(m):this._bodyText="",this.headers.get("content-type")||(typeof m=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var m=h(this);if(m)return m;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?h(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(g)}),this.text=function(){var m=h(this);if(m)return m;if(this._bodyBlob)return b(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(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(E)}),this.json=function(){return this.text().then(JSON.parse)},this}var P=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function S(m){var x=m.toUpperCase();return P.indexOf(x)>-1?x:m}function v(m,x){x=x||{};var R=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 u(m.headers)),this.method=m.method,this.mode=m.mode,this.signal=m.signal,!R&&m._bodyInit!=null&&(R=m._bodyInit,m.bodyUsed=!0)}else this.url=String(m);if(this.credentials=x.credentials||this.credentials||"same-origin",(x.headers||!this.headers)&&(this.headers=new u(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")&&R)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(R)}v.prototype.clone=function(){return new v(this,{body:this._bodyInit})};function E(m){var x=new FormData;return m.trim().split("&").forEach(function(R){if(R){var U=R.split("="),Y=U.shift().replace(/\+/g," "),W=U.join("=").replace(/\+/g," ");x.append(decodeURIComponent(Y),decodeURIComponent(W))}}),x}function $(m){var x=new u,R=m.replace(/\r?\n[\t ]+/g," ");return R.split(/\r?\n/).forEach(function(U){var Y=U.split(":"),W=Y.shift().trim();if(W){var zr=Y.join(":").trim();x.append(W,zr)}}),x}_.call(v.prototype);function k(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 u(x.headers),this.url=x.url||"",this._initBody(m)}_.call(k.prototype),k.prototype.clone=function(){return new k(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},k.error=function(){var m=new k(null,{status:0,statusText:""});return m.type="error",m};var ne=[301,302,303,307,308];k.redirect=function(m,x){if(ne.indexOf(x)===-1)throw new RangeError("Invalid status code");return new k(null,{status:x,headers:{location:m}})},r.DOMException=t.DOMException;try{new r.DOMException}catch{r.DOMException=function(x,R){this.message=x,this.name=R;var U=Error(x);this.stack=U.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function F(m,x){return new Promise(function(R,U){var Y=new v(m,x);if(Y.signal&&Y.signal.aborted)return U(new r.DOMException("Aborted","AbortError"));var W=new XMLHttpRequest;function zr(){W.abort()}W.onload=function(){var pr={status:W.status,statusText:W.statusText,headers:$(W.getAllResponseHeaders()||"")};pr.url="responseURL"in W?W.responseURL:pr.headers.get("X-Request-URL");var Go="response"in W?W.response:W.responseText;R(new k(Go,pr))},W.onerror=function(){U(new TypeError("Network request failed"))},W.ontimeout=function(){U(new TypeError("Network request failed"))},W.onabort=function(){U(new r.DOMException("Aborted","AbortError"))},W.open(Y.method,Y.url,!0),Y.credentials==="include"?W.withCredentials=!0:Y.credentials==="omit"&&(W.withCredentials=!1),"responseType"in W&&n.blob&&(W.responseType="blob"),Y.headers.forEach(function(pr,Go){W.setRequestHeader(Go,pr)}),Y.signal&&(Y.signal.addEventListener("abort",zr),W.onreadystatechange=function(){W.readyState===4&&Y.signal.removeEventListener("abort",zr)}),W.send(typeof Y._bodyInit>"u"?null:Y._bodyInit)})}return F.polyfill=!0,t.fetch||(t.fetch=F,t.Headers=u,t.Request=v,t.Response=k),r.Headers=u,r.Request=v,r.Response=k,r.fetch=F,Object.defineProperty(r,"__esModule",{value:!0}),r}({})})(typeof self<"u"?self:ll)});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 E=v.prototype.attributeChangedCallback,$=new Set(v.observedAttributes||[]);y(v,$,E);let k={elementClass:v,connectedCallback:v.prototype.connectedCallback,disconnectedCallback:v.prototype.disconnectedCallback,adoptedCallback:v.prototype.adoptedCallback,attributeChangedCallback:E,formAssociated:v.formAssociated,formAssociatedCallback:v.prototype.formAssociatedCallback,formDisabledCallback:v.prototype.formDisabledCallback,formResetCallback:v.prototype.formResetCallback,formStateRestoreCallback:v.prototype.formStateRestoreCallback,observedAttributes:$};this._definitionsByTag.set(S,k),this._definitionsByClass.set(v,k);let ne=r.call(n,S);ne||(ne=h(S),e.call(n,S,ne)),this===window.customElements&&(s.set(v,k),k.standInClass=ne);let F=this._awaitingUpgrade.get(S);if(F){this._awaitingUpgrade.delete(S);for(let x of F)a.delete(x),b(x,k,!0)}let m=this._whenDefinedPromises.get(S);return m!==void 0&&(m.resolve(v),this._whenDefinedPromises.delete(S)),v}upgrade(){N.push(this),n.upgrade.apply(n,arguments),N.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 E=this._whenDefinedPromises.get(S);return E===void 0&&(E={},E.promise=new Promise($=>E.resolve=$),this._whenDefinedPromises.set(S,E)),E.promise}_upgradeWhenDefined(S,v,E){let $=this._awaitingUpgrade.get(v);$||this._awaitingUpgrade.set(v,$=new Set),E?$.add(S):$.delete(S)}};let l;window.HTMLElement=function(){let v=l;if(v)return l=void 0,v;let E=s.get(this.constructor);if(!E)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return v=Reflect.construct(t,[],E.standInClass),Object.setPrototypeOf(v,this.constructor.prototype),i.set(v,E),v},window.HTMLElement.prototype=t.prototype;let d=S=>S===document||S instanceof ShadowRoot,u=S=>{let v=S.getRootNode();if(!d(v)){let E=N[N.length-1];if(E instanceof CustomElementRegistry)return E;v=E.getRootNode(),d(v)||(v=c.get(v)?.getRootNode()||document)}return v.customElements},h=S=>class{static get formAssociated(){return!0}constructor(){let E=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(E,HTMLElement.prototype);let $=u(E)||window.customElements,k=$._getDefinition(S);return k?b(E,k):a.set(E,$),E}connectedCallback(){let E=i.get(this);E?E.connectedCallback&&E.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,S,!0)}disconnectedCallback(){let E=i.get(this);E?E.disconnectedCallback&&E.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,S,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let E=i.get(this);E&&E.formAssociated&&E?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let E=i.get(this);E?.formAssociated&&E?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let E=i.get(this);E?.formAssociated&&E?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let E=i.get(this);E?.formAssociated&&E?.formStateRestoreCallback?.apply(this,arguments)}},y=(S,v,E)=>{if(v.size===0||E===void 0)return;let $=S.prototype.setAttribute;$&&(S.prototype.setAttribute=function(F,m){let x=F.toLowerCase();if(v.has(x)){let R=this.getAttribute(x);$.call(this,x,m),E.call(this,x,R,m)}else $.call(this,x,m)});let k=S.prototype.removeAttribute;k&&(S.prototype.removeAttribute=function(F){let m=F.toLowerCase();if(v.has(m)){let x=this.getAttribute(m);k.call(this,m),E.call(this,m,x,null)}else k.call(this,m)});let ne=S.prototype.toggleAttribute;ne&&(S.prototype.toggleAttribute=function(F,m){let x=F.toLowerCase();if(v.has(x)){let R=this.getAttribute(x);ne.call(this,x,m);let U=this.getAttribute(x);E.call(this,x,R,U)}else ne.call(this,x,m)})},g=S=>{let v=Object.getPrototypeOf(S);if(v!==window.HTMLElement)return v===t?Object.setPrototypeOf(S,window.HTMLElement):g(v)},b=(S,v,E=!1)=>{Object.setPrototypeOf(S,v.elementClass.prototype),i.set(S,v),l=S;try{new v.elementClass}catch{g(v.elementClass),new v.elementClass}v.attributeChangedCallback&&v.observedAttributes.forEach($=>{S.hasAttribute($)&&v.attributeChangedCallback.call(S,$,null,S.getAttribute($))}),E&&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 N=[document],_=(S,v,E=void 0)=>{let $=(E?Object.getPrototypeOf(E):S.prototype)[v];S.prototype[v]=function(){N.push(this);let k=$.apply(E||this,arguments);return k!==void 0&&c.set(k,this),N.pop(),k}};_(ShadowRoot,"createElement",document),_(ShadowRoot,"importNode",document),_(Element,"insertAdjacentHTML");let P=(S,v)=>{let E=Object.getOwnPropertyDescriptor(S.prototype,v);Object.defineProperty(S.prototype,v,{...E,set($){N.push(this),E.set.call(this,$),N.pop()}})};if(P(Element,"innerHTML"),P(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let S=new WeakMap,v=HTMLElement.prototype.attachInternals,E=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...F){let m=v.call(this,...F);return S.set(m,this),m},E.forEach(F=>{let m=window.ElementInternals.prototype,x=m[F];m[F]=function(...R){let U=S.get(this);if(i.get(U).formAssociated===!0)return x?.call(this,...R);throw new DOMException(`Failed to execute ${x} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class $ extends Array{constructor(m){super(...m),this._elements=m}get value(){return this._elements.find(m=>m.checked===!0)?.value||""}}class k{constructor(m){let x=new Map;m.forEach((R,U)=>{let Y=R.getAttribute("name"),W=x.get(Y)||[];this[+U]=R,W.push(R),x.set(Y,W)}),this.length=m.length,x.forEach((R,U)=>{R&&(R.length===1?this[U]=R[0]:this[U]=new $(R))})}namedItem(m){return this[m]}}let ne=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let F=ne.get.call(this,[]),m=[];for(let x of F){let R=i.get(x);(!R||R.formAssociated===!0)&&m.push(x)}return new k(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 cn={};H(cn,{CSSResult:()=>Mt,LitElement:()=>We,ReactiveElement:()=>_e,_$LE:()=>dp,_$LH:()=>cp,adoptStyles:()=>no,css:()=>T,defaultConverter:()=>io,getCompatibleStyle:()=>br,html:()=>j,isServer:()=>Bu,noChange:()=>Xe,notEqual:()=>tn,nothing:()=>V,render:()=>sn,supportsAdoptingStyleSheets:()=>gr,svg:()=>sp,unsafeCSS:()=>xt});var jr=globalThis,Kr=jr.ShadowRoot&&(jr.ShadyCSS===void 0||jr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Pa=Symbol(),_a=new WeakMap,Vr=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Pa)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(Kr&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=_a.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&_a.set(r,e))}return e}toString(){return this.cssText}},Ta=t=>new Vr(typeof t=="string"?t:t+"",void 0,Pa);var qo=(t,e)=>{if(Kr)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=jr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},Gr=Kr?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Ta(r)})(t):t;var{is:Hl,defineProperty:zl,getOwnPropertyDescriptor:jl,getOwnPropertyNames:Vl,getOwnPropertySymbols:Kl,getPrototypeOf:Gl}=Object,Zr=globalThis,Ia=Zr.trustedTypes,Zl=Ia?Ia.emptyScript:"",ql=Zr.reactiveElementPolyfillSupport,dr=(t,e)=>t,ur={toAttribute(t,e){switch(e){case Boolean:t=t?Zl: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}},qr=(t,e)=>!Hl(t,e),La={attribute:!0,type:String,converter:ur,reflect:!1,hasChanged:qr};Symbol.metadata??=Symbol("metadata"),Zr.litPropertyMetadata??=new WeakMap;var ft=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=La){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&&zl(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=jl(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)??La}static _$Ei(){if(this.hasOwnProperty(dr("elementProperties")))return;let e=Gl(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(dr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(dr("properties"))){let r=this.properties,n=[...Vl(r),...Kl(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(Gr(i))}else e!==void 0&&r.push(Gr(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 qo(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:ur).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:ur;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??qr)(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){}};ft.elementStyles=[],ft.shadowRootOptions={mode:"open"},ft[dr("elementProperties")]=new Map,ft[dr("finalized")]=new Map,ql?.({ReactiveElement:ft}),(Zr.reactiveElementVersions??=[]).push("2.0.2");var Xo=globalThis,Yr=Xo.trustedTypes,$a=Yr?Yr.createPolicy("lit-html",{createHTML:t=>t}):void 0,Jo="$lit$",Be=`lit$${(Math.random()+"").slice(9)}$`,Qo="?"+Be,Yl=`<${Qo}>`,yt=document,Xr=()=>yt.createComment(""),hr=t=>t===null||typeof t!="object"&&typeof t!="function",Fa=Array.isArray,Wa=t=>Fa(t)||typeof t?.[Symbol.iterator]=="function",Yo=`[
|
|
2
|
-
\f\r]`,fr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ka=/-->/g,Da=/>/g,ht=RegExp(`>|${Yo}(?:([^\\s"'>=/]+)(${Yo}*=${Yo}*(?:[^
|
|
3
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Ma=/'/g,Ua=/"/g,Ha=/^(?:script|style|textarea|title)$/i,za=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),ja=za(1),Va=za(2),ye=Symbol.for("lit-noChange"),X=Symbol.for("lit-nothing"),Ba=new WeakMap,mt=yt.createTreeWalker(yt,129);function Ka(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return $a!==void 0?$a.createHTML(e):e}var Ga=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",s=fr;for(let c=0;c<r;c++){let l=t[c],d,u,h=-1,y=0;for(;y<l.length&&(s.lastIndex=y,u=s.exec(l),u!==null);)y=s.lastIndex,s===fr?u[1]==="!--"?s=ka:u[1]!==void 0?s=Da:u[2]!==void 0?(Ha.test(u[2])&&(i=RegExp("</"+u[2],"g")),s=ht):u[3]!==void 0&&(s=ht):s===ht?u[0]===">"?(s=i??fr,h=-1):u[1]===void 0?h=-2:(h=s.lastIndex-u[2].length,d=u[1],s=u[3]===void 0?ht:u[3]==='"'?Ua:Ma):s===Ua||s===Ma?s=ht:s===ka||s===Da?s=fr:(s=ht,i=void 0);let g=s===ht&&t[c+1].startsWith("/>")?" ":"";a+=s===fr?l+Yl:h>=0?(n.push(d),l.slice(0,h)+Jo+l.slice(h)+Be+g):l+Be+(h===-2?c:g)}return[Ka(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},mr=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,u]=Ga(e,r);if(this.el=t.createElement(d,n),mt.currentNode=this.el.content,r===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=mt.nextNode())!==null&&l.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(Jo)){let y=u[s++],g=i.getAttribute(h).split(Be),b=/([.?@])?(.*)/.exec(y);l.push({type:1,index:a,name:b[2],strings:g,ctor:b[1]==="."?Qr:b[1]==="?"?eo:b[1]==="@"?to:bt}),i.removeAttribute(h)}else h.startsWith(Be)&&(l.push({type:6,index:a}),i.removeAttribute(h));if(Ha.test(i.tagName)){let h=i.textContent.split(Be),y=h.length-1;if(y>0){i.textContent=Yr?Yr.emptyScript:"";for(let g=0;g<y;g++)i.append(h[g],Xr()),mt.nextNode(),l.push({type:2,index:++a});i.append(h[y],Xr())}}}else if(i.nodeType===8)if(i.data===Qo)l.push({type:2,index:a});else{let h=-1;for(;(h=i.data.indexOf(Be,h+1))!==-1;)l.push({type:7,index:a}),h+=Be.length-1}a++}}static createElement(e,r){let n=yt.createElement("template");return n.innerHTML=e,n}};function gt(t,e,r=t,n){if(e===ye)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=hr(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=gt(t,i._$AS(t,e.values),i,n)),e}var Jr=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,i=(e?.creationScope??yt).importNode(r,!0);mt.currentNode=i;let a=mt.nextNode(),s=0,c=0,l=n[0];for(;l!==void 0;){if(s===l.index){let d;l.type===2?d=new yr(a,a.nextSibling,this,e):l.type===1?d=new l.ctor(a,l.name,l.strings,this,e):l.type===6&&(d=new ro(a,this,e)),this._$AV.push(d),l=n[++c]}s!==l?.index&&(a=mt.nextNode(),s++)}return mt.currentNode=yt,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},yr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=X,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=gt(this,e,r),hr(e)?e===X||e==null||e===""?(this._$AH!==X&&this._$AR(),this._$AH=X):e!==this._$AH&&e!==ye&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Wa(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!==X&&hr(this._$AH)?this._$AA.nextSibling.data=e:this.$(yt.createTextNode(e)),this._$AH=e}g(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=mr.createElement(Ka(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new Jr(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=Ba.get(e.strings);return r===void 0&&Ba.set(e.strings,r=new mr(e)),r}T(e){Fa(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(Xr()),this.k(Xr()),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))}},bt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=X,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=X}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=gt(this,e,r,0),s=!hr(e)||e!==this._$AH&&e!==ye,s&&(this._$AH=e);else{let c=e,l,d;for(e=a[0],l=0;l<a.length-1;l++)d=gt(this,c[n+l],r,l),d===ye&&(d=this._$AH[l]),s||=!hr(d)||d!==this._$AH[l],d===X?e=X:e!==X&&(e+=(d??"")+a[l+1]),this._$AH[l]=d}s&&!i&&this.O(e)}O(e){e===X?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Qr=class extends bt{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===X?void 0:e}},eo=class extends bt{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==X)}},to=class extends bt{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=gt(this,e,r,0)??X)===ye)return;let n=this._$AH,i=e===X&&n!==X||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==X&&(n===X||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)}},ro=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){gt(this,e)}},Za={j:Jo,P:Be,A:Qo,C:1,M:Ga,L:Jr,R:Wa,V:gt,D:yr,I:bt,H:eo,N:to,U:Qr,B:ro},Xl=Xo.litHtmlPolyfillSupport;Xl?.(mr,yr),(Xo.litHtmlVersions??=[]).push("3.1.0");var oo=globalThis,gr=oo.ShadowRoot&&(oo.ShadyCSS===void 0||oo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,en=Symbol(),qa=new WeakMap,Mt=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==en)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(gr&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=qa.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&qa.set(r,e))}return e}toString(){return this.cssText}},xt=t=>new Mt(typeof t=="string"?t:t+"",void 0,en),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 Mt(r,t,en)},no=(t,e)=>{if(gr)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=oo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},br=gr?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return xt(r)})(t):t;var{is:Jl,defineProperty:Ql,getOwnPropertyDescriptor:ep,getOwnPropertyNames:tp,getOwnPropertySymbols:rp,getPrototypeOf:op}=Object,ao=globalThis,Ya=ao.trustedTypes,np=Ya?Ya.emptyScript:"",ip=ao.reactiveElementPolyfillSupport,xr=(t,e)=>t,io={toAttribute(t,e){switch(e){case Boolean:t=t?np: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}},tn=(t,e)=>!Jl(t,e),Xa={attribute:!0,type:String,converter:io,reflect:!1,hasChanged:tn};Symbol.metadata??=Symbol("metadata"),ao.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=Xa){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&&Ql(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=ep(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)??Xa}static _$Ei(){if(this.hasOwnProperty(xr("elementProperties")))return;let e=op(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(xr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(xr("properties"))){let r=this.properties,n=[...tp(r),...rp(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(br(i))}else e!==void 0&&r.push(br(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 no(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:io).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:io;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??tn)(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[xr("elementProperties")]=new Map,_e[xr("finalized")]=new Map,ip?.({ReactiveElement:_e}),(ao.reactiveElementVersions??=[]).push("2.0.2");var on=globalThis,so=on.trustedTypes,Ja=so?so.createPolicy("lit-html",{createHTML:t=>t}):void 0,nn="$lit$",Fe=`lit$${(Math.random()+"").slice(9)}$`,an="?"+Fe,ap=`<${an}>`,Ot=document,Sr=()=>Ot.createComment(""),Or=t=>t===null||typeof t!="object"&&typeof t!="function",ns=Array.isArray,is=t=>ns(t)||typeof t?.[Symbol.iterator]=="function",rn=`[
|
|
4
|
-
\f\r]`,vr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Qa=/-->/g,es=/>/g,vt=RegExp(`>|${rn}(?:([^\\s"'>=/]+)(${rn}*=${rn}*(?:[^
|
|
5
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),ts=/'/g,rs=/"/g,as=/^(?:script|style|textarea|title)$/i,ss=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),j=ss(1),sp=ss(2),Xe=Symbol.for("lit-noChange"),V=Symbol.for("lit-nothing"),os=new WeakMap,St=Ot.createTreeWalker(Ot,129);function cs(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ja!==void 0?Ja.createHTML(e):e}var ls=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",s=vr;for(let c=0;c<r;c++){let l=t[c],d,u,h=-1,y=0;for(;y<l.length&&(s.lastIndex=y,u=s.exec(l),u!==null);)y=s.lastIndex,s===vr?u[1]==="!--"?s=Qa:u[1]!==void 0?s=es:u[2]!==void 0?(as.test(u[2])&&(i=RegExp("</"+u[2],"g")),s=vt):u[3]!==void 0&&(s=vt):s===vt?u[0]===">"?(s=i??vr,h=-1):u[1]===void 0?h=-2:(h=s.lastIndex-u[2].length,d=u[1],s=u[3]===void 0?vt:u[3]==='"'?rs:ts):s===rs||s===ts?s=vt:s===Qa||s===es?s=vr:(s=vt,i=void 0);let g=s===vt&&t[c+1].startsWith("/>")?" ":"";a+=s===vr?l+ap:h>=0?(n.push(d),l.slice(0,h)+nn+l.slice(h)+Fe+g):l+Fe+(h===-2?c:g)}return[cs(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},Er=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,u]=ls(e,r);if(this.el=t.createElement(d,n),St.currentNode=this.el.content,r===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=St.nextNode())!==null&&l.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(nn)){let y=u[s++],g=i.getAttribute(h).split(Fe),b=/([.?@])?(.*)/.exec(y);l.push({type:1,index:a,name:b[2],strings:g,ctor:b[1]==="."?lo:b[1]==="?"?po:b[1]==="@"?uo:Ct}),i.removeAttribute(h)}else h.startsWith(Fe)&&(l.push({type:6,index:a}),i.removeAttribute(h));if(as.test(i.tagName)){let h=i.textContent.split(Fe),y=h.length-1;if(y>0){i.textContent=so?so.emptyScript:"";for(let g=0;g<y;g++)i.append(h[g],Sr()),St.nextNode(),l.push({type:2,index:++a});i.append(h[y],Sr())}}}else if(i.nodeType===8)if(i.data===an)l.push({type:2,index:a});else{let h=-1;for(;(h=i.data.indexOf(Fe,h+1))!==-1;)l.push({type:7,index:a}),h+=Fe.length-1}a++}}static createElement(e,r){let n=Ot.createElement("template");return n.innerHTML=e,n}};function Et(t,e,r=t,n){if(e===Xe)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=Or(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=Et(t,i._$AS(t,e.values),i,n)),e}var co=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??Ot).importNode(r,!0);St.currentNode=i;let a=St.nextNode(),s=0,c=0,l=n[0];for(;l!==void 0;){if(s===l.index){let d;l.type===2?d=new Ut(a,a.nextSibling,this,e):l.type===1?d=new l.ctor(a,l.name,l.strings,this,e):l.type===6&&(d=new fo(a,this,e)),this._$AV.push(d),l=n[++c]}s!==l?.index&&(a=St.nextNode(),s++)}return St.currentNode=Ot,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++}},Ut=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=V,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=Et(this,e,r),Or(e)?e===V||e==null||e===""?(this._$AH!==V&&this._$AR(),this._$AH=V):e!==this._$AH&&e!==Xe&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):is(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==V&&Or(this._$AH)?this._$AA.nextSibling.data=e:this.$(Ot.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=Er.createElement(cs(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new co(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=os.get(e.strings);return r===void 0&&os.set(e.strings,r=new Er(e)),r}T(e){ns(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(Sr()),this.k(Sr()),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))}},Ct=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=V,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=V}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=Et(this,e,r,0),s=!Or(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=Et(this,c[n+l],r,l),d===Xe&&(d=this._$AH[l]),s||=!Or(d)||d!==this._$AH[l],d===V?e=V:e!==V&&(e+=(d??"")+a[l+1]),this._$AH[l]=d}s&&!i&&this.O(e)}O(e){e===V?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},lo=class extends Ct{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===V?void 0:e}},po=class extends Ct{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==V)}},uo=class extends Ct{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=Et(this,e,r,0)??V)===Xe)return;let n=this._$AH,i=e===V&&n!==V||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==V&&(n===V||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},fo=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Et(this,e)}},cp={j:nn,P:Fe,A:an,C:1,M:ls,L:co,R:is,V:Et,D:Ut,I:Ct,H:po,N:uo,U:lo,B:fo},lp=on.litHtmlPolyfillSupport;lp?.(Er,Ut),(on.litHtmlVersions??=[]).push("3.1.0");var sn=(t,e,r)=>{let n=r?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=r?.renderBefore??null;n._$litPart$=i=new Ut(e.insertBefore(Sr(),a),a,void 0,r??{})}return i._$AI(t),i};var We=class extends _e{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=sn(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Xe}};We._$litElement$=!0,We.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:We});var pp=globalThis.litElementPolyfillSupport;pp?.({LitElement:We});var dp={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Bu=!1;var dn={};H(dn,{customElement:()=>ln,eventOptions:()=>Bt,property:()=>C,query:()=>ie,queryAll:()=>hp,queryAssignedElements:()=>yp,queryAssignedNodes:()=>pn,queryAsync:()=>mp,standardProperty:()=>ps,state:()=>re});var ln=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var up={attribute:!0,type:String,converter:ur,reflect:!1,hasChanged:qr},ps=(t=up,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 C(t){return(e,r)=>typeof r=="object"?ps(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 re(t){return C({...t,state:!0,attribute:!1})}function Bt(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var Ee=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function ie(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 Ee(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 Ee(r,n,{get(){return a(this)}})}}var fp;function hp(t){return(e,r)=>Ee(e,r,{get(){return(this.renderRoot??(fp??=document.createDocumentFragment())).querySelectorAll(t)}})}function mp(t){return(e,r)=>Ee(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function yp(t){return(e,r)=>{let{slot:n,selector:i}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Ee(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 pn(t){return(e,r)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Ee(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var fn={};H(fn,{repeat:()=>un});var Je={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Qe=t=>(...e)=>({_$litDirective$:t,values:e}),Pe=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:gp}=Za;var ds=()=>document.createComment(""),Ft=(t,e,r)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=n.insertBefore(ds(),i),s=n.insertBefore(ds(),i);r=new gp(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},et=(t,e,r=t)=>(t._$AI(e,r),t),bp={},us=(t,e=bp)=>t._$AH=e,fs=t=>t._$AH,ho=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 hs=(t,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},un=Qe(class extends Pe{constructor(t){if(super(t),t.type!==Je.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=fs(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,u,h=0,y=i.length-1,g=0,b=a.length-1;for(;h<=y&&g<=b;)if(i[h]===null)h++;else if(i[y]===null)y--;else if(c[h]===s[g])l[g]=et(i[h],a[g]),h++,g++;else if(c[y]===s[b])l[b]=et(i[y],a[b]),y--,b--;else if(c[h]===s[b])l[b]=et(i[h],a[b]),Ft(t,l[b+1],i[h]),h++,b--;else if(c[y]===s[g])l[g]=et(i[y],a[g]),Ft(t,i[h],i[y]),y--,g++;else if(d===void 0&&(d=hs(s,g,b),u=hs(c,h,y)),d.has(c[h]))if(d.has(c[y])){let O=u.get(s[g]),N=O!==void 0?i[O]:null;if(N===null){let _=Ft(t,i[h]);et(_,a[g]),l[g]=_}else l[g]=et(N,a[g]),Ft(t,i[h],N),i[O]=null;g++}else ho(i[y]),y--;else ho(i[h]),h++;for(;g<=b;){let O=Ft(t,l[b+1]);et(O,a[g]),l[g++]=O}for(;h<=y;){let O=i[h++];O!==null&&ho(O)}return this.dt=s,us(t,l),ye}});var hn={};H(hn,{classMap:()=>wt});var wt=Qe(class extends Pe{constructor(t){if(super(t),t.type!==Je.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 ye}});var mn={};H(mn,{styleMap:()=>vp});var ms="important",xp=" !"+ms,vp=Qe(class extends Pe{constructor(t){if(super(t),t.type!==Je.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(xp);n.includes("-")||a?r.setProperty(n,a?i.slice(0,-11):i,a?ms:""):r[n]=i}}return ye}});var gn={};H(gn,{UnsafeHTMLDirective:()=>Wt,unsafeHTML:()=>yn});var Wt=class extends Pe{constructor(e){if(super(e),this.et=X,e.type!==Je.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===X||e==null)return this.vt=void 0,this.et=e;if(e===ye)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:[]}}};Wt.directiveName="unsafeHTML",Wt.resultType=1;var yn=Qe(Wt);var xn={};H(xn,{CacheRegistry:()=>Te});var bn={};H(bn,{CancelablePromise:()=>zt,CanceledPromiseError:()=>Ht,cancelable:()=>mo});var Ht=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},zt=class extends Promise{constructor(e){super((r,n)=>e(i=>{this.isCanceled?n(new Ht("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new Ht("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},mo=t=>new zt((e,r)=>t.then(e).catch(r));var Te=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 zt&&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=mo(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 Sn={};H(Sn,{ClusteringHelper:()=>vn});var vn=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,u,h)=>h.findIndex(y=>y.value===d.value)===u).map(d=>({result:this.findBestResultForMetadataValue(e,d.value),metadata:d})).sort((d,u)=>this.compareMetadata(d.metadata.value,u.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 On={};H(On,{Debouncer:()=>pe});var pe=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 wn={};H(wn,{customElement:()=>ee,isNumber:()=>xs,jsonProperty:()=>Ie,optionalNumberProperty:()=>Ap});var Cn={};H(Cn,{dateReviver:()=>Op,deepEqual:()=>Ce,delay:()=>yo,eventPathContainsMatchingElement:()=>Cp,flatDeep:()=>gs,hasChanged:()=>Cr,last:()=>wp,minmax:()=>En,parseDate:()=>bs,waitFor:()=>ys,waitUntil:()=>Sp});var yo=t=>new Promise(e=>setTimeout(e,t));async function Sp(t,e=10,r=2e4){await ys(async()=>await t()||void 0,e,r)}async function ys(t,e=10,r=2e4){let n=await t(),i,a;for(i=a=performance.now();n==null&&(!r||a-i<r);)await yo(e),n=await t(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function gs(t,e){return t.flatMap(r=>[r,...gs(e(r),e)])}function Op(...t){return function(e,r){return t.includes(e)?bs(r):r}}function bs(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 Ep(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(!Ce(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(!Ce(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(!Ce(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function Ce(t,e){try{return Ep(t,e)}catch{return!1}}function Cr(t,e){return!Ce(t,e)}function Cp(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 En(t,e,r){return Math.min(Math.max(t,e),r)}function wp(t){return t[t.length-1]}var ee=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function Ie(t,e){let r=()=>JSON.parse(JSON.stringify(t));return C({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Cr,...e??{}})}function Ap(t){return C({type:Object,converter:{fromAttribute:e=>{if(e!=null)return xs(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function xs(t){return!isNaN(parseFloat(t))}var ei={};H(ei,{designSystemVariables:()=>M});var Qn={};H(Qn,{DesignSystemFamily:()=>At,DesignSystemSize:()=>ze,FtCssVariableFactory:()=>o,badge:()=>Tp,banner:()=>Pp,breadcrumb:()=>Ip,button:()=>w,chart:()=>Vp,checkbox:()=>Gp,chip:()=>Np,collapsible:()=>zp,comboboxMultiSelect:()=>Wp,comboboxSingleSelect:()=>Fp,drawer:()=>kp,floatingMenu:()=>Bp,foundation:()=>p,link:()=>_p,modal:()=>$p,notice:()=>Kp,notification:()=>Yp,pageHeader:()=>Lp,popover:()=>Hp,radio:()=>qp,resolveFamilyClass:()=>Xn,resolveSizeClass:()=>Jn,semantic:()=>f,setVariable:()=>L,switch_:()=>jp,tabs:()=>Dp,textArea:()=>Up,textInput:()=>Mp,toggle:()=>Zp,tooltip:()=>Xp,typographies:()=>wr,typographyBody1Medium:()=>Tn,typographyBody1Regular:()=>Pn,typographyBody1Semibold:()=>In,typographyBody2Medium:()=>$n,typographyBody2MediumUnderline:()=>vs,typographyBody2Regular:()=>Ln,typographyBody2Semibold:()=>kn,typographyCaption1Bold:()=>jn,typographyCaption1Medium:()=>Hn,typographyCaption1Semibold:()=>zn,typographyCaption2Bold:()=>Gn,typographyCaption2Medium:()=>Vn,typographyCaption2Semibold:()=>Kn,typographyCaption3Bold:()=>Yn,typographyCaption3Medium:()=>Zn,typographyCaption3Semibold:()=>qn,typographyDisplay:()=>An,typographyLabel1Bold:()=>Un,typographyLabel1Medium:()=>Dn,typographyLabel1Semibold:()=>Mn,typographyLabel2Bold:()=>Wn,typographyLabel2Medium:()=>Bn,typographyLabel2Semibold:()=>Fn,typographyTitle1:()=>Rn,typographyTitle2:()=>Nn,typographyTitle3:()=>_n,typographyVariants:()=>Rp});var He=t=>typeof t=="string"?xt(t):t,o=class{static create(e,r,n,i){let a=c=>He(c??i),s=T`var(${He(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>T`var(${He(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(${He(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(${He(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):He(a??e.lastResortDefaultValue()),i=T`var(${He(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(${He(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function L(t,e){return He(`${t.name}: ${e}`)}var p={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},An={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")},Rn={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")},Nn={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")},_n={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")},Pn={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")},Tn={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")},In={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")},Ln={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")},$n={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")},vs={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},kn={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Dn={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")},Mn={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")},Un={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")},Bn={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")},Fn={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")},Wn={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")},Hn={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")},zn={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")},jn={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")},Vn={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")},Kn={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")},Gn={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")},Zn={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")},qn={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")},Yn={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},wr={display:An,"title-1":Rn,"title-2":Nn,"title-3":_n,"body-1-regular":Pn,"body-1-medium":Tn,"body-1-semibold":In,"body-2-regular":Ln,"body-2-medium":$n,"body-2-medium-underline":vs,"body-2-semibold":kn,"label-1-medium":Dn,"label-1-semibold":Mn,"label-1-bold":Un,"label-2-medium":Bn,"label-2-semibold":Fn,"label-2-bold":Wn,"caption-1-medium":Hn,"caption-1-semibold":zn,"caption-1-bold":jn,"caption-2-medium":Vn,"caption-2-semibold":Kn,"caption-2-bold":Gn,"caption-3-medium":Zn,"caption-3-semibold":qn,"caption-3-bold":Yn},Rp=["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.",p.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",p.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",p.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",p.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",p.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",p.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",p.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",p.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",p.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",p.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",p.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",p.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",p.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",p.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",p.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",p.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",p.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",p.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
6
|
-
Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",p.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",p.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",p.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",p.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",p.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",p.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",p.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",p.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",p.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",p.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",p.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",p.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",p.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",p.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",p.colorGray80)};var w={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",p.spacing4),largeGap:o.extend("--ft-button-large-gap","",p.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",p.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",p.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",p.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",p.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",p.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",p.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",p.spacing2),smallGap:o.extend("--ft-button-small-gap","",p.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",p.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",p.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",p.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",p.borderRadiusPill),primaryBackgroundColor:o.extend("--ft-button-primary-background-color","",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","",p.opacity16),primaryFocusStateLayerOpacity:o.extend("--ft-button-primary-focus-state-layer-opacity","",p.opacity16),primaryActiveStateLayerOpacity:o.extend("--ft-button-primary-active-state-layer-opacity","",p.opacity24),primaryDisabledComponentOpacity:o.extend("--ft-button-primary-disabled-component-opacity","",p.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",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","",p.opacity8),tertiaryFocusStateLayerOpacity:o.extend("--ft-button-tertiary-focus-state-layer-opacity","",p.opacity8),tertiaryActiveStateLayerOpacity:o.extend("--ft-button-tertiary-active-state-layer-opacity","",p.opacity16),tertiaryDisabledComponentOpacity:o.extend("--ft-button-tertiary-disabled-component-opacity","",p.opacity40),secondaryBackgroundColor:o.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:o.extend("--ft-button-secondary-color","",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","",p.opacity8),secondaryFocusStateLayerOpacity:o.extend("--ft-button-secondary-focus-state-layer-opacity","",p.opacity8),secondaryActiveStateLayerOpacity:o.extend("--ft-button-secondary-active-state-layer-opacity","",p.opacity16),secondaryDisabledComponentOpacity:o.extend("--ft-button-secondary-disabled-component-opacity","",p.opacity40),secondaryBorderColor:o.extend("--ft-button-secondary-border-color","",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","",p.opacity8),neutralFocusStateLayerOpacity:o.extend("--ft-button-neutral-focus-state-layer-opacity","",p.opacity8),neutralActiveStateLayerOpacity:o.extend("--ft-button-neutral-active-state-layer-opacity","",p.opacity16),neutralDisabledComponentOpacity:o.extend("--ft-button-neutral-disabled-component-opacity","",p.opacity40)};var Np={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",p.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",p.spacing1),largeGap:o.extend("--ft-chip-large-gap","",p.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.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","",p.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",p.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",p.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",p.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.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","",p.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",p.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",p.spacing05),smallGap:o.extend("--ft-chip-small-gap","",p.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.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","",p.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 _p={focusOpacity:o.extend("--ft-link-focus-opacity","",p.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 Pp={iconSize:o.extend("--ft-banner-icon-size","",p.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",p.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",p.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",p.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",p.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",p.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",p.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",p.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",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 Tp={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",p.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",p.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",p.borderRadiusPill),color:o.extend("--ft-badge-color","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",f.contentActionPrimary)};var Ip={horizontalGap:o.extend("--ft-breadcrumb-horizontal-gap","",p.spacing1),verticalGap:o.extend("--ft-breadcrumb-vertical-gap","",p.spacing2),currentColor:o.extend("--ft-breadcrumb-current-color","",f.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-breadcrumb-previous-non-clickable-color","",f.contentGlobalSecondary),iconColor:o.extend("--ft-breadcrumb-icon-color","",f.contentGlobalSubtle)};var Lp={horizontalPadding:o.extend("--ft-page-header-horizontal-padding","",p.spacing6),horizontalGap:o.extend("--ft-page-header-horizontal-gap","",p.spacing4),verticalGap:o.extend("--ft-page-header-vertical-gap","",p.spacing2),classicVerticalPadding:o.extend("--ft-page-header-classic-vertical-padding","",p.spacing6),multilineVerticalPadding:o.extend("--ft-page-header-multiline-vertical-padding","",p.spacing4),inlineVerticalPadding:o.extend("--ft-page-header-inline-vertical-padding","",p.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",p.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",f.borderGlobalSubtle),titleColor:o.extend("--ft-page-header-title-color","",f.contentGlobalPrimary),subtitleColor:o.extend("--ft-page-header-subtitle-color","",f.contentGlobalSecondary)};var $p={smallContainerWidth:o.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:o.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",p.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",p.opacity40),shadow:o.extend("--ft-modal-shadow","",p.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",p.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",p.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",p.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",p.spacing6),containerMargin:o.extend("--ft-modal-container-margin","",p.spacing3),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",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","",p.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",p.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",p.spacing6),headerGap:o.extend("--ft-modal-header-gap","",p.spacing2),headerBorderBottom:o.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",p.borderRadiusM)};var kp={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",p.opacity40),shadow:o.extend("--ft-drawer-shadow","",p.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",f.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",p.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",p.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",p.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",p.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",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","",p.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",p.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",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","",p.spacing4),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",p.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",p.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",p.colorGray700)};var Dp={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",p.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",p.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",p.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",p.opacity40),offColor:o.extend("--ft-tabs-off-color","",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","",p.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",p.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",p.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",p.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",p.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",p.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",p.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",p.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",p.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",p.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","",p.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",p.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",p.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",p.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",f.borderActionFocusRing)};var Mp={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",p.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",p.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",p.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",p.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",p.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",p.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",p.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",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","",p.opacity40)};var Up={backgroundColor:o.extend("--ft-text-area-background-color","",p.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","",p.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",p.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",p.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",p.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",p.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",p.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",p.borderRadiusM)};var Bp={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",p.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",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","",p.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","",p.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",p.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",p.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",p.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",p.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",f.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",p.shadowElevation02)};var Fp={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",p.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",p.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",p.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",p.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",p.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",p.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",p.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",p.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",p.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",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","",p.opacity40)};var Wp={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",p.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","",p.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",p.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",p.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",p.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",p.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",p.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",p.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",p.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",p.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",p.borderRadiusM)};var Hp={backgroundColor:o.extend("--ft-popover-background-color","",f.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",p.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",p.spacing6),titleColor:o.extend("--ft-popover-title-color","",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","",p.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",p.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",p.shadowElevation02)};var zp={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",p.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",p.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",f.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",p.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",p.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",p.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",p.spacing3),color:o.extend("--ft-collapsible-color","",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","",p.iconSize3)};var jp={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",p.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",p.spacing1),groupGap:o.extend("--ft-switch-group-gap","",p.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",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","",p.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",p.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",p.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",p.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",p.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",p.opacity40),offColor:o.extend("--ft-switch-off-color","",f.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",f.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",p.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",p.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",p.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",p.opacity40),onColor:o.extend("--ft-switch-on-color","",f.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",f.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",p.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",p.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",f.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",p.borderRadiusS)};var Vp={color1Light:o.extend("--ft-chart-1-light","for area color charts",p.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",p.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",p.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",p.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",p.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",p.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",p.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",p.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",p.colorRed40),color5Base:o.extend("--ft-chart-5-base","",p.colorRed60),color6Light:o.extend("--ft-chart-6-light","",p.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",p.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",p.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",p.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",p.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",p.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",p.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",p.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",p.colorGray50),color10Base:o.extend("--ft-chart-10-base","",p.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",p.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",p.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",p.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",p.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",p.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",p.colorBrand200)};var Kp={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",p.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",p.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",p.borderRadiusS),gap:o.extend("--ft-notice-gap","",p.spacing2),iconSize:o.extend("--ft-notice-icon-size","",p.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",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 Gp={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","",p.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",p.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",p.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",p.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",p.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",p.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",p.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",p.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",p.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",p.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",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","",p.spacing3)};var Zp={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",p.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",p.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",p.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",p.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",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","",p.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",p.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",p.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",p.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",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","",p.spacing3)};var qp={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","",p.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",p.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",p.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",p.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",f.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",f.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",p.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",p.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",p.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",p.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",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","",p.spacing3)};var Yp={iconSize:o.extend("--ft-notification-icon-size","",p.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",p.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",p.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",p.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",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","",p.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",p.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",p.spacing8)};var Xp={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",p.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",p.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",p.borderRadiusS),color:o.extend("--ft-tooltip-color","",f.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",f.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",p.opacity80),shadow:o.extend("--ft-tooltip-shadow","",p.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",p.spacing05)};var At;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(At||(At={}));var ze;(function(t){t.large="large",t.medium="medium",t.small="small"})(ze||(ze={}));function Xn(t){return`ftds--family-${t}`}function Jn(t){return`ftds--size-${t}`}var M={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:o.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:o.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:o.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:o.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:o.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:o.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:o.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:o.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:o.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:o.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var ni={};H(ni,{FtNotificationEvent:()=>ti,PostResizeEvent:()=>oi,PreResizeEvent:()=>ri});var ti=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},ri=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},oi=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var yi={};H(yi,{computeOffsetPosition:()=>mi});var Os=["top","right","bottom","left"],Ss=["start","end"],ai=Os.reduce((t,e)=>t.concat(e,e+"-"+Ss[0],e+"-"+Ss[1]),[]),Ar=Math.min,tt=Math.max,Rr=Math.round;var je=t=>({x:t,y:t}),Jp={left:"right",right:"left",bottom:"top",top:"bottom"},Qp={start:"end",end:"start"};function si(t,e,r){return tt(t,Ar(e,r))}function go(t,e){return typeof t=="function"?t(e):t}function jt(t){return t.split("-")[0]}function rt(t){return t.split("-")[1]}function ci(t){return t==="x"?"y":"x"}function li(t){return t==="y"?"height":"width"}function bo(t){return["top","bottom"].includes(jt(t))?"y":"x"}function pi(t){return ci(bo(t))}function Es(t,e,r){r===void 0&&(r=!1);let n=rt(t),i=pi(t),a=li(i),s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=ii(s)),[s,ii(s)]}function Cs(t){return t.replace(/start|end/g,e=>Qp[e])}function ii(t){return t.replace(/left|right|bottom|top/g,e=>Jp[e])}function ed(t){return{top:0,right:0,bottom:0,left:0,...t}}function ws(t){return typeof t!="number"?ed(t):{top:t,right:t,bottom:t,left:t}}function Rt(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function As(t,e,r){let{reference:n,floating:i}=t,a=bo(e),s=pi(e),c=li(s),l=jt(e),d=a==="y",u=n.x+n.width/2-i.width/2,h=n.y+n.height/2-i.height/2,y=n[c]/2-i[c]/2,g;switch(l){case"top":g={x:u,y:n.y-i.height};break;case"bottom":g={x:u,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:h};break;case"left":g={x:n.x-i.width,y:h};break;default:g={x:n.x,y:n.y}}switch(rt(e)){case"start":g[s]-=y*(r&&d?-1:1);break;case"end":g[s]+=y*(r&&d?-1:1);break}return g}var Rs=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:u,y:h}=As(d,n,l),y=n,g={},b=0;for(let O=0;O<c.length;O++){let{name:N,fn:_}=c[O],{x:P,y:S,data:v,reset:E}=await _({x:u,y:h,initialPlacement:n,placement:y,strategy:i,middlewareData:g,rects:d,platform:s,elements:{reference:t,floating:e}});if(u=P??u,h=S??h,g={...g,[N]:{...g[N],...v}},E&&b<=50){b++,typeof E=="object"&&(E.placement&&(y=E.placement),E.rects&&(d=E.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):E.rects),{x:u,y:h}=As(d,y,l)),O=-1;continue}}return{x:u,y:h,placement:y,strategy:i,middlewareData:g}};async function di(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:u="viewport",elementContext:h="floating",altBoundary:y=!1,padding:g=0}=go(e,t),b=ws(g),N=c[y?h==="floating"?"reference":"floating":h],_=Rt(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(N)))==null||r?N:N.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:d,rootBoundary:u,strategy:l})),P=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},E=Rt(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:P,offsetParent:S,strategy:l}):P);return{top:(_.top-E.top+b.top)/v.y,bottom:(E.bottom-_.bottom+b.bottom)/v.y,left:(_.left-E.left+b.left)/v.x,right:(E.right-_.right+b.right)/v.x}}function td(t,e,r){return(t?[...r.filter(i=>rt(i)===t),...r.filter(i=>rt(i)!==t)]:r.filter(i=>jt(i)===i)).filter(i=>t?rt(i)===t||(e?Cs(i)!==i:!1):!0)}var ui=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:u=!1,alignment:h,allowedPlacements:y=ai,autoAlignment:g=!0,...b}=go(t,e),O=h!==void 0||y===ai?td(h||null,g,y):y,N=await di(e,b),_=((r=s.autoPlacement)==null?void 0:r.index)||0,P=O[_];if(P==null)return{};let S=Es(P,a,await(l.isRTL==null?void 0:l.isRTL(d.floating)));if(c!==P)return{reset:{placement:O[0]}};let v=[N[jt(P)],N[S[0]],N[S[1]]],E=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:P,overflows:v}],$=O[_+1];if($)return{data:{index:_+1,overflows:E},reset:{placement:$}};let k=E.map(m=>{let x=rt(m.placement);return[m.placement,x&&u?m.overflows.slice(0,2).reduce((R,U)=>R+U,0):m.overflows[0],m.overflows]}).sort((m,x)=>m[1]-x[1]),F=((i=k.filter(m=>m[2].slice(0,rt(m[0])?2:3).every(x=>x<=0))[0])==null?void 0:i[0])||k[0][0];return F!==c?{data:{index:_+1,overflows:E},reset:{placement:F}}:{}}}};var fi=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:N=>{let{x:_,y:P}=N;return{x:_,y:P}}},...l}=go(t,e),d={x:r,y:n},u=await di(e,l),h=bo(jt(i)),y=ci(h),g=d[y],b=d[h];if(a){let N=y==="y"?"top":"left",_=y==="y"?"bottom":"right",P=g+u[N],S=g-u[_];g=si(P,g,S)}if(s){let N=h==="y"?"top":"left",_=h==="y"?"bottom":"right",P=b+u[N],S=b-u[_];b=si(P,b,S)}let O=c.fn({...e,[y]:g,[h]:b});return{...O,data:{x:O.x-r,y:O.y-n}}}}};function Ve(t){return _s(t)?(t.nodeName||"").toLowerCase():"#document"}function de(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Ke(t){var e;return(e=(_s(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function _s(t){return t instanceof Node||t instanceof de(t).Node}function Le(t){return t instanceof Element||t instanceof de(t).Element}function we(t){return t instanceof HTMLElement||t instanceof de(t).HTMLElement}function Ns(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof de(t).ShadowRoot}function Vt(t){let{overflow:e,overflowX:r,overflowY:n,display:i}=ge(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function Ps(t){return["table","td","th"].includes(Ve(t))}function vo(t){let e=So(),r=ge(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 Ts(t){let e=Nt(t);for(;we(e)&&!Nr(e);){if(vo(e))return e;e=Nt(e)}return null}function So(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Nr(t){return["html","body","#document"].includes(Ve(t))}function ge(t){return de(t).getComputedStyle(t)}function _r(t){return Le(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Nt(t){if(Ve(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Ns(t)&&t.host||Ke(t);return Ns(e)?e.host:e}function Is(t){let e=Nt(t);return Nr(e)?t.ownerDocument?t.ownerDocument.body:t.body:we(e)&&Vt(e)?e:Is(e)}function xo(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=Is(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=de(i);return a?e.concat(s,s.visualViewport||[],Vt(i)?i:[],s.frameElement&&r?xo(s.frameElement):[]):e.concat(i,xo(i,[],r))}function ks(t){let e=ge(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=we(t),a=i?t.offsetWidth:r,s=i?t.offsetHeight:n,c=Rr(r)!==a||Rr(n)!==s;return c&&(r=a,n=s),{width:r,height:n,$:c}}function Ds(t){return Le(t)?t:t.contextElement}function Kt(t){let e=Ds(t);if(!we(e))return je(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:a}=ks(e),s=(a?Rr(r.width):r.width)/n,c=(a?Rr(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var rd=je(0);function Ms(t){let e=de(t);return!So()||!e.visualViewport?rd:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function od(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==de(t)?!1:e}function Pr(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),a=Ds(t),s=je(1);e&&(n?Le(n)&&(s=Kt(n)):s=Kt(t));let c=od(a,r,n)?Ms(a):je(0),l=(i.left+c.x)/s.x,d=(i.top+c.y)/s.y,u=i.width/s.x,h=i.height/s.y;if(a){let y=de(a),g=n&&Le(n)?de(n):n,b=y.frameElement;for(;b&&n&&g!==y;){let O=Kt(b),N=b.getBoundingClientRect(),_=ge(b),P=N.left+(b.clientLeft+parseFloat(_.paddingLeft))*O.x,S=N.top+(b.clientTop+parseFloat(_.paddingTop))*O.y;l*=O.x,d*=O.y,u*=O.x,h*=O.y,l+=P,d+=S,b=de(b).frameElement}}return Rt({width:u,height:h,x:l,y:d})}function nd(t){let{rect:e,offsetParent:r,strategy:n}=t,i=we(r),a=Ke(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},c=je(1),l=je(0);if((i||!i&&n!=="fixed")&&((Ve(r)!=="body"||Vt(a))&&(s=_r(r)),we(r))){let d=Pr(r);c=Kt(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 id(t){return Array.from(t.getClientRects())}function Us(t){return Pr(Ke(t)).left+_r(t).scrollLeft}function ad(t){let e=Ke(t),r=_r(t),n=t.ownerDocument.body,i=tt(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=tt(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+Us(t),c=-r.scrollTop;return ge(n).direction==="rtl"&&(s+=tt(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:c}}function sd(t,e){let r=de(t),n=Ke(t),i=r.visualViewport,a=n.clientWidth,s=n.clientHeight,c=0,l=0;if(i){a=i.width,s=i.height;let d=So();(!d||d&&e==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}return{width:a,height:s,x:c,y:l}}function cd(t,e){let r=Pr(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,a=we(t)?Kt(t):je(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 Ls(t,e,r){let n;if(e==="viewport")n=sd(t,r);else if(e==="document")n=ad(Ke(t));else if(Le(e))n=cd(e,r);else{let i=Ms(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return Rt(n)}function Bs(t,e){let r=Nt(t);return r===e||!Le(r)||Nr(r)?!1:ge(r).position==="fixed"||Bs(r,e)}function ld(t,e){let r=e.get(t);if(r)return r;let n=xo(t,[],!1).filter(c=>Le(c)&&Ve(c)!=="body"),i=null,a=ge(t).position==="fixed",s=a?Nt(t):t;for(;Le(s)&&!Nr(s);){let c=ge(s),l=vo(s);!l&&c.position==="fixed"&&(i=null),(a?!l&&!i:!l&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Vt(s)&&!l&&Bs(t,s))?n=n.filter(u=>u!==s):i=c,s=Nt(s)}return e.set(t,n),n}function pd(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,s=[...r==="clippingAncestors"?ld(e,this._c):[].concat(r),n],c=s[0],l=s.reduce((d,u)=>{let h=Ls(e,u,i);return d.top=tt(h.top,d.top),d.right=Ar(h.right,d.right),d.bottom=Ar(h.bottom,d.bottom),d.left=tt(h.left,d.left),d},Ls(e,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function dd(t){return ks(t)}function ud(t,e,r){let n=we(e),i=Ke(e),a=r==="fixed",s=Pr(t,!0,a,e),c={scrollLeft:0,scrollTop:0},l=je(0);if(n||!n&&!a)if((Ve(e)!=="body"||Vt(i))&&(c=_r(e)),n){let d=Pr(e,!0,a,e);l.x=d.x+e.clientLeft,l.y=d.y+e.clientTop}else i&&(l.x=Us(i));return{x:s.left+c.scrollLeft-l.x,y:s.top+c.scrollTop-l.y,width:s.width,height:s.height}}function $s(t,e){return!we(t)||ge(t).position==="fixed"?null:e?e(t):t.offsetParent}function Fs(t,e){let r=de(t);if(!we(t))return r;let n=$s(t,e);for(;n&&Ps(n)&&ge(n).position==="static";)n=$s(n,e);return n&&(Ve(n)==="html"||Ve(n)==="body"&&ge(n).position==="static"&&!vo(n))?r:n||Ts(t)||r}var fd=async function(t){let{reference:e,floating:r,strategy:n}=t,i=this.getOffsetParent||Fs,a=this.getDimensions;return{reference:ud(e,await i(r),n),floating:{x:0,y:0,...await a(r)}}};function hd(t){return ge(t).direction==="rtl"}var Oo={convertOffsetParentRelativeRectToViewportRelativeRect:nd,getDocumentElement:Ke,getClippingRect:pd,getOffsetParent:Fs,getElementRects:fd,getClientRects:id,getDimensions:dd,getScale:Kt,isElement:Le,isRTL:hd};var Ws=(t,e,r)=>{let n=new Map,i={platform:Oo,...r},a={...i.platform,_c:n};return Rs(t,e,{...i,platform:a})};function Hs(t){return md(t)}function hi(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function md(t){for(let e=t;e;e=hi(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=hi(t);e;e=hi(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 mi(t,e,r){return Ws(t,e,{platform:{...Oo,getOffsetParent:n=>Oo.getOffsetParent(n,Hs)},middleware:[fi({crossAxis:!0}),ui({allowedPlacements:[r]})]})}var vi={};H(vi,{FtdsBase:()=>xi,toFtdsBase:()=>wo});var bi={};H(bi,{FtLitElement:()=>z});var gi={};H(gi,{ScopedRegistryLitElement:()=>Tr});var Eo=window,yd=Eo.ShadowRoot&&(Eo.ShadyCSS===void 0||Eo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ky=Symbol();var zs=(t,e)=>{yd?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),i=Eo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)})};var Tr=class extends We{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return zs(n,e.elementStyles),n}};var Co=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},Gs,js=Symbol("constructorPrototype"),Vs=Symbol("constructorName"),Zs=Symbol("exportpartsDebouncer"),Ks=Symbol("dynamicDependenciesLoaded"),z=class extends Tr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Gs]=new pe(5),this[Vs]=this.constructor.name,this[js]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Vs]&&Object.setPrototypeOf(this,this[js])}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[Ks]||(e[Ks]=!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[Zs].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,n,i,a,s,c;let l=y=>y!=null&&y.trim().length>0,d=e.filter(l).map(y=>y.trim());if(d.length===0){this.removeAttribute("exportparts");return}let u=new Set;for(let y of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let g=(a=(i=y.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],b=(c=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(O=>O.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...g,...b).filter(l).map(O=>O.trim()).forEach(O=>u.add(O))}if(u.size===0){this.removeAttribute("exportparts");return}let h=[...u.values()].flatMap(y=>d.map(g=>`${y}:${g}--${y}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};Gs=Zs;Co([C()],z.prototype,"exportpartsPrefix",void 0);Co([Ie([])],z.prototype,"exportpartsPrefixes",void 0);Co([C()],z.prototype,"customStylesheet",void 0);Co([re()],z.prototype,"useAdoptedStyleSheets",void 0);var qs=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 wo(t){class e extends t{constructor(){super(...arguments),this.size=ze.medium,this.family=At.neutral}getDesignSystemBaseClasses(){return{[Xn(this.family)]:!0,[Jn(this.size)]:!0}}}return qs([C()],e.prototype,"size",void 0),qs([C()],e.prototype,"family",void 0),e}var xi=class extends wo(z){};var Ys={};var Ei={};H(Ei,{highlightHtml:()=>Oi,highlightHtmlColorCssVariable:()=>Xs,highlightHtmlStyles:()=>bd});var _t=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,u=>{r(d)&&(c++,n(u)),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,u,h=()=>({prevNode:u,node:d}=this.getIteratorNode(s),d);for(;h();)this.iframes&&this.forEachIframe(r,y=>this.checkIframeFilter(d,u,y,c),y=>{this.createInstanceOnIframe(y).forEachNode(e,g=>l.push(g),i)}),l.push(d);l.forEach(y=>{n(y)}),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 Ir=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 _t(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 _t.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,u=(n>s.end?s.end:n)-s.start,h=e.value.substr(0,s.start),y=e.value.substr(u+s.start);if(s.node=this.wrapRangeInTextNode(s.node,d,u),e.value=h+y,e.nodes.forEach((g,b)=>{b>=c&&(e.nodes[b].start>0&&b!==c&&(e.nodes[b].start-=u),e.nodes[b].end-=u)}),n-=u,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 u=d.index;if(s!==0)for(let h=1;h<s;h++)u+=d[h].length;l=this.wrapRangeInTextNode(l,u,u+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 u=d+l[s].length;this.wrapRangeInMappedTextNode(c,d,u,h=>n(l[s],h),(h,y)=>{e.lastIndex=y,i(h)})}a()})}wrapRangeFromIndex(e,r,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((c,l)=>{let{start:d,end:u,valid:h}=this.checkWhitespaceRanges(c,s,a.value);h&&this.wrapRangeInMappedTextNode(a,d,u,y=>r(y,c,a.value.substring(d,u),l),y=>{n(y,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 u=new RegExp(this.createRegExp(d),`gm${c}`),h=0;this.log(`Searching with expression "${u}"`),this[i](u,1,(y,g)=>this.opt.filter(g,d,n,h),y=>{h++,n++,this.opt.each(y)},()=>{h===0&&this.opt.noMatch(d),a[s-1]===d?this.opt.done(n):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=_t.matches(n,r),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Si(t){let e=new Ir(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 gd=Si,Xs=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),bd=T`
|
|
1
|
+
"use strict";(()=>{var Wl=Object.create;var en=Object.defineProperty;var Hl=Object.getOwnPropertyDescriptor;var zl=Object.getOwnPropertyNames;var jl=Object.getPrototypeOf,Vl=Object.prototype.hasOwnProperty;var Kl=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),z=(t,e)=>{for(var r in e)en(t,r,{get:e[r],enumerable:!0})},Gl=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of zl(e))!Vl.call(t,i)&&i!==r&&en(t,i,{get:()=>e[i],enumerable:!(n=Hl(e,i))||n.enumerable});return t};var Zl=(t,e,r)=>(r=t!=null?Wl(jl(t)):{},Gl(e||!t||!t.__esModule?en(r,"default",{value:t,enumerable:!0}):r,t));var gl=Kl((mt,yl)=>{var zo=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,jo=function(){function t(){this.fetch=!1,this.DOMException=zo.DOMException}return t.prototype=zo,new t}();(function(t){var e=function(r){var n=typeof t<"u"&&t||typeof self<"u"&&self||typeof global<"u"&&global||{},i={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function a(m){return m&&DataView.prototype.isPrototypeOf(m)}if(i.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(m){return m&&s.indexOf(Object.prototype.toString.call(m))>-1};function l(m){if(typeof m!="string"&&(m=String(m)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(m)||m==="")throw new TypeError('Invalid character in header field name: "'+m+'"');return m.toLowerCase()}function p(m){return typeof m!="string"&&(m=String(m)),m}function h(m){var x={next:function(){var P=m.shift();return{done:P===void 0,value:P}}};return i.iterable&&(x[Symbol.iterator]=function(){return x}),x}function d(m){this.map={},m instanceof d?m.forEach(function(x,P){this.append(P,x)},this):Array.isArray(m)?m.forEach(function(x){if(x.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+x.length);this.append(x[0],x[1])},this):m&&Object.getOwnPropertyNames(m).forEach(function(x){this.append(x,m[x])},this)}d.prototype.append=function(m,x){m=l(m),x=p(x);var P=this.map[m];this.map[m]=P?P+", "+x:x},d.prototype.delete=function(m){delete this.map[l(m)]},d.prototype.get=function(m){return m=l(m),this.has(m)?this.map[m]:null},d.prototype.has=function(m){return this.map.hasOwnProperty(l(m))},d.prototype.set=function(m,x){this.map[l(m)]=p(x)},d.prototype.forEach=function(m,x){for(var P in this.map)this.map.hasOwnProperty(P)&&m.call(x,this.map[P],P,this)},d.prototype.keys=function(){var m=[];return this.forEach(function(x,P){m.push(P)}),h(m)},d.prototype.values=function(){var m=[];return this.forEach(function(x){m.push(x)}),h(m)},d.prototype.entries=function(){var m=[];return this.forEach(function(x,P){m.push([P,x])}),h(m)},i.iterable&&(d.prototype[Symbol.iterator]=d.prototype.entries);function y(m){if(!m._noBody){if(m.bodyUsed)return Promise.reject(new TypeError("Already read"));m.bodyUsed=!0}}function g(m){return new Promise(function(x,P){m.onload=function(){x(m.result)},m.onerror=function(){P(m.error)}})}function b(m){var x=new FileReader,P=g(x);return x.readAsArrayBuffer(m),P}function O(m){var x=new FileReader,P=g(x),B=/charset=([A-Za-z0-9_-]+)/.exec(m.type),K=B?B[1]:"utf-8";return x.readAsText(m,K),P}function N(m){for(var x=new Uint8Array(m),P=new Array(x.length),B=0;B<x.length;B++)P[B]=String.fromCharCode(x[B]);return P.join("")}function R(m){if(m.slice)return m.slice(0);var x=new Uint8Array(m.byteLength);return x.set(new Uint8Array(m)),x.buffer}function _(){return this.bodyUsed=!1,this._initBody=function(m){this.bodyUsed=this.bodyUsed,this._bodyInit=m,m?typeof m=="string"?this._bodyText=m:i.blob&&Blob.prototype.isPrototypeOf(m)?this._bodyBlob=m:i.formData&&FormData.prototype.isPrototypeOf(m)?this._bodyFormData=m:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)?this._bodyText=m.toString():i.arrayBuffer&&i.blob&&a(m)?(this._bodyArrayBuffer=R(m.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(m)||c(m))?this._bodyArrayBuffer=R(m):this._bodyText=m=Object.prototype.toString.call(m):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof m=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var m=y(this);if(m)return m;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var m=y(this);return m||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(i.blob)return this.blob().then(b);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var m=y(this);if(m)return m;if(this._bodyBlob)return O(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(N(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(k)}),this.json=function(){return this.text().then(JSON.parse)},this}var S=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function v(m){var x=m.toUpperCase();return S.indexOf(x)>-1?x:m}function E(m,x){if(!(this instanceof E))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');x=x||{};var P=x.body;if(m instanceof E){if(m.bodyUsed)throw new TypeError("Already read");this.url=m.url,this.credentials=m.credentials,x.headers||(this.headers=new d(m.headers)),this.method=m.method,this.mode=m.mode,this.signal=m.signal,!P&&m._bodyInit!=null&&(P=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 d(x.headers)),this.method=v(x.method||this.method||"GET"),this.mode=x.mode||this.mode||null,this.signal=x.signal||this.signal||function(){if("AbortController"in n){var M=new AbortController;return M.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&P)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(P),(this.method==="GET"||this.method==="HEAD")&&(x.cache==="no-store"||x.cache==="no-cache")){var B=/([?&])_=[^&]*/;if(B.test(this.url))this.url=this.url.replace(B,"$1_="+new Date().getTime());else{var K=/\?/;this.url+=(K.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}E.prototype.clone=function(){return new E(this,{body:this._bodyInit})};function k(m){var x=new FormData;return m.trim().split("&").forEach(function(P){if(P){var B=P.split("="),K=B.shift().replace(/\+/g," "),M=B.join("=").replace(/\+/g," ");x.append(decodeURIComponent(K),decodeURIComponent(M))}}),x}function W(m){var x=new d,P=m.replace(/\r?\n[\t ]+/g," ");return P.split("\r").map(function(B){return B.indexOf(`
|
|
2
|
+
`)===0?B.substr(1,B.length):B}).forEach(function(B){var K=B.split(":"),M=K.shift().trim();if(M){var Gr=K.join(":").trim();try{x.append(M,Gr)}catch(Qo){console.warn("Response "+Qo.message)}}}),x}_.call(E.prototype);function V(m,x){if(!(this instanceof V))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(x||(x={}),this.type="default",this.status=x.status===void 0?200:x.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=x.statusText===void 0?"":""+x.statusText,this.headers=new d(x.headers),this.url=x.url||"",this._initBody(m)}_.call(V.prototype),V.prototype.clone=function(){return new V(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new d(this.headers),url:this.url})},V.error=function(){var m=new V(null,{status:200,statusText:""});return m.ok=!1,m.status=0,m.type="error",m};var H=[301,302,303,307,308];V.redirect=function(m,x){if(H.indexOf(x)===-1)throw new RangeError("Invalid status code");return new V(null,{status:x,headers:{location:m}})},r.DOMException=n.DOMException;try{new r.DOMException}catch{r.DOMException=function(x,P){this.message=x,this.name=P;var B=Error(x);this.stack=B.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function T(m,x){return new Promise(function(P,B){var K=new E(m,x);if(K.signal&&K.signal.aborted)return B(new r.DOMException("Aborted","AbortError"));var M=new XMLHttpRequest;function Gr(){M.abort()}M.onload=function(){var ae={statusText:M.statusText,headers:W(M.getAllResponseHeaders()||"")};K.url.indexOf("file://")===0&&(M.status<200||M.status>599)?ae.status=200:ae.status=M.status,ae.url="responseURL"in M?M.responseURL:ae.headers.get("X-Request-URL");var yt="response"in M?M.response:M.responseText;setTimeout(function(){P(new V(yt,ae))},0)},M.onerror=function(){setTimeout(function(){B(new TypeError("Network request failed"))},0)},M.ontimeout=function(){setTimeout(function(){B(new TypeError("Network request timed out"))},0)},M.onabort=function(){setTimeout(function(){B(new r.DOMException("Aborted","AbortError"))},0)};function Qo(ae){try{return ae===""&&n.location.href?n.location.href:ae}catch{return ae}}if(M.open(K.method,Qo(K.url),!0),K.credentials==="include"?M.withCredentials=!0:K.credentials==="omit"&&(M.withCredentials=!1),"responseType"in M&&(i.blob?M.responseType="blob":i.arrayBuffer&&(M.responseType="arraybuffer")),x&&typeof x.headers=="object"&&!(x.headers instanceof d||n.Headers&&x.headers instanceof n.Headers)){var ka=[];Object.getOwnPropertyNames(x.headers).forEach(function(ae){ka.push(l(ae)),M.setRequestHeader(ae,p(x.headers[ae]))}),K.headers.forEach(function(ae,yt){ka.indexOf(yt)===-1&&M.setRequestHeader(yt,ae)})}else K.headers.forEach(function(ae,yt){M.setRequestHeader(yt,ae)});K.signal&&(K.signal.addEventListener("abort",Gr),M.onreadystatechange=function(){M.readyState===4&&K.signal.removeEventListener("abort",Gr)}),M.send(typeof K._bodyInit>"u"?null:K._bodyInit)})}return T.polyfill=!0,n.fetch||(n.fetch=T,n.Headers=d,n.Request=E,n.Response=V),r.Headers=d,r.Request=E,r.Response=V,r.fetch=T,r}({})})(jo);jo.fetch.ponyfill=!0;delete jo.fetch.polyfill;var dr=zo.fetch?zo:jo;mt=dr.fetch;mt.default=dr.fetch;mt.fetch=dr.fetch;mt.Headers=dr.Headers;mt.Request=dr.Request;mt.Response=dr.Response;yl.exports=mt});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 E=v.prototype.attributeChangedCallback,k=new Set(v.observedAttributes||[]);y(v,k,E);let W={elementClass:v,connectedCallback:v.prototype.connectedCallback,disconnectedCallback:v.prototype.disconnectedCallback,adoptedCallback:v.prototype.adoptedCallback,attributeChangedCallback:E,formAssociated:v.formAssociated,formAssociatedCallback:v.prototype.formAssociatedCallback,formDisabledCallback:v.prototype.formDisabledCallback,formResetCallback:v.prototype.formResetCallback,formStateRestoreCallback:v.prototype.formStateRestoreCallback,observedAttributes:k};this._definitionsByTag.set(S,W),this._definitionsByClass.set(v,W);let V=r.call(n,S);V||(V=d(S),e.call(n,S,V)),this===window.customElements&&(s.set(v,W),W.standInClass=V);let H=this._awaitingUpgrade.get(S);if(H){this._awaitingUpgrade.delete(S);for(let m of H)a.delete(m),b(m,W,!0)}let T=this._whenDefinedPromises.get(S);return T!==void 0&&(T.resolve(v),this._whenDefinedPromises.delete(S)),v}upgrade(){N.push(this),n.upgrade.apply(n,arguments),N.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 E=this._whenDefinedPromises.get(S);return E===void 0&&(E={},E.promise=new Promise(k=>E.resolve=k),this._whenDefinedPromises.set(S,E)),E.promise}_upgradeWhenDefined(S,v,E){let k=this._awaitingUpgrade.get(v);k||this._awaitingUpgrade.set(v,k=new Set),E?k.add(S):k.delete(S)}};let l;window.HTMLElement=function(){let v=l;if(v)return l=void 0,v;let E=s.get(this.constructor);if(!E)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return v=Reflect.construct(t,[],E.standInClass),Object.setPrototypeOf(v,this.constructor.prototype),i.set(v,E),v},window.HTMLElement.prototype=t.prototype;let p=S=>S===document||S instanceof ShadowRoot,h=S=>{let v=S.getRootNode();if(!p(v)){let E=N[N.length-1];if(E instanceof CustomElementRegistry)return E;v=E.getRootNode(),p(v)||(v=c.get(v)?.getRootNode()||document)}return v.customElements},d=S=>class{static get formAssociated(){return!0}constructor(){let E=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(E,HTMLElement.prototype);let k=h(E)||window.customElements,W=k._getDefinition(S);return W?b(E,W):a.set(E,k),E}connectedCallback(){let E=i.get(this);E?E.connectedCallback&&E.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,S,!0)}disconnectedCallback(){let E=i.get(this);E?E.disconnectedCallback&&E.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,S,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let E=i.get(this);E&&E.formAssociated&&E?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let E=i.get(this);E?.formAssociated&&E?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let E=i.get(this);E?.formAssociated&&E?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let E=i.get(this);E?.formAssociated&&E?.formStateRestoreCallback?.apply(this,arguments)}},y=(S,v,E)=>{if(v.size===0||E===void 0)return;let k=S.prototype.setAttribute;k&&(S.prototype.setAttribute=function(H,T){let m=H.toLowerCase();if(v.has(m)){let x=this.getAttribute(m);k.call(this,m,T),E.call(this,m,x,T)}else k.call(this,m,T)});let W=S.prototype.removeAttribute;W&&(S.prototype.removeAttribute=function(H){let T=H.toLowerCase();if(v.has(T)){let m=this.getAttribute(T);W.call(this,T),E.call(this,T,m,null)}else W.call(this,T)});let V=S.prototype.toggleAttribute;V&&(S.prototype.toggleAttribute=function(H,T){let m=H.toLowerCase();if(v.has(m)){let x=this.getAttribute(m);V.call(this,m,T);let P=this.getAttribute(m);E.call(this,m,x,P)}else V.call(this,m,T)})},g=S=>{let v=Object.getPrototypeOf(S);if(v!==window.HTMLElement)return v===t?Object.setPrototypeOf(S,window.HTMLElement):g(v)},b=(S,v,E=!1)=>{Object.setPrototypeOf(S,v.elementClass.prototype),i.set(S,v),l=S;try{new v.elementClass}catch{g(v.elementClass),new v.elementClass}v.attributeChangedCallback&&v.observedAttributes.forEach(k=>{S.hasAttribute(k)&&v.attributeChangedCallback.call(S,k,null,S.getAttribute(k))}),E&&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 N=[document],R=(S,v,E=void 0)=>{let k=(E?Object.getPrototypeOf(E):S.prototype)[v];S.prototype[v]=function(){N.push(this);let W=k.apply(E||this,arguments);return W!==void 0&&c.set(W,this),N.pop(),W}};R(ShadowRoot,"createElement",document),R(ShadowRoot,"importNode",document),R(Element,"insertAdjacentHTML");let _=(S,v)=>{let E=Object.getOwnPropertyDescriptor(S.prototype,v);Object.defineProperty(S.prototype,v,{...E,set(k){N.push(this),E.set.call(this,k),N.pop()}})};if(_(Element,"innerHTML"),_(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,E=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...H){let T=v.call(this,...H);return S.set(T,this),T},E.forEach(H=>{let T=window.ElementInternals.prototype,m=T[H];T[H]=function(...x){let P=S.get(this);if(i.get(P).formAssociated===!0)return m?.call(this,...x);throw new DOMException(`Failed to execute ${m} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class k extends Array{constructor(T){super(...T),this._elements=T}get value(){return this._elements.find(T=>T.checked===!0)?.value||""}}class W{constructor(T){let m=new Map;T.forEach((x,P)=>{let B=x.getAttribute("name"),K=m.get(B)||[];this[+P]=x,K.push(x),m.set(B,K)}),this.length=T.length,m.forEach((x,P)=>{x&&(x.length===1?this[P]=x[0]:this[P]=new k(x))})}namedItem(T){return this[T]}}let V=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let H=V.get.call(this,[]),T=[];for(let m of H){let x=i.get(m);(!x||x.formAssociated===!0)&&T.push(m)}return new W(T)}})}}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 hn={};z(hn,{CSSResult:()=>Wt,LitElement:()=>ze,ReactiveElement:()=>Te,_$LE:()=>bu,_$LH:()=>mu,adoptStyles:()=>co,css:()=>I,defaultConverter:()=>lo,getCompatibleStyle:()=>Or,html:()=>G,isServer:()=>Gd,noChange:()=>Qe,notEqual:()=>cn,nothing:()=>Z,render:()=>fn,supportsAdoptingStyleSheets:()=>Sr,svg:()=>hu,unsafeCSS:()=>Et});var Zr=globalThis,Yr=Zr.ShadowRoot&&(Zr.ShadyCSS===void 0||Zr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ma=Symbol(),Da=new WeakMap,qr=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Ma)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(Yr&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Da.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Da.set(r,e))}return e}toString(){return this.cssText}},Ua=t=>new qr(typeof t=="string"?t:t+"",void 0,Ma);var tn=(t,e)=>{if(Yr)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=Zr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},Xr=Yr?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Ua(r)})(t):t;var{is:ql,defineProperty:Yl,getOwnPropertyDescriptor:Xl,getOwnPropertyNames:Jl,getOwnPropertySymbols:Ql,getPrototypeOf:eu}=Object,Jr=globalThis,Ba=Jr.trustedTypes,tu=Ba?Ba.emptyScript:"",ru=Jr.reactiveElementPolyfillSupport,mr=(t,e)=>t,yr={toAttribute(t,e){switch(e){case Boolean:t=t?tu: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}},Qr=(t,e)=>!ql(t,e),Fa={attribute:!0,type:String,converter:yr,reflect:!1,hasChanged:Qr};Symbol.metadata??=Symbol("metadata"),Jr.litPropertyMetadata??=new WeakMap;var gt=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=Fa){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&&Yl(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=Xl(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)??Fa}static _$Ei(){if(this.hasOwnProperty(mr("elementProperties")))return;let e=eu(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(mr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(mr("properties"))){let r=this.properties,n=[...Jl(r),...Ql(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(Xr(i))}else e!==void 0&&r.push(Xr(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 tn(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:yr).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:yr;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??Qr)(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){}};gt.elementStyles=[],gt.shadowRootOptions={mode:"open"},gt[mr("elementProperties")]=new Map,gt[mr("finalized")]=new Map,ru?.({ReactiveElement:gt}),(Jr.reactiveElementVersions??=[]).push("2.0.2");var on=globalThis,eo=on.trustedTypes,Wa=eo?eo.createPolicy("lit-html",{createHTML:t=>t}):void 0,nn="$lit$",We=`lit$${(Math.random()+"").slice(9)}$`,an="?"+We,ou=`<${an}>`,vt=document,to=()=>vt.createComment(""),br=t=>t===null||typeof t!="object"&&typeof t!="function",Ga=Array.isArray,Za=t=>Ga(t)||typeof t?.[Symbol.iterator]=="function",rn=`[
|
|
3
|
+
\f\r]`,gr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ha=/-->/g,za=/>/g,bt=RegExp(`>|${rn}(?:([^\\s"'>=/]+)(${rn}*=${rn}*(?:[^
|
|
4
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),ja=/'/g,Va=/"/g,qa=/^(?:script|style|textarea|title)$/i,Ya=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),Xa=Ya(1),Ja=Ya(2),be=Symbol.for("lit-noChange"),Q=Symbol.for("lit-nothing"),Ka=new WeakMap,xt=vt.createTreeWalker(vt,129);function Qa(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Wa!==void 0?Wa.createHTML(e):e}var es=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",s=gr;for(let c=0;c<r;c++){let l=t[c],p,h,d=-1,y=0;for(;y<l.length&&(s.lastIndex=y,h=s.exec(l),h!==null);)y=s.lastIndex,s===gr?h[1]==="!--"?s=Ha:h[1]!==void 0?s=za:h[2]!==void 0?(qa.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=bt):h[3]!==void 0&&(s=bt):s===bt?h[0]===">"?(s=i??gr,d=-1):h[1]===void 0?d=-2:(d=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?bt:h[3]==='"'?Va:ja):s===Va||s===ja?s=bt:s===Ha||s===za?s=gr:(s=bt,i=void 0);let g=s===bt&&t[c+1].startsWith("/>")?" ":"";a+=s===gr?l+ou:d>=0?(n.push(p),l.slice(0,d)+nn+l.slice(d)+We+g):l+We+(d===-2?c:g)}return[Qa(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},xr=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,l=this.parts,[p,h]=es(e,r);if(this.el=t.createElement(p,n),xt.currentNode=this.el.content,r===2){let d=this.el.content.firstChild;d.replaceWith(...d.childNodes)}for(;(i=xt.nextNode())!==null&&l.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let d of i.getAttributeNames())if(d.endsWith(nn)){let y=h[s++],g=i.getAttribute(d).split(We),b=/([.?@])?(.*)/.exec(y);l.push({type:1,index:a,name:b[2],strings:g,ctor:b[1]==="."?oo:b[1]==="?"?no:b[1]==="@"?io:Ot}),i.removeAttribute(d)}else d.startsWith(We)&&(l.push({type:6,index:a}),i.removeAttribute(d));if(qa.test(i.tagName)){let d=i.textContent.split(We),y=d.length-1;if(y>0){i.textContent=eo?eo.emptyScript:"";for(let g=0;g<y;g++)i.append(d[g],to()),xt.nextNode(),l.push({type:2,index:++a});i.append(d[y],to())}}}else if(i.nodeType===8)if(i.data===an)l.push({type:2,index:a});else{let d=-1;for(;(d=i.data.indexOf(We,d+1))!==-1;)l.push({type:7,index:a}),d+=We.length-1}a++}}static createElement(e,r){let n=vt.createElement("template");return n.innerHTML=e,n}};function St(t,e,r=t,n){if(e===be)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=br(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=St(t,i._$AS(t,e.values),i,n)),e}var ro=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??vt).importNode(r,!0);xt.currentNode=i;let a=xt.nextNode(),s=0,c=0,l=n[0];for(;l!==void 0;){if(s===l.index){let p;l.type===2?p=new vr(a,a.nextSibling,this,e):l.type===1?p=new l.ctor(a,l.name,l.strings,this,e):l.type===6&&(p=new ao(a,this,e)),this._$AV.push(p),l=n[++c]}s!==l?.index&&(a=xt.nextNode(),s++)}return xt.currentNode=vt,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++}},vr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=Q,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=St(this,e,r),br(e)?e===Q||e==null||e===""?(this._$AH!==Q&&this._$AR(),this._$AH=Q):e!==this._$AH&&e!==be&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Za(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!==Q&&br(this._$AH)?this._$AA.nextSibling.data=e:this.$(vt.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=xr.createElement(Qa(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new ro(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=Ka.get(e.strings);return r===void 0&&Ka.set(e.strings,r=new xr(e)),r}T(e){Ga(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(to()),this.k(to()),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))}},Ot=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=Q,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=Q}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=St(this,e,r,0),s=!br(e)||e!==this._$AH&&e!==be,s&&(this._$AH=e);else{let c=e,l,p;for(e=a[0],l=0;l<a.length-1;l++)p=St(this,c[n+l],r,l),p===be&&(p=this._$AH[l]),s||=!br(p)||p!==this._$AH[l],p===Q?e=Q:e!==Q&&(e+=(p??"")+a[l+1]),this._$AH[l]=p}s&&!i&&this.O(e)}O(e){e===Q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},oo=class extends Ot{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===Q?void 0:e}},no=class extends Ot{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==Q)}},io=class extends Ot{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=St(this,e,r,0)??Q)===be)return;let n=this._$AH,i=e===Q&&n!==Q||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==Q&&(n===Q||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)}},ao=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){St(this,e)}},ts={j:nn,P:We,A:an,C:1,M:es,L:ro,R:Za,V:St,D:vr,I:Ot,H:no,N:io,U:oo,B:ao},nu=on.litHtmlPolyfillSupport;nu?.(xr,vr),(on.litHtmlVersions??=[]).push("3.1.0");var so=globalThis,Sr=so.ShadowRoot&&(so.ShadyCSS===void 0||so.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,sn=Symbol(),rs=new WeakMap,Wt=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==sn)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(Sr&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=rs.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&rs.set(r,e))}return e}toString(){return this.cssText}},Et=t=>new Wt(typeof t=="string"?t:t+"",void 0,sn),I=(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 Wt(r,t,sn)},co=(t,e)=>{if(Sr)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=so.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},Or=Sr?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Et(r)})(t):t;var{is:iu,defineProperty:au,getOwnPropertyDescriptor:su,getOwnPropertyNames:cu,getOwnPropertySymbols:lu,getPrototypeOf:uu}=Object,uo=globalThis,os=uo.trustedTypes,pu=os?os.emptyScript:"",du=uo.reactiveElementPolyfillSupport,Er=(t,e)=>t,lo={toAttribute(t,e){switch(e){case Boolean:t=t?pu: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}},cn=(t,e)=>!iu(t,e),ns={attribute:!0,type:String,converter:lo,reflect:!1,hasChanged:cn};Symbol.metadata??=Symbol("metadata"),uo.litPropertyMetadata??=new WeakMap;var Te=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=ns){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&&au(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=su(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)??ns}static _$Ei(){if(this.hasOwnProperty(Er("elementProperties")))return;let e=uu(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Er("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Er("properties"))){let r=this.properties,n=[...cu(r),...lu(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(Or(i))}else e!==void 0&&r.push(Or(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 co(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:lo).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:lo;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??cn)(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){}};Te.elementStyles=[],Te.shadowRootOptions={mode:"open"},Te[Er("elementProperties")]=new Map,Te[Er("finalized")]=new Map,du?.({ReactiveElement:Te}),(uo.reactiveElementVersions??=[]).push("2.0.2");var un=globalThis,po=un.trustedTypes,is=po?po.createPolicy("lit-html",{createHTML:t=>t}):void 0,pn="$lit$",He=`lit$${(Math.random()+"").slice(9)}$`,dn="?"+He,fu=`<${dn}>`,At=document,wr=()=>At.createComment(""),Ar=t=>t===null||typeof t!="object"&&typeof t!="function",ps=Array.isArray,ds=t=>ps(t)||typeof t?.[Symbol.iterator]=="function",ln=`[
|
|
5
|
+
\f\r]`,Cr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,as=/-->/g,ss=/>/g,Ct=RegExp(`>|${ln}(?:([^\\s"'>=/]+)(${ln}*=${ln}*(?:[^
|
|
6
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),cs=/'/g,ls=/"/g,fs=/^(?:script|style|textarea|title)$/i,hs=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),G=hs(1),hu=hs(2),Qe=Symbol.for("lit-noChange"),Z=Symbol.for("lit-nothing"),us=new WeakMap,wt=At.createTreeWalker(At,129);function ms(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return is!==void 0?is.createHTML(e):e}var ys=(t,e)=>{let r=t.length-1,n=[],i,a=e===2?"<svg>":"",s=Cr;for(let c=0;c<r;c++){let l=t[c],p,h,d=-1,y=0;for(;y<l.length&&(s.lastIndex=y,h=s.exec(l),h!==null);)y=s.lastIndex,s===Cr?h[1]==="!--"?s=as:h[1]!==void 0?s=ss:h[2]!==void 0?(fs.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=Ct):h[3]!==void 0&&(s=Ct):s===Ct?h[0]===">"?(s=i??Cr,d=-1):h[1]===void 0?d=-2:(d=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?Ct:h[3]==='"'?ls:cs):s===ls||s===cs?s=Ct:s===as||s===ss?s=Cr:(s=Ct,i=void 0);let g=s===Ct&&t[c+1].startsWith("/>")?" ":"";a+=s===Cr?l+fu:d>=0?(n.push(p),l.slice(0,d)+pn+l.slice(d)+He+g):l+He+(d===-2?c:g)}return[ms(t,a+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},Rr=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,c=e.length-1,l=this.parts,[p,h]=ys(e,r);if(this.el=t.createElement(p,n),wt.currentNode=this.el.content,r===2){let d=this.el.content.firstChild;d.replaceWith(...d.childNodes)}for(;(i=wt.nextNode())!==null&&l.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let d of i.getAttributeNames())if(d.endsWith(pn)){let y=h[s++],g=i.getAttribute(d).split(He),b=/([.?@])?(.*)/.exec(y);l.push({type:1,index:a,name:b[2],strings:g,ctor:b[1]==="."?ho:b[1]==="?"?mo:b[1]==="@"?yo:Nt}),i.removeAttribute(d)}else d.startsWith(He)&&(l.push({type:6,index:a}),i.removeAttribute(d));if(fs.test(i.tagName)){let d=i.textContent.split(He),y=d.length-1;if(y>0){i.textContent=po?po.emptyScript:"";for(let g=0;g<y;g++)i.append(d[g],wr()),wt.nextNode(),l.push({type:2,index:++a});i.append(d[y],wr())}}}else if(i.nodeType===8)if(i.data===dn)l.push({type:2,index:a});else{let d=-1;for(;(d=i.data.indexOf(He,d+1))!==-1;)l.push({type:7,index:a}),d+=He.length-1}a++}}static createElement(e,r){let n=At.createElement("template");return n.innerHTML=e,n}};function Rt(t,e,r=t,n){if(e===Qe)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=Ar(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=Rt(t,i._$AS(t,e.values),i,n)),e}var fo=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??At).importNode(r,!0);wt.currentNode=i;let a=wt.nextNode(),s=0,c=0,l=n[0];for(;l!==void 0;){if(s===l.index){let p;l.type===2?p=new Ht(a,a.nextSibling,this,e):l.type===1?p=new l.ctor(a,l.name,l.strings,this,e):l.type===6&&(p=new go(a,this,e)),this._$AV.push(p),l=n[++c]}s!==l?.index&&(a=wt.nextNode(),s++)}return wt.currentNode=At,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++}},Ht=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=Z,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=Rt(this,e,r),Ar(e)?e===Z||e==null||e===""?(this._$AH!==Z&&this._$AR(),this._$AH=Z):e!==this._$AH&&e!==Qe&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):ds(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==Z&&Ar(this._$AH)?this._$AA.nextSibling.data=e:this.$(At.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=Rr.createElement(ms(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new fo(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(e){let r=us.get(e.strings);return r===void 0&&us.set(e.strings,r=new Rr(e)),r}T(e){ps(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(wr()),this.k(wr()),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))}},Nt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,a){this.type=1,this._$AH=Z,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=Z}_$AI(e,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=Rt(this,e,r,0),s=!Ar(e)||e!==this._$AH&&e!==Qe,s&&(this._$AH=e);else{let c=e,l,p;for(e=a[0],l=0;l<a.length-1;l++)p=Rt(this,c[n+l],r,l),p===Qe&&(p=this._$AH[l]),s||=!Ar(p)||p!==this._$AH[l],p===Z?e=Z:e!==Z&&(e+=(p??"")+a[l+1]),this._$AH[l]=p}s&&!i&&this.O(e)}O(e){e===Z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},ho=class extends Nt{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===Z?void 0:e}},mo=class extends Nt{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==Z)}},yo=class extends Nt{constructor(e,r,n,i,a){super(e,r,n,i,a),this.type=5}_$AI(e,r=this){if((e=Rt(this,e,r,0)??Z)===Qe)return;let n=this._$AH,i=e===Z&&n!==Z||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==Z&&(n===Z||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)}},go=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){Rt(this,e)}},mu={j:pn,P:He,A:dn,C:1,M:ys,L:fo,R:ds,V:Rt,D:Ht,I:Nt,H:mo,N:yo,U:ho,B:go},yu=un.litHtmlPolyfillSupport;yu?.(Rr,Ht),(un.litHtmlVersions??=[]).push("3.1.0");var fn=(t,e,r)=>{let n=r?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=r?.renderBefore??null;n._$litPart$=i=new Ht(e.insertBefore(wr(),a),a,void 0,r??{})}return i._$AI(t),i};var ze=class extends Te{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=fn(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Qe}};ze._$litElement$=!0,ze.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ze});var gu=globalThis.litElementPolyfillSupport;gu?.({LitElement:ze});var bu={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Gd=!1;var gn={};z(gn,{customElement:()=>mn,eventOptions:()=>zt,property:()=>C,query:()=>se,queryAll:()=>Su,queryAssignedElements:()=>Eu,queryAssignedNodes:()=>yn,queryAsync:()=>Ou,standardProperty:()=>gs,state:()=>ne});var mn=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var xu={attribute:!0,type:String,converter:yr,reflect:!1,hasChanged:Qr},gs=(t=xu,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 C(t){return(e,r)=>typeof r=="object"?gs(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 ne(t){return C({...t,state:!0,attribute:!1})}function zt(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var we=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function se(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(p){this[l]=p}}})();return we(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 we(r,n,{get(){return a(this)}})}}var vu;function Su(t){return(e,r)=>we(e,r,{get(){return(this.renderRoot??(vu??=document.createDocumentFragment())).querySelectorAll(t)}})}function Ou(t){return(e,r)=>we(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function Eu(t){return(e,r)=>{let{slot:n,selector:i}=t??{},a="slot"+(n?`[name=${n}]`:":not([name])");return we(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 yn(t){return(e,r)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return we(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var xn={};z(xn,{repeat:()=>bn});var et={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},tt=t=>(...e)=>({_$litDirective$:t,values:e}),Ie=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:Cu}=ts;var bs=()=>document.createComment(""),jt=(t,e,r)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(r===void 0){let a=n.insertBefore(bs(),i),s=n.insertBefore(bs(),i);r=new Cu(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 p=l.nextSibling;n.insertBefore(l,i),l=p}}}return r},rt=(t,e,r=t)=>(t._$AI(e,r),t),wu={},xs=(t,e=wu)=>t._$AH=e,vs=t=>t._$AH,bo=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 Ss=(t,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},bn=tt(class extends Ie{constructor(t){if(super(t),t.type!==et.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=vs(t),{values:a,keys:s}=this.ht(e,r,n);if(!Array.isArray(i))return this.dt=s,a;let c=this.dt??=[],l=[],p,h,d=0,y=i.length-1,g=0,b=a.length-1;for(;d<=y&&g<=b;)if(i[d]===null)d++;else if(i[y]===null)y--;else if(c[d]===s[g])l[g]=rt(i[d],a[g]),d++,g++;else if(c[y]===s[b])l[b]=rt(i[y],a[b]),y--,b--;else if(c[d]===s[b])l[b]=rt(i[d],a[b]),jt(t,l[b+1],i[d]),d++,b--;else if(c[y]===s[g])l[g]=rt(i[y],a[g]),jt(t,i[d],i[y]),y--,g++;else if(p===void 0&&(p=Ss(s,g,b),h=Ss(c,d,y)),p.has(c[d]))if(p.has(c[y])){let O=h.get(s[g]),N=O!==void 0?i[O]:null;if(N===null){let R=jt(t,i[d]);rt(R,a[g]),l[g]=R}else l[g]=rt(N,a[g]),jt(t,i[d],N),i[O]=null;g++}else bo(i[y]),y--;else bo(i[d]),d++;for(;g<=b;){let O=jt(t,l[b+1]);rt(O,a[g]),l[g++]=O}for(;d<=y;){let O=i[d++];O!==null&&bo(O)}return this.dt=s,xs(t,l),be}});var vn={};z(vn,{classMap:()=>_t});var _t=tt(class extends Ie{constructor(t){if(super(t),t.type!==et.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 be}});var Sn={};z(Sn,{styleMap:()=>Ru});var Os="important",Au=" !"+Os,Ru=tt(class extends Ie{constructor(t){if(super(t),t.type!==et.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(Au);n.includes("-")||a?r.setProperty(n,a?i.slice(0,-11):i,a?Os:""):r[n]=i}}return be}});var En={};z(En,{UnsafeHTMLDirective:()=>Vt,unsafeHTML:()=>On});var Vt=class extends Ie{constructor(e){if(super(e),this.et=Q,e.type!==et.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===Q||e==null)return this.vt=void 0,this.et=e;if(e===be)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:[]}}};Vt.directiveName="unsafeHTML",Vt.resultType=1;var On=tt(Vt);var wn={};z(wn,{CacheRegistry:()=>Le});var Cn={};z(Cn,{CancelablePromise:()=>Gt,CanceledPromiseError:()=>Kt,cancelable:()=>xo});var Kt=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},Gt=class extends Promise{constructor(e){super((r,n)=>e(i=>{this.isCanceled?n(new Kt("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new Kt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},xo=t=>new Gt((e,r)=>t.then(e).catch(r));var Le=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 Gt&&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=xo(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 Rn={};z(Rn,{ClusteringHelper:()=>An});var An=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(p=>t.extractResultMetadata(p,e)).map(p=>p??{key:e,label:c,value:void 0,displayValue:n}).filter(p=>p.value!=s?.value).filter((p,h,d)=>d.findIndex(y=>y.value===p.value)===h).map(p=>({result:this.findBestResultForMetadataValue(e,p.value),metadata:p})).sort((p,h)=>this.compareMetadata(p.metadata.value,h.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 p;return((p=t.extractResultMetadata(l,e))===null||p===void 0?void 0:p.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 p=this.countMatchingMetadata(l,a);if(p>c&&(c=p,s=l,p===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 Nn={};z(Nn,{Debouncer:()=>de});var de=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 Tn={};z(Tn,{customElement:()=>re,isNumber:()=>As,jsonProperty:()=>$e,optionalNumberProperty:()=>Lu});var Pn={};z(Pn,{dateReviver:()=>_u,deepEqual:()=>Ae,delay:()=>vo,eventPathContainsMatchingElement:()=>Tu,flatDeep:()=>Cs,hasChanged:()=>Nr,last:()=>Iu,minmax:()=>_n,parseDate:()=>ws,waitFor:()=>Es,waitUntil:()=>Nu});var vo=t=>new Promise(e=>setTimeout(e,t));async function Nu(t,e=10,r=2e4){await Es(async()=>await t()||void 0,e,r)}async function Es(t,e=10,r=2e4){let n=await t(),i,a;for(i=a=performance.now();n==null&&(!r||a-i<r);)await vo(e),n=await t(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Cs(t,e){return t.flatMap(r=>[r,...Cs(e(r),e)])}function _u(...t){return function(e,r){return t.includes(e)?ws(r):r}}function ws(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 Pu(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(!Ae(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(!Ae(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(!Ae(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function Ae(t,e){try{return Pu(t,e)}catch{return!1}}function Nr(t,e){return!Ae(t,e)}function Tu(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 _n(t,e,r){return Math.min(Math.max(t,e),r)}function Iu(t){return t[t.length-1]}var re=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function $e(t,e){let r=()=>JSON.parse(JSON.stringify(t));return C({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Nr,...e??{}})}function Lu(t){return C({type:Object,converter:{fromAttribute:e=>{if(e!=null)return As(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function As(t){return!isNaN(parseFloat(t))}var ai={};z(ai,{designSystemVariables:()=>U});var ii={};z(ii,{DesignSystemFamily:()=>Pt,DesignSystemSize:()=>Ve,FtCssVariableFactory:()=>o,badge:()=>Uu,banner:()=>Mu,breadcrumb:()=>Bu,button:()=>w,chart:()=>Ju,checkbox:()=>ep,chip:()=>ku,collapsible:()=>Yu,comboboxMultiSelect:()=>Zu,comboboxSingleSelect:()=>Gu,drawer:()=>Hu,floatingMenu:()=>Ku,foundation:()=>u,link:()=>Du,modal:()=>Wu,notice:()=>Qu,notification:()=>op,pageHeader:()=>Fu,popover:()=>qu,radio:()=>rp,resolveFamilyClass:()=>oi,resolveSizeClass:()=>ni,semantic:()=>f,setVariable:()=>$,switch_:()=>Xu,tabs:()=>zu,textArea:()=>Vu,textInput:()=>ju,toggle:()=>tp,tooltip:()=>np,typographies:()=>_r,typographyBody1Medium:()=>Mn,typographyBody1Regular:()=>Dn,typographyBody1Semibold:()=>Un,typographyBody2Medium:()=>Fn,typographyBody2MediumUnderline:()=>Rs,typographyBody2Regular:()=>Bn,typographyBody2Semibold:()=>Wn,typographyCaption1Bold:()=>Yn,typographyCaption1Medium:()=>Zn,typographyCaption1Semibold:()=>qn,typographyCaption2Bold:()=>Qn,typographyCaption2Medium:()=>Xn,typographyCaption2Semibold:()=>Jn,typographyCaption3Bold:()=>ri,typographyCaption3Medium:()=>ei,typographyCaption3Semibold:()=>ti,typographyDisplay:()=>In,typographyLabel1Bold:()=>jn,typographyLabel1Medium:()=>Hn,typographyLabel1Semibold:()=>zn,typographyLabel2Bold:()=>Gn,typographyLabel2Medium:()=>Vn,typographyLabel2Semibold:()=>Kn,typographyTitle1:()=>Ln,typographyTitle2:()=>$n,typographyTitle3:()=>kn,typographyVariants:()=>$u});var je=t=>typeof t=="string"?Et(t):t,o=class{static create(e,r,n,i){let a=c=>je(c??i),s=I`var(${je(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>I`var(${je(e)}, ${a(c)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,r,n,i){let a=c=>n.get(c??i),s=I`var(${je(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=>I`var(${je(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):je(a??e.lastResortDefaultValue()),i=I`var(${je(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=>I`var(${je(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function $(t,e){return je(`${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)")},In={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")},Ln={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")},$n={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},kn={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Dn={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")},Mn={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")},Un={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")},Bn={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")},Fn={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")},Rs={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")},Wn={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")},Hn={fontFamily:o.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},zn={fontFamily:o.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},jn={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")},Vn={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")},Kn={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")},Gn={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")},Zn={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")},qn={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")},Yn={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")},Xn={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")},Jn={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")},Qn={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")},ei={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")},ti={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")},ri={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")},_r={display:In,"title-1":Ln,"title-2":$n,"title-3":kn,"body-1-regular":Dn,"body-1-medium":Mn,"body-1-semibold":Un,"body-2-regular":Bn,"body-2-medium":Fn,"body-2-medium-underline":Rs,"body-2-semibold":Wn,"label-1-medium":Hn,"label-1-semibold":zn,"label-1-bold":jn,"label-2-medium":Vn,"label-2-semibold":Kn,"label-2-bold":Gn,"caption-1-medium":Zn,"caption-1-semibold":qn,"caption-1-bold":Yn,"caption-2-medium":Xn,"caption-2-semibold":Jn,"caption-2-bold":Qn,"caption-3-medium":ei,"caption-3-semibold":ti,"caption-3-bold":ri},$u=["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.
|
|
7
|
+
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 w={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 ku={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 Du={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 Mu={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 Uu={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 Bu={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 Fu={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 Wu={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 Hu={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 zu={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 ju={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 Vu={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 Ku={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 Gu={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 Zu={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 qu={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 Yu={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 Xu={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 Ju={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 Qu={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 ep={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 tp={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 rp={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 op={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 np={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 Pt;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Pt||(Pt={}));var Ve;(function(t){t.large="large",t.medium="medium",t.small="small"})(Ve||(Ve={}));function oi(t){return`ftds--family-${t}`}function ni(t){return`ftds--size-${t}`}var U={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 ui={};z(ui,{FtNotificationEvent:()=>si,PostResizeEvent:()=>li,PreResizeEvent:()=>ci});var si=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},ci=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},li=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var Oi={};z(Oi,{computeOffsetPosition:()=>Si});var _s=["top","right","bottom","left"],Ns=["start","end"],di=_s.reduce((t,e)=>t.concat(e,e+"-"+Ns[0],e+"-"+Ns[1]),[]),Pr=Math.min,ot=Math.max,Tr=Math.round;var Ke=t=>({x:t,y:t}),ip={left:"right",right:"left",bottom:"top",top:"bottom"},ap={start:"end",end:"start"};function fi(t,e,r){return ot(t,Pr(e,r))}function So(t,e){return typeof t=="function"?t(e):t}function Zt(t){return t.split("-")[0]}function nt(t){return t.split("-")[1]}function hi(t){return t==="x"?"y":"x"}function mi(t){return t==="y"?"height":"width"}function Oo(t){return["top","bottom"].includes(Zt(t))?"y":"x"}function yi(t){return hi(Oo(t))}function Ps(t,e,r){r===void 0&&(r=!1);let n=nt(t),i=yi(t),a=mi(i),s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=pi(s)),[s,pi(s)]}function Ts(t){return t.replace(/start|end/g,e=>ap[e])}function pi(t){return t.replace(/left|right|bottom|top/g,e=>ip[e])}function sp(t){return{top:0,right:0,bottom:0,left:0,...t}}function Is(t){return typeof t!="number"?sp(t):{top:t,right:t,bottom:t,left:t}}function Tt(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Ls(t,e,r){let{reference:n,floating:i}=t,a=Oo(e),s=yi(e),c=mi(s),l=Zt(e),p=a==="y",h=n.x+n.width/2-i.width/2,d=n.y+n.height/2-i.height/2,y=n[c]/2-i[c]/2,g;switch(l){case"top":g={x:h,y:n.y-i.height};break;case"bottom":g={x:h,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:d};break;case"left":g={x:n.x-i.width,y:d};break;default:g={x:n.x,y:n.y}}switch(nt(e)){case"start":g[s]-=y*(r&&p?-1:1);break;case"end":g[s]+=y*(r&&p?-1:1);break}return g}var $s=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)),p=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:d}=Ls(p,n,l),y=n,g={},b=0;for(let O=0;O<c.length;O++){let{name:N,fn:R}=c[O],{x:_,y:S,data:v,reset:E}=await R({x:h,y:d,initialPlacement:n,placement:y,strategy:i,middlewareData:g,rects:p,platform:s,elements:{reference:t,floating:e}});if(h=_??h,d=S??d,g={...g,[N]:{...g[N],...v}},E&&b<=50){b++,typeof E=="object"&&(E.placement&&(y=E.placement),E.rects&&(p=E.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):E.rects),{x:h,y:d}=Ls(p,y,l)),O=-1;continue}}return{x:h,y:d,placement:y,strategy:i,middlewareData:g}};async function gi(t,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:c,strategy:l}=t,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:d="floating",altBoundary:y=!1,padding:g=0}=So(e,t),b=Is(g),N=c[y?d==="floating"?"reference":"floating":d],R=Tt(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(N)))==null||r?N:N.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:p,rootBoundary:h,strategy:l})),_=d==="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},E=Tt(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:_,offsetParent:S,strategy:l}):_);return{top:(R.top-E.top+b.top)/v.y,bottom:(E.bottom-R.bottom+b.bottom)/v.y,left:(R.left-E.left+b.left)/v.x,right:(E.right-R.right+b.right)/v.x}}function cp(t,e,r){return(t?[...r.filter(i=>nt(i)===t),...r.filter(i=>nt(i)!==t)]:r.filter(i=>Zt(i)===i)).filter(i=>t?nt(i)===t||(e?Ts(i)!==i:!1):!0)}var bi=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:p}=e,{crossAxis:h=!1,alignment:d,allowedPlacements:y=di,autoAlignment:g=!0,...b}=So(t,e),O=d!==void 0||y===di?cp(d||null,g,y):y,N=await gi(e,b),R=((r=s.autoPlacement)==null?void 0:r.index)||0,_=O[R];if(_==null)return{};let S=Ps(_,a,await(l.isRTL==null?void 0:l.isRTL(p.floating)));if(c!==_)return{reset:{placement:O[0]}};let v=[N[Zt(_)],N[S[0]],N[S[1]]],E=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:_,overflows:v}],k=O[R+1];if(k)return{data:{index:R+1,overflows:E},reset:{placement:k}};let W=E.map(T=>{let m=nt(T.placement);return[T.placement,m&&h?T.overflows.slice(0,2).reduce((x,P)=>x+P,0):T.overflows[0],T.overflows]}).sort((T,m)=>T[1]-m[1]),H=((i=W.filter(T=>T[2].slice(0,nt(T[0])?2:3).every(m=>m<=0))[0])==null?void 0:i[0])||W[0][0];return H!==c?{data:{index:R+1,overflows:E},reset:{placement:H}}:{}}}};var xi=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:c={fn:N=>{let{x:R,y:_}=N;return{x:R,y:_}}},...l}=So(t,e),p={x:r,y:n},h=await gi(e,l),d=Oo(Zt(i)),y=hi(d),g=p[y],b=p[d];if(a){let N=y==="y"?"top":"left",R=y==="y"?"bottom":"right",_=g+h[N],S=g-h[R];g=fi(_,g,S)}if(s){let N=d==="y"?"top":"left",R=d==="y"?"bottom":"right",_=b+h[N],S=b-h[R];b=fi(_,b,S)}let O=c.fn({...e,[y]:g,[d]:b});return{...O,data:{x:O.x-r,y:O.y-n}}}}};function Ge(t){return Ds(t)?(t.nodeName||"").toLowerCase():"#document"}function fe(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Ze(t){var e;return(e=(Ds(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ds(t){return t instanceof Node||t instanceof fe(t).Node}function ke(t){return t instanceof Element||t instanceof fe(t).Element}function Re(t){return t instanceof HTMLElement||t instanceof fe(t).HTMLElement}function ks(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof fe(t).ShadowRoot}function qt(t){let{overflow:e,overflowX:r,overflowY:n,display:i}=xe(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function Ms(t){return["table","td","th"].includes(Ge(t))}function Co(t){let e=wo(),r=xe(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 Us(t){let e=It(t);for(;Re(e)&&!Ir(e);){if(Co(e))return e;e=It(e)}return null}function wo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ir(t){return["html","body","#document"].includes(Ge(t))}function xe(t){return fe(t).getComputedStyle(t)}function Lr(t){return ke(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function It(t){if(Ge(t)==="html")return t;let e=t.assignedSlot||t.parentNode||ks(t)&&t.host||Ze(t);return ks(e)?e.host:e}function Bs(t){let e=It(t);return Ir(e)?t.ownerDocument?t.ownerDocument.body:t.body:Re(e)&&qt(e)?e:Bs(e)}function Eo(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=Bs(t),a=i===((n=t.ownerDocument)==null?void 0:n.body),s=fe(i);return a?e.concat(s,s.visualViewport||[],qt(i)?i:[],s.frameElement&&r?Eo(s.frameElement):[]):e.concat(i,Eo(i,[],r))}function Hs(t){let e=xe(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=Re(t),a=i?t.offsetWidth:r,s=i?t.offsetHeight:n,c=Tr(r)!==a||Tr(n)!==s;return c&&(r=a,n=s),{width:r,height:n,$:c}}function zs(t){return ke(t)?t:t.contextElement}function Yt(t){let e=zs(t);if(!Re(e))return Ke(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:a}=Hs(e),s=(a?Tr(r.width):r.width)/n,c=(a?Tr(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}var lp=Ke(0);function js(t){let e=fe(t);return!wo()||!e.visualViewport?lp:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function up(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==fe(t)?!1:e}function $r(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),a=zs(t),s=Ke(1);e&&(n?ke(n)&&(s=Yt(n)):s=Yt(t));let c=up(a,r,n)?js(a):Ke(0),l=(i.left+c.x)/s.x,p=(i.top+c.y)/s.y,h=i.width/s.x,d=i.height/s.y;if(a){let y=fe(a),g=n&&ke(n)?fe(n):n,b=y.frameElement;for(;b&&n&&g!==y;){let O=Yt(b),N=b.getBoundingClientRect(),R=xe(b),_=N.left+(b.clientLeft+parseFloat(R.paddingLeft))*O.x,S=N.top+(b.clientTop+parseFloat(R.paddingTop))*O.y;l*=O.x,p*=O.y,h*=O.x,d*=O.y,l+=_,p+=S,b=fe(b).frameElement}}return Tt({width:h,height:d,x:l,y:p})}function pp(t){let{rect:e,offsetParent:r,strategy:n}=t,i=Re(r),a=Ze(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},c=Ke(1),l=Ke(0);if((i||!i&&n!=="fixed")&&((Ge(r)!=="body"||qt(a))&&(s=Lr(r)),Re(r))){let p=$r(r);c=Yt(r),l.x=p.x+r.clientLeft,l.y=p.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 dp(t){return Array.from(t.getClientRects())}function Vs(t){return $r(Ze(t)).left+Lr(t).scrollLeft}function fp(t){let e=Ze(t),r=Lr(t),n=t.ownerDocument.body,i=ot(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=ot(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+Vs(t),c=-r.scrollTop;return xe(n).direction==="rtl"&&(s+=ot(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:c}}function hp(t,e){let r=fe(t),n=Ze(t),i=r.visualViewport,a=n.clientWidth,s=n.clientHeight,c=0,l=0;if(i){a=i.width,s=i.height;let p=wo();(!p||p&&e==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}return{width:a,height:s,x:c,y:l}}function mp(t,e){let r=$r(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,a=Re(t)?Yt(t):Ke(1),s=t.clientWidth*a.x,c=t.clientHeight*a.y,l=i*a.x,p=n*a.y;return{width:s,height:c,x:l,y:p}}function Fs(t,e,r){let n;if(e==="viewport")n=hp(t,r);else if(e==="document")n=fp(Ze(t));else if(ke(e))n=mp(e,r);else{let i=js(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return Tt(n)}function Ks(t,e){let r=It(t);return r===e||!ke(r)||Ir(r)?!1:xe(r).position==="fixed"||Ks(r,e)}function yp(t,e){let r=e.get(t);if(r)return r;let n=Eo(t,[],!1).filter(c=>ke(c)&&Ge(c)!=="body"),i=null,a=xe(t).position==="fixed",s=a?It(t):t;for(;ke(s)&&!Ir(s);){let c=xe(s),l=Co(s);!l&&c.position==="fixed"&&(i=null),(a?!l&&!i:!l&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||qt(s)&&!l&&Ks(t,s))?n=n.filter(h=>h!==s):i=c,s=It(s)}return e.set(t,n),n}function gp(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,s=[...r==="clippingAncestors"?yp(e,this._c):[].concat(r),n],c=s[0],l=s.reduce((p,h)=>{let d=Fs(e,h,i);return p.top=ot(d.top,p.top),p.right=Pr(d.right,p.right),p.bottom=Pr(d.bottom,p.bottom),p.left=ot(d.left,p.left),p},Fs(e,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function bp(t){return Hs(t)}function xp(t,e,r){let n=Re(e),i=Ze(e),a=r==="fixed",s=$r(t,!0,a,e),c={scrollLeft:0,scrollTop:0},l=Ke(0);if(n||!n&&!a)if((Ge(e)!=="body"||qt(i))&&(c=Lr(e)),n){let p=$r(e,!0,a,e);l.x=p.x+e.clientLeft,l.y=p.y+e.clientTop}else i&&(l.x=Vs(i));return{x:s.left+c.scrollLeft-l.x,y:s.top+c.scrollTop-l.y,width:s.width,height:s.height}}function Ws(t,e){return!Re(t)||xe(t).position==="fixed"?null:e?e(t):t.offsetParent}function Gs(t,e){let r=fe(t);if(!Re(t))return r;let n=Ws(t,e);for(;n&&Ms(n)&&xe(n).position==="static";)n=Ws(n,e);return n&&(Ge(n)==="html"||Ge(n)==="body"&&xe(n).position==="static"&&!Co(n))?r:n||Us(t)||r}var vp=async function(t){let{reference:e,floating:r,strategy:n}=t,i=this.getOffsetParent||Gs,a=this.getDimensions;return{reference:xp(e,await i(r),n),floating:{x:0,y:0,...await a(r)}}};function Sp(t){return xe(t).direction==="rtl"}var Ao={convertOffsetParentRelativeRectToViewportRelativeRect:pp,getDocumentElement:Ze,getClippingRect:gp,getOffsetParent:Gs,getElementRects:vp,getClientRects:dp,getDimensions:bp,getScale:Yt,isElement:ke,isRTL:Sp};var Zs=(t,e,r)=>{let n=new Map,i={platform:Ao,...r},a={...i.platform,_c:n};return $s(t,e,{...i,platform:a})};function qs(t){return Op(t)}function vi(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Op(t){for(let e=t;e;e=vi(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=vi(t);e;e=vi(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 Si(t,e,r){return Zs(t,e,{platform:{...Ao,getOffsetParent:n=>Ao.getOffsetParent(n,qs)},middleware:[xi({crossAxis:!0}),bi({allowedPlacements:[r]})]})}var Ai={};z(Ai,{FtdsBase:()=>wi,toFtdsBase:()=>_o});var Ci={};z(Ci,{FtLitElement:()=>j});var Ei={};z(Ei,{ScopedRegistryLitElement:()=>kr});var Ro=window,Ep=Ro.ShadowRoot&&(Ro.ShadyCSS===void 0||Ro.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,eg=Symbol();var Ys=(t,e)=>{Ep?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),i=Ro.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)})};var kr=class extends ze{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 Ys(n,e.elementStyles),n}};var No=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},ec,Xs=Symbol("constructorPrototype"),Js=Symbol("constructorName"),tc=Symbol("exportpartsDebouncer"),Qs=Symbol("dynamicDependenciesLoaded"),j=class extends kr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[ec]=new de(5),this[Js]=this.constructor.name,this[Xs]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Js]&&Object.setPrototypeOf(this,this[Xs])}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[Qs]||(e[Qs]=!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[tc].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=y=>y!=null&&y.trim().length>0,p=e.filter(l).map(y=>y.trim());if(p.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let y of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let g=(a=(i=y.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],b=(c=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(O=>O.split(":")[1]))!==null&&c!==void 0?c:[];new Array(...g,...b).filter(l).map(O=>O.trim()).forEach(O=>h.add(O))}if(h.size===0){this.removeAttribute("exportparts");return}let d=[...h.values()].flatMap(y=>p.map(g=>`${y}:${g}--${y}`));this.setAttribute("exportparts",[...this.part,...d].join(", "))}};ec=tc;No([C()],j.prototype,"exportpartsPrefix",void 0);No([$e([])],j.prototype,"exportpartsPrefixes",void 0);No([C()],j.prototype,"customStylesheet",void 0);No([ne()],j.prototype,"useAdoptedStyleSheets",void 0);var rc=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 _o(t){class e extends t{constructor(){super(...arguments),this.size=Ve.medium,this.family=Pt.neutral}getDesignSystemBaseClasses(){return{[oi(this.family)]:!0,[ni(this.size)]:!0}}}return rc([C()],e.prototype,"size",void 0),rc([C()],e.prototype,"family",void 0),e}var wi=class extends _o(j){};var oc={};var _i={};z(_i,{highlightHtml:()=>Ni,highlightHtmlColorCssVariable:()=>nc,highlightHtmlStyles:()=>wp});var Lt=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(p=>{t.matches(p,this.exclude)?l():this.onIframeReady(p,h=>{r(p)&&(c++,n(h)),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=[],p,h,d=()=>({prevNode:h,node:p}=this.getIteratorNode(s),p);for(;d();)this.iframes&&this.forEachIframe(r,y=>this.checkIframeFilter(p,h,y,c),y=>{this.createInstanceOnIframe(y).forEachNode(e,g=>l.push(g),i)}),l.push(p);l.forEach(y=>{n(y)}),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 Dr=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 Lt(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 Lt.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 p=r-s.start,h=(n>s.end?s.end:n)-s.start,d=e.value.substr(0,s.start),y=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,p,h),e.value=d+y,e.nodes.forEach((g,b)=>{b>=c&&(e.nodes[b].start>0&&b!==c&&(e.nodes[b].start-=h),e.nodes[b].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)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 p;for(;(p=e.exec(l.textContent))!==null&&p[s]!=="";){if(!n(p[s],l))continue;let h=p.index;if(s!==0)for(let d=1;d<s;d++)h+=p[d].length;l=this.wrapRangeInTextNode(l,h,h+p[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 p=l.index;if(s!==0)for(let d=1;d<s;d++)p+=l[d].length;let h=p+l[s].length;this.wrapRangeInMappedTextNode(c,p,h,d=>n(l[s],d),(d,y)=>{e.lastIndex=y,i(d)})}a()})}wrapRangeFromIndex(e,r,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((c,l)=>{let{start:p,end:h,valid:d}=this.checkWhitespaceRanges(c,s,a.value);d&&this.wrapRangeInMappedTextNode(a,p,h,y=>r(y,c,a.value.substring(p,h),l),y=>{n(y,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=p=>{let h=new RegExp(this.createRegExp(p),`gm${c}`),d=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(y,g)=>this.opt.filter(g,p,n,d),y=>{d++,n++,this.opt.each(y)},()=>{d===0&&this.opt.noMatch(p),a[s-1]===p?this.opt.done(n):l(a[a.indexOf(p)+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=Lt.matches(n,r),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Ri(t){let e=new Dr(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 Cp=Ri,nc=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),wp=I`
|
|
7
8
|
.highlight-html-match {
|
|
8
|
-
background: ${
|
|
9
|
+
background: ${nc};
|
|
9
10
|
}
|
|
10
|
-
`;function
|
|
11
|
+
`;function Ni(t,e,r){var n,i;let a=t.getAttribute("data-highlight-html-query");if((a??"")!==(e??"")){let s=new Cp(t);if(s.unmark(),e&&e.trim()){let c={className:(n=r?.className)!==null&&n!==void 0?n:"highlight-html-match"};r?.attributes!=null&&(c.each=p=>{for(let h in r.attributes)p.setAttribute(h,r.attributes[h])}),s.mark(e.replace(/"[^"]+"/g,""),{...c,separateWordSearch:!0}),((i=e.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(p=>s.mark(p.replace(/"/g,""),{...c,separateWordSearch:!1}))}}t.setAttribute("data-highlight-html-query",e??"")}var Ii={};z(Ii,{noTextInputDefaultClearButton:()=>Ti,noTextSelect:()=>Mr,safariEllipsisFix:()=>Ur,wordWrap:()=>Pi});var Mr=I`
|
|
11
12
|
.ft-no-text-select {
|
|
12
13
|
-webkit-touch-callout: none;
|
|
13
14
|
-webkit-user-select: none;
|
|
@@ -16,7 +17,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
16
17
|
-ms-user-select: none;
|
|
17
18
|
user-select: none;
|
|
18
19
|
}
|
|
19
|
-
`,
|
|
20
|
+
`,Pi=I`
|
|
20
21
|
.ft-word-wrap {
|
|
21
22
|
white-space: normal;
|
|
22
23
|
word-wrap: break-word;
|
|
@@ -28,7 +29,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
28
29
|
-webkit-hyphens: auto;
|
|
29
30
|
hyphens: auto
|
|
30
31
|
}
|
|
31
|
-
|
|
32
|
+
`,Ur=I`
|
|
32
33
|
.ft-safari-ellipsis-fix {
|
|
33
34
|
margin-right: 0;
|
|
34
35
|
|
|
@@ -39,14 +40,14 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
39
40
|
display: inline-block;
|
|
40
41
|
width: 0;
|
|
41
42
|
}
|
|
42
|
-
`,
|
|
43
|
+
`,Ti=I`
|
|
43
44
|
input::-webkit-search-cancel-button,
|
|
44
45
|
input::-webkit-search-decoration,
|
|
45
46
|
input::-webkit-search-results-button,
|
|
46
47
|
input::-webkit-search-results-decoration {
|
|
47
48
|
display: none;
|
|
48
49
|
}
|
|
49
|
-
`;var Js={};var Ri={};H(Ri,{ParametrizedLabelResolver:()=>kr});var kr=class t{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 t.replaceParameters(a,...r)}static replaceParameters(e,...r){return r.forEach((n,i)=>e=e.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(a,s)=>t.formatValue(n,s))),e}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}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static 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 Qi={};H(Qi,{FtCommandQueue:()=>Dr,FtLitElementRedux:()=>ke,FtReduxStore:()=>lt,clearAllStores:()=>ou,isFtReduxStore:()=>Pt,redux:()=>$e,reduxEventListener:()=>vd,reduxReactive:()=>xd});var xd=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},$e=t=>{let e=t??{};return(r,n)=>{var i;let a={hasChanged:Cr,attribute:!1,...e};C(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})}},vd=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)};var Dr=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 Pt(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Qs,ec,tc,Ao=Symbol("internalReduxEventsUnsubscribers"),ot=Symbol("internalStoresUnsubscribers"),Tt=Symbol("internalStores"),ke=class extends z{constructor(){super(...arguments),this[Qs]=new Map,this[ec]=new Map,this[tc]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[Tt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Tt].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Tt].get(e)}addStore(e,r){var n;r=(n=r??(Pt(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[Tt].delete(r)}setupStore(e,r){this[Tt].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Tt].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[ot].has(e.store):this[ot].size>0)&&(this[r]=e.selector(i.getState(),this))}})}subscribeToStore(e,r){var n;this[ot].set(e,r.subscribe(()=>this.updateFromStores())),Pt(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[Ao].push(()=>r.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[ot].forEach((e,r)=>this.unsubscribeFromStore(r)),this[Ao].forEach(e=>e()),this[Ao]=[]}unsubscribeFromStore(e){this[ot].has(e)&&this[ot].get(e)(),this[ot].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Qs=ot,ec=Tt,tc=Ao;ke.reduxProperties=new Map;ke.reduxReactiveProperties=new Set;ke.reduxEventListeners=new Map;function Se(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 Ge(t){return!!t&&!!t[K]}function Ae(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)===Nd}(t)||Array.isArray(t)||!!t[cc]||!!(!((e=t.constructor)===null||e===void 0)&&e[cc])||Di(t)||Mi(t))}function It(t,e,r){r===void 0&&(r=!1),qt(t)===0?(r?Object.keys:Zt)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function qt(t){var e=t[K];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Di(t)?2:Mi(t)?3:0}function Gt(t,e){return qt(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Sd(t,e){return qt(t)===2?t.get(e):t[e]}function lc(t,e,r){var n=qt(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function pc(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Di(t){return Ad&&t instanceof Map}function Mi(t){return Rd&&t instanceof Set}function nt(t){return t.o||t.t}function Ui(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=fc(t);delete e[K];for(var r=Zt(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 Bi(t,e){return e===void 0&&(e=!1),Fi(t)||Ge(t)||!Ae(t)||(qt(t)>1&&(t.set=t.add=t.clear=t.delete=Od),Object.freeze(t),e&&It(t,function(r,n){return Bi(n,!0)},!0)),t}function Od(){Se(2)}function Fi(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function De(t){var e=ki[t];return e||Se(18,t),e}function Ed(t,e){ki[t]||(ki[t]=e)}function Ii(){return Ur}function Ni(t,e){e&&(De("Patches"),t.u=[],t.s=[],t.v=e)}function Ro(t){Li(t),t.p.forEach(Cd),t.p=null}function Li(t){t===Ur&&(Ur=t.l)}function rc(t){return Ur={p:[],l:Ur,h:t,m:!0,_:0}}function Cd(t){var e=t[K];e.i===0||e.i===1?e.j():e.g=!0}function _i(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||De("ES5").S(e,t,n),n?(r[K].P&&(Ro(e),Se(4)),Ae(t)&&(t=No(e,t),e.l||_o(e,t)),e.u&&De("Patches").M(r[K].t,t,e.u,e.s)):t=No(e,r,[]),Ro(e),e.u&&e.v(e.u,e.s),t!==uc?t:void 0}function No(t,e,r){if(Fi(e))return e;var n=e[K];if(!n)return It(e,function(c,l){return oc(t,n,e,c,l,r)},!0),e;if(n.A!==t)return e;if(!n.P)return _o(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Ui(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),It(a,function(c,l){return oc(t,n,i,c,l,r,s)}),_o(t,i,!1),r&&t.u&&De("Patches").N(n,r,t.u,t.s)}return n.o}function oc(t,e,r,n,i,a,s){if(Ge(i)){var c=No(t,i,a&&e&&e.i!==3&&!Gt(e.R,n)?a.concat(n):void 0);if(lc(r,n,c),!Ge(c))return;t.m=!1}else s&&r.add(i);if(Ae(i)&&!Fi(i)){if(!t.h.D&&t._<1)return;No(t,i),e&&e.A.l||_o(t,i)}}function _o(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Bi(e,r)}function Pi(t,e){var r=t[K];return(r?nt(r):t)[e]}function nc(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 it(t){t.P||(t.P=!0,t.l&&it(t.l))}function Ti(t){t.o||(t.o=Ui(t.t))}function $i(t,e,r){var n=Di(e)?De("MapSet").F(e,r):Mi(e)?De("MapSet").T(e,r):t.O?function(i,a){var s=Array.isArray(i),c={i:s?1:0,A:a?a.A:Ii(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},l=c,d=Br;s&&(l=[c],d=Mr);var u=Proxy.revocable(l,d),h=u.revoke,y=u.proxy;return c.k=y,c.j=h,y}(e,r):De("ES5").J(e,r);return(r?r.A:Ii()).p.push(n),n}function wd(t){return Ge(t)||Se(22,t),function e(r){if(!Ae(r))return r;var n,i=r[K],a=qt(r);if(i){if(!i.P&&(i.i<4||!De("ES5").K(i)))return i.t;i.I=!0,n=ic(r,a),i.I=!1}else n=ic(r,a);return It(n,function(s,c){i&&Sd(i.t,s)===c||lc(n,s,e(c))}),a===3?new Set(n):n}(t)}function ic(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Ui(t)}function dc(){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[K];return Br.get(d,s)},set:function(d){var u=this[K];Br.set(u,s,d)}},l}function e(s){for(var c=s.length-1;c>=0;c--){var l=s[c][K];if(!l.P)switch(l.i){case 5:n(l)&&it(l);break;case 4:r(l)&&it(l)}}}function r(s){for(var c=s.t,l=s.k,d=Zt(l),u=d.length-1;u>=0;u--){var h=d[u];if(h!==K){var y=c[h];if(y===void 0&&!Gt(c,h))return!0;var g=l[h],b=g&&g[K];if(b?b.t!==y:!pc(g,y))return!0}}var O=!!c[K];return d.length!==Zt(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&&Se(3,JSON.stringify(nt(s)))}var a={};Ed("ES5",{J:function(s,c){var l=Array.isArray(s),d=function(h,y){if(h){for(var g=Array(y.length),b=0;b<y.length;b++)Object.defineProperty(g,""+b,t(b,!0));return g}var O=fc(y);delete O[K];for(var N=Zt(O),_=0;_<N.length;_++){var P=N[_];O[P]=t(P,h||!!O[P].enumerable)}return Object.create(Object.getPrototypeOf(y),O)}(l,s),u={i:l?5:4,A:c?c.A:Ii(),P:!1,I:!1,R:{},l:c,t:s,k:d,o:null,g:!1,C:!1};return Object.defineProperty(d,K,{value:u,writable:!0}),d},S:function(s,c,l){l?Ge(c)&&c[K].A===s&&e(s.p):(s.u&&function d(u){if(u&&typeof u=="object"){var h=u[K];if(h){var y=h.t,g=h.k,b=h.R,O=h.i;if(O===4)It(g,function(v){v!==K&&(y[v]!==void 0||Gt(y,v)?b[v]||d(g[v]):(b[v]=!0,it(h)))}),It(y,function(v){g[v]!==void 0||Gt(g,v)||(b[v]=!1,it(h))});else if(O===5){if(n(h)&&(it(h),b.length=!0),g.length<y.length)for(var N=g.length;N<y.length;N++)b[N]=!1;else for(var _=y.length;_<g.length;_++)b[_]=!0;for(var P=Math.min(g.length,y.length),S=0;S<P;S++)g.hasOwnProperty(S)||(b[S]=!0),b[S]===void 0&&d(g[S])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var ac,Ur,Wi=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Ad=typeof Map<"u",Rd=typeof Set<"u",sc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",uc=Wi?Symbol.for("immer-nothing"):((ac={})["immer-nothing"]=!0,ac),cc=Wi?Symbol.for("immer-draftable"):"__$immer_draftable",K=Wi?Symbol.for("immer-state"):"__$immer_state";var Nd=""+Object.prototype.constructor,Zt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,fc=Object.getOwnPropertyDescriptors||function(t){var e={};return Zt(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},ki={},Br={get:function(t,e){if(e===K)return t;var r=nt(t);if(!Gt(r,e))return function(i,a,s){var c,l=nc(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||!Ae(n)?n:n===Pi(t.t,e)?(Ti(t),t.o[e]=$i(t.A.h,n,t)):n},has:function(t,e){return e in nt(t)},ownKeys:function(t){return Reflect.ownKeys(nt(t))},set:function(t,e,r){var n=nc(nt(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var i=Pi(nt(t),e),a=i?.[K];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(pc(r,i)&&(r!==void 0||Gt(t.t,e)))return!0;Ti(t),it(t)}return t.o[e]===r&&(r!==void 0||e in t.o)||Number.isNaN(r)&&Number.isNaN(t.o[e])||(t.o[e]=r,t.R[e]=!0),!0},deleteProperty:function(t,e){return Pi(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Ti(t),it(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=nt(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){Se(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Se(12)}},Mr={};It(Br,function(t,e){Mr[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Mr.deleteProperty=function(t,e){return Mr.set.call(this,t,e,void 0)},Mr.set=function(t,e,r){return Br.set.call(this,t[0],e,r,t[0])};var _d=function(){function t(r){var n=this;this.O=sc,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 N=this;O===void 0&&(O=c);for(var _=arguments.length,P=Array(_>1?_-1:0),S=1;S<_;S++)P[S-1]=arguments[S];return l.produce(O,function(v){var E;return(E=a).call.apply(E,[N,v].concat(P))})}}var d;if(typeof a!="function"&&Se(6),s!==void 0&&typeof s!="function"&&Se(7),Ae(i)){var u=rc(n),h=$i(n,i,void 0),y=!0;try{d=a(h),y=!1}finally{y?Ro(u):Li(u)}return typeof Promise<"u"&&d instanceof Promise?d.then(function(O){return Ni(u,s),_i(O,u)},function(O){throw Ro(u),O}):(Ni(u,s),_i(d,u))}if(!i||typeof i!="object"){if((d=a(i))===void 0&&(d=i),d===uc&&(d=void 0),n.D&&Bi(d,!0),s){var g=[],b=[];De("Patches").M(i,d,g,b),s(g,b)}return d}Se(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(d){for(var u=arguments.length,h=Array(u>1?u-1:0),y=1;y<u;y++)h[y-1]=arguments[y];return n.produceWithPatches(d,function(g){return i.apply(void 0,[g].concat(h))})};var s,c,l=n.produce(i,a,function(d,u){s=d,c=u});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){Ae(r)||Se(8),Ge(r)&&(r=wd(r));var n=rc(this),i=$i(this,r,void 0);return i[K].C=!0,Li(n),i},e.finishDraft=function(r,n){var i=r&&r[K],a=i.A;return Ni(a,n),_i(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!sc&&Se(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=De("Patches").$;return Ge(r)?s(r,n):this.produce(r,function(c){return s(c,n)})},t}(),be=new _d,Pd=be.produce,vg=be.produceWithPatches.bind(be),Sg=be.setAutoFreeze.bind(be),Og=be.setUseProxies.bind(be),Eg=be.applyPatches.bind(be),Cg=be.createDraft.bind(be),wg=be.finishDraft.bind(be),Po=Pd;function at(t){"@babel/helpers - typeof";return at=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},at(t)}function Hi(t,e){if(at(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(at(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function zi(t){var e=Hi(t,"string");return at(e)==="symbol"?e:String(e)}function ji(t,e,r){return e=zi(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function hc(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 To(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?hc(Object(r),!0).forEach(function(n){ji(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):hc(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function ae(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 mc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Vi=function(){return Math.random().toString(36).substring(7).split("").join(".")},Io={INIT:"@@redux/INIT"+Vi(),REPLACE:"@@redux/REPLACE"+Vi(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Vi()}};function Td(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 Ki(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(ae(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(ae(1));return r(Ki)(t,e)}if(typeof t!="function")throw new Error(ae(2));var i=t,a=e,s=[],c=s,l=!1;function d(){c===s&&(c=s.slice())}function u(){if(l)throw new Error(ae(3));return a}function h(O){if(typeof O!="function")throw new Error(ae(4));if(l)throw new Error(ae(5));var N=!0;return d(),c.push(O),function(){if(N){if(l)throw new Error(ae(6));N=!1,d();var P=c.indexOf(O);c.splice(P,1),s=null}}}function y(O){if(!Td(O))throw new Error(ae(7));if(typeof O.type>"u")throw new Error(ae(8));if(l)throw new Error(ae(9));try{l=!0,a=i(a,O)}finally{l=!1}for(var N=s=c,_=0;_<N.length;_++){var P=N[_];P()}return O}function g(O){if(typeof O!="function")throw new Error(ae(10));i=O,y({type:Io.REPLACE})}function b(){var O,N=h;return O={subscribe:function(P){if(typeof P!="object"||P===null)throw new Error(ae(11));function S(){P.next&&P.next(u())}S();var v=N(S);return{unsubscribe:v}}},O[mc]=function(){return this},O}return y({type:Io.INIT}),n={dispatch:y,subscribe:h,getState:u,replaceReducer:g},n[mc]=b,n}function Id(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:Io.INIT});if(typeof n>"u")throw new Error(ae(12));if(typeof r(void 0,{type:Io.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ae(13))})}function yc(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{Id(r)}catch(l){c=l}return function(d,u){if(d===void 0&&(d={}),c)throw c;if(0)var h;for(var y=!1,g={},b=0;b<a.length;b++){var O=a[b],N=r[O],_=d[O],P=N(_,u);if(typeof P>"u"){var S=u&&u.type;throw new Error(ae(14))}g[O]=P,y=y||P!==_}return y=y||a.length!==Object.keys(d).length,y?g:d}}function Yt(){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 gc(){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(ae(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(l){return l(s)});return a=Yt.apply(void 0,c)(i.dispatch),To(To({},i),{},{dispatch:a})}}}function bc(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 xc=bc();xc.withExtraArgument=bc;var Gi=xc;var Cc=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)}}(),Ld=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(u){return l([d,u])}}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(u){d=[6,u],i=0}finally{n=a=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}},Xt=function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t},$d=Object.defineProperty,kd=Object.defineProperties,Dd=Object.getOwnPropertyDescriptors,vc=Object.getOwnPropertySymbols,Md=Object.prototype.hasOwnProperty,Ud=Object.prototype.propertyIsEnumerable,Sc=function(t,e,r){return e in t?$d(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},st=function(t,e){for(var r in e||(e={}))Md.call(e,r)&&Sc(t,r,e[r]);if(vc)for(var n=0,i=vc(e);n<i.length;n++){var r=i[n];Ud.call(e,r)&&Sc(t,r,e[r])}return t},Zi=function(t,e){return kd(t,Dd(e))},Bd=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 Fd=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Yt:Yt.apply(null,arguments)},zg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Wd(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 Hd=function(t){Cc(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,Xt([void 0],r[0].concat(this)))):new(e.bind.apply(e,Xt([void 0],r.concat(this))))},e}(Array),zd=function(t){Cc(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,Xt([void 0],r[0].concat(this)))):new(e.bind.apply(e,Xt([void 0],r.concat(this))))},e}(Array);function Xi(t){return Ae(t)?Po(t,function(){}):t}function jd(t){return typeof t=="boolean"}function Vd(){return function(e){return Kd(e)}}function Kd(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 Hd;if(r&&(jd(r)?c.push(Gi):c.push(Gi.withExtraArgument(r.extraArgument))),0){if(i)var l;if(s)var d}return c}var qi=!0;function wc(t){var e=Vd(),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,u=d===void 0?void 0:d,h=r.enhancers,y=h===void 0?void 0:h,g;if(typeof i=="function")g=i;else if(Wd(i))g=yc(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),!qi&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!qi&&b.some(function(v){return typeof v!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=gc.apply(void 0,b),N=Yt;l&&(N=Fd(st({trace:!qi},typeof l=="object"&&l)));var _=new zd(O),P=_;Array.isArray(y)?P=Xt([O],y):typeof y=="function"&&(P=y(_));var S=N.apply(void 0,P);return Ki(g,u,S)}function ct(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 st(st({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 Ac(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 Gd(t){return typeof t=="function"}function Zd(t,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?Ac(e):[e,r,n],a=i[0],s=i[1],c=i[2],l;if(Gd(t))l=function(){return Xi(t())};else{var d=Xi(t);l=function(){return d}}function u(h,y){h===void 0&&(h=l());var g=Xt([a[y.type]],s.filter(function(b){var O=b.matcher;return O(y)}).map(function(b){var O=b.reducer;return O}));return g.filter(function(b){return!!b}).length===0&&(g=[c]),g.reduce(function(b,O){if(O)if(Ge(b)){var N=b,_=O(N,y);return _===void 0?b:_}else{if(Ae(b))return Po(b,function(P){return O(P,y)});var _=O(b,y);if(_===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return _}return b},h)}return u.getInitialState=l,u}function qd(t,e){return t+"/"+e}function Rc(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:Xi(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};i.forEach(function(u){var h=n[u],y=qd(e,u),g,b;"reducer"in h?(g=h.reducer,b=h.prepare):g=h,a[u]=g,s[y]=g,c[u]=b?ct(y,b):ct(y)});function l(){var u=typeof t.extraReducers=="function"?Ac(t.extraReducers):[t.extraReducers],h=u[0],y=h===void 0?{}:h,g=u[1],b=g===void 0?[]:g,O=u[2],N=O===void 0?void 0:O,_=st(st({},y),s);return Zd(r,function(P){for(var S in _)P.addCase(S,_[S]);for(var v=0,E=b;v<E.length;v++){var $=E[v];P.addMatcher($.matcher,$.reducer)}N&&P.addDefaultCase(N)})}var d;return{name:e,reducer:function(u,h){return d||(d=l()),d(u,h)},actions:c,caseReducers:a,getInitialState:function(){return d||(d=l()),d.getInitialState()}}}var Yd="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Xd=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=Yd[Math.random()*64|0];return e},Jd=["name","message","stack","code"],Yi=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Oc=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Qd=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=Jd;r<n.length;r++){var i=n[r];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},Gg=function(){function t(e,r,n){var i=ct(e+"/fulfilled",function(u,h,y,g){return{payload:u,meta:Zi(st({},g||{}),{arg:y,requestId:h,requestStatus:"fulfilled"})}}),a=ct(e+"/pending",function(u,h,y){return{payload:void 0,meta:Zi(st({},y||{}),{arg:h,requestId:u,requestStatus:"pending"})}}),s=ct(e+"/rejected",function(u,h,y,g,b){return{payload:g,error:(n&&n.serializeError||Qd)(u||"Rejected"),meta:Zi(st({},b||{}),{arg:y,requestId:h,rejectedWithValue:!!g,requestStatus:"rejected",aborted:u?.name==="AbortError",condition:u?.name==="ConditionError"})}}),c=!1,l=typeof AbortController<"u"?AbortController:function(){function u(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return u.prototype.abort=function(){},u}();function d(u){return function(h,y,g){var b=n?.idGenerator?n.idGenerator(u):Xd(),O=new l,N,_=!1;function P(v){N=v,O.abort()}var S=function(){return Bd(this,null,function(){var v,E,$,k,ne,F,m;return Ld(this,function(x){switch(x.label){case 0:return x.trys.push([0,4,,5]),k=(v=n?.condition)==null?void 0:v.call(n,u,{getState:y,extra:g}),tu(k)?[4,k]:[3,2];case 1:k=x.sent(),x.label=2;case 2:if(k===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return _=!0,ne=new Promise(function(R,U){return O.signal.addEventListener("abort",function(){return U({name:"AbortError",message:N||"Aborted"})})}),h(a(b,u,(E=n?.getPendingMeta)==null?void 0:E.call(n,{requestId:b,arg:u},{getState:y,extra:g}))),[4,Promise.race([ne,Promise.resolve(r(u,{dispatch:h,getState:y,extra:g,requestId:b,signal:O.signal,abort:P,rejectWithValue:function(R,U){return new Yi(R,U)},fulfillWithValue:function(R,U){return new Oc(R,U)}})).then(function(R){if(R instanceof Yi)throw R;return R instanceof Oc?i(R.payload,b,u,R.meta):i(R,b,u)})])];case 3:return $=x.sent(),[3,5];case 4:return F=x.sent(),$=F instanceof Yi?s(null,b,u,F.payload,F.meta):s(F,b,u),[3,5];case 5:return m=n&&!n.dispatchConditionRejection&&s.match($)&&$.meta.condition,m||h($),[2,$]}})})}();return Object.assign(S,{abort:P,requestId:b,arg:u,unwrap:function(){return S.then(eu)}})}}return Object.assign(d,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();function eu(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function tu(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Nc="listener",_c="completed",Pc="cancelled",Zg="task-"+Pc,qg="task-"+_c,Yg=Nc+"-"+Pc,Xg=Nc+"-"+_c;var Ji="listenerMiddleware";var Jg=ct(Ji+"/add"),Qg=ct(Ji+"/removeAll"),eb=ct(Ji+"/remove");var Ec,tb=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Ec||(Ec=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},ru=function(t){return function(e){setTimeout(e,t)}},rb=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:ru(10);dc();window.ftReduxStores||(window.ftReduxStores={});var lt=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(Pt(a))return a;if(i==null)return;let s=Rc({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),c=wc({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 Dr,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 ou(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))Pt(e)&&e.clear()}var ra={};H(ra,{scrollHelper:()=>nu});var ea,Lo=new Map,ta=class{lock(e,r){if(r){let n=Lo.get(r);if(n==null||n===e)return Lo.set(r,e),r}}release(e,r){r&&Lo.get(r)===e&&Lo.delete(r)}findFirstScrollableParent(e){let r,n=i=>{var a;i.stopPropagation();let s,c;for(let l of i.composedPath()){let d=l,u=this.elementCanScroll(d);if(u&&d.clientHeight&&d.clientHeight<d.scrollHeight){s=d;break}else u&&c==null&&(c=d)}r=(a=s??c)!==null&&a!==void 0?a:document.body};return e.addEventListener("find-scrollable-parent",n),e.dispatchEvent(new Event("find-scrollable-parent",{composed:!0})),e.removeEventListener("find-scrollable-parent",n),r}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,r){let n=0;for(;r&&r.offsetParent!==e.offsetParent;)n+=r.offsetTop,r=r.offsetParent;return n+r.offsetTop-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,e),a=i-n.clientHeight+e.clientHeight,s=i,c=En(0,(s-n.scrollTop)/(s-a),1),l=this.computeTopOffsetRatio(r?.position,c)*(a-s)+s;n.scrollTo({behavior:r?.behavior,top:l})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(ea=window.FluidTopicsScrollHelper)!==null&&ea!==void 0?ea:new ta;var nu=window.FluidTopicsScrollHelper;var oa={};H(oa,{shadowQuerySelector:()=>iu,shadowQuerySelectorAll:()=>au});function iu(t,e,...r){var n;let i=t.querySelector(e);for(let a of r)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}function au(t,e,...r){let n=[...t.querySelectorAll(e)];for(let i of r)n=n.flatMap(a=>{var s,c;return[...(c=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(i))!==null&&c!==void 0?c:[]]});return n}var na={};H(na,{serializeRequest:()=>cu});function su(t){return`"${t}"`}function cu(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 u=d.values.map(h=>h.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(h=>encodeURIComponent(su(h))).join("_");return`${d.key}~${u}`}).join("*");s.append("filters",l)}return new URL(`${t.replace(/\/+$/,"")}/search?${s.toString()}`).href}var aa={};H(aa,{toFtFormComponent:()=>ia});var $o=Symbol("elementInternals");function ia(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[$o].form}constructor(...i){super(i),this[$o]=this.attachInternals(),this[$o].role=e}setFormValue(i){this[$o].setFormValue(i)}}return r}var sa={};H(sa,{DateFormatter:()=>Jt});var Jt=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 ca,la,pa,da,ua=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((pa=(la=(ca=window.safari)===null||ca===void 0?void 0:ca.pushNotification)===null||la===void 0?void 0:la.toString())!==null&&pa!==void 0?pa:"")==="[object SafariRemoteNotification]",lu="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(da=window.ftGlobals)!==null&&da!==void 0?da:{lit:cn,litDecorators:dn,litRepeat:fn,litClassMap:hn,litStyleMap:mn,litUnsafeHTML:gn,wcUtils:{...xn,...bn,...Sn,...sa,...On,...wn,...ei,...ni,...yi,...Qn,...vi,...bi,...Ys,...Cn,...Ei,...Ai,...Js,...Ri,...Qi,...gi,...ra,...oa,...na,...aa,isSafari:ua,isTouchScreen:lu,setVariable:L}};var Tc=o.extend("--ft-ripple-color","",M.colorContent),B={color:Tc,backgroundColor:o.extend("--ft-ripple-background-color","",Tc),opacityContentOnSurfacePressed:o.external(M.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(M.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(M.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(M.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},Ic=o.extend("--ft-ripple-color","",M.colorPrimary),Lc={color:Ic,backgroundColor:o.extend("--ft-ripple-background-color","",Ic)},$c=o.extend("--ft-ripple-color","",M.colorSecondary),kc={color:$c,backgroundColor:o.extend("--ft-ripple-background-color","",$c)},Dc=T`
|
|
50
|
+
`;var ic={};var Li={};z(Li,{ParametrizedLabelResolver:()=>Br});var Br=class t{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 t.replaceParameters(a,...r)}static replaceParameters(e,...r){return r.forEach((n,i)=>e=e.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(a,s)=>t.formatValue(n,s))),e}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}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static 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 ia={};z(ia,{FtCommandQueue:()=>Fr,FtLitElementRedux:()=>Me,FtReduxStore:()=>pt,clearAllStores:()=>ud,isFtReduxStore:()=>$t,redux:()=>De,reduxEventListener:()=>Rp,reduxReactive:()=>Ap});var Ap=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},De=t=>{let e=t??{};return(r,n)=>{var i;let a={hasChanged:Nr,attribute:!1,...e};C(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})}},Rp=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)};var Fr=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 $t(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var ac,sc,cc,Po=Symbol("internalReduxEventsUnsubscribers"),it=Symbol("internalStoresUnsubscribers"),kt=Symbol("internalStores"),Me=class extends j{constructor(){super(...arguments),this[ac]=new Map,this[sc]=new Map,this[cc]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[kt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[kt].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[kt].get(e)}addStore(e,r){var n;r=(n=r??($t(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[kt].delete(r)}setupStore(e,r){this[kt].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[kt].forEach((e,r)=>this.subscribeToStore(r,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let i=this.getStore(e.store);i&&(e.store?this[it].has(e.store):this[it].size>0)&&(this[r]=e.selector(i.getState(),this))}})}subscribeToStore(e,r){var n;this[it].set(e,r.subscribe(()=>this.updateFromStores())),$t(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[Po].push(()=>r.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[it].forEach((e,r)=>this.unsubscribeFromStore(r)),this[Po].forEach(e=>e()),this[Po]=[]}unsubscribeFromStore(e){this[it].has(e)&&this[it].get(e)(),this[it].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};ac=it,sc=kt,cc=Po;Me.reduxProperties=new Map;Me.reduxReactiveProperties=new Set;Me.reduxEventListeners=new Map;function Ee(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 qe(t){return!!t&&!!t[q]}function Ne(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)===kp}(t)||Array.isArray(t)||!!t[mc]||!!(!((e=t.constructor)===null||e===void 0)&&e[mc])||Hi(t)||zi(t))}function Dt(t,e,r){r===void 0&&(r=!1),Qt(t)===0?(r?Object.keys:Jt)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function Qt(t){var e=t[q];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Hi(t)?2:zi(t)?3:0}function Xt(t,e){return Qt(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function Np(t,e){return Qt(t)===2?t.get(e):t[e]}function yc(t,e,r){var n=Qt(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function gc(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Hi(t){return Lp&&t instanceof Map}function zi(t){return $p&&t instanceof Set}function at(t){return t.o||t.t}function ji(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=vc(t);delete e[q];for(var r=Jt(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 Vi(t,e){return e===void 0&&(e=!1),Ki(t)||qe(t)||!Ne(t)||(Qt(t)>1&&(t.set=t.add=t.clear=t.delete=_p),Object.freeze(t),e&&Dt(t,function(r,n){return Vi(n,!0)},!0)),t}function _p(){Ee(2)}function Ki(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Ue(t){var e=Wi[t];return e||Ee(18,t),e}function Pp(t,e){Wi[t]||(Wi[t]=e)}function Ui(){return Hr}function $i(t,e){e&&(Ue("Patches"),t.u=[],t.s=[],t.v=e)}function To(t){Bi(t),t.p.forEach(Tp),t.p=null}function Bi(t){t===Hr&&(Hr=t.l)}function lc(t){return Hr={p:[],l:Hr,h:t,m:!0,_:0}}function Tp(t){var e=t[q];e.i===0||e.i===1?e.j():e.g=!0}function ki(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||Ue("ES5").S(e,t,n),n?(r[q].P&&(To(e),Ee(4)),Ne(t)&&(t=Io(e,t),e.l||Lo(e,t)),e.u&&Ue("Patches").M(r[q].t,t,e.u,e.s)):t=Io(e,r,[]),To(e),e.u&&e.v(e.u,e.s),t!==xc?t:void 0}function Io(t,e,r){if(Ki(e))return e;var n=e[q];if(!n)return Dt(e,function(c,l){return uc(t,n,e,c,l,r)},!0),e;if(n.A!==t)return e;if(!n.P)return Lo(t,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=ji(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),Dt(a,function(c,l){return uc(t,n,i,c,l,r,s)}),Lo(t,i,!1),r&&t.u&&Ue("Patches").N(n,r,t.u,t.s)}return n.o}function uc(t,e,r,n,i,a,s){if(qe(i)){var c=Io(t,i,a&&e&&e.i!==3&&!Xt(e.R,n)?a.concat(n):void 0);if(yc(r,n,c),!qe(c))return;t.m=!1}else s&&r.add(i);if(Ne(i)&&!Ki(i)){if(!t.h.D&&t._<1)return;Io(t,i),e&&e.A.l||Lo(t,i)}}function Lo(t,e,r){r===void 0&&(r=!1),!t.l&&t.h.D&&t.m&&Vi(e,r)}function Di(t,e){var r=t[q];return(r?at(r):t)[e]}function pc(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 st(t){t.P||(t.P=!0,t.l&&st(t.l))}function Mi(t){t.o||(t.o=ji(t.t))}function Fi(t,e,r){var n=Hi(e)?Ue("MapSet").F(e,r):zi(e)?Ue("MapSet").T(e,r):t.O?function(i,a){var s=Array.isArray(i),c={i:s?1:0,A:a?a.A:Ui(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},l=c,p=zr;s&&(l=[c],p=Wr);var h=Proxy.revocable(l,p),d=h.revoke,y=h.proxy;return c.k=y,c.j=d,y}(e,r):Ue("ES5").J(e,r);return(r?r.A:Ui()).p.push(n),n}function Ip(t){return qe(t)||Ee(22,t),function e(r){if(!Ne(r))return r;var n,i=r[q],a=Qt(r);if(i){if(!i.P&&(i.i<4||!Ue("ES5").K(i)))return i.t;i.I=!0,n=dc(r,a),i.I=!1}else n=dc(r,a);return Dt(n,function(s,c){i&&Np(i.t,s)===c||yc(n,s,e(c))}),a===3?new Set(n):n}(t)}function dc(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return ji(t)}function bc(){function t(s,c){var l=a[s];return l?l.enumerable=c:a[s]=l={configurable:!0,enumerable:c,get:function(){var p=this[q];return zr.get(p,s)},set:function(p){var h=this[q];zr.set(h,s,p)}},l}function e(s){for(var c=s.length-1;c>=0;c--){var l=s[c][q];if(!l.P)switch(l.i){case 5:n(l)&&st(l);break;case 4:r(l)&&st(l)}}}function r(s){for(var c=s.t,l=s.k,p=Jt(l),h=p.length-1;h>=0;h--){var d=p[h];if(d!==q){var y=c[d];if(y===void 0&&!Xt(c,d))return!0;var g=l[d],b=g&&g[q];if(b?b.t!==y:!gc(g,y))return!0}}var O=!!c[q];return p.length!==Jt(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 p=0;p<c.length;p++)if(!c.hasOwnProperty(p))return!0;return!1}function i(s){s.g&&Ee(3,JSON.stringify(at(s)))}var a={};Pp("ES5",{J:function(s,c){var l=Array.isArray(s),p=function(d,y){if(d){for(var g=Array(y.length),b=0;b<y.length;b++)Object.defineProperty(g,""+b,t(b,!0));return g}var O=vc(y);delete O[q];for(var N=Jt(O),R=0;R<N.length;R++){var _=N[R];O[_]=t(_,d||!!O[_].enumerable)}return Object.create(Object.getPrototypeOf(y),O)}(l,s),h={i:l?5:4,A:c?c.A:Ui(),P:!1,I:!1,R:{},l:c,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,q,{value:h,writable:!0}),p},S:function(s,c,l){l?qe(c)&&c[q].A===s&&e(s.p):(s.u&&function p(h){if(h&&typeof h=="object"){var d=h[q];if(d){var y=d.t,g=d.k,b=d.R,O=d.i;if(O===4)Dt(g,function(v){v!==q&&(y[v]!==void 0||Xt(y,v)?b[v]||p(g[v]):(b[v]=!0,st(d)))}),Dt(y,function(v){g[v]!==void 0||Xt(g,v)||(b[v]=!1,st(d))});else if(O===5){if(n(d)&&(st(d),b.length=!0),g.length<y.length)for(var N=g.length;N<y.length;N++)b[N]=!1;else for(var R=y.length;R<g.length;R++)b[R]=!0;for(var _=Math.min(g.length,y.length),S=0;S<_;S++)g.hasOwnProperty(S)||(b[S]=!0),b[S]===void 0&&p(g[S])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var fc,Hr,Gi=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Lp=typeof Map<"u",$p=typeof Set<"u",hc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",xc=Gi?Symbol.for("immer-nothing"):((fc={})["immer-nothing"]=!0,fc),mc=Gi?Symbol.for("immer-draftable"):"__$immer_draftable",q=Gi?Symbol.for("immer-state"):"__$immer_state";var kp=""+Object.prototype.constructor,Jt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,vc=Object.getOwnPropertyDescriptors||function(t){var e={};return Jt(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},Wi={},zr={get:function(t,e){if(e===q)return t;var r=at(t);if(!Xt(r,e))return function(i,a,s){var c,l=pc(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||!Ne(n)?n:n===Di(t.t,e)?(Mi(t),t.o[e]=Fi(t.A.h,n,t)):n},has:function(t,e){return e in at(t)},ownKeys:function(t){return Reflect.ownKeys(at(t))},set:function(t,e,r){var n=pc(at(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var i=Di(at(t),e),a=i?.[q];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(gc(r,i)&&(r!==void 0||Xt(t.t,e)))return!0;Mi(t),st(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 Di(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Mi(t),st(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=at(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){Ee(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Ee(12)}},Wr={};Dt(zr,function(t,e){Wr[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Wr.deleteProperty=function(t,e){return Wr.set.call(this,t,e,void 0)},Wr.set=function(t,e,r){return zr.set.call(this,t[0],e,r,t[0])};var Dp=function(){function t(r){var n=this;this.O=hc,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 N=this;O===void 0&&(O=c);for(var R=arguments.length,_=Array(R>1?R-1:0),S=1;S<R;S++)_[S-1]=arguments[S];return l.produce(O,function(v){var E;return(E=a).call.apply(E,[N,v].concat(_))})}}var p;if(typeof a!="function"&&Ee(6),s!==void 0&&typeof s!="function"&&Ee(7),Ne(i)){var h=lc(n),d=Fi(n,i,void 0),y=!0;try{p=a(d),y=!1}finally{y?To(h):Bi(h)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(O){return $i(h,s),ki(O,h)},function(O){throw To(h),O}):($i(h,s),ki(p,h))}if(!i||typeof i!="object"){if((p=a(i))===void 0&&(p=i),p===xc&&(p=void 0),n.D&&Vi(p,!0),s){var g=[],b=[];Ue("Patches").M(i,p,g,b),s(g,b)}return p}Ee(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(p){for(var h=arguments.length,d=Array(h>1?h-1:0),y=1;y<h;y++)d[y-1]=arguments[y];return n.produceWithPatches(p,function(g){return i.apply(void 0,[g].concat(d))})};var s,c,l=n.produce(i,a,function(p,h){s=p,c=h});return typeof Promise<"u"&&l instanceof Promise?l.then(function(p){return[p,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){Ne(r)||Ee(8),qe(r)&&(r=Ip(r));var n=lc(this),i=Fi(this,r,void 0);return i[q].C=!0,Bi(n),i},e.finishDraft=function(r,n){var i=r&&r[q],a=i.A;return $i(a,n),ki(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!hc&&Ee(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=Ue("Patches").$;return qe(r)?s(r,n):this.produce(r,function(c){return s(c,n)})},t}(),ve=new Dp,Mp=ve.produce,Ng=ve.produceWithPatches.bind(ve),_g=ve.setAutoFreeze.bind(ve),Pg=ve.setUseProxies.bind(ve),Tg=ve.applyPatches.bind(ve),Ig=ve.createDraft.bind(ve),Lg=ve.finishDraft.bind(ve),$o=Mp;function ct(t){"@babel/helpers - typeof";return ct=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},ct(t)}function Zi(t,e){if(ct(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(ct(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function qi(t){var e=Zi(t,"string");return ct(e)==="symbol"?e:String(e)}function Yi(t,e,r){return e=qi(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Sc(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 ko(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Sc(Object(r),!0).forEach(function(n){Yi(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Sc(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function ce(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 Oc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Xi=function(){return Math.random().toString(36).substring(7).split("").join(".")},Do={INIT:"@@redux/INIT"+Xi(),REPLACE:"@@redux/REPLACE"+Xi(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Xi()}};function Up(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 Ji(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(ce(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(ce(1));return r(Ji)(t,e)}if(typeof t!="function")throw new Error(ce(2));var i=t,a=e,s=[],c=s,l=!1;function p(){c===s&&(c=s.slice())}function h(){if(l)throw new Error(ce(3));return a}function d(O){if(typeof O!="function")throw new Error(ce(4));if(l)throw new Error(ce(5));var N=!0;return p(),c.push(O),function(){if(N){if(l)throw new Error(ce(6));N=!1,p();var _=c.indexOf(O);c.splice(_,1),s=null}}}function y(O){if(!Up(O))throw new Error(ce(7));if(typeof O.type>"u")throw new Error(ce(8));if(l)throw new Error(ce(9));try{l=!0,a=i(a,O)}finally{l=!1}for(var N=s=c,R=0;R<N.length;R++){var _=N[R];_()}return O}function g(O){if(typeof O!="function")throw new Error(ce(10));i=O,y({type:Do.REPLACE})}function b(){var O,N=d;return O={subscribe:function(_){if(typeof _!="object"||_===null)throw new Error(ce(11));function S(){_.next&&_.next(h())}S();var v=N(S);return{unsubscribe:v}}},O[Oc]=function(){return this},O}return y({type:Do.INIT}),n={dispatch:y,subscribe:d,getState:h,replaceReducer:g},n[Oc]=b,n}function Bp(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:Do.INIT});if(typeof n>"u")throw new Error(ce(12));if(typeof r(void 0,{type:Do.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ce(13))})}function Ec(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{Bp(r)}catch(l){c=l}return function(p,h){if(p===void 0&&(p={}),c)throw c;if(0)var d;for(var y=!1,g={},b=0;b<a.length;b++){var O=a[b],N=r[O],R=p[O],_=N(R,h);if(typeof _>"u"){var S=h&&h.type;throw new Error(ce(14))}g[O]=_,y=y||_!==R}return y=y||a.length!==Object.keys(p).length,y?g:p}}function er(){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 Cc(){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(ce(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},c=e.map(function(l){return l(s)});return a=er.apply(void 0,c)(i.dispatch),ko(ko({},i),{},{dispatch:a})}}}function wc(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 Ac=wc();Ac.withExtraArgument=wc;var Qi=Ac;var Tc=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)}}(),Fp=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(p){return function(h){return l([p,h])}}function l(p){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=p[0]&2?i.return:p[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,p[1])).done)return a;switch(i=0,a&&(p=[p[0]&2,a.value]),p[0]){case 0:case 1:a=p;break;case 4:return r.label++,{value:p[1],done:!1};case 5:r.label++,i=p[1],p=[0];continue;case 7:p=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(p[0]===6||p[0]===2)){r=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){r.label=p[1];break}if(p[0]===6&&r.label<a[1]){r.label=a[1],a=p;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(p);break}a[2]&&r.ops.pop(),r.trys.pop();continue}p=e.call(t,r)}catch(h){p=[6,h],i=0}finally{n=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},tr=function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t},Wp=Object.defineProperty,Hp=Object.defineProperties,zp=Object.getOwnPropertyDescriptors,Rc=Object.getOwnPropertySymbols,jp=Object.prototype.hasOwnProperty,Vp=Object.prototype.propertyIsEnumerable,Nc=function(t,e,r){return e in t?Wp(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},lt=function(t,e){for(var r in e||(e={}))jp.call(e,r)&&Nc(t,r,e[r]);if(Rc)for(var n=0,i=Rc(e);n<i.length;n++){var r=i[n];Vp.call(e,r)&&Nc(t,r,e[r])}return t},ea=function(t,e){return Hp(t,zp(e))},Kp=function(t,e,r){return new Promise(function(n,i){var a=function(l){try{c(r.next(l))}catch(p){i(p)}},s=function(l){try{c(r.throw(l))}catch(p){i(p)}},c=function(l){return l.done?n(l.value):Promise.resolve(l.value).then(a,s)};c((r=r.apply(t,e)).next())})};var Gp=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?er:er.apply(null,arguments)},Xg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Zp(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 qp=function(t){Tc(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,tr([void 0],r[0].concat(this)))):new(e.bind.apply(e,tr([void 0],r.concat(this))))},e}(Array),Yp=function(t){Tc(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,tr([void 0],r[0].concat(this)))):new(e.bind.apply(e,tr([void 0],r.concat(this))))},e}(Array);function oa(t){return Ne(t)?$o(t,function(){}):t}function Xp(t){return typeof t=="boolean"}function Jp(){return function(e){return Qp(e)}}function Qp(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 qp;if(r&&(Xp(r)?c.push(Qi):c.push(Qi.withExtraArgument(r.extraArgument))),0){if(i)var l;if(s)var p}return c}var ta=!0;function Ic(t){var e=Jp(),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,p=r.preloadedState,h=p===void 0?void 0:p,d=r.enhancers,y=d===void 0?void 0:d,g;if(typeof i=="function")g=i;else if(Zp(i))g=Ec(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),!ta&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!ta&&b.some(function(v){return typeof v!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=Cc.apply(void 0,b),N=er;l&&(N=Gp(lt({trace:!ta},typeof l=="object"&&l)));var R=new Yp(O),_=R;Array.isArray(y)?_=tr([O],y):typeof y=="function"&&(_=y(R));var S=N.apply(void 0,_);return Ji(g,h,S)}function ut(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 lt(lt({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 Lc(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 ed(t){return typeof t=="function"}function td(t,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?Lc(e):[e,r,n],a=i[0],s=i[1],c=i[2],l;if(ed(t))l=function(){return oa(t())};else{var p=oa(t);l=function(){return p}}function h(d,y){d===void 0&&(d=l());var g=tr([a[y.type]],s.filter(function(b){var O=b.matcher;return O(y)}).map(function(b){var O=b.reducer;return O}));return g.filter(function(b){return!!b}).length===0&&(g=[c]),g.reduce(function(b,O){if(O)if(qe(b)){var N=b,R=O(N,y);return R===void 0?b:R}else{if(Ne(b))return $o(b,function(_){return O(_,y)});var R=O(b,y);if(R===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return R}return b},d)}return h.getInitialState=l,h}function rd(t,e){return t+"/"+e}function $c(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:oa(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};i.forEach(function(h){var d=n[h],y=rd(e,h),g,b;"reducer"in d?(g=d.reducer,b=d.prepare):g=d,a[h]=g,s[y]=g,c[h]=b?ut(y,b):ut(y)});function l(){var h=typeof t.extraReducers=="function"?Lc(t.extraReducers):[t.extraReducers],d=h[0],y=d===void 0?{}:d,g=h[1],b=g===void 0?[]:g,O=h[2],N=O===void 0?void 0:O,R=lt(lt({},y),s);return td(r,function(_){for(var S in R)_.addCase(S,R[S]);for(var v=0,E=b;v<E.length;v++){var k=E[v];_.addMatcher(k.matcher,k.reducer)}N&&_.addDefaultCase(N)})}var p;return{name:e,reducer:function(h,d){return p||(p=l()),p(h,d)},actions:c,caseReducers:a,getInitialState:function(){return p||(p=l()),p.getInitialState()}}}var od="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",nd=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=od[Math.random()*64|0];return e},id=["name","message","stack","code"],ra=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),_c=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),ad=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=id;r<n.length;r++){var i=n[r];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},tb=function(){function t(e,r,n){var i=ut(e+"/fulfilled",function(h,d,y,g){return{payload:h,meta:ea(lt({},g||{}),{arg:y,requestId:d,requestStatus:"fulfilled"})}}),a=ut(e+"/pending",function(h,d,y){return{payload:void 0,meta:ea(lt({},y||{}),{arg:d,requestId:h,requestStatus:"pending"})}}),s=ut(e+"/rejected",function(h,d,y,g,b){return{payload:g,error:(n&&n.serializeError||ad)(h||"Rejected"),meta:ea(lt({},b||{}),{arg:y,requestId:d,rejectedWithValue:!!g,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),c=!1,l=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function p(h){return function(d,y,g){var b=n?.idGenerator?n.idGenerator(h):nd(),O=new l,N,R=!1;function _(v){N=v,O.abort()}var S=function(){return Kp(this,null,function(){var v,E,k,W,V,H,T;return Fp(this,function(m){switch(m.label){case 0:return m.trys.push([0,4,,5]),W=(v=n?.condition)==null?void 0:v.call(n,h,{getState:y,extra:g}),cd(W)?[4,W]:[3,2];case 1:W=m.sent(),m.label=2;case 2:if(W===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return R=!0,V=new Promise(function(x,P){return O.signal.addEventListener("abort",function(){return P({name:"AbortError",message:N||"Aborted"})})}),d(a(b,h,(E=n?.getPendingMeta)==null?void 0:E.call(n,{requestId:b,arg:h},{getState:y,extra:g}))),[4,Promise.race([V,Promise.resolve(r(h,{dispatch:d,getState:y,extra:g,requestId:b,signal:O.signal,abort:_,rejectWithValue:function(x,P){return new ra(x,P)},fulfillWithValue:function(x,P){return new _c(x,P)}})).then(function(x){if(x instanceof ra)throw x;return x instanceof _c?i(x.payload,b,h,x.meta):i(x,b,h)})])];case 3:return k=m.sent(),[3,5];case 4:return H=m.sent(),k=H instanceof ra?s(null,b,h,H.payload,H.meta):s(H,b,h),[3,5];case 5:return T=n&&!n.dispatchConditionRejection&&s.match(k)&&k.meta.condition,T||d(k),[2,k]}})})}();return Object.assign(S,{abort:_,requestId:b,arg:h,unwrap:function(){return S.then(sd)}})}}return Object.assign(p,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();function sd(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function cd(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var kc="listener",Dc="completed",Mc="cancelled",rb="task-"+Mc,ob="task-"+Dc,nb=kc+"-"+Mc,ib=kc+"-"+Dc;var na="listenerMiddleware";var ab=ut(na+"/add"),sb=ut(na+"/removeAll"),cb=ut(na+"/remove");var Pc,lb=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(Pc||(Pc=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},ld=function(t){return function(e){setTimeout(e,t)}},ub=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:ld(10);bc();window.ftReduxStores||(window.ftReduxStores={});var pt=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($t(a))return a;if(i==null)return;let s=$c({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),c=Ic({reducer:(l,p)=>p.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...l,...p.overwrites}:s.reducer(l,p)});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 Fr,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,c=n[s];return c?(...l)=>{let p=c(...l);return this.reduxStore.dispatch(p),p}: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 ud(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))$t(e)&&e.clear()}var ca={};z(ca,{scrollHelper:()=>pd});var aa,Mo=new Map,sa=class{lock(e,r){if(r){let n=Mo.get(r);if(n==null||n===e)return Mo.set(r,e),r}}release(e,r){r&&Mo.get(r)===e&&Mo.delete(r)}findFirstScrollableParent(e){let r,n=i=>{var a;i.stopPropagation();let s,c;for(let l of i.composedPath()){let p=l,h=this.elementCanScroll(p);if(h&&p.clientHeight&&p.clientHeight<p.scrollHeight){s=p;break}else h&&c==null&&(c=p)}r=(a=s??c)!==null&&a!==void 0?a:document.body};return e.addEventListener("find-scrollable-parent",n),e.dispatchEvent(new Event("find-scrollable-parent",{composed:!0})),e.removeEventListener("find-scrollable-parent",n),r}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}getAbsoluteScrollOffset(e,r){let n=0;for(;r&&r.offsetParent!==e.offsetParent;)n+=r.offsetTop,r=r.offsetParent;return n+r.offsetTop-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,e),a=i-n.clientHeight+e.clientHeight,s=i,c=_n(0,(s-n.scrollTop)/(s-a),1),l=this.computeTopOffsetRatio(r?.position,c)*(a-s)+s;n.scrollTo({behavior:r?.behavior,top:l})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(aa=window.FluidTopicsScrollHelper)!==null&&aa!==void 0?aa:new sa;var pd=window.FluidTopicsScrollHelper;var la={};z(la,{shadowQuerySelector:()=>dd,shadowQuerySelectorAll:()=>fd});function dd(t,e,...r){var n;let i=t.querySelector(e);for(let a of r)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}function fd(t,e,...r){let n=[...t.querySelectorAll(e)];for(let i of r)n=n.flatMap(a=>{var s,c;return[...(c=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(i))!==null&&c!==void 0?c:[]]});return n}var ua={};z(ua,{serializeRequest:()=>md});function hd(t){return`"${t}"`}function md(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,p=l?`_${l.from}_${l.to}`:"";s.append("period",e.periodFilter.periodType.toLowerCase()+p)}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(p=>{let h=p.values.map(d=>d.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(d=>encodeURIComponent(hd(d))).join("_");return`${p.key}~${h}`}).join("*");s.append("filters",l)}return new URL(`${t.replace(/\/+$/,"")}/search?${s.toString()}`).href}var da={};z(da,{toFtFormComponent:()=>pa});var Uo=Symbol("elementInternals");function pa(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[Uo].form}constructor(...i){super(i),this[Uo]=this.attachInternals(),this[Uo].role=e}setFormValue(i){this[Uo].setFormValue(i)}}return r}var fa={};z(fa,{DateFormatter:()=>rr});var rr=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 ha,ma,ya,ga,ba=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((ya=(ma=(ha=window.safari)===null||ha===void 0?void 0:ha.pushNotification)===null||ma===void 0?void 0:ma.toString())!==null&&ya!==void 0?ya:"")==="[object SafariRemoteNotification]",yd="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(ga=window.ftGlobals)!==null&&ga!==void 0?ga:{lit:hn,litDecorators:gn,litRepeat:xn,litClassMap:vn,litStyleMap:Sn,litUnsafeHTML:En,wcUtils:{...wn,...Cn,...Rn,...fa,...Nn,...Tn,...ai,...ui,...Oi,...ii,...Ai,...Ci,...oc,...Pn,..._i,...Ii,...ic,...Li,...ia,...Ei,...ca,...la,...ua,...da,isSafari:ba,isTouchScreen:yd,setVariable:$}};var Uc=o.extend("--ft-ripple-color","",U.colorContent),F={color:Uc,backgroundColor:o.extend("--ft-ripple-background-color","",Uc),opacityContentOnSurfacePressed:o.external(U.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(U.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(U.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(U.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},Bc=o.extend("--ft-ripple-color","",U.colorPrimary),Fc={color:Bc,backgroundColor:o.extend("--ft-ripple-background-color","",Bc)},Wc=o.extend("--ft-ripple-color","",U.colorSecondary),Hc={color:Wc,backgroundColor:o.extend("--ft-ripple-background-color","",Wc)},zc=I`
|
|
50
51
|
:host {
|
|
51
52
|
display: contents;
|
|
52
53
|
}
|
|
@@ -59,7 +60,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
59
60
|
|
|
60
61
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
61
62
|
overflow: hidden;
|
|
62
|
-
border-radius: ${
|
|
63
|
+
border-radius: ${F.borderRadius};
|
|
63
64
|
}
|
|
64
65
|
|
|
65
66
|
.ft-ripple .ft-ripple--background,
|
|
@@ -93,27 +94,27 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
93
94
|
}
|
|
94
95
|
|
|
95
96
|
.ft-ripple .ft-ripple--background {
|
|
96
|
-
background-color: ${
|
|
97
|
+
background-color: ${F.backgroundColor};
|
|
97
98
|
}
|
|
98
99
|
|
|
99
100
|
.ft-ripple .ft-ripple--effect {
|
|
100
|
-
background-color: ${
|
|
101
|
+
background-color: ${F.color};
|
|
101
102
|
}
|
|
102
103
|
|
|
103
104
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
104
|
-
background-color: ${
|
|
105
|
+
background-color: ${Hc.backgroundColor};
|
|
105
106
|
}
|
|
106
107
|
|
|
107
108
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
108
|
-
background-color: ${
|
|
109
|
+
background-color: ${Hc.color};
|
|
109
110
|
}
|
|
110
111
|
|
|
111
112
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
112
|
-
background-color: ${
|
|
113
|
+
background-color: ${Fc.backgroundColor};
|
|
113
114
|
}
|
|
114
115
|
|
|
115
116
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
116
|
-
background-color: ${
|
|
117
|
+
background-color: ${Fc.color};
|
|
117
118
|
}
|
|
118
119
|
|
|
119
120
|
.ft-ripple .ft-ripple--background {
|
|
@@ -143,23 +144,23 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
143
144
|
}
|
|
144
145
|
|
|
145
146
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
146
|
-
opacity: ${
|
|
147
|
+
opacity: ${F.opacityContentOnSurfaceHover};
|
|
147
148
|
}
|
|
148
149
|
|
|
149
150
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
150
|
-
opacity: ${
|
|
151
|
+
opacity: ${F.opacityContentOnSurfaceSelected};
|
|
151
152
|
}
|
|
152
153
|
|
|
153
154
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
154
|
-
opacity: ${
|
|
155
|
+
opacity: ${F.opacityContentOnSurfaceFocused};
|
|
155
156
|
}
|
|
156
157
|
|
|
157
158
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
158
|
-
opacity: ${
|
|
159
|
+
opacity: ${F.opacityContentOnSurfacePressed};
|
|
159
160
|
transform: translate(-50%, -50%) scale(1);
|
|
160
161
|
}
|
|
161
|
-
`;function
|
|
162
|
-
.ft-typography--${
|
|
162
|
+
`;function jc(t){let e=_r[t];return I`
|
|
163
|
+
.ft-typography--${Et(t)} {
|
|
163
164
|
font-family: ${e.fontFamily};
|
|
164
165
|
font-size: ${e.fontSize};
|
|
165
166
|
font-weight: ${e.fontWeight};
|
|
@@ -167,45 +168,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
167
168
|
line-height: ${e.lineHeight};
|
|
168
169
|
text-transform: ${e.textCase};
|
|
169
170
|
}
|
|
170
|
-
`}var
|
|
171
|
+
`}var Vc=o.extend("--ft-typography-font-family","",U.titleFont),Ye=o.extend("--ft-typography-font-family","",U.contentFont),L={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")},or={fontFamily:o.extend("--ft-typography-title-font-family","",Vc),fontSize:o.extend("--ft-typography-title-font-size","",L.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",L.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",L.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",L.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",L.textTransform,"inherit")},nr={fontFamily:o.extend("--ft-typography-title-dense-font-family","",Vc),fontSize:o.extend("--ft-typography-title-dense-font-size","",L.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",L.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",L.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",L.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",L.textTransform,"inherit")},ir={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",Ye),fontSize:o.extend("--ft-typography-subtitle1-font-size","",L.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",L.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",L.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",L.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",L.textTransform,"inherit")},ar={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",Ye),fontSize:o.extend("--ft-typography-subtitle2-font-size","",L.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",L.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",L.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",L.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",L.textTransform,"inherit")},sr={fontFamily:o.extend("--ft-typography-body1-font-family","",Ye),fontSize:o.extend("--ft-typography-body1-font-size","",L.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",L.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",L.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",L.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",L.textTransform,"inherit")},cr={fontFamily:o.extend("--ft-typography-body2-font-family","",Ye),fontSize:o.extend("--ft-typography-body2-font-size","",L.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",L.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",L.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",L.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",L.textTransform,"inherit")},lr={fontFamily:o.extend("--ft-typography-caption-font-family","",Ye),fontSize:o.extend("--ft-typography-caption-font-size","",L.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",L.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",L.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",L.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",L.textTransform,"inherit")},ur={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",Ye),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",L.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",L.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",L.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",L.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",L.textTransform,"inherit")},pr={fontFamily:o.extend("--ft-typography-overline-font-family","",Ye),fontSize:o.extend("--ft-typography-overline-font-size","",L.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",L.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",L.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",L.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",L.textTransform,"uppercase")},Be={fontFamily:o.extend("--ft-typography-button-font-family","",Ye),fontSize:o.extend("--ft-typography-button-font-size","",L.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",L.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",L.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",L.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",L.textTransform,"uppercase")},Kc=I`
|
|
171
172
|
.ft-typography--title {
|
|
172
|
-
font-family: ${Qt.fontFamily};
|
|
173
|
-
font-size: ${Qt.fontSize};
|
|
174
|
-
font-weight: ${Qt.fontWeight};
|
|
175
|
-
letter-spacing: ${Qt.letterSpacing};
|
|
176
|
-
line-height: ${Qt.lineHeight};
|
|
177
|
-
text-transform: ${Qt.textTransform};
|
|
178
|
-
}
|
|
179
|
-
`,Fc=T`
|
|
180
|
-
.ft-typography--title-dense {
|
|
181
|
-
font-family: ${er.fontFamily};
|
|
182
|
-
font-size: ${er.fontSize};
|
|
183
|
-
font-weight: ${er.fontWeight};
|
|
184
|
-
letter-spacing: ${er.letterSpacing};
|
|
185
|
-
line-height: ${er.lineHeight};
|
|
186
|
-
text-transform: ${er.textTransform};
|
|
187
|
-
}
|
|
188
|
-
`,Wc=T`
|
|
189
|
-
.ft-typography--subtitle1 {
|
|
190
|
-
font-family: ${tr.fontFamily};
|
|
191
|
-
font-size: ${tr.fontSize};
|
|
192
|
-
font-weight: ${tr.fontWeight};
|
|
193
|
-
letter-spacing: ${tr.letterSpacing};
|
|
194
|
-
line-height: ${tr.lineHeight};
|
|
195
|
-
text-transform: ${tr.textTransform};
|
|
196
|
-
}
|
|
197
|
-
`,Hc=T`
|
|
198
|
-
.ft-typography--subtitle2 {
|
|
199
|
-
font-family: ${rr.fontFamily};
|
|
200
|
-
font-size: ${rr.fontSize};
|
|
201
|
-
font-weight: ${rr.fontWeight};
|
|
202
|
-
letter-spacing: ${rr.letterSpacing};
|
|
203
|
-
line-height: ${rr.lineHeight};
|
|
204
|
-
text-transform: ${rr.textTransform};
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
`,zc=T`
|
|
208
|
-
.ft-typography--body1 {
|
|
209
173
|
font-family: ${or.fontFamily};
|
|
210
174
|
font-size: ${or.fontSize};
|
|
211
175
|
font-weight: ${or.fontWeight};
|
|
@@ -213,8 +177,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
213
177
|
line-height: ${or.lineHeight};
|
|
214
178
|
text-transform: ${or.textTransform};
|
|
215
179
|
}
|
|
216
|
-
`,
|
|
217
|
-
.ft-typography--
|
|
180
|
+
`,Gc=I`
|
|
181
|
+
.ft-typography--title-dense {
|
|
218
182
|
font-family: ${nr.fontFamily};
|
|
219
183
|
font-size: ${nr.fontSize};
|
|
220
184
|
font-weight: ${nr.fontWeight};
|
|
@@ -222,8 +186,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
222
186
|
line-height: ${nr.lineHeight};
|
|
223
187
|
text-transform: ${nr.textTransform};
|
|
224
188
|
}
|
|
225
|
-
`,
|
|
226
|
-
.ft-typography--
|
|
189
|
+
`,Zc=I`
|
|
190
|
+
.ft-typography--subtitle1 {
|
|
227
191
|
font-family: ${ir.fontFamily};
|
|
228
192
|
font-size: ${ir.fontSize};
|
|
229
193
|
font-weight: ${ir.fontWeight};
|
|
@@ -231,8 +195,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
231
195
|
line-height: ${ir.lineHeight};
|
|
232
196
|
text-transform: ${ir.textTransform};
|
|
233
197
|
}
|
|
234
|
-
`,
|
|
235
|
-
.ft-typography--
|
|
198
|
+
`,qc=I`
|
|
199
|
+
.ft-typography--subtitle2 {
|
|
236
200
|
font-family: ${ar.fontFamily};
|
|
237
201
|
font-size: ${ar.fontSize};
|
|
238
202
|
font-weight: ${ar.fontWeight};
|
|
@@ -240,8 +204,9 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
240
204
|
line-height: ${ar.lineHeight};
|
|
241
205
|
text-transform: ${ar.textTransform};
|
|
242
206
|
}
|
|
243
|
-
|
|
244
|
-
|
|
207
|
+
|
|
208
|
+
`,Yc=I`
|
|
209
|
+
.ft-typography--body1 {
|
|
245
210
|
font-family: ${sr.fontFamily};
|
|
246
211
|
font-size: ${sr.fontSize};
|
|
247
212
|
font-weight: ${sr.fontWeight};
|
|
@@ -249,20 +214,56 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
249
214
|
line-height: ${sr.lineHeight};
|
|
250
215
|
text-transform: ${sr.textTransform};
|
|
251
216
|
}
|
|
252
|
-
`,
|
|
217
|
+
`,Bo=I`
|
|
218
|
+
.ft-typography--body2 {
|
|
219
|
+
font-family: ${cr.fontFamily};
|
|
220
|
+
font-size: ${cr.fontSize};
|
|
221
|
+
font-weight: ${cr.fontWeight};
|
|
222
|
+
letter-spacing: ${cr.letterSpacing};
|
|
223
|
+
line-height: ${cr.lineHeight};
|
|
224
|
+
text-transform: ${cr.textTransform};
|
|
225
|
+
}
|
|
226
|
+
`,Xc=I`
|
|
227
|
+
.ft-typography--caption {
|
|
228
|
+
font-family: ${lr.fontFamily};
|
|
229
|
+
font-size: ${lr.fontSize};
|
|
230
|
+
font-weight: ${lr.fontWeight};
|
|
231
|
+
letter-spacing: ${lr.letterSpacing};
|
|
232
|
+
line-height: ${lr.lineHeight};
|
|
233
|
+
text-transform: ${lr.textTransform};
|
|
234
|
+
}
|
|
235
|
+
`,Jc=I`
|
|
236
|
+
.ft-typography--breadcrumb {
|
|
237
|
+
font-family: ${ur.fontFamily};
|
|
238
|
+
font-size: ${ur.fontSize};
|
|
239
|
+
font-weight: ${ur.fontWeight};
|
|
240
|
+
letter-spacing: ${ur.letterSpacing};
|
|
241
|
+
line-height: ${ur.lineHeight};
|
|
242
|
+
text-transform: ${ur.textTransform};
|
|
243
|
+
}
|
|
244
|
+
`,Qc=I`
|
|
245
|
+
.ft-typography--overline {
|
|
246
|
+
font-family: ${pr.fontFamily};
|
|
247
|
+
font-size: ${pr.fontSize};
|
|
248
|
+
font-weight: ${pr.fontWeight};
|
|
249
|
+
letter-spacing: ${pr.letterSpacing};
|
|
250
|
+
line-height: ${pr.lineHeight};
|
|
251
|
+
text-transform: ${pr.textTransform};
|
|
252
|
+
}
|
|
253
|
+
`,el=I`
|
|
253
254
|
.ft-typography--button {
|
|
254
|
-
font-family: ${
|
|
255
|
-
font-size: ${
|
|
256
|
-
font-weight: ${
|
|
257
|
-
letter-spacing: ${
|
|
258
|
-
line-height: ${
|
|
259
|
-
text-transform: ${
|
|
260
|
-
}
|
|
261
|
-
`,
|
|
255
|
+
font-family: ${Be.fontFamily};
|
|
256
|
+
font-size: ${Be.fontSize};
|
|
257
|
+
font-weight: ${Be.fontWeight};
|
|
258
|
+
letter-spacing: ${Be.letterSpacing};
|
|
259
|
+
line-height: ${Be.lineHeight};
|
|
260
|
+
text-transform: ${Be.textTransform};
|
|
261
|
+
}
|
|
262
|
+
`,tl=I`
|
|
262
263
|
.ft-typography {
|
|
263
264
|
vertical-align: inherit;
|
|
264
265
|
}
|
|
265
|
-
`,
|
|
266
|
+
`,rl=[Object.keys(_r).map(t=>jc(t))];var le={color:o.extend("--ft-loader-color","",U.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},ol=I`
|
|
266
267
|
:host {
|
|
267
268
|
line-height: 0;
|
|
268
269
|
}
|
|
@@ -271,8 +272,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
271
272
|
display: inline-block;
|
|
272
273
|
position: relative;
|
|
273
274
|
|
|
274
|
-
width: ${
|
|
275
|
-
height: ${
|
|
275
|
+
width: ${le.size};
|
|
276
|
+
height: ${le.size};
|
|
276
277
|
}
|
|
277
278
|
|
|
278
279
|
.ft-loader div {
|
|
@@ -281,7 +282,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
281
282
|
width: 25%;
|
|
282
283
|
height: 25%;
|
|
283
284
|
border-radius: 50%;
|
|
284
|
-
background: ${
|
|
285
|
+
background: ${le.color};
|
|
285
286
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
286
287
|
}
|
|
287
288
|
|
|
@@ -328,10 +329,10 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
328
329
|
transform: translate(0, 0);
|
|
329
330
|
}
|
|
330
331
|
100% {
|
|
331
|
-
transform: translate(calc(0.35 * ${
|
|
332
|
+
transform: translate(calc(0.35 * ${le.size}), 0);
|
|
332
333
|
}
|
|
333
334
|
}
|
|
334
|
-
`;var
|
|
335
|
+
`;var ue={size:o.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.extend("--ft-icon-fluid-topics-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.extend("--ft-icon-file-format-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.extend("--ft-icon-material-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.create("--ft-icon-vertical-align","","UNKNOWN","unset")},nl=I`
|
|
335
336
|
:host, i.ft-icon {
|
|
336
337
|
display: inline-flex;
|
|
337
338
|
align-items: center;
|
|
@@ -340,14 +341,14 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
340
341
|
}
|
|
341
342
|
|
|
342
343
|
:host {
|
|
343
|
-
width: ${
|
|
344
|
-
height: ${
|
|
344
|
+
width: ${ue.size};
|
|
345
|
+
height: ${ue.size};
|
|
345
346
|
}
|
|
346
347
|
|
|
347
348
|
i.ft-icon {
|
|
348
349
|
width: 100%;
|
|
349
350
|
height: 100%;
|
|
350
|
-
font-size: ${
|
|
351
|
+
font-size: ${ue.size};
|
|
351
352
|
line-height: 1;
|
|
352
353
|
font-weight: normal;
|
|
353
354
|
text-transform: none;
|
|
@@ -358,28 +359,28 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
358
359
|
text-rendering: auto;
|
|
359
360
|
-webkit-font-smoothing: antialiased;
|
|
360
361
|
-moz-osx-font-smoothing: grayscale;
|
|
361
|
-
vertical-align: ${
|
|
362
|
+
vertical-align: ${ue.verticalAlign};
|
|
362
363
|
}
|
|
363
364
|
|
|
364
365
|
i.ft-icon.ft-icon--fluid-topics {
|
|
365
|
-
font-family: ${
|
|
366
|
+
font-family: ${ue.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
366
367
|
|
|
367
368
|
/* Ugly fix because font is broken */
|
|
368
|
-
font-size: calc(0.75 * ${
|
|
369
|
-
line-height: ${
|
|
369
|
+
font-size: calc(0.75 * ${ue.size});
|
|
370
|
+
line-height: ${ue.size};
|
|
370
371
|
position: relative;
|
|
371
372
|
top: -4%;
|
|
372
373
|
justify-content: center;
|
|
373
374
|
}
|
|
374
375
|
|
|
375
376
|
.ft-icon--file-format {
|
|
376
|
-
font-family: ${
|
|
377
|
+
font-family: ${ue.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
377
378
|
}
|
|
378
379
|
|
|
379
380
|
.ft-icon--material {
|
|
380
|
-
font-family: ${
|
|
381
|
+
font-family: ${ue.materialFontFamily}, "Material Icons", sans-serif;
|
|
381
382
|
}
|
|
382
|
-
`;var
|
|
383
|
+
`;var il=o.extend("--ft-button-color","",U.colorPrimary),X={backgroundColor:o.extend("--ft-button-background-color","",U.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",U.borderRadiusL),color:il,fontSize:o.extend("--ft-button-font-size","",Be.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",il),verticalPadding:o.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.external(U.colorOpacityDisabled,"Design system")},al=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",U.colorOnPrimary)),xa={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",U.colorPrimary)),color:al,rippleColor:o.extend("--ft-button-primary-ripple-color","",al)},Fe={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",U.borderRadiusM)),verticalPadding:o.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:o.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:o.create("--ft-button-dense-icon-padding","","SIZE","4px")},sl=[I`
|
|
383
384
|
:host {
|
|
384
385
|
display: inline-block;
|
|
385
386
|
max-width: 100%;
|
|
@@ -390,7 +391,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
390
391
|
box-shadow: 0px 0px 0px transparent;
|
|
391
392
|
border: 0px solid transparent;
|
|
392
393
|
text-shadow: 0px 0px 0px transparent;
|
|
393
|
-
font-size: ${
|
|
394
|
+
font-size: ${X.fontSize};
|
|
394
395
|
}
|
|
395
396
|
|
|
396
397
|
button:hover {
|
|
@@ -419,31 +420,31 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
419
420
|
border: none;
|
|
420
421
|
pointer-events: auto;
|
|
421
422
|
|
|
422
|
-
--ft-button-internal-line-height: max(calc(${
|
|
423
|
-
--ft-button-internal-color: ${
|
|
424
|
-
${
|
|
425
|
-
${
|
|
423
|
+
--ft-button-internal-line-height: max(calc(${X.fontSize} + 2px), ${X.iconSize});
|
|
424
|
+
--ft-button-internal-color: ${X.color};
|
|
425
|
+
${$(ue.size,X.iconSize)};
|
|
426
|
+
${$(F.color,X.rippleColor)};
|
|
426
427
|
|
|
427
|
-
border-radius: ${
|
|
428
|
-
padding: ${
|
|
429
|
-
background-color: ${
|
|
428
|
+
border-radius: ${X.borderRadius};
|
|
429
|
+
padding: ${X.verticalPadding} ${X.horizontalPadding};
|
|
430
|
+
background-color: ${X.backgroundColor};
|
|
430
431
|
color: var(--ft-button-internal-color);
|
|
431
432
|
-webkit-mask-image: radial-gradient(white, black);
|
|
432
433
|
}
|
|
433
434
|
|
|
434
435
|
.ft-button.ft-button--outlined {
|
|
435
436
|
border: 1px solid var(--ft-button-internal-color);
|
|
436
|
-
padding: calc(${
|
|
437
|
+
padding: calc(${X.verticalPadding} - 1px) calc(${X.horizontalPadding} - 1px);
|
|
437
438
|
}
|
|
438
439
|
|
|
439
440
|
.ft-button.ft-button--dense {
|
|
440
|
-
padding: ${
|
|
441
|
-
border-radius: ${
|
|
442
|
-
gap: ${
|
|
441
|
+
padding: ${Fe.verticalPadding} ${Fe.horizontalPadding};
|
|
442
|
+
border-radius: ${Fe.borderRadius};
|
|
443
|
+
gap: ${Fe.iconPadding};
|
|
443
444
|
}
|
|
444
445
|
|
|
445
446
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
446
|
-
padding: calc(${
|
|
447
|
+
padding: calc(${Fe.verticalPadding} - 1px) calc(${Fe.horizontalPadding} - 1px);
|
|
447
448
|
}
|
|
448
449
|
|
|
449
450
|
.ft-button:not([disabled]):hover {
|
|
@@ -451,22 +452,22 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
451
452
|
}
|
|
452
453
|
|
|
453
454
|
.ft-button--round {
|
|
454
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
455
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${X.verticalPadding});
|
|
455
456
|
}
|
|
456
457
|
|
|
457
458
|
.ft-button--round.ft-button--dense {
|
|
458
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
459
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Fe.verticalPadding});
|
|
459
460
|
}
|
|
460
461
|
|
|
461
462
|
.ft-button[disabled] {
|
|
462
463
|
filter: grayscale(1);
|
|
463
|
-
opacity: ${
|
|
464
|
+
opacity: ${X.opacityDisabled};
|
|
464
465
|
}
|
|
465
466
|
|
|
466
467
|
.ft-button.ft-button--primary {
|
|
467
|
-
background-color: ${
|
|
468
|
-
--ft-button-internal-color: ${
|
|
469
|
-
${
|
|
468
|
+
background-color: ${xa.backgroundColor};
|
|
469
|
+
--ft-button-internal-color: ${xa.color};
|
|
470
|
+
${$(F.color,xa.rippleColor)};
|
|
470
471
|
}
|
|
471
472
|
|
|
472
473
|
.ft-button:focus {
|
|
@@ -479,13 +480,13 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
479
480
|
white-space: nowrap;
|
|
480
481
|
text-overflow: ellipsis;
|
|
481
482
|
display: block;
|
|
482
|
-
margin: 0 ${
|
|
483
|
-
${
|
|
484
|
-
${
|
|
483
|
+
margin: 0 ${X.iconPadding};
|
|
484
|
+
${$(Be.fontSize,"1em")};
|
|
485
|
+
${$(Be.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
485
486
|
}
|
|
486
487
|
|
|
487
488
|
.ft-button--dense .ft-button--label {
|
|
488
|
-
margin: 0 ${
|
|
489
|
+
margin: 0 ${Fe.iconPadding};
|
|
489
490
|
}
|
|
490
491
|
|
|
491
492
|
.ft-button--label[hidden] {
|
|
@@ -498,13 +499,13 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
498
499
|
}
|
|
499
500
|
|
|
500
501
|
.ft-button--label[hidden] + [part="icon"] {
|
|
501
|
-
margin: 0 calc(${
|
|
502
|
-
padding: 0 ${
|
|
502
|
+
margin: 0 calc(${X.horizontalPadding} * -1);
|
|
503
|
+
padding: 0 ${X.verticalPadding};
|
|
503
504
|
}
|
|
504
505
|
|
|
505
506
|
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
506
|
-
margin: 0 calc(${
|
|
507
|
-
padding: 0 ${
|
|
507
|
+
margin: 0 calc(${Fe.horizontalPadding} * -1);
|
|
508
|
+
padding: 0 ${Fe.verticalPadding};
|
|
508
509
|
}
|
|
509
510
|
|
|
510
511
|
.ft-button:not(.ft-button--trailing-icon) [part="label"]{
|
|
@@ -512,29 +513,29 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
512
513
|
}
|
|
513
514
|
|
|
514
515
|
ft-loader {
|
|
515
|
-
${
|
|
516
|
-
${
|
|
516
|
+
${$(le.size,X.iconSize)};
|
|
517
|
+
${$(le.color,"var(--ft-button-internal-color)")};
|
|
517
518
|
}
|
|
518
|
-
`,
|
|
519
|
+
`,Mr];var he=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},Y=class extends j{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new de(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new de(10),this.moveRipple=e=>{var r,n;let{x:i,y:a}=this.getCoordinates(e),s=(n=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return G`
|
|
519
520
|
<style>
|
|
520
521
|
.ft-ripple .ft-ripple--effect {
|
|
521
522
|
left: ${this.originX}px;
|
|
522
523
|
top: ${this.originY}px;
|
|
523
524
|
}
|
|
524
525
|
</style>
|
|
525
|
-
<div class="${
|
|
526
|
+
<div class="${_t(e)}">
|
|
526
527
|
<div class="ft-ripple--background"></div>
|
|
527
528
|
<div class="ft-ripple--effect"></div>
|
|
528
529
|
</div>
|
|
529
|
-
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...c)=>l=>{c.forEach(
|
|
530
|
-
<${
|
|
530
|
+
`}contentAvailableCallback(e){super.contentAvailableCallback(e),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(e){var r,n;super.update(e),e.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var e,r;let n=(e=this.shadowRoot)===null||e===void 0?void 0:e.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}setupFor(e){if(this.setupDebouncer.cancel(),this.target===e)return;this.onDisconnect&&this.onDisconnect(),this.target=e,e.setAttribute("data-is-ft-ripple-target","true");let r=(...c)=>l=>{c.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(l)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),a=c=>{["Enter"," "].includes(c.key)&&r("keyup")(c)},s={passive:!0};e.addEventListener("mouseover",this.startHover,s),e.addEventListener("mousemove",this.moveRipple,s),e.addEventListener("mouseleave",this.endHover,s),e.addEventListener("mousedown",n,s),e.addEventListener("touchstart",i,s),e.addEventListener("touchmove",this.moveRipple,s),e.addEventListener("keydown",a,s),e.addEventListener("focus",this.startFocus,s),e.addEventListener("blur",this.endFocus,s),e.addEventListener("focusin",this.startFocus,s),e.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{e.removeAttribute("data-is-ft-ripple-target"),e.removeEventListener("mouseover",this.startHover,s),e.removeEventListener("mousemove",this.moveRipple,s),e.removeEventListener("mouseleave",this.endHover,s),e.removeEventListener("mousedown",n,s),e.removeEventListener("touchstart",i,s),e.removeEventListener("touchmove",this.moveRipple,s),e.removeEventListener("keydown",a,s),e.removeEventListener("focus",this.startFocus,s),e.removeEventListener("blur",this.endFocus,s),e.removeEventListener("focusin",this.startFocus,s),e.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(e){let r=e,n=e,i,a;return r.x!=null?{x:i,y:a}=r:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(e){return e instanceof HTMLElement?e.matches(":focus-visible"):!0}isIgnored(e){if(this.disabled)return!0;if(e!=null)for(let r of e.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};Y.elementDefinitions={};Y.styles=zc;he([C({type:Boolean})],Y.prototype,"primary",void 0);he([C({type:Boolean})],Y.prototype,"secondary",void 0);he([C({type:Boolean})],Y.prototype,"unbounded",void 0);he([C({type:Boolean})],Y.prototype,"activated",void 0);he([C({type:Boolean})],Y.prototype,"selected",void 0);he([C({type:Boolean})],Y.prototype,"disabled",void 0);he([ne()],Y.prototype,"hovered",void 0);he([ne()],Y.prototype,"focused",void 0);he([ne()],Y.prototype,"pressed",void 0);he([ne()],Y.prototype,"rippling",void 0);he([ne()],Y.prototype,"originX",void 0);he([ne()],Y.prototype,"originY",void 0);he([se(".ft-ripple")],Y.prototype,"ripple",void 0);he([se(".ft-ripple--effect")],Y.prototype,"rippleEffect",void 0);re("ft-ripple")(Y);var ll=Symbol.for(""),gd=t=>{if(t?.r===ll)return t?._$litStatic$},va=t=>({_$litStatic$:t,r:ll});var cl=new Map,ul=t=>(e,...r)=>{let n=r.length,i,a,s=[],c=[],l,p=0,h=!1;for(;p<n;){for(l=e[p];p<n&&(a=r[p],(i=gd(a))!==void 0);)l+=i+e[++p],h=!0;p!==n&&c.push(a),s.push(l),p++}if(p===n&&s.push(e[n]),h){let d=s.join("$$lit$$");(e=cl.get(d))===void 0&&(s.raw=s,cl.set(d,e=s)),r=c}return t(e,...r)},Sa=ul(Xa),i0=ul(Ja);var dt;(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"})(dt||(dt={}));var pl=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},Se=class extends j{constructor(){super(...arguments),this.variant=dt.body1}render(){return this.element?Sa`
|
|
531
|
+
<${va(this.element)}
|
|
531
532
|
part="text"
|
|
532
533
|
class="ft-typography ft-typography--${this.variant}">
|
|
533
534
|
<slot></slot>
|
|
534
|
-
</${
|
|
535
|
-
`:
|
|
535
|
+
</${va(this.element)}>
|
|
536
|
+
`:Sa`
|
|
536
537
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
537
|
-
`}};
|
|
538
|
+
`}};Se.styles=[Kc,Gc,Zc,qc,Yc,Bo,Xc,Jc,Qc,el,tl,...rl];pl([C()],Se.prototype,"element",void 0);pl([C()],Se.prototype,"variant",void 0);re("ft-typography")(Se);var ft={distance:o.create("--ft-tooltip-distance","","SIZE","4px"),color:o.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:o.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:o.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:o.external(U.borderRadiusS,"Design system"),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},dl=I`
|
|
538
539
|
.ft-tooltip--container {
|
|
539
540
|
display: block;
|
|
540
541
|
}
|
|
@@ -549,21 +550,21 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
549
550
|
box-sizing: border-box;
|
|
550
551
|
overflow: hidden;
|
|
551
552
|
width: max-content;
|
|
552
|
-
max-width: ${
|
|
553
|
+
max-width: ${ft.maxWidth};
|
|
553
554
|
text-align: center;
|
|
554
|
-
padding: ${
|
|
555
|
-
z-index: ${
|
|
555
|
+
padding: ${ft.distance};
|
|
556
|
+
z-index: ${ft.zIndex};
|
|
556
557
|
}
|
|
557
558
|
|
|
558
559
|
.ft-tooltip--content {
|
|
559
560
|
padding: 4px 8px;
|
|
560
|
-
border-radius: ${
|
|
561
|
-
background-color: ${
|
|
562
|
-
color: ${
|
|
561
|
+
border-radius: ${ft.borderRadiusS};
|
|
562
|
+
background-color: ${ft.backgroundColor};
|
|
563
|
+
color: ${ft.color};
|
|
563
564
|
position: relative;
|
|
564
565
|
word-break: break-word;
|
|
565
566
|
}
|
|
566
|
-
`;var
|
|
567
|
+
`;var me=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},J=class extends j{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new de,this.revealDebouncer=new de}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return G`
|
|
567
568
|
<div part="container"
|
|
568
569
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
569
570
|
@mouseenter=${this.onHover}
|
|
@@ -581,45 +582,45 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
581
582
|
</div>
|
|
582
583
|
</div>
|
|
583
584
|
</div>
|
|
584
|
-
`}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",mi(this.slottedElement,this.tooltip,this.position).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,r){return Math.max(e,Math.min(0,-r))}};q.elementDefinitions={"ft-typography":xe};q.styles=il;fe([C()],q.prototype,"text",void 0);fe([C({type:Boolean})],q.prototype,"manual",void 0);fe([C({type:Boolean})],q.prototype,"inline",void 0);fe([C({type:Number})],q.prototype,"delay",void 0);fe([C()],q.prototype,"position",void 0);fe([pn()],q.prototype,"slotNodes",void 0);fe([ie(".ft-tooltip--container")],q.prototype,"container",void 0);fe([ie(".ft-tooltip")],q.prototype,"tooltip",void 0);fe([ie(".ft-tooltip--content")],q.prototype,"tooltipContent",void 0);fe([re()],q.prototype,"visible",void 0);fe([Bt({passive:!0})],q.prototype,"onTouch",null);fe([Bt({passive:!0})],q.prototype,"onHover",null);fe([Bt({passive:!0})],q.prototype,"onOut",null);fe([Bt({passive:!0})],q.prototype,"onClick",null);ee("ft-tooltip")(q);var ut;(function(t){t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.BOOKS="",t.MENU="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.HOME="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.EXPORT="",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.USER="",t.EXTLINK="",t.CALENDAR="",t.OFFLINE="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.STAR_PLAIN="",t.TOPICS="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN="",t.ADMIN_KHUB="",t.ADMIN_THEME="",t.ADMIN_USERS="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.INFO="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.FACET_HAS_DESCENDANT="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.THIN_ARROW="",t.SIGN_IN="",t.LOGOUT="",t.TRANSLATE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.ARTICLE="",t.COLUMNS="",t.ANALYTICS="",t.COLLECTIONS="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SEARCH_IN_PUBLICATION="",t.COPY_TO_CLIPBOARD="",t.SHARED_PBK="",t.ATTACHMENTS="",t.STRIPE_ARROW_LEFT="",t.STRIPE_ARROW_RIGHT="",t.FILTERS="",t.DOT="",t.MINUS="",t.PLUS="",t.MAILS_AND_NOTIFICATIONS="",t.SAVE="",t.LOCKER="",t.ADMIN_INTEGRATION="",t.SYNC="",t.TAG="",t.BOOK_PLAIN="",t.UPLOAD="",t.ONLINE="",t.TAG_PLAIN="",t.ACCOUNT_SETTINGS="",t.PRINT="",t.DEFAULT_ROLES="",t.SHORTCUT_MENU="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.PAUSE="",t.PLAY="",t.ADMIN_PORTAL="",t.STAR="",t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.FEEDBACK_PLAIN="",t.RATE_PLAIN="",t.RATE="",t.OFFLINE_SETTINGS="",t.MY_COLLECTIONS="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.RESET="",t.MY_LIBRARY="",t.UNSTRUCTURED_DOC="",t.CONTEXTUAL="",t.THIN_ARROW_UP="",t.ARROW_RIGHT_TO_LINE="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_STACKED="",t.CHART_BAR_GROUPED="",t.EYE_SLASH="",t.X_MARK="",t.EXPAND_WIDE="",t.PIP="",t.PIP_WIDE="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.EXTLINK_LIGHT="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CHART_BAR_NORMALIZED="",t.CONSUMER="",t.OCTAGON_XMARK="",t.HOURGLASS_HALF="",t.CLOCK="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE="",t.CIRCLE_STOP="",t.ARROW_ROTATE_RIGHT="",t.ARROWS_ROTATE="",t.ALIGN_RIGHT="",t.FORMAT_CLEAR="",t.ALIGN_CENTER="",t.ALIGN_LEFT="",t.PALETTE="",t.BOLD="",t.ITALIC="",t.UNDERLINE="",t.STRIKETHROUGH="",t.LINK_SIMPLE_SLASH="",t.LINK_SIMPLE="",t.ROUTE="",t.CIRCLE_USER_SLASH="",t.CIRCLE_USER_CHECK="",t.LIST_MAGNIFYING_GLASS="",t.MEDAL="",t.THUMBS_UP_THUMBS_DOWN_SOLID="",t.ARROW_TURN_DOWN_RIGHT="",t.FLASK="",t.LOCK_KEYHOLE_OPEN_SOLID="",t.HOURGLASS_END="",t.EYE="",t.SHARE="󨃱"})(ut||(ut={}));var A;(function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""})(A||(A={}));var ya=new Map([...["abw"].map(t=>[t,A.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,A.AUDIO]),...["avi"].map(t=>[t,A.AVI]),...["chm","xhs"].map(t=>[t,A.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,A.CODE]),...["csv"].map(t=>[t,A.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,A.DITA]),...["epub"].map(t=>[t,A.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,A.EXCEL]),...["flac"].map(t=>[t,A.FLAC]),...["gif"].map(t=>[t,A.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,A.GZIP]),...["html","htm","xhtml"].map(t=>[t,A.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,A.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,A.JPEG]),...["json"].map(t=>[t,A.JSON]),...["m4a","m4p"].map(t=>[t,A.M4A]),...["mov","qt"].map(t=>[t,A.MOV]),...["mp3"].map(t=>[t,A.MP3]),...["mp4","m4v"].map(t=>[t,A.MP4]),...["ogg","oga"].map(t=>[t,A.OGG]),...["pdf","ps"].map(t=>[t,A.PDF]),...["png"].map(t=>[t,A.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,A.POWERPOINT]),...["rar"].map(t=>[t,A.RAR]),...["stp"].map(t=>[t,A.STP]),...["txt","rtf","md","mdown"].map(t=>[t,A.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,A.VIDEO]),...["wav"].map(t=>[t,A.WAV]),...["wma"].map(t=>[t,A.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,A.WORD]),...["xml","xsl","rdf"].map(t=>[t,A.XML]),...["yaml","yml","x-yaml"].map(t=>[t,A.YAML]),...["zip"].map(t=>[t,A.ZIP])]),du=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);function al(t,e){var r,n,i,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,c]=(((r=du.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(i=(n=ya.get(c))!==null&&n!==void 0?n:ya.get(e))!==null&&i!==void 0?i:ya.get(s))!==null&&a!==void 0?a:A.UNKNOWN}var P0={[A.ABW]:"#91ABC6",[A.AUDIO]:"#1795E3",[A.AVI]:"#E63324",[A.CHM]:"#71C3EB",[A.CODE]:"#71C3EB",[A.CSV]:"#1F7345",[A.DITA]:"#71C3EB",[A.EPUB]:"#85B926",[A.EXCEL]:"#1F7345",[A.FLAC]:"#1795E3",[A.GIF]:"#59B031",[A.GZIP]:"#F8AB36",[A.HTML]:"#71C3EB",[A.IMAGE]:"#59B031",[A.JPEG]:"#59B031",[A.JSON]:"#71C3EB",[A.M4A]:"#1795E3",[A.MOV]:"#E63324",[A.MP3]:"#1795E3",[A.MP4]:"#E63324",[A.OGG]:"#1795E3",[A.PDF]:"#E44948",[A.PNG]:"#59B031",[A.POWERPOINT]:"#B54A2B",[A.RAR]:"#F8AB36",[A.STP]:"#3764B1",[A.TEXT]:"#3162AB",[A.UNKNOWN]:"#999999",[A.VIDEO]:"#E63324",[A.WAV]:"#1795E3",[A.WMA]:"#1795E3",[A.WORD]:"#3162AB",[A.XML]:"#71C3EB",[A.YAML]:"#71C3EB",[A.ZIP]:"#F8AB36"};var ve;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(ve||(ve={}));var Do=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},he=class extends z{constructor(){super(...arguments),this.resolvedIcon=V}render(){let e=this.variant&&Object.values(ve).includes(this.variant)?this.variant:ve.fluid_topics,r=e!==ve.material||!!this.value;return j`
|
|
585
|
+
`}updated(e){e.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(e)}contentAvailableCallback(e){super.contentAvailableCallback(e),["visible","text"].some(r=>e.has(r))&&this.visible&&this.positionTooltip()}async show(e){this.visible=!0,e!=null&&await this.hideDebounce.run(()=>{this.hide()},e)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var e;return((e=this.slotNodes)!==null&&e!==void 0?e:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let e=this.tooltipContent.style;switch(e.transition="none",this.validPosition){case"top":e.top=this.tooltip.clientHeight+"px",e.left="0";break;case"bottom":e.top=-this.tooltip.clientHeight+"px",e.left="0";break;case"left":e.top="0",e.left=this.tooltip.clientWidth+"px";break;case"right":e.top="0",e.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",Si(this.slottedElement,this.tooltip,this.position).then(({x:e,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${e}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",e=>{e.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(e,r){return Math.max(e,Math.min(0,-r))}};J.elementDefinitions={"ft-typography":Se};J.styles=dl;me([C()],J.prototype,"text",void 0);me([C({type:Boolean})],J.prototype,"manual",void 0);me([C({type:Boolean})],J.prototype,"inline",void 0);me([C({type:Number})],J.prototype,"delay",void 0);me([C()],J.prototype,"position",void 0);me([yn()],J.prototype,"slotNodes",void 0);me([se(".ft-tooltip--container")],J.prototype,"container",void 0);me([se(".ft-tooltip")],J.prototype,"tooltip",void 0);me([se(".ft-tooltip--content")],J.prototype,"tooltipContent",void 0);me([ne()],J.prototype,"visible",void 0);me([zt({passive:!0})],J.prototype,"onTouch",null);me([zt({passive:!0})],J.prototype,"onHover",null);me([zt({passive:!0})],J.prototype,"onOut",null);me([zt({passive:!0})],J.prototype,"onClick",null);re("ft-tooltip")(J);var ht;(function(t){t.ADD_TO_PBK="",t.ALERT="",t.ADD_ALERT="",t.BACK_TO_SEARCH="",t.ADD_BOOKMARK="",t.BOOKMARK="",t.BOOKS="",t.MENU="",t.DOWNLOAD="",t.EDIT="",t.FEEDBACK="",t.HOME="",t.MODIFY_PBK="",t.SCHEDULED="",t.SEARCH="",t.EXPORT="",t.TOC="",t.WRITE_UGC="",t.TRASH="",t.USER="",t.EXTLINK="",t.CALENDAR="",t.OFFLINE="",t.BOOK="",t.DOWNLOAD_PLAIN="",t.CHECK="",t.STAR_PLAIN="",t.TOPICS="",t.DISC="",t.CIRCLE="",t.SHARED="",t.SORT_UNSORTED="",t.SORT_UP="",t.SORT_DOWN="",t.WORKING="",t.CLOSE="",t.ZOOM_OUT="",t.ZOOM_IN="",t.ZOOM_REALSIZE="",t.ZOOM_FULLSCREEN="",t.ADMIN_RESTRICTED="",t.ADMIN="",t.ADMIN_KHUB="",t.ADMIN_THEME="",t.ADMIN_USERS="",t.WARNING="",t.CONTEXT="",t.SEARCH_HOME="",t.STEPS="",t.ICON_EXPAND="",t.ICON_COLLAPSE="",t.INFO="",t.MINUS_PLAIN="",t.PLUS_PLAIN="",t.FACET_HAS_DESCENDANT="",t.TRIANGLE_BOTTOM="",t.TRIANGLE_LEFT="",t.TRIANGLE_RIGHT="",t.TRIANGLE_TOP="",t.THIN_ARROW="",t.SIGN_IN="",t.LOGOUT="",t.TRANSLATE="",t.CLOSE_PLAIN="",t.CHECK_PLAIN="",t.ARTICLE="",t.COLUMNS="",t.ANALYTICS="",t.COLLECTIONS="",t.ARROW_DOWN="",t.ARROW_LEFT="",t.ARROW_RIGHT="",t.ARROW_UP="",t.SEARCH_IN_PUBLICATION="",t.COPY_TO_CLIPBOARD="",t.SHARED_PBK="",t.ATTACHMENTS="",t.STRIPE_ARROW_LEFT="",t.STRIPE_ARROW_RIGHT="",t.FILTERS="",t.DOT="",t.MINUS="",t.PLUS="",t.MAILS_AND_NOTIFICATIONS="",t.SAVE="",t.LOCKER="",t.ADMIN_INTEGRATION="",t.SYNC="",t.TAG="",t.BOOK_PLAIN="",t.UPLOAD="",t.ONLINE="",t.TAG_PLAIN="",t.ACCOUNT_SETTINGS="",t.PRINT="",t.DEFAULT_ROLES="",t.SHORTCUT_MENU="",t.RELATIVES_PLAIN="",t.RELATIVES="",t.PAUSE="",t.PLAY="",t.ADMIN_PORTAL="",t.STAR="",t.THUMBS_DOWN="",t.THUMBS_DOWN_PLAIN="",t.THUMBS_UP="",t.THUMBS_UP_PLAIN="",t.FEEDBACK_PLAIN="",t.RATE_PLAIN="",t.RATE="",t.OFFLINE_SETTINGS="",t.MY_COLLECTIONS="",t.THIN_ARROW_LEFT="",t.THIN_ARROW_RIGHT="",t.RESET="",t.MY_LIBRARY="",t.UNSTRUCTURED_DOC="",t.CONTEXTUAL="",t.THIN_ARROW_UP="",t.ARROW_RIGHT_TO_LINE="",t.DESKTOP="",t.TABLET_LANDSCAPE="",t.TABLET_PORTRAIT="",t.MOBILE_LANDSCAPE="",t.MOBILE_PORTRAIT="",t.DIAGRAM_SUNBURST="",t.DIAGRAM_SANKEY="",t.COMMENT_QUESTION="",t.COMMENT_QUESTION_PLAIN="",t.MESSAGE_BOT="",t.CHART_SIMPLE="",t.BARS_PROGRESS="",t.BOOK_OPEN_GEAR="",t.BOOK_OPEN_GEAR_SLASH="",t.LINE_CHART="",t.STACKED_CHART="",t.CHART_BAR_STACKED="",t.CHART_BAR_GROUPED="",t.EYE_SLASH="",t.X_MARK="",t.EXPAND_WIDE="",t.PIP="",t.PIP_WIDE="",t.LIFE_RING="",t.GLOBE="",t.PIGGY_BANK="",t.EXTLINK_LIGHT="",t.CLONE="",t.CLONE_LINK_SIMPLE="",t.CHART_BAR_NORMALIZED="",t.CONSUMER="",t.OCTAGON_XMARK="",t.HOURGLASS_HALF="",t.CLOCK="",t.CLOCK_THREE="",t.CALENDAR_DAY="",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="",t.WAND_MAGIC_SPARKLES="",t.PAPER_PLANE="",t.CIRCLE_STOP="",t.ARROW_ROTATE_RIGHT="",t.ARROWS_ROTATE="",t.ALIGN_RIGHT="",t.FORMAT_CLEAR="",t.ALIGN_CENTER="",t.ALIGN_LEFT="",t.PALETTE="",t.BOLD="",t.ITALIC="",t.UNDERLINE="",t.STRIKETHROUGH="",t.LINK_SIMPLE_SLASH="",t.LINK_SIMPLE="",t.ROUTE="",t.CIRCLE_USER_SLASH="",t.CIRCLE_USER_CHECK="",t.LIST_MAGNIFYING_GLASS="",t.MEDAL="",t.THUMBS_UP_THUMBS_DOWN_SOLID="",t.ARROW_TURN_DOWN_RIGHT="",t.FLASK="",t.LOCK_KEYHOLE_OPEN_SOLID="",t.HOURGLASS_END="",t.EYE="",t.SHARE="󨃱"})(ht||(ht={}));var A;(function(t){t.UNKNOWN="",t.ABW="",t.AUDIO="",t.AVI="",t.CHM="",t.CODE="",t.CSV="",t.DITA="",t.EPUB="",t.EXCEL="",t.FLAC="",t.GIF="",t.GZIP="",t.HTML="",t.IMAGE="",t.JPEG="",t.JSON="",t.M4A="",t.MOV="",t.MP3="",t.MP4="",t.OGG="",t.PDF="",t.PNG="",t.POWERPOINT="",t.RAR="",t.STP="",t.TEXT="",t.VIDEO="",t.WAV="",t.WMA="",t.WORD="",t.XML="",t.YAML="",t.ZIP=""})(A||(A={}));var Oa=new Map([...["abw"].map(t=>[t,A.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,A.AUDIO]),...["avi"].map(t=>[t,A.AVI]),...["chm","xhs"].map(t=>[t,A.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,A.CODE]),...["csv"].map(t=>[t,A.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,A.DITA]),...["epub"].map(t=>[t,A.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,A.EXCEL]),...["flac"].map(t=>[t,A.FLAC]),...["gif"].map(t=>[t,A.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,A.GZIP]),...["html","htm","xhtml"].map(t=>[t,A.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,A.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,A.JPEG]),...["json"].map(t=>[t,A.JSON]),...["m4a","m4p"].map(t=>[t,A.M4A]),...["mov","qt"].map(t=>[t,A.MOV]),...["mp3"].map(t=>[t,A.MP3]),...["mp4","m4v"].map(t=>[t,A.MP4]),...["ogg","oga"].map(t=>[t,A.OGG]),...["pdf","ps"].map(t=>[t,A.PDF]),...["png"].map(t=>[t,A.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,A.POWERPOINT]),...["rar"].map(t=>[t,A.RAR]),...["stp"].map(t=>[t,A.STP]),...["txt","rtf","md","mdown"].map(t=>[t,A.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,A.VIDEO]),...["wav"].map(t=>[t,A.WAV]),...["wma"].map(t=>[t,A.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,A.WORD]),...["xml","xsl","rdf"].map(t=>[t,A.XML]),...["yaml","yml","x-yaml"].map(t=>[t,A.YAML]),...["zip"].map(t=>[t,A.ZIP])]),bd=new Map([["application/msword","application/doc"],["application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/docx"],["application/vnd.openxmlformats-officedocument.wordprocessingml.template","application/dotx"],["application/vnd.ms-word.document.macroEnabled.12","application/docm"],["application/vnd.ms-word.template.macroEnabled.12","application/dotm"],["application/vnd.ms-excel","application/xls"],["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/xlsx"],["application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/xltx"],["application/vnd.ms-excel.sheet.macroEnabled.12","application/xlsm"],["application/vnd.ms-excel.template.macroEnabled.12","application/xltm"],["application/vnd.ms-excel.addin.macroEnabled.12","application/xlam"],["application/vnd.ms-excel.sheet.binary.macroEnabled.12","application/xlsb"],["application/vnd.ms-powerpoint","application/ppt"],["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/pptx"],["application/vnd.openxmlformats-officedocument.presentationml.template","application/potx"],["application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/ppsx"],["application/vnd.ms-powerpoint.addin.macroEnabled.12","application/ppam"],["application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/pptm"],["application/vnd.ms-powerpoint.template.macroEnabled.12","application/potm"],["application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/ppsm"],["application/vnd.ms-access","application/mdb"]]);function fl(t,e){var r,n,i,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,c]=(((r=bd.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(i=(n=Oa.get(c))!==null&&n!==void 0?n:Oa.get(e))!==null&&i!==void 0?i:Oa.get(s))!==null&&a!==void 0?a:A.UNKNOWN}var U0={[A.ABW]:"#91ABC6",[A.AUDIO]:"#1795E3",[A.AVI]:"#E63324",[A.CHM]:"#71C3EB",[A.CODE]:"#71C3EB",[A.CSV]:"#1F7345",[A.DITA]:"#71C3EB",[A.EPUB]:"#85B926",[A.EXCEL]:"#1F7345",[A.FLAC]:"#1795E3",[A.GIF]:"#59B031",[A.GZIP]:"#F8AB36",[A.HTML]:"#71C3EB",[A.IMAGE]:"#59B031",[A.JPEG]:"#59B031",[A.JSON]:"#71C3EB",[A.M4A]:"#1795E3",[A.MOV]:"#E63324",[A.MP3]:"#1795E3",[A.MP4]:"#E63324",[A.OGG]:"#1795E3",[A.PDF]:"#E44948",[A.PNG]:"#59B031",[A.POWERPOINT]:"#B54A2B",[A.RAR]:"#F8AB36",[A.STP]:"#3764B1",[A.TEXT]:"#3162AB",[A.UNKNOWN]:"#999999",[A.VIDEO]:"#E63324",[A.WAV]:"#1795E3",[A.WMA]:"#1795E3",[A.WORD]:"#3162AB",[A.XML]:"#71C3EB",[A.YAML]:"#71C3EB",[A.ZIP]:"#F8AB36"};var Oe;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Oe||(Oe={}));var Fo=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},ye=class extends j{constructor(){super(...arguments),this.resolvedIcon=Z}render(){let e=this.variant&&Object.values(Oe).includes(this.variant)?this.variant:Oe.fluid_topics,r=e!==Oe.material||!!this.value;return G`
|
|
585
586
|
<i class="ft-icon ft-icon--${e}" part="icon icon-${e}">
|
|
586
|
-
${
|
|
587
|
+
${On(this.resolvedIcon)}
|
|
587
588
|
<slot ?hidden=${r}></slot>
|
|
588
589
|
</i>
|
|
589
|
-
`}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let n=this.value||this.textContent;switch(this.variant){case
|
|
590
|
+
`}get textContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let n=this.value||this.textContent;switch(this.variant){case Oe.file_format:this.resolvedIcon=(e=A[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case Oe.material:this.resolvedIcon=this.value||Z;break;default:this.resolvedIcon=(r=ht[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};ye.elementDefinitions={};ye.styles=nl;Fo([C()],ye.prototype,"variant",void 0);Fo([C()],ye.prototype,"value",void 0);Fo([ne()],ye.prototype,"resolvedIcon",void 0);Fo([se("slot")],ye.prototype,"slottedContent",void 0);re("ft-icon")(ye);var Mt=class extends j{render(){return G`
|
|
590
591
|
<div class="ft-loader">
|
|
591
592
|
<div></div>
|
|
592
593
|
<div></div>
|
|
593
594
|
<div></div>
|
|
594
595
|
<div></div>
|
|
595
596
|
</div>
|
|
596
|
-
`}};
|
|
597
|
+
`}};Mt.styles=ol;re("ft-loader")(Mt);var ge=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},ee=class extends pa(j,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var e;return this.addTooltipIfNeeded(G`
|
|
597
598
|
<button part="button"
|
|
598
|
-
class="${
|
|
599
|
+
class="${_t(this.buttonClasses)}"
|
|
599
600
|
aria-label="${(e=this.ariaLabel)!==null&&e!==void 0?e:this.getLabel()}"
|
|
600
601
|
?disabled=${this.isDisabled()}>
|
|
601
602
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
602
603
|
<ft-typography part="label"
|
|
603
604
|
variant=${this.typographyVariant}
|
|
604
605
|
element="span"
|
|
605
|
-
class="ft-button--label ${
|
|
606
|
+
class="ft-button--label ${ba?"ft-safari-ellipsis-fix":""}"
|
|
606
607
|
?hidden=${!this.hasTextContent()}>
|
|
607
608
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
608
609
|
</ft-typography>
|
|
609
610
|
${this.resolveIcon()}
|
|
610
611
|
</button>
|
|
611
|
-
`)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?
|
|
612
|
+
`)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?G`
|
|
612
613
|
<ft-tooltip part="tooltip"
|
|
613
614
|
text="${this.getLabel()}"
|
|
614
615
|
position="${this.tooltipPosition}">
|
|
615
616
|
${e}
|
|
616
617
|
</ft-tooltip>
|
|
617
|
-
`:e}resolveIcon(){return this.loading?
|
|
618
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
618
|
+
`:e}resolveIcon(){return this.loading?G`
|
|
619
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?G`
|
|
619
620
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
620
|
-
`:
|
|
621
|
+
`:G`
|
|
621
622
|
<slot part="icon" name="icon"></slot>
|
|
622
|
-
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(r=>this.unslotText(r)).join(""):e?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};
|
|
623
|
+
`}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(r=>this.unslotText(r)).join(""):e?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};ee.elementDefinitions={"ft-ripple":Y,"ft-tooltip":J,"ft-typography":Se,"ft-icon":ye,"ft-loader":Mt};ge([C({type:String,reflect:!0})],ee.prototype,"role",void 0);ge([C()],ee.prototype,"type",void 0);ge([C({type:Boolean})],ee.prototype,"disabled",void 0);ge([C()],ee.prototype,"label",void 0);ge([C()],ee.prototype,"icon",void 0);ge([C()],ee.prototype,"iconVariant",void 0);ge([C({type:Boolean})],ee.prototype,"trailingIcon",void 0);ge([C({type:Boolean})],ee.prototype,"loading",void 0);ge([C({attribute:"aria-label"})],ee.prototype,"ariaLabel",void 0);ge([C()],ee.prototype,"tooltipPosition",void 0);ge([C({type:Boolean})],ee.prototype,"hideTooltip",void 0);ge([C({type:Boolean})],ee.prototype,"forceTooltip",void 0);ge([se(".ft-button")],ee.prototype,"button",void 0);ge([se(".ft-button--label slot")],ee.prototype,"slottedContent",void 0);var Wo=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},_e=class extends ee{constructor(){super(...arguments),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0}}get typographyVariant(){return"button"}};_e.styles=[Ur,sl];Wo([C({type:Boolean})],_e.prototype,"primary",void 0);Wo([C({type:Boolean})],_e.prototype,"outlined",void 0);Wo([C({type:Boolean})],_e.prototype,"dense",void 0);Wo([C({type:Boolean})],_e.prototype,"round",void 0);var hl=[I`
|
|
623
624
|
:host {
|
|
624
625
|
display: inline-block;
|
|
625
626
|
max-width: 100%;
|
|
@@ -703,13 +704,13 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
703
704
|
/** Primary styles **/
|
|
704
705
|
|
|
705
706
|
.ft-button--primary {
|
|
706
|
-
${
|
|
707
|
+
${$(le.color,w.primaryIconColor)};
|
|
707
708
|
|
|
708
|
-
${
|
|
709
|
-
${
|
|
710
|
-
${
|
|
711
|
-
${
|
|
712
|
-
${
|
|
709
|
+
${$(F.color,w.primaryStateLayerColor)};
|
|
710
|
+
${$(F.opacityContentOnSurfaceHover,w.primaryHoverStateLayerOpacity)};
|
|
711
|
+
${$(F.opacityContentOnSurfaceFocused,w.primaryFocusStateLayerOpacity)};
|
|
712
|
+
${$(F.opacityContentOnSurfaceSelected,w.primaryActiveStateLayerOpacity)};
|
|
713
|
+
${$(F.opacityContentOnSurfacePressed,w.primaryActiveStateLayerOpacity)};
|
|
713
714
|
|
|
714
715
|
background-color: ${w.primaryBackgroundColor};
|
|
715
716
|
color: ${w.primaryColor};
|
|
@@ -727,13 +728,13 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
727
728
|
/** Secondary styles **/
|
|
728
729
|
|
|
729
730
|
.ft-button--secondary {
|
|
730
|
-
${
|
|
731
|
+
${$(le.color,w.secondaryIconColor)};
|
|
731
732
|
|
|
732
|
-
${
|
|
733
|
-
${
|
|
734
|
-
${
|
|
735
|
-
${
|
|
736
|
-
${
|
|
733
|
+
${$(F.color,w.secondaryStateLayerColor)};
|
|
734
|
+
${$(F.opacityContentOnSurfaceHover,w.secondaryHoverStateLayerOpacity)};
|
|
735
|
+
${$(F.opacityContentOnSurfaceFocused,w.secondaryFocusStateLayerOpacity)};
|
|
736
|
+
${$(F.opacityContentOnSurfaceSelected,w.secondaryActiveStateLayerOpacity)};
|
|
737
|
+
${$(F.opacityContentOnSurfacePressed,w.secondaryActiveStateLayerOpacity)};
|
|
737
738
|
|
|
738
739
|
background-color: ${w.secondaryBackgroundColor};
|
|
739
740
|
color: ${w.secondaryColor};
|
|
@@ -752,13 +753,13 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
752
753
|
/** Tertiary styles **/
|
|
753
754
|
|
|
754
755
|
.ft-button--tertiary {
|
|
755
|
-
${
|
|
756
|
+
${$(le.color,w.tertiaryIconColor)};
|
|
756
757
|
|
|
757
|
-
${
|
|
758
|
-
${
|
|
759
|
-
${
|
|
760
|
-
${
|
|
761
|
-
${
|
|
758
|
+
${$(F.color,w.tertiaryStateLayerColor)};
|
|
759
|
+
${$(F.opacityContentOnSurfaceHover,w.tertiaryHoverStateLayerOpacity)};
|
|
760
|
+
${$(F.opacityContentOnSurfaceFocused,w.tertiaryFocusStateLayerOpacity)};
|
|
761
|
+
${$(F.opacityContentOnSurfaceSelected,w.tertiaryActiveStateLayerOpacity)};
|
|
762
|
+
${$(F.opacityContentOnSurfacePressed,w.tertiaryActiveStateLayerOpacity)};
|
|
762
763
|
|
|
763
764
|
background-color: ${w.tertiaryBackgroundColor};
|
|
764
765
|
color: ${w.tertiaryColor};
|
|
@@ -776,13 +777,13 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
776
777
|
/** Neutral styles **/
|
|
777
778
|
|
|
778
779
|
.ftds--family-neutral {
|
|
779
|
-
${
|
|
780
|
+
${$(le.color,w.neutralIconColor)};
|
|
780
781
|
|
|
781
|
-
${
|
|
782
|
-
${
|
|
783
|
-
${
|
|
784
|
-
${
|
|
785
|
-
${
|
|
782
|
+
${$(F.backgroundColor,w.neutralStateLayerColor)};
|
|
783
|
+
${$(F.opacityContentOnSurfaceHover,w.neutralHoverStateLayerOpacity)};
|
|
784
|
+
${$(F.opacityContentOnSurfaceFocused,w.neutralFocusStateLayerOpacity)};
|
|
785
|
+
${$(F.opacityContentOnSurfaceSelected,w.neutralActiveStateLayerOpacity)};
|
|
786
|
+
${$(F.opacityContentOnSurfacePressed,w.neutralActiveStateLayerOpacity)};
|
|
786
787
|
|
|
787
788
|
background-color: ${w.neutralBackgroundColor};
|
|
788
789
|
color: ${w.neutralColor};
|
|
@@ -800,8 +801,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
800
801
|
/** Large styles **/
|
|
801
802
|
|
|
802
803
|
.ftds--size-large {
|
|
803
|
-
${
|
|
804
|
-
${
|
|
804
|
+
${$(ue.size,w.largeIconSize)};
|
|
805
|
+
${$(le.size,w.largeIconSize)};
|
|
805
806
|
|
|
806
807
|
height: ${w.largeHeight};
|
|
807
808
|
padding: 0 ${w.largeHorizontalPadding};
|
|
@@ -822,8 +823,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
822
823
|
/** Small styles **/
|
|
823
824
|
|
|
824
825
|
.ftds--size-medium {
|
|
825
|
-
${
|
|
826
|
-
${
|
|
826
|
+
${$(ue.size,w.mediumIconSize)};
|
|
827
|
+
${$(le.size,w.mediumIconSize)};
|
|
827
828
|
|
|
828
829
|
height: ${w.mediumHeight};
|
|
829
830
|
padding: 0 ${w.mediumHorizontalPadding};
|
|
@@ -845,8 +846,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
845
846
|
/** Small styles **/
|
|
846
847
|
|
|
847
848
|
.ftds--size-small {
|
|
848
|
-
${
|
|
849
|
-
${
|
|
849
|
+
${$(ue.size,w.smallIconSize)};
|
|
850
|
+
${$(le.size,w.smallIconSize)};
|
|
850
851
|
|
|
851
852
|
height: ${w.smallHeight};
|
|
852
853
|
padding: 0 ${w.smallHorizontalPadding};
|
|
@@ -863,11 +864,11 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
863
864
|
.ftds--size-small.ft-button--icon-only {
|
|
864
865
|
width: ${w.smallIconOnlyWidth};
|
|
865
866
|
}
|
|
866
|
-
`,
|
|
867
|
+
`,Mr];var Ho=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},Xe=class extends _o(ee){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Pt.brand,this.iconVariant=Oe.fluid_topics}get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--secondary":this.secondary,"ft-button--tertiary":this.tertiary||!this.primary&&!this.secondary,"ft-button--icon-only":!this.hasTextContent(),"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-no-text-select":!0,"ft-button--no-icon":!this.icon,"ft-button--round":this.round,...this.getDesignSystemBaseClasses()}}get typographyVariant(){switch(this.size){case Ve.large:return dt.body2medium;case Ve.medium:return dt.caption1medium;case Ve.small:return dt.caption2medium}}};Xe.styles=[Ur,hl];Ho([C({type:Boolean})],Xe.prototype,"primary",void 0);Ho([C({type:Boolean})],Xe.prototype,"secondary",void 0);Ho([C({type:Boolean})],Xe.prototype,"tertiary",void 0);Ho([C({type:Boolean})],Xe.prototype,"round",void 0);re("ft-button")(_e);re("ftds-button")(Xe);var oe={height:o.create("--ft-search-input-height","","SIZE","38px"),borderRadius:o.extend("--ft-search-input-border-radius","",U.borderRadiusS),desktopFiltersHeight:o.create("--ft-search-input-desktop-filters-height","","SIZE","350px"),floatingZIndex:o.create("--ft-search-input-floating-components-z-index","","NUMBER","3"),colorSurface:o.extend("--ft-search-input-background-color","",U.colorSurface),colorOnSurface:o.extend("--ft-search-input-color","",U.colorOnSurface),colorOnSurfaceMedium:o.extend("--ft-search-input-placeholder-color","",U.colorOnSurfaceMedium),colorOutline:o.extend("--ft-search-input-outline-color","",U.colorOutline),elevation02:o.extend("--ft-search-input-elevation","",U.elevation02),focusOutlineColor:o.extend("--ft-search-input-focused-outline-color","",U.colorPrimary),buttonColor:o.extend("--ft-search-input-button-color","",U.colorPrimary),buttonRippleColor:o.extend("--ft-search-input-button-ripple-color","",U.colorPrimary)},ml=I`
|
|
867
868
|
* {
|
|
868
869
|
box-sizing: border-box;
|
|
869
|
-
${
|
|
870
|
-
${
|
|
870
|
+
${$(X.color,oe.buttonColor)};
|
|
871
|
+
${$(X.rippleColor,oe.buttonRippleColor)};
|
|
871
872
|
}
|
|
872
873
|
|
|
873
874
|
.ft-search-input {
|
|
@@ -875,11 +876,11 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
875
876
|
display: flex;
|
|
876
877
|
flex-direction: row;
|
|
877
878
|
align-items: center;
|
|
878
|
-
height: ${
|
|
879
|
+
height: ${oe.height};
|
|
879
880
|
|
|
880
|
-
background: ${
|
|
881
|
-
border: 1px solid ${
|
|
882
|
-
border-radius: ${
|
|
881
|
+
background: ${oe.colorSurface};
|
|
882
|
+
border: 1px solid ${oe.colorOutline};
|
|
883
|
+
border-radius: ${oe.borderRadius};
|
|
883
884
|
}
|
|
884
885
|
|
|
885
886
|
.ft-search-input--input-container {
|
|
@@ -894,11 +895,11 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
894
895
|
width: 100%;
|
|
895
896
|
display: grid;
|
|
896
897
|
padding: 0 8px;
|
|
897
|
-
border-radius: ${
|
|
898
|
+
border-radius: ${oe.borderRadius};
|
|
898
899
|
}
|
|
899
900
|
|
|
900
901
|
.ft-search-input--input-container:focus-within .ft-search-input--input-outline {
|
|
901
|
-
outline: 2px solid ${
|
|
902
|
+
outline: 2px solid ${oe.focusOutlineColor};
|
|
902
903
|
}
|
|
903
904
|
|
|
904
905
|
.ft-search-input--input {
|
|
@@ -906,12 +907,12 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
906
907
|
width: 100%;
|
|
907
908
|
border: none;
|
|
908
909
|
background-color: transparent;
|
|
909
|
-
color: ${
|
|
910
|
+
color: ${oe.colorOnSurface};
|
|
910
911
|
outline: none;
|
|
911
912
|
}
|
|
912
913
|
|
|
913
914
|
.ft-search-input--input::placeholder {
|
|
914
|
-
color: ${
|
|
915
|
+
color: ${oe.colorOnSurfaceMedium};
|
|
915
916
|
}
|
|
916
917
|
|
|
917
918
|
.ft-search-input--actions {
|
|
@@ -921,13 +922,13 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
921
922
|
align-items: center;
|
|
922
923
|
height: 100%;
|
|
923
924
|
|
|
924
|
-
${
|
|
925
|
+
${$(ft.zIndex,`calc(${oe.floatingZIndex} + 1)`)};
|
|
925
926
|
}
|
|
926
927
|
|
|
927
928
|
.ft-search-input > ft-button,
|
|
928
929
|
.ft-search-input--actions ft-button {
|
|
929
930
|
flex-shrink: 0;
|
|
930
|
-
${
|
|
931
|
+
${$(X.backgroundColor,"transparent")};
|
|
931
932
|
}
|
|
932
933
|
|
|
933
934
|
.ft-search-input .ft-search-input--launch-search,
|
|
@@ -945,31 +946,31 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
945
946
|
|
|
946
947
|
.ft-search-input--separator {
|
|
947
948
|
height: 20px;
|
|
948
|
-
border-right: 1px solid ${
|
|
949
|
+
border-right: 1px solid ${oe.colorOutline};
|
|
949
950
|
}
|
|
950
|
-
`;var
|
|
951
|
-
`;var
|
|
951
|
+
`;var xd=Zl(gl(),1);var bl;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(bl||(bl={}));var xl;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(xl||(xl={}));var vl;(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"})(vl||(vl={}));var Sl;(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"})(Sl||(Sl={}));var Ol;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Ol||(Ol={}));var El;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(El||(El={}));var Cl;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Cl||(Cl={}));var wl;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(wl||(wl={}));var Al;(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"})(Al||(Al={}));var Rl;(function(t){t.ASC="ASC",t.DESC="DESC"})(Rl||(Rl={}));var Nl;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Nl||(Nl={}));var Ea;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Ea||(Ea={}));var _l;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(_l||(_l={}));var Pl;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Pl||(Pl={}));var Tl;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(Tl||(Tl={}));var Il;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(Il||(Il={}));var Ca;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"})(Ca||(Ca={}));var ie;(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"})(ie||(ie={}));var Ll;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Ll||(Ll={}));var uS={[ie.PERSONAL_BOOK_SHARE_USER]:[ie.PERSONAL_BOOK_USER],[ie.HTML_EXPORT_USER]:[ie.PERSONAL_BOOK_USER],[ie.PDF_EXPORT_USER]:[ie.PERSONAL_BOOK_USER],[ie.KHUB_ADMIN]:[ie.CONTENT_PUBLISHER],[ie.ADMIN]:[ie.KHUB_ADMIN,ie.USERS_ADMIN,ie.PORTAL_ADMIN],[ie.DEVELOPER]:[ie.BETA_USER,ie.DEBUG_USER]};var $l=I`
|
|
952
|
+
`;var vd="ft-app-info",wa=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},Sd={session:(t,e)=>{Ae(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>D.eventBus.dispatchEvent(new wa(e.payload)),0))}},D=pt.get({name:vd,reducers:Sd,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 Ut=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:n}=D.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=D.subscribe(()=>{n=t.get(e),n&&(i(),r(n))})}})}};var Je=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 Le,this.cache=e?i.commonCache:new Le}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:Ut.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Ut.await()}clearCache(){this.cache.clearAll()}};var kl,Od=Symbol("clearAfterUnitTest"),Vo=class extends Je{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[kl]=()=>{this.defaultMessages={},this.cache=new Le,this.listeners={}},this.currentUiLocale=D.getState().uiLocale,D.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=D.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};Ae(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}await this.fetchContext(e)}resolveContext(e){var r,n;return this.fetchContext(e),(n=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(e,r){let n=e.toLowerCase();return this.resolveContext(n)[r]}resolveMessage(e,r,...n){var i;let a=e.toLowerCase(),s=this.resolveContext(a);return new Br((i=this.defaultMessages[a])!==null&&i!==void 0?i:{},s).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=>vo(0).then(()=>r()).catch(()=>null)))}};kl=Od;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Vo{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Vo{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var Bt=window.FluidTopicsI18nService,Dl=window.FluidTopicsCustomI18nService;var pe=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},te=class extends j{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=()=>Ut.get(),this.messageContexts=[],this.cache=new Le,this.cleanSessionDebouncer=new de}render(){return G`
|
|
952
953
|
<slot></slot>
|
|
953
|
-
`}update(e){super.update(e),e.has("baseUrl")&&(D.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&D.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&D.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&D.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&D.actions.noCustom(this.noCustom),e.has("editorMode")&&D.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&D.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&D.actions.session(this.session),e.has("availableUiLocales")&&D.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>
|
|
954
|
-
`;var
|
|
954
|
+
`}update(e){super.update(e),e.has("baseUrl")&&(D.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),e.has("apiIntegrationIdentifier")&&D.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("uiLocale")&&D.actions.uiLocale(this.uiLocale),e.has("metadataConfiguration")&&D.actions.metadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&D.actions.noCustom(this.noCustom),e.has("editorMode")&&D.actions.editorMode(this.editorMode),e.has("noCustomComponent")&&D.actions.noCustomComponent(this.noCustomComponent),e.has("session")&&D.actions.session(this.session),e.has("availableUiLocales")&&D.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>Bt.addContext(r)),e.has("openExternalDocumentInNewTab")&&D.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&D.actions.navigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&D.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())}};te.elementDefinitions={};te.styles=$l;pe([C()],te.prototype,"baseUrl",void 0);pe([C()],te.prototype,"apiIntegrationIdentifier",void 0);pe([C()],te.prototype,"uiLocale",void 0);pe([$e(null)],te.prototype,"availableUiLocales",void 0);pe([$e(null)],te.prototype,"metadataConfiguration",void 0);pe([C({type:Boolean})],te.prototype,"editorMode",void 0);pe([C({type:Boolean})],te.prototype,"noCustom",void 0);pe([C({type:Boolean})],te.prototype,"openExternalDocumentInNewTab",void 0);pe([C({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],te.prototype,"noCustomComponent",void 0);pe([C({type:Boolean})],te.prototype,"withManualResources",void 0);pe([C({type:Boolean})],te.prototype,"navigatorOnline",void 0);pe([C({type:Boolean})],te.prototype,"forcedOffline",void 0);pe([C({type:Object})],te.prototype,"apiProvider",void 0);pe([$e([])],te.prototype,"messageContexts",void 0);pe([$e(void 0)],te.prototype,"session",void 0);var Ko=class extends Je{async listMySearches(){let e=D.getState().session;return e?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),5*60*1e3):[]}};var Go=class extends Je{async listMyBookmarks(){let e=D.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),5*60*1e3):[]}};var Ed="ft-user-assets",Zo=pt.get({name:Ed,initialState:{savedSearches:void 0,bookmarks:void 0}}),Aa=class{constructor(){this.currentSession=D.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Go,this.savedSearchesService=new Ko,D.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=D.getState();Ae((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(),Zo.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Zo.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Zo.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;Zo.actions.bookmarks(r)}}},nO=new Aa;var Ra=class{addCommand(e,r=!1){D.commands.add(e,r)}consumeCommand(e){return D.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Ra;var Na=class{highlightHtml(e,r,n){Ni(e,r,n)}};window.FluidTopicsHighlightHtmlService=new Na;var _a=class{isDate(e){var r,n,i,a;return(a=(i=((n=(r=D.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 rr.format(e,(n=r?.locale)!==null&&n!==void 0?n:D.getState().uiLocale,(i=r?.longFormat)!==null&&i!==void 0?i:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new _a;re("ft-app-context")(te);var Pa=class t extends Event{constructor(){super(t.eventName)}};Pa.eventName="search-context-clear-all-filters";var Cd=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},Ia=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},Ta=Symbol("registerInterval");function wd(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[Ta]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Ta]):this.dispatchEvent(new Ia)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=Ta,Cd([ne()],r.prototype,"stateManager",void 0),r}var fr=class extends wd(Me){};var Ml=I`
|
|
955
|
+
`;var Ad=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},La=Symbol("i18nAttributes"),qo=Symbol("i18nProperties"),jr=Symbol("i18nUnsubs");function Xo(t){var e;class r extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Dl:Bt}i18n(i,a,...s){var c;if(typeof i=="string")return this.i18nService.resolveMessage(i,a,...s);let l=(c=i.args)!==null&&c!==void 0?c:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...l)}onI18nUpdate(i){var a,s;(a=this[La])===null||a===void 0||a.forEach((c,l)=>{var p;let h=this.getI18nAttributeValue(l);((p=h?.context)===null||p===void 0?void 0:p.toLowerCase())===i.toLowerCase()&&this.updateI18nAttributeMessage(l,h,c)}),(s=this[qo])===null||s===void 0||s.forEach((c,l)=>{c.context.toLowerCase()===i.toLowerCase()&&(this[l]=this.i18n(c))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(i,a,s){this[i]={...a,message:this.i18n({context:a.context,key:a.key,...s})}}update(i){var a,s;super.update(i),(a=this[La])===null||a===void 0||a.forEach((c,l)=>{let p=this.getI18nAttributeValue(l);p?.context&&p.key&&(i.has(l)||c.argsProvider!=null)&&(i.has(l)&&this.addI18nContext(p.context),this.updateI18nAttributeMessage(l,p,c))}),(s=this[qo])===null||s===void 0||s.forEach((c,l)=>{c.argsProvider!=null&&(this[l]=this.i18n(c))})}getI18nAttributeValue(i){return this[i]}connectedCallback(){var i,a,s,c;super.connectedCallback(),new Set([...(a=(i=this[qo])===null||i===void 0?void 0:i.values())!==null&&a!==void 0?a:[],...[...(c=(s=this[La])===null||s===void 0?void 0:s.keys())!==null&&c!==void 0?c:[]].map(l=>this.getI18nAttributeValue(l))].map(l=>l?.context)).forEach(l=>l&&this.addI18nMessages(l))}addI18nMessages(i,a){i=i.toLowerCase(),this[jr].has(i)||this[jr].set(i,this.i18nService.subscribe(i,()=>this.onI18nUpdate(i))),this.i18nService.prepareContext(i,a??{}),this.onI18nUpdate(i)}addI18nContext(i,a){this.addI18nMessages(typeof i=="string"?i:i.name,a)}disconnectedCallback(){super.disconnectedCallback(),this[jr].forEach(i=>i()),this[jr].clear()}}return e=jr,Ad([C({type:Boolean})],r.prototype,"useCustomMessageContexts",void 0),r}var Ul=class extends Xo(j){},Yo=class extends Xo(Me){};var Vr=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},Pe=class extends Yo{constructor(){super(),this.editorMode=!1,this.addStore(D)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Z:G`
|
|
955
956
|
<span class="ft-i18n">
|
|
956
957
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
957
958
|
</span>
|
|
958
|
-
`}update(e){var r;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};
|
|
959
|
+
`}update(e){var r;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};Pe.elementDefinitions={};Pe.styles=Ml;Vr([De()],Pe.prototype,"editorMode",void 0);Vr([C()],Pe.prototype,"context",void 0);Vr([C()],Pe.prototype,"key",void 0);Vr([$e([])],Pe.prototype,"args",void 0);Vr([C()],Pe.prototype,"defaultMessage",void 0);var Jo=class t{static build(e){return new t(e)}static fromGwt(e){return new t(e)}constructor(e){this.name=e,this.properties=new Proxy({},{get:(r,n)=>{let i=n;return a=>({context:this.name,key:i,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(r,n)=>(...i)=>Bt.resolveMessage(this.name,n,...i)}),this.rawMessages=new Proxy({},{get:(r,n)=>Bt.resolveRawMessage(this.name,n)})}};re("ft-i18n")(Pe);var Kr=Jo.build("designedSearchInput");var Bl=I`
|
|
959
960
|
* {
|
|
960
961
|
box-sizing: border-box;
|
|
961
962
|
}
|
|
962
963
|
|
|
963
964
|
.ft-search-input-suggestion {
|
|
964
965
|
position: absolute;
|
|
965
|
-
z-index: ${
|
|
966
|
+
z-index: ${oe.floatingZIndex};
|
|
966
967
|
top: calc(100% + 2px);
|
|
967
968
|
left: -1px;
|
|
968
969
|
right: -1px;
|
|
969
|
-
background: ${
|
|
970
|
-
border: 1px solid ${
|
|
971
|
-
border-radius: 0 0 ${
|
|
972
|
-
box-shadow: ${
|
|
970
|
+
background: ${oe.colorSurface};
|
|
971
|
+
border: 1px solid ${oe.colorOutline};
|
|
972
|
+
border-radius: 0 0 ${oe.borderRadius} ${oe.borderRadius};
|
|
973
|
+
box-shadow: ${oe.elevation02};
|
|
973
974
|
}
|
|
974
975
|
|
|
975
976
|
.ft-search-input-suggestion--suggestion {
|
|
@@ -980,7 +981,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
980
981
|
padding: 8px;
|
|
981
982
|
gap: 8px;
|
|
982
983
|
cursor: pointer;
|
|
983
|
-
color: ${
|
|
984
|
+
color: ${oe.colorOnSurface};
|
|
984
985
|
min-height: 44px;
|
|
985
986
|
}
|
|
986
987
|
|
|
@@ -997,11 +998,11 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
997
998
|
flex-grow: 1;
|
|
998
999
|
flex-shrink: 1;
|
|
999
1000
|
}
|
|
1000
|
-
`;var
|
|
1001
|
+
`;var Fl=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},$a=class extends CustomEvent{constructor(e){super("suggestion-selected",{detail:e})}},Ft=class extends fr{render(){return G`
|
|
1001
1002
|
<div class="ft-search-input-suggestion ft-word-wrap"
|
|
1002
1003
|
part="container"
|
|
1003
1004
|
@keydown=${e=>this.onSuggestKeyDown(e)}>
|
|
1004
|
-
${
|
|
1005
|
+
${bn(this.suggestResults||[],e=>e.value,e=>G`
|
|
1005
1006
|
<a href="#"
|
|
1006
1007
|
part="suggestion"
|
|
1007
1008
|
class="ft-search-input-suggestion--suggestion"
|
|
@@ -1013,16 +1014,16 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1013
1014
|
</a>
|
|
1014
1015
|
`)}
|
|
1015
1016
|
</div>
|
|
1016
|
-
`}onSuggestKeyDown(e){var r,n,i,a,s,c;switch(e.key){case"ArrowUp":(i=(n=(r=this.getFocusedSuggestionElement())===null||r===void 0?void 0:r.previousElementSibling)!==null&&n!==void 0?n:this.getLastSuggestionElement())===null||i===void 0||i.focus(),e.preventDefault(),e.stopPropagation();break;case"ArrowDown":(c=(s=(a=this.getFocusedSuggestionElement())===null||a===void 0?void 0:a.nextElementSibling)!==null&&s!==void 0?s:this.getFirstSuggestionElement())===null||c===void 0||c.focus(),e.preventDefault(),e.stopPropagation();break}}onSuggestKeyUp(e,r){(e.key==="Enter"||e.key===" ")&&this.onSuggestSelected(e,r)}onSuggestSelected(e,r){e.preventDefault(),this.dispatchEvent(new
|
|
1017
|
+
`}onSuggestKeyDown(e){var r,n,i,a,s,c;switch(e.key){case"ArrowUp":(i=(n=(r=this.getFocusedSuggestionElement())===null||r===void 0?void 0:r.previousElementSibling)!==null&&n!==void 0?n:this.getLastSuggestionElement())===null||i===void 0||i.focus(),e.preventDefault(),e.stopPropagation();break;case"ArrowDown":(c=(s=(a=this.getFocusedSuggestionElement())===null||a===void 0?void 0:a.nextElementSibling)!==null&&s!==void 0?s:this.getFirstSuggestionElement())===null||c===void 0||c.focus(),e.preventDefault(),e.stopPropagation();break}}onSuggestKeyUp(e,r){(e.key==="Enter"||e.key===" ")&&this.onSuggestSelected(e,r)}onSuggestSelected(e,r){e.preventDefault(),this.dispatchEvent(new $a(r))}getIcon(e){let r=e.type==="DOCUMENT"?Oe.file_format:Oe.fluid_topics,n;switch(e.type){case"MAP":n=e.editorialType==="BOOK"?ht.BOOK:ht.ARTICLE;break;case"DOCUMENT":n=fl(e.mimeType,e.filenameExtension);break;case"TOPIC":n=ht.TOPICS;break}return G`
|
|
1017
1018
|
<ft-icon .variant="${r}" .value="${n}" part="suggestion-icon"></ft-icon>
|
|
1018
|
-
`}getFocusedSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion:focus-within")}getLastSuggestionElement(){let e=this.shadowRoot.querySelectorAll(".ft-search-input-suggestion--suggestion");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion")}focusFirstSuggestion(){var e;(e=this.getFirstSuggestionElement())===null||e===void 0||e.focus()}};
|
|
1019
|
-
<div class="${
|
|
1019
|
+
`}getFocusedSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion:focus-within")}getLastSuggestionElement(){let e=this.shadowRoot.querySelectorAll(".ft-search-input-suggestion--suggestion");return e.length>0?e[e.length-1]:null}getFirstSuggestionElement(){return this.shadowRoot.querySelector(".ft-search-input-suggestion--suggestion")}focusFirstSuggestion(){var e;(e=this.getFirstSuggestionElement())===null||e===void 0||e.focus()}};Ft.elementDefinitions={"ft-ripple":Y,"ft-typography":Se,"ft-icon":ye};Ft.styles=[Pi,Bl];Fl([De()],Ft.prototype,"suggestResults",void 0);Ft=Fl([mn("ft-search-input-suggestion")],Ft);var hr=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},Ce=class extends Xo(fr){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.addI18nContext(Kr)}render(){var e,r;let n={"ft-search-input":!0,"ft-search-input--with-suggestions":(r=(e=this.suggestResults)===null||e===void 0?void 0:e.length)!==null&&r!==void 0?r:!1,"ft-search-input--with-suggestions-closed":this.forceCloseSuggestion};return G`
|
|
1020
|
+
<div class="${_t(n)}" @focusout=${()=>this.forceCloseSuggestion=!1} role="search">
|
|
1020
1021
|
<div class="ft-search-input--input-container" part="input-container" tabindex="-1">
|
|
1021
1022
|
<div class="ft-search-input--input-outline" part="input-outline">
|
|
1022
1023
|
<input class="ft-search-input--input ft-typography--body2"
|
|
1023
1024
|
part="input"
|
|
1024
1025
|
type="search"
|
|
1025
|
-
placeholder="${
|
|
1026
|
+
placeholder="${Kr.messages.placeholder()}"
|
|
1026
1027
|
.value="${this.liveQuery}"
|
|
1027
1028
|
@input=${i=>this.onInput(i)}
|
|
1028
1029
|
@keydown=${i=>this.onSearchBarKeyDown(i)}
|
|
@@ -1033,13 +1034,13 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1033
1034
|
></ft-search-input-suggestion>
|
|
1034
1035
|
</div>
|
|
1035
1036
|
<div class="ft-search-input--actions" part="actions">
|
|
1036
|
-
${this.liveQuery?
|
|
1037
|
+
${this.liveQuery?G`
|
|
1037
1038
|
<ft-button id="clear-button"
|
|
1038
1039
|
class="ft-search-input--clear-query"
|
|
1039
1040
|
part="clear-query"
|
|
1040
1041
|
icon="close"
|
|
1041
1042
|
round dense
|
|
1042
|
-
label="${
|
|
1043
|
+
label="${Kr.messages.clearButton()}"
|
|
1043
1044
|
@click=${()=>{this.liveQuery="",this.input.focus()}}
|
|
1044
1045
|
></ft-button>
|
|
1045
1046
|
<div class="ft-search-input--separator"></div>
|
|
@@ -1048,12 +1049,12 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1048
1049
|
part="launch-search-in-input"
|
|
1049
1050
|
icon="search"
|
|
1050
1051
|
round dense
|
|
1051
|
-
label="${
|
|
1052
|
+
label="${Kr.messages.searchButton()}"
|
|
1052
1053
|
@click=${()=>this.launchSearch(this.liveQuery)}
|
|
1053
1054
|
></ft-button>
|
|
1054
1055
|
</div>
|
|
1055
1056
|
</div>
|
|
1056
|
-
`}onSearchBarKeyDown(e){switch(e.key){case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestion.focusFirstSuggestion();break;case"Backspace":e.stopPropagation();break}}onSearchBarKeyUp(e){switch(e.key){case"Backspace":e.stopPropagation();break;case"Enter":this.launchSearch(this.input.value);break;default:break}}onInput(e){var r;(r=this.stateManager)===null||r===void 0||r.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}launchSearch(e){var r;(r=this.stateManager)===null||r===void 0||r.setQuery(e),this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change",{detail:e}))}onSuggestionSelected(e){this.launchSearch(e.detail)}};
|
|
1057
|
+
`}onSearchBarKeyDown(e){switch(e.key){case"ArrowDown":e.stopPropagation(),e.preventDefault(),this.suggestion.focusFirstSuggestion();break;case"Backspace":e.stopPropagation();break}}onSearchBarKeyUp(e){switch(e.key){case"Backspace":e.stopPropagation();break;case"Enter":this.launchSearch(this.input.value);break;default:break}}onInput(e){var r;(r=this.stateManager)===null||r===void 0||r.setLiveQuery(this.input.value),this.forceCloseSuggestion=!1}launchSearch(e){var r;(r=this.stateManager)===null||r===void 0||r.setQuery(e),this.forceCloseSuggestion=!0,this.dispatchEvent(new CustomEvent("change",{detail:e}))}onSuggestionSelected(e){this.launchSearch(e.detail)}};Ce.elementDefinitions={"ft-search-input-suggestion":Ft,"ft-button":_e};Ce.styles=[Bo,Ti,ml];hr([De()],Ce.prototype,"request",void 0);hr([De()],Ce.prototype,"liveQuery",void 0);hr([De()],Ce.prototype,"suggestResults",void 0);hr([ne()],Ce.prototype,"forceCloseSuggestion",void 0);hr([se(".ft-search-input--input")],Ce.prototype,"input",void 0);hr([se("ft-search-input-suggestion")],Ce.prototype,"suggestion",void 0);re("ft-search-input")(Ce);})();
|
|
1057
1058
|
/*! Bundled license information:
|
|
1058
1059
|
|
|
1059
1060
|
@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js:
|