@fluid-topics/ft-copy-block 1.2.2 → 1.2.3
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-copy-block.light.js +142 -129
- package/build/ft-copy-block.min.js +178 -165
- package/package.json +4 -4
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
"use strict";(()=>{var
|
|
2
|
-
`)===0?B.substr(1,B.length):B}).forEach(function(B){var W=B.split(":"),U=W.shift().trim();if(U){var Lt=W.join(":").trim();try{v.append(U,Lt)}catch(ur){console.warn("Response "+ur.message)}}}),v}L.call(E.prototype);function H(y,v){if(!(this instanceof H))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(v||(v={}),this.type="default",this.status=v.status===void 0?200:v.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=v.statusText===void 0?"":""+v.statusText,this.headers=new h(v.headers),this.url=v.url||"",this._initBody(y)}L.call(H.prototype),H.prototype.clone=function(){return new H(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},H.error=function(){var y=new H(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var z=[301,302,303,307,308];H.redirect=function(y,v){if(z.indexOf(v)===-1)throw new RangeError("Invalid status code");return new H(null,{status:v,headers:{location:y}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(v,T){this.message=v,this.name=T;var B=Error(v);this.stack=B.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function I(y,v){return new Promise(function(T,B){var W=new E(y,v);if(W.signal&&W.signal.aborted)return B(new o.DOMException("Aborted","AbortError"));var U=new XMLHttpRequest;function Lt(){U.abort()}U.onload=function(){var it={statusText:U.statusText,headers:F(U.getAllResponseHeaders()||"")};W.url.indexOf("file://")===0&&(U.status<200||U.status>599)?it.status=200:it.status=U.status,it.url="responseURL"in U?U.responseURL:it.headers.get("X-Request-URL");var he="response"in U?U.response:U.responseText;setTimeout(function(){T(new H(he,it))},0)},U.onerror=function(){setTimeout(function(){B(new TypeError("Network request failed"))},0)},U.ontimeout=function(){setTimeout(function(){B(new TypeError("Network request timed out"))},0)},U.onabort=function(){setTimeout(function(){B(new o.DOMException("Aborted","AbortError"))},0)};function ur(it){try{return it===""&&n.location.href?n.location.href:it}catch{return it}}if(U.open(W.method,ur(W.url),!0),W.credentials==="include"?U.withCredentials=!0:W.credentials==="omit"&&(U.withCredentials=!1),"responseType"in U&&(a.blob?U.responseType="blob":a.arrayBuffer&&(U.responseType="arraybuffer")),v&&typeof v.headers=="object"&&!(v.headers instanceof h||n.Headers&&v.headers instanceof n.Headers)){var Pi=[];Object.getOwnPropertyNames(v.headers).forEach(function(it){Pi.push(d(it)),U.setRequestHeader(it,p(v.headers[it]))}),W.headers.forEach(function(it,he){Pi.indexOf(he)===-1&&U.setRequestHeader(he,it)})}else W.headers.forEach(function(it,he){U.setRequestHeader(he,it)});W.signal&&(W.signal.addEventListener("abort",Lt),U.onreadystatechange=function(){U.readyState===4&&W.signal.removeEventListener("abort",Lt)}),U.send(typeof W._bodyInit>"u"?null:W._bodyInit)})}return I.polyfill=!0,n.fetch||(n.fetch=I,n.Headers=h,n.Request=E,n.Response=H),o.Headers=h,o.Request=E,o.Response=H,o.fetch=I,o}({})})(Wo);Wo.fetch.ponyfill=!0;delete Wo.fetch.polyfill;var tr=Fo.fetch?Fo:Wo;pe=tr.fetch;pe.default=tr.fetch;pe.fetch=tr.fetch;pe.Headers=tr.Headers;pe.Request=tr.Request;pe.Response=tr.Response;Tc.exports=pe});if(!ShadowRoot.prototype.createElement){let e=window.HTMLElement,t=window.customElements.define,o=window.customElements.get,n=window.customElements,a=new WeakMap,i=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(S,O){if(S=S.toLowerCase(),this._getDefinition(S)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${S}" has already been used with this registry`);if(this._definitionsByClass.get(O)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let E=O.prototype.attributeChangedCallback,$=new Set(O.observedAttributes||[]);m(O,$,E);let F={elementClass:O,connectedCallback:O.prototype.connectedCallback,disconnectedCallback:O.prototype.disconnectedCallback,adoptedCallback:O.prototype.adoptedCallback,attributeChangedCallback:E,formAssociated:O.formAssociated,formAssociatedCallback:O.prototype.formAssociatedCallback,formDisabledCallback:O.prototype.formDisabledCallback,formResetCallback:O.prototype.formResetCallback,formStateRestoreCallback:O.prototype.formStateRestoreCallback,observedAttributes:$};this._definitionsByTag.set(S,F),this._definitionsByClass.set(O,F);let H=o.call(n,S);H||(H=h(S),t.call(n,S,H)),this===window.customElements&&(s.set(O,F),F.standInClass=H);let z=this._awaitingUpgrade.get(S);if(z){this._awaitingUpgrade.delete(S);for(let y of z)i.delete(y),x(y,F,!0)}let I=this._whenDefinedPromises.get(S);return I!==void 0&&(I.resolve(O),this._whenDefinedPromises.delete(S)),O}upgrade(){P.push(this),n.upgrade.apply(n,arguments),P.pop()}get(S){return this._definitionsByTag.get(S)?.elementClass}_getDefinition(S){return this._definitionsByTag.get(S)}whenDefined(S){let O=this._getDefinition(S);if(O!==void 0)return Promise.resolve(O.elementClass);let E=this._whenDefinedPromises.get(S);return E===void 0&&(E={},E.promise=new Promise($=>E.resolve=$),this._whenDefinedPromises.set(S,E)),E.promise}_upgradeWhenDefined(S,O,E){let $=this._awaitingUpgrade.get(O);$||this._awaitingUpgrade.set(O,$=new Set),E?$.add(S):$.delete(S)}};let d;window.HTMLElement=function(){let O=d;if(O)return d=void 0,O;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 O=Reflect.construct(e,[],E.standInClass),Object.setPrototypeOf(O,this.constructor.prototype),a.set(O,E),O},window.HTMLElement.prototype=e.prototype;let p=S=>S===document||S instanceof ShadowRoot,f=S=>{let O=S.getRootNode();if(!p(O)){let E=P[P.length-1];if(E instanceof CustomElementRegistry)return E;O=E.getRootNode(),p(O)||(O=l.get(O)?.getRootNode()||document)}return O.customElements},h=S=>class{static get formAssociated(){return!0}constructor(){let E=Reflect.construct(e,[],this.constructor);Object.setPrototypeOf(E,HTMLElement.prototype);let $=f(E)||window.customElements,F=$._getDefinition(S);return F?x(E,F):i.set(E,$),E}connectedCallback(){let E=a.get(this);E?E.connectedCallback&&E.connectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,S,!0)}disconnectedCallback(){let E=a.get(this);E?E.disconnectedCallback&&E.disconnectedCallback.apply(this,arguments):i.get(this)._upgradeWhenDefined(this,S,!1)}adoptedCallback(){a.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let E=a.get(this);E&&E.formAssociated&&E?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let E=a.get(this);E?.formAssociated&&E?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let E=a.get(this);E?.formAssociated&&E?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let E=a.get(this);E?.formAssociated&&E?.formStateRestoreCallback?.apply(this,arguments)}},m=(S,O,E)=>{if(O.size===0||E===void 0)return;let $=S.prototype.setAttribute;$&&(S.prototype.setAttribute=function(z,I){let y=z.toLowerCase();if(O.has(y)){let v=this.getAttribute(y);$.call(this,y,I),E.call(this,y,v,I)}else $.call(this,y,I)});let F=S.prototype.removeAttribute;F&&(S.prototype.removeAttribute=function(z){let I=z.toLowerCase();if(O.has(I)){let y=this.getAttribute(I);F.call(this,I),E.call(this,I,y,null)}else F.call(this,I)});let H=S.prototype.toggleAttribute;H&&(S.prototype.toggleAttribute=function(z,I){let y=z.toLowerCase();if(O.has(y)){let v=this.getAttribute(y);H.call(this,y,I);let T=this.getAttribute(y);E.call(this,y,v,T)}else H.call(this,y,I)})},b=S=>{let O=Object.getPrototypeOf(S);if(O!==window.HTMLElement)return O===e?Object.setPrototypeOf(S,window.HTMLElement):b(O)},x=(S,O,E=!1)=>{Object.setPrototypeOf(S,O.elementClass.prototype),a.set(S,O),d=S;try{new O.elementClass}catch{b(O.elementClass),new O.elementClass}O.attributeChangedCallback&&O.observedAttributes.forEach($=>{S.hasAttribute($)&&O.attributeChangedCallback.call(S,$,null,S.getAttribute($))}),E&&O.connectedCallback&&S.isConnected&&O.connectedCallback.call(S)},C=Element.prototype.attachShadow;Element.prototype.attachShadow=function(S){let O=C.apply(this,arguments);return S.customElements&&(O.customElements=S.customElements),O};let P=[document],A=(S,O,E=void 0)=>{let $=(E?Object.getPrototypeOf(E):S.prototype)[O];S.prototype[O]=function(){P.push(this);let F=$.apply(E||this,arguments);return F!==void 0&&l.set(F,this),P.pop(),F}};A(ShadowRoot,"createElement",document),A(ShadowRoot,"importNode",document),A(Element,"insertAdjacentHTML");let L=(S,O)=>{let E=Object.getOwnPropertyDescriptor(S.prototype,O);Object.defineProperty(S.prototype,O,{...E,set($){P.push(this),E.set.call(this,$),P.pop()}})};if(L(Element,"innerHTML"),L(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let S=new WeakMap,O=HTMLElement.prototype.attachInternals,E=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...z){let I=O.call(this,...z);return S.set(I,this),I},E.forEach(z=>{let I=window.ElementInternals.prototype,y=I[z];I[z]=function(...v){let T=S.get(this);if(a.get(T).formAssociated===!0)return y?.call(this,...v);throw new DOMException(`Failed to execute ${y} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class $ extends Array{constructor(I){super(...I),this._elements=I}get value(){return this._elements.find(I=>I.checked===!0)?.value||""}}class F{constructor(I){let y=new Map;I.forEach((v,T)=>{let B=v.getAttribute("name"),W=y.get(B)||[];this[+T]=v,W.push(v),y.set(B,W)}),this.length=I.length,y.forEach((v,T)=>{v&&(v.length===1?this[T]=v[0]:this[T]=new $(v))})}namedItem(I){return this[I]}}let H=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let z=H.get.call(this,[]),I=[];for(let y of z){let v=a.get(y);(!v||v.formAssociated===!0)&&I.push(y)}return new F(I)}})}}try{window.customElements.define("custom-element",null)}catch{let t=window.customElements.define;window.customElements.define=(o,n,a)=>{if(n!==null)try{t.bind(window.customElements)(o,n,a)}catch(i){console.info(o,n,a,i)}}}var mn={};j(mn,{CSSResult:()=>Be,LitElement:()=>jt,ReactiveElement:()=>Pt,_$LE:()=>md,_$LH:()=>fd,adoptStyles:()=>uo,css:()=>D,defaultConverter:()=>fo,getCompatibleStyle:()=>vr,html:()=>J,isServer:()=>rf,noChange:()=>Qt,notEqual:()=>dn,nothing:()=>K,render:()=>yn,supportsAdoptingStyleSheets:()=>xr,svg:()=>ud,unsafeCSS:()=>Se});var Xr=globalThis,Qr=Xr.ShadowRoot&&(Xr.ShadyCSS===void 0||Xr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ii=Symbol(),Ti=new WeakMap,Jr=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==Ii)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o,o=this.t;if(Qr&&t===void 0){let n=o!==void 0&&o.length===1;n&&(t=Ti.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Ti.set(o,t))}return t}toString(){return this.cssText}},$i=e=>new Jr(typeof e=="string"?e:e+"",void 0,Ii);var on=(e,t)=>{if(Qr)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),a=Xr.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,e.appendChild(n)}},to=Qr?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return $i(o)})(e):e;var{is:Kl,defineProperty:Zl,getOwnPropertyDescriptor:ql,getOwnPropertyNames:Yl,getOwnPropertySymbols:Xl,getPrototypeOf:Jl}=Object,eo=globalThis,ki=eo.trustedTypes,Ql=ki?ki.emptyScript:"",td=eo.reactiveElementPolyfillSupport,fr=(e,t)=>e,hr={toAttribute(e,t){switch(t){case Boolean:e=e?Ql:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let o=e;switch(t){case Boolean:o=e!==null;break;case Number:o=e===null?null:Number(e);break;case Object:case Array:try{o=JSON.parse(e)}catch{o=null}}return o}},ro=(e,t)=>!Kl(e,t),Di={attribute:!0,type:String,converter:hr,reflect:!1,hasChanged:ro};Symbol.metadata??=Symbol("metadata"),eo.litPropertyMetadata??=new WeakMap;var ye=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,o=Di){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(t,n,o);a!==void 0&&Zl(this.prototype,t,a)}}static getPropertyDescriptor(t,o,n){let{get:a,set:i}=ql(this.prototype,t)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return a?.call(this)},set(s){let l=a?.call(this);i.call(this,s),this.requestUpdate(t,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Di}static _$Ei(){if(this.hasOwnProperty(fr("elementProperties")))return;let t=Jl(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(fr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(fr("properties"))){let o=this.properties,n=[...Yl(o),...Xl(o)];for(let a of n)this.createProperty(a,o[a])}let t=this[Symbol.metadata];if(t!==null){let o=litPropertyMetadata.get(t);if(o!==void 0)for(let[n,a]of o)this.elementProperties.set(n,a)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let a=this._$Eu(o,n);a!==void 0&&this._$Eh.set(a,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let o=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let a of n)o.unshift(to(a))}else t!==void 0&&o.push(to(t));return o}static _$Eu(t,o){let n=o.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,o=this.constructor.elementProperties;for(let n of o.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 on(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,o,n){this._$AK(t,n)}_$EO(t,o){let n=this.constructor.elementProperties.get(t),a=this.constructor._$Eu(t,n);if(a!==void 0&&n.reflect===!0){let i=(n.converter?.toAttribute!==void 0?n.converter:hr).toAttribute(o,n.type);this._$Em=t,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(t,o){let n=this.constructor,a=n._$Eh.get(t);if(a!==void 0&&this._$Em!==a){let i=n.getPropertyOptions(a),s=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:hr;this._$Em=a,this[a]=s.fromAttribute(o,i.type),this._$Em=null}}requestUpdate(t,o,n,a=!1,i){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??ro)(a?i:this[t],o))return;this.C(t,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,o,n){this._$AL.has(t)||this._$AL.set(t,o),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}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[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[a,i]of n)i.wrapped!==!0||this._$AL.has(a)||this[a]===void 0||this.C(a,this[a],i)}let t=!1,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach(o=>o.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(o=>this._$EO(o,this[o])),this._$ET()}updated(t){}firstUpdated(t){}};ye.elementStyles=[],ye.shadowRootOptions={mode:"open"},ye[fr("elementProperties")]=new Map,ye[fr("finalized")]=new Map,td?.({ReactiveElement:ye}),(eo.reactiveElementVersions??=[]).push("2.0.2");var an=globalThis,oo=an.trustedTypes,Ui=oo?oo.createPolicy("lit-html",{createHTML:e=>e}):void 0,sn="$lit$",Ht=`lit$${(Math.random()+"").slice(9)}$`,cn="?"+Ht,ed=`<${cn}>`,be=document,no=()=>be.createComment(""),mr=e=>e===null||typeof e!="object"&&typeof e!="function",zi=Array.isArray,ji=e=>zi(e)||typeof e?.[Symbol.iterator]=="function",nn=`[
|
|
3
|
-
\f\r]`,
|
|
4
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),Fi=/'/g,Wi=/"/g,Vi=/^(?:script|style|textarea|title)$/i,Gi=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),Ki=Gi(1),Zi=Gi(2),mt=Symbol.for("lit-noChange"),tt=Symbol.for("lit-nothing"),Hi=new WeakMap,ge=be.createTreeWalker(be,129);function qi(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ui!==void 0?Ui.createHTML(t):t}var Yi=(e,t)=>{let o=e.length-1,n=[],a,i=t===2?"<svg>":"",s=yr;for(let l=0;l<o;l++){let d=e[l],p,f,h=-1,m=0;for(;m<d.length&&(s.lastIndex=m,f=s.exec(d),f!==null);)m=s.lastIndex,s===yr?f[1]==="!--"?s=Mi:f[1]!==void 0?s=Bi:f[2]!==void 0?(Vi.test(f[2])&&(a=RegExp("</"+f[2],"g")),s=me):f[3]!==void 0&&(s=me):s===me?f[0]===">"?(s=a??yr,h=-1):f[1]===void 0?h=-2:(h=s.lastIndex-f[2].length,p=f[1],s=f[3]===void 0?me:f[3]==='"'?Wi:Fi):s===Wi||s===Fi?s=me:s===Mi||s===Bi?s=yr:(s=me,a=void 0);let b=s===me&&e[l+1].startsWith("/>")?" ":"";i+=s===yr?d+ed:h>=0?(n.push(p),d.slice(0,h)+sn+d.slice(h)+Ht+b):d+Ht+(h===-2?l:b)}return[qi(e,i+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},gr=class e{constructor({strings:t,_$litType$:o},n){let a;this.parts=[];let i=0,s=0,l=t.length-1,d=this.parts,[p,f]=Yi(t,o);if(this.el=e.createElement(p,n),ge.currentNode=this.el.content,o===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(a=ge.nextNode())!==null&&d.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let h of a.getAttributeNames())if(h.endsWith(sn)){let m=f[s++],b=a.getAttribute(h).split(Ht),x=/([.?@])?(.*)/.exec(m);d.push({type:1,index:i,name:x[2],strings:b,ctor:x[1]==="."?io:x[1]==="?"?so:x[1]==="@"?co:ve}),a.removeAttribute(h)}else h.startsWith(Ht)&&(d.push({type:6,index:i}),a.removeAttribute(h));if(Vi.test(a.tagName)){let h=a.textContent.split(Ht),m=h.length-1;if(m>0){a.textContent=oo?oo.emptyScript:"";for(let b=0;b<m;b++)a.append(h[b],no()),ge.nextNode(),d.push({type:2,index:++i});a.append(h[m],no())}}}else if(a.nodeType===8)if(a.data===cn)d.push({type:2,index:i});else{let h=-1;for(;(h=a.data.indexOf(Ht,h+1))!==-1;)d.push({type:7,index:i}),h+=Ht.length-1}i++}}static createElement(t,o){let n=be.createElement("template");return n.innerHTML=t,n}};function xe(e,t,o=e,n){if(t===mt)return t;let a=n!==void 0?o._$Co?.[n]:o._$Cl,i=mr(t)?void 0:t._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(e),a._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=a:o._$Cl=a),a!==void 0&&(t=xe(e,a._$AS(e,t.values),a,n)),t}var ao=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,a=(t?.creationScope??be).importNode(o,!0);ge.currentNode=a;let i=ge.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new br(i,i.nextSibling,this,t):d.type===1?p=new d.ctor(i,d.name,d.strings,this,t):d.type===6&&(p=new lo(i,this,t)),this._$AV.push(p),d=n[++l]}s!==d?.index&&(i=ge.nextNode(),s++)}return ge.currentNode=be,a}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},br=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,a){this.type=2,this._$AH=tt,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=xe(this,t,o),mr(t)?t===tt||t==null||t===""?(this._$AH!==tt&&this._$AR(),this._$AH=tt):t!==this._$AH&&t!==mt&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):ji(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==tt&&mr(this._$AH)?this._$AA.nextSibling.data=t:this.$(be.createTextNode(t)),this._$AH=t}g(t){let{values:o,_$litType$:n}=t,a=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=gr.createElement(qi(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let i=new ao(a,this),s=i.u(this.options);i.p(o),this.$(s),this._$AH=i}}_$AC(t){let o=Hi.get(t.strings);return o===void 0&&Hi.set(t.strings,o=new gr(t)),o}T(t){zi(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let i of t)a===o.length?o.push(n=new e(this.k(no()),this.k(no()),this,this.options)):n=o[a],n._$AI(i),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},ve=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,a,i){this.type=1,this._$AH=tt,this._$AN=void 0,this.element=t,this.name=o,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=tt}_$AI(t,o=this,n,a){let i=this.strings,s=!1;if(i===void 0)t=xe(this,t,o,0),s=!mr(t)||t!==this._$AH&&t!==mt,s&&(this._$AH=t);else{let l=t,d,p;for(t=i[0],d=0;d<i.length-1;d++)p=xe(this,l[n+d],o,d),p===mt&&(p=this._$AH[d]),s||=!mr(p)||p!==this._$AH[d],p===tt?t=tt:t!==tt&&(t+=(p??"")+i[d+1]),this._$AH[d]=p}s&&!a&&this.O(t)}O(t){t===tt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},io=class extends ve{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===tt?void 0:t}},so=class extends ve{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==tt)}},co=class extends ve{constructor(t,o,n,a,i){super(t,o,n,a,i),this.type=5}_$AI(t,o=this){if((t=xe(this,t,o,0)??tt)===mt)return;let n=this._$AH,a=t===tt&&n!==tt||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,i=t!==tt&&(n===tt||a);a&&this.element.removeEventListener(this.name,this,n),i&&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)}},lo=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){xe(this,t)}},Xi={j:sn,P:Ht,A:cn,C:1,M:Yi,L:ao,R:ji,V:xe,D:br,I:ve,H:so,N:co,U:io,B:lo},rd=an.litHtmlPolyfillSupport;rd?.(gr,br),(an.litHtmlVersions??=[]).push("3.1.0");var po=globalThis,xr=po.ShadowRoot&&(po.ShadyCSS===void 0||po.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ln=Symbol(),Ji=new WeakMap,Be=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==ln)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o,o=this.t;if(xr&&t===void 0){let n=o!==void 0&&o.length===1;n&&(t=Ji.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Ji.set(o,t))}return t}toString(){return this.cssText}},Se=e=>new Be(typeof e=="string"?e:e+"",void 0,ln),D=(e,...t)=>{let o=e.length===1?e[0]:t.reduce((n,a,i)=>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.")})(a)+e[i+1],e[0]);return new Be(o,e,ln)},uo=(e,t)=>{if(xr)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),a=po.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,e.appendChild(n)}},vr=xr?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return Se(o)})(e):e;var{is:od,defineProperty:nd,getOwnPropertyDescriptor:ad,getOwnPropertyNames:id,getOwnPropertySymbols:sd,getPrototypeOf:cd}=Object,ho=globalThis,Qi=ho.trustedTypes,ld=Qi?Qi.emptyScript:"",dd=ho.reactiveElementPolyfillSupport,Sr=(e,t)=>e,fo={toAttribute(e,t){switch(t){case Boolean:e=e?ld:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let o=e;switch(t){case Boolean:o=e!==null;break;case Number:o=e===null?null:Number(e);break;case Object:case Array:try{o=JSON.parse(e)}catch{o=null}}return o}},dn=(e,t)=>!od(e,t),ts={attribute:!0,type:String,converter:fo,reflect:!1,hasChanged:dn};Symbol.metadata??=Symbol("metadata"),ho.litPropertyMetadata??=new WeakMap;var Pt=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,o=ts){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){let n=Symbol(),a=this.getPropertyDescriptor(t,n,o);a!==void 0&&nd(this.prototype,t,a)}}static getPropertyDescriptor(t,o,n){let{get:a,set:i}=ad(this.prototype,t)??{get(){return this[o]},set(s){this[o]=s}};return{get(){return a?.call(this)},set(s){let l=a?.call(this);i.call(this,s),this.requestUpdate(t,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??ts}static _$Ei(){if(this.hasOwnProperty(Sr("elementProperties")))return;let t=cd(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Sr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Sr("properties"))){let o=this.properties,n=[...id(o),...sd(o)];for(let a of n)this.createProperty(a,o[a])}let t=this[Symbol.metadata];if(t!==null){let o=litPropertyMetadata.get(t);if(o!==void 0)for(let[n,a]of o)this.elementProperties.set(n,a)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let a=this._$Eu(o,n);a!==void 0&&this._$Eh.set(a,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let o=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let a of n)o.unshift(vr(a))}else t!==void 0&&o.push(vr(t));return o}static _$Eu(t,o){let n=o.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,o=this.constructor.elementProperties;for(let n of o.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 uo(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,o,n){this._$AK(t,n)}_$EO(t,o){let n=this.constructor.elementProperties.get(t),a=this.constructor._$Eu(t,n);if(a!==void 0&&n.reflect===!0){let i=(n.converter?.toAttribute!==void 0?n.converter:fo).toAttribute(o,n.type);this._$Em=t,i==null?this.removeAttribute(a):this.setAttribute(a,i),this._$Em=null}}_$AK(t,o){let n=this.constructor,a=n._$Eh.get(t);if(a!==void 0&&this._$Em!==a){let i=n.getPropertyOptions(a),s=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:fo;this._$Em=a,this[a]=s.fromAttribute(o,i.type),this._$Em=null}}requestUpdate(t,o,n,a=!1,i){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??dn)(a?i:this[t],o))return;this.C(t,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,o,n){this._$AL.has(t)||this._$AL.set(t,o),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}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[a,i]of this._$Ep)this[a]=i;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[a,i]of n)i.wrapped!==!0||this._$AL.has(a)||this[a]===void 0||this.C(a,this[a],i)}let t=!1,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach(o=>o.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(o=>this._$EO(o,this[o])),this._$ET()}updated(t){}firstUpdated(t){}};Pt.elementStyles=[],Pt.shadowRootOptions={mode:"open"},Pt[Sr("elementProperties")]=new Map,Pt[Sr("finalized")]=new Map,dd?.({ReactiveElement:Pt}),(ho.reactiveElementVersions??=[]).push("2.0.2");var un=globalThis,yo=un.trustedTypes,es=yo?yo.createPolicy("lit-html",{createHTML:e=>e}):void 0,fn="$lit$",zt=`lit$${(Math.random()+"").slice(9)}$`,hn="?"+zt,pd=`<${hn}>`,Ee=document,Cr=()=>Ee.createComment(""),Er=e=>e===null||typeof e!="object"&&typeof e!="function",ss=Array.isArray,cs=e=>ss(e)||typeof e?.[Symbol.iterator]=="function",pn=`[
|
|
5
|
-
\f\r]`,
|
|
6
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),ns=/'/g,as=/"/g,ls=/^(?:script|style|textarea|title)$/i,ds=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),J=ds(1),ud=ds(2),Qt=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),is=new WeakMap,Ce=Ee.createTreeWalker(Ee,129);function ps(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return es!==void 0?es.createHTML(t):t}var us=(e,t)=>{let o=e.length-1,n=[],a,i=t===2?"<svg>":"",s=Or;for(let l=0;l<o;l++){let d=e[l],p,f,h=-1,m=0;for(;m<d.length&&(s.lastIndex=m,f=s.exec(d),f!==null);)m=s.lastIndex,s===Or?f[1]==="!--"?s=rs:f[1]!==void 0?s=os:f[2]!==void 0?(ls.test(f[2])&&(a=RegExp("</"+f[2],"g")),s=Oe):f[3]!==void 0&&(s=Oe):s===Oe?f[0]===">"?(s=a??Or,h=-1):f[1]===void 0?h=-2:(h=s.lastIndex-f[2].length,p=f[1],s=f[3]===void 0?Oe:f[3]==='"'?as:ns):s===as||s===ns?s=Oe:s===rs||s===os?s=Or:(s=Oe,a=void 0);let b=s===Oe&&e[l+1].startsWith("/>")?" ":"";i+=s===Or?d+pd:h>=0?(n.push(p),d.slice(0,h)+fn+d.slice(h)+zt+b):d+zt+(h===-2?l:b)}return[ps(e,i+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},wr=class e{constructor({strings:t,_$litType$:o},n){let a;this.parts=[];let i=0,s=0,l=t.length-1,d=this.parts,[p,f]=us(t,o);if(this.el=e.createElement(p,n),Ce.currentNode=this.el.content,o===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(a=Ce.nextNode())!==null&&d.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let h of a.getAttributeNames())if(h.endsWith(fn)){let m=f[s++],b=a.getAttribute(h).split(zt),x=/([.?@])?(.*)/.exec(m);d.push({type:1,index:i,name:x[2],strings:b,ctor:x[1]==="."?go:x[1]==="?"?bo:x[1]==="@"?xo:Ae}),a.removeAttribute(h)}else h.startsWith(zt)&&(d.push({type:6,index:i}),a.removeAttribute(h));if(ls.test(a.tagName)){let h=a.textContent.split(zt),m=h.length-1;if(m>0){a.textContent=yo?yo.emptyScript:"";for(let b=0;b<m;b++)a.append(h[b],Cr()),Ce.nextNode(),d.push({type:2,index:++i});a.append(h[m],Cr())}}}else if(a.nodeType===8)if(a.data===hn)d.push({type:2,index:i});else{let h=-1;for(;(h=a.data.indexOf(zt,h+1))!==-1;)d.push({type:7,index:i}),h+=zt.length-1}i++}}static createElement(t,o){let n=Ee.createElement("template");return n.innerHTML=t,n}};function we(e,t,o=e,n){if(t===Qt)return t;let a=n!==void 0?o._$Co?.[n]:o._$Cl,i=Er(t)?void 0:t._$litDirective$;return a?.constructor!==i&&(a?._$AO?.(!1),i===void 0?a=void 0:(a=new i(e),a._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=a:o._$Cl=a),a!==void 0&&(t=we(e,a._$AS(e,t.values),a,n)),t}var mo=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,a=(t?.creationScope??Ee).importNode(o,!0);Ce.currentNode=a;let i=Ce.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new Fe(i,i.nextSibling,this,t):d.type===1?p=new d.ctor(i,d.name,d.strings,this,t):d.type===6&&(p=new vo(i,this,t)),this._$AV.push(p),d=n[++l]}s!==d?.index&&(i=Ce.nextNode(),s++)}return Ce.currentNode=Ee,a}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},Fe=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,a){this.type=2,this._$AH=K,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=a,this._$Cv=a?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=we(this,t,o),Er(t)?t===K||t==null||t===""?(this._$AH!==K&&this._$AR(),this._$AH=K):t!==this._$AH&&t!==Qt&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):cs(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!==K&&Er(this._$AH)?this._$AA.nextSibling.data=t:this.$(Ee.createTextNode(t)),this._$AH=t}g(t){let{values:o,_$litType$:n}=t,a=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=wr.createElement(ps(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===a)this._$AH.p(o);else{let i=new mo(a,this),s=i.u(this.options);i.p(o),this.$(s),this._$AH=i}}_$AC(t){let o=is.get(t.strings);return o===void 0&&is.set(t.strings,o=new wr(t)),o}T(t){ss(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,a=0;for(let i of t)a===o.length?o.push(n=new e(this.k(Cr()),this.k(Cr()),this,this.options)):n=o[a],n._$AI(i),a++;a<o.length&&(this._$AR(n&&n._$AB.nextSibling,a),o.length=a)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);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,o,n,a,i){this.type=1,this._$AH=K,this._$AN=void 0,this.element=t,this.name=o,this._$AM=a,this.options=i,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=K}_$AI(t,o=this,n,a){let i=this.strings,s=!1;if(i===void 0)t=we(this,t,o,0),s=!Er(t)||t!==this._$AH&&t!==Qt,s&&(this._$AH=t);else{let l=t,d,p;for(t=i[0],d=0;d<i.length-1;d++)p=we(this,l[n+d],o,d),p===Qt&&(p=this._$AH[d]),s||=!Er(p)||p!==this._$AH[d],p===K?t=K:t!==K&&(t+=(p??"")+i[d+1]),this._$AH[d]=p}s&&!a&&this.O(t)}O(t){t===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},go=class extends Ae{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===K?void 0:t}},bo=class extends Ae{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==K)}},xo=class extends Ae{constructor(t,o,n,a,i){super(t,o,n,a,i),this.type=5}_$AI(t,o=this){if((t=we(this,t,o,0)??K)===Qt)return;let n=this._$AH,a=t===K&&n!==K||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,i=t!==K&&(n===K||a);a&&this.element.removeEventListener(this.name,this,n),i&&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)}},vo=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){we(this,t)}},fd={j:fn,P:zt,A:hn,C:1,M:us,L:mo,R:cs,V:we,D:Fe,I:Ae,H:bo,N:xo,U:go,B:vo},hd=un.litHtmlPolyfillSupport;hd?.(wr,Fe),(un.litHtmlVersions??=[]).push("3.1.0");var yn=(e,t,o)=>{let n=o?.renderBefore??t,a=n._$litPart$;if(a===void 0){let i=o?.renderBefore??null;n._$litPart$=a=new Fe(t.insertBefore(Cr(),i),i,void 0,o??{})}return a._$AI(e),a};var jt=class extends Pt{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 o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=yn(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Qt}};jt._$litElement$=!0,jt.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:jt});var yd=globalThis.litElementPolyfillSupport;yd?.({LitElement:jt});var md={_$AK:(e,t,o)=>{e._$AK(t,o)},_$AL:e=>e._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var rf=!1;var bn={};j(bn,{customElement:()=>gd,eventOptions:()=>We,property:()=>N,query:()=>ct,queryAll:()=>vd,queryAssignedElements:()=>Od,queryAssignedNodes:()=>gn,queryAsync:()=>Sd,standardProperty:()=>fs,state:()=>pt});var gd=e=>(t,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var bd={attribute:!0,type:String,converter:hr,reflect:!1,hasChanged:ro},fs=(e=bd,t,o)=>{let{kind:n,metadata:a}=o,i=globalThis.litPropertyMetadata.get(a);if(i===void 0&&globalThis.litPropertyMetadata.set(a,i=new Map),i.set(o.name,e),n==="accessor"){let{name:s}=o;return{set(l){let d=t.get.call(this);t.set.call(this,l),this.requestUpdate(s,d,e)},init(l){return l!==void 0&&this.C(s,void 0,e),l}}}if(n==="setter"){let{name:s}=o;return function(l){let d=this[s];t.call(this,l),this.requestUpdate(s,d,e)}}throw Error("Unsupported decorator location: "+n)};function N(e){return(t,o)=>typeof o=="object"?fs(e,t,o):((n,a,i)=>{let s=a.hasOwnProperty(i);return a.constructor.createProperty(i,s?{...n,wrapped:!0}:n),s?Object.getOwnPropertyDescriptor(a,i):void 0})(e,t,o)}function pt(e){return N({...e,state:!0,attribute:!1})}function We(e){return(t,o)=>{let n=typeof t=="function"?t:t[o];Object.assign(n,e)}}var Ot=(e,t,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,o),o);function ct(e,t){return(o,n,a)=>{let i=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:l}=typeof n=="object"?o:a??(()=>{let d=Symbol();return{get(){return this[d]},set(p){this[d]=p}}})();return Ot(o,n,{get(){let d=s.call(this);return d===void 0&&(d=i(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return Ot(o,n,{get(){return i(this)}})}}var xd;function vd(e){return(t,o)=>Ot(t,o,{get(){return(this.renderRoot??(xd??=document.createDocumentFragment())).querySelectorAll(e)}})}function Sd(e){return(t,o)=>Ot(t,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function Od(e){return(t,o)=>{let{slot:n,selector:a}=e??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Ot(t,o,{get(){let s=this.renderRoot?.querySelector(i),l=s?.assignedElements(e)??[];return a===void 0?l:l.filter(d=>d.matches(a))}})}}function gn(e){return(t,o)=>{let{slot:n}=e??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Ot(t,o,{get(){return this.renderRoot?.querySelector(a)?.assignedNodes(e)??[]}})}}var xn={};j(xn,{repeat:()=>wd});var te={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ee=e=>(...t)=>({_$litDirective$:e,values:t}),Tt=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,n){this._$Ct=t,this._$AM=o,this._$Ci=n}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};var{D:Cd}=Xi;var hs=()=>document.createComment(""),He=(e,t,o)=>{let n=e._$AA.parentNode,a=t===void 0?e._$AB:t._$AA;if(o===void 0){let i=n.insertBefore(hs(),a),s=n.insertBefore(hs(),a);o=new Cd(i,s,e,e.options)}else{let i=o._$AB.nextSibling,s=o._$AM,l=s!==e;if(l){let d;o._$AQ?.(e),o._$AM=e,o._$AP!==void 0&&(d=e._$AU)!==s._$AU&&o._$AP(d)}if(i!==a||l){let d=o._$AA;for(;d!==i;){let p=d.nextSibling;n.insertBefore(d,a),d=p}}}return o},re=(e,t,o=e)=>(e._$AI(t,o),e),Ed={},ys=(e,t=Ed)=>e._$AH=t,ms=e=>e._$AH,So=e=>{e._$AP?.(!1,!0);let t=e._$AA,o=e._$AB.nextSibling;for(;t!==o;){let n=t.nextSibling;t.remove(),t=n}};var gs=(e,t,o)=>{let n=new Map;for(let a=t;a<=o;a++)n.set(e[a],a);return n},wd=ee(class extends Tt{constructor(e){if(super(e),e.type!==te.CHILD)throw Error("repeat() can only be used in text expressions")}ht(e,t,o){let n;o===void 0?o=t:t!==void 0&&(n=t);let a=[],i=[],s=0;for(let l of e)a[s]=n?n(l,s):s,i[s]=o(l,s),s++;return{values:i,keys:a}}render(e,t,o){return this.ht(e,t,o).values}update(e,[t,o,n]){let a=ms(e),{values:i,keys:s}=this.ht(t,o,n);if(!Array.isArray(a))return this.dt=s,i;let l=this.dt??=[],d=[],p,f,h=0,m=a.length-1,b=0,x=i.length-1;for(;h<=m&&b<=x;)if(a[h]===null)h++;else if(a[m]===null)m--;else if(l[h]===s[b])d[b]=re(a[h],i[b]),h++,b++;else if(l[m]===s[x])d[x]=re(a[m],i[x]),m--,x--;else if(l[h]===s[x])d[x]=re(a[h],i[x]),He(e,d[x+1],a[h]),h++,x--;else if(l[m]===s[b])d[b]=re(a[m],i[b]),He(e,a[h],a[m]),m--,b++;else if(p===void 0&&(p=gs(s,b,x),f=gs(l,h,m)),p.has(l[h]))if(p.has(l[m])){let C=f.get(s[b]),P=C!==void 0?a[C]:null;if(P===null){let A=He(e,a[h]);re(A,i[b]),d[b]=A}else d[b]=re(P,i[b]),He(e,a[h],P),a[C]=null;b++}else So(a[m]),m--;else So(a[h]),h++;for(;b<=x;){let C=He(e,d[x+1]);re(C,i[b]),d[b++]=C}for(;h<=m;){let C=a[h++];C!==null&&So(C)}return this.dt=s,ys(e,d),mt}});var vn={};j(vn,{classMap:()=>Ar});var Ar=ee(class extends Tt{constructor(e){if(super(e),e.type!==te.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 o=e.element.classList;for(let n of this.it)n in t||(o.remove(n),this.it.delete(n));for(let n in t){let a=!!t[n];a===this.it.has(n)||this.st?.has(n)||(a?(o.add(n),this.it.add(n)):(o.remove(n),this.it.delete(n)))}return mt}});var Sn={};j(Sn,{styleMap:()=>Rd});var bs="important",Ad=" !"+bs,Rd=ee(class extends Tt{constructor(e){if(super(e),e.type!==te.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,o)=>{let n=e[o];return n==null?t:t+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(e,[t]){let{style:o}=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("-")?o.removeProperty(n):o[n]=null);for(let n in t){let a=t[n];if(a!=null){this.ut.add(n);let i=typeof a=="string"&&a.endsWith(Ad);n.includes("-")||i?o.setProperty(n,i?a.slice(0,-11):a,i?bs:""):o[n]=a}}return mt}});var Cn={};j(Cn,{UnsafeHTMLDirective:()=>ze,unsafeHTML:()=>On});var ze=class extends Tt{constructor(t){if(super(t),this.et=tt,t.type!==te.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===tt||t==null)return this.vt=void 0,this.et=t;if(t===mt)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 o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};ze.directiveName="unsafeHTML",ze.resultType=1;var On=ee(ze);var An={};j(An,{CacheRegistry:()=>It});var wn={};j(wn,{CancelablePromise:()=>je,CanceledPromiseError:()=>Rr,cancelable:()=>En});var Rr=class extends Error{constructor(t,o,n){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=n}},je=class extends Promise{constructor(t){super((o,n)=>t(a=>{this.isCanceled?n(new Rr("Promise has been canceled",a)):o(a)},a=>{this.isCanceled?n(new Rr("Promise has been canceled",void 0,a)):n(a)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},En=e=>new je((t,o)=>e.then(t).catch(o));var It=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,o){this.loaders[t]=o,this.finalContent.delete(t)}registerFinal(t,o){this.loaders[t]=o,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 je&&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,o){this.forceClear(t),this.register(t,async()=>o),this.content[t]=o}setFinal(t,o){this.forceClear(t),this.registerFinal(t,async()=>o),this.content[t]=o}async get(t,o,n){if(this.content[t]===void 0){if(o=o??this.loaders[t],o==null)throw new Error("Unknown cache key "+t);let a=En(o());return this.content[t]=a,a.then(i=>(this.content[t]=i,n!=null&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout(()=>this.clear(t),n)),i))}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 Nn={};j(Nn,{ClusteringHelper:()=>Rn});var Rn=class e{constructor(t,o,n,a){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=a}static extractResultMetadata(t,o){var n,a;let i=((a=(n=t?.map)!==null&&n!==void 0?n:t?.document)!==null&&a!==void 0?a:t?.topic).metadata;return o==null?e.flattenMetadata(i):e.flattenMetadata(i.find(s=>s.key===o))}static flattenMetadata(t){if(Array.isArray(t))return t.map(n=>e.flattenMetadata(n)).filter(n=>n!=null);let o=t?.hierarchicalValues!=null&&t.hierarchicalValues.length>0;if(!(t==null||t.values.length==0&&!o))if(o){let n=[],a=[];return t.hierarchicalValues.forEach(i=>{n.push(i.join(" > ")),i.length>2?a.push(`... > ${i[i.length-1]}`):a.push(i.join(" > "))}),{key:t.key,label:t.label,value:n.join(", "),displayValue:a.join(", ")}}else{let n=t.values.join(", ");return{key:t.key,label:t.label,value:n,displayValue:n}}}computeClustersItemsForMetadata(t,o,n="No value"){var a,i;let s=e.extractResultMetadata(this.selectedResult,t),l=(a=s?.label)!==null&&a!==void 0?a:(i=this.getMetadataDescriptor(t))===null||i===void 0?void 0:i.label;return this.allResults.map(p=>e.extractResultMetadata(p,t)).map(p=>p??{key:t,label:l,value:void 0,displayValue:n}).filter(p=>p.value!=s?.value).filter((p,f,h)=>h.findIndex(m=>m.value===p.value)===f).map(p=>({result:this.findBestResultForMetadataValue(t,p.value),metadata:p})).sort((p,f)=>this.compareMetadata(p.metadata.value,f.metadata.value,t,o))}compareMetadata(t,o,n,a){if(t==null)return-1;if(o==null)return 1;let i=this.getMetadataDescriptor(n),s=i?.sortRule||"NONE",l=i?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=t.localeCompare(o,a,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(o=>t==o.key)}findBestResultForMetadataValue(t,o){let n=this.allResults.filter(d=>{var p;return((p=e.extractResultMetadata(d,t))===null||p===void 0?void 0:p.value)==o}),i=[...e.extractResultMetadata(this.selectedResult).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==t)],s,l=-1;for(let d of n){let p=this.countMatchingMetadata(d,i);if(p>l&&(l=p,s=d,p===i.length))break}return s}countMatchingMetadata(t,o){return e.extractResultMetadata(t).filter(n=>o.some(a=>a.key===n.key&&a.value===n.value)).length}};var _n={};j(_n,{Debouncer:()=>gt});var gt=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let a=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,i=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>null;this.clearPromise();for(let s of n)try{await s()}catch(l){a(l);return}i(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Tn={};j(Tn,{customElement:()=>ot,isNumber:()=>Os,jsonProperty:()=>$t,optionalNumberProperty:()=>Id});var Pn={};j(Pn,{dateReviver:()=>_d,deepEqual:()=>Ct,delay:()=>Oo,eventPathContainsMatchingElement:()=>Pd,flatDeep:()=>vs,hasChanged:()=>Nr,last:()=>Td,minmax:()=>Ln,parseDate:()=>Ss,unslotText:()=>Co,waitFor:()=>xs,waitUntil:()=>Nd});var Oo=e=>new Promise(t=>setTimeout(t,e));async function Nd(e,t=10,o=2e4){await xs(async()=>await e()||void 0,t,o)}async function xs(e,t=10,o=2e4){let n=await e(),a,i;for(a=i=performance.now();n==null&&(!o||i-a<o);)await Oo(t),n=await e(),i=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function vs(e,t){return e.flatMap(o=>[o,...vs(t(o),t)])}function _d(...e){return function(t,o){return e.includes(t)?Ss(o):o}}function Ss(e){return e.match(/^\d{4}-\d{2}-\d{2}$/)&&(e=e.replace(/-/g,"/")),e=e.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(t,o,n,a)=>o+n+":"+a),new Date(e)}function Ld(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var o,n,a;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!Ct(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(!Ct(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(a=Object.keys(e),o=a.length,o!==Object.keys(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[n]))return!1;for(n=o;n--!==0;){var i=a[n];if(!Ct(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function Ct(e,t){try{return Ld(e,t)}catch{return!1}}function Nr(e,t){return!Ct(e,t)}function Pd(e,t,o=window.document.body){if(t.length>0){let n=e.composedPath();for(let a of n){if(a===o)return!1;if(a.matches&&t.some(i=>a.matches(i)))return!0}}return!1}function Ln(e,t,o){return Math.min(Math.max(e,t),o)}function Td(e){return e[e.length-1]}function Co(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(t=>Co(t)).join(""):e?.textContent||""}var ot=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function $t(e,t){let o=()=>JSON.parse(JSON.stringify(e));return N({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Nr,...t??{}})}function Id(e){return N({type:Object,converter:{fromAttribute:t=>{if(t!=null)return Os(t)?+t:void 0},toAttribute:t=>t==null?void 0:""+t},...e??{}})}function Os(e){return!isNaN(parseFloat(e))}var sa={};j(sa,{designSystemVariables:()=>V});var ia={};j(ia,{DesignSystemFamily:()=>Re,DesignSystemSize:()=>Gt,FtCssVariableFactory:()=>r,badge:()=>Bd,banner:()=>Md,button:()=>g,chart:()=>ep,checkbox:()=>np,chip:()=>Dd,chipChoice:()=>kd,collapsible:()=>Qd,comboboxMultiSelect:()=>Xd,comboboxSingleSelect:()=>Yd,drawer:()=>Vd,floatingMenu:()=>qd,foundation:()=>c,link:()=>Ud,modal:()=>jd,notice:()=>op,notification:()=>sp,pageDesigner:()=>rp,pageFooter:()=>Hd,pageHeader:()=>Wd,pageLayout:()=>zd,popover:()=>Jd,radio:()=>ip,resolveFamilyClass:()=>na,resolveSizeClass:()=>aa,semantic:()=>u,setVariable:()=>w,switch_:()=>tp,tabs:()=>Gd,textArea:()=>Zd,textInput:()=>Kd,titleBreadcrumb:()=>Fd,toggle:()=>ap,tooltip:()=>cp,typographies:()=>_r,typographyBody1Medium:()=>Mn,typographyBody1Regular:()=>Un,typographyBody1Semibold:()=>Bn,typographyBody2Medium:()=>Wn,typographyBody2MediumUnderline:()=>Cs,typographyBody2Regular:()=>Fn,typographyBody2Semibold:()=>Hn,typographyCaption1Bold:()=>Xn,typographyCaption1Medium:()=>qn,typographyCaption1Semibold:()=>Yn,typographyCaption2Bold:()=>ta,typographyCaption2Medium:()=>Jn,typographyCaption2Semibold:()=>Qn,typographyCaption3Bold:()=>oa,typographyCaption3Medium:()=>ea,typographyCaption3Semibold:()=>ra,typographyDisplay:()=>In,typographyLabel1Bold:()=>Vn,typographyLabel1Medium:()=>zn,typographyLabel1Semibold:()=>jn,typographyLabel2Bold:()=>Zn,typographyLabel2Medium:()=>Gn,typographyLabel2Semibold:()=>Kn,typographyTitle1:()=>$n,typographyTitle2:()=>kn,typographyTitle3:()=>Dn,typographyVariants:()=>$d});var Vt=e=>typeof e=="string"?Se(e):e,r=class{static create(t,o,n,a){let i=l=>Vt(l??a),s=D`var(${Vt(t)}, ${i(a)})`;return s.name=t,s.description=o,s.category=n,s.defaultValue=a,s.defaultCssValue=i,s.get=l=>D`var(${Vt(t)}, ${i(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>a,s}static extend(t,o,n,a){let i=l=>n.get(l??a),s=D`var(${Vt(t)}, ${i(a)})`;return s.name=t,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=a,s.defaultCssValue=i,s.get=l=>D`var(${Vt(t)}, ${i(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>a??n.lastResortDefaultValue(),s}static external(t,o){let n=i=>t.fallbackVariable?t.fallbackVariable.get(i??t.defaultValue):Vt(i??t.lastResortDefaultValue()),a=D`var(${Vt(t.name)}, ${n(t.defaultValue)})`;return a.name=t.name,a.category=t.category,a.fallbackVariable=t.fallbackVariable,a.defaultValue=t.defaultValue,a.context=o,a.defaultCssValue=n,a.get=i=>D`var(${Vt(t.name)}, ${n(i)})`,a.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],a.lastResortDefaultValue=()=>t.lastResortDefaultValue(),a}};function w(e,t){return Vt(`${e.name}: ${t}`)}var c={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.create("--ft-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},In={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},$n={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},kn={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Dn={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},Un={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Mn={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Bn={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Fn={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Wn={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Cs={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Hn={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},zn={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},jn={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Vn={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Gn={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Kn={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},Zn={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},qn={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},Yn={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Xn={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Jn={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Qn={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},ta={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},ea={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},ra={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},oa={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},_r={display:In,"title-1":$n,"title-2":kn,"title-3":Dn,"body-1-regular":Un,"body-1-medium":Mn,"body-1-semibold":Bn,"body-2-regular":Fn,"body-2-medium":Wn,"body-2-medium-underline":Cs,"body-2-semibold":Hn,"label-1-medium":zn,"label-1-semibold":jn,"label-1-bold":Vn,"label-2-medium":Gn,"label-2-semibold":Kn,"label-2-bold":Zn,"caption-1-medium":qn,"caption-1-semibold":Yn,"caption-1-bold":Xn,"caption-2-medium":Jn,"caption-2-semibold":Qn,"caption-2-bold":ta,"caption-3-medium":ea,"caption-3-semibold":ra,"caption-3-bold":oa},$d=["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:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
7
|
-
Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:r.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var g={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:r.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:r.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ft-button-primary-brand-background-color","",u.backgroundActionPrimary),primaryBrandColor:r.extend("--ft-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ft-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ft-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ft-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ft-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ft-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:r.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ft-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ft-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ft-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:r.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ft-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ft-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ft-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:r.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ft-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ft-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ft-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:r.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ft-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ft-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ft-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:r.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ft-button-tertiary-neutral-icon-color","",u.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ft-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ft-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:r.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ft-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:r.extend("--ft-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ft-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:r.extend("--ft-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:r.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ft-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ft-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ft-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ft-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:r.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ft-button-secondary-info-border-color","",u.borderInfoPrimary),secondaryInfoColor:r.extend("--ft-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ft-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ft-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:r.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ft-button-secondary-success-border-color","",u.borderSuccessPrimary),secondarySuccessColor:r.extend("--ft-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ft-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ft-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:r.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ft-button-secondary-warning-border-color","",u.borderWarningPrimary),secondaryWarningColor:r.extend("--ft-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ft-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ft-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:r.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ft-button-secondary-error-border-color","",u.contentErrorPrimary),secondaryErrorColor:r.extend("--ft-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ft-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ft-button-secondary-error-state-layer-color","",u.contentErrorPrimary)};var kd={neutralOffHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:r.extend("--ft-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ft-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:r.extend("--ft-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ft-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:r.extend("--ft-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ft-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:r.extend("--ft-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:r.extend("--ft-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ft-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:r.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:r.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:r.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:r.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:r.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)};var Dd={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:r.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:r.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)};var Ud={brandHoverOpacity:r.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:r.extend("--ft-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ft-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:r.extend("--ft-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:r.extend("--ft-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:r.extend("--ft-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:r.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:r.extend("--ft-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ft-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:r.extend("--ft-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:r.extend("--ft-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:r.extend("--ft-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ft-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:r.extend("--ft-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:r.extend("--ft-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:r.extend("--ft-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:r.extend("--ft-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:r.extend("--ft-link-neutral-visited-color","",c.colorBrand100)};var Md={iconSize:r.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",u.borderInfoSubtle)};var Bd={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:r.extend("--ft-badge-color","",u.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",u.contentActionPrimary)};var Fd={horizontalGap:r.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:r.extend("--ft-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:r.extend("--ft-title-breadcrumb-icon-color","",u.contentGlobalSubtle)};var Wd={parentHorizontalPadding:r.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:r.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:r.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:r.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:r.extend("--ft-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:r.extend("--ft-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:r.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:r.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:r.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:r.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:r.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:r.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:r.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:r.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:r.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:r.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:r.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:r.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:r.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:r.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:r.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var Hd={horizontalPadding:r.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:r.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:r.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:r.extend("--ft-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:r.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)};var zd={contentHorizontalPadding:r.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:r.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)};var jd={smallContainerTargetWidth:r.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:r.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:r.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ft-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:r.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:r.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",c.borderRadiusM)};var Vd={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",c.colorGray700)};var Gd={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ft-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:r.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var Kd={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var Zd={backgroundColor:r.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",c.borderRadiusM)};var qd={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var Yd={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)};var Xd={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)};var Jd={backgroundColor:r.extend("--ft-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:r.extend("--ft-popover-title-color","",u.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",u.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",u.contentActionPrimary),gap:r.extend("--ft-popover-gap","",c.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:r.create("--ft-popover-max-width","","SIZE","440px")};var Qd={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:r.extend("--ft-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",c.iconSize3)};var tp={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:r.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ft-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:r.extend("--ft-switch-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",c.borderRadiusS)};var ep={color1Light:r.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",c.colorRed40),color5Base:r.extend("--ft-chart-5-base","",c.colorRed60),color6Light:r.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",c.colorGray50),color10Base:r.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorCyan10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorRed10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var rp={color1IconColor:r.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:r.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:r.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:r.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:r.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:r.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:r.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:r.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:r.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:r.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:r.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:r.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:r.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:r.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:r.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:r.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var op={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:r.extend("--ft-notice-gap","",c.spacing2),iconSize:r.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly)};var np={color:r.extend("--ft-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",c.spacing3)};var ap={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:r.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",c.spacing3)};var ip={color:r.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",c.spacing3)};var sp={iconSize:r.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",u.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",c.spacing8)};var cp={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:r.extend("--ft-tooltip-color","",u.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:r.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",c.spacing05)};var Re;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Re||(Re={}));var Gt;(function(e){e.large="large",e.medium="medium",e.small="small"})(Gt||(Gt={}));function na(e){return`ftds--family-${e}`}function aa(e){return`ftds--size-${e}`}var V={colorPrimary:r.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:r.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:r.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:r.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:r.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:r.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:r.create("--ft-color-error","","COLOR","#B00020"),colorOutline:r.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:r.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:r.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:r.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:r.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:r.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:r.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:r.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:r.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:r.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:r.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:r.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:r.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:r.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:r.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:r.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:r.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:r.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:r.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:r.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:r.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:r.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:r.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:r.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:r.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:r.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:r.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:r.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:r.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:r.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:r.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:r.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:r.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:r.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:r.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:r.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:r.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:r.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:r.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:r.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:r.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:r.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var pa={};j(pa,{FtNotificationEvent:()=>ca,PostResizeEvent:()=>da,PreResizeEvent:()=>la});var ca=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},la=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},da=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var Aa={};j(Aa,{computeFlipOffsetPosition:()=>_p,computeOffsetPosition:()=>wa});var ws=["top","right","bottom","left"],Es=["start","end"],ua=ws.reduce((e,t)=>e.concat(t,t+"-"+Es[0],t+"-"+Es[1]),[]),Tr=Math.min,oe=Math.max,Ir=Math.round;var Kt=e=>({x:e,y:e}),lp={left:"right",right:"left",bottom:"top",top:"bottom"},dp={start:"end",end:"start"};function fa(e,t,o){return oe(e,Tr(t,o))}function Ve(e,t){return typeof e=="function"?e(t):e}function kt(e){return e.split("-")[0]}function Dt(e){return e.split("-")[1]}function ha(e){return e==="x"?"y":"x"}function ya(e){return e==="y"?"height":"width"}function $r(e){return["top","bottom"].includes(kt(e))?"y":"x"}function ma(e){return ha($r(e))}function ga(e,t,o){o===void 0&&(o=!1);let n=Dt(e),a=ma(e),i=ya(a),s=a==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Pr(s)),[s,Pr(s)]}function As(e){let t=Pr(e);return[Lr(e),t,Lr(t)]}function Lr(e){return e.replace(/start|end/g,t=>dp[t])}function pp(e,t,o){let n=["left","right"],a=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return o?t?a:n:t?n:a;case"left":case"right":return t?i:s;default:return[]}}function Rs(e,t,o,n){let a=Dt(e),i=pp(kt(e),o==="start",n);return a&&(i=i.map(s=>s+"-"+a),t&&(i=i.concat(i.map(Lr)))),i}function Pr(e){return e.replace(/left|right|bottom|top/g,t=>lp[t])}function up(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ns(e){return typeof e!="number"?up(e):{top:e,right:e,bottom:e,left:e}}function Ne(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function _s(e,t,o){let{reference:n,floating:a}=e,i=$r(t),s=ma(t),l=ya(s),d=kt(t),p=i==="y",f=n.x+n.width/2-a.width/2,h=n.y+n.height/2-a.height/2,m=n[l]/2-a[l]/2,b;switch(d){case"top":b={x:f,y:n.y-a.height};break;case"bottom":b={x:f,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:h};break;case"left":b={x:n.x-a.width,y:h};break;default:b={x:n.x,y:n.y}}switch(Dt(t)){case"start":b[s]-=m*(o&&p?-1:1);break;case"end":b[s]+=m*(o&&p?-1:1);break}return b}var Ls=async(e,t,o)=>{let{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=o,l=i.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(t)),p=await s.getElementRects({reference:e,floating:t,strategy:a}),{x:f,y:h}=_s(p,n,d),m=n,b={},x=0;for(let C=0;C<l.length;C++){let{name:P,fn:A}=l[C],{x:L,y:S,data:O,reset:E}=await A({x:f,y:h,initialPlacement:n,placement:m,strategy:a,middlewareData:b,rects:p,platform:s,elements:{reference:e,floating:t}});if(f=L??f,h=S??h,b={...b,[P]:{...b[P],...O}},E&&x<=50){x++,typeof E=="object"&&(E.placement&&(m=E.placement),E.rects&&(p=E.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:a}):E.rects),{x:f,y:h}=_s(p,m,d)),C=-1;continue}}return{x:f,y:h,placement:m,strategy:a,middlewareData:b}};async function Eo(e,t){var o;t===void 0&&(t={});let{x:n,y:a,platform:i,rects:s,elements:l,strategy:d}=e,{boundary:p="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:m=!1,padding:b=0}=Ve(t,e),x=Ns(b),P=l[m?h==="floating"?"reference":"floating":h],A=Ne(await i.getClippingRect({element:(o=await(i.isElement==null?void 0:i.isElement(P)))==null||o?P:P.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:p,rootBoundary:f,strategy:d})),L=h==="floating"?{...s.floating,x:n,y:a}:s.reference,S=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),O=await(i.isElement==null?void 0:i.isElement(S))?await(i.getScale==null?void 0:i.getScale(S))||{x:1,y:1}:{x:1,y:1},E=Ne(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:L,offsetParent:S,strategy:d}):L);return{top:(A.top-E.top+x.top)/O.y,bottom:(E.bottom-A.bottom+x.bottom)/O.y,left:(A.left-E.left+x.left)/O.x,right:(E.right-A.right+x.right)/O.x}}function fp(e,t,o){return(e?[...o.filter(a=>Dt(a)===e),...o.filter(a=>Dt(a)!==e)]:o.filter(a=>kt(a)===a)).filter(a=>e?Dt(a)===e||(t?Lr(a)!==a:!1):!0)}var ba=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,a;let{rects:i,middlewareData:s,placement:l,platform:d,elements:p}=t,{crossAxis:f=!1,alignment:h,allowedPlacements:m=ua,autoAlignment:b=!0,...x}=Ve(e,t),C=h!==void 0||m===ua?fp(h||null,b,m):m,P=await Eo(t,x),A=((o=s.autoPlacement)==null?void 0:o.index)||0,L=C[A];if(L==null)return{};let S=ga(L,i,await(d.isRTL==null?void 0:d.isRTL(p.floating)));if(l!==L)return{reset:{placement:C[0]}};let O=[P[kt(L)],P[S[0]],P[S[1]]],E=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:L,overflows:O}],$=C[A+1];if($)return{data:{index:A+1,overflows:E},reset:{placement:$}};let F=E.map(I=>{let y=Dt(I.placement);return[I.placement,y&&f?I.overflows.slice(0,2).reduce((v,T)=>v+T,0):I.overflows[0],I.overflows]}).sort((I,y)=>I[1]-y[1]),z=((a=F.filter(I=>I[2].slice(0,Dt(I[0])?2:3).every(y=>y<=0))[0])==null?void 0:a[0])||F[0][0];return z!==l?{data:{index:A+1,overflows:E},reset:{placement:z}}:{}}}},xa=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var o,n;let{placement:a,middlewareData:i,rects:s,initialPlacement:l,platform:d,elements:p}=t,{mainAxis:f=!0,crossAxis:h=!0,fallbackPlacements:m,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:C=!0,...P}=Ve(e,t);if((o=i.arrow)!=null&&o.alignmentOffset)return{};let A=kt(a),L=kt(l)===l,S=await(d.isRTL==null?void 0:d.isRTL(p.floating)),O=m||(L||!C?[Pr(l)]:As(l));!m&&x!=="none"&&O.push(...Rs(l,C,x,S));let E=[l,...O],$=await Eo(t,P),F=[],H=((n=i.flip)==null?void 0:n.overflows)||[];if(f&&F.push($[A]),h){let v=ga(a,s,S);F.push($[v[0]],$[v[1]])}if(H=[...H,{placement:a,overflows:F}],!F.every(v=>v<=0)){var z,I;let v=(((z=i.flip)==null?void 0:z.index)||0)+1,T=E[v];if(T)return{data:{index:v,overflows:H},reset:{placement:T}};let B=(I=H.filter(W=>W.overflows[0]<=0).sort((W,U)=>W.overflows[1]-U.overflows[1])[0])==null?void 0:I.placement;if(!B)switch(b){case"bestFit":{var y;let W=(y=H.map(U=>[U.placement,U.overflows.filter(Lt=>Lt>0).reduce((Lt,ur)=>Lt+ur,0)]).sort((U,Lt)=>U[1]-Lt[1])[0])==null?void 0:y[0];W&&(B=W);break}case"initialPlacement":B=l;break}if(a!==B)return{reset:{placement:B}}}return{}}}};async function hp(e,t){let{placement:o,platform:n,elements:a}=e,i=await(n.isRTL==null?void 0:n.isRTL(a.floating)),s=kt(o),l=Dt(o),d=$r(o)==="y",p=["left","top"].includes(s)?-1:1,f=i&&d?-1:1,h=Ve(t,e),{mainAxis:m,crossAxis:b,alignmentAxis:x}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...h};return l&&typeof x=="number"&&(b=l==="end"?x*-1:x),d?{x:b*f,y:m*p}:{x:m*p,y:b*f}}var va=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var o,n;let{x:a,y:i,placement:s,middlewareData:l}=t,d=await hp(t,e);return s===((o=l.offset)==null?void 0:o.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:a+d.x,y:i+d.y,data:{...d,placement:s}}}}},Sa=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:n,placement:a}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:P=>{let{x:A,y:L}=P;return{x:A,y:L}}},...d}=Ve(e,t),p={x:o,y:n},f=await Eo(t,d),h=$r(kt(a)),m=ha(h),b=p[m],x=p[h];if(i){let P=m==="y"?"top":"left",A=m==="y"?"bottom":"right",L=b+f[P],S=b-f[A];b=fa(L,b,S)}if(s){let P=h==="y"?"top":"left",A=h==="y"?"bottom":"right",L=x+f[P],S=x-f[A];x=fa(L,x,S)}let C=l.fn({...t,[m]:b,[h]:x});return{...C,data:{x:C.x-o,y:C.y-n}}}}};function Zt(e){return Ts(e)?(e.nodeName||"").toLowerCase():"#document"}function ut(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function qt(e){var t;return(t=(Ts(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ts(e){return e instanceof Node||e instanceof ut(e).Node}function Ut(e){return e instanceof Element||e instanceof ut(e).Element}function Et(e){return e instanceof HTMLElement||e instanceof ut(e).HTMLElement}function Ps(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ut(e).ShadowRoot}function Ge(e){let{overflow:t,overflowX:o,overflowY:n,display:a}=bt(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(a)}function Is(e){return["table","td","th"].includes(Zt(e))}function Ao(e){let t=Ro(),o=bt(e);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!t&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!t&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function $s(e){let t=_e(e);for(;Et(t)&&!kr(t);){if(Ao(t))return t;t=_e(t)}return null}function Ro(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function kr(e){return["html","body","#document"].includes(Zt(e))}function bt(e){return ut(e).getComputedStyle(e)}function Dr(e){return Ut(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function _e(e){if(Zt(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Ps(e)&&e.host||qt(e);return Ps(t)?t.host:t}function ks(e){let t=_e(e);return kr(t)?e.ownerDocument?e.ownerDocument.body:e.body:Et(t)&&Ge(t)?t:ks(t)}function wo(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let a=ks(e),i=a===((n=e.ownerDocument)==null?void 0:n.body),s=ut(a);return i?t.concat(s,s.visualViewport||[],Ge(a)?a:[],s.frameElement&&o?wo(s.frameElement):[]):t.concat(a,wo(a,[],o))}function Ms(e){let t=bt(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,a=Et(e),i=a?e.offsetWidth:o,s=a?e.offsetHeight:n,l=Ir(o)!==i||Ir(n)!==s;return l&&(o=i,n=s),{width:o,height:n,$:l}}function Bs(e){return Ut(e)?e:e.contextElement}function Ke(e){let t=Bs(e);if(!Et(t))return Kt(1);let o=t.getBoundingClientRect(),{width:n,height:a,$:i}=Ms(t),s=(i?Ir(o.width):o.width)/n,l=(i?Ir(o.height):o.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var yp=Kt(0);function Fs(e){let t=ut(e);return!Ro()||!t.visualViewport?yp:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function mp(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==ut(e)?!1:t}function Ur(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let a=e.getBoundingClientRect(),i=Bs(e),s=Kt(1);t&&(n?Ut(n)&&(s=Ke(n)):s=Ke(e));let l=mp(i,o,n)?Fs(i):Kt(0),d=(a.left+l.x)/s.x,p=(a.top+l.y)/s.y,f=a.width/s.x,h=a.height/s.y;if(i){let m=ut(i),b=n&&Ut(n)?ut(n):n,x=m.frameElement;for(;x&&n&&b!==m;){let C=Ke(x),P=x.getBoundingClientRect(),A=bt(x),L=P.left+(x.clientLeft+parseFloat(A.paddingLeft))*C.x,S=P.top+(x.clientTop+parseFloat(A.paddingTop))*C.y;d*=C.x,p*=C.y,f*=C.x,h*=C.y,d+=L,p+=S,x=ut(x).frameElement}}return Ne({width:f,height:h,x:d,y:p})}function gp(e){let{rect:t,offsetParent:o,strategy:n}=e,a=Et(o),i=qt(o);if(o===i)return t;let s={scrollLeft:0,scrollTop:0},l=Kt(1),d=Kt(0);if((a||!a&&n!=="fixed")&&((Zt(o)!=="body"||Ge(i))&&(s=Dr(o)),Et(o))){let p=Ur(o);l=Ke(o),d.x=p.x+o.clientLeft,d.y=p.y+o.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-s.scrollLeft*l.x+d.x,y:t.y*l.y-s.scrollTop*l.y+d.y}}function bp(e){return Array.from(e.getClientRects())}function Ws(e){return Ur(qt(e)).left+Dr(e).scrollLeft}function xp(e){let t=qt(e),o=Dr(e),n=e.ownerDocument.body,a=oe(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=oe(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+Ws(e),l=-o.scrollTop;return bt(n).direction==="rtl"&&(s+=oe(t.clientWidth,n.clientWidth)-a),{width:a,height:i,x:s,y:l}}function vp(e,t){let o=ut(e),n=qt(e),a=o.visualViewport,i=n.clientWidth,s=n.clientHeight,l=0,d=0;if(a){i=a.width,s=a.height;let p=Ro();(!p||p&&t==="fixed")&&(l=a.offsetLeft,d=a.offsetTop)}return{width:i,height:s,x:l,y:d}}function Sp(e,t){let o=Ur(e,!0,t==="fixed"),n=o.top+e.clientTop,a=o.left+e.clientLeft,i=Et(e)?Ke(e):Kt(1),s=e.clientWidth*i.x,l=e.clientHeight*i.y,d=a*i.x,p=n*i.y;return{width:s,height:l,x:d,y:p}}function Ds(e,t,o){let n;if(t==="viewport")n=vp(e,o);else if(t==="document")n=xp(qt(e));else if(Ut(t))n=Sp(t,o);else{let a=Fs(e);n={...t,x:t.x-a.x,y:t.y-a.y}}return Ne(n)}function Hs(e,t){let o=_e(e);return o===t||!Ut(o)||kr(o)?!1:bt(o).position==="fixed"||Hs(o,t)}function Op(e,t){let o=t.get(e);if(o)return o;let n=wo(e,[],!1).filter(l=>Ut(l)&&Zt(l)!=="body"),a=null,i=bt(e).position==="fixed",s=i?_e(e):e;for(;Ut(s)&&!kr(s);){let l=bt(s),d=Ao(s);!d&&l.position==="fixed"&&(a=null),(i?!d&&!a:!d&&l.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||Ge(s)&&!d&&Hs(e,s))?n=n.filter(f=>f!==s):a=l,s=_e(s)}return t.set(e,n),n}function Cp(e){let{element:t,boundary:o,rootBoundary:n,strategy:a}=e,s=[...o==="clippingAncestors"?Op(t,this._c):[].concat(o),n],l=s[0],d=s.reduce((p,f)=>{let h=Ds(t,f,a);return p.top=oe(h.top,p.top),p.right=Tr(h.right,p.right),p.bottom=Tr(h.bottom,p.bottom),p.left=oe(h.left,p.left),p},Ds(t,l,a));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Ep(e){return Ms(e)}function wp(e,t,o){let n=Et(t),a=qt(t),i=o==="fixed",s=Ur(e,!0,i,t),l={scrollLeft:0,scrollTop:0},d=Kt(0);if(n||!n&&!i)if((Zt(t)!=="body"||Ge(a))&&(l=Dr(t)),n){let p=Ur(t,!0,i,t);d.x=p.x+t.clientLeft,d.y=p.y+t.clientTop}else a&&(d.x=Ws(a));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function Us(e,t){return!Et(e)||bt(e).position==="fixed"?null:t?t(e):e.offsetParent}function zs(e,t){let o=ut(e);if(!Et(e))return o;let n=Us(e,t);for(;n&&Is(n)&&bt(n).position==="static";)n=Us(n,t);return n&&(Zt(n)==="html"||Zt(n)==="body"&&bt(n).position==="static"&&!Ao(n))?o:n||$s(e)||o}var Ap=async function(e){let{reference:t,floating:o,strategy:n}=e,a=this.getOffsetParent||zs,i=this.getDimensions;return{reference:wp(t,await a(o),n),floating:{x:0,y:0,...await i(o)}}};function Rp(e){return bt(e).direction==="rtl"}var Ze={convertOffsetParentRelativeRectToViewportRelativeRect:gp,getDocumentElement:qt,getClippingRect:Cp,getOffsetParent:zs,getElementRects:Ap,getClientRects:bp,getDimensions:Ep,getScale:Ke,isElement:Ut,isRTL:Rp};var Oa=(e,t,o)=>{let n=new Map,a={platform:Ze,...o},i={...a.platform,_c:n};return Ls(e,t,{...a,platform:i})};function Ea(e){return Np(e)}function Ca(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Np(e){for(let t=e;t;t=Ca(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=Ca(e);t;t=Ca(t)){if(!(t instanceof Element))continue;let o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||t.tagName==="BODY"))return t}return null}async function wa(e,t,o){return Oa(e,t,{platform:{...Ze,getOffsetParent:n=>Ze.getOffsetParent(n,Ea)},middleware:[Sa({crossAxis:!0}),ba({allowedPlacements:[o]})]})}async function _p(e,t,o,n,a){return Oa(e,t,{placement:o,strategy:a,platform:{...Ze,getOffsetParent:i=>Ze.getOffsetParent(i,Ea)},middleware:[va(4),xa({fallbackPlacements:n})]})}var La={};j(La,{FtdsBase:()=>_a,toFtdsBase:()=>Lo});var Na={};j(Na,{FtLitElement:()=>G});var Ra={};j(Ra,{ScopedRegistryLitElement:()=>Mr});var No=window,Lp=No.ShadowRoot&&(No.ShadyCSS===void 0||No.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Cg=Symbol();var js=(e,t)=>{Lp?e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):t.forEach(o=>{let n=document.createElement("style"),a=No.litNonce;a!==void 0&&n.setAttribute("nonce",a),n.textContent=o.cssText,e.appendChild(n)})};var Mr=class extends jt{createRenderRoot(){let t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach(([a,i])=>t.registry.define(a,i)));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return js(n,t.elementStyles),n}};var _o=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},Zs,Vs=Symbol("constructorPrototype"),Gs=Symbol("constructorName"),qs=Symbol("exportpartsDebouncer"),Ks=Symbol("dynamicDependenciesLoaded"),G=class extends Mr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Zs]=new gt(5),this[Gs]=this.constructor.name,this[Vs]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Gs]&&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(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let t=this.constructor;t[Ks]||(t[Ks]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}applyCustomStylesheet(t){var o,n,a;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(i=>i.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((a=this.customStylesheet)!==null&&a!==void 0?a:"")}catch(i){console.error(i,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let i=document.createElement("style");i.classList.add("ft-lit-element--custom-stylesheet"),i.innerHTML=this.customStylesheet,this.shadowRoot.append(i)}}scheduleExportpartsUpdate(){var t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[qs].run(()=>{var a,i;!((a=this.exportpartsPrefix)===null||a===void 0)&&a.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((i=this.exportpartsPrefixes)===null||i===void 0?void 0:i.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(t){var o,n,a,i,s,l;let d=m=>m!=null&&m.trim().length>0,p=t.filter(d).map(m=>m.trim());if(p.length===0){this.removeAttribute("exportparts");return}let f=new Set;for(let m of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let b=(i=(a=m.getAttribute("part"))===null||a===void 0?void 0:a.split(" "))!==null&&i!==void 0?i:[],x=(l=(s=m.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(C=>C.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...b,...x).filter(d).map(C=>C.trim()).forEach(C=>f.add(C))}if(f.size===0){this.removeAttribute("exportparts");return}let h=[...f.values()].flatMap(m=>p.map(b=>`${m}:${b}--${m}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};Zs=qs;_o([N()],G.prototype,"exportpartsPrefix",void 0);_o([$t([])],G.prototype,"exportpartsPrefixes",void 0);_o([N()],G.prototype,"customStylesheet",void 0);_o([pt()],G.prototype,"useAdoptedStyleSheets",void 0);var Ys=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i};function Lo(e){class t extends e{constructor(){super(...arguments),this.size=Gt.medium,this.family=Re.neutral}getDesignSystemBaseClasses(){return{[na(this.family)]:!0,[aa(this.size)]:!0}}}return Ys([N()],t.prototype,"size",void 0),Ys([N()],t.prototype,"family",void 0),t}var _a=class extends Lo(G){};var Xs={};var Ia={};j(Ia,{highlightHtml:()=>Ta,highlightHtmlColorCssVariable:()=>Js,highlightHtmlStyles:()=>Tp});var Le=class e{constructor(t,o=!0,n=[],a=5e3){this.ctx=t,this.iframes=o,this.exclude=n,this.iframesTimeout=a}static matches(t,o){let n=typeof o=="string"?[o]:o,a=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(a){let i=!1;return n.every(s=>a.call(t,s)?(i=!0,!1):!0),i}else return!1}getContexts(){let t,o=[];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 a=o.filter(i=>i.contains(n)).length>0;o.indexOf(n)===-1&&!a&&o.push(n)}),o}getIframeContents(t,o,n=()=>{}){let a;try{let i=t.contentWindow;if(a=i.document,!i||!a)throw new Error("iframe inaccessible")}catch{n()}a&&o(a)}isIframeBlank(t){let o="about:blank",n=t.getAttribute("src").trim();return t.contentWindow.location.href===o&&n!==o&&n}observeIframeLoad(t,o,n){let a=!1,i=null,s=()=>{if(!a){a=!0,clearTimeout(i);try{this.isIframeBlank(t)||(t.removeEventListener("load",s),this.getIframeContents(t,o,n))}catch{n()}}};t.addEventListener("load",s),i=setTimeout(s,this.iframesTimeout)}onIframeReady(t,o,n){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,o,n):this.getIframeContents(t,o,n):this.observeIframeLoad(t,o,n)}catch{n()}}waitForIframes(t,o){let n=0;this.forEachIframe(t,()=>!0,a=>{n++,this.waitForIframes(a.querySelector("html"),()=>{--n||o()})},a=>{a||o()})}forEachIframe(t,o,n,a=()=>{}){let i=t.querySelectorAll("iframe"),s=i.length,l=0;i=Array.prototype.slice.call(i);let d=()=>{--s<=0&&a(l)};s||d(),i.forEach(p=>{e.matches(p,this.exclude)?d():this.onIframeReady(p,f=>{o(p)&&(l++,n(f)),d()},d)})}createIterator(t,o,n){return document.createNodeIterator(t,o,n,!1)}createInstanceOnIframe(t){return new e(t.querySelector("html"),this.iframes)}compareNodeIframe(t,o,n){let a=t.compareDocumentPosition(n),i=Node.DOCUMENT_POSITION_PRECEDING;if(a&i)if(o!==null){let s=o.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(t){let o=t.previousNode(),n;return o===null?n=t.nextNode():n=t.nextNode()&&t.nextNode(),{prevNode:o,node:n}}checkIframeFilter(t,o,n,a){let i=!1,s=!1;return a.forEach((l,d)=>{l.val===n&&(i=d,s=l.handled)}),this.compareNodeIframe(t,o,n)?(i===!1&&!s?a.push({val:n,handled:!0}):i!==!1&&!s&&(a[i].handled=!0),!0):(i===!1&&a.push({val:n,handled:!1}),!1)}handleOpenIframes(t,o,n,a){t.forEach(i=>{i.handled||this.getIframeContents(i.val,s=>{this.createInstanceOnIframe(s).forEachNode(o,n,a)})})}iterateThroughNodes(t,o,n,a,i){let s=this.createIterator(o,t,a),l=[],d=[],p,f,h=()=>({prevNode:f,node:p}=this.getIteratorNode(s),p);for(;h();)this.iframes&&this.forEachIframe(o,m=>this.checkIframeFilter(p,f,m,l),m=>{this.createInstanceOnIframe(m).forEachNode(t,b=>d.push(b),a)}),d.push(p);d.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(l,t,n,a),i()}forEachNode(t,o,n,a=()=>{}){let i=this.getContexts(),s=i.length;s||a(),i.forEach(l=>{let d=()=>{this.iterateThroughNodes(t,l,o,n,()=>{--s<=0&&a()})};this.iframes?this.waitForIframes(l,d):d()})}};var Br=class{constructor(t){this.ctx=t,this.ie=!1;let o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.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 Le(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,o="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[o]=="function"&&n[o](`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 o=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",a=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in o)if(o.hasOwnProperty(i)){let s=o[i],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${n}`),a+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+a))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return t=t.replace(/(?:\\)*\?/g,o=>o.charAt(0)==="\\"?"?":""),t.replace(/(?:\\)*\*/g,o=>o.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(t){let o=this.opt.wildcards==="withSpaces";return t.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,(o,n,a)=>{let i=a.charAt(n+1);return/[(|)\\]/.test(i)||i===""?o:o+"\0"})}createJoinersRegExp(t){let o=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&o.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?t.split(/\u0000+/).join(`[${o.join("")}]*`):t}createDiacriticsRegExp(t){let o=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"],a=[];return t.split("").forEach(i=>{n.every(s=>{if(s.indexOf(i)!==-1){if(a.indexOf(s)>-1)return!1;t=t.replace(new RegExp(`[${s}]`,`gm${o}`),`[${s}]`),a.push(s)}return!0})}),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(t){let o="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,a=typeof n=="string"?n:n.value,i=typeof n=="string"?[]:n.limiters,s="";switch(i.forEach(l=>{s+=`|${this.escapeStr(l)}`}),a){case"partially":default:return`()(${t})`;case"complementary":return s="\\s"+(s||this.escapeStr(o)),`()([^${s}]*${t}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${t})(?=$|\\s${s})`}}getSeparatedKeywords(t){let o=[];return t.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(a=>{a.trim()&&o.indexOf(a)===-1&&o.push(a)}):n.trim()&&o.indexOf(n)===-1&&o.push(n)}),{keywords:o.sort((n,a)=>a.length-n.length),length:o.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 o=[],n=0;return t.sort((a,i)=>a.start-i.start).forEach(a=>{let{start:i,end:s,valid:l}=this.callNoMatchOnInvalidRanges(a,n);l&&(a.start=i,a.length=s-i,o.push(a),n=s)}),o}callNoMatchOnInvalidRanges(t,o){let n,a,i=!1;return t&&typeof t.start<"u"?(n=parseInt(t.start,10),a=n+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&a-o>0&&a-n>0?i=!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:a,valid:i}}checkWhitespaceRanges(t,o,n){let a,i=!0,s=n.length,l=o-s,d=parseInt(t.start,10)-l;return d=d>s?s:d,a=d+parseInt(t.length,10),a>s&&(a=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||a-d<0||d>s||a>s?(i=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):n.substring(d,a).replace(/\s+/g,"")===""&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:d,end:a,valid:i}}getTextNodes(t){let o="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,a=>{n.push({start:o.length,end:(o+=a.textContent).length,node:a})},a=>this.matchesExclude(a.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{t({value:o,nodes:n})})}matchesExclude(t){return Le.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,o,n){let a=this.opt.element?this.opt.element:"mark",i=t.splitText(o),s=i.splitText(n-o),l=document.createElement(a);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=i.textContent,i.parentNode.replaceChild(l,i),s}wrapRangeInMappedTextNode(t,o,n,a,i){t.nodes.every((s,l)=>{let d=t.nodes[l+1];if(typeof d>"u"||d.start>o){if(!a(s.node))return!1;let p=o-s.start,f=(n>s.end?s.end:n)-s.start,h=t.value.substr(0,s.start),m=t.value.substr(f+s.start);if(s.node=this.wrapRangeInTextNode(s.node,p,f),t.value=h+m,t.nodes.forEach((b,x)=>{x>=l&&(t.nodes[x].start>0&&x!==l&&(t.nodes[x].start-=f),t.nodes[x].end-=f)}),n-=f,i(s.node.previousSibling,s.start),n>s.end)o=s.end;else return!1}return!0})}wrapMatches(t,o,n,a,i){let s=o===0?0:o+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let p;for(;(p=t.exec(d.textContent))!==null&&p[s]!=="";){if(!n(p[s],d))continue;let f=p.index;if(s!==0)for(let h=1;h<s;h++)f+=p[h].length;d=this.wrapRangeInTextNode(d,f,f+p[s].length),a(d.previousSibling),t.lastIndex=0}}),i()})}wrapMatchesAcrossElements(t,o,n,a,i){let s=o===0?0:o+1;this.getTextNodes(l=>{let d;for(;(d=t.exec(l.value))!==null&&d[s]!=="";){let p=d.index;if(s!==0)for(let h=1;h<s;h++)p+=d[h].length;let f=p+d[s].length;this.wrapRangeInMappedTextNode(l,p,f,h=>n(d[s],h),(h,m)=>{t.lastIndex=m,a(h)})}i()})}wrapRangeFromIndex(t,o,n,a){this.getTextNodes(i=>{let s=i.value.length;t.forEach((l,d)=>{let{start:p,end:f,valid:h}=this.checkWhitespaceRanges(l,s,i.value);h&&this.wrapRangeInMappedTextNode(i,p,f,m=>o(m,l,i.value.substring(p,f),d),m=>{n(m,l)})}),a()})}unwrapMatches(t){let o=t.parentNode,n=document.createDocumentFragment();for(;t.firstChild;)n.appendChild(t.removeChild(t.firstChild));o.replaceChild(n,t),this.ie?this.normalizeTextNode(o):o.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,o){this.opt=o,this.log(`Searching with expression "${t}"`);let n=0,a="wrapMatches",i=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),this[a](t,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),i,()=>{n===0&&this.opt.noMatch(t),this.opt.done(n)})}mark(t,o){this.opt=o;let n=0,a="wrapMatches",{keywords:i,length:s}=this.getSeparatedKeywords(typeof t=="string"?[t]:t),l=this.opt.caseSensitive?"":"i",d=p=>{let f=new RegExp(this.createRegExp(p),`gm${l}`),h=0;this.log(`Searching with expression "${f}"`),this[a](f,1,(m,b)=>this.opt.filter(b,p,n,h),m=>{h++,n++,this.opt.each(m)},()=>{h===0&&this.opt.noMatch(p),i[s-1]===p?this.opt.done(n):d(i[i.indexOf(p)+1])})};this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(i[0])}markRanges(t,o){this.opt=o;let n=0,a=this.checkRanges(t);a&&a.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(a)),this.wrapRangeFromIndex(a,(i,s,l,d)=>this.opt.filter(i,s,l,d),(i,s)=>{n++,this.opt.each(i,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(t){this.opt=t;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let a=Le.matches(n,o),i=this.matchesExclude(n);return!a||i?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Pa(e){let t=new Br(e);return this.mark=(o,n)=>(t.mark(o,n),this),this.markRegExp=(o,n)=>(t.markRegExp(o,n),this),this.markRanges=(o,n)=>(t.markRanges(o,n),this),this.unmark=o=>(t.unmark(o),this),this}var Pp=Pa,Js=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Tp=D`
|
|
1
|
+
"use strict";(()=>{var zl=Object.create;var an=Object.defineProperty;var jl=Object.getOwnPropertyDescriptor;var Vl=Object.getOwnPropertyNames;var Gl=Object.getPrototypeOf,Kl=Object.prototype.hasOwnProperty;var Zl=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),j=(e,t)=>{for(var o in t)an(e,o,{get:t[o],enumerable:!0})},ql=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Vl(t))!Kl.call(e,i)&&i!==o&&an(e,i,{get:()=>t[i],enumerable:!(n=jl(t,i))||n.enumerable});return e};var Yl=(e,t,o)=>(o=e!=null?zl(Gl(e)):{},ql(t||!e||!e.__esModule?an(o,"default",{value:e,enumerable:!0}):o,e));var Dc=Zl((pe,kc)=>{var jo=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global,Vo=function(){function e(){this.fetch=!1,this.DOMException=jo.DOMException}return e.prototype=jo,new e}();(function(e){var t=function(o){var n=typeof e<"u"&&e||typeof self<"u"&&self||typeof global<"u"&&global||{},i={searchParams:"URLSearchParams"in n,iterable:"Symbol"in n&&"iterator"in Symbol,blob:"FileReader"in n&&"Blob"in n&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in n,arrayBuffer:"ArrayBuffer"in n};function a(y){return y&&DataView.prototype.isPrototypeOf(y)}if(i.arrayBuffer)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(y){return y&&s.indexOf(Object.prototype.toString.call(y))>-1};function d(y){if(typeof y!="string"&&(y=String(y)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(y)||y==="")throw new TypeError('Invalid character in header field name: "'+y+'"');return y.toLowerCase()}function p(y){return typeof y!="string"&&(y=String(y)),y}function f(y){var v={next:function(){var I=y.shift();return{done:I===void 0,value:I}}};return i.iterable&&(v[Symbol.iterator]=function(){return v}),v}function h(y){this.map={},y instanceof h?y.forEach(function(v,I){this.append(I,v)},this):Array.isArray(y)?y.forEach(function(v){if(v.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+v.length);this.append(v[0],v[1])},this):y&&Object.getOwnPropertyNames(y).forEach(function(v){this.append(v,y[v])},this)}h.prototype.append=function(y,v){y=d(y),v=p(v);var I=this.map[y];this.map[y]=I?I+", "+v:v},h.prototype.delete=function(y){delete this.map[d(y)]},h.prototype.get=function(y){return y=d(y),this.has(y)?this.map[y]:null},h.prototype.has=function(y){return this.map.hasOwnProperty(d(y))},h.prototype.set=function(y,v){this.map[d(y)]=p(v)},h.prototype.forEach=function(y,v){for(var I in this.map)this.map.hasOwnProperty(I)&&y.call(v,this.map[I],I,this)},h.prototype.keys=function(){var y=[];return this.forEach(function(v,I){y.push(I)}),f(y)},h.prototype.values=function(){var y=[];return this.forEach(function(v){y.push(v)}),f(y)},h.prototype.entries=function(){var y=[];return this.forEach(function(v,I){y.push([I,v])}),f(y)},i.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function m(y){if(!y._noBody){if(y.bodyUsed)return Promise.reject(new TypeError("Already read"));y.bodyUsed=!0}}function b(y){return new Promise(function(v,I){y.onload=function(){v(y.result)},y.onerror=function(){I(y.error)}})}function x(y){var v=new FileReader,I=b(v);return v.readAsArrayBuffer(y),I}function O(y){var v=new FileReader,I=b(v),F=/charset=([A-Za-z0-9_-]+)/.exec(y.type),z=F?F[1]:"utf-8";return v.readAsText(y,z),I}function N(y){for(var v=new Uint8Array(y),I=new Array(v.length),F=0;F<v.length;F++)I[F]=String.fromCharCode(v[F]);return I.join("")}function L(y){if(y.slice)return y.slice(0);var v=new Uint8Array(y.byteLength);return v.set(new Uint8Array(y)),v.buffer}function P(){return this.bodyUsed=!1,this._initBody=function(y){this.bodyUsed=this.bodyUsed,this._bodyInit=y,y?typeof y=="string"?this._bodyText=y:i.blob&&Blob.prototype.isPrototypeOf(y)?this._bodyBlob=y:i.formData&&FormData.prototype.isPrototypeOf(y)?this._bodyFormData=y:i.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)?this._bodyText=y.toString():i.arrayBuffer&&i.blob&&a(y)?(this._bodyArrayBuffer=L(y.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):i.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(y)||l(y))?this._bodyArrayBuffer=L(y):this._bodyText=y=Object.prototype.toString.call(y):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof y=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):i.searchParams&&URLSearchParams.prototype.isPrototypeOf(y)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},i.blob&&(this.blob=function(){var y=m(this);if(y)return y;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var y=m(this);return y||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(i.blob)return this.blob().then(x);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var y=m(this);if(y)return y;if(this._bodyBlob)return O(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(N(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i.formData&&(this.formData=function(){return this.text().then(T)}),this.json=function(){return this.text().then(JSON.parse)},this}var C=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function S(y){var v=y.toUpperCase();return C.indexOf(v)>-1?v:y}function E(y,v){if(!(this instanceof E))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');v=v||{};var I=v.body;if(y instanceof E){if(y.bodyUsed)throw new TypeError("Already read");this.url=y.url,this.credentials=y.credentials,v.headers||(this.headers=new h(y.headers)),this.method=y.method,this.mode=y.mode,this.signal=y.signal,!I&&y._bodyInit!=null&&(I=y._bodyInit,y.bodyUsed=!0)}else this.url=String(y);if(this.credentials=v.credentials||this.credentials||"same-origin",(v.headers||!this.headers)&&(this.headers=new h(v.headers)),this.method=S(v.method||this.method||"GET"),this.mode=v.mode||this.mode||null,this.signal=v.signal||this.signal||function(){if("AbortController"in n){var U=new AbortController;return U.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&I)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(I),(this.method==="GET"||this.method==="HEAD")&&(v.cache==="no-store"||v.cache==="no-cache")){var F=/([?&])_=[^&]*/;if(F.test(this.url))this.url=this.url.replace(F,"$1_="+new Date().getTime());else{var z=/\?/;this.url+=(z.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}E.prototype.clone=function(){return new E(this,{body:this._bodyInit})};function T(y){var v=new FormData;return y.trim().split("&").forEach(function(I){if(I){var F=I.split("="),z=F.shift().replace(/\+/g," "),U=F.join("=").replace(/\+/g," ");v.append(decodeURIComponent(z),decodeURIComponent(U))}}),v}function M(y){var v=new h,I=y.replace(/\r?\n[\t ]+/g," ");return I.split("\r").map(function(F){return F.indexOf(`
|
|
2
|
+
`)===0?F.substr(1,F.length):F}).forEach(function(F){var z=F.split(":"),U=z.shift().trim();if(U){var Lt=z.join(":").trim();try{v.append(U,Lt)}catch(hr){console.warn("Response "+hr.message)}}}),v}P.call(E.prototype);function H(y,v){if(!(this instanceof H))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(v||(v={}),this.type="default",this.status=v.status===void 0?200:v.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=v.statusText===void 0?"":""+v.statusText,this.headers=new h(v.headers),this.url=v.url||"",this._initBody(y)}P.call(H.prototype),H.prototype.clone=function(){return new H(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},H.error=function(){var y=new H(null,{status:200,statusText:""});return y.ok=!1,y.status=0,y.type="error",y};var W=[301,302,303,307,308];H.redirect=function(y,v){if(W.indexOf(v)===-1)throw new RangeError("Invalid status code");return new H(null,{status:v,headers:{location:y}})},o.DOMException=n.DOMException;try{new o.DOMException}catch{o.DOMException=function(v,I){this.message=v,this.name=I;var F=Error(v);this.stack=F.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function $(y,v){return new Promise(function(I,F){var z=new E(y,v);if(z.signal&&z.signal.aborted)return F(new o.DOMException("Aborted","AbortError"));var U=new XMLHttpRequest;function Lt(){U.abort()}U.onload=function(){var at={statusText:U.statusText,headers:M(U.getAllResponseHeaders()||"")};z.url.indexOf("file://")===0&&(U.status<200||U.status>599)?at.status=200:at.status=U.status,at.url="responseURL"in U?U.responseURL:at.headers.get("X-Request-URL");var he="response"in U?U.response:U.responseText;setTimeout(function(){I(new H(he,at))},0)},U.onerror=function(){setTimeout(function(){F(new TypeError("Network request failed"))},0)},U.ontimeout=function(){setTimeout(function(){F(new TypeError("Network request timed out"))},0)},U.onabort=function(){setTimeout(function(){F(new o.DOMException("Aborted","AbortError"))},0)};function hr(at){try{return at===""&&n.location.href?n.location.href:at}catch{return at}}if(U.open(z.method,hr(z.url),!0),z.credentials==="include"?U.withCredentials=!0:z.credentials==="omit"&&(U.withCredentials=!1),"responseType"in U&&(i.blob?U.responseType="blob":i.arrayBuffer&&(U.responseType="arraybuffer")),v&&typeof v.headers=="object"&&!(v.headers instanceof h||n.Headers&&v.headers instanceof n.Headers)){var Ia=[];Object.getOwnPropertyNames(v.headers).forEach(function(at){Ia.push(d(at)),U.setRequestHeader(at,p(v.headers[at]))}),z.headers.forEach(function(at,he){Ia.indexOf(he)===-1&&U.setRequestHeader(he,at)})}else z.headers.forEach(function(at,he){U.setRequestHeader(he,at)});z.signal&&(z.signal.addEventListener("abort",Lt),U.onreadystatechange=function(){U.readyState===4&&z.signal.removeEventListener("abort",Lt)}),U.send(typeof z._bodyInit>"u"?null:z._bodyInit)})}return $.polyfill=!0,n.fetch||(n.fetch=$,n.Headers=h,n.Request=E,n.Response=H),o.Headers=h,o.Request=E,o.Response=H,o.fetch=$,o}({})})(Vo);Vo.fetch.ponyfill=!0;delete Vo.fetch.polyfill;var rr=jo.fetch?jo:Vo;pe=rr.fetch;pe.default=rr.fetch;pe.fetch=rr.fetch;pe.Headers=rr.Headers;pe.Request=rr.Request;pe.Response=rr.Response;kc.exports=pe});if(!ShadowRoot.prototype.createElement){let e=window.HTMLElement,t=window.customElements.define,o=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(C,S){if(C=C.toLowerCase(),this._getDefinition(C)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${C}" 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,T=new Set(S.observedAttributes||[]);m(S,T,E);let M={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:T};this._definitionsByTag.set(C,M),this._definitionsByClass.set(S,M);let H=o.call(n,C);H||(H=h(C),t.call(n,C,H)),this===window.customElements&&(s.set(S,M),M.standInClass=H);let W=this._awaitingUpgrade.get(C);if(W){this._awaitingUpgrade.delete(C);for(let y of W)a.delete(y),x(y,M,!0)}let $=this._whenDefinedPromises.get(C);return $!==void 0&&($.resolve(S),this._whenDefinedPromises.delete(C)),S}upgrade(){N.push(this),n.upgrade.apply(n,arguments),N.pop()}get(C){return this._definitionsByTag.get(C)?.elementClass}_getDefinition(C){return this._definitionsByTag.get(C)}whenDefined(C){let S=this._getDefinition(C);if(S!==void 0)return Promise.resolve(S.elementClass);let E=this._whenDefinedPromises.get(C);return E===void 0&&(E={},E.promise=new Promise(T=>E.resolve=T),this._whenDefinedPromises.set(C,E)),E.promise}_upgradeWhenDefined(C,S,E){let T=this._awaitingUpgrade.get(S);T||this._awaitingUpgrade.set(S,T=new Set),E?T.add(C):T.delete(C)}};let d;window.HTMLElement=function(){let S=d;if(S)return d=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 p=C=>C===document||C instanceof ShadowRoot,f=C=>{let S=C.getRootNode();if(!p(S)){let E=N[N.length-1];if(E instanceof CustomElementRegistry)return E;S=E.getRootNode(),p(S)||(S=l.get(S)?.getRootNode()||document)}return S.customElements},h=C=>class{static get formAssociated(){return!0}constructor(){let E=Reflect.construct(e,[],this.constructor);Object.setPrototypeOf(E,HTMLElement.prototype);let T=f(E)||window.customElements,M=T._getDefinition(C);return M?x(E,M):a.set(E,T),E}connectedCallback(){let E=i.get(this);E?E.connectedCallback&&E.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,C,!0)}disconnectedCallback(){let E=i.get(this);E?E.disconnectedCallback&&E.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,C,!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)}},m=(C,S,E)=>{if(S.size===0||E===void 0)return;let T=C.prototype.setAttribute;T&&(C.prototype.setAttribute=function(W,$){let y=W.toLowerCase();if(S.has(y)){let v=this.getAttribute(y);T.call(this,y,$),E.call(this,y,v,$)}else T.call(this,y,$)});let M=C.prototype.removeAttribute;M&&(C.prototype.removeAttribute=function(W){let $=W.toLowerCase();if(S.has($)){let y=this.getAttribute($);M.call(this,$),E.call(this,$,y,null)}else M.call(this,$)});let H=C.prototype.toggleAttribute;H&&(C.prototype.toggleAttribute=function(W,$){let y=W.toLowerCase();if(S.has(y)){let v=this.getAttribute(y);H.call(this,y,$);let I=this.getAttribute(y);E.call(this,y,v,I)}else H.call(this,y,$)})},b=C=>{let S=Object.getPrototypeOf(C);if(S!==window.HTMLElement)return S===e?Object.setPrototypeOf(C,window.HTMLElement):b(S)},x=(C,S,E=!1)=>{Object.setPrototypeOf(C,S.elementClass.prototype),i.set(C,S),d=C;try{new S.elementClass}catch{b(S.elementClass),new S.elementClass}S.attributeChangedCallback&&S.observedAttributes.forEach(T=>{C.hasAttribute(T)&&S.attributeChangedCallback.call(C,T,null,C.getAttribute(T))}),E&&S.connectedCallback&&C.isConnected&&S.connectedCallback.call(C)},O=Element.prototype.attachShadow;Element.prototype.attachShadow=function(C){let S=O.apply(this,arguments);return C.customElements&&(S.customElements=C.customElements),S};let N=[document],L=(C,S,E=void 0)=>{let T=(E?Object.getPrototypeOf(E):C.prototype)[S];C.prototype[S]=function(){N.push(this);let M=T.apply(E||this,arguments);return M!==void 0&&l.set(M,this),N.pop(),M}};L(ShadowRoot,"createElement",document),L(ShadowRoot,"importNode",document),L(Element,"insertAdjacentHTML");let P=(C,S)=>{let E=Object.getOwnPropertyDescriptor(C.prototype,S);Object.defineProperty(C.prototype,S,{...E,set(T){N.push(this),E.set.call(this,T),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 C=new WeakMap,S=HTMLElement.prototype.attachInternals,E=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...W){let $=S.call(this,...W);return C.set($,this),$},E.forEach(W=>{let $=window.ElementInternals.prototype,y=$[W];$[W]=function(...v){let I=C.get(this);if(i.get(I).formAssociated===!0)return y?.call(this,...v);throw new DOMException(`Failed to execute ${y} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class T extends Array{constructor($){super(...$),this._elements=$}get value(){return this._elements.find($=>$.checked===!0)?.value||""}}class M{constructor($){let y=new Map;$.forEach((v,I)=>{let F=v.getAttribute("name"),z=y.get(F)||[];this[+I]=v,z.push(v),y.set(F,z)}),this.length=$.length,y.forEach((v,I)=>{v&&(v.length===1?this[I]=v[0]:this[I]=new T(v))})}namedItem($){return this[$]}}let H=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let W=H.get.call(this,[]),$=[];for(let y of W){let v=i.get(y);(!v||v.formAssociated===!0)&&$.push(y)}return new M($)}})}}try{window.customElements.define("custom-element",null)}catch{let t=window.customElements.define;window.customElements.define=(o,n,i)=>{if(n!==null)try{t.bind(window.customElements)(o,n,i)}catch(a){console.info(o,n,i,a)}}}var xn={};j(xn,{CSSResult:()=>Fe,LitElement:()=>jt,ReactiveElement:()=>Pt,_$LE:()=>vd,_$LH:()=>gd,adoptStyles:()=>mo,css:()=>D,defaultConverter:()=>go,getCompatibleStyle:()=>Or,html:()=>q,isServer:()=>af,noChange:()=>Qt,notEqual:()=>fn,nothing:()=>Z,render:()=>bn,supportsAdoptingStyleSheets:()=>Sr,svg:()=>md,unsafeCSS:()=>Se});var eo=globalThis,oo=eo.ShadowRoot&&(eo.ShadyCSS===void 0||eo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ka=Symbol(),$a=new WeakMap,ro=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==ka)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o,o=this.t;if(oo&&t===void 0){let n=o!==void 0&&o.length===1;n&&(t=$a.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&$a.set(o,t))}return t}toString(){return this.cssText}},Da=e=>new ro(typeof e=="string"?e:e+"",void 0,ka);var sn=(e,t)=>{if(oo)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),i=eo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)}},no=oo?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return Da(o)})(e):e;var{is:Xl,defineProperty:Jl,getOwnPropertyDescriptor:Ql,getOwnPropertyNames:td,getOwnPropertySymbols:ed,getPrototypeOf:rd}=Object,io=globalThis,Ma=io.trustedTypes,od=Ma?Ma.emptyScript:"",nd=io.reactiveElementPolyfillSupport,yr=(e,t)=>e,mr={toAttribute(e,t){switch(t){case Boolean:e=e?od:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let o=e;switch(t){case Boolean:o=e!==null;break;case Number:o=e===null?null:Number(e);break;case Object:case Array:try{o=JSON.parse(e)}catch{o=null}}return o}},ao=(e,t)=>!Xl(e,t),Ua={attribute:!0,type:String,converter:mr,reflect:!1,hasChanged:ao};Symbol.metadata??=Symbol("metadata"),io.litPropertyMetadata??=new WeakMap;var ye=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,o=Ua){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,o);i!==void 0&&Jl(this.prototype,t,i)}}static getPropertyDescriptor(t,o,n){let{get:i,set:a}=Ql(this.prototype,t)??{get(){return this[o]},set(s){this[o]=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)??Ua}static _$Ei(){if(this.hasOwnProperty(yr("elementProperties")))return;let t=rd(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(yr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(yr("properties"))){let o=this.properties,n=[...td(o),...ed(o)];for(let i of n)this.createProperty(i,o[i])}let t=this[Symbol.metadata];if(t!==null){let o=litPropertyMetadata.get(t);if(o!==void 0)for(let[n,i]of o)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let i=this._$Eu(o,n);i!==void 0&&this._$Eh.set(i,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let o=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)o.unshift(no(i))}else t!==void 0&&o.push(no(t));return o}static _$Eu(t,o){let n=o.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,o=this.constructor.elementProperties;for(let n of o.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,o,n){this._$AK(t,n)}_$EO(t,o){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:mr).toAttribute(o,n.type);this._$Em=t,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(t,o){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:mr;this._$Em=i,this[i]=s.fromAttribute(o,a.type),this._$Em=null}}requestUpdate(t,o,n,i=!1,a){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??ao)(i?a:this[t],o))return;this.C(t,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,o,n){this._$AL.has(t)||this._$AL.set(t,o),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}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,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach(o=>o.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(o=>this._$EO(o,this[o])),this._$ET()}updated(t){}firstUpdated(t){}};ye.elementStyles=[],ye.shadowRootOptions={mode:"open"},ye[yr("elementProperties")]=new Map,ye[yr("finalized")]=new Map,nd?.({ReactiveElement:ye}),(io.reactiveElementVersions??=[]).push("2.0.2");var ln=globalThis,so=ln.trustedTypes,Ba=so?so.createPolicy("lit-html",{createHTML:e=>e}):void 0,dn="$lit$",Ht=`lit$${(Math.random()+"").slice(9)}$`,pn="?"+Ht,id=`<${pn}>`,be=document,co=()=>be.createComment(""),br=e=>e===null||typeof e!="object"&&typeof e!="function",Va=Array.isArray,Ga=e=>Va(e)||typeof e?.[Symbol.iterator]=="function",cn=`[
|
|
3
|
+
\f\r]`,gr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Fa=/-->/g,Wa=/>/g,me=RegExp(`>|${cn}(?:([^\\s"'>=/]+)(${cn}*=${cn}*(?:[^
|
|
4
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Ha=/'/g,za=/"/g,Ka=/^(?:script|style|textarea|title)$/i,Za=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),qa=Za(1),Ya=Za(2),mt=Symbol.for("lit-noChange"),rt=Symbol.for("lit-nothing"),ja=new WeakMap,ge=be.createTreeWalker(be,129);function Xa(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ba!==void 0?Ba.createHTML(t):t}var Ja=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":"",s=gr;for(let l=0;l<o;l++){let d=e[l],p,f,h=-1,m=0;for(;m<d.length&&(s.lastIndex=m,f=s.exec(d),f!==null);)m=s.lastIndex,s===gr?f[1]==="!--"?s=Fa:f[1]!==void 0?s=Wa:f[2]!==void 0?(Ka.test(f[2])&&(i=RegExp("</"+f[2],"g")),s=me):f[3]!==void 0&&(s=me):s===me?f[0]===">"?(s=i??gr,h=-1):f[1]===void 0?h=-2:(h=s.lastIndex-f[2].length,p=f[1],s=f[3]===void 0?me:f[3]==='"'?za:Ha):s===za||s===Ha?s=me:s===Fa||s===Wa?s=gr:(s=me,i=void 0);let b=s===me&&e[l+1].startsWith("/>")?" ":"";a+=s===gr?d+id:h>=0?(n.push(p),d.slice(0,h)+dn+d.slice(h)+Ht+b):d+Ht+(h===-2?l:b)}return[Xa(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},xr=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,l=t.length-1,d=this.parts,[p,f]=Ja(t,o);if(this.el=e.createElement(p,n),ge.currentNode=this.el.content,o===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=ge.nextNode())!==null&&d.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(dn)){let m=f[s++],b=i.getAttribute(h).split(Ht),x=/([.?@])?(.*)/.exec(m);d.push({type:1,index:a,name:x[2],strings:b,ctor:x[1]==="."?po:x[1]==="?"?uo:x[1]==="@"?fo:ve}),i.removeAttribute(h)}else h.startsWith(Ht)&&(d.push({type:6,index:a}),i.removeAttribute(h));if(Ka.test(i.tagName)){let h=i.textContent.split(Ht),m=h.length-1;if(m>0){i.textContent=so?so.emptyScript:"";for(let b=0;b<m;b++)i.append(h[b],co()),ge.nextNode(),d.push({type:2,index:++a});i.append(h[m],co())}}}else if(i.nodeType===8)if(i.data===pn)d.push({type:2,index:a});else{let h=-1;for(;(h=i.data.indexOf(Ht,h+1))!==-1;)d.push({type:7,index:a}),h+=Ht.length-1}a++}}static createElement(t,o){let n=be.createElement("template");return n.innerHTML=t,n}};function xe(e,t,o=e,n){if(t===mt)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=br(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,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=xe(e,i._$AS(e,t.values),i,n)),t}var lo=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,i=(t?.creationScope??be).importNode(o,!0);ge.currentNode=i;let a=ge.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new vr(a,a.nextSibling,this,t):d.type===1?p=new d.ctor(a,d.name,d.strings,this,t):d.type===6&&(p=new ho(a,this,t)),this._$AV.push(p),d=n[++l]}s!==d?.index&&(a=ge.nextNode(),s++)}return ge.currentNode=be,i}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},vr=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=rt,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=xe(this,t,o),br(t)?t===rt||t==null||t===""?(this._$AH!==rt&&this._$AR(),this._$AH=rt):t!==this._$AH&&t!==mt&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):Ga(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!==rt&&br(this._$AH)?this._$AA.nextSibling.data=t:this.$(be.createTextNode(t)),this._$AH=t}g(t){let{values:o,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=xr.createElement(Xa(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new lo(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=ja.get(t.strings);return o===void 0&&ja.set(t.strings,o=new xr(t)),o}T(t){Va(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of t)i===o.length?o.push(n=new e(this.k(co()),this.k(co()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let n=t.nextSibling;t.remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},ve=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,a){this.type=1,this._$AH=rt,this._$AN=void 0,this.element=t,this.name=o,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=rt}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=xe(this,t,o,0),s=!br(t)||t!==this._$AH&&t!==mt,s&&(this._$AH=t);else{let l=t,d,p;for(t=a[0],d=0;d<a.length-1;d++)p=xe(this,l[n+d],o,d),p===mt&&(p=this._$AH[d]),s||=!br(p)||p!==this._$AH[d],p===rt?t=rt:t!==rt&&(t+=(p??"")+a[d+1]),this._$AH[d]=p}s&&!i&&this.O(t)}O(t){t===rt?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},po=class extends ve{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===rt?void 0:t}},uo=class extends ve{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==rt)}},fo=class extends ve{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=xe(this,t,o,0)??rt)===mt)return;let n=this._$AH,i=t===rt&&n!==rt||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==rt&&(n===rt||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)}},ho=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){xe(this,t)}},Qa={j:dn,P:Ht,A:pn,C:1,M:Ja,L:lo,R:Ga,V:xe,D:vr,I:ve,H:uo,N:fo,U:po,B:ho},ad=ln.litHtmlPolyfillSupport;ad?.(xr,vr),(ln.litHtmlVersions??=[]).push("3.1.0");var yo=globalThis,Sr=yo.ShadowRoot&&(yo.ShadyCSS===void 0||yo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,un=Symbol(),ts=new WeakMap,Fe=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==un)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o,o=this.t;if(Sr&&t===void 0){let n=o!==void 0&&o.length===1;n&&(t=ts.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&ts.set(o,t))}return t}toString(){return this.cssText}},Se=e=>new Fe(typeof e=="string"?e:e+"",void 0,un),D=(e,...t)=>{let o=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 Fe(o,e,un)},mo=(e,t)=>{if(Sr)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),i=yo.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)}},Or=Sr?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return Se(o)})(e):e;var{is:sd,defineProperty:cd,getOwnPropertyDescriptor:ld,getOwnPropertyNames:dd,getOwnPropertySymbols:pd,getPrototypeOf:ud}=Object,bo=globalThis,es=bo.trustedTypes,fd=es?es.emptyScript:"",hd=bo.reactiveElementPolyfillSupport,Cr=(e,t)=>e,go={toAttribute(e,t){switch(t){case Boolean:e=e?fd:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let o=e;switch(t){case Boolean:o=e!==null;break;case Number:o=e===null?null:Number(e);break;case Object:case Array:try{o=JSON.parse(e)}catch{o=null}}return o}},fn=(e,t)=>!sd(e,t),rs={attribute:!0,type:String,converter:go,reflect:!1,hasChanged:fn};Symbol.metadata??=Symbol("metadata"),bo.litPropertyMetadata??=new WeakMap;var Pt=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,o=rs){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,o);i!==void 0&&cd(this.prototype,t,i)}}static getPropertyDescriptor(t,o,n){let{get:i,set:a}=ld(this.prototype,t)??{get(){return this[o]},set(s){this[o]=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)??rs}static _$Ei(){if(this.hasOwnProperty(Cr("elementProperties")))return;let t=ud(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Cr("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Cr("properties"))){let o=this.properties,n=[...dd(o),...pd(o)];for(let i of n)this.createProperty(i,o[i])}let t=this[Symbol.metadata];if(t!==null){let o=litPropertyMetadata.get(t);if(o!==void 0)for(let[n,i]of o)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let i=this._$Eu(o,n);i!==void 0&&this._$Eh.set(i,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let o=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)o.unshift(Or(i))}else t!==void 0&&o.push(Or(t));return o}static _$Eu(t,o){let n=o.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,o=this.constructor.elementProperties;for(let n of o.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 mo(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,o,n){this._$AK(t,n)}_$EO(t,o){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:go).toAttribute(o,n.type);this._$Em=t,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(t,o){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:go;this._$Em=i,this[i]=s.fromAttribute(o,a.type),this._$Em=null}}requestUpdate(t,o,n,i=!1,a){if(t!==void 0){if(n??=this.constructor.getPropertyOptions(t),!(n.hasChanged??fn)(i?a:this[t],o))return;this.C(t,o,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(t,o,n){this._$AL.has(t)||this._$AL.set(t,o),n.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(o){Promise.reject(o)}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,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$ET()}catch(n){throw t=!1,this._$ET(),n}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$E_?.forEach(o=>o.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(o=>this._$EO(o,this[o])),this._$ET()}updated(t){}firstUpdated(t){}};Pt.elementStyles=[],Pt.shadowRootOptions={mode:"open"},Pt[Cr("elementProperties")]=new Map,Pt[Cr("finalized")]=new Map,hd?.({ReactiveElement:Pt}),(bo.reactiveElementVersions??=[]).push("2.0.2");var yn=globalThis,xo=yn.trustedTypes,os=xo?xo.createPolicy("lit-html",{createHTML:e=>e}):void 0,mn="$lit$",zt=`lit$${(Math.random()+"").slice(9)}$`,gn="?"+zt,yd=`<${gn}>`,Ee=document,wr=()=>Ee.createComment(""),Ar=e=>e===null||typeof e!="object"&&typeof e!="function",ls=Array.isArray,ds=e=>ls(e)||typeof e?.[Symbol.iterator]=="function",hn=`[
|
|
5
|
+
\f\r]`,Er=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ns=/-->/g,is=/>/g,Oe=RegExp(`>|${hn}(?:([^\\s"'>=/]+)(${hn}*=${hn}*(?:[^
|
|
6
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),as=/'/g,ss=/"/g,ps=/^(?:script|style|textarea|title)$/i,us=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),q=us(1),md=us(2),Qt=Symbol.for("lit-noChange"),Z=Symbol.for("lit-nothing"),cs=new WeakMap,Ce=Ee.createTreeWalker(Ee,129);function fs(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return os!==void 0?os.createHTML(t):t}var hs=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":"",s=Er;for(let l=0;l<o;l++){let d=e[l],p,f,h=-1,m=0;for(;m<d.length&&(s.lastIndex=m,f=s.exec(d),f!==null);)m=s.lastIndex,s===Er?f[1]==="!--"?s=ns:f[1]!==void 0?s=is:f[2]!==void 0?(ps.test(f[2])&&(i=RegExp("</"+f[2],"g")),s=Oe):f[3]!==void 0&&(s=Oe):s===Oe?f[0]===">"?(s=i??Er,h=-1):f[1]===void 0?h=-2:(h=s.lastIndex-f[2].length,p=f[1],s=f[3]===void 0?Oe:f[3]==='"'?ss:as):s===ss||s===as?s=Oe:s===ns||s===is?s=Er:(s=Oe,i=void 0);let b=s===Oe&&e[l+1].startsWith("/>")?" ":"";a+=s===Er?d+yd:h>=0?(n.push(p),d.slice(0,h)+mn+d.slice(h)+zt+b):d+zt+(h===-2?l:b)}return[fs(e,a+(e[o]||"<?>")+(t===2?"</svg>":"")),n]},Rr=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,l=t.length-1,d=this.parts,[p,f]=hs(t,o);if(this.el=e.createElement(p,n),Ce.currentNode=this.el.content,o===2){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(i=Ce.nextNode())!==null&&d.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let h of i.getAttributeNames())if(h.endsWith(mn)){let m=f[s++],b=i.getAttribute(h).split(zt),x=/([.?@])?(.*)/.exec(m);d.push({type:1,index:a,name:x[2],strings:b,ctor:x[1]==="."?So:x[1]==="?"?Oo:x[1]==="@"?Co:Ae}),i.removeAttribute(h)}else h.startsWith(zt)&&(d.push({type:6,index:a}),i.removeAttribute(h));if(ps.test(i.tagName)){let h=i.textContent.split(zt),m=h.length-1;if(m>0){i.textContent=xo?xo.emptyScript:"";for(let b=0;b<m;b++)i.append(h[b],wr()),Ce.nextNode(),d.push({type:2,index:++a});i.append(h[m],wr())}}}else if(i.nodeType===8)if(i.data===gn)d.push({type:2,index:a});else{let h=-1;for(;(h=i.data.indexOf(zt,h+1))!==-1;)d.push({type:7,index:a}),h+=zt.length-1}a++}}static createElement(t,o){let n=Ee.createElement("template");return n.innerHTML=t,n}};function we(e,t,o=e,n){if(t===Qt)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=Ar(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,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=we(e,i._$AS(e,t.values),i,n)),t}var vo=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,i=(t?.creationScope??Ee).importNode(o,!0);Ce.currentNode=i;let a=Ce.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new We(a,a.nextSibling,this,t):d.type===1?p=new d.ctor(a,d.name,d.strings,this,t):d.type===6&&(p=new Eo(a,this,t)),this._$AV.push(p),d=n[++l]}s!==d?.index&&(a=Ce.nextNode(),s++)}return Ce.currentNode=Ee,i}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},We=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=Z,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=we(this,t,o),Ar(t)?t===Z||t==null||t===""?(this._$AH!==Z&&this._$AR(),this._$AH=Z):t!==this._$AH&&t!==Qt&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):ds(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!==Z&&Ar(this._$AH)?this._$AA.nextSibling.data=t:this.$(Ee.createTextNode(t)),this._$AH=t}g(t){let{values:o,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=Rr.createElement(fs(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new vo(i,this),s=a.u(this.options);a.p(o),this.$(s),this._$AH=a}}_$AC(t){let o=cs.get(t.strings);return o===void 0&&cs.set(t.strings,o=new Rr(t)),o}T(t){ls(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of t)i===o.length?o.push(n=new e(this.k(wr()),this.k(wr()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);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,o,n,i,a){this.type=1,this._$AH=Z,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=Z}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=we(this,t,o,0),s=!Ar(t)||t!==this._$AH&&t!==Qt,s&&(this._$AH=t);else{let l=t,d,p;for(t=a[0],d=0;d<a.length-1;d++)p=we(this,l[n+d],o,d),p===Qt&&(p=this._$AH[d]),s||=!Ar(p)||p!==this._$AH[d],p===Z?t=Z:t!==Z&&(t+=(p??"")+a[d+1]),this._$AH[d]=p}s&&!i&&this.O(t)}O(t){t===Z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},So=class extends Ae{constructor(){super(...arguments),this.type=3}O(t){this.element[this.name]=t===Z?void 0:t}},Oo=class extends Ae{constructor(){super(...arguments),this.type=4}O(t){this.element.toggleAttribute(this.name,!!t&&t!==Z)}},Co=class extends Ae{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=we(this,t,o,0)??Z)===Qt)return;let n=this._$AH,i=t===Z&&n!==Z||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==Z&&(n===Z||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)}},Eo=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){we(this,t)}},gd={j:mn,P:zt,A:gn,C:1,M:hs,L:vo,R:ds,V:we,D:We,I:Ae,H:Oo,N:Co,U:So,B:Eo},bd=yn.litHtmlPolyfillSupport;bd?.(Rr,We),(yn.litHtmlVersions??=[]).push("3.1.0");var bn=(e,t,o)=>{let n=o?.renderBefore??t,i=n._$litPart$;if(i===void 0){let a=o?.renderBefore??null;n._$litPart$=i=new We(t.insertBefore(wr(),a),a,void 0,o??{})}return i._$AI(e),i};var jt=class extends Pt{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 o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=bn(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Qt}};jt._$litElement$=!0,jt.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:jt});var xd=globalThis.litElementPolyfillSupport;xd?.({LitElement:jt});var vd={_$AK:(e,t,o)=>{e._$AK(t,o)},_$AL:e=>e._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var af=!1;var Sn={};j(Sn,{customElement:()=>Sd,eventOptions:()=>He,property:()=>A,query:()=>pt,queryAll:()=>Ed,queryAssignedElements:()=>Ad,queryAssignedNodes:()=>vn,queryAsync:()=>wd,standardProperty:()=>ys,state:()=>st});var Sd=e=>(t,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var Od={attribute:!0,type:String,converter:mr,reflect:!1,hasChanged:ao},ys=(e=Od,t,o)=>{let{kind:n,metadata:i}=o,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(o.name,e),n==="accessor"){let{name:s}=o;return{set(l){let d=t.get.call(this);t.set.call(this,l),this.requestUpdate(s,d,e)},init(l){return l!==void 0&&this.C(s,void 0,e),l}}}if(n==="setter"){let{name:s}=o;return function(l){let d=this[s];t.call(this,l),this.requestUpdate(s,d,e)}}throw Error("Unsupported decorator location: "+n)};function A(e){return(t,o)=>typeof o=="object"?ys(e,t,o):((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,o)}function st(e){return A({...e,state:!0,attribute:!1})}function He(e){return(t,o)=>{let n=typeof t=="function"?t:t[o];Object.assign(n,e)}}var Ot=(e,t,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,o),o);function pt(e,t){return(o,n,i)=>{let a=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:l}=typeof n=="object"?o:i??(()=>{let d=Symbol();return{get(){return this[d]},set(p){this[d]=p}}})();return Ot(o,n,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return Ot(o,n,{get(){return a(this)}})}}var Cd;function Ed(e){return(t,o)=>Ot(t,o,{get(){return(this.renderRoot??(Cd??=document.createDocumentFragment())).querySelectorAll(e)}})}function wd(e){return(t,o)=>Ot(t,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function Ad(e){return(t,o)=>{let{slot:n,selector:i}=e??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Ot(t,o,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(e)??[];return i===void 0?l:l.filter(d=>d.matches(i))}})}}function vn(e){return(t,o)=>{let{slot:n}=e??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Ot(t,o,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(e)??[]}})}}var On={};j(On,{repeat:()=>_d});var te={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ee=e=>(...t)=>({_$litDirective$:e,values:t}),Tt=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,n){this._$Ct=t,this._$AM=o,this._$Ci=n}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};var{D:Rd}=Qa;var ms=()=>document.createComment(""),ze=(e,t,o)=>{let n=e._$AA.parentNode,i=t===void 0?e._$AB:t._$AA;if(o===void 0){let a=n.insertBefore(ms(),i),s=n.insertBefore(ms(),i);o=new Rd(a,s,e,e.options)}else{let a=o._$AB.nextSibling,s=o._$AM,l=s!==e;if(l){let d;o._$AQ?.(e),o._$AM=e,o._$AP!==void 0&&(d=e._$AU)!==s._$AU&&o._$AP(d)}if(a!==i||l){let d=o._$AA;for(;d!==a;){let p=d.nextSibling;n.insertBefore(d,i),d=p}}}return o},re=(e,t,o=e)=>(e._$AI(t,o),e),Nd={},gs=(e,t=Nd)=>e._$AH=t,bs=e=>e._$AH,wo=e=>{e._$AP?.(!1,!0);let t=e._$AA,o=e._$AB.nextSibling;for(;t!==o;){let n=t.nextSibling;t.remove(),t=n}};var xs=(e,t,o)=>{let n=new Map;for(let i=t;i<=o;i++)n.set(e[i],i);return n},_d=ee(class extends Tt{constructor(e){if(super(e),e.type!==te.CHILD)throw Error("repeat() can only be used in text expressions")}ht(e,t,o){let n;o===void 0?o=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]=o(l,s),s++;return{values:a,keys:i}}render(e,t,o){return this.ht(e,t,o).values}update(e,[t,o,n]){let i=bs(e),{values:a,keys:s}=this.ht(t,o,n);if(!Array.isArray(i))return this.dt=s,a;let l=this.dt??=[],d=[],p,f,h=0,m=i.length-1,b=0,x=a.length-1;for(;h<=m&&b<=x;)if(i[h]===null)h++;else if(i[m]===null)m--;else if(l[h]===s[b])d[b]=re(i[h],a[b]),h++,b++;else if(l[m]===s[x])d[x]=re(i[m],a[x]),m--,x--;else if(l[h]===s[x])d[x]=re(i[h],a[x]),ze(e,d[x+1],i[h]),h++,x--;else if(l[m]===s[b])d[b]=re(i[m],a[b]),ze(e,i[h],i[m]),m--,b++;else if(p===void 0&&(p=xs(s,b,x),f=xs(l,h,m)),p.has(l[h]))if(p.has(l[m])){let O=f.get(s[b]),N=O!==void 0?i[O]:null;if(N===null){let L=ze(e,i[h]);re(L,a[b]),d[b]=L}else d[b]=re(N,a[b]),ze(e,i[h],N),i[O]=null;b++}else wo(i[m]),m--;else wo(i[h]),h++;for(;b<=x;){let O=ze(e,d[x+1]);re(O,a[b]),d[b++]=O}for(;h<=m;){let O=i[h++];O!==null&&wo(O)}return this.dt=s,gs(e,d),mt}});var Cn={};j(Cn,{classMap:()=>je});var je=ee(class extends Tt{constructor(e){if(super(e),e.type!==te.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 o=e.element.classList;for(let n of this.it)n in t||(o.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?(o.add(n),this.it.add(n)):(o.remove(n),this.it.delete(n)))}return mt}});var En={};j(En,{styleMap:()=>Pd});var vs="important",Ld=" !"+vs,Pd=ee(class extends Tt{constructor(e){if(super(e),e.type!==te.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,o)=>{let n=e[o];return n==null?t:t+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(e,[t]){let{style:o}=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("-")?o.removeProperty(n):o[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(Ld);n.includes("-")||a?o.setProperty(n,a?i.slice(0,-11):i,a?vs:""):o[n]=i}}return mt}});var An={};j(An,{UnsafeHTMLDirective:()=>Ve,unsafeHTML:()=>wn});var Ve=class extends Tt{constructor(t){if(super(t),this.et=rt,t.type!==te.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===rt||t==null)return this.vt=void 0,this.et=t;if(t===mt)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 o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};Ve.directiveName="unsafeHTML",Ve.resultType=1;var wn=ee(Ve);var In={};j(In,{CacheRegistry:()=>It,ClearCacheEvent:()=>_r});var Nn={};j(Nn,{CancelablePromise:()=>Ge,CanceledPromiseError:()=>Nr,cancelable:()=>Rn});var Nr=class extends Error{constructor(t,o,n){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=n}},Ge=class extends Promise{constructor(t){super((o,n)=>t(i=>{this.isCanceled?n(new Nr("Promise has been canceled",i)):o(i)},i=>{this.isCanceled?n(new Nr("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Rn=e=>new Ge((t,o)=>e.then(t).catch(o));var Tn={};j(Tn,{FtNotificationEvent:()=>_n,PostResizeEvent:()=>Pn,PreResizeEvent:()=>Ln,WithEventBus:()=>Re,withEventBus:()=>Ss});var _n=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},Ln=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Pn=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};function Ss(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(o,n,i){this.eventBus.addEventListener(o,n,i)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,i){this.eventBus.removeEventListener(o,n,i)}}}var Re=class extends Ss(Object){};var _r=class extends CustomEvent{constructor(t){super("clear-cache",{detail:{clearedKeys:t}})}},It=class extends Re{constructor(){super(...arguments),this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(t,o){this.loaders[t]=o,this.finalContent.delete(t)}registerFinal(t,o){this.loaders[t]=o,this.finalContent.add(t)}clearAll(t=!0){let o=[];for(let n in this.content)this.clear(n,!1)!=null&&o.push(n);t&&o.length>0&&this.dispatchEvent(new _r(o))}clear(t,o=!0){if(!this.finalContent.has(t))return this.forceClear(t),o&&this.dispatchEvent(new _r([t])),t}forceClear(t){this.clearClearTimeout(t),this.content[t]instanceof Ge&&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,o){this.forceClear(t),this.register(t,async()=>o),this.content[t]=o}setFinal(t,o){this.forceClear(t),this.registerFinal(t,async()=>o),this.content[t]=o}async get(t,o,n){if(this.content[t]===void 0){if(o=o??this.loaders[t],o==null)throw new Error("Unknown cache key "+t);let i=Rn(o());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 kn={};j(kn,{ClusteringHelper:()=>$n});var $n=class e{constructor(t,o,n,i){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(t,o){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 o==null?e.flattenMetadata(a):e.flattenMetadata(a.find(s=>s.key===o))}static flattenMetadata(t){if(Array.isArray(t))return t.map(n=>e.flattenMetadata(n)).filter(n=>n!=null);let o=t?.hierarchicalValues!=null&&t.hierarchicalValues.length>0;if(!(t==null||t.values.length==0&&!o))if(o){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,o,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(p=>e.extractResultMetadata(p,t)).map(p=>p??{key:t,label:l,value:void 0,displayValue:n}).filter(p=>p.value!=s?.value).filter((p,f,h)=>h.findIndex(m=>m.value===p.value)===f).map(p=>({result:this.findBestResultForMetadataValue(t,p.value),metadata:p})).sort((p,f)=>this.compareMetadata(p.metadata.value,f.metadata.value,t,o))}compareMetadata(t,o,n,i){if(t==null)return-1;if(o==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=t.localeCompare(o,i,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(o=>t==o.key)}findBestResultForMetadataValue(t,o){let n=this.allResults.filter(d=>{var p;return((p=e.extractResultMetadata(d,t))===null||p===void 0?void 0:p.value)==o}),a=[...e.extractResultMetadata(this.selectedResult).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==t)],s,l=-1;for(let d of n){let p=this.countMatchingMetadata(d,a);if(p>l&&(l=p,s=d,p===a.length))break}return s}countMatchingMetadata(t,o){return e.extractResultMetadata(t).filter(n=>o.some(i=>i.key===n.key&&i.value===n.value)).length}};var Dn={};j(Dn,{Debouncer:()=>gt});var gt=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let i=(t=this.rejectPromise)!==null&&t!==void 0?t:()=>null,a=(o=this.resolvePromise)!==null&&o!==void 0?o:()=>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 Un={};j(Un,{customElement:()=>ot,isNumber:()=>ws,jsonProperty:()=>$t,optionalNumberProperty:()=>Md});var Mn={};j(Mn,{dateReviver:()=>Id,deepEqual:()=>Ct,delay:()=>Ao,eventPathContainsMatchingElement:()=>kd,flatDeep:()=>Cs,hasChanged:()=>Lr,last:()=>Dd,minmax:()=>Pr,parseDate:()=>Es,unslotText:()=>Ro,waitFor:()=>Os,waitUntil:()=>Td});var Ao=e=>new Promise(t=>setTimeout(t,e));async function Td(e,t=10,o=2e4){await Os(async()=>await e()||void 0,t,o)}async function Os(e,t=10,o=2e4){let n=await e(),i,a;for(i=a=performance.now();n==null&&(!o||a-i<o);)await Ao(t),n=await e(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Cs(e,t){return e.flatMap(o=>[o,...Cs(t(o),t)])}function Id(...e){return function(t,o){return e.includes(t)?Es(o):o}}function Es(e){return e.match(/^\d{4}-\d{2}-\d{2}$/)&&(e=e.replace(/-/g,"/")),e=e.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(t,o,n,i)=>o+n+":"+i),new Date(e)}function $d(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var o,n,i;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!Ct(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(!Ct(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),o=i.length,o!==Object.keys(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;for(n=o;n--!==0;){var a=i[n];if(!Ct(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function Ct(e,t){try{return $d(e,t)}catch{return!1}}function Lr(e,t){return!Ct(e,t)}function kd(e,t,o=window.document.body){if(t.length>0){let n=e.composedPath();for(let i of n){if(i===o)return!1;if(i.matches&&t.some(a=>i.matches(a)))return!0}}return!1}function Pr(e,t,o){return Math.min(Math.max(e,t),o)}function Dd(e){return e[e.length-1]}function Ro(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(t=>Ro(t)).join(""):e?.textContent||""}var ot=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)};function $t(e,t){let o=()=>JSON.parse(JSON.stringify(e));return A({type:Object,converter:{fromAttribute:n=>{if(n==null)return o();try{return JSON.parse(n)}catch{return o()}},toAttribute:n=>JSON.stringify(n)},hasChanged:Lr,...t??{}})}function Md(e){return A({type:Object,converter:{fromAttribute:t=>{if(t!=null)return ws(t)?+t:void 0},toAttribute:t=>t==null?void 0:""+t},...e??{}})}function ws(e){return!isNaN(parseFloat(e))}var fi={};j(fi,{designSystemVariables:()=>V});var ui={};j(ui,{DesignSystemFamily:()=>Ne,DesignSystemSize:()=>Gt,FtCssVariableFactory:()=>r,badge:()=>zd,banner:()=>Hd,button:()=>g,chart:()=>ip,checkbox:()=>cp,chip:()=>Fd,chipChoice:()=>Bd,collapsible:()=>op,comboboxMultiSelect:()=>ep,comboboxSingleSelect:()=>tp,drawer:()=>qd,floatingMenu:()=>Qd,foundation:()=>c,link:()=>Wd,modal:()=>Zd,notice:()=>sp,notification:()=>pp,pageDesigner:()=>ap,pageFooter:()=>Gd,pageHeader:()=>Vd,pageLayout:()=>Kd,popover:()=>rp,radio:()=>dp,resolveFamilyClass:()=>di,resolveSizeClass:()=>pi,semantic:()=>u,setVariable:()=>w,switch_:()=>np,tabs:()=>Yd,textArea:()=>Jd,textInput:()=>Xd,titleBreadcrumb:()=>jd,toggle:()=>lp,tooltip:()=>up,typographies:()=>Tr,typographyBody1Medium:()=>jn,typographyBody1Regular:()=>zn,typographyBody1Semibold:()=>Vn,typographyBody2Medium:()=>Kn,typographyBody2MediumUnderline:()=>As,typographyBody2Regular:()=>Gn,typographyBody2Semibold:()=>Zn,typographyCaption1Bold:()=>oi,typographyCaption1Medium:()=>ei,typographyCaption1Semibold:()=>ri,typographyCaption2Bold:()=>ai,typographyCaption2Medium:()=>ni,typographyCaption2Semibold:()=>ii,typographyCaption3Bold:()=>li,typographyCaption3Medium:()=>si,typographyCaption3Semibold:()=>ci,typographyDisplay:()=>Bn,typographyLabel1Bold:()=>Xn,typographyLabel1Medium:()=>qn,typographyLabel1Semibold:()=>Yn,typographyLabel2Bold:()=>ti,typographyLabel2Medium:()=>Jn,typographyLabel2Semibold:()=>Qn,typographyTitle1:()=>Fn,typographyTitle2:()=>Wn,typographyTitle3:()=>Hn,typographyVariants:()=>Ud});var Vt=e=>typeof e=="string"?Se(e):e,r=class{static create(t,o,n,i){let a=l=>Vt(l??i),s=D`var(${Vt(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>D`var(${Vt(t)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,o,n,i){let a=l=>n.get(l??i),s=D`var(${Vt(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>D`var(${Vt(t)}, ${a(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(t,o){let n=a=>t.fallbackVariable?t.fallbackVariable.get(a??t.defaultValue):Vt(a??t.lastResortDefaultValue()),i=D`var(${Vt(t.name)}, ${n(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=n,i.get=a=>D`var(${Vt(t.name)}, ${n(a)})`,i.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};function w(e,t){return Vt(`${e.name}: ${t}`)}var c={colorWhite:r.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:r.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:r.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:r.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:r.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:r.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:r.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:r.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:r.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:r.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:r.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:r.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:r.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:r.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ft-icon-size-1","","SIZE","0.75rem"),iconSize2:r.create("--ft-icon-size-2","","SIZE","1rem"),iconSize3:r.create("--ft-icon-size-3","","SIZE","1.25rem"),iconSize4:r.create("--ft-icon-size-4","","SIZE","1.5rem"),iconSize5:r.create("--ft-icon-size-5","","SIZE","2rem"),iconSize6:r.create("--ft-icon-size-6","","SIZE","3rem"),opacity0:r.create("--ft-opacity-0","","NUMBER","0"),opacity8:r.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:r.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ft-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ft-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ft-opacity-48","","NUMBER","0.48"),opacity80:r.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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)")},Bn={fontFamily:r.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:r.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-display-textCase","","UNKNOWN","none")},Fn={fontFamily:r.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:r.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Wn={fontFamily:r.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:r.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},Hn={fontFamily:r.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:r.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:r.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},zn={fontFamily:r.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},jn={fontFamily:r.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Vn={fontFamily:r.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:r.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Gn={fontFamily:r.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:r.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Kn={fontFamily:r.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},As={fontFamily:r.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:r.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:r.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Zn={fontFamily:r.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:r.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:r.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:r.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},qn={fontFamily:r.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Yn={fontFamily:r.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},Xn={fontFamily:r.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:r.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Jn={fontFamily:r.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Qn={fontFamily:r.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},ti={fontFamily:r.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:r.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:r.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:r.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},ei={fontFamily:r.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},ri={fontFamily:r.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},oi={fontFamily:r.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:r.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},ni={fontFamily:r.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},ii={fontFamily:r.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},ai={fontFamily:r.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:r.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},si={fontFamily:r.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:r.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},ci={fontFamily:r.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:r.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},li={fontFamily:r.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:r.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:r.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:r.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:r.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:r.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:r.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:r.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},Tr={display:Bn,"title-1":Fn,"title-2":Wn,"title-3":Hn,"body-1-regular":zn,"body-1-medium":jn,"body-1-semibold":Vn,"body-2-regular":Gn,"body-2-medium":Kn,"body-2-medium-underline":As,"body-2-semibold":Zn,"label-1-medium":qn,"label-1-semibold":Yn,"label-1-bold":Xn,"label-2-medium":Jn,"label-2-semibold":Qn,"label-2-bold":ti,"caption-1-medium":ei,"caption-1-semibold":ri,"caption-1-bold":oi,"caption-2-medium":ni,"caption-2-semibold":ii,"caption-2-bold":ai,"caption-3-medium":si,"caption-3-semibold":ci,"caption-3-bold":li},Ud=["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:r.extend("--ft-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
7
|
+
Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",c.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",c.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:r.extend("--ft-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var g={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",c.spacing4),largeGap:r.extend("--ft-button-large-gap","",c.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",c.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",c.iconSize3),largeBorderWidth:r.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ft-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ft-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ft-button-medium-horizontal-padding","",c.spacing3),mediumGap:r.extend("--ft-button-medium-gap","",c.spacing2),mediumBorderRadius:r.extend("--ft-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:r.extend("--ft-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:r.create("--ft-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ft-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ft-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ft-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",c.spacing2),smallGap:r.extend("--ft-button-small-gap","",c.spacing1),smallBorderRadius:r.extend("--ft-button-small-border-radius","",c.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",c.iconSize1),smallBorderWidth:r.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ft-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ft-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ft-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:r.create("--ft-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ft-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ft-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ft-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ft-button-primary-brand-background-color","",u.backgroundActionPrimary),primaryBrandColor:r.extend("--ft-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ft-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ft-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ft-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ft-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ft-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ft-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ft-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ft-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ft-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ft-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ft-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ft-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ft-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ft-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:r.create("--ft-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ft-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ft-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ft-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ft-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ft-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ft-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ft-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:r.create("--ft-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ft-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ft-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ft-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ft-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ft-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ft-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ft-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:r.create("--ft-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ft-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ft-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ft-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ft-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ft-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ft-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ft-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:r.create("--ft-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ft-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ft-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ft-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ft-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ft-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ft-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ft-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:r.create("--ft-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ft-button-tertiary-neutral-icon-color","",u.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ft-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ft-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ft-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:r.create("--ft-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ft-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:r.extend("--ft-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ft-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ft-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ft-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ft-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ft-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:r.extend("--ft-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ft-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ft-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ft-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ft-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:r.create("--ft-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ft-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ft-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ft-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ft-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ft-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ft-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ft-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ft-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:r.create("--ft-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ft-button-secondary-info-border-color","",u.borderInfoPrimary),secondaryInfoColor:r.extend("--ft-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ft-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ft-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ft-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ft-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ft-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ft-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:r.create("--ft-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ft-button-secondary-success-border-color","",u.borderSuccessPrimary),secondarySuccessColor:r.extend("--ft-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ft-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ft-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ft-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ft-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ft-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ft-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:r.create("--ft-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ft-button-secondary-warning-border-color","",u.borderWarningPrimary),secondaryWarningColor:r.extend("--ft-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ft-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ft-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ft-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ft-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ft-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ft-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:r.create("--ft-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ft-button-secondary-error-border-color","",u.contentErrorPrimary),secondaryErrorColor:r.extend("--ft-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ft-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ft-button-secondary-error-state-layer-color","",u.contentErrorPrimary)};var Bd={neutralOffHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:r.extend("--ft-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ft-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:r.extend("--ft-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ft-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:r.extend("--ft-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ft-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:r.extend("--ft-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ft-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:r.extend("--ft-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:r.extend("--ft-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ft-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:r.create("--ft-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:r.extend("--ft-chip-choice-large-gap","",c.spacing1),largeBorderRadius:r.create("--ft-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ft-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:r.extend("--ft-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:r.create("--ft-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-choice-medium-icon-size","",c.iconSize2)};var Fd={largeMinHeight:r.create("--ft-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:r.extend("--ft-chip-large-button-right-padding","",c.spacing1),largeGap:r.extend("--ft-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:r.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ft-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ft-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:r.extend("--ft-chip-medium-button-right-padding","",c.spacing05),mediumGap:r.extend("--ft-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:r.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ft-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",c.iconSize2),smallMinHeight:r.create("--ft-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:r.extend("--ft-chip-small-button-right-padding","",c.spacing05),smallGap:r.extend("--ft-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:r.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ft-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:r.extend("--ft-chip-neutral-border-color","",u.borderGlobalSubtle),infoBackgroundColor:r.extend("--ft-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-chip-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ft-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ft-chip-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ft-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ft-chip-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ft-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ft-chip-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ft-chip-error-border-color","",u.borderErrorSubtle)};var Wd={brandHoverOpacity:r.extend("--ft-link-brand-hover-opacity","",c.opacity80),brandHoverColor:r.extend("--ft-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ft-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:r.extend("--ft-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:r.extend("--ft-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:r.extend("--ft-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:r.extend("--ft-link-info-hover-opacity","",c.opacity80),infoHoverColor:r.extend("--ft-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ft-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:r.extend("--ft-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:r.extend("--ft-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:r.extend("--ft-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ft-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:r.extend("--ft-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:r.extend("--ft-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:r.extend("--ft-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:r.extend("--ft-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:r.extend("--ft-link-neutral-visited-color","",c.colorBrand100)};var Hd={iconSize:r.extend("--ft-banner-icon-size","",c.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ft-banner-left-padding","",c.spacing6),rightPadding:r.extend("--ft-banner-right-padding","",c.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",c.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:r.extend("--ft-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-banner-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-banner-info-border-color","",u.borderInfoSubtle)};var zd={horizontalPadding:r.extend("--ft-badge-horizontal-padding","",c.spacing1),verticalPadding:r.extend("--ft-badge-vertical-padding","",c.spacing1),borderRadius:r.extend("--ft-badge-border-radius","",c.borderRadiusPill),color:r.extend("--ft-badge-color","",u.contentGlobalOnColor),backgroundColor:r.extend("--ft-badge-background-color","",u.contentActionPrimary)};var jd={horizontalGap:r.extend("--ft-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:r.extend("--ft-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:r.extend("--ft-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:r.extend("--ft-title-breadcrumb-icon-color","",u.contentGlobalSubtle)};var Vd={parentHorizontalPadding:r.extend("--ft-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:r.extend("--ft-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:r.extend("--ft-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:r.extend("--ft-page-header-parent-help-left-margin","",c.spacing1),parentTitleColor:r.extend("--ft-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:r.extend("--ft-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ft-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:r.extend("--ft-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ft-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:r.extend("--ft-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:r.extend("--ft-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:r.extend("--ft-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:r.extend("--ft-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:r.extend("--ft-page-header-child-top-padding","",c.spacing2),childBottomPadding:r.extend("--ft-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:r.extend("--ft-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:r.extend("--ft-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:r.extend("--ft-page-header-child-vertical-gap","",c.spacing2),childMinHeight:r.create("--ft-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ft-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:r.extend("--ft-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:r.extend("--ft-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:r.extend("--ft-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",c.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:r.create("--ft-page-header-bottom-border-width","","SIZE","1px")};var Gd={horizontalPadding:r.extend("--ft-page-footer-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ft-page-footer-vertical-padding","",c.spacing2),verticalGap:r.extend("--ft-page-footer-vertical-gap","",c.spacing2),minHeight:r.create("--ft-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ft-page-footer-background-color","",c.colorWhite),topBorderColor:r.extend("--ft-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:r.create("--ft-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ft-page-footer-buttons-group-gap","",c.spacing4)};var Kd={contentHorizontalPadding:r.extend("--ft-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:r.extend("--ft-page-layout-content-vertical-padding","",c.spacing6)};var Zd={smallContainerTargetWidth:r.create("--ft-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ft-modal-small-container-margin","",c.spacing6),mediumContainerTargetWidth:r.create("--ft-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ft-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:r.create("--ft-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ft-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",c.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",c.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",c.spacing6),headerBackgroundColor:r.extend("--ft-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-modal-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ft-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ft-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",c.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",c.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",c.spacing6),headerGap:r.extend("--ft-modal-header-gap","",c.spacing2),headerBorderBottomWidth:r.create("--ft-modal-header-border-bottom-width","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",c.borderRadiusM)};var qd={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",c.opacity40),shadow:r.extend("--ft-drawer-shadow","",c.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",c.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",c.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:r.extend("--ft-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ft-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ft-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ft-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:r.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ft-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:r.extend("--ft-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ft-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:r.extend("--ft-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ft-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:r.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ft-drawer-overlay-background-color","",c.colorGray700)};var Yd={offBorderBottomWidth:r.create("--ft-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:r.extend("--ft-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ft-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:r.extend("--ft-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ft-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:r.extend("--ft-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:r.extend("--ft-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:r.extend("--ft-tabs-horizontal-gap","",c.spacing1),verticalGap:r.extend("--ft-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:r.extend("--ft-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:r.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ft-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ft-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:r.extend("--ft-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:r.extend("--ft-tabs-alert-top-padding","",c.spacing1),alertRightPadding:r.extend("--ft-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var Xd={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",c.colorWhite),contentValueColor:r.extend("--ft-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:r.extend("--ft-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:r.extend("--ft-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderWidth:r.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-input-disabled-component-opacity","",c.opacity40)};var Jd={backgroundColor:r.extend("--ft-text-area-background-color","",c.colorWhite),contentValueColor:r.extend("--ft-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:r.extend("--ft-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ft-text-area-error-helper-icon-color","",u.contentErrorIconOnly),focusFocusRingColor:r.extend("--ft-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",c.borderRadiusM)};var Qd={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",c.spacing4),offIconColor:r.extend("--ft-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:r.extend("--ft-floating-menu-off-color","",u.contentGlobalPrimary),onColor:r.extend("--ft-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:r.extend("--ft-floating-menu-gap","",c.spacing3),focusFocusRingColor:r.extend("--ft-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ft-floating-menu-focus-state-layer-opacity","",c.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",c.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:r.extend("--ft-floating-menu-shadow","",c.shadowElevation02)};var tp={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",c.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",c.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",c.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",c.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",c.colorWhite),labelColor:r.extend("--ft-combobox-single-select-label-color","",u.contentGlobalSubtle),contentValueColor:r.extend("--ft-combobox-single-select-content-value-color","",u.contentGlobalPrimary),trailingIconColor:r.extend("--ft-combobox-single-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-single-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-single-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ft-combobox-single-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-single-select-error-helper-text-color","",u.contentErrorPrimary),warningBorderWidth:r.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-single-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-single-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-single-select-warning-helper-icon-color","",u.contentWarningIconOnly),focusOutlineWidth:r.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-single-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-single-select-disabled-component-opacity","",c.opacity40)};var ep={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",c.colorWhite),labelColor:r.extend("--ft-combobox-multi-select-label-color","",u.contentGlobalSubtle),trailingIconColor:r.extend("--ft-combobox-multi-select-trailing-icon-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ft-combobox-multi-select-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ft-combobox-multi-select-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:r.extend("--ft-combobox-multi-select-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ft-combobox-multi-select-error-helper-text-color","",u.contentErrorPrimary),errorHelperIcon:r.extend("--ft-combobox-multi-select-error-helper-icon","",u.contentErrorIconOnly),errorBorderWidth:r.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:r.extend("--ft-combobox-multi-select-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ft-combobox-multi-select-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ft-combobox-multi-select-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:r.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-combobox-multi-select-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ft-combobox-multi-select-disabled-component-opacity","",c.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",c.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",c.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",c.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",c.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",c.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",c.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",c.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",c.borderRadiusM)};var rp={backgroundColor:r.extend("--ft-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",c.spacing6),titleColor:r.extend("--ft-popover-title-color","",u.contentGlobalPrimary),bodyColor:r.extend("--ft-popover-body-color","",u.contentGlobalSecondary),linkColor:r.extend("--ft-popover-link-color","",u.contentActionPrimary),gap:r.extend("--ft-popover-gap","",c.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",c.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",c.shadowElevation02),maxWidth:r.create("--ft-popover-max-width","","SIZE","440px")};var op={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:r.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ft-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ft-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",c.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",c.spacing3),color:r.extend("--ft-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:r.extend("--ft-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:r.extend("--ft-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:r.extend("--ft-collapsible-border-color","",u.borderGlobalSubtle),iconSize:r.extend("--ft-collapsible-icon-size","",c.iconSize3)};var np={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",c.spacing1),groupGap:r.extend("--ft-switch-group-gap","",c.spacing1),groupBackgroundColor:r.extend("--ft-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:r.extend("--ft-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:r.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ft-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ft-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",c.opacity40),onColor:r.extend("--ft-switch-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:r.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:r.extend("--ft-switch-option-border-radius","",c.borderRadiusS)};var ip={color1Light:r.extend("--ft-chart-1-light","for area color charts",c.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",c.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",c.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",c.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",c.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",c.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",c.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",c.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",c.colorRed40),color5Base:r.extend("--ft-chart-5-base","",c.colorRed60),color6Light:r.extend("--ft-chart-6-light","",c.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",c.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",c.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",c.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",c.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",c.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",c.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",c.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",c.colorGray50),color10Base:r.extend("--ft-chart-10-base","",c.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",c.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",c.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",c.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",c.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",c.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorCyan10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ft-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorRed10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ft-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ft-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ft-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var ap={color1IconColor:r.extend("--ft-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:r.extend("--ft-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:r.extend("--ft-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:r.extend("--ft-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:r.extend("--ft-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:r.extend("--ft-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:r.extend("--ft-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:r.extend("--ft-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:r.extend("--ft-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:r.extend("--ft-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:r.extend("--ft-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:r.extend("--ft-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:r.extend("--ft-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:r.extend("--ft-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:r.extend("--ft-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:r.extend("--ft-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var sp={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",c.spacing3),verticalPadding:r.extend("--ft-notice-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-notice-border-radius","",c.borderRadiusS),gap:r.extend("--ft-notice-gap","",c.spacing2),iconSize:r.extend("--ft-notice-icon-size","",c.iconSize3),infoBackgroundColor:r.extend("--ft-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:r.extend("--ft-notice-info-border-color","",u.borderInfoSubtle),infoColor:r.extend("--ft-notice-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:r.extend("--ft-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:r.extend("--ft-notice-warning-border-color","",u.borderWarningSubtle),warningColor:r.extend("--ft-notice-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:r.extend("--ft-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:r.extend("--ft-notice-error-border-color","",u.borderErrorSubtle),errorColor:r.extend("--ft-notice-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:r.extend("--ft-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:r.extend("--ft-notice-success-border-color","",u.borderSuccessSubtle),successColor:r.extend("--ft-notice-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-notice-success-icon-color","",u.contentSuccessIconOnly)};var cp={color:r.extend("--ft-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ft-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:r.extend("--ft-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:r.extend("--ft-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ft-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-checkbox-gap","",c.spacing3)};var lp={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:r.extend("--ft-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:r.extend("--ft-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:r.extend("--ft-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:r.extend("--ft-toggle-on-icon-color","",u.contentActionPrimary),color:r.extend("--ft-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:r.extend("--ft-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:r.extend("--ft-toggle-gap","",c.spacing3)};var dp={color:r.extend("--ft-radio-color","",u.contentGlobalPrimary),selectedRadioColor:r.extend("--ft-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:r.extend("--ft-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ft-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:r.extend("--ft-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:r.extend("--ft-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ft-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ft-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:r.extend("--ft-radio-gap","",c.spacing3)};var pp={iconSize:r.extend("--ft-notification-icon-size","",c.iconSize4),leftPadding:r.extend("--ft-notification-left-padding","",c.spacing5),rightPadding:r.extend("--ft-notification-right-padding","",c.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",c.spacing3),infoBackgroundColor:r.extend("--ft-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ft-notification-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ft-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ft-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ft-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ft-notification-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ft-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ft-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ft-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ft-notification-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ft-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ft-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ft-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ft-notification-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ft-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ft-notification-error-border-color","",u.borderErrorSubtle),borderRadius:r.extend("--ft-notification-border-radius","",c.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",c.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",c.spacing8)};var up={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",c.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",c.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",c.borderRadiusS),color:r.extend("--ft-tooltip-color","",u.contentGlobalOnColor),backgroundColor:r.extend("--ft-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:r.extend("--ft-tooltip-background-opacity","",c.opacity80),shadow:r.extend("--ft-tooltip-shadow","",c.shadowElevation02),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",c.spacing05)};var Ne;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Ne||(Ne={}));var Gt;(function(e){e.large="large",e.medium="medium",e.small="small"})(Gt||(Gt={}));function di(e){return`ftds--family-${e}`}function pi(e){return`ftds--size-${e}`}var V={colorPrimary:r.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:r.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:r.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:r.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:r.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:r.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:r.create("--ft-color-error","","COLOR","#B00020"),colorOutline:r.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:r.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:r.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:r.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:r.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:r.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:r.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:r.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:r.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:r.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:r.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:r.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:r.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:r.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:r.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:r.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:r.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:r.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:r.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:r.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:r.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:r.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:r.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:r.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:r.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:r.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:r.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:r.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:r.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:r.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:r.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:r.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:r.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:r.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:r.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:r.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:r.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.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:r.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:r.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:r.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:r.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:r.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:r.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Ni={};j(Ni,{computeFlipOffsetPosition:()=>Ip,computeOffsetPosition:()=>Ri});var Ns=["top","right","bottom","left"],Rs=["start","end"],hi=Ns.reduce((e,t)=>e.concat(t,t+"-"+Rs[0],t+"-"+Rs[1]),[]),kr=Math.min,oe=Math.max,Dr=Math.round;var Kt=e=>({x:e,y:e}),fp={left:"right",right:"left",bottom:"top",top:"bottom"},hp={start:"end",end:"start"};function yi(e,t,o){return oe(e,kr(t,o))}function Ke(e,t){return typeof e=="function"?e(t):e}function kt(e){return e.split("-")[0]}function Dt(e){return e.split("-")[1]}function mi(e){return e==="x"?"y":"x"}function gi(e){return e==="y"?"height":"width"}function Mr(e){return["top","bottom"].includes(kt(e))?"y":"x"}function bi(e){return mi(Mr(e))}function xi(e,t,o){o===void 0&&(o=!1);let n=Dt(e),i=bi(e),a=gi(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=$r(s)),[s,$r(s)]}function _s(e){let t=$r(e);return[Ir(e),t,Ir(t)]}function Ir(e){return e.replace(/start|end/g,t=>hp[t])}function yp(e,t,o){let n=["left","right"],i=["right","left"],a=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return o?t?i:n:t?n:i;case"left":case"right":return t?a:s;default:return[]}}function Ls(e,t,o,n){let i=Dt(e),a=yp(kt(e),o==="start",n);return i&&(a=a.map(s=>s+"-"+i),t&&(a=a.concat(a.map(Ir)))),a}function $r(e){return e.replace(/left|right|bottom|top/g,t=>fp[t])}function mp(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ps(e){return typeof e!="number"?mp(e):{top:e,right:e,bottom:e,left:e}}function _e(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Ts(e,t,o){let{reference:n,floating:i}=e,a=Mr(t),s=bi(t),l=gi(s),d=kt(t),p=a==="y",f=n.x+n.width/2-i.width/2,h=n.y+n.height/2-i.height/2,m=n[l]/2-i[l]/2,b;switch(d){case"top":b={x:f,y:n.y-i.height};break;case"bottom":b={x:f,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:h};break;case"left":b={x:n.x-i.width,y:h};break;default:b={x:n.x,y:n.y}}switch(Dt(t)){case"start":b[s]-=m*(o&&p?-1:1);break;case"end":b[s]+=m*(o&&p?-1:1);break}return b}var Is=async(e,t,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,l=a.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(t)),p=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:f,y:h}=Ts(p,n,d),m=n,b={},x=0;for(let O=0;O<l.length;O++){let{name:N,fn:L}=l[O],{x:P,y:C,data:S,reset:E}=await L({x:f,y:h,initialPlacement:n,placement:m,strategy:i,middlewareData:b,rects:p,platform:s,elements:{reference:e,floating:t}});if(f=P??f,h=C??h,b={...b,[N]:{...b[N],...S}},E&&x<=50){x++,typeof E=="object"&&(E.placement&&(m=E.placement),E.rects&&(p=E.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):E.rects),{x:f,y:h}=Ts(p,m,d)),O=-1;continue}}return{x:f,y:h,placement:m,strategy:i,middlewareData:b}};async function No(e,t){var o;t===void 0&&(t={});let{x:n,y:i,platform:a,rects:s,elements:l,strategy:d}=e,{boundary:p="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:m=!1,padding:b=0}=Ke(t,e),x=Ps(b),N=l[m?h==="floating"?"reference":"floating":h],L=_e(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(N)))==null||o?N:N.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:p,rootBoundary:f,strategy:d})),P=h==="floating"?{...s.floating,x:n,y:i}:s.reference,C=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),S=await(a.isElement==null?void 0:a.isElement(C))?await(a.getScale==null?void 0:a.getScale(C))||{x:1,y:1}:{x:1,y:1},E=_e(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:P,offsetParent:C,strategy:d}):P);return{top:(L.top-E.top+x.top)/S.y,bottom:(E.bottom-L.bottom+x.bottom)/S.y,left:(L.left-E.left+x.left)/S.x,right:(E.right-L.right+x.right)/S.x}}function gp(e,t,o){return(e?[...o.filter(i=>Dt(i)===e),...o.filter(i=>Dt(i)!==e)]:o.filter(i=>kt(i)===i)).filter(i=>e?Dt(i)===e||(t?Ir(i)!==i:!1):!0)}var vi=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,i;let{rects:a,middlewareData:s,placement:l,platform:d,elements:p}=t,{crossAxis:f=!1,alignment:h,allowedPlacements:m=hi,autoAlignment:b=!0,...x}=Ke(e,t),O=h!==void 0||m===hi?gp(h||null,b,m):m,N=await No(t,x),L=((o=s.autoPlacement)==null?void 0:o.index)||0,P=O[L];if(P==null)return{};let C=xi(P,a,await(d.isRTL==null?void 0:d.isRTL(p.floating)));if(l!==P)return{reset:{placement:O[0]}};let S=[N[kt(P)],N[C[0]],N[C[1]]],E=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:P,overflows:S}],T=O[L+1];if(T)return{data:{index:L+1,overflows:E},reset:{placement:T}};let M=E.map($=>{let y=Dt($.placement);return[$.placement,y&&f?$.overflows.slice(0,2).reduce((v,I)=>v+I,0):$.overflows[0],$.overflows]}).sort(($,y)=>$[1]-y[1]),W=((i=M.filter($=>$[2].slice(0,Dt($[0])?2:3).every(y=>y<=0))[0])==null?void 0:i[0])||M[0][0];return W!==l?{data:{index:L+1,overflows:E},reset:{placement:W}}:{}}}},Si=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var o,n;let{placement:i,middlewareData:a,rects:s,initialPlacement:l,platform:d,elements:p}=t,{mainAxis:f=!0,crossAxis:h=!0,fallbackPlacements:m,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:O=!0,...N}=Ke(e,t);if((o=a.arrow)!=null&&o.alignmentOffset)return{};let L=kt(i),P=kt(l)===l,C=await(d.isRTL==null?void 0:d.isRTL(p.floating)),S=m||(P||!O?[$r(l)]:_s(l));!m&&x!=="none"&&S.push(...Ls(l,O,x,C));let E=[l,...S],T=await No(t,N),M=[],H=((n=a.flip)==null?void 0:n.overflows)||[];if(f&&M.push(T[L]),h){let v=xi(i,s,C);M.push(T[v[0]],T[v[1]])}if(H=[...H,{placement:i,overflows:M}],!M.every(v=>v<=0)){var W,$;let v=(((W=a.flip)==null?void 0:W.index)||0)+1,I=E[v];if(I)return{data:{index:v,overflows:H},reset:{placement:I}};let F=($=H.filter(z=>z.overflows[0]<=0).sort((z,U)=>z.overflows[1]-U.overflows[1])[0])==null?void 0:$.placement;if(!F)switch(b){case"bestFit":{var y;let z=(y=H.map(U=>[U.placement,U.overflows.filter(Lt=>Lt>0).reduce((Lt,hr)=>Lt+hr,0)]).sort((U,Lt)=>U[1]-Lt[1])[0])==null?void 0:y[0];z&&(F=z);break}case"initialPlacement":F=l;break}if(i!==F)return{reset:{placement:F}}}return{}}}};async function bp(e,t){let{placement:o,platform:n,elements:i}=e,a=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=kt(o),l=Dt(o),d=Mr(o)==="y",p=["left","top"].includes(s)?-1:1,f=a&&d?-1:1,h=Ke(t,e),{mainAxis:m,crossAxis:b,alignmentAxis:x}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...h};return l&&typeof x=="number"&&(b=l==="end"?x*-1:x),d?{x:b*f,y:m*p}:{x:m*p,y:b*f}}var Oi=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var o,n;let{x:i,y:a,placement:s,middlewareData:l}=t,d=await bp(t,e);return s===((o=l.offset)==null?void 0:o.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:a+d.y,data:{...d,placement:s}}}}},Ci=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:n,placement:i}=t,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:N=>{let{x:L,y:P}=N;return{x:L,y:P}}},...d}=Ke(e,t),p={x:o,y:n},f=await No(t,d),h=Mr(kt(i)),m=mi(h),b=p[m],x=p[h];if(a){let N=m==="y"?"top":"left",L=m==="y"?"bottom":"right",P=b+f[N],C=b-f[L];b=yi(P,b,C)}if(s){let N=h==="y"?"top":"left",L=h==="y"?"bottom":"right",P=x+f[N],C=x-f[L];x=yi(P,x,C)}let O=l.fn({...t,[m]:b,[h]:x});return{...O,data:{x:O.x-o,y:O.y-n}}}}};function Zt(e){return ks(e)?(e.nodeName||"").toLowerCase():"#document"}function ft(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function qt(e){var t;return(t=(ks(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ks(e){return e instanceof Node||e instanceof ft(e).Node}function Mt(e){return e instanceof Element||e instanceof ft(e).Element}function Et(e){return e instanceof HTMLElement||e instanceof ft(e).HTMLElement}function $s(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ft(e).ShadowRoot}function Ze(e){let{overflow:t,overflowX:o,overflowY:n,display:i}=bt(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(i)}function Ds(e){return["table","td","th"].includes(Zt(e))}function Lo(e){let t=Po(),o=bt(e);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!t&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!t&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function Ms(e){let t=Le(e);for(;Et(t)&&!Ur(t);){if(Lo(t))return t;t=Le(t)}return null}function Po(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ur(e){return["html","body","#document"].includes(Zt(e))}function bt(e){return ft(e).getComputedStyle(e)}function Br(e){return Mt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Le(e){if(Zt(e)==="html")return e;let t=e.assignedSlot||e.parentNode||$s(e)&&e.host||qt(e);return $s(t)?t.host:t}function Us(e){let t=Le(e);return Ur(t)?e.ownerDocument?e.ownerDocument.body:e.body:Et(t)&&Ze(t)?t:Us(t)}function _o(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let i=Us(e),a=i===((n=e.ownerDocument)==null?void 0:n.body),s=ft(i);return a?t.concat(s,s.visualViewport||[],Ze(i)?i:[],s.frameElement&&o?_o(s.frameElement):[]):t.concat(i,_o(i,[],o))}function Ws(e){let t=bt(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=Et(e),a=i?e.offsetWidth:o,s=i?e.offsetHeight:n,l=Dr(o)!==a||Dr(n)!==s;return l&&(o=a,n=s),{width:o,height:n,$:l}}function Hs(e){return Mt(e)?e:e.contextElement}function qe(e){let t=Hs(e);if(!Et(t))return Kt(1);let o=t.getBoundingClientRect(),{width:n,height:i,$:a}=Ws(t),s=(a?Dr(o.width):o.width)/n,l=(a?Dr(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var xp=Kt(0);function zs(e){let t=ft(e);return!Po()||!t.visualViewport?xp:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function vp(e,t,o){return t===void 0&&(t=!1),!o||t&&o!==ft(e)?!1:t}function Fr(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let i=e.getBoundingClientRect(),a=Hs(e),s=Kt(1);t&&(n?Mt(n)&&(s=qe(n)):s=qe(e));let l=vp(a,o,n)?zs(a):Kt(0),d=(i.left+l.x)/s.x,p=(i.top+l.y)/s.y,f=i.width/s.x,h=i.height/s.y;if(a){let m=ft(a),b=n&&Mt(n)?ft(n):n,x=m.frameElement;for(;x&&n&&b!==m;){let O=qe(x),N=x.getBoundingClientRect(),L=bt(x),P=N.left+(x.clientLeft+parseFloat(L.paddingLeft))*O.x,C=N.top+(x.clientTop+parseFloat(L.paddingTop))*O.y;d*=O.x,p*=O.y,f*=O.x,h*=O.y,d+=P,p+=C,x=ft(x).frameElement}}return _e({width:f,height:h,x:d,y:p})}function Sp(e){let{rect:t,offsetParent:o,strategy:n}=e,i=Et(o),a=qt(o);if(o===a)return t;let s={scrollLeft:0,scrollTop:0},l=Kt(1),d=Kt(0);if((i||!i&&n!=="fixed")&&((Zt(o)!=="body"||Ze(a))&&(s=Br(o)),Et(o))){let p=Fr(o);l=qe(o),d.x=p.x+o.clientLeft,d.y=p.y+o.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-s.scrollLeft*l.x+d.x,y:t.y*l.y-s.scrollTop*l.y+d.y}}function Op(e){return Array.from(e.getClientRects())}function js(e){return Fr(qt(e)).left+Br(e).scrollLeft}function Cp(e){let t=qt(e),o=Br(e),n=e.ownerDocument.body,i=oe(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=oe(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),s=-o.scrollLeft+js(e),l=-o.scrollTop;return bt(n).direction==="rtl"&&(s+=oe(t.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:l}}function Ep(e,t){let o=ft(e),n=qt(e),i=o.visualViewport,a=n.clientWidth,s=n.clientHeight,l=0,d=0;if(i){a=i.width,s=i.height;let p=Po();(!p||p&&t==="fixed")&&(l=i.offsetLeft,d=i.offsetTop)}return{width:a,height:s,x:l,y:d}}function wp(e,t){let o=Fr(e,!0,t==="fixed"),n=o.top+e.clientTop,i=o.left+e.clientLeft,a=Et(e)?qe(e):Kt(1),s=e.clientWidth*a.x,l=e.clientHeight*a.y,d=i*a.x,p=n*a.y;return{width:s,height:l,x:d,y:p}}function Bs(e,t,o){let n;if(t==="viewport")n=Ep(e,o);else if(t==="document")n=Cp(qt(e));else if(Mt(t))n=wp(t,o);else{let i=zs(e);n={...t,x:t.x-i.x,y:t.y-i.y}}return _e(n)}function Vs(e,t){let o=Le(e);return o===t||!Mt(o)||Ur(o)?!1:bt(o).position==="fixed"||Vs(o,t)}function Ap(e,t){let o=t.get(e);if(o)return o;let n=_o(e,[],!1).filter(l=>Mt(l)&&Zt(l)!=="body"),i=null,a=bt(e).position==="fixed",s=a?Le(e):e;for(;Mt(s)&&!Ur(s);){let l=bt(s),d=Lo(s);!d&&l.position==="fixed"&&(i=null),(a?!d&&!i:!d&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Ze(s)&&!d&&Vs(e,s))?n=n.filter(f=>f!==s):i=l,s=Le(s)}return t.set(e,n),n}function Rp(e){let{element:t,boundary:o,rootBoundary:n,strategy:i}=e,s=[...o==="clippingAncestors"?Ap(t,this._c):[].concat(o),n],l=s[0],d=s.reduce((p,f)=>{let h=Bs(t,f,i);return p.top=oe(h.top,p.top),p.right=kr(h.right,p.right),p.bottom=kr(h.bottom,p.bottom),p.left=oe(h.left,p.left),p},Bs(t,l,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function Np(e){return Ws(e)}function _p(e,t,o){let n=Et(t),i=qt(t),a=o==="fixed",s=Fr(e,!0,a,t),l={scrollLeft:0,scrollTop:0},d=Kt(0);if(n||!n&&!a)if((Zt(t)!=="body"||Ze(i))&&(l=Br(t)),n){let p=Fr(t,!0,a,t);d.x=p.x+t.clientLeft,d.y=p.y+t.clientTop}else i&&(d.x=js(i));return{x:s.left+l.scrollLeft-d.x,y:s.top+l.scrollTop-d.y,width:s.width,height:s.height}}function Fs(e,t){return!Et(e)||bt(e).position==="fixed"?null:t?t(e):e.offsetParent}function Gs(e,t){let o=ft(e);if(!Et(e))return o;let n=Fs(e,t);for(;n&&Ds(n)&&bt(n).position==="static";)n=Fs(n,t);return n&&(Zt(n)==="html"||Zt(n)==="body"&&bt(n).position==="static"&&!Lo(n))?o:n||Ms(e)||o}var Lp=async function(e){let{reference:t,floating:o,strategy:n}=e,i=this.getOffsetParent||Gs,a=this.getDimensions;return{reference:_p(t,await i(o),n),floating:{x:0,y:0,...await a(o)}}};function Pp(e){return bt(e).direction==="rtl"}var Ye={convertOffsetParentRelativeRectToViewportRelativeRect:Sp,getDocumentElement:qt,getClippingRect:Rp,getOffsetParent:Gs,getElementRects:Lp,getClientRects:Op,getDimensions:Np,getScale:qe,isElement:Mt,isRTL:Pp};var Ei=(e,t,o)=>{let n=new Map,i={platform:Ye,...o},a={...i.platform,_c:n};return Is(e,t,{...i,platform:a})};function Ai(e){return Tp(e)}function wi(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function Tp(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 o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||o.filter!=="none"||t.tagName==="BODY"))return t}return null}async function Ri(e,t,o){return Ei(e,t,{platform:{...Ye,getOffsetParent:n=>Ye.getOffsetParent(n,Ai)},middleware:[Ci({crossAxis:!0}),vi({allowedPlacements:[o]})]})}async function Ip(e,t,o,n,i){return Ei(e,t,{placement:o,strategy:i,platform:{...Ye,getOffsetParent:a=>Ye.getOffsetParent(a,Ai)},middleware:[Oi(4),Si({fallbackPlacements:n})]})}var Ti={};j(Ti,{FtdsBase:()=>Pi,toFtdsBase:()=>$o});var Li={};j(Li,{FtLitElement:()=>K});var _i={};j(_i,{ScopedRegistryLitElement:()=>Wr});var To=window,$p=To.ShadowRoot&&(To.ShadyCSS===void 0||To.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ng=Symbol();var Ks=(e,t)=>{$p?e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet):t.forEach(o=>{let n=document.createElement("style"),i=To.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)})};var Wr=class extends jt{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 o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Ks(n,t.elementStyles),n}};var Io=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Xs,Zs=Symbol("constructorPrototype"),qs=Symbol("constructorName"),Js=Symbol("exportpartsDebouncer"),Ys=Symbol("dynamicDependenciesLoaded"),K=class extends Wr{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Xs]=new gt(5),this[qs]=this.constructor.name,this[Zs]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[qs]&&Object.setPrototypeOf(this,this[Zs])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(o){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",o)}let t=this.constructor;t[Ys]||(t[Ys]=!0,this.importDynamicDependencies())}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()})}contentAvailableCallback(t){}applyCustomStylesheet(t){var o,n,i;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.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,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Js].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 o,n,i,a,s,l;let d=m=>m!=null&&m.trim().length>0,p=t.filter(d).map(m=>m.trim());if(p.length===0){this.removeAttribute("exportparts");return}let f=new Set;for(let m of(n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let b=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],x=(l=(s=m.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(O=>O.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...b,...x).filter(d).map(O=>O.trim()).forEach(O=>f.add(O))}if(f.size===0){this.removeAttribute("exportparts");return}let h=[...f.values()].flatMap(m=>p.map(b=>`${m}:${b}--${m}`));this.setAttribute("exportparts",[...this.part,...h].join(", "))}};Xs=Js;Io([A()],K.prototype,"exportpartsPrefix",void 0);Io([$t([])],K.prototype,"exportpartsPrefixes",void 0);Io([A()],K.prototype,"customStylesheet",void 0);Io([st()],K.prototype,"useAdoptedStyleSheets",void 0);var Qs=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a};function $o(e){class t extends e{constructor(){super(...arguments),this.size=Gt.medium,this.family=Ne.neutral}getDesignSystemBaseClasses(){return{[di(this.family)]:!0,[pi(this.size)]:!0}}}return Qs([A()],t.prototype,"size",void 0),Qs([A()],t.prototype,"family",void 0),t}var Pi=class extends $o(K){};var tc={};var ki={};j(ki,{highlightHtml:()=>$i,highlightHtmlColorCssVariable:()=>ec,highlightHtmlStyles:()=>Dp});var Pe=class e{constructor(t,o=!0,n=[],i=5e3){this.ctx=t,this.iframes=o,this.exclude=n,this.iframesTimeout=i}static matches(t,o){let n=typeof o=="string"?[o]:o,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,o=[];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=o.filter(a=>a.contains(n)).length>0;o.indexOf(n)===-1&&!i&&o.push(n)}),o}getIframeContents(t,o,n=()=>{}){let i;try{let a=t.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&o(i)}isIframeBlank(t){let o="about:blank",n=t.getAttribute("src").trim();return t.contentWindow.location.href===o&&n!==o&&n}observeIframeLoad(t,o,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(t)||(t.removeEventListener("load",s),this.getIframeContents(t,o,n))}catch{n()}}};t.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(t,o,n){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,o,n):this.getIframeContents(t,o,n):this.observeIframeLoad(t,o,n)}catch{n()}}waitForIframes(t,o){let n=0;this.forEachIframe(t,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||o()})},i=>{i||o()})}forEachIframe(t,o,n,i=()=>{}){let a=t.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&i(l)};s||d(),a.forEach(p=>{e.matches(p,this.exclude)?d():this.onIframeReady(p,f=>{o(p)&&(l++,n(f)),d()},d)})}createIterator(t,o,n){return document.createNodeIterator(t,o,n,!1)}createInstanceOnIframe(t){return new e(t.querySelector("html"),this.iframes)}compareNodeIframe(t,o,n){let i=t.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(o!==null){let s=o.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(t){let o=t.previousNode(),n;return o===null?n=t.nextNode():n=t.nextNode()&&t.nextNode(),{prevNode:o,node:n}}checkIframeFilter(t,o,n,i){let a=!1,s=!1;return i.forEach((l,d)=>{l.val===n&&(a=d,s=l.handled)}),this.compareNodeIframe(t,o,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,o,n,i){t.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(o,n,i)})})}iterateThroughNodes(t,o,n,i,a){let s=this.createIterator(o,t,i),l=[],d=[],p,f,h=()=>({prevNode:f,node:p}=this.getIteratorNode(s),p);for(;h();)this.iframes&&this.forEachIframe(o,m=>this.checkIframeFilter(p,f,m,l),m=>{this.createInstanceOnIframe(m).forEachNode(t,b=>d.push(b),i)}),d.push(p);d.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(l,t,n,i),a()}forEachNode(t,o,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(l=>{let d=()=>{this.iterateThroughNodes(t,l,o,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(l,d):d()})}};var Hr=class{constructor(t){this.ctx=t,this.ie=!1;let o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.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 Pe(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,o="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[o]=="function"&&n[o](`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 o=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in o)if(o.hasOwnProperty(a)){let s=o[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${n}`),i+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+i))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return t=t.replace(/(?:\\)*\?/g,o=>o.charAt(0)==="\\"?"?":""),t.replace(/(?:\\)*\*/g,o=>o.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(t){let o=this.opt.wildcards==="withSpaces";return t.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,(o,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?o:o+"\0"})}createJoinersRegExp(t){let o=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&o.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?t.split(/\u0000+/).join(`[${o.join("")}]*`):t}createDiacriticsRegExp(t){let o=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${o}`),`[${s}]`),i.push(s)}return!0})}),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(t){let o="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\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(o)),`()([^${s}]*${t}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${t})(?=$|\\s${s})`}}getSeparatedKeywords(t){let o=[];return t.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&o.indexOf(i)===-1&&o.push(i)}):n.trim()&&o.indexOf(n)===-1&&o.push(n)}),{keywords:o.sort((n,i)=>i.length-n.length),length:o.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 o=[],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,o.push(i),n=s)}),o}callNoMatchOnInvalidRanges(t,o){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-o>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,o,n){let i,a=!0,s=n.length,l=o-s,d=parseInt(t.start,10)-l;return d=d>s?s:d,i=d+parseInt(t.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||i-d<0||d>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):n.substring(d,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:d,end:i,valid:a}}getTextNodes(t){let o="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:o.length,end:(o+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{t({value:o,nodes:n})})}matchesExclude(t){return Pe.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,o,n){let i=this.opt.element?this.opt.element:"mark",a=t.splitText(o),s=a.splitText(n-o),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,o,n,i,a){t.nodes.every((s,l)=>{let d=t.nodes[l+1];if(typeof d>"u"||d.start>o){if(!i(s.node))return!1;let p=o-s.start,f=(n>s.end?s.end:n)-s.start,h=t.value.substr(0,s.start),m=t.value.substr(f+s.start);if(s.node=this.wrapRangeInTextNode(s.node,p,f),t.value=h+m,t.nodes.forEach((b,x)=>{x>=l&&(t.nodes[x].start>0&&x!==l&&(t.nodes[x].start-=f),t.nodes[x].end-=f)}),n-=f,a(s.node.previousSibling,s.start),n>s.end)o=s.end;else return!1}return!0})}wrapMatches(t,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let p;for(;(p=t.exec(d.textContent))!==null&&p[s]!=="";){if(!n(p[s],d))continue;let f=p.index;if(s!==0)for(let h=1;h<s;h++)f+=p[h].length;d=this.wrapRangeInTextNode(d,f,f+p[s].length),i(d.previousSibling),t.lastIndex=0}}),a()})}wrapMatchesAcrossElements(t,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(l=>{let d;for(;(d=t.exec(l.value))!==null&&d[s]!=="";){let p=d.index;if(s!==0)for(let h=1;h<s;h++)p+=d[h].length;let f=p+d[s].length;this.wrapRangeInMappedTextNode(l,p,f,h=>n(d[s],h),(h,m)=>{t.lastIndex=m,i(h)})}a()})}wrapRangeFromIndex(t,o,n,i){this.getTextNodes(a=>{let s=a.value.length;t.forEach((l,d)=>{let{start:p,end:f,valid:h}=this.checkWhitespaceRanges(l,s,a.value);h&&this.wrapRangeInMappedTextNode(a,p,f,m=>o(m,l,a.value.substring(p,f),d),m=>{n(m,l)})}),i()})}unwrapMatches(t){let o=t.parentNode,n=document.createDocumentFragment();for(;t.firstChild;)n.appendChild(t.removeChild(t.firstChild));o.replaceChild(n,t),this.ie?this.normalizeTextNode(o):o.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,o){this.opt=o,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,o){this.opt=o;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof t=="string"?[t]:t),l=this.opt.caseSensitive?"":"i",d=p=>{let f=new RegExp(this.createRegExp(p),`gm${l}`),h=0;this.log(`Searching with expression "${f}"`),this[i](f,1,(m,b)=>this.opt.filter(b,p,n,h),m=>{h++,n++,this.opt.each(m)},()=>{h===0&&this.opt.noMatch(p),a[s-1]===p?this.opt.done(n):d(a[a.indexOf(p)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(a[0])}markRanges(t,o){this.opt=o;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,d)=>this.opt.filter(a,s,l,d),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(t){this.opt=t;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=Pe.matches(n,o),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Ii(e){let t=new Hr(e);return this.mark=(o,n)=>(t.mark(o,n),this),this.markRegExp=(o,n)=>(t.markRegExp(o,n),this),this.markRanges=(o,n)=>(t.markRanges(o,n),this),this.unmark=o=>(t.unmark(o),this),this}var kp=Ii,ec=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Dp=D`
|
|
8
8
|
.highlight-html-match {
|
|
9
|
-
background: ${
|
|
9
|
+
background: ${ec};
|
|
10
10
|
}
|
|
11
|
-
`;function
|
|
11
|
+
`;function $i(e,t,o){var n,i;let a=e.getAttribute("data-highlight-html-query");if((a??"")!==(t??"")){let s=new kp(e);if(s.unmark(),t&&t.trim()){let l={className:(n=o?.className)!==null&&n!==void 0?n:"highlight-html-match"};o?.attributes!=null&&(l.each=p=>{for(let f in o.attributes)p.setAttribute(f,o.attributes[f])}),s.mark(t.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((i=t.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(p=>s.mark(p.replace(/"/g,""),{...l,separateWordSearch:!1}))}}e.setAttribute("data-highlight-html-query",t??"")}var Di={};j(Di,{noTextInputDefaultClearButton:()=>Up,noTextSelect:()=>zr,safariEllipsisFix:()=>jr,wordWrap:()=>Mp});var zr=D`
|
|
12
12
|
.ft-no-text-select {
|
|
13
13
|
-webkit-touch-callout: none;
|
|
14
14
|
-webkit-user-select: none;
|
|
@@ -17,7 +17,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
17
17
|
-ms-user-select: none;
|
|
18
18
|
user-select: none;
|
|
19
19
|
}
|
|
20
|
-
`,
|
|
20
|
+
`,Mp=D`
|
|
21
21
|
.ft-word-wrap {
|
|
22
22
|
white-space: normal;
|
|
23
23
|
word-wrap: break-word;
|
|
@@ -29,7 +29,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
29
29
|
-webkit-hyphens: auto;
|
|
30
30
|
hyphens: auto
|
|
31
31
|
}
|
|
32
|
-
`,
|
|
32
|
+
`,jr=D`
|
|
33
33
|
.ft-safari-ellipsis-fix {
|
|
34
34
|
margin-right: 0;
|
|
35
35
|
|
|
@@ -40,14 +40,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
40
40
|
display: inline-block;
|
|
41
41
|
width: 0;
|
|
42
42
|
}
|
|
43
|
-
|
|
43
|
+
`,Up=D`
|
|
44
44
|
input::-webkit-search-cancel-button,
|
|
45
45
|
input::-webkit-search-decoration,
|
|
46
46
|
input::-webkit-search-results-button,
|
|
47
47
|
input::-webkit-search-results-decoration {
|
|
48
48
|
display: none;
|
|
49
49
|
}
|
|
50
|
-
`;var Qs={};var ka={};j(ka,{ParametrizedLabelResolver:()=>Hr});var Hr=class e{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var n,a;t=this.resolvePluralKey(t,o);let i=(a=(n=this.labels[t])!==null&&n!==void 0?n:this.defaultLabels[t])!==null&&a!==void 0?a:"";return e.replaceParameters(i,...o)}static replaceParameters(t,...o){return o.forEach((n,a)=>t=t.replace(new RegExp(`\\{${a}([^}]*)\\}`,"g"),(i,s)=>e.formatValue(n,s))),t}resolvePluralKey(t,o){for(let n of o)if(typeof n=="number"){let a=`${String(t)}[\\=${n}]`;if(a in this.labels||a in this.defaultLabels)return a}return t}static formatValue(t,o){return t instanceof Date?e.formatDate(t,o):t??""}static formatDate(t,o){let n=a=>o?.includes("date")?t.toLocaleDateString(a):o?.includes("time")?t.toLocaleTimeString(a):t.toLocaleString(a);try{return n(document.documentElement.lang)}catch{return n()}}};var si={};j(si,{FtCommandQueue:()=>zr,FtLitElementRedux:()=>ae,FtReduxStore:()=>$e,clearAllStores:()=>xu,isFtReduxStore:()=>Pe,redux:()=>Po,reduxEventListener:()=>Dp,reduxReactive:()=>kp});var kp=()=>(e,t)=>{var o;let n=e.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(t)},Po=e=>{let t=e??{};return(o,n)=>{var a;let i={hasChanged:Nr,attribute:!1,...t};N(i)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(a=t.selector)!==null&&a!==void 0?a:l=>l[n],store:t.store})}},Dp=e=>(t,o)=>{let n=t.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,e)};var zr=class{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter(n=>n.type!==t.type)),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}};function Pe(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var tc,ec,rc,To=Symbol("internalReduxEventsUnsubscribers"),ne=Symbol("internalStoresUnsubscribers"),Te=Symbol("internalStores"),ae=class extends G{constructor(){super(...arguments),this[tc]=new Map,this[ec]=new Map,this[rc]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(o=>t.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[Te].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Te].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[Te].get(t)}addStore(t,o){var n;o=(n=o??(Pe(t)?t.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){let o=typeof t=="string"?t:t.name;this.unsubscribeFromStore(o),this[Te].delete(o)}setupStore(t,o){this[Te].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Te].forEach((t,o)=>this.subscribeToStore(o,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let a=this.getStore(t.store);a&&(t.store?this[ne].has(t.store):this[ne].size>0)&&(this[o]=t.selector(a.getState(),this))}})}subscribeToStore(t,o){var n;this[ne].set(t,o.subscribe(()=>this.updateFromStores())),Pe(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((a,i)=>{if(typeof this[i]=="function"&&(!a.store||o.name===a.store)){let s=l=>this[i](l);o.eventBus.addEventListener(a.eventName,s),this[To].push(()=>o.eventBus.removeEventListener(a.eventName,s))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[ne].forEach((t,o)=>this.unsubscribeFromStore(o)),this[To].forEach(t=>t()),this[To]=[]}unsubscribeFromStore(t){this[ne].has(t)&&this[ne].get(t)(),this[ne].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};tc=ne,ec=Te,rc=To;ae.reduxProperties=new Map;ae.reduxReactiveProperties=new Set;ae.reduxEventListeners=new Map;function vt(e){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(0)var a,i;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Yt(e){return!!e&&!!e[q]}function wt(e){var t;return!!e&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var a=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return a===Object||typeof a=="function"&&Function.toString.call(a)===jp}(e)||Array.isArray(e)||!!e[lc]||!!(!((t=e.constructor)===null||t===void 0)&&t[lc])||ja(e)||Va(e))}function Ie(e,t,o){o===void 0&&(o=!1),Xe(e)===0?(o?Object.keys:Ye)(e).forEach(function(n){o&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,a){return t(a,n,e)})}function Xe(e){var t=e[q];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:ja(e)?2:Va(e)?3:0}function qe(e,t){return Xe(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Up(e,t){return Xe(e)===2?e.get(t):e[t]}function dc(e,t,o){var n=Xe(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function pc(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function ja(e){return Hp&&e instanceof Map}function Va(e){return zp&&e instanceof Set}function ie(e){return e.o||e.t}function Ga(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=hc(e);delete t[q];for(var o=Ye(t),n=0;n<o.length;n++){var a=o[n],i=t[a];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[a]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function Ka(e,t){return t===void 0&&(t=!1),Za(e)||Yt(e)||!wt(e)||(Xe(e)>1&&(e.set=e.add=e.clear=e.delete=Mp),Object.freeze(e),t&&Ie(e,function(o,n){return Ka(n,!0)},!0)),e}function Mp(){vt(2)}function Za(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Mt(e){var t=za[e];return t||vt(18,e),t}function Bp(e,t){za[e]||(za[e]=t)}function Fa(){return Vr}function Da(e,t){t&&(Mt("Patches"),e.u=[],e.s=[],e.v=t)}function Io(e){Wa(e),e.p.forEach(Fp),e.p=null}function Wa(e){e===Vr&&(Vr=e.l)}function oc(e){return Vr={p:[],l:Vr,h:e,m:!0,_:0}}function Fp(e){var t=e[q];t.i===0||t.i===1?t.j():t.g=!0}function Ua(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||Mt("ES5").S(t,e,n),n?(o[q].P&&(Io(t),vt(4)),wt(e)&&(e=$o(t,e),t.l||ko(t,e)),t.u&&Mt("Patches").M(o[q].t,e,t.u,t.s)):e=$o(t,o,[]),Io(t),t.u&&t.v(t.u,t.s),e!==fc?e:void 0}function $o(e,t,o){if(Za(t))return t;var n=t[q];if(!n)return Ie(t,function(l,d){return nc(e,n,t,l,d,o)},!0),t;if(n.A!==e)return t;if(!n.P)return ko(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var a=n.i===4||n.i===5?n.o=Ga(n.k):n.o,i=a,s=!1;n.i===3&&(i=new Set(a),a.clear(),s=!0),Ie(i,function(l,d){return nc(e,n,a,l,d,o,s)}),ko(e,a,!1),o&&e.u&&Mt("Patches").N(n,o,e.u,e.s)}return n.o}function nc(e,t,o,n,a,i,s){if(Yt(a)){var l=$o(e,a,i&&t&&t.i!==3&&!qe(t.R,n)?i.concat(n):void 0);if(dc(o,n,l),!Yt(l))return;e.m=!1}else s&&o.add(a);if(wt(a)&&!Za(a)){if(!e.h.D&&e._<1)return;$o(e,a),t&&t.A.l||ko(e,a)}}function ko(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&Ka(t,o)}function Ma(e,t){var o=e[q];return(o?ie(o):e)[t]}function ac(e,t){if(t in e)for(var o=Object.getPrototypeOf(e);o;){var n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Object.getPrototypeOf(o)}}function se(e){e.P||(e.P=!0,e.l&&se(e.l))}function Ba(e){e.o||(e.o=Ga(e.t))}function Ha(e,t,o){var n=ja(t)?Mt("MapSet").F(t,o):Va(t)?Mt("MapSet").T(t,o):e.O?function(a,i){var s=Array.isArray(a),l={i:s?1:0,A:i?i.A:Fa(),P:!1,I:!1,R:{},l:i,t:a,k:null,o:null,j:null,C:!1},d=l,p=Gr;s&&(d=[l],p=jr);var f=Proxy.revocable(d,p),h=f.revoke,m=f.proxy;return l.k=m,l.j=h,m}(t,o):Mt("ES5").J(t,o);return(o?o.A:Fa()).p.push(n),n}function Wp(e){return Yt(e)||vt(22,e),function t(o){if(!wt(o))return o;var n,a=o[q],i=Xe(o);if(a){if(!a.P&&(a.i<4||!Mt("ES5").K(a)))return a.t;a.I=!0,n=ic(o,i),a.I=!1}else n=ic(o,i);return Ie(n,function(s,l){a&&Up(a.t,s)===l||dc(n,s,t(l))}),i===3?new Set(n):n}(e)}function ic(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Ga(e)}function uc(){function e(s,l){var d=i[s];return d?d.enumerable=l:i[s]=d={configurable:!0,enumerable:l,get:function(){var p=this[q];return Gr.get(p,s)},set:function(p){var f=this[q];Gr.set(f,s,p)}},d}function t(s){for(var l=s.length-1;l>=0;l--){var d=s[l][q];if(!d.P)switch(d.i){case 5:n(d)&&se(d);break;case 4:o(d)&&se(d)}}}function o(s){for(var l=s.t,d=s.k,p=Ye(d),f=p.length-1;f>=0;f--){var h=p[f];if(h!==q){var m=l[h];if(m===void 0&&!qe(l,h))return!0;var b=d[h],x=b&&b[q];if(x?x.t!==m:!pc(b,m))return!0}}var C=!!l[q];return p.length!==Ye(l).length+(C?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var p=0;p<l.length;p++)if(!l.hasOwnProperty(p))return!0;return!1}function a(s){s.g&&vt(3,JSON.stringify(ie(s)))}var i={};Bp("ES5",{J:function(s,l){var d=Array.isArray(s),p=function(h,m){if(h){for(var b=Array(m.length),x=0;x<m.length;x++)Object.defineProperty(b,""+x,e(x,!0));return b}var C=hc(m);delete C[q];for(var P=Ye(C),A=0;A<P.length;A++){var L=P[A];C[L]=e(L,h||!!C[L].enumerable)}return Object.create(Object.getPrototypeOf(m),C)}(d,s),f={i:d?5:4,A:l?l.A:Fa(),P:!1,I:!1,R:{},l,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,q,{value:f,writable:!0}),p},S:function(s,l,d){d?Yt(l)&&l[q].A===s&&t(s.p):(s.u&&function p(f){if(f&&typeof f=="object"){var h=f[q];if(h){var m=h.t,b=h.k,x=h.R,C=h.i;if(C===4)Ie(b,function(O){O!==q&&(m[O]!==void 0||qe(m,O)?x[O]||p(b[O]):(x[O]=!0,se(h)))}),Ie(m,function(O){b[O]!==void 0||qe(b,O)||(x[O]=!1,se(h))});else if(C===5){if(n(h)&&(se(h),x.length=!0),b.length<m.length)for(var P=b.length;P<m.length;P++)x[P]=!1;else for(var A=m.length;A<b.length;A++)x[A]=!0;for(var L=Math.min(b.length,m.length),S=0;S<L;S++)b.hasOwnProperty(S)||(x[S]=!0),x[S]===void 0&&p(b[S])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var sc,Vr,qa=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Hp=typeof Map<"u",zp=typeof Set<"u",cc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",fc=qa?Symbol.for("immer-nothing"):((sc={})["immer-nothing"]=!0,sc),lc=qa?Symbol.for("immer-draftable"):"__$immer_draftable",q=qa?Symbol.for("immer-state"):"__$immer_state";var jp=""+Object.prototype.constructor,Ye=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,hc=Object.getOwnPropertyDescriptors||function(e){var t={};return Ye(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},za={},Gr={get:function(e,t){if(t===q)return e;var o=ie(e);if(!qe(o,t))return function(a,i,s){var l,d=ac(i,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(a.k):void 0}(e,o,t);var n=o[t];return e.I||!wt(n)?n:n===Ma(e.t,t)?(Ba(e),e.o[t]=Ha(e.A.h,n,e)):n},has:function(e,t){return t in ie(e)},ownKeys:function(e){return Reflect.ownKeys(ie(e))},set:function(e,t,o){var n=ac(ie(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var a=Ma(ie(e),t),i=a?.[q];if(i&&i.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(pc(o,a)&&(o!==void 0||qe(e.t,t)))return!0;Ba(e),se(e)}return e.o[t]===o&&(o!==void 0||t in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[t])||(e.o[t]=o,e.R[t]=!0),!0},deleteProperty:function(e,t){return Ma(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Ba(e),se(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=ie(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){vt(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){vt(12)}},jr={};Ie(Gr,function(e,t){jr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),jr.deleteProperty=function(e,t){return jr.set.call(this,e,t,void 0)},jr.set=function(e,t,o){return Gr.set.call(this,e[0],t,o,e[0])};var Vp=function(){function e(o){var n=this;this.O=cc,this.D=!0,this.produce=function(a,i,s){if(typeof a=="function"&&typeof i!="function"){var l=i;i=a;var d=n;return function(C){var P=this;C===void 0&&(C=l);for(var A=arguments.length,L=Array(A>1?A-1:0),S=1;S<A;S++)L[S-1]=arguments[S];return d.produce(C,function(O){var E;return(E=i).call.apply(E,[P,O].concat(L))})}}var p;if(typeof i!="function"&&vt(6),s!==void 0&&typeof s!="function"&&vt(7),wt(a)){var f=oc(n),h=Ha(n,a,void 0),m=!0;try{p=i(h),m=!1}finally{m?Io(f):Wa(f)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(C){return Da(f,s),Ua(C,f)},function(C){throw Io(f),C}):(Da(f,s),Ua(p,f))}if(!a||typeof a!="object"){if((p=i(a))===void 0&&(p=a),p===fc&&(p=void 0),n.D&&Ka(p,!0),s){var b=[],x=[];Mt("Patches").M(a,p,b,x),s(b,x)}return p}vt(21,a)},this.produceWithPatches=function(a,i){if(typeof a=="function")return function(p){for(var f=arguments.length,h=Array(f>1?f-1:0),m=1;m<f;m++)h[m-1]=arguments[m];return n.produceWithPatches(p,function(b){return a.apply(void 0,[b].concat(h))})};var s,l,d=n.produce(a,i,function(p,f){s=p,l=f});return typeof Promise<"u"&&d instanceof Promise?d.then(function(p){return[p,s,l]}):[d,s,l]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=e.prototype;return t.createDraft=function(o){wt(o)||vt(8),Yt(o)&&(o=Wp(o));var n=oc(this),a=Ha(this,o,void 0);return a[q].C=!0,Wa(n),a},t.finishDraft=function(o,n){var a=o&&o[q],i=a.A;return Da(i,n),Ua(void 0,i)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!cc&&vt(20),this.O=o},t.applyPatches=function(o,n){var a;for(a=n.length-1;a>=0;a--){var i=n[a];if(i.path.length===0&&i.op==="replace"){o=i.value;break}}a>-1&&(n=n.slice(a+1));var s=Mt("Patches").$;return Yt(o)?s(o,n):this.produce(o,function(l){return s(l,n)})},e}(),xt=new Vp,Gp=xt.produce,Xg=xt.produceWithPatches.bind(xt),Jg=xt.setAutoFreeze.bind(xt),Qg=xt.setUseProxies.bind(xt),tb=xt.applyPatches.bind(xt),eb=xt.createDraft.bind(xt),rb=xt.finishDraft.bind(xt),Do=Gp;function ce(e){"@babel/helpers - typeof";return ce=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},ce(e)}function Ya(e,t){if(ce(e)!=="object"||e===null)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(ce(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Xa(e){var t=Ya(e,"string");return ce(t)==="symbol"?t:String(t)}function Ja(e,t,o){return t=Xa(t),t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function yc(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),o.push.apply(o,n)}return o}function Uo(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?yc(Object(o),!0).forEach(function(n){Ja(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):yc(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function st(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 mc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Qa=function(){return Math.random().toString(36).substring(7).split("").join(".")},Mo={INIT:"@@redux/INIT"+Qa(),REPLACE:"@@redux/REPLACE"+Qa(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Qa()}};function Kp(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 ti(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(st(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(st(1));return o(ti)(e,t)}if(typeof e!="function")throw new Error(st(2));var a=e,i=t,s=[],l=s,d=!1;function p(){l===s&&(l=s.slice())}function f(){if(d)throw new Error(st(3));return i}function h(C){if(typeof C!="function")throw new Error(st(4));if(d)throw new Error(st(5));var P=!0;return p(),l.push(C),function(){if(P){if(d)throw new Error(st(6));P=!1,p();var L=l.indexOf(C);l.splice(L,1),s=null}}}function m(C){if(!Kp(C))throw new Error(st(7));if(typeof C.type>"u")throw new Error(st(8));if(d)throw new Error(st(9));try{d=!0,i=a(i,C)}finally{d=!1}for(var P=s=l,A=0;A<P.length;A++){var L=P[A];L()}return C}function b(C){if(typeof C!="function")throw new Error(st(10));a=C,m({type:Mo.REPLACE})}function x(){var C,P=h;return C={subscribe:function(L){if(typeof L!="object"||L===null)throw new Error(st(11));function S(){L.next&&L.next(f())}S();var O=P(S);return{unsubscribe:O}}},C[mc]=function(){return this},C}return m({type:Mo.INIT}),n={dispatch:m,subscribe:h,getState:f,replaceReducer:b},n[mc]=x,n}function Zp(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:Mo.INIT});if(typeof n>"u")throw new Error(st(12));if(typeof o(void 0,{type:Mo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(st(13))})}function gc(e){for(var t=Object.keys(e),o={},n=0;n<t.length;n++){var a=t[n];typeof e[a]=="function"&&(o[a]=e[a])}var i=Object.keys(o),s,l;try{Zp(o)}catch(d){l=d}return function(p,f){if(p===void 0&&(p={}),l)throw l;if(0)var h;for(var m=!1,b={},x=0;x<i.length;x++){var C=i[x],P=o[C],A=p[C],L=P(A,f);if(typeof L>"u"){var S=f&&f.type;throw new Error(st(14))}b[C]=L,m=m||L!==A}return m=m||i.length!==Object.keys(p).length,m?b:p}}function Je(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,a){return function(){return n(a.apply(void 0,arguments))}})}function bc(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return function(n){return function(){var a=n.apply(void 0,arguments),i=function(){throw new Error(st(15))},s={getState:a.getState,dispatch:function(){return i.apply(void 0,arguments)}},l=t.map(function(d){return d(s)});return i=Je.apply(void 0,l)(a.dispatch),Uo(Uo({},a),{},{dispatch:i})}}}function xc(e){var t=function(n){var a=n.dispatch,i=n.getState;return function(s){return function(l){return typeof l=="function"?l(a,i,e):s(l)}}};return t}var vc=xc();vc.withExtraArgument=xc;var ei=vc;var wc=function(){var e=function(t,o){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},e(t,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),qp=function(e,t){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(p){return function(f){return d([p,f])}}function d(p){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(i=p[0]&2?a.return:p[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,p[1])).done)return i;switch(a=0,i&&(p=[p[0]&2,i.value]),p[0]){case 0:case 1:i=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,a=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(i=o.trys,!(i=i.length>0&&i[i.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!i||p[1]>i[0]&&p[1]<i[3])){o.label=p[1];break}if(p[0]===6&&o.label<i[1]){o.label=i[1],i=p;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(p);break}i[2]&&o.ops.pop(),o.trys.pop();continue}p=t.call(e,o)}catch(f){p=[6,f],a=0}finally{n=i=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},Qe=function(e,t){for(var o=0,n=t.length,a=e.length;o<n;o++,a++)e[a]=t[o];return e},Yp=Object.defineProperty,Xp=Object.defineProperties,Jp=Object.getOwnPropertyDescriptors,Sc=Object.getOwnPropertySymbols,Qp=Object.prototype.hasOwnProperty,tu=Object.prototype.propertyIsEnumerable,Oc=function(e,t,o){return t in e?Yp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},le=function(e,t){for(var o in t||(t={}))Qp.call(t,o)&&Oc(e,o,t[o]);if(Sc)for(var n=0,a=Sc(t);n<a.length;n++){var o=a[n];tu.call(t,o)&&Oc(e,o,t[o])}return e},ri=function(e,t){return Xp(e,Jp(t))},eu=function(e,t,o){return new Promise(function(n,a){var i=function(d){try{l(o.next(d))}catch(p){a(p)}},s=function(d){try{l(o.throw(d))}catch(p){a(p)}},l=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(i,s)};l((o=o.apply(e,t)).next())})};var ru=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Je:Je.apply(null,arguments)},vb=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function ou(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}var nu=function(e){wc(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,Qe([void 0],o[0].concat(this)))):new(t.bind.apply(t,Qe([void 0],o.concat(this))))},t}(Array),au=function(e){wc(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var a=e.apply(this,o)||this;return Object.setPrototypeOf(a,t.prototype),a}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,Qe([void 0],o[0].concat(this)))):new(t.bind.apply(t,Qe([void 0],o.concat(this))))},t}(Array);function ai(e){return wt(e)?Do(e,function(){}):e}function iu(e){return typeof e=="boolean"}function su(){return function(t){return cu(t)}}function cu(e){e===void 0&&(e={});var t=e.thunk,o=t===void 0?!0:t,n=e.immutableCheck,a=n===void 0?!0:n,i=e.serializableCheck,s=i===void 0?!0:i,l=new nu;if(o&&(iu(o)?l.push(ei):l.push(ei.withExtraArgument(o.extraArgument))),0){if(a)var d;if(s)var p}return l}var oi=!0;function Ac(e){var t=su(),o=e||{},n=o.reducer,a=n===void 0?void 0:n,i=o.middleware,s=i===void 0?t():i,l=o.devTools,d=l===void 0?!0:l,p=o.preloadedState,f=p===void 0?void 0:p,h=o.enhancers,m=h===void 0?void 0:h,b;if(typeof a=="function")b=a;else if(ou(a))b=gc(a);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 x=s;if(typeof x=="function"&&(x=x(t),!oi&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!oi&&x.some(function(O){return typeof O!="function"}))throw new Error("each middleware provided to configureStore must be a function");var C=bc.apply(void 0,x),P=Je;d&&(P=ru(le({trace:!oi},typeof d=="object"&&d)));var A=new au(C),L=A;Array.isArray(m)?L=Qe([C],m):typeof m=="function"&&(L=m(A));var S=P.apply(void 0,L);return ti(b,f,S)}function de(e,t){function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return le(le({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(n){return n.type===e},o}function Rc(e){var t={},o=[],n,a={addCase:function(i,s){var l=typeof i=="string"?i:i.type;if(l in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[l]=s,a},addMatcher:function(i,s){return o.push({matcher:i,reducer:s}),a},addDefaultCase:function(i){return n=i,a}};return e(a),[t,o,n]}function lu(e){return typeof e=="function"}function du(e,t,o,n){o===void 0&&(o=[]);var a=typeof t=="function"?Rc(t):[t,o,n],i=a[0],s=a[1],l=a[2],d;if(lu(e))d=function(){return ai(e())};else{var p=ai(e);d=function(){return p}}function f(h,m){h===void 0&&(h=d());var b=Qe([i[m.type]],s.filter(function(x){var C=x.matcher;return C(m)}).map(function(x){var C=x.reducer;return C}));return b.filter(function(x){return!!x}).length===0&&(b=[l]),b.reduce(function(x,C){if(C)if(Yt(x)){var P=x,A=C(P,m);return A===void 0?x:A}else{if(wt(x))return Do(x,function(L){return C(L,m)});var A=C(x,m);if(A===void 0){if(x===null)return x;throw Error("A case reducer on a non-draftable value must not return undefined")}return A}return x},h)}return f.getInitialState=d,f}function pu(e,t){return e+"/"+t}function Nc(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:ai(e.initialState),n=e.reducers||{},a=Object.keys(n),i={},s={},l={};a.forEach(function(f){var h=n[f],m=pu(t,f),b,x;"reducer"in h?(b=h.reducer,x=h.prepare):b=h,i[f]=b,s[m]=b,l[f]=x?de(m,x):de(m)});function d(){var f=typeof e.extraReducers=="function"?Rc(e.extraReducers):[e.extraReducers],h=f[0],m=h===void 0?{}:h,b=f[1],x=b===void 0?[]:b,C=f[2],P=C===void 0?void 0:C,A=le(le({},m),s);return du(o,function(L){for(var S in A)L.addCase(S,A[S]);for(var O=0,E=x;O<E.length;O++){var $=E[O];L.addMatcher($.matcher,$.reducer)}P&&L.addDefaultCase(P)})}var p;return{name:t,reducer:function(f,h){return p||(p=d()),p(f,h)},actions:l,caseReducers:i,getInitialState:function(){return p||(p=d()),p.getInitialState()}}}var uu="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",fu=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=uu[Math.random()*64|0];return t},hu=["name","message","stack","code"],ni=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Cc=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),yu=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=hu;o<n.length;o++){var a=n[o];typeof e[a]=="string"&&(t[a]=e[a])}return t}return{message:String(e)}},Eb=function(){function e(t,o,n){var a=de(t+"/fulfilled",function(f,h,m,b){return{payload:f,meta:ri(le({},b||{}),{arg:m,requestId:h,requestStatus:"fulfilled"})}}),i=de(t+"/pending",function(f,h,m){return{payload:void 0,meta:ri(le({},m||{}),{arg:h,requestId:f,requestStatus:"pending"})}}),s=de(t+"/rejected",function(f,h,m,b,x){return{payload:b,error:(n&&n.serializeError||yu)(f||"Rejected"),meta:ri(le({},x||{}),{arg:m,requestId:h,rejectedWithValue:!!b,requestStatus:"rejected",aborted:f?.name==="AbortError",condition:f?.name==="ConditionError"})}}),l=!1,d=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 p(f){return function(h,m,b){var x=n?.idGenerator?n.idGenerator(f):fu(),C=new d,P,A=!1;function L(O){P=O,C.abort()}var S=function(){return eu(this,null,function(){var O,E,$,F,H,z,I;return qp(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),F=(O=n?.condition)==null?void 0:O.call(n,f,{getState:m,extra:b}),gu(F)?[4,F]:[3,2];case 1:F=y.sent(),y.label=2;case 2:if(F===!1||C.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return A=!0,H=new Promise(function(v,T){return C.signal.addEventListener("abort",function(){return T({name:"AbortError",message:P||"Aborted"})})}),h(i(x,f,(E=n?.getPendingMeta)==null?void 0:E.call(n,{requestId:x,arg:f},{getState:m,extra:b}))),[4,Promise.race([H,Promise.resolve(o(f,{dispatch:h,getState:m,extra:b,requestId:x,signal:C.signal,abort:L,rejectWithValue:function(v,T){return new ni(v,T)},fulfillWithValue:function(v,T){return new Cc(v,T)}})).then(function(v){if(v instanceof ni)throw v;return v instanceof Cc?a(v.payload,x,f,v.meta):a(v,x,f)})])];case 3:return $=y.sent(),[3,5];case 4:return z=y.sent(),$=z instanceof ni?s(null,x,f,z.payload,z.meta):s(z,x,f),[3,5];case 5:return I=n&&!n.dispatchConditionRejection&&s.match($)&&$.meta.condition,I||h($),[2,$]}})})}();return Object.assign(S,{abort:L,requestId:x,arg:f,unwrap:function(){return S.then(mu)}})}}return Object.assign(p,{pending:i,rejected:s,fulfilled:a,typePrefix:t})}return e.withTypes=function(){return e},e}();function mu(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function gu(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var _c="listener",Lc="completed",Pc="cancelled",wb="task-"+Pc,Ab="task-"+Lc,Rb=_c+"-"+Pc,Nb=_c+"-"+Lc;var ii="listenerMiddleware";var _b=de(ii+"/add"),Lb=de(ii+"/removeAll"),Pb=de(ii+"/remove");var Ec,Tb=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Ec||(Ec=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},bu=function(e){return function(t){setTimeout(t,e)}},Ib=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:bu(10);uc();window.ftReduxStores||(window.ftReduxStores={});var $e=class e{static get(t){var o;let n=typeof t=="string"?t:t.name,a=typeof t=="string"?void 0:t,i=window.ftReduxStores[n];if(Pe(i))return i;if(a==null)return;let s=Nc({...a,reducers:(o=a.reducers)!==null&&o!==void 0?o:{}}),l=Ac({reducer:(d,p)=>p.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...p.overwrites}:s.reducer(d,p)});return window.ftReduxStores[a.name]=new e(s,l)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new zr,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,a,i)=>{let s=a,l=n[s];return l?(...d)=>{let p=l(...d);return this.reduxStore.dispatch(p),p}:d=>{this.setState({[s]:d})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function xu(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))Pe(t)&&t.clear()}var di={};j(di,{scrollHelper:()=>vu});var ci,Bo=new Map,li=class{lock(t,o){if(o){let n=Bo.get(o);if(n==null||n===t)return Bo.set(o,t),o}}release(t,o){o&&Bo.get(o)===t&&Bo.delete(o)}findFirstScrollableParent(t){let o,n=a=>{var i;a.stopPropagation();let s,l;for(let d of a.composedPath()){let p=d,f=this.elementCanScroll(p);if(f&&p.clientHeight&&p.clientHeight<p.scrollHeight){s=p;break}else f&&l==null&&(l=p)}o=(i=s??l)!==null&&i!==void 0?i:document.body};return t.addEventListener("find-scrollable-parent",n),t.dispatchEvent(new Event("find-scrollable-parent",{composed:!0})),t.removeEventListener("find-scrollable-parent",n),o}elementCanScroll(t){try{return["auto","scroll"].includes(getComputedStyle(t).overflowY)}catch{return!1}}getAbsoluteScrollOffset(t,o){let n=0;for(;o&&o.offsetParent!==t.offsetParent;)n+=o.offsetTop,o=o.offsetParent;return n+o.offsetTop-t.offsetTop}computeTopOffsetRatio(t,o){if(typeof t=="number")return t;switch(t){case"end":return 1;case"center":return .5;case"nearest":return o;default:return 0}}scrollIntoViewIfPossible(t,o){let n=this.findFirstScrollableParent(t);if(t&&this.lock(this,n)){let a=this.getAbsoluteScrollOffset(n,t),i=a-n.clientHeight+t.clientHeight,s=a,l=Ln(0,(s-n.scrollTop)/(s-i),1),d=this.computeTopOffsetRatio(o?.position,l)*(i-s)+s;n.scrollTo({behavior:o?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",t,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(ci=window.FluidTopicsScrollHelper)!==null&&ci!==void 0?ci:new li;var vu=window.FluidTopicsScrollHelper;var pi={};j(pi,{shadowQuerySelector:()=>Su,shadowQuerySelectorAll:()=>Ou});function Su(e,t,...o){var n;let a=e.querySelector(t);for(let i of o)a=(n=a?.shadowRoot)===null||n===void 0?void 0:n.querySelector(i);return a}function Ou(e,t,...o){let n=[...e.querySelectorAll(t)];for(let a of o)n=n.flatMap(i=>{var s,l;return[...(l=(s=i.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(a))!==null&&l!==void 0?l:[]]});return n}var ui={};j(ui,{SearchPlaceConverter:()=>Ho,SearchPlaceQueryParams:()=>Z,isSearchPlaceQueryParams:()=>tl,serializeRequest:()=>Au});var Cu=Gl(Ic(),1);var $c;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})($c||($c={}));var kc;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(kc||(kc={}));var Dc;(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"})(Dc||(Dc={}));var Uc;(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"})(Uc||(Uc={}));var Mc;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(Mc||(Mc={}));var Bc;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(Bc||(Bc={}));var Fc;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(Fc||(Fc={}));var Wc;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(Wc||(Wc={}));var Hc;(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"})(Hc||(Hc={}));var zc;(function(e){e.ASC="ASC",e.DESC="DESC"})(zc||(zc={}));var jc;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(jc||(jc={}));var Vc;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Vc||(Vc={}));var Xc=e=>["EVERYWHERE","TITLE_ONLY","NONE"].includes(e);var Gc;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Gc||(Gc={}));var Kc;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(Kc||(Kc={}));var Zc;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Zc||(Zc={}));var Kr;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Kr||(Kr={}));var Jc=e=>["LAST_WEEK","LAST_MONTH","LAST_QUARTER","LAST_YEAR"].includes(e);var qc;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(qc||(qc={}));var Yc;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS"})(Yc||(Yc={}));var nt;(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"})(nt||(nt={}));var Qc;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(Qc||(Qc={}));var Yb={[nt.PERSONAL_BOOK_SHARE_USER]:[nt.PERSONAL_BOOK_USER],[nt.HTML_EXPORT_USER]:[nt.PERSONAL_BOOK_USER],[nt.PDF_EXPORT_USER]:[nt.PERSONAL_BOOK_USER],[nt.KHUB_ADMIN]:[nt.CONTENT_PUBLISHER],[nt.ADMIN]:[nt.KHUB_ADMIN,nt.USERS_ADMIN,nt.PORTAL_ADMIN],[nt.DEVELOPER]:[nt.BETA_USER,nt.DEBUG_USER]};function Eu(e){return`"${e}"`}function wu(e){return e.startsWith('"')&&e.endsWith('"')?e.replace(/(^"+)|("+$)/g,""):e}function Au(e,t){return new Ho(e,{}).serialize(t)}var Z;(function(e){e.LOCALE="content-lang",e.QUERY="query",e.SCOPE="scope",e.FILTERS="filters",e.VIRTUAL_FIELD="virtual-field",e.PERIOD="period",e.VALUE_FILTERS="value-filters",e.DATE_FILTERS="date-filters",e.RANGE_FILTERS="range-filters",e.SORT="sort"})(Z||(Z={}));var Ru=new Set(Object.values(Z));function tl(e){return Ru.has(e)}var Ho=class{constructor(t,o){this.baseUrl=t,this.predefinedSorts=o,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(t,o="/search"){let n=this.toURLSearchParams(t).toString();return new URL(`${this.baseUrl.replace(/\/+$/,"")}${o}?${n}`).href}toURLSearchParams(t){var o,n,a,i,s,l,d,p,f,h;let m=new URLSearchParams({[Z.LOCALE]:(o=t.contentLocale)!==null&&o!==void 0?o:"all"});((n=t.query)===null||n===void 0?void 0:n.length)>0&&m.append(Z.QUERY,t.query),t.scope&&t.scope!=="DEFAULT"&&m.append(Z.SCOPE,t.scope.toLowerCase()),t.virtualField&&t.virtualField!=="EVERYWHERE"&&m.append(Z.VIRTUAL_FIELD,t.virtualField.toLowerCase()),((a=t.sort)===null||a===void 0?void 0:a.length)>0&&t.sort[0].key==="ft:lastEdition"&&m.append(Z.SORT,"last_update");let b=(s=(i=t.metadataFilters)===null||i===void 0?void 0:i.filter(A=>A.valueFilter))!==null&&s!==void 0?s:[];if(b.length>0){let A=b.map(L=>{var S,O;let E=((O=(S=L.valueFilter)===null||S===void 0?void 0:S.values)!==null&&O!==void 0?O:[]).map($=>this.escapeFilters($)).map($=>encodeURIComponent(Eu($))).join("_");return`${L.key}~${E}`}).join("*");m.append(Z.VALUE_FILTERS,A)}let x=(d=(l=t.metadataFilters)===null||l===void 0?void 0:l.filter(A=>A.dateFilter))!==null&&d!==void 0?d:[];if(x.length>0){let A=x.map(L=>{var S;return`${L.key}~${(S=L.dateFilter)===null||S===void 0?void 0:S.type.toLowerCase()}`}).join("*");m.append(Z.DATE_FILTERS,A)}let C=(f=(p=t.metadataFilters)===null||p===void 0?void 0:p.filter(A=>A.rangeFilter))!==null&&f!==void 0?f:[];if(C.length>0){let A=C.map(L=>{var S,O;return`${L.key}~${(S=L.rangeFilter)===null||S===void 0?void 0:S.from}_${(O=L.rangeFilter)===null||O===void 0?void 0:O.to}`}).join("*");m.append(Z.RANGE_FILTERS,A)}let P=(h=t.otherQueryParams)!==null&&h!==void 0?h:{};for(let A in P)m.append(A,P[A]);return m}parse(t){var o;let n=t.split("?"),a=this.fromURLSearchParams(new URLSearchParams(n.slice(1).join("?"))),i=n[0].split("/search/")[1];return i==null?a:{...a,scope:(o=this.scopeMapping[i])!==null&&o!==void 0?o:a.scope}}fromURLSearchParams(t){var o,n,a,i,s,l,d,p;let f=((o=t.get(Z.VIRTUAL_FIELD))!==null&&o!==void 0?o:"EVERYWHERE").toUpperCase(),h=((n=t.get(Z.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),m=(a=t.get(Z.SCOPE))!==null&&a!==void 0?a:"default",b={};for(let x of t.keys())tl(x)||(b[x]=t.get(x));return{contentLocale:t.get(Z.LOCALE)==="all"?void 0:(i=t.get(Z.LOCALE))!==null&&i!==void 0?i:void 0,query:decodeURIComponent((s=t.get(Z.QUERY))!==null&&s!==void 0?s:""),scope:(l=this.scopeMapping[m])!==null&&l!==void 0?l:"DEFAULT",virtualField:Xc(f)?f:"EVERYWHERE",sort:(p=(d=this.predefinedSorts[h])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&p!==void 0?p:[],metadataFilters:this.parseCompatFilters(t),facets:[],paging:{page:1,perPage:20},otherQueryParams:b}}parseCompatFilters(t){var o,n,a,i,s,l;let d=[];return t.has(Z.FILTERS)&&(d=this.parseValueFilters((o=t.get(Z.FILTERS))!==null&&o!==void 0?o:"")),(n=t.has(Z.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((a=t.get(Z.PERIOD))!==null&&a!==void 0?a:"").toUpperCase())]),[...d,...this.parseValueFilters((i=t.get(Z.VALUE_FILTERS))!==null&&i!==void 0?i:""),...this.parseDateFilters((s=t.get(Z.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=t.get(Z.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(t){return this.superEscapeFilters(decodeURIComponent(t)).split("*").map(o=>o.split("~"))}parseValueFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(o=>({key:o[0],valueFilter:{values:o[1].split("_").map(wu).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(o=>({key:o[0],dateFilter:{type:Kr[o[1].toUpperCase()]}}))}parseRangeFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(o=>({key:o[0],rangeFilter:{from:o[1].split("_")[0],to:o[1].split("_")[1]}}))}escapeFilters(t){for(let[o,n,a]of this.filtersEscapeMapping)t=t.replaceAll(o,n);return t}superEscapeFilters(t){for(let[o,n,a]of this.filtersEscapeMapping)t=t.replaceAll(n,a);return t}unescapeFilterValue(t){for(let[o,n,a]of this.filtersEscapeMapping)t=t.replace(a,o);return t}parseLegacyPeriodFilter(t){if(Jc(t))return[{key:"ft:lastEdition",dateFilter:{type:Kr[t]}}];if(t.startsWith("CUSTOM_")){let[o,n,a]=t.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:a}}]}return[]}};var hi={};j(hi,{toFtFormComponent:()=>fi});var zo=Symbol("elementInternals");function fi(e,t){class o extends e{static get formAssociated(){return!0}get form(){return this[zo].form}constructor(...a){super(a),this[zo]=this.attachInternals(),this[zo].role=t}setFormValue(a){this[zo].setFormValue(a)}}return o}var yi={};j(yi,{DateFormatter:()=>er});var er=class{static format(t,o,n,a){return window.moment?window.moment(t).locale(o).format(this.getDateFormat(n,a)):t}static getDateFormat(t,o){return t?o?"lll":"ll":o?"L LT":"L"}};var mi,gi,bi,xi,vi=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((bi=(gi=(mi=window.safari)===null||mi===void 0?void 0:mi.pushNotification)===null||gi===void 0?void 0:gi.toString())!==null&&bi!==void 0?bi:"")==="[object SafariRemoteNotification]",Nu="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(xi=window.ftGlobals)!==null&&xi!==void 0?xi:{lit:mn,litDecorators:bn,litRepeat:xn,litClassMap:vn,litStyleMap:Sn,litUnsafeHTML:Cn,wcUtils:{...An,...wn,...Nn,...yi,..._n,...Tn,...sa,...pa,...Aa,...ia,...La,...Na,...Xs,...Pn,...Ia,...$a,...Qs,...ka,...si,...Ra,...di,...pi,...ui,...hi,isSafari:vi,isTouchScreen:Nu,setVariable:w}};var el=r.extend("--ft-ripple-color","",V.colorContent),R={color:el,backgroundColor:r.extend("--ft-ripple-background-color","",el),opacityContentOnSurfacePressed:r.external(V.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:r.external(V.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:r.external(V.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:r.external(V.opacityContentOnSurfaceSelected,"Design system"),borderRadius:r.create("--ft-ripple-border-radius","","SIZE","0px")},rl=r.extend("--ft-ripple-color","",V.colorPrimary),ol={color:rl,backgroundColor:r.extend("--ft-ripple-background-color","",rl)},nl=r.extend("--ft-ripple-color","",V.colorSecondary),al={color:nl,backgroundColor:r.extend("--ft-ripple-background-color","",nl)},il=D`
|
|
50
|
+
`;var rc={};var Mi={};j(Mi,{ParametrizedLabelResolver:()=>Vr});var Vr=class e{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var n,i;t=this.resolvePluralKey(t,o);let a=(i=(n=this.labels[t])!==null&&n!==void 0?n:this.defaultLabels[t])!==null&&i!==void 0?i:"";return e.replaceParameters(a,...o)}static replaceParameters(t,...o){return o.forEach((n,i)=>t=t.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(a,s)=>e.formatValue(n,s))),t}resolvePluralKey(t,o){for(let n of o)if(typeof n=="number"){let i=`${String(t)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return t}static formatValue(t,o){return t instanceof Date?e.formatDate(t,o):t??""}static formatDate(t,o){let n=i=>o?.includes("date")?t.toLocaleDateString(i):o?.includes("time")?t.toLocaleTimeString(i):t.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var la={};j(la,{FtCommandQueue:()=>Gr,FtLitElementRedux:()=>ie,FtReduxStore:()=>ke,clearAllStores:()=>Cu,isFtReduxStore:()=>Te,redux:()=>ko,reduxEventListener:()=>Fp,reduxReactive:()=>Bp});var Bp=()=>(e,t)=>{var o;let n=e.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(t)},ko=e=>{let t=e??{};return(o,n)=>{var i;let a={hasChanged:Lr,attribute:!1,...t};A(a)(o,n);let s=o.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})}},Fp=e=>(t,o)=>{let n=t.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,e)};var Gr=class{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter(n=>n.type!==t.type)),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}};function Te(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var oc,nc,ic,Do=Symbol("internalReduxEventsUnsubscribers"),ne=Symbol("internalStoresUnsubscribers"),Ie=Symbol("internalStores"),ie=class extends K{constructor(){super(...arguments),this[oc]=new Map,this[nc]=new Map,this[ic]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some(o=>t.has(o))&&this.updateFromStores()}getUnnamedStore(){if(this[Ie].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ie].values()][0]}getStore(t){return t==null?this.getUnnamedStore():this[Ie].get(t)}addStore(t,o){var n;o=(n=o??(Te(t)?t.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){let o=typeof t=="string"?t:t.name;this.unsubscribeFromStore(o),this[Ie].delete(o)}setupStore(t,o){this[Ie].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ie].forEach((t,o)=>this.subscribeToStore(o,t)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((t,o)=>{let n=this.constructor.getPropertyOptions(o);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:o)){let i=this.getStore(t.store);i&&(t.store?this[ne].has(t.store):this[ne].size>0)&&(this[o]=t.selector(i.getState(),this))}})}subscribeToStore(t,o){var n;this[ne].set(t,o.subscribe(()=>this.updateFromStores())),Te(o)&&o.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||o.name===i.store)){let s=l=>this[a](l);o.addEventListener(i.eventName,s),this[Do].push(()=>o.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(t)}unsubscribeFromStores(){this[ne].forEach((t,o)=>this.unsubscribeFromStore(o)),this[Do].forEach(t=>t()),this[Do]=[]}unsubscribeFromStore(t){this[ne].has(t)&&this[ne].get(t)(),this[ne].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};oc=ne,nc=Ie,ic=Do;ie.reduxProperties=new Map;ie.reduxReactiveProperties=new Set;ie.reduxEventListeners=new Map;function vt(e){for(var t=arguments.length,o=Array(t>1?t-1:0),n=1;n<t;n++)o[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+e+(o.length?" "+o.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Yt(e){return!!e&&!!e[Y]}function wt(e){var t;return!!e&&(function(o){if(!o||typeof o!="object")return!1;var n=Object.getPrototypeOf(o);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===Zp}(e)||Array.isArray(e)||!!e[uc]||!!(!((t=e.constructor)===null||t===void 0)&&t[uc])||Gi(e)||Ki(e))}function $e(e,t,o){o===void 0&&(o=!1),Qe(e)===0?(o?Object.keys:Je)(e).forEach(function(n){o&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,i){return t(i,n,e)})}function Qe(e){var t=e[Y];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Gi(e)?2:Ki(e)?3:0}function Xe(e,t){return Qe(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Wp(e,t){return Qe(e)===2?e.get(t):e[t]}function fc(e,t,o){var n=Qe(e);n===2?e.set(t,o):n===3?e.add(o):e[t]=o}function hc(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Gi(e){return Gp&&e instanceof Map}function Ki(e){return Kp&&e instanceof Set}function ae(e){return e.o||e.t}function Zi(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=gc(e);delete t[Y];for(var o=Je(t),n=0;n<o.length;n++){var i=o[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 qi(e,t){return t===void 0&&(t=!1),Yi(e)||Yt(e)||!wt(e)||(Qe(e)>1&&(e.set=e.add=e.clear=e.delete=Hp),Object.freeze(e),t&&$e(e,function(o,n){return qi(n,!0)},!0)),e}function Hp(){vt(2)}function Yi(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Ut(e){var t=Vi[e];return t||vt(18,e),t}function zp(e,t){Vi[e]||(Vi[e]=t)}function Hi(){return Zr}function Ui(e,t){t&&(Ut("Patches"),e.u=[],e.s=[],e.v=t)}function Mo(e){zi(e),e.p.forEach(jp),e.p=null}function zi(e){e===Zr&&(Zr=e.l)}function ac(e){return Zr={p:[],l:Zr,h:e,m:!0,_:0}}function jp(e){var t=e[Y];t.i===0||t.i===1?t.j():t.g=!0}function Bi(e,t){t._=t.p.length;var o=t.p[0],n=e!==void 0&&e!==o;return t.h.O||Ut("ES5").S(t,e,n),n?(o[Y].P&&(Mo(t),vt(4)),wt(e)&&(e=Uo(t,e),t.l||Bo(t,e)),t.u&&Ut("Patches").M(o[Y].t,e,t.u,t.s)):e=Uo(t,o,[]),Mo(t),t.u&&t.v(t.u,t.s),e!==mc?e:void 0}function Uo(e,t,o){if(Yi(t))return t;var n=t[Y];if(!n)return $e(t,function(l,d){return sc(e,n,t,l,d,o)},!0),t;if(n.A!==e)return t;if(!n.P)return Bo(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Zi(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),$e(a,function(l,d){return sc(e,n,i,l,d,o,s)}),Bo(e,i,!1),o&&e.u&&Ut("Patches").N(n,o,e.u,e.s)}return n.o}function sc(e,t,o,n,i,a,s){if(Yt(i)){var l=Uo(e,i,a&&t&&t.i!==3&&!Xe(t.R,n)?a.concat(n):void 0);if(fc(o,n,l),!Yt(l))return;e.m=!1}else s&&o.add(i);if(wt(i)&&!Yi(i)){if(!e.h.D&&e._<1)return;Uo(e,i),t&&t.A.l||Bo(e,i)}}function Bo(e,t,o){o===void 0&&(o=!1),!e.l&&e.h.D&&e.m&&qi(t,o)}function Fi(e,t){var o=e[Y];return(o?ae(o):e)[t]}function cc(e,t){if(t in e)for(var o=Object.getPrototypeOf(e);o;){var n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Object.getPrototypeOf(o)}}function se(e){e.P||(e.P=!0,e.l&&se(e.l))}function Wi(e){e.o||(e.o=Zi(e.t))}function ji(e,t,o){var n=Gi(t)?Ut("MapSet").F(t,o):Ki(t)?Ut("MapSet").T(t,o):e.O?function(i,a){var s=Array.isArray(i),l={i:s?1:0,A:a?a.A:Hi(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},d=l,p=qr;s&&(d=[l],p=Kr);var f=Proxy.revocable(d,p),h=f.revoke,m=f.proxy;return l.k=m,l.j=h,m}(t,o):Ut("ES5").J(t,o);return(o?o.A:Hi()).p.push(n),n}function Vp(e){return Yt(e)||vt(22,e),function t(o){if(!wt(o))return o;var n,i=o[Y],a=Qe(o);if(i){if(!i.P&&(i.i<4||!Ut("ES5").K(i)))return i.t;i.I=!0,n=lc(o,a),i.I=!1}else n=lc(o,a);return $e(n,function(s,l){i&&Wp(i.t,s)===l||fc(n,s,t(l))}),a===3?new Set(n):n}(e)}function lc(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Zi(e)}function yc(){function e(s,l){var d=a[s];return d?d.enumerable=l:a[s]=d={configurable:!0,enumerable:l,get:function(){var p=this[Y];return qr.get(p,s)},set:function(p){var f=this[Y];qr.set(f,s,p)}},d}function t(s){for(var l=s.length-1;l>=0;l--){var d=s[l][Y];if(!d.P)switch(d.i){case 5:n(d)&&se(d);break;case 4:o(d)&&se(d)}}}function o(s){for(var l=s.t,d=s.k,p=Je(d),f=p.length-1;f>=0;f--){var h=p[f];if(h!==Y){var m=l[h];if(m===void 0&&!Xe(l,h))return!0;var b=d[h],x=b&&b[Y];if(x?x.t!==m:!hc(b,m))return!0}}var O=!!l[Y];return p.length!==Je(l).length+(O?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var d=Object.getOwnPropertyDescriptor(l,l.length-1);if(d&&!d.get)return!0;for(var p=0;p<l.length;p++)if(!l.hasOwnProperty(p))return!0;return!1}function i(s){s.g&&vt(3,JSON.stringify(ae(s)))}var a={};zp("ES5",{J:function(s,l){var d=Array.isArray(s),p=function(h,m){if(h){for(var b=Array(m.length),x=0;x<m.length;x++)Object.defineProperty(b,""+x,e(x,!0));return b}var O=gc(m);delete O[Y];for(var N=Je(O),L=0;L<N.length;L++){var P=N[L];O[P]=e(P,h||!!O[P].enumerable)}return Object.create(Object.getPrototypeOf(m),O)}(d,s),f={i:d?5:4,A:l?l.A:Hi(),P:!1,I:!1,R:{},l,t:s,k:p,o:null,g:!1,C:!1};return Object.defineProperty(p,Y,{value:f,writable:!0}),p},S:function(s,l,d){d?Yt(l)&&l[Y].A===s&&t(s.p):(s.u&&function p(f){if(f&&typeof f=="object"){var h=f[Y];if(h){var m=h.t,b=h.k,x=h.R,O=h.i;if(O===4)$e(b,function(S){S!==Y&&(m[S]!==void 0||Xe(m,S)?x[S]||p(b[S]):(x[S]=!0,se(h)))}),$e(m,function(S){b[S]!==void 0||Xe(b,S)||(x[S]=!1,se(h))});else if(O===5){if(n(h)&&(se(h),x.length=!0),b.length<m.length)for(var N=b.length;N<m.length;N++)x[N]=!1;else for(var L=m.length;L<b.length;L++)x[L]=!0;for(var P=Math.min(b.length,m.length),C=0;C<P;C++)b.hasOwnProperty(C)||(x[C]=!0),x[C]===void 0&&p(b[C])}}}}(s.p[0]),t(s.p))},K:function(s){return s.i===4?o(s):n(s)}})}var dc,Zr,Xi=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Gp=typeof Map<"u",Kp=typeof Set<"u",pc=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",mc=Xi?Symbol.for("immer-nothing"):((dc={})["immer-nothing"]=!0,dc),uc=Xi?Symbol.for("immer-draftable"):"__$immer_draftable",Y=Xi?Symbol.for("immer-state"):"__$immer_state";var Zp=""+Object.prototype.constructor,Je=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,gc=Object.getOwnPropertyDescriptors||function(e){var t={};return Je(e).forEach(function(o){t[o]=Object.getOwnPropertyDescriptor(e,o)}),t},Vi={},qr={get:function(e,t){if(t===Y)return e;var o=ae(e);if(!Xe(o,t))return function(i,a,s){var l,d=cc(a,s);return d?"value"in d?d.value:(l=d.get)===null||l===void 0?void 0:l.call(i.k):void 0}(e,o,t);var n=o[t];return e.I||!wt(n)?n:n===Fi(e.t,t)?(Wi(e),e.o[t]=ji(e.A.h,n,e)):n},has:function(e,t){return t in ae(e)},ownKeys:function(e){return Reflect.ownKeys(ae(e))},set:function(e,t,o){var n=cc(ae(e),t);if(n?.set)return n.set.call(e.k,o),!0;if(!e.P){var i=Fi(ae(e),t),a=i?.[Y];if(a&&a.t===o)return e.o[t]=o,e.R[t]=!1,!0;if(hc(o,i)&&(o!==void 0||Xe(e.t,t)))return!0;Wi(e),se(e)}return e.o[t]===o&&(o!==void 0||t in e.o)||Number.isNaN(o)&&Number.isNaN(e.o[t])||(e.o[t]=o,e.R[t]=!0),!0},deleteProperty:function(e,t){return Fi(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,Wi(e),se(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var o=ae(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:o[t]}},defineProperty:function(){vt(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){vt(12)}},Kr={};$e(qr,function(e,t){Kr[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Kr.deleteProperty=function(e,t){return Kr.set.call(this,e,t,void 0)},Kr.set=function(e,t,o){return qr.set.call(this,e[0],t,o,e[0])};var qp=function(){function e(o){var n=this;this.O=pc,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var l=a;a=i;var d=n;return function(O){var N=this;O===void 0&&(O=l);for(var L=arguments.length,P=Array(L>1?L-1:0),C=1;C<L;C++)P[C-1]=arguments[C];return d.produce(O,function(S){var E;return(E=a).call.apply(E,[N,S].concat(P))})}}var p;if(typeof a!="function"&&vt(6),s!==void 0&&typeof s!="function"&&vt(7),wt(i)){var f=ac(n),h=ji(n,i,void 0),m=!0;try{p=a(h),m=!1}finally{m?Mo(f):zi(f)}return typeof Promise<"u"&&p instanceof Promise?p.then(function(O){return Ui(f,s),Bi(O,f)},function(O){throw Mo(f),O}):(Ui(f,s),Bi(p,f))}if(!i||typeof i!="object"){if((p=a(i))===void 0&&(p=i),p===mc&&(p=void 0),n.D&&qi(p,!0),s){var b=[],x=[];Ut("Patches").M(i,p,b,x),s(b,x)}return p}vt(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(p){for(var f=arguments.length,h=Array(f>1?f-1:0),m=1;m<f;m++)h[m-1]=arguments[m];return n.produceWithPatches(p,function(b){return i.apply(void 0,[b].concat(h))})};var s,l,d=n.produce(i,a,function(p,f){s=p,l=f});return typeof Promise<"u"&&d instanceof Promise?d.then(function(p){return[p,s,l]}):[d,s,l]},typeof o?.useProxies=="boolean"&&this.setUseProxies(o.useProxies),typeof o?.autoFreeze=="boolean"&&this.setAutoFreeze(o.autoFreeze)}var t=e.prototype;return t.createDraft=function(o){wt(o)||vt(8),Yt(o)&&(o=Vp(o));var n=ac(this),i=ji(this,o,void 0);return i[Y].C=!0,zi(n),i},t.finishDraft=function(o,n){var i=o&&o[Y],a=i.A;return Ui(a,n),Bi(void 0,a)},t.setAutoFreeze=function(o){this.D=o},t.setUseProxies=function(o){o&&!pc&&vt(20),this.O=o},t.applyPatches=function(o,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){o=a.value;break}}i>-1&&(n=n.slice(i+1));var s=Ut("Patches").$;return Yt(o)?s(o,n):this.produce(o,function(l){return s(l,n)})},e}(),xt=new qp,Yp=xt.produce,rb=xt.produceWithPatches.bind(xt),ob=xt.setAutoFreeze.bind(xt),nb=xt.setUseProxies.bind(xt),ib=xt.applyPatches.bind(xt),ab=xt.createDraft.bind(xt),sb=xt.finishDraft.bind(xt),Fo=Yp;function ce(e){"@babel/helpers - typeof";return ce=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},ce(e)}function Ji(e,t){if(ce(e)!=="object"||e===null)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var n=o.call(e,t||"default");if(ce(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Qi(e){var t=Ji(e,"string");return ce(t)==="symbol"?t:String(t)}function ta(e,t,o){return t=Qi(t),t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function bc(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),o.push.apply(o,n)}return o}function Wo(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?bc(Object(o),!0).forEach(function(n){ta(e,n,o[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):bc(Object(o)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(o,n))})}return e}function ct(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 xc=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ea=function(){return Math.random().toString(36).substring(7).split("").join(".")},Ho={INIT:"@@redux/INIT"+ea(),REPLACE:"@@redux/REPLACE"+ea(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ea()}};function Xp(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 ra(e,t,o){var n;if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(ct(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(ct(1));return o(ra)(e,t)}if(typeof e!="function")throw new Error(ct(2));var i=e,a=t,s=[],l=s,d=!1;function p(){l===s&&(l=s.slice())}function f(){if(d)throw new Error(ct(3));return a}function h(O){if(typeof O!="function")throw new Error(ct(4));if(d)throw new Error(ct(5));var N=!0;return p(),l.push(O),function(){if(N){if(d)throw new Error(ct(6));N=!1,p();var P=l.indexOf(O);l.splice(P,1),s=null}}}function m(O){if(!Xp(O))throw new Error(ct(7));if(typeof O.type>"u")throw new Error(ct(8));if(d)throw new Error(ct(9));try{d=!0,a=i(a,O)}finally{d=!1}for(var N=s=l,L=0;L<N.length;L++){var P=N[L];P()}return O}function b(O){if(typeof O!="function")throw new Error(ct(10));i=O,m({type:Ho.REPLACE})}function x(){var O,N=h;return O={subscribe:function(P){if(typeof P!="object"||P===null)throw new Error(ct(11));function C(){P.next&&P.next(f())}C();var S=N(C);return{unsubscribe:S}}},O[xc]=function(){return this},O}return m({type:Ho.INIT}),n={dispatch:m,subscribe:h,getState:f,replaceReducer:b},n[xc]=x,n}function Jp(e){Object.keys(e).forEach(function(t){var o=e[t],n=o(void 0,{type:Ho.INIT});if(typeof n>"u")throw new Error(ct(12));if(typeof o(void 0,{type:Ho.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(ct(13))})}function vc(e){for(var t=Object.keys(e),o={},n=0;n<t.length;n++){var i=t[n];typeof e[i]=="function"&&(o[i]=e[i])}var a=Object.keys(o),s,l;try{Jp(o)}catch(d){l=d}return function(p,f){if(p===void 0&&(p={}),l)throw l;if(0)var h;for(var m=!1,b={},x=0;x<a.length;x++){var O=a[x],N=o[O],L=p[O],P=N(L,f);if(typeof P>"u"){var C=f&&f.type;throw new Error(ct(14))}b[O]=P,m=m||P!==L}return m=m||a.length!==Object.keys(p).length,m?b:p}}function tr(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];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 Sc(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(ct(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=t.map(function(d){return d(s)});return a=tr.apply(void 0,l)(i.dispatch),Wo(Wo({},i),{},{dispatch:a})}}}function Oc(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 Cc=Oc();Cc.withExtraArgument=Oc;var oa=Cc;var Nc=function(){var e=function(t,o){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,o)};return function(t,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");e(t,o);function n(){this.constructor=t}t.prototype=o===null?Object.create(o):(n.prototype=o.prototype,new n)}}(),Qp=function(e,t){var o={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(p){return function(f){return d([p,f])}}function d(p){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(a=p[0]&2?i.return:p[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,p[1])).done)return a;switch(i=0,a&&(p=[p[0]&2,a.value]),p[0]){case 0:case 1:a=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,i=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(a=o.trys,!(a=a.length>0&&a[a.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!a||p[1]>a[0]&&p[1]<a[3])){o.label=p[1];break}if(p[0]===6&&o.label<a[1]){o.label=a[1],a=p;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(p);break}a[2]&&o.ops.pop(),o.trys.pop();continue}p=t.call(e,o)}catch(f){p=[6,f],i=0}finally{n=a=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}},er=function(e,t){for(var o=0,n=t.length,i=e.length;o<n;o++,i++)e[i]=t[o];return e},tu=Object.defineProperty,eu=Object.defineProperties,ru=Object.getOwnPropertyDescriptors,Ec=Object.getOwnPropertySymbols,ou=Object.prototype.hasOwnProperty,nu=Object.prototype.propertyIsEnumerable,wc=function(e,t,o){return t in e?tu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o},le=function(e,t){for(var o in t||(t={}))ou.call(t,o)&&wc(e,o,t[o]);if(Ec)for(var n=0,i=Ec(t);n<i.length;n++){var o=i[n];nu.call(t,o)&&wc(e,o,t[o])}return e},na=function(e,t){return eu(e,ru(t))},iu=function(e,t,o){return new Promise(function(n,i){var a=function(d){try{l(o.next(d))}catch(p){i(p)}},s=function(d){try{l(o.throw(d))}catch(p){i(p)}},l=function(d){return d.done?n(d.value):Promise.resolve(d.value).then(a,s)};l((o=o.apply(e,t)).next())})};var au=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?tr:tr.apply(null,arguments)},wb=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}};function su(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var o=t;Object.getPrototypeOf(o)!==null;)o=Object.getPrototypeOf(o);return t===o}var cu=function(e){Nc(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=e.apply(this,o)||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 o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,er([void 0],o[0].concat(this)))):new(t.bind.apply(t,er([void 0],o.concat(this))))},t}(Array),lu=function(e){Nc(t,e);function t(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];var i=e.apply(this,o)||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 o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return e.prototype.concat.apply(this,o)},t.prototype.prepend=function(){for(var o=[],n=0;n<arguments.length;n++)o[n]=arguments[n];return o.length===1&&Array.isArray(o[0])?new(t.bind.apply(t,er([void 0],o[0].concat(this)))):new(t.bind.apply(t,er([void 0],o.concat(this))))},t}(Array);function sa(e){return wt(e)?Fo(e,function(){}):e}function du(e){return typeof e=="boolean"}function pu(){return function(t){return uu(t)}}function uu(e){e===void 0&&(e={});var t=e.thunk,o=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 cu;if(o&&(du(o)?l.push(oa):l.push(oa.withExtraArgument(o.extraArgument))),0){if(i)var d;if(s)var p}return l}var ia=!0;function _c(e){var t=pu(),o=e||{},n=o.reducer,i=n===void 0?void 0:n,a=o.middleware,s=a===void 0?t():a,l=o.devTools,d=l===void 0?!0:l,p=o.preloadedState,f=p===void 0?void 0:p,h=o.enhancers,m=h===void 0?void 0:h,b;if(typeof i=="function")b=i;else if(su(i))b=vc(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 x=s;if(typeof x=="function"&&(x=x(t),!ia&&!Array.isArray(x)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!ia&&x.some(function(S){return typeof S!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=Sc.apply(void 0,x),N=tr;d&&(N=au(le({trace:!ia},typeof d=="object"&&d)));var L=new lu(O),P=L;Array.isArray(m)?P=er([O],m):typeof m=="function"&&(P=m(L));var C=N.apply(void 0,P);return ra(b,f,C)}function de(e,t){function o(){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 le(le({type:e,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:e,payload:n[0]}}return o.toString=function(){return""+e},o.type=e,o.match=function(n){return n.type===e},o}function Lc(e){var t={},o=[],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 o.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return e(i),[t,o,n]}function fu(e){return typeof e=="function"}function hu(e,t,o,n){o===void 0&&(o=[]);var i=typeof t=="function"?Lc(t):[t,o,n],a=i[0],s=i[1],l=i[2],d;if(fu(e))d=function(){return sa(e())};else{var p=sa(e);d=function(){return p}}function f(h,m){h===void 0&&(h=d());var b=er([a[m.type]],s.filter(function(x){var O=x.matcher;return O(m)}).map(function(x){var O=x.reducer;return O}));return b.filter(function(x){return!!x}).length===0&&(b=[l]),b.reduce(function(x,O){if(O)if(Yt(x)){var N=x,L=O(N,m);return L===void 0?x:L}else{if(wt(x))return Fo(x,function(P){return O(P,m)});var L=O(x,m);if(L===void 0){if(x===null)return x;throw Error("A case reducer on a non-draftable value must not return undefined")}return L}return x},h)}return f.getInitialState=d,f}function yu(e,t){return e+"/"+t}function Pc(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u";var o=typeof e.initialState=="function"?e.initialState:sa(e.initialState),n=e.reducers||{},i=Object.keys(n),a={},s={},l={};i.forEach(function(f){var h=n[f],m=yu(t,f),b,x;"reducer"in h?(b=h.reducer,x=h.prepare):b=h,a[f]=b,s[m]=b,l[f]=x?de(m,x):de(m)});function d(){var f=typeof e.extraReducers=="function"?Lc(e.extraReducers):[e.extraReducers],h=f[0],m=h===void 0?{}:h,b=f[1],x=b===void 0?[]:b,O=f[2],N=O===void 0?void 0:O,L=le(le({},m),s);return hu(o,function(P){for(var C in L)P.addCase(C,L[C]);for(var S=0,E=x;S<E.length;S++){var T=E[S];P.addMatcher(T.matcher,T.reducer)}N&&P.addDefaultCase(N)})}var p;return{name:t,reducer:function(f,h){return p||(p=d()),p(f,h)},actions:l,caseReducers:a,getInitialState:function(){return p||(p=d()),p.getInitialState()}}}var mu="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",gu=function(e){e===void 0&&(e=21);for(var t="",o=e;o--;)t+=mu[Math.random()*64|0];return t},bu=["name","message","stack","code"],aa=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),Ac=function(){function e(t,o){this.payload=t,this.meta=o}return e}(),xu=function(e){if(typeof e=="object"&&e!==null){for(var t={},o=0,n=bu;o<n.length;o++){var i=n[o];typeof e[i]=="string"&&(t[i]=e[i])}return t}return{message:String(e)}},_b=function(){function e(t,o,n){var i=de(t+"/fulfilled",function(f,h,m,b){return{payload:f,meta:na(le({},b||{}),{arg:m,requestId:h,requestStatus:"fulfilled"})}}),a=de(t+"/pending",function(f,h,m){return{payload:void 0,meta:na(le({},m||{}),{arg:h,requestId:f,requestStatus:"pending"})}}),s=de(t+"/rejected",function(f,h,m,b,x){return{payload:b,error:(n&&n.serializeError||xu)(f||"Rejected"),meta:na(le({},x||{}),{arg:m,requestId:h,rejectedWithValue:!!b,requestStatus:"rejected",aborted:f?.name==="AbortError",condition:f?.name==="ConditionError"})}}),l=!1,d=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 p(f){return function(h,m,b){var x=n?.idGenerator?n.idGenerator(f):gu(),O=new d,N,L=!1;function P(S){N=S,O.abort()}var C=function(){return iu(this,null,function(){var S,E,T,M,H,W,$;return Qp(this,function(y){switch(y.label){case 0:return y.trys.push([0,4,,5]),M=(S=n?.condition)==null?void 0:S.call(n,f,{getState:m,extra:b}),Su(M)?[4,M]:[3,2];case 1:M=y.sent(),y.label=2;case 2:if(M===!1||O.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return L=!0,H=new Promise(function(v,I){return O.signal.addEventListener("abort",function(){return I({name:"AbortError",message:N||"Aborted"})})}),h(a(x,f,(E=n?.getPendingMeta)==null?void 0:E.call(n,{requestId:x,arg:f},{getState:m,extra:b}))),[4,Promise.race([H,Promise.resolve(o(f,{dispatch:h,getState:m,extra:b,requestId:x,signal:O.signal,abort:P,rejectWithValue:function(v,I){return new aa(v,I)},fulfillWithValue:function(v,I){return new Ac(v,I)}})).then(function(v){if(v instanceof aa)throw v;return v instanceof Ac?i(v.payload,x,f,v.meta):i(v,x,f)})])];case 3:return T=y.sent(),[3,5];case 4:return W=y.sent(),T=W instanceof aa?s(null,x,f,W.payload,W.meta):s(W,x,f),[3,5];case 5:return $=n&&!n.dispatchConditionRejection&&s.match(T)&&T.meta.condition,$||h(T),[2,T]}})})}();return Object.assign(C,{abort:P,requestId:x,arg:f,unwrap:function(){return C.then(vu)}})}}return Object.assign(p,{pending:a,rejected:s,fulfilled:i,typePrefix:t})}return e.withTypes=function(){return e},e}();function vu(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function Su(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Tc="listener",Ic="completed",$c="cancelled",Lb="task-"+$c,Pb="task-"+Ic,Tb=Tc+"-"+$c,Ib=Tc+"-"+Ic;var ca="listenerMiddleware";var $b=de(ca+"/add"),kb=de(ca+"/removeAll"),Db=de(ca+"/remove");var Rc,Mb=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(e){return(Rc||(Rc=Promise.resolve())).then(e).catch(function(t){return setTimeout(function(){throw t},0)})},Ou=function(e){return function(t){setTimeout(t,e)}},Ub=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:Ou(10);yc();window.ftReduxStores||(window.ftReduxStores={});var ke=class e extends Re{static get(t){var o;let n=typeof t=="string"?t:t.name,i=typeof t=="string"?void 0:t,a=window.ftReduxStores[n];if(Te(a))return a;if(i==null)return;let s=Pc({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),l=_c({reducer:(d,p)=>p.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__")?{...d,...p.overwrites}:s.reducer(d,p)});return window.ftReduxStores[i.name]=new e(s,l)}constructor(t,o){super(),this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new Gr,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,l=n[s];return l?(...d)=>{let p=l(...d);return this.reduxStore.dispatch(p),p}:d=>{this.setState({[s]:d})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function Cu(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))Te(t)&&t.clear()}var ua={};j(ua,{scrollHelper:()=>Eu});var da,zo=new Map,pa=class{lock(t,o){if(o){let n=zo.get(o);if(n==null||n===t)return zo.set(o,t),o}}release(t,o){o&&zo.get(o)===t&&zo.delete(o)}findFirstScrollableParent(t){let o,n=i=>{var a;i.stopPropagation();let s,l;for(let d of i.composedPath()){let p=d,f=this.elementCanScroll(p);if(f&&p.clientHeight&&p.clientHeight<p.scrollHeight){s=p;break}else f&&l==null&&(l=p)}o=(a=s??l)!==null&&a!==void 0?a:document.body};return t.addEventListener("find-scrollable-parent",n),t.dispatchEvent(new Event("find-scrollable-parent",{composed:!0})),t.removeEventListener("find-scrollable-parent",n),o}elementCanScroll(t){try{return["auto","scroll"].includes(getComputedStyle(t).overflowY)}catch{return!1}}getAbsoluteScrollOffset(t,o){let n=0;for(;o&&o.offsetParent!==t.offsetParent;)n+=o.offsetTop,o=o.offsetParent;return n+o.offsetTop-t.offsetTop}computeTopOffsetRatio(t,o){if(typeof t=="number")return t;switch(t){case"end":return 1;case"center":return .5;case"nearest":return o;default:return 0}}scrollIntoViewIfPossible(t,o){let n=this.findFirstScrollableParent(t);if(t&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,t),a=i-n.clientHeight+t.clientHeight,s=i,l=Pr(0,(s-n.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(o?.position,l)*(a-s)+s;n.scrollTo({behavior:o?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",t,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(da=window.FluidTopicsScrollHelper)!==null&&da!==void 0?da:new pa;var Eu=window.FluidTopicsScrollHelper;var fa={};j(fa,{shadowQuerySelector:()=>wu,shadowQuerySelectorAll:()=>Au});function wu(e,t,...o){var n;let i=e.querySelector(t);for(let a of o)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}function Au(e,t,...o){let n=[...e.querySelectorAll(t)];for(let i of o)n=n.flatMap(a=>{var s,l;return[...(l=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(i))!==null&&l!==void 0?l:[]]});return n}var ha={};j(ha,{SearchPlaceConverter:()=>Xr,SearchPlaceQueryParams:()=>G,isSearchPlaceQueryParams:()=>nl,serializeRequest:()=>_u});var Ru=Yl(Dc(),1);var Mc;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(Mc||(Mc={}));var Uc;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(Uc||(Uc={}));var Bc;(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"})(Bc||(Bc={}));var Fc;(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"})(Fc||(Fc={}));var Wc;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(Wc||(Wc={}));var Hc;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(Hc||(Hc={}));var zc;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(zc||(zc={}));var jc;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(jc||(jc={}));var Vc;(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"})(Vc||(Vc={}));var Gc;(function(e){e.ASC="ASC",e.DESC="DESC"})(Gc||(Gc={}));var Kc;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(Kc||(Kc={}));var Zc;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Zc||(Zc={}));var tl=e=>["EVERYWHERE","TITLE_ONLY","NONE"].includes(e);var qc;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK"})(qc||(qc={}));var Yc;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(Yc||(Yc={}));var Xc;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK"})(Xc||(Xc={}));var Yr;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Yr||(Yr={}));var el=e=>["LAST_WEEK","LAST_MONTH","LAST_QUARTER","LAST_YEAR"].includes(e);var Jc;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC"})(Jc||(Jc={}));var Qc;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS"})(Qc||(Qc={}));var nt;(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"})(nt||(nt={}));var rl;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(rl||(rl={}));var rx={[nt.PERSONAL_BOOK_SHARE_USER]:[nt.PERSONAL_BOOK_USER],[nt.HTML_EXPORT_USER]:[nt.PERSONAL_BOOK_USER],[nt.PDF_EXPORT_USER]:[nt.PERSONAL_BOOK_USER],[nt.KHUB_ADMIN]:[nt.CONTENT_PUBLISHER],[nt.ADMIN]:[nt.KHUB_ADMIN,nt.USERS_ADMIN,nt.PORTAL_ADMIN],[nt.DEVELOPER]:[nt.BETA_USER,nt.DEBUG_USER]};function Nu(e){return`"${e}"`}function ol(e){return e.startsWith('"')&&e.endsWith('"')?e.replace(/(^"+)|("+$)/g,""):e}function _u(e,t){return new Xr(e).serialize(t)}var G;(function(e){e.LOCALE="content-lang",e.QUERY="query",e.SCOPE="scope",e.FILTERS="filters",e.VIRTUAL_FIELD="virtual-field",e.PERIOD="period",e.VALUE_FILTERS="value-filters",e.DATE_FILTERS="date-filters",e.RANGE_FILTERS="range-filters",e.SORT="sort",e.PER_PAGE="per-page"})(G||(G={}));var Lu=new Set(Object.values(G));function nl(e){return Lu.has(e)}var Xr=class{constructor(t,o={},n=20,i=!1,a="en-US"){this.baseUrl=t,this.predefinedSorts=o,this.defaultPerPage=n,this.allLanguagesAllowed=i,this.defaultContentLocale=a,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"},this.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]]}serialize(t,o){return this.serializeToCurrentPageIfPossible(t,o??"/search")}serializeToCurrentPageIfPossible(t,o){let n=this.toURLSearchParams(t).toString(),i=o==null||o.trim().length===0,a=new URL(i?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${o}`);return a.search=n,a.toString()}toURLSearchParams(t,o=!1){var n,i,a,s,l,d,p,f,h,m,b,x;let O=new URLSearchParams;t.contentLocale?(!o||t.contentLocale!==this.defaultContentLocale)&&O.append(G.LOCALE,t.contentLocale):O.append(G.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=t.query)===null||n===void 0?void 0:n.length)>0&&O.append(G.QUERY,t.query),t.scope&&t.scope!=="DEFAULT"&&O.append(G.SCOPE,t.scope.toLowerCase()),t.virtualField&&t.virtualField!=="EVERYWHERE"&&O.append(G.VIRTUAL_FIELD,t.virtualField.toLowerCase()),((i=t.sort)===null||i===void 0?void 0:i.length)>0&&t.sort[0].key==="ft:lastEdition"&&O.append(G.SORT,"last_update");let N=(s=(a=t.metadataFilters)===null||a===void 0?void 0:a.filter(S=>S.valueFilter))!==null&&s!==void 0?s:[];if(N.length>0){let S=N.map(E=>{var T,M;let H=((M=(T=E.valueFilter)===null||T===void 0?void 0:T.values)!==null&&M!==void 0?M:[]).map(W=>this.escapeFilters(W)).map(W=>encodeURIComponent(Nu(ol(W)))).join("_");return`${E.key}~${H}`}).join("*");O.append(G.VALUE_FILTERS,S)}let L=(d=(l=t.metadataFilters)===null||l===void 0?void 0:l.filter(S=>S.dateFilter))!==null&&d!==void 0?d:[];if(L.length>0){let S=L.map(E=>{var T;return`${E.key}~${(T=E.dateFilter)===null||T===void 0?void 0:T.type.toLowerCase()}`}).join("*");O.append(G.DATE_FILTERS,S)}let P=(f=(p=t.metadataFilters)===null||p===void 0?void 0:p.filter(S=>S.rangeFilter))!==null&&f!==void 0?f:[];if(P.length>0){let S=P.map(E=>{var T,M;return`${E.key}~${(T=E.rangeFilter)===null||T===void 0?void 0:T.from}_${(M=E.rangeFilter)===null||M===void 0?void 0:M.to}`}).join("*");O.append(G.RANGE_FILTERS,S)}let C=(h=t.otherQueryParams)!==null&&h!==void 0?h:{};for(let S in C)O.append(S,C[S]);return!((m=t.paging)===null||m===void 0)&&m.perPage&&((x=(b=t.paging)===null||b===void 0?void 0:b.perPage)!==null&&x!==void 0?x:this.defaultPerPage)!=this.defaultPerPage&&O.append(G.PER_PAGE,String(t.paging.perPage)),O}parse(t){var o;let n=t.split("?"),i=this.fromURLSearchParams(new URLSearchParams(n.slice(1).join("?"))),a=n[0].split("/search/")[1];return a==null?i:{...i,scope:(o=this.scopeMapping[a])!==null&&o!==void 0?o:i.scope}}fromURLSearchParams(t){var o,n,i,a,s,l,d,p;let f=t.get(G.LOCALE)==="all"?void 0:t.get(G.LOCALE),h=((o=t.get(G.VIRTUAL_FIELD))!==null&&o!==void 0?o:"EVERYWHERE").toUpperCase(),m=((n=t.get(G.SORT))!==null&&n!==void 0?n:"DEFAULT").toUpperCase(),b=(i=t.get(G.SCOPE))!==null&&i!==void 0?i:"default",x=+((a=t.get(G.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),O={};for(let N of t.keys())nl(N)||(O[N]=t.get(N));return{contentLocale:f??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:decodeURIComponent((s=t.get(G.QUERY))!==null&&s!==void 0?s:""),scope:(l=this.scopeMapping[b])!==null&&l!==void 0?l:"DEFAULT",virtualField:tl(h)?h:"EVERYWHERE",sort:(p=(d=this.predefinedSorts[m])!==null&&d!==void 0?d:this.predefinedSorts.DEFAULT)!==null&&p!==void 0?p:[],metadataFilters:this.parseCompatFilters(t),facets:[],paging:{page:1,perPage:Pr(1,isNaN(x)?this.defaultPerPage:x,40)},otherQueryParams:O}}parseCompatFilters(t){var o,n,i,a,s,l;let d=[];return t.has(G.FILTERS)&&(d=this.parseValueFilters((o=t.get(G.FILTERS))!==null&&o!==void 0?o:"")),(n=t.has(G.PERIOD))!==null&&n!==void 0&&n&&(d=[...d,...this.parseLegacyPeriodFilter(((i=t.get(G.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...d,...this.parseValueFilters((a=t.get(G.VALUE_FILTERS))!==null&&a!==void 0?a:""),...this.parseDateFilters((s=t.get(G.DATE_FILTERS))!==null&&s!==void 0?s:""),...this.parseRangeFilters((l=t.get(G.RANGE_FILTERS))!==null&&l!==void 0?l:"")]}splitUnknownFilter(t){return this.superEscapeFilters(decodeURIComponent(t)).split("*").map(o=>o.split("~"))}parseValueFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(o=>({key:o[0],valueFilter:{values:o[1].split("_").map(ol).map(n=>this.unescapeFilterValue(n)),negative:!1}}))}parseDateFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(o=>({key:o[0],dateFilter:{type:Yr[o[1].toUpperCase()]}}))}parseRangeFilters(t){return t.length===0?[]:this.splitUnknownFilter(t).map(o=>({key:o[0],rangeFilter:{from:o[1].split("_")[0],to:o[1].split("_")[1]}}))}escapeFilters(t){for(let[o,n,i]of this.filtersEscapeMapping)t=t.replaceAll(o,n);return t}superEscapeFilters(t){for(let[o,n,i]of this.filtersEscapeMapping)t=t.replaceAll(n,i);return t}unescapeFilterValue(t){for(let[o,n,i]of this.filtersEscapeMapping)t=t.replace(i,o);return t}parseLegacyPeriodFilter(t){if(el(t))return[{key:"ft:lastEdition",dateFilter:{type:Yr[t]}}];if(t.startsWith("CUSTOM_")){let[o,n,i]=t.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}};var ma={};j(ma,{toFtFormComponent:()=>ya});var Go=Symbol("elementInternals");function ya(e,t){class o 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 o}var ga={};j(ga,{DateFormatter:()=>or});var or=class{static format(t,o,n,i){return window.moment?window.moment(t).locale(o).format(this.getDateFormat(n,i)):t}static getDateFormat(t,o){return t?o?"lll":"ll":o?"L LT":"L"}};var ba,xa,va,Sa,Oa=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((va=(xa=(ba=window.safari)===null||ba===void 0?void 0:ba.pushNotification)===null||xa===void 0?void 0:xa.toString())!==null&&va!==void 0?va:"")==="[object SafariRemoteNotification]",Pu="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Sa=window.ftGlobals)!==null&&Sa!==void 0?Sa:{lit:xn,litDecorators:Sn,litRepeat:On,litClassMap:Cn,litStyleMap:En,litUnsafeHTML:An,wcUtils:{...In,...Nn,...kn,...ga,...Dn,...Un,...fi,...Tn,...Ni,...ui,...Ti,...Li,...tc,...Mn,...ki,...Di,...rc,...Mi,...la,..._i,...ua,...fa,...ha,...ma,isSafari:Oa,isTouchScreen:Pu,setVariable:w}};var il=r.extend("--ft-ripple-color","",V.colorContent),R={color:il,backgroundColor:r.extend("--ft-ripple-background-color","",il),opacityContentOnSurfacePressed:r.external(V.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:r.external(V.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:r.external(V.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:r.external(V.opacityContentOnSurfaceSelected,"Design system"),borderRadius:r.create("--ft-ripple-border-radius","","SIZE","0px")},al=r.extend("--ft-ripple-color","",V.colorPrimary),sl={color:al,backgroundColor:r.extend("--ft-ripple-background-color","",al)},cl=r.extend("--ft-ripple-color","",V.colorSecondary),ll={color:cl,backgroundColor:r.extend("--ft-ripple-background-color","",cl)},dl=D`
|
|
51
51
|
:host {
|
|
52
52
|
display: contents;
|
|
53
53
|
}
|
|
@@ -102,19 +102,19 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
.ft-ripple.ft-ripple--secondary .ft-ripple--background {
|
|
105
|
-
background-color: ${
|
|
105
|
+
background-color: ${ll.backgroundColor};
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
.ft-ripple.ft-ripple--secondary .ft-ripple--effect {
|
|
109
|
-
background-color: ${
|
|
109
|
+
background-color: ${ll.color};
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
.ft-ripple.ft-ripple--primary .ft-ripple--background {
|
|
113
|
-
background-color: ${
|
|
113
|
+
background-color: ${sl.backgroundColor};
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
.ft-ripple.ft-ripple--primary .ft-ripple--effect {
|
|
117
|
-
background-color: ${
|
|
117
|
+
background-color: ${sl.color};
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
.ft-ripple .ft-ripple--background {
|
|
@@ -159,7 +159,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
159
159
|
opacity: ${R.opacityContentOnSurfacePressed};
|
|
160
160
|
transform: translate(-50%, -50%) scale(1);
|
|
161
161
|
}
|
|
162
|
-
`;function
|
|
162
|
+
`;function pl(e){let t=Tr[e];return D`
|
|
163
163
|
.ft-typography--${Se(e)} {
|
|
164
164
|
font-family: ${t.fontFamily};
|
|
165
165
|
font-size: ${t.fontSize};
|
|
@@ -168,26 +168,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
168
168
|
line-height: ${t.lineHeight};
|
|
169
169
|
text-transform: ${t.textCase};
|
|
170
170
|
}
|
|
171
|
-
`}var
|
|
171
|
+
`}var ul=r.extend("--ft-typography-font-family","",V.titleFont),Xt=r.extend("--ft-typography-font-family","",V.contentFont),k={fontFamily:Xt,fontSize:r.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:r.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:r.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:r.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:r.create("--ft-typography-text-transform","","UNKNOWN","inherit")},nr={fontFamily:r.extend("--ft-typography-title-font-family","",ul),fontSize:r.extend("--ft-typography-title-font-size","",k.fontSize,"20px"),fontWeight:r.extend("--ft-typography-title-font-weight","",k.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-letter-spacing","",k.letterSpacing,"0.15px"),lineHeight:r.extend("--ft-typography-title-line-height","",k.lineHeight,"1.2"),textTransform:r.extend("--ft-typography-title-text-transform","",k.textTransform,"inherit")},ir={fontFamily:r.extend("--ft-typography-title-dense-font-family","",ul),fontSize:r.extend("--ft-typography-title-dense-font-size","",k.fontSize,"14px"),fontWeight:r.extend("--ft-typography-title-dense-font-weight","",k.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-dense-letter-spacing","",k.letterSpacing,"0.105px"),lineHeight:r.extend("--ft-typography-title-dense-line-height","",k.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-title-dense-text-transform","",k.textTransform,"inherit")},ar={fontFamily:r.extend("--ft-typography-subtitle1-font-family","",Xt),fontSize:r.extend("--ft-typography-subtitle1-font-size","",k.fontSize,"16px"),fontWeight:r.extend("--ft-typography-subtitle1-font-weight","",k.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-subtitle1-letter-spacing","",k.letterSpacing,"0.144px"),lineHeight:r.extend("--ft-typography-subtitle1-line-height","",k.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-subtitle1-text-transform","",k.textTransform,"inherit")},sr={fontFamily:r.extend("--ft-typography-subtitle2-font-family","",Xt),fontSize:r.extend("--ft-typography-subtitle2-font-size","",k.fontSize,"14px"),fontWeight:r.extend("--ft-typography-subtitle2-font-weight","",k.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-subtitle2-letter-spacing","",k.letterSpacing,"0.098px"),lineHeight:r.extend("--ft-typography-subtitle2-line-height","",k.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-subtitle2-text-transform","",k.textTransform,"inherit")},cr={fontFamily:r.extend("--ft-typography-body1-font-family","",Xt),fontSize:r.extend("--ft-typography-body1-font-size","",k.fontSize,"16px"),fontWeight:r.extend("--ft-typography-body1-font-weight","",k.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body1-letter-spacing","",k.letterSpacing,"0.496px"),lineHeight:r.extend("--ft-typography-body1-line-height","",k.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-body1-text-transform","",k.textTransform,"inherit")},lr={fontFamily:r.extend("--ft-typography-body2-font-family","",Xt),fontSize:r.extend("--ft-typography-body2-font-size","",k.fontSize,"14px"),fontWeight:r.extend("--ft-typography-body2-font-weight","",k.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body2-letter-spacing","",k.letterSpacing,"0.252px"),lineHeight:r.extend("--ft-typography-body2-line-height","",k.lineHeight,"1.4"),textTransform:r.extend("--ft-typography-body2-text-transform","",k.textTransform,"inherit")},dr={fontFamily:r.extend("--ft-typography-caption-font-family","",Xt),fontSize:r.extend("--ft-typography-caption-font-size","",k.fontSize,"12px"),fontWeight:r.extend("--ft-typography-caption-font-weight","",k.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-caption-letter-spacing","",k.letterSpacing,"0.396px"),lineHeight:r.extend("--ft-typography-caption-line-height","",k.lineHeight,"1.33"),textTransform:r.extend("--ft-typography-caption-text-transform","",k.textTransform,"inherit")},pr={fontFamily:r.extend("--ft-typography-breadcrumb-font-family","",Xt),fontSize:r.extend("--ft-typography-breadcrumb-font-size","",k.fontSize,"10px"),fontWeight:r.extend("--ft-typography-breadcrumb-font-weight","",k.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-breadcrumb-letter-spacing","",k.letterSpacing,"0.33px"),lineHeight:r.extend("--ft-typography-breadcrumb-line-height","",k.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-breadcrumb-text-transform","",k.textTransform,"inherit")},ur={fontFamily:r.extend("--ft-typography-overline-font-family","",Xt),fontSize:r.extend("--ft-typography-overline-font-size","",k.fontSize,"10px"),fontWeight:r.extend("--ft-typography-overline-font-weight","",k.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-overline-letter-spacing","",k.letterSpacing,"1.5px"),lineHeight:r.extend("--ft-typography-overline-line-height","",k.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-overline-text-transform","",k.textTransform,"uppercase")},Bt={fontFamily:r.extend("--ft-typography-button-font-family","",Xt),fontSize:r.extend("--ft-typography-button-font-size","",k.fontSize,"14px"),fontWeight:r.extend("--ft-typography-button-font-weight","",k.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-button-letter-spacing","",k.letterSpacing,"1.246px"),lineHeight:r.extend("--ft-typography-button-line-height","",k.lineHeight,"1.15"),textTransform:r.extend("--ft-typography-button-text-transform","",k.textTransform,"uppercase")},fl=D`
|
|
172
172
|
.ft-typography--title {
|
|
173
|
-
font-family: ${rr.fontFamily};
|
|
174
|
-
font-size: ${rr.fontSize};
|
|
175
|
-
font-weight: ${rr.fontWeight};
|
|
176
|
-
letter-spacing: ${rr.letterSpacing};
|
|
177
|
-
line-height: ${rr.lineHeight};
|
|
178
|
-
text-transform: ${rr.textTransform};
|
|
179
|
-
}
|
|
180
|
-
`,dl=D`
|
|
181
|
-
.ft-typography--title-dense {
|
|
182
|
-
font-family: ${or.fontFamily};
|
|
183
|
-
font-size: ${or.fontSize};
|
|
184
|
-
font-weight: ${or.fontWeight};
|
|
185
|
-
letter-spacing: ${or.letterSpacing};
|
|
186
|
-
line-height: ${or.lineHeight};
|
|
187
|
-
text-transform: ${or.textTransform};
|
|
188
|
-
}
|
|
189
|
-
`,pl=D`
|
|
190
|
-
.ft-typography--subtitle1 {
|
|
191
173
|
font-family: ${nr.fontFamily};
|
|
192
174
|
font-size: ${nr.fontSize};
|
|
193
175
|
font-weight: ${nr.fontWeight};
|
|
@@ -195,18 +177,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
195
177
|
line-height: ${nr.lineHeight};
|
|
196
178
|
text-transform: ${nr.textTransform};
|
|
197
179
|
}
|
|
198
|
-
`,
|
|
199
|
-
.ft-typography--
|
|
200
|
-
font-family: ${ar.fontFamily};
|
|
201
|
-
font-size: ${ar.fontSize};
|
|
202
|
-
font-weight: ${ar.fontWeight};
|
|
203
|
-
letter-spacing: ${ar.letterSpacing};
|
|
204
|
-
line-height: ${ar.lineHeight};
|
|
205
|
-
text-transform: ${ar.textTransform};
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
`,fl=D`
|
|
209
|
-
.ft-typography--body1 {
|
|
180
|
+
`,hl=D`
|
|
181
|
+
.ft-typography--title-dense {
|
|
210
182
|
font-family: ${ir.fontFamily};
|
|
211
183
|
font-size: ${ir.fontSize};
|
|
212
184
|
font-weight: ${ir.fontWeight};
|
|
@@ -214,8 +186,17 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
214
186
|
line-height: ${ir.lineHeight};
|
|
215
187
|
text-transform: ${ir.textTransform};
|
|
216
188
|
}
|
|
217
|
-
`,
|
|
218
|
-
.ft-typography--
|
|
189
|
+
`,yl=D`
|
|
190
|
+
.ft-typography--subtitle1 {
|
|
191
|
+
font-family: ${ar.fontFamily};
|
|
192
|
+
font-size: ${ar.fontSize};
|
|
193
|
+
font-weight: ${ar.fontWeight};
|
|
194
|
+
letter-spacing: ${ar.letterSpacing};
|
|
195
|
+
line-height: ${ar.lineHeight};
|
|
196
|
+
text-transform: ${ar.textTransform};
|
|
197
|
+
}
|
|
198
|
+
`,ml=D`
|
|
199
|
+
.ft-typography--subtitle2 {
|
|
219
200
|
font-family: ${sr.fontFamily};
|
|
220
201
|
font-size: ${sr.fontSize};
|
|
221
202
|
font-weight: ${sr.fontWeight};
|
|
@@ -223,8 +204,9 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
223
204
|
line-height: ${sr.lineHeight};
|
|
224
205
|
text-transform: ${sr.textTransform};
|
|
225
206
|
}
|
|
226
|
-
|
|
227
|
-
|
|
207
|
+
|
|
208
|
+
`,gl=D`
|
|
209
|
+
.ft-typography--body1 {
|
|
228
210
|
font-family: ${cr.fontFamily};
|
|
229
211
|
font-size: ${cr.fontSize};
|
|
230
212
|
font-weight: ${cr.fontWeight};
|
|
@@ -232,8 +214,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
232
214
|
line-height: ${cr.lineHeight};
|
|
233
215
|
text-transform: ${cr.textTransform};
|
|
234
216
|
}
|
|
235
|
-
`,
|
|
236
|
-
.ft-typography--
|
|
217
|
+
`,bl=D`
|
|
218
|
+
.ft-typography--body2 {
|
|
237
219
|
font-family: ${lr.fontFamily};
|
|
238
220
|
font-size: ${lr.fontSize};
|
|
239
221
|
font-weight: ${lr.fontWeight};
|
|
@@ -241,8 +223,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
241
223
|
line-height: ${lr.lineHeight};
|
|
242
224
|
text-transform: ${lr.textTransform};
|
|
243
225
|
}
|
|
244
|
-
`,
|
|
245
|
-
.ft-typography--
|
|
226
|
+
`,xl=D`
|
|
227
|
+
.ft-typography--caption {
|
|
246
228
|
font-family: ${dr.fontFamily};
|
|
247
229
|
font-size: ${dr.fontSize};
|
|
248
230
|
font-weight: ${dr.fontWeight};
|
|
@@ -250,7 +232,25 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
250
232
|
line-height: ${dr.lineHeight};
|
|
251
233
|
text-transform: ${dr.textTransform};
|
|
252
234
|
}
|
|
253
|
-
`,
|
|
235
|
+
`,vl=D`
|
|
236
|
+
.ft-typography--breadcrumb {
|
|
237
|
+
font-family: ${pr.fontFamily};
|
|
238
|
+
font-size: ${pr.fontSize};
|
|
239
|
+
font-weight: ${pr.fontWeight};
|
|
240
|
+
letter-spacing: ${pr.letterSpacing};
|
|
241
|
+
line-height: ${pr.lineHeight};
|
|
242
|
+
text-transform: ${pr.textTransform};
|
|
243
|
+
}
|
|
244
|
+
`,Sl=D`
|
|
245
|
+
.ft-typography--overline {
|
|
246
|
+
font-family: ${ur.fontFamily};
|
|
247
|
+
font-size: ${ur.fontSize};
|
|
248
|
+
font-weight: ${ur.fontWeight};
|
|
249
|
+
letter-spacing: ${ur.letterSpacing};
|
|
250
|
+
line-height: ${ur.lineHeight};
|
|
251
|
+
text-transform: ${ur.textTransform};
|
|
252
|
+
}
|
|
253
|
+
`,Ol=D`
|
|
254
254
|
.ft-typography--button {
|
|
255
255
|
font-family: ${Bt.fontFamily};
|
|
256
256
|
font-size: ${Bt.fontSize};
|
|
@@ -259,11 +259,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
259
259
|
line-height: ${Bt.lineHeight};
|
|
260
260
|
text-transform: ${Bt.textTransform};
|
|
261
261
|
}
|
|
262
|
-
`,
|
|
262
|
+
`,Cl=D`
|
|
263
263
|
.ft-typography {
|
|
264
264
|
vertical-align: inherit;
|
|
265
265
|
}
|
|
266
|
-
`,
|
|
266
|
+
`,El=[Object.keys(Tr).map(e=>pl(e))];var X={color:r.extend("--ft-loader-color","",V.colorPrimary),size:r.create("--ft-loader-size","","SIZE","80px")},wl=D`
|
|
267
267
|
:host {
|
|
268
268
|
line-height: 0;
|
|
269
269
|
}
|
|
@@ -272,8 +272,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
272
272
|
display: inline-block;
|
|
273
273
|
position: relative;
|
|
274
274
|
|
|
275
|
-
width: ${
|
|
276
|
-
height: ${
|
|
275
|
+
width: ${X.size};
|
|
276
|
+
height: ${X.size};
|
|
277
277
|
}
|
|
278
278
|
|
|
279
279
|
.ft-loader div {
|
|
@@ -282,7 +282,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
282
282
|
width: 25%;
|
|
283
283
|
height: 25%;
|
|
284
284
|
border-radius: 50%;
|
|
285
|
-
background: ${
|
|
285
|
+
background: ${X.color};
|
|
286
286
|
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
287
287
|
}
|
|
288
288
|
|
|
@@ -329,10 +329,10 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
329
329
|
transform: translate(0, 0);
|
|
330
330
|
}
|
|
331
331
|
100% {
|
|
332
|
-
transform: translate(calc(0.35 * ${
|
|
332
|
+
transform: translate(calc(0.35 * ${X.size}), 0);
|
|
333
333
|
}
|
|
334
334
|
}
|
|
335
|
-
`;var
|
|
335
|
+
`;var ut={size:r.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:r.extend("--ft-icon-fluid-topics-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:r.extend("--ft-icon-file-format-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:r.extend("--ft-icon-material-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:r.create("--ft-icon-vertical-align","","UNKNOWN","unset")},Al=D`
|
|
336
336
|
:host, i.ft-icon {
|
|
337
337
|
display: inline-flex;
|
|
338
338
|
align-items: center;
|
|
@@ -341,14 +341,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
341
341
|
}
|
|
342
342
|
|
|
343
343
|
:host {
|
|
344
|
-
width: ${
|
|
345
|
-
height: ${
|
|
344
|
+
width: ${ut.size};
|
|
345
|
+
height: ${ut.size};
|
|
346
346
|
}
|
|
347
347
|
|
|
348
348
|
i.ft-icon {
|
|
349
349
|
width: 100%;
|
|
350
350
|
height: 100%;
|
|
351
|
-
font-size: ${
|
|
351
|
+
font-size: ${ut.size};
|
|
352
352
|
line-height: 1;
|
|
353
353
|
font-weight: normal;
|
|
354
354
|
text-transform: none;
|
|
@@ -359,53 +359,54 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
359
359
|
text-rendering: auto;
|
|
360
360
|
-webkit-font-smoothing: antialiased;
|
|
361
361
|
-moz-osx-font-smoothing: grayscale;
|
|
362
|
-
vertical-align: ${
|
|
362
|
+
vertical-align: ${ut.verticalAlign};
|
|
363
363
|
}
|
|
364
364
|
|
|
365
365
|
i.ft-icon.ft-icon--fluid-topics {
|
|
366
|
-
font-family: ${
|
|
366
|
+
font-family: ${ut.fluidTopicsFontFamily}, ft-icons, fticons, sans-serif;
|
|
367
367
|
|
|
368
368
|
/* Ugly fix because font is broken */
|
|
369
|
-
font-size: calc(0.75 * ${
|
|
370
|
-
line-height: ${
|
|
369
|
+
font-size: calc(0.75 * ${ut.size});
|
|
370
|
+
line-height: ${ut.size};
|
|
371
371
|
position: relative;
|
|
372
372
|
top: -4%;
|
|
373
373
|
justify-content: center;
|
|
374
374
|
}
|
|
375
375
|
|
|
376
376
|
.ft-icon--file-format {
|
|
377
|
-
font-family: ${
|
|
377
|
+
font-family: ${ut.fileFormatFontFamily}, ft-mime, sans-serif;
|
|
378
378
|
}
|
|
379
379
|
|
|
380
380
|
.ft-icon--material {
|
|
381
|
-
font-family: ${
|
|
381
|
+
font-family: ${ut.materialFontFamily}, "Material Icons", sans-serif;
|
|
382
382
|
}
|
|
383
|
-
`;var
|
|
383
|
+
`;var Rl=r.extend("--ft-button-color","",V.colorPrimary),it={backgroundColor:r.extend("--ft-button-background-color","",V.colorSurface),borderRadius:r.extend("--ft-button-border-radius","",V.borderRadiusL),color:Rl,fontSize:r.extend("--ft-button-font-size","",Bt.fontSize),iconSize:r.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:r.extend("--ft-button-ripple-color","",Rl),verticalPadding:r.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:r.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:r.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:r.external(V.colorOpacityDisabled,"Design system")},Nl=r.extend("--ft-button-primary-color","",r.extend("--ft-button-color","",V.colorOnPrimary)),Ca={backgroundColor:r.extend("--ft-button-primary-background-color","",r.extend("--ft-button-background-color","",V.colorPrimary)),color:Nl,rippleColor:r.extend("--ft-button-primary-ripple-color","",Nl)},Ft={borderRadius:r.extend("--ft-button-dense-border-radius","",r.extend("--ft-button-border-radius","",V.borderRadiusM)),verticalPadding:r.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:r.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:r.create("--ft-button-dense-icon-padding","","SIZE","4px")},_l=[D`
|
|
384
384
|
:host {
|
|
385
385
|
display: inline-block;
|
|
386
386
|
max-width: 100%;
|
|
387
387
|
pointer-events: none;
|
|
388
388
|
}
|
|
389
389
|
|
|
390
|
-
button {
|
|
390
|
+
.ft-button {
|
|
391
391
|
box-shadow: 0px 0px 0px transparent;
|
|
392
392
|
border: 0px solid transparent;
|
|
393
393
|
text-shadow: 0px 0px 0px transparent;
|
|
394
|
-
font-size: ${
|
|
394
|
+
font-size: ${it.fontSize};
|
|
395
|
+
text-decoration: none;
|
|
395
396
|
}
|
|
396
397
|
|
|
397
|
-
button:hover {
|
|
398
|
+
.ft-button:hover {
|
|
398
399
|
box-shadow: 0px 0px 0px transparent;
|
|
399
400
|
border: 0px solid transparent;
|
|
400
401
|
text-shadow: 0px 0px 0px transparent;
|
|
401
402
|
}
|
|
402
403
|
|
|
403
|
-
button:active {
|
|
404
|
+
.ft-button:active {
|
|
404
405
|
outline: none;
|
|
405
406
|
border: none;
|
|
406
407
|
}
|
|
407
408
|
|
|
408
|
-
button:focus {
|
|
409
|
+
.ft-button:focus {
|
|
409
410
|
outline: 0;
|
|
410
411
|
}
|
|
411
412
|
|
|
@@ -420,21 +421,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
420
421
|
border: none;
|
|
421
422
|
pointer-events: auto;
|
|
422
423
|
|
|
423
|
-
--ft-button-internal-line-height: max(calc(${
|
|
424
|
-
--ft-button-internal-color: ${
|
|
425
|
-
${w(
|
|
426
|
-
${w(R.color,
|
|
424
|
+
--ft-button-internal-line-height: max(calc(${it.fontSize} + 2px), ${it.iconSize});
|
|
425
|
+
--ft-button-internal-color: ${it.color};
|
|
426
|
+
${w(ut.size,it.iconSize)};
|
|
427
|
+
${w(R.color,it.rippleColor)};
|
|
427
428
|
|
|
428
|
-
border-radius: ${
|
|
429
|
-
padding: ${
|
|
430
|
-
background-color: ${
|
|
429
|
+
border-radius: ${it.borderRadius};
|
|
430
|
+
padding: ${it.verticalPadding} ${it.horizontalPadding};
|
|
431
|
+
background-color: ${it.backgroundColor};
|
|
431
432
|
color: var(--ft-button-internal-color);
|
|
432
433
|
-webkit-mask-image: radial-gradient(white, black);
|
|
433
434
|
}
|
|
434
435
|
|
|
435
436
|
.ft-button.ft-button--outlined {
|
|
436
437
|
border: 1px solid var(--ft-button-internal-color);
|
|
437
|
-
padding: calc(${
|
|
438
|
+
padding: calc(${it.verticalPadding} - 1px) calc(${it.horizontalPadding} - 1px);
|
|
438
439
|
}
|
|
439
440
|
|
|
440
441
|
.ft-button.ft-button--dense {
|
|
@@ -452,7 +453,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
452
453
|
}
|
|
453
454
|
|
|
454
455
|
.ft-button--round {
|
|
455
|
-
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${
|
|
456
|
+
border-radius: calc(var(--ft-button-internal-line-height) / 2 + ${it.verticalPadding});
|
|
456
457
|
}
|
|
457
458
|
|
|
458
459
|
.ft-button--round.ft-button--dense {
|
|
@@ -461,13 +462,13 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
461
462
|
|
|
462
463
|
.ft-button[disabled] {
|
|
463
464
|
filter: grayscale(1);
|
|
464
|
-
opacity: ${
|
|
465
|
+
opacity: ${it.opacityDisabled};
|
|
465
466
|
}
|
|
466
467
|
|
|
467
468
|
.ft-button.ft-button--primary {
|
|
468
|
-
background-color: ${
|
|
469
|
-
--ft-button-internal-color: ${
|
|
470
|
-
${w(R.color,
|
|
469
|
+
background-color: ${Ca.backgroundColor};
|
|
470
|
+
--ft-button-internal-color: ${Ca.color};
|
|
471
|
+
${w(R.color,Ca.rippleColor)};
|
|
471
472
|
}
|
|
472
473
|
|
|
473
474
|
.ft-button:focus {
|
|
@@ -480,7 +481,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
480
481
|
white-space: nowrap;
|
|
481
482
|
text-overflow: ellipsis;
|
|
482
483
|
display: block;
|
|
483
|
-
margin: 0 ${
|
|
484
|
+
margin: 0 ${it.iconPadding};
|
|
484
485
|
${w(Bt.fontSize,"1em")};
|
|
485
486
|
${w(Bt.lineHeight,"var(--ft-button-internal-line-height)")};
|
|
486
487
|
}
|
|
@@ -499,8 +500,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
499
500
|
}
|
|
500
501
|
|
|
501
502
|
.ft-button--label[hidden] + [part="icon"] {
|
|
502
|
-
margin: 0 calc(${
|
|
503
|
-
padding: 0 ${
|
|
503
|
+
margin: 0 calc(${it.horizontalPadding} * -1);
|
|
504
|
+
padding: 0 ${it.verticalPadding};
|
|
504
505
|
}
|
|
505
506
|
|
|
506
507
|
.ft-button--dense .ft-button--label[hidden] + [part="icon"] {
|
|
@@ -513,29 +514,29 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
513
514
|
}
|
|
514
515
|
|
|
515
516
|
ft-loader {
|
|
516
|
-
${w(
|
|
517
|
-
${w(
|
|
517
|
+
${w(X.size,it.iconSize)};
|
|
518
|
+
${w(X.color,"var(--ft-button-internal-color)")};
|
|
518
519
|
}
|
|
519
|
-
`,
|
|
520
|
+
`,zr];var ht=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},tt=class extends K{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new gt(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 gt(10),this.moveRipple=t=>{var o,n;let{x:i,y:a}=this.getCoordinates(t),s=(n=(o=this.ripple)===null||o===void 0?void 0:o.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 q`
|
|
520
521
|
<style>
|
|
521
522
|
.ft-ripple .ft-ripple--effect {
|
|
522
523
|
left: ${this.originX}px;
|
|
523
524
|
top: ${this.originY}px;
|
|
524
525
|
}
|
|
525
526
|
</style>
|
|
526
|
-
<div class="${
|
|
527
|
+
<div class="${je(t)}">
|
|
527
528
|
<div class="ft-ripple--background"></div>
|
|
528
529
|
<div class="ft-ripple--effect"></div>
|
|
529
530
|
</div>
|
|
530
|
-
`}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 o,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.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,o;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o: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 o=(...l)=>d=>{l.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(d)},n=o("mouseup","contextmenu"),
|
|
531
|
-
<${
|
|
531
|
+
`}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 o,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.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,o;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o: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 o=(...l)=>d=>{l.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(d)},n=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&o("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 o=t,n=t,i,a;return o.x!=null?{x:i,y:a}=o: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 o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};tt.elementDefinitions={};tt.styles=dl;ht([A({type:Boolean})],tt.prototype,"primary",void 0);ht([A({type:Boolean})],tt.prototype,"secondary",void 0);ht([A({type:Boolean})],tt.prototype,"unbounded",void 0);ht([A({type:Boolean})],tt.prototype,"activated",void 0);ht([A({type:Boolean})],tt.prototype,"selected",void 0);ht([A({type:Boolean})],tt.prototype,"disabled",void 0);ht([st()],tt.prototype,"hovered",void 0);ht([st()],tt.prototype,"focused",void 0);ht([st()],tt.prototype,"pressed",void 0);ht([st()],tt.prototype,"rippling",void 0);ht([st()],tt.prototype,"originX",void 0);ht([st()],tt.prototype,"originY",void 0);ht([pt(".ft-ripple")],tt.prototype,"ripple",void 0);ht([pt(".ft-ripple--effect")],tt.prototype,"rippleEffect",void 0);ot("ft-ripple")(tt);var Pl=Symbol.for(""),Tu=e=>{if(e?.r===Pl)return e?._$litStatic$},Ea=e=>({_$litStatic$:e,r:Pl});var Ll=new Map,Tl=e=>(t,...o)=>{let n=o.length,i,a,s=[],l=[],d,p=0,f=!1;for(;p<n;){for(d=t[p];p<n&&(a=o[p],(i=Tu(a))!==void 0);)d+=i+t[++p],f=!0;p!==n&&l.push(a),s.push(d),p++}if(p===n&&s.push(t[n]),f){let h=s.join("$$lit$$");(t=Ll.get(h))===void 0&&(s.raw=s,Ll.set(h,t=s)),o=l}return e(t,...o)},wa=Tl(qa),Y0=Tl(Ya);var ue;(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"})(ue||(ue={}));var Il=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},At=class extends K{constructor(){super(...arguments),this.variant=ue.body1}render(){return this.element?wa`
|
|
532
|
+
<${Ea(this.element)}
|
|
532
533
|
part="text"
|
|
533
534
|
class="ft-typography ft-typography--${this.variant}">
|
|
534
535
|
<slot></slot>
|
|
535
|
-
</${
|
|
536
|
-
`:
|
|
536
|
+
</${Ea(this.element)}>
|
|
537
|
+
`:wa`
|
|
537
538
|
<slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
|
|
538
|
-
`}};At.styles=[
|
|
539
|
+
`}};At.styles=[fl,hl,yl,ml,gl,bl,xl,vl,Sl,Ol,Cl,...El];Il([A()],At.prototype,"element",void 0);Il([A()],At.prototype,"variant",void 0);ot("ft-typography")(At);var fr={distance:r.create("--ft-tooltip-distance","","SIZE","4px"),color:r.create("--ft-tooltip-color","","COLOR","#FFFFFF"),backgroundColor:r.create("--ft-tooltip-background-color","","COLOR","#666666"),zIndex:r.create("--ft-tooltip-z-index","","NUMBER","100"),borderRadiusS:r.external(V.borderRadiusS,"Design system"),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","150px")},$l=D`
|
|
539
540
|
.ft-tooltip--container {
|
|
540
541
|
display: block;
|
|
541
542
|
}
|
|
@@ -550,21 +551,21 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
550
551
|
box-sizing: border-box;
|
|
551
552
|
overflow: hidden;
|
|
552
553
|
width: max-content;
|
|
553
|
-
max-width: ${
|
|
554
|
+
max-width: ${fr.maxWidth};
|
|
554
555
|
text-align: center;
|
|
555
|
-
padding: ${
|
|
556
|
-
z-index: ${
|
|
556
|
+
padding: ${fr.distance};
|
|
557
|
+
z-index: ${fr.zIndex};
|
|
557
558
|
}
|
|
558
559
|
|
|
559
560
|
.ft-tooltip--content {
|
|
560
561
|
padding: 4px 8px;
|
|
561
|
-
border-radius: ${
|
|
562
|
-
background-color: ${
|
|
563
|
-
color: ${
|
|
562
|
+
border-radius: ${fr.borderRadiusS};
|
|
563
|
+
background-color: ${fr.backgroundColor};
|
|
564
|
+
color: ${fr.color};
|
|
564
565
|
position: relative;
|
|
565
566
|
word-break: break-word;
|
|
566
567
|
}
|
|
567
|
-
`;var
|
|
568
|
+
`;var yt=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},J=class extends K{constructor(){super(...arguments),this.text="",this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new gt,this.revealDebouncer=new gt}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){return q`
|
|
568
569
|
<div part="container"
|
|
569
570
|
class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}"
|
|
570
571
|
@mouseenter=${this.onHover}
|
|
@@ -582,45 +583,56 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
582
583
|
</div>
|
|
583
584
|
</div>
|
|
584
585
|
</div>
|
|
585
|
-
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(o=>t.has(o))&&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(o=>o.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="",wa(this.slottedElement,this.tooltip,this.position).then(({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}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,o){return Math.max(t,Math.min(0,-o))}};X.elementDefinitions={"ft-typography":At};X.styles=Ll;ht([N()],X.prototype,"text",void 0);ht([N({type:Boolean})],X.prototype,"manual",void 0);ht([N({type:Boolean})],X.prototype,"inline",void 0);ht([N({type:Number})],X.prototype,"delay",void 0);ht([N()],X.prototype,"position",void 0);ht([gn()],X.prototype,"slotNodes",void 0);ht([ct(".ft-tooltip--container")],X.prototype,"container",void 0);ht([ct(".ft-tooltip")],X.prototype,"tooltip",void 0);ht([ct(".ft-tooltip--content")],X.prototype,"tooltipContent",void 0);ht([pt()],X.prototype,"visible",void 0);ht([We({passive:!0})],X.prototype,"onTouch",null);ht([We({passive:!0})],X.prototype,"onHover",null);ht([We({passive:!0})],X.prototype,"onOut",null);ht([We({passive:!0})],X.prototype,"onClick",null);ot("ft-tooltip")(X);var jo;(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.LIST_MAGNIFYING_GLASS="",e.MEDAL="",e.THUMBS_UP_THUMBS_DOWN_SOLID="",e.ARROW_TURN_DOWN_RIGHT="",e.FLASK="",e.LOCK_KEYHOLE_OPEN_SOLID="",e.HOURGLASS_END="",e.CIRCLE_QUESTION="",e.EYE="",e.SHARE="󨃱"})(jo||(jo={}));var _;(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=""})(_||(_={}));var Ov=new Map([...["abw"].map(e=>[e,_.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,_.AUDIO]),...["avi"].map(e=>[e,_.AVI]),...["chm","xhs"].map(e=>[e,_.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,_.CODE]),...["csv"].map(e=>[e,_.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,_.DITA]),...["epub"].map(e=>[e,_.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,_.EXCEL]),...["flac"].map(e=>[e,_.FLAC]),...["gif"].map(e=>[e,_.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,_.GZIP]),...["html","htm","xhtml"].map(e=>[e,_.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,_.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,_.JPEG]),...["json"].map(e=>[e,_.JSON]),...["m4a","m4p"].map(e=>[e,_.M4A]),...["mov","qt"].map(e=>[e,_.MOV]),...["mp3"].map(e=>[e,_.MP3]),...["mp4","m4v"].map(e=>[e,_.MP4]),...["ogg","oga"].map(e=>[e,_.OGG]),...["pdf","ps"].map(e=>[e,_.PDF]),...["png"].map(e=>[e,_.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,_.POWERPOINT]),...["rar"].map(e=>[e,_.RAR]),...["stp"].map(e=>[e,_.STP]),...["txt","rtf","md","mdown"].map(e=>[e,_.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,_.VIDEO]),...["wav"].map(e=>[e,_.WAV]),...["wma"].map(e=>[e,_.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,_.WORD]),...["xml","xsl","rdf"].map(e=>[e,_.XML]),...["yaml","yml","x-yaml"].map(e=>[e,_.YAML]),...["zip"].map(e=>[e,_.ZIP])]);var Cv={[_.ABW]:"#91ABC6",[_.AUDIO]:"#1795E3",[_.AVI]:"#E63324",[_.CHM]:"#71C3EB",[_.CODE]:"#71C3EB",[_.CSV]:"#1F7345",[_.DITA]:"#71C3EB",[_.EPUB]:"#85B926",[_.EXCEL]:"#1F7345",[_.FLAC]:"#1795E3",[_.GIF]:"#59B031",[_.GZIP]:"#F8AB36",[_.HTML]:"#71C3EB",[_.IMAGE]:"#59B031",[_.JPEG]:"#59B031",[_.JSON]:"#71C3EB",[_.M4A]:"#1795E3",[_.MOV]:"#E63324",[_.MP3]:"#1795E3",[_.MP4]:"#E63324",[_.OGG]:"#1795E3",[_.PDF]:"#E44948",[_.PNG]:"#59B031",[_.POWERPOINT]:"#B54A2B",[_.RAR]:"#F8AB36",[_.STP]:"#3764B1",[_.TEXT]:"#3162AB",[_.UNKNOWN]:"#999999",[_.VIDEO]:"#E63324",[_.WAV]:"#1795E3",[_.WMA]:"#1795E3",[_.WORD]:"#3162AB",[_.XML]:"#71C3EB",[_.YAML]:"#71C3EB",[_.ZIP]:"#F8AB36"};var Wt;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(Wt||(Wt={}));var Vo=function(e,t,o,n){var a=arguments.length,i=a<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(i=(a<3?s(i):a>3?s(t,o,i):s(t,o))||i);return a>3&&i&&Object.defineProperty(t,o,i),i},St=class extends G{constructor(){super(...arguments),this.resolvedIcon=K}render(){let t=this.variant&&Object.values(Wt).includes(this.variant)?this.variant:Wt.fluid_topics,o=t!==Wt.material||!!this.value;return J`
|
|
586
|
+
`}updated(t){t.has("visible")&&this.visible&&this.resetTooltipContent(),super.updated(t)}contentAvailableCallback(t){super.contentAvailableCallback(t),["visible","text"].some(o=>t.has(o))&&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(o=>o.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="",Ri(this.slottedElement,this.tooltip,this.position).then(({x:t,y:o})=>{this.tooltip&&(this.tooltip.style.left=`${t}px`,this.tooltip.style.top=`${o}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,o){return Math.max(t,Math.min(0,-o))}};J.elementDefinitions={"ft-typography":At};J.styles=$l;yt([A()],J.prototype,"text",void 0);yt([A({type:Boolean})],J.prototype,"manual",void 0);yt([A({type:Boolean})],J.prototype,"inline",void 0);yt([A({type:Number})],J.prototype,"delay",void 0);yt([A()],J.prototype,"position",void 0);yt([vn()],J.prototype,"slotNodes",void 0);yt([pt(".ft-tooltip--container")],J.prototype,"container",void 0);yt([pt(".ft-tooltip")],J.prototype,"tooltip",void 0);yt([pt(".ft-tooltip--content")],J.prototype,"tooltipContent",void 0);yt([st()],J.prototype,"visible",void 0);yt([He({passive:!0})],J.prototype,"onTouch",null);yt([He({passive:!0})],J.prototype,"onHover",null);yt([He({passive:!0})],J.prototype,"onOut",null);yt([He({passive:!0})],J.prototype,"onClick",null);ot("ft-tooltip")(J);var Ko;(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.LIST_MAGNIFYING_GLASS="",e.MEDAL="",e.THUMBS_UP_THUMBS_DOWN_SOLID="",e.ARROW_TURN_DOWN_RIGHT="",e.FLASK="",e.LOCK_KEYHOLE_OPEN_SOLID="",e.HOURGLASS_END="",e.CIRCLE_QUESTION="",e.EYE="",e.SHARE="󨃱"})(Ko||(Ko={}));var _;(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=""})(_||(_={}));var _v=new Map([...["abw"].map(e=>[e,_.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,_.AUDIO]),...["avi"].map(e=>[e,_.AVI]),...["chm","xhs"].map(e=>[e,_.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,_.CODE]),...["csv"].map(e=>[e,_.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,_.DITA]),...["epub"].map(e=>[e,_.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,_.EXCEL]),...["flac"].map(e=>[e,_.FLAC]),...["gif"].map(e=>[e,_.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,_.GZIP]),...["html","htm","xhtml"].map(e=>[e,_.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,_.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,_.JPEG]),...["json"].map(e=>[e,_.JSON]),...["m4a","m4p"].map(e=>[e,_.M4A]),...["mov","qt"].map(e=>[e,_.MOV]),...["mp3"].map(e=>[e,_.MP3]),...["mp4","m4v"].map(e=>[e,_.MP4]),...["ogg","oga"].map(e=>[e,_.OGG]),...["pdf","ps"].map(e=>[e,_.PDF]),...["png"].map(e=>[e,_.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,_.POWERPOINT]),...["rar"].map(e=>[e,_.RAR]),...["stp"].map(e=>[e,_.STP]),...["txt","rtf","md","mdown"].map(e=>[e,_.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,_.VIDEO]),...["wav"].map(e=>[e,_.WAV]),...["wma"].map(e=>[e,_.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,_.WORD]),...["xml","xsl","rdf"].map(e=>[e,_.XML]),...["yaml","yml","x-yaml"].map(e=>[e,_.YAML]),...["zip"].map(e=>[e,_.ZIP])]);var Lv={[_.ABW]:"#91ABC6",[_.AUDIO]:"#1795E3",[_.AVI]:"#E63324",[_.CHM]:"#71C3EB",[_.CODE]:"#71C3EB",[_.CSV]:"#1F7345",[_.DITA]:"#71C3EB",[_.EPUB]:"#85B926",[_.EXCEL]:"#1F7345",[_.FLAC]:"#1795E3",[_.GIF]:"#59B031",[_.GZIP]:"#F8AB36",[_.HTML]:"#71C3EB",[_.IMAGE]:"#59B031",[_.JPEG]:"#59B031",[_.JSON]:"#71C3EB",[_.M4A]:"#1795E3",[_.MOV]:"#E63324",[_.MP3]:"#1795E3",[_.MP4]:"#E63324",[_.OGG]:"#1795E3",[_.PDF]:"#E44948",[_.PNG]:"#59B031",[_.POWERPOINT]:"#B54A2B",[_.RAR]:"#F8AB36",[_.STP]:"#3764B1",[_.TEXT]:"#3162AB",[_.UNKNOWN]:"#999999",[_.VIDEO]:"#E63324",[_.WAV]:"#1795E3",[_.WMA]:"#1795E3",[_.WORD]:"#3162AB",[_.XML]:"#71C3EB",[_.YAML]:"#71C3EB",[_.ZIP]:"#F8AB36"};var Wt;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(Wt||(Wt={}));var Zo=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},St=class extends K{constructor(){super(...arguments),this.resolvedIcon=Z}render(){let t=this.variant&&Object.values(Wt).includes(this.variant)?this.variant:Wt.fluid_topics,o=t!==Wt.material||!!this.value;return q`
|
|
586
587
|
<i class="ft-icon ft-icon--${t}" part="icon icon-${t}">
|
|
587
|
-
${
|
|
588
|
+
${wn(this.resolvedIcon)}
|
|
588
589
|
<slot ?hidden=${o}></slot>
|
|
589
590
|
</i>
|
|
590
|
-
`}get textContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(t){super.update(t),["value","variant"].some(o=>t.has(o))&&this.resolveIcon()}resolveIcon(){var t,o;let n=this.value||this.textContent;switch(this.variant){case Wt.file_format:this.resolvedIcon=(t=_[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case Wt.material:this.resolvedIcon=this.value||
|
|
591
|
+
`}get textContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(t){super.update(t),["value","variant"].some(o=>t.has(o))&&this.resolveIcon()}resolveIcon(){var t,o;let n=this.value||this.textContent;switch(this.variant){case Wt.file_format:this.resolvedIcon=(t=_[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case Wt.material:this.resolvedIcon=this.value||Z;break;default:this.resolvedIcon=(o=Ko[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};St.elementDefinitions={};St.styles=Al;Zo([A()],St.prototype,"variant",void 0);Zo([A()],St.prototype,"value",void 0);Zo([st()],St.prototype,"resolvedIcon",void 0);Zo([pt("slot")],St.prototype,"slottedContent",void 0);ot("ft-icon")(St);var De=class extends K{render(){return q`
|
|
591
592
|
<div class="ft-loader">
|
|
592
593
|
<div></div>
|
|
593
594
|
<div></div>
|
|
594
595
|
<div></div>
|
|
595
596
|
<div></div>
|
|
596
597
|
</div>
|
|
597
|
-
`}};
|
|
598
|
+
`}};De.styles=wl;ot("ft-loader")(De);var lt=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Q=class extends ya(K,"button"){get buttonClasses(){return{}}get typographyVariant(){return""}constructor(){super(),this.href=void 0,this.target=void 0,this.role="button",this.type="button",this.disabled=!1,this.label="",this.icon=void 0,this.trailingIcon=!1,this.loading=!1,this.ariaLabel=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.addEventListener("click",t=>{var o;this.isDisabled()?(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()):this.type=="submit"&&((o=this.form)===null||o===void 0||o.requestSubmit())})}render(){var t,o,n;let i=q`
|
|
599
|
+
<ft-ripple part="ripple" ?disabled=${this.isDisabled()}></ft-ripple>
|
|
600
|
+
<ft-typography part="label"
|
|
601
|
+
variant=${this.typographyVariant}
|
|
602
|
+
element="span"
|
|
603
|
+
class="ft-button--label ${Oa?"ft-safari-ellipsis-fix":""}"
|
|
604
|
+
?hidden=${!this.hasTextContent()}>
|
|
605
|
+
<slot @slotchange=${this.onSlotchange}></slot>
|
|
606
|
+
</ft-typography>
|
|
607
|
+
${this.resolveIcon()}
|
|
608
|
+
`,a=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(a?q`
|
|
609
|
+
<a href="${a}"
|
|
610
|
+
target="${(t=this.target)!==null&&t!==void 0?t:"_self"}"
|
|
611
|
+
part="button"
|
|
612
|
+
class="${je(this.buttonClasses)}"
|
|
613
|
+
aria-label="${(o=this.ariaLabel)!==null&&o!==void 0?o:this.getLabel()}"
|
|
614
|
+
?disabled=${this.isDisabled()}>
|
|
615
|
+
${i}
|
|
616
|
+
</a>
|
|
617
|
+
`:q`
|
|
598
618
|
<button part="button"
|
|
599
|
-
class="${
|
|
600
|
-
aria-label="${(
|
|
619
|
+
class="${je(this.buttonClasses)}"
|
|
620
|
+
aria-label="${(n=this.ariaLabel)!==null&&n!==void 0?n:this.getLabel()}"
|
|
601
621
|
?disabled=${this.isDisabled()}>
|
|
602
|
-
|
|
603
|
-
<ft-typography part="label"
|
|
604
|
-
variant=${this.typographyVariant}
|
|
605
|
-
element="span"
|
|
606
|
-
class="ft-button--label ${vi?"ft-safari-ellipsis-fix":""}"
|
|
607
|
-
?hidden=${!this.hasTextContent()}>
|
|
608
|
-
<slot @slotchange=${this.onSlotchange}></slot>
|
|
609
|
-
</ft-typography>
|
|
610
|
-
${this.resolveIcon()}
|
|
622
|
+
${i}
|
|
611
623
|
</button>
|
|
612
|
-
`)}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)?q`
|
|
613
625
|
<ft-tooltip part="tooltip"
|
|
614
626
|
text="${this.getLabel()}"
|
|
615
627
|
position="${this.tooltipPosition}">
|
|
616
628
|
${t}
|
|
617
629
|
</ft-tooltip>
|
|
618
|
-
`:t}resolveIcon(){return this.loading?
|
|
619
|
-
<ft-loader part="loader icon"></ft-loader> `:this.icon?
|
|
630
|
+
`:t}resolveIcon(){return this.loading?q`
|
|
631
|
+
<ft-loader part="loader icon"></ft-loader> `:this.icon?q`
|
|
620
632
|
<ft-icon part="icon" .variant="${this.iconVariant}" .value="${this.icon}"></ft-icon>
|
|
621
|
-
`:
|
|
633
|
+
`:q`
|
|
622
634
|
<slot part="icon" name="icon"></slot>
|
|
623
|
-
`}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}getLabel(){return this.label||this.textContent}get textContent(){return
|
|
635
|
+
`}focus(){var t;(t=this.button)===null||t===void 0||t.focus()}click(){var t;(t=this.button)===null||t===void 0||t.click()}getLabel(){return this.label||this.textContent}get textContent(){return Ro(this.slottedContent).trim()}hasTextContent(){return this.textContent.length>0}onSlotchange(){this.requestUpdate()}isDisabled(){return this.disabled||this.loading}};Q.elementDefinitions={"ft-ripple":tt,"ft-tooltip":J,"ft-typography":At,"ft-icon":St,"ft-loader":De};lt([A()],Q.prototype,"href",void 0);lt([A()],Q.prototype,"target",void 0);lt([A({type:String,reflect:!0})],Q.prototype,"role",void 0);lt([A()],Q.prototype,"type",void 0);lt([A({type:Boolean})],Q.prototype,"disabled",void 0);lt([A()],Q.prototype,"label",void 0);lt([A()],Q.prototype,"icon",void 0);lt([A()],Q.prototype,"iconVariant",void 0);lt([A({type:Boolean})],Q.prototype,"trailingIcon",void 0);lt([A({type:Boolean})],Q.prototype,"loading",void 0);lt([A({attribute:"aria-label"})],Q.prototype,"ariaLabel",void 0);lt([A()],Q.prototype,"tooltipPosition",void 0);lt([A({type:Boolean})],Q.prototype,"hideTooltip",void 0);lt([A({type:Boolean})],Q.prototype,"forceTooltip",void 0);lt([pt(".ft-button")],Q.prototype,"button",void 0);lt([pt(".ft-button--label slot")],Q.prototype,"slottedContent",void 0);var qo=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Rt=class extends Q{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=[jr,_l];qo([A({type:Boolean})],Rt.prototype,"primary",void 0);qo([A({type:Boolean})],Rt.prototype,"outlined",void 0);qo([A({type:Boolean})],Rt.prototype,"dense",void 0);qo([A({type:Boolean})],Rt.prototype,"round",void 0);var kl=[D`
|
|
624
636
|
:host {
|
|
625
637
|
display: inline-block;
|
|
626
638
|
max-width: 100%;
|
|
@@ -629,22 +641,23 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
629
641
|
|
|
630
642
|
/** Remove default button styles **/
|
|
631
643
|
|
|
632
|
-
button {
|
|
644
|
+
.ft-button {
|
|
633
645
|
box-shadow: 0 0 0 transparent;
|
|
634
646
|
border: 0 solid transparent;
|
|
635
647
|
text-shadow: 0 0 0 transparent;
|
|
648
|
+
text-decoration: none;
|
|
636
649
|
}
|
|
637
650
|
|
|
638
|
-
button:hover {
|
|
651
|
+
.ft-button:hover {
|
|
639
652
|
box-shadow: 0 0 0 transparent;
|
|
640
653
|
text-shadow: 0 0 0 transparent;
|
|
641
654
|
}
|
|
642
655
|
|
|
643
|
-
button:active {
|
|
656
|
+
.ft-button:active {
|
|
644
657
|
outline: none;
|
|
645
658
|
}
|
|
646
659
|
|
|
647
|
-
button:focus {
|
|
660
|
+
.ft-button:focus {
|
|
648
661
|
outline: 0;
|
|
649
662
|
}
|
|
650
663
|
|
|
@@ -704,7 +717,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
704
717
|
/** Brand Primary styles **/
|
|
705
718
|
|
|
706
719
|
.ftds--family-brand.ft-button--primary {
|
|
707
|
-
${w(
|
|
720
|
+
${w(X.color,g.primaryBrandIconColor)};
|
|
708
721
|
|
|
709
722
|
${w(R.color,g.primaryBrandStateLayerColor)};
|
|
710
723
|
${w(R.opacityContentOnSurfaceHover,g.primaryBrandHoverStateLayerOpacity)};
|
|
@@ -728,7 +741,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
728
741
|
/** Brand Secondary styles **/
|
|
729
742
|
|
|
730
743
|
.ftds--family-brand.ft-button--secondary {
|
|
731
|
-
${w(
|
|
744
|
+
${w(X.color,g.secondaryBrandIconColor)};
|
|
732
745
|
|
|
733
746
|
${w(R.color,g.secondaryBrandStateLayerColor)};
|
|
734
747
|
${w(R.opacityContentOnSurfaceHover,g.secondaryBrandHoverStateLayerOpacity)};
|
|
@@ -753,7 +766,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
753
766
|
/** Brand Tertiary styles **/
|
|
754
767
|
|
|
755
768
|
.ftds--family-brand.ft-button--tertiary {
|
|
756
|
-
${w(
|
|
769
|
+
${w(X.color,g.tertiaryBrandIconColor)};
|
|
757
770
|
|
|
758
771
|
${w(R.color,g.tertiaryBrandStateLayerColor)};
|
|
759
772
|
${w(R.opacityContentOnSurfaceHover,g.tertiaryBrandHoverStateLayerOpacity)};
|
|
@@ -777,7 +790,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
777
790
|
/** Neutral Secondary styles **/
|
|
778
791
|
|
|
779
792
|
.ftds--family-neutral.ft-button--secondary {
|
|
780
|
-
${w(
|
|
793
|
+
${w(X.color,g.secondaryNeutralIconColor)};
|
|
781
794
|
|
|
782
795
|
${w(R.backgroundColor,g.secondaryNeutralStateLayerColor)};
|
|
783
796
|
${w(R.opacityContentOnSurfaceHover,g.secondaryNeutralHoverStateLayerOpacity)};
|
|
@@ -802,7 +815,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
802
815
|
/** Neutral Tertiary styles **/
|
|
803
816
|
|
|
804
817
|
.ftds--family-neutral.ft-button--tertiary {
|
|
805
|
-
${w(
|
|
818
|
+
${w(X.color,g.tertiaryNeutralIconColor)};
|
|
806
819
|
|
|
807
820
|
${w(R.backgroundColor,g.tertiaryNeutralStateLayerColor)};
|
|
808
821
|
${w(R.opacityContentOnSurfaceHover,g.tertiaryNeutralHoverStateLayerOpacity)};
|
|
@@ -826,7 +839,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
826
839
|
/** Info Secondary styles **/
|
|
827
840
|
|
|
828
841
|
.ftds--family-info.ft-button--secondary {
|
|
829
|
-
${w(
|
|
842
|
+
${w(X.color,g.secondaryInfoIconColor)};
|
|
830
843
|
|
|
831
844
|
${w(R.backgroundColor,g.secondaryInfoStateLayerColor)};
|
|
832
845
|
${w(R.opacityContentOnSurfaceHover,g.secondaryInfoHoverStateLayerOpacity)};
|
|
@@ -851,7 +864,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
851
864
|
/** Info Tertiary styles **/
|
|
852
865
|
|
|
853
866
|
.ftds--family-info.ft-button--tertiary {
|
|
854
|
-
${w(
|
|
867
|
+
${w(X.color,g.tertiaryInfoIconColor)};
|
|
855
868
|
|
|
856
869
|
${w(R.backgroundColor,g.tertiaryInfoStateLayerColor)};
|
|
857
870
|
${w(R.opacityContentOnSurfaceHover,g.tertiaryInfoHoverStateLayerOpacity)};
|
|
@@ -875,7 +888,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
875
888
|
/** Success Secondary styles **/
|
|
876
889
|
|
|
877
890
|
.ftds--family-success.ft-button--secondary {
|
|
878
|
-
${w(
|
|
891
|
+
${w(X.color,g.secondarySuccessIconColor)};
|
|
879
892
|
|
|
880
893
|
${w(R.backgroundColor,g.secondarySuccessStateLayerColor)};
|
|
881
894
|
${w(R.opacityContentOnSurfaceHover,g.secondarySuccessHoverStateLayerOpacity)};
|
|
@@ -900,7 +913,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
900
913
|
/** Success Tertiary styles **/
|
|
901
914
|
|
|
902
915
|
.ftds--family-success.ft-button--tertiary {
|
|
903
|
-
${w(
|
|
916
|
+
${w(X.color,g.tertiarySuccessIconColor)};
|
|
904
917
|
|
|
905
918
|
${w(R.backgroundColor,g.tertiarySuccessStateLayerColor)};
|
|
906
919
|
${w(R.opacityContentOnSurfaceHover,g.tertiarySuccessHoverStateLayerOpacity)};
|
|
@@ -924,7 +937,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
924
937
|
/** Warning Secondary styles **/
|
|
925
938
|
|
|
926
939
|
.ftds--family-warning.ft-button--secondary {
|
|
927
|
-
${w(
|
|
940
|
+
${w(X.color,g.secondaryWarningIconColor)};
|
|
928
941
|
|
|
929
942
|
${w(R.backgroundColor,g.secondaryWarningStateLayerColor)};
|
|
930
943
|
${w(R.opacityContentOnSurfaceHover,g.secondaryWarningHoverStateLayerOpacity)};
|
|
@@ -949,7 +962,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
949
962
|
/** Warning Tertiary styles **/
|
|
950
963
|
|
|
951
964
|
.ftds--family-warning.ft-button--tertiary {
|
|
952
|
-
${w(
|
|
965
|
+
${w(X.color,g.tertiaryWarningIconColor)};
|
|
953
966
|
|
|
954
967
|
${w(R.backgroundColor,g.tertiaryWarningStateLayerColor)};
|
|
955
968
|
${w(R.opacityContentOnSurfaceHover,g.tertiaryWarningHoverStateLayerOpacity)};
|
|
@@ -973,7 +986,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
973
986
|
/** Error Secondary styles **/
|
|
974
987
|
|
|
975
988
|
.ftds--family-error.ft-button--secondary {
|
|
976
|
-
${w(
|
|
989
|
+
${w(X.color,g.secondaryErrorIconColor)};
|
|
977
990
|
|
|
978
991
|
${w(R.backgroundColor,g.secondaryErrorStateLayerColor)};
|
|
979
992
|
${w(R.opacityContentOnSurfaceHover,g.secondaryErrorHoverStateLayerOpacity)};
|
|
@@ -998,7 +1011,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
998
1011
|
/** Error Tertiary styles **/
|
|
999
1012
|
|
|
1000
1013
|
.ftds--family-error.ft-button--tertiary {
|
|
1001
|
-
${w(
|
|
1014
|
+
${w(X.color,g.tertiaryErrorIconColor)};
|
|
1002
1015
|
|
|
1003
1016
|
${w(R.backgroundColor,g.tertiaryErrorStateLayerColor)};
|
|
1004
1017
|
${w(R.opacityContentOnSurfaceHover,g.tertiaryErrorHoverStateLayerOpacity)};
|
|
@@ -1022,8 +1035,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1022
1035
|
/** Large styles **/
|
|
1023
1036
|
|
|
1024
1037
|
.ftds--size-large {
|
|
1025
|
-
${w(
|
|
1026
|
-
${w(
|
|
1038
|
+
${w(ut.size,g.largeIconSize)};
|
|
1039
|
+
${w(X.size,g.largeIconSize)};
|
|
1027
1040
|
|
|
1028
1041
|
height: ${g.largeHeight};
|
|
1029
1042
|
padding: 0 ${g.largeHorizontalPadding};
|
|
@@ -1044,8 +1057,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1044
1057
|
/** Small styles **/
|
|
1045
1058
|
|
|
1046
1059
|
.ftds--size-medium {
|
|
1047
|
-
${w(
|
|
1048
|
-
${w(
|
|
1060
|
+
${w(ut.size,g.mediumIconSize)};
|
|
1061
|
+
${w(X.size,g.mediumIconSize)};
|
|
1049
1062
|
|
|
1050
1063
|
height: ${g.mediumHeight};
|
|
1051
1064
|
padding: 0 ${g.mediumHorizontalPadding};
|
|
@@ -1067,8 +1080,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1067
1080
|
/** Small styles **/
|
|
1068
1081
|
|
|
1069
1082
|
.ftds--size-small {
|
|
1070
|
-
${w(
|
|
1071
|
-
${w(
|
|
1083
|
+
${w(ut.size,g.smallIconSize)};
|
|
1084
|
+
${w(X.size,g.smallIconSize)};
|
|
1072
1085
|
|
|
1073
1086
|
height: ${g.smallHeight};
|
|
1074
1087
|
padding: 0 ${g.smallHorizontalPadding};
|
|
@@ -1085,7 +1098,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1085
1098
|
.ftds--size-small.ft-button--icon-only {
|
|
1086
1099
|
width: ${g.smallIconOnlyWidth};
|
|
1087
1100
|
}
|
|
1088
|
-
`,
|
|
1101
|
+
`,zr];var Yo=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Jt=class extends $o(Q){constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.tertiary=!1,this.round=!1,this.family=Ne.brand,this.iconVariant=Wt.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 Gt.large:return ue.body2medium;case Gt.medium:return ue.caption1medium;case Gt.small:return ue.caption2medium}}};Jt.styles=[jr,kl];Yo([A({type:Boolean})],Jt.prototype,"primary",void 0);Yo([A({type:Boolean})],Jt.prototype,"secondary",void 0);Yo([A({type:Boolean})],Jt.prototype,"tertiary",void 0);Yo([A({type:Boolean})],Jt.prototype,"round",void 0);ot("ft-button")(Rt);ot("ftds-button")(Jt);var Nt={spacing:r.create("--ft-copy-block-spacing","","SIZE","12px 48px 12px 12px"),borderRadius:r.extend("--ft-copy-block-border-radius","",V.borderRadiusS),borderStyle:r.create("--ft-copy-block-border-style","","BORDER-STYLE","solid"),borderColor:r.extend("--ft-copy-block-border-color","",V.colorOutline),borderWidth:r.create("--ft-copy-block-border-width","","SIZE","1px"),backgroundColor:r.extend("--ft-copy-block-background-color","",V.colorSurface),buttonHeight:r.create("--ft-copy-block-button-height","","SIZE","unset")},Dl=D`
|
|
1089
1102
|
:host {
|
|
1090
1103
|
display: block;
|
|
1091
1104
|
}
|
|
@@ -1128,29 +1141,29 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
|
|
|
1128
1141
|
height: ${Nt.buttonHeight}
|
|
1129
1142
|
}
|
|
1130
1143
|
|
|
1131
|
-
`;var
|
|
1132
|
-
`;var
|
|
1133
|
-
`;var
|
|
1144
|
+
`;var Ml=D`
|
|
1145
|
+
`;var Ul=D`
|
|
1146
|
+
`;var Iu="ft-app-info",Aa=class extends CustomEvent{constructor(t){super("authentication-change",{detail:t})}},$u={session:(e,t)=>{Ct(e.session,t.payload)||(e.session=t.payload,setTimeout(()=>B.dispatchEvent(new Aa(t.payload)),0))}},B=ke.get({name:Iu,reducers:$u,initialState:{baseUrl:void 0,apiIntegrationIdentifier:void 0,uiLocale:document.documentElement.lang||"en-US",availableUiLocales:[],defaultLocales:void 0,searchInAllLanguagesAllowed:!1,metadataConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1}});var Me=class e{static get(t){let{baseUrl:o,apiIntegrationIdentifier:n}=B.getState(),i=t??n;if(o&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(o,i,!0)}static await(t){return new Promise(o=>{let n=e.get(t);if(n)o(n);else{let i=B.subscribe(()=>{n=e.get(t),n&&(i(),o(n))})}})}};var fe=class{constructor(t=!0,o){var n;this.overrideApi=o;let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new It,this.cache=t?i.commonCache:new It}get api(){var t;return(t=this.overrideApi)!==null&&t!==void 0?t:Me.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):Me.await()}clearCache(){this.cache.clearAll()}};var Bl,ku=Symbol("clearAfterUnitTest"),Xo=class extends fe{constructor(t){super(),this.messageContextProvider=t,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[Bl]=()=>{this.defaultMessages={},this.cache=new It,this.listeners={}},this.currentUiLocale=B.getState().uiLocale,B.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:t}=B.getState();this.currentUiLocale!==t&&(this.currentUiLocale=t,this.cache.clearAll(),this.notifyAll())}addContext(t){let o=t.name.toLowerCase();this.cache.setFinal(o,t),this.notify(o)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(t,o){var n;if(t=t.toLowerCase(),Object.keys(o).length>0){let i={...(n=this.defaultMessages[t])!==null&&n!==void 0?n:{},...o};Ct(this.defaultMessages[t],i)||(this.defaultMessages[t]=i,await this.notify(t))}await this.fetchContext(t)}resolveContext(t){var o,n;return this.fetchContext(t),(n=(o=this.cache.getNow(t))===null||o===void 0?void 0:o.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(t,o){let n=t.toLowerCase();return this.resolveContext(n)[o]}resolveMessage(t,o,...n){var i;let a=t.toLowerCase(),s=this.resolveContext(a);return new Vr((i=this.defaultMessages[a])!==null&&i!==void 0?i:{},s).resolve(o,...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(o){console.error(o)}}subscribe(t,o){var n;return t=t.toLowerCase(),this.listeners[t]=(n=this.listeners[t])!==null&&n!==void 0?n:new Set,this.listeners[t].add(o),()=>{var i;return(i=this.listeners[t])===null||i===void 0?void 0:i.delete(o)}}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(o=>Ao(0).then(()=>o()).catch(()=>null)))}};Bl=ku;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends Xo{constructor(){super(async(e,t)=>(await this.awaitApi).getFluidTopicsMessageContext(e,t))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends Xo{constructor(){super(async(e,t)=>(await this.awaitApi).getCustomMessageContext(e,t))}});var Ue=window.FluidTopicsI18nService,Fl=window.FluidTopicsCustomI18nService;var dt=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},et=class extends K{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.apiProvider=()=>Me.get(),this.messageContexts=[],this.cache=new It,this.cleanSessionDebouncer=new gt}render(){return q`
|
|
1134
1147
|
<slot></slot>
|
|
1135
|
-
`}update(t){super.update(t),t.has("baseUrl")&&(
|
|
1148
|
+
`}update(t){var o,n,i,a,s;super.update(t),t.has("baseUrl")&&(B.actions.baseUrl(this.baseUrl),window.fluidTopicsBaseUrl=this.baseUrl),t.has("apiIntegrationIdentifier")&&B.actions.apiIntegrationIdentifier(this.apiIntegrationIdentifier),t.has("uiLocale")&&B.actions.uiLocale(this.uiLocale),t.has("metadataConfiguration")&&B.actions.metadataConfiguration(this.metadataConfiguration),t.has("noCustom")&&B.actions.noCustom(this.noCustom),t.has("editorMode")&&B.actions.editorMode(this.editorMode),t.has("noCustomComponent")&&B.actions.noCustomComponent(this.noCustomComponent),t.has("session")&&B.actions.session(this.session),t.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(l=>Ue.addContext(l)),t.has("openExternalDocumentInNewTab")&&B.actions.openExternalDocumentInNewTab(this.openExternalDocumentInNewTab),t.has("navigatorOnline")&&B.actions.navigatorOnline(this.navigatorOnline),t.has("forcedOffline")&&B.actions.forcedOffline(this.forcedOffline),t.has("localesConfiguration")&&(B.actions.defaultLocales((o=this.localesConfiguration)===null||o===void 0?void 0:o.defaultLocales),B.actions.availableUiLocales((i=(n=this.localesConfiguration)===null||n===void 0?void 0:n.availableUiLocales)!==null&&i!==void 0?i:[]),B.actions.searchInAllLanguagesAllowed((s=(a=this.localesConfiguration)===null||a===void 0?void 0:a.allLanguagesAllowed)!==null&&s!==void 0?s:!1)),setTimeout(()=>this.updateIfNeeded())}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.session==null&&this.updateSession(),this.metadataConfiguration==null&&this.updateMetadataConfiguration()),this.localesConfiguration==null&&this.updateLocalesConfiguration())}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 updateMetadataConfiguration(){this.metadataConfiguration=await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration())}async updateLocalesConfiguration(){this.localesConfiguration=await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration())}};et.elementDefinitions={};et.styles=Ul;dt([A()],et.prototype,"baseUrl",void 0);dt([A()],et.prototype,"apiIntegrationIdentifier",void 0);dt([A()],et.prototype,"uiLocale",void 0);dt([$t(null)],et.prototype,"availableUiLocales",void 0);dt([$t(null)],et.prototype,"metadataConfiguration",void 0);dt([A({type:Boolean})],et.prototype,"editorMode",void 0);dt([A({type:Boolean})],et.prototype,"noCustom",void 0);dt([A({type:Boolean})],et.prototype,"openExternalDocumentInNewTab",void 0);dt([A({converter:{fromAttribute(e){return e==="false"?!1:e==="true"||(e??!1)}}})],et.prototype,"noCustomComponent",void 0);dt([A({type:Boolean})],et.prototype,"withManualResources",void 0);dt([A({type:Boolean})],et.prototype,"navigatorOnline",void 0);dt([A({type:Boolean})],et.prototype,"forcedOffline",void 0);dt([A({type:Object})],et.prototype,"apiProvider",void 0);dt([$t([])],et.prototype,"messageContexts",void 0);dt([$t(void 0)],et.prototype,"session",void 0);dt([st()],et.prototype,"localesConfiguration",void 0);var Jo=class extends fe{async listMySearches(){let t=B.getState().session;return t?.sessionAuthenticated?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(t.profile.userId),5*60*1e3):[]}};var Qo=class extends fe{async listMyBookmarks(){let t=B.getState().session;return t?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(t.profile.userId),5*60*1e3):[]}};var Du="ft-user-assets",tn=ke.get({name:Du,initialState:{savedSearches:void 0,bookmarks:void 0}}),Ra=class{constructor(){this.currentSession=B.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new Qo,this.savedSearchesService=new Jo,B.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var t;let{session:o}=B.getState();Ct((t=this.currentSession)===null||t===void 0?void 0:t.profile,o?.profile)||(this.currentSession=o,this.clearMySearches(),this.reloadBookmarks())}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),tn.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),tn.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let t=await this.savedSearchesService.listMySearches();tn.actions.savedSearches(t)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var t;if(this.bookmarksAreUsed){let o=!((t=this.currentSession)===null||t===void 0)&&t.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;tn.actions.bookmarks(o)}}},$O=new Ra;var Na=class{addCommand(t,o=!1){B.commands.add(t,o)}consumeCommand(t){return B.commands.consume(t)}};window.FluidTopicsAppInfoStoreService=new Na;var _a=class{highlightHtml(t,o,n){$i(t,o,n)}};window.FluidTopicsHighlightHtmlService=new _a;var La=class{isDate(t){var o,n,i,a;return(a=(i=((n=(o=B.getState().metadataConfiguration)===null||o===void 0?void 0:o.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,o){var n,i,a;return or.format(t,(n=o?.locale)!==null&&n!==void 0?n:B.getState().uiLocale,(i=o?.longFormat)!==null&&i!==void 0?i:!1,(a=o?.withTime)!==null&&a!==void 0?a:!1)}};window.FluidTopicsDateService=new La;ot("ft-app-context")(et);var Mu=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Pa=Symbol("i18nAttributes"),Ta=Symbol("i18nListAttributes"),en=Symbol("i18nProperties"),Jr=Symbol("i18nUnsubs");function Wl(e){var t;class o extends e{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[t]=new Map}get i18nService(){return this.useCustomMessageContexts?Fl:Ue}i18n(i,a,...s){var l;if(typeof i=="string")return this.i18nService.resolveMessage(i,a,...s);let d=(l=i.args)!==null&&l!==void 0?l:i.argsProvider?i.argsProvider(this):[];return this.i18nService.resolveMessage(i.context,i.key,...d)}onI18nUpdate(i){var a,s,l;(a=this[Pa])===null||a===void 0||a.forEach((d,p)=>{let f=this.getI18nAttributeValue(p);f&&(this[p]=this.getI18nAttributeMessage(f,d,i))}),(s=this[Ta])===null||s===void 0||s.forEach((d,p)=>{let f=this.getI18nListAttributeValues(p);this[p]=f?.map(h=>this.getI18nAttributeMessage(h,d,i))}),(l=this[en])===null||l===void 0||l.forEach((d,p)=>{d.context.toLowerCase()===i.toLowerCase()&&(this[p]=this.i18n(d))}),setTimeout(()=>this.requestUpdate(),0)}buildI18nAttributeMessage(i,a){return{...i,message:this.i18n({context:i.context,key:i.key,...a})}}getI18nAttributeMessage(i,a,s){var l;let d=!s||((l=i.context)===null||l===void 0?void 0:l.toLowerCase())===s.toLowerCase();return i.context&&i.key&&d?this.buildI18nAttributeMessage(i,a):i}update(i){var a,s,l;super.update(i),(a=this[Pa])===null||a===void 0||a.forEach((d,p)=>{let f=this.getI18nAttributeValue(p);f?.context&&f.key&&(i.has(p)||d.argsProvider!=null)&&(this.addI18nContextIfNeeded(f,i,p),this[p]=this.getI18nAttributeMessage(f,d))}),(s=this[Ta])===null||s===void 0||s.forEach((d,p)=>{let f=this.getI18nListAttributeValues(p);(i.has(p)||d.argsProvider!=null)&&(this[p]=f?.map(h=>(this.addI18nContextIfNeeded(h,i,p),this.getI18nAttributeMessage(h,d))))}),(l=this[en])===null||l===void 0||l.forEach((d,p)=>{d.argsProvider!=null&&(this[p]=this.i18n(d))})}getI18nAttributeValue(i){return this[i]}getI18nListAttributeValues(i){return this[i]}addI18nContextIfNeeded(i,a,s){i.context&&i.key&&a.has(s)&&this.addI18nContext(i.context)}connectedCallback(){var i,a,s,l,d,p;super.connectedCallback(),new Set([...(a=(i=this[en])===null||i===void 0?void 0:i.values())!==null&&a!==void 0?a:[],...[...(l=(s=this[Pa])===null||s===void 0?void 0:s.keys())!==null&&l!==void 0?l:[]].map(f=>this.getI18nAttributeValue(f)),...[...(p=(d=this[Ta])===null||d===void 0?void 0:d.keys())!==null&&p!==void 0?p:[]].flatMap(f=>this.getI18nListAttributeValues(f))].map(f=>f?.context)).forEach(f=>f&&this.addI18nMessages(f))}addI18nMessages(i,a){i=i.toLowerCase(),this[Jr].has(i)||this[Jr].set(i,this.i18nService.subscribe(i,()=>this.onI18nUpdate(i))),this.i18nService.prepareContext(i,a??{}),this.onI18nUpdate(i)}addI18nContext(i,a){this.addI18nMessages(typeof i=="string"?i:i.name,a)}disconnectedCallback(){super.disconnectedCallback(),this[Jr].forEach(i=>i()),this[Jr].clear()}}return t=Jr,Mu([A({type:Boolean})],o.prototype,"useCustomMessageContexts",void 0),o}var rn=class extends Wl(K){},on=class extends Wl(ie){};var Qr=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},_t=class extends on{constructor(){super(),this.editorMode=!1,this.addStore(B)}render(){return!this.key||!this.context?this.editorMode?"Select a context and a label key.":Z:q`
|
|
1136
1149
|
<span class="ft-i18n">
|
|
1137
1150
|
${this.i18n(this.context,this.key,...Array.isArray(this.args)?this.args:[])}
|
|
1138
1151
|
</span>
|
|
1139
|
-
`}update(t){var o;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};_t.elementDefinitions={};_t.styles=
|
|
1152
|
+
`}update(t){var o;super.update(t),["context","key","defaultMessage"].some(n=>t.has(n))&&this.context&&this.key&&this.addI18nMessages(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};_t.elementDefinitions={};_t.styles=Ml;Qr([ko()],_t.prototype,"editorMode",void 0);Qr([A()],_t.prototype,"context",void 0);Qr([A()],_t.prototype,"key",void 0);Qr([$t([])],_t.prototype,"args",void 0);Qr([A()],_t.prototype,"defaultMessage",void 0);var nn=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:(o,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:(o,n)=>(...i)=>Ue.resolveMessage(this.name,n,...i)}),this.rawMessages=new Proxy({},{get:(o,n)=>Ue.resolveRawMessage(this.name,n)})}};ot("ft-i18n")(_t);var to=nn.build("copyBlockComponent"),Hl={tooltipMessage:"Copy to clipboard",copySuccessMessage:"Copied!"};var Uu=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Be=class extends rn{constructor(){super(),this.addI18nContext(to,Hl)}render(){return q`
|
|
1140
1153
|
<div part="container">
|
|
1141
|
-
${navigator.clipboard?
|
|
1154
|
+
${navigator.clipboard?q`
|
|
1142
1155
|
<div part="button-container">
|
|
1143
|
-
<ft-tooltip part="tooltip" text=${
|
|
1156
|
+
<ft-tooltip part="tooltip" text=${to.messages.tooltipMessage()} position="bottom" exportpartsPrefix="tooltip">
|
|
1144
1157
|
<ft-button icon="CLONE" part="button" exportpartsPrefix="button" @click=${this.copyContents}></ft-button>
|
|
1145
1158
|
</ft-tooltip>
|
|
1146
1159
|
</div>
|
|
1147
|
-
`:
|
|
1160
|
+
`:Z}
|
|
1148
1161
|
|
|
1149
1162
|
<div part="content">
|
|
1150
1163
|
<slot></slot>
|
|
1151
1164
|
</div>
|
|
1152
1165
|
</div>
|
|
1153
|
-
`}async copyContents(){try{await navigator.clipboard.writeText(this.shadowRoot.host.innerText),this.tooltip.manual=!0,this.tooltip.text=
|
|
1166
|
+
`}async copyContents(){try{await navigator.clipboard.writeText(this.shadowRoot.host.innerText),this.tooltip.manual=!0,this.tooltip.text=to.messages.copySuccessMessage(),await this.tooltip.show(1e3),this.tooltip.text=to.messages.tooltipMessage(),this.tooltip.manual=!1}catch{console.log("Failed to copy to clipboard")}}};Be.elementDefinitions={"ft-button":Rt,"ft-tooltip":J};Be.styles=Dl;Uu([pt("[part='tooltip']")],Be.prototype,"tooltip",void 0);ot("ft-copy-block")(Be);})();
|
|
1154
1167
|
/*! Bundled license information:
|
|
1155
1168
|
|
|
1156
1169
|
@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js:
|