@fluid-topics/ft-infinite-scroll 1.1.69 → 1.1.71
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-infinite-scroll.light.js +12 -12
- package/build/ft-infinite-scroll.min.js +193 -135
- package/package.json +3 -3
|
@@ -1,5 +1,91 @@
|
|
|
1
|
-
!function(t){
|
|
2
|
-
|
|
1
|
+
"use strict";(()=>{var _a=Object.defineProperty;var P=(o,e)=>{for(var t in e)_a(o,t,{get:e[t],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let o=window.HTMLElement,e=window.customElements.define,t=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(x,b){if(x=x.toLowerCase(),this._getDefinition(x)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${x}" has already been used with this registry`);if(this._definitionsByClass.get(b)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let S=b.prototype.attributeChangedCallback,N=new Set(b.observedAttributes||[]);m(b,N,S);let I={elementClass:b,connectedCallback:b.prototype.connectedCallback,disconnectedCallback:b.prototype.disconnectedCallback,adoptedCallback:b.prototype.adoptedCallback,attributeChangedCallback:S,formAssociated:b.formAssociated,formAssociatedCallback:b.prototype.formAssociatedCallback,formDisabledCallback:b.prototype.formDisabledCallback,formResetCallback:b.prototype.formResetCallback,formStateRestoreCallback:b.prototype.formStateRestoreCallback,observedAttributes:N};this._definitionsByTag.set(x,I),this._definitionsByClass.set(b,I);let B=t.call(n,x);B||(B=p(x),e.call(n,x,B)),this===window.customElements&&(s.set(b,I),I.standInClass=B);let _=this._awaitingUpgrade.get(x);if(_){this._awaitingUpgrade.delete(x);for(let A of _)a.delete(A),y(A,I,!0)}let E=this._whenDefinedPromises.get(x);return E!==void 0&&(E.resolve(b),this._whenDefinedPromises.delete(x)),b}upgrade(){O.push(this),n.upgrade.apply(n,arguments),O.pop()}get(x){return this._definitionsByTag.get(x)?.elementClass}_getDefinition(x){return this._definitionsByTag.get(x)}whenDefined(x){let b=this._getDefinition(x);if(b!==void 0)return Promise.resolve(b.elementClass);let S=this._whenDefinedPromises.get(x);return S===void 0&&(S={},S.promise=new Promise(N=>S.resolve=N),this._whenDefinedPromises.set(x,S)),S.promise}_upgradeWhenDefined(x,b,S){let N=this._awaitingUpgrade.get(b);N||this._awaitingUpgrade.set(b,N=new Set),S?N.add(x):N.delete(x)}};let c;window.HTMLElement=function(){let b=c;if(b)return c=void 0,b;let S=s.get(this.constructor);if(!S)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return b=Reflect.construct(o,[],S.standInClass),Object.setPrototypeOf(b,this.constructor.prototype),i.set(b,S),b},window.HTMLElement.prototype=o.prototype;let f=x=>x===document||x instanceof ShadowRoot,h=x=>{let b=x.getRootNode();if(!f(b)){let S=O[O.length-1];if(S instanceof CustomElementRegistry)return S;b=S.getRootNode(),f(b)||(b=l.get(b)?.getRootNode()||document)}return b.customElements},p=x=>class{static get formAssociated(){return!0}constructor(){let S=Reflect.construct(o,[],this.constructor);Object.setPrototypeOf(S,HTMLElement.prototype);let N=h(S)||window.customElements,I=N._getDefinition(x);return I?y(S,I):a.set(S,N),S}connectedCallback(){let S=i.get(this);S?S.connectedCallback&&S.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,x,!0)}disconnectedCallback(){let S=i.get(this);S?S.disconnectedCallback&&S.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,x,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let S=i.get(this);S&&S.formAssociated&&S?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let S=i.get(this);S?.formAssociated&&S?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let S=i.get(this);S?.formAssociated&&S?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let S=i.get(this);S?.formAssociated&&S?.formStateRestoreCallback?.apply(this,arguments)}},m=(x,b,S)=>{if(b.size===0||S===void 0)return;let N=x.prototype.setAttribute;N&&(x.prototype.setAttribute=function(_,E){let A=_.toLowerCase();if(b.has(A)){let R=this.getAttribute(A);N.call(this,A,E),S.call(this,A,R,E)}else N.call(this,A,E)});let I=x.prototype.removeAttribute;I&&(x.prototype.removeAttribute=function(_){let E=_.toLowerCase();if(b.has(E)){let A=this.getAttribute(E);I.call(this,E),S.call(this,E,A,null)}else I.call(this,E)});let B=x.prototype.toggleAttribute;B&&(x.prototype.toggleAttribute=function(_,E){let A=_.toLowerCase();if(b.has(A)){let R=this.getAttribute(A);B.call(this,A,E);let U=this.getAttribute(A);S.call(this,A,R,U)}else B.call(this,A,E)})},g=x=>{let b=Object.getPrototypeOf(x);if(b!==window.HTMLElement)return b===o?Object.setPrototypeOf(x,window.HTMLElement):g(b)},y=(x,b,S=!1)=>{Object.setPrototypeOf(x,b.elementClass.prototype),i.set(x,b),c=x;try{new b.elementClass}catch{g(b.elementClass),new b.elementClass}b.attributeChangedCallback&&b.observedAttributes.forEach(N=>{x.hasAttribute(N)&&b.attributeChangedCallback.call(x,N,null,x.getAttribute(N))}),S&&b.connectedCallback&&x.isConnected&&b.connectedCallback.call(x)},v=Element.prototype.attachShadow;Element.prototype.attachShadow=function(x){let b=v.apply(this,arguments);return x.customElements&&(b.customElements=x.customElements),b};let O=[document],w=(x,b,S=void 0)=>{let N=(S?Object.getPrototypeOf(S):x.prototype)[b];x.prototype[b]=function(){O.push(this);let I=N.apply(S||this,arguments);return I!==void 0&&l.set(I,this),O.pop(),I}};w(ShadowRoot,"createElement",document),w(ShadowRoot,"importNode",document),w(Element,"insertAdjacentHTML");let C=(x,b)=>{let S=Object.getOwnPropertyDescriptor(x.prototype,b);Object.defineProperty(x.prototype,b,{...S,set(N){O.push(this),S.set.call(this,N),O.pop()}})};if(C(Element,"innerHTML"),C(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let x=new WeakMap,b=HTMLElement.prototype.attachInternals,S=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(..._){let E=b.call(this,..._);return x.set(E,this),E},S.forEach(_=>{let E=window.ElementInternals.prototype,A=E[_];E[_]=function(...R){let U=x.get(this);if(i.get(U).formAssociated===!0)return A?.call(this,...R);throw new DOMException(`Failed to execute ${A} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class N extends Array{constructor(E){super(...E),this._elements=E}get value(){return this._elements.find(E=>E.checked===!0)?.value||""}}class I{constructor(E){let A=new Map;E.forEach((R,U)=>{let mr=R.getAttribute("name"),on=A.get(mr)||[];this[+U]=R,on.push(R),A.set(mr,on)}),this.length=E.length,A.forEach((R,U)=>{R&&(R.length===1?this[U]=R[0]:this[U]=new N(R))})}namedItem(E){return this[E]}}let B=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let _=B.get.call(this,[]),E=[];for(let A of _){let R=i.get(A);(!R||R.formAssociated===!0)&&E.push(A)}return new I(E)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(t,n,i)=>{if(n!==null)try{e.bind(window.customElements)(t,n,i)}catch(a){console.info(t,n,i,a)}}}var Rr={};P(Rr,{CSSResult:()=>Fe,LitElement:()=>ie,ReactiveElement:()=>J,_$LE:()=>es,_$LH:()=>Ja,adoptStyles:()=>Ht,css:()=>W,defaultConverter:()=>jt,getCompatibleStyle:()=>lt,html:()=>mt,isServer:()=>kl,noChange:()=>fe,notEqual:()=>Or,nothing:()=>L,render:()=>Ar,supportsAdoptingStyleSheets:()=>st,svg:()=>Ya,unsafeCSS:()=>ct});var It=globalThis,Pt=It.ShadowRoot&&(It.ShadyCSS===void 0||It.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,an=Symbol(),nn=new WeakMap,_t=class{constructor(e,t,n){if(this._$cssResult$=!0,n!==an)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(Pt&&e===void 0){let n=t!==void 0&&t.length===1;n&&(e=nn.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&nn.set(t,e))}return e}toString(){return this.cssText}},sn=o=>new _t(typeof o=="string"?o:o+"",void 0,an);var gr=(o,e)=>{if(Pt)o.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of e){let n=document.createElement("style"),i=It.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=t.cssText,o.appendChild(n)}},$t=Pt?o=>o:o=>o instanceof CSSStyleSheet?(e=>{let t="";for(let n of e.cssRules)t+=n.cssText;return sn(t)})(o):o;var{is:Pa,defineProperty:$a,getOwnPropertyDescriptor:ka,getOwnPropertyNames:La,getOwnPropertySymbols:Ta,getPrototypeOf:Ma}=Object,kt=globalThis,cn=kt.trustedTypes,Wa=cn?cn.emptyScript:"",Ua=kt.reactiveElementPolyfillSupport,tt=(o,e)=>o,rt={toAttribute(o,e){switch(e){case Boolean:o=o?Wa:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,e){let t=o;switch(e){case Boolean:t=o!==null;break;case Number:t=o===null?null:Number(o);break;case Object:case Array:try{t=JSON.parse(o)}catch{t=null}}return t}},Lt=(o,e)=>!Pa(o,e),ln={attribute:!0,type:String,converter:rt,reflect:!1,hasChanged:Lt};Symbol.metadata??=Symbol("metadata"),kt.litPropertyMetadata??=new WeakMap;var we=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=ln){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,t);i!==void 0&&$a(this.prototype,e,i)}}static getPropertyDescriptor(e,t,n){let{get:i,set:a}=ka(this.prototype,e)??{get(){return this[t]},set(s){this[t]=s}};return{get(){return i?.call(this)},set(s){let l=i?.call(this);a.call(this,s),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??ln}static _$Ei(){if(this.hasOwnProperty(tt("elementProperties")))return;let e=Ma(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(tt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(tt("properties"))){let t=this.properties,n=[...La(t),...Ta(t)];for(let i of n)this.createProperty(i,t[i])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[n,i]of t)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[t,n]of this.elementProperties){let i=this._$Eu(t,n);i!==void 0&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)t.unshift($t(i))}else e!==void 0&&t.push($t(e));return t}static _$Eu(e,t){let n=t.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,t=this.constructor.elementProperties;for(let n of t.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return gr(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$EO(e,t){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:rt).toAttribute(t,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,t){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:rt;this._$Em=i,this[i]=s.fromAttribute(t,a.type),this._$Em=null}}requestUpdate(e,t,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Lt)(i?a:this[e],t))return;this.C(e,t,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,t,n){this._$AL.has(e)||this._$AL.set(e,t),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(t)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$E_?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(t=>this._$EO(t,this[t])),this._$ET()}updated(e){}firstUpdated(e){}};we.elementStyles=[],we.shadowRootOptions={mode:"open"},we[tt("elementProperties")]=new Map,we[tt("finalized")]=new Map,Ua?.({ReactiveElement:we}),(kt.reactiveElementVersions??=[]).push("2.0.2");var br=globalThis,Tt=br.trustedTypes,dn=Tt?Tt.createPolicy("lit-html",{createHTML:o=>o}):void 0,xr="$lit$",oe=`lit$${(Math.random()+"").slice(9)}$`,vr="?"+oe,Da=`<${vr}>`,Ne=document,Mt=()=>Ne.createComment(""),nt=o=>o===null||typeof o!="object"&&typeof o!="function",gn=Array.isArray,yn=o=>gn(o)||typeof o?.[Symbol.iterator]=="function",yr=`[
|
|
2
|
+
\f\r]`,ot=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,fn=/-->/g,un=/>/g,Ce=RegExp(`>|${yr}(?:([^\\s"'>=/]+)(${yr}*=${yr}*(?:[^
|
|
3
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),pn=/'/g,hn=/"/g,bn=/^(?:script|style|textarea|title)$/i,xn=o=>(e,...t)=>({_$litType$:o,strings:e,values:t}),vl=xn(1),Sl=xn(2),H=Symbol.for("lit-noChange"),k=Symbol.for("lit-nothing"),mn=new WeakMap,Ee=Ne.createTreeWalker(Ne,129);function vn(o,e){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return dn!==void 0?dn.createHTML(e):e}var Sn=(o,e)=>{let t=o.length-1,n=[],i,a=e===2?"<svg>":"",s=ot;for(let l=0;l<t;l++){let c=o[l],f,h,p=-1,m=0;for(;m<c.length&&(s.lastIndex=m,h=s.exec(c),h!==null);)m=s.lastIndex,s===ot?h[1]==="!--"?s=fn:h[1]!==void 0?s=un:h[2]!==void 0?(bn.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=Ce):h[3]!==void 0&&(s=Ce):s===Ce?h[0]===">"?(s=i??ot,p=-1):h[1]===void 0?p=-2:(p=s.lastIndex-h[2].length,f=h[1],s=h[3]===void 0?Ce:h[3]==='"'?hn:pn):s===hn||s===pn?s=Ce:s===fn||s===un?s=ot:(s=Ce,i=void 0);let g=s===Ce&&o[l+1].startsWith("/>")?" ":"";a+=s===ot?c+Da:p>=0?(n.push(f),c.slice(0,p)+xr+c.slice(p)+oe+g):c+oe+(p===-2?l:g)}return[vn(o,a+(o[t]||"<?>")+(e===2?"</svg>":"")),n]},it=class o{constructor({strings:e,_$litType$:t},n){let i;this.parts=[];let a=0,s=0,l=e.length-1,c=this.parts,[f,h]=Sn(e,t);if(this.el=o.createElement(f,n),Ee.currentNode=this.el.content,t===2){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(i=Ee.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let p of i.getAttributeNames())if(p.endsWith(xr)){let m=h[s++],g=i.getAttribute(p).split(oe),y=/([.?@])?(.*)/.exec(m);c.push({type:1,index:a,name:y[2],strings:g,ctor:y[1]==="."?Ut:y[1]==="?"?Dt:y[1]==="@"?Ft:Re}),i.removeAttribute(p)}else p.startsWith(oe)&&(c.push({type:6,index:a}),i.removeAttribute(p));if(bn.test(i.tagName)){let p=i.textContent.split(oe),m=p.length-1;if(m>0){i.textContent=Tt?Tt.emptyScript:"";for(let g=0;g<m;g++)i.append(p[g],Mt()),Ee.nextNode(),c.push({type:2,index:++a});i.append(p[m],Mt())}}}else if(i.nodeType===8)if(i.data===vr)c.push({type:2,index:a});else{let p=-1;for(;(p=i.data.indexOf(oe,p+1))!==-1;)c.push({type:7,index:a}),p+=oe.length-1}a++}}static createElement(e,t){let n=Ne.createElement("template");return n.innerHTML=e,n}};function Ae(o,e,t=o,n){if(e===H)return e;let i=n!==void 0?t._$Co?.[n]:t._$Cl,a=nt(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(o),i._$AT(o,t,n)),n!==void 0?(t._$Co??=[])[n]=i:t._$Cl=i),i!==void 0&&(e=Ae(o,i._$AS(o,e.values),i,n)),e}var Wt=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:t},parts:n}=this._$AD,i=(e?.creationScope??Ne).importNode(t,!0);Ee.currentNode=i;let a=Ee.nextNode(),s=0,l=0,c=n[0];for(;c!==void 0;){if(s===c.index){let f;c.type===2?f=new at(a,a.nextSibling,this,e):c.type===1?f=new c.ctor(a,c.name,c.strings,this,e):c.type===6&&(f=new Bt(a,this,e)),this._$AV.push(f),c=n[++l]}s!==c?.index&&(a=Ee.nextNode(),s++)}return Ee.currentNode=Ne,i}p(e){let t=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,t),t+=n.strings.length-2):n._$AI(e[t])),t++}},at=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,n,i){this.type=2,this._$AH=k,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&e?.nodeType===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=Ae(this,e,t),nt(e)?e===k||e==null||e===""?(this._$AH!==k&&this._$AR(),this._$AH=k):e!==this._$AH&&e!==H&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):yn(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==k&&nt(this._$AH)?this._$AA.nextSibling.data=e:this.$(Ne.createTextNode(e)),this._$AH=e}g(e){let{values:t,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=it.createElement(vn(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(t);else{let a=new Wt(i,this),s=a.u(this.options);a.p(t),this.$(s),this._$AH=a}}_$AC(e){let t=mn.get(e.strings);return t===void 0&&mn.set(e.strings,t=new it(e)),t}T(e){gn(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,n,i=0;for(let a of e)i===t.length?t.push(n=new o(this.k(Mt()),this.k(Mt()),this,this.options)):n=t[i],n._$AI(a),i++;i<t.length&&(this._$AR(n&&n._$AB.nextSibling,i),t.length=i)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Re=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,n,i,a){this.type=1,this._$AH=k,this._$AN=void 0,this.element=e,this.name=t,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=k}_$AI(e,t=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=Ae(this,e,t,0),s=!nt(e)||e!==this._$AH&&e!==H,s&&(this._$AH=e);else{let l=e,c,f;for(e=a[0],c=0;c<a.length-1;c++)f=Ae(this,l[n+c],t,c),f===H&&(f=this._$AH[c]),s||=!nt(f)||f!==this._$AH[c],f===k?e=k:e!==k&&(e+=(f??"")+a[c+1]),this._$AH[c]=f}s&&!i&&this.O(e)}O(e){e===k?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Ut=class extends Re{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===k?void 0:e}},Dt=class extends Re{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==k)}},Ft=class extends Re{constructor(e,t,n,i,a){super(e,t,n,i,a),this.type=5}_$AI(e,t=this){if((e=Ae(this,e,t,0)??k)===H)return;let n=this._$AH,i=e===k&&n!==k||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==k&&(n===k||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Bt=class{constructor(e,t,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Ae(this,e)}},On={j:xr,P:oe,A:vr,C:1,M:Sn,L:Wt,R:yn,V:Ae,D:at,I:Re,H:Dt,N:Ft,U:Ut,B:Bt},Fa=br.litHtmlPolyfillSupport;Fa?.(it,at),(br.litHtmlVersions??=[]).push("3.1.0");var zt=globalThis,st=zt.ShadowRoot&&(zt.ShadyCSS===void 0||zt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Sr=Symbol(),wn=new WeakMap,Fe=class{constructor(e,t,n){if(this._$cssResult$=!0,n!==Sr)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o,t=this.t;if(st&&e===void 0){let n=t!==void 0&&t.length===1;n&&(e=wn.get(t)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&wn.set(t,e))}return e}toString(){return this.cssText}},ct=o=>new Fe(typeof o=="string"?o:o+"",void 0,Sr),W=(o,...e)=>{let t=o.length===1?o[0]:e.reduce((n,i,a)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+o[a+1],o[0]);return new Fe(t,o,Sr)},Ht=(o,e)=>{if(st)o.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of e){let n=document.createElement("style"),i=zt.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=t.cssText,o.appendChild(n)}},lt=st?o=>o:o=>o instanceof CSSStyleSheet?(e=>{let t="";for(let n of e.cssRules)t+=n.cssText;return ct(t)})(o):o;var{is:Ba,defineProperty:za,getOwnPropertyDescriptor:Ha,getOwnPropertyNames:ja,getOwnPropertySymbols:Ka,getPrototypeOf:Va}=Object,Kt=globalThis,Cn=Kt.trustedTypes,Za=Cn?Cn.emptyScript:"",Ga=Kt.reactiveElementPolyfillSupport,dt=(o,e)=>o,jt={toAttribute(o,e){switch(e){case Boolean:o=o?Za:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,e){let t=o;switch(e){case Boolean:t=o!==null;break;case Number:t=o===null?null:Number(o);break;case Object:case Array:try{t=JSON.parse(o)}catch{t=null}}return t}},Or=(o,e)=>!Ba(o,e),En={attribute:!0,type:String,converter:jt,reflect:!1,hasChanged:Or};Symbol.metadata??=Symbol("metadata"),Kt.litPropertyMetadata??=new WeakMap;var J=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=En){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,t);i!==void 0&&za(this.prototype,e,i)}}static getPropertyDescriptor(e,t,n){let{get:i,set:a}=Ha(this.prototype,e)??{get(){return this[t]},set(s){this[t]=s}};return{get(){return i?.call(this)},set(s){let l=i?.call(this);a.call(this,s),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??En}static _$Ei(){if(this.hasOwnProperty(dt("elementProperties")))return;let e=Va(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(dt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(dt("properties"))){let t=this.properties,n=[...ja(t),...Ka(t)];for(let i of n)this.createProperty(i,t[i])}let e=this[Symbol.metadata];if(e!==null){let t=litPropertyMetadata.get(e);if(t!==void 0)for(let[n,i]of t)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[t,n]of this.elementProperties){let i=this._$Eu(t,n);i!==void 0&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let t=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)t.unshift(lt(i))}else e!==void 0&&t.push(lt(e));return t}static _$Eu(e,t){let n=t.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$Eg=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$ES(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$E_??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$E_?.delete(e)}_$ES(){let e=new Map,t=this.constructor.elementProperties;for(let n of t.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Ht(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$E_?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$E_?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,t,n){this._$AK(e,n)}_$EO(e,t){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:jt).toAttribute(t,n.type);this._$Em=e,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(e,t){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:jt;this._$Em=i,this[i]=s.fromAttribute(t,a.type),this._$Em=null}}requestUpdate(e,t,n,i=!1,a){if(e!==void 0){if(n??=this.constructor.getPropertyOptions(e),!(n.hasChanged??Or)(i?a:this[e],t))return;this.C(e,t,n)}this.isUpdatePending===!1&&(this._$Eg=this._$EP())}C(e,t,n){this._$AL.has(e)||this._$AL.set(e,t),n.reflect===!0&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$EP(){this.isUpdatePending=!0;try{await this._$Eg}catch(t){Promise.reject(t)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n)a.wrapped!==!0||this._$AL.has(i)||this[i]===void 0||this.C(i,this[i],a)}let e=!1,t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$E_?.forEach(n=>n.hostUpdate?.()),this.update(t)):this._$ET()}catch(n){throw e=!1,this._$ET(),n}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$E_?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$ET(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Eg}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach(t=>this._$EO(t,this[t])),this._$ET()}updated(e){}firstUpdated(e){}};J.elementStyles=[],J.shadowRootOptions={mode:"open"},J[dt("elementProperties")]=new Map,J[dt("finalized")]=new Map,Ga?.({ReactiveElement:J}),(Kt.reactiveElementVersions??=[]).push("2.0.2");var Cr=globalThis,Vt=Cr.trustedTypes,Nn=Vt?Vt.createPolicy("lit-html",{createHTML:o=>o}):void 0,Er="$lit$",ne=`lit$${(Math.random()+"").slice(9)}$`,Nr="?"+ne,qa=`<${Nr}>`,Pe=document,ut=()=>Pe.createComment(""),pt=o=>o===null||typeof o!="object"&&typeof o!="function",$n=Array.isArray,kn=o=>$n(o)||typeof o?.[Symbol.iterator]=="function",wr=`[
|
|
4
|
+
\f\r]`,ft=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,An=/-->/g,Rn=/>/g,Ie=RegExp(`>|${wr}(?:([^\\s"'>=/]+)(${wr}*=${wr}*(?:[^
|
|
5
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),In=/'/g,_n=/"/g,Ln=/^(?:script|style|textarea|title)$/i,Tn=o=>(e,...t)=>({_$litType$:o,strings:e,values:t}),mt=Tn(1),Ya=Tn(2),fe=Symbol.for("lit-noChange"),L=Symbol.for("lit-nothing"),Pn=new WeakMap,_e=Pe.createTreeWalker(Pe,129);function Mn(o,e){if(!Array.isArray(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Nn!==void 0?Nn.createHTML(e):e}var Wn=(o,e)=>{let t=o.length-1,n=[],i,a=e===2?"<svg>":"",s=ft;for(let l=0;l<t;l++){let c=o[l],f,h,p=-1,m=0;for(;m<c.length&&(s.lastIndex=m,h=s.exec(c),h!==null);)m=s.lastIndex,s===ft?h[1]==="!--"?s=An:h[1]!==void 0?s=Rn:h[2]!==void 0?(Ln.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=Ie):h[3]!==void 0&&(s=Ie):s===Ie?h[0]===">"?(s=i??ft,p=-1):h[1]===void 0?p=-2:(p=s.lastIndex-h[2].length,f=h[1],s=h[3]===void 0?Ie:h[3]==='"'?_n:In):s===_n||s===In?s=Ie:s===An||s===Rn?s=ft:(s=Ie,i=void 0);let g=s===Ie&&o[l+1].startsWith("/>")?" ":"";a+=s===ft?c+qa:p>=0?(n.push(f),c.slice(0,p)+Er+c.slice(p)+ne+g):c+ne+(p===-2?l:g)}return[Mn(o,a+(o[t]||"<?>")+(e===2?"</svg>":"")),n]},ht=class o{constructor({strings:e,_$litType$:t},n){let i;this.parts=[];let a=0,s=0,l=e.length-1,c=this.parts,[f,h]=Wn(e,t);if(this.el=o.createElement(f,n),_e.currentNode=this.el.content,t===2){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(i=_e.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let p of i.getAttributeNames())if(p.endsWith(Er)){let m=h[s++],g=i.getAttribute(p).split(ne),y=/([.?@])?(.*)/.exec(m);c.push({type:1,index:a,name:y[2],strings:g,ctor:y[1]==="."?Gt:y[1]==="?"?qt:y[1]==="@"?Yt:ke}),i.removeAttribute(p)}else p.startsWith(ne)&&(c.push({type:6,index:a}),i.removeAttribute(p));if(Ln.test(i.tagName)){let p=i.textContent.split(ne),m=p.length-1;if(m>0){i.textContent=Vt?Vt.emptyScript:"";for(let g=0;g<m;g++)i.append(p[g],ut()),_e.nextNode(),c.push({type:2,index:++a});i.append(p[m],ut())}}}else if(i.nodeType===8)if(i.data===Nr)c.push({type:2,index:a});else{let p=-1;for(;(p=i.data.indexOf(ne,p+1))!==-1;)c.push({type:7,index:a}),p+=ne.length-1}a++}}static createElement(e,t){let n=Pe.createElement("template");return n.innerHTML=e,n}};function $e(o,e,t=o,n){if(e===fe)return e;let i=n!==void 0?t._$Co?.[n]:t._$Cl,a=pt(e)?void 0:e._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(o),i._$AT(o,t,n)),n!==void 0?(t._$Co??=[])[n]=i:t._$Cl=i),i!==void 0&&(e=$e(o,i._$AS(o,e.values),i,n)),e}var Zt=class{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:t},parts:n}=this._$AD,i=(e?.creationScope??Pe).importNode(t,!0);_e.currentNode=i;let a=_e.nextNode(),s=0,l=0,c=n[0];for(;c!==void 0;){if(s===c.index){let f;c.type===2?f=new Be(a,a.nextSibling,this,e):c.type===1?f=new c.ctor(a,c.name,c.strings,this,e):c.type===6&&(f=new Jt(a,this,e)),this._$AV.push(f),c=n[++l]}s!==c?.index&&(a=_e.nextNode(),s++)}return _e.currentNode=Pe,i}p(e){let t=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,t),t+=n.strings.length-2):n._$AI(e[t])),t++}},Be=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,n,i){this.type=2,this._$AH=L,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,t=this._$AM;return t!==void 0&&e?.nodeType===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=$e(this,e,t),pt(e)?e===L||e==null||e===""?(this._$AH!==L&&this._$AR(),this._$AH=L):e!==this._$AH&&e!==fe&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):kn(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==L&&pt(this._$AH)?this._$AA.nextSibling.data=e:this.$(Pe.createTextNode(e)),this._$AH=e}g(e){let{values:t,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=ht.createElement(Mn(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(t);else{let a=new Zt(i,this),s=a.u(this.options);a.p(t),this.$(s),this._$AH=a}}_$AC(e){let t=Pn.get(e.strings);return t===void 0&&Pn.set(e.strings,t=new ht(e)),t}T(e){$n(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,n,i=0;for(let a of e)i===t.length?t.push(n=new o(this.k(ut()),this.k(ut()),this,this.options)):n=t[i],n._$AI(a),i++;i<t.length&&(this._$AR(n&&n._$AB.nextSibling,i),t.length=i)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e&&e!==this._$AB;){let n=e.nextSibling;e.remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},ke=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,n,i,a){this.type=1,this._$AH=L,this._$AN=void 0,this.element=e,this.name=t,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=L}_$AI(e,t=this,n,i){let a=this.strings,s=!1;if(a===void 0)e=$e(this,e,t,0),s=!pt(e)||e!==this._$AH&&e!==fe,s&&(this._$AH=e);else{let l=e,c,f;for(e=a[0],c=0;c<a.length-1;c++)f=$e(this,l[n+c],t,c),f===fe&&(f=this._$AH[c]),s||=!pt(f)||f!==this._$AH[c],f===L?e=L:e!==L&&(e+=(f??"")+a[c+1]),this._$AH[c]=f}s&&!i&&this.O(e)}O(e){e===L?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Gt=class extends ke{constructor(){super(...arguments),this.type=3}O(e){this.element[this.name]=e===L?void 0:e}},qt=class extends ke{constructor(){super(...arguments),this.type=4}O(e){this.element.toggleAttribute(this.name,!!e&&e!==L)}},Yt=class extends ke{constructor(e,t,n,i,a){super(e,t,n,i,a),this.type=5}_$AI(e,t=this){if((e=$e(this,e,t,0)??L)===fe)return;let n=this._$AH,i=e===L&&n!==L||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,a=e!==L&&(n===L||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Jt=class{constructor(e,t,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){$e(this,e)}},Ja={j:Er,P:ne,A:Nr,C:1,M:Wn,L:Zt,R:kn,V:$e,D:Be,I:ke,H:qt,N:Yt,U:Gt,B:Jt},Xa=Cr.litHtmlPolyfillSupport;Xa?.(ht,Be),(Cr.litHtmlVersions??=[]).push("3.1.0");var Ar=(o,e,t)=>{let n=t?.renderBefore??e,i=n._$litPart$;if(i===void 0){let a=t?.renderBefore??null;n._$litPart$=i=new Be(e.insertBefore(ut(),a),a,void 0,t??{})}return i._$AI(o),i};var ie=class extends J{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Ar(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return fe}};ie._$litElement$=!0,ie.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:ie});var Qa=globalThis.litElementPolyfillSupport;Qa?.({LitElement:ie});var es={_$AK:(o,e,t)=>{o._$AK(e,t)},_$AL:o=>o._$AL};(globalThis.litElementVersions??=[]).push("4.0.2");var kl=!1;var Ir={};P(Ir,{customElement:()=>ts,eventOptions:()=>os,property:()=>T,query:()=>Xt,queryAll:()=>is,queryAssignedElements:()=>ss,queryAssignedNodes:()=>cs,queryAsync:()=>as,standardProperty:()=>Un,state:()=>ze});var ts=o=>(e,t)=>{t!==void 0?t.addInitializer(()=>{customElements.define(o,e)}):customElements.define(o,e)};var rs={attribute:!0,type:String,converter:rt,reflect:!1,hasChanged:Lt},Un=(o=rs,e,t)=>{let{kind:n,metadata:i}=t,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),a.set(t.name,o),n==="accessor"){let{name:s}=t;return{set(l){let c=e.get.call(this);e.set.call(this,l),this.requestUpdate(s,c,o)},init(l){return l!==void 0&&this.C(s,void 0,o),l}}}if(n==="setter"){let{name:s}=t;return function(l){let c=this[s];e.call(this,l),this.requestUpdate(s,c,o)}}throw Error("Unsupported decorator location: "+n)};function T(o){return(e,t)=>typeof t=="object"?Un(o,e,t):((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})(o,e,t)}function ze(o){return T({...o,state:!0,attribute:!1})}function os(o){return(e,t)=>{let n=typeof e=="function"?e:e[t];Object.assign(n,o)}}var Z=(o,e,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(o,e,t),t);function Xt(o,e){return(t,n,i)=>{let a=s=>s.renderRoot?.querySelector(o)??null;if(e){let{get:s,set:l}=typeof n=="object"?t:i??(()=>{let c=Symbol();return{get(){return this[c]},set(f){this[c]=f}}})();return Z(t,n,{get(){let c=s.call(this);return c===void 0&&(c=a(this),(c!==null||this.hasUpdated)&&l.call(this,c)),c}})}return Z(t,n,{get(){return a(this)}})}}var ns;function is(o){return(e,t)=>Z(e,t,{get(){return(this.renderRoot??(ns??=document.createDocumentFragment())).querySelectorAll(o)}})}function as(o){return(e,t)=>Z(e,t,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(o)??null}})}function ss(o){return(e,t)=>{let{slot:n,selector:i}=o??{},a="slot"+(n?`[name=${n}]`:":not([name])");return Z(e,t,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(o)??[];return i===void 0?l:l.filter(c=>c.matches(i))}})}}function cs(o){return(e,t)=>{let{slot:n}=o??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Z(e,t,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(o)??[]}})}}var Pr={};P(Pr,{repeat:()=>_r});var ue={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},pe=o=>(...e)=>({_$litDirective$:o,values:e}),X=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,n){this._$Ct=e,this._$AM=t,this._$Ci=n}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}};var{D:ls}=On;var Dn=()=>document.createComment(""),He=(o,e,t)=>{let n=o._$AA.parentNode,i=e===void 0?o._$AB:e._$AA;if(t===void 0){let a=n.insertBefore(Dn(),i),s=n.insertBefore(Dn(),i);t=new ls(a,s,o,o.options)}else{let a=t._$AB.nextSibling,s=t._$AM,l=s!==o;if(l){let c;t._$AQ?.(o),t._$AM=o,t._$AP!==void 0&&(c=o._$AU)!==s._$AU&&t._$AP(c)}if(a!==i||l){let c=t._$AA;for(;c!==a;){let f=c.nextSibling;n.insertBefore(c,i),c=f}}}return t},he=(o,e,t=o)=>(o._$AI(e,t),o),ds={},Fn=(o,e=ds)=>o._$AH=e,Bn=o=>o._$AH,Qt=o=>{o._$AP?.(!1,!0);let e=o._$AA,t=o._$AB.nextSibling;for(;e!==t;){let n=e.nextSibling;e.remove(),e=n}};var zn=(o,e,t)=>{let n=new Map;for(let i=e;i<=t;i++)n.set(o[i],i);return n},_r=pe(class extends X{constructor(o){if(super(o),o.type!==ue.CHILD)throw Error("repeat() can only be used in text expressions")}ht(o,e,t){let n;t===void 0?t=e:e!==void 0&&(n=e);let i=[],a=[],s=0;for(let l of o)i[s]=n?n(l,s):s,a[s]=t(l,s),s++;return{values:a,keys:i}}render(o,e,t){return this.ht(o,e,t).values}update(o,[e,t,n]){let i=Bn(o),{values:a,keys:s}=this.ht(e,t,n);if(!Array.isArray(i))return this.dt=s,a;let l=this.dt??=[],c=[],f,h,p=0,m=i.length-1,g=0,y=a.length-1;for(;p<=m&&g<=y;)if(i[p]===null)p++;else if(i[m]===null)m--;else if(l[p]===s[g])c[g]=he(i[p],a[g]),p++,g++;else if(l[m]===s[y])c[y]=he(i[m],a[y]),m--,y--;else if(l[p]===s[y])c[y]=he(i[p],a[y]),He(o,c[y+1],i[p]),p++,y--;else if(l[m]===s[g])c[g]=he(i[m],a[g]),He(o,i[p],i[m]),m--,g++;else if(f===void 0&&(f=zn(s,g,y),h=zn(l,p,m)),f.has(l[p]))if(f.has(l[m])){let v=h.get(s[g]),O=v!==void 0?i[v]:null;if(O===null){let w=He(o,i[p]);he(w,a[g]),c[g]=w}else c[g]=he(O,a[g]),He(o,i[p],O),i[v]=null;g++}else Qt(i[m]),m--;else Qt(i[p]),p++;for(;g<=y;){let v=He(o,c[y+1]);he(v,a[g]),c[g++]=v}for(;p<=m;){let v=i[p++];v!==null&&Qt(v)}return this.dt=s,Fn(o,c),H}});var $r={};P($r,{classMap:()=>fs});var fs=pe(class extends X{constructor(o){if(super(o),o.type!==ue.ATTRIBUTE||o.name!=="class"||o.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(o){return" "+Object.keys(o).filter(e=>o[e]).join(" ")+" "}update(o,[e]){if(this.it===void 0){this.it=new Set,o.strings!==void 0&&(this.st=new Set(o.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.st?.has(n)&&this.it.add(n);return this.render(e)}let t=o.element.classList;for(let n of this.it)n in e||(t.remove(n),this.it.delete(n));for(let n in e){let i=!!e[n];i===this.it.has(n)||this.st?.has(n)||(i?(t.add(n),this.it.add(n)):(t.remove(n),this.it.delete(n)))}return H}});var kr={};P(kr,{styleMap:()=>ps});var Hn="important",us=" !"+Hn,ps=pe(class extends X{constructor(o){if(super(o),o.type!==ue.ATTRIBUTE||o.name!=="style"||o.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(o){return Object.keys(o).reduce((e,t)=>{let n=o[t];return n==null?e:e+`${t=t.includes("-")?t:t.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(o,[e]){let{style:t}=o.element;if(this.ut===void 0)return this.ut=new Set(Object.keys(e)),this.render(e);for(let n of this.ut)e[n]==null&&(this.ut.delete(n),n.includes("-")?t.removeProperty(n):t[n]=null);for(let n in e){let i=e[n];if(i!=null){this.ut.add(n);let a=typeof i=="string"&&i.endsWith(us);n.includes("-")||a?t.setProperty(n,a?i.slice(0,-11):i,a?Hn:""):t[n]=i}}return H}});var Tr={};P(Tr,{UnsafeHTMLDirective:()=>je,unsafeHTML:()=>Lr});var je=class extends X{constructor(e){if(super(e),this.et=k,e.type!==ue.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===k||e==null)return this.vt=void 0,this.et=e;if(e===H)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.vt;this.et=e;let t=[e];return t.raw=t,this.vt={_$litType$:this.constructor.resultType,strings:t,values:[]}}};je.directiveName="unsafeHTML",je.resultType=1;var Lr=pe(je);var Ur={};P(Ur,{CacheRegistry:()=>Wr});var Mr={};P(Mr,{CancelablePromise:()=>Ke,CanceledPromiseError:()=>gt,cancelable:()=>yt});var gt=class extends Error{constructor(e,t,n){super(e),this.canceledPromiseResult=t,this.canceledPromiseError=n}},Ke=class extends Promise{constructor(e){super((t,n)=>e(i=>{this.isCanceled?n(new gt("Promise has been canceled",i)):t(i)},i=>{this.isCanceled?n(new gt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},yt=o=>new Ke((e,t)=>o.then(e).catch(t));var Wr=class{constructor(){this.loaders={},this.content={},this.clearTimeouts={},this.finalContent=new Set}register(e,t){this.loaders[e]=t,this.finalContent.delete(e)}registerFinal(e,t){this.loaders[e]=t,this.finalContent.add(e)}clearAll(){for(let e in this.content)this.clear(e)}clear(e){this.finalContent.has(e)||this.forceClear(e)}forceClear(e){this.clearClearTimeout(e),this.content[e]instanceof Ke&&this.content[e].cancel(),delete this.content[e]}clearClearTimeout(e){this.clearTimeouts[e]!=null&&(window.clearTimeout(this.clearTimeouts[e]),delete this.clearTimeouts[e])}set(e,t){this.forceClear(e),this.register(e,async()=>t),this.content[e]=t}setFinal(e,t){this.forceClear(e),this.registerFinal(e,async()=>t),this.content[e]=t}async get(e,t,n){if(this.content[e]===void 0){if(t=t??this.loaders[e],t==null)throw new Error("Unknown cache key "+e);let i=yt(t());return this.content[e]=i,i.then(a=>(this.content[e]=a,n!=null&&(this.clearClearTimeout(e),this.clearTimeouts[e]=window.setTimeout(()=>this.clear(e),n)),a))}if(this.content[e]instanceof Error)throw this.content[e];return this.content[e]}isResolvedValue(e){return e!=null&&!(e instanceof Promise)&&!(e instanceof Error)}getNow(e){if(this.isResolvedValue(this.content[e]))return this.content[e]}has(e){return this.content[e]!=null}resolvedKeys(){return Object.keys(this.content).filter(e=>this.isResolvedValue(this.content[e]))}resolvedValues(){return Object.values(this.content).filter(e=>this.isResolvedValue(e))}keys(){return Object.keys(this.content)}values(){return Object.values(this.content)}};var Fr={};P(Fr,{ClusteringHelper:()=>Dr});var Dr=class o{constructor(e,t,n,i){this.allResults=e,this.selectedResult=t,this.clusteringMetadata=n,this.metadataDescriptors=i}static extractResultMetadata(e,t){var n,i;let a=((i=(n=e?.map)!==null&&n!==void 0?n:e?.document)!==null&&i!==void 0?i:e?.topic).metadata.map(s=>o.flattenMetadata(s));return t==null?a:a.find(s=>s.key===t)}static flattenMetadata(e){if(e.hierarchicalValues){let t=[],n=[];return e.hierarchicalValues.forEach(i=>{t.push(i.join(" > ")),i.length>2?n.push(`... > ${i[i.length-1]}`):n.push(i.join(" > "))}),{key:e.key,label:e.label,value:t.join(", "),displayValue:n.join(", ")}}else{let t=e.values.join(", ");return{key:e.key,label:e.label,value:t,displayValue:t}}}computeClustersItemsForMetadata(e,t,n="No value"){var i,a;let s=o.extractResultMetadata(this.selectedResult,e),l=(i=s?.label)!==null&&i!==void 0?i:(a=this.getMetadataDescriptor(e))===null||a===void 0?void 0:a.label;return this.allResults.map(f=>o.extractResultMetadata(f,e)).map(f=>f??{key:e,label:l,value:void 0,displayValue:n}).filter(f=>f.value!=s?.value).filter((f,h,p)=>p.findIndex(m=>m.value===f.value)===h).map(f=>({result:this.findBestResultForMetadataValue(e,f.value),metadata:f})).sort((f,h)=>this.compareMetadata(f.metadata.value,h.metadata.value,e,t))}compareMetadata(e,t,n,i){if(e==null)return-1;if(t==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let c=e.localeCompare(t,i,{numeric:!0});return l?c*-1:c}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(t=>e==t.key)}findBestResultForMetadataValue(e,t){let n=this.allResults.filter(c=>{var f;return((f=o.extractResultMetadata(c,e))===null||f===void 0?void 0:f.value)==t}),a=[...o.extractResultMetadata(this.selectedResult).filter(c=>this.clusteringMetadata.has(c.key)).filter(c=>c.key!==e)],s,l=-1;for(let c of n){let f=this.countMatchingMetadata(c,a);if(f>l&&(l=f,s=c,f===a.length))break}return s}countMatchingMetadata(e,t){return o.extractResultMetadata(e).filter(n=>t.some(i=>i.key===n.key&&i.value===n.value)).length}};var Br={};P(Br,{Debouncer:()=>Q});var Q=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,t){return this.callbacks=[e],this.debounce(t)}queue(e,t){return this.callbacks.push(e),this.debounce(t)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((t,n)=>{this.resolvePromise=t,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,t;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:()=>null,a=(t=this.resolvePromise)!==null&&t!==void 0?t:()=>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 Zr={};P(Zr,{customElement:()=>Kr,isNumber:()=>Gn,jsonProperty:()=>Vr,optionalNumberProperty:()=>bs});var jr={};P(jr,{dateReviver:()=>hs,deepEqual:()=>G,delay:()=>jn,eventPathContainsMatchingElement:()=>gs,flatDeep:()=>Vn,last:()=>ys,minmax:()=>Hr,parseDate:()=>Zn,waitFor:()=>Kn,waitUntil:()=>zr});var jn=o=>new Promise(e=>setTimeout(e,o));async function zr(o,e=10,t=2e4){await Kn(async()=>await o()||void 0,e,t)}async function Kn(o,e=10,t=2e4){let n=await o(),i,a;for(i=a=performance.now();n==null&&(!t||a-i<t);)await jn(e),n=await o(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Vn(o,e){return o.flatMap(t=>[t,...Vn(e(t),e)])}function hs(...o){return function(e,t){return o.includes(e)?Zn(t):t}}function Zn(o){return o.match(/^\d{4}-\d{2}-\d{2}$/)&&(o=o.replace(/-/g,"/")),o=o.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,t,n,i)=>t+n+":"+i),new Date(o)}function ms(o,e){if(o===e)return!0;if(o&&e&&typeof o=="object"&&typeof e=="object"){if(o.constructor!==e.constructor)return!1;var t,n,i;if(Array.isArray(o)){if(t=o.length,t!=e.length)return!1;for(n=t;n--!==0;)if(!G(o[n],e[n]))return!1;return!0}if(o instanceof Map&&e instanceof Map){if(o.size!==e.size)return!1;for(n of o.entries())if(!e.has(n[0]))return!1;for(n of o.entries())if(!G(n[1],e.get(n[0])))return!1;return!0}if(o instanceof Set&&e instanceof Set){if(o.size!==e.size)return!1;for(n of o.entries())if(!e.has(n[0]))return!1;return!0}if(o.constructor===RegExp)return o.source===e.source&&o.flags===e.flags;if(o.valueOf!==Object.prototype.valueOf)return o.valueOf()===e.valueOf();if(i=Object.keys(o),t=i.length,t!==Object.keys(e).length)return!1;for(n=t;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;for(n=t;n--!==0;){var a=i[n];if(!G(o[a],e[a]))return!1}return!0}return o!==o&&e!==e}function G(o,e){try{return ms(o,e)}catch{return!1}}function gs(o,e,t=window.document.body){if(e.length>0){let n=o.composedPath();for(let i of n){if(i===t)return!1;if(i.matches&&e.some(a=>i.matches(a)))return!0}}return!1}function Hr(o,e,t){return Math.min(Math.max(o,e),t)}function ys(o){return o[o.length-1]}var Kr=o=>e=>{window.customElements.get(o)||window.customElements.define(o,e)};function Vr(o,e){let t=()=>JSON.parse(JSON.stringify(o));return T({type:Object,converter:{fromAttribute:n=>{if(n==null)return t();try{return JSON.parse(n)}catch{return t()}},toAttribute:n=>JSON.stringify(n)},hasChanged:(n,i)=>!G(n,i),...e??{}})}function bs(o){return T({type:Object,converter:{fromAttribute:e=>{if(e!=null)return Gn(e)?+e:void 0},toAttribute:e=>e==null?void 0:""+e},...o??{}})}function Gn(o){return!isNaN(parseFloat(o))}var qr={};P(qr,{designSystemVariables:()=>Vs});var Gr={};P(Gr,{FtCssVariableFactory:()=>r,banner:()=>ws,border:()=>Ds,breadcrumb:()=>Cs,button:()=>Os,chart:()=>Ws,checkbox:()=>Bs,chip:()=>Us,collapsible:()=>Ts,comboboxMultiSelect:()=>$s,comboboxSingleSelect:()=>Ps,drawer:()=>As,floatingMenu:()=>_s,foundation:()=>d,modal:()=>Ns,notice:()=>Fs,notification:()=>js,pageHeader:()=>Es,popover:()=>ks,radio:()=>Hs,semantic:()=>u,setVariable:()=>xs,switch_:()=>Ms,tabs:()=>Ls,textArea:()=>Is,textInput:()=>Rs,toggle:()=>zs,tooltip:()=>Ks,typographies:()=>vs,typographyBody1Medium:()=>ei,typographyBody1Regular:()=>Qn,typographyBody1Semibold:()=>ti,typographyBody2Medium:()=>oi,typographyBody2MediumUnderline:()=>ni,typographyBody2Regular:()=>ri,typographyBody2Semibold:()=>ii,typographyCaption1Bold:()=>hi,typographyCaption1Medium:()=>ui,typographyCaption1Semibold:()=>pi,typographyCaption2Bold:()=>yi,typographyCaption2Medium:()=>mi,typographyCaption2Semibold:()=>gi,typographyCaption3Bold:()=>vi,typographyCaption3Medium:()=>bi,typographyCaption3Semibold:()=>xi,typographyDisplay:()=>qn,typographyLabel1Bold:()=>ci,typographyLabel1Medium:()=>ai,typographyLabel1Semibold:()=>si,typographyLabel2Bold:()=>fi,typographyLabel2Medium:()=>li,typographyLabel2Semibold:()=>di,typographyTitle1:()=>Yn,typographyTitle2:()=>Jn,typographyTitle3:()=>Xn,typographyVariants:()=>Ss});var ae=o=>typeof o=="string"?ct(o):o,r=class{static create(e,t,n,i){let a=l=>ae(l??i),s=W`var(${ae(e)}, ${a(i)})`;return s.name=e,s.description=t,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>W`var(${ae(e)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(e,t,n,i){let a=l=>n.get(l??i),s=W`var(${ae(e)}, ${a(i)})`;return s.name=e,s.description=t,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.get=l=>W`var(${ae(e)}, ${a(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(e,t){let n=a=>e.fallbackVariable?e.fallbackVariable.get(a??e.defaultValue):ae(a??e.lastResortDefaultValue()),i=W`var(${ae(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=t,i.defaultCssValue=n,i.get=a=>W`var(${ae(e.name)}, ${n(a)})`,i.breadcrumb=()=>e.fallbackVariable?[e.fallbackVariable.name,...e.fallbackVariable.breadcrumb()]:[],i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function xs(o,e){return ae(`${o.name}: ${e}`)}var d={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","12px"),iconSize2:r.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:r.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:r.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:r.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:r.create("--ft-icon-size-6","","SIZE","48px"),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"),opacity40:r.create("--ft-opacity-40","","NUMBER","0.4"),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)")},qn={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")},Yn={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")},Jn={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")},Xn={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")},Qn={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")},ei={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")},ti={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")},ri={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")},oi={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")},ni={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")},ii={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")},ai={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")},si={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")},ci={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")},li={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")},di={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")},fi={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")},ui={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")},pi={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")},hi={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")},mi={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")},gi={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")},yi={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")},bi={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")},xi={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")},vi={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")},vs={display:qn,"title-1":Yn,"title-2":Jn,"title-3":Xn,"body-1-regular":Qn,"body-1-medium":ei,"body-1-semibold":ti,"body-2-regular":ri,"body-2-medium":oi,"body-2-medium-underline":ni,"body-2-semibold":ii,"label-1-medium":ai,"label-1-semibold":si,"label-1-bold":ci,"label-2-medium":li,"label-2-semibold":di,"label-2-bold":fi,"caption-1-medium":ui,"caption-1-semibold":pi,"caption-1-bold":hi,"caption-2-medium":mi,"caption-2-semibold":gi,"caption-2-bold":yi,"caption-3-medium":bi,"caption-3-semibold":xi,"caption-3-bold":vi},Ss=["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.",d.colorBrand0),backgroundErrorSubtle:r.extend("--ft-background-error-subtle","Used as background of subtle error components.",d.colorRed10),backgroundInfoSubtle:r.extend("--ft-background-info-subtle","Used as background of subtle information components.",d.colorCyan10),backgroundWarningSubtle:r.extend("--ft-background-warning-subtle","Used as background of subtle information components.",d.colorOrange10),backgroundSuccessSubtle:r.extend("--ft-background-success-subtle","Used as background of subtle success components.",d.colorGreen10),backgroundGlobalSurface:r.extend("--ft-background-global-surface","Used as app background.",d.colorWhite),backgroundGlobalOnSurface:r.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",d.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",d.colorGray30),contentActionPrimary:r.extend("--ft-content-action-primary","Used on label of primary action on light surface.",d.colorBrand0),contentWarningPrimary:r.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",d.colorOrange200),contentWarningIconOnly:r.extend("--ft-content-warning-icon-only","Used on warning status icons alone",d.colorOrange0),contentErrorPrimary:r.extend("--ft-content-error-primary","Used on label of error messages on light surface.",d.colorRed0),contentErrorIconOnly:r.extend("--ft-content-error-icon-only","Used on error status icons alone",d.colorRed70),contentInfoPrimary:r.extend("--ft-content-info-primary","Used on label of information messages on light surface.",d.colorCyan200),contentInfoIconOnly:r.extend("--ft-content-info-icon-only","Used on info status icons alone",d.colorCyan0),contentSuccessPrimary:r.extend("--ft-content-success-primary","Used on label of success messages on light surface.",d.colorGreen200),contentSuccessIconOnly:r.extend("--ft-content-success-icon-only","Used on success status icons alone",d.colorGreen0),contentGlobalPrimary:r.extend("--ft-content-global-primary","Used for main content on the page.",d.colorGray500),contentGlobalSecondary:r.extend("--ft-content-global-secondary",`Used for secondary content, often paired with primary content.
|
|
6
|
+
Also for action icons.`,d.colorGray200),contentGlobalSubtle:r.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",d.colorGray0),contentGlobalOnColor:r.extend("--ft-content-global-on-color","Used for content on a dominant color.",d.colorWhite),borderActionPrimary:r.extend("--ft-border-action-primary","Used as border for primary action components.",d.colorBrand0),borderActionFocusRing:r.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",d.colorCyan0),borderWarningPrimary:r.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",d.colorOrange200),borderWarningSubtle:r.extend("--ft-border-warning-subtle","Used as border for warning components.",d.colorOrange30),borderSuccessPrimary:r.extend("--ft-border-success-primary","Used as border for success buttons.",d.colorGreen200),borderSuccessSubtle:r.extend("--ft-border-success-subtle","Used as border for success components.",d.colorGreen30),borderErrorPrimary:r.extend("--ft-border-error-primary","Used as border for text fields in error states.",d.colorRed0),borderErrorSubtle:r.extend("--ft-border-error-subtle","Used as border for error components.",d.colorRed30),borderInfoPrimary:r.extend("--ft-border-info-primary","Used as border for buttons in info color.",d.colorCyan200),borderInfoSubtle:r.extend("--ft-border-info-subtle","Used as border for information components.",d.colorCyan30),borderGlobalPrimary:r.extend("--ft-border-global-primary","Used as border for element like input.",d.colorGray50),borderGlobalSubtle:r.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",d.colorGray30),borderInputPrimary:r.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",d.colorGray80)};var Os={largeHeight:r.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ft-button-large-horizontal-padding","",d.spacing4),largeGap:r.extend("--ft-button-large-gap","",d.spacing2),largeBorderRadius:r.extend("--ft-button-large-border-radius","",d.borderRadiusS),largeIconSize:r.extend("--ft-button-large-icon-size","",d.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"),smallHeight:r.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:r.extend("--ft-button-small-horizontal-padding","",d.spacing3),smallGap:r.extend("--ft-button-small-gap","",d.spacing2),smallBorderRadius:r.extend("--ft-button-small-border-radius","",d.borderRadiusS),smallIconSize:r.extend("--ft-button-small-icon-size","",d.iconSize2),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","30px"),primaryBackgroundColor:r.extend("--ft-button-primary-background-color","",u.backgroundActionPrimary),primaryColor:r.extend("--ft-button-primary-color","",u.contentGlobalOnColor),primaryIconColor:r.extend("--ft-button-primary-icon-color","",u.contentGlobalOnColor),primaryStateLayerColor:r.extend("--ft-button-primary-state-layer-color","",u.contentGlobalOnColor),primaryHoverStateLayerOpacity:r.extend("--ft-button-primary-hover-state-layer-opacity","",d.opacity16),primaryFocusStateLayerOpacity:r.extend("--ft-button-primary-focus-state-layer-opacity","",d.opacity16),primaryActiveStateLayerOpacity:r.extend("--ft-button-primary-active-state-layer-opacity","",d.opacity24),primaryDisabledComponentOpacity:r.extend("--ft-button-primary-disabled-component-opacity","",d.opacity40),focusFocusRingColor:r.extend("--ft-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBackgroundColor:r.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:r.extend("--ft-button-tertiary-color","",u.contentActionPrimary),tertiaryIconColor:r.extend("--ft-button-tertiary-icon-color","",u.contentActionPrimary),tertiaryStateLayerColor:r.extend("--ft-button-tertiary-state-layer-color","",u.contentActionPrimary),tertiaryHoverStateLayerOpacity:r.extend("--ft-button-tertiary-hover-state-layer-opacity","",d.opacity8),tertiaryFocusStateLayerOpacity:r.extend("--ft-button-tertiary-focus-state-layer-opacity","",d.opacity8),tertiaryActiveStateLayerOpacity:r.extend("--ft-button-tertiary-active-state-layer-opacity","",d.opacity16),tertiaryDisabledComponentOpacity:r.extend("--ft-button-tertiary-disabled-component-opacity","",d.opacity40),secondaryBackgroundColor:r.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:r.extend("--ft-button-secondary-color","",u.contentActionPrimary),secondaryIconColor:r.extend("--ft-button-secondary-icon-color","",u.contentActionPrimary),secondaryStateLayerColor:r.extend("--ft-button-secondary-state-layer-color","",u.contentActionPrimary),secondaryHoverStateLayerOpacity:r.extend("--ft-button-secondary-hover-state-layer-opacity","",d.opacity8),secondaryFocusStateLayerOpacity:r.extend("--ft-button-secondary-focus-state-layer-opacity","",d.opacity8),secondaryActiveStateLayerOpacity:r.extend("--ft-button-secondary-active-state-layer-opacity","",d.opacity16),secondaryDisabledComponentOpacity:r.extend("--ft-button-secondary-disabled-component-opacity","",d.opacity40),secondaryBorderColor:r.extend("--ft-button-secondary-border-color","",u.borderActionPrimary),neutralBackgroundColor:r.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:r.extend("--ft-button-neutral-icon-color","",u.contentGlobalSecondary),neutralColor:r.extend("--ft-button-neutral-color","",u.contentGlobalSecondary),neutralStateLayerColor:r.extend("--ft-button-neutral-state-layer-color","",u.contentGlobalSecondary),neutralHoverStateLayerOpacity:r.extend("--ft-button-neutral-hover-state-layer-opacity","",d.opacity8),neutralFocusStateLayerOpacity:r.extend("--ft-button-neutral-focus-state-layer-opacity","",d.opacity8),neutralActiveStateLayerOpacity:r.extend("--ft-button-neutral-active-state-layer-opacity","",d.opacity16),neutralDisabledComponentOpacity:r.extend("--ft-button-neutral-disabled-component-opacity","",d.opacity40)};var ws={iconSize:r.extend("--ft-banner-icon-size","",d.iconSize5),borderWidth:r.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-banner-horizontal-padding","",d.spacing6),verticalPadding:r.extend("--ft-banner-vertical-padding","",d.spacing6),horizontalSideGap:r.extend("--ft-banner-horizontal-side-gap","",d.spacing6),horizontalMobileGap:r.extend("--ft-banner-horizontal-mobile-gap","",d.spacing4),verticalMobileGap:r.extend("--ft-banner-vertical-mobile-gap","",d.spacing6),horizontalMiddleGap:r.extend("--ft-banner-horizontal-middle-gap","",d.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)};var Cs={horizontalGap:r.extend("--ft-breadcrumb-horizontal-gap","",d.spacing1),verticalGap:r.extend("--ft-breadcrumb-vertical-gap","",d.spacing2),currentElementColor:r.extend("--ft-breadcrumb-current-element-color","",u.contentGlobalPrimary),iconColor:r.extend("--ft-breadcrumb-icon-color","",u.contentGlobalSubtle)};var Es={horizontalPadding:r.extend("--ft-page-header-horizontal-padding","",d.spacing12),horizontalGap:r.extend("--ft-page-header-horizontal-gap","",d.spacing4),verticalGap:r.extend("--ft-page-header-vertical-gap","",d.spacing2),classicVerticalPadding:r.extend("--ft-page-header-classic-vertical-padding","",d.spacing6),multilineVerticalPadding:r.extend("--ft-page-header-multiline-vertical-padding","",d.spacing4),inlineVerticalPadding:r.extend("--ft-page-header-inline-vertical-padding","",d.spacing2),backgroundColor:r.extend("--ft-page-header-background-color","",d.colorWhite),bottomBorderColor:r.extend("--ft-page-header-bottom-border-color","",u.borderGlobalSubtle),titleColor:r.extend("--ft-page-header-title-color","",u.contentGlobalPrimary),subtitleColor:r.extend("--ft-page-header-subtitle-color","",u.contentGlobalSecondary)};var Ns={smallContainerWidth:r.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:r.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:r.extend("--ft-modal-overlay-background-color","",d.colorGray700),overlayOpacity:r.extend("--ft-modal-overlay-opacity","",d.opacity40),shadow:r.extend("--ft-modal-shadow","",d.shadowElevation03),bodyBackgroundColor:r.extend("--ft-modal-body-background-color","",d.colorWhite),bodyColor:r.extend("--ft-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-modal-body-horizontal-padding","",d.spacing6),bodyVerticalPadding:r.extend("--ft-modal-body-vertical-padding","",d.spacing6),bodyVerticalGap:r.extend("--ft-modal-body-vertical-gap","",d.spacing6),containerMargin:r.extend("--ft-modal-container-margin","",d.spacing3),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),headerTrailingIconColor:r.extend("--ft-modal-header-trailing-icon-color","",u.contentGlobalSecondary),headerVerticalPadding:r.extend("--ft-modal-header-vertical-padding","",d.spacing1),headerRightPadding:r.extend("--ft-modal-header-right-padding","",d.spacing1),headerLeftPadding:r.extend("--ft-modal-header-left-padding","",d.spacing6),headerGap:r.extend("--ft-modal-header-gap","",d.spacing2),headerBorderBottom:r.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:r.extend("--ft-modal-border-radius","",d.borderRadiusM)};var As={overlayOpacity:r.extend("--ft-drawer-overlay-opacity","",d.opacity40),shadow:r.extend("--ft-drawer-shadow","",d.shadowElevation03),bodyColor:r.extend("--ft-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ft-drawer-body-horizontal-padding","",d.spacing6),bodyVerticalPadding:r.extend("--ft-drawer-body-vertical-padding","",d.spacing6),bodyGap:r.extend("--ft-drawer-body-gap","",d.spacing6),bodyBackgroundColor:r.extend("--ft-drawer-body-background-color","",d.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","",d.spacing2),headerBorderWidth:r.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ft-drawer-header-gap","",d.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","",d.spacing4),buttonsBarVerticalPadding:r.extend("--ft-drawer-buttons-bar-vertical-padding","",d.spacing4),buttonsBarGap:r.extend("--ft-drawer-buttons-bar-gap","",d.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","",d.colorGray700)};var Rs={fieldHorizontalPadding:r.extend("--ft-text-input-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:r.extend("--ft-text-input-field-horizontal-gap","",d.spacing3),fieldVerticalGap:r.extend("--ft-text-input-field-vertical-gap","",d.spacing05),fieldIconSize:r.extend("--ft-text-input-field-icon-size","",d.iconSize3),fieldHeight:r.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-text-input-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:r.extend("--ft-text-input-helper-horizontal-gap","",d.spacing1),helperIconSize:r.extend("--ft-text-input-helper-icon-size","",d.iconSize2),borderRadius:r.extend("--ft-text-input-border-radius","",d.borderRadiusM),backgroundColor:r.extend("--ft-text-input-background-color","",d.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","",d.opacity40)};var Is={backgroundColor:r.extend("--ft-text-area-background-color","",d.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","",d.opacity40),fieldHorizontalLeftPadding:r.extend("--ft-text-area-field-horizontal-left-padding","",d.spacing4),fieldHorizontalGap:r.extend("--ft-text-area-field-horizontal-gap","",d.spacing3),fieldVerticalGap:r.extend("--ft-text-area-field-vertical-gap","",d.spacing05),fieldMinHeight:r.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:r.extend("--ft-text-area-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:r.extend("--ft-text-area-helper-horizontal-gap","",d.spacing1),helperIconSize:r.extend("--ft-text-area-helper-icon-size","",d.iconSize2),borderRadius:r.extend("--ft-text-area-border-radius","",d.borderRadiusM)};var _s={height:r.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:r.extend("--ft-floating-menu-horizontal-padding","",d.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","",d.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","",d.opacity8),hoverStateLayerOpacity:r.extend("--ft-floating-menu-hover-state-layer-opacity","",d.opacity8),activeStateLayerOpacity:r.extend("--ft-floating-menu-active-state-layer-opacity","",d.opacity16),disabledComponentOpacity:r.extend("--ft-floating-menu-disabled-component-opacity","",d.opacity40),iconSize:r.extend("--ft-floating-menu-icon-size","",d.iconSize3),backgroundColor:r.extend("--ft-floating-menu-background-color","",u.backgroundGlobalOnSurface)};var Ps={fieldHorizontalPadding:r.extend("--ft-combobox-single-select-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-single-select-field-horizontal-gap","",d.spacing3),fieldVerticalGap:r.extend("--ft-combobox-single-select-field-vertical-gap","",d.spacing05),fieldIconSize:r.extend("--ft-combobox-single-select-field-icon-size","",d.iconSize3),fieldHeight:r.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:r.extend("--ft-combobox-single-select-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:r.extend("--ft-combobox-single-select-helper-horizontal-gap","",d.spacing1),helperVerticalGap:r.extend("--ft-combobox-single-select-helper-vertical-gap","",d.spacing1),helperIconSize:r.extend("--ft-combobox-single-select-helper-icon-size","",d.iconSize2),menuVerticalGap:r.extend("--ft-combobox-single-select-menu-vertical-gap","",d.spacing2),borderRadius:r.extend("--ft-combobox-single-select-border-radius","",d.borderRadiusM),backgroundColor:r.extend("--ft-combobox-single-select-background-color","",d.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","",d.opacity40)};var $s={backgroundColor:r.extend("--ft-combobox-multi-select-background-color","",d.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","",d.opacity40),helperHorizontalPadding:r.extend("--ft-combobox-multi-select-helper-horizontal-padding","",d.spacing4),helperHorizontalGap:r.extend("--ft-combobox-multi-select-helper-horizontal-gap","",d.spacing1),helperVerticalGap:r.extend("--ft-combobox-multi-select-helper-vertical-gap","",d.spacing1),helperIconSize:r.extend("--ft-combobox-multi-select-helper-icon-size","",d.iconSize2),fieldHorizontalPadding:r.extend("--ft-combobox-multi-select-field-horizontal-padding","",d.spacing4),fieldHorizontalGap:r.extend("--ft-combobox-multi-select-field-horizontal-gap","",d.spacing3),fieldVerticalGap:r.extend("--ft-combobox-multi-select-field-vertical-gap","",d.spacing05),fieldIconSize:r.extend("--ft-combobox-multi-select-field-icon-size","",d.iconSize3),fieldMaxHeight:r.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:r.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",d.spacing1),contentValuesVerticalGap:r.extend("--ft-combobox-multi-select-content-values-vertical-gap","",d.spacing1),borderRadius:r.extend("--ft-combobox-multi-select-border-radius","",d.borderRadiusM)};var ks={backgroundColor:r.extend("--ft-popover-background-color","",u.backgroundGlobalOnSurface),horizontalPadding:r.extend("--ft-popover-horizontal-padding","",d.spacing6),verticalPadding:r.extend("--ft-popover-vertical-padding","",d.spacing6),iconColor:r.extend("--ft-popover-icon-color","",u.contentGlobalSecondary),iconSize:r.extend("--ft-popover-icon-size","",d.iconSize2),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","",d.spacing3),borderRadius:r.extend("--ft-popover-border-radius","",d.borderRadiusM),shadow:r.extend("--ft-popover-shadow","",d.shadowElevation02)};var Ls={topLeftBorderRadius:r.extend("--ft-tabs-top-left-border-radius","",d.borderRadiusS),topRightBorderRadius:r.extend("--ft-tabs-top-right-border-radius","",d.borderRadiusS),labelHorizontalPadding:r.extend("--ft-tabs-label-horizontal-padding","",d.spacing4),labelVerticalPadding:r.extend("--ft-tabs-label-vertical-padding","",d.spacing3),labelGap:r.extend("--ft-tabs-label-gap","",d.spacing1),offHoverStateLayerOpacity:r.extend("--ft-tabs-off-hover-state-layer-opacity","",d.opacity8),offFocusStateLayerOpacity:r.extend("--ft-tabs-off-focus-state-layer-opacity","",d.opacity8),offActiveStateLayerOpacity:r.extend("--ft-tabs-off-active-state-layer-opacity","",d.opacity16),offDisabledComponentOpacity:r.extend("--ft-tabs-off-disabled-component-opacity","",d.opacity40),offColor:r.extend("--ft-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ft-tabs-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ft-tabs-on-hover-state-layer-opacity","",d.opacity8),onFocusStateLayerOpacity:r.extend("--ft-tabs-on-focus-state-layer-opacity","",d.opacity8),onActiveStateLayerOpacity:r.extend("--ft-tabs-on-active-state-layer-opacity","",d.opacity16),onDisabledComponentOpacity:r.extend("--ft-tabs-on-disabled-component-opacity","",d.opacity40),onColor:r.extend("--ft-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ft-tabs-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:r.extend("--ft-tabs-icon-horizontal-padding","",d.spacing1),iconVerticalPadding:r.extend("--ft-tabs-icon-vertical-padding","",d.spacing4),focusOutlineWidth:r.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ft-tabs-focus-focus-ring-color","",u.borderActionFocusRing)};var Ts={hoverStateLayerOpacity:r.extend("--ft-collapsible-hover-state-layer-opacity","",d.opacity8),focusStateLayerOpacity:r.extend("--ft-collapsible-focus-state-layer-opacity","",d.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","",d.opacity16),disabledComponentOpacity:r.extend("--ft-collapsible-disabled-component-opacity","",d.opacity40),horizontalPadding:r.extend("--ft-collapsible-horizontal-padding","",d.spacing4),verticalPadding:r.extend("--ft-collapsible-vertical-padding","",d.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","",d.iconSize3)};var Ms={groupHorizontalPadding:r.extend("--ft-switch-group-horizontal-padding","",d.spacing1),groupVerticalPadding:r.extend("--ft-switch-group-vertical-padding","",d.spacing1),groupGap:r.extend("--ft-switch-group-gap","",d.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","",d.spacing2),labelVerticalPadding:r.extend("--ft-switch-label-vertical-padding","",d.spacing1),offHoverStateLayerOpacity:r.extend("--ft-switch-off-hover-state-layer-opacity","",d.opacity8),offFocusStateLayerOpacity:r.extend("--ft-switch-off-focus-state-layer-opacity","",d.opacity8),offActiveStateLayerOpacity:r.extend("--ft-switch-off-active-state-layer-opacity","",d.opacity16),offDisabledComponentOpacity:r.extend("--ft-switch-off-disabled-component-opacity","",d.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","",d.opacity8),onFocusStateLayerOpacity:r.extend("--ft-switch-on-focus-state-layer-opacity","",d.opacity8),onActiveStateLayerOpacity:r.extend("--ft-switch-on-active-state-layer-opacity","",d.opacity16),onDisabledComponentOpacity:r.extend("--ft-switch-on-disabled-component-opacity","",d.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","",d.spacing1),iconVerticalPadding:r.extend("--ft-switch-icon-vertical-padding","",d.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","",d.borderRadiusS)};var Ws={color1Light:r.extend("--ft-chart-1-light","for area color charts",d.colorBrand40),color1Base:r.extend("--ft-chart-1-base","for line charts",d.colorBrand0),color2Light:r.extend("--ft-chart-2-light","for area color charts",d.colorYellow60),color2Base:r.extend("--ft-chart-2-base","for line charts",d.colorYellow100),color3Light:r.extend("--ft-chart-3-light","",d.colorUltramarine40),color3Base:r.extend("--ft-chart-3-base","",d.colorUltramarine70),color4Light:r.extend("--ft-chart-4-light","",d.colorCyan50),color4Base:r.extend("--ft-chart-4-base","",d.colorCyan100),color5Light:r.extend("--ft-chart-5-light","",d.colorRed40),color5Base:r.extend("--ft-chart-5-base","",d.colorRed60),color6Light:r.extend("--ft-chart-6-light","",d.colorGreen40),color6Base:r.extend("--ft-chart-6-base","",d.colorGreen70),color7Light:r.extend("--ft-chart-7-light","",d.colorOrange70),color7Base:r.extend("--ft-chart-7-base","",d.colorOrange100),color8Light:r.extend("--ft-chart-8-light","",d.colorAvocado70),color8Base:r.extend("--ft-chart-8-base","",d.colorAvocado200),color9Light:r.extend("--ft-chart-9-light","",d.colorBrown50),color9Base:r.extend("--ft-chart-9-base","",d.colorBrown200),color10Light:r.extend("--ft-chart-10-light","",d.colorGray50),color10Base:r.extend("--ft-chart-10-base","",d.colorGray80),monochrome10:r.extend("--ft-chart-monochrome-10","",d.colorBrand10),monochrome20:r.extend("--ft-chart-monochrome-20","",d.colorBrand20),monochrome30:r.extend("--ft-chart-monochrome-30","",d.colorBrand40),monochrome40:r.extend("--ft-chart-monochrome-40","",d.colorBrand60),monochrome50:r.extend("--ft-chart-monochrome-50","",d.colorBrand0),monochrome60:r.extend("--ft-chart-monochrome-60","",d.colorBrand200)};var Us={largeHorizontalPadding:r.extend("--ft-chip-large-horizontal-padding","",d.spacing4),largeVerticalPadding:r.extend("--ft-chip-large-vertical-padding","",d.spacing2),largeGap:r.extend("--ft-chip-large-gap","",d.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.extend("--ft-chip-large-border-radius","",d.borderRadiusPill),largeBorderWidth:r.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ft-chip-large-icon-size","",d.iconSize3),mediumHorizontalPadding:r.extend("--ft-chip-medium-horizontal-padding","",d.spacing3),mediumVerticalPadding:r.extend("--ft-chip-medium-vertical-padding","",d.spacing1),mediumGap:r.extend("--ft-chip-medium-gap","",d.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.extend("--ft-chip-medium-border-radius","",d.borderRadiusPill),mediumBorderWidth:r.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ft-chip-medium-icon-size","",d.iconSize2),smallHorizontalPadding:r.extend("--ft-chip-small-horizontal-padding","",d.spacing2),smallVerticalPadding:r.extend("--ft-chip-small-vertical-padding","",d.spacing05),smallGap:r.extend("--ft-chip-small-gap","",d.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.extend("--ft-chip-small-border-radius","",d.borderRadiusPill),smallBorderWidth:r.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ft-chip-small-icon-size","",d.iconSize1),neutralBackgroundColor:r.extend("--ft-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:r.extend("--ft-chip-neutral-color","",u.contentGlobalPrimary),neutralIconColor:r.extend("--ft-chip-neutral-icon-color","",u.contentGlobalPrimary),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 Ds={infoBorderColor:r.extend("--ft-border-info-border-color","",u.borderInfoSubtle)};var Fs={borderWidth:r.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ft-notice-horizontal-padding","",d.spacing2),verticalPadding:r.extend("--ft-notice-vertical-padding","",d.spacing1),borderRadius:r.extend("--ft-notice-border-radius","",d.borderRadiusS),gap:r.extend("--ft-notice-gap","",d.spacing2),iconSize:r.extend("--ft-notice-icon-size","",d.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 Bs={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","",d.opacity16),checkedFocusStateLayerOpacity:r.extend("--ft-checkbox-checked-focus-state-layer-opacity","",d.opacity16),checkedActiveStateLayerOpacity:r.extend("--ft-checkbox-checked-active-state-layer-opacity","",d.opacity24),checkedDisabledComponentOpacity:r.extend("--ft-checkbox-checked-disabled-component-opacity","",d.opacity40),uncheckedBorderColor:r.extend("--ft-checkbox-unchecked-border-color","",d.colorGray80),uncheckedStateLayerColor:r.extend("--ft-checkbox-unchecked-state-layer-color","",d.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",d.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",d.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",d.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ft-checkbox-unchecked-disabled-component-opacity","",d.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","",d.spacing3)};var zs={offHoverStateLayerOpacity:r.extend("--ft-toggle-off-hover-state-layer-opacity","",d.opacity16),offFocusStateLayerOpacity:r.extend("--ft-toggle-off-focus-state-layer-opacity","",d.opacity16),offActiveStateLayerOpacity:r.extend("--ft-toggle-off-active-state-layer-opacity","",d.opacity24),offDisabledComponentOpacity:r.extend("--ft-toggle-off-disabled-component-opacity","",d.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","",d.opacity16),onFocusStateLayerOpacity:r.extend("--ft-toggle-on-focus-state-layer-opacity","",d.opacity16),onActiveStateLayerOpacity:r.extend("--ft-toggle-on-active-state-layer-opacity","",d.opacity24),onDisabledComponentOpacity:r.extend("--ft-toggle-on-disabled-component-opacity","",d.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","",d.spacing3)};var Hs={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","",d.opacity16),selectedFocusStateLayerOpacity:r.extend("--ft-radio-selected-focus-state-layer-opacity","",d.opacity16),selectedActiveStateLayerOpacity:r.extend("--ft-radio-selected-active-state-layer-opacity","",d.opacity24),selectedDisabledComponentOpacity:r.extend("--ft-radio-selected-disabled-component-opacity","",d.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","",d.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ft-radio-unselected-focus-state-layer-opacity","",d.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ft-radio-unselected-active-state-layer-opacity","",d.opacity24),unselectedDisabledComponentOpacity:r.extend("--ft-radio-unselected-disabled-component-opacity","",d.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","",d.spacing3)};var js={iconSize:r.extend("--ft-notification-icon-size","",d.iconSize4),horizontalPadding:r.extend("--ft-notification-horizontal-padding","",d.spacing4),verticalPadding:r.extend("--ft-notification-vertical-padding","",d.spacing4),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","",d.borderRadiusPill),borderWidth:r.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ft-notification-leading-gap","",d.spacing2),trailingGap:r.extend("--ft-notification-trailing-gap","",d.spacing8)};var Ks={horizontalPadding:r.extend("--ft-tooltip-horizontal-padding","",d.spacing2),verticalPadding:r.extend("--ft-tooltip-vertical-padding","",d.spacing2),borderRadius:r.extend("--ft-tooltip-border-radius","",d.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","",d.opacity80),shadow:r.extend("--ft-tooltip-shadow","",d.shadowElevation03),maxWidth:r.create("--ft-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ft-tooltip-gap","",d.spacing05)};var Vs={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 Qr={};P(Qr,{FtNotificationEvent:()=>Yr,PostResizeEvent:()=>Xr,PreResizeEvent:()=>Jr});var Yr=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},Jr=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Xr=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}};var fo={};P(fo,{computeOffsetPosition:()=>fc});var Oi=["top","right","bottom","left"],Si=["start","end"],to=Oi.reduce((o,e)=>o.concat(e,e+"-"+Si[0],e+"-"+Si[1]),[]),bt=Math.min,me=Math.max,xt=Math.round;var se=o=>({x:o,y:o}),Zs={left:"right",right:"left",bottom:"top",top:"bottom"},Gs={start:"end",end:"start"};function ro(o,e,t){return me(o,bt(e,t))}function er(o,e){return typeof o=="function"?o(e):o}function Ve(o){return o.split("-")[0]}function ge(o){return o.split("-")[1]}function oo(o){return o==="x"?"y":"x"}function no(o){return o==="y"?"height":"width"}function tr(o){return["top","bottom"].includes(Ve(o))?"y":"x"}function io(o){return oo(tr(o))}function wi(o,e,t){t===void 0&&(t=!1);let n=ge(o),i=io(o),a=no(i),s=i==="x"?n===(t?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=eo(s)),[s,eo(s)]}function Ci(o){return o.replace(/start|end/g,e=>Gs[e])}function eo(o){return o.replace(/left|right|bottom|top/g,e=>Zs[e])}function qs(o){return{top:0,right:0,bottom:0,left:0,...o}}function Ei(o){return typeof o!="number"?qs(o):{top:o,right:o,bottom:o,left:o}}function Le(o){return{...o,top:o.y,left:o.x,right:o.x+o.width,bottom:o.y+o.height}}function Ni(o,e,t){let{reference:n,floating:i}=o,a=tr(e),s=io(e),l=no(s),c=Ve(e),f=a==="y",h=n.x+n.width/2-i.width/2,p=n.y+n.height/2-i.height/2,m=n[l]/2-i[l]/2,g;switch(c){case"top":g={x:h,y:n.y-i.height};break;case"bottom":g={x:h,y:n.y+n.height};break;case"right":g={x:n.x+n.width,y:p};break;case"left":g={x:n.x-i.width,y:p};break;default:g={x:n.x,y:n.y}}switch(ge(e)){case"start":g[s]-=m*(t&&f?-1:1);break;case"end":g[s]+=m*(t&&f?-1:1);break}return g}var Ai=async(o,e,t)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=t,l=a.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(e)),f=await s.getElementRects({reference:o,floating:e,strategy:i}),{x:h,y:p}=Ni(f,n,c),m=n,g={},y=0;for(let v=0;v<l.length;v++){let{name:O,fn:w}=l[v],{x:C,y:x,data:b,reset:S}=await w({x:h,y:p,initialPlacement:n,placement:m,strategy:i,middlewareData:g,rects:f,platform:s,elements:{reference:o,floating:e}});if(h=C??h,p=x??p,g={...g,[O]:{...g[O],...b}},S&&y<=50){y++,typeof S=="object"&&(S.placement&&(m=S.placement),S.rects&&(f=S.rects===!0?await s.getElementRects({reference:o,floating:e,strategy:i}):S.rects),{x:h,y:p}=Ni(f,m,c)),v=-1;continue}}return{x:h,y:p,placement:m,strategy:i,middlewareData:g}};async function ao(o,e){var t;e===void 0&&(e={});let{x:n,y:i,platform:a,rects:s,elements:l,strategy:c}=o,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:p="floating",altBoundary:m=!1,padding:g=0}=er(e,o),y=Ei(g),O=l[m?p==="floating"?"reference":"floating":p],w=Le(await a.getClippingRect({element:(t=await(a.isElement==null?void 0:a.isElement(O)))==null||t?O:O.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:f,rootBoundary:h,strategy:c})),C=p==="floating"?{...s.floating,x:n,y:i}:s.reference,x=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),b=await(a.isElement==null?void 0:a.isElement(x))?await(a.getScale==null?void 0:a.getScale(x))||{x:1,y:1}:{x:1,y:1},S=Le(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:C,offsetParent:x,strategy:c}):C);return{top:(w.top-S.top+y.top)/b.y,bottom:(S.bottom-w.bottom+y.bottom)/b.y,left:(w.left-S.left+y.left)/b.x,right:(S.right-w.right+y.right)/b.x}}function Ys(o,e,t){return(o?[...t.filter(i=>ge(i)===o),...t.filter(i=>ge(i)!==o)]:t.filter(i=>Ve(i)===i)).filter(i=>o?ge(i)===o||(e?Ci(i)!==i:!1):!0)}var so=function(o){return o===void 0&&(o={}),{name:"autoPlacement",options:o,async fn(e){var t,n,i;let{rects:a,middlewareData:s,placement:l,platform:c,elements:f}=e,{crossAxis:h=!1,alignment:p,allowedPlacements:m=to,autoAlignment:g=!0,...y}=er(o,e),v=p!==void 0||m===to?Ys(p||null,g,m):m,O=await ao(e,y),w=((t=s.autoPlacement)==null?void 0:t.index)||0,C=v[w];if(C==null)return{};let x=wi(C,a,await(c.isRTL==null?void 0:c.isRTL(f.floating)));if(l!==C)return{reset:{placement:v[0]}};let b=[O[Ve(C)],O[x[0]],O[x[1]]],S=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:C,overflows:b}],N=v[w+1];if(N)return{data:{index:w+1,overflows:S},reset:{placement:N}};let I=S.map(E=>{let A=ge(E.placement);return[E.placement,A&&h?E.overflows.slice(0,2).reduce((R,U)=>R+U,0):E.overflows[0],E.overflows]}).sort((E,A)=>E[1]-A[1]),_=((i=I.filter(E=>E[2].slice(0,ge(E[0])?2:3).every(A=>A<=0))[0])==null?void 0:i[0])||I[0][0];return _!==l?{data:{index:w+1,overflows:S},reset:{placement:_}}:{}}}};var co=function(o){return o===void 0&&(o={}),{name:"shift",options:o,async fn(e){let{x:t,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:O=>{let{x:w,y:C}=O;return{x:w,y:C}}},...c}=er(o,e),f={x:t,y:n},h=await ao(e,c),p=tr(Ve(i)),m=oo(p),g=f[m],y=f[p];if(a){let O=m==="y"?"top":"left",w=m==="y"?"bottom":"right",C=g+h[O],x=g-h[w];g=ro(C,g,x)}if(s){let O=p==="y"?"top":"left",w=p==="y"?"bottom":"right",C=y+h[O],x=y-h[w];y=ro(C,y,x)}let v=l.fn({...e,[m]:g,[p]:y});return{...v,data:{x:v.x-t,y:v.y-n}}}}};function ce(o){return Ii(o)?(o.nodeName||"").toLowerCase():"#document"}function z(o){var e;return(o==null||(e=o.ownerDocument)==null?void 0:e.defaultView)||window}function le(o){var e;return(e=(Ii(o)?o.ownerDocument:o.document)||window.document)==null?void 0:e.documentElement}function Ii(o){return o instanceof Node||o instanceof z(o).Node}function ee(o){return o instanceof Element||o instanceof z(o).Element}function q(o){return o instanceof HTMLElement||o instanceof z(o).HTMLElement}function Ri(o){return typeof ShadowRoot>"u"?!1:o instanceof ShadowRoot||o instanceof z(o).ShadowRoot}function Ze(o){let{overflow:e,overflowX:t,overflowY:n,display:i}=j(o);return/auto|scroll|overlay|hidden|clip/.test(e+n+t)&&!["inline","contents"].includes(i)}function _i(o){return["table","td","th"].includes(ce(o))}function or(o){let e=nr(),t=j(o);return t.transform!=="none"||t.perspective!=="none"||(t.containerType?t.containerType!=="normal":!1)||!e&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!e&&(t.filter?t.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(t.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(t.contain||"").includes(n))}function Pi(o){let e=Te(o);for(;q(e)&&!vt(e);){if(or(e))return e;e=Te(e)}return null}function nr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function vt(o){return["html","body","#document"].includes(ce(o))}function j(o){return z(o).getComputedStyle(o)}function St(o){return ee(o)?{scrollLeft:o.scrollLeft,scrollTop:o.scrollTop}:{scrollLeft:o.pageXOffset,scrollTop:o.pageYOffset}}function Te(o){if(ce(o)==="html")return o;let e=o.assignedSlot||o.parentNode||Ri(o)&&o.host||le(o);return Ri(e)?e.host:e}function $i(o){let e=Te(o);return vt(e)?o.ownerDocument?o.ownerDocument.body:o.body:q(e)&&Ze(e)?e:$i(e)}function rr(o,e,t){var n;e===void 0&&(e=[]),t===void 0&&(t=!0);let i=$i(o),a=i===((n=o.ownerDocument)==null?void 0:n.body),s=z(i);return a?e.concat(s,s.visualViewport||[],Ze(i)?i:[],s.frameElement&&t?rr(s.frameElement):[]):e.concat(i,rr(i,[],t))}function Ti(o){let e=j(o),t=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=q(o),a=i?o.offsetWidth:t,s=i?o.offsetHeight:n,l=xt(t)!==a||xt(n)!==s;return l&&(t=a,n=s),{width:t,height:n,$:l}}function Mi(o){return ee(o)?o:o.contextElement}function Ge(o){let e=Mi(o);if(!q(e))return se(1);let t=e.getBoundingClientRect(),{width:n,height:i,$:a}=Ti(e),s=(a?xt(t.width):t.width)/n,l=(a?xt(t.height):t.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Js=se(0);function Wi(o){let e=z(o);return!nr()||!e.visualViewport?Js:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Xs(o,e,t){return e===void 0&&(e=!1),!t||e&&t!==z(o)?!1:e}function Ot(o,e,t,n){e===void 0&&(e=!1),t===void 0&&(t=!1);let i=o.getBoundingClientRect(),a=Mi(o),s=se(1);e&&(n?ee(n)&&(s=Ge(n)):s=Ge(o));let l=Xs(a,t,n)?Wi(a):se(0),c=(i.left+l.x)/s.x,f=(i.top+l.y)/s.y,h=i.width/s.x,p=i.height/s.y;if(a){let m=z(a),g=n&&ee(n)?z(n):n,y=m.frameElement;for(;y&&n&&g!==m;){let v=Ge(y),O=y.getBoundingClientRect(),w=j(y),C=O.left+(y.clientLeft+parseFloat(w.paddingLeft))*v.x,x=O.top+(y.clientTop+parseFloat(w.paddingTop))*v.y;c*=v.x,f*=v.y,h*=v.x,p*=v.y,c+=C,f+=x,y=z(y).frameElement}}return Le({width:h,height:p,x:c,y:f})}function Qs(o){let{rect:e,offsetParent:t,strategy:n}=o,i=q(t),a=le(t);if(t===a)return e;let s={scrollLeft:0,scrollTop:0},l=se(1),c=se(0);if((i||!i&&n!=="fixed")&&((ce(t)!=="body"||Ze(a))&&(s=St(t)),q(t))){let f=Ot(t);l=Ge(t),c.x=f.x+t.clientLeft,c.y=f.y+t.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+c.x,y:e.y*l.y-s.scrollTop*l.y+c.y}}function ec(o){return Array.from(o.getClientRects())}function Ui(o){return Ot(le(o)).left+St(o).scrollLeft}function tc(o){let e=le(o),t=St(o),n=o.ownerDocument.body,i=me(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),a=me(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),s=-t.scrollLeft+Ui(o),l=-t.scrollTop;return j(n).direction==="rtl"&&(s+=me(e.clientWidth,n.clientWidth)-i),{width:i,height:a,x:s,y:l}}function rc(o,e){let t=z(o),n=le(o),i=t.visualViewport,a=n.clientWidth,s=n.clientHeight,l=0,c=0;if(i){a=i.width,s=i.height;let f=nr();(!f||f&&e==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:a,height:s,x:l,y:c}}function oc(o,e){let t=Ot(o,!0,e==="fixed"),n=t.top+o.clientTop,i=t.left+o.clientLeft,a=q(o)?Ge(o):se(1),s=o.clientWidth*a.x,l=o.clientHeight*a.y,c=i*a.x,f=n*a.y;return{width:s,height:l,x:c,y:f}}function ki(o,e,t){let n;if(e==="viewport")n=rc(o,t);else if(e==="document")n=tc(le(o));else if(ee(e))n=oc(e,t);else{let i=Wi(o);n={...e,x:e.x-i.x,y:e.y-i.y}}return Le(n)}function Di(o,e){let t=Te(o);return t===e||!ee(t)||vt(t)?!1:j(t).position==="fixed"||Di(t,e)}function nc(o,e){let t=e.get(o);if(t)return t;let n=rr(o,[],!1).filter(l=>ee(l)&&ce(l)!=="body"),i=null,a=j(o).position==="fixed",s=a?Te(o):o;for(;ee(s)&&!vt(s);){let l=j(s),c=or(s);!c&&l.position==="fixed"&&(i=null),(a?!c&&!i:!c&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Ze(s)&&!c&&Di(o,s))?n=n.filter(h=>h!==s):i=l,s=Te(s)}return e.set(o,n),n}function ic(o){let{element:e,boundary:t,rootBoundary:n,strategy:i}=o,s=[...t==="clippingAncestors"?nc(e,this._c):[].concat(t),n],l=s[0],c=s.reduce((f,h)=>{let p=ki(e,h,i);return f.top=me(p.top,f.top),f.right=bt(p.right,f.right),f.bottom=bt(p.bottom,f.bottom),f.left=me(p.left,f.left),f},ki(e,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function ac(o){return Ti(o)}function sc(o,e,t){let n=q(e),i=le(e),a=t==="fixed",s=Ot(o,!0,a,e),l={scrollLeft:0,scrollTop:0},c=se(0);if(n||!n&&!a)if((ce(e)!=="body"||Ze(i))&&(l=St(e)),n){let f=Ot(e,!0,a,e);c.x=f.x+e.clientLeft,c.y=f.y+e.clientTop}else i&&(c.x=Ui(i));return{x:s.left+l.scrollLeft-c.x,y:s.top+l.scrollTop-c.y,width:s.width,height:s.height}}function Li(o,e){return!q(o)||j(o).position==="fixed"?null:e?e(o):o.offsetParent}function Fi(o,e){let t=z(o);if(!q(o))return t;let n=Li(o,e);for(;n&&_i(n)&&j(n).position==="static";)n=Li(n,e);return n&&(ce(n)==="html"||ce(n)==="body"&&j(n).position==="static"&&!or(n))?t:n||Pi(o)||t}var cc=async function(o){let{reference:e,floating:t,strategy:n}=o,i=this.getOffsetParent||Fi,a=this.getDimensions;return{reference:sc(e,await i(t),n),floating:{x:0,y:0,...await a(t)}}};function lc(o){return j(o).direction==="rtl"}var ir={convertOffsetParentRelativeRectToViewportRelativeRect:Qs,getDocumentElement:le,getClippingRect:ic,getOffsetParent:Fi,getElementRects:cc,getClientRects:ec,getDimensions:ac,getScale:Ge,isElement:ee,isRTL:lc};var Bi=(o,e,t)=>{let n=new Map,i={platform:ir,...t},a={...i.platform,_c:n};return Ai(o,e,{...i,platform:a})};function zi(o){return dc(o)}function lo(o){return o.assignedSlot?o.assignedSlot:o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}function dc(o){for(let e=o;e;e=lo(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=lo(o);e;e=lo(e)){if(!(e instanceof Element))continue;let t=getComputedStyle(e);if(t.display!=="contents"&&(t.position!=="static"||t.filter!=="none"||e.tagName==="BODY"))return e}return null}async function fc(o,e,t){return Bi(o,e,{platform:{...ir,getOffsetParent:n=>ir.getOffsetParent(n,zi)},middleware:[co({crossAxis:!0}),so({allowedPlacements:[t]})]})}var ho={};P(ho,{FtLitElement:()=>te});var uo={};P(uo,{ScopedRegistryLitElement:()=>wt});var ar=window,uc=ar.ShadowRoot&&(ar.ShadyCSS===void 0||ar.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,$p=Symbol();var Hi=(o,e)=>{uc?o.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet):e.forEach(t=>{let n=document.createElement("style"),i=ar.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=t.cssText,o.appendChild(n)})};var wt=class extends ie{createRenderRoot(){let e=this.constructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,Object.entries(e.elementDefinitions).forEach(([i,a])=>e.registry.define(i,a)));let t={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(t);return Hi(n,e.elementStyles),n}};var po=function(o,e,t,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(s=o[l])&&(a=(i<3?s(a):i>3?s(e,t,a):s(e,t))||a);return i>3&&a&&Object.defineProperty(e,t,a),a},Vi,ji=Symbol("constructorPrototype"),Ki=Symbol("constructorName"),Zi=Symbol("exportpartsDebouncer"),te=class extends wt{constructor(){super(),this.adoptedCustomStyleSheet=new CSSStyleSheet,this.useAdoptedStyleSheets=!0,this[Vi]=new Q(5),this[Ki]=this.constructor.name,this[ji]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ki]&&Object.setPrototypeOf(this,this[ji])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet])}catch(e){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",e)}}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate()})}contentAvailableCallback(e){}applyCustomStylesheet(e){var t,n,i;if(this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((t=this.customStylesheet)!==null&&t!==void 0?t:"")}catch(a){console.error(a,this.customStylesheet)}}else if(((i=(n=this.shadowRoot)===null||n===void 0?void 0:n.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&i!==void 0?i:[]).forEach(a=>a.remove()),this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}scheduleExportpartsUpdate(){var e,t,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(t=this.exportpartsPrefixes)===null||t===void 0?void 0:t.length)!==null&&n!==void 0&&n)&&this[Zi].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})}setExportpartsAttribute(e){var t,n,i,a,s,l;let c=m=>m!=null&&m.trim().length>0,f=e.filter(c).map(m=>m.trim());if(f.length===0){this.removeAttribute("exportparts");return}let h=new Set;for(let m of(n=(t=this.shadowRoot)===null||t===void 0?void 0:t.querySelectorAll("[part],[exportparts]"))!==null&&n!==void 0?n:[]){let g=(a=(i=m.getAttribute("part"))===null||i===void 0?void 0:i.split(" "))!==null&&a!==void 0?a:[],y=(l=(s=m.getAttribute("exportparts"))===null||s===void 0?void 0:s.split(",").map(v=>v.split(":")[1]))!==null&&l!==void 0?l:[];new Array(...g,...y).filter(c).map(v=>v.trim()).forEach(v=>h.add(v))}if(h.size===0){this.removeAttribute("exportparts");return}let p=[...h.values()].flatMap(m=>f.map(g=>`${m}:${g}--${m}`));this.setAttribute("exportparts",[...this.part,...p].join(", "))}};Vi=Zi;po([T()],te.prototype,"exportpartsPrefix",void 0);po([Vr([])],te.prototype,"exportpartsPrefixes",void 0);po([T()],te.prototype,"customStylesheet",void 0);var Gi={};var yo={};P(yo,{highlightHtml:()=>mc,highlightHtmlColorCssVariable:()=>qi,highlightHtmlStyles:()=>hc});var Me=class o{constructor(e,t=!0,n=[],i=5e3){this.ctx=e,this.iframes=t,this.exclude=n,this.iframesTimeout=i}static matches(e,t){let n=typeof t=="string"?[t]:t,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(e,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,t=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let i=t.filter(a=>a.contains(n)).length>0;t.indexOf(n)===-1&&!i&&t.push(n)}),t}getIframeContents(e,t,n=()=>{}){let i;try{let a=e.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&t(i)}isIframeBlank(e){let t="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&n!==t&&n}observeIframeLoad(e,t,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",s),this.getIframeContents(e,t,n))}catch{n()}}};e.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(e,t,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,n):this.getIframeContents(e,t,n):this.observeIframeLoad(e,t,n)}catch{n()}}waitForIframes(e,t){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||t()})},i=>{i||t()})}forEachIframe(e,t,n,i=()=>{}){let a=e.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let c=()=>{--s<=0&&i(l)};s||c(),a.forEach(f=>{o.matches(f,this.exclude)?c():this.onIframeReady(f,h=>{t(f)&&(l++,n(h)),c()},c)})}createIterator(e,t,n){return document.createNodeIterator(e,t,n,!1)}createInstanceOnIframe(e){return new o(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,n){let i=e.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(t!==null){let s=t.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(e){let t=e.previousNode(),n;return t===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:t,node:n}}checkIframeFilter(e,t,n,i){let a=!1,s=!1;return i.forEach((l,c)=>{l.val===n&&(a=c,s=l.handled)}),this.compareNodeIframe(e,t,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(e,t,n,i){e.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(t,n,i)})})}iterateThroughNodes(e,t,n,i,a){let s=this.createIterator(t,e,i),l=[],c=[],f,h,p=()=>({prevNode:h,node:f}=this.getIteratorNode(s),f);for(;p();)this.iframes&&this.forEachIframe(t,m=>this.checkIframeFilter(f,h,m,l),m=>{this.createInstanceOnIframe(m).forEachNode(e,g=>c.push(g),i)}),c.push(f);c.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(l,e,n,i),a()}forEachNode(e,t,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(l=>{let c=()=>{this.iterateThroughNodes(e,l,t,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(l,c):c()})}};var Ct=class{constructor(e){this.ctx=e,this.ie=!1;let t=window.navigator.userAgent;(t.indexOf("MSIE")>-1||t.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new Me(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,t="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[t]=="function"&&n[t](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let t=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in t)if(t.hasOwnProperty(a)){let s=t[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&c!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(c)})`,`gm${n}`),i+`(${this.processSynomyms(l)}|${this.processSynomyms(c)})`+i))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,t=>t.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,t=>t.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let t=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(t,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?t:t+"\0"})}createJoinersRegExp(e){let t=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&t.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join(`[${t.join("")}]*`):e}createDiacriticsRegExp(e){let t=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return e.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;e=e.replace(new RegExp(`[${s}]`,`gm${t}`),`[${s}]`),i.push(s)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\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`()(${e})`;case"complementary":return s="\\s"+(s||this.escapeStr(t)),`()([^${s}]*${e}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${e})(?=$|\\s${s})`}}getSeparatedKeywords(e){let t=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&t.indexOf(i)===-1&&t.push(i)}):n.trim()&&t.indexOf(n)===-1&&t.push(n)}),{keywords:t.sort((n,i)=>i.length-n.length),length:t.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let t=[],n=0;return e.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,t.push(i),n=s)}),t}callNoMatchOnInvalidRanges(e,t){let n,i,a=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-t>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:i,valid:a}}checkWhitespaceRanges(e,t,n){let i,a=!0,s=n.length,l=t-s,c=parseInt(e.start,10)-l;return c=c>s?s:c,i=c+parseInt(e.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),c<0||i-c<0||c>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(c,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:c,end:i,valid:a}}getTextNodes(e){let t="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:t.length,end:(t+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:t,nodes:n})})}matchesExclude(e){return Me.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,n){let i=this.opt.element?this.opt.element:"mark",a=e.splitText(t),s=a.splitText(n-t),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(e,t,n,i,a){e.nodes.every((s,l)=>{let c=e.nodes[l+1];if(typeof c>"u"||c.start>t){if(!i(s.node))return!1;let f=t-s.start,h=(n>s.end?s.end:n)-s.start,p=e.value.substr(0,s.start),m=e.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,f,h),e.value=p+m,e.nodes.forEach((g,y)=>{y>=l&&(e.nodes[y].start>0&&y!==l&&(e.nodes[y].start-=h),e.nodes[y].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)t=s.end;else return!1}return!0})}wrapMatches(e,t,n,i,a){let s=t===0?0:t+1;this.getTextNodes(l=>{l.nodes.forEach(c=>{c=c.node;let f;for(;(f=e.exec(c.textContent))!==null&&f[s]!=="";){if(!n(f[s],c))continue;let h=f.index;if(s!==0)for(let p=1;p<s;p++)h+=f[p].length;c=this.wrapRangeInTextNode(c,h,h+f[s].length),i(c.previousSibling),e.lastIndex=0}}),a()})}wrapMatchesAcrossElements(e,t,n,i,a){let s=t===0?0:t+1;this.getTextNodes(l=>{let c;for(;(c=e.exec(l.value))!==null&&c[s]!=="";){let f=c.index;if(s!==0)for(let p=1;p<s;p++)f+=c[p].length;let h=f+c[s].length;this.wrapRangeInMappedTextNode(l,f,h,p=>n(c[s],p),(p,m)=>{e.lastIndex=m,i(p)})}a()})}wrapRangeFromIndex(e,t,n,i){this.getTextNodes(a=>{let s=a.value.length;e.forEach((l,c)=>{let{start:f,end:h,valid:p}=this.checkWhitespaceRanges(l,s,a.value);p&&this.wrapRangeInMappedTextNode(a,f,h,m=>t(m,l,a.value.substring(f,h),c),m=>{n(m,l)})}),i()})}unwrapMatches(e){let t=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));t.replaceChild(n,e),this.ie?this.normalizeTextNode(t):t.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,t){this.opt=t,this.log(`Searching with expression "${e}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),a,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,t){this.opt=t;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),l=this.opt.caseSensitive?"":"i",c=f=>{let h=new RegExp(this.createRegExp(f),`gm${l}`),p=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,g)=>this.opt.filter(g,f,n,p),m=>{p++,n++,this.opt.each(m)},()=>{p===0&&this.opt.noMatch(f),a[s-1]===f?this.opt.done(n):c(a[a.indexOf(f)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):c(a[0])}markRanges(e,t){this.opt=t;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,l,c)=>this.opt.filter(a,s,l,c),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let t=this.opt.element?this.opt.element:"*";t+="[data-markjs]",this.opt.className&&(t+=`.${this.opt.className}`),this.log(`Removal selector "${t}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=Me.matches(n,t),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function mo(o){let e=new Ct(o);return this.mark=(t,n)=>(e.mark(t,n),this),this.markRegExp=(t,n)=>(e.markRegExp(t,n),this),this.markRanges=(t,n)=>(e.markRanges(t,n),this),this.unmark=t=>(e.unmark(t),this),this}var pc=mo,qi=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),hc=W`
|
|
7
|
+
.highlight-html-match {
|
|
8
|
+
background: ${qi};
|
|
9
|
+
}
|
|
10
|
+
`,go={className:"highlight-html-match"};function mc(o,e){var t;let n=o.getAttribute("data-highlight-html-query");if((n??"")!==(e??"")){let i=new pc(o);i.unmark(go),e&&e.trim()&&(i.mark(e.replace(/"[^"]+"/g,""),{...go,separateWordSearch:!0}),((t=e.match(/"[^"]+"/g))!==null&&t!==void 0?t:[]).forEach(s=>i.mark(s.replace(/"/g,""),{...go,separateWordSearch:!1})))}o.setAttribute("data-highlight-html-query",e??"")}var bo={};P(bo,{noTextSelect:()=>gc,safariEllipsisFix:()=>bc,wordWrap:()=>yc});var gc=W`
|
|
11
|
+
.ft-no-text-select {
|
|
12
|
+
-webkit-touch-callout: none;
|
|
13
|
+
-webkit-user-select: none;
|
|
14
|
+
-khtml-user-select: none;
|
|
15
|
+
-moz-user-select: none;
|
|
16
|
+
-ms-user-select: none;
|
|
17
|
+
user-select: none;
|
|
18
|
+
}
|
|
19
|
+
`,yc=W`
|
|
20
|
+
.ft-word-wrap {
|
|
21
|
+
white-space: normal;
|
|
22
|
+
word-wrap: break-word;
|
|
23
|
+
-ms-word-break: break-all;
|
|
24
|
+
word-break: break-all;
|
|
25
|
+
word-break: break-word;
|
|
26
|
+
-ms-hyphens: auto;
|
|
27
|
+
-moz-hyphens: auto;
|
|
28
|
+
-webkit-hyphens: auto;
|
|
29
|
+
hyphens: auto
|
|
30
|
+
}
|
|
31
|
+
`,bc=W`
|
|
32
|
+
.ft-safari-ellipsis-fix {
|
|
33
|
+
margin-right: 0;
|
|
34
|
+
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.ft-safari-ellipsis-fix:after {
|
|
38
|
+
content: "\\0000a0";
|
|
39
|
+
display: inline-block;
|
|
40
|
+
width: 0;
|
|
41
|
+
}
|
|
42
|
+
`;var Yi={};var vo={};P(vo,{ParametrizedLabelResolver:()=>xo});var xo=class{constructor(e,t){this.defaultLabels=e,this.labels=t}resolve(e,...t){var n,i;e=this.resolvePluralKey(e,t);let a=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return t.forEach((s,l)=>a=a.replace(new RegExp(`\\{${l}([^}]*)\\}`,"g"),(c,f)=>this.formatValue(s,f))),a}resolvePluralKey(e,t){for(let n of t)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}formatValue(e,t){return e instanceof Date?this.formatDate(e,t):e??""}formatDate(e,t){let n=i=>t?.includes("date")?e.toLocaleDateString(i):t?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var Zo={};P(Zo,{FtCommandQueue:()=>Et,FtLitElementRedux:()=>qe,FtReduxStore:()=>Vo,clearAllStores:()=>nl,isFtReduxStore:()=>We,redux:()=>vc,reduxEventListener:()=>Sc,reduxReactive:()=>xc});var xc=()=>(o,e)=>{var t;let n=o.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(t=n.reduxReactiveProperties)===null||t===void 0||t.add(e)},vc=o=>{let e=o??{};return(t,n)=>{var i;let a={hasChanged:(l,c)=>!G(l,c),attribute:!1,...e};T(a)(t,n);let s=t.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:l=>l[n],store:e.store})}},Sc=o=>(e,t)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(t,o)};var Et=class{constructor(){this.queue=[]}add(e,t=!1){t&&(this.queue=this.queue.filter(n=>n.type!==e.type)),this.queue.push(e)}consume(e){let t=this.queue.find(n=>n.type===e);return t&&(this.queue=this.queue.filter(n=>n!==t)),t}};function We(o){var e;return(e=o?.isFtReduxStore)!==null&&e!==void 0?e:!1}var Ji,Xi,Qi,sr=Symbol("internalReduxEventsUnsubscribers"),ye=Symbol("internalStoresUnsubscribers"),Ue=Symbol("internalStores"),qe=class extends te{constructor(){super(...arguments),this[Ji]=new Map,this[Xi]=new Map,this[Qi]=[]}get reduxConstructor(){return this.constructor}update(e){super.update(e),[...this.reduxConstructor.reduxReactiveProperties].some(t=>e.has(t))&&this.updateFromStores()}getUnnamedStore(){if(this[Ue].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Ue].values()][0]}getStore(e){return e==null?this.getUnnamedStore():this[Ue].get(e)}addStore(e,t){var n;t=(n=t??(We(e)?e.name:void 0))!==null&&n!==void 0?n:"default-store",this.unsubscribeFromStore(t),this.setupStore(t,e)}removeStore(e){let t=typeof e=="string"?e:e.name;this.unsubscribeFromStore(t),this[Ue].delete(t)}setupStore(e,t){this[Ue].set(e,t),this.subscribeToStore(e,t),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[Ue].forEach((e,t)=>this.subscribeToStore(t,e)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((e,t)=>{let n=this.constructor.getPropertyOptions(t);if(!n?.attribute||!this.hasAttribute(typeof n?.attribute=="string"?n.attribute:t)){let i=this.getStore(e.store);i&&(e.store?this[ye].has(e.store):this[ye].size>0)&&(this[t]=e.selector(i.getState(),this))}})}subscribeToStore(e,t){var n;this[ye].set(e,t.subscribe(()=>this.updateFromStores())),We(t)&&t.eventBus&&((n=this.reduxConstructor.reduxEventListeners)===null||n===void 0||n.forEach((i,a)=>{if(typeof this[a]=="function"&&(!i.store||t.name===i.store)){let s=l=>this[a](l);t.eventBus.addEventListener(i.eventName,s),this[sr].push(()=>t.eventBus.removeEventListener(i.eventName,s))}})),this.onStoreAvailable(e)}unsubscribeFromStores(){this[ye].forEach((e,t)=>this.unsubscribeFromStore(t)),this[sr].forEach(e=>e()),this[sr]=[]}unsubscribeFromStore(e){this[ye].has(e)&&this[ye].get(e)(),this[ye].delete(e)}onStoreAvailable(e){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}};Ji=ye,Xi=Ue,Qi=sr;qe.reduxProperties=new Map;qe.reduxReactiveProperties=new Set;qe.reduxEventListeners=new Map;function V(o){for(var e=arguments.length,t=Array(e>1?e-1:0),n=1;n<e;n++)t[n-1]=arguments[n];if(0)var i,a;throw Error("[Immer] minified error nr: "+o+(t.length?" "+t.map(function(s){return"'"+s+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function de(o){return!!o&&!!o[$]}function Y(o){var e;return!!o&&(function(t){if(!t||typeof t!="object")return!1;var n=Object.getPrototypeOf(t);if(n===null)return!0;var i=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return i===Object||typeof i=="function"&&Function.toString.call(i)===Ic}(o)||Array.isArray(o)||!!o[aa]||!!(!((e=o.constructor)===null||e===void 0)&&e[aa])||Io(o)||_o(o))}function De(o,e,t){t===void 0&&(t=!1),Xe(o)===0?(t?Object.keys:Je)(o).forEach(function(n){t&&typeof n=="symbol"||e(n,o[n],o)}):o.forEach(function(n,i){return e(i,n,o)})}function Xe(o){var e=o[$];return e?e.i>3?e.i-4:e.i:Array.isArray(o)?1:Io(o)?2:_o(o)?3:0}function Ye(o,e){return Xe(o)===2?o.has(e):Object.prototype.hasOwnProperty.call(o,e)}function Oc(o,e){return Xe(o)===2?o.get(e):o[e]}function sa(o,e,t){var n=Xe(o);n===2?o.set(e,t):n===3?o.add(t):o[e]=t}function ca(o,e){return o===e?o!==0||1/o==1/e:o!=o&&e!=e}function Io(o){return Ac&&o instanceof Map}function _o(o){return Rc&&o instanceof Set}function be(o){return o.o||o.t}function Po(o){if(Array.isArray(o))return Array.prototype.slice.call(o);var e=fa(o);delete e[$];for(var t=Je(e),n=0;n<t.length;n++){var i=t[n],a=e[i];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(e[i]={configurable:!0,writable:!0,enumerable:a.enumerable,value:o[i]})}return Object.create(Object.getPrototypeOf(o),e)}function $o(o,e){return e===void 0&&(e=!1),ko(o)||de(o)||!Y(o)||(Xe(o)>1&&(o.set=o.add=o.clear=o.delete=wc),Object.freeze(o),e&&De(o,function(t,n){return $o(n,!0)},!0)),o}function wc(){V(2)}function ko(o){return o==null||typeof o!="object"||Object.isFrozen(o)}function re(o){var e=Ro[o];return e||V(18,o),e}function Cc(o,e){Ro[o]||(Ro[o]=e)}function Eo(){return At}function So(o,e){e&&(re("Patches"),o.u=[],o.s=[],o.v=e)}function cr(o){No(o),o.p.forEach(Ec),o.p=null}function No(o){o===At&&(At=o.l)}function ea(o){return At={p:[],l:At,h:o,m:!0,_:0}}function Ec(o){var e=o[$];e.i===0||e.i===1?e.j():e.g=!0}function Oo(o,e){e._=e.p.length;var t=e.p[0],n=o!==void 0&&o!==t;return e.h.O||re("ES5").S(e,o,n),n?(t[$].P&&(cr(e),V(4)),Y(o)&&(o=lr(e,o),e.l||dr(e,o)),e.u&&re("Patches").M(t[$].t,o,e.u,e.s)):o=lr(e,t,[]),cr(e),e.u&&e.v(e.u,e.s),o!==da?o:void 0}function lr(o,e,t){if(ko(e))return e;var n=e[$];if(!n)return De(e,function(l,c){return ta(o,n,e,l,c,t)},!0),e;if(n.A!==o)return e;if(!n.P)return dr(o,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var i=n.i===4||n.i===5?n.o=Po(n.k):n.o,a=i,s=!1;n.i===3&&(a=new Set(i),i.clear(),s=!0),De(a,function(l,c){return ta(o,n,i,l,c,t,s)}),dr(o,i,!1),t&&o.u&&re("Patches").N(n,t,o.u,o.s)}return n.o}function ta(o,e,t,n,i,a,s){if(de(i)){var l=lr(o,i,a&&e&&e.i!==3&&!Ye(e.R,n)?a.concat(n):void 0);if(sa(t,n,l),!de(l))return;o.m=!1}else s&&t.add(i);if(Y(i)&&!ko(i)){if(!o.h.D&&o._<1)return;lr(o,i),e&&e.A.l||dr(o,i)}}function dr(o,e,t){t===void 0&&(t=!1),!o.l&&o.h.D&&o.m&&$o(e,t)}function wo(o,e){var t=o[$];return(t?be(t):o)[e]}function ra(o,e){if(e in o)for(var t=Object.getPrototypeOf(o);t;){var n=Object.getOwnPropertyDescriptor(t,e);if(n)return n;t=Object.getPrototypeOf(t)}}function xe(o){o.P||(o.P=!0,o.l&&xe(o.l))}function Co(o){o.o||(o.o=Po(o.t))}function Ao(o,e,t){var n=Io(e)?re("MapSet").F(e,t):_o(e)?re("MapSet").T(e,t):o.O?function(i,a){var s=Array.isArray(i),l={i:s?1:0,A:a?a.A:Eo(),P:!1,I:!1,R:{},l:a,t:i,k:null,o:null,j:null,C:!1},c=l,f=Rt;s&&(c=[l],f=Nt);var h=Proxy.revocable(c,f),p=h.revoke,m=h.proxy;return l.k=m,l.j=p,m}(e,t):re("ES5").J(e,t);return(t?t.A:Eo()).p.push(n),n}function Nc(o){return de(o)||V(22,o),function e(t){if(!Y(t))return t;var n,i=t[$],a=Xe(t);if(i){if(!i.P&&(i.i<4||!re("ES5").K(i)))return i.t;i.I=!0,n=oa(t,a),i.I=!1}else n=oa(t,a);return De(n,function(s,l){i&&Oc(i.t,s)===l||sa(n,s,e(l))}),a===3?new Set(n):n}(o)}function oa(o,e){switch(e){case 2:return new Map(o);case 3:return Array.from(o)}return Po(o)}function la(){function o(s,l){var c=a[s];return c?c.enumerable=l:a[s]=c={configurable:!0,enumerable:l,get:function(){var f=this[$];return Rt.get(f,s)},set:function(f){var h=this[$];Rt.set(h,s,f)}},c}function e(s){for(var l=s.length-1;l>=0;l--){var c=s[l][$];if(!c.P)switch(c.i){case 5:n(c)&&xe(c);break;case 4:t(c)&&xe(c)}}}function t(s){for(var l=s.t,c=s.k,f=Je(c),h=f.length-1;h>=0;h--){var p=f[h];if(p!==$){var m=l[p];if(m===void 0&&!Ye(l,p))return!0;var g=c[p],y=g&&g[$];if(y?y.t!==m:!ca(g,m))return!0}}var v=!!l[$];return f.length!==Je(l).length+(v?0:1)}function n(s){var l=s.k;if(l.length!==s.t.length)return!0;var c=Object.getOwnPropertyDescriptor(l,l.length-1);if(c&&!c.get)return!0;for(var f=0;f<l.length;f++)if(!l.hasOwnProperty(f))return!0;return!1}function i(s){s.g&&V(3,JSON.stringify(be(s)))}var a={};Cc("ES5",{J:function(s,l){var c=Array.isArray(s),f=function(p,m){if(p){for(var g=Array(m.length),y=0;y<m.length;y++)Object.defineProperty(g,""+y,o(y,!0));return g}var v=fa(m);delete v[$];for(var O=Je(v),w=0;w<O.length;w++){var C=O[w];v[C]=o(C,p||!!v[C].enumerable)}return Object.create(Object.getPrototypeOf(m),v)}(c,s),h={i:c?5:4,A:l?l.A:Eo(),P:!1,I:!1,R:{},l,t:s,k:f,o:null,g:!1,C:!1};return Object.defineProperty(f,$,{value:h,writable:!0}),f},S:function(s,l,c){c?de(l)&&l[$].A===s&&e(s.p):(s.u&&function f(h){if(h&&typeof h=="object"){var p=h[$];if(p){var m=p.t,g=p.k,y=p.R,v=p.i;if(v===4)De(g,function(b){b!==$&&(m[b]!==void 0||Ye(m,b)?y[b]||f(g[b]):(y[b]=!0,xe(p)))}),De(m,function(b){g[b]!==void 0||Ye(g,b)||(y[b]=!1,xe(p))});else if(v===5){if(n(p)&&(xe(p),y.length=!0),g.length<m.length)for(var O=g.length;O<m.length;O++)y[O]=!1;else for(var w=m.length;w<g.length;w++)y[w]=!0;for(var C=Math.min(g.length,m.length),x=0;x<C;x++)g.hasOwnProperty(x)||(y[x]=!0),y[x]===void 0&&f(g[x])}}}}(s.p[0]),e(s.p))},K:function(s){return s.i===4?t(s):n(s)}})}var na,At,Lo=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Ac=typeof Map<"u",Rc=typeof Set<"u",ia=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",da=Lo?Symbol.for("immer-nothing"):((na={})["immer-nothing"]=!0,na),aa=Lo?Symbol.for("immer-draftable"):"__$immer_draftable",$=Lo?Symbol.for("immer-state"):"__$immer_state";var Ic=""+Object.prototype.constructor,Je=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(o){return Object.getOwnPropertyNames(o).concat(Object.getOwnPropertySymbols(o))}:Object.getOwnPropertyNames,fa=Object.getOwnPropertyDescriptors||function(o){var e={};return Je(o).forEach(function(t){e[t]=Object.getOwnPropertyDescriptor(o,t)}),e},Ro={},Rt={get:function(o,e){if(e===$)return o;var t=be(o);if(!Ye(t,e))return function(i,a,s){var l,c=ra(a,s);return c?"value"in c?c.value:(l=c.get)===null||l===void 0?void 0:l.call(i.k):void 0}(o,t,e);var n=t[e];return o.I||!Y(n)?n:n===wo(o.t,e)?(Co(o),o.o[e]=Ao(o.A.h,n,o)):n},has:function(o,e){return e in be(o)},ownKeys:function(o){return Reflect.ownKeys(be(o))},set:function(o,e,t){var n=ra(be(o),e);if(n?.set)return n.set.call(o.k,t),!0;if(!o.P){var i=wo(be(o),e),a=i?.[$];if(a&&a.t===t)return o.o[e]=t,o.R[e]=!1,!0;if(ca(t,i)&&(t!==void 0||Ye(o.t,e)))return!0;Co(o),xe(o)}return o.o[e]===t&&(t!==void 0||e in o.o)||Number.isNaN(t)&&Number.isNaN(o.o[e])||(o.o[e]=t,o.R[e]=!0),!0},deleteProperty:function(o,e){return wo(o.t,e)!==void 0||e in o.t?(o.R[e]=!1,Co(o),xe(o)):delete o.R[e],o.o&&delete o.o[e],!0},getOwnPropertyDescriptor:function(o,e){var t=be(o),n=Reflect.getOwnPropertyDescriptor(t,e);return n&&{writable:!0,configurable:o.i!==1||e!=="length",enumerable:n.enumerable,value:t[e]}},defineProperty:function(){V(11)},getPrototypeOf:function(o){return Object.getPrototypeOf(o.t)},setPrototypeOf:function(){V(12)}},Nt={};De(Rt,function(o,e){Nt[o]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),Nt.deleteProperty=function(o,e){return Nt.set.call(this,o,e,void 0)},Nt.set=function(o,e,t){return Rt.set.call(this,o[0],e,t,o[0])};var _c=function(){function o(t){var n=this;this.O=ia,this.D=!0,this.produce=function(i,a,s){if(typeof i=="function"&&typeof a!="function"){var l=a;a=i;var c=n;return function(v){var O=this;v===void 0&&(v=l);for(var w=arguments.length,C=Array(w>1?w-1:0),x=1;x<w;x++)C[x-1]=arguments[x];return c.produce(v,function(b){var S;return(S=a).call.apply(S,[O,b].concat(C))})}}var f;if(typeof a!="function"&&V(6),s!==void 0&&typeof s!="function"&&V(7),Y(i)){var h=ea(n),p=Ao(n,i,void 0),m=!0;try{f=a(p),m=!1}finally{m?cr(h):No(h)}return typeof Promise<"u"&&f instanceof Promise?f.then(function(v){return So(h,s),Oo(v,h)},function(v){throw cr(h),v}):(So(h,s),Oo(f,h))}if(!i||typeof i!="object"){if((f=a(i))===void 0&&(f=i),f===da&&(f=void 0),n.D&&$o(f,!0),s){var g=[],y=[];re("Patches").M(i,f,g,y),s(g,y)}return f}V(21,i)},this.produceWithPatches=function(i,a){if(typeof i=="function")return function(f){for(var h=arguments.length,p=Array(h>1?h-1:0),m=1;m<h;m++)p[m-1]=arguments[m];return n.produceWithPatches(f,function(g){return i.apply(void 0,[g].concat(p))})};var s,l,c=n.produce(i,a,function(f,h){s=f,l=h});return typeof Promise<"u"&&c instanceof Promise?c.then(function(f){return[f,s,l]}):[c,s,l]},typeof t?.useProxies=="boolean"&&this.setUseProxies(t.useProxies),typeof t?.autoFreeze=="boolean"&&this.setAutoFreeze(t.autoFreeze)}var e=o.prototype;return e.createDraft=function(t){Y(t)||V(8),de(t)&&(t=Nc(t));var n=ea(this),i=Ao(this,t,void 0);return i[$].C=!0,No(n),i},e.finishDraft=function(t,n){var i=t&&t[$],a=i.A;return So(a,n),Oo(void 0,a)},e.setAutoFreeze=function(t){this.D=t},e.setUseProxies=function(t){t&&!ia&&V(20),this.O=t},e.applyPatches=function(t,n){var i;for(i=n.length-1;i>=0;i--){var a=n[i];if(a.path.length===0&&a.op==="replace"){t=a.value;break}}i>-1&&(n=n.slice(i+1));var s=re("Patches").$;return de(t)?s(t,n):this.produce(t,function(l){return s(l,n)})},o}(),K=new _c,Pc=K.produce,oh=K.produceWithPatches.bind(K),nh=K.setAutoFreeze.bind(K),ih=K.setUseProxies.bind(K),ah=K.applyPatches.bind(K),sh=K.createDraft.bind(K),ch=K.finishDraft.bind(K),fr=Pc;function ve(o){"@babel/helpers - typeof";return ve=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ve(o)}function To(o,e){if(ve(o)!=="object"||o===null)return o;var t=o[Symbol.toPrimitive];if(t!==void 0){var n=t.call(o,e||"default");if(ve(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(o)}function Mo(o){var e=To(o,"string");return ve(e)==="symbol"?e:String(e)}function Wo(o,e,t){return e=Mo(e),e in o?Object.defineProperty(o,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):o[e]=t,o}function ua(o,e){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(o);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(o,i).enumerable})),t.push.apply(t,n)}return t}function ur(o){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?ua(Object(t),!0).forEach(function(n){Wo(o,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(t)):ua(Object(t)).forEach(function(n){Object.defineProperty(o,n,Object.getOwnPropertyDescriptor(t,n))})}return o}function D(o){return"Minified Redux error #"+o+"; visit https://redux.js.org/Errors?code="+o+" for the full message or use the non-minified dev environment for full errors. "}var pa=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),Uo=function(){return Math.random().toString(36).substring(7).split("").join(".")},pr={INIT:"@@redux/INIT"+Uo(),REPLACE:"@@redux/REPLACE"+Uo(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Uo()}};function $c(o){if(typeof o!="object"||o===null)return!1;for(var e=o;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(o)===e}function Do(o,e,t){var n;if(typeof e=="function"&&typeof t=="function"||typeof t=="function"&&typeof arguments[3]=="function")throw new Error(D(0));if(typeof e=="function"&&typeof t>"u"&&(t=e,e=void 0),typeof t<"u"){if(typeof t!="function")throw new Error(D(1));return t(Do)(o,e)}if(typeof o!="function")throw new Error(D(2));var i=o,a=e,s=[],l=s,c=!1;function f(){l===s&&(l=s.slice())}function h(){if(c)throw new Error(D(3));return a}function p(v){if(typeof v!="function")throw new Error(D(4));if(c)throw new Error(D(5));var O=!0;return f(),l.push(v),function(){if(O){if(c)throw new Error(D(6));O=!1,f();var C=l.indexOf(v);l.splice(C,1),s=null}}}function m(v){if(!$c(v))throw new Error(D(7));if(typeof v.type>"u")throw new Error(D(8));if(c)throw new Error(D(9));try{c=!0,a=i(a,v)}finally{c=!1}for(var O=s=l,w=0;w<O.length;w++){var C=O[w];C()}return v}function g(v){if(typeof v!="function")throw new Error(D(10));i=v,m({type:pr.REPLACE})}function y(){var v,O=p;return v={subscribe:function(C){if(typeof C!="object"||C===null)throw new Error(D(11));function x(){C.next&&C.next(h())}x();var b=O(x);return{unsubscribe:b}}},v[pa]=function(){return this},v}return m({type:pr.INIT}),n={dispatch:m,subscribe:p,getState:h,replaceReducer:g},n[pa]=y,n}function kc(o){Object.keys(o).forEach(function(e){var t=o[e],n=t(void 0,{type:pr.INIT});if(typeof n>"u")throw new Error(D(12));if(typeof t(void 0,{type:pr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(D(13))})}function ha(o){for(var e=Object.keys(o),t={},n=0;n<e.length;n++){var i=e[n];typeof o[i]=="function"&&(t[i]=o[i])}var a=Object.keys(t),s,l;try{kc(t)}catch(c){l=c}return function(f,h){if(f===void 0&&(f={}),l)throw l;if(0)var p;for(var m=!1,g={},y=0;y<a.length;y++){var v=a[y],O=t[v],w=f[v],C=O(w,h);if(typeof C>"u"){var x=h&&h.type;throw new Error(D(14))}g[v]=C,m=m||C!==w}return m=m||a.length!==Object.keys(f).length,m?g:f}}function Qe(){for(var o=arguments.length,e=new Array(o),t=0;t<o;t++)e[t]=arguments[t];return e.length===0?function(n){return n}:e.length===1?e[0]:e.reduce(function(n,i){return function(){return n(i.apply(void 0,arguments))}})}function ma(){for(var o=arguments.length,e=new Array(o),t=0;t<o;t++)e[t]=arguments[t];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error(D(15))},s={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},l=e.map(function(c){return c(s)});return a=Qe.apply(void 0,l)(i.dispatch),ur(ur({},i),{},{dispatch:a})}}}function ga(o){var e=function(n){var i=n.dispatch,a=n.getState;return function(s){return function(l){return typeof l=="function"?l(i,a,o):s(l)}}};return e}var ya=ga();ya.withExtraArgument=ga;var Fo=ya;var Oa=function(){var o=function(e,t){return o=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])},o(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");o(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),Lc=function(o,e){var t={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(f){return function(h){return c([f,h])}}function c(f){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,i&&(a=f[0]&2?i.return:f[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,f[1])).done)return a;switch(i=0,a&&(f=[f[0]&2,a.value]),f[0]){case 0:case 1:a=f;break;case 4:return t.label++,{value:f[1],done:!1};case 5:t.label++,i=f[1],f=[0];continue;case 7:f=t.ops.pop(),t.trys.pop();continue;default:if(a=t.trys,!(a=a.length>0&&a[a.length-1])&&(f[0]===6||f[0]===2)){t=0;continue}if(f[0]===3&&(!a||f[1]>a[0]&&f[1]<a[3])){t.label=f[1];break}if(f[0]===6&&t.label<a[1]){t.label=a[1],a=f;break}if(a&&t.label<a[2]){t.label=a[2],t.ops.push(f);break}a[2]&&t.ops.pop(),t.trys.pop();continue}f=e.call(o,t)}catch(h){f=[6,h],i=0}finally{n=a=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}},et=function(o,e){for(var t=0,n=e.length,i=o.length;t<n;t++,i++)o[i]=e[t];return o},Tc=Object.defineProperty,Mc=Object.defineProperties,Wc=Object.getOwnPropertyDescriptors,ba=Object.getOwnPropertySymbols,Uc=Object.prototype.hasOwnProperty,Dc=Object.prototype.propertyIsEnumerable,xa=function(o,e,t){return e in o?Tc(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t},Se=function(o,e){for(var t in e||(e={}))Uc.call(e,t)&&xa(o,t,e[t]);if(ba)for(var n=0,i=ba(e);n<i.length;n++){var t=i[n];Dc.call(e,t)&&xa(o,t,e[t])}return o},Bo=function(o,e){return Mc(o,Wc(e))},Fc=function(o,e,t){return new Promise(function(n,i){var a=function(c){try{l(t.next(c))}catch(f){i(f)}},s=function(c){try{l(t.throw(c))}catch(f){i(f)}},l=function(c){return c.done?n(c.value):Promise.resolve(c.value).then(a,s)};l((t=t.apply(o,e)).next())})};var Bc=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?Qe:Qe.apply(null,arguments)},Nh=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(o){return o}};function zc(o){if(typeof o!="object"||o===null)return!1;var e=Object.getPrototypeOf(o);if(e===null)return!0;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return e===t}var Hc=function(o){Oa(e,o);function e(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=o.apply(this,t)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return o.prototype.concat.apply(this,t)},e.prototype.prepend=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return t.length===1&&Array.isArray(t[0])?new(e.bind.apply(e,et([void 0],t[0].concat(this)))):new(e.bind.apply(e,et([void 0],t.concat(this))))},e}(Array),jc=function(o){Oa(e,o);function e(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=o.apply(this,t)||this;return Object.setPrototypeOf(i,e.prototype),i}return Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return o.prototype.concat.apply(this,t)},e.prototype.prepend=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return t.length===1&&Array.isArray(t[0])?new(e.bind.apply(e,et([void 0],t[0].concat(this)))):new(e.bind.apply(e,et([void 0],t.concat(this))))},e}(Array);function jo(o){return Y(o)?fr(o,function(){}):o}function Kc(o){return typeof o=="boolean"}function Vc(){return function(e){return Zc(e)}}function Zc(o){o===void 0&&(o={});var e=o.thunk,t=e===void 0?!0:e,n=o.immutableCheck,i=n===void 0?!0:n,a=o.serializableCheck,s=a===void 0?!0:a,l=new Hc;if(t&&(Kc(t)?l.push(Fo):l.push(Fo.withExtraArgument(t.extraArgument))),0){if(i)var c;if(s)var f}return l}var zo=!0;function wa(o){var e=Vc(),t=o||{},n=t.reducer,i=n===void 0?void 0:n,a=t.middleware,s=a===void 0?e():a,l=t.devTools,c=l===void 0?!0:l,f=t.preloadedState,h=f===void 0?void 0:f,p=t.enhancers,m=p===void 0?void 0:p,g;if(typeof i=="function")g=i;else if(zc(i))g=ha(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 y=s;if(typeof y=="function"&&(y=y(e),!zo&&!Array.isArray(y)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!zo&&y.some(function(b){return typeof b!="function"}))throw new Error("each middleware provided to configureStore must be a function");var v=ma.apply(void 0,y),O=Qe;c&&(O=Bc(Se({trace:!zo},typeof c=="object"&&c)));var w=new jc(v),C=w;Array.isArray(m)?C=et([v],m):typeof m=="function"&&(C=m(w));var x=O.apply(void 0,C);return Do(g,h,x)}function Oe(o,e){function t(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(e){var a=e.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Se(Se({type:o,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:o,payload:n[0]}}return t.toString=function(){return""+o},t.type=o,t.match=function(n){return n.type===o},t}function Ca(o){var e={},t=[],n,i={addCase:function(a,s){var l=typeof a=="string"?a:a.type;if(l in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[l]=s,i},addMatcher:function(a,s){return t.push({matcher:a,reducer:s}),i},addDefaultCase:function(a){return n=a,i}};return o(i),[e,t,n]}function Gc(o){return typeof o=="function"}function qc(o,e,t,n){t===void 0&&(t=[]);var i=typeof e=="function"?Ca(e):[e,t,n],a=i[0],s=i[1],l=i[2],c;if(Gc(o))c=function(){return jo(o())};else{var f=jo(o);c=function(){return f}}function h(p,m){p===void 0&&(p=c());var g=et([a[m.type]],s.filter(function(y){var v=y.matcher;return v(m)}).map(function(y){var v=y.reducer;return v}));return g.filter(function(y){return!!y}).length===0&&(g=[l]),g.reduce(function(y,v){if(v)if(de(y)){var O=y,w=v(O,m);return w===void 0?y:w}else{if(Y(y))return fr(y,function(C){return v(C,m)});var w=v(y,m);if(w===void 0){if(y===null)return y;throw Error("A case reducer on a non-draftable value must not return undefined")}return w}return y},p)}return h.getInitialState=c,h}function Yc(o,e){return o+"/"+e}function Ea(o){var e=o.name;if(!e)throw new Error("`name` is a required option for createSlice");typeof process<"u";var t=typeof o.initialState=="function"?o.initialState:jo(o.initialState),n=o.reducers||{},i=Object.keys(n),a={},s={},l={};i.forEach(function(h){var p=n[h],m=Yc(e,h),g,y;"reducer"in p?(g=p.reducer,y=p.prepare):g=p,a[h]=g,s[m]=g,l[h]=y?Oe(m,y):Oe(m)});function c(){var h=typeof o.extraReducers=="function"?Ca(o.extraReducers):[o.extraReducers],p=h[0],m=p===void 0?{}:p,g=h[1],y=g===void 0?[]:g,v=h[2],O=v===void 0?void 0:v,w=Se(Se({},m),s);return qc(t,function(C){for(var x in w)C.addCase(x,w[x]);for(var b=0,S=y;b<S.length;b++){var N=S[b];C.addMatcher(N.matcher,N.reducer)}O&&C.addDefaultCase(O)})}var f;return{name:e,reducer:function(h,p){return f||(f=c()),f(h,p)},actions:l,caseReducers:a,getInitialState:function(){return f||(f=c()),f.getInitialState()}}}var Jc="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Xc=function(o){o===void 0&&(o=21);for(var e="",t=o;t--;)e+=Jc[Math.random()*64|0];return e},Qc=["name","message","stack","code"],Ho=function(){function o(e,t){this.payload=e,this.meta=t}return o}(),va=function(){function o(e,t){this.payload=e,this.meta=t}return o}(),el=function(o){if(typeof o=="object"&&o!==null){for(var e={},t=0,n=Qc;t<n.length;t++){var i=n[t];typeof o[i]=="string"&&(e[i]=o[i])}return e}return{message:String(o)}},_h=function(){function o(e,t,n){var i=Oe(e+"/fulfilled",function(h,p,m,g){return{payload:h,meta:Bo(Se({},g||{}),{arg:m,requestId:p,requestStatus:"fulfilled"})}}),a=Oe(e+"/pending",function(h,p,m){return{payload:void 0,meta:Bo(Se({},m||{}),{arg:p,requestId:h,requestStatus:"pending"})}}),s=Oe(e+"/rejected",function(h,p,m,g,y){return{payload:g,error:(n&&n.serializeError||el)(h||"Rejected"),meta:Bo(Se({},y||{}),{arg:m,requestId:p,rejectedWithValue:!!g,requestStatus:"rejected",aborted:h?.name==="AbortError",condition:h?.name==="ConditionError"})}}),l=!1,c=typeof AbortController<"u"?AbortController:function(){function h(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return h.prototype.abort=function(){},h}();function f(h){return function(p,m,g){var y=n?.idGenerator?n.idGenerator(h):Xc(),v=new c,O,w=!1;function C(b){O=b,v.abort()}var x=function(){return Fc(this,null,function(){var b,S,N,I,B,_,E;return Lc(this,function(A){switch(A.label){case 0:return A.trys.push([0,4,,5]),I=(b=n?.condition)==null?void 0:b.call(n,h,{getState:m,extra:g}),rl(I)?[4,I]:[3,2];case 1:I=A.sent(),A.label=2;case 2:if(I===!1||v.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return w=!0,B=new Promise(function(R,U){return v.signal.addEventListener("abort",function(){return U({name:"AbortError",message:O||"Aborted"})})}),p(a(y,h,(S=n?.getPendingMeta)==null?void 0:S.call(n,{requestId:y,arg:h},{getState:m,extra:g}))),[4,Promise.race([B,Promise.resolve(t(h,{dispatch:p,getState:m,extra:g,requestId:y,signal:v.signal,abort:C,rejectWithValue:function(R,U){return new Ho(R,U)},fulfillWithValue:function(R,U){return new va(R,U)}})).then(function(R){if(R instanceof Ho)throw R;return R instanceof va?i(R.payload,y,h,R.meta):i(R,y,h)})])];case 3:return N=A.sent(),[3,5];case 4:return _=A.sent(),N=_ instanceof Ho?s(null,y,h,_.payload,_.meta):s(_,y,h),[3,5];case 5:return E=n&&!n.dispatchConditionRejection&&s.match(N)&&N.meta.condition,E||p(N),[2,N]}})})}();return Object.assign(x,{abort:C,requestId:y,arg:h,unwrap:function(){return x.then(tl)}})}}return Object.assign(f,{pending:a,rejected:s,fulfilled:i,typePrefix:e})}return o.withTypes=function(){return o},o}();function tl(o){if(o.meta&&o.meta.rejectedWithValue)throw o.payload;if(o.error)throw o.error;return o.payload}function rl(o){return o!==null&&typeof o=="object"&&typeof o.then=="function"}var Na="listener",Aa="completed",Ra="cancelled",Ph="task-"+Ra,$h="task-"+Aa,kh=Na+"-"+Ra,Lh=Na+"-"+Aa;var Ko="listenerMiddleware";var Th=Oe(Ko+"/add"),Mh=Oe(Ko+"/removeAll"),Wh=Oe(Ko+"/remove");var Sa,Uh=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis):function(o){return(Sa||(Sa=Promise.resolve())).then(o).catch(function(e){return setTimeout(function(){throw e},0)})},ol=function(o){return function(e){setTimeout(e,o)}},Dh=typeof window<"u"&&window.requestAnimationFrame?window.requestAnimationFrame:ol(10);la();window.ftReduxStores||(window.ftReduxStores={});var Vo=class o{static get(e){var t;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,a=window.ftReduxStores[n];if(We(a))return a;if(i==null)return;let s=Ea({...i,reducers:(t=i.reducers)!==null&&t!==void 0?t:{}}),l=wa({reducer:(c,f)=>f.type==="CLEAR_FT_REDUX_STORE"?s.getInitialState():typeof f.type=="string"&&f.type.startsWith("DEFAULT_VALUE_SETTER__")?{...c,...f.overwrites}:s.reducer(c,f)});return window.ftReduxStores[i.name]=new o(s,l)}constructor(e,t){this.reduxSlice=e,this.reduxStore=t,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Et,this.actions=new Proxy(this.reduxSlice.actions,{get:(n,i,a)=>{let s=i,l=n[s];return l?(...c)=>{let f=l(...c);return this.reduxStore.dispatch(f),f}:c=>{this.setState({[s]:c})}}})}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE"})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}};function nl(){var o;for(let e of Object.values((o=window.ftReduxStores)!==null&&o!==void 0?o:{}))We(e)&&e.clear()}var Go={};P(Go,{serializeRequest:()=>al});function il(o){return`"${o}"`}function al(o,e){var t,n,i,a;let s=new URLSearchParams({"content-lang":(t=e.contentLocale)!==null&&t!==void 0?t:"all"});if(((n=e.query)===null||n===void 0?void 0:n.length)>0&&s.append("query",e.query),e.scope&&e.scope!=="DEFAULT"&&s.append("scope",e.scope.toLowerCase()),e.virtualField&&s.append("virtual-field",e.virtualField.toLowerCase()),e.periodFilter){let c=e.periodFilter.period,f=c?`_${c.from}_${c.to}`:"";s.append("period",e.periodFilter.periodType.toLowerCase()+f)}if(((i=e.sort)===null||i===void 0?void 0:i.length)>0&&e.sort[0].key==="ft:lastEdition"&&s.append("sort","last_update"),((a=e.filters)===null||a===void 0?void 0:a.length)>0){let c=e.filters.map(f=>{let h=f.values.map(p=>p.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*")).map(p=>encodeURIComponent(il(p))).join("_");return`${f.key}~${h}`}).join("*");s.append("filters",c)}return new URL(`${o.replace(/\/+$/,"")}/search?${s.toString()}`).href}var qo={};P(qo,{toFtFormComponent:()=>sl});var hr=Symbol("elementInternals");function sl(o,e){class t extends o{static get formAssociated(){return!0}get form(){return this[hr].form}constructor(...i){super(i),this[hr]=this.attachInternals(),this[hr].role=e}setFormValue(i){this[hr].setFormValue(i)}}return t}var Yo,Jo,Xo,Qo,cl=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Xo=(Jo=(Yo=window.safari)===null||Yo===void 0?void 0:Yo.pushNotification)===null||Jo===void 0?void 0:Jo.toString())!==null&&Xo!==void 0?Xo:"")==="[object SafariRemoteNotification]",ll="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Qo=window.ftGlobals)!==null&&Qo!==void 0?Qo:{lit:Rr,litDecorators:Ir,litRepeat:Pr,litClassMap:$r,litStyleMap:kr,litUnsafeHTML:Tr,wcUtils:{...Ur,...Mr,...Fr,...Br,...Zr,...qr,...Qr,...fo,...Gr,...ho,...Gi,...jr,...yo,...bo,...Yi,...vo,...Zo,...uo,...Go,...qo,isSafari:cl,isTouchScreen:ll}};var en={padding:r.create("--ft-infinite-scroll-padding","","SIZE","0"),itemsGap:r.create("--ft-infinite-scroll-items-gap","","SIZE","4px"),itemContainerMinHeight:r.create("--ft-infinite-scroll-item-container-min-height","","SIZE",".1px")},Ia=W`
|
|
43
|
+
.items-container {
|
|
44
|
+
padding: ${en.padding};
|
|
45
|
+
outline: none;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.scrollable {
|
|
49
|
+
height: 100%;
|
|
50
|
+
overflow-y: auto;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.item-container + .item-container {
|
|
54
|
+
/*
|
|
55
|
+
We add a gap between items to be sure to hide the content above the targeted item
|
|
56
|
+
When a div is visible (even by a fraction of a pixel) if its height changes
|
|
57
|
+
the browser will try to keep the scroll stable in relation to the first visible element
|
|
58
|
+
By adding this gap we ensure that the previous item will be fully hidden
|
|
59
|
+
and even if its size changes, it will not impact the scroll offset
|
|
60
|
+
*/
|
|
61
|
+
margin-top: ${en.itemsGap};
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.item-container:not(.rendered) {
|
|
65
|
+
height: 1000px;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.item-container.rendered {
|
|
69
|
+
display: flow-root;
|
|
70
|
+
min-height: ${en.itemContainerMinHeight};
|
|
71
|
+
}
|
|
72
|
+
`;var F=function(o,e,t,n){var i=arguments.length,a=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(o,e,t,n);else for(var l=o.length-1;l>=0;l--)(s=o[l])&&(a=(i<3?s(a):i>3?s(e,t,a):s(e,t))||a);return i>3&&a&&Object.defineProperty(e,t,a),a},tn=class extends CustomEvent{constructor(e,t){super("visible-items-change",{detail:{visibleIndexes:e,visibleItems:t}})}},rn=class extends Event{constructor(){super("scrolled-to-target")}},dl=o=>(o??[])[(o??[]).length-1],M=class extends te{constructor(){super(...arguments),this.items=[],this.renderItem=()=>mt``,this.getItemKey=(e,t)=>`${t} - ${JSON.stringify(e)}`,this.internalScroll=!1,this.renderBeforeFirst=1,this.renderAfterLast=1,this.ensureScrollToTarget=!1,this.visibleItems=[],this.scrolledToTarget=!1,this.scrolling=!1,this.renderApprovalTimeouts=[],this.renderedIndexes=new Set,this.scrollDebouncer=new Q(5),this.scrollDoneDebouncer=new Q(10),this.onVisibilityChange=e=>{let t=new Set(this.visibleItems),n=new Set;for(let i of e){let a=+i.target.getAttribute("data-item-index");i.intersectionRect.height>0?(t.add(a),n.add(a)):n.has(a)||t.delete(a)}this.visibleItems=[...t].sort((i,a)=>i-a)},this.intersectionObserver=new IntersectionObserver(this.onVisibilityChange),this.scrollingDebouncer=new Q(50),this.ignoreNextScrollEvent=!1,this.scrollListener=()=>{var e;let t=this.ignoreNextScrollEvent;this.ignoreNextScrollEvent=!1,t||(this.scrolling=!0,this.scrollingDebouncer.run(()=>this.scrolling=!1));let n=this.scrollable.scrollTop,i=n-((e=this.lastScrollTop)!==null&&e!==void 0?e:0);if(this.lastScrollTop=n,this.scrolledToTarget){this.restoreScrollIfNeeded(t?0:i);let a=this.searchFirstVisibleItem(n,this.itemsContainer.children);this.scrollRestorationItem=a?+a.getAttribute("data-item-index"):void 0,this.scrollRestorationOffset=n-this.getOffset(a)}},this.restoreScrollIfNeeded=(e=0)=>{var t;let n=this.scrollable.scrollHeight,i=n-((t=this.lastScrollHeight)!==null&&t!==void 0?t:n);if(this.lastScrollHeight=n,i!==0&&this.scrollRestorationItem!=null&&this.scrollRestorationOffset!=null&&this.scrolledToTarget){let a=this.getItem(this.scrollRestorationItem),s=this.getOffset(a),l=Hr(this.scrollRestorationItem===0?-s:1,this.scrollRestorationOffset,a.clientHeight-1),c=s+l+e-this.scrollable.scrollTop;(Math.abs(i-c)<4||Math.abs(c)>5)&&(this.ignoreNextScrollEvent=!0,this.scrollable.scrollTop+=c)}},this._shouldRestoreScroll=!1,this.scrollAdjustment=()=>{this.restoreScrollIfNeeded(),this.shouldRestoreScroll&&requestAnimationFrame(this.scrollAdjustment)},this.onMutation=()=>{for(let e of this.itemsContainer.children)this.intersectionObserver.observe(e)},this.mutationObserver=new MutationObserver(this.onMutation),this.resetVisibleItemsDebouncer=new Q(10)}get scrollable(){var e;return(e=this._scrollable)!==null&&e!==void 0?e:document.body}set scrollable(e){var t,n,i,a;this._scrollable!==e&&((t=this._scrollable)===null||t===void 0||t.removeEventListener("scroll",this.scrollListener),this._scrollable&&this.initialOverflowAnchorValue&&(this.scrollable.style.overflowAnchor=this.initialOverflowAnchorValue),this._scrollable=e,(n=this._scrollable)===null||n===void 0||n.addEventListener("scroll",this.scrollListener),this.lastScrollTop=(i=this._scrollable)===null||i===void 0?void 0:i.scrollTop,this.lastScrollHeight=(a=this._scrollable)===null||a===void 0?void 0:a.scrollHeight,this._scrollable&&(this.initialOverflowAnchorValue=getComputedStyle(this._scrollable).overflowAnchor,this._scrollable.style.overflowAnchor="none"))}render(){return mt`
|
|
73
|
+
<div class="items-container ${this.internalScroll?"scrollable":""}"
|
|
74
|
+
tabindex="-1"
|
|
75
|
+
@find-scrollable-parent=${this.findScrollableParent}>
|
|
76
|
+
${_r(this.items,(e,t)=>this.getItemKey(e,t),(e,t)=>this.renderItemContainer(e,t))}
|
|
77
|
+
</div>
|
|
78
|
+
`}renderItemContainer(e,t){this.prepareRenderIfNeeded(t);let n=this.scrolledToTarget&&this.visibleItems.includes(t),i=this.renderedIndexes.has(t);return mt`
|
|
79
|
+
<div id="item-${t}"
|
|
80
|
+
class="item-container ${i?"rendered":""} ${n?"visible":""}"
|
|
81
|
+
data-item-index="${t}">
|
|
82
|
+
${i?(()=>{let s=this.renderItem(e,t);return typeof s=="string"?Lr(s):s})():L}
|
|
83
|
+
</div>
|
|
84
|
+
`}prepareRenderIfNeeded(e){let t=this.renderApprovalTimeouts[e]!=null;this.inRenderRange(e)&&!t&&(this.renderApprovalTimeouts[e]=setTimeout(()=>{this.inRenderRange(e)?this.renderedIndexes.add(e):this.renderApprovalTimeouts[e]=void 0,this.requestUpdate()},300))}inRenderRange(e){return e>=this.visibleItems[0]-this.renderBeforeFirst&&e<=dl(this.visibleItems)+this.renderAfterLast}resetScroll(e=!0){var t;if(this.shouldRestoreScroll=!1,this.intersectionObserver.disconnect(),this.visibleItems=[],this.scrolledToTarget=!1,this.internalScroll&&this.scrollable!==this.internalScrollable)this.scrollable=this.internalScrollable;else if(!this.internalScroll&&e){(t=this.itemsContainer)===null||t===void 0||t.dispatchEvent(new Event("find-scrollable-parent",{composed:!0}));return}let n=this.resolveScrollToIndex();this.renderedIndexes.add(n),this.scrollToTarget(n),this.scrollDoneDebouncer.run(()=>{this.ensureScrollToTarget&&n>=0&&this.scrollDebouncer.run(()=>{Math.abs(this.scrollable.scrollTop-this.getOffset(n))>5&&this.scrollToTarget(n)},500),this.scrollToTarget(n),this.scrolledToTarget=!0,this.shouldRestoreScroll=!0,this.resetIntersectionObserver()})}resolveScrollToIndex(){var e;let t=(e=this.scrollToIndex)!==null&&e!==void 0?e:this.scrollToItem?this.items.indexOf(this.scrollToItem):-1;return t>=this.items.length?-1:t}getItem(e){var t,n,i;return(n=(t=this.shadowRoot)===null||t===void 0?void 0:t.querySelector(`#item-${e}`))!==null&&n!==void 0?n:(i=this.shadowRoot)===null||i===void 0?void 0:i.querySelector("#item-0")}scrollToTarget(e){e<=0?(this.scrollable.scrollTop=0,this.scrollRestorationOffset=-this.getOffset(e)):(this.scrollable.scrollTop=this.getOffset(e),this.scrollRestorationOffset=0),this.scrollRestorationItem=e>=0?e:void 0}getOffset(e){var t;let n=0,i=typeof e=="number"?this.getItem(e):e;for(;i&&i.offsetParent!==this.scrollable.offsetParent;)n+=i.offsetTop,i=i.offsetParent;return n+((t=i?.offsetTop)!==null&&t!==void 0?t:0)-this.scrollable.offsetTop}appendItems(...e){this.items=[...this.items,...e]}prependItems(...e){this.items=[...e,...this.items]}connectedCallback(){super.connectedCallback(),setTimeout(()=>{this.mutationObserver.disconnect(),this.mutationObserver.observe(this.itemsContainer,{childList:!0}),this.resetScroll()},0)}disconnectedCallback(){super.disconnectedCallback(),this.scrollable=void 0,this.intersectionObserver.disconnect(),this.mutationObserver.disconnect(),this.shouldRestoreScroll=!1}findScrollableParent(e){var t;e.stopPropagation();let n,i;for(let a of e.composedPath()){let s=a,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){n=s;break}else l&&i==null&&(i=s)}this.scrollable=(t=n??i)!==null&&t!==void 0?t:document.body,this.resetScroll(!1)}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)}catch{return!1}}resetIntersectionObserver(){this.intersectionObserver.disconnect(),this.intersectionObserver=new IntersectionObserver(this.onVisibilityChange,{root:this.scrollable,rootMargin:"-8px",threshold:[0,.01,.1,1]}),this.onMutation()}searchFirstVisibleItem(e,t,n,i){if(n=n??0,i=i??t.length-1,i<=n)return t[n];let a=Math.floor((i-n)/2)+n,s=t[a],l=this.getOffset(s);return l>e?this.searchFirstVisibleItem(e,t,n,a-1):l+s.clientHeight<e?this.searchFirstVisibleItem(e,t,a+1,i):s}get shouldRestoreScroll(){return this._shouldRestoreScroll}set shouldRestoreScroll(e){let t=e&&!this._shouldRestoreScroll;this._shouldRestoreScroll=e,t&&requestAnimationFrame(this.scrollAdjustment)}update(e){super.update(e),e.has("items")&&(this.renderedIndexes=new Set,this.renderApprovalTimeouts=[]),((e.has("scrollToItem")||e.has("scrollToIndex"))&&(this.scrollToItem!=null||this.scrollToIndex!=null)||e.has("internalScroll"))&&this.resetScroll()}updated(e){super.updated(e),(e.has("visibleItems")||e.has("items"))&&this.onVisibleItemsChange(),e.has("scrolledToTarget")&&this.scrolledToTarget&&(this.scrollToItem!=null||this.scrollToIndex!=null)&&this.dispatchEvent(new rn)}onVisibleItemsChange(){this.visibleItems.every((t,n)=>this.visibleItems[n+1]==null||t+1===this.visibleItems[n+1])||G(this.visibleItems,this.lastNotOkVisibleItems)?(this.resetVisibleItemsDebouncer.cancel(),this.dispatchVisibleItemsEvent()):this.resetVisibleItemsDebouncer.run(()=>{this.lastNotOkVisibleItems=[...this.visibleItems],this.visibleItems=[],this.resetIntersectionObserver()})}dispatchVisibleItemsEvent(){var e;(e=this.cancelableDispatchEvent)===null||e===void 0||e.cancel(),this.cancelableDispatchEvent=yt(zr(()=>!this.scrolling)),this.cancelableDispatchEvent.then(()=>this.dispatchEvent(new tn(this.visibleItems,this.visibleItems.map(t=>this.items[t])))).catch(()=>null)}};M.styles=Ia;F([T({type:Array})],M.prototype,"items",void 0);F([T({attribute:!1})],M.prototype,"renderItem",void 0);F([T({attribute:!1})],M.prototype,"getItemKey",void 0);F([T({type:Object})],M.prototype,"scrollToItem",void 0);F([T({type:Number})],M.prototype,"scrollToIndex",void 0);F([T({type:Boolean})],M.prototype,"internalScroll",void 0);F([T({type:Number})],M.prototype,"renderBeforeFirst",void 0);F([T({type:Number})],M.prototype,"renderAfterLast",void 0);F([T({type:Boolean})],M.prototype,"ensureScrollToTarget",void 0);F([ze({hasChanged(o,e){return o!=null&&e==null||o.length!==e.length||o[0]!==e[0]}})],M.prototype,"visibleItems",void 0);F([Xt(".scrollable")],M.prototype,"internalScrollable",void 0);F([Xt(".items-container")],M.prototype,"itemsContainer",void 0);F([ze()],M.prototype,"scrolledToTarget",void 0);F([ze()],M.prototype,"scrolling",void 0);F([ze({hasChanged:(o,e)=>!G(o,e)})],M.prototype,"renderedIndexes",void 0);Kr("ft-infinite-scroll")(M);})();
|
|
85
|
+
/*! Bundled license information:
|
|
86
|
+
|
|
87
|
+
@webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js:
|
|
88
|
+
(**
|
|
3
89
|
* @license
|
|
4
90
|
* Copyright (c) 2020 The Polymer Project Authors. All rights reserved.
|
|
5
91
|
* This code may only be used under the BSD style license found at
|
|
@@ -11,208 +97,180 @@
|
|
|
11
97
|
* Code distributed by Google as part of the polymer project is also
|
|
12
98
|
* subject to an additional IP rights grant found at
|
|
13
99
|
* http://polymer.github.io/PATENTS.txt
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
100
|
+
*)
|
|
101
|
+
|
|
102
|
+
@lit/reactive-element/css-tag.js:
|
|
103
|
+
(**
|
|
17
104
|
* @license
|
|
18
105
|
* Copyright 2019 Google LLC
|
|
19
106
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
20
|
-
|
|
21
|
-
|
|
107
|
+
*)
|
|
108
|
+
|
|
109
|
+
@lit/reactive-element/reactive-element.js:
|
|
110
|
+
(**
|
|
22
111
|
* @license
|
|
23
112
|
* Copyright 2017 Google LLC
|
|
24
113
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
25
|
-
|
|
26
|
-
|
|
114
|
+
*)
|
|
115
|
+
|
|
116
|
+
lit-html/lit-html.js:
|
|
117
|
+
(**
|
|
27
118
|
* @license
|
|
28
119
|
* Copyright 2017 Google LLC
|
|
29
120
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
121
|
+
*)
|
|
122
|
+
|
|
123
|
+
@lit/reactive-element/css-tag.js:
|
|
124
|
+
(**
|
|
33
125
|
* @license
|
|
34
126
|
* Copyright 2019 Google LLC
|
|
35
127
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
128
|
+
*)
|
|
129
|
+
|
|
130
|
+
@lit/reactive-element/reactive-element.js:
|
|
131
|
+
(**
|
|
39
132
|
* @license
|
|
40
133
|
* Copyright 2017 Google LLC
|
|
41
134
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
42
|
-
|
|
43
|
-
|
|
135
|
+
*)
|
|
136
|
+
|
|
137
|
+
lit-html/lit-html.js:
|
|
138
|
+
(**
|
|
44
139
|
* @license
|
|
45
140
|
* Copyright 2017 Google LLC
|
|
46
141
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
142
|
+
*)
|
|
143
|
+
|
|
144
|
+
lit-element/lit-element.js:
|
|
145
|
+
(**
|
|
50
146
|
* @license
|
|
51
147
|
* Copyright 2017 Google LLC
|
|
52
148
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
53
|
-
|
|
54
|
-
|
|
149
|
+
*)
|
|
150
|
+
|
|
151
|
+
lit-html/is-server.js:
|
|
152
|
+
(**
|
|
153
|
+
* @license
|
|
154
|
+
* Copyright 2022 Google LLC
|
|
155
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
156
|
+
*)
|
|
157
|
+
|
|
158
|
+
@lit/reactive-element/decorators/custom-element.js:
|
|
159
|
+
(**
|
|
55
160
|
* @license
|
|
56
161
|
* Copyright 2017 Google LLC
|
|
57
162
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
58
|
-
|
|
59
|
-
|
|
163
|
+
*)
|
|
164
|
+
|
|
165
|
+
@lit/reactive-element/decorators/property.js:
|
|
166
|
+
(**
|
|
60
167
|
* @license
|
|
61
168
|
* Copyright 2017 Google LLC
|
|
62
169
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
63
|
-
|
|
64
|
-
|
|
170
|
+
*)
|
|
171
|
+
|
|
172
|
+
@lit/reactive-element/decorators/state.js:
|
|
173
|
+
(**
|
|
65
174
|
* @license
|
|
66
175
|
* Copyright 2017 Google LLC
|
|
67
176
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
68
|
-
|
|
69
|
-
|
|
177
|
+
*)
|
|
178
|
+
|
|
179
|
+
@lit/reactive-element/decorators/event-options.js:
|
|
180
|
+
(**
|
|
70
181
|
* @license
|
|
71
182
|
* Copyright 2017 Google LLC
|
|
72
183
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
73
|
-
|
|
74
|
-
|
|
184
|
+
*)
|
|
185
|
+
|
|
186
|
+
@lit/reactive-element/decorators/base.js:
|
|
187
|
+
(**
|
|
75
188
|
* @license
|
|
76
189
|
* Copyright 2017 Google LLC
|
|
77
190
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
191
|
+
*)
|
|
192
|
+
|
|
193
|
+
@lit/reactive-element/decorators/query.js:
|
|
194
|
+
(**
|
|
81
195
|
* @license
|
|
82
196
|
* Copyright 2017 Google LLC
|
|
83
197
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
84
|
-
|
|
85
|
-
|
|
198
|
+
*)
|
|
199
|
+
|
|
200
|
+
@lit/reactive-element/decorators/query-all.js:
|
|
201
|
+
(**
|
|
86
202
|
* @license
|
|
87
203
|
* Copyright 2017 Google LLC
|
|
88
204
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
89
|
-
|
|
90
|
-
|
|
205
|
+
*)
|
|
206
|
+
|
|
207
|
+
@lit/reactive-element/decorators/query-async.js:
|
|
208
|
+
(**
|
|
91
209
|
* @license
|
|
92
210
|
* Copyright 2017 Google LLC
|
|
93
211
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
94
|
-
|
|
95
|
-
|
|
212
|
+
*)
|
|
213
|
+
|
|
214
|
+
@lit/reactive-element/decorators/query-assigned-elements.js:
|
|
215
|
+
(**
|
|
96
216
|
* @license
|
|
97
217
|
* Copyright 2021 Google LLC
|
|
98
218
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
219
|
+
*)
|
|
220
|
+
|
|
221
|
+
@lit/reactive-element/decorators/query-assigned-nodes.js:
|
|
222
|
+
(**
|
|
102
223
|
* @license
|
|
103
224
|
* Copyright 2017 Google LLC
|
|
104
225
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
105
|
-
|
|
106
|
-
|
|
226
|
+
*)
|
|
227
|
+
|
|
228
|
+
lit-html/directive.js:
|
|
229
|
+
(**
|
|
107
230
|
* @license
|
|
108
231
|
* Copyright 2017 Google LLC
|
|
109
232
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
110
|
-
|
|
111
|
-
|
|
233
|
+
*)
|
|
234
|
+
|
|
235
|
+
lit-html/directive-helpers.js:
|
|
236
|
+
(**
|
|
112
237
|
* @license
|
|
113
238
|
* Copyright 2020 Google LLC
|
|
114
239
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
115
|
-
|
|
116
|
-
|
|
240
|
+
*)
|
|
241
|
+
|
|
242
|
+
lit-html/directives/repeat.js:
|
|
243
|
+
(**
|
|
117
244
|
* @license
|
|
118
245
|
* Copyright 2017 Google LLC
|
|
119
246
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
120
|
-
|
|
121
|
-
|
|
247
|
+
*)
|
|
248
|
+
|
|
249
|
+
lit-html/directives/class-map.js:
|
|
250
|
+
(**
|
|
122
251
|
* @license
|
|
123
252
|
* Copyright 2018 Google LLC
|
|
124
253
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
125
|
-
|
|
126
|
-
|
|
254
|
+
*)
|
|
255
|
+
|
|
256
|
+
lit-html/directives/style-map.js:
|
|
257
|
+
(**
|
|
127
258
|
* @license
|
|
128
259
|
* Copyright 2018 Google LLC
|
|
129
260
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
130
|
-
|
|
131
|
-
|
|
261
|
+
*)
|
|
262
|
+
|
|
263
|
+
lit-html/directives/unsafe-html.js:
|
|
264
|
+
(**
|
|
132
265
|
* @license
|
|
133
266
|
* Copyright 2017 Google LLC
|
|
134
267
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
135
|
-
*/let Go=class extends Uo{constructor(t){if(super(t),this.et=$,t.type!==Lo)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===$||null==t)return this.vt=void 0,this.et=t;if(t===M)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.et)return this.vt;this.et=t;const o=[t];return o.raw=o,this.vt={_$litType$:this.constructor.resultType,strings:o,values:[]}}};Go.directiveName="unsafeHTML",Go.resultType=1;const Vo=Wo(Go);var qo=Object.freeze({__proto__:null,UnsafeHTMLDirective:Go,unsafeHTML:Vo});class Yo extends Error{constructor(t,o,e){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=e}}class Jo extends Promise{constructor(t){super(((o,e)=>t((t=>{this.isCanceled?e(new Yo("Promise has been canceled",t)):o(t)}),(t=>{this.isCanceled?e(new Yo("Promise has been canceled",void 0,t)):e(t)})))),this.isCanceled=!1}cancel(){this.isCanceled=!0}}const Xo=t=>new Jo(((o,e)=>t.then(o).catch(e)));var Qo=Object.freeze({__proto__:null,CancelablePromise:Jo,CanceledPromiseError:Yo,cancelable:Xo});var te=Object.freeze({__proto__:null,CacheRegistry: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 Jo&&this.content[t].cancel(),delete this.content[t]}clearClearTimeout(t){null!=this.clearTimeouts[t]&&(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,e){if(void 0===this.content[t]){if(null==(o=null!=o?o:this.loaders[t]))throw new Error("Unknown cache key "+t);const r=Xo(o());return this.content[t]=r,r.then((o=>(this.content[t]=o,null!=e&&(this.clearClearTimeout(t),this.clearTimeouts[t]=window.setTimeout((()=>this.clear(t)),e)),o)))}if(this.content[t]instanceof Error)throw this.content[t];return this.content[t]}isResolvedValue(t){return!(null==t||t instanceof Promise||t instanceof Error)}getNow(t){if(this.isResolvedValue(this.content[t]))return this.content[t]}has(t){return null!=this.content[t]}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)}}});class oe{constructor(t,o,e,r){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=e,this.metadataDescriptors=r}static extractResultMetadata(t,o){var e,r;let i=(null!==(r=null!==(e=null==t?void 0:t.map)&&void 0!==e?e:null==t?void 0:t.document)&&void 0!==r?r:null==t?void 0:t.topic).metadata.map((t=>oe.flattenMetadata(t)));return null==o?i:i.find((t=>t.key===o))}static flattenMetadata(t){if(t.hierarchicalValues){const o=[],e=[];return t.hierarchicalValues.forEach((t=>{o.push(t.join(" > ")),t.length>2?e.push(`... > ${t[t.length-1]}`):e.push(t.join(" > "))})),{key:t.key,label:t.label,value:o.join(", "),displayValue:e.join(", ")}}{const o=t.values.join(", ");return{key:t.key,label:t.label,value:o,displayValue:o}}}computeClustersItemsForMetadata(t,o,e="No value"){var r,i;let n=oe.extractResultMetadata(this.selectedResult,t),a=null!==(r=null==n?void 0:n.label)&&void 0!==r?r:null===(i=this.getMetadataDescriptor(t))||void 0===i?void 0:i.label;const l=this.allResults.map((o=>oe.extractResultMetadata(o,t))).map((o=>null!=o?o:{key:t,label:a,value:void 0,displayValue:e})).filter((t=>t.value!=(null==n?void 0:n.value))).filter(((t,o,e)=>e.findIndex((o=>o.value===t.value))===o));return l.map((o=>({result:this.findBestResultForMetadataValue(t,o.value),metadata:o}))).sort(((e,r)=>this.compareMetadata(e.metadata.value,r.metadata.value,t,o)))}compareMetadata(t,o,e,r){if(null==t)return-1;if(null==o)return 1;let i=this.getMetadataDescriptor(e),n=(null==i?void 0:i.sortRule)||"NONE",a=(null==i?void 0:i.reverseSort)||!1;if("ALPHABET"==n||"VERSION"==n){let e=t.localeCompare(o,r,{numeric:!0});return a?-1*e:e}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find((o=>t==o.key))}findBestResultForMetadataValue(t,o){const e=this.allResults.filter((e=>{var r;return(null===(r=oe.extractResultMetadata(e,t))||void 0===r?void 0:r.value)==o}));let r,i=oe.extractResultMetadata(this.selectedResult).filter((t=>this.clusteringMetadata.has(t.key))),n=[...i.filter((o=>o.key!==t))],a=-1;for(let t of e){let o=this.countMatchingMetadata(t,n);if(o>a&&(a=o,r=t,o===n.length))break}return r}countMatchingMetadata(t,o){return oe.extractResultMetadata(t).filter((t=>o.some((o=>o.key===t.key&&o.value===t.value)))).length}}var ee=Object.freeze({__proto__:null,ClusteringHelper:oe});class re{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 null==this.promise&&(this.promise=new Promise(((t,o)=>{this.resolvePromise=t,this.rejectPromise=o}))),this.clearTimeout(),this._debounce=window.setTimeout((()=>this.runCallbacks()),null!=t?t:this.timeout),this.promise}async runCallbacks(){var t,o;const e=[...this.callbacks];this.callbacks=[];const r=null!==(t=this.rejectPromise)&&void 0!==t?t:()=>null,i=null!==(o=this.resolvePromise)&&void 0!==o?o:()=>null;this.clearPromise();for(let t of e)try{await t()}catch(t){return void r(t)}i(!0)}clearTimeout(){null!=this._debounce&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}}var ie=Object.freeze({__proto__:null,Debouncer:re});const ne=t=>new Promise((o=>setTimeout(o,t)));async function ae(t,o=10,e=2e4){await le((async()=>await t()||void 0),o,e)}async function le(t,o=10,e=2e4){let r,i,n=await t();for(r=i=performance.now();null==n&&(!e||i-r<e);)await ne(o),n=await t(),i=performance.now();if(null==n)throw new Error("Timeout exceeded");return n}function ce(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,((t,o,e,r)=>o+e+":"+r)),new Date(t)}function se(t,o){try{return function(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var e,r,i;if(Array.isArray(t)){if((e=t.length)!=o.length)return!1;for(r=e;0!=r--;)if(!se(t[r],o[r]))return!1;return!0}if(t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;for(r of t.entries())if(!se(r[1],o.get(r[0])))return!1;return!0}if(t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(r of t.entries())if(!o.has(r[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if((e=(i=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(r=e;0!=r--;)if(!Object.prototype.hasOwnProperty.call(o,i[r]))return!1;for(r=e;0!=r--;){var n=i[r];if(!se(t[n],o[n]))return!1}return!0}return t!=t&&o!=o}(t,o)}catch(t){return!1}}function fe(t,o,e){return Math.min(Math.max(t,o),e)}var de=Object.freeze({__proto__:null,dateReviver:function(...t){return function(o,e){return t.includes(o)?ce(e):e}},deepEqual:se,delay:ne,eventPathContainsMatchingElement:function(t,o,e=window.document.body){if(o.length>0){const r=t.composedPath();for(let t of r){if(t===e)return!1;if(t.matches&&o.some((o=>t.matches(o))))return!0}}return!1},flatDeep:function t(o,e){return o.flatMap((o=>[o,...t(e(o),e)]))},last:function(t){return t[t.length-1]},minmax:fe,parseDate:ce,waitFor:le,waitUntil:ae});const ue=t=>o=>{window.customElements.get(t)||window.customElements.define(t,o)};function he(t,o){const e=()=>JSON.parse(JSON.stringify(t));return xo({type:Object,converter:{fromAttribute:t=>{if(null==t)return e();try{return JSON.parse(t)}catch{return e()}},toAttribute:t=>JSON.stringify(t)},hasChanged:(t,o)=>!se(t,o),...null!=o?o:{}})}function pe(t){return!isNaN(parseFloat(t))}var ge=Object.freeze({__proto__:null,customElement:ue,isNumber:pe,jsonProperty:he,optionalNumberProperty:function(t){return xo({type:Object,converter:{fromAttribute:t=>{if(null!=t)return pe(t)?+t:void 0},toAttribute:t=>null==t?void 0:""+t},...null!=t?t:{}})}});const ye=t=>"string"==typeof t?ft(t):t;class be{static create(t,o,e,r){const i=t=>ye(null!=t?t:r),n=dt`var(${ye(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>dt`var(${ye(t)}, ${i(o)})`,n.breadcrumb=()=>[],n.lastResortDefaultValue=()=>r,n}static extend(t,o,e,r){const i=t=>e.get(null!=t?t:r),n=dt`var(${ye(t)}, ${i(r)})`;return n.name=t,n.description=o,n.category=e.category,n.fallbackVariable=e,n.defaultValue=r,n.defaultCssValue=i,n.get=o=>dt`var(${ye(t)}, ${i(o)})`,n.breadcrumb=()=>[e.name,...e.breadcrumb()],n.lastResortDefaultValue=()=>null!=r?r:e.lastResortDefaultValue(),n}static external(t,o){const e=o=>t.fallbackVariable?t.fallbackVariable.get(null!=o?o:t.defaultValue):ye(null!=o?o:t.lastResortDefaultValue()),r=dt`var(${ye(t.name)}, ${e(t.defaultValue)})`;return r.name=t.name,r.category=t.category,r.fallbackVariable=t.fallbackVariable,r.defaultValue=t.defaultValue,r.context=o,r.defaultCssValue=e,r.get=o=>dt`var(${ye(t.name)}, ${e(o)})`,r.breadcrumb=()=>t.fallbackVariable?[t.fallbackVariable.name,...t.fallbackVariable.breadcrumb()]:[],r.lastResortDefaultValue=()=>t.lastResortDefaultValue(),r}}const me={colorWhite:be.create("--ft-color-white","","COLOR","#ffffff"),colorGray0:be.create("--ft-color-gray-0","","COLOR","#71718e"),colorGray10:be.create("--ft-color-gray-10","","COLOR","#fbfbfc"),colorGray20:be.create("--ft-color-gray-20","","COLOR","#f2f2f5"),colorGray30:be.create("--ft-color-gray-30","","COLOR","#e9e9ed"),colorGray40:be.create("--ft-color-gray-40","","COLOR","#e0e0e6"),colorGray50:be.create("--ft-color-gray-50","","COLOR","#cdcdd7"),colorGray60:be.create("--ft-color-gray-60","","COLOR","#bbbbc9"),colorGray70:be.create("--ft-color-gray-70","","COLOR","#a8a8ba"),colorGray80:be.create("--ft-color-gray-80","","COLOR","#9696ab"),colorGray90:be.create("--ft-color-gray-90","","COLOR","#83839d"),colorGray100:be.create("--ft-color-gray-100","","COLOR","#62627c"),colorGray200:be.create("--ft-color-gray-200","","COLOR","#545469"),colorGray300:be.create("--ft-color-gray-300","","COLOR","#454557"),colorGray400:be.create("--ft-color-gray-400","","COLOR","#363644"),colorGray500:be.create("--ft-color-gray-500","","COLOR","#282832"),colorGray600:be.create("--ft-color-gray-600","","COLOR","#19191f"),colorGray700:be.create("--ft-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:be.create("--ft-color-brand-0","","COLOR","#9d207b"),colorBrand10:be.create("--ft-color-brand-10","","COLOR","#f7edf4"),colorBrand20:be.create("--ft-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:be.create("--ft-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:be.create("--ft-color-brand-40","","COLOR","#d395c2"),colorBrand50:be.create("--ft-color-brand-50","","COLOR","#c778b1"),colorBrand60:be.create("--ft-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:be.create("--ft-color-brand-70","","COLOR","#ae3e90"),colorBrand100:be.create("--ft-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:be.create("--ft-color-brand-200","","COLOR","#78185e"),colorBrand300:be.create("--ft-color-brand-300","","COLOR","#62144d"),colorBrand400:be.create("--ft-color-brand-400","","COLOR","#4d103c"),colorBrand500:be.create("--ft-color-brand-500","","COLOR","#380b2c"),colorBrand600:be.create("--ft-color-brand-600","","COLOR","#23071b"),colorBrand700:be.create("--ft-color-brand-700","","COLOR","#0d030b"),colorCyan0:be.create("--ft-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:be.create("--ft-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:be.create("--ft-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:be.create("--ft-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:be.create("--ft-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:be.create("--ft-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:be.create("--ft-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:be.create("--ft-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:be.create("--ft-color-cyan-100","","COLOR","#0c849c"),colorCyan200:be.create("--ft-color-cyan-200","","COLOR","#0a7085"),colorCyan300:be.create("--ft-color-cyan-300","","COLOR","#085c6d"),colorCyan400:be.create("--ft-color-cyan-400","","COLOR","#074856"),colorCyan500:be.create("--ft-color-cyan-500","","COLOR","#05343e"),colorCyan600:be.create("--ft-color-cyan-600","","COLOR","#032127"),colorCyan700:be.create("--ft-color-cyan-700","","COLOR","#010d0f"),colorGreen0:be.create("--ft-color-green-0","","COLOR","#21a274"),colorGreen10:be.create("--ft-color-green-10","","COLOR","#edf7f3"),colorGreen20:be.create("--ft-color-green-20","","COLOR","#cfebe1"),colorGreen30:be.create("--ft-color-green-30","","COLOR","#b2dfcf"),colorGreen40:be.create("--ft-color-green-40","","COLOR","#95d3bd"),colorGreen50:be.create("--ft-color-green-50","","COLOR","#78c7ab"),colorGreen60:be.create("--ft-color-green-60","","COLOR","#5bba98"),colorGreen70:be.create("--ft-color-green-70","","COLOR","#3eae86"),colorGreen100:be.create("--ft-color-green-100","","COLOR","#1d8d65"),colorGreen200:be.create("--ft-color-green-200","","COLOR","#187856"),colorGreen300:be.create("--ft-color-green-300","","COLOR","#146246"),colorGreen400:be.create("--ft-color-green-400","","COLOR","#104d37"),colorGreen500:be.create("--ft-color-green-500","","COLOR","#0b3828"),colorGreen600:be.create("--ft-color-green-600","","COLOR","#072319"),colorGreen700:be.create("--ft-color-green-700","","COLOR","#030d0a"),colorOrange0:be.create("--ft-color-orange-0","","COLOR","#F2700D"),colorOrange10:be.create("--ft-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:be.create("--ft-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:be.create("--ft-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:be.create("--ft-color-orange-40","","COLOR","#FECB90"),colorOrange50:be.create("--ft-color-orange-50","","COLOR","#FCB76E"),colorOrange60:be.create("--ft-color-orange-60","","COLOR","#F9A34D"),colorOrange70:be.create("--ft-color-orange-70","","COLOR","#F68B2C"),colorOrange100:be.create("--ft-color-orange-100","","COLOR","#D35909"),colorOrange200:be.create("--ft-color-orange-200","","COLOR","#B74706"),colorOrange300:be.create("--ft-color-orange-300","","COLOR","#913503"),colorOrange400:be.create("--ft-color-orange-400","","COLOR","#6F2601"),colorOrange500:be.create("--ft-color-orange-500","","COLOR","#4D1800"),colorOrange600:be.create("--ft-color-orange-600","","COLOR","#330F00"),colorOrange700:be.create("--ft-color-orange-700","","COLOR","#140600"),colorRed0:be.create("--ft-color-red-0","","COLOR","#b40e2c"),colorRed10:be.create("--ft-color-red-10","","COLOR","#f9ebed"),colorRed20:be.create("--ft-color-red-20","","COLOR","#efcbd2"),colorRed30:be.create("--ft-color-red-30","","COLOR","#e5acb6"),colorRed40:be.create("--ft-color-red-40","","COLOR","#db8c9b"),colorRed50:be.create("--ft-color-red-50","","COLOR","#d16d7f"),colorRed60:be.create("--ft-color-red-60","","COLOR","#c84d63"),colorRed70:be.create("--ft-color-red-70","","COLOR","#be2e48"),colorRed100:be.create("--ft-color-red-100","","COLOR","#9c0c26"),colorRed200:be.create("--ft-color-red-200","","COLOR","#850a20"),colorRed300:be.create("--ft-color-red-300","","COLOR","#6d081b"),colorRed400:be.create("--ft-color-red-400","","COLOR","#560715"),colorRed500:be.create("--ft-color-red-500","","COLOR","#3e050f"),colorRed600:be.create("--ft-color-red-600","","COLOR","#270309"),colorRed700:be.create("--ft-color-red-700","","COLOR","#0f0104"),colorYellow0:be.create("--ft-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:be.create("--ft-color-yellow-10","","COLOR","#fefae9"),colorYellow20:be.create("--ft-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:be.create("--ft-color-yellow-30","","COLOR","#faedaa"),colorYellow40:be.create("--ft-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:be.create("--ft-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:be.create("--ft-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:be.create("--ft-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:be.create("--ft-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:be.create("--ft-color-yellow-200","","COLOR","#b3970a"),colorYellow300:be.create("--ft-color-yellow-300","","COLOR","#947c08"),colorYellow400:be.create("--ft-color-yellow-400","","COLOR","#746206"),colorYellow500:be.create("--ft-color-yellow-500","","COLOR","#554705"),colorYellow600:be.create("--ft-color-yellow-600","","COLOR","#352d03"),colorYellow700:be.create("--ft-color-yellow-700","","COLOR","#161201"),colorUltramarine0:be.create("--ft-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:be.create("--ft-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:be.create("--ft-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:be.create("--ft-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:be.create("--ft-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:be.create("--ft-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:be.create("--ft-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:be.create("--ft-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:be.create("--ft-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:be.create("--ft-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:be.create("--ft-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:be.create("--ft-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:be.create("--ft-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:be.create("--ft-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:be.create("--ft-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:be.create("--ft-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:be.create("--ft-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:be.create("--ft-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:be.create("--ft-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:be.create("--ft-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:be.create("--ft-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:be.create("--ft-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:be.create("--ft-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:be.create("--ft-color-avocado-100","","COLOR","#84A423"),colorAvocado200:be.create("--ft-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:be.create("--ft-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:be.create("--ft-color-avocado-400","","COLOR","#495B13"),colorAvocado500:be.create("--ft-color-avocado-500","","COLOR","#35420E"),colorAvocado600:be.create("--ft-color-avocado-600","","COLOR","#212A09"),colorAvocado700:be.create("--ft-color-avocado-700","","COLOR","#0E1104"),colorBrown0:be.create("--ft-color-brown-0","","COLOR","#B26F4D"),colorBrown10:be.create("--ft-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:be.create("--ft-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:be.create("--ft-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:be.create("--ft-color-brown-40","","COLOR","#DABAAA"),colorBrown50:be.create("--ft-color-brown-50","","COLOR","#D0A792"),colorBrown60:be.create("--ft-color-brown-60","","COLOR","#C6947B"),colorBrown70:be.create("--ft-color-brown-70","","COLOR","#BC8264"),colorBrown100:be.create("--ft-color-brown-100","","COLOR","#9B6143"),colorBrown200:be.create("--ft-color-brown-200","","COLOR","#845239"),colorBrown300:be.create("--ft-color-brown-300","","COLOR","#6D442F"),colorBrown400:be.create("--ft-color-brown-400","","COLOR","#553525"),colorBrown500:be.create("--ft-color-brown-500","","COLOR","#3E271B"),colorBrown600:be.create("--ft-color-brown-600","","COLOR","#271811"),colorBrown700:be.create("--ft-color-brown-700","","COLOR","#100A07"),spacing1:be.create("--ft-spacing-1","","SIZE","0.25rem"),spacing2:be.create("--ft-spacing-2","","SIZE","calc(var(--ft-spacing-2, 0.25rem)*2)"),spacing3:be.create("--ft-spacing-3","","SIZE","calc(var(--ft-spacing-3, 0.25rem)*3)"),spacing4:be.create("--ft-spacing-4","","SIZE","calc(var(--ft-spacing-4, 0.25rem)*4)"),spacing5:be.create("--ft-spacing-5","","SIZE","calc(var(--ft-spacing-5, 0.25rem)*5)"),spacing6:be.create("--ft-spacing-6","","SIZE","calc(var(--ft-spacing-6, 0.25rem)*6)"),spacing8:be.create("--ft-spacing-8","","SIZE","calc(var(--ft-spacing-8, 0.25rem)*8)"),spacing10:be.create("--ft-spacing-10","","SIZE","calc(var(--ft-spacing-10, 0.25rem)*10)"),spacing12:be.create("--ft-spacing-12","","SIZE","calc(var(--ft-spacing-12, 0.25rem)*12)"),spacing16:be.create("--ft-spacing-16","","SIZE","calc(var(--ft-spacing-16, 0.25rem)*16)"),spacing20:be.create("--ft-spacing-20","","SIZE","calc(var(--ft-spacing-20, 0.25rem)*20)"),spacing24:be.create("--ft-spacing-24","","SIZE","calc(var(--ft-spacing-24, 0.25rem)*24)"),spacing28:be.create("--ft-spacing-28","","SIZE","calc(var(--ft-spacing-28, 0.25rem)*28)"),spacing32:be.create("--ft-spacing-32","","SIZE","calc(var(--ft-spacing-32, 0.25rem)*32)"),spacing05:be.create("--ft-spacing-0-5","","SIZE","calc(var(--ft-spacing-0-5, 0.25rem)*0.5)"),borderRadiusS:be.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:be.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:be.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXl:be.create("--ft-border-radius-xl","","SIZE","16px"),borderRadiusPill:be.create("--ft-border-radius-pill","","SIZE","999px"),borderRadiusRound:be.create("--ft-border-radius-round","","SIZE","50%"),iconSize1:be.create("--ft-icon-size-1","","SIZE","12px"),iconSize2:be.create("--ft-icon-size-2","","SIZE","16px"),iconSize3:be.create("--ft-icon-size-3","","SIZE","20px"),iconSize4:be.create("--ft-icon-size-4","","SIZE","24px"),iconSize5:be.create("--ft-icon-size-5","","SIZE","32px"),iconSize6:be.create("--ft-icon-size-6","","SIZE","48px"),opacity0:be.create("--ft-opacity-0","","NUMBER","0"),opacity8:be.create("--ft-opacity-8","","NUMBER","0.08"),opacity16:be.create("--ft-opacity-16","","NUMBER","0.16"),opacity24:be.create("--ft-opacity-24","","NUMBER","0.24"),opacity40:be.create("--ft-opacity-40","","NUMBER","0.4"),opacity80:be.create("--ft-opacity-80","","NUMBER","0.8"),shadowElevation01:be.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:be.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:be.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:be.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:be.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:be.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:be.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:be.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:be.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)")},ve={fontFamily:be.create("--ft-typography-display-fontFamily","","UNKNOWN","Inter"),fontWeight:be.create("--ft-typography-display-fontWeight","","UNKNOWN","600"),lineHeight:be.create("--ft-typography-display-lineHeight","","SIZE","120%"),fontSize:be.create("--ft-typography-display-fontSize","","SIZE","2.5rem"),letterSpacing:be.create("--ft-typography-display-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:be.create("--ft-typography-display-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:be.create("--ft-typography-display-paragraphIndent","","UNKNOWN","0"),textDecoration:be.create("--ft-typography-display-textDecoration","","UNKNOWN","none"),textCase:be.create("--ft-typography-display-textCase","","UNKNOWN","none")},Oe={fontFamily:be.create("--ft-typography-title-1-fontFamily","","UNKNOWN","Inter"),fontWeight:be.create("--ft-typography-title-1-fontWeight","","UNKNOWN","600"),lineHeight:be.create("--ft-typography-title-1-lineHeight","","SIZE","120%"),fontSize:be.create("--ft-typography-title-1-fontSize","","SIZE","1.5rem"),letterSpacing:be.create("--ft-typography-title-1-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:be.create("--ft-typography-title-1-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:be.create("--ft-typography-title-1-paragraphIndent","","UNKNOWN","0"),textDecoration:be.create("--ft-typography-title-1-textDecoration","","UNKNOWN","none"),textCase:be.create("--ft-typography-title-1-textCase","","UNKNOWN","none")},Se={fontFamily:be.create("--ft-typography-title-2-fontFamily","","UNKNOWN","Inter"),fontWeight:be.create("--ft-typography-title-2-fontWeight","","UNKNOWN","500"),lineHeight:be.create("--ft-typography-title-2-lineHeight","","SIZE","120%"),fontSize:be.create("--ft-typography-title-2-fontSize","","SIZE","1.25rem"),letterSpacing:be.create("--ft-typography-title-2-letterSpacing","","SIZE","-0.02em"),paragraphSpacing:be.create("--ft-typography-title-2-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:be.create("--ft-typography-title-2-paragraphIndent","","UNKNOWN","0"),textDecoration:be.create("--ft-typography-title-2-textDecoration","","UNKNOWN","none"),textCase:be.create("--ft-typography-title-2-textCase","","UNKNOWN","none")},xe={fontFamily:be.create("--ft-typography-title-3-fontFamily","","UNKNOWN","Inter"),fontWeight:be.create("--ft-typography-title-3-fontWeight","","UNKNOWN","500"),lineHeight:be.create("--ft-typography-title-3-lineHeight","","SIZE","120%"),fontSize:be.create("--ft-typography-title-3-fontSize","","SIZE","1.125rem"),letterSpacing:be.create("--ft-typography-title-3-letterSpacing","","SIZE","-0.01em"),paragraphSpacing:be.create("--ft-typography-title-3-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:be.create("--ft-typography-title-3-paragraphIndent","","UNKNOWN","0"),textDecoration:be.create("--ft-typography-title-3-textDecoration","","UNKNOWN","none"),textCase:be.create("--ft-typography-title-3-textCase","","UNKNOWN","none")},we={fontFamily:be.create("--ft-typography-body-1-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:be.create("--ft-typography-body-1-regular-fontWeight","","UNKNOWN","400"),lineHeight:be.create("--ft-typography-body-1-regular-lineHeight","","SIZE","135%"),fontSize:be.create("--ft-typography-body-1-regular-fontSize","","SIZE","1rem"),letterSpacing:be.create("--ft-typography-body-1-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:be.create("--ft-typography-body-1-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:be.create("--ft-typography-body-1-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:be.create("--ft-typography-body-1-regular-textDecoration","","UNKNOWN","none"),textCase:be.create("--ft-typography-body-1-regular-textCase","","UNKNOWN","none")},Ce={fontFamily:be.create("--ft-typography-body-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:be.create("--ft-typography-body-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:be.create("--ft-typography-body-1-medium-lineHeight","","SIZE","135%"),fontSize:be.create("--ft-typography-body-1-medium-fontSize","","SIZE","1rem"),letterSpacing:be.create("--ft-typography-body-1-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:be.create("--ft-typography-body-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:be.create("--ft-typography-body-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:be.create("--ft-typography-body-1-medium-textDecoration","","UNKNOWN","none"),textCase:be.create("--ft-typography-body-1-medium-textCase","","UNKNOWN","none")},Ne={fontFamily:be.create("--ft-typography-body-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:be.create("--ft-typography-body-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:be.create("--ft-typography-body-1-semibold-lineHeight","","SIZE","135%"),fontSize:be.create("--ft-typography-body-1-semibold-fontSize","","SIZE","1rem"),letterSpacing:be.create("--ft-typography-body-1-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:be.create("--ft-typography-body-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:be.create("--ft-typography-body-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:be.create("--ft-typography-body-1-semibold-textDecoration","","UNKNOWN","none"),textCase:be.create("--ft-typography-body-1-semibold-textCase","","UNKNOWN","none")},Ee={fontFamily:be.create("--ft-typography-body-2-regular-fontFamily","","UNKNOWN","Inter"),fontWeight:be.create("--ft-typography-body-2-regular-fontWeight","","UNKNOWN","400"),lineHeight:be.create("--ft-typography-body-2-regular-lineHeight","","SIZE","135%"),fontSize:be.create("--ft-typography-body-2-regular-fontSize","","SIZE","0.875rem"),letterSpacing:be.create("--ft-typography-body-2-regular-letterSpacing","","SIZE","normal"),paragraphSpacing:be.create("--ft-typography-body-2-regular-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:be.create("--ft-typography-body-2-regular-paragraphIndent","","UNKNOWN","0"),textDecoration:be.create("--ft-typography-body-2-regular-textDecoration","","UNKNOWN","none"),textCase:be.create("--ft-typography-body-2-regular-textCase","","UNKNOWN","none")},Ie={fontFamily:be.create("--ft-typography-body-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:be.create("--ft-typography-body-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:be.create("--ft-typography-body-2-medium-lineHeight","","SIZE","135%"),fontSize:be.create("--ft-typography-body-2-medium-fontSize","","SIZE","0.875rem"),letterSpacing:be.create("--ft-typography-body-2-medium-letterSpacing","","SIZE","normal"),paragraphSpacing:be.create("--ft-typography-body-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:be.create("--ft-typography-body-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:be.create("--ft-typography-body-2-medium-textDecoration","","UNKNOWN","none"),textCase:be.create("--ft-typography-body-2-medium-textCase","","UNKNOWN","none")},Re={fontFamily:be.create("--ft-typography-body-2-medium-underline-fontFamily","","UNKNOWN","Inter"),fontWeight:be.create("--ft-typography-body-2-medium-underline-fontWeight","","UNKNOWN","500"),lineHeight:be.create("--ft-typography-body-2-medium-underline-lineHeight","","SIZE","135%"),fontSize:be.create("--ft-typography-body-2-medium-underline-fontSize","","SIZE","0.875rem"),letterSpacing:be.create("--ft-typography-body-2-medium-underline-letterSpacing","","SIZE","normal"),paragraphSpacing:be.create("--ft-typography-body-2-medium-underline-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:be.create("--ft-typography-body-2-medium-underline-paragraphIndent","","UNKNOWN","0"),textCase:be.create("--ft-typography-body-2-medium-underline-textCase","","UNKNOWN","none"),textDecoration:be.create("--ft-typography-body-2-medium-underline-textDecoration","","UNKNOWN","underline")},Le={fontFamily:be.create("--ft-typography-body-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:be.create("--ft-typography-body-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:be.create("--ft-typography-body-2-semibold-lineHeight","","SIZE","135%"),fontSize:be.create("--ft-typography-body-2-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:be.create("--ft-typography-body-2-semibold-letterSpacing","","SIZE","normal"),paragraphSpacing:be.create("--ft-typography-body-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:be.create("--ft-typography-body-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:be.create("--ft-typography-body-2-semibold-textDecoration","","UNKNOWN","none"),textCase:be.create("--ft-typography-body-2-semibold-textCase","","UNKNOWN","none")},We={fontFamily:be.create("--ft-typography-label-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:be.create("--ft-typography-label-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:be.create("--ft-typography-label-1-medium-lineHeight","","SIZE","110%"),fontSize:be.create("--ft-typography-label-1-medium-fontSize","","SIZE","0.875rem"),letterSpacing:be.create("--ft-typography-label-1-medium-letterSpacing","","SIZE","0.04em"),textCase:be.create("--ft-typography-label-1-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:be.create("--ft-typography-label-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:be.create("--ft-typography-label-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:be.create("--ft-typography-label-1-medium-textDecoration","","UNKNOWN","none")},Ue={fontFamily:be.create("--ft-typography-label-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:be.create("--ft-typography-label-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:be.create("--ft-typography-label-1-semibold-lineHeight","","SIZE","110%"),fontSize:be.create("--ft-typography-label-1-semibold-fontSize","","SIZE","0.875rem"),letterSpacing:be.create("--ft-typography-label-1-semibold-letterSpacing","","SIZE","0.04em"),textCase:be.create("--ft-typography-label-1-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:be.create("--ft-typography-label-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:be.create("--ft-typography-label-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:be.create("--ft-typography-label-1-semibold-textDecoration","","UNKNOWN","none")},ke={fontFamily:be.create("--ft-typography-label-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:be.create("--ft-typography-label-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:be.create("--ft-typography-label-1-bold-lineHeight","","SIZE","110%"),fontSize:be.create("--ft-typography-label-1-bold-fontSize","","SIZE","0.875rem"),letterSpacing:be.create("--ft-typography-label-1-bold-letterSpacing","","SIZE","0.04em"),textCase:be.create("--ft-typography-label-1-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:be.create("--ft-typography-label-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:be.create("--ft-typography-label-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:be.create("--ft-typography-label-1-bold-textDecoration","","UNKNOWN","none")},Be={fontFamily:be.create("--ft-typography-label-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:be.create("--ft-typography-label-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:be.create("--ft-typography-label-2-medium-lineHeight","","SIZE","110%"),fontSize:be.create("--ft-typography-label-2-medium-fontSize","","SIZE","0.75rem"),letterSpacing:be.create("--ft-typography-label-2-medium-letterSpacing","","SIZE","0.04em"),textCase:be.create("--ft-typography-label-2-medium-textCase","","UNKNOWN","uppercase"),paragraphSpacing:be.create("--ft-typography-label-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:be.create("--ft-typography-label-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:be.create("--ft-typography-label-2-medium-textDecoration","","UNKNOWN","none")},Fe={fontFamily:be.create("--ft-typography-label-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:be.create("--ft-typography-label-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:be.create("--ft-typography-label-2-semibold-lineHeight","","SIZE","110%"),fontSize:be.create("--ft-typography-label-2-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:be.create("--ft-typography-label-2-semibold-letterSpacing","","SIZE","0.04em"),textCase:be.create("--ft-typography-label-2-semibold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:be.create("--ft-typography-label-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:be.create("--ft-typography-label-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:be.create("--ft-typography-label-2-semibold-textDecoration","","UNKNOWN","none")},ze={fontFamily:be.create("--ft-typography-label-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:be.create("--ft-typography-label-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:be.create("--ft-typography-label-2-bold-lineHeight","","SIZE","110%"),fontSize:be.create("--ft-typography-label-2-bold-fontSize","","SIZE","0.75rem"),letterSpacing:be.create("--ft-typography-label-2-bold-letterSpacing","","SIZE","0.04em"),textCase:be.create("--ft-typography-label-2-bold-textCase","","UNKNOWN","uppercase"),paragraphSpacing:be.create("--ft-typography-label-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:be.create("--ft-typography-label-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:be.create("--ft-typography-label-2-bold-textDecoration","","UNKNOWN","none")},Ae={fontFamily:be.create("--ft-typography-caption-1-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:be.create("--ft-typography-caption-1-medium-fontWeight","","UNKNOWN","500"),lineHeight:be.create("--ft-typography-caption-1-medium-lineHeight","","SIZE","130%"),fontSize:be.create("--ft-typography-caption-1-medium-fontSize","","SIZE","0.75rem"),letterSpacing:be.create("--ft-typography-caption-1-medium-letterSpacing","","SIZE","normal"),textCase:be.create("--ft-typography-caption-1-medium-textCase","","UNKNOWN","none"),paragraphSpacing:be.create("--ft-typography-caption-1-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:be.create("--ft-typography-caption-1-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:be.create("--ft-typography-caption-1-medium-textDecoration","","UNKNOWN","none")},_e={fontFamily:be.create("--ft-typography-caption-1-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:be.create("--ft-typography-caption-1-semibold-fontWeight","","UNKNOWN","600"),lineHeight:be.create("--ft-typography-caption-1-semibold-lineHeight","","SIZE","130%"),fontSize:be.create("--ft-typography-caption-1-semibold-fontSize","","SIZE","0.75rem"),letterSpacing:be.create("--ft-typography-caption-1-semibold-letterSpacing","","SIZE","normal"),textCase:be.create("--ft-typography-caption-1-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:be.create("--ft-typography-caption-1-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:be.create("--ft-typography-caption-1-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:be.create("--ft-typography-caption-1-semibold-textDecoration","","UNKNOWN","none")},Pe={fontFamily:be.create("--ft-typography-caption-1-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:be.create("--ft-typography-caption-1-bold-fontWeight","","UNKNOWN","700"),lineHeight:be.create("--ft-typography-caption-1-bold-lineHeight","","SIZE","130%"),fontSize:be.create("--ft-typography-caption-1-bold-fontSize","","SIZE","0.75rem"),letterSpacing:be.create("--ft-typography-caption-1-bold-letterSpacing","","SIZE","normal"),textCase:be.create("--ft-typography-caption-1-bold-textCase","","UNKNOWN","none"),paragraphSpacing:be.create("--ft-typography-caption-1-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:be.create("--ft-typography-caption-1-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:be.create("--ft-typography-caption-1-bold-textDecoration","","UNKNOWN","none")},Ze={fontFamily:be.create("--ft-typography-caption-2-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:be.create("--ft-typography-caption-2-medium-fontWeight","","UNKNOWN","500"),lineHeight:be.create("--ft-typography-caption-2-medium-lineHeight","","SIZE","130%"),fontSize:be.create("--ft-typography-caption-2-medium-fontSize","","SIZE","0.6875rem"),letterSpacing:be.create("--ft-typography-caption-2-medium-letterSpacing","","SIZE","normal"),textCase:be.create("--ft-typography-caption-2-medium-textCase","","UNKNOWN","none"),paragraphSpacing:be.create("--ft-typography-caption-2-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:be.create("--ft-typography-caption-2-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:be.create("--ft-typography-caption-2-medium-textDecoration","","UNKNOWN","none")},Ke={fontFamily:be.create("--ft-typography-caption-2-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:be.create("--ft-typography-caption-2-semibold-fontWeight","","UNKNOWN","600"),lineHeight:be.create("--ft-typography-caption-2-semibold-lineHeight","","SIZE","130%"),fontSize:be.create("--ft-typography-caption-2-semibold-fontSize","","SIZE","0.6875rem"),letterSpacing:be.create("--ft-typography-caption-2-semibold-letterSpacing","","SIZE","normal"),textCase:be.create("--ft-typography-caption-2-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:be.create("--ft-typography-caption-2-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:be.create("--ft-typography-caption-2-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:be.create("--ft-typography-caption-2-semibold-textDecoration","","UNKNOWN","none")},je={fontFamily:be.create("--ft-typography-caption-2-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:be.create("--ft-typography-caption-2-bold-fontWeight","","UNKNOWN","700"),lineHeight:be.create("--ft-typography-caption-2-bold-lineHeight","","SIZE","130%"),fontSize:be.create("--ft-typography-caption-2-bold-fontSize","","SIZE","0.6875rem"),letterSpacing:be.create("--ft-typography-caption-2-bold-letterSpacing","","SIZE","normal"),textCase:be.create("--ft-typography-caption-2-bold-textCase","","UNKNOWN","none"),paragraphSpacing:be.create("--ft-typography-caption-2-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:be.create("--ft-typography-caption-2-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:be.create("--ft-typography-caption-2-bold-textDecoration","","UNKNOWN","none")},Me={fontFamily:be.create("--ft-typography-caption-3-medium-fontFamily","","UNKNOWN","Inter"),fontWeight:be.create("--ft-typography-caption-3-medium-fontWeight","","UNKNOWN","500"),lineHeight:be.create("--ft-typography-caption-3-medium-lineHeight","","SIZE","130%"),fontSize:be.create("--ft-typography-caption-3-medium-fontSize","","SIZE","0.625rem"),letterSpacing:be.create("--ft-typography-caption-3-medium-letterSpacing","","SIZE","normal"),textCase:be.create("--ft-typography-caption-3-medium-textCase","","UNKNOWN","none"),paragraphSpacing:be.create("--ft-typography-caption-3-medium-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:be.create("--ft-typography-caption-3-medium-paragraphIndent","","UNKNOWN","0"),textDecoration:be.create("--ft-typography-caption-3-medium-textDecoration","","UNKNOWN","none")},$e={fontFamily:be.create("--ft-typography-caption-3-semibold-fontFamily","","UNKNOWN","Inter"),fontWeight:be.create("--ft-typography-caption-3-semibold-fontWeight","","UNKNOWN","600"),lineHeight:be.create("--ft-typography-caption-3-semibold-lineHeight","","SIZE","130%"),fontSize:be.create("--ft-typography-caption-3-semibold-fontSize","","SIZE","0.625rem"),letterSpacing:be.create("--ft-typography-caption-3-semibold-letterSpacing","","SIZE","normal"),textCase:be.create("--ft-typography-caption-3-semibold-textCase","","UNKNOWN","none"),paragraphSpacing:be.create("--ft-typography-caption-3-semibold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:be.create("--ft-typography-caption-3-semibold-paragraphIndent","","UNKNOWN","0"),textDecoration:be.create("--ft-typography-caption-3-semibold-textDecoration","","UNKNOWN","none")},He={fontFamily:be.create("--ft-typography-caption-3-bold-fontFamily","","UNKNOWN","Inter"),fontWeight:be.create("--ft-typography-caption-3-bold-fontWeight","","UNKNOWN","700"),lineHeight:be.create("--ft-typography-caption-3-bold-lineHeight","","SIZE","130%"),fontSize:be.create("--ft-typography-caption-3-bold-fontSize","","SIZE","0.625rem"),letterSpacing:be.create("--ft-typography-caption-3-bold-letterSpacing","","SIZE","normal"),textCase:be.create("--ft-typography-caption-3-bold-textCase","","UNKNOWN","none"),paragraphSpacing:be.create("--ft-typography-caption-3-bold-paragraphSpacing","","UNKNOWN","normal"),paragraphIndent:be.create("--ft-typography-caption-3-bold-paragraphIndent","","UNKNOWN","0"),textDecoration:be.create("--ft-typography-caption-3-bold-textDecoration","","UNKNOWN","none")},De={display:ve,"title-1":Oe,"title-2":Se,"title-3":xe,"body-1-regular":we,"body-1-medium":Ce,"body-1-semibold":Ne,"body-2-regular":Ee,"body-2-medium":Ie,"body-2-medium-underline":Re,"body-2-semibold":Le,"label-1-medium":We,"label-1-semibold":Ue,"label-1-bold":ke,"label-2-medium":Be,"label-2-semibold":Fe,"label-2-bold":ze,"caption-1-medium":Ae,"caption-1-semibold":_e,"caption-1-bold":Pe,"caption-2-medium":Ze,"caption-2-semibold":Ke,"caption-2-bold":je,"caption-3-medium":Me,"caption-3-semibold":$e,"caption-3-bold":He},Te={backgroundActionPrimary:be.extend("--ft-background-action-primary","Used as backgorund of primary action components.",me.colorBrand0),backgroundErrorSubtle:be.extend("--ft-background-error-subtle","Used as background of subtle error components.",me.colorRed10),backgroundInfoSubtle:be.extend("--ft-background-info-subtle","Used as background of subtle information components.",me.colorCyan10),backgroundWarningSubtle:be.extend("--ft-background-warning-subtle","Used as background of subtle information components.",me.colorOrange10),backgroundSuccessSubtle:be.extend("--ft-background-success-subtle","Used as background of subtle success components.",me.colorGreen10),backgroundGlobalSurface:be.extend("--ft-background-global-surface","Used as app background.",me.colorWhite),backgroundGlobalOnSurface:be.extend("--ft-background-global-on-surface","Used as background on element on the base background, like cards.",me.colorGray10),backgroundGlobalOnSurfaceDark:be.extend("--ft-background-global-on-surface-dark","Used as background on element that need background separation.",me.colorGray30),contentActionPrimary:be.extend("--ft-content-action-primary","Used on label of primary action on light surface.",me.colorBrand0),contentWarningPrimary:be.extend("--ft-content-warning-primary","Used on label of warning messages on light surface.",me.colorOrange200),contentWarningIconOnly:be.extend("--ft-content-warning-icon-only","Used on warning status icons alone",me.colorOrange0),contentErrorPrimary:be.extend("--ft-content-error-primary","Used on label of error messages on light surface.",me.colorRed0),contentErrorIconOnly:be.extend("--ft-content-error-icon-only","Used on error status icons alone",me.colorRed70),contentInfoPrimary:be.extend("--ft-content-info-primary","Used on label of information messages on light surface.",me.colorCyan200),contentInfoIconOnly:be.extend("--ft-content-info-icon-only","Used on info status icons alone",me.colorCyan0),contentSuccessPrimary:be.extend("--ft-content-success-primary","Used on label of success messages on light surface.",me.colorGreen200),contentSuccessIconOnly:be.extend("--ft-content-success-icon-only","Used on success status icons alone",me.colorGreen0),contentGlobalPrimary:be.extend("--ft-content-global-primary","Used for main content on the page.",me.colorGray500),contentGlobalSecondary:be.extend("--ft-content-global-secondary","Used for secondary content, often paired with primary content.\nAlso for action icons.",me.colorGray200),contentGlobalSubtle:be.extend("--ft-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",me.colorGray0),contentGlobalOnColor:be.extend("--ft-content-global-on-color","Used for content on a dominant color.",me.colorWhite),borderActionPrimary:be.extend("--ft-border-action-primary","Used as border for primary action components.",me.colorBrand0),borderActionFocusRing:be.extend("--ft-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",me.colorCyan0),borderWarningPrimary:be.extend("--ft-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",me.colorOrange200),borderWarningSubtle:be.extend("--ft-border-warning-subtle","Used as border for warning components.",me.colorOrange30),borderSuccessPrimary:be.extend("--ft-border-success-primary","Used as border for success buttons.",me.colorGreen200),borderSuccessSubtle:be.extend("--ft-border-success-subtle","Used as border for success components.",me.colorGreen30),borderErrorPrimary:be.extend("--ft-border-error-primary","Used as border for text fields in error states.",me.colorRed0),borderErrorSubtle:be.extend("--ft-border-error-subtle","Used as border for error components.",me.colorRed30),borderInfoPrimary:be.extend("--ft-border-info-primary","Used as border for buttons in info color.",me.colorCyan200),borderInfoSubtle:be.extend("--ft-border-info-subtle","Used as border for information components.",me.colorCyan30),borderGlobalPrimary:be.extend("--ft-border-global-primary","Used as border for element like input.",me.colorGray50),borderGlobalSubtle:be.extend("--ft-border-global-subtle","Used as border to deliminate an area filled with background.on-surface and separators.",me.colorGray30),borderInputPrimary:be.extend("--ft-border-input-primary","Used as border for checkboxes and radio buttons",me.colorGray80)},Ge={largeHeight:be.create("--ft-button-large-height","","SIZE","40px"),largeHorizontalPadding:be.extend("--ft-button-large-horizontal-padding","",me.spacing4),largeGap:be.extend("--ft-button-large-gap","",me.spacing2),largeBorderRadius:be.extend("--ft-button-large-border-radius","",me.borderRadiusS),largeIconSize:be.extend("--ft-button-large-icon-size","",me.iconSize3),largeBorderWidth:be.create("--ft-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:be.create("--ft-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:be.create("--ft-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:be.create("--ft-button-large-icon-only-width","","SIZE","40px"),smallHeight:be.create("--ft-button-small-height","","SIZE","30px"),smallHorizontalPadding:be.extend("--ft-button-small-horizontal-padding","",me.spacing3),smallGap:be.extend("--ft-button-small-gap","",me.spacing2),smallBorderRadius:be.extend("--ft-button-small-border-radius","",me.borderRadiusS),smallIconSize:be.extend("--ft-button-small-icon-size","",me.iconSize2),smallBorderWidth:be.create("--ft-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:be.create("--ft-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:be.create("--ft-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:be.create("--ft-button-small-icon-only-width","","SIZE","30px"),primaryBackgroundColor:be.extend("--ft-button-primary-background-color","",Te.backgroundActionPrimary),primaryColor:be.extend("--ft-button-primary-color","",Te.contentGlobalOnColor),primaryIconColor:be.extend("--ft-button-primary-icon-color","",Te.contentGlobalOnColor),primaryStateLayerColor:be.extend("--ft-button-primary-state-layer-color","",Te.contentGlobalOnColor),primaryHoverStateLayerOpacity:be.extend("--ft-button-primary-hover-state-layer-opacity","",me.opacity16),primaryFocusStateLayerOpacity:be.extend("--ft-button-primary-focus-state-layer-opacity","",me.opacity16),primaryActiveStateLayerOpacity:be.extend("--ft-button-primary-active-state-layer-opacity","",me.opacity24),primaryDisabledComponentOpacity:be.extend("--ft-button-primary-disabled-component-opacity","",me.opacity40),focusFocusRingColor:be.extend("--ft-button-focus-focus-ring-color","",Te.borderActionFocusRing),tertiaryBackgroundColor:be.create("--ft-button-tertiary-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryColor:be.extend("--ft-button-tertiary-color","",Te.contentActionPrimary),tertiaryIconColor:be.extend("--ft-button-tertiary-icon-color","",Te.contentActionPrimary),tertiaryStateLayerColor:be.extend("--ft-button-tertiary-state-layer-color","",Te.contentActionPrimary),tertiaryHoverStateLayerOpacity:be.extend("--ft-button-tertiary-hover-state-layer-opacity","",me.opacity8),tertiaryFocusStateLayerOpacity:be.extend("--ft-button-tertiary-focus-state-layer-opacity","",me.opacity8),tertiaryActiveStateLayerOpacity:be.extend("--ft-button-tertiary-active-state-layer-opacity","",me.opacity16),tertiaryDisabledComponentOpacity:be.extend("--ft-button-tertiary-disabled-component-opacity","",me.opacity40),secondaryBackgroundColor:be.create("--ft-button-secondary-background-color","","COLOR","rgba(0,0,0,0)"),secondaryColor:be.extend("--ft-button-secondary-color","",Te.contentActionPrimary),secondaryIconColor:be.extend("--ft-button-secondary-icon-color","",Te.contentActionPrimary),secondaryStateLayerColor:be.extend("--ft-button-secondary-state-layer-color","",Te.contentActionPrimary),secondaryHoverStateLayerOpacity:be.extend("--ft-button-secondary-hover-state-layer-opacity","",me.opacity8),secondaryFocusStateLayerOpacity:be.extend("--ft-button-secondary-focus-state-layer-opacity","",me.opacity8),secondaryActiveStateLayerOpacity:be.extend("--ft-button-secondary-active-state-layer-opacity","",me.opacity16),secondaryDisabledComponentOpacity:be.extend("--ft-button-secondary-disabled-component-opacity","",me.opacity40),secondaryBorderColor:be.extend("--ft-button-secondary-border-color","",Te.borderActionPrimary),neutralBackgroundColor:be.create("--ft-button-neutral-background-color","","COLOR","rgba(0,0,0,0)"),neutralIconColor:be.extend("--ft-button-neutral-icon-color","",Te.contentGlobalSecondary),neutralColor:be.extend("--ft-button-neutral-color","",Te.contentGlobalSecondary),neutralStateLayerColor:be.extend("--ft-button-neutral-state-layer-color","",Te.contentGlobalSecondary),neutralHoverStateLayerOpacity:be.extend("--ft-button-neutral-hover-state-layer-opacity","",me.opacity8),neutralFocusStateLayerOpacity:be.extend("--ft-button-neutral-focus-state-layer-opacity","",me.opacity8),neutralActiveStateLayerOpacity:be.extend("--ft-button-neutral-active-state-layer-opacity","",me.opacity16),neutralDisabledComponentOpacity:be.extend("--ft-button-neutral-disabled-component-opacity","",me.opacity40)},Ve={iconSize:be.extend("--ft-banner-icon-size","",me.iconSize5),borderWidth:be.create("--ft-banner-border-width","","SIZE","1px"),horizontalPadding:be.extend("--ft-banner-horizontal-padding","",me.spacing6),verticalPadding:be.extend("--ft-banner-vertical-padding","",me.spacing6),horizontalSideGap:be.extend("--ft-banner-horizontal-side-gap","",me.spacing6),horizontalMobileGap:be.extend("--ft-banner-horizontal-mobile-gap","",me.spacing4),verticalMobileGap:be.extend("--ft-banner-vertical-mobile-gap","",me.spacing6),horizontalMiddleGap:be.extend("--ft-banner-horizontal-middle-gap","",me.spacing20),infoBackgroundColor:be.extend("--ft-banner-info-background-color","",Te.backgroundInfoSubtle),infoColor:be.extend("--ft-banner-info-color","",Te.contentInfoPrimary),infoIconColor:be.extend("--ft-banner-info-icon-color","",Te.contentInfoIconOnly)},qe={horizontalGap:be.extend("--ft-breadcrumb-horizontal-gap","",me.spacing1),verticalGap:be.extend("--ft-breadcrumb-vertical-gap","",me.spacing2),currentElementColor:be.extend("--ft-breadcrumb-current-element-color","",Te.contentGlobalPrimary),iconColor:be.extend("--ft-breadcrumb-icon-color","",Te.contentGlobalSubtle)},Ye={horizontalPadding:be.extend("--ft-page-header-horizontal-padding","",me.spacing12),horizontalGap:be.extend("--ft-page-header-horizontal-gap","",me.spacing4),verticalGap:be.extend("--ft-page-header-vertical-gap","",me.spacing2),classicVerticalPadding:be.extend("--ft-page-header-classic-vertical-padding","",me.spacing6),multilineVerticalPadding:be.extend("--ft-page-header-multiline-vertical-padding","",me.spacing4),inlineVerticalPadding:be.extend("--ft-page-header-inline-vertical-padding","",me.spacing2),backgroundColor:be.extend("--ft-page-header-background-color","",me.colorWhite),bottomBorderColor:be.extend("--ft-page-header-bottom-border-color","",Te.borderGlobalSubtle),titleColor:be.extend("--ft-page-header-title-color","",Te.contentGlobalPrimary),subtitleColor:be.extend("--ft-page-header-subtitle-color","",Te.contentGlobalSecondary)},Je={smallContainerWidth:be.create("--ft-modal-small-container-width","","SIZE","600px"),largeContainerWidth:be.create("--ft-modal-large-container-width","","SIZE","900px"),overlayBackgroundColor:be.extend("--ft-modal-overlay-background-color","",me.colorGray700),overlayOpacity:be.extend("--ft-modal-overlay-opacity","",me.opacity40),shadow:be.extend("--ft-modal-shadow","",me.shadowElevation03),bodyBackgroundColor:be.extend("--ft-modal-body-background-color","",me.colorWhite),bodyColor:be.extend("--ft-modal-body-color","",Te.contentGlobalPrimary),bodyHorizontalPadding:be.extend("--ft-modal-body-horizontal-padding","",me.spacing6),bodyVerticalPadding:be.extend("--ft-modal-body-vertical-padding","",me.spacing6),bodyVerticalGap:be.extend("--ft-modal-body-vertical-gap","",me.spacing6),containerMargin:be.extend("--ft-modal-container-margin","",me.spacing3),headerBackgroundColor:be.extend("--ft-modal-header-background-color","",Te.backgroundGlobalOnSurface),headerBorderColor:be.extend("--ft-modal-header-border-color","",Te.borderGlobalSubtle),headerColor:be.extend("--ft-modal-header-color","",Te.contentGlobalPrimary),headerTrailingIconColor:be.extend("--ft-modal-header-trailing-icon-color","",Te.contentGlobalSecondary),headerVerticalPadding:be.extend("--ft-modal-header-vertical-padding","",me.spacing1),headerRightPadding:be.extend("--ft-modal-header-right-padding","",me.spacing1),headerLeftPadding:be.extend("--ft-modal-header-left-padding","",me.spacing6),headerGap:be.extend("--ft-modal-header-gap","",me.spacing2),headerBorderBottom:be.create("--ft-modal-header-border-bottom","","SIZE","1px"),borderRadius:be.extend("--ft-modal-border-radius","",me.borderRadiusM)},Xe={overlayOpacity:be.extend("--ft-drawer-overlay-opacity","",me.opacity40),shadow:be.extend("--ft-drawer-shadow","",me.shadowElevation03),bodyColor:be.extend("--ft-drawer-body-color","",Te.contentGlobalPrimary),bodyHorizontalPadding:be.extend("--ft-drawer-body-horizontal-padding","",me.spacing6),bodyVerticalPadding:be.extend("--ft-drawer-body-vertical-padding","",me.spacing6),bodyGap:be.extend("--ft-drawer-body-gap","",me.spacing6),bodyBackgroundColor:be.extend("--ft-drawer-body-background-color","",me.colorWhite),headerBackgroundColor:be.extend("--ft-drawer-header-background-color","",Te.backgroundGlobalOnSurface),headerBorderColor:be.extend("--ft-drawer-header-border-color","",Te.borderGlobalSubtle),headerColor:be.extend("--ft-drawer-header-color","",Te.contentGlobalPrimary),headerTrailingIconColor:be.extend("--ft-drawer-header-trailing-icon-color","",Te.contentGlobalSecondary),headerHeight:be.create("--ft-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:be.extend("--ft-drawer-header-horizontal-padding","",me.spacing2),headerBorderWidth:be.create("--ft-drawer-header-border-width","","SIZE","1px"),headerGap:be.extend("--ft-drawer-header-gap","",me.spacing3),buttonsBarBackgroundColor:be.extend("--ft-drawer-buttons-bar-background-color","",Te.backgroundGlobalOnSurface),buttonsBarBorderColor:be.extend("--ft-drawer-buttons-bar-border-color","",Te.borderGlobalSubtle),buttonsBarColor:be.extend("--ft-drawer-buttons-bar-color","",Te.contentGlobalPrimary),buttonsBarHorizontalPadding:be.extend("--ft-drawer-buttons-bar-horizontal-padding","",me.spacing4),buttonsBarVerticalPadding:be.extend("--ft-drawer-buttons-bar-vertical-padding","",me.spacing4),buttonsBarGap:be.extend("--ft-drawer-buttons-bar-gap","",me.spacing3),buttonsBarBorderWidth:be.create("--ft-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:be.create("--ft-drawer-container-width","","SIZE","66%"),containerMinWidth:be.create("--ft-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:be.create("--ft-drawer-container-max-width","","SIZE","1000px"),containerHeight:be.create("--ft-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:be.extend("--ft-drawer-overlay-background-color","",me.colorGray700)},Qe={fieldHorizontalPadding:be.extend("--ft-text-input-field-horizontal-padding","",me.spacing4),fieldHorizontalGap:be.extend("--ft-text-input-field-horizontal-gap","",me.spacing3),fieldVerticalGap:be.extend("--ft-text-input-field-vertical-gap","",me.spacing05),fieldIconSize:be.extend("--ft-text-input-field-icon-size","",me.iconSize3),fieldHeight:be.create("--ft-text-input-field-height","","SIZE","50px"),helperHorizontalPadding:be.extend("--ft-text-input-helper-horizontal-padding","",me.spacing4),helperHorizontalGap:be.extend("--ft-text-input-helper-horizontal-gap","",me.spacing1),helperIconSize:be.extend("--ft-text-input-helper-icon-size","",me.iconSize2),borderRadius:be.extend("--ft-text-input-border-radius","",me.borderRadiusM),backgroundColor:be.extend("--ft-text-input-background-color","",me.colorWhite),contentValueColor:be.extend("--ft-text-input-content-value-color","",Te.contentGlobalPrimary),trailingIconColor:be.extend("--ft-text-input-trailing-icon-color","",Te.contentGlobalSubtle),labelColor:be.extend("--ft-text-input-label-color","",Te.contentGlobalSubtle),defaultBorderColor:be.extend("--ft-text-input-default-border-color","",Te.borderInputPrimary),defaultHelperTextColor:be.extend("--ft-text-input-default-helper-text-color","",Te.contentGlobalSubtle),defaultBorderWidth:be.create("--ft-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:be.create("--ft-text-input-error-border-width","","SIZE","2px"),errorBorderColor:be.extend("--ft-text-input-error-border-color","",Te.borderErrorPrimary),errorHelperTextColor:be.extend("--ft-text-input-error-helper-text-color","",Te.contentErrorPrimary),errorHelperIconColor:be.extend("--ft-text-input-error-helper-icon-color","",Te.contentErrorIconOnly),warningBorderWidth:be.create("--ft-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:be.create("--ft-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:be.extend("--ft-text-input-focus-focus-ring-color","",Te.borderActionFocusRing),focusOutlineOffset:be.create("--ft-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:be.extend("--ft-text-input-disabled-component-opacity","",me.opacity40)},tr={backgroundColor:be.extend("--ft-text-area-background-color","",me.colorWhite),contentValueColor:be.extend("--ft-text-area-content-value-color","",Te.contentGlobalPrimary),labelColor:be.extend("--ft-text-area-label-color","",Te.contentGlobalSubtle),defaultBorderColor:be.extend("--ft-text-area-default-border-color","",Te.borderInputPrimary),defaultHelperTextColor:be.extend("--ft-text-area-default-helper-text-color","",Te.contentGlobalSubtle),defaultBorderWidth:be.create("--ft-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:be.create("--ft-text-area-error-border-width","","SIZE","2px"),errorBorderColor:be.extend("--ft-text-area-error-border-color","",Te.borderErrorPrimary),errorHelperTextColor:be.extend("--ft-text-area-error-helper-text-color","",Te.contentErrorPrimary),errorHelperIconColor:be.extend("--ft-text-area-error-helper-icon-color","",Te.contentErrorIconOnly),focusFocusRingColor:be.extend("--ft-text-area-focus-focus-ring-color","",Te.borderActionFocusRing),focusOutlineWidth:be.create("--ft-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:be.create("--ft-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:be.extend("--ft-text-area-disabled-component-opacity","",me.opacity40),fieldHorizontalLeftPadding:be.extend("--ft-text-area-field-horizontal-left-padding","",me.spacing4),fieldHorizontalGap:be.extend("--ft-text-area-field-horizontal-gap","",me.spacing3),fieldVerticalGap:be.extend("--ft-text-area-field-vertical-gap","",me.spacing05),fieldMinHeight:be.create("--ft-text-area-field-min-height","","SIZE","64px"),helperHorizontalPadding:be.extend("--ft-text-area-helper-horizontal-padding","",me.spacing4),helperHorizontalGap:be.extend("--ft-text-area-helper-horizontal-gap","",me.spacing1),helperIconSize:be.extend("--ft-text-area-helper-icon-size","",me.iconSize2),borderRadius:be.extend("--ft-text-area-border-radius","",me.borderRadiusM)},or={height:be.create("--ft-floating-menu-height","","SIZE","50px"),horizontalPadding:be.extend("--ft-floating-menu-horizontal-padding","",me.spacing4),offIconColor:be.extend("--ft-floating-menu-off-icon-color","",Te.contentGlobalPrimary),offColor:be.extend("--ft-floating-menu-off-color","",Te.contentGlobalPrimary),onColor:be.extend("--ft-floating-menu-on-color","",Te.contentActionPrimary),onStateLayerColor:be.extend("--ft-floating-menu-on-state-layer-color","",Te.contentActionPrimary),gap:be.extend("--ft-floating-menu-gap","",me.spacing3),focusFocusRingColor:be.extend("--ft-floating-menu-focus-focus-ring-color","",Te.borderActionFocusRing),focusOutlineWidth:be.create("--ft-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:be.extend("--ft-floating-menu-focus-state-layer-opacity","",me.opacity8),hoverStateLayerOpacity:be.extend("--ft-floating-menu-hover-state-layer-opacity","",me.opacity8),activeStateLayerOpacity:be.extend("--ft-floating-menu-active-state-layer-opacity","",me.opacity16),disabledComponentOpacity:be.extend("--ft-floating-menu-disabled-component-opacity","",me.opacity40),iconSize:be.extend("--ft-floating-menu-icon-size","",me.iconSize3),backgroundColor:be.extend("--ft-floating-menu-background-color","",Te.backgroundGlobalOnSurface)},er={fieldHorizontalPadding:be.extend("--ft-combobox-single-select-field-horizontal-padding","",me.spacing4),fieldHorizontalGap:be.extend("--ft-combobox-single-select-field-horizontal-gap","",me.spacing3),fieldVerticalGap:be.extend("--ft-combobox-single-select-field-vertical-gap","",me.spacing05),fieldIconSize:be.extend("--ft-combobox-single-select-field-icon-size","",me.iconSize3),fieldHeight:be.create("--ft-combobox-single-select-field-height","","SIZE","50px"),helperHorizontalPadding:be.extend("--ft-combobox-single-select-helper-horizontal-padding","",me.spacing4),helperHorizontalGap:be.extend("--ft-combobox-single-select-helper-horizontal-gap","",me.spacing1),helperVerticalGap:be.extend("--ft-combobox-single-select-helper-vertical-gap","",me.spacing1),helperIconSize:be.extend("--ft-combobox-single-select-helper-icon-size","",me.iconSize2),menuVerticalGap:be.extend("--ft-combobox-single-select-menu-vertical-gap","",me.spacing2),borderRadius:be.extend("--ft-combobox-single-select-border-radius","",me.borderRadiusM),backgroundColor:be.extend("--ft-combobox-single-select-background-color","",me.colorWhite),labelColor:be.extend("--ft-combobox-single-select-label-color","",Te.contentGlobalSubtle),contentValueColor:be.extend("--ft-combobox-single-select-content-value-color","",Te.contentGlobalPrimary),trailingIconColor:be.extend("--ft-combobox-single-select-trailing-icon-color","",Te.contentGlobalSubtle),defaultBorderColor:be.extend("--ft-combobox-single-select-default-border-color","",Te.borderInputPrimary),defaultHelperTextColor:be.extend("--ft-combobox-single-select-default-helper-text-color","",Te.contentGlobalSubtle),defaultBorderWidth:be.create("--ft-combobox-single-select-default-border-width","","SIZE","1px"),errorBorderWidth:be.create("--ft-combobox-single-select-error-border-width","","SIZE","2px"),errorBorderColor:be.extend("--ft-combobox-single-select-error-border-color","",Te.borderErrorPrimary),errorHelperTextColor:be.extend("--ft-combobox-single-select-error-helper-text-color","",Te.contentErrorPrimary),warningBorderWidth:be.create("--ft-combobox-single-select-warning-border-width","","SIZE","2px"),warningBorderColor:be.extend("--ft-combobox-single-select-warning-border-color","",Te.borderWarningPrimary),warningHelperTextColor:be.extend("--ft-combobox-single-select-warning-helper-text-color","",Te.contentWarningPrimary),warningHelperIconColor:be.extend("--ft-combobox-single-select-warning-helper-icon-color","",Te.contentWarningIconOnly),focusOutlineWidth:be.create("--ft-combobox-single-select-focus-outline-width","","SIZE","2px"),focusFocusRingColor:be.extend("--ft-combobox-single-select-focus-focus-ring-color","",Te.borderActionFocusRing),focusOutlineOffset:be.create("--ft-combobox-single-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:be.extend("--ft-combobox-single-select-disabled-component-opacity","",me.opacity40)},rr={backgroundColor:be.extend("--ft-combobox-multi-select-background-color","",me.colorWhite),labelColor:be.extend("--ft-combobox-multi-select-label-color","",Te.contentGlobalSubtle),trailingIconColor:be.extend("--ft-combobox-multi-select-trailing-icon-color","",Te.contentGlobalSubtle),defaultBorderColor:be.extend("--ft-combobox-multi-select-default-border-color","",Te.borderInputPrimary),defaultHelperTextColor:be.extend("--ft-combobox-multi-select-default-helper-text-color","",Te.contentGlobalSubtle),defaultBorderWidth:be.create("--ft-combobox-multi-select-default-border-width","","SIZE","1px"),errorBorderColor:be.extend("--ft-combobox-multi-select-error-border-color","",Te.borderErrorPrimary),errorHelperTextColor:be.extend("--ft-combobox-multi-select-error-helper-text-color","",Te.contentErrorPrimary),errorHelperIcon:be.extend("--ft-combobox-multi-select-error-helper-icon","",Te.contentErrorIconOnly),errorBorderWidth:be.create("--ft-combobox-multi-select-error-border-width","","SIZE","2px"),warningBorderColor:be.extend("--ft-combobox-multi-select-warning-border-color","",Te.borderWarningPrimary),warningHelperTextColor:be.extend("--ft-combobox-multi-select-warning-helper-text-color","",Te.contentWarningPrimary),warningHelperIconColor:be.extend("--ft-combobox-multi-select-warning-helper-icon-color","",Te.contentWarningIconOnly),warningBorderWidth:be.create("--ft-combobox-multi-select-warning-border-width","","SIZE","2px"),focusFocusRingColor:be.extend("--ft-combobox-multi-select-focus-focus-ring-color","",Te.borderActionFocusRing),focusOutlineWidth:be.create("--ft-combobox-multi-select-focus-outline-width","","SIZE","2px"),focusOutlineOffset:be.create("--ft-combobox-multi-select-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:be.extend("--ft-combobox-multi-select-disabled-component-opacity","",me.opacity40),helperHorizontalPadding:be.extend("--ft-combobox-multi-select-helper-horizontal-padding","",me.spacing4),helperHorizontalGap:be.extend("--ft-combobox-multi-select-helper-horizontal-gap","",me.spacing1),helperVerticalGap:be.extend("--ft-combobox-multi-select-helper-vertical-gap","",me.spacing1),helperIconSize:be.extend("--ft-combobox-multi-select-helper-icon-size","",me.iconSize2),fieldHorizontalPadding:be.extend("--ft-combobox-multi-select-field-horizontal-padding","",me.spacing4),fieldHorizontalGap:be.extend("--ft-combobox-multi-select-field-horizontal-gap","",me.spacing3),fieldVerticalGap:be.extend("--ft-combobox-multi-select-field-vertical-gap","",me.spacing05),fieldIconSize:be.extend("--ft-combobox-multi-select-field-icon-size","",me.iconSize3),fieldMaxHeight:be.create("--ft-combobox-multi-select-field-max-height","","SIZE","112px"),contentValuesHorizontalGap:be.extend("--ft-combobox-multi-select-content-values-horizontal-gap","",me.spacing1),contentValuesVerticalGap:be.extend("--ft-combobox-multi-select-content-values-vertical-gap","",me.spacing1),borderRadius:be.extend("--ft-combobox-multi-select-border-radius","",me.borderRadiusM)},ir={backgroundColor:be.extend("--ft-popover-background-color","",Te.backgroundGlobalOnSurface),horizontalPadding:be.extend("--ft-popover-horizontal-padding","",me.spacing6),verticalPadding:be.extend("--ft-popover-vertical-padding","",me.spacing6),iconColor:be.extend("--ft-popover-icon-color","",Te.contentGlobalSecondary),iconSize:be.extend("--ft-popover-icon-size","",me.iconSize2),titleColor:be.extend("--ft-popover-title-color","",Te.contentGlobalPrimary),bodyColor:be.extend("--ft-popover-body-color","",Te.contentGlobalSecondary),linkColor:be.extend("--ft-popover-link-color","",Te.contentActionPrimary),gap:be.extend("--ft-popover-gap","",me.spacing3),borderRadius:be.extend("--ft-popover-border-radius","",me.borderRadiusM),shadow:be.extend("--ft-popover-shadow","",me.shadowElevation02)},nr={topLeftBorderRadius:be.extend("--ft-tabs-top-left-border-radius","",me.borderRadiusS),topRightBorderRadius:be.extend("--ft-tabs-top-right-border-radius","",me.borderRadiusS),labelHorizontalPadding:be.extend("--ft-tabs-label-horizontal-padding","",me.spacing4),labelVerticalPadding:be.extend("--ft-tabs-label-vertical-padding","",me.spacing3),labelGap:be.extend("--ft-tabs-label-gap","",me.spacing1),offHoverStateLayerOpacity:be.extend("--ft-tabs-off-hover-state-layer-opacity","",me.opacity8),offFocusStateLayerOpacity:be.extend("--ft-tabs-off-focus-state-layer-opacity","",me.opacity8),offActiveStateLayerOpacity:be.extend("--ft-tabs-off-active-state-layer-opacity","",me.opacity16),offDisabledComponentOpacity:be.extend("--ft-tabs-off-disabled-component-opacity","",me.opacity40),offColor:be.extend("--ft-tabs-off-color","",Te.contentGlobalSubtle),offStateLayerColor:be.extend("--ft-tabs-off-state-layer-color","",Te.contentGlobalSubtle),onHoverStateLayerOpacity:be.extend("--ft-tabs-on-hover-state-layer-opacity","",me.opacity8),onFocusStateLayerOpacity:be.extend("--ft-tabs-on-focus-state-layer-opacity","",me.opacity8),onActiveStateLayerOpacity:be.extend("--ft-tabs-on-active-state-layer-opacity","",me.opacity16),onDisabledComponentOpacity:be.extend("--ft-tabs-on-disabled-component-opacity","",me.opacity40),onColor:be.extend("--ft-tabs-on-color","",Te.contentActionPrimary),onStateLayerColor:be.extend("--ft-tabs-on-state-layer-color","",Te.contentActionPrimary),iconHorizontalPadding:be.extend("--ft-tabs-icon-horizontal-padding","",me.spacing1),iconVerticalPadding:be.extend("--ft-tabs-icon-vertical-padding","",me.spacing4),focusOutlineWidth:be.create("--ft-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:be.extend("--ft-tabs-focus-focus-ring-color","",Te.borderActionFocusRing)},ar={hoverStateLayerOpacity:be.extend("--ft-collapsible-hover-state-layer-opacity","",me.opacity8),focusStateLayerOpacity:be.extend("--ft-collapsible-focus-state-layer-opacity","",me.opacity8),focusOutlineWidth:be.create("--ft-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:be.extend("--ft-collapsible-focus-focus-ring-color","",Te.borderActionFocusRing),activeStateLayerOpacity:be.extend("--ft-collapsible-active-state-layer-opacity","",me.opacity16),disabledComponentOpacity:be.extend("--ft-collapsible-disabled-component-opacity","",me.opacity40),horizontalPadding:be.extend("--ft-collapsible-horizontal-padding","",me.spacing4),verticalPadding:be.extend("--ft-collapsible-vertical-padding","",me.spacing3),color:be.extend("--ft-collapsible-color","",Te.contentGlobalPrimary),stateLayerColor:be.extend("--ft-collapsible-state-layer-color","",Te.contentGlobalPrimary),backgroundColor:be.extend("--ft-collapsible-background-color","",Te.backgroundGlobalOnSurface),borderColor:be.extend("--ft-collapsible-border-color","",Te.borderGlobalSubtle),iconSize:be.extend("--ft-collapsible-icon-size","",me.iconSize3)},lr={groupHorizontalPadding:be.extend("--ft-switch-group-horizontal-padding","",me.spacing1),groupVerticalPadding:be.extend("--ft-switch-group-vertical-padding","",me.spacing1),groupGap:be.extend("--ft-switch-group-gap","",me.spacing1),groupBackgroundColor:be.extend("--ft-switch-group-background-color","",Te.backgroundGlobalSurface),groupBorderColor:be.extend("--ft-switch-group-border-color","",Te.borderGlobalSubtle),groupBorderRadius:be.create("--ft-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:be.extend("--ft-switch-label-horizontal-padding","",me.spacing2),labelVerticalPadding:be.extend("--ft-switch-label-vertical-padding","",me.spacing1),offHoverStateLayerOpacity:be.extend("--ft-switch-off-hover-state-layer-opacity","",me.opacity8),offFocusStateLayerOpacity:be.extend("--ft-switch-off-focus-state-layer-opacity","",me.opacity8),offActiveStateLayerOpacity:be.extend("--ft-switch-off-active-state-layer-opacity","",me.opacity16),offDisabledComponentOpacity:be.extend("--ft-switch-off-disabled-component-opacity","",me.opacity40),offColor:be.extend("--ft-switch-off-color","",Te.contentGlobalSubtle),offStateLayerColor:be.extend("--ft-switch-off-state-layer-color","",Te.contentGlobalSubtle),onHoverStateLayerOpacity:be.extend("--ft-switch-on-hover-state-layer-opacity","",me.opacity8),onFocusStateLayerOpacity:be.extend("--ft-switch-on-focus-state-layer-opacity","",me.opacity8),onActiveStateLayerOpacity:be.extend("--ft-switch-on-active-state-layer-opacity","",me.opacity16),onDisabledComponentOpacity:be.extend("--ft-switch-on-disabled-component-opacity","",me.opacity40),onColor:be.extend("--ft-switch-on-color","",Te.contentActionPrimary),onStateLayerColor:be.extend("--ft-switch-on-state-layer-color","",Te.contentActionPrimary),iconHorizontalPadding:be.extend("--ft-switch-icon-horizontal-padding","",me.spacing1),iconVerticalPadding:be.extend("--ft-switch-icon-vertical-padding","",me.spacing1),focusOutlineWidth:be.create("--ft-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:be.extend("--ft-switch-focus-focus-ring-color","",Te.borderActionFocusRing),optionBorderRadius:be.extend("--ft-switch-option-border-radius","",me.borderRadiusS)},cr={color1Light:be.extend("--ft-chart-1-light","for area color charts",me.colorBrand40),color1Base:be.extend("--ft-chart-1-base","for line charts",me.colorBrand0),color2Light:be.extend("--ft-chart-2-light","for area color charts",me.colorYellow60),color2Base:be.extend("--ft-chart-2-base","for line charts",me.colorYellow100),color3Light:be.extend("--ft-chart-3-light","",me.colorUltramarine40),color3Base:be.extend("--ft-chart-3-base","",me.colorUltramarine70),color4Light:be.extend("--ft-chart-4-light","",me.colorCyan50),color4Base:be.extend("--ft-chart-4-base","",me.colorCyan100),color5Light:be.extend("--ft-chart-5-light","",me.colorRed40),color5Base:be.extend("--ft-chart-5-base","",me.colorRed60),color6Light:be.extend("--ft-chart-6-light","",me.colorGreen40),color6Base:be.extend("--ft-chart-6-base","",me.colorGreen70),color7Light:be.extend("--ft-chart-7-light","",me.colorOrange70),color7Base:be.extend("--ft-chart-7-base","",me.colorOrange100),color8Light:be.extend("--ft-chart-8-light","",me.colorAvocado70),color8Base:be.extend("--ft-chart-8-base","",me.colorAvocado200),color9Light:be.extend("--ft-chart-9-light","",me.colorBrown50),color9Base:be.extend("--ft-chart-9-base","",me.colorBrown200),color10Light:be.extend("--ft-chart-10-light","",me.colorGray50),color10Base:be.extend("--ft-chart-10-base","",me.colorGray80),monochrome10:be.extend("--ft-chart-monochrome-10","",me.colorBrand10),monochrome20:be.extend("--ft-chart-monochrome-20","",me.colorBrand20),monochrome30:be.extend("--ft-chart-monochrome-30","",me.colorBrand40),monochrome40:be.extend("--ft-chart-monochrome-40","",me.colorBrand60),monochrome50:be.extend("--ft-chart-monochrome-50","",me.colorBrand0),monochrome60:be.extend("--ft-chart-monochrome-60","",me.colorBrand200)},sr={largeHorizontalPadding:be.extend("--ft-chip-large-horizontal-padding","",me.spacing4),largeVerticalPadding:be.extend("--ft-chip-large-vertical-padding","",me.spacing2),largeGap:be.extend("--ft-chip-large-gap","",me.spacing1),largeFocusOutlineOffset:be.create("--ft-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:be.create("--ft-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:be.extend("--ft-chip-large-border-radius","",me.borderRadiusPill),largeBorderWidth:be.create("--ft-chip-large-border-width","","SIZE","1px"),largeIconSize:be.extend("--ft-chip-large-icon-size","",me.iconSize3),mediumHorizontalPadding:be.extend("--ft-chip-medium-horizontal-padding","",me.spacing3),mediumVerticalPadding:be.extend("--ft-chip-medium-vertical-padding","",me.spacing1),mediumGap:be.extend("--ft-chip-medium-gap","",me.spacing1),mediumFocusOutlineOffset:be.create("--ft-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:be.create("--ft-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:be.extend("--ft-chip-medium-border-radius","",me.borderRadiusPill),mediumBorderWidth:be.create("--ft-chip-medium-border-width","","SIZE","1px"),mediumIconSize:be.extend("--ft-chip-medium-icon-size","",me.iconSize2),smallHorizontalPadding:be.extend("--ft-chip-small-horizontal-padding","",me.spacing2),smallVerticalPadding:be.extend("--ft-chip-small-vertical-padding","",me.spacing05),smallGap:be.extend("--ft-chip-small-gap","",me.spacing1),smallFocusOutlineOffset:be.create("--ft-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:be.create("--ft-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:be.extend("--ft-chip-small-border-radius","",me.borderRadiusPill),smallBorderWidth:be.create("--ft-chip-small-border-width","","SIZE","1px"),smallIconSize:be.extend("--ft-chip-small-icon-size","",me.iconSize1),neutralBackgroundColor:be.extend("--ft-chip-neutral-background-color","",Te.backgroundGlobalOnSurface),neutralColor:be.extend("--ft-chip-neutral-color","",Te.contentGlobalPrimary),neutralIconColor:be.extend("--ft-chip-neutral-icon-color","",Te.contentGlobalPrimary),neutralBorderColor:be.extend("--ft-chip-neutral-border-color","",Te.borderGlobalSubtle),infoBackgroundColor:be.extend("--ft-chip-info-background-color","",Te.backgroundInfoSubtle),infoColor:be.extend("--ft-chip-info-color","",Te.contentInfoPrimary),infoIconColor:be.extend("--ft-chip-info-icon-color","",Te.contentInfoIconOnly),infoBorderColor:be.extend("--ft-chip-info-border-color","",Te.borderInfoSubtle),successBackgroundColor:be.extend("--ft-chip-success-background-color","",Te.backgroundSuccessSubtle),successColor:be.extend("--ft-chip-success-color","",Te.contentSuccessPrimary),successIconColor:be.extend("--ft-chip-success-icon-color","",Te.contentSuccessIconOnly),successBorderColor:be.extend("--ft-chip-success-border-color","",Te.borderSuccessSubtle),warningBackgroundColor:be.extend("--ft-chip-warning-background-color","",Te.backgroundWarningSubtle),warningColor:be.extend("--ft-chip-warning-color","",Te.contentWarningPrimary),warningIconColor:be.extend("--ft-chip-warning-icon-color","",Te.contentWarningIconOnly),warningBorderColor:be.extend("--ft-chip-warning-border-color","",Te.borderWarningSubtle),errorBackgroundColor:be.extend("--ft-chip-error-background-color","",Te.backgroundErrorSubtle),errorColor:be.extend("--ft-chip-error-color","",Te.contentErrorPrimary),errorIconColor:be.extend("--ft-chip-error-icon-color","",Te.contentErrorIconOnly),errorBorderColor:be.extend("--ft-chip-error-border-color","",Te.borderErrorSubtle)},fr={infoBorderColor:be.extend("--ft-border-info-border-color","",Te.borderInfoSubtle)},dr={borderWidth:be.create("--ft-notice-border-width","","SIZE","1px"),horizontalPadding:be.extend("--ft-notice-horizontal-padding","",me.spacing2),verticalPadding:be.extend("--ft-notice-vertical-padding","",me.spacing1),borderRadius:be.extend("--ft-notice-border-radius","",me.borderRadiusS),gap:be.extend("--ft-notice-gap","",me.spacing2),iconSize:be.extend("--ft-notice-icon-size","",me.iconSize3),infoBackgroundColor:be.extend("--ft-notice-info-background-color","",Te.backgroundInfoSubtle),infoBorderColor:be.extend("--ft-notice-info-border-color","",Te.borderInfoSubtle),infoColor:be.extend("--ft-notice-info-color","",Te.contentInfoPrimary),infoIconColor:be.extend("--ft-notice-info-icon-color","",Te.contentInfoIconOnly),warningBackgroundColor:be.extend("--ft-notice-warning-background-color","",Te.backgroundWarningSubtle),warningBorderColor:be.extend("--ft-notice-warning-border-color","",Te.borderWarningSubtle),warningColor:be.extend("--ft-notice-warning-color","",Te.contentWarningPrimary),warningIconColor:be.extend("--ft-notice-warning-icon-color","",Te.contentWarningIconOnly),errorBackgroundColor:be.extend("--ft-notice-error-background-color","",Te.backgroundErrorSubtle),errorBorderColor:be.extend("--ft-notice-error-border-color","",Te.borderErrorSubtle),errorColor:be.extend("--ft-notice-error-color","",Te.contentErrorPrimary),errorIconColor:be.extend("--ft-notice-error-icon-color","",Te.contentErrorIconOnly),successBackgroundColor:be.extend("--ft-notice-success-background-color","",Te.backgroundSuccessSubtle),successBorderColor:be.extend("--ft-notice-success-border-color","",Te.borderSuccessSubtle),successColor:be.extend("--ft-notice-success-color","",Te.contentSuccessPrimary),successIconColor:be.extend("--ft-notice-success-icon-color","",Te.contentSuccessIconOnly)},ur={color:be.extend("--ft-checkbox-color","",Te.contentGlobalPrimary),checkedBackgroundColor:be.extend("--ft-checkbox-checked-background-color","",Te.contentActionPrimary),checkedStateLayerColor:be.extend("--ft-checkbox-checked-state-layer-color","",Te.contentActionPrimary),checkedIconColor:be.extend("--ft-checkbox-checked-icon-color","",Te.contentGlobalOnColor),checkedHoverStateLayerOpacity:be.extend("--ft-checkbox-checked-hover-state-layer-opacity","",me.opacity16),checkedFocusStateLayerOpacity:be.extend("--ft-checkbox-checked-focus-state-layer-opacity","",me.opacity16),checkedActiveStateLayerOpacity:be.extend("--ft-checkbox-checked-active-state-layer-opacity","",me.opacity24),checkedDisabledComponentOpacity:be.extend("--ft-checkbox-checked-disabled-component-opacity","",me.opacity40),uncheckedBorderColor:be.extend("--ft-checkbox-unchecked-border-color","",me.colorGray80),uncheckedStateLayerColor:be.extend("--ft-checkbox-unchecked-state-layer-color","",me.colorGray80),uncheckedHoverStateLayerOpacity:be.extend("--ft-checkbox-unchecked-hover-state-layer-opacity","",me.opacity16),uncheckedFocusStateLayerOpacity:be.extend("--ft-checkbox-unchecked-focus-state-layer-opacity","",me.opacity16),uncheckedActiveStateLayerOpacity:be.extend("--ft-checkbox-unchecked-active-state-layer-opacity","",me.opacity24),uncheckedDisabledComponentOpacity:be.extend("--ft-checkbox-unchecked-disabled-component-opacity","",me.opacity40),focusFocusRingColor:be.extend("--ft-checkbox-focus-focus-ring-color","",Te.borderActionFocusRing),focusOutlineOffset:be.create("--ft-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:be.create("--ft-checkbox-focus-outline-width","","SIZE","2px"),gap:be.extend("--ft-checkbox-gap","",me.spacing3)},hr={offHoverStateLayerOpacity:be.extend("--ft-toggle-off-hover-state-layer-opacity","",me.opacity16),offFocusStateLayerOpacity:be.extend("--ft-toggle-off-focus-state-layer-opacity","",me.opacity16),offActiveStateLayerOpacity:be.extend("--ft-toggle-off-active-state-layer-opacity","",me.opacity24),offDisabledComponentOpacity:be.extend("--ft-toggle-off-disabled-component-opacity","",me.opacity40),offBackgroundColor:be.extend("--ft-toggle-off-background-color","",Te.contentGlobalSubtle),offIconColor:be.extend("--ft-toggle-off-icon-color","",Te.contentGlobalSubtle),offStateLayerColor:be.extend("--ft-toggle-off-state-layer-color","",Te.contentGlobalSubtle),onHoverStateLayerOpacity:be.extend("--ft-toggle-on-hover-state-layer-opacity","",me.opacity16),onFocusStateLayerOpacity:be.extend("--ft-toggle-on-focus-state-layer-opacity","",me.opacity16),onActiveStateLayerOpacity:be.extend("--ft-toggle-on-active-state-layer-opacity","",me.opacity24),onDisabledComponentOpacity:be.extend("--ft-toggle-on-disabled-component-opacity","",me.opacity40),onBackgroundColor:be.extend("--ft-toggle-on-background-color","",Te.contentActionPrimary),onStateLayerColor:be.extend("--ft-toggle-on-state-layer-color","",Te.contentActionPrimary),onIconColor:be.extend("--ft-toggle-on-icon-color","",Te.contentActionPrimary),color:be.extend("--ft-toggle-color","",Te.contentGlobalPrimary),focusFocusRingColor:be.extend("--ft-toggle-focus-focus-ring-color","",Te.borderActionFocusRing),gap:be.extend("--ft-toggle-gap","",me.spacing3)},pr={color:be.extend("--ft-radio-color","",Te.contentGlobalPrimary),selectedRadioColor:be.extend("--ft-radio-selected-radio-color","",Te.contentActionPrimary),selectedStateLayerColor:be.extend("--ft-radio-selected-state-layer-color","",Te.contentActionPrimary),selectedHoverStateLayerOpacity:be.extend("--ft-radio-selected-hover-state-layer-opacity","",me.opacity16),selectedFocusStateLayerOpacity:be.extend("--ft-radio-selected-focus-state-layer-opacity","",me.opacity16),selectedActiveStateLayerOpacity:be.extend("--ft-radio-selected-active-state-layer-opacity","",me.opacity24),selectedDisabledComponentOpacity:be.extend("--ft-radio-selected-disabled-component-opacity","",me.opacity40),unselectedStateLayerColor:be.extend("--ft-radio-unselected-state-layer-color","",Te.borderInputPrimary),unselectedBorderColor:be.extend("--ft-radio-unselected-border-color","",Te.borderInputPrimary),unselectedHoverStateLayerOpacity:be.extend("--ft-radio-unselected-hover-state-layer-opacity","",me.opacity16),unselectedFocusStateLayerOpacity:be.extend("--ft-radio-unselected-focus-state-layer-opacity","",me.opacity16),unselectedActiveStateLayerOpacity:be.extend("--ft-radio-unselected-active-state-layer-opacity","",me.opacity24),unselectedDisabledComponentOpacity:be.extend("--ft-radio-unselected-disabled-component-opacity","",me.opacity40),focusFocusRingColor:be.extend("--ft-radio-focus-focus-ring-color","",Te.borderActionFocusRing),focusOutlineOffset:be.create("--ft-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:be.create("--ft-radio-focus-outline-width","","SIZE","2px"),gap:be.extend("--ft-radio-gap","",me.spacing3)},gr={iconSize:be.extend("--ft-notification-icon-size","",me.iconSize4),horizontalPadding:be.extend("--ft-notification-horizontal-padding","",me.spacing4),verticalPadding:be.extend("--ft-notification-vertical-padding","",me.spacing4),infoBackgroundColor:be.extend("--ft-notification-info-background-color","",Te.backgroundInfoSubtle),infoColor:be.extend("--ft-notification-info-color","",Te.contentInfoPrimary),infoIconColor:be.extend("--ft-notification-info-icon-color","",Te.contentInfoIconOnly),infoBorderColor:be.extend("--ft-notification-info-border-color","",Te.borderInfoSubtle),successBackgroundColor:be.extend("--ft-notification-success-background-color","",Te.backgroundSuccessSubtle),successColor:be.extend("--ft-notification-success-color","",Te.contentSuccessPrimary),successIconColor:be.extend("--ft-notification-success-icon-color","",Te.contentSuccessIconOnly),successBorderColor:be.extend("--ft-notification-success-border-color","",Te.borderSuccessSubtle),warningBackgroundColor:be.extend("--ft-notification-warning-background-color","",Te.backgroundWarningSubtle),warningColor:be.extend("--ft-notification-warning-color","",Te.contentWarningPrimary),warningIconColor:be.extend("--ft-notification-warning-icon-color","",Te.contentWarningIconOnly),warningBorderColor:be.extend("--ft-notification-warning-border-color","",Te.borderWarningSubtle),errorBackgroundColor:be.extend("--ft-notification-error-background-color","",Te.backgroundErrorSubtle),errorColor:be.extend("--ft-notification-error-color","",Te.contentErrorPrimary),errorIconColor:be.extend("--ft-notification-error-icon-color","",Te.contentErrorIconOnly),errorBorderColor:be.extend("--ft-notification-error-border-color","",Te.borderErrorSubtle),borderRadius:be.extend("--ft-notification-border-radius","",me.borderRadiusPill),borderWidth:be.create("--ft-notification-border-width","","SIZE","1px"),leadingGap:be.extend("--ft-notification-leading-gap","",me.spacing2),trailingGap:be.extend("--ft-notification-trailing-gap","",me.spacing8)},yr={horizontalPadding:be.extend("--ft-tooltip-horizontal-padding","",me.spacing2),verticalPadding:be.extend("--ft-tooltip-vertical-padding","",me.spacing2),borderRadius:be.extend("--ft-tooltip-border-radius","",me.borderRadiusS),color:be.extend("--ft-tooltip-color","",Te.contentGlobalOnColor),backgroundColor:be.extend("--ft-tooltip-background-color","",Te.contentGlobalPrimary),backgroundOpacity:be.extend("--ft-tooltip-background-opacity","",me.opacity80),shadow:be.extend("--ft-tooltip-shadow","",me.shadowElevation03),maxWidth:be.create("--ft-tooltip-max-width","","SIZE","256px"),gap:be.extend("--ft-tooltip-gap","",me.spacing05)};var br=Object.freeze({__proto__:null,FtCssVariableFactory:be,banner:Ve,border:fr,breadcrumb:qe,button:Ge,chart:cr,checkbox:ur,chip:sr,collapsible:ar,comboboxMultiSelect:rr,comboboxSingleSelect:er,drawer:Xe,floatingMenu:or,foundation:me,modal:Je,notice:dr,notification:gr,pageHeader:Ye,popover:ir,radio:pr,semantic:Te,setVariable:function(t,o){return ye(`${t.name}: ${o}`)},switch_:lr,tabs:nr,textArea:tr,textInput:Qe,toggle:hr,tooltip:yr,typographies:De,typographyBody1Medium:Ce,typographyBody1Regular:we,typographyBody1Semibold:Ne,typographyBody2Medium:Ie,typographyBody2MediumUnderline:Re,typographyBody2Regular:Ee,typographyBody2Semibold:Le,typographyCaption1Bold:Pe,typographyCaption1Medium:Ae,typographyCaption1Semibold:_e,typographyCaption2Bold:je,typographyCaption2Medium:Ze,typographyCaption2Semibold:Ke,typographyCaption3Bold:He,typographyCaption3Medium:Me,typographyCaption3Semibold:$e,typographyDisplay:ve,typographyLabel1Bold:ke,typographyLabel1Medium:We,typographyLabel1Semibold:Ue,typographyLabel2Bold:ze,typographyLabel2Medium:Be,typographyLabel2Semibold:Fe,typographyTitle1:Oe,typographyTitle2:Se,typographyTitle3:xe,typographyVariants:["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","label-1","label-2","caption-1","caption-2","caption-3"]});const mr={colorPrimary:be.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:be.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:be.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:be.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:be.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:be.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorError:be.create("--ft-color-error","","COLOR","#B00020"),colorOutline:be.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:be.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:be.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:be.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:be.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:be.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:be.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:be.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:be.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:be.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:be.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:be.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:be.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:be.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:be.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:be.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:be.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:be.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:be.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:be.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:be.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:be.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:be.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:be.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:be.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:be.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:be.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:be.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:be.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:be.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:be.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:be.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:be.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:be.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:be.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:be.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:be.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:be.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:be.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:be.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:be.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:be.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:be.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:be.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:be.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:be.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:be.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:be.create("--ft-border-radius-S","","SIZE","4px"),borderRadiusM:be.create("--ft-border-radius-M","","SIZE","8px"),borderRadiusL:be.create("--ft-border-radius-L","","SIZE","12px"),borderRadiusXL:be.create("--ft-border-radius-XL","","SIZE","16px"),titleFont:be.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:be.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:be.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:be.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var vr=Object.freeze({__proto__:null,designSystemVariables:mr});class Or extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}}class Sr extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}}class xr extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}}var wr=Object.freeze({__proto__:null,FtNotificationEvent:Or,PostResizeEvent:xr,PreResizeEvent:Sr});const Cr=["start","end"],Nr=["top","right","bottom","left"].reduce(((t,o)=>t.concat(o,o+"-"+Cr[0],o+"-"+Cr[1])),[]),Er=Math.min,Ir=Math.max,Rr=Math.round,Lr=t=>({x:t,y:t}),Wr={left:"right",right:"left",bottom:"top",top:"bottom"},Ur={start:"end",end:"start"};function kr(t,o,e){return Ir(t,Er(o,e))}function Br(t,o){return"function"==typeof t?t(o):t}function Fr(t){return t.split("-")[0]}function zr(t){return t.split("-")[1]}function Ar(t){return"x"===t?"y":"x"}function _r(t){return"y"===t?"height":"width"}function Pr(t){return["top","bottom"].includes(Fr(t))?"y":"x"}function Zr(t){return Ar(Pr(t))}function Kr(t){return t.replace(/left|right|bottom|top/g,(t=>Wr[t]))}function jr(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Mr(t,o,e){let{reference:r,floating:i}=t;const n=Pr(o),a=Zr(o),l=_r(a),c=Fr(o),s="y"===n,f=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,u=r[l]/2-i[l]/2;let h;switch(c){case"top":h={x:f,y:r.y-i.height};break;case"bottom":h={x:f,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:d};break;case"left":h={x:r.x-i.width,y:d};break;default:h={x:r.x,y:r.y}}switch(zr(o)){case"start":h[a]-=u*(e&&s?-1:1);break;case"end":h[a]+=u*(e&&s?-1:1)}return h}async function $r(t,o){var e;void 0===o&&(o={});const{x:r,y:i,platform:n,rects:a,elements:l,strategy:c}=t,{boundary:s="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:u=!1,padding:h=0}=Br(o,t),p=function(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}(h),g=l[u?"floating"===d?"reference":"floating":d],y=jr(await n.getClippingRect({element:null==(e=await(null==n.isElement?void 0:n.isElement(g)))||e?g:g.contextElement||await(null==n.getDocumentElement?void 0:n.getDocumentElement(l.floating)),boundary:s,rootBoundary:f,strategy:c})),b="floating"===d?{...a.floating,x:r,y:i}:a.reference,m=await(null==n.getOffsetParent?void 0:n.getOffsetParent(l.floating)),v=await(null==n.isElement?void 0:n.isElement(m))&&await(null==n.getScale?void 0:n.getScale(m))||{x:1,y:1},O=jr(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:c}):b);return{top:(y.top-O.top+p.top)/v.y,bottom:(O.bottom-y.bottom+p.bottom)/v.y,left:(y.left-O.left+p.left)/v.x,right:(O.right-y.right+p.right)/v.x}}function Hr(t,o,e){return(t?[...e.filter((o=>zr(o)===t)),...e.filter((o=>zr(o)!==t))]:e.filter((t=>Fr(t)===t))).filter((e=>!t||(zr(e)===t||!!o&&function(t){return t.replace(/start|end/g,(t=>Ur[t]))}(e)!==e)))}const Dr=function(t){return void 0===t&&(t={}),{name:"autoPlacement",options:t,async fn(o){var e,r,i;const{rects:n,middlewareData:a,placement:l,platform:c,elements:s}=o,{crossAxis:f=!1,alignment:d,allowedPlacements:u=Nr,autoAlignment:h=!0,...p}=Br(t,o),g=void 0!==d||u===Nr?Hr(d||null,h,u):u,y=await $r(o,p),b=(null==(e=a.autoPlacement)?void 0:e.index)||0,m=g[b];if(null==m)return{};const v=function(t,o,e){void 0===e&&(e=!1);const r=zr(t),i=Zr(t),n=_r(i);let a="x"===i?r===(e?"end":"start")?"right":"left":"start"===r?"bottom":"top";return o.reference[n]>o.floating[n]&&(a=Kr(a)),[a,Kr(a)]}(m,n,await(null==c.isRTL?void 0:c.isRTL(s.floating)));if(l!==m)return{reset:{placement:g[0]}};const O=[y[Fr(m)],y[v[0]],y[v[1]]],S=[...(null==(r=a.autoPlacement)?void 0:r.overflows)||[],{placement:m,overflows:O}],x=g[b+1];if(x)return{data:{index:b+1,overflows:S},reset:{placement:x}};const w=S.map((t=>{const o=zr(t.placement);return[t.placement,o&&f?t.overflows.slice(0,2).reduce(((t,o)=>t+o),0):t.overflows[0],t.overflows]})).sort(((t,o)=>t[1]-o[1])),C=w.filter((t=>t[2].slice(0,zr(t[0])?2:3).every((t=>t<=0)))),N=(null==(i=C[0])?void 0:i[0])||w[0][0];return N!==l?{data:{index:b+1,overflows:S},reset:{placement:N}}:{}}}};function Tr(t){return qr(t)?(t.nodeName||"").toLowerCase():"#document"}function Gr(t){var o;return(null==t||null==(o=t.ownerDocument)?void 0:o.defaultView)||window}function Vr(t){var o;return null==(o=(qr(t)?t.ownerDocument:t.document)||window.document)?void 0:o.documentElement}function qr(t){return t instanceof Node||t instanceof Gr(t).Node}function Yr(t){return t instanceof Element||t instanceof Gr(t).Element}function Jr(t){return t instanceof HTMLElement||t instanceof Gr(t).HTMLElement}function Xr(t){return"undefined"!=typeof ShadowRoot&&(t instanceof ShadowRoot||t instanceof Gr(t).ShadowRoot)}function Qr(t){const{overflow:o,overflowX:e,overflowY:r,display:i}=ii(t);return/auto|scroll|overlay|hidden|clip/.test(o+r+e)&&!["inline","contents"].includes(i)}function ti(t){return["table","td","th"].includes(Tr(t))}function oi(t){const o=ei(),e=ii(t);return"none"!==e.transform||"none"!==e.perspective||!!e.containerType&&"normal"!==e.containerType||!o&&!!e.backdropFilter&&"none"!==e.backdropFilter||!o&&!!e.filter&&"none"!==e.filter||["transform","perspective","filter"].some((t=>(e.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(e.contain||"").includes(t)))}function ei(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ri(t){return["html","body","#document"].includes(Tr(t))}function ii(t){return Gr(t).getComputedStyle(t)}function ni(t){return Yr(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ai(t){if("html"===Tr(t))return t;const o=t.assignedSlot||t.parentNode||Xr(t)&&t.host||Vr(t);return Xr(o)?o.host:o}function li(t){const o=ai(t);return ri(o)?t.ownerDocument?t.ownerDocument.body:t.body:Jr(o)&&Qr(o)?o:li(o)}function ci(t,o,e){var r;void 0===o&&(o=[]),void 0===e&&(e=!0);const i=li(t),n=i===(null==(r=t.ownerDocument)?void 0:r.body),a=Gr(i);return n?o.concat(a,a.visualViewport||[],Qr(i)?i:[],a.frameElement&&e?ci(a.frameElement):[]):o.concat(i,ci(i,[],e))}function si(t){const o=ii(t);let e=parseFloat(o.width)||0,r=parseFloat(o.height)||0;const i=Jr(t),n=i?t.offsetWidth:e,a=i?t.offsetHeight:r,l=Rr(e)!==n||Rr(r)!==a;return l&&(e=n,r=a),{width:e,height:r,$:l}}function fi(t){return Yr(t)?t:t.contextElement}function di(t){const o=fi(t);if(!Jr(o))return Lr(1);const e=o.getBoundingClientRect(),{width:r,height:i,$:n}=si(o);let a=(n?Rr(e.width):e.width)/r,l=(n?Rr(e.height):e.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}const ui=Lr(0);function hi(t){const o=Gr(t);return ei()&&o.visualViewport?{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}:ui}function pi(t,o,e,r){void 0===o&&(o=!1),void 0===e&&(e=!1);const i=t.getBoundingClientRect(),n=fi(t);let a=Lr(1);o&&(r?Yr(r)&&(a=di(r)):a=di(t));const l=function(t,o,e){return void 0===o&&(o=!1),!(!e||o&&e!==Gr(t))&&o}(n,e,r)?hi(n):Lr(0);let c=(i.left+l.x)/a.x,s=(i.top+l.y)/a.y,f=i.width/a.x,d=i.height/a.y;if(n){const t=Gr(n),o=r&&Yr(r)?Gr(r):r;let e=t.frameElement;for(;e&&r&&o!==t;){const t=di(e),o=e.getBoundingClientRect(),r=ii(e),i=o.left+(e.clientLeft+parseFloat(r.paddingLeft))*t.x,n=o.top+(e.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,s*=t.y,f*=t.x,d*=t.y,c+=i,s+=n,e=Gr(e).frameElement}}return jr({width:f,height:d,x:c,y:s})}function gi(t){return pi(Vr(t)).left+ni(t).scrollLeft}function yi(t,o,e){let r;if("viewport"===o)r=function(t,o){const e=Gr(t),r=Vr(t),i=e.visualViewport;let n=r.clientWidth,a=r.clientHeight,l=0,c=0;if(i){n=i.width,a=i.height;const t=ei();(!t||t&&"fixed"===o)&&(l=i.offsetLeft,c=i.offsetTop)}return{width:n,height:a,x:l,y:c}}(t,e);else if("document"===o)r=function(t){const o=Vr(t),e=ni(t),r=t.ownerDocument.body,i=Ir(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),n=Ir(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight);let a=-e.scrollLeft+gi(t);const l=-e.scrollTop;return"rtl"===ii(r).direction&&(a+=Ir(o.clientWidth,r.clientWidth)-i),{width:i,height:n,x:a,y:l}}(Vr(t));else if(Yr(o))r=function(t,o){const e=pi(t,!0,"fixed"===o),r=e.top+t.clientTop,i=e.left+t.clientLeft,n=Jr(t)?di(t):Lr(1);return{width:t.clientWidth*n.x,height:t.clientHeight*n.y,x:i*n.x,y:r*n.y}}(o,e);else{const e=hi(t);r={...o,x:o.x-e.x,y:o.y-e.y}}return jr(r)}function bi(t,o){const e=ai(t);return!(e===o||!Yr(e)||ri(e))&&("fixed"===ii(e).position||bi(e,o))}function mi(t,o,e){const r=Jr(o),i=Vr(o),n="fixed"===e,a=pi(t,!0,n,o);let l={scrollLeft:0,scrollTop:0};const c=Lr(0);if(r||!r&&!n)if(("body"!==Tr(o)||Qr(i))&&(l=ni(o)),r){const t=pi(o,!0,n,o);c.x=t.x+o.clientLeft,c.y=t.y+o.clientTop}else i&&(c.x=gi(i));return{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function vi(t,o){return Jr(t)&&"fixed"!==ii(t).position?o?o(t):t.offsetParent:null}function Oi(t,o){const e=Gr(t);if(!Jr(t))return e;let r=vi(t,o);for(;r&&ti(r)&&"static"===ii(r).position;)r=vi(r,o);return r&&("html"===Tr(r)||"body"===Tr(r)&&"static"===ii(r).position&&!oi(r))?e:r||function(t){let o=ai(t);for(;Jr(o)&&!ri(o);){if(oi(o))return o;o=ai(o)}return null}(t)||e}const Si={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:o,offsetParent:e,strategy:r}=t;const i=Jr(e),n=Vr(e);if(e===n)return o;let a={scrollLeft:0,scrollTop:0},l=Lr(1);const c=Lr(0);if((i||!i&&"fixed"!==r)&&(("body"!==Tr(e)||Qr(n))&&(a=ni(e)),Jr(e))){const t=pi(e);l=di(e),c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}return{width:o.width*l.x,height:o.height*l.y,x:o.x*l.x-a.scrollLeft*l.x+c.x,y:o.y*l.y-a.scrollTop*l.y+c.y}},getDocumentElement:Vr,getClippingRect:function(t){let{element:o,boundary:e,rootBoundary:r,strategy:i}=t;const n=[..."clippingAncestors"===e?function(t,o){const e=o.get(t);if(e)return e;let r=ci(t,[],!1).filter((t=>Yr(t)&&"body"!==Tr(t))),i=null;const n="fixed"===ii(t).position;let a=n?ai(t):t;for(;Yr(a)&&!ri(a);){const o=ii(a),e=oi(a);e||"fixed"!==o.position||(i=null),(n?!e&&!i:!e&&"static"===o.position&&i&&["absolute","fixed"].includes(i.position)||Qr(a)&&!e&&bi(t,a))?r=r.filter((t=>t!==a)):i=o,a=ai(a)}return o.set(t,r),r}(o,this._c):[].concat(e),r],a=n[0],l=n.reduce(((t,e)=>{const r=yi(o,e,i);return t.top=Ir(r.top,t.top),t.right=Er(r.right,t.right),t.bottom=Er(r.bottom,t.bottom),t.left=Ir(r.left,t.left),t}),yi(o,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Oi,getElementRects:async function(t){let{reference:o,floating:e,strategy:r}=t;const i=this.getOffsetParent||Oi,n=this.getDimensions;return{reference:mi(o,await i(e),r),floating:{x:0,y:0,...await n(e)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){return si(t)},getScale:di,isElement:Yr,isRTL:function(t){return"rtl"===ii(t).direction}},xi=(t,o,e)=>{const r=new Map,i={platform:Si,...e},n={...i.platform,_c:r};return(async(t,o,e)=>{const{placement:r="bottom",strategy:i="absolute",middleware:n=[],platform:a}=e,l=n.filter(Boolean),c=await(null==a.isRTL?void 0:a.isRTL(o));let s=await a.getElementRects({reference:t,floating:o,strategy:i}),{x:f,y:d}=Mr(s,r,c),u=r,h={},p=0;for(let e=0;e<l.length;e++){const{name:n,fn:g}=l[e],{x:y,y:b,data:m,reset:v}=await g({x:f,y:d,initialPlacement:r,placement:u,strategy:i,middlewareData:h,rects:s,platform:a,elements:{reference:t,floating:o}});f=null!=y?y:f,d=null!=b?b:d,h={...h,[n]:{...h[n],...m}},v&&p<=50&&(p++,"object"==typeof v&&(v.placement&&(u=v.placement),v.rects&&(s=!0===v.rects?await a.getElementRects({reference:t,floating:o,strategy:i}):v.rects),({x:f,y:d}=Mr(s,u,c))),e=-1)}return{x:f,y:d,placement:u,strategy:i,middlewareData:h}})(t,o,{...i,platform:n})};function wi(t){return function(t){for(let o=t;o;o=Ci(o))if(o instanceof Element&&"none"===getComputedStyle(o).display)return null;for(let o=Ci(t);o;o=Ci(o)){if(!(o instanceof Element))continue;const t=getComputedStyle(o);if("contents"!==t.display){if("static"!==t.position||"none"!==t.filter)return o;if("BODY"===o.tagName)return o}}return null}(t)}function Ci(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}var Ni=Object.freeze({__proto__:null,computeOffsetPosition:async function(t,o,e){return xi(t,o,{platform:{...Si,getOffsetParent:t=>Si.getOffsetParent(t,wi)},middleware:[(r={crossAxis:!0},void 0===r&&(r={}),{name:"shift",options:r,async fn(t){const{x:o,y:e,placement:i}=t,{mainAxis:n=!0,crossAxis:a=!1,limiter:l={fn:t=>{let{x:o,y:e}=t;return{x:o,y:e}}},...c}=Br(r,t),s={x:o,y:e},f=await $r(t,c),d=Pr(Fr(i)),u=Ar(d);let h=s[u],p=s[d];if(n){const t="y"===u?"bottom":"right";h=kr(h+f["y"===u?"top":"left"],h,h-f[t])}if(a){const t="y"===d?"bottom":"right";p=kr(p+f["y"===d?"top":"left"],p,p-f[t])}const g=l.fn({...t,[u]:h,[d]:p});return{...g,data:{x:g.x-o,y:g.y-e}}}}),Dr({allowedPlacements:[e]})]});var r}});
|
|
136
|
-
|
|
268
|
+
*)
|
|
269
|
+
|
|
270
|
+
@lit/reactive-element/css-tag.js:
|
|
271
|
+
(**
|
|
137
272
|
* @license
|
|
138
273
|
* Copyright 2019 Google LLC
|
|
139
274
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
140
|
-
*/const Ei=window,Ii=Ei.ShadowRoot&&(void 0===Ei.ShadyCSS||Ei.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype;class Ri extends bo{createRenderRoot(){const t=this.constructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,Object.entries(t.elementDefinitions).forEach((([o,e])=>t.registry.define(o,e))));const o={...t.shadowRootOptions,customElements:t.registry},e=this.renderOptions.creationScope=this.attachShadow(o);return((t,o)=>{Ii?t.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):o.forEach((o=>{const e=document.createElement("style"),r=Ei.litNonce;void 0!==r&&e.setAttribute("nonce",r),e.textContent=o.cssText,t.appendChild(e)}))})(e,t.elementStyles),e}}var Li,Wi=Object.freeze({__proto__:null,ScopedRegistryLitElement:Ri}),Ui=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};const ki=Symbol("constructorPrototype"),Bi=Symbol("constructorName"),Fi=Symbol("exportpartsDebouncer");class zi extends Ri{constructor(){super(),this.adoptedCustomStyleSheet=new CSSStyleSheet,this.useAdoptedStyleSheets=!0,this[Li]=new re(5),this[Bi]=this.constructor.name,this[ki]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Bi]&&Object.setPrototypeOf(this,this[ki])}connectedCallback(){super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet])}catch(t){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",t)}}updated(t){super.updated(t),this.updateComplete.then((()=>{this.contentAvailableCallback(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate()}))}contentAvailableCallback(t){}applyCustomStylesheet(t){var o,e,r;if(this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync(null!==(o=this.customStylesheet)&&void 0!==o?o:"")}catch(t){console.error(t,this.customStylesheet)}}else if((null!==(r=null===(e=this.shadowRoot)||void 0===e?void 0:e.querySelectorAll(".ft-lit-element--custom-stylesheet"))&&void 0!==r?r:[]).forEach((t=>t.remove())),this.customStylesheet){const t=document.createElement("style");t.classList.add("ft-lit-element--custom-stylesheet"),t.innerHTML=this.customStylesheet,this.shadowRoot.append(t)}}scheduleExportpartsUpdate(){var t,o,e;((null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())||null!==(e=null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)&&void 0!==e&&e)&&this[Fi].run((()=>{var t,o;(null===(t=this.exportpartsPrefix)||void 0===t?void 0:t.trim())?this.setExportpartsAttribute([this.exportpartsPrefix]):null!=this.exportpartsPrefixes&&(null===(o=this.exportpartsPrefixes)||void 0===o?void 0:o.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)}))}setExportpartsAttribute(t){var o,e,r,i,n,a;const l=t=>null!=t&&t.trim().length>0,c=t.filter(l).map((t=>t.trim()));if(0===c.length)return void this.removeAttribute("exportparts");const s=new Set;for(let t of null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelectorAll("[part],[exportparts]"))&&void 0!==e?e:[]){const o=null!==(i=null===(r=t.getAttribute("part"))||void 0===r?void 0:r.split(" "))&&void 0!==i?i:[],e=null!==(a=null===(n=t.getAttribute("exportparts"))||void 0===n?void 0:n.split(",").map((t=>t.split(":")[1])))&&void 0!==a?a:[];new Array(...o,...e).filter(l).map((t=>t.trim())).forEach((t=>s.add(t)))}if(0===s.size)return void this.removeAttribute("exportparts");const f=[...s.values()].flatMap((t=>c.map((o=>`${t}:${o}--${t}`))));this.setAttribute("exportparts",[...this.part,...f].join(", "))}}Li=Fi,Ui([xo()],zi.prototype,"exportpartsPrefix",void 0),Ui([he([])],zi.prototype,"exportpartsPrefixes",void 0),Ui([xo()],zi.prototype,"customStylesheet",void 0);var Ai=Object.freeze({__proto__:null,FtLitElement:zi}),_i=Object.freeze({__proto__:null});class Pi{constructor(t,o=!0,e=[],r=5e3){this.ctx=t,this.iframes=o,this.exclude=e,this.iframesTimeout=r}static matches(t,o){const e="string"==typeof o?[o]:o,r=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(r){let o=!1;return e.every((e=>!r.call(t,e)||(o=!0,!1))),o}return!1}getContexts(){let t,o=[];return t=void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[],t.forEach((t=>{const e=o.filter((o=>o.contains(t))).length>0;-1!==o.indexOf(t)||e||o.push(t)})),o}getIframeContents(t,o,e=(()=>{})){let r;try{const o=t.contentWindow;if(r=o.document,!o||!r)throw new Error("iframe inaccessible")}catch(t){e()}r&&o(r)}isIframeBlank(t){const o="about:blank",e=t.getAttribute("src").trim();return t.contentWindow.location.href===o&&e!==o&&e}observeIframeLoad(t,o,e){let r=!1,i=null;const n=()=>{if(!r){r=!0,clearTimeout(i);try{this.isIframeBlank(t)||(t.removeEventListener("load",n),this.getIframeContents(t,o,e))}catch(t){e()}}};t.addEventListener("load",n),i=setTimeout(n,this.iframesTimeout)}onIframeReady(t,o,e){try{"complete"===t.contentWindow.document.readyState?this.isIframeBlank(t)?this.observeIframeLoad(t,o,e):this.getIframeContents(t,o,e):this.observeIframeLoad(t,o,e)}catch(t){e()}}waitForIframes(t,o){let e=0;this.forEachIframe(t,(()=>!0),(t=>{e++,this.waitForIframes(t.querySelector("html"),(()=>{--e||o()}))}),(t=>{t||o()}))}forEachIframe(t,o,e,r=(()=>{})){let i=t.querySelectorAll("iframe"),n=i.length,a=0;i=Array.prototype.slice.call(i);const l=()=>{--n<=0&&r(a)};n||l(),i.forEach((t=>{Pi.matches(t,this.exclude)?l():this.onIframeReady(t,(r=>{o(t)&&(a++,e(r)),l()}),l)}))}createIterator(t,o,e){return document.createNodeIterator(t,o,e,!1)}createInstanceOnIframe(t){return new Pi(t.querySelector("html"),this.iframes)}compareNodeIframe(t,o,e){if(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING){if(null===o)return!0;if(o.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}getIteratorNode(t){const o=t.previousNode();let e;return e=(null===o||t.nextNode())&&t.nextNode(),{prevNode:o,node:e}}checkIframeFilter(t,o,e,r){let i=!1,n=!1;return r.forEach(((t,o)=>{t.val===e&&(i=o,n=t.handled)})),this.compareNodeIframe(t,o,e)?(!1!==i||n?!1===i||n||(r[i].handled=!0):r.push({val:e,handled:!0}),!0):(!1===i&&r.push({val:e,handled:!1}),!1)}handleOpenIframes(t,o,e,r){t.forEach((t=>{t.handled||this.getIframeContents(t.val,(t=>{this.createInstanceOnIframe(t).forEachNode(o,e,r)}))}))}iterateThroughNodes(t,o,e,r,i){const n=this.createIterator(o,t,r);let a,l,c=[],s=[],f=()=>(({prevNode:l,node:a}=this.getIteratorNode(n)),a);for(;f();)this.iframes&&this.forEachIframe(o,(t=>this.checkIframeFilter(a,l,t,c)),(o=>{this.createInstanceOnIframe(o).forEachNode(t,(t=>s.push(t)),r)})),s.push(a);s.forEach((t=>{e(t)})),this.iframes&&this.handleOpenIframes(c,t,e,r),i()}forEachNode(t,o,e,r=(()=>{})){const i=this.getContexts();let n=i.length;n||r(),i.forEach((i=>{const a=()=>{this.iterateThroughNodes(t,i,o,e,(()=>{--n<=0&&r()}))};this.iframes?this.waitForIframes(i,a):a()}))}}const Zi=function(t){const o=new class{constructor(t){this.ctx=t,this.ie=!1;const 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 Pi(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,o="debug"){const e=this.opt.log;this.opt.debug&&"object"==typeof e&&"function"==typeof e[o]&&e[o](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return"disabled"!==this.opt.wildcards&&(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)),"disabled"!==this.opt.wildcards&&(t=this.createWildcardsRegExp(t)),this.createAccuracyRegExp(t)}createSynonymsRegExp(t){const o=this.opt.synonyms,e=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let i in o)if(o.hasOwnProperty(i)){const n=o[i],a="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(i):this.escapeStr(i),l="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(n):this.escapeStr(n);""!==a&&""!==l&&(t=t.replace(new RegExp(`(${this.escapeStr(a)}|${this.escapeStr(l)})`,`gm${e}`),r+`(${this.processSynomyms(a)}|`+`${this.processSynomyms(l)})`+r))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return(t=t.replace(/(?:\\)*\?/g,(t=>"\\"===t.charAt(0)?"?":""))).replace(/(?:\\)*\*/g,(t=>"\\"===t.charAt(0)?"*":""))}createWildcardsRegExp(t){let o="withSpaces"===this.opt.wildcards;return t.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,((t,o,e)=>{let r=e.charAt(o+1);return/[(|)\\]/.test(r)||""===r?t:t+"\0"}))}createJoinersRegExp(t){let o=[];const e=this.opt.ignorePunctuation;return Array.isArray(e)&&e.length&&o.push(this.escapeStr(e.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?t.split(/\u0000+/).join(`[${o.join("")}]*`):t}createDiacriticsRegExp(t){const o=this.opt.caseSensitive?"":"i",e=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let r=[];return t.split("").forEach((i=>{e.every((e=>{if(-1!==e.indexOf(i)){if(r.indexOf(e)>-1)return!1;t=t.replace(new RegExp(`[${e}]`,`gm${o}`),`[${e}]`),r.push(e)}return!0}))})),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gim,"[\\s]+")}createAccuracyRegExp(t){let o=this.opt.accuracy,e="string"==typeof o?o:o.value,r="string"==typeof o?[]:o.limiters,i="";switch(r.forEach((t=>{i+=`|${this.escapeStr(t)}`})),e){case"partially":default:return`()(${t})`;case"complementary":return i="\\s"+(i||this.escapeStr("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿")),`()([^${i}]*${t}[^${i}]*)`;case"exactly":return`(^|\\s${i})(${t})(?=$|\\s${i})`}}getSeparatedKeywords(t){let o=[];return t.forEach((t=>{this.opt.separateWordSearch?t.split(" ").forEach((t=>{t.trim()&&-1===o.indexOf(t)&&o.push(t)})):t.trim()&&-1===o.indexOf(t)&&o.push(t)})),{keywords:o.sort(((t,o)=>o.length-t.length)),length:o.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||"[object Object]"!==Object.prototype.toString.call(t[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];const o=[];let e=0;return t.sort(((t,o)=>t.start-o.start)).forEach((t=>{let{start:r,end:i,valid:n}=this.callNoMatchOnInvalidRanges(t,e);n&&(t.start=r,t.length=i-r,o.push(t),e=i)})),o}callNoMatchOnInvalidRanges(t,o){let e,r,i=!1;return t&&void 0!==t.start?(e=parseInt(t.start,10),r=e+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&r-o>0&&r-e>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:e,end:r,valid:i}}checkWhitespaceRanges(t,o,e){let r,i=!0,n=e.length,a=o-n,l=parseInt(t.start,10)-a;return l=l>n?n:l,r=l+parseInt(t.length,10),r>n&&(r=n,this.log(`End range automatically set to the max value of ${n}`)),l<0||r-l<0||l>n||r>n?(i=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):""===e.substring(l,r).replace(/\s+/g,"")&&(i=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:l,end:r,valid:i}}getTextNodes(t){let o="",e=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(t=>{e.push({start:o.length,end:(o+=t.textContent).length,node:t})}),(t=>this.matchesExclude(t.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT),(()=>{t({value:o,nodes:e})}))}matchesExclude(t){return Pi.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,o,e){const r=this.opt.element?this.opt.element:"mark",i=t.splitText(o),n=i.splitText(e-o);let a=document.createElement(r);return a.setAttribute("data-markjs","true"),this.opt.className&&a.setAttribute("class",this.opt.className),a.textContent=i.textContent,i.parentNode.replaceChild(a,i),n}wrapRangeInMappedTextNode(t,o,e,r,i){t.nodes.every(((n,a)=>{const l=t.nodes[a+1];if(void 0===l||l.start>o){if(!r(n.node))return!1;const l=o-n.start,c=(e>n.end?n.end:e)-n.start,s=t.value.substr(0,n.start),f=t.value.substr(c+n.start);if(n.node=this.wrapRangeInTextNode(n.node,l,c),t.value=s+f,t.nodes.forEach(((o,e)=>{e>=a&&(t.nodes[e].start>0&&e!==a&&(t.nodes[e].start-=c),t.nodes[e].end-=c)})),e-=c,i(n.node.previousSibling,n.start),!(e>n.end))return!1;o=n.end}return!0}))}wrapMatches(t,o,e,r,i){const n=0===o?0:o+1;this.getTextNodes((o=>{o.nodes.forEach((o=>{let i;for(o=o.node;null!==(i=t.exec(o.textContent))&&""!==i[n];){if(!e(i[n],o))continue;let a=i.index;if(0!==n)for(let t=1;t<n;t++)a+=i[t].length;o=this.wrapRangeInTextNode(o,a,a+i[n].length),r(o.previousSibling),t.lastIndex=0}})),i()}))}wrapMatchesAcrossElements(t,o,e,r,i){const n=0===o?0:o+1;this.getTextNodes((o=>{let a;for(;null!==(a=t.exec(o.value))&&""!==a[n];){let i=a.index;if(0!==n)for(let t=1;t<n;t++)i+=a[t].length;const l=i+a[n].length;this.wrapRangeInMappedTextNode(o,i,l,(t=>e(a[n],t)),((o,e)=>{t.lastIndex=e,r(o)}))}i()}))}wrapRangeFromIndex(t,o,e,r){this.getTextNodes((i=>{const n=i.value.length;t.forEach(((t,r)=>{let{start:a,end:l,valid:c}=this.checkWhitespaceRanges(t,n,i.value);c&&this.wrapRangeInMappedTextNode(i,a,l,(e=>o(e,t,i.value.substring(a,l),r)),(o=>{e(o,t)}))})),r()}))}unwrapMatches(t){const o=t.parentNode;let e=document.createDocumentFragment();for(;t.firstChild;)e.appendChild(t.removeChild(t.firstChild));o.replaceChild(e,t),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(t){if(t){if(3===t.nodeType)for(;t.nextSibling&&3===t.nextSibling.nodeType;)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 e=0,r="wrapMatches";this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),this[r](t,this.opt.ignoreGroups,((t,o)=>this.opt.filter(o,t,e)),(t=>{e++,this.opt.each(t)}),(()=>{0===e&&this.opt.noMatch(t),this.opt.done(e)}))}mark(t,o){this.opt=o;let e=0,r="wrapMatches";const{keywords:i,length:n}=this.getSeparatedKeywords("string"==typeof t?[t]:t),a=this.opt.caseSensitive?"":"i",l=t=>{let o=new RegExp(this.createRegExp(t),`gm${a}`),c=0;this.log(`Searching with expression "${o}"`),this[r](o,1,((o,r)=>this.opt.filter(r,t,e,c)),(t=>{c++,e++,this.opt.each(t)}),(()=>{0===c&&this.opt.noMatch(t),i[n-1]===t?this.opt.done(e):l(i[i.indexOf(t)+1])}))};this.opt.acrossElements&&(r="wrapMatchesAcrossElements"),0===n?this.opt.done(e):l(i[0])}markRanges(t,o){this.opt=o;let e=0,r=this.checkRanges(t);r&&r.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(r)),this.wrapRangeFromIndex(r,((t,o,e,r)=>this.opt.filter(t,o,e,r)),((t,o)=>{e++,this.opt.each(t,o)}),(()=>{this.opt.done(e)}))):this.opt.done(e)}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,(t=>{this.unwrapMatches(t)}),(t=>{const e=Pi.matches(t,o),r=this.matchesExclude(t);return!e||r?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),this.opt.done)}}(t);return this.mark=(t,e)=>(o.mark(t,e),this),this.markRegExp=(t,e)=>(o.markRegExp(t,e),this),this.markRanges=(t,e)=>(o.markRanges(t,e),this),this.unmark=t=>(o.unmark(t),this),this},Ki=be.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),ji=dt`
|
|
141
|
-
|
|
142
|
-
background: ${Ki};
|
|
143
|
-
}
|
|
144
|
-
`,Mi={className:"highlight-html-match"};var $i=Object.freeze({__proto__:null,highlightHtml:function(t,o){var e;let r=t.getAttribute("data-highlight-html-query");if((null!=r?r:"")!==(null!=o?o:"")){const r=new Zi(t);if(r.unmark(Mi),o&&o.trim()){r.mark(o.replace(/"[^"]+"/g,""),{...Mi,separateWordSearch:!0});(null!==(e=o.match(/"[^"]+"/g))&&void 0!==e?e:[]).forEach((t=>r.mark(t.replace(/"/g,""),{...Mi,separateWordSearch:!1})))}}t.setAttribute("data-highlight-html-query",null!=o?o:"")},highlightHtmlColorCssVariable:Ki,highlightHtmlStyles:ji});const Hi=dt`
|
|
145
|
-
.ft-no-text-select {
|
|
146
|
-
-webkit-touch-callout: none;
|
|
147
|
-
-webkit-user-select: none;
|
|
148
|
-
-khtml-user-select: none;
|
|
149
|
-
-moz-user-select: none;
|
|
150
|
-
-ms-user-select: none;
|
|
151
|
-
user-select: none;
|
|
152
|
-
}
|
|
153
|
-
`,Di=dt`
|
|
154
|
-
.ft-word-wrap {
|
|
155
|
-
white-space: normal;
|
|
156
|
-
word-wrap: break-word;
|
|
157
|
-
-ms-word-break: break-all;
|
|
158
|
-
word-break: break-all;
|
|
159
|
-
word-break: break-word;
|
|
160
|
-
-ms-hyphens: auto;
|
|
161
|
-
-moz-hyphens: auto;
|
|
162
|
-
-webkit-hyphens: auto;
|
|
163
|
-
hyphens: auto
|
|
164
|
-
}
|
|
165
|
-
`,Ti=dt`
|
|
166
|
-
.ft-safari-ellipsis-fix {
|
|
167
|
-
margin-right: 0;
|
|
168
|
-
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.ft-safari-ellipsis-fix:after {
|
|
172
|
-
content: "\\0000a0";
|
|
173
|
-
display: inline-block;
|
|
174
|
-
width: 0;
|
|
175
|
-
}
|
|
176
|
-
`;var Gi=Object.freeze({__proto__:null,noTextSelect:Hi,safariEllipsisFix:Ti,wordWrap:Di}),Vi=Object.freeze({__proto__:null});var qi=Object.freeze({__proto__:null,ParametrizedLabelResolver:class{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var e,r;t=this.resolvePluralKey(t,o);let i=null!==(r=null!==(e=this.labels[t])&&void 0!==e?e:this.defaultLabels[t])&&void 0!==r?r:"";return o.forEach(((t,o)=>i=i.replace(new RegExp(`\\{${o}([^}]*)\\}`,"g"),((o,e)=>this.formatValue(t,e))))),i}resolvePluralKey(t,o){for(let e of o)if("number"==typeof e){const o=`${String(t)}[\\=${e}]`;if(o in this.labels||o in this.defaultLabels)return o}return t}formatValue(t,o){return t instanceof Date?this.formatDate(t,o):null!=t?t:""}formatDate(t,o){const e=e=>(null==o?void 0:o.includes("date"))?t.toLocaleDateString(e):(null==o?void 0:o.includes("time"))?t.toLocaleTimeString(e):t.toLocaleString(e);try{return e(document.documentElement.lang)}catch(t){return e()}}}});class Yi{constructor(){this.queue=[]}add(t,o=!1){o&&(this.queue=this.queue.filter((o=>o.type!==t.type))),this.queue.push(t)}consume(t){const o=this.queue.find((o=>o.type===t));return o&&(this.queue=this.queue.filter((t=>t!==o))),o}}function Ji(t){var o;return null!==(o=null==t?void 0:t.isFtReduxStore)&&void 0!==o&&o}var Xi,Qi,tn;const on=Symbol("internalReduxEventsUnsubscribers"),en=Symbol("internalStoresUnsubscribers"),rn=Symbol("internalStores");class nn extends zi{constructor(){super(...arguments),this[Xi]=new Map,this[Qi]=new Map,this[tn]=[]}get reduxConstructor(){return this.constructor}update(t){super.update(t),[...this.reduxConstructor.reduxReactiveProperties].some((o=>t.has(o)))&&this.updateFromStores()}getUnnamedStore(){if(this[rn].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[rn].values()][0]}getStore(t){return null==t?this.getUnnamedStore():this[rn].get(t)}addStore(t,o){var e;o=null!==(e=null!=o?o:Ji(t)?t.name:void 0)&&void 0!==e?e:"default-store",this.unsubscribeFromStore(o),this.setupStore(o,t)}removeStore(t){const o="string"==typeof t?t:t.name;this.unsubscribeFromStore(o),this[rn].delete(o)}setupStore(t,o){this[rn].set(t,o),this.subscribeToStore(t,o),this.updateFromStores()}setupStores(){this.unsubscribeFromStores(),this[rn].forEach(((t,o)=>this.subscribeToStore(o,t))),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach(((t,o)=>{const e=this.constructor.getPropertyOptions(o);if(!(null==e?void 0:e.attribute)||!this.hasAttribute("string"==typeof(null==e?void 0:e.attribute)?e.attribute:o)){const e=this.getStore(t.store);e&&(t.store?this[en].has(t.store):this[en].size>0)&&(this[o]=t.selector(e.getState(),this))}}))}subscribeToStore(t,o){var e;this[en].set(t,o.subscribe((()=>this.updateFromStores()))),Ji(o)&&o.eventBus&&(null===(e=this.reduxConstructor.reduxEventListeners)||void 0===e||e.forEach(((t,e)=>{if("function"==typeof this[e]&&(!t.store||o.name===t.store)){const r=t=>this[e](t);o.eventBus.addEventListener(t.eventName,r),this[on].push((()=>o.eventBus.removeEventListener(t.eventName,r)))}}))),this.onStoreAvailable(t)}unsubscribeFromStores(){this[en].forEach(((t,o)=>this.unsubscribeFromStore(o))),this[on].forEach((t=>t())),this[on]=[]}unsubscribeFromStore(t){this[en].has(t)&&this[en].get(t)(),this[en].delete(t)}onStoreAvailable(t){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}function an(t){for(var o=arguments.length,e=Array(o>1?o-1:0),r=1;r<o;r++)e[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(e.length?" "+e.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function ln(t){return!!t&&!!t[Gn]}function cn(t){var o;return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;var e=Object.hasOwnProperty.call(o,"constructor")&&o.constructor;return e===Object||"function"==typeof e&&Function.toString.call(e)===Vn}(t)||Array.isArray(t)||!!t[Tn]||!!(null===(o=t.constructor)||void 0===o?void 0:o[Tn])||pn(t)||gn(t))}function sn(t,o,e){void 0===e&&(e=!1),0===fn(t)?(e?Object.keys:qn)(t).forEach((function(r){e&&"symbol"==typeof r||o(r,t[r],t)})):t.forEach((function(e,r){return o(r,e,t)}))}function fn(t){var o=t[Gn];return o?o.i>3?o.i-4:o.i:Array.isArray(t)?1:pn(t)?2:gn(t)?3:0}function dn(t,o){return 2===fn(t)?t.has(o):Object.prototype.hasOwnProperty.call(t,o)}function un(t,o,e){var r=fn(t);2===r?t.set(o,e):3===r?t.add(e):t[o]=e}function hn(t,o){return t===o?0!==t||1/t==1/o:t!=t&&o!=o}function pn(t){return Mn&&t instanceof Map}function gn(t){return $n&&t instanceof Set}function yn(t){return t.o||t.t}function bn(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var o=Yn(t);delete o[Gn];for(var e=qn(o),r=0;r<e.length;r++){var i=e[r],n=o[i];!1===n.writable&&(n.writable=!0,n.configurable=!0),(n.get||n.set)&&(o[i]={configurable:!0,writable:!0,enumerable:n.enumerable,value:t[i]})}return Object.create(Object.getPrototypeOf(t),o)}function mn(t,o){return void 0===o&&(o=!1),On(t)||ln(t)||!cn(t)||(fn(t)>1&&(t.set=t.add=t.clear=t.delete=vn),Object.freeze(t),o&&sn(t,(function(t,o){return mn(o,!0)}),!0)),t}function vn(){an(2)}function On(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function Sn(t){var o=Jn[t];return o||an(18,t),o}function xn(){return Kn}function wn(t,o){o&&(Sn("Patches"),t.u=[],t.s=[],t.v=o)}function Cn(t){Nn(t),t.p.forEach(In),t.p=null}function Nn(t){t===Kn&&(Kn=t.l)}function En(t){return Kn={p:[],l:Kn,h:t,m:!0,_:0}}function In(t){var o=t[Gn];0===o.i||1===o.i?o.j():o.g=!0}function Rn(t,o){o._=o.p.length;var e=o.p[0],r=void 0!==t&&t!==e;return o.h.O||Sn("ES5").S(o,t,r),r?(e[Gn].P&&(Cn(o),an(4)),cn(t)&&(t=Ln(o,t),o.l||Un(o,t)),o.u&&Sn("Patches").M(e[Gn].t,t,o.u,o.s)):t=Ln(o,e,[]),Cn(o),o.u&&o.v(o.u,o.s),t!==Dn?t:void 0}function Ln(t,o,e){if(On(o))return o;var r=o[Gn];if(!r)return sn(o,(function(i,n){return Wn(t,r,o,i,n,e)}),!0),o;if(r.A!==t)return o;if(!r.P)return Un(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=bn(r.k):r.o,n=i,a=!1;3===r.i&&(n=new Set(i),i.clear(),a=!0),sn(n,(function(o,n){return Wn(t,r,i,o,n,e,a)})),Un(t,i,!1),e&&t.u&&Sn("Patches").N(r,e,t.u,t.s)}return r.o}function Wn(t,o,e,r,i,n,a){if(ln(i)){var l=Ln(t,i,n&&o&&3!==o.i&&!dn(o.R,r)?n.concat(r):void 0);if(un(e,r,l),!ln(l))return;t.m=!1}else a&&e.add(i);if(cn(i)&&!On(i)){if(!t.h.D&&t._<1)return;Ln(t,i),o&&o.A.l||Un(t,i)}}function Un(t,o,e){void 0===e&&(e=!1),!t.l&&t.h.D&&t.m&&mn(o,e)}function kn(t,o){var e=t[Gn];return(e?yn(e):t)[o]}function Bn(t,o){if(o in t)for(var e=Object.getPrototypeOf(t);e;){var r=Object.getOwnPropertyDescriptor(e,o);if(r)return r;e=Object.getPrototypeOf(e)}}function Fn(t){t.P||(t.P=!0,t.l&&Fn(t.l))}function zn(t){t.o||(t.o=bn(t.t))}function An(t,o,e){var r=pn(o)?Sn("MapSet").F(o,e):gn(o)?Sn("MapSet").T(o,e):t.O?function(t,o){var e=Array.isArray(t),r={i:e?1:0,A:o?o.A:xn(),P:!1,I:!1,R:{},l:o,t,k:null,o:null,j:null,C:!1},i=r,n=Xn;e&&(i=[r],n=Qn);var a=Proxy.revocable(i,n),l=a.revoke,c=a.proxy;return r.k=c,r.j=l,c}(o,e):Sn("ES5").J(o,e);return(e?e.A:xn()).p.push(r),r}function _n(t){return ln(t)||an(22,t),function t(o){if(!cn(o))return o;var e,r=o[Gn],i=fn(o);if(r){if(!r.P&&(r.i<4||!Sn("ES5").K(r)))return r.t;r.I=!0,e=Pn(o,i),r.I=!1}else e=Pn(o,i);return sn(e,(function(o,i){r&&function(t,o){return 2===fn(t)?t.get(o):t[o]}(r.t,o)===i||un(e,o,t(i))})),3===i?new Set(e):e}(t)}function Pn(t,o){switch(o){case 2:return new Map(t);case 3:return Array.from(t)}return bn(t)}Xi=en,Qi=rn,tn=on,nn.reduxProperties=new Map,nn.reduxReactiveProperties=new Set,nn.reduxEventListeners=new Map;var Zn,Kn,jn="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),Mn="undefined"!=typeof Map,$n="undefined"!=typeof Set,Hn="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,Dn=jn?Symbol.for("immer-nothing"):((Zn={})["immer-nothing"]=!0,Zn),Tn=jn?Symbol.for("immer-draftable"):"__$immer_draftable",Gn=jn?Symbol.for("immer-state"):"__$immer_state",Vn=""+Object.prototype.constructor,qn="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,Yn=Object.getOwnPropertyDescriptors||function(t){var o={};return qn(t).forEach((function(e){o[e]=Object.getOwnPropertyDescriptor(t,e)})),o},Jn={},Xn={get:function(t,o){if(o===Gn)return t;var e=yn(t);if(!dn(e,o))return function(t,o,e){var r,i=Bn(o,e);return i?"value"in i?i.value:null===(r=i.get)||void 0===r?void 0:r.call(t.k):void 0}(t,e,o);var r=e[o];return t.I||!cn(r)?r:r===kn(t.t,o)?(zn(t),t.o[o]=An(t.A.h,r,t)):r},has:function(t,o){return o in yn(t)},ownKeys:function(t){return Reflect.ownKeys(yn(t))},set:function(t,o,e){var r=Bn(yn(t),o);if(null==r?void 0:r.set)return r.set.call(t.k,e),!0;if(!t.P){var i=kn(yn(t),o),n=null==i?void 0:i[Gn];if(n&&n.t===e)return t.o[o]=e,t.R[o]=!1,!0;if(hn(e,i)&&(void 0!==e||dn(t.t,o)))return!0;zn(t),Fn(t)}return t.o[o]===e&&(void 0!==e||o in t.o)||Number.isNaN(e)&&Number.isNaN(t.o[o])||(t.o[o]=e,t.R[o]=!0),!0},deleteProperty:function(t,o){return void 0!==kn(t.t,o)||o in t.t?(t.R[o]=!1,zn(t),Fn(t)):delete t.R[o],t.o&&delete t.o[o],!0},getOwnPropertyDescriptor:function(t,o){var e=yn(t),r=Reflect.getOwnPropertyDescriptor(e,o);return r?{writable:!0,configurable:1!==t.i||"length"!==o,enumerable:r.enumerable,value:e[o]}:r},defineProperty:function(){an(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){an(12)}},Qn={};sn(Xn,(function(t,o){Qn[t]=function(){return arguments[0]=arguments[0][0],o.apply(this,arguments)}})),Qn.deleteProperty=function(t,o){return Qn.set.call(this,t,o,void 0)},Qn.set=function(t,o,e){return Xn.set.call(this,t[0],o,e,t[0])};var ta=function(){function t(t){var o=this;this.O=Hn,this.D=!0,this.produce=function(t,e,r){if("function"==typeof t&&"function"!=typeof e){var i=e;e=t;var n=o;return function(t){var o=this;void 0===t&&(t=i);for(var r=arguments.length,a=Array(r>1?r-1:0),l=1;l<r;l++)a[l-1]=arguments[l];return n.produce(t,(function(t){var r;return(r=e).call.apply(r,[o,t].concat(a))}))}}var a;if("function"!=typeof e&&an(6),void 0!==r&&"function"!=typeof r&&an(7),cn(t)){var l=En(o),c=An(o,t,void 0),s=!0;try{a=e(c),s=!1}finally{s?Cn(l):Nn(l)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(t){return wn(l,r),Rn(t,l)}),(function(t){throw Cn(l),t})):(wn(l,r),Rn(a,l))}if(!t||"object"!=typeof t){if(void 0===(a=e(t))&&(a=t),a===Dn&&(a=void 0),o.D&&mn(a,!0),r){var f=[],d=[];Sn("Patches").M(t,a,f,d),r(f,d)}return a}an(21,t)},this.produceWithPatches=function(t,e){if("function"==typeof t)return function(e){for(var r=arguments.length,i=Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return o.produceWithPatches(e,(function(o){return t.apply(void 0,[o].concat(i))}))};var r,i,n=o.produce(t,e,(function(t,o){r=t,i=o}));return"undefined"!=typeof Promise&&n instanceof Promise?n.then((function(t){return[t,r,i]})):[n,r,i]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var o=t.prototype;return o.createDraft=function(t){cn(t)||an(8),ln(t)&&(t=_n(t));var o=En(this),e=An(this,t,void 0);return e[Gn].C=!0,Nn(o),e},o.finishDraft=function(t,o){var e=(t&&t[Gn]).A;return wn(e,o),Rn(void 0,e)},o.setAutoFreeze=function(t){this.D=t},o.setUseProxies=function(t){t&&!Hn&&an(20),this.O=t},o.applyPatches=function(t,o){var e;for(e=o.length-1;e>=0;e--){var r=o[e];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}e>-1&&(o=o.slice(e+1));var i=Sn("Patches").$;return ln(t)?i(t,o):this.produce(t,(function(t){return i(t,o)}))},t}(),oa=new ta,ea=oa.produce;function ra(t){return ra="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ra(t)}function ia(t){var o=function(t,o){if("object"!==ra(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,o||"default");if("object"!==ra(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===ra(o)?o:String(o)}function na(t,o,e){return(o=ia(o))in t?Object.defineProperty(t,o,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[o]=e,t}function aa(t,o){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);o&&(r=r.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),e.push.apply(e,r)}return e}function la(t){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?aa(Object(e),!0).forEach((function(o){na(t,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):aa(Object(e)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))}))}return t}function ca(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}oa.produceWithPatches.bind(oa),oa.setAutoFreeze.bind(oa),oa.setUseProxies.bind(oa),oa.applyPatches.bind(oa),oa.createDraft.bind(oa),oa.finishDraft.bind(oa);var sa="function"==typeof Symbol&&Symbol.observable||"@@observable",fa=function(){return Math.random().toString(36).substring(7).split("").join(".")},da={INIT:"@@redux/INIT"+fa(),REPLACE:"@@redux/REPLACE"+fa(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+fa()}};function ua(t,o,e){var r;if("function"==typeof o&&"function"==typeof e||"function"==typeof e&&"function"==typeof arguments[3])throw new Error(ca(0));if("function"==typeof o&&void 0===e&&(e=o,o=void 0),void 0!==e){if("function"!=typeof e)throw new Error(ca(1));return e(ua)(t,o)}if("function"!=typeof t)throw new Error(ca(2));var i=t,n=o,a=[],l=a,c=!1;function s(){l===a&&(l=a.slice())}function f(){if(c)throw new Error(ca(3));return n}function d(t){if("function"!=typeof t)throw new Error(ca(4));if(c)throw new Error(ca(5));var o=!0;return s(),l.push(t),function(){if(o){if(c)throw new Error(ca(6));o=!1,s();var e=l.indexOf(t);l.splice(e,1),a=null}}}function u(t){if(!function(t){if("object"!=typeof t||null===t)return!1;for(var o=t;null!==Object.getPrototypeOf(o);)o=Object.getPrototypeOf(o);return Object.getPrototypeOf(t)===o}(t))throw new Error(ca(7));if(void 0===t.type)throw new Error(ca(8));if(c)throw new Error(ca(9));try{c=!0,n=i(n,t)}finally{c=!1}for(var o=a=l,e=0;e<o.length;e++){(0,o[e])()}return t}return u({type:da.INIT}),(r={dispatch:u,subscribe:d,getState:f,replaceReducer:function(t){if("function"!=typeof t)throw new Error(ca(10));i=t,u({type:da.REPLACE})}})[sa]=function(){var t,o=d;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(ca(11));function e(){t.next&&t.next(f())}return e(),{unsubscribe:o(e)}}})[sa]=function(){return this},t},r}function ha(t){for(var o=Object.keys(t),e={},r=0;r<o.length;r++){var i=o[r];"function"==typeof t[i]&&(e[i]=t[i])}var n,a=Object.keys(e);try{!function(t){Object.keys(t).forEach((function(o){var e=t[o];if(void 0===e(void 0,{type:da.INIT}))throw new Error(ca(12));if(void 0===e(void 0,{type:da.PROBE_UNKNOWN_ACTION()}))throw new Error(ca(13))}))}(e)}catch(t){n=t}return function(t,o){if(void 0===t&&(t={}),n)throw n;for(var r=!1,i={},l=0;l<a.length;l++){var c=a[l],s=e[c],f=t[c],d=s(f,o);if(void 0===d)throw o&&o.type,new Error(ca(14));i[c]=d,r=r||d!==f}return(r=r||a.length!==Object.keys(t).length)?i:t}}function pa(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return 0===o.length?function(t){return t}:1===o.length?o[0]:o.reduce((function(t,o){return function(){return t(o.apply(void 0,arguments))}}))}function ga(){for(var t=arguments.length,o=new Array(t),e=0;e<t;e++)o[e]=arguments[e];return function(t){return function(){var e=t.apply(void 0,arguments),r=function(){throw new Error(ca(15))},i={getState:e.getState,dispatch:function(){return r.apply(void 0,arguments)}},n=o.map((function(t){return t(i)}));return r=pa.apply(void 0,n)(e.dispatch),la(la({},e),{},{dispatch:r})}}}function ya(t){return function(o){var e=o.dispatch,r=o.getState;return function(o){return function(i){return"function"==typeof i?i(e,r,t):o(i)}}}}var ba=ya();ba.withExtraArgument=ya;var ma,va=ba,Oa=(ma=function(t,o){return ma=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,o){t.__proto__=o}||function(t,o){for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(t[e]=o[e])},ma(t,o)},function(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function e(){this.constructor=t}ma(t,o),t.prototype=null===o?Object.create(o):(e.prototype=o.prototype,new e)}),Sa=function(t,o){var e,r,i,n,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return n={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n;function l(n){return function(l){return function(n){if(e)throw new TypeError("Generator is already executing.");for(;a;)try{if(e=1,r&&(i=2&n[0]?r.return:n[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,n[1])).done)return i;switch(r=0,i&&(n=[2&n[0],i.value]),n[0]){case 0:case 1:i=n;break;case 4:return a.label++,{value:n[1],done:!1};case 5:a.label++,r=n[1],n=[0];continue;case 7:n=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==n[0]&&2!==n[0])){a=0;continue}if(3===n[0]&&(!i||n[1]>i[0]&&n[1]<i[3])){a.label=n[1];break}if(6===n[0]&&a.label<i[1]){a.label=i[1],i=n;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(n);break}i[2]&&a.ops.pop(),a.trys.pop();continue}n=o.call(t,a)}catch(t){n=[6,t],r=0}finally{e=i=0}if(5&n[0])throw n[1];return{value:n[0]?n[1]:void 0,done:!0}}([n,l])}}},xa=function(t,o){for(var e=0,r=o.length,i=t.length;e<r;e++,i++)t[i]=o[e];return t},wa=Object.defineProperty,Ca=Object.defineProperties,Na=Object.getOwnPropertyDescriptors,Ea=Object.getOwnPropertySymbols,Ia=Object.prototype.hasOwnProperty,Ra=Object.prototype.propertyIsEnumerable,La=function(t,o,e){return o in t?wa(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e},Wa=function(t,o){for(var e in o||(o={}))Ia.call(o,e)&&La(t,e,o[e]);if(Ea)for(var r=0,i=Ea(o);r<i.length;r++){e=i[r];Ra.call(o,e)&&La(t,e,o[e])}return t},Ua=function(t,o){return Ca(t,Na(o))},ka="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?pa:pa.apply(null,arguments)};var Ba=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return Oa(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,xa([void 0],t[0].concat(this)))):new(o.bind.apply(o,xa([void 0],t.concat(this))))},o}(Array),Fa=function(t){function o(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=t.apply(this,e)||this;return Object.setPrototypeOf(i,o.prototype),i}return Oa(o,t),Object.defineProperty(o,Symbol.species,{get:function(){return o},enumerable:!1,configurable:!0}),o.prototype.concat=function(){for(var o=[],e=0;e<arguments.length;e++)o[e]=arguments[e];return t.prototype.concat.apply(this,o)},o.prototype.prepend=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Array.isArray(t[0])?new(o.bind.apply(o,xa([void 0],t[0].concat(this)))):new(o.bind.apply(o,xa([void 0],t.concat(this))))},o}(Array);function za(t){return cn(t)?ea(t,(function(){})):t}function Aa(){return function(t){return function(t){void 0===t&&(t={});var o=t.thunk,e=void 0===o||o;t.immutableCheck,t.serializableCheck;var r=new Ba;e&&(!function(t){return"boolean"==typeof t}(e)?r.push(va.withExtraArgument(e.extraArgument)):r.push(va));return r}(t)}}function _a(t){var o,e=Aa(),r=t||{},i=r.reducer,n=void 0===i?void 0:i,a=r.middleware,l=void 0===a?e():a,c=r.devTools,s=void 0===c||c,f=r.preloadedState,d=void 0===f?void 0:f,u=r.enhancers,h=void 0===u?void 0:u;if("function"==typeof n)o=n;else{if(!function(t){if("object"!=typeof t||null===t)return!1;var o=Object.getPrototypeOf(t);if(null===o)return!0;for(var e=o;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return o===e}(n))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');o=ha(n)}var p=l;"function"==typeof p&&(p=p(e));var g=ga.apply(void 0,p),y=pa;s&&(y=ka(Wa({trace:!1},"object"==typeof s&&s)));var b=new Fa(g),m=b;return Array.isArray(h)?m=xa([g],h):"function"==typeof h&&(m=h(b)),ua(o,d,y.apply(void 0,m))}function Pa(t,o){function e(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(o){var i=o.apply(void 0,e);if(!i)throw new Error("prepareAction did not return an object");return Wa(Wa({type:t,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:t,payload:e[0]}}return e.toString=function(){return""+t},e.type=t,e.match=function(o){return o.type===t},e}function Za(t){var o,e={},r=[],i={addCase:function(t,o){var r="string"==typeof t?t:t.type;if(r in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[r]=o,i},addMatcher:function(t,o){return r.push({matcher:t,reducer:o}),i},addDefaultCase:function(t){return o=t,i}};return t(i),[e,r,o]}function Ka(t){var o=t.name;if(!o)throw new Error("`name` is a required option for createSlice");var e,r="function"==typeof t.initialState?t.initialState:za(t.initialState),i=t.reducers||{},n=Object.keys(i),a={},l={},c={};function s(){var o="function"==typeof t.extraReducers?Za(t.extraReducers):[t.extraReducers],e=o[0],i=void 0===e?{}:e,n=o[1],a=void 0===n?[]:n,c=o[2],s=void 0===c?void 0:c,f=Wa(Wa({},i),l);return function(t,o,e,r){void 0===e&&(e=[]);var i,n="function"==typeof o?Za(o):[o,e,r],a=n[0],l=n[1],c=n[2];if(function(t){return"function"==typeof t}(t))i=function(){return za(t())};else{var s=za(t);i=function(){return s}}function f(t,o){void 0===t&&(t=i());var e=xa([a[o.type]],l.filter((function(t){return(0,t.matcher)(o)})).map((function(t){return t.reducer})));return 0===e.filter((function(t){return!!t})).length&&(e=[c]),e.reduce((function(t,e){if(e){var r;if(ln(t))return void 0===(r=e(t,o))?t:r;if(cn(t))return ea(t,(function(t){return e(t,o)}));if(void 0===(r=e(t,o))){if(null===t)return t;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return t}),t)}return f.getInitialState=i,f}(r,(function(t){for(var o in f)t.addCase(o,f[o]);for(var e=0,r=a;e<r.length;e++){var i=r[e];t.addMatcher(i.matcher,i.reducer)}s&&t.addDefaultCase(s)}))}return n.forEach((function(t){var e,r,n=i[t],s=o+"/"+t;"reducer"in n?(e=n.reducer,r=n.prepare):e=n,a[t]=e,l[s]=e,c[t]=r?Pa(s,r):Pa(s)})),{name:o,reducer:function(t,o){return e||(e=s()),e(t,o)},actions:c,caseReducers:a,getInitialState:function(){return e||(e=s()),e.getInitialState()}}}var ja=["name","message","stack","code"],Ma=function(t,o){this.payload=t,this.meta=o},$a=function(t,o){this.payload=t,this.meta=o},Ha=function(t){if("object"==typeof t&&null!==t){for(var o={},e=0,r=ja;e<r.length;e++){var i=r[e];"string"==typeof t[i]&&(o[i]=t[i])}return o}return{message:String(t)}};function Da(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}!function(){function t(t,o,e){var r=Pa(t+"/fulfilled",(function(t,o,e,r){return{payload:t,meta:Ua(Wa({},r||{}),{arg:e,requestId:o,requestStatus:"fulfilled"})}})),i=Pa(t+"/pending",(function(t,o,e){return{payload:void 0,meta:Ua(Wa({},e||{}),{arg:o,requestId:t,requestStatus:"pending"})}})),n=Pa(t+"/rejected",(function(t,o,r,i,n){return{payload:i,error:(e&&e.serializeError||Ha)(t||"Rejected"),meta:Ua(Wa({},n||{}),{arg:r,requestId:o,rejectedWithValue:!!i,requestStatus:"rejected",aborted:"AbortError"===(null==t?void 0:t.name),condition:"ConditionError"===(null==t?void 0:t.name)})}})),a="undefined"!=typeof AbortController?AbortController:function(){function t(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return t.prototype.abort=function(){},t}();return Object.assign((function(t){return function(l,c,s){var f,d=(null==e?void 0:e.idGenerator)?e.idGenerator(t):function(t){void 0===t&&(t=21);for(var o="",e=t;e--;)o+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return o}(),u=new a;function h(t){f=t,u.abort()}var p=function(){return a=this,p=null,g=function(){var a,p,g,y,b,m;return Sa(this,(function(v){switch(v.label){case 0:return v.trys.push([0,4,,5]),y=null==(a=null==e?void 0:e.condition)?void 0:a.call(e,t,{getState:c,extra:s}),null===(O=y)||"object"!=typeof O||"function"!=typeof O.then?[3,2]:[4,y];case 1:y=v.sent(),v.label=2;case 2:if(!1===y||u.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return b=new Promise((function(t,o){return u.signal.addEventListener("abort",(function(){return o({name:"AbortError",message:f||"Aborted"})}))})),l(i(d,t,null==(p=null==e?void 0:e.getPendingMeta)?void 0:p.call(e,{requestId:d,arg:t},{getState:c,extra:s}))),[4,Promise.race([b,Promise.resolve(o(t,{dispatch:l,getState:c,extra:s,requestId:d,signal:u.signal,abort:h,rejectWithValue:function(t,o){return new Ma(t,o)},fulfillWithValue:function(t,o){return new $a(t,o)}})).then((function(o){if(o instanceof Ma)throw o;return o instanceof $a?r(o.payload,d,t,o.meta):r(o,d,t)}))])];case 3:return g=v.sent(),[3,5];case 4:return m=v.sent(),g=m instanceof Ma?n(null,d,t,m.payload,m.meta):n(m,d,t),[3,5];case 5:return e&&!e.dispatchConditionRejection&&n.match(g)&&g.meta.condition||l(g),[2,g]}var O}))},new Promise((function(t,o){var e=function(t){try{i(g.next(t))}catch(t){o(t)}},r=function(t){try{i(g.throw(t))}catch(t){o(t)}},i=function(o){return o.done?t(o.value):Promise.resolve(o.value).then(e,r)};i((g=g.apply(a,p)).next())}));var a,p,g}();return Object.assign(p,{abort:h,requestId:d,arg:t,unwrap:function(){return p.then(Da)}})}}),{pending:i,rejected:n,fulfilled:r,typePrefix:t})}t.withTypes=function(){return t}}();var Ta="listenerMiddleware";Pa(Ta+"/add"),Pa(Ta+"/removeAll"),Pa(Ta+"/remove"),"function"==typeof queueMicrotask&&queueMicrotask.bind("undefined"!=typeof window?window:"undefined"!=typeof global?global:globalThis),function(){function t(t,o){var e=i[t];return e?e.enumerable=o:i[t]=e={configurable:!0,enumerable:o,get:function(){var o=this[Gn];return Xn.get(o,t)},set:function(o){var e=this[Gn];Xn.set(e,t,o)}},e}function o(t){for(var o=t.length-1;o>=0;o--){var i=t[o][Gn];if(!i.P)switch(i.i){case 5:r(i)&&Fn(i);break;case 4:e(i)&&Fn(i)}}}function e(t){for(var o=t.t,e=t.k,r=qn(e),i=r.length-1;i>=0;i--){var n=r[i];if(n!==Gn){var a=o[n];if(void 0===a&&!dn(o,n))return!0;var l=e[n],c=l&&l[Gn];if(c?c.t!==a:!hn(l,a))return!0}}var s=!!o[Gn];return r.length!==qn(o).length+(s?0:1)}function r(t){var o=t.k;if(o.length!==t.t.length)return!0;var e=Object.getOwnPropertyDescriptor(o,o.length-1);if(e&&!e.get)return!0;for(var r=0;r<o.length;r++)if(!o.hasOwnProperty(r))return!0;return!1}var i={};!function(t,o){Jn[t]||(Jn[t]=o)}("ES5",{J:function(o,e){var r=Array.isArray(o),i=function(o,e){if(o){for(var r=Array(e.length),i=0;i<e.length;i++)Object.defineProperty(r,""+i,t(i,!0));return r}var n=Yn(e);delete n[Gn];for(var a=qn(n),l=0;l<a.length;l++){var c=a[l];n[c]=t(c,o||!!n[c].enumerable)}return Object.create(Object.getPrototypeOf(e),n)}(r,o),n={i:r?5:4,A:e?e.A:xn(),P:!1,I:!1,R:{},l:e,t:o,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Gn,{value:n,writable:!0}),i},S:function(t,e,i){i?ln(e)&&e[Gn].A===t&&o(t.p):(t.u&&function t(o){if(o&&"object"==typeof o){var e=o[Gn];if(e){var i=e.t,n=e.k,a=e.R,l=e.i;if(4===l)sn(n,(function(o){o!==Gn&&(void 0!==i[o]||dn(i,o)?a[o]||t(n[o]):(a[o]=!0,Fn(e)))})),sn(i,(function(t){void 0!==n[t]||dn(n,t)||(a[t]=!1,Fn(e))}));else if(5===l){if(r(e)&&(Fn(e),a.length=!0),n.length<i.length)for(var c=n.length;c<i.length;c++)a[c]=!1;else for(var s=i.length;s<n.length;s++)a[s]=!0;for(var f=Math.min(n.length,i.length),d=0;d<f;d++)n.hasOwnProperty(d)||(a[d]=!0),void 0===a[d]&&t(n[d])}}}}(t.p[0]),o(t.p))},K:function(t){return 4===t.i?e(t):r(t)}})}(),window.ftReduxStores||(window.ftReduxStores={});class Ga{static get(t){var o;const e="string"==typeof t?t:t.name,r="string"==typeof t?void 0:t,i=window.ftReduxStores[e];if(Ji(i))return i;if(null==r)return;const n=Ka({...r,reducers:null!==(o=r.reducers)&&void 0!==o?o:{}}),a=_a({reducer:(t,o)=>"CLEAR_FT_REDUX_STORE"===o.type?n.getInitialState():"string"==typeof o.type&&o.type.startsWith("DEFAULT_VALUE_SETTER__")?{...t,...o.overwrites}:n.reducer(t,o)});return window.ftReduxStores[r.name]=new Ga(n,a)}constructor(t,o){this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.eventBus=document.createElement("event-bus"),this.commands=new Yi,this.actions=new Proxy(this.reduxSlice.actions,{get:(t,o,e)=>{const r=o,i=t[r];return i?(...t)=>{const o=i(...t);return this.reduxStore.dispatch(o),o}:t=>{this.setState({[r]:t})}}})}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()}}var Va=Object.freeze({__proto__:null,FtCommandQueue:Yi,FtLitElementRedux:nn,FtReduxStore:Ga,clearAllStores:function(){var t;for(let o of Object.values(null!==(t=window.ftReduxStores)&&void 0!==t?t:{}))Ji(o)&&o.clear()},isFtReduxStore:Ji,redux:t=>{const o=null!=t?t:{};return(t,e)=>{var r;const i={hasChanged:(t,o)=>!se(t,o),attribute:!1,...o};xo(i)(t,e);const n=t.constructor;n.reduxProperties=new Map(n.reduxProperties),n.reduxProperties.set(e,{selector:null!==(r=o.selector)&&void 0!==r?r:t=>t[e],store:o.store})}},reduxEventListener:t=>(o,e)=>{const r=o.constructor;r.reduxEventListeners=new Map(r.reduxEventListeners),r.reduxEventListeners.set(e,t)},reduxReactive:()=>(t,o)=>{var e;const r=t.constructor;r.reduxReactiveProperties=new Set(r.reduxReactiveProperties),null===(e=r.reduxReactiveProperties)||void 0===e||e.add(o)}});var qa=Object.freeze({__proto__:null,serializeRequest:function(t,o){var e,r,i,n;const a=new URLSearchParams({"content-lang":null!==(e=o.contentLocale)&&void 0!==e?e:"all"});if((null===(r=o.query)||void 0===r?void 0:r.length)>0&&a.append("query",o.query),o.scope&&"DEFAULT"!==o.scope&&a.append("scope",o.scope.toLowerCase()),o.virtualField&&a.append("virtual-field",o.virtualField.toLowerCase()),o.periodFilter){let t=o.periodFilter.period;const e=t?`_${t.from}_${t.to}`:"";a.append("period",o.periodFilter.periodType.toLowerCase()+e)}if((null===(i=o.sort)||void 0===i?void 0:i.length)>0&&"ft:lastEdition"===o.sort[0].key&&a.append("sort","last_update"),(null===(n=o.filters)||void 0===n?void 0:n.length)>0){const t=o.filters.map((t=>{const o=t.values.map((t=>t.replace(/_/g,"\\\\\\\\_").replace(/~/g,"\\\\~").replace(/\*/g,"\\*"))).map((t=>encodeURIComponent(function(t){return`"${t}"`}(t)))).join("_");return`${t.key}~${o}`})).join("*");a.append("filters",t)}return new URL(`${t.replace(/\/+$/,"")}/search?${a.toString()}`).href}});const Ya=Symbol("elementInternals");var Ja,Xa,Qa,tl,ol=Object.freeze({__proto__:null,toFtFormComponent:function(t,o){return class extends t{static get formAssociated(){return!0}get form(){return this[Ya].form}constructor(...t){super(t),this[Ya]=this.attachInternals(),this[Ya].role=o}setFormValue(t){this[Ya].setFormValue(t)}}}});const el=navigator.vendor&&!!navigator.vendor.match(/apple/i)||"[object SafariRemoteNotification]"===(null!==(Qa=null===(Xa=null===(Ja=window.safari)||void 0===Ja?void 0:Ja.pushNotification)||void 0===Xa?void 0:Xa.toString())&&void 0!==Qa?Qa:""),rl="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=null!==(tl=window.ftGlobals)&&void 0!==tl?tl:{lit:vo,litDecorators:Io,litRepeat:Ko,litClassMap:Mo,litStyleMap:To,litUnsafeHTML:qo,wcUtils:{...te,...Qo,...ee,...ie,...ge,...vr,...wr,...Ni,...br,...Ai,..._i,...de,...$i,...Gi,...Vi,...qi,...Va,...Wi,...qa,...ol,isSafari:el,isTouchScreen:rl}};const il={padding:be.create("--ft-infinite-scroll-padding","","SIZE","0"),itemsGap:be.create("--ft-infinite-scroll-items-gap","","SIZE","4px"),itemContainerMinHeight:be.create("--ft-infinite-scroll-item-container-min-height","","SIZE",".1px")},nl=dt`
|
|
177
|
-
.items-container {
|
|
178
|
-
padding: ${il.padding};
|
|
179
|
-
outline: none;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
.scrollable {
|
|
183
|
-
height: 100%;
|
|
184
|
-
overflow-y: auto;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
.item-container + .item-container {
|
|
188
|
-
/*
|
|
189
|
-
We add a gap between items to be sure to hide the content above the targeted item
|
|
190
|
-
When a div is visible (even by a fraction of a pixel) if its height changes
|
|
191
|
-
the browser will try to keep the scroll stable in relation to the first visible element
|
|
192
|
-
By adding this gap we ensure that the previous item will be fully hidden
|
|
193
|
-
and even if its size changes, it will not impact the scroll offset
|
|
194
|
-
*/
|
|
195
|
-
margin-top: ${il.itemsGap};
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
.item-container:not(.rendered) {
|
|
199
|
-
height: 1000px;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.item-container.rendered {
|
|
203
|
-
display: flow-root;
|
|
204
|
-
min-height: ${il.itemContainerMinHeight};
|
|
205
|
-
}
|
|
206
|
-
`;var al=function(t,o,e,r){for(var i,n=arguments.length,a=n<3?o:null===r?r=Object.getOwnPropertyDescriptor(o,e):r,l=t.length-1;l>=0;l--)(i=t[l])&&(a=(n<3?i(a):n>3?i(o,e,a):i(o,e))||a);return n>3&&a&&Object.defineProperty(o,e,a),a};class ll extends CustomEvent{constructor(t,o){super("visible-items-change",{detail:{visibleIndexes:t,visibleItems:o}})}}class cl extends Event{constructor(){super("scrolled-to-target")}}class sl extends zi{constructor(){super(...arguments),this.items=[],this.renderItem=()=>Yt``,this.getItemKey=(t,o)=>`${o} - ${JSON.stringify(t)}`,this.internalScroll=!1,this.renderBeforeFirst=1,this.renderAfterLast=1,this.ensureScrollToTarget=!1,this.visibleItems=[],this.scrolledToTarget=!1,this.scrolling=!1,this.renderApprovalTimeouts=[],this.renderedIndexes=new Set,this.scrollDebouncer=new re(5),this.scrollDoneDebouncer=new re(10),this.onVisibilityChange=t=>{let o=new Set(this.visibleItems),e=new Set;for(let r of t){let t=+r.target.getAttribute("data-item-index");r.intersectionRect.height>0?(o.add(t),e.add(t)):e.has(t)||o.delete(t)}this.visibleItems=[...o].sort(((t,o)=>t-o))},this.intersectionObserver=new IntersectionObserver(this.onVisibilityChange),this.scrollingDebouncer=new re(50),this.ignoreNextScrollEvent=!1,this.scrollListener=()=>{var t;const o=this.ignoreNextScrollEvent;this.ignoreNextScrollEvent=!1,o||(this.scrolling=!0,this.scrollingDebouncer.run((()=>this.scrolling=!1)));const e=this.scrollable.scrollTop,r=e-(null!==(t=this.lastScrollTop)&&void 0!==t?t:0);if(this.lastScrollTop=e,this.scrolledToTarget){this.restoreScrollIfNeeded(o?0:r);const t=this.searchFirstVisibleItem(e,this.itemsContainer.children);this.scrollRestorationItem=t?+t.getAttribute("data-item-index"):void 0,this.scrollRestorationOffset=e-this.getOffset(t)}},this.restoreScrollIfNeeded=(t=0)=>{var o;const e=this.scrollable.scrollHeight,r=e-(null!==(o=this.lastScrollHeight)&&void 0!==o?o:e);if(this.lastScrollHeight=e,0!==r&&null!=this.scrollRestorationItem&&null!=this.scrollRestorationOffset&&this.scrolledToTarget){const o=this.getItem(this.scrollRestorationItem),e=this.getOffset(o),i=e+fe(0===this.scrollRestorationItem?-e:1,this.scrollRestorationOffset,o.clientHeight-1)+t-this.scrollable.scrollTop;(Math.abs(r-i)<4||Math.abs(i)>5)&&(this.ignoreNextScrollEvent=!0,this.scrollable.scrollTop+=i)}},this._shouldRestoreScroll=!1,this.scrollAdjustment=()=>{this.restoreScrollIfNeeded(),this.shouldRestoreScroll&&requestAnimationFrame(this.scrollAdjustment)},this.onMutation=()=>{for(let t of this.itemsContainer.children)this.intersectionObserver.observe(t)},this.mutationObserver=new MutationObserver(this.onMutation),this.resetVisibleItemsDebouncer=new re(10)}get scrollable(){var t;return null!==(t=this._scrollable)&&void 0!==t?t:document.body}set scrollable(t){var o,e,r,i;this._scrollable!==t&&(null===(o=this._scrollable)||void 0===o||o.removeEventListener("scroll",this.scrollListener),this._scrollable&&this.initialOverflowAnchorValue&&(this.scrollable.style.overflowAnchor=this.initialOverflowAnchorValue),this._scrollable=t,null===(e=this._scrollable)||void 0===e||e.addEventListener("scroll",this.scrollListener),this.lastScrollTop=null===(r=this._scrollable)||void 0===r?void 0:r.scrollTop,this.lastScrollHeight=null===(i=this._scrollable)||void 0===i?void 0:i.scrollHeight,this._scrollable&&(this.initialOverflowAnchorValue=getComputedStyle(this._scrollable).overflowAnchor,this._scrollable.style.overflowAnchor="none"))}render(){return Yt`
|
|
207
|
-
<div class="items-container ${this.internalScroll?"scrollable":""}"
|
|
208
|
-
tabindex="-1"
|
|
209
|
-
@find-scrollable-parent=${this.findScrollableParent}>
|
|
210
|
-
${Zo(this.items,((t,o)=>this.getItemKey(t,o)),((t,o)=>this.renderItemContainer(t,o)))}
|
|
211
|
-
</div>
|
|
212
|
-
`}renderItemContainer(t,o){this.prepareRenderIfNeeded(o);const e=this.scrolledToTarget&&this.visibleItems.includes(o),r=this.renderedIndexes.has(o);return Yt`
|
|
213
|
-
<div id="item-${o}"
|
|
214
|
-
class="item-container ${r?"rendered":""} ${e?"visible":""}"
|
|
215
|
-
data-item-index="${o}">
|
|
216
|
-
${r?(()=>{const e=this.renderItem(t,o);return"string"==typeof e?Vo(e):e})():Qt}
|
|
217
|
-
</div>
|
|
218
|
-
`}prepareRenderIfNeeded(t){const o=null!=this.renderApprovalTimeouts[t];this.inRenderRange(t)&&!o&&(this.renderApprovalTimeouts[t]=setTimeout((()=>{this.inRenderRange(t)?this.renderedIndexes.add(t):this.renderApprovalTimeouts[t]=void 0,this.requestUpdate()}),300))}inRenderRange(t){return t>=this.visibleItems[0]-this.renderBeforeFirst&&t<=(null!=(o=this.visibleItems)?o:[])[(null!=o?o:[]).length-1]+this.renderAfterLast;var o}resetScroll(t=!0){var o;if(this.shouldRestoreScroll=!1,this.intersectionObserver.disconnect(),this.visibleItems=[],this.scrolledToTarget=!1,this.internalScroll&&this.scrollable!==this.internalScrollable)this.scrollable=this.internalScrollable;else if(!this.internalScroll&&t)return void(null===(o=this.itemsContainer)||void 0===o||o.dispatchEvent(new Event("find-scrollable-parent",{composed:!0})));const e=this.resolveScrollToIndex();this.renderedIndexes.add(e),this.scrollToTarget(e),this.scrollDoneDebouncer.run((()=>{this.ensureScrollToTarget&&e>=0&&this.scrollDebouncer.run((()=>{Math.abs(this.scrollable.scrollTop-this.getOffset(e))>5&&this.scrollToTarget(e)}),500),this.scrollToTarget(e),this.scrolledToTarget=!0,this.shouldRestoreScroll=!0,this.resetIntersectionObserver()}))}resolveScrollToIndex(){var t;let o=null!==(t=this.scrollToIndex)&&void 0!==t?t:this.scrollToItem?this.items.indexOf(this.scrollToItem):-1;return o>=this.items.length?-1:o}getItem(t){var o,e,r;return null!==(e=null===(o=this.shadowRoot)||void 0===o?void 0:o.querySelector(`#item-${t}`))&&void 0!==e?e:null===(r=this.shadowRoot)||void 0===r?void 0:r.querySelector("#item-0")}scrollToTarget(t){t<=0?(this.scrollable.scrollTop=0,this.scrollRestorationOffset=-this.getOffset(t)):(this.scrollable.scrollTop=this.getOffset(t),this.scrollRestorationOffset=0),this.scrollRestorationItem=t>=0?t:void 0}getOffset(t){var o;let e=0,r="number"==typeof t?this.getItem(t):t;for(;r&&r.offsetParent!==this.scrollable.offsetParent;)e+=r.offsetTop,r=r.offsetParent;return e+(null!==(o=null==r?void 0:r.offsetTop)&&void 0!==o?o:0)-this.scrollable.offsetTop}appendItems(...t){this.items=[...this.items,...t]}prependItems(...t){this.items=[...t,...this.items]}connectedCallback(){super.connectedCallback(),setTimeout((()=>{this.mutationObserver.disconnect(),this.mutationObserver.observe(this.itemsContainer,{childList:!0}),this.resetScroll()}),0)}disconnectedCallback(){super.disconnectedCallback(),this.scrollable=void 0,this.intersectionObserver.disconnect(),this.mutationObserver.disconnect(),this.shouldRestoreScroll=!1}findScrollableParent(t){var o;let e,r;t.stopPropagation();for(let o of t.composedPath()){const t=o,i=this.elementCanScroll(t);if(i&&t.clientHeight&&t.clientHeight<t.scrollHeight){e=t;break}i&&null==r&&(r=t)}this.scrollable=null!==(o=null!=e?e:r)&&void 0!==o?o:document.body,this.resetScroll(!1)}elementCanScroll(t){try{return["auto","scroll"].includes(getComputedStyle(t).overflowY)}catch(t){return!1}}resetIntersectionObserver(){this.intersectionObserver.disconnect(),this.intersectionObserver=new IntersectionObserver(this.onVisibilityChange,{root:this.scrollable,rootMargin:"-8px",threshold:[0,.01,.1,1]}),this.onMutation()}searchFirstVisibleItem(t,o,e,r){if(e=null!=e?e:0,(r=null!=r?r:o.length-1)<=e)return o[e];const i=Math.floor((r-e)/2)+e,n=o[i];let a=this.getOffset(n);return a>t?this.searchFirstVisibleItem(t,o,e,i-1):a+n.clientHeight<t?this.searchFirstVisibleItem(t,o,i+1,r):n}get shouldRestoreScroll(){return this._shouldRestoreScroll}set shouldRestoreScroll(t){let o=t&&!this._shouldRestoreScroll;this._shouldRestoreScroll=t,o&&requestAnimationFrame(this.scrollAdjustment)}update(t){super.update(t),t.has("items")&&(this.renderedIndexes=new Set,this.renderApprovalTimeouts=[]),((t.has("scrollToItem")||t.has("scrollToIndex"))&&(null!=this.scrollToItem||null!=this.scrollToIndex)||t.has("internalScroll"))&&this.resetScroll()}updated(t){super.updated(t),(t.has("visibleItems")||t.has("items"))&&this.onVisibleItemsChange(),t.has("scrolledToTarget")&&this.scrolledToTarget&&(null!=this.scrollToItem||null!=this.scrollToIndex)&&this.dispatchEvent(new cl)}onVisibleItemsChange(){const t=this.visibleItems.every(((t,o)=>null==this.visibleItems[o+1]||t+1===this.visibleItems[o+1]));t||se(this.visibleItems,this.lastNotOkVisibleItems)?(this.resetVisibleItemsDebouncer.cancel(),this.dispatchVisibleItemsEvent()):this.resetVisibleItemsDebouncer.run((()=>{this.lastNotOkVisibleItems=[...this.visibleItems],this.visibleItems=[],this.resetIntersectionObserver()}))}dispatchVisibleItemsEvent(){var t;null===(t=this.cancelableDispatchEvent)||void 0===t||t.cancel(),this.cancelableDispatchEvent=Xo(ae((()=>!this.scrolling))),this.cancelableDispatchEvent.then((()=>this.dispatchEvent(new ll(this.visibleItems,this.visibleItems.map((t=>this.items[t])))))).catch((()=>null))}}sl.styles=nl,al([xo({type:Array})],sl.prototype,"items",void 0),al([xo({attribute:!1})],sl.prototype,"renderItem",void 0),al([xo({attribute:!1})],sl.prototype,"getItemKey",void 0),al([xo({type:Object})],sl.prototype,"scrollToItem",void 0),al([xo({type:Number})],sl.prototype,"scrollToIndex",void 0),al([xo({type:Boolean})],sl.prototype,"internalScroll",void 0),al([xo({type:Number})],sl.prototype,"renderBeforeFirst",void 0),al([xo({type:Number})],sl.prototype,"renderAfterLast",void 0),al([xo({type:Boolean})],sl.prototype,"ensureScrollToTarget",void 0),al([wo({hasChanged:(t,o)=>null!=t&&null==o||t.length!==o.length||t[0]!==o[0]})],sl.prototype,"visibleItems",void 0),al([No(".scrollable")],sl.prototype,"internalScrollable",void 0),al([No(".items-container")],sl.prototype,"itemsContainer",void 0),al([wo()],sl.prototype,"scrolledToTarget",void 0),al([wo()],sl.prototype,"scrolling",void 0),al([wo({hasChanged:(t,o)=>!se(t,o)})],sl.prototype,"renderedIndexes",void 0),ue("ft-infinite-scroll")(sl),t.FtInfiniteScroll=sl,t.FtInfiniteScrollCssVariables=il,t.ScrolledToTargetEvent=cl,t.VisibleItemsChangeEvent=ll,t.styles=nl}({});
|
|
275
|
+
*)
|
|
276
|
+
*/
|