@fluid-topics/ft-reader-metadata 1.1.84 → 1.1.86
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-reader-metadata.light.js +447 -291
- package/build/ft-reader-metadata.min.js +447 -291
- package/package.json +9 -9
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
"use strict";(()=>{var Wc=Object.create;var an=Object.defineProperty;var Fc=Object.getOwnPropertyDescriptor;var zc=Object.getOwnPropertyNames;var Hc=Object.getPrototypeOf,jc=Object.prototype.hasOwnProperty;var Vc=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Z=(e,t)=>{for(var r in t)an(e,r,{get:t[r],enumerable:!0})},Kc=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of zc(t))!jc.call(e,i)&&i!==r&&an(e,i,{get:()=>t[i],enumerable:!(n=Fc(t,i))||n.enumerable});return e};var Gc=(e,t,r)=>(r=e!=null?Wc(Hc(e)):{},Kc(t||!e||!e.__esModule?an(r,"default",{value:e,enumerable:!0}):r,e));var yc=Vc(mc=>{(function(e){var t=function(r){var n={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};function i(m){return m&&DataView.prototype.isPrototypeOf(m)}if(n.arrayBuffer)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=ArrayBuffer.isView||function(m){return m&&a.indexOf(Object.prototype.toString.call(m))>-1};function l(m){if(typeof m!="string"&&(m=String(m)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(m))throw new TypeError("Invalid character in header field name");return m.toLowerCase()}function c(m){return typeof m!="string"&&(m=String(m)),m}function d(m){var x={next:function(){var A=m.shift();return{done:A===void 0,value:A}}};return n.iterable&&(x[Symbol.iterator]=function(){return x}),x}function f(m){this.map={},m instanceof f?m.forEach(function(x,A){this.append(A,x)},this):Array.isArray(m)?m.forEach(function(x){this.append(x[0],x[1])},this):m&&Object.getOwnPropertyNames(m).forEach(function(x){this.append(x,m[x])},this)}f.prototype.append=function(m,x){m=l(m),x=c(x);var A=this.map[m];this.map[m]=A?A+", "+x:x},f.prototype.delete=function(m){delete this.map[l(m)]},f.prototype.get=function(m){return m=l(m),this.has(m)?this.map[m]:null},f.prototype.has=function(m){return this.map.hasOwnProperty(l(m))},f.prototype.set=function(m,x){this.map[l(m)]=c(x)},f.prototype.forEach=function(m,x){for(var A in this.map)this.map.hasOwnProperty(A)&&m.call(x,this.map[A],A,this)},f.prototype.keys=function(){var m=[];return this.forEach(function(x,A){m.push(A)}),d(m)},f.prototype.values=function(){var m=[];return this.forEach(function(x){m.push(x)}),d(m)},f.prototype.entries=function(){var m=[];return this.forEach(function(x,A){m.push([A,x])}),d(m)},n.iterable&&(f.prototype[Symbol.iterator]=f.prototype.entries);function h(m){if(m.bodyUsed)return Promise.reject(new TypeError("Already read"));m.bodyUsed=!0}function y(m){return new Promise(function(x,A){m.onload=function(){x(m.result)},m.onerror=function(){A(m.error)}})}function g(m){var x=new FileReader,A=y(x);return x.readAsArrayBuffer(m),A}function b(m){var x=new FileReader,A=y(x);return x.readAsText(m),A}function E(m){for(var x=new Uint8Array(m),A=new Array(x.length),W=0;W<x.length;W++)A[W]=String.fromCharCode(x[W]);return A.join("")}function R(m){if(m.slice)return m.slice(0);var x=new Uint8Array(m.byteLength);return x.set(new Uint8Array(m)),x.buffer}function N(){return this.bodyUsed=!1,this._initBody=function(m){this._bodyInit=m,m?typeof m=="string"?this._bodyText=m:n.blob&&Blob.prototype.isPrototypeOf(m)?this._bodyBlob=m:n.formData&&FormData.prototype.isPrototypeOf(m)?this._bodyFormData=m:n.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)?this._bodyText=m.toString():n.arrayBuffer&&n.blob&&i(m)?(this._bodyArrayBuffer=R(m.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):n.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(m)||s(m))?this._bodyArrayBuffer=R(m):this._bodyText=m=Object.prototype.toString.call(m):this._bodyText="",this.headers.get("content-type")||(typeof m=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n.searchParams&&URLSearchParams.prototype.isPrototypeOf(m)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},n.blob&&(this.blob=function(){var m=h(this);if(m)return m;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?h(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(g)}),this.text=function(){var m=h(this);if(m)return m;if(this._bodyBlob)return b(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(E(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},n.formData&&(this.formData=function(){return this.text().then(C)}),this.json=function(){return this.text().then(JSON.parse)},this}var P=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function O(m){var x=m.toUpperCase();return P.indexOf(x)>-1?x:m}function v(m,x){x=x||{};var A=x.body;if(m instanceof v){if(m.bodyUsed)throw new TypeError("Already read");this.url=m.url,this.credentials=m.credentials,x.headers||(this.headers=new f(m.headers)),this.method=m.method,this.mode=m.mode,this.signal=m.signal,!A&&m._bodyInit!=null&&(A=m._bodyInit,m.bodyUsed=!0)}else this.url=String(m);if(this.credentials=x.credentials||this.credentials||"same-origin",(x.headers||!this.headers)&&(this.headers=new f(x.headers)),this.method=O(x.method||this.method||"GET"),this.mode=x.mode||this.mode||null,this.signal=x.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&A)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(A)}v.prototype.clone=function(){return new v(this,{body:this._bodyInit})};function C(m){var x=new FormData;return m.trim().split("&").forEach(function(A){if(A){var W=A.split("="),tt=W.shift().replace(/\+/g," "),H=W.join("=").replace(/\+/g," ");x.append(decodeURIComponent(tt),decodeURIComponent(H))}}),x}function $(m){var x=new f,A=m.replace(/\r?\n[\t ]+/g," ");return A.split(/\r?\n/).forEach(function(W){var tt=W.split(":"),H=tt.shift().trim();if(H){var Jr=tt.join(":").trim();x.append(H,Jr)}}),x}N.call(v.prototype);function U(m,x){x||(x={}),this.type="default",this.status=x.status===void 0?200:x.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in x?x.statusText:"OK",this.headers=new f(x.headers),this.url=x.url||"",this._initBody(m)}N.call(U.prototype),U.prototype.clone=function(){return new U(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},U.error=function(){var m=new U(null,{status:0,statusText:""});return m.type="error",m};var ct=[301,302,303,307,308];U.redirect=function(m,x){if(ct.indexOf(x)===-1)throw new RangeError("Invalid status code");return new U(null,{status:x,headers:{location:m}})},r.DOMException=e.DOMException;try{new r.DOMException}catch{r.DOMException=function(x,A){this.message=x,this.name=A;var W=Error(x);this.stack=W.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function z(m,x){return new Promise(function(A,W){var tt=new v(m,x);if(tt.signal&&tt.signal.aborted)return W(new r.DOMException("Aborted","AbortError"));var H=new XMLHttpRequest;function Jr(){H.abort()}H.onload=function(){var yr={status:H.status,statusText:H.statusText,headers:$(H.getAllResponseHeaders()||"")};yr.url="responseURL"in H?H.responseURL:yr.headers.get("X-Request-URL");var nn="response"in H?H.response:H.responseText;A(new U(nn,yr))},H.onerror=function(){W(new TypeError("Network request failed"))},H.ontimeout=function(){W(new TypeError("Network request failed"))},H.onabort=function(){W(new r.DOMException("Aborted","AbortError"))},H.open(tt.method,tt.url,!0),tt.credentials==="include"?H.withCredentials=!0:tt.credentials==="omit"&&(H.withCredentials=!1),"responseType"in H&&n.blob&&(H.responseType="blob"),tt.headers.forEach(function(yr,nn){H.setRequestHeader(nn,yr)}),tt.signal&&(tt.signal.addEventListener("abort",Jr),H.onreadystatechange=function(){H.readyState===4&&tt.signal.removeEventListener("abort",Jr)}),H.send(typeof tt._bodyInit>"u"?null:tt._bodyInit)})}return z.polyfill=!0,e.fetch||(e.fetch=z,e.Headers=f,e.Request=v,e.Response=U),r.Headers=f,r.Request=v,r.Response=U,r.fetch=z,Object.defineProperty(r,"__esModule",{value:!0}),r}({})})(typeof self<"u"?self:mc)});if(!ShadowRoot.prototype.createElement){let e=window.HTMLElement,t=window.customElements.define,r=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(O,v){if(O=O.toLowerCase(),this._getDefinition(O)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${O}" has already been used with this registry`);if(this._definitionsByClass.get(v)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let C=v.prototype.attributeChangedCallback,$=new Set(v.observedAttributes||[]);y(v,$,C);let U={elementClass:v,connectedCallback:v.prototype.connectedCallback,disconnectedCallback:v.prototype.disconnectedCallback,adoptedCallback:v.prototype.adoptedCallback,attributeChangedCallback:C,formAssociated:v.formAssociated,formAssociatedCallback:v.prototype.formAssociatedCallback,formDisabledCallback:v.prototype.formDisabledCallback,formResetCallback:v.prototype.formResetCallback,formStateRestoreCallback:v.prototype.formStateRestoreCallback,observedAttributes:$};this._definitionsByTag.set(O,U),this._definitionsByClass.set(v,U);let ct=r.call(n,O);ct||(ct=h(O),t.call(n,O,ct)),this===window.customElements&&(s.set(v,U),U.standInClass=ct);let z=this._awaitingUpgrade.get(O);if(z){this._awaitingUpgrade.delete(O);for(let x of z)a.delete(x),b(x,U,!0)}let m=this._whenDefinedPromises.get(O);return m!==void 0&&(m.resolve(v),this._whenDefinedPromises.delete(O)),v}upgrade(){R.push(this),n.upgrade.apply(n,arguments),R.pop()}get(O){return this._definitionsByTag.get(O)?.elementClass}_getDefinition(O){return this._definitionsByTag.get(O)}whenDefined(O){let v=this._getDefinition(O);if(v!==void 0)return Promise.resolve(v.elementClass);let C=this._whenDefinedPromises.get(O);return C===void 0&&(C={},C.promise=new Promise($=>C.resolve=$),this._whenDefinedPromises.set(O,C)),C.promise}_upgradeWhenDefined(O,v,C){let $=this._awaitingUpgrade.get(v);$||this._awaitingUpgrade.set(v,$=new Set),C?$.add(O):$.delete(O)}};let c;window.HTMLElement=function(){let v=c;if(v)return c=void 0,v;let C=s.get(this.constructor);if(!C)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return v=Reflect.construct(e,[],C.standInClass),Object.setPrototypeOf(v,this.constructor.prototype),i.set(v,C),v},window.HTMLElement.prototype=e.prototype;let d=O=>O===document||O instanceof ShadowRoot,f=O=>{let v=O.getRootNode();if(!d(v)){let C=R[R.length-1];if(C instanceof CustomElementRegistry)return C;v=C.getRootNode(),d(v)||(v=l.get(v)?.getRootNode()||document)}return v.customElements},h=O=>class{static get formAssociated(){return!0}constructor(){let C=Reflect.construct(e,[],this.constructor);Object.setPrototypeOf(C,HTMLElement.prototype);let $=f(C)||window.customElements,U=$._getDefinition(O);return U?b(C,U):a.set(C,$),C}connectedCallback(){let C=i.get(this);C?C.connectedCallback&&C.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,O,!0)}disconnectedCallback(){let C=i.get(this);C?C.disconnectedCallback&&C.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,O,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let C=i.get(this);C&&C.formAssociated&&C?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let C=i.get(this);C?.formAssociated&&C?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let C=i.get(this);C?.formAssociated&&C?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let C=i.get(this);C?.formAssociated&&C?.formStateRestoreCallback?.apply(this,arguments)}},y=(O,v,C)=>{if(v.size===0||C===void 0)return;let $=O.prototype.setAttribute;$&&(O.prototype.setAttribute=function(z,m){let x=z.toLowerCase();if(v.has(x)){let A=this.getAttribute(x);$.call(this,x,m),C.call(this,x,A,m)}else $.call(this,x,m)});let U=O.prototype.removeAttribute;U&&(O.prototype.removeAttribute=function(z){let m=z.toLowerCase();if(v.has(m)){let x=this.getAttribute(m);U.call(this,m),C.call(this,m,x,null)}else U.call(this,m)});let ct=O.prototype.toggleAttribute;ct&&(O.prototype.toggleAttribute=function(z,m){let x=z.toLowerCase();if(v.has(x)){let A=this.getAttribute(x);ct.call(this,x,m);let W=this.getAttribute(x);C.call(this,x,A,W)}else ct.call(this,x,m)})},g=O=>{let v=Object.getPrototypeOf(O);if(v!==window.HTMLElement)return v===e?Object.setPrototypeOf(O,window.HTMLElement):g(v)},b=(O,v,C=!1)=>{Object.setPrototypeOf(O,v.elementClass.prototype),i.set(O,v),c=O;try{new v.elementClass}catch{g(v.elementClass),new v.elementClass}v.attributeChangedCallback&&v.observedAttributes.forEach($=>{O.hasAttribute($)&&v.attributeChangedCallback.call(O,$,null,O.getAttribute($))}),C&&v.connectedCallback&&O.isConnected&&v.connectedCallback.call(O)},E=Element.prototype.attachShadow;Element.prototype.attachShadow=function(O){let v=E.apply(this,arguments);return O.customElements&&(v.customElements=O.customElements),v};let R=[document],N=(O,v,C=void 0)=>{let $=(C?Object.getPrototypeOf(C):O.prototype)[v];O.prototype[v]=function(){R.push(this);let U=$.apply(C||this,arguments);return U!==void 0&&l.set(U,this),R.pop(),U}};N(ShadowRoot,"createElement",document),N(ShadowRoot,"importNode",document),N(Element,"insertAdjacentHTML");let P=(O,v)=>{let C=Object.getOwnPropertyDescriptor(O.prototype,v);Object.defineProperty(O.prototype,v,{...C,set($){R.push(this),C.set.call(this,$),R.pop()}})};if(P(Element,"innerHTML"),P(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let O=new WeakMap,v=HTMLElement.prototype.attachInternals,C=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...z){let m=v.call(this,...z);return O.set(m,this),m},C.forEach(z=>{let m=window.ElementInternals.prototype,x=m[z];m[z]=function(...A){let W=O.get(this);if(i.get(W).formAssociated===!0)return x?.call(this,...A);throw new DOMException(`Failed to execute ${x} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class $ extends Array{constructor(m){super(...m),this._elements=m}get value(){return this._elements.find(m=>m.checked===!0)?.value||""}}class U{constructor(m){let x=new Map;m.forEach((A,W)=>{let tt=A.getAttribute("name"),H=x.get(tt)||[];this[+W]=A,H.push(A),x.set(tt,H)}),this.length=m.length,x.forEach((A,W)=>{A&&(A.length===1?this[W]=A[0]:this[W]=new $(A))})}namedItem(m){return this[m]}}let ct=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let z=ct.get.call(this,[]),m=[];for(let x of z){let A=i.get(x);(!A||A.formAssociated===!0)&&m.push(x)}return new U(m)}})}}try{window.customElements.define("custom-element",null)}catch{let t=window.customElements.define;window.customElements.define=(r,n,i)=>{if(n!==null)try{t.bind(window.customElements)(r,n,i)}catch(a){console.info(r,n,i,a)}}}var xn={};Z(xn,{CSSResult:()=>je,LitElement:()=>Yt,ReactiveElement:()=>Mt,_$LE:()=>gp,_$LH:()=>hp,adoptStyles:()=>ho,css:()=>T,defaultConverter:()=>mo,getCompatibleStyle:()=>Cr,html:()=>D,isServer:()=>Kf,noChange:()=>ne,notEqual:()=>un,nothing:()=>j,render:()=>bn,supportsAdoptingStyleSheets:()=>Er,svg:()=>up,unsafeCSS:()=>Zt});var Qr=globalThis,eo=Qr.ShadowRoot&&(Qr.ShadyCSS===void 0||Qr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ta=Symbol(),Pa=new WeakMap,to=class{constructor(t,r,n){if(this._$cssResult$=!0,n!==Ta)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(eo&&t===void 0){let n=r!==void 0&&r.length===1;n&&(t=Pa.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Pa.set(r,t))}return t}toString(){return this.cssText}},La=e=>new to(typeof e=="string"?e:e+"",void 0,Ta);var sn=(e,t)=>{if(eo)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let n=document.createElement("style"),i=Qr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)}},ro=eo?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return La(r)})(e):e;var{is:Zc,defineProperty:qc,getOwnPropertyDescriptor:Yc,getOwnPropertyNames:Xc,getOwnPropertySymbols:Jc,getPrototypeOf:Qc}=Object,oo=globalThis,Ia=oo.trustedTypes,tp=Ia?Ia.emptyScript:"",ep=oo.reactiveElementPolyfillSupport,gr=(e,t)=>e,br={toAttribute(e,t){switch(t){case Boolean:e=e?tp:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},no=(e,t)=>!Zc(e,t),$a={attribute:!0,type:String,converter:br,reflect:!1,hasChanged:no};Symbol.metadata??=Symbol("metadata"),oo.litPropertyMetadata??=new WeakMap;var Se=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,r=$a){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(t,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,r);i!==void 0&&qc(this.prototype,t,i)}}static getPropertyDescriptor(t,r,n){let{get:i,set:a}=Yc(this.prototype,t)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let l=i?.call(this);a.call(this,s),this.requestUpdate(t,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??$a}static _$Ei(){if(this.hasOwnProperty(gr("elementProperties")))return;let t=Qc(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(gr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(gr("properties"))){let r=this.properties,n=[...Xc(r),...Jc(r)];for(let i of n)this.createProperty(i,r[i])}let t=this[Symbol.metadata];if(t!==null){let r=litPropertyMetadata.get(t);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let r=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)r.unshift(ro(i))}else t!==void 0&&r.push(ro(t));return r}static _$Eu(t,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$E_??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){let t=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return sn(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,r,n){this._$AK(t,n)}_$EO(t,r){let n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:br).toAttribute(r,n.type);this._$Em=t,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(t,r){let n=this.constructor,i=n._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:br;this._$Em=i,this[i]=s.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(t,r,n,i=!1,a){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??no)(i?a:this[t],r))return;this.C(t,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,r,n){this._$AL.has(t)||this._$AL.set(t,r),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let t=!1,r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(r)}willUpdate(t){}_$AE(t){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(t){}firstUpdated(t){}};Se.elementStyles=[],Se.shadowRootOptions={mode:"open"},Se[gr("elementProperties")]=new Map,Se[gr("finalized")]=new Map,ep?.({ReactiveElement:Se}),(oo.reactiveElementVersions??=[]).push("2.0.2");var cn=globalThis,io=cn.trustedTypes,ka=io?io.createPolicy("lit-html",{createHTML:e=>e}):void 0,pn="$lit$",Gt=`lit$${(Math.random()+"").slice(9)}$`,dn="?"+Gt,rp=`<${dn}>`,Ce=document,ao=()=>Ce.createComment(""),vr=e=>e===null||typeof e!="object"&&typeof e!="function",Fa=Array.isArray,za=e=>Fa(e)||typeof e?.[Symbol.iterator]=="function",ln=`[
|
|
2
|
-
\f\r]`,
|
|
3
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Ua=/'/g,Ba=/"/g,Ha=/^(?:script|style|textarea|title)$/i,ja=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),Va=ja(1),Ka=ja(2),xt=Symbol.for("lit-noChange"),X=Symbol.for("lit-nothing"),Wa=new WeakMap,Ee=Ce.createTreeWalker(Ce,129);function Ga(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return ka!==void 0?ka.createHTML(t):t}var Za=(e,t)=>{let r=e.length-1,n=[],i,a=t===2?"<svg>":"",s=xr;for(let l=0;l<r;l++){let c=e[l],d,f,h=-1,y=0;for(;y<c.length&&(s.lastIndex=y,f=s.exec(c),f!==null);)y=s.lastIndex,s===xr?f[1]==="!--"?s=Ma:f[1]!==void 0?s=Da:f[2]!==void 0?(Ha.test(f[2])&&(i=RegExp("</"+f[2],"g")),s=Oe):f[3]!==void 0&&(s=Oe):s===Oe?f[0]===">"?(s=i??xr,h=-1):f[1]===void 0?h=-2:(h=s.lastIndex-f[2].length,d=f[1],s=f[3]===void 0?Oe:f[3]==='"'?Ba:Ua):s===Ba||s===Ua?s=Oe:s===Ma||s===Da?s=xr:(s=Oe,i=void 0);let g=s===Oe&&e[l+1].startsWith("/>")?" ":"";a+=s===xr?c+rp:h>=0?(n.push(d),c.slice(0,h)+pn+c.slice(h)+Gt+g):c+Gt+(h===-2?l:g)}return[Ga(e,a+(e[r]||"<?>")+(t===2?"</svg>":"")),n]},Sr=class e{constructor({strings:t,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,l=t.length-1,c=this.parts,[d,f]=Za(t,r);if(this.el=e.createElement(d,n),Ee.currentNode=this.el.content,r===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=Ee.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(pn)){let y=f[s++],g=i.getAttribute(h).split(Gt),b=/([.?@])?(.*)/.exec(y);c.push({type:1,index:a,name:b[2],strings:g,ctor:b[1]==="."?lo:b[1]==="?"?co:b[1]==="@"?po:Ae}),i.removeAttribute(h)}else h.startsWith(Gt)&&(c.push({type:6,index:a}),i.removeAttribute(h));if(Ha.test(i.tagName)){let h=i.textContent.split(Gt),y=h.length-1;if(y>0){i.textContent=io?io.emptyScript:"";for(let g=0;g<y;g++)i.append(h[g],ao()),Ee.nextNode(),c.push({type:2,index:++a});i.append(h[y],ao())}}}else if(i.nodeType===8)if(i.data===dn)c.push({type:2,index:a});else{let h=-1;for(;(h=i.data.indexOf(Gt,h+1))!==-1;)c.push({type:7,index:a}),h+=Gt.length-1}a++}}static createElement(t,r){let n=Ce.createElement("template");return n.innerHTML=t,n}};function we(e,t,r=e,n){if(t===xt)return t;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=vr(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(t=we(e,i._$AS(e,t.values),i,n)),t}var so=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:n}=this._$AD,i=(t?.creationScope??Ce).importNode(r,!0);Ee.currentNode=i;let a=Ee.nextNode(),s=0,l=0,c=n[0];for(;c!==void 0;){if(s===c.index){let d;c.type===2?d=new Or(a,a.nextSibling,this,t):c.type===1?d=new c.ctor(a,c.name,c.strings,this,t):c.type===6&&(d=new fo(a,this,t)),this._$AV.push(d),c=n[++l]}s!==c?.index&&(a=Ee.nextNode(),s++)}return Ee.currentNode=Ce,i}p(t){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,r),r+=n.strings.length-2):n._$AI(t[r])),r++}},Or=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,n,i){this.type=2,this._$AH=X,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=we(this,t,r),vr(t)?t===X||t==null||t===""?(this._$AH!==X&&this._$AR(),this._$AH=X):t!==this._$AH&&t!==xt&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):za(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==X&&vr(this._$AH)?this._$AA.nextSibling.data=t:this.$(Ce.createTextNode(t)),this._$AH=t}g(t){let{values:r,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=Sr.createElement(Ga(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new so(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(t){let r=Wa.get(t.strings);return r===void 0&&Wa.set(t.strings,r=new Sr(t)),r}T(t){Fa(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of t)i===r.length?r.push(n=new e(this.k(ao()),this.k(ao()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Ae=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,n,i,a){this.type=1,this._$AH=X,this._$AN=void 0,this.element=t,this.name=r,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=X}_$AI(t,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=we(this,t,r,0),s=!vr(t)||t!==this._$AH&&t!==xt,s&&(this._$AH=t);else{let l=t,c,d;for(t=a[0],c=0;c<a.length-1;c++)d=we(this,l[n+c],r,c),d===xt&&(d=this._$AH[c]),s||=!vr(d)||d!==this._$AH[c],d===X?t=X:t!==X&&(t+=(d??"")+a[c+1]),this._$AH[c]=d}s&&!i&&this.O(t)}O(t){t===X?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},lo=class extends Ae{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===X?void 0:t}},co=class extends Ae{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==X)}},po=class extends Ae{constructor(t,r,n,i,a){super(t,r,n,i,a),this.type=5}_$AI(t,r=this){if((t=we(this,t,r,0)??X)===xt)return;let n=this._$AH,i=t===X&&n!==X||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==X&&(n===X||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},fo=class{constructor(t,r,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){we(this,t)}},qa={j:pn,P:Gt,A:dn,C:1,M:Za,L:so,R:za,V:we,D:Or,I:Ae,H:co,N:po,U:lo,B:fo},op=cn.litHtmlPolyfillSupport;op?.(Sr,Or),(cn.litHtmlVersions??=[]).push("3.1.0");var uo=globalThis,Er=uo.ShadowRoot&&(uo.ShadyCSS===void 0||uo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,fn=Symbol(),Ya=new WeakMap,je=class{constructor(t,r,n){if(this._$cssResult$=!0,n!==fn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(Er&&t===void 0){let n=r!==void 0&&r.length===1;n&&(t=Ya.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Ya.set(r,t))}return t}toString(){return this.cssText}},Zt=e=>new je(typeof e=="string"?e:e+"",void 0,fn),T=(e,...t)=>{let r=e.length===1?e[0]:t.reduce((n,i,a)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+e[a+1],e[0]);return new je(r,e,fn)},ho=(e,t)=>{if(Er)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let n=document.createElement("style"),i=uo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)}},Cr=Er?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return Zt(r)})(e):e;var{is:np,defineProperty:ip,getOwnPropertyDescriptor:ap,getOwnPropertyNames:sp,getOwnPropertySymbols:lp,getPrototypeOf:cp}=Object,yo=globalThis,Xa=yo.trustedTypes,pp=Xa?Xa.emptyScript:"",dp=yo.reactiveElementPolyfillSupport,wr=(e,t)=>e,mo={toAttribute(e,t){switch(t){case Boolean:e=e?pp:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},un=(e,t)=>!np(e,t),Ja={attribute:!0,type:String,converter:mo,reflect:!1,hasChanged:un};Symbol.metadata??=Symbol("metadata"),yo.litPropertyMetadata??=new WeakMap;var Mt=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,r=Ja){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(t,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,r);i!==void 0&&ip(this.prototype,t,i)}}static getPropertyDescriptor(t,r,n){let{get:i,set:a}=ap(this.prototype,t)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let l=i?.call(this);a.call(this,s),this.requestUpdate(t,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Ja}static _$Ei(){if(this.hasOwnProperty(wr("elementProperties")))return;let t=cp(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(wr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(wr("properties"))){let r=this.properties,n=[...sp(r),...lp(r)];for(let i of n)this.createProperty(i,r[i])}let t=this[Symbol.metadata];if(t!==null){let r=litPropertyMetadata.get(t);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let r=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)r.unshift(Cr(i))}else t!==void 0&&r.push(Cr(t));return r}static _$Eu(t,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$E_??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){let t=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return ho(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,r,n){this._$AK(t,n)}_$EO(t,r){let n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:mo).toAttribute(r,n.type);this._$Em=t,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(t,r){let n=this.constructor,i=n._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:mo;this._$Em=i,this[i]=s.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(t,r,n,i=!1,a){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??un)(i?a:this[t],r))return;this.C(t,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,r,n){this._$AL.has(t)||this._$AL.set(t,r),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let t=!1,r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(r)}willUpdate(t){}_$AE(t){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(t){}firstUpdated(t){}};Mt.elementStyles=[],Mt.shadowRootOptions={mode:"open"},Mt[wr("elementProperties")]=new Map,Mt[wr("finalized")]=new Map,dp?.({ReactiveElement:Mt}),(yo.reactiveElementVersions??=[]).push("2.0.2");var mn=globalThis,go=mn.trustedTypes,Qa=go?go.createPolicy("lit-html",{createHTML:e=>e}):void 0,yn="$lit$",qt=`lit$${(Math.random()+"").slice(9)}$`,gn="?"+qt,fp=`<${gn}>`,_e=document,Rr=()=>_e.createComment(""),Nr=e=>e===null||typeof e!="object"&&typeof e!="function",is=Array.isArray,as=e=>is(e)||typeof e?.[Symbol.iterator]=="function",hn=`[
|
|
4
|
-
\f\r]`,
|
|
5
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),rs=/'/g,os=/"/g,ss=/^(?:script|style|textarea|title)$/i,ls=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),D=ls(1),up=ls(2),ne=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),ns=new WeakMap,Ne=_e.createTreeWalker(_e,129);function cs(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Qa!==void 0?Qa.createHTML(t):t}var ps=(e,t)=>{let r=e.length-1,n=[],i,a=t===2?"<svg>":"",s=Ar;for(let l=0;l<r;l++){let c=e[l],d,f,h=-1,y=0;for(;y<c.length&&(s.lastIndex=y,f=s.exec(c),f!==null);)y=s.lastIndex,s===Ar?f[1]==="!--"?s=ts:f[1]!==void 0?s=es:f[2]!==void 0?(ss.test(f[2])&&(i=RegExp("</"+f[2],"g")),s=Re):f[3]!==void 0&&(s=Re):s===Re?f[0]===">"?(s=i??Ar,h=-1):f[1]===void 0?h=-2:(h=s.lastIndex-f[2].length,d=f[1],s=f[3]===void 0?Re:f[3]==='"'?os:rs):s===os||s===rs?s=Re:s===ts||s===es?s=Ar:(s=Re,i=void 0);let g=s===Re&&e[l+1].startsWith("/>")?" ":"";a+=s===Ar?c+fp:h>=0?(n.push(d),c.slice(0,h)+yn+c.slice(h)+qt+g):c+qt+(h===-2?l:g)}return[cs(e,a+(e[r]||"<?>")+(t===2?"</svg>":"")),n]},_r=class e{constructor({strings:t,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,l=t.length-1,c=this.parts,[d,f]=ps(t,r);if(this.el=e.createElement(d,n),Ne.currentNode=this.el.content,r===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=Ne.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(yn)){let y=f[s++],g=i.getAttribute(h).split(qt),b=/([.?@])?(.*)/.exec(y);c.push({type:1,index:a,name:b[2],strings:g,ctor:b[1]==="."?xo:b[1]==="?"?vo:b[1]==="@"?So:Te}),i.removeAttribute(h)}else h.startsWith(qt)&&(c.push({type:6,index:a}),i.removeAttribute(h));if(ss.test(i.tagName)){let h=i.textContent.split(qt),y=h.length-1;if(y>0){i.textContent=go?go.emptyScript:"";for(let g=0;g<y;g++)i.append(h[g],Rr()),Ne.nextNode(),c.push({type:2,index:++a});i.append(h[y],Rr())}}}else if(i.nodeType===8)if(i.data===gn)c.push({type:2,index:a});else{let h=-1;for(;(h=i.data.indexOf(qt,h+1))!==-1;)c.push({type:7,index:a}),h+=qt.length-1}a++}}static createElement(t,r){let n=_e.createElement("template");return n.innerHTML=t,n}};function Pe(e,t,r=e,n){if(t===ne)return t;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=Nr(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(t=Pe(e,i._$AS(e,t.values),i,n)),t}var bo=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:n}=this._$AD,i=(t?.creationScope??_e).importNode(r,!0);Ne.currentNode=i;let a=Ne.nextNode(),s=0,l=0,c=n[0];for(;c!==void 0;){if(s===c.index){let d;c.type===2?d=new Ve(a,a.nextSibling,this,t):c.type===1?d=new c.ctor(a,c.name,c.strings,this,t):c.type===6&&(d=new Oo(a,this,t)),this._$AV.push(d),c=n[++l]}s!==c?.index&&(a=Ne.nextNode(),s++)}return Ne.currentNode=_e,i}p(t){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,r),r+=n.strings.length-2):n._$AI(t[r])),r++}},Ve=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,n,i){this.type=2,this._$AH=j,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=Pe(this,t,r),Nr(t)?t===j||t==null||t===""?(this._$AH!==j&&this._$AR(),this._$AH=j):t!==this._$AH&&t!==ne&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):as(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==j&&Nr(this._$AH)?this._$AA.nextSibling.data=t:this.$(_e.createTextNode(t)),this._$AH=t}g(t){let{values:r,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=_r.createElement(cs(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new bo(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(t){let r=ns.get(t.strings);return r===void 0&&ns.set(t.strings,r=new _r(t)),r}T(t){is(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of t)i===r.length?r.push(n=new e(this.k(Rr()),this.k(Rr()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Te=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,n,i,a){this.type=1,this._$AH=j,this._$AN=void 0,this.element=t,this.name=r,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=j}_$AI(t,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=Pe(this,t,r,0),s=!Nr(t)||t!==this._$AH&&t!==ne,s&&(this._$AH=t);else{let l=t,c,d;for(t=a[0],c=0;c<a.length-1;c++)d=Pe(this,l[n+c],r,c),d===ne&&(d=this._$AH[c]),s||=!Nr(d)||d!==this._$AH[c],d===j?t=j:t!==j&&(t+=(d??"")+a[c+1]),this._$AH[c]=d}s&&!i&&this.O(t)}O(t){t===j?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},xo=class extends Te{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===j?void 0:t}},vo=class extends Te{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==j)}},So=class extends Te{constructor(t,r,n,i,a){super(t,r,n,i,a),this.type=5}_$AI(t,r=this){if((t=Pe(this,t,r,0)??j)===ne)return;let n=this._$AH,i=t===j&&n!==j||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==j&&(n===j||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Oo=class{constructor(t,r,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){Pe(this,t)}},hp={j:yn,P:qt,A:gn,C:1,M:ps,L:bo,R:as,V:Pe,D:Ve,I:Te,H:vo,N:So,U:xo,B:Oo},mp=mn.litHtmlPolyfillSupport;mp?.(_r,Ve),(mn.litHtmlVersions??=[]).push("3.1.0");var bn=(e,t,r)=>{let n=r?.renderBefore??t,i=n._$litPart$;if(i===void 0){let a=r?.renderBefore??null;n._$litPart$=i=new Ve(t.insertBefore(Rr(),a),a,void 0,r??{})}return i._$AI(e),i};var Yt=class extends Mt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=bn(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ne}};Yt._$litElement$=!0,Yt.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:Yt});var yp=globalThis.litElementPolyfillSupport;yp?.({LitElement:Yt});var gp={_$AK:(e,t,r)=>{e._$AK(t,r)},_$AL:e=>e._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var Kf=!1;var On={};Z(On,{customElement:()=>bp,eventOptions:()=>Ke,property:()=>S,query:()=>it,queryAll:()=>Sp,queryAssignedElements:()=>vn,queryAssignedNodes:()=>Sn,queryAsync:()=>Op,standardProperty:()=>ds,state:()=>J});var bp=e=>(t,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var xp={attribute:!0,type:String,converter:br,reflect:!1,hasChanged:no},ds=(e=xp,t,r)=>{let{kind:n,metadata:i}=r,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(r.name,e),n==="accessor"){let{name:s}=r;return{set(l){let c=t.get.call(this);t.set.call(this,l),this.requestUpdate(s,c,e)},init(l){return l!==void 0&&this.C(s,void 0,e),l}}}if(n==="setter"){let{name:s}=r;return function(l){let c=this[s];t.call(this,l),this.requestUpdate(s,c,e)}}throw Error("Unsupported decorator location: "+n)};function S(e){return(t,r)=>typeof r=="object"?ds(e,t,r):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(e,t,r)}function J(e){return S({...e,state:!0,attribute:!1})}function Ke(e){return(t,r)=>{let n=typeof t=="function"?t:t[r];Object.assign(n,e)}}var Tt=(e,t,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,r),r);function it(e,t){return(r,n,i)=>{let a=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:l}=typeof n=="object"?r:i??(()=>{let c=Symbol();return{get(){return this[c]},set(d){this[c]=d}}})();return Tt(r,n,{get(){let c=s.call(this);return c===void 0&&(c=a(this),(c!==null||this.hasUpdated)&&l.call(this,c)),c}})}return Tt(r,n,{get(){return a(this)}})}}var vp;function Sp(e){return(t,r)=>Tt(t,r,{get(){return(this.renderRoot??(vp??=document.createDocumentFragment())).querySelectorAll(e)}})}function Op(e){return(t,r)=>Tt(t,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function vn(e){return(t,r)=>{let{slot:n,selector:i}=e??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Tt(t,r,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(e)??[];return i===void 0?l:l.filter(c=>c.matches(i))}})}}function Sn(e){return(t,r)=>{let{slot:n}=e??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Tt(t,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(e)??[]}})}}var Cn={};Z(Cn,{repeat:()=>En});var ie={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ae=e=>(...t)=>({_$litDirective$:e,values:t}),Dt=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,r,n){this._$Ct=t,this._$AM=r,this._$Ci=n}_$AS(t,r){return this.update(t,r)}update(t,r){return this.render(...r)}};var{D:Ep}=qa;var fs=()=>document.createComment(""),Ge=(e,t,r)=>{let n=e._$AA.parentNode,i=t===void 0?e._$AB:t._$AA;if(r===void 0){let a=n.insertBefore(fs(),i),s=n.insertBefore(fs(),i);r=new Ep(a,s,e,e.options)}else{let a=r._$AB.nextSibling,s=r._$AM,l=s!==e;if(l){let c;r._$AQ?.(e),r._$AM=e,r._$AP!==void 0&&(c=e._$AU)!==s._$AU&&r._$AP(c)}if(a!==i||l){let c=r._$AA;for(;c!==a;){let d=c.nextSibling;n.insertBefore(c,i),c=d}}}return r},se=(e,t,r=e)=>(e._$AI(t,r),e),Cp={},us=(e,t=Cp)=>e._$AH=t,hs=e=>e._$AH,Eo=e=>{e._$AP?.(!1,!0);let t=e._$AA,r=e._$AB.nextSibling;for(;t!==r;){let n=t.nextSibling;t.remove(),t=n}};var ms=(e,t,r)=>{let n=new Map;for(let i=t;i<=r;i++)n.set(e[i],i);return n},En=ae(class extends Dt{constructor(e){if(super(e),e.type!==ie.CHILD)throw Error("repeat() can only be used in text expressions")}ht(e,t,r){let n;r===void 0?r=t:t!==void 0&&(n=t);let i=[],a=[],s=0;for(let l of e)i[s]=n?n(l,s):s,a[s]=r(l,s),s++;return{values:a,keys:i}}render(e,t,r){return this.ht(e,t,r).values}update(e,[t,r,n]){let i=hs(e),{values:a,keys:s}=this.ht(t,r,n);if(!Array.isArray(i))return this.dt=s,a;let l=this.dt??=[],c=[],d,f,h=0,y=i.length-1,g=0,b=a.length-1;for(;h<=y&&g<=b;)if(i[h]===null)h++;else if(i[y]===null)y--;else if(l[h]===s[g])c[g]=se(i[h],a[g]),h++,g++;else if(l[y]===s[b])c[b]=se(i[y],a[b]),y--,b--;else if(l[h]===s[b])c[b]=se(i[h],a[b]),Ge(e,c[b+1],i[h]),h++,b--;else if(l[y]===s[g])c[g]=se(i[y],a[g]),Ge(e,i[h],i[y]),y--,g++;else if(d===void 0&&(d=ms(s,g,b),f=ms(l,h,y)),d.has(l[h]))if(d.has(l[y])){let E=f.get(s[g]),R=E!==void 0?i[E]:null;if(R===null){let N=Ge(e,i[h]);se(N,a[g]),c[g]=N}else c[g]=se(R,a[g]),Ge(e,i[h],R),i[E]=null;g++}else Eo(i[y]),y--;else Eo(i[h]),h++;for(;g<=b;){let E=Ge(e,c[b+1]);se(E,a[g]),c[g++]=E}for(;h<=y;){let E=i[h++];E!==null&&Eo(E)}return this.dt=s,us(e,c),xt}});var wn={};Z(wn,{classMap:()=>Xt});var Xt=ae(class extends Dt{constructor(e){if(super(e),e.type!==ie.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.it===void 0){this.it=new Set,e.strings!==void 0&&(this.st=new Set(e.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in t)t[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(t)}let r=e.element.classList;for(let n of this.it)n in t||(r.remove(n),this.it.delete(n));for(let n in t){let i=!!t[n];i===this.it.has(n)||this.st?.has(n)||(i?(r.add(n),this.it.add(n)):(r.remove(n),this.it.delete(n)))}return xt}});var An={};Z(An,{styleMap:()=>Ap});var ys="important",wp=" !"+ys,Ap=ae(class extends Dt{constructor(e){if(super(e),e.type!==ie.ATTRIBUTE||e.name!=="style"||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,r)=>{let n=e[r];return n==null?t:t+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(e,[t]){let{style:r}=e.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(t)),this.render(t);for(let n of this.ut)t[n]==null&&(this.ut.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in t){let i=t[n];if(i!=null){this.ut.add(n);let a=typeof i=="string"&&i.endsWith(wp);n.includes("-")||a?r.setProperty(n,a?i.slice(0,-11):i,a?ys:""):r[n]=i}}return xt}});var Nn={};Z(Nn,{UnsafeHTMLDirective:()=>Ze,unsafeHTML:()=>Rn});var Ze=class extends Dt{constructor(t){if(super(t),this.et=X,t.type!==ie.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===X||t==null)return this.vt=void 0,this.et=t;if(t===xt)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;let r=[t];return r.raw=r,this.vt={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Ze.directiveName="unsafeHTML",Ze.resultType=1;var Rn=ae(Ze);var Tn={};Z(Tn,{CacheRegistry:()=>Ut});var Pn={};Z(Pn,{CancelablePromise:()=>qe,CanceledPromiseError:()=>Pr,cancelable:()=>_n});var Pr=class extends Error{constructor(t,r,n){super(t),this.canceledPromiseResult=r,this.canceledPromiseError=n}},qe=class extends Promise{constructor(t){super((r,n)=>t(i=>{this.isCanceled?n(new Pr("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new Pr("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},_n=e=>new qe((t,r)=>e.then(t).catch(r));var Ut=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,r){this.loaders[t]=r,this.finalContent.delete(t)}registerFinal(t,r){this.loaders[t]=r,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof qe&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){this.clearTimeouts[t]!=null&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,r){this.forceClear(t),this.register(t,async()=>r),this.content[t]=r}setFinal(t,r){this.forceClear(t),this.registerFinal(t,async()=>r),this.content[t]=r}async get(t,r,n){if(this.content[t]===void 0){if(r=r??this.loaders[t],r==null)throw new Error("Unknown cache key "+t);let i=_n(r());return this.content[t]=i,i.then(a=>(this.content[t]=a,n!=null&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout(()=>this.clear(t),n)),a))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return t!=null&&!(t instanceof Promise)&&!(t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return this.content[t]!=null}resolvedKeys(){return Object.keys(this.content).filter(t=>this.isResolvedValue(this.content[t]))}resolvedValues(){return Object.values(this.content).filter(t=>this.isResolvedValue(t))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var Ln={};Z(Ln,{ClusteringHelper:()=>Tr});var Tr=class e{constructor(t,r,n,i){this.allResults=t,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(t,r){var n,i;let a=((i=(n=t?.map)!==null&&n!==void 0?n:t?.document)!==null&&i!==void 0?i:t?.topic).metadata;return r==null?e.flattenMetadata(a):e.flattenMetadata(a.find(s=>s.key===r))}static flattenMetadata(t){if(Array.isArray(t))return t.map(n=>e.flattenMetadata(n)).filter(n=>n!=null);let r=t?.hierarchicalValues!=null&&t.hierarchicalValues.length>0;if(!(t==null||t.values.length==0&&!r))if(r){let n=[],i=[];return t.hierarchicalValues.forEach(a=>{n.push(a.join(" > ")),a.length>2?i.push(`... > ${a[a.length-1]}`):i.push(a.join(" > "))}),{key:t.key,label:t.label,value:n.join(", "),displayValue:i.join(", ")}}else{let n=t.values.join(", ");return{key:t.key,label:t.label,value:n,displayValue:n}}}computeClustersItemsForMetadata(t,r,n="No value"){var i,a;let s=e.extractResultMetadata(this.selectedResult,t),l=(i=s?.label)!==null&&i!==void 0?i:(a=this.getMetadataDescriptor(t))===null||a===void 0?void 0:a.label;return this.allResults.map(d=>e.extractResultMetadata(d,t)).map(d=>d??{key:t,label:l,value:void 0,displayValue:n}).filter(d=>d.value!=s?.value).filter((d,f,h)=>h.findIndex(y=>y.value===d.value)===f).map(d=>({result:this.findBestResultForMetadataValue(t,d.value),metadata:d})).sort((d,f)=>this.compareMetadata(d.metadata.value,f.metadata.value,t,r))}compareMetadata(t,r,n,i){if(t==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let c=t.localeCompare(r,i,{numeric:!0});return l?c*-1:c}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(r=>t==r.key)}findBestResultForMetadataValue(t,r){let n=this.allResults.filter(c=>{var d;return((d=e.extractResultMetadata(c,t))===null||d===void 0?void 0:d.value)==r}),a=[...e.extractResultMetadata(this.selectedResult).filter(c=>this.clusteringMetadata.has(c.key)).filter(c=>c.key!==t)],s,l=-1;for(let c of n){let d=this.countMatchingMetadata(c,a);if(d>l&&(l=d,s=c,d===a.length))break}return s}countMatchingMetadata(t,r){return e.extractResultMetadata(t).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}};var In={};Z(In,{Debouncer:()=>vt});var vt=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,r){return this.callbacks=[t],this.debounce(r)}queue(t,r){return this.callbacks.push(t),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,r;let n=[...this.callbacks];this.callbacks=[];let i=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){i(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Mn={};Z(Mn,{customElement:()=>K,isNumber:()=>vs,jsonProperty:()=>At,optionalNumberProperty:()=>Lp});var kn={};Z(kn,{dateReviver:()=>Np,deepEqual:()=>Lt,delay:()=>Co,eventPathContainsMatchingElement:()=>$n,flatDeep:()=>bs,hasChanged:()=>Lr,last:()=>Tp,minmax:()=>Pp,parseDate:()=>xs,waitFor:()=>gs,waitUntil:()=>Rp});var Co=e=>new Promise(t=>setTimeout(t,e));async function Rp(e,t=10,r=2e4){await gs(async()=>await e()||void 0,t,r)}async function gs(e,t=10,r=2e4){let n=await e(),i,a;for(i=a=performance.now();n==null&&(!r||a-i<r);)await Co(t),n=await e(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function bs(e,t){return e.flatMap(r=>[r,...bs(t(r),t)])}function Np(...e){return function(t,r){return e.includes(t)?xs(r):r}}function xs(e){return e.match(/^\d{4}-\d{2}-\d{2}$/)&&(e=e.replace(/-/g,"/")),e=e.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(t,r,n,i)=>r+n+":"+i),new Date(e)}function _p(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var r,n,i;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!Lt(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!Lt(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(i=Object.keys(e),r=i.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;for(n=r;n--!==0;){var a=i[n];if(!Lt(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function Lt(e,t){try{return _p(e,t)}catch{return!1}}function Lr(e,t){return!Lt(e,t)}function $n(e,t,r=window.document.body){if(t.length>0){let n=e.composedPath();for(let i of n){if(i===r)return!1;if(i.matches&&t.some(a=>i.matches(a)))return!0}}return!1}function Pp(e,t,r){return Math.min(Math.max(e,t),r)}function Tp(e){return e[e.length-1]}var K=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function At(e,t){let r=()=>JSON.parse(JSON.stringify(e));return S({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Lr,...t??{}})}function Lp(e){return S({type:Object,converter:{fromAttribute:t=>{if(t!=null)return vs(t)?+t:void 0},toAttribute:t=>t==null?void 0:""+t},...e??{}})}function vs(e){return!isNaN(parseFloat(e))}var di={};Z(di,{designSystemVariables:()=>M});var pi={};Z(pi,{DesignSystemFamily:()=>li,DesignSystemSize:()=>ci,FtCssVariableFactory:()=>o,badge:()=>Dp,banner:()=>Mp,breadcrumb:()=>Up,button:()=>_,chart:()=>Xp,checkbox:()=>Qp,chip:()=>$p,collapsible:()=>qp,comboboxMultiSelect:()=>Kp,comboboxSingleSelect:()=>Vp,drawer:()=>Fp,floatingMenu:()=>jp,foundation:()=>p,link:()=>kp,modal:()=>Wp,notice:()=>Jp,notification:()=>rd,pageHeader:()=>Bp,popover:()=>Gp,radio:()=>ed,resolveFamilyClass:()=>nd,resolveSizeClass:()=>id,semantic:()=>u,setVariable:()=>I,switch_:()=>Yp,tabs:()=>Zp,textArea:()=>Hp,textInput:()=>zp,toggle:()=>td,tooltip:()=>od,typographies:()=>Ir,typographyBody1Medium:()=>zn,typographyBody1Regular:()=>Fn,typographyBody1Semibold:()=>Hn,typographyBody2Medium:()=>Vn,typographyBody2MediumUnderline:()=>Ss,typographyBody2Regular:()=>jn,typographyBody2Semibold:()=>Kn,typographyCaption1Bold:()=>ei,typographyCaption1Medium:()=>Qn,typographyCaption1Semibold:()=>ti,typographyCaption2Bold:()=>ni,typographyCaption2Medium:()=>ri,typographyCaption2Semibold:()=>oi,typographyCaption3Bold:()=>si,typographyCaption3Medium:()=>ii,typographyCaption3Semibold:()=>ai,typographyDisplay:()=>Dn,typographyLabel1Bold:()=>qn,typographyLabel1Medium:()=>Gn,typographyLabel1Semibold:()=>Zn,typographyLabel2Bold:()=>Jn,typographyLabel2Medium:()=>Yn,typographyLabel2Semibold:()=>Xn,typographyTitle1:()=>Un,typographyTitle2:()=>Bn,typographyTitle3:()=>Wn,typographyVariants:()=>Ip});var Jt=e=>typeof e=="string"?Zt(e):e,o=class{static create(t,r,n,i){let a=l=>Jt(l??i),s=T`var(${Jt(t)}, ${a(i)})`;return s.name=t,s.description=r,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>T`var(${Jt(t)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,r,n,i){let a=l=>n.get(l??i),s=T`var(${Jt(t)}, ${a(i)})`;return s.name=t,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>T`var(${Jt(t)}, ${a(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(t,r){let n=a=>t.fallbackVariable?t.fallbackVariable.get(a??t.defaultValue):Jt(a??t.lastResortDefaultValue()),i=T`var(${Jt(t.name)}, ${n(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=r,i.defaultCssValue=n,i.get=a=>T`var(${Jt(t.name)}, ${n(a)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};function I(e,t){return Jt(`${e.name}: ${t}`)}var p={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},Dn={fontFamily:o.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:o.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-display-textCase","","UNKNOWN","none")},Un={fontFamily:o.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:o.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Bn={fontFamily:o.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:o.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Wn={fontFamily:o.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:o.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:o.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Fn={fontFamily:o.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},zn={fontFamily:o.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Hn={fontFamily:o.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:o.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},jn={fontFamily:o.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:o.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Vn={fontFamily:o.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Ss={fontFamily:o.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:o.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:o.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Kn={fontFamily:o.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:o.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:o.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:o.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},Gn={fontFamily:o.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Zn={fontFamily:o.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},qn={fontFamily:o.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:o.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Yn={fontFamily:o.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Xn={fontFamily:o.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Jn={fontFamily:o.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:o.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:o.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:o.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Qn={fontFamily:o.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},ti={fontFamily:o.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},ei={fontFamily:o.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:o.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},ri={fontFamily:o.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},oi={fontFamily:o.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},ni={fontFamily:o.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:o.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},ii={fontFamily:o.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:o.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},ai={fontFamily:o.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:o.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},si={fontFamily:o.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:o.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:o.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:o.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:o.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:o.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:o.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:o.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Ir={display:Dn,"title-1":Un,"title-2":Bn,"title-3":Wn,"body-1-regular":Fn,"body-1-medium":zn,"body-1-semibold":Hn,"body-2-regular":jn,"body-2-medium":Vn,"body-2-medium-underline":Ss,"body-2-semibold":Kn,"label-1-medium":Gn,"label-1-semibold":Zn,"label-1-bold":qn,"label-2-medium":Yn,"label-2-semibold":Xn,"label-2-bold":Jn,"caption-1-medium":Qn,"caption-1-semibold":ti,"caption-1-bold":ei,"caption-2-medium":ri,"caption-2-semibold":oi,"caption-2-bold":ni,"caption-3-medium":ii,"caption-3-semibold":ai,"caption-3-bold":si},Ip=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"];var u={backgroundActionPrimary:o.extend("--ft-background-action-primary","Used as backgorund of primary action components.",p.colorBrand0),backgroundErrorSubtle:o.extend("--ft-background-error-subtle","Used as background of subtle error components.",p.colorRed10),backgroundInfoSubtle:o.extend("--ft-background-info-subtle","Used as background of subtle information components.",p.colorCyan10),backgroundWarningSubtle:o.extend("--ft-background-warning-subtle","Used as background of subtle information components.",p.colorOrange10),backgroundSuccessSubtle:o.extend("--ft-background-success-subtle","Used as background of subtle success components.",p.colorGreen10),backgroundGlobalSurface:o.extend("--ft-background-global-surface","Used as app background.",p.colorWhite),backgroundGlobalOnSurface:o.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",p.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",p.colorGray30),contentActionPrimary:o.extend("--ft-content-action-primary","Used on label of primary action on light surface.",p.colorBrand0),contentWarningPrimary:o.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",p.colorOrange200),contentWarningIconOnly:o.extend("--ft-content-warning-icon-only","Used on warning status icons alone",p.colorOrange0),contentErrorPrimary:o.extend("--ft-content-error-primary","Used on label of error messages on light surface.",p.colorRed0),contentErrorIconOnly:o.extend("--ft-content-error-icon-only","Used on error status icons alone",p.colorRed70),contentInfoPrimary:o.extend("--ft-content-info-primary","Used on label of information messages on light surface.",p.colorCyan200),contentInfoIconOnly:o.extend("--ft-content-info-icon-only","Used on info status icons alone",p.colorCyan0),contentSuccessPrimary:o.extend("--ft-content-success-primary","Used on label of success messages on light surface.",p.colorGreen200),contentSuccessIconOnly:o.extend("--ft-content-success-icon-only","Used on success status icons alone",p.colorGreen0),contentGlobalPrimary:o.extend("--ft-content-global-primary","Used for main content on the page.",p.colorGray500),contentGlobalSecondary:o.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
6
|
-
Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",p.colorGray0),contentGlobalOnColor:o.extend("--ft-content-global-on-color","Used for content on a dominant color.",p.colorWhite),borderActionPrimary:o.extend("--ft-border-action-primary","Used as border for primary action components.",p.colorBrand0),borderActionFocusRing:o.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",p.colorCyan0),borderWarningPrimary:o.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",p.colorOrange200),borderWarningSubtle:o.extend("--ft-border-warning-subtle","Used as border for warning components.",p.colorOrange30),borderSuccessPrimary:o.extend("--ft-border-success-primary","Used as border for success buttons.",p.colorGreen200),borderSuccessSubtle:o.extend("--ft-border-success-subtle","Used as border for success components.",p.colorGreen30),borderErrorPrimary:o.extend("--ft-border-error-primary","Used as border for text fields in error states.",p.colorRed0),borderErrorSubtle:o.extend("--ft-border-error-subtle","Used as border for error components.",p.colorRed30),borderInfoPrimary:o.extend("--ft-border-info-primary","Used as border for buttons in info color.",p.colorCyan200),borderInfoSubtle:o.extend("--ft-border-info-subtle","Used as border for information components.",p.colorCyan30),borderGlobalPrimary:o.extend("--ft-border-global-primary","Used as border for element like input.",p.colorGray50),borderGlobalSubtle:o.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",p.colorGray30),borderInputPrimary:o.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",p.colorGray80)};var _={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",p.spacing4),largeGap:o.extend("--ft-button-large-gap","",p.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",p.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",p.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",p.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",p.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",p.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",p.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",p.spacing2),smallGap:o.extend("--ft-button-small-gap","",p.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",p.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",p.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",p.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",p.borderRadiusPill),primaryBackgroundColor:o.extend("--ft-button-primary-background-color","",u.backgroundActionPrimary),primaryColor:o.extend("--ft-button-primary-color","",u.contentGlobalOnColor),primaryIconColor:o.extend("--ft-button-primary-icon-color","",u.contentGlobalOnColor),primaryStateLayerColor:o.extend("--ft-button-primary-state-layer-color","",u.contentGlobalOnColor),primaryHoverStateLayerOpacity:o.extend("--ft-button-primary-hover-state-layer-opacity","",p.opacity16),primaryFocusStateLayerOpacity:o.extend("--ft-button-primary-focus-state-layer-opacity","",p.opacity16),primaryActiveStateLayerOpacity:o.extend("--ft-button-primary-active-state-layer-opacity","",p.opacity24),primaryDisabledComponentOpacity:o.extend("--ft-button-primary-disabled-component-opacity","",p.opacity40),focusFocusRingColor:o.extend("--ft-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBackgroundColor:o.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:o.extend("--ft-button-tertiary-color","",u.contentActionPrimary),tertiaryIconColor:o.extend("--ft-button-tertiary-icon-color","",u.contentActionPrimary),tertiaryStateLayerColor:o.extend("--ft-button-tertiary-state-layer-color","",u.contentActionPrimary),tertiaryHoverStateLayerOpacity:o.extend("--ft-button-tertiary-hover-state-layer-opacity","",p.opacity8),tertiaryFocusStateLayerOpacity:o.extend("--ft-button-tertiary-focus-state-layer-opacity","",p.opacity8),tertiaryActiveStateLayerOpacity:o.extend("--ft-button-tertiary-active-state-layer-opacity","",p.opacity16),tertiaryDisabledComponentOpacity:o.extend("--ft-button-tertiary-disabled-component-opacity","",p.opacity40),secondaryBackgroundColor:o.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:o.extend("--ft-button-secondary-color","",u.contentActionPrimary),secondaryIconColor:o.extend("--ft-button-secondary-icon-color","",u.contentActionPrimary),secondaryStateLayerColor:o.extend("--ft-button-secondary-state-layer-color","",u.contentActionPrimary),secondaryHoverStateLayerOpacity:o.extend("--ft-button-secondary-hover-state-layer-opacity","",p.opacity8),secondaryFocusStateLayerOpacity:o.extend("--ft-button-secondary-focus-state-layer-opacity","",p.opacity8),secondaryActiveStateLayerOpacity:o.extend("--ft-button-secondary-active-state-layer-opacity","",p.opacity16),secondaryDisabledComponentOpacity:o.extend("--ft-button-secondary-disabled-component-opacity","",p.opacity40),secondaryBorderColor:o.extend("--ft-button-secondary-border-color","",u.borderActionPrimary),neutralBackgroundColor:o.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:o.extend("--ft-button-neutral-icon-color","",u.contentGlobalSecondary),neutralColor:o.extend("--ft-button-neutral-color","",u.contentGlobalSecondary),neutralStateLayerColor:o.extend("--ft-button-neutral-state-layer-color","",u.contentGlobalSecondary),neutralHoverStateLayerOpacity:o.extend("--ft-button-neutral-hover-state-layer-opacity","",p.opacity8),neutralFocusStateLayerOpacity:o.extend("--ft-button-neutral-focus-state-layer-opacity","",p.opacity8),neutralActiveStateLayerOpacity:o.extend("--ft-button-neutral-active-state-layer-opacity","",p.opacity16),neutralDisabledComponentOpacity:o.extend("--ft-button-neutral-disabled-component-opacity","",p.opacity40)};var $p={largeMinHeight:o.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ft-chip-large-horizontal-padding","",p.spacing3),largeButtonRightPadding:o.extend("--ft-chip-large-button-right-padding","",p.spacing1),largeGap:o.extend("--ft-chip-large-gap","",p.spacing1),largeFocusOutlineOffset:o.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.extend("--ft-chip-large-border-radius","",p.borderRadiusPill),largeBorderWidth:o.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ft-chip-large-icon-size","",p.iconSize3),mediumMinHeight:o.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ft-chip-medium-horizontal-padding","",p.spacing2),mediumButtonRightPadding:o.extend("--ft-chip-medium-button-right-padding","",p.spacing05),mediumGap:o.extend("--ft-chip-medium-gap","",p.spacing1),mediumFocusOutlineOffset:o.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.extend("--ft-chip-medium-border-radius","",p.borderRadiusPill),mediumBorderWidth:o.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ft-chip-medium-icon-size","",p.iconSize2),smallMinHeight:o.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-chip-small-horizontal-padding","",p.spacing1),smallButtonRightPadding:o.extend("--ft-chip-small-button-right-padding","",p.spacing05),smallGap:o.extend("--ft-chip-small-gap","",p.spacing1),smallFocusOutlineOffset:o.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.extend("--ft-chip-small-border-radius","",p.borderRadiusPill),smallBorderWidth:o.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ft-chip-small-icon-size","",p.iconSize1),neutralBackgroundColor:o.extend("--ft-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:o.extend("--ft-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:o.extend("--ft-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:o.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:o.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)};var kp={focusOpacity:o.extend("--ft-link-focus-opacity","",p.opacity80),focusFocusRingColor:o.extend("--ft-link-focus-focus-ring-color","",u.borderActionFocusRing),brandColor:o.extend("--ft-link-brand-color","",u.contentActionPrimary),infoColor:o.extend("--ft-link-info-color","",u.contentInfoPrimary)};var Mp={iconSize:o.extend("--ft-banner-icon-size","",p.iconSize5),borderWidth:o.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ft-banner-left-padding","",p.spacing6),rightPadding:o.extend("--ft-banner-right-padding","",p.spacing6),verticalPadding:o.extend("--ft-banner-vertical-padding","",p.spacing6),horizontalSideGap:o.extend("--ft-banner-horizontal-side-gap","",p.spacing6),horizontalMobileGap:o.extend("--ft-banner-horizontal-mobile-gap","",p.spacing4),verticalMobileGap:o.extend("--ft-banner-vertical-mobile-gap","",p.spacing6),horizontalMiddleGap:o.extend("--ft-banner-horizontal-middle-gap","",p.spacing20),infoBackgroundColor:o.extend("--ft-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-banner-info-border-color","",u.borderInfoSubtle)};var Dp={horizontalPadding:o.extend("--ft-badge-horizontal-padding","",p.spacing1),verticalPadding:o.extend("--ft-badge-vertical-padding","",p.spacing1),borderRadius:o.extend("--ft-badge-border-radius","",p.borderRadiusPill),color:o.extend("--ft-badge-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ft-badge-background-color","",u.contentActionPrimary)};var Up={horizontalGap:o.extend("--ft-breadcrumb-horizontal-gap","",p.spacing1),verticalGap:o.extend("--ft-breadcrumb-vertical-gap","",p.spacing2),currentColor:o.extend("--ft-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:o.extend("--ft-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:o.extend("--ft-breadcrumb-icon-color","",u.contentGlobalSubtle)};var Bp={horizontalPadding:o.extend("--ft-page-header-horizontal-padding","",p.spacing12),horizontalGap:o.extend("--ft-page-header-horizontal-gap","",p.spacing4),verticalGap:o.extend("--ft-page-header-vertical-gap","",p.spacing2),classicVerticalPadding:o.extend("--ft-page-header-classic-vertical-padding","",p.spacing6),multilineVerticalPadding:o.extend("--ft-page-header-multiline-vertical-padding","",p.spacing4),inlineVerticalPadding:o.extend("--ft-page-header-inline-vertical-padding","",p.spacing2),backgroundColor:o.extend("--ft-page-header-background-color","",p.colorWhite),bottomBorderColor:o.extend("--ft-page-header-bottom-border-color","",u.borderGlobalSubtle),titleColor:o.extend("--ft-page-header-title-color","",u.contentGlobalPrimary),subtitleColor:o.extend("--ft-page-header-subtitle-color","",u.contentGlobalSecondary)};var Wp={smallContainerWidth:o.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:o.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:o.extend("--ft-modal-overlay-background-color","",p.colorGray700),overlayOpacity:o.extend("--ft-modal-overlay-opacity","",p.opacity40),shadow:o.extend("--ft-modal-shadow","",p.shadowElevation03),bodyBackgroundColor:o.extend("--ft-modal-body-background-color","",p.colorWhite),bodyColor:o.extend("--ft-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-modal-body-horizontal-padding","",p.spacing6),bodyVerticalPadding:o.extend("--ft-modal-body-vertical-padding","",p.spacing6),bodyVerticalGap:o.extend("--ft-modal-body-vertical-gap","",p.spacing6),containerMargin:o.extend("--ft-modal-container-margin","",p.spacing3),headerBackgroundColor:o.extend("--ft-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-modal-header-trailing-icon-color","",u.contentGlobalSecondary),headerVerticalPadding:o.extend("--ft-modal-header-vertical-padding","",p.spacing1),headerRightPadding:o.extend("--ft-modal-header-right-padding","",p.spacing1),headerLeftPadding:o.extend("--ft-modal-header-left-padding","",p.spacing6),headerGap:o.extend("--ft-modal-header-gap","",p.spacing2),headerBorderBottom:o.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:o.extend("--ft-modal-border-radius","",p.borderRadiusM)};var Fp={overlayOpacity:o.extend("--ft-drawer-overlay-opacity","",p.opacity40),shadow:o.extend("--ft-drawer-shadow","",p.shadowElevation03),bodyColor:o.extend("--ft-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ft-drawer-body-horizontal-padding","",p.spacing6),bodyVerticalPadding:o.extend("--ft-drawer-body-vertical-padding","",p.spacing6),bodyGap:o.extend("--ft-drawer-body-gap","",p.spacing6),bodyBackgroundColor:o.extend("--ft-drawer-body-background-color","",p.colorWhite),headerBackgroundColor:o.extend("--ft-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ft-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:o.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ft-drawer-header-horizontal-padding","",p.spacing2),headerBorderWidth:o.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ft-drawer-header-gap","",p.spacing3),buttonsBarBackgroundColor:o.extend("--ft-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:o.extend("--ft-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ft-drawer-buttons-bar-horizontal-padding","",p.spacing4),buttonsBarVerticalPadding:o.extend("--ft-drawer-buttons-bar-vertical-padding","",p.spacing4),buttonsBarGap:o.extend("--ft-drawer-buttons-bar-gap","",p.spacing3),buttonsBarBorderWidth:o.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ft-drawer-overlay-background-color","",p.colorGray700)};var zp={fieldHorizontalPadding:o.extend("--ft-text-input-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:o.extend("--ft-text-input-field-horizontal-gap","",p.spacing3),fieldVerticalGap:o.extend("--ft-text-input-field-vertical-gap","",p.spacing05),fieldIconSize:o.extend("--ft-text-input-field-icon-size","",p.iconSize3),fieldHeight:o.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-text-input-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:o.extend("--ft-text-input-helper-horizontal-gap","",p.spacing1),helperIconSize:o.extend("--ft-text-input-helper-icon-size","",p.iconSize2),borderRadius:o.extend("--ft-text-input-border-radius","",p.borderRadiusM),backgroundColor:o.extend("--ft-text-input-background-color","",p.colorWhite),contentValueColor:o.extend("--ft-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:o.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderWidth:o.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-input-disabled-component-opacity","",p.opacity40)};var Hp={backgroundColor:o.extend("--ft-text-area-background-color","",p.colorWhite),contentValueColor:o.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:o.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:o.extend("--ft-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-text-area-disabled-component-opacity","",p.opacity40),fieldHorizontalLeftPadding:o.extend("--ft-text-area-field-horizontal-left-padding","",p.spacing4),fieldHorizontalGap:o.extend("--ft-text-area-field-horizontal-gap","",p.spacing3),fieldVerticalGap:o.extend("--ft-text-area-field-vertical-gap","",p.spacing05),fieldMinHeight:o.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:o.extend("--ft-text-area-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:o.extend("--ft-text-area-helper-horizontal-gap","",p.spacing1),helperIconSize:o.extend("--ft-text-area-helper-icon-size","",p.iconSize2),borderRadius:o.extend("--ft-text-area-border-radius","",p.borderRadiusM)};var jp={height:o.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:o.extend("--ft-floating-menu-horizontal-padding","",p.spacing4),offIconColor:o.extend("--ft-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:o.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:o.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:o.extend("--ft-floating-menu-gap","",p.spacing3),focusFocusRingColor:o.extend("--ft-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ft-floating-menu-focus-state-layer-opacity","",p.opacity8),hoverStateLayerOpacity:o.extend("--ft-floating-menu-hover-state-layer-opacity","",p.opacity8),activeStateLayerOpacity:o.extend("--ft-floating-menu-active-state-layer-opacity","",p.opacity16),disabledComponentOpacity:o.extend("--ft-floating-menu-disabled-component-opacity","",p.opacity40),iconSize:o.extend("--ft-floating-menu-icon-size","",p.iconSize3),backgroundColor:o.extend("--ft-floating-menu-background-color","",u.backgroundGlobalOnSurface)};var Vp={fieldHorizontalPadding:o.extend("--ft-combobox-single-select-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-single-select-field-horizontal-gap","",p.spacing3),fieldVerticalGap:o.extend("--ft-combobox-single-select-field-vertical-gap","",p.spacing05),fieldIconSize:o.extend("--ft-combobox-single-select-field-icon-size","",p.iconSize3),fieldHeight:o.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:o.extend("--ft-combobox-single-select-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:o.extend("--ft-combobox-single-select-helper-horizontal-gap","",p.spacing1),helperVerticalGap:o.extend("--ft-combobox-single-select-helper-vertical-gap","",p.spacing1),helperIconSize:o.extend("--ft-combobox-single-select-helper-icon-size","",p.iconSize2),menuVerticalGap:o.extend("--ft-combobox-single-select-menu-vertical-gap","",p.spacing2),borderRadius:o.extend("--ft-combobox-single-select-border-radius","",p.borderRadiusM),backgroundColor:o.extend("--ft-combobox-single-select-background-color","",p.colorWhite),labelColor:o.extend("--ft-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:o.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ft-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:o.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:o.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-single-select-disabled-component-opacity","",p.opacity40)};var Kp={backgroundColor:o.extend("--ft-combobox-multi-select-background-color","",p.colorWhite),labelColor:o.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:o.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:o.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:o.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:o.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:o.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:o.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ft-combobox-multi-select-disabled-component-opacity","",p.opacity40),helperHorizontalPadding:o.extend("--ft-combobox-multi-select-helper-horizontal-padding","",p.spacing4),helperHorizontalGap:o.extend("--ft-combobox-multi-select-helper-horizontal-gap","",p.spacing1),helperVerticalGap:o.extend("--ft-combobox-multi-select-helper-vertical-gap","",p.spacing1),helperIconSize:o.extend("--ft-combobox-multi-select-helper-icon-size","",p.iconSize2),fieldHorizontalPadding:o.extend("--ft-combobox-multi-select-field-horizontal-padding","",p.spacing4),fieldHorizontalGap:o.extend("--ft-combobox-multi-select-field-horizontal-gap","",p.spacing3),fieldVerticalGap:o.extend("--ft-combobox-multi-select-field-vertical-gap","",p.spacing05),fieldIconSize:o.extend("--ft-combobox-multi-select-field-icon-size","",p.iconSize3),fieldMaxHeight:o.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:o.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",p.spacing1),contentValuesVerticalGap:o.extend("--ft-combobox-multi-select-content-values-vertical-gap","",p.spacing1),borderRadius:o.extend("--ft-combobox-multi-select-border-radius","",p.borderRadiusM)};var Gp={backgroundColor:o.extend("--ft-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:o.extend("--ft-popover-horizontal-padding","",p.spacing6),verticalPadding:o.extend("--ft-popover-vertical-padding","",p.spacing6),titleColor:o.extend("--ft-popover-title-color","",u.contentGlobalPrimary),bodyColor:o.extend("--ft-popover-body-color","",u.contentGlobalSecondary),linkColor:o.extend("--ft-popover-link-color","",u.contentActionPrimary),gap:o.extend("--ft-popover-gap","",p.spacing3),borderRadius:o.extend("--ft-popover-border-radius","",p.borderRadiusM),shadow:o.extend("--ft-popover-shadow","",p.shadowElevation02)};var Zp={topLeftBorderRadius:o.extend("--ft-tabs-top-left-border-radius","",p.borderRadiusS),topRightBorderRadius:o.extend("--ft-tabs-top-right-border-radius","",p.borderRadiusS),withLabelHorizontalPadding:o.extend("--ft-tabs-with-label-horizontal-padding","",p.spacing4),withLabelVerticalPadding:o.extend("--ft-tabs-with-label-vertical-padding","",p.spacing3),horizontalGap:o.extend("--ft-tabs-horizontal-gap","",p.spacing1),verticalGap:o.extend("--ft-tabs-vertical-gap","",p.spacing1),offHoverStateLayerOpacity:o.extend("--ft-tabs-off-hover-state-layer-opacity","",p.opacity8),offDefaultStateLayerOpacity:o.extend("--ft-tabs-off-default-state-layer-opacity","",p.opacity0),offFocusStateLayerOpacity:o.extend("--ft-tabs-off-focus-state-layer-opacity","",p.opacity8),offDisabledComponentOpacity:o.extend("--ft-tabs-off-disabled-component-opacity","",p.opacity40),offColor:o.extend("--ft-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-tabs-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-tabs-on-hover-state-layer-opacity","",p.opacity8),onDefaultStateLayerOpacity:o.extend("--ft-tabs-on-default-state-layer-opacity","",p.opacity0),onFocusStateLayerOpacity:o.extend("--ft-tabs-on-focus-state-layer-opacity","",p.opacity8),onActiveStateLayerOpacity:o.extend("--ft-tabs-on-active-state-layer-opacity","",p.opacity16),onColor:o.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ft-tabs-icon-only-horizontal-padding","",p.spacing4),iconOnlyVerticalPadding:o.extend("--ft-tabs-icon-only-vertical-padding","",p.spacing4),alertTopPadding:o.extend("--ft-tabs-alert-top-padding","",p.spacing1),alertRightPadding:o.extend("--ft-tabs-alert-right-padding","",p.spacing05),focusOutlineWidth:o.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var qp={hoverStateLayerOpacity:o.extend("--ft-collapsible-hover-state-layer-opacity","",p.opacity8),focusStateLayerOpacity:o.extend("--ft-collapsible-focus-state-layer-opacity","",p.opacity8),focusOutlineWidth:o.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ft-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ft-collapsible-active-state-layer-opacity","",p.opacity16),disabledComponentOpacity:o.extend("--ft-collapsible-disabled-component-opacity","",p.opacity40),horizontalPadding:o.extend("--ft-collapsible-horizontal-padding","",p.spacing4),verticalPadding:o.extend("--ft-collapsible-vertical-padding","",p.spacing3),color:o.extend("--ft-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:o.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:o.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:o.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:o.extend("--ft-collapsible-icon-size","",p.iconSize3)};var Yp={groupHorizontalPadding:o.extend("--ft-switch-group-horizontal-padding","",p.spacing1),groupVerticalPadding:o.extend("--ft-switch-group-vertical-padding","",p.spacing1),groupGap:o.extend("--ft-switch-group-gap","",p.spacing1),groupBackgroundColor:o.extend("--ft-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:o.extend("--ft-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:o.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ft-switch-label-horizontal-padding","",p.spacing2),labelVerticalPadding:o.extend("--ft-switch-label-vertical-padding","",p.spacing1),offHoverStateLayerOpacity:o.extend("--ft-switch-off-hover-state-layer-opacity","",p.opacity8),offFocusStateLayerOpacity:o.extend("--ft-switch-off-focus-state-layer-opacity","",p.opacity8),offActiveStateLayerOpacity:o.extend("--ft-switch-off-active-state-layer-opacity","",p.opacity16),offDisabledComponentOpacity:o.extend("--ft-switch-off-disabled-component-opacity","",p.opacity40),offColor:o.extend("--ft-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-switch-on-hover-state-layer-opacity","",p.opacity8),onFocusStateLayerOpacity:o.extend("--ft-switch-on-focus-state-layer-opacity","",p.opacity8),onActiveStateLayerOpacity:o.extend("--ft-switch-on-active-state-layer-opacity","",p.opacity16),onDisabledComponentOpacity:o.extend("--ft-switch-on-disabled-component-opacity","",p.opacity40),onColor:o.extend("--ft-switch-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:o.extend("--ft-switch-icon-horizontal-padding","",p.spacing1),iconVerticalPadding:o.extend("--ft-switch-icon-vertical-padding","",p.spacing1),focusOutlineWidth:o.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ft-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:o.extend("--ft-switch-option-border-radius","",p.borderRadiusS)};var Xp={color1Light:o.extend("--ft-chart-1-light","for area color charts",p.colorBrand40),color1Base:o.extend("--ft-chart-1-base","for line charts",p.colorBrand0),color2Light:o.extend("--ft-chart-2-light","for area color charts",p.colorYellow60),color2Base:o.extend("--ft-chart-2-base","for line charts",p.colorYellow100),color3Light:o.extend("--ft-chart-3-light","",p.colorUltramarine40),color3Base:o.extend("--ft-chart-3-base","",p.colorUltramarine70),color4Light:o.extend("--ft-chart-4-light","",p.colorCyan50),color4Base:o.extend("--ft-chart-4-base","",p.colorCyan100),color5Light:o.extend("--ft-chart-5-light","",p.colorRed40),color5Base:o.extend("--ft-chart-5-base","",p.colorRed60),color6Light:o.extend("--ft-chart-6-light","",p.colorGreen40),color6Base:o.extend("--ft-chart-6-base","",p.colorGreen70),color7Light:o.extend("--ft-chart-7-light","",p.colorOrange70),color7Base:o.extend("--ft-chart-7-base","",p.colorOrange100),color8Light:o.extend("--ft-chart-8-light","",p.colorAvocado70),color8Base:o.extend("--ft-chart-8-base","",p.colorAvocado200),color9Light:o.extend("--ft-chart-9-light","",p.colorBrown50),color9Base:o.extend("--ft-chart-9-base","",p.colorBrown200),color10Light:o.extend("--ft-chart-10-light","",p.colorGray50),color10Base:o.extend("--ft-chart-10-base","",p.colorGray80),monochrome10:o.extend("--ft-chart-monochrome-10","",p.colorBrand10),monochrome20:o.extend("--ft-chart-monochrome-20","",p.colorBrand20),monochrome30:o.extend("--ft-chart-monochrome-30","",p.colorBrand40),monochrome40:o.extend("--ft-chart-monochrome-40","",p.colorBrand60),monochrome50:o.extend("--ft-chart-monochrome-50","",p.colorBrand0),monochrome60:o.extend("--ft-chart-monochrome-60","",p.colorBrand200)};var Jp={borderWidth:o.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ft-notice-horizontal-padding","",p.spacing3),verticalPadding:o.extend("--ft-notice-vertical-padding","",p.spacing2),borderRadius:o.extend("--ft-notice-border-radius","",p.borderRadiusS),gap:o.extend("--ft-notice-gap","",p.spacing2),iconSize:o.extend("--ft-notice-icon-size","",p.iconSize3),infoBackgroundColor:o.extend("--ft-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:o.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:o.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:o.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:o.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:o.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:o.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:o.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:o.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:o.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:o.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:o.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly)};var Qp={color:o.extend("--ft-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:o.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:o.extend("--ft-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ft-checkbox-checked-hover-state-layer-opacity","",p.opacity16),checkedFocusStateLayerOpacity:o.extend("--ft-checkbox-checked-focus-state-layer-opacity","",p.opacity16),checkedActiveStateLayerOpacity:o.extend("--ft-checkbox-checked-active-state-layer-opacity","",p.opacity24),checkedDisabledComponentOpacity:o.extend("--ft-checkbox-checked-disabled-component-opacity","",p.opacity40),uncheckedBorderColor:o.extend("--ft-checkbox-unchecked-border-color","",p.colorGray80),uncheckedStateLayerColor:o.extend("--ft-checkbox-unchecked-state-layer-color","",p.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",p.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",p.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",p.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ft-checkbox-unchecked-disabled-component-opacity","",p.opacity40),focusFocusRingColor:o.extend("--ft-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-checkbox-gap","",p.spacing3)};var td={offHoverStateLayerOpacity:o.extend("--ft-toggle-off-hover-state-layer-opacity","",p.opacity16),offFocusStateLayerOpacity:o.extend("--ft-toggle-off-focus-state-layer-opacity","",p.opacity16),offActiveStateLayerOpacity:o.extend("--ft-toggle-off-active-state-layer-opacity","",p.opacity24),offDisabledComponentOpacity:o.extend("--ft-toggle-off-disabled-component-opacity","",p.opacity40),offBackgroundColor:o.extend("--ft-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:o.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ft-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ft-toggle-on-hover-state-layer-opacity","",p.opacity16),onFocusStateLayerOpacity:o.extend("--ft-toggle-on-focus-state-layer-opacity","",p.opacity16),onActiveStateLayerOpacity:o.extend("--ft-toggle-on-active-state-layer-opacity","",p.opacity24),onDisabledComponentOpacity:o.extend("--ft-toggle-on-disabled-component-opacity","",p.opacity40),onBackgroundColor:o.extend("--ft-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:o.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:o.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:o.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:o.extend("--ft-toggle-gap","",p.spacing3)};var ed={color:o.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:o.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:o.extend("--ft-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ft-radio-selected-hover-state-layer-opacity","",p.opacity16),selectedFocusStateLayerOpacity:o.extend("--ft-radio-selected-focus-state-layer-opacity","",p.opacity16),selectedActiveStateLayerOpacity:o.extend("--ft-radio-selected-active-state-layer-opacity","",p.opacity24),selectedDisabledComponentOpacity:o.extend("--ft-radio-selected-disabled-component-opacity","",p.opacity40),unselectedStateLayerColor:o.extend("--ft-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:o.extend("--ft-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ft-radio-unselected-hover-state-layer-opacity","",p.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ft-radio-unselected-focus-state-layer-opacity","",p.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ft-radio-unselected-active-state-layer-opacity","",p.opacity24),unselectedDisabledComponentOpacity:o.extend("--ft-radio-unselected-disabled-component-opacity","",p.opacity40),focusFocusRingColor:o.extend("--ft-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:o.extend("--ft-radio-gap","",p.spacing3)};var rd={iconSize:o.extend("--ft-notification-icon-size","",p.iconSize4),leftPadding:o.extend("--ft-notification-left-padding","",p.spacing5),rightPadding:o.extend("--ft-notification-right-padding","",p.spacing4),verticalPadding:o.extend("--ft-notification-vertical-padding","",p.spacing3),infoBackgroundColor:o.extend("--ft-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ft-notification-error-border-color","",u.borderErrorSubtle),borderRadius:o.extend("--ft-notification-border-radius","",p.borderRadiusPill),borderWidth:o.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ft-notification-leading-gap","",p.spacing2),trailingGap:o.extend("--ft-notification-trailing-gap","",p.spacing8)};var od={horizontalPadding:o.extend("--ft-tooltip-horizontal-padding","",p.spacing2),verticalPadding:o.extend("--ft-tooltip-vertical-padding","",p.spacing2),borderRadius:o.extend("--ft-tooltip-border-radius","",p.borderRadiusS),color:o.extend("--ft-tooltip-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ft-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:o.extend("--ft-tooltip-background-opacity","",p.opacity80),shadow:o.extend("--ft-tooltip-shadow","",p.shadowElevation03),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ft-tooltip-gap","",p.spacing05)};var li;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(li||(li={}));var ci;(function(e){e.large="large",e.medium="medium",e.small="small"})(ci||(ci={}));function nd(e){return`design-system--family-${e}`}function id(e){return`design-system--size-${e}`}var M={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:o.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:o.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:o.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:o.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:o.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:o.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:o.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:o.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:o.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:o.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var mi={};Z(mi,{FtNotificationEvent:()=>fi,PostResizeEvent:()=>hi,PreResizeEvent:()=>ui});var fi=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},ui=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},hi=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var Ai={};Z(Ai,{computeOffsetPosition:()=>Br});var Es=["top","right","bottom","left"],Os=["start","end"],gi=Es.reduce((e,t)=>e.concat(t,t+"-"+Os[0],t+"-"+Os[1]),[]),$r=Math.min,le=Math.max,kr=Math.round;var Qt=e=>({x:e,y:e}),ad={left:"right",right:"left",bottom:"top",top:"bottom"},sd={start:"end",end:"start"};function bi(e,t,r){return le(e,$r(t,r))}function wo(e,t){return typeof e=="function"?e(t):e}function Ye(e){return e.split("-")[0]}function ce(e){return e.split("-")[1]}function xi(e){return e==="x"?"y":"x"}function vi(e){return e==="y"?"height":"width"}function Ao(e){return["top","bottom"].includes(Ye(e))?"y":"x"}function Si(e){return xi(Ao(e))}function Cs(e,t,r){r===void 0&&(r=!1);let n=ce(e),i=Si(e),a=vi(i),s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=yi(s)),[s,yi(s)]}function ws(e){return e.replace(/start|end/g,t=>sd[t])}function yi(e){return e.replace(/left|right|bottom|top/g,t=>ad[t])}function ld(e){return{top:0,right:0,bottom:0,left:0,...e}}function As(e){return typeof e!="number"?ld(e):{top:e,right:e,bottom:e,left:e}}function Le(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Rs(e,t,r){let{reference:n,floating:i}=e,a=Ao(t),s=Si(t),l=vi(s),c=Ye(t),d=a==="y",f=n.x+n.width/2-i.width/2,h=n.y+n.height/2-i.height/2,y=n[l]/2-i[l]/2,g;switch(c){case"top":g={x:f,y:n.y-i.height};break;case"bottom":g={x:f,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:h};break;case"left":g={x:n.x-i.width,y:h};break;default:g={x:n.x,y:n.y}}switch(ce(t)){case"start":g[s]-=y*(r&&d?-1:1);break;case"end":g[s]+=y*(r&&d?-1:1);break}return g}var Ns=async(e,t,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=r,l=a.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(t)),d=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:f,y:h}=Rs(d,n,c),y=n,g={},b=0;for(let E=0;E<l.length;E++){let{name:R,fn:N}=l[E],{x:P,y:O,data:v,reset:C}=await N({x:f,y:h,initialPlacement:n,placement:y,strategy:i,middlewareData:g,rects:d,platform:s,elements:{reference:e,floating:t}});if(f=P??f,h=O??h,g={...g,[R]:{...g[R],...v}},C&&b<=50){b++,typeof C=="object"&&(C.placement&&(y=C.placement),C.rects&&(d=C.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):C.rects),{x:f,y:h}=Rs(d,y,c)),E=-1;continue}}return{x:f,y:h,placement:y,strategy:i,middlewareData:g}};async function Oi(e,t){var r;t===void 0&&(t={});let{x:n,y:i,platform:a,rects:s,elements:l,strategy:c}=e,{boundary:d="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:y=!1,padding:g=0}=wo(t,e),b=As(g),R=l[y?h==="floating"?"reference":"floating":h],N=Le(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(R)))==null||r?R:R.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:d,rootBoundary:f,strategy:c})),P=h==="floating"?{...s.floating,x:n,y:i}:s.reference,O=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),v=await(a.isElement==null?void 0:a.isElement(O))?await(a.getScale==null?void 0:a.getScale(O))||{x:1,y:1}:{x:1,y:1},C=Le(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:P,offsetParent:O,strategy:c}):P);return{top:(N.top-C.top+b.top)/v.y,bottom:(C.bottom-N.bottom+b.bottom)/v.y,left:(N.left-C.left+b.left)/v.x,right:(C.right-N.right+b.right)/v.x}}function cd(e,t,r){return(e?[...r.filter(i=>ce(i)===e),...r.filter(i=>ce(i)!==e)]:r.filter(i=>Ye(i)===i)).filter(i=>e?ce(i)===e||(t?ws(i)!==i:!1):!0)}var Ei=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,n,i;let{rects:a,middlewareData:s,placement:l,platform:c,elements:d}=t,{crossAxis:f=!1,alignment:h,allowedPlacements:y=gi,autoAlignment:g=!0,...b}=wo(e,t),E=h!==void 0||y===gi?cd(h||null,g,y):y,R=await Oi(t,b),N=((r=s.autoPlacement)==null?void 0:r.index)||0,P=E[N];if(P==null)return{};let O=Cs(P,a,await(c.isRTL==null?void 0:c.isRTL(d.floating)));if(l!==P)return{reset:{placement:E[0]}};let v=[R[Ye(P)],R[O[0]],R[O[1]]],C=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:P,overflows:v}],$=E[N+1];if($)return{data:{index:N+1,overflows:C},reset:{placement:$}};let U=C.map(m=>{let x=ce(m.placement);return[m.placement,x&&f?m.overflows.slice(0,2).reduce((A,W)=>A+W,0):m.overflows[0],m.overflows]}).sort((m,x)=>m[1]-x[1]),z=((i=U.filter(m=>m[2].slice(0,ce(m[0])?2:3).every(x=>x<=0))[0])==null?void 0:i[0])||U[0][0];return z!==l?{data:{index:N+1,overflows:C},reset:{placement:z}}:{}}}};var Ci=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:n,placement:i}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:R=>{let{x:N,y:P}=R;return{x:N,y:P}}},...c}=wo(e,t),d={x:r,y:n},f=await Oi(t,c),h=Ao(Ye(i)),y=xi(h),g=d[y],b=d[h];if(a){let R=y==="y"?"top":"left",N=y==="y"?"bottom":"right",P=g+f[R],O=g-f[N];g=bi(P,g,O)}if(s){let R=h==="y"?"top":"left",N=h==="y"?"bottom":"right",P=b+f[R],O=b-f[N];b=bi(P,b,O)}let E=l.fn({...t,[y]:g,[h]:b});return{...E,data:{x:E.x-r,y:E.y-n}}}}};function te(e){return Ps(e)?(e.nodeName||"").toLowerCase():"#document"}function ht(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ee(e){var t;return(t=(Ps(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ps(e){return e instanceof Node||e instanceof ht(e).Node}function Bt(e){return e instanceof Element||e instanceof ht(e).Element}function It(e){return e instanceof HTMLElement||e instanceof ht(e).HTMLElement}function _s(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ht(e).ShadowRoot}function Xe(e){let{overflow:t,overflowX:r,overflowY:n,display:i}=St(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(i)}function Ts(e){return["table","td","th"].includes(te(e))}function No(e){let t=_o(),r=St(e);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function Ls(e){let t=Ie(e);for(;It(t)&&!Mr(t);){if(No(t))return t;t=Ie(t)}return null}function _o(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Mr(e){return["html","body","#document"].includes(te(e))}function St(e){return ht(e).getComputedStyle(e)}function Dr(e){return Bt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ie(e){if(te(e)==="html")return e;let t=e.assignedSlot||e.parentNode||_s(e)&&e.host||ee(e);return _s(t)?t.host:t}function Is(e){let t=Ie(e);return Mr(t)?e.ownerDocument?e.ownerDocument.body:e.body:It(t)&&Xe(t)?t:Is(t)}function Ro(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);let i=Is(e),a=i===((n=e.ownerDocument)==null?void 0:n.body),s=ht(i);return a?t.concat(s,s.visualViewport||[],Xe(i)?i:[],s.frameElement&&r?Ro(s.frameElement):[]):t.concat(i,Ro(i,[],r))}function Ms(e){let t=St(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=It(e),a=i?e.offsetWidth:r,s=i?e.offsetHeight:n,l=kr(r)!==a||kr(n)!==s;return l&&(r=a,n=s),{width:r,height:n,$:l}}function Ds(e){return Bt(e)?e:e.contextElement}function Je(e){let t=Ds(e);if(!It(t))return Qt(1);let r=t.getBoundingClientRect(),{width:n,height:i,$:a}=Ms(t),s=(a?kr(r.width):r.width)/n,l=(a?kr(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var pd=Qt(0);function Us(e){let t=ht(e);return!_o()||!t.visualViewport?pd:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function dd(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==ht(e)?!1:t}function Ur(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);let i=e.getBoundingClientRect(),a=Ds(e),s=Qt(1);t&&(n?Bt(n)&&(s=Je(n)):s=Je(e));let l=dd(a,r,n)?Us(a):Qt(0),c=(i.left+l.x)/s.x,d=(i.top+l.y)/s.y,f=i.width/s.x,h=i.height/s.y;if(a){let y=ht(a),g=n&&Bt(n)?ht(n):n,b=y.frameElement;for(;b&&n&&g!==y;){let E=Je(b),R=b.getBoundingClientRect(),N=St(b),P=R.left+(b.clientLeft+parseFloat(N.paddingLeft))*E.x,O=R.top+(b.clientTop+parseFloat(N.paddingTop))*E.y;c*=E.x,d*=E.y,f*=E.x,h*=E.y,c+=P,d+=O,b=ht(b).frameElement}}return Le({width:f,height:h,x:c,y:d})}function fd(e){let{rect:t,offsetParent:r,strategy:n}=e,i=It(r),a=ee(r);if(r===a)return t;let s={scrollLeft:0,scrollTop:0},l=Qt(1),c=Qt(0);if((i||!i&&n!=="fixed")&&((te(r)!=="body"||Xe(a))&&(s=Dr(r)),It(r))){let d=Ur(r);l=Je(r),c.x=d.x+r.clientLeft,c.y=d.y+r.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-s.scrollLeft*l.x+c.x,y:t.y*l.y-s.scrollTop*l.y+c.y}}function ud(e){return Array.from(e.getClientRects())}function Bs(e){return Ur(ee(e)).left+Dr(e).scrollLeft}function hd(e){let t=ee(e),r=Dr(e),n=e.ownerDocument.body,i=le(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=le(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+Bs(e),l=-r.scrollTop;return St(n).direction==="rtl"&&(s+=le(t.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:l}}function md(e,t){let r=ht(e),n=ee(e),i=r.visualViewport,a=n.clientWidth,s=n.clientHeight,l=0,c=0;if(i){a=i.width,s=i.height;let d=_o();(!d||d&&t==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:a,height:s,x:l,y:c}}function yd(e,t){let r=Ur(e,!0,t==="fixed"),n=r.top+e.clientTop,i=r.left+e.clientLeft,a=It(e)?Je(e):Qt(1),s=e.clientWidth*a.x,l=e.clientHeight*a.y,c=i*a.x,d=n*a.y;return{width:s,height:l,x:c,y:d}}function $s(e,t,r){let n;if(t==="viewport")n=md(e,r);else if(t==="document")n=hd(ee(e));else if(Bt(t))n=yd(t,r);else{let i=Us(e);n={...t,x:t.x-i.x,y:t.y-i.y}}return Le(n)}function Ws(e,t){let r=Ie(e);return r===t||!Bt(r)||Mr(r)?!1:St(r).position==="fixed"||Ws(r,t)}function gd(e,t){let r=t.get(e);if(r)return r;let n=Ro(e,[],!1).filter(l=>Bt(l)&&te(l)!=="body"),i=null,a=St(e).position==="fixed",s=a?Ie(e):e;for(;Bt(s)&&!Mr(s);){let l=St(s),c=No(s);!c&&l.position==="fixed"&&(i=null),(a?!c&&!i:!c&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Xe(s)&&!c&&Ws(e,s))?n=n.filter(f=>f!==s):i=l,s=Ie(s)}return t.set(e,n),n}function bd(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e,s=[...r==="clippingAncestors"?gd(t,this._c):[].concat(r),n],l=s[0],c=s.reduce((d,f)=>{let h=$s(t,f,i);return d.top=le(h.top,d.top),d.right=$r(h.right,d.right),d.bottom=$r(h.bottom,d.bottom),d.left=le(h.left,d.left),d},$s(t,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function xd(e){return Ms(e)}function vd(e,t,r){let n=It(t),i=ee(t),a=r==="fixed",s=Ur(e,!0,a,t),l={scrollLeft:0,scrollTop:0},c=Qt(0);if(n||!n&&!a)if((te(t)!=="body"||Xe(i))&&(l=Dr(t)),n){let d=Ur(t,!0,a,t);c.x=d.x+t.clientLeft,c.y=d.y+t.clientTop}else i&&(c.x=Bs(i));return{x:s.left+l.scrollLeft-c.x,y:s.top+l.scrollTop-c.y,width:s.width,height:s.height}}function ks(e,t){return!It(e)||St(e).position==="fixed"?null:t?t(e):e.offsetParent}function Fs(e,t){let r=ht(e);if(!It(e))return r;let n=ks(e,t);for(;n&&Ts(n)&&St(n).position==="static";)n=ks(n,t);return n&&(te(n)==="html"||te(n)==="body"&&St(n).position==="static"&&!No(n))?r:n||Ls(e)||r}var Sd=async function(e){let{reference:t,floating:r,strategy:n}=e,i=this.getOffsetParent||Fs,a=this.getDimensions;return{reference:vd(t,await i(r),n),floating:{x:0,y:0,...await a(r)}}};function Od(e){return St(e).direction==="rtl"}var Po={convertOffsetParentRelativeRectToViewportRelativeRect:fd,getDocumentElement:ee,getClippingRect:bd,getOffsetParent:Fs,getElementRects:Sd,getClientRects:ud,getDimensions:xd,getScale:Je,isElement:Bt,isRTL:Od};var zs=(e,t,r)=>{let n=new Map,i={platform:Po,...r},a={...i.platform,_c:n};return Ns(e,t,{...i,platform:a})};function Hs(e){return Ed(e)}function wi(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Ed(e){for(let t=e;t;t=wi(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=wi(e);t;t=wi(t)){if(!(t instanceof Element))continue;let r=getComputedStyle(t);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||t.tagName==="BODY"))return t}return null}async function Br(e,t,r){return zs(e,t,{platform:{...Po,getOffsetParent:n=>Po.getOffsetParent(n,Hs)},middleware:[Ci({crossAxis:!0}),Ei({allowedPlacements:[r]})]})}var Ni={};Z(Ni,{FtLitElement:()=>F});var Ri={};Z(Ri,{ScopedRegistryLitElement:()=>Wr});var To=window,Cd=To.ShadowRoot&&(To.ShadyCSS===void 0||To.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Jy=Symbol();var js=(e,t)=>{Cd?e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):t.forEach(r=>{let n=document.createElement("style"),i=To.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)})};var Wr=class extends Yt{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([i,a])=>t.registry.define(i,a)));let r={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return js(n,t.elementStyles),n}};var Lo=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Gs,Vs=Symbol("constructorPrototype"),Ks=Symbol("constructorName"),Zs=Symbol("exportpartsDebouncer"),F=class extends Wr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Gs]=new vt(5),this[Ks]=this.constructor.name,this[Vs]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ks]&&Object.setPrototypeOf(this,this[Vs])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}this.importDynamicDependencies()}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}applyCustomStylesheet(t){var r,n,i;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var t,r,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[Zs].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(t){var r,n,i,a,s,l;let c=y=>y!=null&&y.trim().length>0,d=t.filter(c).map(y=>y.trim());if(d.length===0){this.removeAttribute("exportparts");return}let f=new Set;for(let y of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let g=(a=(i=y.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],b=(l=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(E=>E.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...g,...b).filter(c).map(E=>E.trim()).forEach(E=>f.add(E))}if(f.size===0){this.removeAttribute("exportparts");return}let h=[...f.values()].flatMap(y=>d.map(g=>`${y}:${g}--${y}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};Gs=Zs;Lo([S()],F.prototype,"exportpartsPrefix",void 0);Lo([At([])],F.prototype,"exportpartsPrefixes",void 0);Lo([S()],F.prototype,"customStylesheet",void 0);Lo([J()],F.prototype,"useAdoptedStyleSheets",void 0);var qs={};var Li={};Z(Li,{highlightHtml:()=>Ti,highlightHtmlColorCssVariable:()=>Ys,highlightHtmlStyles:()=>Ad});var $e=class e{constructor(t,r=!0,n=[],i=5e3){this.ctx=t,this.iframes=r,this.exclude=n,this.iframesTimeout=i}static matches(t,r){let n=typeof r=="string"?[r]:r,i=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(t,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let t,r=[];return typeof this.ctx>"u"||!this.ctx?t=[]:NodeList.prototype.isPrototypeOf(this.ctx)?t=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?t=this.ctx:typeof this.ctx=="string"?t=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):t=[this.ctx],t.forEach(n=>{let i=r.filter(a=>a.contains(n)).length>0;r.indexOf(n)===-1&&!i&&r.push(n)}),r}getIframeContents(t,r,n=()=>{}){let i;try{let a=t.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&r(i)}isIframeBlank(t){let r="about:blank",n=t.getAttribute("src").trim();return t.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(t,r,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(t)||(t.removeEventListener("load",s),this.getIframeContents(t,r,n))}catch{n()}}};t.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(t,r,n){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,r,n):this.getIframeContents(t,r,n):this.observeIframeLoad(t,r,n)}catch{n()}}waitForIframes(t,r){let n=0;this.forEachIframe(t,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||r()})},i=>{i||r()})}forEachIframe(t,r,n,i=()=>{}){let a=t.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let c=()=>{--s<=0&&i(l)};s||c(),a.forEach(d=>{e.matches(d,this.exclude)?c():this.onIframeReady(d,f=>{r(d)&&(l++,n(f)),c()},c)})}createIterator(t,r,n){return document.createNodeIterator(t,r,n,!1)}createInstanceOnIframe(t){return new e(t.querySelector("html"),this.iframes)}compareNodeIframe(t,r,n){let i=t.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(r!==null){let s=r.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(t){let r=t.previousNode(),n;return r===null?n=t.nextNode():n=t.nextNode()&&t.nextNode(),{prevNode:r,node:n}}checkIframeFilter(t,r,n,i){let a=!1,s=!1;return i.forEach((l,c)=>{l.val===n&&(a=c,s=l.handled)}),this.compareNodeIframe(t,r,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(t,r,n,i){t.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,n,i)})})}iterateThroughNodes(t,r,n,i,a){let s=this.createIterator(r,t,i),l=[],c=[],d,f,h=()=>({prevNode:f,node:d}=this.getIteratorNode(s),d);for(;h();)this.iframes&&this.forEachIframe(r,y=>this.checkIframeFilter(d,f,y,l),y=>{this.createInstanceOnIframe(y).forEachNode(t,g=>c.push(g),i)}),c.push(d);c.forEach(y=>{n(y)}),this.iframes&&this.handleOpenIframes(l,t,n,i),a()}forEachNode(t,r,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(l=>{let c=()=>{this.iterateThroughNodes(t,l,r,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(l,c):c()})}};var Fr=class{constructor(t){this.ctx=t,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new $e(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return this.opt.wildcards!=="disabled"&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),this.opt.wildcards!=="disabled"&&(t=this.createWildcardsRegExp(t)),t=this.createAccuracyRegExp(t),t}createSynonymsRegExp(t){let r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let s=r[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&c!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(c)})`,`gm${n}`),i+`(${this.processSynomyms(l)}|${this.processSynomyms(c)})`+i))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return t=t.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),t.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(t){let r=this.opt.wildcards==="withSpaces";return t.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,(r,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?r:r+"\0"})}createJoinersRegExp(t){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?t.split(/\u0000+/).join(`[${r.join("")}]*`):t}createDiacriticsRegExp(t){let r=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return t.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;t=t.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),i.push(s)}return!0})}),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(t){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),i){case"partially":default:return`()(${t})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${t}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${t})(?=$|\\s${s})`}}getSeparatedKeywords(t){let r=[];return t.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&r.indexOf(i)===-1&&r.push(i)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,i)=>i.length-n.length),length:r.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||Object.prototype.toString.call(t[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];let r=[],n=0;return t.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(i,n);l&&(i.start=a,i.length=s-a,r.push(i),n=s)}),r}callNoMatchOnInvalidRanges(t,r){let n,i,a=!1;return t&&typeof t.start<"u"?(n=parseInt(t.start,10),i=n+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&i-r>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:n,end:i,valid:a}}checkWhitespaceRanges(t,r,n){let i,a=!0,s=n.length,l=r-s,c=parseInt(t.start,10)-l;return c=c>s?s:c,i=c+parseInt(t.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),c<0||i-c<0||c>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):n.substring(c,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:c,end:i,valid:a}}getTextNodes(t){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:r.length,end:(r+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{t({value:r,nodes:n})})}matchesExclude(t){return $e.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,r,n){let i=this.opt.element?this.opt.element:"mark",a=t.splitText(r),s=a.splitText(n-r),l=document.createElement(i);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(t,r,n,i,a){t.nodes.every((s,l)=>{let c=t.nodes[l+1];if(typeof c>"u"||c.start>r){if(!i(s.node))return!1;let d=r-s.start,f=(n>s.end?s.end:n)-s.start,h=t.value.substr(0,s.start),y=t.value.substr(f+s.start);if(s.node=this.wrapRangeInTextNode(s.node,d,f),t.value=h+y,t.nodes.forEach((g,b)=>{b>=l&&(t.nodes[b].start>0&&b!==l&&(t.nodes[b].start-=f),t.nodes[b].end-=f)}),n-=f,a(s.node.previousSibling,s.start),n>s.end)r=s.end;else return!1}return!0})}wrapMatches(t,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(c=>{c=c.node;let d;for(;(d=t.exec(c.textContent))!==null&&d[s]!=="";){if(!n(d[s],c))continue;let f=d.index;if(s!==0)for(let h=1;h<s;h++)f+=d[h].length;c=this.wrapRangeInTextNode(c,f,f+d[s].length),i(c.previousSibling),t.lastIndex=0}}),a()})}wrapMatchesAcrossElements(t,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(l=>{let c;for(;(c=t.exec(l.value))!==null&&c[s]!=="";){let d=c.index;if(s!==0)for(let h=1;h<s;h++)d+=c[h].length;let f=d+c[s].length;this.wrapRangeInMappedTextNode(l,d,f,h=>n(c[s],h),(h,y)=>{t.lastIndex=y,i(h)})}a()})}wrapRangeFromIndex(t,r,n,i){this.getTextNodes(a=>{let s=a.value.length;t.forEach((l,c)=>{let{start:d,end:f,valid:h}=this.checkWhitespaceRanges(l,s,a.value);h&&this.wrapRangeInMappedTextNode(a,d,f,y=>r(y,l,a.value.substring(d,f),c),y=>{n(y,l)})}),i()})}unwrapMatches(t){let r=t.parentNode,n=document.createDocumentFragment();for(;t.firstChild;)n.appendChild(t.removeChild(t.firstChild));r.replaceChild(n,t),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(t){if(t){if(t.nodeType===3)for(;t.nextSibling&&t.nextSibling.nodeType===3;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,r){this.opt=r,this.log(`Searching with expression "${t}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](t,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),a,()=>{n===0&&this.opt.noMatch(t),this.opt.done(n)})}mark(t,r){this.opt=r;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof t=="string"?[t]:t),l=this.opt.caseSensitive?"":"i",c=d=>{let f=new RegExp(this.createRegExp(d),`gm${l}`),h=0;this.log(`Searching with expression "${f}"`),this[i](f,1,(y,g)=>this.opt.filter(g,d,n,h),y=>{h++,n++,this.opt.each(y)},()=>{h===0&&this.opt.noMatch(d),a[s-1]===d?this.opt.done(n):c(a[a.indexOf(d)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):c(a[0])}markRanges(t,r){this.opt=r;let n=0,i=this.checkRanges(t);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,l,c)=>this.opt.filter(a,s,l,c),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(t){this.opt=t;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=$e.matches(n,r),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function _i(e){let t=new Fr(e);return this.mark=(r,n)=>(t.mark(r,n),this),this.markRegExp=(r,n)=>(t.markRegExp(r,n),this),this.markRanges=(r,n)=>(t.markRanges(r,n),this),this.unmark=r=>(t.unmark(r),this),this}var wd=_i,Ys=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Ad=T`
|
|
1
|
+
"use strict";(()=>{var Xc=Object.create;var un=Object.defineProperty;var Jc=Object.getOwnPropertyDescriptor;var Qc=Object.getOwnPropertyNames;var tp=Object.getPrototypeOf,ep=Object.prototype.hasOwnProperty;var rp=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),q=(e,t)=>{for(var r in t)un(e,r,{get:t[r],enumerable:!0})},op=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Qc(t))!ep.call(e,i)&&i!==r&&un(e,i,{get:()=>t[i],enumerable:!(n=Jc(t,i))||n.enumerable});return e};var np=(e,t,r)=>(r=e!=null?Xc(tp(e)):{},op(t||!e||!e.__esModule?un(r,"default",{value:e,enumerable:!0}):r,e));var Rc=rp(Ac=>{(function(e){var t=function(r){var n={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};function i(m){return m&&DataView.prototype.isPrototypeOf(m)}if(n.arrayBuffer)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=ArrayBuffer.isView||function(m){return m&&a.indexOf(Object.prototype.toString.call(m))>-1};function l(m){if(typeof m!="string"&&(m=String(m)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(m))throw new TypeError("Invalid character in header field name");return m.toLowerCase()}function c(m){return typeof m!="string"&&(m=String(m)),m}function d(m){var v={next:function(){var R=m.shift();return{done:R===void 0,value:R}}};return n.iterable&&(v[Symbol.iterator]=function(){return v}),v}function f(m){this.map={},m instanceof f?m.forEach(function(v,R){this.append(R,v)},this):Array.isArray(m)?m.forEach(function(v){this.append(v[0],v[1])},this):m&&Object.getOwnPropertyNames(m).forEach(function(v){this.append(v,m[v])},this)}f.prototype.append=function(m,v){m=l(m),v=c(v);var R=this.map[m];this.map[m]=R?R+", "+v:v},f.prototype.delete=function(m){delete this.map[l(m)]},f.prototype.get=function(m){return m=l(m),this.has(m)?this.map[m]:null},f.prototype.has=function(m){return this.map.hasOwnProperty(l(m))},f.prototype.set=function(m,v){this.map[l(m)]=c(v)},f.prototype.forEach=function(m,v){for(var R in this.map)this.map.hasOwnProperty(R)&&m.call(v,this.map[R],R,this)},f.prototype.keys=function(){var m=[];return this.forEach(function(v,R){m.push(R)}),d(m)},f.prototype.values=function(){var m=[];return this.forEach(function(v){m.push(v)}),d(m)},f.prototype.entries=function(){var m=[];return this.forEach(function(v,R){m.push([R,v])}),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(v,R){m.onload=function(){v(m.result)},m.onerror=function(){R(m.error)}})}function g(m){var v=new FileReader,R=y(v);return v.readAsArrayBuffer(m),R}function b(m){var v=new FileReader,R=y(v);return v.readAsText(m),R}function C(m){for(var v=new Uint8Array(m),R=new Array(v.length),z=0;z<v.length;z++)R[z]=String.fromCharCode(v[z]);return R.join("")}function N(m){if(m.slice)return m.slice(0);var v=new Uint8Array(m.byteLength);return v.set(new Uint8Array(m)),v.buffer}function _(){return this.bodyUsed=!1,this._initBody=function(m){this._bodyInit=m,m?typeof m=="string"?this._bodyText=m: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(C(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 O(m){var v=m.toUpperCase();return P.indexOf(v)>-1?v:m}function S(m,v){v=v||{};var R=v.body;if(m instanceof S){if(m.bodyUsed)throw new TypeError("Already read");this.url=m.url,this.credentials=m.credentials,v.headers||(this.headers=new 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=v.credentials||this.credentials||"same-origin",(v.headers||!this.headers)&&(this.headers=new f(v.headers)),this.method=O(v.method||this.method||"GET"),this.mode=v.mode||this.mode||null,this.signal=v.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&R)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(R)}S.prototype.clone=function(){return new S(this,{body:this._bodyInit})};function E(m){var v=new FormData;return m.trim().split("&").forEach(function(R){if(R){var z=R.split("="),et=z.shift().replace(/\+/g," "),V=z.join("=").replace(/\+/g," ");v.append(decodeURIComponent(et),decodeURIComponent(V))}}),v}function k(m){var v=new f,R=m.replace(/\r?\n[\t ]+/g," ");return R.split(/\r?\n/).forEach(function(z){var et=z.split(":"),V=et.shift().trim();if(V){var no=et.join(":").trim();v.append(V,no)}}),v}_.call(S.prototype);function U(m,v){v||(v={}),this.type="default",this.status=v.status===void 0?200:v.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in v?v.statusText:"OK",this.headers=new f(v.headers),this.url=v.url||"",this._initBody(m)}_.call(U.prototype),U.prototype.clone=function(){return new U(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},U.error=function(){var m=new U(null,{status:0,statusText:""});return m.type="error",m};var ut=[301,302,303,307,308];U.redirect=function(m,v){if(ut.indexOf(v)===-1)throw new RangeError("Invalid status code");return new U(null,{status:v,headers:{location:m}})},r.DOMException=e.DOMException;try{new r.DOMException}catch{r.DOMException=function(v,R){this.message=v,this.name=R;var z=Error(v);this.stack=z.stack},r.DOMException.prototype=Object.create(Error.prototype),r.DOMException.prototype.constructor=r.DOMException}function j(m,v){return new Promise(function(R,z){var et=new S(m,v);if(et.signal&&et.signal.aborted)return z(new r.DOMException("Aborted","AbortError"));var V=new XMLHttpRequest;function no(){V.abort()}V.onload=function(){var Sr={status:V.status,statusText:V.statusText,headers:k(V.getAllResponseHeaders()||"")};Sr.url="responseURL"in V?V.responseURL:Sr.headers.get("X-Request-URL");var fn="response"in V?V.response:V.responseText;R(new U(fn,Sr))},V.onerror=function(){z(new TypeError("Network request failed"))},V.ontimeout=function(){z(new TypeError("Network request failed"))},V.onabort=function(){z(new r.DOMException("Aborted","AbortError"))},V.open(et.method,et.url,!0),et.credentials==="include"?V.withCredentials=!0:et.credentials==="omit"&&(V.withCredentials=!1),"responseType"in V&&n.blob&&(V.responseType="blob"),et.headers.forEach(function(Sr,fn){V.setRequestHeader(fn,Sr)}),et.signal&&(et.signal.addEventListener("abort",no),V.onreadystatechange=function(){V.readyState===4&&et.signal.removeEventListener("abort",no)}),V.send(typeof et._bodyInit>"u"?null:et._bodyInit)})}return j.polyfill=!0,e.fetch||(e.fetch=j,e.Headers=f,e.Request=S,e.Response=U),r.Headers=f,r.Request=S,r.Response=U,r.fetch=j,Object.defineProperty(r,"__esModule",{value:!0}),r}({})})(typeof self<"u"?self:Ac)});if(!ShadowRoot.prototype.createElement){let e=window.HTMLElement,t=window.customElements.define,r=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(O,S){if(O=O.toLowerCase(),this._getDefinition(O)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${O}" has already been used with this registry`);if(this._definitionsByClass.get(S)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let E=S.prototype.attributeChangedCallback,k=new Set(S.observedAttributes||[]);y(S,k,E);let U={elementClass:S,connectedCallback:S.prototype.connectedCallback,disconnectedCallback:S.prototype.disconnectedCallback,adoptedCallback:S.prototype.adoptedCallback,attributeChangedCallback:E,formAssociated:S.formAssociated,formAssociatedCallback:S.prototype.formAssociatedCallback,formDisabledCallback:S.prototype.formDisabledCallback,formResetCallback:S.prototype.formResetCallback,formStateRestoreCallback:S.prototype.formStateRestoreCallback,observedAttributes:k};this._definitionsByTag.set(O,U),this._definitionsByClass.set(S,U);let ut=r.call(n,O);ut||(ut=h(O),t.call(n,O,ut)),this===window.customElements&&(s.set(S,U),U.standInClass=ut);let j=this._awaitingUpgrade.get(O);if(j){this._awaitingUpgrade.delete(O);for(let v of j)a.delete(v),b(v,U,!0)}let m=this._whenDefinedPromises.get(O);return m!==void 0&&(m.resolve(S),this._whenDefinedPromises.delete(O)),S}upgrade(){N.push(this),n.upgrade.apply(n,arguments),N.pop()}get(O){return this._definitionsByTag.get(O)?.elementClass}_getDefinition(O){return this._definitionsByTag.get(O)}whenDefined(O){let S=this._getDefinition(O);if(S!==void 0)return Promise.resolve(S.elementClass);let E=this._whenDefinedPromises.get(O);return E===void 0&&(E={},E.promise=new Promise(k=>E.resolve=k),this._whenDefinedPromises.set(O,E)),E.promise}_upgradeWhenDefined(O,S,E){let k=this._awaitingUpgrade.get(S);k||this._awaitingUpgrade.set(S,k=new Set),E?k.add(O):k.delete(O)}};let c;window.HTMLElement=function(){let S=c;if(S)return c=void 0,S;let E=s.get(this.constructor);if(!E)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return S=Reflect.construct(e,[],E.standInClass),Object.setPrototypeOf(S,this.constructor.prototype),i.set(S,E),S},window.HTMLElement.prototype=e.prototype;let d=O=>O===document||O instanceof ShadowRoot,f=O=>{let S=O.getRootNode();if(!d(S)){let E=N[N.length-1];if(E instanceof CustomElementRegistry)return E;S=E.getRootNode(),d(S)||(S=l.get(S)?.getRootNode()||document)}return S.customElements},h=O=>class{static get formAssociated(){return!0}constructor(){let E=Reflect.construct(e,[],this.constructor);Object.setPrototypeOf(E,HTMLElement.prototype);let k=f(E)||window.customElements,U=k._getDefinition(O);return U?b(E,U):a.set(E,k),E}connectedCallback(){let E=i.get(this);E?E.connectedCallback&&E.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,O,!0)}disconnectedCallback(){let E=i.get(this);E?E.disconnectedCallback&&E.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,O,!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=(O,S,E)=>{if(S.size===0||E===void 0)return;let k=O.prototype.setAttribute;k&&(O.prototype.setAttribute=function(j,m){let v=j.toLowerCase();if(S.has(v)){let R=this.getAttribute(v);k.call(this,v,m),E.call(this,v,R,m)}else k.call(this,v,m)});let U=O.prototype.removeAttribute;U&&(O.prototype.removeAttribute=function(j){let m=j.toLowerCase();if(S.has(m)){let v=this.getAttribute(m);U.call(this,m),E.call(this,m,v,null)}else U.call(this,m)});let ut=O.prototype.toggleAttribute;ut&&(O.prototype.toggleAttribute=function(j,m){let v=j.toLowerCase();if(S.has(v)){let R=this.getAttribute(v);ut.call(this,v,m);let z=this.getAttribute(v);E.call(this,v,R,z)}else ut.call(this,v,m)})},g=O=>{let S=Object.getPrototypeOf(O);if(S!==window.HTMLElement)return S===e?Object.setPrototypeOf(O,window.HTMLElement):g(S)},b=(O,S,E=!1)=>{Object.setPrototypeOf(O,S.elementClass.prototype),i.set(O,S),c=O;try{new S.elementClass}catch{g(S.elementClass),new S.elementClass}S.attributeChangedCallback&&S.observedAttributes.forEach(k=>{O.hasAttribute(k)&&S.attributeChangedCallback.call(O,k,null,O.getAttribute(k))}),E&&S.connectedCallback&&O.isConnected&&S.connectedCallback.call(O)},C=Element.prototype.attachShadow;Element.prototype.attachShadow=function(O){let S=C.apply(this,arguments);return O.customElements&&(S.customElements=O.customElements),S};let N=[document],_=(O,S,E=void 0)=>{let k=(E?Object.getPrototypeOf(E):O.prototype)[S];O.prototype[S]=function(){N.push(this);let U=k.apply(E||this,arguments);return U!==void 0&&l.set(U,this),N.pop(),U}};_(ShadowRoot,"createElement",document),_(ShadowRoot,"importNode",document),_(Element,"insertAdjacentHTML");let P=(O,S)=>{let E=Object.getOwnPropertyDescriptor(O.prototype,S);Object.defineProperty(O.prototype,S,{...E,set(k){N.push(this),E.set.call(this,k),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 O=new WeakMap,S=HTMLElement.prototype.attachInternals,E=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...j){let m=S.call(this,...j);return O.set(m,this),m},E.forEach(j=>{let m=window.ElementInternals.prototype,v=m[j];m[j]=function(...R){let z=O.get(this);if(i.get(z).formAssociated===!0)return v?.call(this,...R);throw new DOMException(`Failed to execute ${v} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class k extends Array{constructor(m){super(...m),this._elements=m}get value(){return this._elements.find(m=>m.checked===!0)?.value||""}}class U{constructor(m){let v=new Map;m.forEach((R,z)=>{let et=R.getAttribute("name"),V=v.get(et)||[];this[+z]=R,V.push(R),v.set(et,V)}),this.length=m.length,v.forEach((R,z)=>{R&&(R.length===1?this[z]=R[0]:this[z]=new k(R))})}namedItem(m){return this[m]}}let ut=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let j=ut.get.call(this,[]),m=[];for(let v of j){let R=i.get(v);(!R||R.formAssociated===!0)&&m.push(v)}return new U(m)}})}}try{window.customElements.define("custom-element",null)}catch{let t=window.customElements.define;window.customElements.define=(r,n,i)=>{if(n!==null)try{t.bind(window.customElements)(r,n,i)}catch(a){console.info(r,n,i,a)}}}var An={};q(An,{CSSResult:()=>Ze,LitElement:()=>ee,ReactiveElement:()=>zt,_$LE:()=>Np,_$LH:()=>wp,adoptStyles:()=>vo,css:()=>T,defaultConverter:()=>So,getCompatibleStyle:()=>_r,html:()=>L,isServer:()=>tu,noChange:()=>ce,notEqual:()=>vn,nothing:()=>H,render:()=>wn,supportsAdoptingStyleSheets:()=>Nr,svg:()=>Ep,unsafeCSS:()=>Qt});var io=globalThis,so=io.ShadowRoot&&(io.ShadyCSS===void 0||io.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Fa=Symbol(),Ba=new WeakMap,ao=class{constructor(t,r,n){if(this._$cssResult$=!0,n!==Fa)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(so&&t===void 0){let n=r!==void 0&&r.length===1;n&&(t=Ba.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Ba.set(r,t))}return t}toString(){return this.cssText}},Wa=e=>new ao(typeof e=="string"?e:e+"",void 0,Fa);var hn=(e,t)=>{if(so)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let n=document.createElement("style"),i=io.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)}},lo=so?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return Wa(r)})(e):e;var{is:ip,defineProperty:ap,getOwnPropertyDescriptor:sp,getOwnPropertyNames:lp,getOwnPropertySymbols:cp,getPrototypeOf:pp}=Object,co=globalThis,za=co.trustedTypes,dp=za?za.emptyScript:"",fp=co.reactiveElementPolyfillSupport,Or=(e,t)=>e,Cr={toAttribute(e,t){switch(t){case Boolean:e=e?dp:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},po=(e,t)=>!ip(e,t),Ha={attribute:!0,type:String,converter:Cr,reflect:!1,hasChanged:po};Symbol.metadata??=Symbol("metadata"),co.litPropertyMetadata??=new WeakMap;var Ae=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,r=Ha){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(t,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,r);i!==void 0&&ap(this.prototype,t,i)}}static getPropertyDescriptor(t,r,n){let{get:i,set:a}=sp(this.prototype,t)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let l=i?.call(this);a.call(this,s),this.requestUpdate(t,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Ha}static _$Ei(){if(this.hasOwnProperty(Or("elementProperties")))return;let t=pp(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Or("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Or("properties"))){let r=this.properties,n=[...lp(r),...cp(r)];for(let i of n)this.createProperty(i,r[i])}let t=this[Symbol.metadata];if(t!==null){let r=litPropertyMetadata.get(t);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let r=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)r.unshift(lo(i))}else t!==void 0&&r.push(lo(t));return r}static _$Eu(t,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$E_??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){let t=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return hn(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,r,n){this._$AK(t,n)}_$EO(t,r){let n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:Cr).toAttribute(r,n.type);this._$Em=t,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(t,r){let n=this.constructor,i=n._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Cr;this._$Em=i,this[i]=s.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(t,r,n,i=!1,a){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??po)(i?a:this[t],r))return;this.C(t,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,r,n){this._$AL.has(t)||this._$AL.set(t,r),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let t=!1,r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(r)}willUpdate(t){}_$AE(t){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(t){}firstUpdated(t){}};Ae.elementStyles=[],Ae.shadowRootOptions={mode:"open"},Ae[Or("elementProperties")]=new Map,Ae[Or("finalized")]=new Map,fp?.({ReactiveElement:Ae}),(co.reactiveElementVersions??=[]).push("2.0.2");var yn=globalThis,fo=yn.trustedTypes,ja=fo?fo.createPolicy("lit-html",{createHTML:e=>e}):void 0,gn="$lit$",Jt=`lit$${(Math.random()+"").slice(9)}$`,bn="?"+Jt,up=`<${bn}>`,_e=document,uo=()=>_e.createComment(""),wr=e=>e===null||typeof e!="object"&&typeof e!="function",Ya=Array.isArray,Xa=e=>Ya(e)||typeof e?.[Symbol.iterator]=="function",mn=`[
|
|
2
|
+
\f\r]`,Er=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Va=/-->/g,Ka=/>/g,Re=RegExp(`>|${mn}(?:([^\\s"'>=/]+)(${mn}*=${mn}*(?:[^
|
|
3
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Ga=/'/g,Za=/"/g,Ja=/^(?:script|style|textarea|title)$/i,Qa=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),ts=Qa(1),es=Qa(2),Ot=Symbol.for("lit-noChange"),J=Symbol.for("lit-nothing"),qa=new WeakMap,Ne=_e.createTreeWalker(_e,129);function rs(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return ja!==void 0?ja.createHTML(t):t}var os=(e,t)=>{let r=e.length-1,n=[],i,a=t===2?"<svg>":"",s=Er;for(let l=0;l<r;l++){let c=e[l],d,f,h=-1,y=0;for(;y<c.length&&(s.lastIndex=y,f=s.exec(c),f!==null);)y=s.lastIndex,s===Er?f[1]==="!--"?s=Va:f[1]!==void 0?s=Ka:f[2]!==void 0?(Ja.test(f[2])&&(i=RegExp("</"+f[2],"g")),s=Re):f[3]!==void 0&&(s=Re):s===Re?f[0]===">"?(s=i??Er,h=-1):f[1]===void 0?h=-2:(h=s.lastIndex-f[2].length,d=f[1],s=f[3]===void 0?Re:f[3]==='"'?Za:Ga):s===Za||s===Ga?s=Re:s===Va||s===Ka?s=Er:(s=Re,i=void 0);let g=s===Re&&e[l+1].startsWith("/>")?" ":"";a+=s===Er?c+up:h>=0?(n.push(d),c.slice(0,h)+gn+c.slice(h)+Jt+g):c+Jt+(h===-2?l:g)}return[rs(e,a+(e[r]||"<?>")+(t===2?"</svg>":"")),n]},Ar=class e{constructor({strings:t,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,l=t.length-1,c=this.parts,[d,f]=os(t,r);if(this.el=e.createElement(d,n),Ne.currentNode=this.el.content,r===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=Ne.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(gn)){let y=f[s++],g=i.getAttribute(h).split(Jt),b=/([.?@])?(.*)/.exec(y);c.push({type:1,index:a,name:b[2],strings:g,ctor:b[1]==="."?mo:b[1]==="?"?yo:b[1]==="@"?go:Te}),i.removeAttribute(h)}else h.startsWith(Jt)&&(c.push({type:6,index:a}),i.removeAttribute(h));if(Ja.test(i.tagName)){let h=i.textContent.split(Jt),y=h.length-1;if(y>0){i.textContent=fo?fo.emptyScript:"";for(let g=0;g<y;g++)i.append(h[g],uo()),Ne.nextNode(),c.push({type:2,index:++a});i.append(h[y],uo())}}}else if(i.nodeType===8)if(i.data===bn)c.push({type:2,index:a});else{let h=-1;for(;(h=i.data.indexOf(Jt,h+1))!==-1;)c.push({type:7,index:a}),h+=Jt.length-1}a++}}static createElement(t,r){let n=_e.createElement("template");return n.innerHTML=t,n}};function Pe(e,t,r=e,n){if(t===Ot)return t;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=wr(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(t=Pe(e,i._$AS(e,t.values),i,n)),t}var ho=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:n}=this._$AD,i=(t?.creationScope??_e).importNode(r,!0);Ne.currentNode=i;let a=Ne.nextNode(),s=0,l=0,c=n[0];for(;c!==void 0;){if(s===c.index){let d;c.type===2?d=new Rr(a,a.nextSibling,this,t):c.type===1?d=new c.ctor(a,c.name,c.strings,this,t):c.type===6&&(d=new bo(a,this,t)),this._$AV.push(d),c=n[++l]}s!==c?.index&&(a=Ne.nextNode(),s++)}return Ne.currentNode=_e,i}p(t){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,r),r+=n.strings.length-2):n._$AI(t[r])),r++}},Rr=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,n,i){this.type=2,this._$AH=J,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=Pe(this,t,r),wr(t)?t===J||t==null||t===""?(this._$AH!==J&&this._$AR(),this._$AH=J):t!==this._$AH&&t!==Ot&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Xa(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==J&&wr(this._$AH)?this._$AA.nextSibling.data=t:this.$(_e.createTextNode(t)),this._$AH=t}g(t){let{values:r,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=Ar.createElement(rs(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new ho(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(t){let r=qa.get(t.strings);return r===void 0&&qa.set(t.strings,r=new Ar(t)),r}T(t){Ya(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of t)i===r.length?r.push(n=new e(this.k(uo()),this.k(uo()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Te=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,n,i,a){this.type=1,this._$AH=J,this._$AN=void 0,this.element=t,this.name=r,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=J}_$AI(t,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=Pe(this,t,r,0),s=!wr(t)||t!==this._$AH&&t!==Ot,s&&(this._$AH=t);else{let l=t,c,d;for(t=a[0],c=0;c<a.length-1;c++)d=Pe(this,l[n+c],r,c),d===Ot&&(d=this._$AH[c]),s||=!wr(d)||d!==this._$AH[c],d===J?t=J:t!==J&&(t+=(d??"")+a[c+1]),this._$AH[c]=d}s&&!i&&this.O(t)}O(t){t===J?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},mo=class extends Te{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===J?void 0:t}},yo=class extends Te{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==J)}},go=class extends Te{constructor(t,r,n,i,a){super(t,r,n,i,a),this.type=5}_$AI(t,r=this){if((t=Pe(this,t,r,0)??J)===Ot)return;let n=this._$AH,i=t===J&&n!==J||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==J&&(n===J||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},bo=class{constructor(t,r,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){Pe(this,t)}},ns={j:gn,P:Jt,A:bn,C:1,M:os,L:ho,R:Xa,V:Pe,D:Rr,I:Te,H:yo,N:go,U:mo,B:bo},hp=yn.litHtmlPolyfillSupport;hp?.(Ar,Rr),(yn.litHtmlVersions??=[]).push("3.1.0");var xo=globalThis,Nr=xo.ShadowRoot&&(xo.ShadyCSS===void 0||xo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,xn=Symbol(),is=new WeakMap,Ze=class{constructor(t,r,n){if(this._$cssResult$=!0,n!==xn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(Nr&&t===void 0){let n=r!==void 0&&r.length===1;n&&(t=is.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&is.set(r,t))}return t}toString(){return this.cssText}},Qt=e=>new Ze(typeof e=="string"?e:e+"",void 0,xn),T=(e,...t)=>{let r=e.length===1?e[0]:t.reduce((n,i,a)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+e[a+1],e[0]);return new Ze(r,e,xn)},vo=(e,t)=>{if(Nr)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let n=document.createElement("style"),i=xo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)}},_r=Nr?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return Qt(r)})(e):e;var{is:mp,defineProperty:yp,getOwnPropertyDescriptor:gp,getOwnPropertyNames:bp,getOwnPropertySymbols:xp,getPrototypeOf:vp}=Object,Oo=globalThis,as=Oo.trustedTypes,Sp=as?as.emptyScript:"",Op=Oo.reactiveElementPolyfillSupport,Pr=(e,t)=>e,So={toAttribute(e,t){switch(t){case Boolean:e=e?Sp:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},vn=(e,t)=>!mp(e,t),ss={attribute:!0,type:String,converter:So,reflect:!1,hasChanged:vn};Symbol.metadata??=Symbol("metadata"),Oo.litPropertyMetadata??=new WeakMap;var zt=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,r=ss){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(t,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,r);i!==void 0&&yp(this.prototype,t,i)}}static getPropertyDescriptor(t,r,n){let{get:i,set:a}=gp(this.prototype,t)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i?.call(this)},set(s){let l=i?.call(this);a.call(this,s),this.requestUpdate(t,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??ss}static _$Ei(){if(this.hasOwnProperty(Pr("elementProperties")))return;let t=vp(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Pr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Pr("properties"))){let r=this.properties,n=[...bp(r),...xp(r)];for(let i of n)this.createProperty(i,r[i])}let t=this[Symbol.metadata];if(t!==null){let r=litPropertyMetadata.get(t);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let r=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)r.unshift(_r(i))}else t!==void 0&&r.push(_r(t));return r}static _$Eu(t,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$E_??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$E_?.delete(t)}_$ES(){let t=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return vo(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$E_?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,r,n){this._$AK(t,n)}_$EO(t,r){let n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:So).toAttribute(r,n.type);this._$Em=t,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(t,r){let n=this.constructor,i=n._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:So;this._$Em=i,this[i]=s.fromAttribute(r,a.type),this._$Em=null}}requestUpdate(t,r,n,i=!1,a){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??vn)(i?a:this[t],r))return;this.C(t,r,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,r,n){this._$AL.has(t)||this._$AL.set(t,r),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(r){Promise.reject(r)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let t=!1,r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(r)}willUpdate(t){}_$AE(t){this._$E_?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(r=>this._$EO(r,this[r])),this._$ET()}updated(t){}firstUpdated(t){}};zt.elementStyles=[],zt.shadowRootOptions={mode:"open"},zt[Pr("elementProperties")]=new Map,zt[Pr("finalized")]=new Map,Op?.({ReactiveElement:zt}),(Oo.reactiveElementVersions??=[]).push("2.0.2");var On=globalThis,Co=On.trustedTypes,ls=Co?Co.createPolicy("lit-html",{createHTML:e=>e}):void 0,Cn="$lit$",te=`lit$${(Math.random()+"").slice(9)}$`,En="?"+te,Cp=`<${En}>`,Le=document,$r=()=>Le.createComment(""),Ir=e=>e===null||typeof e!="object"&&typeof e!="function",hs=Array.isArray,ms=e=>hs(e)||typeof e?.[Symbol.iterator]=="function",Sn=`[
|
|
4
|
+
\f\r]`,Tr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,cs=/-->/g,ps=/>/g,$e=RegExp(`>|${Sn}(?:([^\\s"'>=/]+)(${Sn}*=${Sn}*(?:[^
|
|
5
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),ds=/'/g,fs=/"/g,ys=/^(?:script|style|textarea|title)$/i,gs=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),L=gs(1),Ep=gs(2),ce=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),us=new WeakMap,Ie=Le.createTreeWalker(Le,129);function bs(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return ls!==void 0?ls.createHTML(t):t}var xs=(e,t)=>{let r=e.length-1,n=[],i,a=t===2?"<svg>":"",s=Tr;for(let l=0;l<r;l++){let c=e[l],d,f,h=-1,y=0;for(;y<c.length&&(s.lastIndex=y,f=s.exec(c),f!==null);)y=s.lastIndex,s===Tr?f[1]==="!--"?s=cs:f[1]!==void 0?s=ps:f[2]!==void 0?(ys.test(f[2])&&(i=RegExp("</"+f[2],"g")),s=$e):f[3]!==void 0&&(s=$e):s===$e?f[0]===">"?(s=i??Tr,h=-1):f[1]===void 0?h=-2:(h=s.lastIndex-f[2].length,d=f[1],s=f[3]===void 0?$e:f[3]==='"'?fs:ds):s===fs||s===ds?s=$e:s===cs||s===ps?s=Tr:(s=$e,i=void 0);let g=s===$e&&e[l+1].startsWith("/>")?" ":"";a+=s===Tr?c+Cp:h>=0?(n.push(d),c.slice(0,h)+Cn+c.slice(h)+te+g):c+te+(h===-2?l:g)}return[bs(e,a+(e[r]||"<?>")+(t===2?"</svg>":"")),n]},Lr=class e{constructor({strings:t,_$litType$:r},n){let i;this.parts=[];let a=0,s=0,l=t.length-1,c=this.parts,[d,f]=xs(t,r);if(this.el=e.createElement(d,n),Ie.currentNode=this.el.content,r===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=Ie.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(Cn)){let y=f[s++],g=i.getAttribute(h).split(te),b=/([.?@])?(.*)/.exec(y);c.push({type:1,index:a,name:b[2],strings:g,ctor:b[1]==="."?wo:b[1]==="?"?Ao:b[1]==="@"?Ro:Me}),i.removeAttribute(h)}else h.startsWith(te)&&(c.push({type:6,index:a}),i.removeAttribute(h));if(ys.test(i.tagName)){let h=i.textContent.split(te),y=h.length-1;if(y>0){i.textContent=Co?Co.emptyScript:"";for(let g=0;g<y;g++)i.append(h[g],$r()),Ie.nextNode(),c.push({type:2,index:++a});i.append(h[y],$r())}}}else if(i.nodeType===8)if(i.data===En)c.push({type:2,index:a});else{let h=-1;for(;(h=i.data.indexOf(te,h+1))!==-1;)c.push({type:7,index:a}),h+=te.length-1}a++}}static createElement(t,r){let n=Le.createElement("template");return n.innerHTML=t,n}};function ke(e,t,r=e,n){if(t===ce)return t;let i=n!==void 0?r._$Co?.[n]:r._$Cl,a=Ir(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(t=ke(e,i._$AS(e,t.values),i,n)),t}var Eo=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:n}=this._$AD,i=(t?.creationScope??Le).importNode(r,!0);Ie.currentNode=i;let a=Ie.nextNode(),s=0,l=0,c=n[0];for(;c!==void 0;){if(s===c.index){let d;c.type===2?d=new qe(a,a.nextSibling,this,t):c.type===1?d=new c.ctor(a,c.name,c.strings,this,t):c.type===6&&(d=new No(a,this,t)),this._$AV.push(d),c=n[++l]}s!==c?.index&&(a=Ie.nextNode(),s++)}return Ie.currentNode=Le,i}p(t){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,r),r+=n.strings.length-2):n._$AI(t[r])),r++}},qe=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,r,n,i){this.type=2,this._$AH=H,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=ke(this,t,r),Ir(t)?t===H||t==null||t===""?(this._$AH!==H&&this._$AR(),this._$AH=H):t!==this._$AH&&t!==ce&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):ms(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==H&&Ir(this._$AH)?this._$AA.nextSibling.data=t:this.$(Le.createTextNode(t)),this._$AH=t}g(t){let{values:r,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=Lr.createElement(bs(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let a=new Eo(i,this),s=a.u(this.options);a.p(r),this.$(s),this._$AH=a}}_$AC(t){let r=us.get(t.strings);return r===void 0&&us.set(t.strings,r=new Lr(t)),r}T(t){hs(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let a of t)i===r.length?r.push(n=new e(this.k($r()),this.k($r()),this,this.options)):n=r[i],n._$AI(a),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Me=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,n,i,a){this.type=1,this._$AH=H,this._$AN=void 0,this.element=t,this.name=r,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=H}_$AI(t,r=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=ke(this,t,r,0),s=!Ir(t)||t!==this._$AH&&t!==ce,s&&(this._$AH=t);else{let l=t,c,d;for(t=a[0],c=0;c<a.length-1;c++)d=ke(this,l[n+c],r,c),d===ce&&(d=this._$AH[c]),s||=!Ir(d)||d!==this._$AH[c],d===H?t=H:t!==H&&(t+=(d??"")+a[c+1]),this._$AH[c]=d}s&&!i&&this.O(t)}O(t){t===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},wo=class extends Me{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===H?void 0:t}},Ao=class extends Me{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==H)}},Ro=class extends Me{constructor(t,r,n,i,a){super(t,r,n,i,a),this.type=5}_$AI(t,r=this){if((t=ke(this,t,r,0)??H)===ce)return;let n=this._$AH,i=t===H&&n!==H||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==H&&(n===H||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},No=class{constructor(t,r,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){ke(this,t)}},wp={j:Cn,P:te,A:En,C:1,M:xs,L:Eo,R:ms,V:ke,D:qe,I:Me,H:Ao,N:Ro,U:wo,B:No},Ap=On.litHtmlPolyfillSupport;Ap?.(Lr,qe),(On.litHtmlVersions??=[]).push("3.1.0");var wn=(e,t,r)=>{let n=r?.renderBefore??t,i=n._$litPart$;if(i===void 0){let a=r?.renderBefore??null;n._$litPart$=i=new qe(t.insertBefore($r(),a),a,void 0,r??{})}return i._$AI(e),i};var ee=class extends zt{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=wn(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return ce}};ee._$litElement$=!0,ee.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ee});var Rp=globalThis.litElementPolyfillSupport;Rp?.({LitElement:ee});var Np={_$AK:(e,t,r)=>{e._$AK(t,r)},_$AL:e=>e._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var tu=!1;var _n={};q(_n,{customElement:()=>_p,eventOptions:()=>Ye,property:()=>x,query:()=>rt,queryAll:()=>$p,queryAssignedElements:()=>Rn,queryAssignedNodes:()=>Nn,queryAsync:()=>Ip,standardProperty:()=>vs,state:()=>Q});var _p=e=>(t,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var Pp={attribute:!0,type:String,converter:Cr,reflect:!1,hasChanged:po},vs=(e=Pp,t,r)=>{let{kind:n,metadata:i}=r,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(r.name,e),n==="accessor"){let{name:s}=r;return{set(l){let c=t.get.call(this);t.set.call(this,l),this.requestUpdate(s,c,e)},init(l){return l!==void 0&&this.C(s,void 0,e),l}}}if(n==="setter"){let{name:s}=r;return function(l){let c=this[s];t.call(this,l),this.requestUpdate(s,c,e)}}throw Error("Unsupported decorator location: "+n)};function x(e){return(t,r)=>typeof r=="object"?vs(e,t,r):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(e,t,r)}function Q(e){return x({...e,state:!0,attribute:!1})}function Ye(e){return(t,r)=>{let n=typeof t=="function"?t:t[r];Object.assign(n,e)}}var kt=(e,t,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,r),r);function rt(e,t){return(r,n,i)=>{let a=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:l}=typeof n=="object"?r:i??(()=>{let c=Symbol();return{get(){return this[c]},set(d){this[c]=d}}})();return kt(r,n,{get(){let c=s.call(this);return c===void 0&&(c=a(this),(c!==null||this.hasUpdated)&&l.call(this,c)),c}})}return kt(r,n,{get(){return a(this)}})}}var Tp;function $p(e){return(t,r)=>kt(t,r,{get(){return(this.renderRoot??(Tp??=document.createDocumentFragment())).querySelectorAll(e)}})}function Ip(e){return(t,r)=>kt(t,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function Rn(e){return(t,r)=>{let{slot:n,selector:i}=e??{},a="slot"+(n?`[name=${n}]`:":not([name])");return kt(t,r,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(e)??[];return i===void 0?l:l.filter(c=>c.matches(i))}})}}function Nn(e){return(t,r)=>{let{slot:n}=e??{},i="slot"+(n?`[name=${n}]`:":not([name])");return kt(t,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(e)??[]}})}}var Tn={};q(Tn,{repeat:()=>Pn});var pe={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},de=e=>(...t)=>({_$litDirective$:e,values:t}),Ht=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,r,n){this._$Ct=t,this._$AM=r,this._$Ci=n}_$AS(t,r){return this.update(t,r)}update(t,r){return this.render(...r)}};var{D:Lp}=ns;var Ss=()=>document.createComment(""),Xe=(e,t,r)=>{let n=e._$AA.parentNode,i=t===void 0?e._$AB:t._$AA;if(r===void 0){let a=n.insertBefore(Ss(),i),s=n.insertBefore(Ss(),i);r=new Lp(a,s,e,e.options)}else{let a=r._$AB.nextSibling,s=r._$AM,l=s!==e;if(l){let c;r._$AQ?.(e),r._$AM=e,r._$AP!==void 0&&(c=e._$AU)!==s._$AU&&r._$AP(c)}if(a!==i||l){let c=r._$AA;for(;c!==a;){let d=c.nextSibling;n.insertBefore(c,i),c=d}}}return r},fe=(e,t,r=e)=>(e._$AI(t,r),e),kp={},Os=(e,t=kp)=>e._$AH=t,Cs=e=>e._$AH,_o=e=>{e._$AP?.(!1,!0);let t=e._$AA,r=e._$AB.nextSibling;for(;t!==r;){let n=t.nextSibling;t.remove(),t=n}};var Es=(e,t,r)=>{let n=new Map;for(let i=t;i<=r;i++)n.set(e[i],i);return n},Pn=de(class extends Ht{constructor(e){if(super(e),e.type!==pe.CHILD)throw Error("repeat() can only be used in text expressions")}ht(e,t,r){let n;r===void 0?r=t:t!==void 0&&(n=t);let i=[],a=[],s=0;for(let l of e)i[s]=n?n(l,s):s,a[s]=r(l,s),s++;return{values:a,keys:i}}render(e,t,r){return this.ht(e,t,r).values}update(e,[t,r,n]){let i=Cs(e),{values:a,keys:s}=this.ht(t,r,n);if(!Array.isArray(i))return this.dt=s,a;let l=this.dt??=[],c=[],d,f,h=0,y=i.length-1,g=0,b=a.length-1;for(;h<=y&&g<=b;)if(i[h]===null)h++;else if(i[y]===null)y--;else if(l[h]===s[g])c[g]=fe(i[h],a[g]),h++,g++;else if(l[y]===s[b])c[b]=fe(i[y],a[b]),y--,b--;else if(l[h]===s[b])c[b]=fe(i[h],a[b]),Xe(e,c[b+1],i[h]),h++,b--;else if(l[y]===s[g])c[g]=fe(i[y],a[g]),Xe(e,i[h],i[y]),y--,g++;else if(d===void 0&&(d=Es(s,g,b),f=Es(l,h,y)),d.has(l[h]))if(d.has(l[y])){let C=f.get(s[g]),N=C!==void 0?i[C]:null;if(N===null){let _=Xe(e,i[h]);fe(_,a[g]),c[g]=_}else c[g]=fe(N,a[g]),Xe(e,i[h],N),i[C]=null;g++}else _o(i[y]),y--;else _o(i[h]),h++;for(;g<=b;){let C=Xe(e,c[b+1]);fe(C,a[g]),c[g++]=C}for(;h<=y;){let C=i[h++];C!==null&&_o(C)}return this.dt=s,Os(e,c),Ot}});var $n={};q($n,{classMap:()=>Mt});var Mt=de(class extends Ht{constructor(e){if(super(e),e.type!==pe.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.it===void 0){this.it=new Set,e.strings!==void 0&&(this.st=new Set(e.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in t)t[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(t)}let r=e.element.classList;for(let n of this.it)n in t||(r.remove(n),this.it.delete(n));for(let n in t){let i=!!t[n];i===this.it.has(n)||this.st?.has(n)||(i?(r.add(n),this.it.add(n)):(r.remove(n),this.it.delete(n)))}return Ot}});var In={};q(In,{styleMap:()=>Dp});var ws="important",Mp=" !"+ws,Dp=de(class extends Ht{constructor(e){if(super(e),e.type!==pe.ATTRIBUTE||e.name!=="style"||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,r)=>{let n=e[r];return n==null?t:t+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(e,[t]){let{style:r}=e.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(t)),this.render(t);for(let n of this.ut)t[n]==null&&(this.ut.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in t){let i=t[n];if(i!=null){this.ut.add(n);let a=typeof i=="string"&&i.endsWith(Mp);n.includes("-")||a?r.setProperty(n,a?i.slice(0,-11):i,a?ws:""):r[n]=i}}return Ot}});var kn={};q(kn,{UnsafeHTMLDirective:()=>Je,unsafeHTML:()=>Ln});var Je=class extends Ht{constructor(t){if(super(t),this.et=J,t.type!==pe.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===J||t==null)return this.vt=void 0,this.et=t;if(t===Ot)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;let r=[t];return r.raw=r,this.vt={_$litType$:this.constructor.resultType,strings:r,values:[]}}};Je.directiveName="unsafeHTML",Je.resultType=1;var Ln=de(Je);var Un={};q(Un,{CacheRegistry:()=>jt});var Dn={};q(Dn,{CancelablePromise:()=>Qe,CanceledPromiseError:()=>kr,cancelable:()=>Mn});var kr=class extends Error{constructor(t,r,n){super(t),this.canceledPromiseResult=r,this.canceledPromiseError=n}},Qe=class extends Promise{constructor(t){super((r,n)=>t(i=>{this.isCanceled?n(new kr("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new kr("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Mn=e=>new Qe((t,r)=>e.then(t).catch(r));var jt=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,r){this.loaders[t]=r,this.finalContent.delete(t)}registerFinal(t,r){this.loaders[t]=r,this.finalContent.add(t)}clearAll(){for(let t in this.content)this.clear(t)}clear(t){this.finalContent.has(t)||this.forceClear(t)}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof Qe&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){this.clearTimeouts[t]!=null&&(window.clearTimeout(this.clearTimeouts[t]),delete this.clearTimeouts[t])}set(t,r){this.forceClear(t),this.register(t,async()=>r),this.content[t]=r}setFinal(t,r){this.forceClear(t),this.registerFinal(t,async()=>r),this.content[t]=r}async get(t,r,n){if(this.content[t]===void 0){if(r=r??this.loaders[t],r==null)throw new Error("Unknown cache key "+t);let i=Mn(r());return this.content[t]=i,i.then(a=>(this.content[t]=a,n!=null&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout(()=>this.clear(t),n)),a))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return t!=null&&!(t instanceof Promise)&&!(t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return this.content[t]!=null}resolvedKeys(){return Object.keys(this.content).filter(t=>this.isResolvedValue(this.content[t]))}resolvedValues(){return Object.values(this.content).filter(t=>this.isResolvedValue(t))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var Bn={};q(Bn,{ClusteringHelper:()=>Mr});var Mr=class e{constructor(t,r,n,i){this.allResults=t,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(t,r){var n,i;let a=((i=(n=t?.map)!==null&&n!==void 0?n:t?.document)!==null&&i!==void 0?i:t?.topic).metadata;return r==null?e.flattenMetadata(a):e.flattenMetadata(a.find(s=>s.key===r))}static flattenMetadata(t){if(Array.isArray(t))return t.map(n=>e.flattenMetadata(n)).filter(n=>n!=null);let r=t?.hierarchicalValues!=null&&t.hierarchicalValues.length>0;if(!(t==null||t.values.length==0&&!r))if(r){let n=[],i=[];return t.hierarchicalValues.forEach(a=>{n.push(a.join(" > ")),a.length>2?i.push(`... > ${a[a.length-1]}`):i.push(a.join(" > "))}),{key:t.key,label:t.label,value:n.join(", "),displayValue:i.join(", ")}}else{let n=t.values.join(", ");return{key:t.key,label:t.label,value:n,displayValue:n}}}computeClustersItemsForMetadata(t,r,n="No value"){var i,a;let s=e.extractResultMetadata(this.selectedResult,t),l=(i=s?.label)!==null&&i!==void 0?i:(a=this.getMetadataDescriptor(t))===null||a===void 0?void 0:a.label;return this.allResults.map(d=>e.extractResultMetadata(d,t)).map(d=>d??{key:t,label:l,value:void 0,displayValue:n}).filter(d=>d.value!=s?.value).filter((d,f,h)=>h.findIndex(y=>y.value===d.value)===f).map(d=>({result:this.findBestResultForMetadataValue(t,d.value),metadata:d})).sort((d,f)=>this.compareMetadata(d.metadata.value,f.metadata.value,t,r))}compareMetadata(t,r,n,i){if(t==null)return-1;if(r==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let c=t.localeCompare(r,i,{numeric:!0});return l?c*-1:c}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(r=>t==r.key)}findBestResultForMetadataValue(t,r){let n=this.allResults.filter(c=>{var d;return((d=e.extractResultMetadata(c,t))===null||d===void 0?void 0:d.value)==r}),a=[...e.extractResultMetadata(this.selectedResult).filter(c=>this.clusteringMetadata.has(c.key)).filter(c=>c.key!==t)],s,l=-1;for(let c of n){let d=this.countMatchingMetadata(c,a);if(d>l&&(l=d,s=c,d===a.length))break}return s}countMatchingMetadata(t,r){return e.extractResultMetadata(t).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}};var Fn={};q(Fn,{Debouncer:()=>Ct});var Ct=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,r){return this.callbacks=[t],this.debounce(r)}queue(t,r){return this.callbacks.push(t),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,r;let n=[...this.callbacks];this.callbacks=[];let i=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,a=(r=this.resolvePromise)!==null&&r!==void 0?r:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){i(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Hn={};q(Hn,{customElement:()=>K,isNumber:()=>_s,jsonProperty:()=>Pt,optionalNumberProperty:()=>Hp});var zn={};q(zn,{dateReviver:()=>Bp,deepEqual:()=>Dt,delay:()=>Po,eventPathContainsMatchingElement:()=>Wn,flatDeep:()=>Rs,hasChanged:()=>Dr,last:()=>zp,minmax:()=>Wp,parseDate:()=>Ns,waitFor:()=>As,waitUntil:()=>Up});var Po=e=>new Promise(t=>setTimeout(t,e));async function Up(e,t=10,r=2e4){await As(async()=>await e()||void 0,t,r)}async function As(e,t=10,r=2e4){let n=await e(),i,a;for(i=a=performance.now();n==null&&(!r||a-i<r);)await Po(t),n=await e(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Rs(e,t){return e.flatMap(r=>[r,...Rs(t(r),t)])}function Bp(...e){return function(t,r){return e.includes(t)?Ns(r):r}}function Ns(e){return e.match(/^\d{4}-\d{2}-\d{2}$/)&&(e=e.replace(/-/g,"/")),e=e.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(t,r,n,i)=>r+n+":"+i),new Date(e)}function Fp(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var r,n,i;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!Dt(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!Dt(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(i=Object.keys(e),r=i.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;for(n=r;n--!==0;){var a=i[n];if(!Dt(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function Dt(e,t){try{return Fp(e,t)}catch{return!1}}function Dr(e,t){return!Dt(e,t)}function Wn(e,t,r=window.document.body){if(t.length>0){let n=e.composedPath();for(let i of n){if(i===r)return!1;if(i.matches&&t.some(a=>i.matches(a)))return!0}}return!1}function Wp(e,t,r){return Math.min(Math.max(e,t),r)}function zp(e){return e[e.length-1]}var K=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function Pt(e,t){let r=()=>JSON.parse(JSON.stringify(e));return x({type:Object,converter:{fromAttribute:n=>{if(n==null)return r();try{return JSON.parse(n)}catch{return r()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Dr,...t??{}})}function Hp(e){return x({type:Object,converter:{fromAttribute:t=>{if(t!=null)return _s(t)?+t:void 0},toAttribute:t=>t==null?void 0:""+t},...e??{}})}function _s(e){return!isNaN(parseFloat(e))}var bi={};q(bi,{designSystemVariables:()=>D});var gi={};q(gi,{DesignSystemFamily:()=>oe,DesignSystemSize:()=>ct,FtCssVariableFactory:()=>o,badge:()=>Gp,banner:()=>Kp,breadcrumb:()=>Zp,button:()=>w,chart:()=>sd,checkbox:()=>cd,chip:()=>B,collapsible:()=>id,comboboxMultiSelect:()=>od,comboboxSingleSelect:()=>rd,drawer:()=>Xp,floatingMenu:()=>ed,foundation:()=>p,link:()=>Vp,modal:()=>Yp,notice:()=>ld,notification:()=>fd,pageHeader:()=>qp,popover:()=>nd,radio:()=>dd,resolveFamilyClass:()=>mi,resolveSizeClass:()=>yi,semantic:()=>u,setVariable:()=>$,switch_:()=>ad,tabs:()=>Jp,textArea:()=>td,textInput:()=>Qp,toggle:()=>pd,tooltip:()=>ud,typographies:()=>Ur,typographyBody1Medium:()=>qn,typographyBody1Regular:()=>Zn,typographyBody1Semibold:()=>Yn,typographyBody2Medium:()=>Jn,typographyBody2MediumUnderline:()=>Ps,typographyBody2Regular:()=>Xn,typographyBody2Semibold:()=>Qn,typographyCaption1Bold:()=>li,typographyCaption1Medium:()=>ai,typographyCaption1Semibold:()=>si,typographyCaption2Bold:()=>di,typographyCaption2Medium:()=>ci,typographyCaption2Semibold:()=>pi,typographyCaption3Bold:()=>hi,typographyCaption3Medium:()=>fi,typographyCaption3Semibold:()=>ui,typographyDisplay:()=>jn,typographyLabel1Bold:()=>ri,typographyLabel1Medium:()=>ti,typographyLabel1Semibold:()=>ei,typographyLabel2Bold:()=>ii,typographyLabel2Medium:()=>oi,typographyLabel2Semibold:()=>ni,typographyTitle1:()=>Vn,typographyTitle2:()=>Kn,typographyTitle3:()=>Gn,typographyVariants:()=>jp});var re=e=>typeof e=="string"?Qt(e):e,o=class{static create(t,r,n,i){let a=l=>re(l??i),s=T`var(${re(t)}, ${a(i)})`;return s.name=t,s.description=r,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>T`var(${re(t)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,r,n,i){let a=l=>n.get(l??i),s=T`var(${re(t)}, ${a(i)})`;return s.name=t,s.description=r,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>T`var(${re(t)}, ${a(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(t,r){let n=a=>t.fallbackVariable?t.fallbackVariable.get(a??t.defaultValue):re(a??t.lastResortDefaultValue()),i=T`var(${re(t.name)}, ${n(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=r,i.defaultCssValue=n,i.get=a=>T`var(${re(t.name)}, ${n(a)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};function $(e,t){return re(`${e.name}: ${t}`)}var p={colorWhite:o.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:o.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:o.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:o.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:o.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:o.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:o.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:o.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:o.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:o.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:o.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:o.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:o.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:o.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:o.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:o.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:o.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:o.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:o.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:o.create("--ft-opacity-0","","NUMBER","0"),opacity8:o.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:o.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:o.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:o.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:o.create("--ft-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:o.create("--ft-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:o.create("--ft-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:o.create("--ft-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:o.create("--ft-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:o.create("--ft-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:o.create("--ft-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:o.create("--ft-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:o.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},jn={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")},Vn={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")},Kn={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")},Gn={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")},Zn={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")},qn={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")},Yn={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")},Xn={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")},Jn={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")},Ps={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")},Qn={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")},ti={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")},ei={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")},ri={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")},oi={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")},ni={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")},ii={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")},ai={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")},si={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")},li={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")},ci={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")},pi={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")},di={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")},fi={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")},ui={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")},hi={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")},Ur={display:jn,"title-1":Vn,"title-2":Kn,"title-3":Gn,"body-1-regular":Zn,"body-1-medium":qn,"body-1-semibold":Yn,"body-2-regular":Xn,"body-2-medium":Jn,"body-2-medium-underline":Ps,"body-2-semibold":Qn,"label-1-medium":ti,"label-1-semibold":ei,"label-1-bold":ri,"label-2-medium":oi,"label-2-semibold":ni,"label-2-bold":ii,"caption-1-medium":ai,"caption-1-semibold":si,"caption-1-bold":li,"caption-2-medium":ci,"caption-2-semibold":pi,"caption-2-bold":di,"caption-3-medium":fi,"caption-3-semibold":ui,"caption-3-bold":hi},jp=["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 w={largeHeight:o.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ft-button-large-horizontal-padding","",p.spacing4),largeGap:o.extend("--ft-button-large-gap","",p.spacing2),largeBorderRadius:o.extend("--ft-button-large-border-radius","",p.borderRadiusS),largeIconSize:o.extend("--ft-button-large-icon-size","",p.iconSize3),largeBorderWidth:o.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ft-button-medium-horizontal-padding","",p.spacing3),mediumGap:o.extend("--ft-button-medium-gap","",p.spacing2),mediumBorderRadius:o.extend("--ft-button-medium-border-radius","",p.borderRadiusS),mediumIconSize:o.extend("--ft-button-medium-icon-size","",p.iconSize2),mediumBorderWidth:o.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ft-button-small-horizontal-padding","",p.spacing2),smallGap:o.extend("--ft-button-small-gap","",p.spacing1),smallBorderRadius:o.extend("--ft-button-small-border-radius","",p.borderRadiusS),smallIconSize:o.extend("--ft-button-small-icon-size","",p.iconSize1),smallBorderWidth:o.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ft-button-x-small-icon-size","",p.iconSize1),xSmallFocusOutlineOffset:o.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ft-button-round-border-radius","",p.borderRadiusPill),primaryBackgroundColor:o.extend("--ft-button-primary-background-color","",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 B={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 Vp={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 Kp={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 Gp={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 Zp={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 qp={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 Yp={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 Xp={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 Jp={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 Qp={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 td={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 ed={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 rd={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 od={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 nd={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 id={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 ad={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 sd={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 ld={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 cd={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 pd={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 dd={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 fd={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 ud={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 oe;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(oe||(oe={}));var ct;(function(e){e.large="large",e.medium="medium",e.small="small"})(ct||(ct={}));function mi(e){return`ftds--family-${e}`}function yi(e){return`ftds--size-${e}`}var D={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.create("--ft-elevation-00","","UNKNOWN","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:o.create("--ft-elevation-01","","UNKNOWN","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:o.create("--ft-elevation-02","","UNKNOWN","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:o.create("--ft-elevation-03","","UNKNOWN","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:o.create("--ft-elevation-04","","UNKNOWN","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:o.create("--ft-elevation-06","","UNKNOWN","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:o.create("--ft-elevation-08","","UNKNOWN","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:o.create("--ft-elevation-12","","UNKNOWN","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:o.create("--ft-elevation-16","","UNKNOWN","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:o.create("--ft-elevation-24","","UNKNOWN","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:o.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Oi={};q(Oi,{FtNotificationEvent:()=>xi,PostResizeEvent:()=>Si,PreResizeEvent:()=>vi});var xi=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},vi=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Si=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var Ii={};q(Ii,{computeOffsetPosition:()=>jr});var $s=["top","right","bottom","left"],Ts=["start","end"],Ei=$s.reduce((e,t)=>e.concat(t,t+"-"+Ts[0],t+"-"+Ts[1]),[]),Br=Math.min,ue=Math.max,Fr=Math.round;var ne=e=>({x:e,y:e}),hd={left:"right",right:"left",bottom:"top",top:"bottom"},md={start:"end",end:"start"};function wi(e,t,r){return ue(e,Br(t,r))}function To(e,t){return typeof e=="function"?e(t):e}function tr(e){return e.split("-")[0]}function he(e){return e.split("-")[1]}function Ai(e){return e==="x"?"y":"x"}function Ri(e){return e==="y"?"height":"width"}function $o(e){return["top","bottom"].includes(tr(e))?"y":"x"}function Ni(e){return Ai($o(e))}function Is(e,t,r){r===void 0&&(r=!1);let n=he(e),i=Ni(e),a=Ri(i),s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=Ci(s)),[s,Ci(s)]}function Ls(e){return e.replace(/start|end/g,t=>md[t])}function Ci(e){return e.replace(/left|right|bottom|top/g,t=>hd[t])}function yd(e){return{top:0,right:0,bottom:0,left:0,...e}}function ks(e){return typeof e!="number"?yd(e):{top:e,right:e,bottom:e,left:e}}function De(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Ms(e,t,r){let{reference:n,floating:i}=e,a=$o(t),s=Ni(t),l=Ri(s),c=tr(t),d=a==="y",f=n.x+n.width/2-i.width/2,h=n.y+n.height/2-i.height/2,y=n[l]/2-i[l]/2,g;switch(c){case"top":g={x:f,y:n.y-i.height};break;case"bottom":g={x:f,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:h};break;case"left":g={x:n.x-i.width,y:h};break;default:g={x:n.x,y:n.y}}switch(he(t)){case"start":g[s]-=y*(r&&d?-1:1);break;case"end":g[s]+=y*(r&&d?-1:1);break}return g}var Ds=async(e,t,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=r,l=a.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(t)),d=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:f,y:h}=Ms(d,n,c),y=n,g={},b=0;for(let C=0;C<l.length;C++){let{name:N,fn:_}=l[C],{x:P,y:O,data:S,reset:E}=await _({x:f,y:h,initialPlacement:n,placement:y,strategy:i,middlewareData:g,rects:d,platform:s,elements:{reference:e,floating:t}});if(f=P??f,h=O??h,g={...g,[N]:{...g[N],...S}},E&&b<=50){b++,typeof E=="object"&&(E.placement&&(y=E.placement),E.rects&&(d=E.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):E.rects),{x:f,y:h}=Ms(d,y,c)),C=-1;continue}}return{x:f,y:h,placement:y,strategy:i,middlewareData:g}};async function _i(e,t){var r;t===void 0&&(t={});let{x:n,y:i,platform:a,rects:s,elements:l,strategy:c}=e,{boundary:d="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:y=!1,padding:g=0}=To(t,e),b=ks(g),N=l[y?h==="floating"?"reference":"floating":h],_=De(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(l.floating)),boundary:d,rootBoundary:f,strategy:c})),P=h==="floating"?{...s.floating,x:n,y:i}:s.reference,O=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),S=await(a.isElement==null?void 0:a.isElement(O))?await(a.getScale==null?void 0:a.getScale(O))||{x:1,y:1}:{x:1,y:1},E=De(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:P,offsetParent:O,strategy:c}):P);return{top:(_.top-E.top+b.top)/S.y,bottom:(E.bottom-_.bottom+b.bottom)/S.y,left:(_.left-E.left+b.left)/S.x,right:(E.right-_.right+b.right)/S.x}}function gd(e,t,r){return(e?[...r.filter(i=>he(i)===e),...r.filter(i=>he(i)!==e)]:r.filter(i=>tr(i)===i)).filter(i=>e?he(i)===e||(t?Ls(i)!==i:!1):!0)}var Pi=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var r,n,i;let{rects:a,middlewareData:s,placement:l,platform:c,elements:d}=t,{crossAxis:f=!1,alignment:h,allowedPlacements:y=Ei,autoAlignment:g=!0,...b}=To(e,t),C=h!==void 0||y===Ei?gd(h||null,g,y):y,N=await _i(t,b),_=((r=s.autoPlacement)==null?void 0:r.index)||0,P=C[_];if(P==null)return{};let O=Is(P,a,await(c.isRTL==null?void 0:c.isRTL(d.floating)));if(l!==P)return{reset:{placement:C[0]}};let S=[N[tr(P)],N[O[0]],N[O[1]]],E=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:P,overflows:S}],k=C[_+1];if(k)return{data:{index:_+1,overflows:E},reset:{placement:k}};let U=E.map(m=>{let v=he(m.placement);return[m.placement,v&&f?m.overflows.slice(0,2).reduce((R,z)=>R+z,0):m.overflows[0],m.overflows]}).sort((m,v)=>m[1]-v[1]),j=((i=U.filter(m=>m[2].slice(0,he(m[0])?2:3).every(v=>v<=0))[0])==null?void 0:i[0])||U[0][0];return j!==l?{data:{index:_+1,overflows:E},reset:{placement:j}}:{}}}};var Ti=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:n,placement:i}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:N=>{let{x:_,y:P}=N;return{x:_,y:P}}},...c}=To(e,t),d={x:r,y:n},f=await _i(t,c),h=$o(tr(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],O=g-f[_];g=wi(P,g,O)}if(s){let N=h==="y"?"top":"left",_=h==="y"?"bottom":"right",P=b+f[N],O=b-f[_];b=wi(P,b,O)}let C=l.fn({...t,[y]:g,[h]:b});return{...C,data:{x:C.x-r,y:C.y-n}}}}};function ie(e){return Bs(e)?(e.nodeName||"").toLowerCase():"#document"}function gt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ae(e){var t;return(t=(Bs(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Bs(e){return e instanceof Node||e instanceof gt(e).Node}function Vt(e){return e instanceof Element||e instanceof gt(e).Element}function Ut(e){return e instanceof HTMLElement||e instanceof gt(e).HTMLElement}function Us(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof gt(e).ShadowRoot}function er(e){let{overflow:t,overflowX:r,overflowY:n,display:i}=Et(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(i)}function Fs(e){return["table","td","th"].includes(ie(e))}function Lo(e){let t=ko(),r=Et(e);return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function Ws(e){let t=Ue(e);for(;Ut(t)&&!Wr(t);){if(Lo(t))return t;t=Ue(t)}return null}function ko(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Wr(e){return["html","body","#document"].includes(ie(e))}function Et(e){return gt(e).getComputedStyle(e)}function zr(e){return Vt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ue(e){if(ie(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Us(e)&&e.host||ae(e);return Us(t)?t.host:t}function zs(e){let t=Ue(e);return Wr(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ut(t)&&er(t)?t:zs(t)}function Io(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);let i=zs(e),a=i===((n=e.ownerDocument)==null?void 0:n.body),s=gt(i);return a?t.concat(s,s.visualViewport||[],er(i)?i:[],s.frameElement&&r?Io(s.frameElement):[]):t.concat(i,Io(i,[],r))}function Vs(e){let t=Et(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=Ut(e),a=i?e.offsetWidth:r,s=i?e.offsetHeight:n,l=Fr(r)!==a||Fr(n)!==s;return l&&(r=a,n=s),{width:r,height:n,$:l}}function Ks(e){return Vt(e)?e:e.contextElement}function rr(e){let t=Ks(e);if(!Ut(t))return ne(1);let r=t.getBoundingClientRect(),{width:n,height:i,$:a}=Vs(t),s=(a?Fr(r.width):r.width)/n,l=(a?Fr(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var bd=ne(0);function Gs(e){let t=gt(e);return!ko()||!t.visualViewport?bd:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function xd(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==gt(e)?!1:t}function Hr(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);let i=e.getBoundingClientRect(),a=Ks(e),s=ne(1);t&&(n?Vt(n)&&(s=rr(n)):s=rr(e));let l=xd(a,r,n)?Gs(a):ne(0),c=(i.left+l.x)/s.x,d=(i.top+l.y)/s.y,f=i.width/s.x,h=i.height/s.y;if(a){let y=gt(a),g=n&&Vt(n)?gt(n):n,b=y.frameElement;for(;b&&n&&g!==y;){let C=rr(b),N=b.getBoundingClientRect(),_=Et(b),P=N.left+(b.clientLeft+parseFloat(_.paddingLeft))*C.x,O=N.top+(b.clientTop+parseFloat(_.paddingTop))*C.y;c*=C.x,d*=C.y,f*=C.x,h*=C.y,c+=P,d+=O,b=gt(b).frameElement}}return De({width:f,height:h,x:c,y:d})}function vd(e){let{rect:t,offsetParent:r,strategy:n}=e,i=Ut(r),a=ae(r);if(r===a)return t;let s={scrollLeft:0,scrollTop:0},l=ne(1),c=ne(0);if((i||!i&&n!=="fixed")&&((ie(r)!=="body"||er(a))&&(s=zr(r)),Ut(r))){let d=Hr(r);l=rr(r),c.x=d.x+r.clientLeft,c.y=d.y+r.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-s.scrollLeft*l.x+c.x,y:t.y*l.y-s.scrollTop*l.y+c.y}}function Sd(e){return Array.from(e.getClientRects())}function Zs(e){return Hr(ae(e)).left+zr(e).scrollLeft}function Od(e){let t=ae(e),r=zr(e),n=e.ownerDocument.body,i=ue(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=ue(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-r.scrollLeft+Zs(e),l=-r.scrollTop;return Et(n).direction==="rtl"&&(s+=ue(t.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:l}}function Cd(e,t){let r=gt(e),n=ae(e),i=r.visualViewport,a=n.clientWidth,s=n.clientHeight,l=0,c=0;if(i){a=i.width,s=i.height;let d=ko();(!d||d&&t==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:a,height:s,x:l,y:c}}function Ed(e,t){let r=Hr(e,!0,t==="fixed"),n=r.top+e.clientTop,i=r.left+e.clientLeft,a=Ut(e)?rr(e):ne(1),s=e.clientWidth*a.x,l=e.clientHeight*a.y,c=i*a.x,d=n*a.y;return{width:s,height:l,x:c,y:d}}function Hs(e,t,r){let n;if(t==="viewport")n=Cd(e,r);else if(t==="document")n=Od(ae(e));else if(Vt(t))n=Ed(t,r);else{let i=Gs(e);n={...t,x:t.x-i.x,y:t.y-i.y}}return De(n)}function qs(e,t){let r=Ue(e);return r===t||!Vt(r)||Wr(r)?!1:Et(r).position==="fixed"||qs(r,t)}function wd(e,t){let r=t.get(e);if(r)return r;let n=Io(e,[],!1).filter(l=>Vt(l)&&ie(l)!=="body"),i=null,a=Et(e).position==="fixed",s=a?Ue(e):e;for(;Vt(s)&&!Wr(s);){let l=Et(s),c=Lo(s);!c&&l.position==="fixed"&&(i=null),(a?!c&&!i:!c&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||er(s)&&!c&&qs(e,s))?n=n.filter(f=>f!==s):i=l,s=Ue(s)}return t.set(e,n),n}function Ad(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e,s=[...r==="clippingAncestors"?wd(t,this._c):[].concat(r),n],l=s[0],c=s.reduce((d,f)=>{let h=Hs(t,f,i);return d.top=ue(h.top,d.top),d.right=Br(h.right,d.right),d.bottom=Br(h.bottom,d.bottom),d.left=ue(h.left,d.left),d},Hs(t,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Rd(e){return Vs(e)}function Nd(e,t,r){let n=Ut(t),i=ae(t),a=r==="fixed",s=Hr(e,!0,a,t),l={scrollLeft:0,scrollTop:0},c=ne(0);if(n||!n&&!a)if((ie(t)!=="body"||er(i))&&(l=zr(t)),n){let d=Hr(t,!0,a,t);c.x=d.x+t.clientLeft,c.y=d.y+t.clientTop}else i&&(c.x=Zs(i));return{x:s.left+l.scrollLeft-c.x,y:s.top+l.scrollTop-c.y,width:s.width,height:s.height}}function js(e,t){return!Ut(e)||Et(e).position==="fixed"?null:t?t(e):e.offsetParent}function Ys(e,t){let r=gt(e);if(!Ut(e))return r;let n=js(e,t);for(;n&&Fs(n)&&Et(n).position==="static";)n=js(n,t);return n&&(ie(n)==="html"||ie(n)==="body"&&Et(n).position==="static"&&!Lo(n))?r:n||Ws(e)||r}var _d=async function(e){let{reference:t,floating:r,strategy:n}=e,i=this.getOffsetParent||Ys,a=this.getDimensions;return{reference:Nd(t,await i(r),n),floating:{x:0,y:0,...await a(r)}}};function Pd(e){return Et(e).direction==="rtl"}var Mo={convertOffsetParentRelativeRectToViewportRelativeRect:vd,getDocumentElement:ae,getClippingRect:Ad,getOffsetParent:Ys,getElementRects:_d,getClientRects:Sd,getDimensions:Rd,getScale:rr,isElement:Vt,isRTL:Pd};var Xs=(e,t,r)=>{let n=new Map,i={platform:Mo,...r},a={...i.platform,_c:n};return Ds(e,t,{...i,platform:a})};function Js(e){return Td(e)}function $i(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Td(e){for(let t=e;t;t=$i(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=$i(e);t;t=$i(t)){if(!(t instanceof Element))continue;let r=getComputedStyle(t);if(r.display!=="contents"&&(r.position!=="static"||r.filter!=="none"||t.tagName==="BODY"))return t}return null}async function jr(e,t,r){return Xs(e,t,{platform:{...Mo,getOffsetParent:n=>Mo.getOffsetParent(n,Js)},middleware:[Ti({crossAxis:!0}),Pi({allowedPlacements:[r]})]})}var Mi={};q(Mi,{FtdsBase:()=>Kr,toFtdsBase:()=>Bo});var ki={};q(ki,{FtLitElement:()=>F});var Li={};q(Li,{ScopedRegistryLitElement:()=>Vr});var Do=window,$d=Do.ShadowRoot&&(Do.ShadyCSS===void 0||Do.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ag=Symbol();var Qs=(e,t)=>{$d?e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):t.forEach(r=>{let n=document.createElement("style"),i=Do.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)})};var Vr=class extends ee{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([i,a])=>t.registry.define(i,a)));let r={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return Qs(n,t.elementStyles),n}};var Uo=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},rl,tl=Symbol("constructorPrototype"),el=Symbol("constructorName"),ol=Symbol("exportpartsDebouncer"),F=class extends Vr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[rl]=new Ct(5),this[el]=this.constructor.name,this[tl]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[el]&&Object.setPrototypeOf(this,this[tl])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}this.importDynamicDependencies()}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}applyCustomStylesheet(t){var r,n,i;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var t,r,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[ol].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(t){var r,n,i,a,s,l;let c=y=>y!=null&&y.trim().length>0,d=t.filter(c).map(y=>y.trim());if(d.length===0){this.removeAttribute("exportparts");return}let f=new Set;for(let y of(n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let g=(a=(i=y.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],b=(l=(s=y.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(C=>C.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...g,...b).filter(c).map(C=>C.trim()).forEach(C=>f.add(C))}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(", "))}};rl=ol;Uo([x()],F.prototype,"exportpartsPrefix",void 0);Uo([Pt([])],F.prototype,"exportpartsPrefixes",void 0);Uo([x()],F.prototype,"customStylesheet",void 0);Uo([Q()],F.prototype,"useAdoptedStyleSheets",void 0);var nl=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a};function Bo(e){class t extends e{constructor(){super(...arguments),this.size=ct.medium,this.family=oe.neutral}getDesignSystemBaseClasses(){return{[mi(this.family)]:!0,[yi(this.size)]:!0}}}return nl([x()],t.prototype,"size",void 0),nl([x()],t.prototype,"family",void 0),t}var Kr=class extends Bo(F){};var il={};var Fi={};q(Fi,{highlightHtml:()=>Bi,highlightHtmlColorCssVariable:()=>al,highlightHtmlStyles:()=>Ld});var Be=class e{constructor(t,r=!0,n=[],i=5e3){this.ctx=t,this.iframes=r,this.exclude=n,this.iframesTimeout=i}static matches(t,r){let n=typeof r=="string"?[r]:r,i=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(t,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let t,r=[];return typeof this.ctx>"u"||!this.ctx?t=[]:NodeList.prototype.isPrototypeOf(this.ctx)?t=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?t=this.ctx:typeof this.ctx=="string"?t=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):t=[this.ctx],t.forEach(n=>{let i=r.filter(a=>a.contains(n)).length>0;r.indexOf(n)===-1&&!i&&r.push(n)}),r}getIframeContents(t,r,n=()=>{}){let i;try{let a=t.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&r(i)}isIframeBlank(t){let r="about:blank",n=t.getAttribute("src").trim();return t.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(t,r,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(t)||(t.removeEventListener("load",s),this.getIframeContents(t,r,n))}catch{n()}}};t.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(t,r,n){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,r,n):this.getIframeContents(t,r,n):this.observeIframeLoad(t,r,n)}catch{n()}}waitForIframes(t,r){let n=0;this.forEachIframe(t,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||r()})},i=>{i||r()})}forEachIframe(t,r,n,i=()=>{}){let a=t.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let c=()=>{--s<=0&&i(l)};s||c(),a.forEach(d=>{e.matches(d,this.exclude)?c():this.onIframeReady(d,f=>{r(d)&&(l++,n(f)),c()},c)})}createIterator(t,r,n){return document.createNodeIterator(t,r,n,!1)}createInstanceOnIframe(t){return new e(t.querySelector("html"),this.iframes)}compareNodeIframe(t,r,n){let i=t.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(r!==null){let s=r.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(t){let r=t.previousNode(),n;return r===null?n=t.nextNode():n=t.nextNode()&&t.nextNode(),{prevNode:r,node:n}}checkIframeFilter(t,r,n,i){let a=!1,s=!1;return i.forEach((l,c)=>{l.val===n&&(a=c,s=l.handled)}),this.compareNodeIframe(t,r,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(t,r,n,i){t.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(r,n,i)})})}iterateThroughNodes(t,r,n,i,a){let s=this.createIterator(r,t,i),l=[],c=[],d,f,h=()=>({prevNode:f,node:d}=this.getIteratorNode(s),d);for(;h();)this.iframes&&this.forEachIframe(r,y=>this.checkIframeFilter(d,f,y,l),y=>{this.createInstanceOnIframe(y).forEachNode(t,g=>c.push(g),i)}),c.push(d);c.forEach(y=>{n(y)}),this.iframes&&this.handleOpenIframes(l,t,n,i),a()}forEachNode(t,r,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(l=>{let c=()=>{this.iterateThroughNodes(t,l,r,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(l,c):c()})}};var Gr=class{constructor(t){this.ctx=t,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new Be(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return this.opt.wildcards!=="disabled"&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),this.opt.wildcards!=="disabled"&&(t=this.createWildcardsRegExp(t)),t=this.createAccuracyRegExp(t),t}createSynonymsRegExp(t){let r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in r)if(r.hasOwnProperty(a)){let s=r[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&c!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(c)})`,`gm${n}`),i+`(${this.processSynomyms(l)}|${this.processSynomyms(c)})`+i))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return t=t.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),t.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(t){let r=this.opt.wildcards==="withSpaces";return t.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,(r,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?r:r+"\0"})}createJoinersRegExp(t){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?t.split(/\u0000+/).join(`[${r.join("")}]*`):t}createDiacriticsRegExp(t){let r=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return t.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;t=t.replace(new RegExp(`[${s}]`,`gm${r}`),`[${s}]`),i.push(s)}return!0})}),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(t){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),i){case"partially":default:return`()(${t})`;case"complementary":return s="\\s"+(s||this.escapeStr(r)),`()([^${s}]*${t}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${t})(?=$|\\s${s})`}}getSeparatedKeywords(t){let r=[];return t.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&r.indexOf(i)===-1&&r.push(i)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,i)=>i.length-n.length),length:r.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||Object.prototype.toString.call(t[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];let r=[],n=0;return t.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(i,n);l&&(i.start=a,i.length=s-a,r.push(i),n=s)}),r}callNoMatchOnInvalidRanges(t,r){let n,i,a=!1;return t&&typeof t.start<"u"?(n=parseInt(t.start,10),i=n+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&i-r>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:n,end:i,valid:a}}checkWhitespaceRanges(t,r,n){let i,a=!0,s=n.length,l=r-s,c=parseInt(t.start,10)-l;return c=c>s?s:c,i=c+parseInt(t.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),c<0||i-c<0||c>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):n.substring(c,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:c,end:i,valid:a}}getTextNodes(t){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:r.length,end:(r+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{t({value:r,nodes:n})})}matchesExclude(t){return Be.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,r,n){let i=this.opt.element?this.opt.element:"mark",a=t.splitText(r),s=a.splitText(n-r),l=document.createElement(i);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(t,r,n,i,a){t.nodes.every((s,l)=>{let c=t.nodes[l+1];if(typeof c>"u"||c.start>r){if(!i(s.node))return!1;let d=r-s.start,f=(n>s.end?s.end:n)-s.start,h=t.value.substr(0,s.start),y=t.value.substr(f+s.start);if(s.node=this.wrapRangeInTextNode(s.node,d,f),t.value=h+y,t.nodes.forEach((g,b)=>{b>=l&&(t.nodes[b].start>0&&b!==l&&(t.nodes[b].start-=f),t.nodes[b].end-=f)}),n-=f,a(s.node.previousSibling,s.start),n>s.end)r=s.end;else return!1}return!0})}wrapMatches(t,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(l=>{l.nodes.forEach(c=>{c=c.node;let d;for(;(d=t.exec(c.textContent))!==null&&d[s]!=="";){if(!n(d[s],c))continue;let f=d.index;if(s!==0)for(let h=1;h<s;h++)f+=d[h].length;c=this.wrapRangeInTextNode(c,f,f+d[s].length),i(c.previousSibling),t.lastIndex=0}}),a()})}wrapMatchesAcrossElements(t,r,n,i,a){let s=r===0?0:r+1;this.getTextNodes(l=>{let c;for(;(c=t.exec(l.value))!==null&&c[s]!=="";){let d=c.index;if(s!==0)for(let h=1;h<s;h++)d+=c[h].length;let f=d+c[s].length;this.wrapRangeInMappedTextNode(l,d,f,h=>n(c[s],h),(h,y)=>{t.lastIndex=y,i(h)})}a()})}wrapRangeFromIndex(t,r,n,i){this.getTextNodes(a=>{let s=a.value.length;t.forEach((l,c)=>{let{start:d,end:f,valid:h}=this.checkWhitespaceRanges(l,s,a.value);h&&this.wrapRangeInMappedTextNode(a,d,f,y=>r(y,l,a.value.substring(d,f),c),y=>{n(y,l)})}),i()})}unwrapMatches(t){let r=t.parentNode,n=document.createDocumentFragment();for(;t.firstChild;)n.appendChild(t.removeChild(t.firstChild));r.replaceChild(n,t),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(t){if(t){if(t.nodeType===3)for(;t.nextSibling&&t.nextSibling.nodeType===3;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,r){this.opt=r,this.log(`Searching with expression "${t}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](t,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),a,()=>{n===0&&this.opt.noMatch(t),this.opt.done(n)})}mark(t,r){this.opt=r;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof t=="string"?[t]:t),l=this.opt.caseSensitive?"":"i",c=d=>{let f=new RegExp(this.createRegExp(d),`gm${l}`),h=0;this.log(`Searching with expression "${f}"`),this[i](f,1,(y,g)=>this.opt.filter(g,d,n,h),y=>{h++,n++,this.opt.each(y)},()=>{h===0&&this.opt.noMatch(d),a[s-1]===d?this.opt.done(n):c(a[a.indexOf(d)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):c(a[0])}markRanges(t,r){this.opt=r;let n=0,i=this.checkRanges(t);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,l,c)=>this.opt.filter(a,s,l,c),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(t){this.opt=t;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=Be.matches(n,r),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Di(e){let t=new Gr(e);return this.mark=(r,n)=>(t.mark(r,n),this),this.markRegExp=(r,n)=>(t.markRegExp(r,n),this),this.markRanges=(r,n)=>(t.markRanges(r,n),this),this.unmark=r=>(t.unmark(r),this),this}var Id=Di,al=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Ld=T`
|
|
7
7
|
.highlight-html-match {
|
|
8
|
-
background: ${
|
|
8
|
+
background: ${al};
|
|
9
9
|
}
|
|
10
|
-
`,
|
|
10
|
+
`,Ui={className:"highlight-html-match"};function Bi(e,t){var r;let n=e.getAttribute("data-highlight-html-query");if((n??"")!==(t??"")){let i=new Id(e);i.unmark(Ui),t&&t.trim()&&(i.mark(t.replace(/"[^"]+"/g,""),{...Ui,separateWordSearch:!0}),((r=t.match(/"[^"]+"/g))!==null&&r!==void 0?r:[]).forEach(s=>i.mark(s.replace(/"/g,""),{...Ui,separateWordSearch:!1})))}e.setAttribute("data-highlight-html-query",t??"")}var Wi={};q(Wi,{noTextSelect:()=>Fe,safariEllipsisFix:()=>Zr,wordWrap:()=>kd});var Fe=T`
|
|
11
11
|
.ft-no-text-select {
|
|
12
12
|
-webkit-touch-callout: none;
|
|
13
13
|
-webkit-user-select: none;
|
|
@@ -16,7 +16,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
16
16
|
-ms-user-select: none;
|
|
17
17
|
user-select: none;
|
|
18
18
|
}
|
|
19
|
-
`,
|
|
19
|
+
`,kd=T`
|
|
20
20
|
.ft-word-wrap {
|
|
21
21
|
white-space: normal;
|
|
22
22
|
word-wrap: break-word;
|
|
@@ -28,7 +28,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
28
28
|
-webkit-hyphens: auto;
|
|
29
29
|
hyphens: auto
|
|
30
30
|
}
|
|
31
|
-
`,
|
|
31
|
+
`,Zr=T`
|
|
32
32
|
.ft-safari-ellipsis-fix {
|
|
33
33
|
margin-right: 0;
|
|
34
34
|
|
|
@@ -39,7 +39,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
39
39
|
display: inline-block;
|
|
40
40
|
width: 0;
|
|
41
41
|
}
|
|
42
|
-
`;var Xs={};var $i={};Z($i,{ParametrizedLabelResolver:()=>Hr});var Hr=class{constructor(t,r){this.defaultLabels=t,this.labels=r}resolve(t,...r){var n,i;t=this.resolvePluralKey(t,r);let a=(i=(n=this.labels[t])!==null&&n!==void 0?n:this.defaultLabels[t])!==null&&i!==void 0?i:"";return r.forEach((s,l)=>a=a.replace(new RegExp(`\\{${l}([^}]*)\\}`,"g"),(c,d)=>this.formatValue(s,d))),a}resolvePluralKey(t,r){for(let n of r)if(typeof n=="number"){let i=`${String(t)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return t}formatValue(t,r){return t instanceof Date?this.formatDate(t,r):t??""}formatDate(t,r){let n=i=>r?.includes("date")?t.toLocaleDateString(i):r?.includes("time")?t.toLocaleTimeString(i):t.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var la={};Z(la,{FtCommandQueue:()=>jr,FtLitElementRedux:()=>Ft,FtReduxStore:()=>Be,clearAllStores:()=>df,isFtReduxStore:()=>Me,redux:()=>Wt,reduxEventListener:()=>Mi,reduxReactive:()=>ki});var ki=()=>(e,t)=>{var r;let n=e.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(t)},Wt=e=>{let t=e??{};return(r,n)=>{var i;let a={hasChanged:Lr,attribute:!1,...t};S(a)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=t.selector)!==null&&i!==void 0?i:l=>l[n],store:t.store})}},Mi=e=>(t,r)=>{let n=t.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,e)};var jr=class{constructor(){this.queue=[]}add(t,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==t.type)),this.queue.push(t)}consume(t){let r=this.queue.find(n=>n.type===t);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};function Me(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var Js,Qs,tl,Io=Symbol("internalReduxEventsUnsubscribers"),pe=Symbol("internalStoresUnsubscribers"),De=Symbol("internalStores"),Ft=class extends F{constructor(){super(...arguments),this[Js]=new Map,this[Qs]=new Map,this[tl]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(r=>t.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[De].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[De].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[De].get(t)}addStore(t,r){var n;r=(n=r??(Me(t)?t.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,t)}removeStore(t){let r=typeof t=="string"?t:t.name;this.unsubscribeFromStore(r),this[De].delete(r)}setupStore(t,r){this[De].set(t,r),this.subscribeToStore(t,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[De].forEach((t,r)=>this.subscribeToStore(r,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let i=this.getStore(t.store);i&&(t.store?this[pe].has(t.store):this[pe].size>0)&&(this[r]=t.selector(i.getState(),this))}})}subscribeToStore(t,r){var n;this[pe].set(t,r.subscribe(()=>this.updateFromStores())),Me(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||r.name===i.store)){let s=l=>this[a](l);r.eventBus.addEventListener(i.eventName,s),this[Io].push(()=>r.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[pe].forEach((t,r)=>this.unsubscribeFromStore(r)),this[Io].forEach(t=>t()),this[Io]=[]}unsubscribeFromStore(t){this[pe].has(t)&&this[pe].get(t)(),this[pe].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Js=pe,Qs=De,tl=Io;Ft.reduxProperties=new Map;Ft.reduxReactiveProperties=new Set;Ft.reduxEventListeners=new Map;function Rt(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function re(e){return!!e&&!!e[q]}function $t(e){var t;return!!e&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===kd}(e)||Array.isArray(e)||!!e[sl]||!!(!((t=e.constructor)===null||t===void 0)&&t[sl])||Vi(e)||Ki(e))}function Ue(e,t,r){r===void 0&&(r=!1),er(e)===0?(r?Object.keys:tr)(e).forEach(function(n){r&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,i){return t(i,n,e)})}function er(e){var t=e[q];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Vi(e)?2:Ki(e)?3:0}function Qe(e,t){return er(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Nd(e,t){return er(e)===2?e.get(t):e[t]}function ll(e,t,r){var n=er(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function cl(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Vi(e){return Id&&e instanceof Map}function Ki(e){return $d&&e instanceof Set}function de(e){return e.o||e.t}function Gi(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=fl(e);delete t[q];for(var r=tr(t),n=0;n<r.length;n++){var i=r[n],a=t[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function Zi(e,t){return t===void 0&&(t=!1),qi(e)||re(e)||!$t(e)||(er(e)>1&&(e.set=e.add=e.clear=e.delete=_d),Object.freeze(e),t&&Ue(e,function(r,n){return Zi(n,!0)},!0)),e}function _d(){Rt(2)}function qi(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function zt(e){var t=ji[e];return t||Rt(18,e),t}function Pd(e,t){ji[e]||(ji[e]=t)}function Fi(){return Kr}function Di(e,t){t&&(zt("Patches"),e.u=[],e.s=[],e.v=t)}function $o(e){zi(e),e.p.forEach(Td),e.p=null}function zi(e){e===Kr&&(Kr=e.l)}function el(e){return Kr={p:[],l:Kr,h:e,m:!0,_:0}}function Td(e){var t=e[q];t.i===0||t.i===1?t.j():t.g=!0}function Ui(e,t){t._=t.p.length;var r=t.p[0],n=e!==void 0&&e!==r;return t.h.O||zt("ES5").S(t,e,n),n?(r[q].P&&($o(t),Rt(4)),$t(e)&&(e=ko(t,e),t.l||Mo(t,e)),t.u&&zt("Patches").M(r[q].t,e,t.u,t.s)):e=ko(t,r,[]),$o(t),t.u&&t.v(t.u,t.s),e!==dl?e:void 0}function ko(e,t,r){if(qi(t))return t;var n=t[q];if(!n)return Ue(t,function(l,c){return rl(e,n,t,l,c,r)},!0),t;if(n.A!==e)return t;if(!n.P)return Mo(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Gi(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),Ue(a,function(l,c){return rl(e,n,i,l,c,r,s)}),Mo(e,i,!1),r&&e.u&&zt("Patches").N(n,r,e.u,e.s)}return n.o}function rl(e,t,r,n,i,a,s){if(re(i)){var l=ko(e,i,a&&t&&t.i!==3&&!Qe(t.R,n)?a.concat(n):void 0);if(ll(r,n,l),!re(l))return;e.m=!1}else s&&r.add(i);if($t(i)&&!qi(i)){if(!e.h.D&&e._<1)return;ko(e,i),t&&t.A.l||Mo(e,i)}}function Mo(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&Zi(t,r)}function Bi(e,t){var r=e[q];return(r?de(r):e)[t]}function ol(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function fe(e){e.P||(e.P=!0,e.l&&fe(e.l))}function Wi(e){e.o||(e.o=Gi(e.t))}function Hi(e,t,r){var n=Vi(t)?zt("MapSet").F(t,r):Ki(t)?zt("MapSet").T(t,r):e.O?function(i,a){var s=Array.isArray(i),l={i:s?1:0,A:a?a.A:Fi(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},c=l,d=Gr;s&&(c=[l],d=Vr);var f=Proxy.revocable(c,d),h=f.revoke,y=f.proxy;return l.k=y,l.j=h,y}(t,r):zt("ES5").J(t,r);return(r?r.A:Fi()).p.push(n),n}function Ld(e){return re(e)||Rt(22,e),function t(r){if(!$t(r))return r;var n,i=r[q],a=er(r);if(i){if(!i.P&&(i.i<4||!zt("ES5").K(i)))return i.t;i.I=!0,n=nl(r,a),i.I=!1}else n=nl(r,a);return Ue(n,function(s,l){i&&Nd(i.t,s)===l||ll(n,s,t(l))}),a===3?new Set(n):n}(e)}function nl(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Gi(e)}function pl(){function e(s,l){var c=a[s];return c?c.enumerable=l:a[s]=c={configurable:!0,enumerable:l,get:function(){var d=this[q];return Gr.get(d,s)},set:function(d){var f=this[q];Gr.set(f,s,d)}},c}function t(s){for(var l=s.length-1;l>=0;l--){var c=s[l][q];if(!c.P)switch(c.i){case 5:n(c)&&fe(c);break;case 4:r(c)&&fe(c)}}}function r(s){for(var l=s.t,c=s.k,d=tr(c),f=d.length-1;f>=0;f--){var h=d[f];if(h!==q){var y=l[h];if(y===void 0&&!Qe(l,h))return!0;var g=c[h],b=g&&g[q];if(b?b.t!==y:!cl(g,y))return!0}}var E=!!l[q];return d.length!==tr(l).length+(E?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var c=Object.getOwnPropertyDescriptor(l,l.length-1);if(c&&!c.get)return!0;for(var d=0;d<l.length;d++)if(!l.hasOwnProperty(d))return!0;return!1}function i(s){s.g&&Rt(3,JSON.stringify(de(s)))}var a={};Pd("ES5",{J:function(s,l){var c=Array.isArray(s),d=function(h,y){if(h){for(var g=Array(y.length),b=0;b<y.length;b++)Object.defineProperty(g,""+b,e(b,!0));return g}var E=fl(y);delete E[q];for(var R=tr(E),N=0;N<R.length;N++){var P=R[N];E[P]=e(P,h||!!E[P].enumerable)}return Object.create(Object.getPrototypeOf(y),E)}(c,s),f={i:c?5:4,A:l?l.A:Fi(),P:!1,I:!1,R:{},l,t:s,k:d,o:null,g:!1,C:!1};return Object.defineProperty(d,q,{value:f,writable:!0}),d},S:function(s,l,c){c?re(l)&&l[q].A===s&&t(s.p):(s.u&&function d(f){if(f&&typeof f=="object"){var h=f[q];if(h){var y=h.t,g=h.k,b=h.R,E=h.i;if(E===4)Ue(g,function(v){v!==q&&(y[v]!==void 0||Qe(y,v)?b[v]||d(g[v]):(b[v]=!0,fe(h)))}),Ue(y,function(v){g[v]!==void 0||Qe(g,v)||(b[v]=!1,fe(h))});else if(E===5){if(n(h)&&(fe(h),b.length=!0),g.length<y.length)for(var R=g.length;R<y.length;R++)b[R]=!1;else for(var N=y.length;N<g.length;N++)b[N]=!0;for(var P=Math.min(g.length,y.length),O=0;O<P;O++)g.hasOwnProperty(O)||(b[O]=!0),b[O]===void 0&&d(g[O])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var il,Kr,Yi=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Id=typeof Map<"u",$d=typeof Set<"u",al=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",dl=Yi?Symbol.for("immer-nothing"):((il={})["immer-nothing"]=!0,il),sl=Yi?Symbol.for("immer-draftable"):"__$immer_draftable",q=Yi?Symbol.for("immer-state"):"__$immer_state";var kd=""+Object.prototype.constructor,tr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,fl=Object.getOwnPropertyDescriptors||function(e){var t={};return tr(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},ji={},Gr={get:function(e,t){if(t===q)return e;var r=de(e);if(!Qe(r,t))return function(i,a,s){var l,c=ol(a,s);return c?"value"in c?c.value:(l=c.get)===null||l===void 0?void 0:l.call(i.k):void 0}(e,r,t);var n=r[t];return e.I||!$t(n)?n:n===Bi(e.t,t)?(Wi(e),e.o[t]=Hi(e.A.h,n,e)):n},has:function(e,t){return t in de(e)},ownKeys:function(e){return Reflect.ownKeys(de(e))},set:function(e,t,r){var n=ol(de(e),t);if(n?.set)return n.set.call(e.k,r),!0;if(!e.P){var i=Bi(de(e),t),a=i?.[q];if(a&&a.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(cl(r,i)&&(r!==void 0||Qe(e.t,t)))return!0;Wi(e),fe(e)}return e.o[t]===r&&(r!==void 0||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return Bi(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Wi(e),fe(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=de(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){Rt(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Rt(12)}},Vr={};Ue(Gr,function(e,t){Vr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Vr.deleteProperty=function(e,t){return Vr.set.call(this,e,t,void 0)},Vr.set=function(e,t,r){return Gr.set.call(this,e[0],t,r,e[0])};var Md=function(){function e(r){var n=this;this.O=al,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var l=a;a=i;var c=n;return function(E){var R=this;E===void 0&&(E=l);for(var N=arguments.length,P=Array(N>1?N-1:0),O=1;O<N;O++)P[O-1]=arguments[O];return c.produce(E,function(v){var C;return(C=a).call.apply(C,[R,v].concat(P))})}}var d;if(typeof a!="function"&&Rt(6),s!==void 0&&typeof s!="function"&&Rt(7),$t(i)){var f=el(n),h=Hi(n,i,void 0),y=!0;try{d=a(h),y=!1}finally{y?$o(f):zi(f)}return typeof Promise<"u"&&d instanceof Promise?d.then(function(E){return Di(f,s),Ui(E,f)},function(E){throw $o(f),E}):(Di(f,s),Ui(d,f))}if(!i||typeof i!="object"){if((d=a(i))===void 0&&(d=i),d===dl&&(d=void 0),n.D&&Zi(d,!0),s){var g=[],b=[];zt("Patches").M(i,d,g,b),s(g,b)}return d}Rt(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(d){for(var f=arguments.length,h=Array(f>1?f-1:0),y=1;y<f;y++)h[y-1]=arguments[y];return n.produceWithPatches(d,function(g){return i.apply(void 0,[g].concat(h))})};var s,l,c=n.produce(i,a,function(d,f){s=d,l=f});return typeof Promise<"u"&&c instanceof Promise?c.then(function(d){return[d,s,l]}):[c,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var t=e.prototype;return t.createDraft=function(r){$t(r)||Rt(8),re(r)&&(r=Ld(r));var n=el(this),i=Hi(this,r,void 0);return i[q].C=!0,zi(n),i},t.finishDraft=function(r,n){var i=r&&r[q],a=i.A;return Di(a,n),Ui(void 0,a)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!al&&Rt(20),this.O=r},t.applyPatches=function(r,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}i>-1&&(n=n.slice(i+1));var s=zt("Patches").$;return re(r)?s(r,n):this.produce(r,function(l){return s(l,n)})},e}(),Ot=new Md,Dd=Ot.produce,Eg=Ot.produceWithPatches.bind(Ot),Cg=Ot.setAutoFreeze.bind(Ot),wg=Ot.setUseProxies.bind(Ot),Ag=Ot.applyPatches.bind(Ot),Rg=Ot.createDraft.bind(Ot),Ng=Ot.finishDraft.bind(Ot),Do=Dd;function ue(e){"@babel/helpers - typeof";return ue=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ue(e)}function Xi(e,t){if(ue(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(ue(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ji(e){var t=Xi(e,"string");return ue(t)==="symbol"?t:String(t)}function Qi(e,t,r){return t=Ji(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ul(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Uo(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ul(Object(r),!0).forEach(function(n){Qi(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ul(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function pt(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var hl=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ta=function(){return Math.random().toString(36).substring(7).split("").join(".")},Bo={INIT:"@@redux/INIT"+ta(),REPLACE:"@@redux/REPLACE"+ta(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ta()}};function Ud(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function ea(e,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(pt(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(pt(1));return r(ea)(e,t)}if(typeof e!="function")throw new Error(pt(2));var i=e,a=t,s=[],l=s,c=!1;function d(){l===s&&(l=s.slice())}function f(){if(c)throw new Error(pt(3));return a}function h(E){if(typeof E!="function")throw new Error(pt(4));if(c)throw new Error(pt(5));var R=!0;return d(),l.push(E),function(){if(R){if(c)throw new Error(pt(6));R=!1,d();var P=l.indexOf(E);l.splice(P,1),s=null}}}function y(E){if(!Ud(E))throw new Error(pt(7));if(typeof E.type>"u")throw new Error(pt(8));if(c)throw new Error(pt(9));try{c=!0,a=i(a,E)}finally{c=!1}for(var R=s=l,N=0;N<R.length;N++){var P=R[N];P()}return E}function g(E){if(typeof E!="function")throw new Error(pt(10));i=E,y({type:Bo.REPLACE})}function b(){var E,R=h;return E={subscribe:function(P){if(typeof P!="object"||P===null)throw new Error(pt(11));function O(){P.next&&P.next(f())}O();var v=R(O);return{unsubscribe:v}}},E[hl]=function(){return this},E}return y({type:Bo.INIT}),n={dispatch:y,subscribe:h,getState:f,replaceReducer:g},n[hl]=b,n}function Bd(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:Bo.INIT});if(typeof n>"u")throw new Error(pt(12));if(typeof r(void 0,{type:Bo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(pt(13))})}function ml(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var i=t[n];typeof e[i]=="function"&&(r[i]=e[i])}var a=Object.keys(r),s,l;try{Bd(r)}catch(c){l=c}return function(d,f){if(d===void 0&&(d={}),l)throw l;if(0)var h;for(var y=!1,g={},b=0;b<a.length;b++){var E=a[b],R=r[E],N=d[E],P=R(N,f);if(typeof P>"u"){var O=f&&f.type;throw new Error(pt(14))}g[E]=P,y=y||P!==N}return y=y||a.length!==Object.keys(d).length,y?g:d}}function rr(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function yl(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(pt(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=t.map(function(c){return c(s)});return a=rr.apply(void 0,l)(i.dispatch),Uo(Uo({},i),{},{dispatch:a})}}}function gl(e){var t=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(l){return typeof l=="function"?l(i,a,e):s(l)}}};return t}var bl=gl();bl.withExtraArgument=gl;var ra=bl;var El=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Wd=function(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(d){return function(f){return c([d,f])}}function c(d){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=d[0]&2?i.return:d[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,d[1])).done)return a;switch(i=0,a&&(d=[d[0]&2,a.value]),d[0]){case 0:case 1:a=d;break;case 4:return r.label++,{value:d[1],done:!1};case 5:r.label++,i=d[1],d=[0];continue;case 7:d=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(d[0]===6||d[0]===2)){r=0;continue}if(d[0]===3&&(!a||d[1]>a[0]&&d[1]<a[3])){r.label=d[1];break}if(d[0]===6&&r.label<a[1]){r.label=a[1],a=d;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(d);break}a[2]&&r.ops.pop(),r.trys.pop();continue}d=t.call(e,r)}catch(f){d=[6,f],i=0}finally{n=a=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}},or=function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e},Fd=Object.defineProperty,zd=Object.defineProperties,Hd=Object.getOwnPropertyDescriptors,xl=Object.getOwnPropertySymbols,jd=Object.prototype.hasOwnProperty,Vd=Object.prototype.propertyIsEnumerable,vl=function(e,t,r){return t in e?Fd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},he=function(e,t){for(var r in t||(t={}))jd.call(t,r)&&vl(e,r,t[r]);if(xl)for(var n=0,i=xl(t);n<i.length;n++){var r=i[n];Vd.call(t,r)&&vl(e,r,t[r])}return e},oa=function(e,t){return zd(e,Hd(t))},Kd=function(e,t,r){return new Promise(function(n,i){var a=function(c){try{l(r.next(c))}catch(d){i(d)}},s=function(c){try{l(r.throw(c))}catch(d){i(d)}},l=function(c){return c.done?n(c.value):Promise.resolve(c.value).then(a,s)};l((r=r.apply(e,t)).next())})};var Gd=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?rr:rr.apply(null,arguments)},Kg=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function Zd(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var r=t;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return t===r}var qd=function(e){El(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=e.apply(this,r)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,or([void 0],r[0].concat(this)))):new(t.bind.apply(t,or([void 0],r.concat(this))))},t}(Array),Yd=function(e){El(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=e.apply(this,r)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,or([void 0],r[0].concat(this)))):new(t.bind.apply(t,or([void 0],r.concat(this))))},t}(Array);function aa(e){return $t(e)?Do(e,function(){}):e}function Xd(e){return typeof e=="boolean"}function Jd(){return function(t){return Qd(t)}}function Qd(e){e===void 0&&(e={});var t=e.thunk,r=t===void 0?!0:t,n=e.immutableCheck,i=n===void 0?!0:n,a=e.serializableCheck,s=a===void 0?!0:a,l=new qd;if(r&&(Xd(r)?l.push(ra):l.push(ra.withExtraArgument(r.extraArgument))),0){if(i)var c;if(s)var d}return l}var na=!0;function Cl(e){var t=Jd(),r=e||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,s=a===void 0?t():a,l=r.devTools,c=l===void 0?!0:l,d=r.preloadedState,f=d===void 0?void 0:d,h=r.enhancers,y=h===void 0?void 0:h,g;if(typeof i=="function")g=i;else if(Zd(i))g=ml(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var b=s;if(typeof b=="function"&&(b=b(t),!na&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!na&&b.some(function(v){return typeof v!="function"}))throw new Error("each middleware provided to configureStore must be a function");var E=yl.apply(void 0,b),R=rr;c&&(R=Gd(he({trace:!na},typeof c=="object"&&c)));var N=new Yd(E),P=N;Array.isArray(y)?P=or([E],y):typeof y=="function"&&(P=y(N));var O=R.apply(void 0,P);return ea(g,f,O)}function me(e,t){function r(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(t){var a=t.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return he(he({type:e,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:e,payload:n[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(n){return n.type===e},r}function wl(e){var t={},r=[],n,i={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[l]=s,i},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return e(i),[t,r,n]}function tf(e){return typeof e=="function"}function ef(e,t,r,n){r===void 0&&(r=[]);var i=typeof t=="function"?wl(t):[t,r,n],a=i[0],s=i[1],l=i[2],c;if(tf(e))c=function(){return aa(e())};else{var d=aa(e);c=function(){return d}}function f(h,y){h===void 0&&(h=c());var g=or([a[y.type]],s.filter(function(b){var E=b.matcher;return E(y)}).map(function(b){var E=b.reducer;return E}));return g.filter(function(b){return!!b}).length===0&&(g=[l]),g.reduce(function(b,E){if(E)if(re(b)){var R=b,N=E(R,y);return N===void 0?b:N}else{if($t(b))return Do(b,function(P){return E(P,y)});var N=E(b,y);if(N===void 0){if(b===null)return b;throw Error("A case reducer on a non-draftable value must not return undefined")}return N}return b},h)}return f.getInitialState=c,f}function rf(e,t){return e+"/"+t}function Al(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof e.initialState=="function"?e.initialState:aa(e.initialState),n=e.reducers||{},i=Object.keys(n),a={},s={},l={};i.forEach(function(f){var h=n[f],y=rf(t,f),g,b;"reducer"in h?(g=h.reducer,b=h.prepare):g=h,a[f]=g,s[y]=g,l[f]=b?me(y,b):me(y)});function c(){var f=typeof e.extraReducers=="function"?wl(e.extraReducers):[e.extraReducers],h=f[0],y=h===void 0?{}:h,g=f[1],b=g===void 0?[]:g,E=f[2],R=E===void 0?void 0:E,N=he(he({},y),s);return ef(r,function(P){for(var O in N)P.addCase(O,N[O]);for(var v=0,C=b;v<C.length;v++){var $=C[v];P.addMatcher($.matcher,$.reducer)}R&&P.addDefaultCase(R)})}var d;return{name:t,reducer:function(f,h){return d||(d=c()),d(f,h)},actions:l,caseReducers:a,getInitialState:function(){return d||(d=c()),d.getInitialState()}}}var of="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",nf=function(e){e===void 0&&(e=21);for(var t="",r=e;r--;)t+=of[Math.random()*64|0];return t},af=["name","message","stack","code"],ia=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),Sl=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),sf=function(e){if(typeof e=="object"&&e!==null){for(var t={},r=0,n=af;r<n.length;r++){var i=n[r];typeof e[i]=="string"&&(t[i]=e[i])}return t}return{message:String(e)}},Yg=function(){function e(t,r,n){var i=me(t+"/fulfilled",function(f,h,y,g){return{payload:f,meta:oa(he({},g||{}),{arg:y,requestId:h,requestStatus:"fulfilled"})}}),a=me(t+"/pending",function(f,h,y){return{payload:void 0,meta:oa(he({},y||{}),{arg:h,requestId:f,requestStatus:"pending"})}}),s=me(t+"/rejected",function(f,h,y,g,b){return{payload:g,error:(n&&n.serializeError||sf)(f||"Rejected"),meta:oa(he({},b||{}),{arg:y,requestId:h,rejectedWithValue:!!g,requestStatus:"rejected",aborted:f?.name==="AbortError",condition:f?.name==="ConditionError"})}}),l=!1,c=typeof AbortController<"u"?AbortController:function(){function f(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return f.prototype.abort=function(){},f}();function d(f){return function(h,y,g){var b=n?.idGenerator?n.idGenerator(f):nf(),E=new c,R,N=!1;function P(v){R=v,E.abort()}var O=function(){return Kd(this,null,function(){var v,C,$,U,ct,z,m;return Wd(this,function(x){switch(x.label){case 0:return x.trys.push([0,4,,5]),U=(v=n?.condition)==null?void 0:v.call(n,f,{getState:y,extra:g}),cf(U)?[4,U]:[3,2];case 1:U=x.sent(),x.label=2;case 2:if(U===!1||E.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return N=!0,ct=new Promise(function(A,W){return E.signal.addEventListener("abort",function(){return W({name:"AbortError",message:R||"Aborted"})})}),h(a(b,f,(C=n?.getPendingMeta)==null?void 0:C.call(n,{requestId:b,arg:f},{getState:y,extra:g}))),[4,Promise.race([ct,Promise.resolve(r(f,{dispatch:h,getState:y,extra:g,requestId:b,signal:E.signal,abort:P,rejectWithValue:function(A,W){return new ia(A,W)},fulfillWithValue:function(A,W){return new Sl(A,W)}})).then(function(A){if(A instanceof ia)throw A;return A instanceof Sl?i(A.payload,b,f,A.meta):i(A,b,f)})])];case 3:return $=x.sent(),[3,5];case 4:return z=x.sent(),$=z instanceof ia?s(null,b,f,z.payload,z.meta):s(z,b,f),[3,5];case 5:return m=n&&!n.dispatchConditionRejection&&s.match($)&&$.meta.condition,m||h($),[2,$]}})})}();return Object.assign(O,{abort:P,requestId:b,arg:f,unwrap:function(){return O.then(lf)}})}}return Object.assign(d,{pending:a,rejected:s,fulfilled:i,typePrefix:t})}return e.withTypes=function(){return e},e}();function lf(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function cf(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Rl="listener",Nl="completed",_l="cancelled",Xg="task-"+_l,Jg="task-"+Nl,Qg=Rl+"-"+_l,tb=Rl+"-"+Nl;var sa="listenerMiddleware";var eb=me(sa+"/add"),rb=me(sa+"/removeAll"),ob=me(sa+"/remove");var Ol,nb=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Ol||(Ol=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},pf=function(e){return function(t){setTimeout(t,e)}},ib=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:pf(10);pl();window.ftReduxStores||(window.ftReduxStores={});var Be=class e{static get(t){var r;let n=typeof t=="string"?t:t.name,i=typeof t=="string"?void 0:t,a=window.ftReduxStores[n];if(Me(a))return a;if(i==null)return;let s=Al({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),l=Cl({reducer:(c,d)=>d.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof d.type=="string"&&d.type.startsWith("DEFAULT_VALUE_SETTER__")?{...c,...d.overwrites}:s.reducer(c,d)});return window.ftReduxStores[i.name]=new e(s,l)}constructor(t,r){this.reduxSlice=t,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new jr,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,l=n[s];return l?(...c)=>{let d=l(...c);return this.reduxStore.dispatch(d),d}:c=>{this.setState({[s]:c})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function df(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))Me(t)&&t.clear()}var ca={};Z(ca,{serializeRequest:()=>uf});function ff(e){return`"${e}"`}function uf(e,t){var r,n,i,a;let s=new URLSearchParams({"content-lang":(r=t.contentLocale)!==null&&r!==void 0?r:"all"});if(((n=t.query)===null||n===void 0?void 0:n.length)>0&&s.append("query",t.query),t.scope&&t.scope!=="DEFAULT"&&s.append("scope",t.scope.toLowerCase()),t.virtualField&&t.virtualField!=="EVERYWHERE"&&s.append("virtual-field",t.virtualField.toLowerCase()),t.periodFilter){let c=t.periodFilter.period,d=c?`_${c.from}_${c.to}`:"";s.append("period",t.periodFilter.periodType.toLowerCase()+d)}if(((i=t.sort)===null||i===void 0?void 0:i.length)>0&&t.sort[0].key==="ft:lastEdition"&&s.append("sort","last_update"),((a=t.filters)===null||a===void 0?void 0:a.length)>0){let c=t.filters.map(d=>{let f=d.values.map(h=>h.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(h=>encodeURIComponent(ff(h))).join("_");return`${d.key}~${f}`}).join("*");s.append("filters",c)}return new URL(`${e.replace(/\/+$/,"")}/search?${s.toString()}`).href}var da={};Z(da,{toFtFormComponent:()=>pa});var Wo=Symbol("elementInternals");function pa(e,t){class r extends e{static get formAssociated(){return!0}get form(){return this[Wo].form}constructor(...i){super(i),this[Wo]=this.attachInternals(),this[Wo].role=t}setFormValue(i){this[Wo].setFormValue(i)}}return r}var ye=class{static format(t,r,n,i){return window.moment?window.moment(t).locale(r).format(this.getDateFormat(n,i)):t}static getDateFormat(t,r){return t?r?"lll":"ll":r?"L LT":"L"}};var fa,ua,ha,ma,Zr=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((ha=(ua=(fa=window.safari)===null||fa===void 0?void 0:fa.pushNotification)===null||ua===void 0?void 0:ua.toString())!==null&&ha!==void 0?ha:"")==="[object SafariRemoteNotification]",hf="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(ma=window.ftGlobals)!==null&&ma!==void 0?ma:{lit:xn,litDecorators:On,litRepeat:Cn,litClassMap:wn,litStyleMap:An,litUnsafeHTML:Nn,wcUtils:{...Tn,...Pn,...Ln,...ye,...In,...Mn,...di,...mi,...Ai,...pi,...Ni,...qs,...kn,...Li,...Ii,...Xs,...$i,...la,...Ri,...ca,...da,isSafari:Zr,isTouchScreen:hf}};var Kb={},Pl=T`
|
|
42
|
+
`;var sl={};var zi={};q(zi,{ParametrizedLabelResolver:()=>qr});var qr=class{constructor(t,r){this.defaultLabels=t,this.labels=r}resolve(t,...r){var n,i;t=this.resolvePluralKey(t,r);let a=(i=(n=this.labels[t])!==null&&n!==void 0?n:this.defaultLabels[t])!==null&&i!==void 0?i:"";return r.forEach((s,l)=>a=a.replace(new RegExp(`\\{${l}([^}]*)\\}`,"g"),(c,d)=>this.formatValue(s,d))),a}resolvePluralKey(t,r){for(let n of r)if(typeof n=="number"){let i=`${String(t)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return t}formatValue(t,r){return t instanceof Date?this.formatDate(t,r):t??""}formatDate(t,r){let n=i=>r?.includes("date")?t.toLocaleDateString(i):r?.includes("time")?t.toLocaleTimeString(i):t.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var ya={};q(ya,{FtCommandQueue:()=>Yr,FtLitElementRedux:()=>Gt,FtReduxStore:()=>je,clearAllStores:()=>xf,isFtReduxStore:()=>We,redux:()=>Kt,reduxEventListener:()=>ji,reduxReactive:()=>Hi});var Hi=()=>(e,t)=>{var r;let n=e.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(t)},Kt=e=>{let t=e??{};return(r,n)=>{var i;let a={hasChanged:Dr,attribute:!1,...t};x(a)(r,n);let s=r.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=t.selector)!==null&&i!==void 0?i:l=>l[n],store:t.store})}},ji=e=>(t,r)=>{let n=t.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,e)};var Yr=class{constructor(){this.queue=[]}add(t,r=!1){r&&(this.queue=this.queue.filter(n=>n.type!==t.type)),this.queue.push(t)}consume(t){let r=this.queue.find(n=>n.type===t);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}};function We(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var ll,cl,pl,Fo=Symbol("internalReduxEventsUnsubscribers"),me=Symbol("internalStoresUnsubscribers"),ze=Symbol("internalStores"),Gt=class extends F{constructor(){super(...arguments),this[ll]=new Map,this[cl]=new Map,this[pl]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(r=>t.has(r))&&this.updateFromStores()}getUnnamedStore(){if(this[ze].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[ze].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[ze].get(t)}addStore(t,r){var n;r=(n=r??(We(t)?t.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(r),this.setupStore(r,t)}removeStore(t){let r=typeof t=="string"?t:t.name;this.unsubscribeFromStore(r),this[ze].delete(r)}setupStore(t,r){this[ze].set(t,r),this.subscribeToStore(t,r),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[ze].forEach((t,r)=>this.subscribeToStore(r,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,r)=>{let n=this.constructor.getPropertyOptions(r);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:r)){let i=this.getStore(t.store);i&&(t.store?this[me].has(t.store):this[me].size>0)&&(this[r]=t.selector(i.getState(),this))}})}subscribeToStore(t,r){var n;this[me].set(t,r.subscribe(()=>this.updateFromStores())),We(r)&&r.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||r.name===i.store)){let s=l=>this[a](l);r.eventBus.addEventListener(i.eventName,s),this[Fo].push(()=>r.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[me].forEach((t,r)=>this.unsubscribeFromStore(r)),this[Fo].forEach(t=>t()),this[Fo]=[]}unsubscribeFromStore(t){this[me].has(t)&&this[me].get(t)(),this[me].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};ll=me,cl=ze,pl=Fo;Gt.reduxProperties=new Map;Gt.reduxReactiveProperties=new Set;Gt.reduxEventListeners=new Map;function Tt(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function se(e){return!!e&&!!e[Y]}function Bt(e){var t;return!!e&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===Hd}(e)||Array.isArray(e)||!!e[gl]||!!(!((t=e.constructor)===null||t===void 0)&&t[gl])||Qi(e)||ta(e))}function He(e,t,r){r===void 0&&(r=!1),ir(e)===0?(r?Object.keys:nr)(e).forEach(function(n){r&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,i){return t(i,n,e)})}function ir(e){var t=e[Y];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Qi(e)?2:ta(e)?3:0}function or(e,t){return ir(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Md(e,t){return ir(e)===2?e.get(t):e[t]}function bl(e,t,r){var n=ir(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function xl(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Qi(e){return Wd&&e instanceof Map}function ta(e){return zd&&e instanceof Set}function ye(e){return e.o||e.t}function ea(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Ol(e);delete t[Y];for(var r=nr(t),n=0;n<r.length;n++){var i=r[n],a=t[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function ra(e,t){return t===void 0&&(t=!1),oa(e)||se(e)||!Bt(e)||(ir(e)>1&&(e.set=e.add=e.clear=e.delete=Dd),Object.freeze(e),t&&He(e,function(r,n){return ra(n,!0)},!0)),e}function Dd(){Tt(2)}function oa(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Zt(e){var t=Ji[e];return t||Tt(18,e),t}function Ud(e,t){Ji[e]||(Ji[e]=t)}function qi(){return Jr}function Vi(e,t){t&&(Zt("Patches"),e.u=[],e.s=[],e.v=t)}function Wo(e){Yi(e),e.p.forEach(Bd),e.p=null}function Yi(e){e===Jr&&(Jr=e.l)}function dl(e){return Jr={p:[],l:Jr,h:e,m:!0,_:0}}function Bd(e){var t=e[Y];t.i===0||t.i===1?t.j():t.g=!0}function Ki(e,t){t._=t.p.length;var r=t.p[0],n=e!==void 0&&e!==r;return t.h.O||Zt("ES5").S(t,e,n),n?(r[Y].P&&(Wo(t),Tt(4)),Bt(e)&&(e=zo(t,e),t.l||Ho(t,e)),t.u&&Zt("Patches").M(r[Y].t,e,t.u,t.s)):e=zo(t,r,[]),Wo(t),t.u&&t.v(t.u,t.s),e!==Sl?e:void 0}function zo(e,t,r){if(oa(t))return t;var n=t[Y];if(!n)return He(t,function(l,c){return fl(e,n,t,l,c,r)},!0),t;if(n.A!==e)return t;if(!n.P)return Ho(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=ea(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),He(a,function(l,c){return fl(e,n,i,l,c,r,s)}),Ho(e,i,!1),r&&e.u&&Zt("Patches").N(n,r,e.u,e.s)}return n.o}function fl(e,t,r,n,i,a,s){if(se(i)){var l=zo(e,i,a&&t&&t.i!==3&&!or(t.R,n)?a.concat(n):void 0);if(bl(r,n,l),!se(l))return;e.m=!1}else s&&r.add(i);if(Bt(i)&&!oa(i)){if(!e.h.D&&e._<1)return;zo(e,i),t&&t.A.l||Ho(e,i)}}function Ho(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&ra(t,r)}function Gi(e,t){var r=e[Y];return(r?ye(r):e)[t]}function ul(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function ge(e){e.P||(e.P=!0,e.l&&ge(e.l))}function Zi(e){e.o||(e.o=ea(e.t))}function Xi(e,t,r){var n=Qi(t)?Zt("MapSet").F(t,r):ta(t)?Zt("MapSet").T(t,r):e.O?function(i,a){var s=Array.isArray(i),l={i:s?1:0,A:a?a.A:qi(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},c=l,d=Qr;s&&(c=[l],d=Xr);var f=Proxy.revocable(c,d),h=f.revoke,y=f.proxy;return l.k=y,l.j=h,y}(t,r):Zt("ES5").J(t,r);return(r?r.A:qi()).p.push(n),n}function Fd(e){return se(e)||Tt(22,e),function t(r){if(!Bt(r))return r;var n,i=r[Y],a=ir(r);if(i){if(!i.P&&(i.i<4||!Zt("ES5").K(i)))return i.t;i.I=!0,n=hl(r,a),i.I=!1}else n=hl(r,a);return He(n,function(s,l){i&&Md(i.t,s)===l||bl(n,s,t(l))}),a===3?new Set(n):n}(e)}function hl(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return ea(e)}function vl(){function e(s,l){var c=a[s];return c?c.enumerable=l:a[s]=c={configurable:!0,enumerable:l,get:function(){var d=this[Y];return Qr.get(d,s)},set:function(d){var f=this[Y];Qr.set(f,s,d)}},c}function t(s){for(var l=s.length-1;l>=0;l--){var c=s[l][Y];if(!c.P)switch(c.i){case 5:n(c)&&ge(c);break;case 4:r(c)&&ge(c)}}}function r(s){for(var l=s.t,c=s.k,d=nr(c),f=d.length-1;f>=0;f--){var h=d[f];if(h!==Y){var y=l[h];if(y===void 0&&!or(l,h))return!0;var g=c[h],b=g&&g[Y];if(b?b.t!==y:!xl(g,y))return!0}}var C=!!l[Y];return d.length!==nr(l).length+(C?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var c=Object.getOwnPropertyDescriptor(l,l.length-1);if(c&&!c.get)return!0;for(var d=0;d<l.length;d++)if(!l.hasOwnProperty(d))return!0;return!1}function i(s){s.g&&Tt(3,JSON.stringify(ye(s)))}var a={};Ud("ES5",{J:function(s,l){var c=Array.isArray(s),d=function(h,y){if(h){for(var g=Array(y.length),b=0;b<y.length;b++)Object.defineProperty(g,""+b,e(b,!0));return g}var C=Ol(y);delete C[Y];for(var N=nr(C),_=0;_<N.length;_++){var P=N[_];C[P]=e(P,h||!!C[P].enumerable)}return Object.create(Object.getPrototypeOf(y),C)}(c,s),f={i:c?5:4,A:l?l.A:qi(),P:!1,I:!1,R:{},l,t:s,k:d,o:null,g:!1,C:!1};return Object.defineProperty(d,Y,{value:f,writable:!0}),d},S:function(s,l,c){c?se(l)&&l[Y].A===s&&t(s.p):(s.u&&function d(f){if(f&&typeof f=="object"){var h=f[Y];if(h){var y=h.t,g=h.k,b=h.R,C=h.i;if(C===4)He(g,function(S){S!==Y&&(y[S]!==void 0||or(y,S)?b[S]||d(g[S]):(b[S]=!0,ge(h)))}),He(y,function(S){g[S]!==void 0||or(g,S)||(b[S]=!1,ge(h))});else if(C===5){if(n(h)&&(ge(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),O=0;O<P;O++)g.hasOwnProperty(O)||(b[O]=!0),b[O]===void 0&&d(g[O])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?r(s):n(s)}})}var ml,Jr,na=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Wd=typeof Map<"u",zd=typeof Set<"u",yl=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",Sl=na?Symbol.for("immer-nothing"):((ml={})["immer-nothing"]=!0,ml),gl=na?Symbol.for("immer-draftable"):"__$immer_draftable",Y=na?Symbol.for("immer-state"):"__$immer_state";var Hd=""+Object.prototype.constructor,nr=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Ol=Object.getOwnPropertyDescriptors||function(e){var t={};return nr(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},Ji={},Qr={get:function(e,t){if(t===Y)return e;var r=ye(e);if(!or(r,t))return function(i,a,s){var l,c=ul(a,s);return c?"value"in c?c.value:(l=c.get)===null||l===void 0?void 0:l.call(i.k):void 0}(e,r,t);var n=r[t];return e.I||!Bt(n)?n:n===Gi(e.t,t)?(Zi(e),e.o[t]=Xi(e.A.h,n,e)):n},has:function(e,t){return t in ye(e)},ownKeys:function(e){return Reflect.ownKeys(ye(e))},set:function(e,t,r){var n=ul(ye(e),t);if(n?.set)return n.set.call(e.k,r),!0;if(!e.P){var i=Gi(ye(e),t),a=i?.[Y];if(a&&a.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(xl(r,i)&&(r!==void 0||or(e.t,t)))return!0;Zi(e),ge(e)}return e.o[t]===r&&(r!==void 0||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return Gi(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Zi(e),ge(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=ye(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){Tt(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Tt(12)}},Xr={};He(Qr,function(e,t){Xr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Xr.deleteProperty=function(e,t){return Xr.set.call(this,e,t,void 0)},Xr.set=function(e,t,r){return Qr.set.call(this,e[0],t,r,e[0])};var jd=function(){function e(r){var n=this;this.O=yl,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var l=a;a=i;var c=n;return function(C){var N=this;C===void 0&&(C=l);for(var _=arguments.length,P=Array(_>1?_-1:0),O=1;O<_;O++)P[O-1]=arguments[O];return c.produce(C,function(S){var E;return(E=a).call.apply(E,[N,S].concat(P))})}}var d;if(typeof a!="function"&&Tt(6),s!==void 0&&typeof s!="function"&&Tt(7),Bt(i)){var f=dl(n),h=Xi(n,i,void 0),y=!0;try{d=a(h),y=!1}finally{y?Wo(f):Yi(f)}return typeof Promise<"u"&&d instanceof Promise?d.then(function(C){return Vi(f,s),Ki(C,f)},function(C){throw Wo(f),C}):(Vi(f,s),Ki(d,f))}if(!i||typeof i!="object"){if((d=a(i))===void 0&&(d=i),d===Sl&&(d=void 0),n.D&&ra(d,!0),s){var g=[],b=[];Zt("Patches").M(i,d,g,b),s(g,b)}return d}Tt(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(d){for(var f=arguments.length,h=Array(f>1?f-1:0),y=1;y<f;y++)h[y-1]=arguments[y];return n.produceWithPatches(d,function(g){return i.apply(void 0,[g].concat(h))})};var s,l,c=n.produce(i,a,function(d,f){s=d,l=f});return typeof Promise<"u"&&c instanceof Promise?c.then(function(d){return[d,s,l]}):[c,s,l]},typeof r?.useProxies=="boolean"&&this.setUseProxies(r.useProxies),typeof r?.autoFreeze=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var t=e.prototype;return t.createDraft=function(r){Bt(r)||Tt(8),se(r)&&(r=Fd(r));var n=dl(this),i=Xi(this,r,void 0);return i[Y].C=!0,Yi(n),i},t.finishDraft=function(r,n){var i=r&&r[Y],a=i.A;return Vi(a,n),Ki(void 0,a)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!yl&&Tt(20),this.O=r},t.applyPatches=function(r,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){r=a.value;break}}i>-1&&(n=n.slice(i+1));var s=Zt("Patches").$;return se(r)?s(r,n):this.produce(r,function(l){return s(l,n)})},e}(),wt=new jd,Vd=wt.produce,Lg=wt.produceWithPatches.bind(wt),kg=wt.setAutoFreeze.bind(wt),Mg=wt.setUseProxies.bind(wt),Dg=wt.applyPatches.bind(wt),Ug=wt.createDraft.bind(wt),Bg=wt.finishDraft.bind(wt),jo=Vd;function be(e){"@babel/helpers - typeof";return be=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},be(e)}function ia(e,t){if(be(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(be(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function aa(e){var t=ia(e,"string");return be(t)==="symbol"?t:String(t)}function sa(e,t,r){return t=aa(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cl(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Vo(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Cl(Object(r),!0).forEach(function(n){sa(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Cl(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function ht(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var El=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),la=function(){return Math.random().toString(36).substring(7).split("").join(".")},Ko={INIT:"@@redux/INIT"+la(),REPLACE:"@@redux/REPLACE"+la(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+la()}};function Kd(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function ca(e,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(ht(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(ht(1));return r(ca)(e,t)}if(typeof e!="function")throw new Error(ht(2));var i=e,a=t,s=[],l=s,c=!1;function d(){l===s&&(l=s.slice())}function f(){if(c)throw new Error(ht(3));return a}function h(C){if(typeof C!="function")throw new Error(ht(4));if(c)throw new Error(ht(5));var N=!0;return d(),l.push(C),function(){if(N){if(c)throw new Error(ht(6));N=!1,d();var P=l.indexOf(C);l.splice(P,1),s=null}}}function y(C){if(!Kd(C))throw new Error(ht(7));if(typeof C.type>"u")throw new Error(ht(8));if(c)throw new Error(ht(9));try{c=!0,a=i(a,C)}finally{c=!1}for(var N=s=l,_=0;_<N.length;_++){var P=N[_];P()}return C}function g(C){if(typeof C!="function")throw new Error(ht(10));i=C,y({type:Ko.REPLACE})}function b(){var C,N=h;return C={subscribe:function(P){if(typeof P!="object"||P===null)throw new Error(ht(11));function O(){P.next&&P.next(f())}O();var S=N(O);return{unsubscribe:S}}},C[El]=function(){return this},C}return y({type:Ko.INIT}),n={dispatch:y,subscribe:h,getState:f,replaceReducer:g},n[El]=b,n}function Gd(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:Ko.INIT});if(typeof n>"u")throw new Error(ht(12));if(typeof r(void 0,{type:Ko.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ht(13))})}function wl(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var i=t[n];typeof e[i]=="function"&&(r[i]=e[i])}var a=Object.keys(r),s,l;try{Gd(r)}catch(c){l=c}return function(d,f){if(d===void 0&&(d={}),l)throw l;if(0)var h;for(var y=!1,g={},b=0;b<a.length;b++){var C=a[b],N=r[C],_=d[C],P=N(_,f);if(typeof P>"u"){var O=f&&f.type;throw new Error(ht(14))}g[C]=P,y=y||P!==_}return y=y||a.length!==Object.keys(d).length,y?g:d}}function ar(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function Al(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(ht(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=t.map(function(c){return c(s)});return a=ar.apply(void 0,l)(i.dispatch),Vo(Vo({},i),{},{dispatch:a})}}}function Rl(e){var t=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(l){return typeof l=="function"?l(i,a,e):s(l)}}};return t}var Nl=Rl();Nl.withExtraArgument=Rl;var pa=Nl;var Il=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Zd=function(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(d){return function(f){return c([d,f])}}function c(d){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=d[0]&2?i.return:d[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,d[1])).done)return a;switch(i=0,a&&(d=[d[0]&2,a.value]),d[0]){case 0:case 1:a=d;break;case 4:return r.label++,{value:d[1],done:!1};case 5:r.label++,i=d[1],d=[0];continue;case 7:d=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(d[0]===6||d[0]===2)){r=0;continue}if(d[0]===3&&(!a||d[1]>a[0]&&d[1]<a[3])){r.label=d[1];break}if(d[0]===6&&r.label<a[1]){r.label=a[1],a=d;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(d);break}a[2]&&r.ops.pop(),r.trys.pop();continue}d=t.call(e,r)}catch(f){d=[6,f],i=0}finally{n=a=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}},sr=function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e},qd=Object.defineProperty,Yd=Object.defineProperties,Xd=Object.getOwnPropertyDescriptors,_l=Object.getOwnPropertySymbols,Jd=Object.prototype.hasOwnProperty,Qd=Object.prototype.propertyIsEnumerable,Pl=function(e,t,r){return t in e?qd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},xe=function(e,t){for(var r in t||(t={}))Jd.call(t,r)&&Pl(e,r,t[r]);if(_l)for(var n=0,i=_l(t);n<i.length;n++){var r=i[n];Qd.call(t,r)&&Pl(e,r,t[r])}return e},da=function(e,t){return Yd(e,Xd(t))},tf=function(e,t,r){return new Promise(function(n,i){var a=function(c){try{l(r.next(c))}catch(d){i(d)}},s=function(c){try{l(r.throw(c))}catch(d){i(d)}},l=function(c){return c.done?n(c.value):Promise.resolve(c.value).then(a,s)};l((r=r.apply(e,t)).next())})};var ef=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ar:ar.apply(null,arguments)},ob=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function rf(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var r=t;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return t===r}var of=function(e){Il(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=e.apply(this,r)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,sr([void 0],r[0].concat(this)))):new(t.bind.apply(t,sr([void 0],r.concat(this))))},t}(Array),nf=function(e){Il(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=e.apply(this,r)||this;return Object.setPrototypeOf(i,t.prototype),i}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,sr([void 0],r[0].concat(this)))):new(t.bind.apply(t,sr([void 0],r.concat(this))))},t}(Array);function ha(e){return Bt(e)?jo(e,function(){}):e}function af(e){return typeof e=="boolean"}function sf(){return function(t){return lf(t)}}function lf(e){e===void 0&&(e={});var t=e.thunk,r=t===void 0?!0:t,n=e.immutableCheck,i=n===void 0?!0:n,a=e.serializableCheck,s=a===void 0?!0:a,l=new of;if(r&&(af(r)?l.push(pa):l.push(pa.withExtraArgument(r.extraArgument))),0){if(i)var c;if(s)var d}return l}var fa=!0;function Ll(e){var t=sf(),r=e||{},n=r.reducer,i=n===void 0?void 0:n,a=r.middleware,s=a===void 0?t():a,l=r.devTools,c=l===void 0?!0:l,d=r.preloadedState,f=d===void 0?void 0:d,h=r.enhancers,y=h===void 0?void 0:h,g;if(typeof i=="function")g=i;else if(rf(i))g=wl(i);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var b=s;if(typeof b=="function"&&(b=b(t),!fa&&!Array.isArray(b)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!fa&&b.some(function(S){return typeof S!="function"}))throw new Error("each middleware provided to configureStore must be a function");var C=Al.apply(void 0,b),N=ar;c&&(N=ef(xe({trace:!fa},typeof c=="object"&&c)));var _=new nf(C),P=_;Array.isArray(y)?P=sr([C],y):typeof y=="function"&&(P=y(_));var O=N.apply(void 0,P);return ca(g,f,O)}function ve(e,t){function r(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(t){var a=t.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return xe(xe({type:e,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:e,payload:n[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(n){return n.type===e},r}function kl(e){var t={},r=[],n,i={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[l]=s,i},addMatcher:function(a,s){return r.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return e(i),[t,r,n]}function cf(e){return typeof e=="function"}function pf(e,t,r,n){r===void 0&&(r=[]);var i=typeof t=="function"?kl(t):[t,r,n],a=i[0],s=i[1],l=i[2],c;if(cf(e))c=function(){return ha(e())};else{var d=ha(e);c=function(){return d}}function f(h,y){h===void 0&&(h=c());var g=sr([a[y.type]],s.filter(function(b){var C=b.matcher;return C(y)}).map(function(b){var C=b.reducer;return C}));return g.filter(function(b){return!!b}).length===0&&(g=[l]),g.reduce(function(b,C){if(C)if(se(b)){var N=b,_=C(N,y);return _===void 0?b:_}else{if(Bt(b))return jo(b,function(P){return C(P,y)});var _=C(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=c,f}function df(e,t){return e+"/"+t}function Ml(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var r=typeof e.initialState=="function"?e.initialState:ha(e.initialState),n=e.reducers||{},i=Object.keys(n),a={},s={},l={};i.forEach(function(f){var h=n[f],y=df(t,f),g,b;"reducer"in h?(g=h.reducer,b=h.prepare):g=h,a[f]=g,s[y]=g,l[f]=b?ve(y,b):ve(y)});function c(){var f=typeof e.extraReducers=="function"?kl(e.extraReducers):[e.extraReducers],h=f[0],y=h===void 0?{}:h,g=f[1],b=g===void 0?[]:g,C=f[2],N=C===void 0?void 0:C,_=xe(xe({},y),s);return pf(r,function(P){for(var O in _)P.addCase(O,_[O]);for(var S=0,E=b;S<E.length;S++){var k=E[S];P.addMatcher(k.matcher,k.reducer)}N&&P.addDefaultCase(N)})}var d;return{name:t,reducer:function(f,h){return d||(d=c()),d(f,h)},actions:l,caseReducers:a,getInitialState:function(){return d||(d=c()),d.getInitialState()}}}var ff="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",uf=function(e){e===void 0&&(e=21);for(var t="",r=e;r--;)t+=ff[Math.random()*64|0];return t},hf=["name","message","stack","code"],ua=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),Tl=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),mf=function(e){if(typeof e=="object"&&e!==null){for(var t={},r=0,n=hf;r<n.length;r++){var i=n[r];typeof e[i]=="string"&&(t[i]=e[i])}return t}return{message:String(e)}},sb=function(){function e(t,r,n){var i=ve(t+"/fulfilled",function(f,h,y,g){return{payload:f,meta:da(xe({},g||{}),{arg:y,requestId:h,requestStatus:"fulfilled"})}}),a=ve(t+"/pending",function(f,h,y){return{payload:void 0,meta:da(xe({},y||{}),{arg:h,requestId:f,requestStatus:"pending"})}}),s=ve(t+"/rejected",function(f,h,y,g,b){return{payload:g,error:(n&&n.serializeError||mf)(f||"Rejected"),meta:da(xe({},b||{}),{arg:y,requestId:h,rejectedWithValue:!!g,requestStatus:"rejected",aborted:f?.name==="AbortError",condition:f?.name==="ConditionError"})}}),l=!1,c=typeof AbortController<"u"?AbortController:function(){function f(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return f.prototype.abort=function(){},f}();function d(f){return function(h,y,g){var b=n?.idGenerator?n.idGenerator(f):uf(),C=new c,N,_=!1;function P(S){N=S,C.abort()}var O=function(){return tf(this,null,function(){var S,E,k,U,ut,j,m;return Zd(this,function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),U=(S=n?.condition)==null?void 0:S.call(n,f,{getState:y,extra:g}),gf(U)?[4,U]:[3,2];case 1:U=v.sent(),v.label=2;case 2:if(U===!1||C.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return _=!0,ut=new Promise(function(R,z){return C.signal.addEventListener("abort",function(){return z({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([ut,Promise.resolve(r(f,{dispatch:h,getState:y,extra:g,requestId:b,signal:C.signal,abort:P,rejectWithValue:function(R,z){return new ua(R,z)},fulfillWithValue:function(R,z){return new Tl(R,z)}})).then(function(R){if(R instanceof ua)throw R;return R instanceof Tl?i(R.payload,b,f,R.meta):i(R,b,f)})])];case 3:return k=v.sent(),[3,5];case 4:return j=v.sent(),k=j instanceof ua?s(null,b,f,j.payload,j.meta):s(j,b,f),[3,5];case 5:return m=n&&!n.dispatchConditionRejection&&s.match(k)&&k.meta.condition,m||h(k),[2,k]}})})}();return Object.assign(O,{abort:P,requestId:b,arg:f,unwrap:function(){return O.then(yf)}})}}return Object.assign(d,{pending:a,rejected:s,fulfilled:i,typePrefix:t})}return e.withTypes=function(){return e},e}();function yf(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function gf(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Dl="listener",Ul="completed",Bl="cancelled",lb="task-"+Bl,cb="task-"+Ul,pb=Dl+"-"+Bl,db=Dl+"-"+Ul;var ma="listenerMiddleware";var fb=ve(ma+"/add"),ub=ve(ma+"/removeAll"),hb=ve(ma+"/remove");var $l,mb=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return($l||($l=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},bf=function(e){return function(t){setTimeout(t,e)}},yb=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:bf(10);vl();window.ftReduxStores||(window.ftReduxStores={});var je=class e{static get(t){var r;let n=typeof t=="string"?t:t.name,i=typeof t=="string"?void 0:t,a=window.ftReduxStores[n];if(We(a))return a;if(i==null)return;let s=Ml({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),l=Ll({reducer:(c,d)=>d.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof d.type=="string"&&d.type.startsWith("DEFAULT_VALUE_SETTER__")?{...c,...d.overwrites}:s.reducer(c,d)});return window.ftReduxStores[i.name]=new e(s,l)}constructor(t,r){this.reduxSlice=t,this.reduxStore=r,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Yr,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,l=n[s];return l?(...c)=>{let d=l(...c);return this.reduxStore.dispatch(d),d}:c=>{this.setState({[s]:c})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function xf(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))We(t)&&t.clear()}var ga={};q(ga,{serializeRequest:()=>Sf});function vf(e){return`"${e}"`}function Sf(e,t){var r,n,i,a;let s=new URLSearchParams({"content-lang":(r=t.contentLocale)!==null&&r!==void 0?r:"all"});if(((n=t.query)===null||n===void 0?void 0:n.length)>0&&s.append("query",t.query),t.scope&&t.scope!=="DEFAULT"&&s.append("scope",t.scope.toLowerCase()),t.virtualField&&t.virtualField!=="EVERYWHERE"&&s.append("virtual-field",t.virtualField.toLowerCase()),t.periodFilter){let c=t.periodFilter.period,d=c?`_${c.from}_${c.to}`:"";s.append("period",t.periodFilter.periodType.toLowerCase()+d)}if(((i=t.sort)===null||i===void 0?void 0:i.length)>0&&t.sort[0].key==="ft:lastEdition"&&s.append("sort","last_update"),((a=t.filters)===null||a===void 0?void 0:a.length)>0){let c=t.filters.map(d=>{let f=d.values.map(h=>h.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(h=>encodeURIComponent(vf(h))).join("_");return`${d.key}~${f}`}).join("*");s.append("filters",c)}return new URL(`${e.replace(/\/+$/,"")}/search?${s.toString()}`).href}var xa={};q(xa,{toFtFormComponent:()=>ba});var Go=Symbol("elementInternals");function ba(e,t){class r extends e{static get formAssociated(){return!0}get form(){return this[Go].form}constructor(...i){super(i),this[Go]=this.attachInternals(),this[Go].role=t}setFormValue(i){this[Go].setFormValue(i)}}return r}var Se=class{static format(t,r,n,i){return window.moment?window.moment(t).locale(r).format(this.getDateFormat(n,i)):t}static getDateFormat(t,r){return t?r?"lll":"ll":r?"L LT":"L"}};var va,Sa,Oa,Ca,to=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Oa=(Sa=(va=window.safari)===null||va===void 0?void 0:va.pushNotification)===null||Sa===void 0?void 0:Sa.toString())!==null&&Oa!==void 0?Oa:"")==="[object SafariRemoteNotification]",Of="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Ca=window.ftGlobals)!==null&&Ca!==void 0?Ca:{lit:An,litDecorators:_n,litRepeat:Tn,litClassMap:$n,litStyleMap:In,litUnsafeHTML:kn,wcUtils:{...Un,...Dn,...Bn,...Se,...Fn,...Hn,...bi,...Oi,...Ii,...gi,...Mi,...ki,...il,...zn,...Fi,...Wi,...sl,...zi,...ya,...Li,...ga,...xa,isSafari:to,isTouchScreen:Of}};var nx={},Fl=T`
|
|
43
43
|
:host {
|
|
44
44
|
display: inline-block;
|
|
45
45
|
}
|
|
@@ -59,8 +59,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
59
59
|
all: unset;
|
|
60
60
|
position: relative;
|
|
61
61
|
}
|
|
62
|
-
`;var
|
|
63
|
-
.ft-typography--${
|
|
62
|
+
`;var Wl;(function(e){e.FEEDBACK="FEEDBACK",e.RATING="RATING",e.PRINT="PRINT",e.BOOKMARK="BOOKMARK",e.COLLECTIONS="COLLECTIONS",e.PERSONAL_BOOKS="PERSONAL_BOOKS"})(Wl||(Wl={}));var Cf=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},wa=class extends Event{constructor(){super("register-ft-reader-component",{bubbles:!0,composed:!0})}},Ea=Symbol("registerInterval");function Ef(e){var t;class r extends e{constructor(){super(...arguments),this[t]=0}setReaderStateManager(i){this.clearStateManager(),this.stateManager=i,this.addStore(i.store,"reader")}clearStateManager(){this.stateManager&&(this.removeStore("reader"),this.stateManager=void 0)}get service(){var i;return(i=this.stateManager)===null||i===void 0?void 0:i.service}connectedCallback(){super.connectedCallback(),this[Ea]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null?window.clearInterval(this[Ea]):this.dispatchEvent(new wa)}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return t=Ea,Cf([Q()],r.prototype,"stateManager",void 0),r}var Zo=class extends Ef(Gt){};var Hl=Symbol.for(""),wf=e=>{if(e?.r===Hl)return e?._$litStatic$},Aa=e=>({_$litStatic$:e,r:Hl});var zl=new Map,jl=e=>(t,...r)=>{let n=r.length,i,a,s=[],l=[],c,d=0,f=!1;for(;d<n;){for(c=t[d];d<n&&(a=r[d],(i=wf(a))!==void 0);)c+=i+t[++d],f=!0;d!==n&&l.push(a),s.push(c),d++}if(d===n&&s.push(t[n]),f){let h=s.join("$$lit$$");(t=zl.get(h))===void 0&&(s.raw=s,zl.set(h,t=s)),r=l}return e(t,...r)},Ra=jl(ts),fx=jl(es);var $t;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button",e.display="display",e.title1="title-1",e.title2="title-2",e.title3="title-3",e.body1regular="body-1-regular",e.body1medium="body-1-medium",e.body1semibold="body-1-semibold",e.body2regular="body-2-regular",e.body2medium="body-2-medium",e.body2semibold="body-2-semibold",e.label1medium="label-1-medium",e.label1semibold="label-1-semibold",e.label1bold="label-1-bold",e.label2medium="label-2-medium",e.label2semibold="label-2-semibold",e.label2bold="label-2-bold",e.caption1medium="caption-1-medium",e.caption1semibold="caption-1-semibold",e.caption1bold="caption-1-bold",e.caption2medium="caption-2-medium",e.caption2semibold="caption-2-semibold",e.caption2bold="caption-2-bold"})($t||($t={}));function Vl(e){let t=Ur[e];return T`
|
|
63
|
+
.ft-typography--${Qt(e)} {
|
|
64
64
|
font-family: ${t.fontFamily};
|
|
65
65
|
font-size: ${t.fontSize};
|
|
66
66
|
font-weight: ${t.fontWeight};
|
|
@@ -68,45 +68,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
68
68
|
line-height: ${t.lineHeight};
|
|
69
69
|
text-transform: ${t.textCase};
|
|
70
70
|
}
|
|
71
|
-
`}var
|
|
71
|
+
`}var Kl=o.extend("--ft-typography-font-family","",D.titleFont),le=o.extend("--ft-typography-font-family","",D.contentFont),I={fontFamily:le,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")},lr={fontFamily:o.extend("--ft-typography-title-font-family","",Kl),fontSize:o.extend("--ft-typography-title-font-size","",I.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",I.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",I.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",I.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",I.textTransform,"inherit")},cr={fontFamily:o.extend("--ft-typography-title-dense-font-family","",Kl),fontSize:o.extend("--ft-typography-title-dense-font-size","",I.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",I.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",I.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",I.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",I.textTransform,"inherit")},pr={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",le),fontSize:o.extend("--ft-typography-subtitle1-font-size","",I.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",I.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",I.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",I.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",I.textTransform,"inherit")},dr={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",le),fontSize:o.extend("--ft-typography-subtitle2-font-size","",I.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",I.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",I.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",I.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",I.textTransform,"inherit")},fr={fontFamily:o.extend("--ft-typography-body1-font-family","",le),fontSize:o.extend("--ft-typography-body1-font-size","",I.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",I.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",I.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",I.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",I.textTransform,"inherit")},qt={fontFamily:o.extend("--ft-typography-body2-font-family","",le),fontSize:o.extend("--ft-typography-body2-font-size","",I.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",I.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",I.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",I.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",I.textTransform,"inherit")},ur={fontFamily:o.extend("--ft-typography-caption-font-family","",le),fontSize:o.extend("--ft-typography-caption-font-size","",I.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",I.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",I.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",I.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",I.textTransform,"inherit")},hr={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",le),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",I.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",I.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",I.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",I.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",I.textTransform,"inherit")},mr={fontFamily:o.extend("--ft-typography-overline-font-family","",le),fontSize:o.extend("--ft-typography-overline-font-size","",I.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",I.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",I.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",I.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",I.textTransform,"uppercase")},Yt={fontFamily:o.extend("--ft-typography-button-font-family","",le),fontSize:o.extend("--ft-typography-button-font-size","",I.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",I.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",I.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",I.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",I.textTransform,"uppercase")},Gl=T`
|
|
72
72
|
.ft-typography--title {
|
|
73
|
-
font-family: ${nr.fontFamily};
|
|
74
|
-
font-size: ${nr.fontSize};
|
|
75
|
-
font-weight: ${nr.fontWeight};
|
|
76
|
-
letter-spacing: ${nr.letterSpacing};
|
|
77
|
-
line-height: ${nr.lineHeight};
|
|
78
|
-
text-transform: ${nr.textTransform};
|
|
79
|
-
}
|
|
80
|
-
`,Ul=T`
|
|
81
|
-
.ft-typography--title-dense {
|
|
82
|
-
font-family: ${ir.fontFamily};
|
|
83
|
-
font-size: ${ir.fontSize};
|
|
84
|
-
font-weight: ${ir.fontWeight};
|
|
85
|
-
letter-spacing: ${ir.letterSpacing};
|
|
86
|
-
line-height: ${ir.lineHeight};
|
|
87
|
-
text-transform: ${ir.textTransform};
|
|
88
|
-
}
|
|
89
|
-
`,Bl=T`
|
|
90
|
-
.ft-typography--subtitle1 {
|
|
91
|
-
font-family: ${ar.fontFamily};
|
|
92
|
-
font-size: ${ar.fontSize};
|
|
93
|
-
font-weight: ${ar.fontWeight};
|
|
94
|
-
letter-spacing: ${ar.letterSpacing};
|
|
95
|
-
line-height: ${ar.lineHeight};
|
|
96
|
-
text-transform: ${ar.textTransform};
|
|
97
|
-
}
|
|
98
|
-
`,Wl=T`
|
|
99
|
-
.ft-typography--subtitle2 {
|
|
100
|
-
font-family: ${sr.fontFamily};
|
|
101
|
-
font-size: ${sr.fontSize};
|
|
102
|
-
font-weight: ${sr.fontWeight};
|
|
103
|
-
letter-spacing: ${sr.letterSpacing};
|
|
104
|
-
line-height: ${sr.lineHeight};
|
|
105
|
-
text-transform: ${sr.textTransform};
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
`,Fl=T`
|
|
109
|
-
.ft-typography--body1 {
|
|
110
73
|
font-family: ${lr.fontFamily};
|
|
111
74
|
font-size: ${lr.fontSize};
|
|
112
75
|
font-weight: ${lr.fontWeight};
|
|
@@ -114,17 +77,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
114
77
|
line-height: ${lr.lineHeight};
|
|
115
78
|
text-transform: ${lr.textTransform};
|
|
116
79
|
}
|
|
117
|
-
`,
|
|
118
|
-
.ft-typography--
|
|
119
|
-
font-family: ${Ht.fontFamily};
|
|
120
|
-
font-size: ${Ht.fontSize};
|
|
121
|
-
font-weight: ${Ht.fontWeight};
|
|
122
|
-
letter-spacing: ${Ht.letterSpacing};
|
|
123
|
-
line-height: ${Ht.lineHeight};
|
|
124
|
-
text-transform: ${Ht.textTransform};
|
|
125
|
-
}
|
|
126
|
-
`,Hl=T`
|
|
127
|
-
.ft-typography--caption {
|
|
80
|
+
`,Zl=T`
|
|
81
|
+
.ft-typography--title-dense {
|
|
128
82
|
font-family: ${cr.fontFamily};
|
|
129
83
|
font-size: ${cr.fontSize};
|
|
130
84
|
font-weight: ${cr.fontWeight};
|
|
@@ -132,8 +86,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
132
86
|
line-height: ${cr.lineHeight};
|
|
133
87
|
text-transform: ${cr.textTransform};
|
|
134
88
|
}
|
|
135
|
-
`,
|
|
136
|
-
.ft-typography--
|
|
89
|
+
`,ql=T`
|
|
90
|
+
.ft-typography--subtitle1 {
|
|
137
91
|
font-family: ${pr.fontFamily};
|
|
138
92
|
font-size: ${pr.fontSize};
|
|
139
93
|
font-weight: ${pr.fontWeight};
|
|
@@ -141,8 +95,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
141
95
|
line-height: ${pr.lineHeight};
|
|
142
96
|
text-transform: ${pr.textTransform};
|
|
143
97
|
}
|
|
144
|
-
`,
|
|
145
|
-
.ft-typography--
|
|
98
|
+
`,Yl=T`
|
|
99
|
+
.ft-typography--subtitle2 {
|
|
146
100
|
font-family: ${dr.fontFamily};
|
|
147
101
|
font-size: ${dr.fontSize};
|
|
148
102
|
font-weight: ${dr.fontWeight};
|
|
@@ -150,28 +104,74 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
150
104
|
line-height: ${dr.lineHeight};
|
|
151
105
|
text-transform: ${dr.textTransform};
|
|
152
106
|
}
|
|
153
|
-
|
|
107
|
+
|
|
108
|
+
`,Xl=T`
|
|
109
|
+
.ft-typography--body1 {
|
|
110
|
+
font-family: ${fr.fontFamily};
|
|
111
|
+
font-size: ${fr.fontSize};
|
|
112
|
+
font-weight: ${fr.fontWeight};
|
|
113
|
+
letter-spacing: ${fr.letterSpacing};
|
|
114
|
+
line-height: ${fr.lineHeight};
|
|
115
|
+
text-transform: ${fr.textTransform};
|
|
116
|
+
}
|
|
117
|
+
`,Jl=T`
|
|
118
|
+
.ft-typography--body2 {
|
|
119
|
+
font-family: ${qt.fontFamily};
|
|
120
|
+
font-size: ${qt.fontSize};
|
|
121
|
+
font-weight: ${qt.fontWeight};
|
|
122
|
+
letter-spacing: ${qt.letterSpacing};
|
|
123
|
+
line-height: ${qt.lineHeight};
|
|
124
|
+
text-transform: ${qt.textTransform};
|
|
125
|
+
}
|
|
126
|
+
`,Ql=T`
|
|
127
|
+
.ft-typography--caption {
|
|
128
|
+
font-family: ${ur.fontFamily};
|
|
129
|
+
font-size: ${ur.fontSize};
|
|
130
|
+
font-weight: ${ur.fontWeight};
|
|
131
|
+
letter-spacing: ${ur.letterSpacing};
|
|
132
|
+
line-height: ${ur.lineHeight};
|
|
133
|
+
text-transform: ${ur.textTransform};
|
|
134
|
+
}
|
|
135
|
+
`,tc=T`
|
|
136
|
+
.ft-typography--breadcrumb {
|
|
137
|
+
font-family: ${hr.fontFamily};
|
|
138
|
+
font-size: ${hr.fontSize};
|
|
139
|
+
font-weight: ${hr.fontWeight};
|
|
140
|
+
letter-spacing: ${hr.letterSpacing};
|
|
141
|
+
line-height: ${hr.lineHeight};
|
|
142
|
+
text-transform: ${hr.textTransform};
|
|
143
|
+
}
|
|
144
|
+
`,ec=T`
|
|
145
|
+
.ft-typography--overline {
|
|
146
|
+
font-family: ${mr.fontFamily};
|
|
147
|
+
font-size: ${mr.fontSize};
|
|
148
|
+
font-weight: ${mr.fontWeight};
|
|
149
|
+
letter-spacing: ${mr.letterSpacing};
|
|
150
|
+
line-height: ${mr.lineHeight};
|
|
151
|
+
text-transform: ${mr.textTransform};
|
|
152
|
+
}
|
|
153
|
+
`,rc=T`
|
|
154
154
|
.ft-typography--button {
|
|
155
|
-
font-family: ${
|
|
156
|
-
font-size: ${
|
|
157
|
-
font-weight: ${
|
|
158
|
-
letter-spacing: ${
|
|
159
|
-
line-height: ${
|
|
160
|
-
text-transform: ${
|
|
161
|
-
}
|
|
162
|
-
`,
|
|
155
|
+
font-family: ${Yt.fontFamily};
|
|
156
|
+
font-size: ${Yt.fontSize};
|
|
157
|
+
font-weight: ${Yt.fontWeight};
|
|
158
|
+
letter-spacing: ${Yt.letterSpacing};
|
|
159
|
+
line-height: ${Yt.lineHeight};
|
|
160
|
+
text-transform: ${Yt.textTransform};
|
|
161
|
+
}
|
|
162
|
+
`,oc=T`
|
|
163
163
|
.ft-typography {
|
|
164
164
|
vertical-align: inherit;
|
|
165
165
|
}
|
|
166
|
-
`,
|
|
167
|
-
<${
|
|
166
|
+
`,nc=[Object.keys(Ur).map(e=>Vl(e))];var ic=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},lt=class extends F{constructor(){super(...arguments),this.variant=$t.body1}render(){return this.element?Ra`
|
|
167
|
+
<${Aa(this.element)}
|
|
168
168
|
part="text"
|
|
169
169
|
class="ft-typography ft-typography--${this.variant}">
|
|
170
170
|
<slot></slot>
|
|
171
|
-
</${
|
|
172
|
-
`:
|
|
171
|
+
</${Aa(this.element)}>
|
|
172
|
+
`:Ra`
|
|
173
173
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
174
|
-
`}};lt.styles=[
|
|
174
|
+
`}};lt.styles=[Gl,Zl,ql,Yl,Xl,Jl,Ql,tc,ec,rc,oc,...nc];ic([x()],lt.prototype,"element",void 0);ic([x()],lt.prototype,"variant",void 0);K("ft-typography")(lt);var yr={distance:o.create("--ft-tooltip-distance","","SIZE","4px"),color:o.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:o.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:o.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:o.external(D.borderRadiusS,"Design system"),maxWidth:o.create("--ft-tooltip-max-width","","SIZE","150px")},ac=T`
|
|
175
175
|
.ft-tooltip--container {
|
|
176
176
|
display: block;
|
|
177
177
|
}
|
|
@@ -186,21 +186,21 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
186
186
|
box-sizing: border-box;
|
|
187
187
|
overflow: hidden;
|
|
188
188
|
width: max-content;
|
|
189
|
-
max-width: ${
|
|
189
|
+
max-width: ${yr.maxWidth};
|
|
190
190
|
text-align: center;
|
|
191
|
-
padding: ${
|
|
192
|
-
z-index: ${
|
|
191
|
+
padding: ${yr.distance};
|
|
192
|
+
z-index: ${yr.zIndex};
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
.ft-tooltip--content {
|
|
196
196
|
padding: 4px 8px;
|
|
197
|
-
border-radius: ${
|
|
198
|
-
background-color: ${
|
|
199
|
-
color: ${
|
|
197
|
+
border-radius: ${yr.borderRadiusS};
|
|
198
|
+
background-color: ${yr.backgroundColor};
|
|
199
|
+
color: ${yr.color};
|
|
200
200
|
position: relative;
|
|
201
201
|
word-break: break-word;
|
|
202
202
|
}
|
|
203
|
-
`;var
|
|
203
|
+
`;var bt=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},X=class extends F{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new Ct,this.revealDebouncer=new Ct}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return L`
|
|
204
204
|
<div part="container"
|
|
205
205
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
206
206
|
@mouseenter=${this.onHover}
|
|
@@ -218,7 +218,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
218
218
|
</div>
|
|
219
219
|
</div>
|
|
220
220
|
</div>
|
|
221
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(r=>t.has(r))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",
|
|
221
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(r=>t.has(r))&&this.visible&&this.positionTooltip()}async show(t){this.visible=!0,t!=null&&await this.hideDebounce.run(()=>{this.hide()},t)}hide(){this.visible=!1}toggle(){this.visible=!this.visible}get slottedElement(){var t;return((t=this.slotNodes)!==null&&t!==void 0?t:[]).filter(r=>r.nodeType==Node.ELEMENT_NODE)[0]}resetTooltipContent(){if(this.tooltip&&this.tooltipContent){let t=this.tooltipContent.style;switch(t.transition="none",this.validPosition){case"top":t.top=this.tooltip.clientHeight+"px",t.left="0";break;case"bottom":t.top=-this.tooltip.clientHeight+"px",t.left="0";break;case"left":t.top="0",t.left=this.tooltip.clientWidth+"px";break;case"right":t.top="0",t.left=-this.tooltip.clientWidth+"px";break}}}positionTooltip(){this.resetTooltipContent(),this.tooltip&&this.slottedElement&&(this.tooltip.style.left="",this.tooltip.style.top="",jr(this.slottedElement,this.tooltip,this.position).then(({x:t,y:r})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${r}px`)})),this.revealDebouncer.run(()=>{this.tooltipContent&&(this.tooltipContent.style.transition="top var(--ft-transition-duration, 250ms), left var(--ft-transition-duration, 250ms)",this.tooltipContent.style.top="0",this.tooltipContent.style.left="0")},this.manual?0:this.delay)}onTouch(){this.manual||(this.show(),setTimeout(()=>window.addEventListener("touchstart",t=>{t.composedPath().includes(this.container)||this.onOut()},{once:!0}),100))}onHover(){this.manual||this.show()}onOut(){this.manual||(this.revealDebouncer.cancel(),this.hide())}onClick(){this.manual||(this.revealDebouncer.cancel(),this.hide())}correctOutOfWindowPixels(t,r){return Math.max(t,Math.min(0,-r))}};X.elementDefinitions={"ft-typography":lt};X.styles=ac;bt([x()],X.prototype,"text",void 0);bt([x({type:Boolean})],X.prototype,"manual",void 0);bt([x({type:Boolean})],X.prototype,"inline",void 0);bt([x({type:Number})],X.prototype,"delay",void 0);bt([x()],X.prototype,"position",void 0);bt([Nn()],X.prototype,"slotNodes",void 0);bt([rt(".ft-tooltip--container")],X.prototype,"container",void 0);bt([rt(".ft-tooltip")],X.prototype,"tooltip",void 0);bt([rt(".ft-tooltip--content")],X.prototype,"tooltipContent",void 0);bt([Q()],X.prototype,"visible",void 0);bt([Ye({passive:!0})],X.prototype,"onTouch",null);bt([Ye({passive:!0})],X.prototype,"onHover",null);bt([Ye({passive:!0})],X.prototype,"onOut",null);bt([Ye({passive:!0})],X.prototype,"onClick",null);K("ft-tooltip")(X);var sc=o.extend("--ft-ripple-color","",D.colorContent),W={color:sc,backgroundColor:o.extend("--ft-ripple-background-color","",sc),opacityContentOnSurfacePressed:o.external(D.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:o.external(D.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:o.external(D.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:o.external(D.opacityContentOnSurfaceSelected,"Design system"),borderRadius:o.create("--ft-ripple-border-radius","","SIZE","0px")},lc=o.extend("--ft-ripple-color","",D.colorPrimary),cc={color:lc,backgroundColor:o.extend("--ft-ripple-background-color","",lc)},pc=o.extend("--ft-ripple-color","",D.colorSecondary),dc={color:pc,backgroundColor:o.extend("--ft-ripple-background-color","",pc)},fc=T`
|
|
222
222
|
:host {
|
|
223
223
|
display: contents;
|
|
224
224
|
}
|
|
@@ -231,7 +231,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
231
231
|
|
|
232
232
|
.ft-ripple:not(.ft-ripple--unbounded) {
|
|
233
233
|
overflow: hidden;
|
|
234
|
-
border-radius: ${
|
|
234
|
+
border-radius: ${W.borderRadius};
|
|
235
235
|
}
|
|
236
236
|
|
|
237
237
|
.ft-ripple .ft-ripple--background,
|
|
@@ -265,27 +265,27 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
265
265
|
}
|
|
266
266
|
|
|
267
267
|
.ft-ripple .ft-ripple--background {
|
|
268
|
-
background-color: ${
|
|
268
|
+
background-color: ${W.backgroundColor};
|
|
269
269
|
}
|
|
270
270
|
|
|
271
271
|
.ft-ripple .ft-ripple--effect {
|
|
272
|
-
background-color: ${
|
|
272
|
+
background-color: ${W.color};
|
|
273
273
|
}
|
|
274
274
|
|
|
275
275
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
276
|
-
background-color: ${
|
|
276
|
+
background-color: ${dc.backgroundColor};
|
|
277
277
|
}
|
|
278
278
|
|
|
279
279
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
280
|
-
background-color: ${
|
|
280
|
+
background-color: ${dc.color};
|
|
281
281
|
}
|
|
282
282
|
|
|
283
283
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
284
|
-
background-color: ${
|
|
284
|
+
background-color: ${cc.backgroundColor};
|
|
285
285
|
}
|
|
286
286
|
|
|
287
287
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
288
|
-
background-color: ${
|
|
288
|
+
background-color: ${cc.color};
|
|
289
289
|
}
|
|
290
290
|
|
|
291
291
|
.ft-ripple .ft-ripple--background {
|
|
@@ -315,33 +315,33 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
315
315
|
}
|
|
316
316
|
|
|
317
317
|
.ft-ripple.ft-ripple--hovered .ft-ripple--background {
|
|
318
|
-
opacity: ${
|
|
318
|
+
opacity: ${W.opacityContentOnSurfaceHover};
|
|
319
319
|
}
|
|
320
320
|
|
|
321
321
|
.ft-ripple.ft-ripple--selected .ft-ripple--background {
|
|
322
|
-
opacity: ${
|
|
322
|
+
opacity: ${W.opacityContentOnSurfaceSelected};
|
|
323
323
|
}
|
|
324
324
|
|
|
325
325
|
.ft-ripple.ft-ripple--focused .ft-ripple--background {
|
|
326
|
-
opacity: ${
|
|
326
|
+
opacity: ${W.opacityContentOnSurfaceFocused};
|
|
327
327
|
}
|
|
328
328
|
|
|
329
329
|
.ft-ripple.ft-ripple--pressed .ft-ripple--effect {
|
|
330
|
-
opacity: ${
|
|
330
|
+
opacity: ${W.opacityContentOnSurfacePressed};
|
|
331
331
|
transform: translate(-50%, -50%) scale(1);
|
|
332
332
|
}
|
|
333
|
-
`;var
|
|
333
|
+
`;var xt=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},G=class extends F{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new Ct(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Ct(10),this.moveRipple=t=>{var r,n;let{x:i,y:a}=this.getCoordinates(t),s=(n=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return L`
|
|
334
334
|
<style>
|
|
335
335
|
.ft-ripple .ft-ripple--effect {
|
|
336
336
|
left: ${this.originX}px;
|
|
337
337
|
top: ${this.originY}px;
|
|
338
338
|
}
|
|
339
339
|
</style>
|
|
340
|
-
<div class="${
|
|
340
|
+
<div class="${Mt(t)}">
|
|
341
341
|
<div class="ft-ripple--background"></div>
|
|
342
342
|
<div class="ft-ripple--effect"></div>
|
|
343
343
|
</div>
|
|
344
|
-
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var r,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var t,r;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let r=(...l)=>c=>{l.forEach(d=>window.addEventListener(d,this.endPress,{once:!0})),this.startPress(c)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&r("keyup")(l)},s={passive:!0};t.addEventListener("mouseover",this.startHover,s),t.addEventListener("mousemove",this.moveRipple,s),t.addEventListener("mouseleave",this.endHover,s),t.addEventListener("mousedown",n,s),t.addEventListener("touchstart",i,s),t.addEventListener("touchmove",this.moveRipple,s),t.addEventListener("keydown",a,s),t.addEventListener("focus",this.startFocus,s),t.addEventListener("blur",this.endFocus,s),t.addEventListener("focusin",this.startFocus,s),t.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,s),t.removeEventListener("mousemove",this.moveRipple,s),t.removeEventListener("mouseleave",this.endHover,s),t.removeEventListener("mousedown",n,s),t.removeEventListener("touchstart",i,s),t.removeEventListener("touchmove",this.moveRipple,s),t.removeEventListener("keydown",a,s),t.removeEventListener("focus",this.startFocus,s),t.removeEventListener("blur",this.endFocus,s),t.removeEventListener("focusin",this.startFocus,s),t.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let r=t,n=t,i,a;return r.x!=null?{x:i,y:a}=r:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let r of t.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};V.elementDefinitions={};V.styles=rc;yt([S({type:Boolean})],V.prototype,"primary",void 0);yt([S({type:Boolean})],V.prototype,"secondary",void 0);yt([S({type:Boolean})],V.prototype,"unbounded",void 0);yt([S({type:Boolean})],V.prototype,"activated",void 0);yt([S({type:Boolean})],V.prototype,"selected",void 0);yt([S({type:Boolean})],V.prototype,"disabled",void 0);yt([J()],V.prototype,"hovered",void 0);yt([J()],V.prototype,"focused",void 0);yt([J()],V.prototype,"pressed",void 0);yt([J()],V.prototype,"rippling",void 0);yt([J()],V.prototype,"originX",void 0);yt([J()],V.prototype,"originY",void 0);yt([it(".ft-ripple")],V.prototype,"ripple",void 0);yt([it(".ft-ripple--effect")],V.prototype,"rippleEffect",void 0);K("ft-ripple")(V);var zo;(function(e){e.ADD_TO_PBK="",e.ALERT="",e.ADD_ALERT="",e.BACK_TO_SEARCH="",e.ADD_BOOKMARK="",e.BOOKMARK="",e.BOOKS="",e.MENU="",e.DOWNLOAD="",e.EDIT="",e.FEEDBACK="",e.HOME="",e.MODIFY_PBK="",e.SCHEDULED="",e.SEARCH="",e.EXPORT="",e.TOC="",e.WRITE_UGC="",e.TRASH="",e.USER="",e.EXTLINK="",e.CALENDAR="",e.OFFLINE="",e.BOOK="",e.DOWNLOAD_PLAIN="",e.CHECK="",e.STAR_PLAIN="",e.TOPICS="",e.DISC="",e.CIRCLE="",e.SHARED="",e.SORT_UNSORTED="",e.SORT_UP="",e.SORT_DOWN="",e.WORKING="",e.CLOSE="",e.ZOOM_OUT="",e.ZOOM_IN="",e.ZOOM_REALSIZE="",e.ZOOM_FULLSCREEN="",e.ADMIN_RESTRICTED="",e.ADMIN="",e.ADMIN_KHUB="",e.ADMIN_THEME="",e.ADMIN_USERS="",e.WARNING="",e.CONTEXT="",e.SEARCH_HOME="",e.STEPS="",e.ICON_EXPAND="",e.ICON_COLLAPSE="",e.INFO="",e.MINUS_PLAIN="",e.PLUS_PLAIN="",e.FACET_HAS_DESCENDANT="",e.TRIANGLE_BOTTOM="",e.TRIANGLE_LEFT="",e.TRIANGLE_RIGHT="",e.TRIANGLE_TOP="",e.THIN_ARROW="",e.SIGN_IN="",e.LOGOUT="",e.TRANSLATE="",e.CLOSE_PLAIN="",e.CHECK_PLAIN="",e.ARTICLE="",e.COLUMNS="",e.ANALYTICS="",e.COLLECTIONS="",e.ARROW_DOWN="",e.ARROW_LEFT="",e.ARROW_RIGHT="",e.ARROW_UP="",e.SEARCH_IN_PUBLICATION="",e.COPY_TO_CLIPBOARD="",e.SHARED_PBK="",e.ATTACHMENTS="",e.STRIPE_ARROW_LEFT="",e.STRIPE_ARROW_RIGHT="",e.FILTERS="",e.DOT="",e.MINUS="",e.PLUS="",e.MAILS_AND_NOTIFICATIONS="",e.SAVE="",e.LOCKER="",e.ADMIN_INTEGRATION="",e.SYNC="",e.TAG="",e.BOOK_PLAIN="",e.UPLOAD="",e.ONLINE="",e.TAG_PLAIN="",e.ACCOUNT_SETTINGS="",e.PRINT="",e.DEFAULT_ROLES="",e.SHORTCUT_MENU="",e.RELATIVES_PLAIN="",e.RELATIVES="",e.PAUSE="",e.PLAY="",e.ADMIN_PORTAL="",e.STAR="",e.THUMBS_DOWN="",e.THUMBS_DOWN_PLAIN="",e.THUMBS_UP="",e.THUMBS_UP_PLAIN="",e.FEEDBACK_PLAIN="",e.RATE_PLAIN="",e.RATE="",e.OFFLINE_SETTINGS="",e.MY_COLLECTIONS="",e.THIN_ARROW_LEFT="",e.THIN_ARROW_RIGHT="",e.RESET="",e.MY_LIBRARY="",e.UNSTRUCTURED_DOC="",e.CONTEXTUAL="",e.THIN_ARROW_UP="",e.ARROW_RIGHT_TO_LINE="",e.DESKTOP="",e.TABLET_LANDSCAPE="",e.TABLET_PORTRAIT="",e.MOBILE_LANDSCAPE="",e.MOBILE_PORTRAIT="",e.DIAGRAM_SUNBURST="",e.DIAGRAM_SANKEY="",e.COMMENT_QUESTION="",e.COMMENT_QUESTION_PLAIN="",e.MESSAGE_BOT="",e.CHART_SIMPLE="",e.BARS_PROGRESS="",e.BOOK_OPEN_GEAR="",e.BOOK_OPEN_GEAR_SLASH="",e.LINE_CHART="",e.STACKED_CHART="",e.CHART_BAR_STACKED="",e.CHART_BAR_GROUPED="",e.EYE_SLASH="",e.X_MARK="",e.EXPAND_WIDE="",e.PIP="",e.PIP_WIDE="",e.LIFE_RING="",e.GLOBE="",e.PIGGY_BANK="",e.EXTLINK_LIGHT="",e.CLONE="",e.CLONE_LINK_SIMPLE="",e.CHART_BAR_NORMALIZED="",e.CONSUMER="",e.OCTAGON_XMARK="",e.HOURGLASS_HALF="",e.CLOCK="",e.CLOCK_THREE="",e.CALENDAR_DAY="",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="",e.WAND_MAGIC_SPARKLES="",e.PAPER_PLANE="",e.CIRCLE_STOP="",e.ARROW_ROTATE_RIGHT="",e.ARROWS_ROTATE="",e.ALIGN_RIGHT="",e.FORMAT_CLEAR="",e.ALIGN_CENTER="",e.ALIGN_LEFT="",e.PALETTE="",e.BOLD="",e.ITALIC="",e.UNDERLINE="",e.STRIKETHROUGH="",e.LINK_SIMPLE_SLASH="",e.LINK_SIMPLE="",e.ROUTE="",e.CIRCLE_USER_SLASH="",e.CIRCLE_USER_CHECK="",e.EYE="",e.SHARE="󨃱"})(zo||(zo={}));var w;(function(e){e.UNKNOWN="",e.ABW="",e.AUDIO="",e.AVI="",e.CHM="",e.CODE="",e.CSV="",e.DITA="",e.EPUB="",e.EXCEL="",e.FLAC="",e.GIF="",e.GZIP="",e.HTML="",e.IMAGE="",e.JPEG="",e.JSON="",e.M4A="",e.MOV="",e.MP3="",e.MP4="",e.OGG="",e.PDF="",e.PNG="",e.POWERPOINT="",e.RAR="",e.STP="",e.TEXT="",e.VIDEO="",e.WAV="",e.WMA="",e.WORD="",e.XML="",e.YAML="",e.ZIP=""})(w||(w={}));var R0=new Map([...["abw"].map(e=>[e,w.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,w.AUDIO]),...["avi"].map(e=>[e,w.AVI]),...["chm","xhs"].map(e=>[e,w.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,w.CODE]),...["csv"].map(e=>[e,w.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,w.DITA]),...["epub"].map(e=>[e,w.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,w.EXCEL]),...["flac"].map(e=>[e,w.FLAC]),...["gif"].map(e=>[e,w.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,w.GZIP]),...["html","htm","xhtml"].map(e=>[e,w.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,w.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,w.JPEG]),...["json"].map(e=>[e,w.JSON]),...["m4a","m4p"].map(e=>[e,w.M4A]),...["mov","qt"].map(e=>[e,w.MOV]),...["mp3"].map(e=>[e,w.MP3]),...["mp4","m4v"].map(e=>[e,w.MP4]),...["ogg","oga"].map(e=>[e,w.OGG]),...["pdf","ps"].map(e=>[e,w.PDF]),...["png"].map(e=>[e,w.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,w.POWERPOINT]),...["rar"].map(e=>[e,w.RAR]),...["stp"].map(e=>[e,w.STP]),...["txt","rtf","md","mdown"].map(e=>[e,w.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,w.VIDEO]),...["wav"].map(e=>[e,w.WAV]),...["wma"].map(e=>[e,w.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,w.WORD]),...["xml","xsl","rdf"].map(e=>[e,w.XML]),...["yaml","yml","x-yaml"].map(e=>[e,w.YAML]),...["zip"].map(e=>[e,w.ZIP])]);var N0={[w.ABW]:"#91ABC6",[w.AUDIO]:"#1795E3",[w.AVI]:"#E63324",[w.CHM]:"#71C3EB",[w.CODE]:"#71C3EB",[w.CSV]:"#1F7345",[w.DITA]:"#71C3EB",[w.EPUB]:"#85B926",[w.EXCEL]:"#1F7345",[w.FLAC]:"#1795E3",[w.GIF]:"#59B031",[w.GZIP]:"#F8AB36",[w.HTML]:"#71C3EB",[w.IMAGE]:"#59B031",[w.JPEG]:"#59B031",[w.JSON]:"#71C3EB",[w.M4A]:"#1795E3",[w.MOV]:"#E63324",[w.MP3]:"#1795E3",[w.MP4]:"#E63324",[w.OGG]:"#1795E3",[w.PDF]:"#E44948",[w.PNG]:"#59B031",[w.POWERPOINT]:"#B54A2B",[w.RAR]:"#F8AB36",[w.STP]:"#3764B1",[w.TEXT]:"#3162AB",[w.UNKNOWN]:"#999999",[w.VIDEO]:"#E63324",[w.WAV]:"#1795E3",[w.WMA]:"#1795E3",[w.WORD]:"#3162AB",[w.XML]:"#71C3EB",[w.YAML]:"#71C3EB",[w.ZIP]:"#F8AB36"};var dt={size:o.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:o.extend("--ft-icon-fluid-topics-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:o.extend("--ft-icon-file-format-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:o.extend("--ft-icon-material-font-family","",o.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:o.create("--ft-icon-vertical-align","","UNKNOWN","unset")},oc=T`
|
|
344
|
+
`}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var r,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(r=this.target)===null||r===void 0||r.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var t,r;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((r=this.target)!==null&&r!==void 0?r:n)}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let r=(...l)=>c=>{l.forEach(d=>window.addEventListener(d,this.endPress,{once:!0})),this.startPress(c)},n=r("mouseup","contextmenu"),i=r("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&r("keyup")(l)},s={passive:!0};t.addEventListener("mouseover",this.startHover,s),t.addEventListener("mousemove",this.moveRipple,s),t.addEventListener("mouseleave",this.endHover,s),t.addEventListener("mousedown",n,s),t.addEventListener("touchstart",i,s),t.addEventListener("touchmove",this.moveRipple,s),t.addEventListener("keydown",a,s),t.addEventListener("focus",this.startFocus,s),t.addEventListener("blur",this.endFocus,s),t.addEventListener("focusin",this.startFocus,s),t.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,s),t.removeEventListener("mousemove",this.moveRipple,s),t.removeEventListener("mouseleave",this.endHover,s),t.removeEventListener("mousedown",n,s),t.removeEventListener("touchstart",i,s),t.removeEventListener("touchmove",this.moveRipple,s),t.removeEventListener("keydown",a,s),t.removeEventListener("focus",this.startFocus,s),t.removeEventListener("blur",this.endFocus,s),t.removeEventListener("focusin",this.startFocus,s),t.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let r=t,n=t,i,a;return r.x!=null?{x:i,y:a}=r:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let r of t.composedPath()){if(r===this.target)break;if("hasAttribute"in r&&r.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};G.elementDefinitions={};G.styles=fc;xt([x({type:Boolean})],G.prototype,"primary",void 0);xt([x({type:Boolean})],G.prototype,"secondary",void 0);xt([x({type:Boolean})],G.prototype,"unbounded",void 0);xt([x({type:Boolean})],G.prototype,"activated",void 0);xt([x({type:Boolean})],G.prototype,"selected",void 0);xt([x({type:Boolean})],G.prototype,"disabled",void 0);xt([Q()],G.prototype,"hovered",void 0);xt([Q()],G.prototype,"focused",void 0);xt([Q()],G.prototype,"pressed",void 0);xt([Q()],G.prototype,"rippling",void 0);xt([Q()],G.prototype,"originX",void 0);xt([Q()],G.prototype,"originY",void 0);xt([rt(".ft-ripple")],G.prototype,"ripple",void 0);xt([rt(".ft-ripple--effect")],G.prototype,"rippleEffect",void 0);K("ft-ripple")(G);var gr;(function(e){e.ADD_TO_PBK="",e.ALERT="",e.ADD_ALERT="",e.BACK_TO_SEARCH="",e.ADD_BOOKMARK="",e.BOOKMARK="",e.BOOKS="",e.MENU="",e.DOWNLOAD="",e.EDIT="",e.FEEDBACK="",e.HOME="",e.MODIFY_PBK="",e.SCHEDULED="",e.SEARCH="",e.EXPORT="",e.TOC="",e.WRITE_UGC="",e.TRASH="",e.USER="",e.EXTLINK="",e.CALENDAR="",e.OFFLINE="",e.BOOK="",e.DOWNLOAD_PLAIN="",e.CHECK="",e.STAR_PLAIN="",e.TOPICS="",e.DISC="",e.CIRCLE="",e.SHARED="",e.SORT_UNSORTED="",e.SORT_UP="",e.SORT_DOWN="",e.WORKING="",e.CLOSE="",e.ZOOM_OUT="",e.ZOOM_IN="",e.ZOOM_REALSIZE="",e.ZOOM_FULLSCREEN="",e.ADMIN_RESTRICTED="",e.ADMIN="",e.ADMIN_KHUB="",e.ADMIN_THEME="",e.ADMIN_USERS="",e.WARNING="",e.CONTEXT="",e.SEARCH_HOME="",e.STEPS="",e.ICON_EXPAND="",e.ICON_COLLAPSE="",e.INFO="",e.MINUS_PLAIN="",e.PLUS_PLAIN="",e.FACET_HAS_DESCENDANT="",e.TRIANGLE_BOTTOM="",e.TRIANGLE_LEFT="",e.TRIANGLE_RIGHT="",e.TRIANGLE_TOP="",e.THIN_ARROW="",e.SIGN_IN="",e.LOGOUT="",e.TRANSLATE="",e.CLOSE_PLAIN="",e.CHECK_PLAIN="",e.ARTICLE="",e.COLUMNS="",e.ANALYTICS="",e.COLLECTIONS="",e.ARROW_DOWN="",e.ARROW_LEFT="",e.ARROW_RIGHT="",e.ARROW_UP="",e.SEARCH_IN_PUBLICATION="",e.COPY_TO_CLIPBOARD="",e.SHARED_PBK="",e.ATTACHMENTS="",e.STRIPE_ARROW_LEFT="",e.STRIPE_ARROW_RIGHT="",e.FILTERS="",e.DOT="",e.MINUS="",e.PLUS="",e.MAILS_AND_NOTIFICATIONS="",e.SAVE="",e.LOCKER="",e.ADMIN_INTEGRATION="",e.SYNC="",e.TAG="",e.BOOK_PLAIN="",e.UPLOAD="",e.ONLINE="",e.TAG_PLAIN="",e.ACCOUNT_SETTINGS="",e.PRINT="",e.DEFAULT_ROLES="",e.SHORTCUT_MENU="",e.RELATIVES_PLAIN="",e.RELATIVES="",e.PAUSE="",e.PLAY="",e.ADMIN_PORTAL="",e.STAR="",e.THUMBS_DOWN="",e.THUMBS_DOWN_PLAIN="",e.THUMBS_UP="",e.THUMBS_UP_PLAIN="",e.FEEDBACK_PLAIN="",e.RATE_PLAIN="",e.RATE="",e.OFFLINE_SETTINGS="",e.MY_COLLECTIONS="",e.THIN_ARROW_LEFT="",e.THIN_ARROW_RIGHT="",e.RESET="",e.MY_LIBRARY="",e.UNSTRUCTURED_DOC="",e.CONTEXTUAL="",e.THIN_ARROW_UP="",e.ARROW_RIGHT_TO_LINE="",e.DESKTOP="",e.TABLET_LANDSCAPE="",e.TABLET_PORTRAIT="",e.MOBILE_LANDSCAPE="",e.MOBILE_PORTRAIT="",e.DIAGRAM_SUNBURST="",e.DIAGRAM_SANKEY="",e.COMMENT_QUESTION="",e.COMMENT_QUESTION_PLAIN="",e.MESSAGE_BOT="",e.CHART_SIMPLE="",e.BARS_PROGRESS="",e.BOOK_OPEN_GEAR="",e.BOOK_OPEN_GEAR_SLASH="",e.LINE_CHART="",e.STACKED_CHART="",e.CHART_BAR_STACKED="",e.CHART_BAR_GROUPED="",e.EYE_SLASH="",e.X_MARK="",e.EXPAND_WIDE="",e.PIP="",e.PIP_WIDE="",e.LIFE_RING="",e.GLOBE="",e.PIGGY_BANK="",e.EXTLINK_LIGHT="",e.CLONE="",e.CLONE_LINK_SIMPLE="",e.CHART_BAR_NORMALIZED="",e.CONSUMER="",e.OCTAGON_XMARK="",e.HOURGLASS_HALF="",e.CLOCK="",e.CLOCK_THREE="",e.CALENDAR_DAY="",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="",e.WAND_MAGIC_SPARKLES="",e.PAPER_PLANE="",e.CIRCLE_STOP="",e.ARROW_ROTATE_RIGHT="",e.ARROWS_ROTATE="",e.ALIGN_RIGHT="",e.FORMAT_CLEAR="",e.ALIGN_CENTER="",e.ALIGN_LEFT="",e.PALETTE="",e.BOLD="",e.ITALIC="",e.UNDERLINE="",e.STRIKETHROUGH="",e.LINK_SIMPLE_SLASH="",e.LINK_SIMPLE="",e.ROUTE="",e.CIRCLE_USER_SLASH="",e.CIRCLE_USER_CHECK="",e.EYE="",e.SHARE="󨃱"})(gr||(gr={}));var A;(function(e){e.UNKNOWN="",e.ABW="",e.AUDIO="",e.AVI="",e.CHM="",e.CODE="",e.CSV="",e.DITA="",e.EPUB="",e.EXCEL="",e.FLAC="",e.GIF="",e.GZIP="",e.HTML="",e.IMAGE="",e.JPEG="",e.JSON="",e.M4A="",e.MOV="",e.MP3="",e.MP4="",e.OGG="",e.PDF="",e.PNG="",e.POWERPOINT="",e.RAR="",e.STP="",e.TEXT="",e.VIDEO="",e.WAV="",e.WMA="",e.WORD="",e.XML="",e.YAML="",e.ZIP=""})(A||(A={}));var Bv=new Map([...["abw"].map(e=>[e,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(e=>[e,A.AUDIO]),...["avi"].map(e=>[e,A.AVI]),...["chm","xhs"].map(e=>[e,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(e=>[e,A.CODE]),...["csv"].map(e=>[e,A.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,A.DITA]),...["epub"].map(e=>[e,A.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,A.EXCEL]),...["flac"].map(e=>[e,A.FLAC]),...["gif"].map(e=>[e,A.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,A.GZIP]),...["html","htm","xhtml"].map(e=>[e,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(e=>[e,A.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,A.JPEG]),...["json"].map(e=>[e,A.JSON]),...["m4a","m4p"].map(e=>[e,A.M4A]),...["mov","qt"].map(e=>[e,A.MOV]),...["mp3"].map(e=>[e,A.MP3]),...["mp4","m4v"].map(e=>[e,A.MP4]),...["ogg","oga"].map(e=>[e,A.OGG]),...["pdf","ps"].map(e=>[e,A.PDF]),...["png"].map(e=>[e,A.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,A.POWERPOINT]),...["rar"].map(e=>[e,A.RAR]),...["stp"].map(e=>[e,A.STP]),...["txt","rtf","md","mdown"].map(e=>[e,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(e=>[e,A.VIDEO]),...["wav"].map(e=>[e,A.WAV]),...["wma"].map(e=>[e,A.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,A.WORD]),...["xml","xsl","rdf"].map(e=>[e,A.XML]),...["yaml","yml","x-yaml"].map(e=>[e,A.YAML]),...["zip"].map(e=>[e,A.ZIP])]);var Fv={[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 it={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")},uc=T`
|
|
345
345
|
:host, i.ft-icon {
|
|
346
346
|
display: inline-flex;
|
|
347
347
|
align-items: center;
|
|
@@ -350,14 +350,14 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
350
350
|
}
|
|
351
351
|
|
|
352
352
|
:host {
|
|
353
|
-
width: ${
|
|
354
|
-
height: ${
|
|
353
|
+
width: ${it.size};
|
|
354
|
+
height: ${it.size};
|
|
355
355
|
}
|
|
356
356
|
|
|
357
357
|
i.ft-icon {
|
|
358
358
|
width: 100%;
|
|
359
359
|
height: 100%;
|
|
360
|
-
font-size: ${
|
|
360
|
+
font-size: ${it.size};
|
|
361
361
|
line-height: 1;
|
|
362
362
|
font-weight: normal;
|
|
363
363
|
text-transform: none;
|
|
@@ -368,33 +368,33 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
368
368
|
text-rendering: auto;
|
|
369
369
|
-webkit-font-smoothing: antialiased;
|
|
370
370
|
-moz-osx-font-smoothing: grayscale;
|
|
371
|
-
vertical-align: ${
|
|
371
|
+
vertical-align: ${it.verticalAlign};
|
|
372
372
|
}
|
|
373
373
|
|
|
374
374
|
i.ft-icon.ft-icon--fluid-topics {
|
|
375
|
-
font-family: ${
|
|
375
|
+
font-family: ${it.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
376
376
|
|
|
377
377
|
/* Ugly fix because font is broken */
|
|
378
|
-
font-size: calc(0.75 * ${
|
|
379
|
-
line-height: ${
|
|
378
|
+
font-size: calc(0.75 * ${it.size});
|
|
379
|
+
line-height: ${it.size};
|
|
380
380
|
position: relative;
|
|
381
381
|
top: -4%;
|
|
382
382
|
justify-content: center;
|
|
383
383
|
}
|
|
384
384
|
|
|
385
385
|
.ft-icon--file-format {
|
|
386
|
-
font-family: ${
|
|
386
|
+
font-family: ${it.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
387
387
|
}
|
|
388
388
|
|
|
389
389
|
.ft-icon--material {
|
|
390
|
-
font-family: ${
|
|
390
|
+
font-family: ${it.materialFontFamily}, "Material Icons", sans-serif;
|
|
391
391
|
}
|
|
392
|
-
`;var
|
|
392
|
+
`;var vt;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(vt||(vt={}));var qo=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},pt=class extends F{constructor(){super(...arguments),this.resolvedIcon=H}render(){let t=this.variant&&Object.values(vt).includes(this.variant)?this.variant:vt.fluid_topics,r=t!==vt.material||!!this.value;return L`
|
|
393
393
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
394
|
-
${
|
|
394
|
+
${Ln(this.resolvedIcon)}
|
|
395
395
|
<slot ?hidden=${r}></slot>
|
|
396
396
|
</i>
|
|
397
|
-
`}get textContent(){var t,r;return(r=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(t){super.update(t),["value","variant"].some(r=>t.has(r))&&this.resolveIcon()}resolveIcon(){var t,r;let n=this.value||this.textContent;switch(this.variant){case
|
|
397
|
+
`}get textContent(){var t,r;return(r=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(t){super.update(t),["value","variant"].some(r=>t.has(r))&&this.resolveIcon()}resolveIcon(){var t,r;let n=this.value||this.textContent;switch(this.variant){case vt.file_format:this.resolvedIcon=(t=A[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case vt.material:this.resolvedIcon=this.value||H;break;default:this.resolvedIcon=(r=gr[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};pt.elementDefinitions={};pt.styles=uc;qo([x()],pt.prototype,"variant",void 0);qo([x()],pt.prototype,"value",void 0);qo([Q()],pt.prototype,"resolvedIcon",void 0);qo([rt("slot")],pt.prototype,"slottedContent",void 0);K("ft-icon")(pt);var mt={color:o.extend("--ft-loader-color","",D.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},hc=T`
|
|
398
398
|
:host {
|
|
399
399
|
line-height: 0;
|
|
400
400
|
}
|
|
@@ -403,8 +403,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
403
403
|
display: inline-block;
|
|
404
404
|
position: relative;
|
|
405
405
|
|
|
406
|
-
width: ${
|
|
407
|
-
height: ${
|
|
406
|
+
width: ${mt.size};
|
|
407
|
+
height: ${mt.size};
|
|
408
408
|
}
|
|
409
409
|
|
|
410
410
|
.ft-loader div {
|
|
@@ -413,7 +413,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
413
413
|
width: 25%;
|
|
414
414
|
height: 25%;
|
|
415
415
|
border-radius: 50%;
|
|
416
|
-
background: ${
|
|
416
|
+
background: ${mt.color};
|
|
417
417
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
418
418
|
}
|
|
419
419
|
|
|
@@ -460,10 +460,10 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
460
460
|
transform: translate(0, 0);
|
|
461
461
|
}
|
|
462
462
|
100% {
|
|
463
|
-
transform: translate(calc(0.35 * ${
|
|
463
|
+
transform: translate(calc(0.35 * ${mt.size}), 0);
|
|
464
464
|
}
|
|
465
465
|
}
|
|
466
|
-
`;var
|
|
466
|
+
`;var mc=o.extend("--ft-button-color","",D.colorPrimary),tt={backgroundColor:o.extend("--ft-button-background-color","",D.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",D.borderRadiusL),color:mc,fontSize:o.extend("--ft-button-font-size","",Yt.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",mc),verticalPadding:o.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.external(D.colorOpacityDisabled,"Design system")},yc=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",D.colorOnPrimary)),Na={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",D.colorPrimary)),color:yc,rippleColor:o.extend("--ft-button-primary-ripple-color","",yc)},Xt={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",D.borderRadiusM)),verticalPadding:o.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:o.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:o.create("--ft-button-dense-icon-padding","","SIZE","4px")},gc=[T`
|
|
467
467
|
:host {
|
|
468
468
|
display: inline-block;
|
|
469
469
|
max-width: 100%;
|
|
@@ -474,7 +474,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
474
474
|
box-shadow: 0px 0px 0px transparent;
|
|
475
475
|
border: 0px solid transparent;
|
|
476
476
|
text-shadow: 0px 0px 0px transparent;
|
|
477
|
-
font-size: ${
|
|
477
|
+
font-size: ${tt.fontSize};
|
|
478
478
|
}
|
|
479
479
|
|
|
480
480
|
button:hover {
|
|
@@ -503,31 +503,31 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
503
503
|
border: none;
|
|
504
504
|
pointer-events: auto;
|
|
505
505
|
|
|
506
|
-
--ft-button-internal-line-height: max(calc(${
|
|
507
|
-
--ft-button-internal-color: ${
|
|
508
|
-
${
|
|
509
|
-
${
|
|
506
|
+
--ft-button-internal-line-height: max(calc(${tt.fontSize} + 2px), ${tt.iconSize});
|
|
507
|
+
--ft-button-internal-color: ${tt.color};
|
|
508
|
+
${$(it.size,tt.iconSize)};
|
|
509
|
+
${$(W.color,tt.rippleColor)};
|
|
510
510
|
|
|
511
|
-
border-radius: ${
|
|
512
|
-
padding: ${
|
|
513
|
-
background-color: ${
|
|
511
|
+
border-radius: ${tt.borderRadius};
|
|
512
|
+
padding: ${tt.verticalPadding} ${tt.horizontalPadding};
|
|
513
|
+
background-color: ${tt.backgroundColor};
|
|
514
514
|
color: var(--ft-button-internal-color);
|
|
515
515
|
-webkit-mask-image: radial-gradient(white, black);
|
|
516
516
|
}
|
|
517
517
|
|
|
518
518
|
.ft-button.ft-button--outlined {
|
|
519
519
|
border: 1px solid var(--ft-button-internal-color);
|
|
520
|
-
padding: calc(${
|
|
520
|
+
padding: calc(${tt.verticalPadding} - 1px) calc(${tt.horizontalPadding} - 1px);
|
|
521
521
|
}
|
|
522
522
|
|
|
523
523
|
.ft-button.ft-button--dense {
|
|
524
|
-
padding: ${
|
|
525
|
-
border-radius: ${
|
|
526
|
-
gap: ${
|
|
524
|
+
padding: ${Xt.verticalPadding} ${Xt.horizontalPadding};
|
|
525
|
+
border-radius: ${Xt.borderRadius};
|
|
526
|
+
gap: ${Xt.iconPadding};
|
|
527
527
|
}
|
|
528
528
|
|
|
529
529
|
.ft-button.ft-button--dense.ft-button--outlined {
|
|
530
|
-
padding: calc(${
|
|
530
|
+
padding: calc(${Xt.verticalPadding} - 1px) calc(${Xt.horizontalPadding} - 1px);
|
|
531
531
|
}
|
|
532
532
|
|
|
533
533
|
.ft-button:not([disabled]):hover {
|
|
@@ -535,22 +535,22 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
535
535
|
}
|
|
536
536
|
|
|
537
537
|
.ft-button--round {
|
|
538
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
538
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${tt.verticalPadding});
|
|
539
539
|
}
|
|
540
540
|
|
|
541
541
|
.ft-button--round.ft-button--dense {
|
|
542
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
542
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${Xt.verticalPadding});
|
|
543
543
|
}
|
|
544
544
|
|
|
545
545
|
.ft-button[disabled] {
|
|
546
546
|
filter: grayscale(1);
|
|
547
|
-
opacity: ${
|
|
547
|
+
opacity: ${tt.opacityDisabled};
|
|
548
548
|
}
|
|
549
549
|
|
|
550
550
|
.ft-button.ft-button--primary {
|
|
551
|
-
background-color: ${
|
|
552
|
-
--ft-button-internal-color: ${
|
|
553
|
-
${
|
|
551
|
+
background-color: ${Na.backgroundColor};
|
|
552
|
+
--ft-button-internal-color: ${Na.color};
|
|
553
|
+
${$(W.color,Na.rippleColor)};
|
|
554
554
|
}
|
|
555
555
|
|
|
556
556
|
.ft-button:focus {
|
|
@@ -563,13 +563,13 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
563
563
|
white-space: nowrap;
|
|
564
564
|
text-overflow: ellipsis;
|
|
565
565
|
display: block;
|
|
566
|
-
margin: 0 ${
|
|
567
|
-
${
|
|
568
|
-
${
|
|
566
|
+
margin: 0 ${tt.iconPadding};
|
|
567
|
+
${$(Yt.fontSize,"1em")};
|
|
568
|
+
${$(Yt.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
569
569
|
}
|
|
570
570
|
|
|
571
571
|
.ft-button--dense .ft-button--label {
|
|
572
|
-
margin: 0 ${
|
|
572
|
+
margin: 0 ${Xt.iconPadding};
|
|
573
573
|
}
|
|
574
574
|
|
|
575
575
|
.ft-button--label[hidden] {
|
|
@@ -582,13 +582,13 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
582
582
|
}
|
|
583
583
|
|
|
584
584
|
.ft-button--label[hidden] + [part="icon"] {
|
|
585
|
-
margin: 0 calc(${
|
|
586
|
-
padding: 0 ${
|
|
585
|
+
margin: 0 calc(${tt.horizontalPadding} * -1);
|
|
586
|
+
padding: 0 ${tt.verticalPadding};
|
|
587
587
|
}
|
|
588
588
|
|
|
589
589
|
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
590
|
-
margin: 0 calc(${
|
|
591
|
-
padding: 0 ${
|
|
590
|
+
margin: 0 calc(${Xt.horizontalPadding} * -1);
|
|
591
|
+
padding: 0 ${Xt.verticalPadding};
|
|
592
592
|
}
|
|
593
593
|
|
|
594
594
|
.ft-button:not(.ft-button--trailing-icon) [part="label"]{
|
|
@@ -596,43 +596,43 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
596
596
|
}
|
|
597
597
|
|
|
598
598
|
ft-loader {
|
|
599
|
-
${
|
|
600
|
-
${
|
|
599
|
+
${$(mt.size,tt.iconSize)};
|
|
600
|
+
${$(mt.color,"var(--ft-button-internal-color)")};
|
|
601
601
|
}
|
|
602
|
-
`,
|
|
602
|
+
`,Fe];var Ve=class extends F{render(){return L`
|
|
603
603
|
<div class="ft-loader">
|
|
604
604
|
<div></div>
|
|
605
605
|
<div></div>
|
|
606
606
|
<div></div>
|
|
607
607
|
<div></div>
|
|
608
608
|
</div>
|
|
609
|
-
`}};
|
|
609
|
+
`}};Ve.styles=hc;K("ft-loader")(Ve);var At=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},at=class extends ba(F,"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",t=>{var r;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){return this.addTooltipIfNeeded(L`
|
|
610
610
|
<button part="button"
|
|
611
|
-
class="${
|
|
611
|
+
class="${Mt(this.buttonClasses)}"
|
|
612
612
|
aria-label="${this.getLabel()}"
|
|
613
613
|
?disabled=${this.isDisabled()}>
|
|
614
614
|
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
615
615
|
<ft-typography part="label"
|
|
616
616
|
variant=${this.typographyVariant}
|
|
617
617
|
element="span"
|
|
618
|
-
class="ft-button--label ${
|
|
618
|
+
class="ft-button--label ${to?"ft-safari-ellipsis-fix":""}"
|
|
619
619
|
?hidden=${!this.hasTextContent()}>
|
|
620
620
|
<slot @slotchange=${this.onSlotchange}></slot>
|
|
621
621
|
</ft-typography>
|
|
622
622
|
${this.resolveIcon()}
|
|
623
623
|
</button>
|
|
624
|
-
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?
|
|
624
|
+
`)}addTooltipIfNeeded(t){return this.getLabel().trim().length>0&&(this.forceTooltip||!this.hasTextContent()&&!this.hideTooltip)?L`
|
|
625
625
|
<ft-tooltip part="tooltip"
|
|
626
626
|
text="${this.getLabel()}"
|
|
627
627
|
position="${this.tooltipPosition}">
|
|
628
628
|
${t}
|
|
629
629
|
</ft-tooltip>
|
|
630
|
-
`:t}resolveIcon(){return this.loading?
|
|
631
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
630
|
+
`:t}resolveIcon(){return this.loading?L`
|
|
631
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?L`
|
|
632
632
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
633
|
-
`:
|
|
633
|
+
`:L`
|
|
634
634
|
<slot part="icon" name="icon"></slot>
|
|
635
|
-
`}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(r=>this.unslotText(r)).join(""):t?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};
|
|
635
|
+
`}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return this.unslotText(this.slottedContent).trim()}unslotText(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(r=>this.unslotText(r)).join(""):t?.textContent||""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};at.elementDefinitions={"ft-ripple":G,"ft-tooltip":X,"ft-typography":lt,"ft-icon":pt,"ft-loader":Ve};At([x({type:String,reflect:!0})],at.prototype,"role",void 0);At([x()],at.prototype,"type",void 0);At([x({type:Boolean})],at.prototype,"disabled",void 0);At([x()],at.prototype,"label",void 0);At([x()],at.prototype,"icon",void 0);At([x()],at.prototype,"iconVariant",void 0);At([x({type:Boolean})],at.prototype,"trailingIcon",void 0);At([x({type:Boolean})],at.prototype,"loading",void 0);At([x()],at.prototype,"tooltipPosition",void 0);At([x({type:Boolean})],at.prototype,"hideTooltip",void 0);At([x({type:Boolean})],at.prototype,"forceTooltip",void 0);At([rt(".ft-button")],at.prototype,"button",void 0);At([rt(".ft-button--label slot")],at.prototype,"slottedContent",void 0);var Yo=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Rt=class extends at{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"}};Rt.styles=[Zr,gc];Yo([x({type:Boolean})],Rt.prototype,"primary",void 0);Yo([x({type:Boolean})],Rt.prototype,"outlined",void 0);Yo([x({type:Boolean})],Rt.prototype,"dense",void 0);Yo([x({type:Boolean})],Rt.prototype,"round",void 0);var bc=[T`
|
|
636
636
|
:host {
|
|
637
637
|
display: inline-block;
|
|
638
638
|
max-width: 100%;
|
|
@@ -682,7 +682,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
682
682
|
}
|
|
683
683
|
|
|
684
684
|
.ft-button:focus-visible {
|
|
685
|
-
outline-color: ${
|
|
685
|
+
outline-color: ${w.focusFocusRingColor};
|
|
686
686
|
outline-style: solid;
|
|
687
687
|
}
|
|
688
688
|
|
|
@@ -708,149 +708,175 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
708
708
|
display: none;
|
|
709
709
|
}
|
|
710
710
|
|
|
711
|
+
.ft-button.ft-button--icon-only {
|
|
712
|
+
padding: unset;
|
|
713
|
+
border-radius: 50%;
|
|
714
|
+
}
|
|
715
|
+
|
|
711
716
|
/** Primary styles **/
|
|
712
717
|
|
|
713
718
|
.ft-button--primary {
|
|
714
|
-
${
|
|
719
|
+
${$(mt.color,w.primaryIconColor)};
|
|
715
720
|
|
|
716
|
-
${
|
|
717
|
-
${
|
|
718
|
-
${
|
|
719
|
-
${
|
|
720
|
-
${
|
|
721
|
+
${$(W.color,w.primaryStateLayerColor)};
|
|
722
|
+
${$(W.opacityContentOnSurfaceHover,w.primaryHoverStateLayerOpacity)};
|
|
723
|
+
${$(W.opacityContentOnSurfaceFocused,w.primaryFocusStateLayerOpacity)};
|
|
724
|
+
${$(W.opacityContentOnSurfaceSelected,w.primaryActiveStateLayerOpacity)};
|
|
725
|
+
${$(W.opacityContentOnSurfacePressed,w.primaryActiveStateLayerOpacity)};
|
|
721
726
|
|
|
722
|
-
background-color: ${
|
|
723
|
-
color: ${
|
|
727
|
+
background-color: ${w.primaryBackgroundColor};
|
|
728
|
+
color: ${w.primaryColor};
|
|
724
729
|
border-style: none;
|
|
725
730
|
}
|
|
726
731
|
|
|
727
732
|
.ft-button--primary[disabled] {
|
|
728
|
-
opacity: ${
|
|
733
|
+
opacity: ${w.primaryDisabledComponentOpacity};
|
|
729
734
|
}
|
|
730
735
|
|
|
731
736
|
.ft-button--primary ft-icon {
|
|
732
|
-
color: ${
|
|
737
|
+
color: ${w.primaryIconColor};
|
|
733
738
|
}
|
|
734
739
|
|
|
735
740
|
/** Secondary styles **/
|
|
736
741
|
|
|
737
742
|
.ft-button--secondary {
|
|
738
|
-
${
|
|
743
|
+
${$(mt.color,w.secondaryIconColor)};
|
|
739
744
|
|
|
740
|
-
${
|
|
741
|
-
${
|
|
742
|
-
${
|
|
743
|
-
${
|
|
744
|
-
${
|
|
745
|
+
${$(W.color,w.secondaryStateLayerColor)};
|
|
746
|
+
${$(W.opacityContentOnSurfaceHover,w.secondaryHoverStateLayerOpacity)};
|
|
747
|
+
${$(W.opacityContentOnSurfaceFocused,w.secondaryFocusStateLayerOpacity)};
|
|
748
|
+
${$(W.opacityContentOnSurfaceSelected,w.secondaryActiveStateLayerOpacity)};
|
|
749
|
+
${$(W.opacityContentOnSurfacePressed,w.secondaryActiveStateLayerOpacity)};
|
|
745
750
|
|
|
746
|
-
background-color: ${
|
|
747
|
-
color: ${
|
|
748
|
-
border-color: ${
|
|
751
|
+
background-color: ${w.secondaryBackgroundColor};
|
|
752
|
+
color: ${w.secondaryColor};
|
|
753
|
+
border-color: ${w.secondaryBorderColor};
|
|
749
754
|
border-style: solid;
|
|
750
755
|
}
|
|
751
756
|
|
|
752
757
|
.ft-button--secondary[disabled] {
|
|
753
|
-
opacity: ${
|
|
758
|
+
opacity: ${w.secondaryDisabledComponentOpacity};
|
|
754
759
|
}
|
|
755
760
|
|
|
756
761
|
.ft-button--secondary ft-icon {
|
|
757
|
-
color: ${
|
|
762
|
+
color: ${w.secondaryIconColor};
|
|
758
763
|
}
|
|
759
764
|
|
|
760
765
|
/** Tertiary styles **/
|
|
761
766
|
|
|
762
767
|
.ft-button--tertiary {
|
|
763
|
-
${
|
|
768
|
+
${$(mt.color,w.tertiaryIconColor)};
|
|
764
769
|
|
|
765
|
-
${
|
|
766
|
-
${
|
|
767
|
-
${
|
|
768
|
-
${
|
|
769
|
-
${
|
|
770
|
+
${$(W.color,w.tertiaryStateLayerColor)};
|
|
771
|
+
${$(W.opacityContentOnSurfaceHover,w.tertiaryHoverStateLayerOpacity)};
|
|
772
|
+
${$(W.opacityContentOnSurfaceFocused,w.tertiaryFocusStateLayerOpacity)};
|
|
773
|
+
${$(W.opacityContentOnSurfaceSelected,w.tertiaryActiveStateLayerOpacity)};
|
|
774
|
+
${$(W.opacityContentOnSurfacePressed,w.tertiaryActiveStateLayerOpacity)};
|
|
770
775
|
|
|
771
|
-
background-color: ${
|
|
772
|
-
color: ${
|
|
776
|
+
background-color: ${w.tertiaryBackgroundColor};
|
|
777
|
+
color: ${w.tertiaryColor};
|
|
773
778
|
border-style: none;
|
|
774
779
|
}
|
|
775
780
|
|
|
776
781
|
.ft-button--tertiary[disabled] {
|
|
777
|
-
opacity: ${
|
|
782
|
+
opacity: ${w.tertiaryDisabledComponentOpacity};
|
|
778
783
|
}
|
|
779
784
|
|
|
780
785
|
.ft-button--tertiary ft-icon {
|
|
781
|
-
color: ${
|
|
786
|
+
color: ${w.tertiaryIconColor};
|
|
782
787
|
}
|
|
783
788
|
|
|
784
789
|
/** Neutral styles **/
|
|
785
790
|
|
|
786
|
-
.
|
|
787
|
-
${
|
|
791
|
+
.ftds--family-neutral {
|
|
792
|
+
${$(mt.color,w.neutralIconColor)};
|
|
788
793
|
|
|
789
|
-
${
|
|
790
|
-
${
|
|
791
|
-
${
|
|
792
|
-
${
|
|
793
|
-
${
|
|
794
|
+
${$(W.backgroundColor,w.neutralStateLayerColor)};
|
|
795
|
+
${$(W.opacityContentOnSurfaceHover,w.neutralHoverStateLayerOpacity)};
|
|
796
|
+
${$(W.opacityContentOnSurfaceFocused,w.neutralFocusStateLayerOpacity)};
|
|
797
|
+
${$(W.opacityContentOnSurfaceSelected,w.neutralActiveStateLayerOpacity)};
|
|
798
|
+
${$(W.opacityContentOnSurfacePressed,w.neutralActiveStateLayerOpacity)};
|
|
794
799
|
|
|
795
|
-
background-color: ${
|
|
796
|
-
color: ${
|
|
800
|
+
background-color: ${w.neutralBackgroundColor};
|
|
801
|
+
color: ${w.neutralColor};
|
|
797
802
|
border-style: none;
|
|
798
803
|
}
|
|
799
804
|
|
|
800
|
-
.
|
|
801
|
-
opacity: ${
|
|
805
|
+
.ftds--family-neutral[disabled] {
|
|
806
|
+
opacity: ${w.neutralDisabledComponentOpacity};
|
|
802
807
|
}
|
|
803
808
|
|
|
804
|
-
.
|
|
805
|
-
color: ${
|
|
809
|
+
.ftds--family-neutral ft-icon {
|
|
810
|
+
color: ${w.neutralIconColor};
|
|
806
811
|
}
|
|
807
812
|
|
|
808
813
|
/** Large styles **/
|
|
809
814
|
|
|
810
|
-
.
|
|
811
|
-
${
|
|
812
|
-
${
|
|
815
|
+
.ftds--size-large {
|
|
816
|
+
${$(it.size,w.largeIconSize)};
|
|
817
|
+
${$(mt.size,w.largeIconSize)};
|
|
813
818
|
|
|
814
|
-
height: ${
|
|
815
|
-
padding: 0 ${
|
|
816
|
-
gap: ${
|
|
817
|
-
border-radius: ${
|
|
818
|
-
border-width: ${
|
|
819
|
+
height: ${w.largeHeight};
|
|
820
|
+
padding: 0 ${w.largeHorizontalPadding};
|
|
821
|
+
gap: ${w.largeGap};
|
|
822
|
+
border-radius: ${w.largeBorderRadius};
|
|
823
|
+
border-width: ${w.largeBorderWidth};
|
|
819
824
|
}
|
|
820
825
|
|
|
821
|
-
.
|
|
822
|
-
outline-width: ${
|
|
823
|
-
outline-offset: ${
|
|
826
|
+
.ftds--size-large:focus-visible {
|
|
827
|
+
outline-width: ${w.largeFocusOutlineWidth};
|
|
828
|
+
outline-offset: ${w.largeFocusOutlineOffset};
|
|
824
829
|
}
|
|
825
830
|
|
|
826
|
-
.
|
|
827
|
-
width: ${
|
|
828
|
-
padding: unset;
|
|
831
|
+
.ftds--size-large.ft-button--icon-only {
|
|
832
|
+
width: ${w.largeIconOnlyWidth};
|
|
829
833
|
}
|
|
830
834
|
|
|
831
835
|
/** Small styles **/
|
|
832
836
|
|
|
833
|
-
.
|
|
834
|
-
${
|
|
835
|
-
${
|
|
837
|
+
.ftds--size-medium {
|
|
838
|
+
${$(it.size,w.mediumIconSize)};
|
|
839
|
+
${$(mt.size,w.mediumIconSize)};
|
|
836
840
|
|
|
837
|
-
height: ${
|
|
838
|
-
padding: 0 ${
|
|
839
|
-
gap: ${
|
|
840
|
-
border-radius: ${
|
|
841
|
-
border-width: ${
|
|
841
|
+
height: ${w.mediumHeight};
|
|
842
|
+
padding: 0 ${w.mediumHorizontalPadding};
|
|
843
|
+
gap: ${w.mediumGap};
|
|
844
|
+
border-radius: ${w.mediumBorderRadius};
|
|
845
|
+
border-width: ${w.mediumBorderWidth};
|
|
842
846
|
}
|
|
843
847
|
|
|
844
|
-
.
|
|
845
|
-
outline-width: ${
|
|
846
|
-
outline-offset: ${
|
|
848
|
+
.ftds--size-medium:focus-visible {
|
|
849
|
+
outline-width: ${w.mediumFocusOutlineWidth};
|
|
850
|
+
outline-offset: ${w.mediumFocusOutlineOffset};
|
|
847
851
|
}
|
|
848
852
|
|
|
849
|
-
.
|
|
850
|
-
width: ${
|
|
851
|
-
padding: unset;
|
|
853
|
+
.ftds--size-medium.ft-button--icon-only {
|
|
854
|
+
width: ${w.mediumIconOnlyWidth};
|
|
852
855
|
}
|
|
853
|
-
|
|
856
|
+
|
|
857
|
+
|
|
858
|
+
/** Small styles **/
|
|
859
|
+
|
|
860
|
+
.ftds--size-small {
|
|
861
|
+
${$(it.size,w.smallIconSize)};
|
|
862
|
+
${$(mt.size,w.smallIconSize)};
|
|
863
|
+
|
|
864
|
+
height: ${w.smallHeight};
|
|
865
|
+
padding: 0 ${w.smallHorizontalPadding};
|
|
866
|
+
gap: ${w.smallGap};
|
|
867
|
+
border-radius: ${w.smallBorderRadius};
|
|
868
|
+
border-width: ${w.smallBorderWidth};
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
.ftds--size-small:focus-visible {
|
|
872
|
+
outline-width: ${w.smallFocusOutlineWidth};
|
|
873
|
+
outline-offset: ${w.smallFocusOutlineOffset};
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
.ftds--size-small.ft-button--icon-only {
|
|
877
|
+
width: ${w.smallIconOnlyWidth};
|
|
878
|
+
}
|
|
879
|
+
`,Fe];var Xo=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Nt=class extends Bo(at){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=oe.brand,this.iconVariant=vt.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 ct.large:return $t.body2medium;case ct.medium:return $t.caption1medium;case ct.small:return $t.caption2medium}}};Nt.styles=[Zr,bc];Xo([x({type:Boolean})],Nt.prototype,"primary",void 0);Xo([x({type:Boolean})],Nt.prototype,"secondary",void 0);Xo([x({type:Boolean})],Nt.prototype,"tertiary",void 0);Xo([x({type:Boolean})],Nt.prototype,"round",void 0);K("ft-button")(Rt);K("ftds-button")(Nt);var xc=o.extend("--ft-chip-color","",D.colorOnSurface),It={backgroundColor:o.extend("--ft-chip-background-color","",D.colorSurface),color:xc,fontSize:o.extend("--ft-chip-font-size","",qt.fontSize),iconSize:o.create("--ft-chip-icon-size","","SIZE","18px"),borderRadius:o.create("--ft-chip-border-radius","","SIZE",""),rippleColor:o.extend("--ft-chip-ripple-color","",xc),horizontalPadding:o.create("--ft-chip-horizontal-padding","","SIZE","6px"),verticalPadding:o.create("--ft-chip-vertical-padding","","SIZE","6px"),colorOutline:o.external(D.colorOutline,"Design system"),opacityDisabled:o.external(D.colorOpacityDisabled,"Design system")},vc=o.extend("--ft-chip-highlighted-color","",o.extend("--ft-chip-color","",D.colorOnPrimary)),_a={backgroundColor:o.extend("--ft-chip-highlighted-background-color","",o.extend("--ft-chip-background-color","",D.colorPrimary)),color:vc,rippleColor:o.extend("--ft-chip-highlighted-ripple-color","",vc)},Sc={horizontalPadding:o.create("--ft-chip-dense-horizontal-padding","","SIZE","4px"),verticalPadding:o.create("--ft-chip-dense-vertical-padding","","SIZE","4px")},Oc=[Fe,T`
|
|
854
880
|
:host {
|
|
855
881
|
display: inline-block;
|
|
856
882
|
max-width: 100%;
|
|
@@ -866,20 +892,20 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
866
892
|
box-sizing: border-box;
|
|
867
893
|
pointer-events: auto;
|
|
868
894
|
|
|
869
|
-
--ft-chip-internal-font-size: ${
|
|
895
|
+
--ft-chip-internal-font-size: ${It.fontSize};
|
|
870
896
|
--ft-chip-internal-line-height: max(20px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
871
|
-
${
|
|
872
|
-
--ft-chip-internal-vertical-padding: ${
|
|
873
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
897
|
+
${$(it.size,It.iconSize)};
|
|
898
|
+
--ft-chip-internal-vertical-padding: ${It.verticalPadding};
|
|
899
|
+
--ft-chip-internal-horizontal-padding: ${It.horizontalPadding};
|
|
874
900
|
--ft-chip-internal-icon-padding: 3px;
|
|
875
|
-
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${
|
|
901
|
+
--ft-chip-internal-content-height: max(var(--ft-chip-internal-line-height), ${It.iconSize});
|
|
876
902
|
|
|
877
|
-
border: 1px solid ${
|
|
878
|
-
color: ${
|
|
879
|
-
${
|
|
880
|
-
border-radius: var(${
|
|
903
|
+
border: 1px solid ${It.colorOutline};
|
|
904
|
+
color: ${It.color};
|
|
905
|
+
${$(W.color,It.rippleColor)};
|
|
906
|
+
border-radius: var(${Qt(It.borderRadius.name)}, calc(var(--ft-chip-internal-content-height) / 2 + var(--ft-chip-internal-vertical-padding)));
|
|
881
907
|
padding: calc(var(--ft-chip-internal-vertical-padding) - 1px) calc(var(--ft-chip-internal-horizontal-padding) - 1px);
|
|
882
|
-
background-color: ${
|
|
908
|
+
background-color: ${It.backgroundColor};
|
|
883
909
|
line-height: var(--ft-chip-internal-content-height);
|
|
884
910
|
}
|
|
885
911
|
|
|
@@ -889,8 +915,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
889
915
|
|
|
890
916
|
.ft-chip--dense {
|
|
891
917
|
--ft-chip-internal-icon-padding: 3px;
|
|
892
|
-
--ft-chip-internal-vertical-padding: ${
|
|
893
|
-
--ft-chip-internal-horizontal-padding: ${
|
|
918
|
+
--ft-chip-internal-vertical-padding: ${Sc.verticalPadding};
|
|
919
|
+
--ft-chip-internal-horizontal-padding: ${Sc.horizontalPadding};
|
|
894
920
|
--ft-chip-internal-line-height: max(16px, calc(var(--ft-chip-internal-font-size) + 2px));
|
|
895
921
|
}
|
|
896
922
|
|
|
@@ -902,15 +928,15 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
902
928
|
cursor: default;
|
|
903
929
|
pointer-events: none;
|
|
904
930
|
filter: grayscale(1);
|
|
905
|
-
opacity: ${
|
|
931
|
+
opacity: ${It.opacityDisabled};
|
|
906
932
|
}
|
|
907
933
|
|
|
908
934
|
.ft-chip--highlighted {
|
|
909
935
|
border: none;
|
|
910
936
|
padding: var(--ft-chip-internal-vertical-padding) var(--ft-chip-internal-horizontal-padding);
|
|
911
|
-
background-color: ${
|
|
912
|
-
${
|
|
913
|
-
color: ${
|
|
937
|
+
background-color: ${_a.backgroundColor};
|
|
938
|
+
${$(W.color,_a.rippleColor)};
|
|
939
|
+
color: ${_a.color};
|
|
914
940
|
}
|
|
915
941
|
|
|
916
942
|
.ft-chip--clickable {
|
|
@@ -940,9 +966,9 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
940
966
|
}
|
|
941
967
|
|
|
942
968
|
.ft-chip--icon-button {
|
|
943
|
-
${
|
|
944
|
-
${
|
|
945
|
-
${
|
|
969
|
+
${$(tt.iconSize,It.iconSize)};
|
|
970
|
+
${$(tt.horizontalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
971
|
+
${$(tt.verticalPadding,"var(--ft-chip-internal-icon-padding)")};
|
|
946
972
|
margin: calc((-1) * var(--ft-chip-internal-icon-padding));
|
|
947
973
|
}
|
|
948
974
|
|
|
@@ -950,8 +976,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
950
976
|
vertical-align: bottom;
|
|
951
977
|
display: block;
|
|
952
978
|
margin: 0 var(--ft-chip-internal-horizontal-padding);
|
|
953
|
-
${
|
|
954
|
-
${
|
|
979
|
+
${$(qt.fontSize,"var(--ft-chip-internal-font-size)")};
|
|
980
|
+
${$(qt.lineHeight,"var(--ft-chip-internal-content-height)")};
|
|
955
981
|
}
|
|
956
982
|
|
|
957
983
|
.ft-chip--safari-fix .ft-chip--label {
|
|
@@ -987,8 +1013,8 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
987
1013
|
.ft-chip:not(.ft-chip--trailing-icon) .ft-chip--icon-button {
|
|
988
1014
|
order: -1;
|
|
989
1015
|
}
|
|
990
|
-
`];var
|
|
991
|
-
<div class="${
|
|
1016
|
+
`];var _t=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Jo=class extends CustomEvent{constructor(){super("icon-click")}},ot=class extends F{constructor(){super(...arguments),this.highlighted=!1,this.removable=!1,this.disabled=!1,this.clickable=!1,this.iconClickable=!1,this.dense=!1,this.multiLine=!1,this.label="",this.iconLabel="",this.icon=void 0,this.trailingIcon=!1}render(){let t={"ft-chip":!0,"ft-chip--highlighted":this.highlighted,"ft-chip--disabled":this.disabled,"ft-chip--clickable":this.interactionsOnChip,"ft-chip--trailing-icon":this.trailingIcon||this.removable,"ft-chip--no-content":!this.hasTextContent(),"ft-chip--dense":this.dense,"ft-chip--multi-line":this.multiLine,"ft-chip--safari-fix":to};return L`
|
|
1017
|
+
<div class="${Mt(t)}"
|
|
992
1018
|
aria-label="${this.getLabel()}"
|
|
993
1019
|
tabindex="${this.interactionsOnChip?0:-1}"
|
|
994
1020
|
@keyup=${this.onKeyUp}
|
|
@@ -999,7 +1025,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
999
1025
|
</ft-typography>
|
|
1000
1026
|
${this.internalIcon?this.renderIcon():null}
|
|
1001
1027
|
</div>
|
|
1002
|
-
`}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?
|
|
1028
|
+
`}get interactionsOnChip(){return this.clickable&&!this.disabled}get interactionsOnIcon(){return(this.iconClickable||this.removable)&&!this.disabled}renderIcon(){return this.interactionsOnIcon?L`
|
|
1003
1029
|
<ft-button round
|
|
1004
1030
|
class="ft-chip--icon-button"
|
|
1005
1031
|
@click=${this.onIconClick}
|
|
@@ -1008,13 +1034,143 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1008
1034
|
label="${this.iconLabel}"
|
|
1009
1035
|
part="icon-button"
|
|
1010
1036
|
></ft-button>
|
|
1011
|
-
`:
|
|
1037
|
+
`:L`
|
|
1012
1038
|
<div class="ft-chip--icon-container ft-no-text-select" part="icon-container">
|
|
1013
1039
|
<ft-icon .variant=${this.iconVariant} .value="${this.internalIcon}" part="icon"></ft-icon>
|
|
1014
1040
|
</div>
|
|
1015
|
-
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new
|
|
1041
|
+
`}onKeyUp(t){this.interactionsOnChip&&["Enter"," "].includes(t.key)&&t.target.click()}onIconKeyUp(t){this.interactionsOnIcon&&["Enter"," "].includes(t.key)&&(t.stopPropagation(),this.dispatchEvent(new Jo))}onIconClick(t){this.interactionsOnIcon&&(t.stopPropagation(),this.dispatchEvent(new Jo))}getLabel(){return this.label||this.textContent}get textContent(){var t,r;return(r=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}get internalIcon(){return this.icon||(this.removable?"close":void 0)}};ot.elementDefinitions={"ft-ripple":G,"ft-typography":lt,"ft-icon":pt,"ft-button":Rt};ot.styles=Oc;_t([x({type:Boolean})],ot.prototype,"highlighted",void 0);_t([x({type:Boolean})],ot.prototype,"removable",void 0);_t([x({type:Boolean})],ot.prototype,"disabled",void 0);_t([x({type:Boolean})],ot.prototype,"clickable",void 0);_t([x({type:Boolean})],ot.prototype,"iconClickable",void 0);_t([x({type:Boolean})],ot.prototype,"dense",void 0);_t([x({type:Boolean})],ot.prototype,"multiLine",void 0);_t([x()],ot.prototype,"label",void 0);_t([x()],ot.prototype,"iconLabel",void 0);_t([x()],ot.prototype,"icon",void 0);_t([x()],ot.prototype,"iconVariant",void 0);_t([x({type:Boolean})],ot.prototype,"trailingIcon",void 0);_t([rt("ft-typography slot")],ot.prototype,"slottedContent",void 0);var Cc=[T`
|
|
1042
|
+
:host {
|
|
1043
|
+
display: inline-block;
|
|
1044
|
+
max-width: 100%;
|
|
1045
|
+
pointer-events: none;
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1048
|
+
.ftds-chip {
|
|
1049
|
+
display: flex;
|
|
1050
|
+
align-items: center;
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
.ftds-chip ft-typography {
|
|
1054
|
+
display: flex; /* For typo alignment in the chip */
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
/* MEDIUM VARIANT */
|
|
1058
|
+
.ftds--size-medium {
|
|
1059
|
+
min-height: ${B.mediumMinHeight};
|
|
1060
|
+
padding: 0 ${B.mediumHorizontalPadding};
|
|
1061
|
+
border-radius: ${B.mediumBorderRadius};
|
|
1062
|
+
border-width: ${B.mediumBorderWidth};
|
|
1063
|
+
border-style: solid;
|
|
1064
|
+
gap: ${B.mediumGap};
|
|
1065
|
+
${$(it.size,B.mediumIconSize)}
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
.ftds--size-medium.ftds-chip--removable {
|
|
1069
|
+
padding-right: ${B.mediumButtonRightPadding};
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1072
|
+
|
|
1073
|
+
/* LARGE VARIANT */
|
|
1074
|
+
.ftds--size-large {
|
|
1075
|
+
min-height: ${B.largeMinHeight};
|
|
1076
|
+
padding: 0 ${B.largeHorizontalPadding};
|
|
1077
|
+
border-radius: ${B.largeBorderRadius};
|
|
1078
|
+
border-width: ${B.largeBorderWidth};
|
|
1079
|
+
border-style: solid;
|
|
1080
|
+
gap: ${B.largeGap};
|
|
1081
|
+
${$(it.size,B.largeIconSize)}
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
.ftds--size-large.ftds-chip--removable {
|
|
1085
|
+
padding-right: ${B.largeButtonRightPadding};
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
|
|
1089
|
+
/* NEUTRAL COLORS */
|
|
1090
|
+
.ftds--family-neutral {
|
|
1091
|
+
background-color: ${B.neutralBackgroundColor};
|
|
1092
|
+
border-color: ${B.neutralBorderColor};
|
|
1093
|
+
color: ${B.neutralColor};
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
.ftds--family-neutral .ftds-chip--icon-container {
|
|
1097
|
+
color: ${B.neutralIconColor};
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
|
|
1101
|
+
/* INFO COLORS */
|
|
1102
|
+
.ftds--family-info {
|
|
1103
|
+
background-color: ${B.infoBackgroundColor};
|
|
1104
|
+
border-color: ${B.infoBorderColor};
|
|
1105
|
+
color: ${B.infoColor};
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
.ftds--family-info .ftds-chip--icon-container {
|
|
1109
|
+
color: ${B.infoIconColor};
|
|
1110
|
+
}
|
|
1111
|
+
|
|
1112
|
+
|
|
1113
|
+
/* SUCCESS COLORS */
|
|
1114
|
+
.ftds--family-success {
|
|
1115
|
+
background-color: ${B.successBackgroundColor};
|
|
1116
|
+
border-color: ${B.successBorderColor};
|
|
1117
|
+
color: ${B.successColor};
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
.ftds--family-success .ftds-chip--icon-container {
|
|
1121
|
+
color: ${B.successIconColor};
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
|
|
1125
|
+
/* WARNING COLORS */
|
|
1126
|
+
.ftds--family-warning {
|
|
1127
|
+
background-color: ${B.warningBackgroundColor};
|
|
1128
|
+
border-color: ${B.warningBorderColor};
|
|
1129
|
+
color: ${B.warningColor};
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
.ftds--family-warning .ftds-chip--icon-container {
|
|
1133
|
+
color: ${B.warningIconColor};
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
|
|
1137
|
+
/* ERROR COLORS */
|
|
1138
|
+
.ftds--family-error {
|
|
1139
|
+
background-color: ${B.errorBackgroundColor};
|
|
1140
|
+
border-color: ${B.errorBorderColor};
|
|
1141
|
+
color: ${B.errorColor};
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1144
|
+
.ftds--family-error .ftds-chip--icon-container {
|
|
1145
|
+
color: ${B.errorIconColor};
|
|
1146
|
+
}
|
|
1147
|
+
`];var eo=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Pa=class extends CustomEvent{constructor(){super("remove")}},Ft=class extends Kr{constructor(){super(...arguments),this.removable=!1,this.removeButtonLabel="Remove",this.label=""}render(){let t={"ftds-chip":!0,"ftds-chip--removable":this.removable,"ftds-chip--with-icon":!!this.icon,...this.getDesignSystemBaseClasses()};return L`
|
|
1148
|
+
<div class="${Mt(t)}"
|
|
1149
|
+
aria-label="${this.getLabel()}"
|
|
1150
|
+
part="chip">
|
|
1151
|
+
${this.renderIcon()}
|
|
1152
|
+
<ft-typography variant=${this.typographyVariant()} element="span" class="ftds-chip--label" part="label">
|
|
1153
|
+
<slot @slotchange=${this.onSlotchange}></slot>
|
|
1154
|
+
</ft-typography>
|
|
1155
|
+
${this.renderRemoveButton()}
|
|
1156
|
+
</div>
|
|
1157
|
+
`}renderIcon(){return this.icon?L`
|
|
1158
|
+
<div class="ftds-chip--icon-container" part="icon-container">
|
|
1159
|
+
<ft-icon .variant=${vt.fluid_topics} .value="${this.icon}" part="icon"></ft-icon>
|
|
1160
|
+
</div>
|
|
1161
|
+
`:H}renderRemoveButton(){return this.removable?L`
|
|
1162
|
+
<ftds-button round
|
|
1163
|
+
class="ftds-chip--remove-button"
|
|
1164
|
+
@click=${this.dispatchRemoveEvent}
|
|
1165
|
+
icon=${gr.X_MARK}
|
|
1166
|
+
label=${this.removeButtonLabel}
|
|
1167
|
+
family=${oe.neutral}
|
|
1168
|
+
size=${this.resolveButtonSize()}
|
|
1169
|
+
part="icon-button"
|
|
1170
|
+
></ftds-button>
|
|
1171
|
+
`:H}resolveButtonSize(){switch(this.size){case ct.large:return ct.medium;case ct.medium:case ct.small:return ct.small}}getLabel(){return this.label||this.textContent}get textContent(){var t,r;return(r=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}onSlotchange(){this.requestUpdate()}dispatchRemoveEvent(){this.dispatchEvent(new Pa)}typographyVariant(){switch(this.size){case ct.large:return $t.body2medium;case ct.medium:return $t.caption1medium;case ct.small:return $t.caption2medium}}};Ft.elementDefinitions={"ft-typography":lt,"ft-icon":pt,"ftds-button":Nt};Ft.styles=Cc;eo([x({type:Boolean})],Ft.prototype,"removable",void 0);eo([x()],Ft.prototype,"removeButtonLabel",void 0);eo([x()],Ft.prototype,"label",void 0);eo([x()],Ft.prototype,"icon",void 0);eo([rt("ft-typography slot")],Ft.prototype,"slottedContent",void 0);K("ft-chip")(ot);K("ftds-chip")(Ft);var Oe={zIndex:o.create("--ft-floating-menu-z-index","","NUMBER","8"),maxWidth:o.create("--ft-floating-menu-max-width","","SIZE","300px"),maxHeight:o.create("--ft-floating-menu-max-height","","SIZE","500px"),textColor:o.extend("--ft-floating-menu-text-color","",D.colorOnSurfaceHigh),colorSurface:o.external(D.colorSurface,"Design system"),menuElevation:o.external(D.elevation02,"Design system"),borderRadiusS:o.external(D.borderRadiusS,"Design system")},Qo=T`
|
|
1016
1172
|
.ft-floating-menu {
|
|
1017
|
-
color: ${
|
|
1173
|
+
color: ${Oe.textColor};
|
|
1018
1174
|
display: contents;
|
|
1019
1175
|
}
|
|
1020
1176
|
|
|
@@ -1031,19 +1187,19 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1031
1187
|
display: none;
|
|
1032
1188
|
position: relative;
|
|
1033
1189
|
overflow: auto;
|
|
1034
|
-
max-width: ${
|
|
1035
|
-
max-height: ${
|
|
1036
|
-
box-shadow: ${
|
|
1037
|
-
background-color: ${
|
|
1038
|
-
border-radius: ${
|
|
1039
|
-
color: ${
|
|
1040
|
-
z-index: ${
|
|
1190
|
+
max-width: ${Oe.maxWidth};
|
|
1191
|
+
max-height: ${Oe.maxHeight};
|
|
1192
|
+
box-shadow: ${Oe.menuElevation};
|
|
1193
|
+
background-color: ${Oe.colorSurface};
|
|
1194
|
+
border-radius: ${Oe.borderRadiusS};
|
|
1195
|
+
color: ${Oe.textColor};
|
|
1196
|
+
z-index: ${Oe.zIndex};
|
|
1041
1197
|
}
|
|
1042
1198
|
|
|
1043
1199
|
.ft-floating-menu--open .ft-floating-menu--options {
|
|
1044
1200
|
display: block;
|
|
1045
1201
|
}
|
|
1046
|
-
`;var
|
|
1202
|
+
`;var Af={iconColor:o.extend("--ft-floating-menu-icon-color","",D.colorOnSurfaceMedium)},Ec=T`
|
|
1047
1203
|
.ft-floating-menu-item {
|
|
1048
1204
|
cursor: pointer;
|
|
1049
1205
|
display: flex;
|
|
@@ -1058,7 +1214,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1058
1214
|
}
|
|
1059
1215
|
|
|
1060
1216
|
.ft-floating-menu-item ft-icon {
|
|
1061
|
-
color: ${
|
|
1217
|
+
color: ${Af.iconColor};
|
|
1062
1218
|
margin-left: 0;
|
|
1063
1219
|
flex-shrink: 0;
|
|
1064
1220
|
flex-grow: 0;
|
|
@@ -1073,21 +1229,21 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1073
1229
|
word-break: break-word;
|
|
1074
1230
|
hyphens: auto;
|
|
1075
1231
|
}
|
|
1076
|
-
`;var
|
|
1232
|
+
`;var en=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},tn=class extends CustomEvent{constructor(t){super("select",{detail:t,bubbles:!0,composed:!0})}},St=class extends F{constructor(){super(...arguments),this.value="",this.notFocusable=!1}render(){return L`
|
|
1077
1233
|
<div class="ft-floating-menu-item"
|
|
1078
1234
|
tabindex=${this.notFocusable?"-1":"0"}
|
|
1079
1235
|
@keydown=${t=>this.onKeyDown(t)}
|
|
1080
1236
|
@click=${this.onClick}>
|
|
1081
1237
|
<ft-ripple></ft-ripple>
|
|
1082
|
-
${this.icon?
|
|
1238
|
+
${this.icon?L`
|
|
1083
1239
|
<ft-icon .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
1084
|
-
`:
|
|
1240
|
+
`:H}
|
|
1085
1241
|
<ft-typography variant="body2">
|
|
1086
1242
|
<slot></slot>
|
|
1087
1243
|
</ft-typography>
|
|
1088
1244
|
</div>
|
|
1089
|
-
`}onClick(t){this.dispatchEvent(new
|
|
1090
|
-
<div part="container" class="${
|
|
1245
|
+
`}onClick(t){this.dispatchEvent(new tn(this.value))}onKeyDown(t){(t.key=="Enter"||t.key==" ")&&(t.preventDefault(),this.dispatchEvent(new tn(this.value)))}};St.elementDefinitions={"ft-icon":pt,"ft-ripple":G,"ft-typography":lt};St.styles=Ec;en([x()],St.prototype,"iconVariant",void 0);en([x()],St.prototype,"icon",void 0);en([x()],St.prototype,"value",void 0);en([x({type:Boolean})],St.prototype,"notFocusable",void 0);var st=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a};var Z=class extends F{constructor(){super(...arguments),this.menuOpen=!1,this.forceMenuOpen=!1,this.primary=!1,this.secondary=!1,this.tertiary=!1,this.neutral=!1,this.small=!1,this.iconVariant=vt.fluid_topics,this.icon="SHORTCUT_MENU",this.horizontalAlignment="left",this.verticalAlignment="bottom",this.disabled=!1,this.closeMenuMatchers=[],this.hideOptionsOnClickOutside=t=>{this.menuOpen=this.menuOpen&&t.composedPath().includes(this.container)}}render(){let t={"ft-floating-menu":!0,"ft-floating-menu--open":this.forceMenuOpen||this.menuOpen,["ft-floating-menu--"+this.horizontalAlignment.toLowerCase()]:!0,["ft-floating-menu--"+this.verticalAlignment.toLowerCase()]:!0};return L`
|
|
1246
|
+
<div part="container" class="${Mt(t)}">
|
|
1091
1247
|
<slot name="toggle"
|
|
1092
1248
|
part="toggle"
|
|
1093
1249
|
@click=${this.toggleMenu}
|
|
@@ -1121,7 +1277,7 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1121
1277
|
</div>
|
|
1122
1278
|
</div>
|
|
1123
1279
|
</div>
|
|
1124
|
-
`}toggleMenu(){this.menuOpen=!this.menuOpen}openMenu(){this.menuOpen=!0}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){
|
|
1280
|
+
`}toggleMenu(){this.menuOpen=!this.menuOpen}openMenu(){this.menuOpen=!0}closeMenu(){this.menuOpen=!1}onCloseEvent(t){t.stopPropagation(),this.closeMenu()}onContentClick(t){Wn(t,this.closeMenuMatchers,this)&&this.closeMenu()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.hideOptionsOnClickOutside)}contentAvailableCallback(t){super.contentAvailableCallback(t),t.has("menuOpen")&&(this.menuOpen?(this.menuWrapper.classList.remove("ft-floating-menu--wrapper-positioned"),this.positionMenuWrapper(),document.addEventListener("click",this.hideOptionsOnClickOutside)):document.removeEventListener("click",this.hideOptionsOnClickOutside))}async positionMenuWrapper(){this.menuWrapper.style.left="",this.menuWrapper.style.top="";let t=this.customToggle.length>0?this.customToggle[0]:this.actionButton,{x:r,y:n}=await jr(t,this.menuWrapper,this.convertPlacement());this.menuWrapper.style.left=`${r}px`,this.menuWrapper.style.top=`${n}px`,this.menuWrapper.classList.add("ft-floating-menu--wrapper-positioned")}convertPlacement(){switch(this.horizontalAlignment){case"left":return this.verticalAlignment+"-start";case"right":return this.verticalAlignment+"-end";case"center":return this.verticalAlignment+"-center"}}};Z.elementDefinitions={"ft-floating-menu-item":St};st([Q()],Z.prototype,"menuOpen",void 0);st([Q()],Z.prototype,"forceMenuOpen",void 0);st([rt(".ft-floating-menu")],Z.prototype,"container",void 0);st([rt(".ft-floating-menu--wrapper")],Z.prototype,"menuWrapper",void 0);st([rt("#actions-button")],Z.prototype,"actionButton",void 0);st([Rn({slot:"toggle"})],Z.prototype,"customToggle",void 0);st([x({type:Boolean})],Z.prototype,"primary",void 0);st([x({type:Boolean})],Z.prototype,"secondary",void 0);st([x({type:Boolean})],Z.prototype,"tertiary",void 0);st([x({type:Boolean})],Z.prototype,"neutral",void 0);st([x({type:Boolean})],Z.prototype,"small",void 0);st([x()],Z.prototype,"label",void 0);st([x()],Z.prototype,"tooltipPosition",void 0);st([x()],Z.prototype,"iconVariant",void 0);st([x()],Z.prototype,"icon",void 0);st([x()],Z.prototype,"text",void 0);st([x()],Z.prototype,"horizontalAlignment",void 0);st([x()],Z.prototype,"verticalAlignment",void 0);st([x({type:Boolean})],Z.prototype,"disabled",void 0);st([Pt([])],Z.prototype,"closeMenuMatchers",void 0);var Ce=class extends Z{};Ce.elementDefinitions={"ft-or-ftds-button":Rt};Ce.styles=Qo;var br=class extends Z{};br.elementDefinitions={"ft-or-ftds-button":Nt};br.styles=Qo;var Rf={color:o.extend("--ft-floating-menu-label-color","",D.colorOnSurfaceMedium)},wc=T`
|
|
1125
1281
|
.ft-floating-menu-label {
|
|
1126
1282
|
padding: 4px 8px;
|
|
1127
1283
|
}
|
|
@@ -1132,69 +1288,69 @@ Also for action icons.`,p.colorGray200),contentGlobalSubtle:o.extend("--ft-conte
|
|
|
1132
1288
|
width: max-content;
|
|
1133
1289
|
text-overflow: ellipsis;
|
|
1134
1290
|
overflow: hidden;
|
|
1135
|
-
color: ${
|
|
1291
|
+
color: ${Rf.color}
|
|
1136
1292
|
}
|
|
1137
|
-
`;var
|
|
1293
|
+
`;var Ee=class extends F{render(){return L`
|
|
1138
1294
|
<div class="ft-floating-menu-label">
|
|
1139
1295
|
<ft-typography variant="caption">
|
|
1140
1296
|
<slot></slot>
|
|
1141
1297
|
</ft-typography>
|
|
1142
1298
|
</div>
|
|
1143
|
-
`}};
|
|
1144
|
-
`;var
|
|
1299
|
+
`}};Ee.elementDefinitions={"ft-typography":lt};Ee.styles=wc;K("ft-floating-menu")(Ce);K("ftds-floating-menu")(br);K("ft-floating-menu-item")(St);K("ft-floating-menu-label")(Ee);var uC=np(Rc(),1);var Nc;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(Nc||(Nc={}));var _c;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(_c||(_c={}));var Pc;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(Pc||(Pc={}));var Tc;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT"})(Tc||(Tc={}));var $c;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})($c||($c={}));var Ic;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(Ic||(Ic={}));var Lc;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(Lc||(Lc={}));var kc;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(kc||(kc={}));var Mc;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(Mc||(Mc={}));var Dc;(function(e){e.ASC="ASC",e.DESC="DESC"})(Dc||(Dc={}));var Uc;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(Uc||(Uc={}));var Bc;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Bc||(Bc={}));var Fc;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Fc||(Fc={}));var rn;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(rn||(rn={}));var Wc;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Wc||(Wc={}));var xr;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(xr||(xr={}));var zc;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS"})(zc||(zc={}));var dt;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN",e.DEVELOPER="DEVELOPER"})(dt||(dt={}));var Hc;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(Hc||(Hc={}));var cC={[dt.PERSONAL_BOOK_SHARE_USER]:[dt.PERSONAL_BOOK_USER],[dt.HTML_EXPORT_USER]:[dt.PERSONAL_BOOK_USER],[dt.PDF_EXPORT_USER]:[dt.PERSONAL_BOOK_USER],[dt.KHUB_ADMIN]:[dt.CONTENT_PUBLISHER],[dt.ADMIN]:[dt.KHUB_ADMIN,dt.USERS_ADMIN,dt.PORTAL_ADMIN],[dt.DEVELOPER]:[dt.BETA_USER,dt.DEBUG_USER]};function Nf(e){var t,r,n,i,a;return((i=(r=(t=e.map)===null||t===void 0?void 0:t.openMode)!==null&&r!==void 0?r:(n=e.topic)===null||n===void 0?void 0:n.openMode)!==null&&i!==void 0?i:(a=e.document)===null||a===void 0?void 0:a.openMode)===rn.EXTERNAL}function Ta(e){var t,r,n,i,a;if(Nf(e))return(i=(r=(t=e.map)===null||t===void 0?void 0:t.originUrl)!==null&&r!==void 0?r:(n=e.topic)===null||n===void 0?void 0:n.originUrl)!==null&&i!==void 0?i:(a=e.document)===null||a===void 0?void 0:a.originUrl;switch(e.type){case xr.MAP:return e.map.readerUrl;case xr.DOCUMENT:return e.document.viewerUrl;case xr.TOPIC:return e.topic.readerUrl}return""}var jc=T`
|
|
1300
|
+
`;var _f="ft-app-info",$a=class extends CustomEvent{constructor(t){super("authentication-change",{detail:t})}},Pf={session:(e,t)=>{Dt(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>M.eventBus.dispatchEvent(new $a(t.payload)),0))}},M=je.get({name:_f,reducers:Pf,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 Ke=class e{static get(t){let{baseUrl:r,apiIntegrationIdentifier:n}=M.getState(),i=t??n;if(r&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,i,!0)}static await(t){return new Promise(r=>{let n=e.get(t);if(n)r(n);else{let i=M.subscribe(()=>{n=e.get(t),n&&(i(),r(n))})}})}};var we=class{constructor(t=!0,r){var n;this.overrideApi=r;let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new jt,this.cache=t?i.commonCache:new jt}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:Ke.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Ke.await()}clearCache(){this.cache.clearAll()}};var Vc,Tf=Symbol("clearAfterUnitTest"),on=class extends we{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Vc]=()=>{this.defaultMessages={},this.cache=new jt,this.listeners={}},this.currentUiLocale=M.getState().uiLocale,M.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=M.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let r=t.name.toLowerCase();this.cache.setFinal(r,t),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,r){var n;if(t=t.toLowerCase(),Object.keys(r).length>0){let i={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...r};Dt(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveMessage(t,r,...n){var i,a,s;t=t.toLowerCase(),this.fetchContext(t);let l=(a=(i=this.cache.getNow(t))===null||i===void 0?void 0:i.messages)!==null&&a!==void 0?a:{};return new qr((s=this.defaultMessages[t])!==null&&s!==void 0?s:{},l).resolve(r,...n)}async fetchContext(t){if(!this.cache.has(t))try{await this.cache.get(t,()=>this.messageContextProvider(this.currentUiLocale,t)),await this.notify(t)}catch(r){console.error(r)}}subscribe(t,r){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(r),()=>{var i;return(i=this.listeners[t])===null||i===void 0?void 0:i.delete(r)}}async notifyAll(){await Promise.all(Object.keys(this.listeners).map(t=>this.notify(t)))}async notify(t){this.listeners[t]!=null&&await Promise.all([...this.listeners[t].values()].map(r=>Po(0).then(()=>r()).catch(()=>null)))}};Vc=Tf;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends on{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends on{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var vr=window.FluidTopicsI18nService,Kc=window.FluidTopicsCustomI18nService;var yt=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},nt=class extends F{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Ke.get(),this.messageContexts=[],this.cache=new jt,this.cleanSessionDebouncer=new Ct}render(){return L`
|
|
1145
1301
|
<slot></slot>
|
|
1146
|
-
`}update(t){super.update(t),t.has("baseUrl")&&(
|
|
1147
|
-
`;var
|
|
1302
|
+
`}update(t){super.update(t),t.has("baseUrl")&&(M.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&M.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&M.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&M.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&M.actions.noCustom(this.noCustom),t.has("editorMode")&&M.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&M.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&M.actions.session(this.session),t.has("availableUiLocales")&&M.actions.availableUiLocales(Array.isArray(this.availableUiLocales)?this.availableUiLocales:[]),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(r=>vr.addContext(r)),t.has("openExternalDocumentInNewTab")&&M.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&M.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&M.actions.forcedOffline(this.forcedOffline),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){!this.withManualResources&&this.apiProvider()&&(this.session==null&&this.updateSession(),this.availableUiLocales==null&&this.updateUiLocales(),this.metadataConfiguration==null&&this.updateMetadataConfiguration())}async updateSession(){this.session=await this.cache.get("session",async()=>{let t=await this.apiProvider().getCurrentSession();return t.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.session=void 0},t.idleTimeoutInMillis),t})}async updateUiLocales(){this.availableUiLocales=await this.cache.get("availableUiLocales",()=>this.apiProvider().getAvailableUiLocales())}async updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}};nt.elementDefinitions={};nt.styles=jc;yt([x()],nt.prototype,"baseUrl",void 0);yt([x()],nt.prototype,"apiIntegrationIdentifier",void 0);yt([x()],nt.prototype,"uiLocale",void 0);yt([Pt(null)],nt.prototype,"availableUiLocales",void 0);yt([Pt(null)],nt.prototype,"metadataConfiguration",void 0);yt([x({type:Boolean})],nt.prototype,"editorMode",void 0);yt([x({type:Boolean})],nt.prototype,"noCustom",void 0);yt([x({type:Boolean})],nt.prototype,"openExternalDocumentInNewTab",void 0);yt([x({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],nt.prototype,"noCustomComponent",void 0);yt([x({type:Boolean})],nt.prototype,"withManualResources",void 0);yt([x({type:Boolean})],nt.prototype,"navigatorOnline",void 0);yt([x({type:Boolean})],nt.prototype,"forcedOffline",void 0);yt([x({type:Object})],nt.prototype,"apiProvider",void 0);yt([Pt([])],nt.prototype,"messageContexts",void 0);yt([Pt(void 0)],nt.prototype,"session",void 0);var nn=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a};function Gc(e){class t extends e{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(M)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}formatDateValues(n){var i,a;return((a=(i=this.metadataDescriptors.find(l=>l.key===n?.key))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1)?this.formatMetadataDates(n):n}formatMetadataDates(n){return{key:n.key,label:n.label,values:n.values.map(i=>Se.format(i,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat)),hierarchicalValues:n.hierarchicalValues}}}return nn([x({type:Boolean})],t.prototype,"useLongDateFormat",void 0),nn([x({type:Boolean})],t.prototype,"useDateTimeFormat",void 0),nn([Kt({store:M.name,selector:r=>{var n,i;return(i=(n=r.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&i!==void 0?i:[]}})],t.prototype,"metadataDescriptors",void 0),nn([Kt({store:M.name})],t.prototype,"uiLocale",void 0),t}var an=class extends we{async listMySearches(){let t=M.getState().session;return t?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var sn=class extends we{async listMyBookmarks(){let t=M.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var $f="ft-user-assets",ln=je.get({name:$f,initialState:{savedSearches:void 0,bookmarks:void 0}}),Ia=class{constructor(){this.currentSession=M.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new sn,this.savedSearchesService=new an,M.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:r}=M.getState();Dt((t=this.currentSession)===null||t===void 0?void 0:t.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),ln.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),ln.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();ln.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let r=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;ln.actions.bookmarks(r)}}},fE=new Ia;var La=class{addCommand(t,r=!1){M.commands.add(t,r)}consumeCommand(t){return M.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new La;var ka=class{highlightHtml(t,r){Bi(t,r)}};window.FluidTopicsHighlightHtmlService=new ka;var Ma=class{isDate(t){var r,n,i,a;return(a=(i=((n=(r=M.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&n!==void 0?n:[]).find(l=>l.key===t))===null||i===void 0?void 0:i.date)!==null&&a!==void 0?a:!1}format(t,r){var n,i,a;return Se.format(t,(n=r?.locale)!==null&&n!==void 0?n:M.getState().uiLocale,(i=r?.longFormat)!==null&&i!==void 0?i:!1,(a=r?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new Ma;K("ft-app-context")(nt);var If=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Da=Symbol("i18nAttributes"),Ge=Symbol("i18nProperties"),ro=Symbol("i18nUnsubs");function pn(e){var t;class r extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map}get i18nService(){return this.useCustomMessageContexts?Kc:vr}i18n(i,a,...s){var l;if(typeof i=="string")return this.i18nService.resolveMessage(i,a,...s);let c=(l=i.args)!==null&&l!==void 0?l:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...c)}onI18nUpdate(i){var a,s;(a=this[Da])===null||a===void 0||a.forEach((l,c)=>{var d;let f=this.getI18nAttributeValue(c);((d=f?.context)===null||d===void 0?void 0:d.toLowerCase())===i.toLowerCase()&&this.updateI18nAttributeMessage(c,f,l)}),(s=this[Ge])===null||s===void 0||s.forEach((l,c)=>{l.context.toLowerCase()===i.toLowerCase()&&(this[c]=this.i18n(l))}),setTimeout(()=>this.requestUpdate(),0)}updateI18nAttributeMessage(i,a,s){this[i]={...a,message:this.i18n({context:a.context,key:a.key,...s})}}update(i){var a,s;super.update(i),(a=this[Da])===null||a===void 0||a.forEach((l,c)=>{let d=this.getI18nAttributeValue(c);d?.context&&d.key&&(i.has(c)||l.argsProvider!=null)&&(i.has(c)&&this.addI18nContext(d.context),this.updateI18nAttributeMessage(c,d,l))}),(s=this[Ge])===null||s===void 0||s.forEach((l,c)=>{l.argsProvider!=null&&(this[c]=this.i18n(l))})}getI18nAttributeValue(i){return this[i]}connectedCallback(){var i,a,s,l;super.connectedCallback(),new Set([...(a=(i=this[Ge])===null||i===void 0?void 0:i.values())!==null&&a!==void 0?a:[],...[...(l=(s=this[Da])===null||s===void 0?void 0:s.keys())!==null&&l!==void 0?l:[]].map(c=>this.getI18nAttributeValue(c))].map(c=>c?.context)).forEach(c=>c&&this.addI18nMessages(c))}addI18nMessages(i,a){i=i.toLowerCase(),this[ro].has(i)||this[ro].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[ro].forEach(i=>i()),this[ro].clear()}}return t=ro,If([x({type:Boolean})],r.prototype,"useCustomMessageContexts",void 0),r}var Zc=class extends pn(F){},cn=class extends pn(Gt){};var qc=T`
|
|
1303
|
+
`;var oo=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},Wt=class extends cn{constructor(){super(),this.editorMode=!1,this.addStore(M)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":H:L`
|
|
1148
1304
|
<span class="ft-i18n">
|
|
1149
1305
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
1150
1306
|
</span>
|
|
1151
|
-
`}update(t){var r;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};
|
|
1307
|
+
`}update(t){var r;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};Wt.elementDefinitions={};Wt.styles=qc;oo([Kt()],Wt.prototype,"editorMode",void 0);oo([x()],Wt.prototype,"context",void 0);oo([x()],Wt.prototype,"key",void 0);oo([Pt([])],Wt.prototype,"args",void 0);oo([x()],Wt.prototype,"defaultMessage",void 0);var dn=class e{static build(t){return new e(t)}static fromGwt(t){return new e(t)}constructor(t){this.name=t,this.properties=new Proxy({},{get:(r,n)=>{let i=n;return a=>({context:this.name,key:i,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(r,n)=>(...i)=>vr.resolveMessage(this.name,n,...i)})}};var Yc=(e,t)=>(r,n)=>{var i,a;r.constructor.createProperty(n,t??{attribute:!1,type:String});let s={...e,key:(i=e.key)!==null&&i!==void 0?i:n};r[Ge]=(a=r[Ge])!==null&&a!==void 0?a:new Map,r[Ge].set(n,s)};K("ft-i18n")(Wt);var Ua=dn.build("designedReaderMapMetadata");var Lt=function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,r,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,r,a):s(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a},ft=class extends Gc(pn(Zo)){constructor(){super(),this.multiLine=!1,this.useForSwitchingToRelatives=!1,this.displayLabel=!1,this.editorMode=!1,this.relatives=[],this.noValueMessage="No value",this.addI18nContext(Ua)}setReaderStateManager(t){super.setReaderStateManager(t),this.key&&this.useForSwitchingToRelatives&&t.registerMetadataForSwitchToRelatives(this.key)}updateRelatives(){var t,r,n,i;this.useForSwitchingToRelatives&&this.key?this.relatives=(i=(r=(t=this.stateManager)===null||t===void 0?void 0:t.clusteringHelper)===null||r===void 0?void 0:r.computeClustersItemsForMetadata(this.key,((n=this.map)===null||n===void 0?void 0:n.lang)||"en",this.noValueMessage))!==null&&i!==void 0?i:[]:this.relatives=[]}render(){return L`
|
|
1152
1308
|
${this.useForSwitchingToRelatives&&this.relatives.length>0?this.renderSwitchToRelatives():this.renderChip()}
|
|
1153
1309
|
${this.hideIfEmpty()}
|
|
1154
|
-
`}renderSwitchToRelatives(){return
|
|
1310
|
+
`}renderSwitchToRelatives(){return L`
|
|
1155
1311
|
<div part="floating-menu-container" class="ft-reader-metadata--container">
|
|
1156
1312
|
<ft-floating-menu part="floating-menu" text="Toggle collapsible" trailingIcon>
|
|
1157
1313
|
${this.renderChip(!0)}
|
|
1158
1314
|
<ft-floating-menu-label>${this.metadataLabel}</ft-floating-menu-label>
|
|
1159
|
-
${
|
|
1315
|
+
${Pn(this.relatives,t=>t.metadata.value,t=>this.renderRelativeItem(t.result,t.metadata))}
|
|
1160
1316
|
</ft-floating-menu>
|
|
1161
1317
|
</div>
|
|
1162
|
-
`}renderChip(t=!1){var r,n,i,a,s,l;let c=this.displayLabel&&((r=this.flatMetadata)===null||r===void 0?void 0:r.value)==((n=this.flatMetadata)===null||n===void 0?void 0:n.displayValue),d=
|
|
1318
|
+
`}renderChip(t=!1){var r,n,i,a,s,l;let c=this.displayLabel&&((r=this.flatMetadata)===null||r===void 0?void 0:r.value)==((n=this.flatMetadata)===null||n===void 0?void 0:n.displayValue),d=L`
|
|
1163
1319
|
<ft-chip part="chip"
|
|
1164
1320
|
exportpartsPrefix="chip"
|
|
1165
1321
|
slot="${c&&t?"toggle":""}"
|
|
1166
1322
|
trailingIcon icon="${t?"thin_arrow":""}"
|
|
1167
1323
|
?clickable=${t}
|
|
1168
1324
|
?multiLine=${this.multiLine}>
|
|
1169
|
-
${this.displayLabel?
|
|
1325
|
+
${this.displayLabel?L`
|
|
1170
1326
|
<span part="label">${(a=(i=this.metadata)===null||i===void 0?void 0:i.label)!==null&&a!==void 0?a:this.key}: </span>
|
|
1171
|
-
`:
|
|
1327
|
+
`:H}
|
|
1172
1328
|
<span part="values">${this.metadataValue}</span>
|
|
1173
|
-
</ft-chip>`;return c?d:
|
|
1329
|
+
</ft-chip>`;return c?d:L`
|
|
1174
1330
|
<ft-tooltip part="tooltip"
|
|
1175
1331
|
slot="${t?"toggle":""}"
|
|
1176
1332
|
class="${this.multiLine?"ft-reader-metadata-multi-line":""}"
|
|
1177
1333
|
text="${`${this.metadataLabel}: ${(l=(s=this.flatMetadata)===null||s===void 0?void 0:s.value)!==null&&l!==void 0?l:this.noValueMessage}`}">
|
|
1178
1334
|
${d}
|
|
1179
1335
|
</ft-tooltip>
|
|
1180
|
-
`}get metadataValue(){return this.flatMetadata?this.flatMetadata.displayValue:this.editorMode?this.key?`no value for ${this.key}`:"no metadata selected":this.noValueMessage}renderRelativeItem(t,r){return
|
|
1336
|
+
`}get metadataValue(){return this.flatMetadata?this.flatMetadata.displayValue:this.editorMode?this.key?`no value for ${this.key}`:"no metadata selected":this.noValueMessage}renderRelativeItem(t,r){return L`
|
|
1181
1337
|
<a part="relative-item-link"
|
|
1182
|
-
href="${
|
|
1338
|
+
href="${Ta(t)}"
|
|
1183
1339
|
@click=${n=>this.addTopicPivotParam(n,t)}>
|
|
1184
1340
|
<ft-ripple part="relative-item-ripple"></ft-ripple>
|
|
1185
1341
|
<ft-floating-menu-item part="relative-item" value="${r.value}" notFocusable>
|
|
1186
|
-
${r.value==null||r.value===r.displayValue?r.displayValue:
|
|
1342
|
+
${r.value==null||r.value===r.displayValue?r.displayValue:L`
|
|
1187
1343
|
<ft-tooltip part="relative-item-tooltip" text="${r.value}">${r.displayValue}</ft-tooltip>
|
|
1188
1344
|
`}
|
|
1189
1345
|
</ft-floating-menu-item>
|
|
1190
1346
|
</a>
|
|
1191
|
-
`}hideIfEmpty(){let t=this.flatMetadata==null&&(this.useForSwitchingToRelatives?this.relatives.length===0:!0);return!this.editorMode&&t?
|
|
1347
|
+
`}hideIfEmpty(){let t=this.flatMetadata==null&&(this.useForSwitchingToRelatives?this.relatives.length===0:!0);return!this.editorMode&&t?L`
|
|
1192
1348
|
<style>
|
|
1193
1349
|
:host {
|
|
1194
1350
|
display: none !important;
|
|
1195
1351
|
}
|
|
1196
1352
|
</style>
|
|
1197
|
-
`:
|
|
1353
|
+
`:H}addTopicPivotParam(t,r){var n,i;let a=this.stateManager.store.getState().visibleTopics[0];if(a&&r.type=="MAP"){t.stopPropagation(),t.preventDefault();let s=(n=this.service)===null||n===void 0?void 0:n.getTocNodeNow(a);(i=this.service)===null||i===void 0||i.getTopicInfo(s).then(l=>{let c=l?.metadata.find(h=>h.key==this.relativeTopicPivotMetadata),d=new URL(Ta(r));c&&c.values.forEach(h=>d.searchParams.append("topicPivot",h));let f=document.createElement("a");f.href=d.toString(),(t.ctrlKey||t.metaKey)&&(f.target="_blank"),this.append(f),f.click()})}}update(t){var r,n,i,a;super.update(t),t.has("key")&&this.useForSwitchingToRelatives&&(t.get("key")&&((r=this.stateManager)===null||r===void 0||r.unregisterMetadataForSwitchToRelatives(t.get("key"))),this.key&&((n=this.stateManager)===null||n===void 0||n.registerMetadataForSwitchToRelatives(this.key))),t.has("useForSwitchingToRelatives")&&this.key&&(this.useForSwitchingToRelatives?(i=this.stateManager)===null||i===void 0||i.registerMetadataForSwitchToRelatives(this.key):(a=this.stateManager)===null||a===void 0||a.unregisterMetadataForSwitchToRelatives(this.key)),(t.has("metadata")||this.dateFormatOptionsChanged(t))&&(this.flatMetadata=Mr.flattenMetadata(this.formatDateValues(this.metadata)))}get metadataLabel(){var t,r,n,i,a,s;return this.metadata?this.metadata.label:(s=(i=(n=(r=(t=this.stateManager)===null||t===void 0?void 0:t.clusteringHelper)===null||r===void 0?void 0:r.getMetadataDescriptor(this.key))===null||n===void 0?void 0:n.label)!==null&&i!==void 0?i:(a=this.relatives.find(l=>l.metadata.value))===null||a===void 0?void 0:a.metadata.label)!==null&&s!==void 0?s:this.key}};ft.elementDefinitions={"ft-chip":ot,"ft-floating-menu":Ce,"ft-floating-menu-item":St,"ft-floating-menu-label":Ee,"ft-ripple":G,"ft-tooltip":X};ft.styles=Fl;Lt([x(),Hi()],ft.prototype,"key",void 0);Lt([x({type:Boolean})],ft.prototype,"multiLine",void 0);Lt([x({type:Boolean})],ft.prototype,"useForSwitchingToRelatives",void 0);Lt([x({type:Boolean})],ft.prototype,"displayLabel",void 0);Lt([x({attribute:!1})],ft.prototype,"editorMode",void 0);Lt([Kt({store:"reader",selector:(e,t)=>{var r,n;return(n=(r=e.map)===null||r===void 0?void 0:r.metadata)===null||n===void 0?void 0:n.find(i=>i.key===t.key)}})],ft.prototype,"metadata",void 0);Lt([Q()],ft.prototype,"flatMetadata",void 0);Lt([Kt({store:"reader"})],ft.prototype,"map",void 0);Lt([Kt({store:"reader",selector:e=>{var t;return(t=e.configuration)===null||t===void 0?void 0:t.relativeTopicPivotMetadata}})],ft.prototype,"relativeTopicPivotMetadata",void 0);Lt([Q()],ft.prototype,"relatives",void 0);Lt([Yc(Ua.properties.itemWithNoValueForSwitchToRelatives())],ft.prototype,"noValueMessage",void 0);Lt([ji({eventName:"clustering-helper-created"})],ft.prototype,"updateRelatives",null);K("ft-reader-metadata")(ft);})();
|
|
1198
1354
|
/*! Bundled license information:
|
|
1199
1355
|
|
|
1200
1356
|
@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js:
|