@fluid-topics/ft-search-input 1.1.85 → 1.1.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ft-search-input.light.js +272 -247
- package/build/ft-search-input.min.js +267 -242
- package/package.json +9 -9
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
"use strict";(()=>{var Nl=Object.create;var jo=Object.defineProperty;var Al=Object.getOwnPropertyDescriptor;var Rl=Object.getOwnPropertyNames;var Il=Object.getPrototypeOf,Pl=Object.prototype.hasOwnProperty;var Ll=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),V=(t,e)=>{for(var r in e)jo(t,r,{get:e[r],enumerable:!0})},_l=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Rl(e))!Pl.call(t,i)&&i!==r&&jo(t,i,{get:()=>e[i],enumerable:!(n=Al(e,i))||n.enumerable});return t};var Tl=(t,e,r)=>(r=t!=null?Nl(Il(t)):{},_l(e||!t||!t.__esModule?jo(r,"default",{value:t,enumerable:!0}):r,t));var rl=Ll(tl=>{(function(t){var e=function(r){var n={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};function i(b){return b&&DataView.prototype.isPrototypeOf(b)}if(n.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],c=ArrayBuffer.isView||function(b){return b&&s.indexOf(Object.prototype.toString.call(b))>-1};function l(b){if(typeof b!="string"&&(b=String(b)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(b))throw new TypeError("Invalid character in header field name");return b.toLowerCase()}function d(b){return typeof b!="string"&&(b=String(b)),b}function u(b){var O={next:function(){var I=b.shift();return{done:I===void 0,value:I}}};return n.iterable&&(O[Symbol.iterator]=function(){return O}),O}function m(b){this.map={},b instanceof m?b.forEach(function(O,I){this.append(I,O)},this):Array.isArray(b)?b.forEach(function(O){this.append(O[0],O[1])},this):b&&Object.getOwnPropertyNames(b).forEach(function(O){this.append(O,b[O])},this)}m.prototype.append=function(b,O){b=l(b),O=d(O);var I=this.map[b];this.map[b]=I?I+", "+O:O},m.prototype.delete=function(b){delete this.map[l(b)]},m.prototype.get=function(b){return b=l(b),this.has(b)?this.map[b]:null},m.prototype.has=function(b){return this.map.hasOwnProperty(l(b))},m.prototype.set=function(b,O){this.map[l(b)]=d(O)},m.prototype.forEach=function(b,O){for(var I in this.map)this.map.hasOwnProperty(I)&&b.call(O,this.map[I],I,this)},m.prototype.keys=function(){var b=[];return this.forEach(function(O,I){b.push(I)}),u(b)},m.prototype.values=function(){var b=[];return this.forEach(function(O){b.push(O)}),u(b)},m.prototype.entries=function(){var b=[];return this.forEach(function(O,I){b.push([I,O])}),u(b)},n.iterable&&(m.prototype[Symbol.iterator]=m.prototype.entries);function y(b){if(b.bodyUsed)return Promise.reject(new TypeError("Already read"));b.bodyUsed=!0}function x(b){return new Promise(function(O,I){b.onload=function(){O(b.result)},b.onerror=function(){I(b.error)}})}function v(b){var O=new FileReader,I=x(O);return O.readAsArrayBuffer(b),I}function S(b){var O=new FileReader,I=x(O);return O.readAsText(b),I}function w(b){for(var O=new Uint8Array(b),I=new Array(O.length),F=0;F<O.length;F++)I[F]=String.fromCharCode(O[F]);return I.join("")}function P(b){if(b.slice)return b.slice(0);var O=new Uint8Array(b.byteLength);return O.set(new Uint8Array(b)),O.buffer}function L(){return this.bodyUsed=!1,this._initBody=function(b){this._bodyInit=b,b?typeof b=="string"?this._bodyText=b:n.blob&&Blob.prototype.isPrototypeOf(b)?this._bodyBlob=b:n.formData&&FormData.prototype.isPrototypeOf(b)?this._bodyFormData=b:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(b)?this._bodyText=b.toString():n.arrayBuffer&&n.blob&&i(b)?(this._bodyArrayBuffer=P(b.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(b)||c(b))?this._bodyArrayBuffer=P(b):this._bodyText=b=Object.prototype.toString.call(b):this._bodyText="",this.headers.get("content-type")||(typeof b=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(b)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var b=y(this);if(b)return b;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?y(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(v)}),this.text=function(){var b=y(this);if(b)return b;if(this._bodyBlob)return S(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(w(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(N)}),this.json=function(){return this.text().then(JSON.parse)},this}var T=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function E(b){var O=b.toUpperCase();return T.indexOf(O)>-1?O:b}function C(b,O){O=O||{};var I=O.body;if(b instanceof C){if(b.bodyUsed)throw new TypeError("Already read");this.url=b.url,this.credentials=b.credentials,O.headers||(this.headers=new m(b.headers)),this.method=b.method,this.mode=b.mode,this.signal=b.signal,!I&&b._bodyInit!=null&&(I=b._bodyInit,b.bodyUsed=!0)}else this.url=String(b);if(this.credentials=O.credentials||this.credentials||"same-origin",(O.headers||!this.headers)&&(this.headers=new m(O.headers)),this.method=E(O.method||this.method||"GET"),this.mode=O.mode||this.mode||null,this.signal=O.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&I)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(I)}C.prototype.clone=function(){return new C(this,{body:this._bodyInit})};function N(b){var O=new FormData;return b.trim().split("&").forEach(function(I){if(I){var F=I.split("="),Q=F.shift().replace(/\+/g," "),G=F.join("=").replace(/\+/g," ");O.append(decodeURIComponent(Q),decodeURIComponent(G))}}),O}function D(b){var O=new m,I=b.replace(/\r?\n[\t ]+/g," ");return I.split(/\r?\n/).forEach(function(F){var Q=F.split(":"),G=Q.shift().trim();if(G){var Zr=Q.join(":").trim();O.append(G,Zr)}}),O}L.call(C.prototype);function W(b,O){O||(O={}),this.type="default",this.status=O.status===void 0?200:O.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in O?O.statusText:"OK",this.headers=new m(O.headers),this.url=O.url||"",this._initBody(b)}L.call(W.prototype),W.prototype.clone=function(){return new W(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new m(this.headers),url:this.url})},W.error=function(){var b=new W(null,{status:0,statusText:""});return b.type="error",b};var se=[301,302,303,307,308];W.redirect=function(b,O){if(se.indexOf(O)===-1)throw new RangeError("Invalid status code");return new W(null,{status:O,headers:{location:b}})},r.DOMException=t.DOMException;try{new r.DOMException}catch{r.DOMException=function(O,I){this.message=O,this.name=I;var F=Error(O);this.stack=F.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function H(b,O){return new Promise(function(I,F){var Q=new C(b,O);if(Q.signal&&Q.signal.aborted)return F(new r.DOMException("Aborted","AbortError"));var G=new XMLHttpRequest;function Zr(){G.abort()}G.onload=function(){var fr={status:G.status,statusText:G.statusText,headers:D(G.getAllResponseHeaders()||"")};fr.url="responseURL"in G?G.responseURL:fr.headers.get("X-Request-URL");var Vo="response"in G?G.response:G.responseText;I(new W(Vo,fr))},G.onerror=function(){F(new TypeError("Network request failed"))},G.ontimeout=function(){F(new TypeError("Network request failed"))},G.onabort=function(){F(new r.DOMException("Aborted","AbortError"))},G.open(Q.method,Q.url,!0),Q.credentials==="include"?G.withCredentials=!0:Q.credentials==="omit"&&(G.withCredentials=!1),"responseType"in G&&n.blob&&(G.responseType="blob"),Q.headers.forEach(function(fr,Vo){G.setRequestHeader(Vo,fr)}),Q.signal&&(Q.signal.addEventListener("abort",Zr),G.onreadystatechange=function(){G.readyState===4&&Q.signal.removeEventListener("abort",Zr)}),G.send(typeof Q._bodyInit>"u"?null:Q._bodyInit)})}return H.polyfill=!0,t.fetch||(t.fetch=H,t.Headers=m,t.Request=C,t.Response=W),r.Headers=m,r.Request=C,r.Response=W,r.fetch=H,Object.defineProperty(r,"__esModule",{value:!0}),r}({})})(typeof self<"u"?self:tl)});if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,n=window.customElements,i=new WeakMap,s=new WeakMap,c=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(E,C){if(E=E.toLowerCase(),this._getDefinition(E)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${E}" has already been used with this registry`);if(this._definitionsByClass.get(C)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let N=C.prototype.attributeChangedCallback,D=new Set(C.observedAttributes||[]);x(C,D,N);let W={elementClass:C,connectedCallback:C.prototype.connectedCallback,disconnectedCallback:C.prototype.disconnectedCallback,adoptedCallback:C.prototype.adoptedCallback,attributeChangedCallback:N,formAssociated:C.formAssociated,formAssociatedCallback:C.prototype.formAssociatedCallback,formDisabledCallback:C.prototype.formDisabledCallback,formResetCallback:C.prototype.formResetCallback,formStateRestoreCallback:C.prototype.formStateRestoreCallback,observedAttributes:D};this._definitionsByTag.set(E,W),this._definitionsByClass.set(C,W);let se=r.call(n,E);se||(se=y(E),e.call(n,E,se)),this===window.customElements&&(c.set(C,W),W.standInClass=se);let H=this._awaitingUpgrade.get(E);if(H){this._awaitingUpgrade.delete(E);for(let O of H)s.delete(O),S(O,W,!0)}let b=this._whenDefinedPromises.get(E);return b!==void 0&&(b.resolve(C),this._whenDefinedPromises.delete(E)),C}upgrade(){P.push(this),n.upgrade.apply(n,arguments),P.pop()}get(E){return this._definitionsByTag.get(E)?.elementClass}_getDefinition(E){return this._definitionsByTag.get(E)}whenDefined(E){let C=this._getDefinition(E);if(C!==void 0)return Promise.resolve(C.elementClass);let N=this._whenDefinedPromises.get(E);return N===void 0&&(N={},N.promise=new Promise(D=>N.resolve=D),this._whenDefinedPromises.set(E,N)),N.promise}_upgradeWhenDefined(E,C,N){let D=this._awaitingUpgrade.get(C);D||this._awaitingUpgrade.set(C,D=new Set),N?D.add(E):D.delete(E)}};let d;window.HTMLElement=function(){let C=d;if(C)return d=void 0,C;let N=c.get(this.constructor);if(!N)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return C=Reflect.construct(t,[],N.standInClass),Object.setPrototypeOf(C,this.constructor.prototype),i.set(C,N),C},window.HTMLElement.prototype=t.prototype;let u=E=>E===document||E instanceof ShadowRoot,m=E=>{let C=E.getRootNode();if(!u(C)){let N=P[P.length-1];if(N instanceof CustomElementRegistry)return N;C=N.getRootNode(),u(C)||(C=l.get(C)?.getRootNode()||document)}return C.customElements},y=E=>class{static get formAssociated(){return!0}constructor(){let N=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(N,HTMLElement.prototype);let D=m(N)||window.customElements,W=D._getDefinition(E);return W?S(N,W):s.set(N,D),N}connectedCallback(){let N=i.get(this);N?N.connectedCallback&&N.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,E,!0)}disconnectedCallback(){let N=i.get(this);N?N.disconnectedCallback&&N.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,E,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let N=i.get(this);N&&N.formAssociated&&N?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let N=i.get(this);N?.formAssociated&&N?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let N=i.get(this);N?.formAssociated&&N?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let N=i.get(this);N?.formAssociated&&N?.formStateRestoreCallback?.apply(this,arguments)}},x=(E,C,N)=>{if(C.size===0||N===void 0)return;let D=E.prototype.setAttribute;D&&(E.prototype.setAttribute=function(H,b){let O=H.toLowerCase();if(C.has(O)){let I=this.getAttribute(O);D.call(this,O,b),N.call(this,O,I,b)}else D.call(this,O,b)});let W=E.prototype.removeAttribute;W&&(E.prototype.removeAttribute=function(H){let b=H.toLowerCase();if(C.has(b)){let O=this.getAttribute(b);W.call(this,b),N.call(this,b,O,null)}else W.call(this,b)});let se=E.prototype.toggleAttribute;se&&(E.prototype.toggleAttribute=function(H,b){let O=H.toLowerCase();if(C.has(O)){let I=this.getAttribute(O);se.call(this,O,b);let F=this.getAttribute(O);N.call(this,O,I,F)}else se.call(this,O,b)})},v=E=>{let C=Object.getPrototypeOf(E);if(C!==window.HTMLElement)return C===t?Object.setPrototypeOf(E,window.HTMLElement):v(C)},S=(E,C,N=!1)=>{Object.setPrototypeOf(E,C.elementClass.prototype),i.set(E,C),d=E;try{new C.elementClass}catch{v(C.elementClass),new C.elementClass}C.attributeChangedCallback&&C.observedAttributes.forEach(D=>{E.hasAttribute(D)&&C.attributeChangedCallback.call(E,D,null,E.getAttribute(D))}),N&&C.connectedCallback&&E.isConnected&&C.connectedCallback.call(E)},w=Element.prototype.attachShadow;Element.prototype.attachShadow=function(E){let C=w.apply(this,arguments);return E.customElements&&(C.customElements=E.customElements),C};let P=[document],L=(E,C,N=void 0)=>{let D=(N?Object.getPrototypeOf(N):E.prototype)[C];E.prototype[C]=function(){P.push(this);let W=D.apply(N||this,arguments);return W!==void 0&&l.set(W,this),P.pop(),W}};L(ShadowRoot,"createElement",document),L(ShadowRoot,"importNode",document),L(Element,"insertAdjacentHTML");let T=(E,C)=>{let N=Object.getOwnPropertyDescriptor(E.prototype,C);Object.defineProperty(E.prototype,C,{...N,set(D){P.push(this),N.set.call(this,D),P.pop()}})};if(T(Element,"innerHTML"),T(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let E=new WeakMap,C=HTMLElement.prototype.attachInternals,N=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...H){let b=C.call(this,...H);return E.set(b,this),b},N.forEach(H=>{let b=window.ElementInternals.prototype,O=b[H];b[H]=function(...I){let F=E.get(this);if(i.get(F).formAssociated===!0)return O?.call(this,...I);throw new DOMException(`Failed to execute ${O} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class D extends Array{constructor(b){super(...b),this._elements=b}get value(){return this._elements.find(b=>b.checked===!0)?.value||""}}class W{constructor(b){let O=new Map;b.forEach((I,F)=>{let Q=I.getAttribute("name"),G=O.get(Q)||[];this[+F]=I,G.push(I),O.set(Q,G)}),this.length=b.length,O.forEach((I,F)=>{I&&(I.length===1?this[F]=I[0]:this[F]=new D(I))})}namedItem(b){return this[b]}}let se=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let H=se.get.call(this,[]),b=[];for(let O of H){let I=i.get(O);(!I||I.formAssociated===!0)&&b.push(O)}return new W(b)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,n,i)=>{if(n!==null)try{e.bind(window.customElements)(r,n,i)}catch(s){console.info(r,n,i,s)}}}var cn={};V(cn,{CSSResult:()=>Bt,LitElement:()=>Ze,ReactiveElement:()=>_e,_$LE:()=>od,_$LH:()=>ed,adoptStyles:()=>so,css:()=>k,defaultConverter:()=>co,getCompatibleStyle:()=>vr,html:()=>K,isServer:()=>Tf,noChange:()=>et,notEqual:()=>tn,nothing:()=>j,render:()=>sn,supportsAdoptingStyleSheets:()=>xr,svg:()=>Ql,unsafeCSS:()=>Ge});var Vr=globalThis,qr=Vr.ShadowRoot&&(Vr.ShadyCSS===void 0||Vr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Oi=Symbol(),Si=new WeakMap,jr=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Oi)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(qr&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Si.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Si.set(r,e))}return e}toString(){return this.cssText}},Ci=t=>new jr(typeof t=="string"?t:t+"",void 0,Oi);var qo=(t,e)=>{if(qr)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=Vr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},Yr=qr?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Ci(r)})(t):t;var{is:kl,defineProperty:Ul,getOwnPropertyDescriptor:$l,getOwnPropertyNames:Dl,getOwnPropertySymbols:Wl,getPrototypeOf:Bl}=Object,Xr=globalThis,Ei=Xr.trustedTypes,Ml=Ei?Ei.emptyScript:"",Fl=Xr.reactiveElementPolyfillSupport,ur=(t,e)=>t,hr={toAttribute(t,e){switch(e){case Boolean:t=t?Ml: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}},Jr=(t,e)=>!kl(t,e),wi={attribute:!0,type:String,converter:hr,reflect:!1,hasChanged:Jr};Symbol.metadata??=Symbol("metadata"),Xr.litPropertyMetadata??=new WeakMap;var mt=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=wi){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&&Ul(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:s}=$l(this.prototype,e)??{get(){return this[r]},set(c){this[r]=c}};return{get(){return i?.call(this)},set(c){let l=i?.call(this);s.call(this,c),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??wi}static _$Ei(){if(this.hasOwnProperty(ur("elementProperties")))return;let e=Bl(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(ur("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(ur("properties"))){let r=this.properties,n=[...Dl(r),...Wl(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(Yr(i))}else e!==void 0&&r.push(Yr(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 s=(n.converter?.toAttribute!==void 0?n.converter:hr).toAttribute(r,n.type);this._$Em=e,s==null?this.removeAttribute(i):this.setAttribute(i,s),this._$Em=null}}_$AK(e,r){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let s=n.getPropertyOptions(i),c=typeof s.converter=="function"?{fromAttribute:s.converter}:s.converter?.fromAttribute!==void 0?s.converter:hr;this._$Em=i,this[i]=c.fromAttribute(r,s.type),this._$Em=null}}requestUpdate(e,r,n,i=!1,s){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Jr)(i?s:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,s]of this._$Ep)this[i]=s;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,s]of n)s.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],s)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};mt.elementStyles=[],mt.shadowRootOptions={mode:"open"},mt[ur("elementProperties")]=new Map,mt[ur("finalized")]=new Map,Fl?.({ReactiveElement:mt}),(Xr.reactiveElementVersions??=[]).push("2.0.2");var Xo=globalThis,Qr=Xo.trustedTypes,Ni=Qr?Qr.createPolicy("lit-html",{createHTML:t=>t}):void 0,Jo="$lit$",He=`lit$${(Math.random()+"").slice(9)}$`,Qo="?"+He,zl=`<${Qo}>`,xt=document,eo=()=>xt.createComment(""),mr=t=>t===null||typeof t!="object"&&typeof t!="function",_i=Array.isArray,Ti=t=>_i(t)||typeof t?.[Symbol.iterator]=="function",Yo=`[
|
|
2
|
-
\f\r]`,
|
|
3
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Ii=/'/g,Pi=/"/g,ki=/^(?:script|style|textarea|title)$/i,Ui=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),$i=Ui(1),Di=Ui(2),be=Symbol.for("lit-noChange"),ee=Symbol.for("lit-nothing"),Li=new WeakMap,bt=xt.createTreeWalker(xt,129);function Wi(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ni!==void 0?Ni.createHTML(e):e}var Bi=(t,e)=>{let r=t.length-1,n=[],i,s=e===2?"<svg>":"",c=gr;for(let l=0;l<r;l++){let d=t[l],u,m,y=-1,x=0;for(;x<d.length&&(c.lastIndex=x,m=c.exec(d),m!==null);)x=c.lastIndex,c===gr?m[1]==="!--"?c=Ai:m[1]!==void 0?c=Ri:m[2]!==void 0?(ki.test(m[2])&&(i=RegExp("</"+m[2],"g")),c=yt):m[3]!==void 0&&(c=yt):c===yt?m[0]===">"?(c=i??gr,y=-1):m[1]===void 0?y=-2:(y=c.lastIndex-m[2].length,u=m[1],c=m[3]===void 0?yt:m[3]==='"'?Pi:Ii):c===Pi||c===Ii?c=yt:c===Ai||c===Ri?c=gr:(c=yt,i=void 0);let v=c===yt&&t[l+1].startsWith("/>")?" ":"";s+=c===gr?d+zl:y>=0?(n.push(u),d.slice(0,y)+Jo+d.slice(y)+He+v):d+He+(y===-2?l:v)}return[Wi(t,s+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},yr=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let s=0,c=0,l=e.length-1,d=this.parts,[u,m]=Bi(e,r);if(this.el=t.createElement(u,n),bt.currentNode=this.el.content,r===2){let y=this.el.content.firstChild;y.replaceWith(...y.childNodes)}for(;(i=bt.nextNode())!==null&&d.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let y of i.getAttributeNames())if(y.endsWith(Jo)){let x=m[c++],v=i.getAttribute(y).split(He),S=/([.?@])?(.*)/.exec(x);d.push({type:1,index:s,name:S[2],strings:v,ctor:S[1]==="."?ro:S[1]==="?"?oo:S[1]==="@"?no:St}),i.removeAttribute(y)}else y.startsWith(He)&&(d.push({type:6,index:s}),i.removeAttribute(y));if(ki.test(i.tagName)){let y=i.textContent.split(He),x=y.length-1;if(x>0){i.textContent=Qr?Qr.emptyScript:"";for(let v=0;v<x;v++)i.append(y[v],eo()),bt.nextNode(),d.push({type:2,index:++s});i.append(y[x],eo())}}}else if(i.nodeType===8)if(i.data===Qo)d.push({type:2,index:s});else{let y=-1;for(;(y=i.data.indexOf(He,y+1))!==-1;)d.push({type:7,index:s}),y+=He.length-1}s++}}static createElement(e,r){let n=xt.createElement("template");return n.innerHTML=e,n}};function vt(t,e,r=t,n){if(e===be)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,s=mr(e)?void 0:e._$litDirective$;return i?.constructor!==s&&(i?._$AO?.(!1),s===void 0?i=void 0:(i=new s(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=vt(t,i._$AS(t,e.values),i,n)),e}var to=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??xt).importNode(r,!0);bt.currentNode=i;let s=bt.nextNode(),c=0,l=0,d=n[0];for(;d!==void 0;){if(c===d.index){let u;d.type===2?u=new br(s,s.nextSibling,this,e):d.type===1?u=new d.ctor(s,d.name,d.strings,this,e):d.type===6&&(u=new ao(s,this,e)),this._$AV.push(u),d=n[++l]}c!==d?.index&&(s=bt.nextNode(),c++)}return bt.currentNode=xt,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++}},br=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=ee,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=vt(this,e,r),mr(e)?e===ee||e==null||e===""?(this._$AH!==ee&&this._$AR(),this._$AH=ee):e!==this._$AH&&e!==be&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Ti(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!==ee&&mr(this._$AH)?this._$AA.nextSibling.data=e:this.$(xt.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=yr.createElement(Wi(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let s=new to(i,this),c=s.u(this.options);s.p(r),this.$(c),this._$AH=s}}_$AC(e){let r=Li.get(e.strings);return r===void 0&&Li.set(e.strings,r=new yr(e)),r}T(e){_i(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let s of e)i===r.length?r.push(n=new t(this.k(eo()),this.k(eo()),this,this.options)):n=r[i],n._$AI(s),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},St=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,s){this.type=1,this._$AH=ee,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=s,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=ee}_$AI(e,r=this,n,i){let s=this.strings,c=!1;if(s===void 0)e=vt(this,e,r,0),c=!mr(e)||e!==this._$AH&&e!==be,c&&(this._$AH=e);else{let l=e,d,u;for(e=s[0],d=0;d<s.length-1;d++)u=vt(this,l[n+d],r,d),u===be&&(u=this._$AH[d]),c||=!mr(u)||u!==this._$AH[d],u===ee?e=ee:e!==ee&&(e+=(u??"")+s[d+1]),this._$AH[d]=u}c&&!i&&this.O(e)}O(e){e===ee?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},ro=class extends St{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===ee?void 0:e}},oo=class extends St{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==ee)}},no=class extends St{constructor(e,r,n,i,s){super(e,r,n,i,s),this.type=5}_$AI(e,r=this){if((e=vt(this,e,r,0)??ee)===be)return;let n=this._$AH,i=e===ee&&n!==ee||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,s=e!==ee&&(n===ee||i);i&&this.element.removeEventListener(this.name,this,n),s&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},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){vt(this,e)}},Mi={j:Jo,P:He,A:Qo,C:1,M:Bi,L:to,R:Ti,V:vt,D:br,I:St,H:oo,N:no,U:ro,B:ao},Hl=Xo.litHtmlPolyfillSupport;Hl?.(yr,br),(Xo.litHtmlVersions??=[]).push("3.1.0");var io=globalThis,xr=io.ShadowRoot&&(io.ShadyCSS===void 0||io.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,en=Symbol(),Fi=new WeakMap,Bt=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(xr&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Fi.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Fi.set(r,e))}return e}toString(){return this.cssText}},Ge=t=>new Bt(typeof t=="string"?t:t+"",void 0,en),k=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((n,i,s)=>n+(c=>{if(c._$cssResult$===!0)return c.cssText;if(typeof c=="number")return c;throw Error("Value passed to 'css' function must be a 'css' function result: "+c+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[s+1],t[0]);return new Bt(r,t,en)},so=(t,e)=>{if(xr)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=io.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},vr=xr?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Ge(r)})(t):t;var{is:Gl,defineProperty:Kl,getOwnPropertyDescriptor:Zl,getOwnPropertyNames:Vl,getOwnPropertySymbols:jl,getPrototypeOf:ql}=Object,lo=globalThis,zi=lo.trustedTypes,Yl=zi?zi.emptyScript:"",Xl=lo.reactiveElementPolyfillSupport,Sr=(t,e)=>t,co={toAttribute(t,e){switch(e){case Boolean:t=t?Yl: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)=>!Gl(t,e),Hi={attribute:!0,type:String,converter:co,reflect:!1,hasChanged:tn};Symbol.metadata??=Symbol("metadata"),lo.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=Hi){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&&Kl(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:s}=Zl(this.prototype,e)??{get(){return this[r]},set(c){this[r]=c}};return{get(){return i?.call(this)},set(c){let l=i?.call(this);s.call(this,c),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Hi}static _$Ei(){if(this.hasOwnProperty(Sr("elementProperties")))return;let e=ql(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Sr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Sr("properties"))){let r=this.properties,n=[...Vl(r),...jl(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(vr(i))}else e!==void 0&&r.push(vr(e));return r}static _$Eu(e,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return so(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$EO(e,r){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let s=(n.converter?.toAttribute!==void 0?n.converter:co).toAttribute(r,n.type);this._$Em=e,s==null?this.removeAttribute(i):this.setAttribute(i,s),this._$Em=null}}_$AK(e,r){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let s=n.getPropertyOptions(i),c=typeof s.converter=="function"?{fromAttribute:s.converter}:s.converter?.fromAttribute!==void 0?s.converter:co;this._$Em=i,this[i]=c.fromAttribute(r,s.type),this._$Em=null}}requestUpdate(e,r,n,i=!1,s){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??tn)(i?s:this[e],r))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,s]of this._$Ep)this[i]=s;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,s]of n)s.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],s)}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(e){}firstUpdated(e){}};_e.elementStyles=[],_e.shadowRootOptions={mode:"open"},_e[Sr("elementProperties")]=new Map,_e[Sr("finalized")]=new Map,Xl?.({ReactiveElement:_e}),(lo.reactiveElementVersions??=[]).push("2.0.2");var on=globalThis,po=on.trustedTypes,Gi=po?po.createPolicy("lit-html",{createHTML:t=>t}):void 0,nn="$lit$",Ke=`lit$${(Math.random()+"").slice(9)}$`,an="?"+Ke,Jl=`<${an}>`,Et=document,Cr=()=>Et.createComment(""),Er=t=>t===null||typeof t!="object"&&typeof t!="function",Yi=Array.isArray,Xi=t=>Yi(t)||typeof t?.[Symbol.iterator]=="function",rn=`[
|
|
4
|
-
\f\r]`,
|
|
5
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Vi=/'/g,ji=/"/g,Ji=/^(?:script|style|textarea|title)$/i,Qi=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),K=Qi(1),Ql=Qi(2),et=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),qi=new WeakMap,Ct=Et.createTreeWalker(Et,129);function es(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Gi!==void 0?Gi.createHTML(e):e}var ts=(t,e)=>{let r=t.length-1,n=[],i,s=e===2?"<svg>":"",c=Or;for(let l=0;l<r;l++){let d=t[l],u,m,y=-1,x=0;for(;x<d.length&&(c.lastIndex=x,m=c.exec(d),m!==null);)x=c.lastIndex,c===Or?m[1]==="!--"?c=Ki:m[1]!==void 0?c=Zi:m[2]!==void 0?(Ji.test(m[2])&&(i=RegExp("</"+m[2],"g")),c=Ot):m[3]!==void 0&&(c=Ot):c===Ot?m[0]===">"?(c=i??Or,y=-1):m[1]===void 0?y=-2:(y=c.lastIndex-m[2].length,u=m[1],c=m[3]===void 0?Ot:m[3]==='"'?ji:Vi):c===ji||c===Vi?c=Ot:c===Ki||c===Zi?c=Or:(c=Ot,i=void 0);let v=c===Ot&&t[l+1].startsWith("/>")?" ":"";s+=c===Or?d+Jl:y>=0?(n.push(u),d.slice(0,y)+nn+d.slice(y)+Ke+v):d+Ke+(y===-2?l:v)}return[es(t,s+(t[r]||"<?>")+(e===2?"</svg>":"")),n]},wr=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let s=0,c=0,l=e.length-1,d=this.parts,[u,m]=ts(e,r);if(this.el=t.createElement(u,n),Ct.currentNode=this.el.content,r===2){let y=this.el.content.firstChild;y.replaceWith(...y.childNodes)}for(;(i=Ct.nextNode())!==null&&d.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let y of i.getAttributeNames())if(y.endsWith(nn)){let x=m[c++],v=i.getAttribute(y).split(Ke),S=/([.?@])?(.*)/.exec(x);d.push({type:1,index:s,name:S[2],strings:v,ctor:S[1]==="."?uo:S[1]==="?"?ho:S[1]==="@"?go:Nt}),i.removeAttribute(y)}else y.startsWith(Ke)&&(d.push({type:6,index:s}),i.removeAttribute(y));if(Ji.test(i.tagName)){let y=i.textContent.split(Ke),x=y.length-1;if(x>0){i.textContent=po?po.emptyScript:"";for(let v=0;v<x;v++)i.append(y[v],Cr()),Ct.nextNode(),d.push({type:2,index:++s});i.append(y[x],Cr())}}}else if(i.nodeType===8)if(i.data===an)d.push({type:2,index:s});else{let y=-1;for(;(y=i.data.indexOf(Ke,y+1))!==-1;)d.push({type:7,index:s}),y+=Ke.length-1}s++}}static createElement(e,r){let n=Et.createElement("template");return n.innerHTML=e,n}};function wt(t,e,r=t,n){if(e===et)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,s=Er(e)?void 0:e._$litDirective$;return i?.constructor!==s&&(i?._$AO?.(!1),s===void 0?i=void 0:(i=new s(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=wt(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??Et).importNode(r,!0);Ct.currentNode=i;let s=Ct.nextNode(),c=0,l=0,d=n[0];for(;d!==void 0;){if(c===d.index){let u;d.type===2?u=new Mt(s,s.nextSibling,this,e):d.type===1?u=new d.ctor(s,d.name,d.strings,this,e):d.type===6&&(u=new mo(s,this,e)),this._$AV.push(u),d=n[++l]}c!==d?.index&&(s=Ct.nextNode(),c++)}return Ct.currentNode=Et,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++}},Mt=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=j,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=wt(this,e,r),Er(e)?e===j||e==null||e===""?(this._$AH!==j&&this._$AR(),this._$AH=j):e!==this._$AH&&e!==et&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Xi(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!==j&&Er(this._$AH)?this._$AA.nextSibling.data=e:this.$(Et.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=wr.createElement(es(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let s=new fo(i,this),c=s.u(this.options);s.p(r),this.$(c),this._$AH=s}}_$AC(e){let r=qi.get(e.strings);return r===void 0&&qi.set(e.strings,r=new wr(e)),r}T(e){Yi(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let s of e)i===r.length?r.push(n=new t(this.k(Cr()),this.k(Cr()),this,this.options)):n=r[i],n._$AI(s),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Nt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,s){this.type=1,this._$AH=j,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=s,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=j}_$AI(e,r=this,n,i){let s=this.strings,c=!1;if(s===void 0)e=wt(this,e,r,0),c=!Er(e)||e!==this._$AH&&e!==et,c&&(this._$AH=e);else{let l=e,d,u;for(e=s[0],d=0;d<s.length-1;d++)u=wt(this,l[n+d],r,d),u===et&&(u=this._$AH[d]),c||=!Er(u)||u!==this._$AH[d],u===j?e=j:e!==j&&(e+=(u??"")+s[d+1]),this._$AH[d]=u}c&&!i&&this.O(e)}O(e){e===j?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},uo=class extends Nt{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===j?void 0:e}},ho=class extends Nt{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==j)}},go=class extends Nt{constructor(e,r,n,i,s){super(e,r,n,i,s),this.type=5}_$AI(e,r=this){if((e=wt(this,e,r,0)??j)===et)return;let n=this._$AH,i=e===j&&n!==j||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,s=e!==j&&(n===j||i);i&&this.element.removeEventListener(this.name,this,n),s&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},mo=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){wt(this,e)}},ed={j:nn,P:Ke,A:an,C:1,M:ts,L:fo,R:Xi,V:wt,D:Mt,I:Nt,H:ho,N:go,U:uo,B:mo},td=on.litHtmlPolyfillSupport;td?.(wr,Mt),(on.litHtmlVersions??=[]).push("3.1.0");var sn=(t,e,r)=>{let n=r?.renderBefore??e,i=n._$litPart$;if(i===void 0){let s=r?.renderBefore??null;n._$litPart$=i=new Mt(e.insertBefore(Cr(),s),s,void 0,r??{})}return i._$AI(t),i};var Ze=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 et}};Ze._$litElement$=!0,Ze.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Ze});var rd=globalThis.litElementPolyfillSupport;rd?.({LitElement:Ze});var od={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Tf=!1;var pn={};V(pn,{customElement:()=>ln,eventOptions:()=>Ft,property:()=>R,query:()=>ce,queryAll:()=>id,queryAssignedElements:()=>cd,queryAssignedNodes:()=>dn,queryAsync:()=>sd,standardProperty:()=>rs,state:()=>ae});var ln=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var nd={attribute:!0,type:String,converter:hr,reflect:!1,hasChanged:Jr},rs=(t=nd,e,r)=>{let{kind:n,metadata:i}=r,s=globalThis.litPropertyMetadata.get(i);if(s===void 0&&globalThis.litPropertyMetadata.set(i,s=new Map),s.set(r.name,t),n==="accessor"){let{name:c}=r;return{set(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(c,d,t)},init(l){return l!==void 0&&this.C(c,void 0,t),l}}}if(n==="setter"){let{name:c}=r;return function(l){let d=this[c];e.call(this,l),this.requestUpdate(c,d,t)}}throw Error("Unsupported decorator location: "+n)};function R(t){return(e,r)=>typeof r=="object"?rs(t,e,r):((n,i,s)=>{let c=i.hasOwnProperty(s);return i.constructor.createProperty(s,c?{...n,wrapped:!0}:n),c?Object.getOwnPropertyDescriptor(i,s):void 0})(t,e,r)}function ae(t){return R({...t,state:!0,attribute:!1})}function Ft(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 ce(t,e){return(r,n,i)=>{let s=c=>c.renderRoot?.querySelector(t)??null;if(e){let{get:c,set:l}=typeof n=="object"?r:i??(()=>{let d=Symbol();return{get(){return this[d]},set(u){this[d]=u}}})();return we(r,n,{get(){let d=c.call(this);return d===void 0&&(d=s(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return we(r,n,{get(){return s(this)}})}}var ad;function id(t){return(e,r)=>we(e,r,{get(){return(this.renderRoot??(ad??=document.createDocumentFragment())).querySelectorAll(t)}})}function sd(t){return(e,r)=>we(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function cd(t){return(e,r)=>{let{slot:n,selector:i}=t??{},s="slot"+(n?`[name=${n}]`:":not([name])");return we(e,r,{get(){let c=this.renderRoot?.querySelector(s),l=c?.assignedElements(t)??[];return i===void 0?l:l.filter(d=>d.matches(i))}})}}function dn(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 un={};V(un,{repeat:()=>fn});var tt={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},rt=t=>(...e)=>({_$litDirective$:t,values:e}),Te=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:ld}=Mi;var os=()=>document.createComment(""),zt=(t,e,r)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(r===void 0){let s=n.insertBefore(os(),i),c=n.insertBefore(os(),i);r=new ld(s,c,t,t.options)}else{let s=r._$AB.nextSibling,c=r._$AM,l=c!==t;if(l){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==c._$AU&&r._$AP(d)}if(s!==i||l){let d=r._$AA;for(;d!==s;){let u=d.nextSibling;n.insertBefore(d,i),d=u}}}return r},ot=(t,e,r=t)=>(t._$AI(e,r),t),dd={},ns=(t,e=dd)=>t._$AH=e,as=t=>t._$AH,yo=t=>{t._$AP?.(!1,!0);let e=t._$AA,r=t._$AB.nextSibling;for(;e!==r;){let n=e.nextSibling;e.remove(),e=n}};var is=(t,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},fn=rt(class extends Te{constructor(t){if(super(t),t.type!==tt.CHILD)throw Error("repeat() can only be used in text expressions")}ht(t,e,r){let n;r===void 0?r=e:e!==void 0&&(n=e);let i=[],s=[],c=0;for(let l of t)i[c]=n?n(l,c):c,s[c]=r(l,c),c++;return{values:s,keys:i}}render(t,e,r){return this.ht(t,e,r).values}update(t,[e,r,n]){let i=as(t),{values:s,keys:c}=this.ht(e,r,n);if(!Array.isArray(i))return this.dt=c,s;let l=this.dt??=[],d=[],u,m,y=0,x=i.length-1,v=0,S=s.length-1;for(;y<=x&&v<=S;)if(i[y]===null)y++;else if(i[x]===null)x--;else if(l[y]===c[v])d[v]=ot(i[y],s[v]),y++,v++;else if(l[x]===c[S])d[S]=ot(i[x],s[S]),x--,S--;else if(l[y]===c[S])d[S]=ot(i[y],s[S]),zt(t,d[S+1],i[y]),y++,S--;else if(l[x]===c[v])d[v]=ot(i[x],s[v]),zt(t,i[y],i[x]),x--,v++;else if(u===void 0&&(u=is(c,v,S),m=is(l,y,x)),u.has(l[y]))if(u.has(l[x])){let w=m.get(c[v]),P=w!==void 0?i[w]:null;if(P===null){let L=zt(t,i[y]);ot(L,s[v]),d[v]=L}else d[v]=ot(P,s[v]),zt(t,i[y],P),i[w]=null;v++}else yo(i[x]),x--;else yo(i[y]),y++;for(;v<=S;){let w=zt(t,d[S+1]);ot(w,s[v]),d[v++]=w}for(;y<=x;){let w=i[y++];w!==null&&yo(w)}return this.dt=c,ns(t,d),be}});var hn={};V(hn,{classMap:()=>At});var At=rt(class extends Te{constructor(t){if(super(t),t.type!==tt.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 gn={};V(gn,{styleMap:()=>fd});var ss="important",pd=" !"+ss,fd=rt(class extends Te{constructor(t){if(super(t),t.type!==tt.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{let n=t[r];return n==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let n of this.ut)e[n]==null&&(this.ut.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in e){let i=e[n];if(i!=null){this.ut.add(n);let s=typeof i=="string"&&i.endsWith(pd);n.includes("-")||s?r.setProperty(n,s?i.slice(0,-11):i,s?ss:""):r[n]=i}}return be}});var yn={};V(yn,{UnsafeHTMLDirective:()=>Ht,unsafeHTML:()=>mn});var Ht=class extends Te{constructor(e){if(super(e),this.et=ee,e.type!==tt.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===ee||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:[]}}};Ht.directiveName="unsafeHTML",Ht.resultType=1;var mn=rt(Ht);var xn={};V(xn,{CacheRegistry:()=>ke});var bn={};V(bn,{CancelablePromise:()=>Kt,CanceledPromiseError:()=>Gt,cancelable:()=>bo});var Gt=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},Kt=class extends Promise{constructor(e){super((r,n)=>e(i=>{this.isCanceled?n(new Gt("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new Gt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},bo=t=>new Kt((e,r)=>t.then(e).catch(r));var ke=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 Kt&&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=bo(r());return this.content[e]=i,i.then(s=>(this.content[e]=s,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),s))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var Sn={};V(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 s=((i=(n=e?.map)!==null&&n!==void 0?n:e?.document)!==null&&i!==void 0?i:e?.topic).metadata;return r==null?t.flattenMetadata(s):t.flattenMetadata(s.find(c=>c.key===r))}static flattenMetadata(e){if(Array.isArray(e))return e.map(n=>t.flattenMetadata(n)).filter(n=>n!=null);let r=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!r))if(r){let n=[],i=[];return e.hierarchicalValues.forEach(s=>{n.push(s.join(" > ")),s.length>2?i.push(`... > ${s[s.length-1]}`):i.push(s.join(" > "))}),{key:e.key,label:e.label,value:n.join(", "),displayValue:i.join(", ")}}else{let n=e.values.join(", ");return{key:e.key,label:e.label,value:n,displayValue:n}}}computeClustersItemsForMetadata(e,r,n="No value"){var i,s;let c=t.extractResultMetadata(this.selectedResult,e),l=(i=c?.label)!==null&&i!==void 0?i:(s=this.getMetadataDescriptor(e))===null||s===void 0?void 0:s.label;return this.allResults.map(u=>t.extractResultMetadata(u,e)).map(u=>u??{key:e,label:l,value:void 0,displayValue:n}).filter(u=>u.value!=c?.value).filter((u,m,y)=>y.findIndex(x=>x.value===u.value)===m).map(u=>({result:this.findBestResultForMetadataValue(e,u.value),metadata:u})).sort((u,m)=>this.compareMetadata(u.metadata.value,m.metadata.value,e,r))}compareMetadata(e,r,n,i){if(e==null)return-1;if(r==null)return 1;let s=this.getMetadataDescriptor(n),c=s?.sortRule||"NONE",l=s?.reverseSort||!1;if(c=="ALPHABET"||c=="VERSION"){let d=e.localeCompare(r,i,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let n=this.allResults.filter(d=>{var u;return((u=t.extractResultMetadata(d,e))===null||u===void 0?void 0:u.value)==r}),s=[...t.extractResultMetadata(this.selectedResult).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],c,l=-1;for(let d of n){let u=this.countMatchingMetadata(d,s);if(u>l&&(l=u,c=d,u===s.length))break}return c}countMatchingMetadata(e,r){return t.extractResultMetadata(e).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}};var On={};V(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,s=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let c of n)try{await c()}catch(l){i(l);return}s(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var En={};V(En,{customElement:()=>re,isNumber:()=>ps,jsonProperty:()=>Ue,optionalNumberProperty:()=>xd});var Cn={};V(Cn,{dateReviver:()=>hd,deepEqual:()=>Ne,delay:()=>xo,eventPathContainsMatchingElement:()=>md,flatDeep:()=>ls,hasChanged:()=>Nr,last:()=>bd,minmax:()=>yd,parseDate:()=>ds,waitFor:()=>cs,waitUntil:()=>ud});var xo=t=>new Promise(e=>setTimeout(e,t));async function ud(t,e=10,r=2e4){await cs(async()=>await t()||void 0,e,r)}async function cs(t,e=10,r=2e4){let n=await t(),i,s;for(i=s=performance.now();n==null&&(!r||s-i<r);)await xo(e),n=await t(),s=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function ls(t,e){return t.flatMap(r=>[r,...ls(e(r),e)])}function hd(...t){return function(e,r){return t.includes(e)?ds(r):r}}function ds(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 gd(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(!Ne(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(!Ne(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(i=Object.keys(t),r=i.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=r;n--!==0;){var s=i[n];if(!Ne(t[s],e[s]))return!1}return!0}return t!==t&&e!==e}function Ne(t,e){try{return gd(t,e)}catch{return!1}}function Nr(t,e){return!Ne(t,e)}function md(t,e,r=window.document.body){if(e.length>0){let n=t.composedPath();for(let i of n){if(i===r)return!1;if(i.matches&&e.some(s=>i.matches(s)))return!0}}return!1}function yd(t,e,r){return Math.min(Math.max(t,e),r)}function bd(t){return t[t.length-1]}var re=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function Ue(t,e){let r=()=>JSON.parse(JSON.stringify(t));return R({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 xd(t){return R({type:Object,converter:{fromAttribute:e=>{if(e!=null)return ps(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function ps(t){return!isNaN(parseFloat(t))}var Qn={};V(Qn,{designSystemVariables:()=>M});var Jn={};V(Jn,{DesignSystemFamily:()=>Yn,DesignSystemSize:()=>Xn,FtCssVariableFactory:()=>o,badge:()=>wd,banner:()=>Ed,breadcrumb:()=>Nd,button:()=>Sd,chart:()=>Bd,checkbox:()=>Fd,chip:()=>Od,collapsible:()=>Dd,comboboxMultiSelect:()=>Ud,comboboxSingleSelect:()=>kd,drawer:()=>Id,floatingMenu:()=>Td,foundation:()=>f,link:()=>Cd,modal:()=>Rd,notice:()=>Md,notification:()=>Gd,pageHeader:()=>Ad,popover:()=>$d,radio:()=>Hd,resolveFamilyClass:()=>Zd,resolveSizeClass:()=>Vd,semantic:()=>h,setVariable:()=>$,switch_:()=>Wd,tabs:()=>Pd,textArea:()=>_d,textInput:()=>Ld,toggle:()=>zd,tooltip:()=>Kd,typographies:()=>Ar,typographyBody1Medium:()=>Pn,typographyBody1Regular:()=>In,typographyBody1Semibold:()=>Ln,typographyBody2Medium:()=>Tn,typographyBody2MediumUnderline:()=>fs,typographyBody2Regular:()=>_n,typographyBody2Semibold:()=>kn,typographyCaption1Bold:()=>Hn,typographyCaption1Medium:()=>Fn,typographyCaption1Semibold:()=>zn,typographyCaption2Bold:()=>Zn,typographyCaption2Medium:()=>Gn,typographyCaption2Semibold:()=>Kn,typographyCaption3Bold:()=>qn,typographyCaption3Medium:()=>Vn,typographyCaption3Semibold:()=>jn,typographyDisplay:()=>wn,typographyLabel1Bold:()=>Dn,typographyLabel1Medium:()=>Un,typographyLabel1Semibold:()=>$n,typographyLabel2Bold:()=>Mn,typographyLabel2Medium:()=>Wn,typographyLabel2Semibold:()=>Bn,typographyTitle1:()=>Nn,typographyTitle2:()=>An,typographyTitle3:()=>Rn,typographyVariants:()=>vd});var Ve=t=>typeof t=="string"?Ge(t):t,o=class{static create(e,r,n,i){let s=l=>Ve(l??i),c=k`var(${Ve(e)}, ${s(i)})`;return c.name=e,c.description=r,c.category=n,c.defaultValue=i,c.defaultCssValue=s,c.get=l=>k`var(${Ve(e)}, ${s(l)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>i,c}static extend(e,r,n,i){let s=l=>n.get(l??i),c=k`var(${Ve(e)}, ${s(i)})`;return c.name=e,c.description=r,c.category=n.category,c.fallbackVariable=n,c.defaultValue=i,c.defaultCssValue=s,c.get=l=>k`var(${Ve(e)}, ${s(l)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),c}static external(e,r){let n=s=>e.fallbackVariable?e.fallbackVariable.get(s??e.defaultValue):Ve(s??e.lastResortDefaultValue()),i=k`var(${Ve(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=r,i.defaultCssValue=n,i.get=s=>k`var(${Ve(e.name)}, ${n(s)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function $(t,e){return Ve(`${t.name}: ${e}`)}var f={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},wn={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")},Nn={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")},An={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")},Rn={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")},In={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")},Pn={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")},Ln={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")},_n={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")},Tn={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")},fs={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")},Un={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")},$n={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")},Dn={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")},Wn={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")},Bn={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")},Mn={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")},Fn={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")},Hn={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")},Gn={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")},Zn={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")},Vn={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")},jn={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")},qn={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")},Ar={display:wn,"title-1":Nn,"title-2":An,"title-3":Rn,"body-1-regular":In,"body-1-medium":Pn,"body-1-semibold":Ln,"body-2-regular":_n,"body-2-medium":Tn,"body-2-medium-underline":fs,"body-2-semibold":kn,"label-1-medium":Un,"label-1-semibold":$n,"label-1-bold":Dn,"label-2-medium":Wn,"label-2-semibold":Bn,"label-2-bold":Mn,"caption-1-medium":Fn,"caption-1-semibold":zn,"caption-1-bold":Hn,"caption-2-medium":Gn,"caption-2-semibold":Kn,"caption-2-bold":Zn,"caption-3-medium":Vn,"caption-3-semibold":jn,"caption-3-bold":qn},vd=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var h={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",f.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",f.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",f.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",f.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",f.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",f.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",f.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",f.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",f.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",f.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",f.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",f.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",f.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",f.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",f.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",f.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",f.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",f.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
6
|
-
Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",f.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",f.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",f.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",f.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",f.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",f.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",f.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",f.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",f.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",f.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",f.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",f.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",f.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",f.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",f.colorGray80)};var Sd={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",f.spacing4),largeGap:o.extend("--ft-button-large-gap","",f.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",f.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",f.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",f.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",f.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",f.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",f.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",f.spacing2),smallGap:o.extend("--ft-button-small-gap","",f.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",f.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",f.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",f.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",f.borderRadiusPill),primaryBackgroundColor:o.extend("--ft-button-primary-background-color","",h.backgroundActionPrimary),primaryColor:o.extend("--ft-button-primary-color","",h.contentGlobalOnColor),primaryIconColor:o.extend("--ft-button-primary-icon-color","",h.contentGlobalOnColor),primaryStateLayerColor:o.extend("--ft-button-primary-state-layer-color","",h.contentGlobalOnColor),primaryHoverStateLayerOpacity:o.extend("--ft-button-primary-hover-state-layer-opacity","",f.opacity16),primaryFocusStateLayerOpacity:o.extend("--ft-button-primary-focus-state-layer-opacity","",f.opacity16),primaryActiveStateLayerOpacity:o.extend("--ft-button-primary-active-state-layer-opacity","",f.opacity24),primaryDisabledComponentOpacity:o.extend("--ft-button-primary-disabled-component-opacity","",f.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",h.borderActionFocusRing),tertiaryBackgroundColor:o.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:o.extend("--ft-button-tertiary-color","",h.contentActionPrimary),tertiaryIconColor:o.extend("--ft-button-tertiary-icon-color","",h.contentActionPrimary),tertiaryStateLayerColor:o.extend("--ft-button-tertiary-state-layer-color","",h.contentActionPrimary),tertiaryHoverStateLayerOpacity:o.extend("--ft-button-tertiary-hover-state-layer-opacity","",f.opacity8),tertiaryFocusStateLayerOpacity:o.extend("--ft-button-tertiary-focus-state-layer-opacity","",f.opacity8),tertiaryActiveStateLayerOpacity:o.extend("--ft-button-tertiary-active-state-layer-opacity","",f.opacity16),tertiaryDisabledComponentOpacity:o.extend("--ft-button-tertiary-disabled-component-opacity","",f.opacity40),secondaryBackgroundColor:o.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:o.extend("--ft-button-secondary-color","",h.contentActionPrimary),secondaryIconColor:o.extend("--ft-button-secondary-icon-color","",h.contentActionPrimary),secondaryStateLayerColor:o.extend("--ft-button-secondary-state-layer-color","",h.contentActionPrimary),secondaryHoverStateLayerOpacity:o.extend("--ft-button-secondary-hover-state-layer-opacity","",f.opacity8),secondaryFocusStateLayerOpacity:o.extend("--ft-button-secondary-focus-state-layer-opacity","",f.opacity8),secondaryActiveStateLayerOpacity:o.extend("--ft-button-secondary-active-state-layer-opacity","",f.opacity16),secondaryDisabledComponentOpacity:o.extend("--ft-button-secondary-disabled-component-opacity","",f.opacity40),secondaryBorderColor:o.extend("--ft-button-secondary-border-color","",h.borderActionPrimary),neutralBackgroundColor:o.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:o.extend("--ft-button-neutral-icon-color","",h.contentGlobalSecondary),neutralColor:o.extend("--ft-button-neutral-color","",h.contentGlobalSecondary),neutralStateLayerColor:o.extend("--ft-button-neutral-state-layer-color","",h.contentGlobalSecondary),neutralHoverStateLayerOpacity:o.extend("--ft-button-neutral-hover-state-layer-opacity","",f.opacity8),neutralFocusStateLayerOpacity:o.extend("--ft-button-neutral-focus-state-layer-opacity","",f.opacity8),neutralActiveStateLayerOpacity:o.extend("--ft-button-neutral-active-state-layer-opacity","",f.opacity16),neutralDisabledComponentOpacity:o.extend("--ft-button-neutral-disabled-component-opacity","",f.opacity40)};var Od={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",f.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",f.spacing1),largeGap:o.extend("--ft-chip-large-gap","",f.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",f.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",f.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",f.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",f.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",f.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",f.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",f.spacing05),smallGap:o.extend("--ft-chip-small-gap","",f.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",f.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",h.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",h.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",h.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",h.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",h.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",h.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",h.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",h.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",h.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",h.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",h.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",h.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",h.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",h.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",h.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",h.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",h.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",h.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",h.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",h.borderErrorSubtle)};var Cd={focusOpacity:o.extend("--ft-link-focus-opacity","",f.opacity80),focusFocusRingColor:o.extend("--ft-link-focus-focus-ring-color","",h.borderActionFocusRing),brandColor:o.extend("--ft-link-brand-color","",h.contentActionPrimary),infoColor:o.extend("--ft-link-info-color","",h.contentInfoPrimary)};var Ed={iconSize:o.extend("--ft-banner-icon-size","",f.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",f.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",f.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",f.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",f.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",f.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",f.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",f.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",h.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",h.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",h.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",h.borderInfoSubtle)};var wd={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",f.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",f.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",f.borderRadiusPill),color:o.extend("--ft-badge-color","",h.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",h.contentActionPrimary)};var Nd={horizontalGap:o.extend("--ft-breadcrumb-horizontal-gap","",f.spacing1),verticalGap:o.extend("--ft-breadcrumb-vertical-gap","",f.spacing2),currentColor:o.extend("--ft-breadcrumb-current-color","",h.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-breadcrumb-previous-non-clickable-color","",h.contentGlobalSecondary),iconColor:o.extend("--ft-breadcrumb-icon-color","",h.contentGlobalSubtle)};var Ad={horizontalPadding:o.extend("--ft-page-header-horizontal-padding","",f.spacing6),horizontalGap:o.extend("--ft-page-header-horizontal-gap","",f.spacing4),verticalGap:o.extend("--ft-page-header-vertical-gap","",f.spacing2),classicVerticalPadding:o.extend("--ft-page-header-classic-vertical-padding","",f.spacing6),multilineVerticalPadding:o.extend("--ft-page-header-multiline-vertical-padding","",f.spacing4),inlineVerticalPadding:o.extend("--ft-page-header-inline-vertical-padding","",f.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",f.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",h.borderGlobalSubtle),titleColor:o.extend("--ft-page-header-title-color","",h.contentGlobalPrimary),subtitleColor:o.extend("--ft-page-header-subtitle-color","",h.contentGlobalSecondary)};var Rd={smallContainerWidth:o.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:o.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",f.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",f.opacity40),shadow:o.extend("--ft-modal-shadow","",f.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",f.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",h.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",f.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",f.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",f.spacing6),containerMargin:o.extend("--ft-modal-container-margin","",f.spacing3),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",h.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",h.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",h.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-modal-header-trailing-icon-color","",h.contentGlobalSecondary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",f.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",f.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",f.spacing6),headerGap:o.extend("--ft-modal-header-gap","",f.spacing2),headerBorderBottom:o.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",f.borderRadiusM)};var Id={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",f.opacity40),shadow:o.extend("--ft-drawer-shadow","",f.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",h.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",f.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",f.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",f.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",f.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",h.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",h.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",h.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",h.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",f.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",f.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",h.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",h.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",h.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",f.spacing4),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",f.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",f.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",f.colorGray700)};var Pd={offBorderBottomWidth:o.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",f.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",f.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",f.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",f.opacity40),offColor:o.extend("--ft-tabs-off-color","",h.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",h.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",h.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",f.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",f.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",f.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",f.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",f.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",f.spacing1),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",f.opacity16),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",f.opacity8),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",f.opacity16),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",f.opacity24),onColor:o.extend("--ft-tabs-on-color","",h.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",h.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",h.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",f.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",f.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",f.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",f.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",h.borderActionFocusRing)};var Ld={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",f.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",f.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",f.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",f.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",f.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",f.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",f.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",f.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",f.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",h.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",h.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",h.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",h.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",h.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",h.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",h.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",h.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",h.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",f.opacity40)};var _d={backgroundColor:o.extend("--ft-text-area-background-color","",f.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",h.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",h.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",h.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",h.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",h.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",h.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",h.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",h.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",f.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",f.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",f.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",f.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",f.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",f.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",f.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",f.borderRadiusM)};var Td={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",f.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",h.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",h.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",h.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",h.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",f.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",h.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",f.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",f.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",f.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",f.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",f.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",h.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",f.shadowElevation02)};var kd={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",f.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",f.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",f.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",f.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",f.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",f.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",f.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",f.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",f.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",f.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",f.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",h.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",h.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",h.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",h.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",h.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",h.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",h.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",h.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",h.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",h.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",h.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",f.opacity40)};var Ud={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",f.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",h.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",h.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",h.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",h.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",h.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",h.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",h.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",h.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",h.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",h.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",h.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",f.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",f.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",f.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",f.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",f.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",f.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",f.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",f.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",f.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",f.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",f.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",f.borderRadiusM)};var $d={backgroundColor:o.extend("--ft-popover-background-color","",h.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",f.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",f.spacing6),titleColor:o.extend("--ft-popover-title-color","",h.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",h.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",h.contentActionPrimary),gap:o.extend("--ft-popover-gap","",f.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",f.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",f.shadowElevation02)};var Dd={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",f.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",f.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",h.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",f.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",f.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",f.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",f.spacing3),color:o.extend("--ft-collapsible-color","",h.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",h.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",h.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",h.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",f.iconSize3)};var Wd={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",f.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",f.spacing1),groupGap:o.extend("--ft-switch-group-gap","",f.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",h.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",h.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",f.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",f.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",f.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",f.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",f.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",f.opacity40),offColor:o.extend("--ft-switch-off-color","",h.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",h.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",f.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",f.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",f.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",f.opacity40),onColor:o.extend("--ft-switch-on-color","",h.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",h.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",f.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",f.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",h.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",f.borderRadiusS)};var Bd={color1Light:o.extend("--ft-chart-1-light","for area color charts",f.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",f.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",f.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",f.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",f.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",f.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",f.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",f.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",f.colorRed40),color5Base:o.extend("--ft-chart-5-base","",f.colorRed60),color6Light:o.extend("--ft-chart-6-light","",f.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",f.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",f.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",f.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",f.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",f.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",f.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",f.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",f.colorGray50),color10Base:o.extend("--ft-chart-10-base","",f.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",f.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",f.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",f.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",f.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",f.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",f.colorBrand200)};var Md={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",f.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",f.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",f.borderRadiusS),gap:o.extend("--ft-notice-gap","",f.spacing2),iconSize:o.extend("--ft-notice-icon-size","",f.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",h.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",h.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",h.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",h.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",h.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",h.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",h.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",h.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",h.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",h.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",h.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",h.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",h.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",h.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",h.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",h.contentSuccessIconOnly)};var Fd={color:o.extend("--ft-checkbox-color","",h.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",h.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",h.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",h.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",f.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",f.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",f.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",f.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",f.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",f.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",f.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",f.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",f.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",f.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",h.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-checkbox-gap","",f.spacing3)};var zd={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",f.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",f.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",f.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",f.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",h.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",h.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",h.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",f.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",f.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",f.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",f.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",h.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",h.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",h.contentActionPrimary),color:o.extend("--ft-toggle-color","",h.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",h.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",f.spacing3)};var Hd={color:o.extend("--ft-radio-color","",h.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",h.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",h.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",f.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",f.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",f.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",f.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",h.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",h.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",f.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",f.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",f.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",f.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",h.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",f.spacing3)};var Gd={iconSize:o.extend("--ft-notification-icon-size","",f.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",f.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",f.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",f.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",h.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",h.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",h.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",h.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",h.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",h.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",h.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",h.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",h.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",h.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",h.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",h.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",h.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",h.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",h.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",h.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",f.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",f.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",f.spacing8)};var Kd={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",f.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",f.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",f.borderRadiusS),color:o.extend("--ft-tooltip-color","",h.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",h.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",f.opacity80),shadow:o.extend("--ft-tooltip-shadow","",f.shadowElevation02),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",f.spacing05)};var Yn;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Yn||(Yn={}));var Xn;(function(t){t.large="large",t.medium="medium",t.small="small"})(Xn||(Xn={}));function Zd(t){return`design-system--family-${t}`}function Vd(t){return`design-system--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 oa={};V(oa,{FtNotificationEvent:()=>ea,PostResizeEvent:()=>ra,PreResizeEvent:()=>ta});var ea=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},ta=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},ra=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var ga={};V(ga,{computeOffsetPosition:()=>ha});var hs=["top","right","bottom","left"],us=["start","end"],aa=hs.reduce((t,e)=>t.concat(e,e+"-"+us[0],e+"-"+us[1]),[]),Rr=Math.min,nt=Math.max,Ir=Math.round;var je=t=>({x:t,y:t}),jd={left:"right",right:"left",bottom:"top",top:"bottom"},qd={start:"end",end:"start"};function ia(t,e,r){return nt(t,Rr(e,r))}function vo(t,e){return typeof t=="function"?t(e):t}function Zt(t){return t.split("-")[0]}function at(t){return t.split("-")[1]}function sa(t){return t==="x"?"y":"x"}function ca(t){return t==="y"?"height":"width"}function So(t){return["top","bottom"].includes(Zt(t))?"y":"x"}function la(t){return sa(So(t))}function gs(t,e,r){r===void 0&&(r=!1);let n=at(t),i=la(t),s=ca(i),c=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(c=na(c)),[c,na(c)]}function ms(t){return t.replace(/start|end/g,e=>qd[e])}function na(t){return t.replace(/left|right|bottom|top/g,e=>jd[e])}function Yd(t){return{top:0,right:0,bottom:0,left:0,...t}}function ys(t){return typeof t!="number"?Yd(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 bs(t,e,r){let{reference:n,floating:i}=t,s=So(e),c=la(e),l=ca(c),d=Zt(e),u=s==="y",m=n.x+n.width/2-i.width/2,y=n.y+n.height/2-i.height/2,x=n[l]/2-i[l]/2,v;switch(d){case"top":v={x:m,y:n.y-i.height};break;case"bottom":v={x:m,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y};break;case"left":v={x:n.x-i.width,y};break;default:v={x:n.x,y:n.y}}switch(at(e)){case"start":v[c]-=x*(r&&u?-1:1);break;case"end":v[c]+=x*(r&&u?-1:1);break}return v}var xs=async(t,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:c}=r,l=s.filter(Boolean),d=await(c.isRTL==null?void 0:c.isRTL(e)),u=await c.getElementRects({reference:t,floating:e,strategy:i}),{x:m,y}=bs(u,n,d),x=n,v={},S=0;for(let w=0;w<l.length;w++){let{name:P,fn:L}=l[w],{x:T,y:E,data:C,reset:N}=await L({x:m,y,initialPlacement:n,placement:x,strategy:i,middlewareData:v,rects:u,platform:c,elements:{reference:t,floating:e}});if(m=T??m,y=E??y,v={...v,[P]:{...v[P],...C}},N&&S<=50){S++,typeof N=="object"&&(N.placement&&(x=N.placement),N.rects&&(u=N.rects===!0?await c.getElementRects({reference:t,floating:e,strategy:i}):N.rects),{x:m,y}=bs(u,x,d)),w=-1;continue}}return{x:m,y,placement:x,strategy:i,middlewareData:v}};async function da(t,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:s,rects:c,elements:l,strategy:d}=t,{boundary:u="clippingAncestors",rootBoundary:m="viewport",elementContext:y="floating",altBoundary:x=!1,padding:v=0}=vo(e,t),S=ys(v),P=l[x?y==="floating"?"reference":"floating":y],L=Rt(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement(P)))==null||r?P:P.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:u,rootBoundary:m,strategy:d})),T=y==="floating"?{...c.floating,x:n,y:i}:c.reference,E=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),C=await(s.isElement==null?void 0:s.isElement(E))?await(s.getScale==null?void 0:s.getScale(E))||{x:1,y:1}:{x:1,y:1},N=Rt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({rect:T,offsetParent:E,strategy:d}):T);return{top:(L.top-N.top+S.top)/C.y,bottom:(N.bottom-L.bottom+S.bottom)/C.y,left:(L.left-N.left+S.left)/C.x,right:(N.right-L.right+S.right)/C.x}}function Xd(t,e,r){return(t?[...r.filter(i=>at(i)===t),...r.filter(i=>at(i)!==t)]:r.filter(i=>Zt(i)===i)).filter(i=>t?at(i)===t||(e?ms(i)!==i:!1):!0)}var pa=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,i;let{rects:s,middlewareData:c,placement:l,platform:d,elements:u}=e,{crossAxis:m=!1,alignment:y,allowedPlacements:x=aa,autoAlignment:v=!0,...S}=vo(t,e),w=y!==void 0||x===aa?Xd(y||null,v,x):x,P=await da(e,S),L=((r=c.autoPlacement)==null?void 0:r.index)||0,T=w[L];if(T==null)return{};let E=gs(T,s,await(d.isRTL==null?void 0:d.isRTL(u.floating)));if(l!==T)return{reset:{placement:w[0]}};let C=[P[Zt(T)],P[E[0]],P[E[1]]],N=[...((n=c.autoPlacement)==null?void 0:n.overflows)||[],{placement:T,overflows:C}],D=w[L+1];if(D)return{data:{index:L+1,overflows:N},reset:{placement:D}};let W=N.map(b=>{let O=at(b.placement);return[b.placement,O&&m?b.overflows.slice(0,2).reduce((I,F)=>I+F,0):b.overflows[0],b.overflows]}).sort((b,O)=>b[1]-O[1]),H=((i=W.filter(b=>b[2].slice(0,at(b[0])?2:3).every(O=>O<=0))[0])==null?void 0:i[0])||W[0][0];return H!==l?{data:{index:L+1,overflows:N},reset:{placement:H}}:{}}}};var fa=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:i}=e,{mainAxis:s=!0,crossAxis:c=!1,limiter:l={fn:P=>{let{x:L,y:T}=P;return{x:L,y:T}}},...d}=vo(t,e),u={x:r,y:n},m=await da(e,d),y=So(Zt(i)),x=sa(y),v=u[x],S=u[y];if(s){let P=x==="y"?"top":"left",L=x==="y"?"bottom":"right",T=v+m[P],E=v-m[L];v=ia(T,v,E)}if(c){let P=y==="y"?"top":"left",L=y==="y"?"bottom":"right",T=S+m[P],E=S-m[L];S=ia(T,S,E)}let w=l.fn({...e,[x]:v,[y]:S});return{...w,data:{x:w.x-r,y:w.y-n}}}}};function qe(t){return Ss(t)?(t.nodeName||"").toLowerCase():"#document"}function fe(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Ye(t){var e;return(e=(Ss(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ss(t){return t instanceof Node||t instanceof fe(t).Node}function $e(t){return t instanceof Element||t instanceof fe(t).Element}function Ae(t){return t instanceof HTMLElement||t instanceof fe(t).HTMLElement}function vs(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof fe(t).ShadowRoot}function Vt(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 Os(t){return["table","td","th"].includes(qe(t))}function Co(t){let e=Eo(),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 Cs(t){let e=It(t);for(;Ae(e)&&!Pr(e);){if(Co(e))return e;e=It(e)}return null}function Eo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Pr(t){return["html","body","#document"].includes(qe(t))}function xe(t){return fe(t).getComputedStyle(t)}function Lr(t){return $e(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function It(t){if(qe(t)==="html")return t;let e=t.assignedSlot||t.parentNode||vs(t)&&t.host||Ye(t);return vs(e)?e.host:e}function Es(t){let e=It(t);return Pr(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ae(e)&&Vt(e)?e:Es(e)}function Oo(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=Es(t),s=i===((n=t.ownerDocument)==null?void 0:n.body),c=fe(i);return s?e.concat(c,c.visualViewport||[],Vt(i)?i:[],c.frameElement&&r?Oo(c.frameElement):[]):e.concat(i,Oo(i,[],r))}function As(t){let e=xe(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=Ae(t),s=i?t.offsetWidth:r,c=i?t.offsetHeight:n,l=Ir(r)!==s||Ir(n)!==c;return l&&(r=s,n=c),{width:r,height:n,$:l}}function Rs(t){return $e(t)?t:t.contextElement}function jt(t){let e=Rs(t);if(!Ae(e))return je(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:s}=As(e),c=(s?Ir(r.width):r.width)/n,l=(s?Ir(r.height):r.height)/i;return(!c||!Number.isFinite(c))&&(c=1),(!l||!Number.isFinite(l))&&(l=1),{x:c,y:l}}var Jd=je(0);function Is(t){let e=fe(t);return!Eo()||!e.visualViewport?Jd:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Qd(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(),s=Rs(t),c=je(1);e&&(n?$e(n)&&(c=jt(n)):c=jt(t));let l=Qd(s,r,n)?Is(s):je(0),d=(i.left+l.x)/c.x,u=(i.top+l.y)/c.y,m=i.width/c.x,y=i.height/c.y;if(s){let x=fe(s),v=n&&$e(n)?fe(n):n,S=x.frameElement;for(;S&&n&&v!==x;){let w=jt(S),P=S.getBoundingClientRect(),L=xe(S),T=P.left+(S.clientLeft+parseFloat(L.paddingLeft))*w.x,E=P.top+(S.clientTop+parseFloat(L.paddingTop))*w.y;d*=w.x,u*=w.y,m*=w.x,y*=w.y,d+=T,u+=E,S=fe(S).frameElement}}return Rt({width:m,height:y,x:d,y:u})}function ep(t){let{rect:e,offsetParent:r,strategy:n}=t,i=Ae(r),s=Ye(r);if(r===s)return e;let c={scrollLeft:0,scrollTop:0},l=je(1),d=je(0);if((i||!i&&n!=="fixed")&&((qe(r)!=="body"||Vt(s))&&(c=Lr(r)),Ae(r))){let u=_r(r);l=jt(r),d.x=u.x+r.clientLeft,d.y=u.y+r.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-c.scrollLeft*l.x+d.x,y:e.y*l.y-c.scrollTop*l.y+d.y}}function tp(t){return Array.from(t.getClientRects())}function Ps(t){return _r(Ye(t)).left+Lr(t).scrollLeft}function rp(t){let e=Ye(t),r=Lr(t),n=t.ownerDocument.body,i=nt(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),s=nt(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),c=-r.scrollLeft+Ps(t),l=-r.scrollTop;return xe(n).direction==="rtl"&&(c+=nt(e.clientWidth,n.clientWidth)-i),{width:i,height:s,x:c,y:l}}function op(t,e){let r=fe(t),n=Ye(t),i=r.visualViewport,s=n.clientWidth,c=n.clientHeight,l=0,d=0;if(i){s=i.width,c=i.height;let u=Eo();(!u||u&&e==="fixed")&&(l=i.offsetLeft,d=i.offsetTop)}return{width:s,height:c,x:l,y:d}}function np(t,e){let r=_r(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,s=Ae(t)?jt(t):je(1),c=t.clientWidth*s.x,l=t.clientHeight*s.y,d=i*s.x,u=n*s.y;return{width:c,height:l,x:d,y:u}}function ws(t,e,r){let n;if(e==="viewport")n=op(t,r);else if(e==="document")n=rp(Ye(t));else if($e(e))n=np(e,r);else{let i=Is(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return Rt(n)}function Ls(t,e){let r=It(t);return r===e||!$e(r)||Pr(r)?!1:xe(r).position==="fixed"||Ls(r,e)}function ap(t,e){let r=e.get(t);if(r)return r;let n=Oo(t,[],!1).filter(l=>$e(l)&&qe(l)!=="body"),i=null,s=xe(t).position==="fixed",c=s?It(t):t;for(;$e(c)&&!Pr(c);){let l=xe(c),d=Co(c);!d&&l.position==="fixed"&&(i=null),(s?!d&&!i:!d&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Vt(c)&&!d&&Ls(t,c))?n=n.filter(m=>m!==c):i=l,c=It(c)}return e.set(t,n),n}function ip(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,c=[...r==="clippingAncestors"?ap(e,this._c):[].concat(r),n],l=c[0],d=c.reduce((u,m)=>{let y=ws(e,m,i);return u.top=nt(y.top,u.top),u.right=Rr(y.right,u.right),u.bottom=Rr(y.bottom,u.bottom),u.left=nt(y.left,u.left),u},ws(e,l,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function sp(t){return As(t)}function cp(t,e,r){let n=Ae(e),i=Ye(e),s=r==="fixed",c=_r(t,!0,s,e),l={scrollLeft:0,scrollTop:0},d=je(0);if(n||!n&&!s)if((qe(e)!=="body"||Vt(i))&&(l=Lr(e)),n){let u=_r(e,!0,s,e);d.x=u.x+e.clientLeft,d.y=u.y+e.clientTop}else i&&(d.x=Ps(i));return{x:c.left+l.scrollLeft-d.x,y:c.top+l.scrollTop-d.y,width:c.width,height:c.height}}function Ns(t,e){return!Ae(t)||xe(t).position==="fixed"?null:e?e(t):t.offsetParent}function _s(t,e){let r=fe(t);if(!Ae(t))return r;let n=Ns(t,e);for(;n&&Os(n)&&xe(n).position==="static";)n=Ns(n,e);return n&&(qe(n)==="html"||qe(n)==="body"&&xe(n).position==="static"&&!Co(n))?r:n||Cs(t)||r}var lp=async function(t){let{reference:e,floating:r,strategy:n}=t,i=this.getOffsetParent||_s,s=this.getDimensions;return{reference:cp(e,await i(r),n),floating:{x:0,y:0,...await s(r)}}};function dp(t){return xe(t).direction==="rtl"}var wo={convertOffsetParentRelativeRectToViewportRelativeRect:ep,getDocumentElement:Ye,getClippingRect:ip,getOffsetParent:_s,getElementRects:lp,getClientRects:tp,getDimensions:sp,getScale:jt,isElement:$e,isRTL:dp};var Ts=(t,e,r)=>{let n=new Map,i={platform:wo,...r},s={...i.platform,_c:n};return xs(t,e,{...i,platform:s})};function ks(t){return pp(t)}function ua(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function pp(t){for(let e=t;e;e=ua(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=ua(t);e;e=ua(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 ha(t,e,r){return Ts(t,e,{platform:{...wo,getOffsetParent:n=>wo.getOffsetParent(n,ks)},middleware:[fa({crossAxis:!0}),pa({allowedPlacements:[r]})]})}var ya={};V(ya,{FtLitElement:()=>Z});var ma={};V(ma,{ScopedRegistryLitElement:()=>Tr});var No=window,fp=No.ShadowRoot&&(No.ShadyCSS===void 0||No.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Bm=Symbol();var Us=(t,e)=>{fp?t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):e.forEach(r=>{let n=document.createElement("style"),i=No.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)})};var Tr=class extends Ze{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,s])=>e.registry.define(i,s)));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return Us(n,e.elementStyles),n}};var Ao=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(c=t[l])&&(s=(i<3?c(s):i>3?c(e,r,s):c(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Ws,$s=Symbol("constructorPrototype"),Ds=Symbol("constructorName"),Bs=Symbol("exportpartsDebouncer"),Z=class extends Tr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Ws]=new pe(5),this[Ds]=this.constructor.name,this[$s]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ds]&&Object.setPrototypeOf(this,this[$s])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(e){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",e)}this.importDynamicDependencies()}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var r,n,i;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(s=>s.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(s){console.error(s,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let s=document.createElement("style");s.classList.add("ft-lit-element--custom-stylesheet"),s.innerHTML=this.customStylesheet,this.shadowRoot.append(s)}}scheduleExportpartsUpdate(){var e,r,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[Bs].run(()=>{var i,s;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((s=this.exportpartsPrefixes)===null||s===void 0?void 0:s.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var r,n,i,s,c,l;let d=x=>x!=null&&x.trim().length>0,u=e.filter(d).map(x=>x.trim());if(u.length===0){this.removeAttribute("exportparts");return}let m=new Set;for(let x of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let v=(s=(i=x.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&s!==void 0?s:[],S=(l=(c=x.getAttribute("exportparts"))===null||c===void 0?void 0:c.split(",").map(w=>w.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...v,...S).filter(d).map(w=>w.trim()).forEach(w=>m.add(w))}if(m.size===0){this.removeAttribute("exportparts");return}let y=[...m.values()].flatMap(x=>u.map(v=>`${x}:${v}--${x}`));this.setAttribute("exportparts",[...this.part,...y].join(", "))}};Ws=Bs;Ao([R()],Z.prototype,"exportpartsPrefix",void 0);Ao([Ue([])],Z.prototype,"exportpartsPrefixes",void 0);Ao([R()],Z.prototype,"customStylesheet",void 0);Ao([ae()],Z.prototype,"useAdoptedStyleSheets",void 0);var Ms={};var Sa={};V(Sa,{highlightHtml:()=>va,highlightHtmlColorCssVariable:()=>Fs,highlightHtmlStyles:()=>hp});var Pt=class t{constructor(e,r=!0,n=[],i=5e3){this.ctx=e,this.iframes=r,this.exclude=n,this.iframesTimeout=i}static matches(e,r){let n=typeof r=="string"?[r]:r,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let s=!1;return n.every(c=>i.call(e,c)?(s=!0,!1):!0),s}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let i=r.filter(s=>s.contains(n)).length>0;r.indexOf(n)===-1&&!i&&r.push(n)}),r}getIframeContents(e,r,n=()=>{}){let i;try{let s=e.contentWindow;if(i=s.document,!s||!i)throw new Error("iframe inaccessible")}catch{n()}i&&r(i)}isIframeBlank(e){let r="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(e,r,n){let i=!1,s=null,c=()=>{if(!i){i=!0,clearTimeout(s);try{this.isIframeBlank(e)||(e.removeEventListener("load",c),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",c),s=setTimeout(c,this.iframesTimeout)}onIframeReady(e,r,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,n):this.getIframeContents(e,r,n):this.observeIframeLoad(e,r,n)}catch{n()}}waitForIframes(e,r){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||r()})},i=>{i||r()})}forEachIframe(e,r,n,i=()=>{}){let s=e.querySelectorAll("iframe"),c=s.length,l=0;s=Array.prototype.slice.call(s);let d=()=>{--c<=0&&i(l)};c||d(),s.forEach(u=>{t.matches(u,this.exclude)?d():this.onIframeReady(u,m=>{r(u)&&(l++,n(m)),d()},d)})}createIterator(e,r,n){return document.createNodeIterator(e,r,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,n){let i=e.compareDocumentPosition(n),s=Node.DOCUMENT_POSITION_PRECEDING;if(i&s)if(r!==null){let c=r.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(c&l)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),n;return r===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:r,node:n}}checkIframeFilter(e,r,n,i){let s=!1,c=!1;return i.forEach((l,d)=>{l.val===n&&(s=d,c=l.handled)}),this.compareNodeIframe(e,r,n)?(s===!1&&!c?i.push({val:n,handled:!0}):s!==!1&&!c&&(i[s].handled=!0),!0):(s===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(e,r,n,i){e.forEach(s=>{s.handled||this.getIframeContents(s.val,c=>{this.createInstanceOnIframe(c).forEachNode(r,n,i)})})}iterateThroughNodes(e,r,n,i,s){let c=this.createIterator(r,e,i),l=[],d=[],u,m,y=()=>({prevNode:m,node:u}=this.getIteratorNode(c),u);for(;y();)this.iframes&&this.forEachIframe(r,x=>this.checkIframeFilter(u,m,x,l),x=>{this.createInstanceOnIframe(x).forEachNode(e,v=>d.push(v),i)}),d.push(u);d.forEach(x=>{n(x)}),this.iframes&&this.handleOpenIframes(l,e,n,i),s()}forEachNode(e,r,n,i=()=>{}){let s=this.getContexts(),c=s.length;c||i(),s.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,r,n,()=>{--c<=0&&i()})};this.iframes?this.waitForIframes(l,d):d()})}};var kr=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 Pt(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let s in r)if(r.hasOwnProperty(s)){let c=r[s],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(c):this.escapeStr(c);l!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${n}`),i+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+i))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,n,i)=>{let s=i.charAt(n+1);return/[(|)\\]/.test(s)||s===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return e.split("").forEach(s=>{n.every(c=>{if(c.indexOf(s)!==-1){if(i.indexOf(c)>-1)return!1;e=e.replace(new RegExp(`[${c}]`,`gm${r}`),`[${c}]`),i.push(c)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,s=typeof n=="string"?[]:n.limiters,c="";switch(s.forEach(l=>{c+=`|${this.escapeStr(l)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return c="\\s"+(c||this.escapeStr(r)),`()([^${c}]*${e}[^${c}]*)`;case"exactly":return`(^|\\s${c})(${e})(?=$|\\s${c})`}}getSeparatedKeywords(e){let r=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&r.indexOf(i)===-1&&r.push(i)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,i)=>i.length-n.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],n=0;return e.sort((i,s)=>i.start-s.start).forEach(i=>{let{start:s,end:c,valid:l}=this.callNoMatchOnInvalidRanges(i,n);l&&(i.start=s,i.length=c-s,r.push(i),n=c)}),r}callNoMatchOnInvalidRanges(e,r){let n,i,s=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-r>0&&i-n>0?s=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:i,valid:s}}checkWhitespaceRanges(e,r,n){let i,s=!0,c=n.length,l=r-c,d=parseInt(e.start,10)-l;return d=d>c?c:d,i=d+parseInt(e.length,10),i>c&&(i=c,this.log(`End range automatically set to the max value of ${c}`)),d<0||i-d<0||d>c||i>c?(s=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(d,i).replace(/\s+/g,"")===""&&(s=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:i,valid:s}}getTextNodes(e){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:r.length,end:(r+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:n})})}matchesExclude(e){return Pt.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,n){let i=this.opt.element?this.opt.element:"mark",s=e.splitText(r),c=s.splitText(n-r),l=document.createElement(i);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=s.textContent,s.parentNode.replaceChild(l,s),c}wrapRangeInMappedTextNode(e,r,n,i,s){e.nodes.every((c,l)=>{let d=e.nodes[l+1];if(typeof d>"u"||d.start>r){if(!i(c.node))return!1;let u=r-c.start,m=(n>c.end?c.end:n)-c.start,y=e.value.substr(0,c.start),x=e.value.substr(m+c.start);if(c.node=this.wrapRangeInTextNode(c.node,u,m),e.value=y+x,e.nodes.forEach((v,S)=>{S>=l&&(e.nodes[S].start>0&&S!==l&&(e.nodes[S].start-=m),e.nodes[S].end-=m)}),n-=m,s(c.node.previousSibling,c.start),n>c.end)r=c.end;else return!1}return!0})}wrapMatches(e,r,n,i,s){let c=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let u;for(;(u=e.exec(d.textContent))!==null&&u[c]!=="";){if(!n(u[c],d))continue;let m=u.index;if(c!==0)for(let y=1;y<c;y++)m+=u[y].length;d=this.wrapRangeInTextNode(d,m,m+u[c].length),i(d.previousSibling),e.lastIndex=0}}),s()})}wrapMatchesAcrossElements(e,r,n,i,s){let c=r===0?0:r+1;this.getTextNodes(l=>{let d;for(;(d=e.exec(l.value))!==null&&d[c]!=="";){let u=d.index;if(c!==0)for(let y=1;y<c;y++)u+=d[y].length;let m=u+d[c].length;this.wrapRangeInMappedTextNode(l,u,m,y=>n(d[c],y),(y,x)=>{e.lastIndex=x,i(y)})}s()})}wrapRangeFromIndex(e,r,n,i){this.getTextNodes(s=>{let c=s.value.length;e.forEach((l,d)=>{let{start:u,end:m,valid:y}=this.checkWhitespaceRanges(l,c,s.value);y&&this.wrapRangeInMappedTextNode(s,u,m,x=>r(x,l,s.value.substring(u,m),d),x=>{n(x,l)})}),i()})}unwrapMatches(e){let r=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));r.replaceChild(n,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let n=0,i="wrapMatches",s=c=>{n++,this.opt.each(c)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(c,l)=>this.opt.filter(l,c,n),s,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,r){this.opt=r;let n=0,i="wrapMatches",{keywords:s,length:c}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",d=u=>{let m=new RegExp(this.createRegExp(u),`gm${l}`),y=0;this.log(`Searching with expression "${m}"`),this[i](m,1,(x,v)=>this.opt.filter(v,u,n,y),x=>{y++,n++,this.opt.each(x)},()=>{y===0&&this.opt.noMatch(u),s[c-1]===u?this.opt.done(n):d(s[s.indexOf(u)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),c===0?this.opt.done(n):d(s[0])}markRanges(e,r){this.opt=r;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(s,c,l,d)=>this.opt.filter(s,c,l,d),(s,c)=>{n++,this.opt.each(s,c)},()=>{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=Pt.matches(n,r),s=this.matchesExclude(n);return!i||s?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function ba(t){let e=new kr(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 up=ba,Fs=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),hp=k`
|
|
1
|
+
"use strict";(()=>{var Al=Object.create;var Go=Object.defineProperty;var Rl=Object.getOwnPropertyDescriptor;var Nl=Object.getOwnPropertyNames;var _l=Object.getPrototypeOf,Pl=Object.prototype.hasOwnProperty;var Tl=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),j=(t,e)=>{for(var r in e)Go(t,r,{get:e[r],enumerable:!0})},Il=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Nl(e))!Pl.call(t,i)&&i!==r&&Go(t,i,{get:()=>e[i],enumerable:!(n=Rl(e,i))||n.enumerable});return t};var Ll=(t,e,r)=>(r=t!=null?Al(_l(t)):{},Il(e||!t||!t.__esModule?Go(r,"default",{value:t,enumerable:!0}):r,t));var rl=Tl(tl=>{(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 f(m){this.map={},m instanceof f?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)}f.prototype.append=function(m,x){m=c(m),x=l(x);var R=this.map[m];this.map[m]=R?R+", "+x:x},f.prototype.delete=function(m){delete this.map[c(m)]},f.prototype.get=function(m){return m=c(m),this.has(m)?this.map[m]:null},f.prototype.has=function(m){return this.map.hasOwnProperty(c(m))},f.prototype.set=function(m,x){this.map[c(m)]=l(x)},f.prototype.forEach=function(m,x){for(var R in this.map)this.map.hasOwnProperty(R)&&m.call(x,this.map[R],R,this)},f.prototype.keys=function(){var m=[];return this.forEach(function(x,R){m.push(R)}),d(m)},f.prototype.values=function(){var m=[];return this.forEach(function(x){m.push(x)}),d(m)},f.prototype.entries=function(){var m=[];return this.forEach(function(x,R){m.push([R,x])}),d(m)},n.iterable&&(f.prototype[Symbol.iterator]=f.prototype.entries);function h(m){if(m.bodyUsed)return Promise.reject(new TypeError("Already read"));m.bodyUsed=!0}function y(m){return new Promise(function(x,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 f(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 f(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 f,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 f(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 f(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 Ko="response"in W?W.response:W.responseText;R(new k(Ko,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,Ko){W.setRequestHeader(Ko,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=f,t.Request=v,t.Response=k),r.Headers=f,r.Request=v,r.Response=k,r.fetch=F,Object.defineProperty(r,"__esModule",{value:!0}),r}({})})(typeof self<"u"?self:tl)});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,f=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 $=f(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 sn={};j(sn,{CSSResult:()=>Mt,LitElement:()=>We,ReactiveElement:()=>_e,_$LE:()=>op,_$LH:()=>ep,adoptStyles:()=>no,css:()=>I,defaultConverter:()=>io,getCompatibleStyle:()=>br,html:()=>z,isServer:()=>_u,noChange:()=>Xe,notEqual:()=>en,nothing:()=>V,render:()=>an,supportsAdoptingStyleSheets:()=>gr,svg:()=>Ql,unsafeCSS:()=>xt});var jr=globalThis,Kr=jr.ShadowRoot&&(jr.ShadyCSS===void 0||jr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ea=Symbol(),Oa=new WeakMap,Vr=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Ea)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=Oa.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Oa.set(r,e))}return e}toString(){return this.cssText}},Ca=t=>new Vr(typeof t=="string"?t:t+"",void 0,Ea);var Zo=(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 Ca(r)})(t):t;var{is:$l,defineProperty:kl,getOwnPropertyDescriptor:Dl,getOwnPropertyNames:Ml,getOwnPropertySymbols:Ul,getPrototypeOf:Bl}=Object,Zr=globalThis,wa=Zr.trustedTypes,Fl=wa?wa.emptyScript:"",Wl=Zr.reactiveElementPolyfillSupport,dr=(t,e)=>t,ur={toAttribute(t,e){switch(e){case Boolean:t=t?Fl: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)=>!$l(t,e),Aa={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=Aa){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&&kl(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=Dl(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)??Aa}static _$Ei(){if(this.hasOwnProperty(dr("elementProperties")))return;let e=Bl(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=[...Ml(r),...Ul(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 Zo(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,Wl?.({ReactiveElement:ft}),(Zr.reactiveElementVersions??=[]).push("2.0.2");var Yo=globalThis,Yr=Yo.trustedTypes,Ra=Yr?Yr.createPolicy("lit-html",{createHTML:t=>t}):void 0,Xo="$lit$",Be=`lit$${(Math.random()+"").slice(9)}$`,Jo="?"+Be,Hl=`<${Jo}>`,yt=document,Xr=()=>yt.createComment(""),hr=t=>t===null||typeof t!="object"&&typeof t!="function",La=Array.isArray,$a=t=>La(t)||typeof t?.[Symbol.iterator]=="function",qo=`[
|
|
2
|
+
\f\r]`,fr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Na=/-->/g,_a=/>/g,ht=RegExp(`>|${qo}(?:([^\\s"'>=/]+)(${qo}*=${qo}*(?:[^
|
|
3
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Pa=/'/g,Ta=/"/g,ka=/^(?:script|style|textarea|title)$/i,Da=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),Ma=Da(1),Ua=Da(2),me=Symbol.for("lit-noChange"),X=Symbol.for("lit-nothing"),Ia=new WeakMap,mt=yt.createTreeWalker(yt,129);function Ba(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ra!==void 0?Ra.createHTML(e):e}var Fa=(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,f,h=-1,y=0;for(;y<l.length&&(s.lastIndex=y,f=s.exec(l),f!==null);)y=s.lastIndex,s===fr?f[1]==="!--"?s=Na:f[1]!==void 0?s=_a:f[2]!==void 0?(ka.test(f[2])&&(i=RegExp("</"+f[2],"g")),s=ht):f[3]!==void 0&&(s=ht):s===ht?f[0]===">"?(s=i??fr,h=-1):f[1]===void 0?h=-2:(h=s.lastIndex-f[2].length,d=f[1],s=f[3]===void 0?ht:f[3]==='"'?Ta:Pa):s===Ta||s===Pa?s=ht:s===Na||s===_a?s=fr:(s=ht,i=void 0);let g=s===ht&&t[c+1].startsWith("/>")?" ":"";a+=s===fr?l+Hl:h>=0?(n.push(d),l.slice(0,h)+Xo+l.slice(h)+Be+g):l+Be+(h===-2?c:g)}return[Ba(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,f]=Fa(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(Xo)){let y=f[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(ka.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===Jo)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===me)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!==me&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):$a(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(Ba(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=Ia.get(e.strings);return r===void 0&&Ia.set(e.strings,r=new mr(e)),r}T(e){La(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!==me,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===me&&(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)===me)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)}},Wa={j:Xo,P:Be,A:Jo,C:1,M:Fa,L:Jr,R:$a,V:gt,D:yr,I:bt,H:eo,N:to,U:Qr,B:ro},zl=Yo.litHtmlPolyfillSupport;zl?.(mr,yr),(Yo.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,Qo=Symbol(),Ha=new WeakMap,Mt=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Qo)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=Ha.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Ha.set(r,e))}return e}toString(){return this.cssText}},xt=t=>new Mt(typeof t=="string"?t:t+"",void 0,Qo),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 Mt(r,t,Qo)},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:Vl,getOwnPropertyDescriptor:Kl,getOwnPropertyNames:Gl,getOwnPropertySymbols:Zl,getPrototypeOf:ql}=Object,ao=globalThis,za=ao.trustedTypes,Yl=za?za.emptyScript:"",Xl=ao.reactiveElementPolyfillSupport,xr=(t,e)=>t,io={toAttribute(t,e){switch(e){case Boolean:t=t?Yl: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}},en=(t,e)=>!jl(t,e),ja={attribute:!0,type:String,converter:io,reflect:!1,hasChanged:en};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=ja){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&&Vl(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:a}=Kl(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)??ja}static _$Ei(){if(this.hasOwnProperty(xr("elementProperties")))return;let e=ql(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=[...Gl(r),...Zl(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??en)(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,Xl?.({ReactiveElement:_e}),(ao.reactiveElementVersions??=[]).push("2.0.2");var rn=globalThis,so=rn.trustedTypes,Va=so?so.createPolicy("lit-html",{createHTML:t=>t}):void 0,on="$lit$",Fe=`lit$${(Math.random()+"").slice(9)}$`,nn="?"+Fe,Jl=`<${nn}>`,Ot=document,Sr=()=>Ot.createComment(""),Or=t=>t===null||typeof t!="object"&&typeof t!="function",Xa=Array.isArray,Ja=t=>Xa(t)||typeof t?.[Symbol.iterator]=="function",tn=`[
|
|
4
|
+
\f\r]`,vr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ka=/-->/g,Ga=/>/g,vt=RegExp(`>|${tn}(?:([^\\s"'>=/]+)(${tn}*=${tn}*(?:[^
|
|
5
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Za=/'/g,qa=/"/g,Qa=/^(?:script|style|textarea|title)$/i,es=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),z=es(1),Ql=es(2),Xe=Symbol.for("lit-noChange"),V=Symbol.for("lit-nothing"),Ya=new WeakMap,St=Ot.createTreeWalker(Ot,129);function ts(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Va!==void 0?Va.createHTML(e):e}var rs=(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,f,h=-1,y=0;for(;y<l.length&&(s.lastIndex=y,f=s.exec(l),f!==null);)y=s.lastIndex,s===vr?f[1]==="!--"?s=Ka:f[1]!==void 0?s=Ga:f[2]!==void 0?(Qa.test(f[2])&&(i=RegExp("</"+f[2],"g")),s=vt):f[3]!==void 0&&(s=vt):s===vt?f[0]===">"?(s=i??vr,h=-1):f[1]===void 0?h=-2:(h=s.lastIndex-f[2].length,d=f[1],s=f[3]===void 0?vt:f[3]==='"'?qa:Za):s===qa||s===Za?s=vt:s===Ka||s===Ga?s=vr:(s=vt,i=void 0);let g=s===vt&&t[c+1].startsWith("/>")?" ":"";a+=s===vr?l+Jl:h>=0?(n.push(d),l.slice(0,h)+on+l.slice(h)+Fe+g):l+Fe+(h===-2?c:g)}return[ts(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,f]=rs(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(on)){let y=f[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(Qa.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===nn)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):Ja(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(ts(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=Ya.get(e.strings);return r===void 0&&Ya.set(e.strings,r=new Er(e)),r}T(e){Xa(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)}},ep={j:on,P:Fe,A:nn,C:1,M:rs,L:co,R:Ja,V:Et,D:Ut,I:Ct,H:po,N:uo,U:lo,B:fo},tp=rn.litHtmlPolyfillSupport;tp?.(Er,Ut),(rn.litHtmlVersions??=[]).push("3.1.0");var an=(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=an(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 rp=globalThis.litElementPolyfillSupport;rp?.({LitElement:We});var op={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var _u=!1;var pn={};j(pn,{customElement:()=>cn,eventOptions:()=>Bt,property:()=>w,query:()=>ie,queryAll:()=>ap,queryAssignedElements:()=>cp,queryAssignedNodes:()=>ln,queryAsync:()=>sp,standardProperty:()=>os,state:()=>re});var cn=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var np={attribute:!0,type:String,converter:ur,reflect:!1,hasChanged:qr},os=(t=np,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 w(t){return(e,r)=>typeof r=="object"?os(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 w({...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 ip;function ap(t){return(e,r)=>Ee(e,r,{get(){return(this.renderRoot??(ip??=document.createDocumentFragment())).querySelectorAll(t)}})}function sp(t){return(e,r)=>Ee(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function cp(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 ln(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 un={};j(un,{repeat:()=>dn});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:lp}=Wa;var ns=()=>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(ns(),i),s=n.insertBefore(ns(),i);r=new lp(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),pp={},is=(t,e=pp)=>t._$AH=e,as=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 ss=(t,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},dn=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=as(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,f,h=0,y=i.length-1,g=0,b=a.length-1;for(;h<=y&&g<=b;)if(i[h]===null)h++;else if(i[y]===null)y--;else if(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=ss(s,g,b),f=ss(c,h,y)),d.has(c[h]))if(d.has(c[y])){let O=f.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,is(t,l),me}});var fn={};j(fn,{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 me}});var hn={};j(hn,{styleMap:()=>up});var cs="important",dp=" !"+cs,up=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(dp);n.includes("-")||a?r.setProperty(n,a?i.slice(0,-11):i,a?cs:""):r[n]=i}}return me}});var yn={};j(yn,{UnsafeHTMLDirective:()=>Wt,unsafeHTML:()=>mn});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===me)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 mn=Qe(Wt);var bn={};j(bn,{CacheRegistry:()=>Te});var gn={};j(gn,{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 vn={};j(vn,{ClusteringHelper:()=>xn});var xn=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,f,h)=>h.findIndex(y=>y.value===d.value)===f).map(d=>({result:this.findBestResultForMetadataValue(e,d.value),metadata:d})).sort((d,f)=>this.compareMetadata(d.metadata.value,f.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 Sn={};j(Sn,{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 En={};j(En,{customElement:()=>Q,isNumber:()=>us,jsonProperty:()=>Ie,optionalNumberProperty:()=>xp});var On={};j(On,{dateReviver:()=>hp,deepEqual:()=>Ce,delay:()=>yo,eventPathContainsMatchingElement:()=>yp,flatDeep:()=>ps,hasChanged:()=>Cr,last:()=>bp,minmax:()=>gp,parseDate:()=>ds,waitFor:()=>ls,waitUntil:()=>fp});var yo=t=>new Promise(e=>setTimeout(e,t));async function fp(t,e=10,r=2e4){await ls(async()=>await t()||void 0,e,r)}async function ls(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 ps(t,e){return t.flatMap(r=>[r,...ps(e(r),e)])}function hp(...t){return function(e,r){return t.includes(e)?ds(r):r}}function ds(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 mp(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,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 mp(t,e)}catch{return!1}}function Cr(t,e){return!Ce(t,e)}function yp(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 gp(t,e,r){return Math.min(Math.max(t,e),r)}function bp(t){return t[t.length-1]}var Q=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)};function Ie(t,e){let r=()=>JSON.parse(JSON.stringify(t));return w({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 xp(t){return w({type:Object,converter:{fromAttribute:e=>{if(e!=null)return us(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...t??{}})}function us(t){return!isNaN(parseFloat(t))}var Jn={};j(Jn,{designSystemVariables:()=>M});var Xn={};j(Xn,{DesignSystemFamily:()=>At,DesignSystemSize:()=>ze,FtCssVariableFactory:()=>o,badge:()=>Cp,banner:()=>Ep,breadcrumb:()=>wp,button:()=>C,chart:()=>Up,checkbox:()=>Fp,chip:()=>Sp,collapsible:()=>Dp,comboboxMultiSelect:()=>$p,comboboxSingleSelect:()=>Lp,drawer:()=>Np,floatingMenu:()=>Ip,foundation:()=>p,link:()=>Op,modal:()=>Rp,notice:()=>Bp,notification:()=>zp,pageHeader:()=>Ap,popover:()=>kp,radio:()=>Hp,resolveFamilyClass:()=>qn,resolveSizeClass:()=>Yn,semantic:()=>u,setVariable:()=>L,switch_:()=>Mp,tabs:()=>_p,textArea:()=>Tp,textInput:()=>Pp,toggle:()=>Wp,tooltip:()=>jp,typographies:()=>wr,typographyBody1Medium:()=>_n,typographyBody1Regular:()=>Nn,typographyBody1Semibold:()=>Pn,typographyBody2Medium:()=>In,typographyBody2MediumUnderline:()=>fs,typographyBody2Regular:()=>Tn,typographyBody2Semibold:()=>Ln,typographyCaption1Bold:()=>Hn,typographyCaption1Medium:()=>Fn,typographyCaption1Semibold:()=>Wn,typographyCaption2Bold:()=>Vn,typographyCaption2Medium:()=>zn,typographyCaption2Semibold:()=>jn,typographyCaption3Bold:()=>Zn,typographyCaption3Medium:()=>Kn,typographyCaption3Semibold:()=>Gn,typographyDisplay:()=>Cn,typographyLabel1Bold:()=>Dn,typographyLabel1Medium:()=>$n,typographyLabel1Semibold:()=>kn,typographyLabel2Bold:()=>Bn,typographyLabel2Medium:()=>Mn,typographyLabel2Semibold:()=>Un,typographyTitle1:()=>wn,typographyTitle2:()=>An,typographyTitle3:()=>Rn,typographyVariants:()=>vp});var He=t=>typeof t=="string"?xt(t):t,o=class{static create(e,r,n,i){let a=c=>He(c??i),s=I`var(${He(e)}, ${a(i)})`;return s.name=e,s.description=r,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=c=>I`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=I`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=>I`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=I`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=>I`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)")},Cn={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")},wn={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")},An={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")},Rn={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")},Nn={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")},_n={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")},Pn={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")},Tn={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")},In={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")},fs={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")},Ln={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")},$n={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")},kn={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")},Dn={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")},Mn={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")},Un={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")},Bn={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")},Fn={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")},Wn={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")},Hn={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")},zn={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")},Vn={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Kn={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Gn={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")},Zn={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:Cn,"title-1":wn,"title-2":An,"title-3":Rn,"body-1-regular":Nn,"body-1-medium":_n,"body-1-semibold":Pn,"body-2-regular":Tn,"body-2-medium":In,"body-2-medium-underline":fs,"body-2-semibold":Ln,"label-1-medium":$n,"label-1-semibold":kn,"label-1-bold":Dn,"label-2-medium":Mn,"label-2-semibold":Un,"label-2-bold":Bn,"caption-1-medium":Fn,"caption-1-semibold":Wn,"caption-1-bold":Hn,"caption-2-medium":zn,"caption-2-semibold":jn,"caption-2-bold":Vn,"caption-3-medium":Kn,"caption-3-semibold":Gn,"caption-3-bold":Zn},vp=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var u={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",p.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",p.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",p.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",p.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",p.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",p.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",p.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",p.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",p.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",p.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",p.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",p.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",p.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",p.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",p.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",p.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",p.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",p.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
6
|
+
Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",p.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",p.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",p.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",p.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",p.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",p.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",p.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",p.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",p.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",p.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",p.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",p.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",p.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",p.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",p.colorGray80)};var C={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",p.spacing4),largeGap:o.extend("--ft-button-large-gap","",p.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",p.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",p.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",p.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",p.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",p.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",p.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",p.spacing2),smallGap:o.extend("--ft-button-small-gap","",p.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",p.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",p.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",p.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",p.borderRadiusPill),primaryBackgroundColor:o.extend("--ft-button-primary-background-color","",u.backgroundActionPrimary),primaryColor:o.extend("--ft-button-primary-color","",u.contentGlobalOnColor),primaryIconColor:o.extend("--ft-button-primary-icon-color","",u.contentGlobalOnColor),primaryStateLayerColor:o.extend("--ft-button-primary-state-layer-color","",u.contentGlobalOnColor),primaryHoverStateLayerOpacity:o.extend("--ft-button-primary-hover-state-layer-opacity","",p.opacity16),primaryFocusStateLayerOpacity:o.extend("--ft-button-primary-focus-state-layer-opacity","",p.opacity16),primaryActiveStateLayerOpacity:o.extend("--ft-button-primary-active-state-layer-opacity","",p.opacity24),primaryDisabledComponentOpacity:o.extend("--ft-button-primary-disabled-component-opacity","",p.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBackgroundColor:o.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:o.extend("--ft-button-tertiary-color","",u.contentActionPrimary),tertiaryIconColor:o.extend("--ft-button-tertiary-icon-color","",u.contentActionPrimary),tertiaryStateLayerColor:o.extend("--ft-button-tertiary-state-layer-color","",u.contentActionPrimary),tertiaryHoverStateLayerOpacity:o.extend("--ft-button-tertiary-hover-state-layer-opacity","",p.opacity8),tertiaryFocusStateLayerOpacity:o.extend("--ft-button-tertiary-focus-state-layer-opacity","",p.opacity8),tertiaryActiveStateLayerOpacity:o.extend("--ft-button-tertiary-active-state-layer-opacity","",p.opacity16),tertiaryDisabledComponentOpacity:o.extend("--ft-button-tertiary-disabled-component-opacity","",p.opacity40),secondaryBackgroundColor:o.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:o.extend("--ft-button-secondary-color","",u.contentActionPrimary),secondaryIconColor:o.extend("--ft-button-secondary-icon-color","",u.contentActionPrimary),secondaryStateLayerColor:o.extend("--ft-button-secondary-state-layer-color","",u.contentActionPrimary),secondaryHoverStateLayerOpacity:o.extend("--ft-button-secondary-hover-state-layer-opacity","",p.opacity8),secondaryFocusStateLayerOpacity:o.extend("--ft-button-secondary-focus-state-layer-opacity","",p.opacity8),secondaryActiveStateLayerOpacity:o.extend("--ft-button-secondary-active-state-layer-opacity","",p.opacity16),secondaryDisabledComponentOpacity:o.extend("--ft-button-secondary-disabled-component-opacity","",p.opacity40),secondaryBorderColor:o.extend("--ft-button-secondary-border-color","",u.borderActionPrimary),neutralBackgroundColor:o.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:o.extend("--ft-button-neutral-icon-color","",u.contentGlobalSecondary),neutralColor:o.extend("--ft-button-neutral-color","",u.contentGlobalSecondary),neutralStateLayerColor:o.extend("--ft-button-neutral-state-layer-color","",u.contentGlobalSecondary),neutralHoverStateLayerOpacity:o.extend("--ft-button-neutral-hover-state-layer-opacity","",p.opacity8),neutralFocusStateLayerOpacity:o.extend("--ft-button-neutral-focus-state-layer-opacity","",p.opacity8),neutralActiveStateLayerOpacity:o.extend("--ft-button-neutral-active-state-layer-opacity","",p.opacity16),neutralDisabledComponentOpacity:o.extend("--ft-button-neutral-disabled-component-opacity","",p.opacity40)};var Sp={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","",u.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)};var Op={focusOpacity:o.extend("--ft-link-focus-opacity","",p.opacity80),focusFocusRingColor:o.extend("--ft-link-focus-focus-ring-color","",u.borderActionFocusRing),brandColor:o.extend("--ft-link-brand-color","",u.contentActionPrimary),infoColor:o.extend("--ft-link-info-color","",u.contentInfoPrimary)};var Ep={iconSize:o.extend("--ft-banner-icon-size","",p.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",p.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",p.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",p.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",p.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",p.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",p.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",p.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",u.borderInfoSubtle)};var Cp={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",p.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",p.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",p.borderRadiusPill),color:o.extend("--ft-badge-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",u.contentActionPrimary)};var wp={horizontalGap:o.extend("--ft-breadcrumb-horizontal-gap","",p.spacing1),verticalGap:o.extend("--ft-breadcrumb-vertical-gap","",p.spacing2),currentColor:o.extend("--ft-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:o.extend("--ft-breadcrumb-icon-color","",u.contentGlobalSubtle)};var Ap={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","",u.borderGlobalSubtle),titleColor:o.extend("--ft-page-header-title-color","",u.contentGlobalPrimary),subtitleColor:o.extend("--ft-page-header-subtitle-color","",u.contentGlobalSecondary)};var Rp={smallContainerWidth:o.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:o.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",p.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",p.opacity40),shadow:o.extend("--ft-modal-shadow","",p.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",p.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",p.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",p.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",p.spacing6),containerMargin:o.extend("--ft-modal-container-margin","",p.spacing3),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-modal-header-trailing-icon-color","",u.contentGlobalSecondary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",p.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",p.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",p.spacing6),headerGap:o.extend("--ft-modal-header-gap","",p.spacing2),headerBorderBottom:o.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",p.borderRadiusM)};var Np={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",p.opacity40),shadow:o.extend("--ft-drawer-shadow","",p.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",p.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",p.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",p.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",p.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",p.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",p.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",p.spacing4),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",p.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",p.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",p.colorGray700)};var _p={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","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:o.extend("--ft-tabs-off-border-bottom-color","",u.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","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ft-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",p.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",p.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",p.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",p.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var Pp={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",p.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",p.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",p.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",p.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",p.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",p.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",p.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",p.opacity40)};var Tp={backgroundColor:o.extend("--ft-text-area-background-color","",p.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",p.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",p.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",p.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",p.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",p.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",p.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",p.borderRadiusM)};var Ip={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",p.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",p.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",p.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",p.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",p.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",p.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",p.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:o.extend("--ft-floating-menu-shadow","",p.shadowElevation02)};var Lp={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",p.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",p.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",p.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",p.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",p.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",p.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",p.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",p.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",p.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",p.opacity40)};var $p={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",p.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",p.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",p.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",p.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",p.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",p.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",p.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",p.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",p.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",p.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",p.borderRadiusM)};var kp={backgroundColor:o.extend("--ft-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",p.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",p.spacing6),titleColor:o.extend("--ft-popover-title-color","",u.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",u.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",u.contentActionPrimary),gap:o.extend("--ft-popover-gap","",p.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",p.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",p.shadowElevation02)};var Dp={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",p.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",p.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",p.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",p.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",p.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",p.spacing3),color:o.extend("--ft-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",p.iconSize3)};var Mp={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",p.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",p.spacing1),groupGap:o.extend("--ft-switch-group-gap","",p.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",p.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",p.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",p.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",p.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",p.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",p.opacity40),offColor:o.extend("--ft-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",p.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",p.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",p.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",p.opacity40),onColor:o.extend("--ft-switch-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",p.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",p.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",p.borderRadiusS)};var Up={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 Bp={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",p.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",p.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",p.borderRadiusS),gap:o.extend("--ft-notice-gap","",p.spacing2),iconSize:o.extend("--ft-notice-icon-size","",p.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly)};var Fp={color:o.extend("--ft-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",p.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",p.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",p.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",p.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",p.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",p.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",p.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",p.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",p.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",p.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-checkbox-gap","",p.spacing3)};var Wp={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",p.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",p.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",p.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",p.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",p.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",p.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",p.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",p.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:o.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",p.spacing3)};var Hp={color:o.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",p.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",p.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",p.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",p.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",p.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",p.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",p.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",p.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",p.spacing3)};var zp={iconSize:o.extend("--ft-notification-icon-size","",p.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",p.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",p.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",p.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",u.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",p.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",p.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",p.spacing8)};var jp={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",p.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",p.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",p.borderRadiusS),color:o.extend("--ft-tooltip-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",p.opacity80),shadow:o.extend("--ft-tooltip-shadow","",p.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 qn(t){return`ftds--family-${t}`}function Yn(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 ri={};j(ri,{FtNotificationEvent:()=>Qn,PostResizeEvent:()=>ti,PreResizeEvent:()=>ei});var Qn=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},ei=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},ti=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var hi={};j(hi,{computeOffsetPosition:()=>fi});var ms=["top","right","bottom","left"],hs=["start","end"],ni=ms.reduce((t,e)=>t.concat(e,e+"-"+hs[0],e+"-"+hs[1]),[]),Ar=Math.min,tt=Math.max,Rr=Math.round;var je=t=>({x:t,y:t}),Vp={left:"right",right:"left",bottom:"top",top:"bottom"},Kp={start:"end",end:"start"};function ii(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 ai(t){return t==="x"?"y":"x"}function si(t){return t==="y"?"height":"width"}function bo(t){return["top","bottom"].includes(jt(t))?"y":"x"}function ci(t){return ai(bo(t))}function ys(t,e,r){r===void 0&&(r=!1);let n=rt(t),i=ci(t),a=si(i),s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=oi(s)),[s,oi(s)]}function gs(t){return t.replace(/start|end/g,e=>Kp[e])}function oi(t){return t.replace(/left|right|bottom|top/g,e=>Vp[e])}function Gp(t){return{top:0,right:0,bottom:0,left:0,...t}}function bs(t){return typeof t!="number"?Gp(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 xs(t,e,r){let{reference:n,floating:i}=t,a=bo(e),s=ci(e),c=si(s),l=jt(e),d=a==="y",f=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:f,y:n.y-i.height};break;case"bottom":g={x:f,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:h};break;case"left":g={x:n.x-i.width,y:h};break;default:g={x:n.x,y:n.y}}switch(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 vs=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:f,y:h}=xs(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:f,y:h,initialPlacement:n,placement:y,strategy:i,middlewareData:g,rects:d,platform:s,elements:{reference:t,floating:e}});if(f=P??f,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:f,y:h}=xs(d,y,l)),O=-1;continue}}return{x:f,y:h,placement:y,strategy:i,middlewareData:g}};async function li(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:f="viewport",elementContext:h="floating",altBoundary:y=!1,padding:g=0}=go(e,t),b=bs(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:f,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 Zp(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?gs(i)!==i:!1):!0)}var pi=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:f=!1,alignment:h,allowedPlacements:y=ni,autoAlignment:g=!0,...b}=go(t,e),O=h!==void 0||y===ni?Zp(h||null,g,y):y,N=await li(e,b),_=((r=s.autoPlacement)==null?void 0:r.index)||0,P=O[_];if(P==null)return{};let S=ys(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&&f?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 di=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},f=await li(e,l),h=bo(jt(i)),y=ai(h),g=d[y],b=d[h];if(a){let N=y==="y"?"top":"left",_=y==="y"?"bottom":"right",P=g+f[N],S=g-f[_];g=ii(P,g,S)}if(s){let N=h==="y"?"top":"left",_=h==="y"?"bottom":"right",P=b+f[N],S=b-f[_];b=ii(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 Os(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=(Os(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Os(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 Ss(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}=ye(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function Es(t){return["table","td","th"].includes(Ve(t))}function vo(t){let e=So(),r=ye(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 Cs(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 ye(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||Ss(t)&&t.host||Ke(t);return Ss(e)?e.host:e}function ws(t){let e=Nt(t);return Nr(e)?t.ownerDocument?t.ownerDocument.body:t.body:we(e)&&Vt(e)?e:ws(e)}function xo(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=ws(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 Ns(t){let e=ye(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 _s(t){return Le(t)?t:t.contextElement}function Kt(t){let e=_s(t);if(!we(e))return je(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:a}=Ns(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 qp=je(0);function Ps(t){let e=de(t);return!So()||!e.visualViewport?qp:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Yp(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=_s(t),s=je(1);e&&(n?Le(n)&&(s=Kt(n)):s=Kt(t));let c=Yp(a,r,n)?Ps(a):je(0),l=(i.left+c.x)/s.x,d=(i.top+c.y)/s.y,f=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(),_=ye(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,f*=O.x,h*=O.y,l+=P,d+=S,b=de(b).frameElement}}return Rt({width:f,height:h,x:l,y:d})}function Xp(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 Jp(t){return Array.from(t.getClientRects())}function Ts(t){return Pr(Ke(t)).left+_r(t).scrollLeft}function Qp(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+Ts(t),c=-r.scrollTop;return ye(n).direction==="rtl"&&(s+=tt(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:c}}function ed(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 td(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 As(t,e,r){let n;if(e==="viewport")n=ed(t,r);else if(e==="document")n=Qp(Ke(t));else if(Le(e))n=td(e,r);else{let i=Ps(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return Rt(n)}function Is(t,e){let r=Nt(t);return r===e||!Le(r)||Nr(r)?!1:ye(r).position==="fixed"||Is(r,e)}function rd(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=ye(t).position==="fixed",s=a?Nt(t):t;for(;Le(s)&&!Nr(s);){let c=ye(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&&Is(t,s))?n=n.filter(f=>f!==s):i=c,s=Nt(s)}return e.set(t,n),n}function od(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,s=[...r==="clippingAncestors"?rd(e,this._c):[].concat(r),n],c=s[0],l=s.reduce((d,f)=>{let h=As(e,f,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},As(e,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function nd(t){return Ns(t)}function id(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=Ts(i));return{x:s.left+c.scrollLeft-l.x,y:s.top+c.scrollTop-l.y,width:s.width,height:s.height}}function Rs(t,e){return!we(t)||ye(t).position==="fixed"?null:e?e(t):t.offsetParent}function Ls(t,e){let r=de(t);if(!we(t))return r;let n=Rs(t,e);for(;n&&Es(n)&&ye(n).position==="static";)n=Rs(n,e);return n&&(Ve(n)==="html"||Ve(n)==="body"&&ye(n).position==="static"&&!vo(n))?r:n||Cs(t)||r}var ad=async function(t){let{reference:e,floating:r,strategy:n}=t,i=this.getOffsetParent||Ls,a=this.getDimensions;return{reference:id(e,await i(r),n),floating:{x:0,y:0,...await a(r)}}};function sd(t){return ye(t).direction==="rtl"}var Oo={convertOffsetParentRelativeRectToViewportRelativeRect:Xp,getDocumentElement:Ke,getClippingRect:od,getOffsetParent:Ls,getElementRects:ad,getClientRects:Jp,getDimensions:nd,getScale:Kt,isElement:Le,isRTL:sd};var $s=(t,e,r)=>{let n=new Map,i={platform:Oo,...r},a={...i.platform,_c:n};return vs(t,e,{...i,platform:a})};function ks(t){return cd(t)}function ui(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function cd(t){for(let e=t;e;e=ui(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=ui(t);e;e=ui(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 fi(t,e,r){return $s(t,e,{platform:{...Oo,getOffsetParent:n=>Oo.getOffsetParent(n,ks)},middleware:[di({crossAxis:!0}),pi({allowedPlacements:[r]})]})}var bi={};j(bi,{FtdsBase:()=>gi,toFtdsBase:()=>wo});var yi={};j(yi,{FtLitElement:()=>H});var mi={};j(mi,{ScopedRegistryLitElement:()=>Tr});var Eo=window,ld=Eo.ShadowRoot&&(Eo.ShadyCSS===void 0||Eo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Dy=Symbol();var Ds=(t,e)=>{ld?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 Ds(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},Bs,Ms=Symbol("constructorPrototype"),Us=Symbol("constructorName"),Fs=Symbol("exportpartsDebouncer"),H=class extends Tr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Bs]=new pe(5),this[Us]=this.constructor.name,this[Ms]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Us]&&Object.setPrototypeOf(this,this[Ms])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(e){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",e)}this.importDynamicDependencies()}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var r,n,i;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(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[Fs].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 f=new Set;for(let y of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let g=(a=(i=y.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],b=(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=>f.add(O))}if(f.size===0){this.removeAttribute("exportparts");return}let h=[...f.values()].flatMap(y=>d.map(g=>`${y}:${g}--${y}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};Bs=Fs;Co([w()],H.prototype,"exportpartsPrefix",void 0);Co([Ie([])],H.prototype,"exportpartsPrefixes",void 0);Co([w()],H.prototype,"customStylesheet",void 0);Co([re()],H.prototype,"useAdoptedStyleSheets",void 0);var Ws=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{[qn(this.family)]:!0,[Yn(this.size)]:!0}}}return Ws([w()],e.prototype,"size",void 0),Ws([w()],e.prototype,"family",void 0),e}var gi=class extends wo(H){};var Hs={};var Oi={};j(Oi,{highlightHtml:()=>Si,highlightHtmlColorCssVariable:()=>zs,highlightHtmlStyles:()=>dd});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,f=>{r(d)&&(c++,n(f)),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,f,h=()=>({prevNode:f,node:d}=this.getIteratorNode(s),d);for(;h();)this.iframes&&this.forEachIframe(r,y=>this.checkIframeFilter(d,f,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,f=(n>s.end?s.end:n)-s.start,h=e.value.substr(0,s.start),y=e.value.substr(f+s.start);if(s.node=this.wrapRangeInTextNode(s.node,d,f),e.value=h+y,e.nodes.forEach((g,b)=>{b>=c&&(e.nodes[b].start>0&&b!==c&&(e.nodes[b].start-=f),e.nodes[b].end-=f)}),n-=f,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 f=d.index;if(s!==0)for(let h=1;h<s;h++)f+=d[h].length;l=this.wrapRangeInTextNode(l,f,f+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 f=d+l[s].length;this.wrapRangeInMappedTextNode(c,d,f,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:f,valid:h}=this.checkWhitespaceRanges(c,s,a.value);h&&this.wrapRangeInMappedTextNode(a,d,f,y=>r(y,c,a.value.substring(d,f),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 f=new RegExp(this.createRegExp(d),`gm${c}`),h=0;this.log(`Searching with expression "${f}"`),this[i](f,1,(y,g)=>this.opt.filter(g,d,n,h),y=>{h++,n++,this.opt.each(y)},()=>{h===0&&this.opt.noMatch(d),a[s-1]===d?this.opt.done(n):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 xi(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 pd=xi,zs=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),dd=I`
|
|
7
7
|
.highlight-html-match {
|
|
8
|
-
background: ${
|
|
8
|
+
background: ${zs};
|
|
9
9
|
}
|
|
10
|
-
`,
|
|
10
|
+
`,vi={className:"highlight-html-match"};function Si(t,e){var r;let n=t.getAttribute("data-highlight-html-query");if((n??"")!==(e??"")){let i=new pd(t);i.unmark(vi),e&&e.trim()&&(i.mark(e.replace(/"[^"]+"/g,""),{...vi,separateWordSearch:!0}),((r=e.match(/"[^"]+"/g))!==null&&r!==void 0?r:[]).forEach(s=>i.mark(s.replace(/"/g,""),{...vi,separateWordSearch:!1})))}t.setAttribute("data-highlight-html-query",e??"")}var Ci={};j(Ci,{noTextSelect:()=>Lr,safariEllipsisFix:()=>$r,wordWrap:()=>Ei});var Lr=I`
|
|
11
11
|
.ft-no-text-select {
|
|
12
12
|
-webkit-touch-callout: none;
|
|
13
13
|
-webkit-user-select: none;
|
|
@@ -16,7 +16,7 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
16
16
|
-ms-user-select: none;
|
|
17
17
|
user-select: none;
|
|
18
18
|
}
|
|
19
|
-
`,
|
|
19
|
+
`,Ei=I`
|
|
20
20
|
.ft-word-wrap {
|
|
21
21
|
white-space: normal;
|
|
22
22
|
word-wrap: break-word;
|
|
@@ -28,7 +28,7 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
28
28
|
-webkit-hyphens: auto;
|
|
29
29
|
hyphens: auto
|
|
30
30
|
}
|
|
31
|
-
`,$r=
|
|
31
|
+
`,$r=I`
|
|
32
32
|
.ft-safari-ellipsis-fix {
|
|
33
33
|
margin-right: 0;
|
|
34
34
|
|
|
@@ -39,7 +39,7 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
39
39
|
display: inline-block;
|
|
40
40
|
width: 0;
|
|
41
41
|
}
|
|
42
|
-
`;var zs={};var Ea={};V(Ea,{ParametrizedLabelResolver:()=>Dr});var Dr=class{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var n,i;e=this.resolvePluralKey(e,r);let s=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return r.forEach((c,l)=>s=s.replace(new RegExp(`\\{${l}([^}]*)\\}`,"g"),(d,u)=>this.formatValue(c,u))),s}resolvePluralKey(e,r){for(let n of r)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}formatValue(e,r){return e instanceof Date?this.formatDate(e,r):e??""}formatDate(e,r){let n=i=>r?.includes("date")?e.toLocaleDateString(i):r?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var Ya={};V(Ya,{FtCommandQueue:()=>Wr,FtLitElementRedux:()=>We,FtReduxStore:()=>ft,clearAllStores:()=>Qp,isFtReduxStore:()=>Lt,redux:()=>De,reduxEventListener:()=>mp,reduxReactive:()=>gp});var gp=()=>(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 s={hasChanged:Nr,attribute:!1,...e};R(s)(r,n);let c=r.constructor;c.reduxProperties=new Map(c.reduxProperties),c.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:l=>l[n],store:e.store})}},mp=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)};var Wr=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 Lt(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Hs,Gs,Ks,Ro=Symbol("internalReduxEventsUnsubscribers"),it=Symbol("internalStoresUnsubscribers"),_t=Symbol("internalStores"),We=class extends Z{constructor(){super(...arguments),this[Hs]=new Map,this[Gs]=new Map,this[Ks]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(r=>e.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[_t].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[_t].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[_t].get(e)}addStore(e,r){var n;r=(n=r??(Lt(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[_t].delete(r)}setupStore(e,r){this[_t].set(e,r),this.subscribeToStore(e,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[_t].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())),Lt(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,s)=>{if(typeof this[s]=="function"&&(!i.store||r.name===i.store)){let c=l=>this[s](l);r.eventBus.addEventListener(i.eventName,c),this[Ro].push(()=>r.eventBus.removeEventListener(i.eventName,c))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[it].forEach((e,r)=>this.unsubscribeFromStore(r)),this[Ro].forEach(e=>e()),this[Ro]=[]}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()}};Hs=it,Gs=_t,Ks=Ro;We.reduxProperties=new Map;We.reduxReactiveProperties=new Set;We.reduxEventListeners=new Map;function Ce(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];if(0)var i,s;throw Error("[Immer] minified error nr: "+t+(r.length?" "+r.map(function(c){return"'"+c+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Xe(t){return!!t&&!!t[q]}function Re(t){var e;return!!t&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===Ep}(t)||Array.isArray(t)||!!t[Js]||!!(!((e=t.constructor)===null||e===void 0)&&e[Js])||Ta(t)||ka(t))}function Tt(t,e,r){r===void 0&&(r=!1),Xt(t)===0?(r?Object.keys:Yt)(t).forEach(function(n){r&&typeof n=="symbol"||e(n,t[n],t)}):t.forEach(function(n,i){return e(i,n,t)})}function Xt(t){var e=t[q];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:Ta(t)?2:ka(t)?3:0}function qt(t,e){return Xt(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function yp(t,e){return Xt(t)===2?t.get(e):t[e]}function Qs(t,e,r){var n=Xt(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function ec(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function Ta(t){return Op&&t instanceof Map}function ka(t){return Cp&&t instanceof Set}function st(t){return t.o||t.t}function Ua(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=oc(t);delete e[q];for(var r=Yt(e),n=0;n<r.length;n++){var i=r[n],s=e[i];s.writable===!1&&(s.writable=!0,s.configurable=!0),(s.get||s.set)&&(e[i]={configurable:!0,writable:!0,enumerable:s.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),e)}function $a(t,e){return e===void 0&&(e=!1),Da(t)||Xe(t)||!Re(t)||(Xt(t)>1&&(t.set=t.add=t.clear=t.delete=bp),Object.freeze(t),e&&Tt(t,function(r,n){return $a(n,!0)},!0)),t}function bp(){Ce(2)}function Da(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function Be(t){var e=_a[t];return e||Ce(18,t),e}function xp(t,e){_a[t]||(_a[t]=e)}function Ia(){return Mr}function wa(t,e){e&&(Be("Patches"),t.u=[],t.s=[],t.v=e)}function Io(t){Pa(t),t.p.forEach(vp),t.p=null}function Pa(t){t===Mr&&(Mr=t.l)}function Zs(t){return Mr={p:[],l:Mr,h:t,m:!0,_:0}}function vp(t){var e=t[q];e.i===0||e.i===1?e.j():e.g=!0}function Na(t,e){e._=e.p.length;var r=e.p[0],n=t!==void 0&&t!==r;return e.h.O||Be("ES5").S(e,t,n),n?(r[q].P&&(Io(e),Ce(4)),Re(t)&&(t=Po(e,t),e.l||Lo(e,t)),e.u&&Be("Patches").M(r[q].t,t,e.u,e.s)):t=Po(e,r,[]),Io(e),e.u&&e.v(e.u,e.s),t!==rc?t:void 0}function Po(t,e,r){if(Da(e))return e;var n=e[q];if(!n)return Tt(e,function(l,d){return Vs(t,n,e,l,d,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=Ua(n.k):n.o,s=i,c=!1;n.i===3&&(s=new Set(i),i.clear(),c=!0),Tt(s,function(l,d){return Vs(t,n,i,l,d,r,c)}),Lo(t,i,!1),r&&t.u&&Be("Patches").N(n,r,t.u,t.s)}return n.o}function Vs(t,e,r,n,i,s,c){if(Xe(i)){var l=Po(t,i,s&&e&&e.i!==3&&!qt(e.R,n)?s.concat(n):void 0);if(Qs(r,n,l),!Xe(l))return;t.m=!1}else c&&r.add(i);if(Re(i)&&!Da(i)){if(!t.h.D&&t._<1)return;Po(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&&$a(e,r)}function Aa(t,e){var r=t[q];return(r?st(r):t)[e]}function js(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 ct(t){t.P||(t.P=!0,t.l&&ct(t.l))}function Ra(t){t.o||(t.o=Ua(t.t))}function La(t,e,r){var n=Ta(e)?Be("MapSet").F(e,r):ka(e)?Be("MapSet").T(e,r):t.O?function(i,s){var c=Array.isArray(i),l={i:c?1:0,A:s?s.A:Ia(),P:!1,I:!1,R:{},l:s,t:i,k:null,o:null,j:null,C:!1},d=l,u=Fr;c&&(d=[l],u=Br);var m=Proxy.revocable(d,u),y=m.revoke,x=m.proxy;return l.k=x,l.j=y,x}(e,r):Be("ES5").J(e,r);return(r?r.A:Ia()).p.push(n),n}function Sp(t){return Xe(t)||Ce(22,t),function e(r){if(!Re(r))return r;var n,i=r[q],s=Xt(r);if(i){if(!i.P&&(i.i<4||!Be("ES5").K(i)))return i.t;i.I=!0,n=qs(r,s),i.I=!1}else n=qs(r,s);return Tt(n,function(c,l){i&&yp(i.t,c)===l||Qs(n,c,e(l))}),s===3?new Set(n):n}(t)}function qs(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Ua(t)}function tc(){function t(c,l){var d=s[c];return d?d.enumerable=l:s[c]=d={configurable:!0,enumerable:l,get:function(){var u=this[q];return Fr.get(u,c)},set:function(u){var m=this[q];Fr.set(m,c,u)}},d}function e(c){for(var l=c.length-1;l>=0;l--){var d=c[l][q];if(!d.P)switch(d.i){case 5:n(d)&&ct(d);break;case 4:r(d)&&ct(d)}}}function r(c){for(var l=c.t,d=c.k,u=Yt(d),m=u.length-1;m>=0;m--){var y=u[m];if(y!==q){var x=l[y];if(x===void 0&&!qt(l,y))return!0;var v=d[y],S=v&&v[q];if(S?S.t!==x:!ec(v,x))return!0}}var w=!!l[q];return u.length!==Yt(l).length+(w?0:1)}function n(c){var l=c.k;if(l.length!==c.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var u=0;u<l.length;u++)if(!l.hasOwnProperty(u))return!0;return!1}function i(c){c.g&&Ce(3,JSON.stringify(st(c)))}var s={};xp("ES5",{J:function(c,l){var d=Array.isArray(c),u=function(y,x){if(y){for(var v=Array(x.length),S=0;S<x.length;S++)Object.defineProperty(v,""+S,t(S,!0));return v}var w=oc(x);delete w[q];for(var P=Yt(w),L=0;L<P.length;L++){var T=P[L];w[T]=t(T,y||!!w[T].enumerable)}return Object.create(Object.getPrototypeOf(x),w)}(d,c),m={i:d?5:4,A:l?l.A:Ia(),P:!1,I:!1,R:{},l,t:c,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,q,{value:m,writable:!0}),u},S:function(c,l,d){d?Xe(l)&&l[q].A===c&&e(c.p):(c.u&&function u(m){if(m&&typeof m=="object"){var y=m[q];if(y){var x=y.t,v=y.k,S=y.R,w=y.i;if(w===4)Tt(v,function(C){C!==q&&(x[C]!==void 0||qt(x,C)?S[C]||u(v[C]):(S[C]=!0,ct(y)))}),Tt(x,function(C){v[C]!==void 0||qt(v,C)||(S[C]=!1,ct(y))});else if(w===5){if(n(y)&&(ct(y),S.length=!0),v.length<x.length)for(var P=v.length;P<x.length;P++)S[P]=!1;else for(var L=x.length;L<v.length;L++)S[L]=!0;for(var T=Math.min(v.length,x.length),E=0;E<T;E++)v.hasOwnProperty(E)||(S[E]=!0),S[E]===void 0&&u(v[E])}}}}(c.p[0]),e(c.p))},K:function(c){return c.i===4?r(c):n(c)}})}var Ys,Mr,Wa=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Op=typeof Map<"u",Cp=typeof Set<"u",Xs=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",rc=Wa?Symbol.for("immer-nothing"):((Ys={})["immer-nothing"]=!0,Ys),Js=Wa?Symbol.for("immer-draftable"):"__$immer_draftable",q=Wa?Symbol.for("immer-state"):"__$immer_state";var Ep=""+Object.prototype.constructor,Yt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,oc=Object.getOwnPropertyDescriptors||function(t){var e={};return Yt(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},_a={},Fr={get:function(t,e){if(e===q)return t;var r=st(t);if(!qt(r,e))return function(i,s,c){var l,d=js(s,c);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(i.k):void 0}(t,r,e);var n=r[e];return t.I||!Re(n)?n:n===Aa(t.t,e)?(Ra(t),t.o[e]=La(t.A.h,n,t)):n},has:function(t,e){return e in st(t)},ownKeys:function(t){return Reflect.ownKeys(st(t))},set:function(t,e,r){var n=js(st(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var i=Aa(st(t),e),s=i?.[q];if(s&&s.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(ec(r,i)&&(r!==void 0||qt(t.t,e)))return!0;Ra(t),ct(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 Aa(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,Ra(t),ct(t)):delete t.R[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var r=st(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:n.enumerable,value:r[e]}},defineProperty:function(){Ce(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Ce(12)}},Br={};Tt(Fr,function(t,e){Br[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Br.deleteProperty=function(t,e){return Br.set.call(this,t,e,void 0)},Br.set=function(t,e,r){return Fr.set.call(this,t[0],e,r,t[0])};var wp=function(){function t(r){var n=this;this.O=Xs,this.D=!0,this.produce=function(i,s,c){if(typeof i=="function"&&typeof s!="function"){var l=s;s=i;var d=n;return function(w){var P=this;w===void 0&&(w=l);for(var L=arguments.length,T=Array(L>1?L-1:0),E=1;E<L;E++)T[E-1]=arguments[E];return d.produce(w,function(C){var N;return(N=s).call.apply(N,[P,C].concat(T))})}}var u;if(typeof s!="function"&&Ce(6),c!==void 0&&typeof c!="function"&&Ce(7),Re(i)){var m=Zs(n),y=La(n,i,void 0),x=!0;try{u=s(y),x=!1}finally{x?Io(m):Pa(m)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(w){return wa(m,c),Na(w,m)},function(w){throw Io(m),w}):(wa(m,c),Na(u,m))}if(!i||typeof i!="object"){if((u=s(i))===void 0&&(u=i),u===rc&&(u=void 0),n.D&&$a(u,!0),c){var v=[],S=[];Be("Patches").M(i,u,v,S),c(v,S)}return u}Ce(21,i)},this.produceWithPatches=function(i,s){if(typeof i=="function")return function(u){for(var m=arguments.length,y=Array(m>1?m-1:0),x=1;x<m;x++)y[x-1]=arguments[x];return n.produceWithPatches(u,function(v){return i.apply(void 0,[v].concat(y))})};var c,l,d=n.produce(i,s,function(u,m){c=u,l=m});return typeof Promise<"u"&&d instanceof Promise?d.then(function(u){return[u,c,l]}):[d,c,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var e=t.prototype;return e.createDraft=function(r){Re(r)||Ce(8),Xe(r)&&(r=Sp(r));var n=Zs(this),i=La(this,r,void 0);return i[q].C=!0,Pa(n),i},e.finishDraft=function(r,n){var i=r&&r[q],s=i.A;return wa(s,n),Na(void 0,s)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Xs&&Ce(20),this.O=r},e.applyPatches=function(r,n){var i;for(i=n.length-1;i>=0;i--){var s=n[i];if(s.path.length===0&&s.op==="replace"){r=s.value;break}}i>-1&&(n=n.slice(i+1));var c=Be("Patches").$;return Xe(r)?c(r,n):this.produce(r,function(l){return c(l,n)})},t}(),ve=new wp,Np=ve.produce,dy=ve.produceWithPatches.bind(ve),py=ve.setAutoFreeze.bind(ve),fy=ve.setUseProxies.bind(ve),uy=ve.applyPatches.bind(ve),hy=ve.createDraft.bind(ve),gy=ve.finishDraft.bind(ve),_o=Np;function lt(t){"@babel/helpers - typeof";return lt=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},lt(t)}function Ba(t,e){if(lt(t)!=="object"||t===null)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e||"default");if(lt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Ma(t){var e=Ba(t,"string");return lt(e)==="symbol"?e:String(e)}function Fa(t,e,r){return e=Ma(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function nc(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?nc(Object(r),!0).forEach(function(n){Fa(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):nc(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function le(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 ac=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),za=function(){return Math.random().toString(36).substring(7).split("").join(".")},ko={INIT:"@@redux/INIT"+za(),REPLACE:"@@redux/REPLACE"+za(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+za()}};function Ap(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 Ha(t,e,r){var n;if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(le(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(le(1));return r(Ha)(t,e)}if(typeof t!="function")throw new Error(le(2));var i=t,s=e,c=[],l=c,d=!1;function u(){l===c&&(l=c.slice())}function m(){if(d)throw new Error(le(3));return s}function y(w){if(typeof w!="function")throw new Error(le(4));if(d)throw new Error(le(5));var P=!0;return u(),l.push(w),function(){if(P){if(d)throw new Error(le(6));P=!1,u();var T=l.indexOf(w);l.splice(T,1),c=null}}}function x(w){if(!Ap(w))throw new Error(le(7));if(typeof w.type>"u")throw new Error(le(8));if(d)throw new Error(le(9));try{d=!0,s=i(s,w)}finally{d=!1}for(var P=c=l,L=0;L<P.length;L++){var T=P[L];T()}return w}function v(w){if(typeof w!="function")throw new Error(le(10));i=w,x({type:ko.REPLACE})}function S(){var w,P=y;return w={subscribe:function(T){if(typeof T!="object"||T===null)throw new Error(le(11));function E(){T.next&&T.next(m())}E();var C=P(E);return{unsubscribe:C}}},w[ac]=function(){return this},w}return x({type:ko.INIT}),n={dispatch:x,subscribe:y,getState:m,replaceReducer:v},n[ac]=S,n}function Rp(t){Object.keys(t).forEach(function(e){var r=t[e],n=r(void 0,{type:ko.INIT});if(typeof n>"u")throw new Error(le(12));if(typeof r(void 0,{type:ko.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(le(13))})}function ic(t){for(var e=Object.keys(t),r={},n=0;n<e.length;n++){var i=e[n];typeof t[i]=="function"&&(r[i]=t[i])}var s=Object.keys(r),c,l;try{Rp(r)}catch(d){l=d}return function(u,m){if(u===void 0&&(u={}),l)throw l;if(0)var y;for(var x=!1,v={},S=0;S<s.length;S++){var w=s[S],P=r[w],L=u[w],T=P(L,m);if(typeof T>"u"){var E=m&&m.type;throw new Error(le(14))}v[w]=T,x=x||T!==L}return x=x||s.length!==Object.keys(u).length,x?v:u}}function Jt(){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 sc(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),s=function(){throw new Error(le(15))},c={getState:i.getState,dispatch:function(){return s.apply(void 0,arguments)}},l=e.map(function(d){return d(c)});return s=Jt.apply(void 0,l)(i.dispatch),To(To({},i),{},{dispatch:s})}}}function cc(t){var e=function(n){var i=n.dispatch,s=n.getState;return function(c){return function(l){return typeof l=="function"?l(i,s,t):c(l)}}};return e}var lc=cc();lc.withExtraArgument=cc;var Ga=lc;var hc=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(n[s]=i[s])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Ip=function(t,e){var r={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,i,s,c;return c={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function l(u){return function(m){return d([u,m])}}function d(u){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(s=u[0]&2?i.return:u[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,u[1])).done)return s;switch(i=0,s&&(u=[u[0]&2,s.value]),u[0]){case 0:case 1:s=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,i=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(s=r.trys,!(s=s.length>0&&s[s.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!s||u[1]>s[0]&&u[1]<s[3])){r.label=u[1];break}if(u[0]===6&&r.label<s[1]){r.label=s[1],s=u;break}if(s&&r.label<s[2]){r.label=s[2],r.ops.push(u);break}s[2]&&r.ops.pop(),r.trys.pop();continue}u=e.call(t,r)}catch(m){u=[6,m],i=0}finally{n=s=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},Qt=function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t},Pp=Object.defineProperty,Lp=Object.defineProperties,_p=Object.getOwnPropertyDescriptors,dc=Object.getOwnPropertySymbols,Tp=Object.prototype.hasOwnProperty,kp=Object.prototype.propertyIsEnumerable,pc=function(t,e,r){return e in t?Pp(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},dt=function(t,e){for(var r in e||(e={}))Tp.call(e,r)&&pc(t,r,e[r]);if(dc)for(var n=0,i=dc(e);n<i.length;n++){var r=i[n];kp.call(e,r)&&pc(t,r,e[r])}return t},Ka=function(t,e){return Lp(t,_p(e))},Up=function(t,e,r){return new Promise(function(n,i){var s=function(d){try{l(r.next(d))}catch(u){i(u)}},c=function(d){try{l(r.throw(d))}catch(u){i(u)}},l=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(s,c)};l((r=r.apply(t,e)).next())})};var $p=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Jt:Jt.apply(null,arguments)},Ty=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function Dp(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 Wp=function(t){hc(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,Qt([void 0],r[0].concat(this)))):new(e.bind.apply(e,Qt([void 0],r.concat(this))))},e}(Array),Bp=function(t){hc(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,Qt([void 0],r[0].concat(this)))):new(e.bind.apply(e,Qt([void 0],r.concat(this))))},e}(Array);function ja(t){return Re(t)?_o(t,function(){}):t}function Mp(t){return typeof t=="boolean"}function Fp(){return function(e){return zp(e)}}function zp(t){t===void 0&&(t={});var e=t.thunk,r=e===void 0?!0:e,n=t.immutableCheck,i=n===void 0?!0:n,s=t.serializableCheck,c=s===void 0?!0:s,l=new Wp;if(r&&(Mp(r)?l.push(Ga):l.push(Ga.withExtraArgument(r.extraArgument))),0){if(i)var d;if(c)var u}return l}var Za=!0;function gc(t){var e=Fp(),r=t||{},n=r.reducer,i=n===void 0?void 0:n,s=r.middleware,c=s===void 0?e():s,l=r.devTools,d=l===void 0?!0:l,u=r.preloadedState,m=u===void 0?void 0:u,y=r.enhancers,x=y===void 0?void 0:y,v;if(typeof i=="function")v=i;else if(Dp(i))v=ic(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var S=c;if(typeof S=="function"&&(S=S(e),!Za&&!Array.isArray(S)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Za&&S.some(function(C){return typeof C!="function"}))throw new Error("each middleware provided to configureStore must be a function");var w=sc.apply(void 0,S),P=Jt;d&&(P=$p(dt({trace:!Za},typeof d=="object"&&d)));var L=new Bp(w),T=L;Array.isArray(x)?T=Qt([w],x):typeof x=="function"&&(T=x(L));var E=P.apply(void 0,T);return Ha(v,m,E)}function pt(t,e){function r(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var s=e.apply(void 0,n);if(!s)throw new Error("prepareAction did not return an object");return dt(dt({type:t,payload:s.payload},"meta"in s&&{meta:s.meta}),"error"in s&&{error:s.error})}return{type:t,payload:n[0]}}return r.toString=function(){return""+t},r.type=t,r.match=function(n){return n.type===t},r}function mc(t){var e={},r=[],n,i={addCase:function(s,c){var l=typeof s=="string"?s:s.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=c,i},addMatcher:function(s,c){return r.push({matcher:s,reducer:c}),i},addDefaultCase:function(s){return n=s,i}};return t(i),[e,r,n]}function Hp(t){return typeof t=="function"}function Gp(t,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?mc(e):[e,r,n],s=i[0],c=i[1],l=i[2],d;if(Hp(t))d=function(){return ja(t())};else{var u=ja(t);d=function(){return u}}function m(y,x){y===void 0&&(y=d());var v=Qt([s[x.type]],c.filter(function(S){var w=S.matcher;return w(x)}).map(function(S){var w=S.reducer;return w}));return v.filter(function(S){return!!S}).length===0&&(v=[l]),v.reduce(function(S,w){if(w)if(Xe(S)){var P=S,L=w(P,x);return L===void 0?S:L}else{if(Re(S))return _o(S,function(T){return w(T,x)});var L=w(S,x);if(L===void 0){if(S===null)return S;throw Error("A case reducer on a non-draftable value must not return undefined")}return L}return S},y)}return m.getInitialState=d,m}function Kp(t,e){return t+"/"+e}function yc(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:ja(t.initialState),n=t.reducers||{},i=Object.keys(n),s={},c={},l={};i.forEach(function(m){var y=n[m],x=Kp(e,m),v,S;"reducer"in y?(v=y.reducer,S=y.prepare):v=y,s[m]=v,c[x]=v,l[m]=S?pt(x,S):pt(x)});function d(){var m=typeof t.extraReducers=="function"?mc(t.extraReducers):[t.extraReducers],y=m[0],x=y===void 0?{}:y,v=m[1],S=v===void 0?[]:v,w=m[2],P=w===void 0?void 0:w,L=dt(dt({},x),c);return Gp(r,function(T){for(var E in L)T.addCase(E,L[E]);for(var C=0,N=S;C<N.length;C++){var D=N[C];T.addMatcher(D.matcher,D.reducer)}P&&T.addDefaultCase(P)})}var u;return{name:e,reducer:function(m,y){return u||(u=d()),u(m,y)},actions:l,caseReducers:s,getInitialState:function(){return u||(u=d()),u.getInitialState()}}}var Zp="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Vp=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=Zp[Math.random()*64|0];return e},jp=["name","message","stack","code"],Va=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),fc=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),qp=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=jp;r<n.length;r++){var i=n[r];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},Dy=function(){function t(e,r,n){var i=pt(e+"/fulfilled",function(m,y,x,v){return{payload:m,meta:Ka(dt({},v||{}),{arg:x,requestId:y,requestStatus:"fulfilled"})}}),s=pt(e+"/pending",function(m,y,x){return{payload:void 0,meta:Ka(dt({},x||{}),{arg:y,requestId:m,requestStatus:"pending"})}}),c=pt(e+"/rejected",function(m,y,x,v,S){return{payload:v,error:(n&&n.serializeError||qp)(m||"Rejected"),meta:Ka(dt({},S||{}),{arg:x,requestId:y,rejectedWithValue:!!v,requestStatus:"rejected",aborted:m?.name==="AbortError",condition:m?.name==="ConditionError"})}}),l=!1,d=typeof AbortController<"u"?AbortController:function(){function m(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return m.prototype.abort=function(){},m}();function u(m){return function(y,x,v){var S=n?.idGenerator?n.idGenerator(m):Vp(),w=new d,P,L=!1;function T(C){P=C,w.abort()}var E=function(){return Up(this,null,function(){var C,N,D,W,se,H,b;return Ip(this,function(O){switch(O.label){case 0:return O.trys.push([0,4,,5]),W=(C=n?.condition)==null?void 0:C.call(n,m,{getState:x,extra:v}),Xp(W)?[4,W]:[3,2];case 1:W=O.sent(),O.label=2;case 2:if(W===!1||w.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return L=!0,se=new Promise(function(I,F){return w.signal.addEventListener("abort",function(){return F({name:"AbortError",message:P||"Aborted"})})}),y(s(S,m,(N=n?.getPendingMeta)==null?void 0:N.call(n,{requestId:S,arg:m},{getState:x,extra:v}))),[4,Promise.race([se,Promise.resolve(r(m,{dispatch:y,getState:x,extra:v,requestId:S,signal:w.signal,abort:T,rejectWithValue:function(I,F){return new Va(I,F)},fulfillWithValue:function(I,F){return new fc(I,F)}})).then(function(I){if(I instanceof Va)throw I;return I instanceof fc?i(I.payload,S,m,I.meta):i(I,S,m)})])];case 3:return D=O.sent(),[3,5];case 4:return H=O.sent(),D=H instanceof Va?c(null,S,m,H.payload,H.meta):c(H,S,m),[3,5];case 5:return b=n&&!n.dispatchConditionRejection&&c.match(D)&&D.meta.condition,b||y(D),[2,D]}})})}();return Object.assign(E,{abort:T,requestId:S,arg:m,unwrap:function(){return E.then(Yp)}})}}return Object.assign(u,{pending:s,rejected:c,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();function Yp(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Xp(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var bc="listener",xc="completed",vc="cancelled",Wy="task-"+vc,By="task-"+xc,My=bc+"-"+vc,Fy=bc+"-"+xc;var qa="listenerMiddleware";var zy=pt(qa+"/add"),Hy=pt(qa+"/removeAll"),Gy=pt(qa+"/remove");var uc,Ky=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(uc||(uc=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},Jp=function(t){return function(e){setTimeout(e,t)}},Zy=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Jp(10);tc();window.ftReduxStores||(window.ftReduxStores={});var ft=class t{static get(e){var r;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,s=window.ftReduxStores[n];if(Lt(s))return s;if(i==null)return;let c=yc({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),l=gc({reducer:(d,u)=>u.type==="CLEAR_FT_REDUX_STORE"?c.getInitialState():typeof u.type=="string"&&u.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...u.overwrites}:c.reducer(d,u)});return window.ftReduxStores[i.name]=new t(c,l)}constructor(e,r){this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Wr,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,s)=>{let c=i,l=n[c];return l?(...d)=>{let u=l(...d);return this.reduxStore.dispatch(u),u}:d=>{this.setState({[c]:d})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function Qp(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))Lt(e)&&e.clear()}var Xa={};V(Xa,{serializeRequest:()=>tf});function ef(t){return`"${t}"`}function tf(t,e){var r,n,i,s;let c=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&&c.append("query",e.query),e.scope&&e.scope!=="DEFAULT"&&c.append("scope",e.scope.toLowerCase()),e.virtualField&&e.virtualField!=="EVERYWHERE"&&c.append("virtual-field",e.virtualField.toLowerCase()),e.periodFilter){let d=e.periodFilter.period,u=d?`_${d.from}_${d.to}`:"";c.append("period",e.periodFilter.periodType.toLowerCase()+u)}if(((i=e.sort)===null||i===void 0?void 0:i.length)>0&&e.sort[0].key==="ft:lastEdition"&&c.append("sort","last_update"),((s=e.filters)===null||s===void 0?void 0:s.length)>0){let d=e.filters.map(u=>{let m=u.values.map(y=>y.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(y=>encodeURIComponent(ef(y))).join("_");return`${u.key}~${m}`}).join("*");c.append("filters",d)}return new URL(`${t.replace(/\/+$/,"")}/search?${c.toString()}`).href}var Qa={};V(Qa,{toFtFormComponent:()=>Ja});var Uo=Symbol("elementInternals");function Ja(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 kt=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 ei,ti,ri,oi,ni=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((ri=(ti=(ei=window.safari)===null||ei===void 0?void 0:ei.pushNotification)===null||ti===void 0?void 0:ti.toString())!==null&&ri!==void 0?ri:"")==="[object SafariRemoteNotification]",rf="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(oi=window.ftGlobals)!==null&&oi!==void 0?oi:{lit:cn,litDecorators:pn,litRepeat:un,litClassMap:hn,litStyleMap:gn,litUnsafeHTML:yn,wcUtils:{...xn,...bn,...Sn,...kt,...On,...En,...Qn,...oa,...ga,...Jn,...ya,...Ms,...Cn,...Sa,...Ca,...zs,...Ea,...Ya,...ma,...Xa,...Qa,isSafari:ni,isTouchScreen:rf}};var Sc=o.extend("--ft-ripple-color","",M.colorContent),z={color:Sc,backgroundColor:o.extend("--ft-ripple-background-color","",Sc),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")},Oc=o.extend("--ft-ripple-color","",M.colorPrimary),Cc={color:Oc,backgroundColor:o.extend("--ft-ripple-background-color","",Oc)},Ec=o.extend("--ft-ripple-color","",M.colorSecondary),wc={color:Ec,backgroundColor:o.extend("--ft-ripple-background-color","",Ec)},Nc=k`
|
|
42
|
+
`;var js={};var wi={};j(wi,{ParametrizedLabelResolver:()=>kr});var kr=class{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var n,i;e=this.resolvePluralKey(e,r);let a=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return r.forEach((s,c)=>a=a.replace(new RegExp(`\\{${c}([^}]*)\\}`,"g"),(l,d)=>this.formatValue(s,d))),a}resolvePluralKey(e,r){for(let n of r)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}formatValue(e,r){return e instanceof Date?this.formatDate(e,r):e??""}formatDate(e,r){let n=i=>r?.includes("date")?e.toLocaleDateString(i):r?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var Xi={};j(Xi,{FtCommandQueue:()=>Dr,FtLitElementRedux:()=>ke,FtReduxStore:()=>lt,clearAllStores:()=>Yd,isFtReduxStore:()=>Pt,redux:()=>$e,reduxEventListener:()=>fd,reduxReactive:()=>ud});var ud=()=>(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};w(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})}},fd=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 Vs,Ks,Gs,Ao=Symbol("internalReduxEventsUnsubscribers"),ot=Symbol("internalStoresUnsubscribers"),Tt=Symbol("internalStores"),ke=class extends H{constructor(){super(...arguments),this[Vs]=new Map,this[Ks]=new Map,this[Gs]=[]}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()}};Vs=ot,Ks=Tt,Gs=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)===Sd}(t)||Array.isArray(t)||!!t[ec]||!!(!((e=t.constructor)===null||e===void 0)&&e[ec])||$i(t)||ki(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:$i(t)?2:ki(t)?3:0}function Gt(t,e){return qt(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function hd(t,e){return qt(t)===2?t.get(e):t[e]}function tc(t,e,r){var n=qt(t);n===2?t.set(e,r):n===3?t.add(r):t[e]=r}function rc(t,e){return t===e?t!==0||1/t==1/e:t!=t&&e!=e}function $i(t){return xd&&t instanceof Map}function ki(t){return vd&&t instanceof Set}function nt(t){return t.o||t.t}function Di(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=ic(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 Mi(t,e){return e===void 0&&(e=!1),Ui(t)||Ge(t)||!Ae(t)||(qt(t)>1&&(t.set=t.add=t.clear=t.delete=md),Object.freeze(t),e&&It(t,function(r,n){return Mi(n,!0)},!0)),t}function md(){Se(2)}function Ui(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function De(t){var e=Li[t];return e||Se(18,t),e}function yd(t,e){Li[t]||(Li[t]=e)}function Pi(){return Ur}function Ai(t,e){e&&(De("Patches"),t.u=[],t.s=[],t.v=e)}function Ro(t){Ti(t),t.p.forEach(gd),t.p=null}function Ti(t){t===Ur&&(Ur=t.l)}function Zs(t){return Ur={p:[],l:Ur,h:t,m:!0,_:0}}function gd(t){var e=t[K];e.i===0||e.i===1?e.j():e.g=!0}function Ri(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!==nc?t:void 0}function No(t,e,r){if(Ui(e))return e;var n=e[K];if(!n)return It(e,function(c,l){return qs(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=Di(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 qs(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 qs(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(tc(r,n,c),!Ge(c))return;t.m=!1}else s&&r.add(i);if(Ae(i)&&!Ui(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&&Mi(e,r)}function Ni(t,e){var r=t[K];return(r?nt(r):t)[e]}function Ys(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 _i(t){t.o||(t.o=Di(t.t))}function Ii(t,e,r){var n=$i(e)?De("MapSet").F(e,r):ki(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:Pi(),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 f=Proxy.revocable(l,d),h=f.revoke,y=f.proxy;return c.k=y,c.j=h,y}(e,r):De("ES5").J(e,r);return(r?r.A:Pi()).p.push(n),n}function bd(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=Xs(r,a),i.I=!1}else n=Xs(r,a);return It(n,function(s,c){i&&hd(i.t,s)===c||tc(n,s,e(c))}),a===3?new Set(n):n}(t)}function Xs(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return Di(t)}function oc(){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 f=this[K];Br.set(f,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),f=d.length-1;f>=0;f--){var h=d[f];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:!rc(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={};yd("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=ic(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),f={i:l?5:4,A:c?c.A:Pi(),P:!1,I:!1,R:{},l:c,t:s,k:d,o:null,g:!1,C:!1};return Object.defineProperty(d,K,{value:f,writable:!0}),d},S:function(s,c,l){l?Ge(c)&&c[K].A===s&&e(s.p):(s.u&&function d(f){if(f&&typeof f=="object"){var h=f[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 Js,Ur,Bi=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",xd=typeof Map<"u",vd=typeof Set<"u",Qs=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",nc=Bi?Symbol.for("immer-nothing"):((Js={})["immer-nothing"]=!0,Js),ec=Bi?Symbol.for("immer-draftable"):"__$immer_draftable",K=Bi?Symbol.for("immer-state"):"__$immer_state";var Sd=""+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,ic=Object.getOwnPropertyDescriptors||function(t){var e={};return Zt(t).forEach(function(r){e[r]=Object.getOwnPropertyDescriptor(t,r)}),e},Li={},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=Ys(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===Ni(t.t,e)?(_i(t),t.o[e]=Ii(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=Ys(nt(t),e);if(n?.set)return n.set.call(t.k,r),!0;if(!t.P){var i=Ni(nt(t),e),a=i?.[K];if(a&&a.t===r)return t.o[e]=r,t.R[e]=!1,!0;if(rc(r,i)&&(r!==void 0||Gt(t.t,e)))return!0;_i(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 Ni(t.t,e)!==void 0||e in t.t?(t.R[e]=!1,_i(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 Od=function(){function t(r){var n=this;this.O=Qs,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 f=Zs(n),h=Ii(n,i,void 0),y=!0;try{d=a(h),y=!1}finally{y?Ro(f):Ti(f)}return typeof Promise<"u"&&d instanceof Promise?d.then(function(O){return Ai(f,s),Ri(O,f)},function(O){throw Ro(f),O}):(Ai(f,s),Ri(d,f))}if(!i||typeof i!="object"){if((d=a(i))===void 0&&(d=i),d===nc&&(d=void 0),n.D&&Mi(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 f=arguments.length,h=Array(f>1?f-1:0),y=1;y<f;y++)h[y-1]=arguments[y];return n.produceWithPatches(d,function(g){return i.apply(void 0,[g].concat(h))})};var s,c,l=n.produce(i,a,function(d,f){s=d,c=f});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=bd(r));var n=Zs(this),i=Ii(this,r,void 0);return i[K].C=!0,Ti(n),i},e.finishDraft=function(r,n){var i=r&&r[K],a=i.A;return Ai(a,n),Ri(void 0,a)},e.setAutoFreeze=function(r){this.D=r},e.setUseProxies=function(r){r&&!Qs&&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}(),ge=new Od,Ed=ge.produce,pg=ge.produceWithPatches.bind(ge),dg=ge.setAutoFreeze.bind(ge),ug=ge.setUseProxies.bind(ge),fg=ge.applyPatches.bind(ge),hg=ge.createDraft.bind(ge),mg=ge.finishDraft.bind(ge),Po=Ed;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 Fi(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 Wi(t){var e=Fi(t,"string");return at(e)==="symbol"?e:String(e)}function Hi(t,e,r){return e=Wi(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ac(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?ac(Object(r),!0).forEach(function(n){Hi(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ac(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 sc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),zi=function(){return Math.random().toString(36).substring(7).split("").join(".")},Io={INIT:"@@redux/INIT"+zi(),REPLACE:"@@redux/REPLACE"+zi(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+zi()}};function Cd(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(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(ji)(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 f(){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(!Cd(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(f())}S();var v=N(S);return{unsubscribe:v}}},O[sc]=function(){return this},O}return y({type:Io.INIT}),n={dispatch:y,subscribe:h,getState:f,replaceReducer:g},n[sc]=b,n}function wd(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 cc(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{wd(r)}catch(l){c=l}return function(d,f){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(_,f);if(typeof P>"u"){var S=f&&f.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 lc(){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 pc(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 dc=pc();dc.withExtraArgument=pc;var Vi=dc;var yc=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)}}(),Ad=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(f){return l([d,f])}}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(f){d=[6,f],i=0}finally{n=a=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}},Xt=function(t,e){for(var r=0,n=e.length,i=t.length;r<n;r++,i++)t[i]=e[r];return t},Rd=Object.defineProperty,Nd=Object.defineProperties,_d=Object.getOwnPropertyDescriptors,uc=Object.getOwnPropertySymbols,Pd=Object.prototype.hasOwnProperty,Td=Object.prototype.propertyIsEnumerable,fc=function(t,e,r){return e in t?Rd(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r},st=function(t,e){for(var r in e||(e={}))Pd.call(e,r)&&fc(t,r,e[r]);if(uc)for(var n=0,i=uc(e);n<i.length;n++){var r=i[n];Td.call(e,r)&&fc(t,r,e[r])}return t},Ki=function(t,e){return Nd(t,_d(e))},Id=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 Ld=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)},Lg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}};function $d(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 kd=function(t){yc(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),Dd=function(t){yc(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 qi(t){return Ae(t)?Po(t,function(){}):t}function Md(t){return typeof t=="boolean"}function Ud(){return function(e){return Bd(e)}}function Bd(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 kd;if(r&&(Md(r)?c.push(Vi):c.push(Vi.withExtraArgument(r.extraArgument))),0){if(i)var l;if(s)var d}return c}var Gi=!0;function gc(t){var e=Ud(),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,f=d===void 0?void 0:d,h=r.enhancers,y=h===void 0?void 0:h,g;if(typeof i=="function")g=i;else if($d(i))g=cc(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),!Gi&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!Gi&&b.some(function(v){return typeof v!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=lc.apply(void 0,b),N=Yt;l&&(N=Ld(st({trace:!Gi},typeof l=="object"&&l)));var _=new Dd(O),P=_;Array.isArray(y)?P=Xt([O],y):typeof y=="function"&&(P=y(_));var S=N.apply(void 0,P);return ji(g,f,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 bc(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 Fd(t){return typeof t=="function"}function Wd(t,e,r,n){r===void 0&&(r=[]);var i=typeof e=="function"?bc(e):[e,r,n],a=i[0],s=i[1],c=i[2],l;if(Fd(t))l=function(){return qi(t())};else{var d=qi(t);l=function(){return d}}function f(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 f.getInitialState=l,f}function Hd(t,e){return t+"/"+e}function xc(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:qi(t.initialState),n=t.reducers||{},i=Object.keys(n),a={},s={},c={};i.forEach(function(f){var h=n[f],y=Hd(e,f),g,b;"reducer"in h?(g=h.reducer,b=h.prepare):g=h,a[f]=g,s[y]=g,c[f]=b?ct(y,b):ct(y)});function l(){var f=typeof t.extraReducers=="function"?bc(t.extraReducers):[t.extraReducers],h=f[0],y=h===void 0?{}:h,g=f[1],b=g===void 0?[]:g,O=f[2],N=O===void 0?void 0:O,_=st(st({},y),s);return Wd(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(f,h){return d||(d=l()),d(f,h)},actions:c,caseReducers:a,getInitialState:function(){return d||(d=l()),d.getInitialState()}}}var zd="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",jd=function(t){t===void 0&&(t=21);for(var e="",r=t;r--;)e+=zd[Math.random()*64|0];return e},Vd=["name","message","stack","code"],Zi=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),hc=function(){function t(e,r){this.payload=e,this.meta=r}return t}(),Kd=function(t){if(typeof t=="object"&&t!==null){for(var e={},r=0,n=Vd;r<n.length;r++){var i=n[r];typeof t[i]=="string"&&(e[i]=t[i])}return e}return{message:String(t)}},Mg=function(){function t(e,r,n){var i=ct(e+"/fulfilled",function(f,h,y,g){return{payload:f,meta:Ki(st({},g||{}),{arg:y,requestId:h,requestStatus:"fulfilled"})}}),a=ct(e+"/pending",function(f,h,y){return{payload:void 0,meta:Ki(st({},y||{}),{arg:h,requestId:f,requestStatus:"pending"})}}),s=ct(e+"/rejected",function(f,h,y,g,b){return{payload:g,error:(n&&n.serializeError||Kd)(f||"Rejected"),meta:Ki(st({},b||{}),{arg:y,requestId:h,rejectedWithValue:!!g,requestStatus:"rejected",aborted:f?.name==="AbortError",condition:f?.name==="ConditionError"})}}),c=!1,l=typeof AbortController<"u"?AbortController:function(){function f(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return f.prototype.abort=function(){},f}();function d(f){return function(h,y,g){var b=n?.idGenerator?n.idGenerator(f):jd(),O=new l,N,_=!1;function P(v){N=v,O.abort()}var S=function(){return Id(this,null,function(){var v,E,$,k,ne,F,m;return Ad(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,f,{getState:y,extra:g}),Zd(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,f,(E=n?.getPendingMeta)==null?void 0:E.call(n,{requestId:b,arg:f},{getState:y,extra:g}))),[4,Promise.race([ne,Promise.resolve(r(f,{dispatch:h,getState:y,extra:g,requestId:b,signal:O.signal,abort:P,rejectWithValue:function(R,U){return new Zi(R,U)},fulfillWithValue:function(R,U){return new hc(R,U)}})).then(function(R){if(R instanceof Zi)throw R;return R instanceof hc?i(R.payload,b,f,R.meta):i(R,b,f)})])];case 3:return $=x.sent(),[3,5];case 4:return F=x.sent(),$=F instanceof Zi?s(null,b,f,F.payload,F.meta):s(F,b,f),[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:f,unwrap:function(){return S.then(Gd)}})}}return Object.assign(d,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return t.withTypes=function(){return t},t}();function Gd(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function Zd(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var vc="listener",Sc="completed",Oc="cancelled",Ug="task-"+Oc,Bg="task-"+Sc,Fg=vc+"-"+Oc,Wg=vc+"-"+Sc;var Yi="listenerMiddleware";var Hg=ct(Yi+"/add"),zg=ct(Yi+"/removeAll"),jg=ct(Yi+"/remove");var mc,Vg=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(t){return(mc||(mc=Promise.resolve())).then(t).catch(function(e){return setTimeout(function(){throw e},0)})},qd=function(t){return function(e){setTimeout(e,t)}},Kg=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:qd(10);oc();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=xc({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),c=gc({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 Yd(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))Pt(e)&&e.clear()}var Ji={};j(Ji,{serializeRequest:()=>Jd});function Xd(t){return`"${t}"`}function Jd(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 f=d.values.map(h=>h.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(h=>encodeURIComponent(Xd(h))).join("_");return`${d.key}~${f}`}).join("*");s.append("filters",l)}return new URL(`${t.replace(/\/+$/,"")}/search?${s.toString()}`).href}var ea={};j(ea,{toFtFormComponent:()=>Qi});var Lo=Symbol("elementInternals");function Qi(t,e){class r extends t{static get formAssociated(){return!0}get form(){return this[Lo].form}constructor(...i){super(i),this[Lo]=this.attachInternals(),this[Lo].role=e}setFormValue(i){this[Lo].setFormValue(i)}}return r}var Lt=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 ta,ra,oa,na,ia=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((oa=(ra=(ta=window.safari)===null||ta===void 0?void 0:ta.pushNotification)===null||ra===void 0?void 0:ra.toString())!==null&&oa!==void 0?oa:"")==="[object SafariRemoteNotification]",Qd="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(na=window.ftGlobals)!==null&&na!==void 0?na:{lit:sn,litDecorators:pn,litRepeat:un,litClassMap:fn,litStyleMap:hn,litUnsafeHTML:yn,wcUtils:{...bn,...gn,...vn,...Lt,...Sn,...En,...Jn,...ri,...hi,...Xn,...bi,...yi,...Hs,...On,...Oi,...Ci,...js,...wi,...Xi,...mi,...Ji,...ea,isSafari:ia,isTouchScreen:Qd}};var Ec=o.extend("--ft-ripple-color","",M.colorContent),B={color:Ec,backgroundColor:o.extend("--ft-ripple-background-color","",Ec),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")},Cc=o.extend("--ft-ripple-color","",M.colorPrimary),wc={color:Cc,backgroundColor:o.extend("--ft-ripple-background-color","",Cc)},Ac=o.extend("--ft-ripple-color","",M.colorSecondary),Rc={color:Ac,backgroundColor:o.extend("--ft-ripple-background-color","",Ac)},Nc=I`
|
|
43
43
|
:host {
|
|
44
44
|
display: contents;
|
|
45
45
|
}
|
|
@@ -52,7 +52,7 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
52
52
|
|
|
53
53
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
54
54
|
overflow: hidden;
|
|
55
|
-
border-radius: ${
|
|
55
|
+
border-radius: ${B.borderRadius};
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
.ft-ripple .ft-ripple--background,
|
|
@@ -86,27 +86,27 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
.ft-ripple .ft-ripple--background {
|
|
89
|
-
background-color: ${
|
|
89
|
+
background-color: ${B.backgroundColor};
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
.ft-ripple .ft-ripple--effect {
|
|
93
|
-
background-color: ${
|
|
93
|
+
background-color: ${B.color};
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
97
|
-
background-color: ${
|
|
97
|
+
background-color: ${Rc.backgroundColor};
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
101
|
-
background-color: ${
|
|
101
|
+
background-color: ${Rc.color};
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
105
|
-
background-color: ${
|
|
105
|
+
background-color: ${wc.backgroundColor};
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
109
|
-
background-color: ${
|
|
109
|
+
background-color: ${wc.color};
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
.ft-ripple .ft-ripple--background {
|
|
@@ -136,23 +136,23 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
139
|
-
opacity: ${
|
|
139
|
+
opacity: ${B.opacityContentOnSurfaceHover};
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
143
|
-
opacity: ${
|
|
143
|
+
opacity: ${B.opacityContentOnSurfaceSelected};
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
147
|
-
opacity: ${
|
|
147
|
+
opacity: ${B.opacityContentOnSurfaceFocused};
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
151
|
-
opacity: ${
|
|
151
|
+
opacity: ${B.opacityContentOnSurfacePressed};
|
|
152
152
|
transform: translate(-50%, -50%) scale(1);
|
|
153
153
|
}
|
|
154
|
-
`;function
|
|
155
|
-
.ft-typography--${
|
|
154
|
+
`;function _c(t){let e=wr[t];return I`
|
|
155
|
+
.ft-typography--${xt(t)} {
|
|
156
156
|
font-family: ${e.fontFamily};
|
|
157
157
|
font-size: ${e.fontSize};
|
|
158
158
|
font-weight: ${e.fontWeight};
|
|
@@ -160,8 +160,26 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
160
160
|
line-height: ${e.lineHeight};
|
|
161
161
|
text-transform: ${e.textCase};
|
|
162
162
|
}
|
|
163
|
-
`}var
|
|
163
|
+
`}var Pc=o.extend("--ft-typography-font-family","",M.titleFont),Ze=o.extend("--ft-typography-font-family","",M.contentFont),T={fontFamily:Ze,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")},Jt={fontFamily:o.extend("--ft-typography-title-font-family","",Pc),fontSize:o.extend("--ft-typography-title-font-size","",T.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",T.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",T.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",T.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",T.textTransform,"inherit")},Qt={fontFamily:o.extend("--ft-typography-title-dense-font-family","",Pc),fontSize:o.extend("--ft-typography-title-dense-font-size","",T.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",T.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",T.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",T.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",T.textTransform,"inherit")},er={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",Ze),fontSize:o.extend("--ft-typography-subtitle1-font-size","",T.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",T.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",T.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",T.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",T.textTransform,"inherit")},tr={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",Ze),fontSize:o.extend("--ft-typography-subtitle2-font-size","",T.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",T.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",T.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",T.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",T.textTransform,"inherit")},rr={fontFamily:o.extend("--ft-typography-body1-font-family","",Ze),fontSize:o.extend("--ft-typography-body1-font-size","",T.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",T.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",T.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",T.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",T.textTransform,"inherit")},or={fontFamily:o.extend("--ft-typography-body2-font-family","",Ze),fontSize:o.extend("--ft-typography-body2-font-size","",T.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",T.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",T.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",T.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",T.textTransform,"inherit")},nr={fontFamily:o.extend("--ft-typography-caption-font-family","",Ze),fontSize:o.extend("--ft-typography-caption-font-size","",T.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",T.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",T.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",T.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",T.textTransform,"inherit")},ir={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",Ze),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",T.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",T.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",T.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",T.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",T.textTransform,"inherit")},ar={fontFamily:o.extend("--ft-typography-overline-font-family","",Ze),fontSize:o.extend("--ft-typography-overline-font-size","",T.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",T.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",T.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",T.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",T.textTransform,"uppercase")},Me={fontFamily:o.extend("--ft-typography-button-font-family","",Ze),fontSize:o.extend("--ft-typography-button-font-size","",T.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",T.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",T.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",T.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",T.textTransform,"uppercase")},Tc=I`
|
|
164
164
|
.ft-typography--title {
|
|
165
|
+
font-family: ${Jt.fontFamily};
|
|
166
|
+
font-size: ${Jt.fontSize};
|
|
167
|
+
font-weight: ${Jt.fontWeight};
|
|
168
|
+
letter-spacing: ${Jt.letterSpacing};
|
|
169
|
+
line-height: ${Jt.lineHeight};
|
|
170
|
+
text-transform: ${Jt.textTransform};
|
|
171
|
+
}
|
|
172
|
+
`,Ic=I`
|
|
173
|
+
.ft-typography--title-dense {
|
|
174
|
+
font-family: ${Qt.fontFamily};
|
|
175
|
+
font-size: ${Qt.fontSize};
|
|
176
|
+
font-weight: ${Qt.fontWeight};
|
|
177
|
+
letter-spacing: ${Qt.letterSpacing};
|
|
178
|
+
line-height: ${Qt.lineHeight};
|
|
179
|
+
text-transform: ${Qt.textTransform};
|
|
180
|
+
}
|
|
181
|
+
`,Lc=I`
|
|
182
|
+
.ft-typography--subtitle1 {
|
|
165
183
|
font-family: ${er.fontFamily};
|
|
166
184
|
font-size: ${er.fontSize};
|
|
167
185
|
font-weight: ${er.fontWeight};
|
|
@@ -169,8 +187,8 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
169
187
|
line-height: ${er.lineHeight};
|
|
170
188
|
text-transform: ${er.textTransform};
|
|
171
189
|
}
|
|
172
|
-
|
|
173
|
-
.ft-typography--
|
|
190
|
+
`,$c=I`
|
|
191
|
+
.ft-typography--subtitle2 {
|
|
174
192
|
font-family: ${tr.fontFamily};
|
|
175
193
|
font-size: ${tr.fontSize};
|
|
176
194
|
font-weight: ${tr.fontWeight};
|
|
@@ -178,8 +196,9 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
178
196
|
line-height: ${tr.lineHeight};
|
|
179
197
|
text-transform: ${tr.textTransform};
|
|
180
198
|
}
|
|
181
|
-
|
|
182
|
-
|
|
199
|
+
|
|
200
|
+
`,kc=I`
|
|
201
|
+
.ft-typography--body1 {
|
|
183
202
|
font-family: ${rr.fontFamily};
|
|
184
203
|
font-size: ${rr.fontSize};
|
|
185
204
|
font-weight: ${rr.fontWeight};
|
|
@@ -187,8 +206,8 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
187
206
|
line-height: ${rr.lineHeight};
|
|
188
207
|
text-transform: ${rr.textTransform};
|
|
189
208
|
}
|
|
190
|
-
|
|
191
|
-
.ft-typography--
|
|
209
|
+
`,$o=I`
|
|
210
|
+
.ft-typography--body2 {
|
|
192
211
|
font-family: ${or.fontFamily};
|
|
193
212
|
font-size: ${or.fontSize};
|
|
194
213
|
font-weight: ${or.fontWeight};
|
|
@@ -196,9 +215,8 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
196
215
|
line-height: ${or.lineHeight};
|
|
197
216
|
text-transform: ${or.textTransform};
|
|
198
217
|
}
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
.ft-typography--body1 {
|
|
218
|
+
`,Dc=I`
|
|
219
|
+
.ft-typography--caption {
|
|
202
220
|
font-family: ${nr.fontFamily};
|
|
203
221
|
font-size: ${nr.fontSize};
|
|
204
222
|
font-weight: ${nr.fontWeight};
|
|
@@ -206,17 +224,8 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
206
224
|
line-height: ${nr.lineHeight};
|
|
207
225
|
text-transform: ${nr.textTransform};
|
|
208
226
|
}
|
|
209
|
-
|
|
210
|
-
.ft-typography--
|
|
211
|
-
font-family: ${ar.fontFamily};
|
|
212
|
-
font-size: ${ar.fontSize};
|
|
213
|
-
font-weight: ${ar.fontWeight};
|
|
214
|
-
letter-spacing: ${ar.letterSpacing};
|
|
215
|
-
line-height: ${ar.lineHeight};
|
|
216
|
-
text-transform: ${ar.textTransform};
|
|
217
|
-
}
|
|
218
|
-
`,kc=k`
|
|
219
|
-
.ft-typography--caption {
|
|
227
|
+
`,Mc=I`
|
|
228
|
+
.ft-typography--breadcrumb {
|
|
220
229
|
font-family: ${ir.fontFamily};
|
|
221
230
|
font-size: ${ir.fontSize};
|
|
222
231
|
font-weight: ${ir.fontWeight};
|
|
@@ -224,25 +233,16 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
224
233
|
line-height: ${ir.lineHeight};
|
|
225
234
|
text-transform: ${ir.textTransform};
|
|
226
235
|
}
|
|
227
|
-
`,Uc=
|
|
228
|
-
.ft-typography--breadcrumb {
|
|
229
|
-
font-family: ${sr.fontFamily};
|
|
230
|
-
font-size: ${sr.fontSize};
|
|
231
|
-
font-weight: ${sr.fontWeight};
|
|
232
|
-
letter-spacing: ${sr.letterSpacing};
|
|
233
|
-
line-height: ${sr.lineHeight};
|
|
234
|
-
text-transform: ${sr.textTransform};
|
|
235
|
-
}
|
|
236
|
-
`,$c=k`
|
|
236
|
+
`,Uc=I`
|
|
237
237
|
.ft-typography--overline {
|
|
238
|
-
font-family: ${
|
|
239
|
-
font-size: ${
|
|
240
|
-
font-weight: ${
|
|
241
|
-
letter-spacing: ${
|
|
242
|
-
line-height: ${
|
|
243
|
-
text-transform: ${
|
|
244
|
-
}
|
|
245
|
-
`,
|
|
238
|
+
font-family: ${ar.fontFamily};
|
|
239
|
+
font-size: ${ar.fontSize};
|
|
240
|
+
font-weight: ${ar.fontWeight};
|
|
241
|
+
letter-spacing: ${ar.letterSpacing};
|
|
242
|
+
line-height: ${ar.lineHeight};
|
|
243
|
+
text-transform: ${ar.textTransform};
|
|
244
|
+
}
|
|
245
|
+
`,Bc=I`
|
|
246
246
|
.ft-typography--button {
|
|
247
247
|
font-family: ${Me.fontFamily};
|
|
248
248
|
font-size: ${Me.fontSize};
|
|
@@ -251,11 +251,11 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
251
251
|
line-height: ${Me.lineHeight};
|
|
252
252
|
text-transform: ${Me.textTransform};
|
|
253
253
|
}
|
|
254
|
-
`,
|
|
254
|
+
`,Fc=I`
|
|
255
255
|
.ft-typography {
|
|
256
256
|
vertical-align: inherit;
|
|
257
257
|
}
|
|
258
|
-
`,
|
|
258
|
+
`,Wc=[Object.keys(wr).map(t=>_c(t))];var se={color:o.extend("--ft-loader-color","",M.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},Hc=I`
|
|
259
259
|
:host {
|
|
260
260
|
line-height: 0;
|
|
261
261
|
}
|
|
@@ -264,8 +264,8 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
264
264
|
display: inline-block;
|
|
265
265
|
position: relative;
|
|
266
266
|
|
|
267
|
-
width: ${
|
|
268
|
-
height: ${
|
|
267
|
+
width: ${se.size};
|
|
268
|
+
height: ${se.size};
|
|
269
269
|
}
|
|
270
270
|
|
|
271
271
|
.ft-loader div {
|
|
@@ -274,7 +274,7 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
274
274
|
width: 25%;
|
|
275
275
|
height: 25%;
|
|
276
276
|
border-radius: 50%;
|
|
277
|
-
background: ${
|
|
277
|
+
background: ${se.color};
|
|
278
278
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
279
279
|
}
|
|
280
280
|
|
|
@@ -321,10 +321,10 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
321
321
|
transform: translate(0, 0);
|
|
322
322
|
}
|
|
323
323
|
100% {
|
|
324
|
-
transform: translate(calc(0.35 * ${
|
|
324
|
+
transform: translate(calc(0.35 * ${se.size}), 0);
|
|
325
325
|
}
|
|
326
326
|
}
|
|
327
|
-
`;var
|
|
327
|
+
`;var ce={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")},zc=I`
|
|
328
328
|
:host, i.ft-icon {
|
|
329
329
|
display: inline-flex;
|
|
330
330
|
align-items: center;
|
|
@@ -333,14 +333,14 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
333
333
|
}
|
|
334
334
|
|
|
335
335
|
:host {
|
|
336
|
-
width: ${
|
|
337
|
-
height: ${
|
|
336
|
+
width: ${ce.size};
|
|
337
|
+
height: ${ce.size};
|
|
338
338
|
}
|
|
339
339
|
|
|
340
340
|
i.ft-icon {
|
|
341
341
|
width: 100%;
|
|
342
342
|
height: 100%;
|
|
343
|
-
font-size: ${
|
|
343
|
+
font-size: ${ce.size};
|
|
344
344
|
line-height: 1;
|
|
345
345
|
font-weight: normal;
|
|
346
346
|
text-transform: none;
|
|
@@ -351,28 +351,28 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
351
351
|
text-rendering: auto;
|
|
352
352
|
-webkit-font-smoothing: antialiased;
|
|
353
353
|
-moz-osx-font-smoothing: grayscale;
|
|
354
|
-
vertical-align: ${
|
|
354
|
+
vertical-align: ${ce.verticalAlign};
|
|
355
355
|
}
|
|
356
356
|
|
|
357
357
|
i.ft-icon.ft-icon--fluid-topics {
|
|
358
|
-
font-family: ${
|
|
358
|
+
font-family: ${ce.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
359
359
|
|
|
360
360
|
/* Ugly fix because font is broken */
|
|
361
|
-
font-size: calc(0.75 * ${
|
|
362
|
-
line-height: ${
|
|
361
|
+
font-size: calc(0.75 * ${ce.size});
|
|
362
|
+
line-height: ${ce.size};
|
|
363
363
|
position: relative;
|
|
364
364
|
top: -4%;
|
|
365
365
|
justify-content: center;
|
|
366
366
|
}
|
|
367
367
|
|
|
368
368
|
.ft-icon--file-format {
|
|
369
|
-
font-family: ${
|
|
369
|
+
font-family: ${ce.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
370
370
|
}
|
|
371
371
|
|
|
372
372
|
.ft-icon--material {
|
|
373
|
-
font-family: ${
|
|
373
|
+
font-family: ${ce.materialFontFamily}, "Material Icons", sans-serif;
|
|
374
374
|
}
|
|
375
|
-
`;var
|
|
375
|
+
`;var jc=o.extend("--ft-button-color","",M.colorPrimary),Z={backgroundColor:o.extend("--ft-button-background-color","",M.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",M.borderRadiusL),color:jc,fontSize:o.extend("--ft-button-font-size","",Me.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",jc),verticalPadding:o.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.external(M.colorOpacityDisabled,"Design system")},Vc=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",M.colorOnPrimary)),aa={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",M.colorPrimary)),color:Vc,rippleColor:o.extend("--ft-button-primary-ripple-color","",Vc)},Ue={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",M.borderRadiusM)),verticalPadding:o.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:o.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:o.create("--ft-button-dense-icon-padding","","SIZE","4px")},Kc=[I`
|
|
376
376
|
:host {
|
|
377
377
|
display: inline-block;
|
|
378
378
|
max-width: 100%;
|
|
@@ -383,7 +383,7 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
383
383
|
box-shadow: 0px 0px 0px transparent;
|
|
384
384
|
border: 0px solid transparent;
|
|
385
385
|
text-shadow: 0px 0px 0px transparent;
|
|
386
|
-
font-size: ${
|
|
386
|
+
font-size: ${Z.fontSize};
|
|
387
387
|
}
|
|
388
388
|
|
|
389
389
|
button:hover {
|
|
@@ -412,31 +412,31 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
412
412
|
border: none;
|
|
413
413
|
pointer-events: auto;
|
|
414
414
|
|
|
415
|
-
--ft-button-internal-line-height: max(calc(${
|
|
416
|
-
--ft-button-internal-color: ${
|
|
417
|
-
${
|
|
418
|
-
${
|
|
415
|
+
--ft-button-internal-line-height: max(calc(${Z.fontSize} + 2px), ${Z.iconSize});
|
|
416
|
+
--ft-button-internal-color: ${Z.color};
|
|
417
|
+
${L(ce.size,Z.iconSize)};
|
|
418
|
+
${L(B.color,Z.rippleColor)};
|
|
419
419
|
|
|
420
|
-
border-radius: ${
|
|
421
|
-
padding: ${
|
|
422
|
-
background-color: ${
|
|
420
|
+
border-radius: ${Z.borderRadius};
|
|
421
|
+
padding: ${Z.verticalPadding} ${Z.horizontalPadding};
|
|
422
|
+
background-color: ${Z.backgroundColor};
|
|
423
423
|
color: var(--ft-button-internal-color);
|
|
424
424
|
-webkit-mask-image: radial-gradient(white, black);
|
|
425
425
|
}
|
|
426
426
|
|
|
427
427
|
.ft-button.ft-button--outlined {
|
|
428
428
|
border: 1px solid var(--ft-button-internal-color);
|
|
429
|
-
padding: calc(${
|
|
429
|
+
padding: calc(${Z.verticalPadding} - 1px) calc(${Z.horizontalPadding} - 1px);
|
|
430
430
|
}
|
|
431
431
|
|
|
432
432
|
.ft-button.ft-button--dense {
|
|
433
|
-
padding: ${
|
|
434
|
-
border-radius: ${
|
|
435
|
-
gap: ${
|
|
433
|
+
padding: ${Ue.verticalPadding} ${Ue.horizontalPadding};
|
|
434
|
+
border-radius: ${Ue.borderRadius};
|
|
435
|
+
gap: ${Ue.iconPadding};
|
|
436
436
|
}
|
|
437
437
|
|
|
438
438
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
439
|
-
padding: calc(${
|
|
439
|
+
padding: calc(${Ue.verticalPadding} - 1px) calc(${Ue.horizontalPadding} - 1px);
|
|
440
440
|
}
|
|
441
441
|
|
|
442
442
|
.ft-button:not([disabled]):hover {
|
|
@@ -444,22 +444,22 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
444
444
|
}
|
|
445
445
|
|
|
446
446
|
.ft-button--round {
|
|
447
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
447
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Z.verticalPadding});
|
|
448
448
|
}
|
|
449
449
|
|
|
450
450
|
.ft-button--round.ft-button--dense {
|
|
451
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
451
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Ue.verticalPadding});
|
|
452
452
|
}
|
|
453
453
|
|
|
454
454
|
.ft-button[disabled] {
|
|
455
455
|
filter: grayscale(1);
|
|
456
|
-
opacity: ${
|
|
456
|
+
opacity: ${Z.opacityDisabled};
|
|
457
457
|
}
|
|
458
458
|
|
|
459
459
|
.ft-button.ft-button--primary {
|
|
460
|
-
background-color: ${
|
|
461
|
-
--ft-button-internal-color: ${
|
|
462
|
-
${
|
|
460
|
+
background-color: ${aa.backgroundColor};
|
|
461
|
+
--ft-button-internal-color: ${aa.color};
|
|
462
|
+
${L(B.color,aa.rippleColor)};
|
|
463
463
|
}
|
|
464
464
|
|
|
465
465
|
.ft-button:focus {
|
|
@@ -472,13 +472,13 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
472
472
|
white-space: nowrap;
|
|
473
473
|
text-overflow: ellipsis;
|
|
474
474
|
display: block;
|
|
475
|
-
margin: 0 ${
|
|
476
|
-
${
|
|
477
|
-
${
|
|
475
|
+
margin: 0 ${Z.iconPadding};
|
|
476
|
+
${L(Me.fontSize,"1em")};
|
|
477
|
+
${L(Me.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
478
478
|
}
|
|
479
479
|
|
|
480
480
|
.ft-button--dense .ft-button--label {
|
|
481
|
-
margin: 0 ${
|
|
481
|
+
margin: 0 ${Ue.iconPadding};
|
|
482
482
|
}
|
|
483
483
|
|
|
484
484
|
.ft-button--label[hidden] {
|
|
@@ -491,13 +491,13 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
491
491
|
}
|
|
492
492
|
|
|
493
493
|
.ft-button--label[hidden] + [part="icon"] {
|
|
494
|
-
margin: 0 calc(${
|
|
495
|
-
padding: 0 ${
|
|
494
|
+
margin: 0 calc(${Z.horizontalPadding} * -1);
|
|
495
|
+
padding: 0 ${Z.verticalPadding};
|
|
496
496
|
}
|
|
497
497
|
|
|
498
498
|
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
499
|
-
margin: 0 calc(${
|
|
500
|
-
padding: 0 ${
|
|
499
|
+
margin: 0 calc(${Ue.horizontalPadding} * -1);
|
|
500
|
+
padding: 0 ${Ue.verticalPadding};
|
|
501
501
|
}
|
|
502
502
|
|
|
503
503
|
.ft-button:not(.ft-button--trailing-icon) [part="label"]{
|
|
@@ -505,29 +505,29 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
505
505
|
}
|
|
506
506
|
|
|
507
507
|
ft-loader {
|
|
508
|
-
${
|
|
509
|
-
${
|
|
508
|
+
${L(se.size,Z.iconSize)};
|
|
509
|
+
${L(se.color,"var(--ft-button-internal-color)")};
|
|
510
510
|
}
|
|
511
|
-
`,
|
|
511
|
+
`,Lr];var ue=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},G=class extends H{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 pe(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 pe(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 z`
|
|
512
512
|
<style>
|
|
513
513
|
.ft-ripple .ft-ripple--effect {
|
|
514
514
|
left: ${this.originX}px;
|
|
515
515
|
top: ${this.originY}px;
|
|
516
516
|
}
|
|
517
517
|
</style>
|
|
518
|
-
<div class="${
|
|
518
|
+
<div class="${wt(e)}">
|
|
519
519
|
<div class="ft-ripple--background"></div>
|
|
520
520
|
<div class="ft-ripple--effect"></div>
|
|
521
521
|
</div>
|
|
522
|
-
`}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=(...
|
|
523
|
-
<${
|
|
522
|
+
`}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(d=>window.addEventListener(d,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()}};G.elementDefinitions={};G.styles=Nc;ue([w({type:Boolean})],G.prototype,"primary",void 0);ue([w({type:Boolean})],G.prototype,"secondary",void 0);ue([w({type:Boolean})],G.prototype,"unbounded",void 0);ue([w({type:Boolean})],G.prototype,"activated",void 0);ue([w({type:Boolean})],G.prototype,"selected",void 0);ue([w({type:Boolean})],G.prototype,"disabled",void 0);ue([re()],G.prototype,"hovered",void 0);ue([re()],G.prototype,"focused",void 0);ue([re()],G.prototype,"pressed",void 0);ue([re()],G.prototype,"rippling",void 0);ue([re()],G.prototype,"originX",void 0);ue([re()],G.prototype,"originY",void 0);ue([ie(".ft-ripple")],G.prototype,"ripple",void 0);ue([ie(".ft-ripple--effect")],G.prototype,"rippleEffect",void 0);Q("ft-ripple")(G);var Zc=Symbol.for(""),eu=t=>{if(t?.r===Zc)return t?._$litStatic$},sa=t=>({_$litStatic$:t,r:Zc});var Gc=new Map,qc=t=>(e,...r)=>{let n=r.length,i,a,s=[],c=[],l,d=0,f=!1;for(;d<n;){for(l=e[d];d<n&&(a=r[d],(i=eu(a))!==void 0);)l+=i+e[++d],f=!0;d!==n&&c.push(a),s.push(l),d++}if(d===n&&s.push(e[n]),f){let h=s.join("$$lit$$");(e=Gc.get(h))===void 0&&(s.raw=s,Gc.set(h,e=s)),r=c}return t(e,...r)},ca=qc(Ma),Wx=qc(Ua);var pt;(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"})(pt||(pt={}));var Yc=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},be=class extends H{constructor(){super(...arguments),this.variant=pt.body1}render(){return this.element?ca`
|
|
523
|
+
<${sa(this.element)}
|
|
524
524
|
part="text"
|
|
525
525
|
class="ft-typography ft-typography--${this.variant}">
|
|
526
526
|
<slot></slot>
|
|
527
|
-
</${
|
|
528
|
-
`:
|
|
527
|
+
</${sa(this.element)}>
|
|
528
|
+
`:ca`
|
|
529
529
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
530
|
-
`}};
|
|
530
|
+
`}};be.styles=[Tc,Ic,Lc,$c,kc,$o,Dc,Mc,Uc,Bc,Fc,...Wc];Yc([w()],be.prototype,"element",void 0);Yc([w()],be.prototype,"variant",void 0);Q("ft-typography")(be);var dt={distance:o.create("--ft-tooltip-distance","","SIZE","4px"),color:o.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:o.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:o.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:o.external(M.borderRadiusS,"Design system"),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},Xc=I`
|
|
531
531
|
.ft-tooltip--container {
|
|
532
532
|
display: block;
|
|
533
533
|
}
|
|
@@ -542,21 +542,21 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
542
542
|
box-sizing: border-box;
|
|
543
543
|
overflow: hidden;
|
|
544
544
|
width: max-content;
|
|
545
|
-
max-width: ${
|
|
545
|
+
max-width: ${dt.maxWidth};
|
|
546
546
|
text-align: center;
|
|
547
|
-
padding: ${
|
|
548
|
-
z-index: ${
|
|
547
|
+
padding: ${dt.distance};
|
|
548
|
+
z-index: ${dt.zIndex};
|
|
549
549
|
}
|
|
550
550
|
|
|
551
551
|
.ft-tooltip--content {
|
|
552
552
|
padding: 4px 8px;
|
|
553
|
-
border-radius: ${
|
|
554
|
-
background-color: ${
|
|
555
|
-
color: ${
|
|
553
|
+
border-radius: ${dt.borderRadiusS};
|
|
554
|
+
background-color: ${dt.backgroundColor};
|
|
555
|
+
color: ${dt.color};
|
|
556
556
|
position: relative;
|
|
557
557
|
word-break: break-word;
|
|
558
558
|
}
|
|
559
|
-
`;var
|
|
559
|
+
`;var fe=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},q=class extends H{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 pe,this.revealDebouncer=new pe}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return z`
|
|
560
560
|
<div part="container"
|
|
561
561
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
562
562
|
@mouseenter=${this.onHover}
|
|
@@ -574,46 +574,45 @@ Also for action icons.`,f.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
574
574
|
</div>
|
|
575
575
|
</div>
|
|
576
576
|
</div>
|
|
577
|
-
`}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="",ha(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=qc;me([R()],J.prototype,"text",void 0);me([R({type:Boolean})],J.prototype,"manual",void 0);me([R({type:Boolean})],J.prototype,"inline",void 0);me([R({type:Number})],J.prototype,"delay",void 0);me([R()],J.prototype,"position",void 0);me([dn()],J.prototype,"slotNodes",void 0);me([ce(".ft-tooltip--container")],J.prototype,"container",void 0);me([ce(".ft-tooltip")],J.prototype,"tooltip",void 0);me([ce(".ft-tooltip--content")],J.prototype,"tooltipContent",void 0);me([ae()],J.prototype,"visible",void 0);me([Ft({passive:!0})],J.prototype,"onTouch",null);me([Ft({passive:!0})],J.prototype,"onHover",null);me([Ft({passive:!0})],J.prototype,"onOut",null);me([Ft({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.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 ci=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])]),nf=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 Yc(t,e){var r,n,i,s;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[c,l]=(((r=nf.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(s=(i=(n=ci.get(l))!==null&&n!==void 0?n:ci.get(e))!==null&&i!==void 0?i:ci.get(c))!==null&&s!==void 0?s:A.UNKNOWN}var x0={[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 Ie;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(Ie||(Ie={}));var Do=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(c=t[l])&&(s=(i<3?c(s):i>3?c(e,r,s):c(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},ye=class extends Z{constructor(){super(...arguments),this.resolvedIcon=j}render(){let e=this.variant&&Object.values(Ie).includes(this.variant)?this.variant:Ie.fluid_topics,r=e!==Ie.material||!!this.value;return K`
|
|
577
|
+
`}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="",fi(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":be};q.styles=Xc;fe([w()],q.prototype,"text",void 0);fe([w({type:Boolean})],q.prototype,"manual",void 0);fe([w({type:Boolean})],q.prototype,"inline",void 0);fe([w({type:Number})],q.prototype,"delay",void 0);fe([w()],q.prototype,"position",void 0);fe([ln()],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);Q("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.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 la=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])]),tu=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 Jc(t,e){var r,n,i,a;t=(t??"").toLowerCase(),e=(e??"").toLowerCase();let[s,c]=(((r=tu.get(t))!==null&&r!==void 0?r:t)+"/").split("/");return(a=(i=(n=la.get(c))!==null&&n!==void 0?n:la.get(e))!==null&&i!==void 0?i:la.get(s))!==null&&a!==void 0?a:A.UNKNOWN}var v0={[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 xe;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(xe||(xe={}));var ko=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 H{constructor(){super(...arguments),this.resolvedIcon=V}render(){let e=this.variant&&Object.values(xe).includes(this.variant)?this.variant:xe.fluid_topics,r=e!==xe.material||!!this.value;return z`
|
|
578
578
|
<i class="ft-icon ft-icon--${e}" part="icon icon-${e}">
|
|
579
579
|
${mn(this.resolvedIcon)}
|
|
580
580
|
<slot ?hidden=${r}></slot>
|
|
581
581
|
</i>
|
|
582
|
-
`}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
|
|
582
|
+
`}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 xe.file_format:this.resolvedIcon=(e=A[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case xe.material:this.resolvedIcon=this.value||V;break;default:this.resolvedIcon=(r=ut[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};he.elementDefinitions={};he.styles=zc;ko([w()],he.prototype,"variant",void 0);ko([w()],he.prototype,"value",void 0);ko([re()],he.prototype,"resolvedIcon",void 0);ko([ie("slot")],he.prototype,"slottedContent",void 0);Q("ft-icon")(he);var $t=class extends H{render(){return z`
|
|
583
583
|
<div class="ft-loader">
|
|
584
584
|
<div></div>
|
|
585
585
|
<div></div>
|
|
586
586
|
<div></div>
|
|
587
587
|
<div></div>
|
|
588
588
|
</div>
|
|
589
|
-
`}};$t.styles=
|
|
589
|
+
`}};$t.styles=Hc;Q("ft-loader")($t);var ve=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 Qi(H,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){return this.addTooltipIfNeeded(z`
|
|
590
590
|
<button part="button"
|
|
591
|
-
class="${
|
|
591
|
+
class="${wt(this.buttonClasses)}"
|
|
592
592
|
aria-label="${this.getLabel()}"
|
|
593
593
|
?disabled=${this.isDisabled()}>
|
|
594
594
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
595
595
|
<ft-typography part="label"
|
|
596
596
|
variant=${this.typographyVariant}
|
|
597
597
|
element="span"
|
|
598
|
-
class="ft-button--label ${
|
|
598
|
+
class="ft-button--label ${ia?"ft-safari-ellipsis-fix":""}"
|
|
599
599
|
?hidden=${!this.hasTextContent()}>
|
|
600
600
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
601
601
|
</ft-typography>
|
|
602
602
|
${this.resolveIcon()}
|
|
603
603
|
</button>
|
|
604
|
-
`)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?
|
|
604
|
+
`)}addTooltipIfNeeded(e){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?z`
|
|
605
605
|
<ft-tooltip part="tooltip"
|
|
606
606
|
text="${this.getLabel()}"
|
|
607
607
|
position="${this.tooltipPosition}">
|
|
608
608
|
${e}
|
|
609
609
|
</ft-tooltip>
|
|
610
|
-
`:e}resolveIcon(){return this.loading?
|
|
611
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
610
|
+
`:e}resolveIcon(){return this.loading?z`
|
|
611
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?z`
|
|
612
612
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
613
|
-
`:
|
|
613
|
+
`:z`
|
|
614
614
|
<slot part="icon" name="icon"></slot>
|
|
615
|
-
`}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}};oe.elementDefinitions={"ft-ripple":Y,"ft-tooltip":J,"ft-typography":Se,"ft-icon":ye,"ft-loader":$t};Oe([R({type:String,reflect:!0})],oe.prototype,"role",void 0);Oe([R()],oe.prototype,"type",void 0);Oe([R({type:Boolean})],oe.prototype,"disabled",void 0);Oe([R()],oe.prototype,"label",void 0);Oe([R()],oe.prototype,"icon",void 0);Oe([R()],oe.prototype,"iconVariant",void 0);Oe([R({type:Boolean})],oe.prototype,"trailingIcon",void 0);Oe([R({type:Boolean})],oe.prototype,"loading",void 0);Oe([R()],oe.prototype,"tooltipPosition",void 0);Oe([R({type:Boolean})],oe.prototype,"hideTooltip",void 0);Oe([R({type:Boolean})],oe.prototype,"forceTooltip",void 0);Oe([ce(".ft-button")],oe.prototype,"button",void 0);Oe([ce(".ft-button--label slot")],oe.prototype,"slottedContent",void 0);var Wo=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var l=t.length-1;l>=0;l--)(c=t[l])&&(s=(i<3?c(s):i>3?c(e,r,s):c(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Pe=class extends oe{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"}};Pe.styles=[$r,Gc];Wo([R({type:Boolean})],Pe.prototype,"primary",void 0);Wo([R({type:Boolean})],Pe.prototype,"outlined",void 0);Wo([R({type:Boolean})],Pe.prototype,"dense",void 0);Wo([R({type:Boolean})],Pe.prototype,"round",void 0);var gt=t=>typeof t=="string"?Ge(t):t,a=class{static create(e,r,n,i){let s=l=>gt(l??i),c=k`var(${gt(e)}, ${s(i)})`;return c.name=e,c.description=r,c.category=n,c.defaultValue=i,c.defaultCssValue=s,c.get=l=>k`var(${gt(e)}, ${s(l)})`,c.breadcrumb=()=>[],c.lastResortDefaultValue=()=>i,c}static extend(e,r,n,i){let s=l=>n.get(l??i),c=k`var(${gt(e)}, ${s(i)})`;return c.name=e,c.description=r,c.category=n.category,c.fallbackVariable=n,c.defaultValue=i,c.defaultCssValue=s,c.get=l=>k`var(${gt(e)}, ${s(l)})`,c.breadcrumb=()=>[n.name,...n.breadcrumb()],c.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),c}static external(e,r){let n=s=>e.fallbackVariable?e.fallbackVariable.get(s??e.defaultValue):gt(s??e.lastResortDefaultValue()),i=k`var(${gt(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=r,i.defaultCssValue=n,i.get=s=>k`var(${gt(e.name)}, ${n(s)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};var p={colorWhite:a.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:a.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:a.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:a.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:a.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:a.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:a.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:a.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:a.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:a.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:a.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:a.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:a.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:a.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:a.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:a.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:a.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:a.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:a.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:a.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:a.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:a.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:a.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:a.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:a.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:a.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:a.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:a.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:a.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:a.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:a.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:a.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:a.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:a.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:a.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:a.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:a.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:a.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:a.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:a.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:a.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:a.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:a.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:a.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:a.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:a.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:a.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:a.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:a.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:a.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:a.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:a.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:a.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:a.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:a.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:a.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:a.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:a.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:a.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:a.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:a.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:a.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:a.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:a.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:a.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:a.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:a.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:a.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:a.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:a.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:a.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:a.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:a.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:a.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:a.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:a.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:a.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:a.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:a.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:a.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:a.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:a.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:a.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:a.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:a.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:a.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:a.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:a.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:a.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:a.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:a.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:a.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:a.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:a.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:a.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:a.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:a.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:a.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:a.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:a.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:a.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:a.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:a.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:a.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:a.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:a.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:a.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:a.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:a.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:a.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:a.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:a.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:a.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:a.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:a.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:a.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:a.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:a.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:a.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:a.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:a.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:a.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:a.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:a.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:a.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:a.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:a.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:a.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:a.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:a.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:a.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:a.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:a.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:a.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:a.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:a.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:a.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:a.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:a.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:a.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:a.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:a.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:a.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:a.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:a.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:a.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:a.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:a.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:a.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:a.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:a.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:a.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:a.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:a.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:a.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:a.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:a.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:a.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:a.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:a.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:a.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:a.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:a.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:a.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:a.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:a.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:a.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:a.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:a.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:a.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:a.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:a.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:a.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:a.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:a.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:a.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:a.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:a.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:a.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:a.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:a.create("--ft-opacity-0","","NUMBER","0"),opacity8:a.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:a.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:a.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:a.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:a.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:a.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:a.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:a.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:a.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:a.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:a.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:a.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:a.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:a.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},pv={fontFamily:a.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:a.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:a.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:a.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-display-textCase","","UNKNOWN","none")},fv={fontFamily:a.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:a.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:a.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:a.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},uv={fontFamily:a.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:a.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:a.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:a.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},hv={fontFamily:a.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:a.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:a.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:a.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},gv={fontFamily:a.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:a.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:a.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:a.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:a.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},mv={fontFamily:a.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:a.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:a.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:a.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},yv={fontFamily:a.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:a.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:a.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:a.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},bv={fontFamily:a.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:a.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:a.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:a.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:a.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},xv={fontFamily:a.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:a.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:a.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:a.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},vv={fontFamily:a.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:a.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:a.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:a.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:a.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:a.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Sv={fontFamily:a.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:a.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:a.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:a.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:a.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Ov={fontFamily:a.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:a.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:a.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:a.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:a.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Cv={fontFamily:a.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:a.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:a.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:a.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:a.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Ev={fontFamily:a.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:a.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:a.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:a.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:a.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:a.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},wv={fontFamily:a.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:a.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:a.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:a.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:a.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Nv={fontFamily:a.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:a.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:a.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:a.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:a.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Av={fontFamily:a.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:a.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:a.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:a.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:a.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:a.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Rv={fontFamily:a.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:a.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Iv={fontFamily:a.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:a.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Pv={fontFamily:a.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:a.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:a.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Lv={fontFamily:a.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:a.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},_v={fontFamily:a.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:a.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},Tv={fontFamily:a.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:a.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:a.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},kv={fontFamily:a.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:a.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:a.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},Uv={fontFamily:a.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:a.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:a.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},$v={fontFamily:a.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:a.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:a.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:a.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:a.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:a.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:a.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:a.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:a.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")};var g={backgroundActionPrimary:a.extend("--ft-background-action-primary","Used as backgorund of primary action components.",p.colorBrand0),backgroundErrorSubtle:a.extend("--ft-background-error-subtle","Used as background of subtle error components.",p.colorRed10),backgroundInfoSubtle:a.extend("--ft-background-info-subtle","Used as background of subtle information components.",p.colorCyan10),backgroundWarningSubtle:a.extend("--ft-background-warning-subtle","Used as background of subtle information components.",p.colorOrange10),backgroundSuccessSubtle:a.extend("--ft-background-success-subtle","Used as background of subtle success components.",p.colorGreen10),backgroundGlobalSurface:a.extend("--ft-background-global-surface","Used as app background.",p.colorWhite),backgroundGlobalOnSurface:a.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",p.colorGray10),backgroundGlobalOnSurfaceDark:a.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",p.colorGray30),contentActionPrimary:a.extend("--ft-content-action-primary","Used on label of primary action on light surface.",p.colorBrand0),contentWarningPrimary:a.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",p.colorOrange200),contentWarningIconOnly:a.extend("--ft-content-warning-icon-only","Used on warning status icons alone",p.colorOrange0),contentErrorPrimary:a.extend("--ft-content-error-primary","Used on label of error messages on light surface.",p.colorRed0),contentErrorIconOnly:a.extend("--ft-content-error-icon-only","Used on error status icons alone",p.colorRed70),contentInfoPrimary:a.extend("--ft-content-info-primary","Used on label of information messages on light surface.",p.colorCyan200),contentInfoIconOnly:a.extend("--ft-content-info-icon-only","Used on info status icons alone",p.colorCyan0),contentSuccessPrimary:a.extend("--ft-content-success-primary","Used on label of success messages on light surface.",p.colorGreen200),contentSuccessIconOnly:a.extend("--ft-content-success-icon-only","Used on success status icons alone",p.colorGreen0),contentGlobalPrimary:a.extend("--ft-content-global-primary","Used for main content on the page.",p.colorGray500),contentGlobalSecondary:a.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
616
|
-
Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",p.colorGray0),contentGlobalOnColor:a.extend("--ft-content-global-on-color","Used for content on a dominant color.",p.colorWhite),borderActionPrimary:a.extend("--ft-border-action-primary","Used as border for primary action components.",p.colorBrand0),borderActionFocusRing:a.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",p.colorCyan0),borderWarningPrimary:a.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",p.colorOrange200),borderWarningSubtle:a.extend("--ft-border-warning-subtle","Used as border for warning components.",p.colorOrange30),borderSuccessPrimary:a.extend("--ft-border-success-primary","Used as border for success buttons.",p.colorGreen200),borderSuccessSubtle:a.extend("--ft-border-success-subtle","Used as border for success components.",p.colorGreen30),borderErrorPrimary:a.extend("--ft-border-error-primary","Used as border for text fields in error states.",p.colorRed0),borderErrorSubtle:a.extend("--ft-border-error-subtle","Used as border for error components.",p.colorRed30),borderInfoPrimary:a.extend("--ft-border-info-primary","Used as border for buttons in info color.",p.colorCyan200),borderInfoSubtle:a.extend("--ft-border-info-subtle","Used as border for information components.",p.colorCyan30),borderGlobalPrimary:a.extend("--ft-border-global-primary","Used as border for element like input.",p.colorGray50),borderGlobalSubtle:a.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",p.colorGray30),borderInputPrimary:a.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",p.colorGray80)};var _={largeHeight:a.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:a.extend("--ft-button-large-horizontal-padding","",p.spacing4),largeGap:a.extend("--ft-button-large-gap","",p.spacing2),largeBorderRadius:a.extend("--ft-button-large-border-radius","",p.borderRadiusS),largeIconSize:a.extend("--ft-button-large-icon-size","",p.iconSize3),largeBorderWidth:a.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:a.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:a.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:a.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:a.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:a.extend("--ft-button-medium-horizontal-padding","",p.spacing3),mediumGap:a.extend("--ft-button-medium-gap","",p.spacing2),mediumBorderRadius:a.extend("--ft-button-medium-border-radius","",p.borderRadiusS),mediumIconSize:a.extend("--ft-button-medium-icon-size","",p.iconSize2),mediumBorderWidth:a.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:a.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:a.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:a.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:a.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:a.extend("--ft-button-small-horizontal-padding","",p.spacing2),smallGap:a.extend("--ft-button-small-gap","",p.spacing1),smallBorderRadius:a.extend("--ft-button-small-border-radius","",p.borderRadiusS),smallIconSize:a.extend("--ft-button-small-icon-size","",p.iconSize1),smallBorderWidth:a.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:a.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:a.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:a.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:a.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:a.extend("--ft-button-x-small-icon-size","",p.iconSize1),xSmallFocusOutlineOffset:a.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:a.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:a.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:a.extend("--ft-button-round-border-radius","",p.borderRadiusPill),primaryBackgroundColor:a.extend("--ft-button-primary-background-color","",g.backgroundActionPrimary),primaryColor:a.extend("--ft-button-primary-color","",g.contentGlobalOnColor),primaryIconColor:a.extend("--ft-button-primary-icon-color","",g.contentGlobalOnColor),primaryStateLayerColor:a.extend("--ft-button-primary-state-layer-color","",g.contentGlobalOnColor),primaryHoverStateLayerOpacity:a.extend("--ft-button-primary-hover-state-layer-opacity","",p.opacity16),primaryFocusStateLayerOpacity:a.extend("--ft-button-primary-focus-state-layer-opacity","",p.opacity16),primaryActiveStateLayerOpacity:a.extend("--ft-button-primary-active-state-layer-opacity","",p.opacity24),primaryDisabledComponentOpacity:a.extend("--ft-button-primary-disabled-component-opacity","",p.opacity40),focusFocusRingColor:a.extend("--ft-button-focus-focus-ring-color","",g.borderActionFocusRing),tertiaryBackgroundColor:a.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:a.extend("--ft-button-tertiary-color","",g.contentActionPrimary),tertiaryIconColor:a.extend("--ft-button-tertiary-icon-color","",g.contentActionPrimary),tertiaryStateLayerColor:a.extend("--ft-button-tertiary-state-layer-color","",g.contentActionPrimary),tertiaryHoverStateLayerOpacity:a.extend("--ft-button-tertiary-hover-state-layer-opacity","",p.opacity8),tertiaryFocusStateLayerOpacity:a.extend("--ft-button-tertiary-focus-state-layer-opacity","",p.opacity8),tertiaryActiveStateLayerOpacity:a.extend("--ft-button-tertiary-active-state-layer-opacity","",p.opacity16),tertiaryDisabledComponentOpacity:a.extend("--ft-button-tertiary-disabled-component-opacity","",p.opacity40),secondaryBackgroundColor:a.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:a.extend("--ft-button-secondary-color","",g.contentActionPrimary),secondaryIconColor:a.extend("--ft-button-secondary-icon-color","",g.contentActionPrimary),secondaryStateLayerColor:a.extend("--ft-button-secondary-state-layer-color","",g.contentActionPrimary),secondaryHoverStateLayerOpacity:a.extend("--ft-button-secondary-hover-state-layer-opacity","",p.opacity8),secondaryFocusStateLayerOpacity:a.extend("--ft-button-secondary-focus-state-layer-opacity","",p.opacity8),secondaryActiveStateLayerOpacity:a.extend("--ft-button-secondary-active-state-layer-opacity","",p.opacity16),secondaryDisabledComponentOpacity:a.extend("--ft-button-secondary-disabled-component-opacity","",p.opacity40),secondaryBorderColor:a.extend("--ft-button-secondary-border-color","",g.borderActionPrimary),neutralBackgroundColor:a.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:a.extend("--ft-button-neutral-icon-color","",g.contentGlobalSecondary),neutralColor:a.extend("--ft-button-neutral-color","",g.contentGlobalSecondary),neutralStateLayerColor:a.extend("--ft-button-neutral-state-layer-color","",g.contentGlobalSecondary),neutralHoverStateLayerOpacity:a.extend("--ft-button-neutral-hover-state-layer-opacity","",p.opacity8),neutralFocusStateLayerOpacity:a.extend("--ft-button-neutral-focus-state-layer-opacity","",p.opacity8),neutralActiveStateLayerOpacity:a.extend("--ft-button-neutral-active-state-layer-opacity","",p.opacity16),neutralDisabledComponentOpacity:a.extend("--ft-button-neutral-disabled-component-opacity","",p.opacity40)};var jv={largeMinHeight:a.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:a.extend("--ft-chip-large-horizontal-padding","",p.spacing3),largeButtonRightPadding:a.extend("--ft-chip-large-button-right-padding","",p.spacing1),largeGap:a.extend("--ft-chip-large-gap","",p.spacing1),largeFocusOutlineOffset:a.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:a.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:a.extend("--ft-chip-large-border-radius","",p.borderRadiusPill),largeBorderWidth:a.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:a.extend("--ft-chip-large-icon-size","",p.iconSize3),mediumMinHeight:a.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:a.extend("--ft-chip-medium-horizontal-padding","",p.spacing2),mediumButtonRightPadding:a.extend("--ft-chip-medium-button-right-padding","",p.spacing05),mediumGap:a.extend("--ft-chip-medium-gap","",p.spacing1),mediumFocusOutlineOffset:a.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:a.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:a.extend("--ft-chip-medium-border-radius","",p.borderRadiusPill),mediumBorderWidth:a.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:a.extend("--ft-chip-medium-icon-size","",p.iconSize2),smallMinHeight:a.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:a.extend("--ft-chip-small-horizontal-padding","",p.spacing1),smallButtonRightPadding:a.extend("--ft-chip-small-button-right-padding","",p.spacing05),smallGap:a.extend("--ft-chip-small-gap","",p.spacing1),smallFocusOutlineOffset:a.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:a.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:a.extend("--ft-chip-small-border-radius","",p.borderRadiusPill),smallBorderWidth:a.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:a.extend("--ft-chip-small-icon-size","",p.iconSize1),neutralBackgroundColor:a.extend("--ft-chip-neutral-background-color","",g.backgroundGlobalOnSurface),neutralColor:a.extend("--ft-chip-neutral-color","",g.contentGlobalSecondary),neutralIconColor:a.extend("--ft-chip-neutral-icon-color","",g.contentGlobalSecondary),neutralBorderColor:a.extend("--ft-chip-neutral-border-color","",g.borderGlobalSubtle),infoBackgroundColor:a.extend("--ft-chip-info-background-color","",g.backgroundInfoSubtle),infoColor:a.extend("--ft-chip-info-color","",g.contentInfoPrimary),infoIconColor:a.extend("--ft-chip-info-icon-color","",g.contentInfoIconOnly),infoBorderColor:a.extend("--ft-chip-info-border-color","",g.borderInfoSubtle),successBackgroundColor:a.extend("--ft-chip-success-background-color","",g.backgroundSuccessSubtle),successColor:a.extend("--ft-chip-success-color","",g.contentSuccessPrimary),successIconColor:a.extend("--ft-chip-success-icon-color","",g.contentSuccessIconOnly),successBorderColor:a.extend("--ft-chip-success-border-color","",g.borderSuccessSubtle),warningBackgroundColor:a.extend("--ft-chip-warning-background-color","",g.backgroundWarningSubtle),warningColor:a.extend("--ft-chip-warning-color","",g.contentWarningPrimary),warningIconColor:a.extend("--ft-chip-warning-icon-color","",g.contentWarningIconOnly),warningBorderColor:a.extend("--ft-chip-warning-border-color","",g.borderWarningSubtle),errorBackgroundColor:a.extend("--ft-chip-error-background-color","",g.backgroundErrorSubtle),errorColor:a.extend("--ft-chip-error-color","",g.contentErrorPrimary),errorIconColor:a.extend("--ft-chip-error-icon-color","",g.contentErrorIconOnly),errorBorderColor:a.extend("--ft-chip-error-border-color","",g.borderErrorSubtle)};var Qv={focusOpacity:a.extend("--ft-link-focus-opacity","",p.opacity80),focusFocusRingColor:a.extend("--ft-link-focus-focus-ring-color","",g.borderActionFocusRing),brandColor:a.extend("--ft-link-brand-color","",g.contentActionPrimary),infoColor:a.extend("--ft-link-info-color","",g.contentInfoPrimary)};var nS={iconSize:a.extend("--ft-banner-icon-size","",p.iconSize5),borderWidth:a.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:a.extend("--ft-banner-left-padding","",p.spacing6),rightPadding:a.extend("--ft-banner-right-padding","",p.spacing6),verticalPadding:a.extend("--ft-banner-vertical-padding","",p.spacing6),horizontalSideGap:a.extend("--ft-banner-horizontal-side-gap","",p.spacing6),horizontalMobileGap:a.extend("--ft-banner-horizontal-mobile-gap","",p.spacing4),verticalMobileGap:a.extend("--ft-banner-vertical-mobile-gap","",p.spacing6),horizontalMiddleGap:a.extend("--ft-banner-horizontal-middle-gap","",p.spacing20),infoBackgroundColor:a.extend("--ft-banner-info-background-color","",g.backgroundInfoSubtle),infoColor:a.extend("--ft-banner-info-color","",g.contentInfoPrimary),infoIconColor:a.extend("--ft-banner-info-icon-color","",g.contentInfoIconOnly),infoBorderColor:a.extend("--ft-banner-info-border-color","",g.borderInfoSubtle)};var lS={horizontalPadding:a.extend("--ft-badge-horizontal-padding","",p.spacing1),verticalPadding:a.extend("--ft-badge-vertical-padding","",p.spacing1),borderRadius:a.extend("--ft-badge-border-radius","",p.borderRadiusPill),color:a.extend("--ft-badge-color","",g.contentGlobalOnColor),backgroundColor:a.extend("--ft-badge-background-color","",g.contentActionPrimary)};var hS={horizontalGap:a.extend("--ft-breadcrumb-horizontal-gap","",p.spacing1),verticalGap:a.extend("--ft-breadcrumb-vertical-gap","",p.spacing2),currentColor:a.extend("--ft-breadcrumb-current-color","",g.contentGlobalPrimary),previousNonClickableColor:a.extend("--ft-breadcrumb-previous-non-clickable-color","",g.contentGlobalSecondary),iconColor:a.extend("--ft-breadcrumb-icon-color","",g.contentGlobalSubtle)};var xS={horizontalPadding:a.extend("--ft-page-header-horizontal-padding","",p.spacing12),horizontalGap:a.extend("--ft-page-header-horizontal-gap","",p.spacing4),verticalGap:a.extend("--ft-page-header-vertical-gap","",p.spacing2),classicVerticalPadding:a.extend("--ft-page-header-classic-vertical-padding","",p.spacing6),multilineVerticalPadding:a.extend("--ft-page-header-multiline-vertical-padding","",p.spacing4),inlineVerticalPadding:a.extend("--ft-page-header-inline-vertical-padding","",p.spacing2),backgroundColor:a.extend("--ft-page-header-background-color","",p.colorWhite),bottomBorderColor:a.extend("--ft-page-header-bottom-border-color","",g.borderGlobalSubtle),titleColor:a.extend("--ft-page-header-title-color","",g.contentGlobalPrimary),subtitleColor:a.extend("--ft-page-header-subtitle-color","",g.contentGlobalSecondary)};var ES={smallContainerWidth:a.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:a.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:a.extend("--ft-modal-overlay-background-color","",p.colorGray700),overlayOpacity:a.extend("--ft-modal-overlay-opacity","",p.opacity40),shadow:a.extend("--ft-modal-shadow","",p.shadowElevation03),bodyBackgroundColor:a.extend("--ft-modal-body-background-color","",p.colorWhite),bodyColor:a.extend("--ft-modal-body-color","",g.contentGlobalPrimary),bodyHorizontalPadding:a.extend("--ft-modal-body-horizontal-padding","",p.spacing6),bodyVerticalPadding:a.extend("--ft-modal-body-vertical-padding","",p.spacing6),bodyVerticalGap:a.extend("--ft-modal-body-vertical-gap","",p.spacing6),containerMargin:a.extend("--ft-modal-container-margin","",p.spacing3),headerBackgroundColor:a.extend("--ft-modal-header-background-color","",g.backgroundGlobalOnSurface),headerBorderColor:a.extend("--ft-modal-header-border-color","",g.borderGlobalSubtle),headerColor:a.extend("--ft-modal-header-color","",g.contentGlobalPrimary),headerTrailingIconColor:a.extend("--ft-modal-header-trailing-icon-color","",g.contentGlobalSecondary),headerVerticalPadding:a.extend("--ft-modal-header-vertical-padding","",p.spacing1),headerRightPadding:a.extend("--ft-modal-header-right-padding","",p.spacing1),headerLeftPadding:a.extend("--ft-modal-header-left-padding","",p.spacing6),headerGap:a.extend("--ft-modal-header-gap","",p.spacing2),headerBorderBottom:a.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:a.extend("--ft-modal-border-radius","",p.borderRadiusM)};var IS={overlayOpacity:a.extend("--ft-drawer-overlay-opacity","",p.opacity40),shadow:a.extend("--ft-drawer-shadow","",p.shadowElevation03),bodyColor:a.extend("--ft-drawer-body-color","",g.contentGlobalPrimary),bodyHorizontalPadding:a.extend("--ft-drawer-body-horizontal-padding","",p.spacing6),bodyVerticalPadding:a.extend("--ft-drawer-body-vertical-padding","",p.spacing6),bodyGap:a.extend("--ft-drawer-body-gap","",p.spacing6),bodyBackgroundColor:a.extend("--ft-drawer-body-background-color","",p.colorWhite),headerBackgroundColor:a.extend("--ft-drawer-header-background-color","",g.backgroundGlobalOnSurface),headerBorderColor:a.extend("--ft-drawer-header-border-color","",g.borderGlobalSubtle),headerColor:a.extend("--ft-drawer-header-color","",g.contentGlobalPrimary),headerTrailingIconColor:a.extend("--ft-drawer-header-trailing-icon-color","",g.contentGlobalSecondary),headerHeight:a.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:a.extend("--ft-drawer-header-horizontal-padding","",p.spacing2),headerBorderWidth:a.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:a.extend("--ft-drawer-header-gap","",p.spacing3),buttonsBarBackgroundColor:a.extend("--ft-drawer-buttons-bar-background-color","",g.backgroundGlobalOnSurface),buttonsBarBorderColor:a.extend("--ft-drawer-buttons-bar-border-color","",g.borderGlobalSubtle),buttonsBarColor:a.extend("--ft-drawer-buttons-bar-color","",g.contentGlobalPrimary),buttonsBarHorizontalPadding:a.extend("--ft-drawer-buttons-bar-horizontal-padding","",p.spacing4),buttonsBarVerticalPadding:a.extend("--ft-drawer-buttons-bar-vertical-padding","",p.spacing4),buttonsBarGap:a.extend("--ft-drawer-buttons-bar-gap","",p.spacing3),buttonsBarBorderWidth:a.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:a.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:a.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:a.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:a.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:a.extend("--ft-drawer-overlay-background-color","",p.colorGray700)};var kS={fieldHorizontalPadding:a.extend("--ft-text-input-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:a.extend("--ft-text-input-field-horizontal-gap","",p.spacing3),fieldVerticalGap:a.extend("--ft-text-input-field-vertical-gap","",p.spacing05),fieldIconSize:a.extend("--ft-text-input-field-icon-size","",p.iconSize3),fieldHeight:a.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:a.extend("--ft-text-input-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:a.extend("--ft-text-input-helper-horizontal-gap","",p.spacing1),helperIconSize:a.extend("--ft-text-input-helper-icon-size","",p.iconSize2),borderRadius:a.extend("--ft-text-input-border-radius","",p.borderRadiusM),backgroundColor:a.extend("--ft-text-input-background-color","",p.colorWhite),contentValueColor:a.extend("--ft-text-input-content-value-color","",g.contentGlobalPrimary),trailingIconColor:a.extend("--ft-text-input-trailing-icon-color","",g.contentGlobalSubtle),labelColor:a.extend("--ft-text-input-label-color","",g.contentGlobalSubtle),defaultBorderColor:a.extend("--ft-text-input-default-border-color","",g.borderInputPrimary),defaultHelperTextColor:a.extend("--ft-text-input-default-helper-text-color","",g.contentGlobalSubtle),defaultBorderWidth:a.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:a.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:a.extend("--ft-text-input-error-border-color","",g.borderErrorPrimary),errorHelperTextColor:a.extend("--ft-text-input-error-helper-text-color","",g.contentErrorPrimary),errorHelperIconColor:a.extend("--ft-text-input-error-helper-icon-color","",g.contentErrorIconOnly),warningBorderWidth:a.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:a.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:a.extend("--ft-text-input-focus-focus-ring-color","",g.borderActionFocusRing),focusOutlineOffset:a.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:a.extend("--ft-text-input-disabled-component-opacity","",p.opacity40)};var BS={backgroundColor:a.extend("--ft-text-area-background-color","",p.colorWhite),contentValueColor:a.extend("--ft-text-area-content-value-color","",g.contentGlobalPrimary),labelColor:a.extend("--ft-text-area-label-color","",g.contentGlobalSubtle),defaultBorderColor:a.extend("--ft-text-area-default-border-color","",g.borderInputPrimary),defaultHelperTextColor:a.extend("--ft-text-area-default-helper-text-color","",g.contentGlobalSubtle),defaultBorderWidth:a.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:a.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:a.extend("--ft-text-area-error-border-color","",g.borderErrorPrimary),errorHelperTextColor:a.extend("--ft-text-area-error-helper-text-color","",g.contentErrorPrimary),errorHelperIconColor:a.extend("--ft-text-area-error-helper-icon-color","",g.contentErrorIconOnly),focusFocusRingColor:a.extend("--ft-text-area-focus-focus-ring-color","",g.borderActionFocusRing),focusOutlineWidth:a.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:a.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:a.extend("--ft-text-area-disabled-component-opacity","",p.opacity40),fieldHorizontalLeftPadding:a.extend("--ft-text-area-field-horizontal-left-padding","",p.spacing4),fieldHorizontalGap:a.extend("--ft-text-area-field-horizontal-gap","",p.spacing3),fieldVerticalGap:a.extend("--ft-text-area-field-vertical-gap","",p.spacing05),fieldMinHeight:a.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:a.extend("--ft-text-area-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:a.extend("--ft-text-area-helper-horizontal-gap","",p.spacing1),helperIconSize:a.extend("--ft-text-area-helper-icon-size","",p.iconSize2),borderRadius:a.extend("--ft-text-area-border-radius","",p.borderRadiusM)};var GS={height:a.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:a.extend("--ft-floating-menu-horizontal-padding","",p.spacing4),offIconColor:a.extend("--ft-floating-menu-off-icon-color","",g.contentGlobalPrimary),offColor:a.extend("--ft-floating-menu-off-color","",g.contentGlobalPrimary),onColor:a.extend("--ft-floating-menu-on-color","",g.contentActionPrimary),onStateLayerColor:a.extend("--ft-floating-menu-on-state-layer-color","",g.contentActionPrimary),gap:a.extend("--ft-floating-menu-gap","",p.spacing3),focusFocusRingColor:a.extend("--ft-floating-menu-focus-focus-ring-color","",g.borderActionFocusRing),focusOutlineWidth:a.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:a.extend("--ft-floating-menu-focus-state-layer-opacity","",p.opacity8),hoverStateLayerOpacity:a.extend("--ft-floating-menu-hover-state-layer-opacity","",p.opacity8),activeStateLayerOpacity:a.extend("--ft-floating-menu-active-state-layer-opacity","",p.opacity16),disabledComponentOpacity:a.extend("--ft-floating-menu-disabled-component-opacity","",p.opacity40),iconSize:a.extend("--ft-floating-menu-icon-size","",p.iconSize3),backgroundColor:a.extend("--ft-floating-menu-background-color","",g.backgroundGlobalOnSurface)};var qS={fieldHorizontalPadding:a.extend("--ft-combobox-single-select-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:a.extend("--ft-combobox-single-select-field-horizontal-gap","",p.spacing3),fieldVerticalGap:a.extend("--ft-combobox-single-select-field-vertical-gap","",p.spacing05),fieldIconSize:a.extend("--ft-combobox-single-select-field-icon-size","",p.iconSize3),fieldHeight:a.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:a.extend("--ft-combobox-single-select-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:a.extend("--ft-combobox-single-select-helper-horizontal-gap","",p.spacing1),helperVerticalGap:a.extend("--ft-combobox-single-select-helper-vertical-gap","",p.spacing1),helperIconSize:a.extend("--ft-combobox-single-select-helper-icon-size","",p.iconSize2),menuVerticalGap:a.extend("--ft-combobox-single-select-menu-vertical-gap","",p.spacing2),borderRadius:a.extend("--ft-combobox-single-select-border-radius","",p.borderRadiusM),backgroundColor:a.extend("--ft-combobox-single-select-background-color","",p.colorWhite),labelColor:a.extend("--ft-combobox-single-select-label-color","",g.contentGlobalSubtle),contentValueColor:a.extend("--ft-combobox-single-select-content-value-color","",g.contentGlobalPrimary),trailingIconColor:a.extend("--ft-combobox-single-select-trailing-icon-color","",g.contentGlobalSubtle),defaultBorderColor:a.extend("--ft-combobox-single-select-default-border-color","",g.borderInputPrimary),defaultHelperTextColor:a.extend("--ft-combobox-single-select-default-helper-text-color","",g.contentGlobalSubtle),defaultBorderWidth:a.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:a.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:a.extend("--ft-combobox-single-select-error-border-color","",g.borderErrorPrimary),errorHelperTextColor:a.extend("--ft-combobox-single-select-error-helper-text-color","",g.contentErrorPrimary),warningBorderWidth:a.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:a.extend("--ft-combobox-single-select-warning-border-color","",g.borderWarningPrimary),warningHelperTextColor:a.extend("--ft-combobox-single-select-warning-helper-text-color","",g.contentWarningPrimary),warningHelperIconColor:a.extend("--ft-combobox-single-select-warning-helper-icon-color","",g.contentWarningIconOnly),focusOutlineWidth:a.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:a.extend("--ft-combobox-single-select-focus-focus-ring-color","",g.borderActionFocusRing),focusOutlineOffset:a.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:a.extend("--ft-combobox-single-select-disabled-component-opacity","",p.opacity40)};var eO={backgroundColor:a.extend("--ft-combobox-multi-select-background-color","",p.colorWhite),labelColor:a.extend("--ft-combobox-multi-select-label-color","",g.contentGlobalSubtle),trailingIconColor:a.extend("--ft-combobox-multi-select-trailing-icon-color","",g.contentGlobalSubtle),defaultBorderColor:a.extend("--ft-combobox-multi-select-default-border-color","",g.borderInputPrimary),defaultHelperTextColor:a.extend("--ft-combobox-multi-select-default-helper-text-color","",g.contentGlobalSubtle),defaultBorderWidth:a.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:a.extend("--ft-combobox-multi-select-error-border-color","",g.borderErrorPrimary),errorHelperTextColor:a.extend("--ft-combobox-multi-select-error-helper-text-color","",g.contentErrorPrimary),errorHelperIcon:a.extend("--ft-combobox-multi-select-error-helper-icon","",g.contentErrorIconOnly),errorBorderWidth:a.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:a.extend("--ft-combobox-multi-select-warning-border-color","",g.borderWarningPrimary),warningHelperTextColor:a.extend("--ft-combobox-multi-select-warning-helper-text-color","",g.contentWarningPrimary),warningHelperIconColor:a.extend("--ft-combobox-multi-select-warning-helper-icon-color","",g.contentWarningIconOnly),warningBorderWidth:a.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:a.extend("--ft-combobox-multi-select-focus-focus-ring-color","",g.borderActionFocusRing),focusOutlineWidth:a.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:a.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:a.extend("--ft-combobox-multi-select-disabled-component-opacity","",p.opacity40),helperHorizontalPadding:a.extend("--ft-combobox-multi-select-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:a.extend("--ft-combobox-multi-select-helper-horizontal-gap","",p.spacing1),helperVerticalGap:a.extend("--ft-combobox-multi-select-helper-vertical-gap","",p.spacing1),helperIconSize:a.extend("--ft-combobox-multi-select-helper-icon-size","",p.iconSize2),fieldHorizontalPadding:a.extend("--ft-combobox-multi-select-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:a.extend("--ft-combobox-multi-select-field-horizontal-gap","",p.spacing3),fieldVerticalGap:a.extend("--ft-combobox-multi-select-field-vertical-gap","",p.spacing05),fieldIconSize:a.extend("--ft-combobox-multi-select-field-icon-size","",p.iconSize3),fieldMaxHeight:a.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:a.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",p.spacing1),contentValuesVerticalGap:a.extend("--ft-combobox-multi-select-content-values-vertical-gap","",p.spacing1),borderRadius:a.extend("--ft-combobox-multi-select-border-radius","",p.borderRadiusM)};var aO={backgroundColor:a.extend("--ft-popover-background-color","",g.backgroundGlobalOnSurface),horizontalPadding:a.extend("--ft-popover-horizontal-padding","",p.spacing6),verticalPadding:a.extend("--ft-popover-vertical-padding","",p.spacing6),titleColor:a.extend("--ft-popover-title-color","",g.contentGlobalPrimary),bodyColor:a.extend("--ft-popover-body-color","",g.contentGlobalSecondary),linkColor:a.extend("--ft-popover-link-color","",g.contentActionPrimary),gap:a.extend("--ft-popover-gap","",p.spacing3),borderRadius:a.extend("--ft-popover-border-radius","",p.borderRadiusM),shadow:a.extend("--ft-popover-shadow","",p.shadowElevation02)};var dO={topLeftBorderRadius:a.extend("--ft-tabs-top-left-border-radius","",p.borderRadiusS),topRightBorderRadius:a.extend("--ft-tabs-top-right-border-radius","",p.borderRadiusS),withLabelHorizontalPadding:a.extend("--ft-tabs-with-label-horizontal-padding","",p.spacing4),withLabelVerticalPadding:a.extend("--ft-tabs-with-label-vertical-padding","",p.spacing3),horizontalGap:a.extend("--ft-tabs-horizontal-gap","",p.spacing1),verticalGap:a.extend("--ft-tabs-vertical-gap","",p.spacing1),offHoverStateLayerOpacity:a.extend("--ft-tabs-off-hover-state-layer-opacity","",p.opacity8),offDefaultStateLayerOpacity:a.extend("--ft-tabs-off-default-state-layer-opacity","",p.opacity0),offFocusStateLayerOpacity:a.extend("--ft-tabs-off-focus-state-layer-opacity","",p.opacity8),offDisabledComponentOpacity:a.extend("--ft-tabs-off-disabled-component-opacity","",p.opacity40),offColor:a.extend("--ft-tabs-off-color","",g.contentGlobalSubtle),offStateLayerColor:a.extend("--ft-tabs-off-state-layer-color","",g.contentGlobalSubtle),onHoverStateLayerOpacity:a.extend("--ft-tabs-on-hover-state-layer-opacity","",p.opacity8),onDefaultStateLayerOpacity:a.extend("--ft-tabs-on-default-state-layer-opacity","",p.opacity0),onFocusStateLayerOpacity:a.extend("--ft-tabs-on-focus-state-layer-opacity","",p.opacity8),onActiveStateLayerOpacity:a.extend("--ft-tabs-on-active-state-layer-opacity","",p.opacity16),onColor:a.extend("--ft-tabs-on-color","",g.contentActionPrimary),onStateLayerColor:a.extend("--ft-tabs-on-state-layer-color","",g.contentActionPrimary),iconOnlyHorizontalPadding:a.extend("--ft-tabs-icon-only-horizontal-padding","",p.spacing4),iconOnlyVerticalPadding:a.extend("--ft-tabs-icon-only-vertical-padding","",p.spacing4),alertTopPadding:a.extend("--ft-tabs-alert-top-padding","",p.spacing1),alertRightPadding:a.extend("--ft-tabs-alert-right-padding","",p.spacing05),focusOutlineWidth:a.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:a.extend("--ft-tabs-focus-focus-ring-color","",g.borderActionFocusRing)};var gO={hoverStateLayerOpacity:a.extend("--ft-collapsible-hover-state-layer-opacity","",p.opacity8),focusStateLayerOpacity:a.extend("--ft-collapsible-focus-state-layer-opacity","",p.opacity8),focusOutlineWidth:a.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:a.extend("--ft-collapsible-focus-focus-ring-color","",g.borderActionFocusRing),activeStateLayerOpacity:a.extend("--ft-collapsible-active-state-layer-opacity","",p.opacity16),disabledComponentOpacity:a.extend("--ft-collapsible-disabled-component-opacity","",p.opacity40),horizontalPadding:a.extend("--ft-collapsible-horizontal-padding","",p.spacing4),verticalPadding:a.extend("--ft-collapsible-vertical-padding","",p.spacing3),color:a.extend("--ft-collapsible-color","",g.contentGlobalPrimary),stateLayerColor:a.extend("--ft-collapsible-state-layer-color","",g.contentGlobalPrimary),backgroundColor:a.extend("--ft-collapsible-background-color","",g.backgroundGlobalOnSurface),borderColor:a.extend("--ft-collapsible-border-color","",g.borderGlobalSubtle),iconSize:a.extend("--ft-collapsible-icon-size","",p.iconSize3)};var vO={groupHorizontalPadding:a.extend("--ft-switch-group-horizontal-padding","",p.spacing1),groupVerticalPadding:a.extend("--ft-switch-group-vertical-padding","",p.spacing1),groupGap:a.extend("--ft-switch-group-gap","",p.spacing1),groupBackgroundColor:a.extend("--ft-switch-group-background-color","",g.backgroundGlobalSurface),groupBorderColor:a.extend("--ft-switch-group-border-color","",g.borderGlobalSubtle),groupBorderRadius:a.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:a.extend("--ft-switch-label-horizontal-padding","",p.spacing2),labelVerticalPadding:a.extend("--ft-switch-label-vertical-padding","",p.spacing1),offHoverStateLayerOpacity:a.extend("--ft-switch-off-hover-state-layer-opacity","",p.opacity8),offFocusStateLayerOpacity:a.extend("--ft-switch-off-focus-state-layer-opacity","",p.opacity8),offActiveStateLayerOpacity:a.extend("--ft-switch-off-active-state-layer-opacity","",p.opacity16),offDisabledComponentOpacity:a.extend("--ft-switch-off-disabled-component-opacity","",p.opacity40),offColor:a.extend("--ft-switch-off-color","",g.contentGlobalSubtle),offStateLayerColor:a.extend("--ft-switch-off-state-layer-color","",g.contentGlobalSubtle),onHoverStateLayerOpacity:a.extend("--ft-switch-on-hover-state-layer-opacity","",p.opacity8),onFocusStateLayerOpacity:a.extend("--ft-switch-on-focus-state-layer-opacity","",p.opacity8),onActiveStateLayerOpacity:a.extend("--ft-switch-on-active-state-layer-opacity","",p.opacity16),onDisabledComponentOpacity:a.extend("--ft-switch-on-disabled-component-opacity","",p.opacity40),onColor:a.extend("--ft-switch-on-color","",g.contentActionPrimary),onStateLayerColor:a.extend("--ft-switch-on-state-layer-color","",g.contentActionPrimary),iconHorizontalPadding:a.extend("--ft-switch-icon-horizontal-padding","",p.spacing1),iconVerticalPadding:a.extend("--ft-switch-icon-vertical-padding","",p.spacing1),focusOutlineWidth:a.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:a.extend("--ft-switch-focus-focus-ring-color","",g.borderActionFocusRing),optionBorderRadius:a.extend("--ft-switch-option-border-radius","",p.borderRadiusS)};var EO={color1Light:a.extend("--ft-chart-1-light","for area color charts",p.colorBrand40),color1Base:a.extend("--ft-chart-1-base","for line charts",p.colorBrand0),color2Light:a.extend("--ft-chart-2-light","for area color charts",p.colorYellow60),color2Base:a.extend("--ft-chart-2-base","for line charts",p.colorYellow100),color3Light:a.extend("--ft-chart-3-light","",p.colorUltramarine40),color3Base:a.extend("--ft-chart-3-base","",p.colorUltramarine70),color4Light:a.extend("--ft-chart-4-light","",p.colorCyan50),color4Base:a.extend("--ft-chart-4-base","",p.colorCyan100),color5Light:a.extend("--ft-chart-5-light","",p.colorRed40),color5Base:a.extend("--ft-chart-5-base","",p.colorRed60),color6Light:a.extend("--ft-chart-6-light","",p.colorGreen40),color6Base:a.extend("--ft-chart-6-base","",p.colorGreen70),color7Light:a.extend("--ft-chart-7-light","",p.colorOrange70),color7Base:a.extend("--ft-chart-7-base","",p.colorOrange100),color8Light:a.extend("--ft-chart-8-light","",p.colorAvocado70),color8Base:a.extend("--ft-chart-8-base","",p.colorAvocado200),color9Light:a.extend("--ft-chart-9-light","",p.colorBrown50),color9Base:a.extend("--ft-chart-9-base","",p.colorBrown200),color10Light:a.extend("--ft-chart-10-light","",p.colorGray50),color10Base:a.extend("--ft-chart-10-base","",p.colorGray80),monochrome10:a.extend("--ft-chart-monochrome-10","",p.colorBrand10),monochrome20:a.extend("--ft-chart-monochrome-20","",p.colorBrand20),monochrome30:a.extend("--ft-chart-monochrome-30","",p.colorBrand40),monochrome40:a.extend("--ft-chart-monochrome-40","",p.colorBrand60),monochrome50:a.extend("--ft-chart-monochrome-50","",p.colorBrand0),monochrome60:a.extend("--ft-chart-monochrome-60","",p.colorBrand200)};var IO={borderWidth:a.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:a.extend("--ft-notice-horizontal-padding","",p.spacing3),verticalPadding:a.extend("--ft-notice-vertical-padding","",p.spacing2),borderRadius:a.extend("--ft-notice-border-radius","",p.borderRadiusS),gap:a.extend("--ft-notice-gap","",p.spacing2),iconSize:a.extend("--ft-notice-icon-size","",p.iconSize3),infoBackgroundColor:a.extend("--ft-notice-info-background-color","",g.backgroundInfoSubtle),infoBorderColor:a.extend("--ft-notice-info-border-color","",g.borderInfoSubtle),infoColor:a.extend("--ft-notice-info-color","",g.contentInfoPrimary),infoIconColor:a.extend("--ft-notice-info-icon-color","",g.contentInfoIconOnly),warningBackgroundColor:a.extend("--ft-notice-warning-background-color","",g.backgroundWarningSubtle),warningBorderColor:a.extend("--ft-notice-warning-border-color","",g.borderWarningSubtle),warningColor:a.extend("--ft-notice-warning-color","",g.contentWarningPrimary),warningIconColor:a.extend("--ft-notice-warning-icon-color","",g.contentWarningIconOnly),errorBackgroundColor:a.extend("--ft-notice-error-background-color","",g.backgroundErrorSubtle),errorBorderColor:a.extend("--ft-notice-error-border-color","",g.borderErrorSubtle),errorColor:a.extend("--ft-notice-error-color","",g.contentErrorPrimary),errorIconColor:a.extend("--ft-notice-error-icon-color","",g.contentErrorIconOnly),successBackgroundColor:a.extend("--ft-notice-success-background-color","",g.backgroundSuccessSubtle),successBorderColor:a.extend("--ft-notice-success-border-color","",g.borderSuccessSubtle),successColor:a.extend("--ft-notice-success-color","",g.contentSuccessPrimary),successIconColor:a.extend("--ft-notice-success-icon-color","",g.contentSuccessIconOnly)};var kO={color:a.extend("--ft-checkbox-color","",g.contentGlobalPrimary),checkedBackgroundColor:a.extend("--ft-checkbox-checked-background-color","",g.contentActionPrimary),checkedStateLayerColor:a.extend("--ft-checkbox-checked-state-layer-color","",g.contentActionPrimary),checkedIconColor:a.extend("--ft-checkbox-checked-icon-color","",g.contentGlobalOnColor),checkedHoverStateLayerOpacity:a.extend("--ft-checkbox-checked-hover-state-layer-opacity","",p.opacity16),checkedFocusStateLayerOpacity:a.extend("--ft-checkbox-checked-focus-state-layer-opacity","",p.opacity16),checkedActiveStateLayerOpacity:a.extend("--ft-checkbox-checked-active-state-layer-opacity","",p.opacity24),checkedDisabledComponentOpacity:a.extend("--ft-checkbox-checked-disabled-component-opacity","",p.opacity40),uncheckedBorderColor:a.extend("--ft-checkbox-unchecked-border-color","",p.colorGray80),uncheckedStateLayerColor:a.extend("--ft-checkbox-unchecked-state-layer-color","",p.colorGray80),uncheckedHoverStateLayerOpacity:a.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",p.opacity16),uncheckedFocusStateLayerOpacity:a.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",p.opacity16),uncheckedActiveStateLayerOpacity:a.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",p.opacity24),uncheckedDisabledComponentOpacity:a.extend("--ft-checkbox-unchecked-disabled-component-opacity","",p.opacity40),focusFocusRingColor:a.extend("--ft-checkbox-focus-focus-ring-color","",g.borderActionFocusRing),focusOutlineOffset:a.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:a.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:a.extend("--ft-checkbox-gap","",p.spacing3)};var BO={offHoverStateLayerOpacity:a.extend("--ft-toggle-off-hover-state-layer-opacity","",p.opacity16),offFocusStateLayerOpacity:a.extend("--ft-toggle-off-focus-state-layer-opacity","",p.opacity16),offActiveStateLayerOpacity:a.extend("--ft-toggle-off-active-state-layer-opacity","",p.opacity24),offDisabledComponentOpacity:a.extend("--ft-toggle-off-disabled-component-opacity","",p.opacity40),offBackgroundColor:a.extend("--ft-toggle-off-background-color","",g.contentGlobalSubtle),offIconColor:a.extend("--ft-toggle-off-icon-color","",g.contentGlobalSubtle),offStateLayerColor:a.extend("--ft-toggle-off-state-layer-color","",g.contentGlobalSubtle),onHoverStateLayerOpacity:a.extend("--ft-toggle-on-hover-state-layer-opacity","",p.opacity16),onFocusStateLayerOpacity:a.extend("--ft-toggle-on-focus-state-layer-opacity","",p.opacity16),onActiveStateLayerOpacity:a.extend("--ft-toggle-on-active-state-layer-opacity","",p.opacity24),onDisabledComponentOpacity:a.extend("--ft-toggle-on-disabled-component-opacity","",p.opacity40),onBackgroundColor:a.extend("--ft-toggle-on-background-color","",g.contentActionPrimary),onStateLayerColor:a.extend("--ft-toggle-on-state-layer-color","",g.contentActionPrimary),onIconColor:a.extend("--ft-toggle-on-icon-color","",g.contentActionPrimary),color:a.extend("--ft-toggle-color","",g.contentGlobalPrimary),focusFocusRingColor:a.extend("--ft-toggle-focus-focus-ring-color","",g.borderActionFocusRing),gap:a.extend("--ft-toggle-gap","",p.spacing3)};var GO={color:a.extend("--ft-radio-color","",g.contentGlobalPrimary),selectedRadioColor:a.extend("--ft-radio-selected-radio-color","",g.contentActionPrimary),selectedStateLayerColor:a.extend("--ft-radio-selected-state-layer-color","",g.contentActionPrimary),selectedHoverStateLayerOpacity:a.extend("--ft-radio-selected-hover-state-layer-opacity","",p.opacity16),selectedFocusStateLayerOpacity:a.extend("--ft-radio-selected-focus-state-layer-opacity","",p.opacity16),selectedActiveStateLayerOpacity:a.extend("--ft-radio-selected-active-state-layer-opacity","",p.opacity24),selectedDisabledComponentOpacity:a.extend("--ft-radio-selected-disabled-component-opacity","",p.opacity40),unselectedStateLayerColor:a.extend("--ft-radio-unselected-state-layer-color","",g.borderInputPrimary),unselectedBorderColor:a.extend("--ft-radio-unselected-border-color","",g.borderInputPrimary),unselectedHoverStateLayerOpacity:a.extend("--ft-radio-unselected-hover-state-layer-opacity","",p.opacity16),unselectedFocusStateLayerOpacity:a.extend("--ft-radio-unselected-focus-state-layer-opacity","",p.opacity16),unselectedActiveStateLayerOpacity:a.extend("--ft-radio-unselected-active-state-layer-opacity","",p.opacity24),unselectedDisabledComponentOpacity:a.extend("--ft-radio-unselected-disabled-component-opacity","",p.opacity40),focusFocusRingColor:a.extend("--ft-radio-focus-focus-ring-color","",g.borderActionFocusRing),focusOutlineOffset:a.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:a.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:a.extend("--ft-radio-gap","",p.spacing3)};var qO={iconSize:a.extend("--ft-notification-icon-size","",p.iconSize4),leftPadding:a.extend("--ft-notification-left-padding","",p.spacing5),rightPadding:a.extend("--ft-notification-right-padding","",p.spacing4),verticalPadding:a.extend("--ft-notification-vertical-padding","",p.spacing3),infoBackgroundColor:a.extend("--ft-notification-info-background-color","",g.backgroundInfoSubtle),infoColor:a.extend("--ft-notification-info-color","",g.contentInfoPrimary),infoIconColor:a.extend("--ft-notification-info-icon-color","",g.contentInfoIconOnly),infoBorderColor:a.extend("--ft-notification-info-border-color","",g.borderInfoSubtle),successBackgroundColor:a.extend("--ft-notification-success-background-color","",g.backgroundSuccessSubtle),successColor:a.extend("--ft-notification-success-color","",g.contentSuccessPrimary),successIconColor:a.extend("--ft-notification-success-icon-color","",g.contentSuccessIconOnly),successBorderColor:a.extend("--ft-notification-success-border-color","",g.borderSuccessSubtle),warningBackgroundColor:a.extend("--ft-notification-warning-background-color","",g.backgroundWarningSubtle),warningColor:a.extend("--ft-notification-warning-color","",g.contentWarningPrimary),warningIconColor:a.extend("--ft-notification-warning-icon-color","",g.contentWarningIconOnly),warningBorderColor:a.extend("--ft-notification-warning-border-color","",g.borderWarningSubtle),errorBackgroundColor:a.extend("--ft-notification-error-background-color","",g.backgroundErrorSubtle),errorColor:a.extend("--ft-notification-error-color","",g.contentErrorPrimary),errorIconColor:a.extend("--ft-notification-error-icon-color","",g.contentErrorIconOnly),errorBorderColor:a.extend("--ft-notification-error-border-color","",g.borderErrorSubtle),borderRadius:a.extend("--ft-notification-border-radius","",p.borderRadiusPill),borderWidth:a.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:a.extend("--ft-notification-leading-gap","",p.spacing2),trailingGap:a.extend("--ft-notification-trailing-gap","",p.spacing8)};var eC={horizontalPadding:a.extend("--ft-tooltip-horizontal-padding","",p.spacing2),verticalPadding:a.extend("--ft-tooltip-vertical-padding","",p.spacing2),borderRadius:a.extend("--ft-tooltip-border-radius","",p.borderRadiusS),color:a.extend("--ft-tooltip-color","",g.contentGlobalOnColor),backgroundColor:a.extend("--ft-tooltip-background-color","",g.contentGlobalPrimary),backgroundOpacity:a.extend("--ft-tooltip-background-opacity","",p.opacity80),shadow:a.extend("--ft-tooltip-shadow","",p.shadowElevation03),maxWidth:a.create("--ft-tooltip-max-width","","SIZE","256px"),gap:a.extend("--ft-tooltip-gap","",p.spacing05)};var Xc;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Xc||(Xc={}));var Jc;(function(t){t.large="large",t.medium="medium",t.small="small"})(Jc||(Jc={}));var Qc=[k`
|
|
615
|
+
`}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":G,"ft-tooltip":q,"ft-typography":be,"ft-icon":he,"ft-loader":$t};ve([w({type:String,reflect:!0})],ee.prototype,"role",void 0);ve([w()],ee.prototype,"type",void 0);ve([w({type:Boolean})],ee.prototype,"disabled",void 0);ve([w()],ee.prototype,"label",void 0);ve([w()],ee.prototype,"icon",void 0);ve([w()],ee.prototype,"iconVariant",void 0);ve([w({type:Boolean})],ee.prototype,"trailingIcon",void 0);ve([w({type:Boolean})],ee.prototype,"loading",void 0);ve([w()],ee.prototype,"tooltipPosition",void 0);ve([w({type:Boolean})],ee.prototype,"hideTooltip",void 0);ve([w({type:Boolean})],ee.prototype,"forceTooltip",void 0);ve([ie(".ft-button")],ee.prototype,"button",void 0);ve([ie(".ft-button--label slot")],ee.prototype,"slottedContent",void 0);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},Re=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"}};Re.styles=[$r,Kc];Do([w({type:Boolean})],Re.prototype,"primary",void 0);Do([w({type:Boolean})],Re.prototype,"outlined",void 0);Do([w({type:Boolean})],Re.prototype,"dense",void 0);Do([w({type:Boolean})],Re.prototype,"round",void 0);var Qc=[I`
|
|
617
616
|
:host {
|
|
618
617
|
display: inline-block;
|
|
619
618
|
max-width: 100%;
|
|
@@ -663,7 +662,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
|
|
|
663
662
|
}
|
|
664
663
|
|
|
665
664
|
.ft-button:focus-visible {
|
|
666
|
-
outline-color: ${
|
|
665
|
+
outline-color: ${C.focusFocusRingColor};
|
|
667
666
|
outline-style: solid;
|
|
668
667
|
}
|
|
669
668
|
|
|
@@ -689,153 +688,179 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
|
|
|
689
688
|
display: none;
|
|
690
689
|
}
|
|
691
690
|
|
|
691
|
+
.ft-button.ft-button--icon-only {
|
|
692
|
+
padding: unset;
|
|
693
|
+
border-radius: 50%;
|
|
694
|
+
}
|
|
695
|
+
|
|
692
696
|
/** Primary styles **/
|
|
693
697
|
|
|
694
698
|
.ft-button--primary {
|
|
695
|
-
${
|
|
699
|
+
${L(se.color,C.primaryIconColor)};
|
|
696
700
|
|
|
697
|
-
${
|
|
698
|
-
${
|
|
699
|
-
${
|
|
700
|
-
${
|
|
701
|
-
${
|
|
701
|
+
${L(B.color,C.primaryStateLayerColor)};
|
|
702
|
+
${L(B.opacityContentOnSurfaceHover,C.primaryHoverStateLayerOpacity)};
|
|
703
|
+
${L(B.opacityContentOnSurfaceFocused,C.primaryFocusStateLayerOpacity)};
|
|
704
|
+
${L(B.opacityContentOnSurfaceSelected,C.primaryActiveStateLayerOpacity)};
|
|
705
|
+
${L(B.opacityContentOnSurfacePressed,C.primaryActiveStateLayerOpacity)};
|
|
702
706
|
|
|
703
|
-
background-color: ${
|
|
704
|
-
color: ${
|
|
707
|
+
background-color: ${C.primaryBackgroundColor};
|
|
708
|
+
color: ${C.primaryColor};
|
|
705
709
|
border-style: none;
|
|
706
710
|
}
|
|
707
711
|
|
|
708
712
|
.ft-button--primary[disabled] {
|
|
709
|
-
opacity: ${
|
|
713
|
+
opacity: ${C.primaryDisabledComponentOpacity};
|
|
710
714
|
}
|
|
711
715
|
|
|
712
716
|
.ft-button--primary ft-icon {
|
|
713
|
-
color: ${
|
|
717
|
+
color: ${C.primaryIconColor};
|
|
714
718
|
}
|
|
715
719
|
|
|
716
720
|
/** Secondary styles **/
|
|
717
721
|
|
|
718
722
|
.ft-button--secondary {
|
|
719
|
-
${
|
|
723
|
+
${L(se.color,C.secondaryIconColor)};
|
|
720
724
|
|
|
721
|
-
${
|
|
722
|
-
${
|
|
723
|
-
${
|
|
724
|
-
${
|
|
725
|
-
${
|
|
725
|
+
${L(B.color,C.secondaryStateLayerColor)};
|
|
726
|
+
${L(B.opacityContentOnSurfaceHover,C.secondaryHoverStateLayerOpacity)};
|
|
727
|
+
${L(B.opacityContentOnSurfaceFocused,C.secondaryFocusStateLayerOpacity)};
|
|
728
|
+
${L(B.opacityContentOnSurfaceSelected,C.secondaryActiveStateLayerOpacity)};
|
|
729
|
+
${L(B.opacityContentOnSurfacePressed,C.secondaryActiveStateLayerOpacity)};
|
|
726
730
|
|
|
727
|
-
background-color: ${
|
|
728
|
-
color: ${
|
|
729
|
-
border-color: ${
|
|
731
|
+
background-color: ${C.secondaryBackgroundColor};
|
|
732
|
+
color: ${C.secondaryColor};
|
|
733
|
+
border-color: ${C.secondaryBorderColor};
|
|
730
734
|
border-style: solid;
|
|
731
735
|
}
|
|
732
736
|
|
|
733
737
|
.ft-button--secondary[disabled] {
|
|
734
|
-
opacity: ${
|
|
738
|
+
opacity: ${C.secondaryDisabledComponentOpacity};
|
|
735
739
|
}
|
|
736
740
|
|
|
737
741
|
.ft-button--secondary ft-icon {
|
|
738
|
-
color: ${
|
|
742
|
+
color: ${C.secondaryIconColor};
|
|
739
743
|
}
|
|
740
744
|
|
|
741
745
|
/** Tertiary styles **/
|
|
742
746
|
|
|
743
747
|
.ft-button--tertiary {
|
|
744
|
-
${
|
|
748
|
+
${L(se.color,C.tertiaryIconColor)};
|
|
745
749
|
|
|
746
|
-
${
|
|
747
|
-
${
|
|
748
|
-
${
|
|
749
|
-
${
|
|
750
|
-
${
|
|
750
|
+
${L(B.color,C.tertiaryStateLayerColor)};
|
|
751
|
+
${L(B.opacityContentOnSurfaceHover,C.tertiaryHoverStateLayerOpacity)};
|
|
752
|
+
${L(B.opacityContentOnSurfaceFocused,C.tertiaryFocusStateLayerOpacity)};
|
|
753
|
+
${L(B.opacityContentOnSurfaceSelected,C.tertiaryActiveStateLayerOpacity)};
|
|
754
|
+
${L(B.opacityContentOnSurfacePressed,C.tertiaryActiveStateLayerOpacity)};
|
|
751
755
|
|
|
752
|
-
background-color: ${
|
|
753
|
-
color: ${
|
|
756
|
+
background-color: ${C.tertiaryBackgroundColor};
|
|
757
|
+
color: ${C.tertiaryColor};
|
|
754
758
|
border-style: none;
|
|
755
759
|
}
|
|
756
760
|
|
|
757
761
|
.ft-button--tertiary[disabled] {
|
|
758
|
-
opacity: ${
|
|
762
|
+
opacity: ${C.tertiaryDisabledComponentOpacity};
|
|
759
763
|
}
|
|
760
764
|
|
|
761
765
|
.ft-button--tertiary ft-icon {
|
|
762
|
-
color: ${
|
|
766
|
+
color: ${C.tertiaryIconColor};
|
|
763
767
|
}
|
|
764
768
|
|
|
765
769
|
/** Neutral styles **/
|
|
766
770
|
|
|
767
|
-
.
|
|
768
|
-
${
|
|
771
|
+
.ftds--family-neutral {
|
|
772
|
+
${L(se.color,C.neutralIconColor)};
|
|
769
773
|
|
|
770
|
-
${
|
|
771
|
-
${
|
|
772
|
-
${
|
|
773
|
-
${
|
|
774
|
-
${
|
|
774
|
+
${L(B.backgroundColor,C.neutralStateLayerColor)};
|
|
775
|
+
${L(B.opacityContentOnSurfaceHover,C.neutralHoverStateLayerOpacity)};
|
|
776
|
+
${L(B.opacityContentOnSurfaceFocused,C.neutralFocusStateLayerOpacity)};
|
|
777
|
+
${L(B.opacityContentOnSurfaceSelected,C.neutralActiveStateLayerOpacity)};
|
|
778
|
+
${L(B.opacityContentOnSurfacePressed,C.neutralActiveStateLayerOpacity)};
|
|
775
779
|
|
|
776
|
-
background-color: ${
|
|
777
|
-
color: ${
|
|
780
|
+
background-color: ${C.neutralBackgroundColor};
|
|
781
|
+
color: ${C.neutralColor};
|
|
778
782
|
border-style: none;
|
|
779
783
|
}
|
|
780
784
|
|
|
781
|
-
.
|
|
782
|
-
opacity: ${
|
|
785
|
+
.ftds--family-neutral[disabled] {
|
|
786
|
+
opacity: ${C.neutralDisabledComponentOpacity};
|
|
783
787
|
}
|
|
784
788
|
|
|
785
|
-
.
|
|
786
|
-
color: ${
|
|
789
|
+
.ftds--family-neutral ft-icon {
|
|
790
|
+
color: ${C.neutralIconColor};
|
|
787
791
|
}
|
|
788
792
|
|
|
789
793
|
/** Large styles **/
|
|
790
794
|
|
|
791
|
-
.
|
|
792
|
-
${
|
|
793
|
-
${
|
|
795
|
+
.ftds--size-large {
|
|
796
|
+
${L(ce.size,C.largeIconSize)};
|
|
797
|
+
${L(se.size,C.largeIconSize)};
|
|
794
798
|
|
|
795
|
-
height: ${
|
|
796
|
-
padding: 0 ${
|
|
797
|
-
gap: ${
|
|
798
|
-
border-radius: ${
|
|
799
|
-
border-width: ${
|
|
799
|
+
height: ${C.largeHeight};
|
|
800
|
+
padding: 0 ${C.largeHorizontalPadding};
|
|
801
|
+
gap: ${C.largeGap};
|
|
802
|
+
border-radius: ${C.largeBorderRadius};
|
|
803
|
+
border-width: ${C.largeBorderWidth};
|
|
800
804
|
}
|
|
801
805
|
|
|
802
|
-
.
|
|
803
|
-
outline-width: ${
|
|
804
|
-
outline-offset: ${
|
|
806
|
+
.ftds--size-large:focus-visible {
|
|
807
|
+
outline-width: ${C.largeFocusOutlineWidth};
|
|
808
|
+
outline-offset: ${C.largeFocusOutlineOffset};
|
|
805
809
|
}
|
|
806
810
|
|
|
807
|
-
.
|
|
808
|
-
width: ${
|
|
809
|
-
padding: unset;
|
|
811
|
+
.ftds--size-large.ft-button--icon-only {
|
|
812
|
+
width: ${C.largeIconOnlyWidth};
|
|
810
813
|
}
|
|
811
814
|
|
|
812
815
|
/** Small styles **/
|
|
813
816
|
|
|
814
|
-
.
|
|
815
|
-
${
|
|
816
|
-
${
|
|
817
|
+
.ftds--size-medium {
|
|
818
|
+
${L(ce.size,C.mediumIconSize)};
|
|
819
|
+
${L(se.size,C.mediumIconSize)};
|
|
817
820
|
|
|
818
|
-
height: ${
|
|
819
|
-
padding: 0 ${
|
|
820
|
-
gap: ${
|
|
821
|
-
border-radius: ${
|
|
822
|
-
border-width: ${
|
|
821
|
+
height: ${C.mediumHeight};
|
|
822
|
+
padding: 0 ${C.mediumHorizontalPadding};
|
|
823
|
+
gap: ${C.mediumGap};
|
|
824
|
+
border-radius: ${C.mediumBorderRadius};
|
|
825
|
+
border-width: ${C.mediumBorderWidth};
|
|
823
826
|
}
|
|
824
827
|
|
|
825
|
-
.
|
|
826
|
-
outline-width: ${
|
|
827
|
-
outline-offset: ${
|
|
828
|
+
.ftds--size-medium:focus-visible {
|
|
829
|
+
outline-width: ${C.mediumFocusOutlineWidth};
|
|
830
|
+
outline-offset: ${C.mediumFocusOutlineOffset};
|
|
828
831
|
}
|
|
829
832
|
|
|
830
|
-
.
|
|
831
|
-
width: ${
|
|
832
|
-
|
|
833
|
+
.ftds--size-medium.ft-button--icon-only {
|
|
834
|
+
width: ${C.mediumIconOnlyWidth};
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
|
|
838
|
+
/** Small styles **/
|
|
839
|
+
|
|
840
|
+
.ftds--size-small {
|
|
841
|
+
${L(ce.size,C.smallIconSize)};
|
|
842
|
+
${L(se.size,C.smallIconSize)};
|
|
843
|
+
|
|
844
|
+
height: ${C.smallHeight};
|
|
845
|
+
padding: 0 ${C.smallHorizontalPadding};
|
|
846
|
+
gap: ${C.smallGap};
|
|
847
|
+
border-radius: ${C.smallBorderRadius};
|
|
848
|
+
border-width: ${C.smallBorderWidth};
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
.ftds--size-small:focus-visible {
|
|
852
|
+
outline-width: ${C.smallFocusOutlineWidth};
|
|
853
|
+
outline-offset: ${C.smallFocusOutlineOffset};
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
.ftds--size-small.ft-button--icon-only {
|
|
857
|
+
width: ${C.smallIconOnlyWidth};
|
|
833
858
|
}
|
|
834
|
-
`,
|
|
859
|
+
`,Lr];var Mo=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},qe=class extends wo(ee){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=At.brand,this.iconVariant=xe.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 ze.large:return pt.body2medium;case ze.medium:return pt.caption1medium;case ze.small:return pt.caption2medium}}};qe.styles=[$r,Qc];Mo([w({type:Boolean})],qe.prototype,"primary",void 0);Mo([w({type:Boolean})],qe.prototype,"secondary",void 0);Mo([w({type:Boolean})],qe.prototype,"tertiary",void 0);Mo([w({type:Boolean})],qe.prototype,"round",void 0);Q("ft-button")(Re);Q("ftds-button")(qe);var te={height:o.create("--ft-search-input-height","","SIZE","38px"),borderRadius:o.extend("--ft-search-input-border-radius","",M.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","",M.colorSurface),colorOnSurface:o.extend("--ft-search-input-color","",M.colorOnSurface),colorOnSurfaceMedium:o.extend("--ft-search-input-placeholder-color","",M.colorOnSurfaceMedium),colorOutline:o.extend("--ft-search-input-outline-color","",M.colorOutline),elevation02:o.extend("--ft-search-input-elevation","",M.elevation02),focusOutlineColor:o.extend("--ft-search-input-focused-outline-color","",M.colorPrimary),buttonColor:o.extend("--ft-search-input-button-color","",M.colorPrimary),buttonRippleColor:o.extend("--ft-search-input-button-ripple-color","",M.colorPrimary)},el=I`
|
|
835
860
|
* {
|
|
836
861
|
box-sizing: border-box;
|
|
837
|
-
${
|
|
838
|
-
${
|
|
862
|
+
${L(Z.color,te.buttonColor)};
|
|
863
|
+
${L(Z.rippleColor,te.buttonRippleColor)};
|
|
839
864
|
}
|
|
840
865
|
|
|
841
866
|
.ft-search-input {
|
|
@@ -843,11 +868,11 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
|
|
|
843
868
|
display: flex;
|
|
844
869
|
flex-direction: row;
|
|
845
870
|
align-items: center;
|
|
846
|
-
height: ${
|
|
871
|
+
height: ${te.height};
|
|
847
872
|
|
|
848
|
-
background: ${
|
|
849
|
-
border: 1px solid ${
|
|
850
|
-
border-radius: ${
|
|
873
|
+
background: ${te.colorSurface};
|
|
874
|
+
border: 1px solid ${te.colorOutline};
|
|
875
|
+
border-radius: ${te.borderRadius};
|
|
851
876
|
}
|
|
852
877
|
|
|
853
878
|
.ft-search-input--input-container {
|
|
@@ -862,11 +887,11 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
|
|
|
862
887
|
width: 100%;
|
|
863
888
|
display: grid;
|
|
864
889
|
padding: 0 8px;
|
|
865
|
-
border-radius: ${
|
|
890
|
+
border-radius: ${te.borderRadius};
|
|
866
891
|
}
|
|
867
892
|
|
|
868
893
|
.ft-search-input--input-container:focus-within .ft-search-input--input-outline {
|
|
869
|
-
outline: 2px solid ${
|
|
894
|
+
outline: 2px solid ${te.focusOutlineColor};
|
|
870
895
|
}
|
|
871
896
|
|
|
872
897
|
.ft-search-input--input {
|
|
@@ -874,12 +899,12 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
|
|
|
874
899
|
width: 100%;
|
|
875
900
|
border: none;
|
|
876
901
|
background-color: transparent;
|
|
877
|
-
color: ${
|
|
902
|
+
color: ${te.colorOnSurface};
|
|
878
903
|
outline: none;
|
|
879
904
|
}
|
|
880
905
|
|
|
881
906
|
.ft-search-input--input::placeholder {
|
|
882
|
-
color: ${
|
|
907
|
+
color: ${te.colorOnSurfaceMedium};
|
|
883
908
|
}
|
|
884
909
|
|
|
885
910
|
.ft-search-input--actions {
|
|
@@ -889,13 +914,13 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
|
|
|
889
914
|
align-items: center;
|
|
890
915
|
height: 100%;
|
|
891
916
|
|
|
892
|
-
${
|
|
917
|
+
${L(dt.zIndex,`calc(${te.floatingZIndex} + 1)`)};
|
|
893
918
|
}
|
|
894
919
|
|
|
895
920
|
.ft-search-input > ft-button,
|
|
896
921
|
.ft-search-input--actions ft-button {
|
|
897
922
|
flex-shrink: 0;
|
|
898
|
-
${
|
|
923
|
+
${L(Z.backgroundColor,"transparent")};
|
|
899
924
|
}
|
|
900
925
|
|
|
901
926
|
.ft-search-input .ft-search-input--launch-search,
|
|
@@ -913,31 +938,31 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
|
|
|
913
938
|
|
|
914
939
|
.ft-search-input--separator {
|
|
915
940
|
height: 20px;
|
|
916
|
-
border-right: 1px solid ${
|
|
941
|
+
border-right: 1px solid ${te.colorOutline};
|
|
917
942
|
}
|
|
918
|
-
`;var
|
|
919
|
-
`;var
|
|
943
|
+
`;var Xv=Ll(rl(),1);var ol;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(ol||(ol={}));var nl;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(nl||(nl={}));var il;(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"})(il||(il={}));var al;(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"})(al||(al={}));var sl;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(sl||(sl={}));var cl;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(cl||(cl={}));var ll;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(ll||(ll={}));var pl;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(pl||(pl={}));var dl;(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"})(dl||(dl={}));var ul;(function(t){t.ASC="ASC",t.DESC="DESC"})(ul||(ul={}));var fl;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(fl||(fl={}));var pa;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(pa||(pa={}));var hl;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK"})(hl||(hl={}));var ml;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(ml||(ml={}));var yl;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK"})(yl||(yl={}));var gl;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC"})(gl||(gl={}));var da;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS"})(da||(da={}));var oe;(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"})(oe||(oe={}));var bl;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(bl||(bl={}));var Gv={[oe.PERSONAL_BOOK_SHARE_USER]:[oe.PERSONAL_BOOK_USER],[oe.HTML_EXPORT_USER]:[oe.PERSONAL_BOOK_USER],[oe.PDF_EXPORT_USER]:[oe.PERSONAL_BOOK_USER],[oe.KHUB_ADMIN]:[oe.CONTENT_PUBLISHER],[oe.ADMIN]:[oe.KHUB_ADMIN,oe.USERS_ADMIN,oe.PORTAL_ADMIN],[oe.DEVELOPER]:[oe.BETA_USER,oe.DEBUG_USER]};var xl=I`
|
|
944
|
+
`;var ru="ft-app-info",ua=class extends CustomEvent{constructor(e){super("authentication-change",{detail:e})}},ou={session:(t,e)=>{Ce(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>D.eventBus.dispatchEvent(new ua(e.payload)),0))}},D=lt.get({name:ru,reducers:ou,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var kt=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 Ye=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 Te,this.cache=e?i.commonCache:new Te}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:kt.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):kt.await()}clearCache(){this.cache.clearAll()}};var vl,nu=Symbol("clearAfterUnitTest"),Uo=class extends Ye{constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[vl]=()=>{this.defaultMessages={},this.cache=new Te,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};Ce(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}await this.fetchContext(e)}resolveMessage(e,r,...n){var i,a,s;e=e.toLowerCase(),this.fetchContext(e);let c=(a=(i=this.cache.getNow(e))===null||i===void 0?void 0:i.messages)!==null&&a!==void 0?a:{};return new kr((s=this.defaultMessages[e])!==null&&s!==void 0?s:{},c).resolve(r,...n)}async fetchContext(e){if(!this.cache.has(e))try{await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),await this.notify(e)}catch(r){console.error(r)}}subscribe(e,r){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(r),()=>{var i;return(i=this.listeners[e])===null||i===void 0?void 0:i.delete(r)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(e=>this.notify(e)))}async notify(e){this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(r=>yo(0).then(()=>r()).catch(()=>null)))}};vl=nu;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Uo{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Uo{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var sr=window.FluidTopicsI18nService,Sl=window.FluidTopicsCustomI18nService;var le=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 H{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=()=>kt.get(),this.messageContexts=[],this.cache=new Te,this.cleanSessionDebouncer=new pe}render(){return z`
|
|
920
945
|
<slot></slot>
|
|
921
|
-
`}update(e){super.update(e),e.has("baseUrl")&&(
|
|
922
|
-
`;var
|
|
946
|
+
`}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=>sr.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())}};J.elementDefinitions={};J.styles=xl;le([w()],J.prototype,"baseUrl",void 0);le([w()],J.prototype,"apiIntegrationIdentifier",void 0);le([w()],J.prototype,"uiLocale",void 0);le([Ie(null)],J.prototype,"availableUiLocales",void 0);le([Ie(null)],J.prototype,"metadataConfiguration",void 0);le([w({type:Boolean})],J.prototype,"editorMode",void 0);le([w({type:Boolean})],J.prototype,"noCustom",void 0);le([w({type:Boolean})],J.prototype,"openExternalDocumentInNewTab",void 0);le([w({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],J.prototype,"noCustomComponent",void 0);le([w({type:Boolean})],J.prototype,"withManualResources",void 0);le([w({type:Boolean})],J.prototype,"navigatorOnline",void 0);le([w({type:Boolean})],J.prototype,"forcedOffline",void 0);le([w({type:Object})],J.prototype,"apiProvider",void 0);le([Ie([])],J.prototype,"messageContexts",void 0);le([Ie(void 0)],J.prototype,"session",void 0);var Bo=class extends Ye{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 Fo=class extends Ye{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 iu="ft-user-assets",Wo=lt.get({name:iu,initialState:{savedSearches:void 0,bookmarks:void 0}}),fa=class{constructor(){this.currentSession=D.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Fo,this.savedSearchesService=new Bo,D.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=D.getState();Ce((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(),Wo.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Wo.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Wo.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;Wo.actions.bookmarks(r)}}},HS=new fa;var ha=class{addCommand(e,r=!1){D.commands.add(e,r)}consumeCommand(e){return D.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new ha;var ma=class{highlightHtml(e,r){Si(e,r)}};window.FluidTopicsHighlightHtmlService=new ma;var ya=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 Lt.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 ya;Q("ft-app-context")(J);var ga=class t extends Event{constructor(){super(t.eventName)}};ga.eventName="search-context-clear-all-filters";var au=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},xa=class extends Event{constructor(){super("register-ft-search-component",{bubbles:!0,composed:!0})}},ba=Symbol("registerInterval");function su(t){var e;class r extends t{constructor(){super(...arguments),this[e]=0}setSearchStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"search")}clearStateManager(){this.stateManager&&(this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[ba]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[ba]):this.dispatchEvent(new xa)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return e=ba,au([re()],r.prototype,"stateManager",void 0),r}var cr=class extends su(ke){};var Ol=I`
|
|
947
|
+
`;var cu=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},va=Symbol("i18nAttributes"),Ho=Symbol("i18nProperties"),Fr=Symbol("i18nUnsubs");function jo(t){var e;class r extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map}get i18nService(){return this.useCustomMessageContexts?Sl:sr}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[va])===null||a===void 0||a.forEach((c,l)=>{var d;let f=this.getI18nAttributeValue(l);((d=f?.context)===null||d===void 0?void 0:d.toLowerCase())===i.toLowerCase()&&this.updateI18nAttributeMessage(l,f,c)}),(s=this[Ho])===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[va])===null||a===void 0||a.forEach((c,l)=>{let d=this.getI18nAttributeValue(l);d?.context&&d.key&&(i.has(l)||c.argsProvider!=null)&&(i.has(l)&&this.addI18nContext(d.context),this.updateI18nAttributeMessage(l,d,c))}),(s=this[Ho])===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[Ho])===null||i===void 0?void 0:i.values())!==null&&a!==void 0?a:[],...[...(c=(s=this[va])===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[Fr].has(i)||this[Fr].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[Fr].forEach(i=>i()),this[Fr].clear()}}return e=Fr,cu([w({type:Boolean})],r.prototype,"useCustomMessageContexts",void 0),r}var El=class extends jo(H){},zo=class extends jo(ke){};var Wr=function(t,e,r,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(s=t[c])&&(a=(i<3?s(a):i>3?s(e,r,a):s(e,r))||a);return i>3&&a&&Object.defineProperty(e,r,a),a},Ne=class extends zo{constructor(){super(),this.editorMode=!1,this.addStore(D)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":V:z`
|
|
923
948
|
<span class="ft-i18n">
|
|
924
949
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
925
950
|
</span>
|
|
926
|
-
`}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:""})}};
|
|
951
|
+
`}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:""})}};Ne.elementDefinitions={};Ne.styles=Ol;Wr([$e()],Ne.prototype,"editorMode",void 0);Wr([w()],Ne.prototype,"context",void 0);Wr([w()],Ne.prototype,"key",void 0);Wr([Ie([])],Ne.prototype,"args",void 0);Wr([w()],Ne.prototype,"defaultMessage",void 0);var Vo=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)=>sr.resolveMessage(this.name,n,...i)})}};Q("ft-i18n")(Ne);var Hr=Vo.build("designedSearchInput");var Cl=I`
|
|
927
952
|
* {
|
|
928
953
|
box-sizing: border-box;
|
|
929
954
|
}
|
|
930
955
|
|
|
931
956
|
.ft-search-input-suggestion {
|
|
932
957
|
position: absolute;
|
|
933
|
-
z-index: ${
|
|
958
|
+
z-index: ${te.floatingZIndex};
|
|
934
959
|
top: calc(100% + 2px);
|
|
935
960
|
left: -1px;
|
|
936
961
|
right: -1px;
|
|
937
|
-
background: ${
|
|
938
|
-
border: 1px solid ${
|
|
939
|
-
border-radius: 0 0 ${
|
|
940
|
-
box-shadow: ${
|
|
962
|
+
background: ${te.colorSurface};
|
|
963
|
+
border: 1px solid ${te.colorOutline};
|
|
964
|
+
border-radius: 0 0 ${te.borderRadius} ${te.borderRadius};
|
|
965
|
+
box-shadow: ${te.elevation02};
|
|
941
966
|
}
|
|
942
967
|
|
|
943
968
|
.ft-search-input-suggestion--suggestion {
|
|
@@ -948,7 +973,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
|
|
|
948
973
|
padding: 8px;
|
|
949
974
|
gap: 8px;
|
|
950
975
|
cursor: pointer;
|
|
951
|
-
color: ${
|
|
976
|
+
color: ${te.colorOnSurface};
|
|
952
977
|
min-height: 44px;
|
|
953
978
|
}
|
|
954
979
|
|
|
@@ -965,11 +990,11 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
|
|
|
965
990
|
flex-grow: 1;
|
|
966
991
|
flex-shrink: 1;
|
|
967
992
|
}
|
|
968
|
-
`;var wl=function(t,e,r,n){var i=arguments.length,
|
|
993
|
+
`;var wl=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},Sa=class extends CustomEvent{constructor(e){super("suggestion-selected",{detail:e})}},Dt=class extends cr{render(){return z`
|
|
969
994
|
<div class="ft-search-input-suggestion ft-word-wrap"
|
|
970
995
|
part="container"
|
|
971
996
|
@keydown=${e=>this.onSuggestKeyDown(e)}>
|
|
972
|
-
${
|
|
997
|
+
${dn(this.suggestResults||[],e=>e.value,e=>z`
|
|
973
998
|
<a href="#"
|
|
974
999
|
part="suggestion"
|
|
975
1000
|
class="ft-search-input-suggestion--suggestion"
|
|
@@ -981,16 +1006,16 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
|
|
|
981
1006
|
</a>
|
|
982
1007
|
`)}
|
|
983
1008
|
</div>
|
|
984
|
-
`}onSuggestKeyDown(e){var r,n,i,s,c
|
|
1009
|
+
`}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 Sa(r))}getIcon(e){let r=e.type==="DOCUMENT"?xe.file_format:xe.fluid_topics,n;switch(e.type){case"MAP":n=e.editorialType==="BOOK"?ut.BOOK:ut.ARTICLE;break;case"DOCUMENT":n=Jc(e.mimeType,e.filenameExtension);break;case"TOPIC":n=ut.TOPICS;break}return z`
|
|
985
1010
|
<ft-icon .variant="${r}" .value="${n}" part="suggestion-icon"></ft-icon>
|
|
986
|
-
`}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()}};
|
|
987
|
-
<div class="${
|
|
1011
|
+
`}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()}};Dt.elementDefinitions={"ft-ripple":G,"ft-typography":be,"ft-icon":he};Dt.styles=[Ei,Cl];wl([$e()],Dt.prototype,"suggestResults",void 0);Dt=wl([cn("ft-search-input-suggestion")],Dt);var lr=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},Oe=class extends jo(cr){constructor(){super(),this.liveQuery="",this.forceCloseSuggestion=!1,this.addI18nContext(Hr)}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 z`
|
|
1012
|
+
<div class="${wt(n)}" @focusout=${()=>this.forceCloseSuggestion=!1}>
|
|
988
1013
|
<div class="ft-search-input--input-container" part="input-container" tabindex="-1">
|
|
989
1014
|
<div class="ft-search-input--input-outline" part="input-outline">
|
|
990
1015
|
<input class="ft-search-input--input ft-typography--body2"
|
|
991
1016
|
part="input"
|
|
992
1017
|
type="search"
|
|
993
|
-
placeholder="${
|
|
1018
|
+
placeholder="${Hr.messages.placeholder()}"
|
|
994
1019
|
.value="${this.liveQuery}"
|
|
995
1020
|
@input=${i=>this.onInput(i)}
|
|
996
1021
|
@keydown=${i=>this.onSearchBarKeyDown(i)}
|
|
@@ -1001,13 +1026,13 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
|
|
|
1001
1026
|
></ft-search-input-suggestion>
|
|
1002
1027
|
</div>
|
|
1003
1028
|
<div class="ft-search-input--actions" part="actions">
|
|
1004
|
-
${this.liveQuery?
|
|
1029
|
+
${this.liveQuery?z`
|
|
1005
1030
|
<ft-button id="clear-button"
|
|
1006
1031
|
class="ft-search-input--clear-query"
|
|
1007
1032
|
part="clear-query"
|
|
1008
1033
|
icon="close"
|
|
1009
1034
|
round dense
|
|
1010
|
-
label="${
|
|
1035
|
+
label="${Hr.messages.clearButton()}"
|
|
1011
1036
|
@click=${()=>this.liveQuery=""}
|
|
1012
1037
|
></ft-button>
|
|
1013
1038
|
<div class="ft-search-input--separator"></div>
|
|
@@ -1016,12 +1041,12 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:a.extend("--ft-conte
|
|
|
1016
1041
|
part="launch-search-in-input"
|
|
1017
1042
|
icon="search"
|
|
1018
1043
|
round dense
|
|
1019
|
-
label="${
|
|
1044
|
+
label="${Hr.messages.searchButton()}"
|
|
1020
1045
|
@click=${()=>this.launchSearch(this.liveQuery)}
|
|
1021
1046
|
></ft-button>
|
|
1022
1047
|
</div>
|
|
1023
1048
|
</div>
|
|
1024
|
-
`}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"))}onSuggestionSelected(e){this.launchSearch(e.detail)}};
|
|
1049
|
+
`}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"))}onSuggestionSelected(e){this.launchSearch(e.detail)}};Oe.elementDefinitions={"ft-search-input-suggestion":Dt,"ft-button":Re};Oe.styles=[$o,el];lr([$e()],Oe.prototype,"request",void 0);lr([$e()],Oe.prototype,"liveQuery",void 0);lr([$e()],Oe.prototype,"suggestResults",void 0);lr([re()],Oe.prototype,"forceCloseSuggestion",void 0);lr([ie(".ft-search-input--input")],Oe.prototype,"input",void 0);lr([ie("ft-search-input-suggestion")],Oe.prototype,"suggestion",void 0);Q("ft-search-input")(Oe);})();
|
|
1025
1050
|
/*! Bundled license information:
|
|
1026
1051
|
|
|
1027
1052
|
@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js:
|