@fluid-topics/ft-select 2.2.24 → 2.2.26

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.
@@ -1,11 +1,11 @@
1
- "use strict";(()=>{var Sl=Object.defineProperty;var I=(e,t)=>{for(var o in t)Sl(e,o,{get:t[o],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let e=window.HTMLElement,t=window.customElements.define,o=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(y,g){if(y=y.toLowerCase(),this._getDefinition(y)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${y}" has already been used with this registry`);if(this._definitionsByClass.get(g)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let x=g.prototype.attributeChangedCallback,R=new Set(g.observedAttributes||[]);m(g,R,x);let _={elementClass:g,connectedCallback:g.prototype.connectedCallback,disconnectedCallback:g.prototype.disconnectedCallback,adoptedCallback:g.prototype.adoptedCallback,attributeChangedCallback:x,formAssociated:g.formAssociated,formAssociatedCallback:g.prototype.formAssociatedCallback,formDisabledCallback:g.prototype.formDisabledCallback,formResetCallback:g.prototype.formResetCallback,formStateRestoreCallback:g.prototype.formStateRestoreCallback,observedAttributes:R};this._definitionsByTag.set(y,_),this._definitionsByClass.set(g,_);let D=o.call(n,y);D||(D=f(y),t.call(n,y,D)),this===window.customElements&&(s.set(g,_),_.standInClass=D);let W=this._awaitingUpgrade.get(y);if(W){this._awaitingUpgrade.delete(y);for(let M of W)a.delete(M),S(M,_,!0)}let T=this._whenDefinedPromises.get(y);return T!==void 0&&(T.resolve(g),this._whenDefinedPromises.delete(y)),g}upgrade(){E.push(this),n.upgrade.apply(n,arguments),E.pop()}get(y){return this._definitionsByTag.get(y)?.elementClass}_getDefinition(y){return this._definitionsByTag.get(y)}whenDefined(y){let g=this._getDefinition(y);if(g!==void 0)return Promise.resolve(g.elementClass);let x=this._whenDefinedPromises.get(y);return x===void 0&&(x={},x.promise=new Promise(R=>x.resolve=R),this._whenDefinedPromises.set(y,x)),x.promise}_upgradeWhenDefined(y,g,x){let R=this._awaitingUpgrade.get(g);R||this._awaitingUpgrade.set(g,R=new Set),x?R.add(y):R.delete(y)}};let u;window.HTMLElement=function(){let g=u;if(g)return u=void 0,g;let x=s.get(this.constructor);if(!x)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return g=Reflect.construct(e,[],x.standInClass),Object.setPrototypeOf(g,this.constructor.prototype),i.set(g,x),g},window.HTMLElement.prototype=e.prototype;let p=y=>y===document||y instanceof ShadowRoot,h=y=>{let g=y.getRootNode();if(!p(g)){let x=E[E.length-1];if(x instanceof CustomElementRegistry)return x;g=x.getRootNode(),p(g)||(g=l.get(g)?.getRootNode()||document)}return g.customElements},f=y=>class{static get formAssociated(){return!0}constructor(){let x=Reflect.construct(e,[],this.constructor);Object.setPrototypeOf(x,HTMLElement.prototype);let R=h(x)||window.customElements,_=R._getDefinition(y);return _?S(x,_):a.set(x,R),x}connectedCallback(){let x=i.get(this);x?x.connectedCallback&&x.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,y,!0)}disconnectedCallback(){let x=i.get(this);x?x.disconnectedCallback&&x.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,y,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let x=i.get(this);x&&x.formAssociated&&x?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let x=i.get(this);x?.formAssociated&&x?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let x=i.get(this);x?.formAssociated&&x?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let x=i.get(this);x?.formAssociated&&x?.formStateRestoreCallback?.apply(this,arguments)}},m=(y,g,x)=>{if(g.size===0||x===void 0)return;let R=y.prototype.setAttribute;R&&(y.prototype.setAttribute=function(W,T){let M=W.toLowerCase();if(g.has(M)){let K=this.getAttribute(M);R.call(this,M,T),x.call(this,M,K,T)}else R.call(this,M,T)});let _=y.prototype.removeAttribute;_&&(y.prototype.removeAttribute=function(W){let T=W.toLowerCase();if(g.has(T)){let M=this.getAttribute(T);_.call(this,T),x.call(this,T,M,null)}else _.call(this,T)});let D=y.prototype.toggleAttribute;D&&(y.prototype.toggleAttribute=function(W,T){let M=W.toLowerCase();if(g.has(M)){let K=this.getAttribute(M);D.call(this,M,T);let ve=this.getAttribute(M);x.call(this,M,K,ve)}else D.call(this,M,T)})},b=y=>{let g=Object.getPrototypeOf(y);if(g!==window.HTMLElement)return g===e?Object.setPrototypeOf(y,window.HTMLElement):b(g)},S=(y,g,x=!1)=>{Object.setPrototypeOf(y,g.elementClass.prototype),i.set(y,g),u=y;try{new g.elementClass}catch{b(g.elementClass),new g.elementClass}g.attributeChangedCallback&&g.observedAttributes.forEach(R=>{y.hasAttribute(R)&&g.attributeChangedCallback.call(y,R,null,y.getAttribute(R))}),x&&g.connectedCallback&&y.isConnected&&g.connectedCallback.call(y)},C=Element.prototype.attachShadow;Element.prototype.attachShadow=function(y){let g=C.apply(this,arguments);return y.customElements&&(g.customElements=y.customElements),g};let E=[document],A=(y,g,x=void 0)=>{let R=(x?Object.getPrototypeOf(x):y.prototype)[g];y.prototype[g]=function(){E.push(this);let _=R.apply(x||this,arguments);return _!==void 0&&l.set(_,this),E.pop(),_}};A(ShadowRoot,"createElement",document),A(ShadowRoot,"importNode",document),A(Element,"insertAdjacentHTML");let P=(y,g)=>{let x=Object.getOwnPropertyDescriptor(y.prototype,g);Object.defineProperty(y.prototype,g,{...x,set(R){E.push(this),x.set.call(this,R),E.pop()}})};if(P(Element,"innerHTML"),P(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let y=new WeakMap,g=HTMLElement.prototype.attachInternals,x=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...W){let T=g.call(this,...W);return y.set(T,this),T},x.forEach(W=>{let T=window.ElementInternals.prototype,M=T[W];T[W]=function(...K){let ve=y.get(this);if(i.get(ve).formAssociated===!0)return M?.call(this,...K);throw new DOMException(`Failed to execute ${M} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class R extends Array{constructor(T){super(...T),this._elements=T}get value(){return this._elements.find(T=>T.checked===!0)?.value||""}}class _{constructor(T){let M=new Map;T.forEach((K,ve)=>{let ho=K.getAttribute("name"),Ii=M.get(ho)||[];this[+ve]=K,Ii.push(K),M.set(ho,Ii)}),this.length=T.length,M.forEach((K,ve)=>{K&&(K.length===1?this[ve]=K[0]:this[ve]=new R(K))})}namedItem(T){return this[T]}}let D=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let W=D.get.call(this,[]),T=[];for(let M of W){let K=i.get(M);(!K||K.formAssociated===!0)&&T.push(M)}return new _(T)}})}}try{window.customElements.define("custom-element",null)}catch{let t=window.customElements.define;window.customElements.define=(o,n,i)=>{var a;if(n!==null)try{t.bind(window.customElements)(o,n,i)}catch(s){!((a=s.message)===null||a===void 0)&&a.includes("this constructor has already been used")?window.customElements.define(o,class extends n{},i):console.info(o,n,i,s)}}}var Ro={};I(Ro,{CSSResult:()=>vt,LitElement:()=>fe,ReactiveElement:()=>ue,_$LE:()=>Pl,_$LH:()=>Co,adoptStyles:()=>jt,css:()=>N,defaultConverter:()=>Ot,getCompatibleStyle:()=>Ar,html:()=>j,isServer:()=>rf,mathml:()=>Oo,noChange:()=>Z,notEqual:()=>Zt,nothing:()=>U,render:()=>Ao,supportsAdoptingStyleSheets:()=>Vt,svg:()=>vo,unsafeCSS:()=>Wt});var Cr=globalThis,Vt=Cr.ShadowRoot&&(Cr.ShadyCSS===void 0||Cr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,mo=Symbol(),ki=new WeakMap,vt=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==mo)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o,o=this.t;if(Vt&&t===void 0){let n=o!==void 0&&o.length===1;n&&(t=ki.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&ki.set(o,t))}return t}toString(){return this.cssText}},Wt=e=>new vt(typeof e=="string"?e:e+"",void 0,mo),N=(e,...t)=>{let o=e.length===1?e[0]:t.reduce((n,i,a)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+e[a+1],e[0]);return new vt(o,e,mo)},jt=(e,t)=>{if(Vt)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),i=Cr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)}},Ar=Vt?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return Wt(o)})(e):e;var{is:El,defineProperty:vl,getOwnPropertyDescriptor:Ol,getOwnPropertyNames:Cl,getOwnPropertySymbols:Al,getPrototypeOf:wl}=Object,wr=globalThis,Di=wr.trustedTypes,Rl=Di?Di.emptyScript:"",_l=wr.reactiveElementPolyfillSupport,Kt=(e,t)=>e,Ot={toAttribute(e,t){switch(t){case Boolean:e=e?Rl:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let o=e;switch(t){case Boolean:o=e!==null;break;case Number:o=e===null?null:Number(e);break;case Object:case Array:try{o=JSON.parse(e)}catch{o=null}}return o}},Zt=(e,t)=>!El(e,t),Mi={attribute:!0,type:String,converter:Ot,reflect:!1,useDefault:!1,hasChanged:Zt};Symbol.metadata??=Symbol("metadata"),wr.litPropertyMetadata??=new WeakMap;var ue=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=Mi){if(o.state&&(o.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((o=Object.create(o)).wrapped=!0),this.elementProperties.set(t,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,o);i!==void 0&&vl(this.prototype,t,i)}}static getPropertyDescriptor(t,o,n){let{get:i,set:a}=Ol(this.prototype,t)??{get(){return this[o]},set(s){this[o]=s}};return{get:i,set(s){let l=i?.call(this);a?.call(this,s),this.requestUpdate(t,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Mi}static _$Ei(){if(this.hasOwnProperty(Kt("elementProperties")))return;let t=wl(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Kt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Kt("properties"))){let o=this.properties,n=[...Cl(o),...Al(o)];for(let i of n)this.createProperty(i,o[i])}let t=this[Symbol.metadata];if(t!==null){let o=litPropertyMetadata.get(t);if(o!==void 0)for(let[n,i]of o)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let i=this._$Eu(o,n);i!==void 0&&this._$Eh.set(i,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let o=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)o.unshift(Ar(i))}else t!==void 0&&o.push(Ar(t));return o}static _$Eu(t,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return jt(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,o,n){this._$AK(t,n)}_$ET(t,o){let n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:Ot).toAttribute(o,n.type);this._$Em=t,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(t,o){let n=this.constructor,i=n._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Ot;this._$Em=i;let l=s.fromAttribute(o,a.type);this[i]=l??this._$Ej?.get(i)??l,this._$Em=null}}requestUpdate(t,o,n,i=!1,a){if(t!==void 0){let s=this.constructor;if(i===!1&&(a=this[t]),n??=s.getPropertyOptions(t),!((n.hasChanged??Zt)(a,o)||n.useDefault&&n.reflect&&a===this._$Ej?.get(t)&&!this.hasAttribute(s._$Eu(t,n))))return;this.C(t,o,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,o,{useDefault:n,reflect:i,wrapped:a},s){n&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,s??o??this[t]),a!==!0||s!==void 0)||(this._$AL.has(t)||(this.hasUpdated||n||(o=void 0),this._$AL.set(t,o)),i===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(o){Promise.reject(o)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n){let{wrapped:s}=a,l=this[i];s!==!0||this._$AL.has(i)||l===void 0||this.C(i,void 0,a,l)}}let t=!1,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$EO?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$EM()}catch(n){throw t=!1,this._$EM(),n}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$EO?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(o=>this._$ET(o,this[o])),this._$EM()}updated(t){}firstUpdated(t){}};ue.elementStyles=[],ue.shadowRootOptions={mode:"open"},ue[Kt("elementProperties")]=new Map,ue[Kt("finalized")]=new Map,_l?.({ReactiveElement:ue}),(wr.reactiveElementVersions??=[]).push("2.1.2");var go=globalThis,Ui=e=>e,Rr=go.trustedTypes,Fi=Rr?Rr.createPolicy("lit-html",{createHTML:e=>e}):void 0,bo="$lit$",Te=`lit$${Math.random().toFixed(9).slice(2)}$`,xo="?"+Te,Tl=`<${xo}>`,Ze=document,Yt=()=>Ze.createComment(""),Xt=e=>e===null||typeof e!="object"&&typeof e!="function",So=Array.isArray,Vi=e=>So(e)||typeof e?.[Symbol.iterator]=="function",yo=`[
2
- \f\r]`,qt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,$i=/-->/g,Bi=/>/g,je=RegExp(`>|${yo}(?:([^\\s"'>=/]+)(${yo}*=${yo}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),zi=/'/g,Hi=/"/g,Wi=/^(?:script|style|textarea|title)$/i,Eo=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),j=Eo(1),vo=Eo(2),Oo=Eo(3),Z=Symbol.for("lit-noChange"),U=Symbol.for("lit-nothing"),Gi=new WeakMap,Ke=Ze.createTreeWalker(Ze,129);function ji(e,t){if(!So(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Fi!==void 0?Fi.createHTML(t):t}var Ki=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":t===3?"<math>":"",s=qt;for(let l=0;l<o;l++){let u=e[l],p,h,f=-1,m=0;for(;m<u.length&&(s.lastIndex=m,h=s.exec(u),h!==null);)m=s.lastIndex,s===qt?h[1]==="!--"?s=$i:h[1]!==void 0?s=Bi:h[2]!==void 0?(Wi.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=je):h[3]!==void 0&&(s=je):s===je?h[0]===">"?(s=i??qt,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?je:h[3]==='"'?Hi:zi):s===Hi||s===zi?s=je:s===$i||s===Bi?s=qt:(s=je,i=void 0);let b=s===je&&e[l+1].startsWith("/>")?" ":"";a+=s===qt?u+Tl:f>=0?(n.push(p),u.slice(0,f)+bo+u.slice(f)+Te+b):u+Te+(f===-2?l:b)}return[ji(e,a+(e[o]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},Jt=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,l=t.length-1,u=this.parts,[p,h]=Ki(t,o);if(this.el=e.createElement(p,n),Ke.currentNode=this.el.content,o===2||o===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=Ke.nextNode())!==null&&u.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(bo)){let m=h[s++],b=i.getAttribute(f).split(Te),S=/([.?@])?(.*)/.exec(m);u.push({type:1,index:a,name:S[2],strings:b,ctor:S[1]==="."?Tr:S[1]==="?"?Lr:S[1]==="@"?Nr:Ye}),i.removeAttribute(f)}else f.startsWith(Te)&&(u.push({type:6,index:a}),i.removeAttribute(f));if(Wi.test(i.tagName)){let f=i.textContent.split(Te),m=f.length-1;if(m>0){i.textContent=Rr?Rr.emptyScript:"";for(let b=0;b<m;b++)i.append(f[b],Yt()),Ke.nextNode(),u.push({type:2,index:++a});i.append(f[m],Yt())}}}else if(i.nodeType===8)if(i.data===xo)u.push({type:2,index:a});else{let f=-1;for(;(f=i.data.indexOf(Te,f+1))!==-1;)u.push({type:7,index:a}),f+=Te.length-1}a++}}static createElement(t,o){let n=Ze.createElement("template");return n.innerHTML=t,n}};function qe(e,t,o=e,n){if(t===Z)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=Xt(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=qe(e,i._$AS(e,t.values),i,n)),t}var _r=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,i=(t?.creationScope??Ze).importNode(o,!0);Ke.currentNode=i;let a=Ke.nextNode(),s=0,l=0,u=n[0];for(;u!==void 0;){if(s===u.index){let p;u.type===2?p=new Ct(a,a.nextSibling,this,t):u.type===1?p=new u.ctor(a,u.name,u.strings,this,t):u.type===6&&(p=new Pr(a,this,t)),this._$AV.push(p),u=n[++l]}s!==u?.index&&(a=Ke.nextNode(),s++)}return Ke.currentNode=Ze,i}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},Ct=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=U,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=qe(this,t,o),Xt(t)?t===U||t==null||t===""?(this._$AH!==U&&this._$AR(),this._$AH=U):t!==this._$AH&&t!==Z&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Vi(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==U&&Xt(this._$AH)?this._$AA.nextSibling.data=t:this.T(Ze.createTextNode(t)),this._$AH=t}$(t){let{values:o,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=Jt.createElement(ji(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new _r(i,this),s=a.u(this.options);a.p(o),this.T(s),this._$AH=a}}_$AC(t){let o=Gi.get(t.strings);return o===void 0&&Gi.set(t.strings,o=new Jt(t)),o}k(t){So(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of t)i===o.length?o.push(n=new e(this.O(Yt()),this.O(Yt()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t!==this._$AB;){let n=Ui(t).nextSibling;Ui(t).remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Ye=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,a){this.type=1,this._$AH=U,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=U}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=qe(this,t,o,0),s=!Xt(t)||t!==this._$AH&&t!==Z,s&&(this._$AH=t);else{let l=t,u,p;for(t=a[0],u=0;u<a.length-1;u++)p=qe(this,l[n+u],o,u),p===Z&&(p=this._$AH[u]),s||=!Xt(p)||p!==this._$AH[u],p===U?t=U:t!==U&&(t+=(p??"")+a[u+1]),this._$AH[u]=p}s&&!i&&this.j(t)}j(t){t===U?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Tr=class extends Ye{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===U?void 0:t}},Lr=class extends Ye{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==U)}},Nr=class extends Ye{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=qe(this,t,o,0)??U)===Z)return;let n=this._$AH,i=t===U&&n!==U||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==U&&(n===U||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Pr=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){qe(this,t)}},Co={M:bo,P:Te,A:xo,C:1,L:Ki,R:_r,D:Vi,V:qe,I:Ct,H:Ye,N:Lr,U:Nr,B:Tr,F:Pr},Ll=go.litHtmlPolyfillSupport;Ll?.(Jt,Ct),(go.litHtmlVersions??=[]).push("3.3.3");var Ao=(e,t,o)=>{let n=o?.renderBefore??t,i=n._$litPart$;if(i===void 0){let a=o?.renderBefore??null;n._$litPart$=i=new Ct(t.insertBefore(Yt(),a),a,void 0,o??{})}return i._$AI(e),i};var wo=globalThis,fe=class extends ue{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Ao(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Z}};fe._$litElement$=!0,fe.finalized=!0,wo.litElementHydrateSupport?.({LitElement:fe});var Nl=wo.litElementPolyfillSupport;Nl?.({LitElement:fe});var Pl={_$AK:(e,t,o)=>{e._$AK(t,o)},_$AL:e=>e._$AL};(wo.litElementVersions??=[]).push("4.2.2");var rf=!1;var _o={};I(_o,{customElement:()=>Il,eventOptions:()=>Dl,property:()=>O,query:()=>ie,queryAll:()=>Ul,queryAssignedElements:()=>$l,queryAssignedNodes:()=>Bl,queryAsync:()=>Fl,standardProperty:()=>Zi,state:()=>$});var Il=e=>(t,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var kl={attribute:!0,type:String,converter:Ot,reflect:!1,hasChanged:Zt},Zi=(e=kl,t,o)=>{let{kind:n,metadata:i}=o,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),n==="setter"&&((e=Object.create(e)).wrapped=!0),a.set(o.name,e),n==="accessor"){let{name:s}=o;return{set(l){let u=t.get.call(this);t.set.call(this,l),this.requestUpdate(s,u,e,!0,l)},init(l){return l!==void 0&&this.C(s,void 0,e,l),l}}}if(n==="setter"){let{name:s}=o;return function(l){let u=this[s];t.call(this,l),this.requestUpdate(s,u,e,!0,l)}}throw Error("Unsupported decorator location: "+n)};function O(e){return(t,o)=>typeof o=="object"?Zi(e,t,o):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(e,t,o)}function $(e){return O({...e,state:!0,attribute:!1})}function Dl(e){return(t,o)=>{let n=typeof t=="function"?t:t[o];Object.assign(n,e)}}var he=(e,t,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,o),o);function ie(e,t){return(o,n,i)=>{let a=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:l}=typeof n=="object"?o:i??(()=>{let u=Symbol();return{get(){return this[u]},set(p){this[u]=p}}})();return he(o,n,{get(){let u=s.call(this);return u===void 0&&(u=a(this),(u!==null||this.hasUpdated)&&l.call(this,u)),u}})}return he(o,n,{get(){return a(this)}})}}var Ml;function Ul(e){return(t,o)=>he(t,o,{get(){return(this.renderRoot??(Ml??=document.createDocumentFragment())).querySelectorAll(e)}})}function Fl(e){return(t,o)=>he(t,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function $l(e){return(t,o)=>{let{slot:n,selector:i}=e??{},a="slot"+(n?`[name=${n}]`:":not([name])");return he(t,o,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(e)??[];return i===void 0?l:l.filter(u=>u.matches(i))}})}}function Bl(e){return(t,o)=>{let{slot:n}=e??{},i="slot"+(n?`[name=${n}]`:":not([name])");return he(t,o,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(e)??[]}})}}var To={};I(To,{repeat:()=>wt});var Oe={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ae=e=>(...t)=>({_$litDirective$:e,values:t}),pe=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,n){this._$Ct=t,this._$AM=o,this._$Ci=n}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};var{I:zl}=Co,qi=e=>e;var Xi=e=>e.strings===void 0,Yi=()=>document.createComment(""),At=(e,t,o)=>{let n=e._$AA.parentNode,i=t===void 0?e._$AB:t._$AA;if(o===void 0){let a=n.insertBefore(Yi(),i),s=n.insertBefore(Yi(),i);o=new zl(a,s,e,e.options)}else{let a=o._$AB.nextSibling,s=o._$AM,l=s!==e;if(l){let u;o._$AQ?.(e),o._$AM=e,o._$AP!==void 0&&(u=e._$AU)!==s._$AU&&o._$AP(u)}if(a!==i||l){let u=o._$AA;for(;u!==a;){let p=qi(u).nextSibling;qi(n).insertBefore(u,i),u=p}}}return o},Ue=(e,t,o=e)=>(e._$AI(t,o),e),Hl={},Ji=(e,t=Hl)=>e._$AH=t,Qi=e=>e._$AH,Ir=e=>{e._$AR(),e._$AA.remove()};var ea=(e,t,o)=>{let n=new Map;for(let i=t;i<=o;i++)n.set(e[i],i);return n},wt=ae(class extends pe{constructor(e){if(super(e),e.type!==Oe.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,t,o){let n;o===void 0?o=t:t!==void 0&&(n=t);let i=[],a=[],s=0;for(let l of e)i[s]=n?n(l,s):s,a[s]=o(l,s),s++;return{values:a,keys:i}}render(e,t,o){return this.dt(e,t,o).values}update(e,[t,o,n]){let i=Qi(e),{values:a,keys:s}=this.dt(t,o,n);if(!Array.isArray(i))return this.ut=s,a;let l=this.ut??=[],u=[],p,h,f=0,m=i.length-1,b=0,S=a.length-1;for(;f<=m&&b<=S;)if(i[f]===null)f++;else if(i[m]===null)m--;else if(l[f]===s[b])u[b]=Ue(i[f],a[b]),f++,b++;else if(l[m]===s[S])u[S]=Ue(i[m],a[S]),m--,S--;else if(l[f]===s[S])u[S]=Ue(i[f],a[S]),At(e,u[S+1],i[f]),f++,S--;else if(l[m]===s[b])u[b]=Ue(i[m],a[b]),At(e,i[f],i[m]),m--,b++;else if(p===void 0&&(p=ea(s,b,S),h=ea(l,f,m)),p.has(l[f]))if(p.has(l[m])){let C=h.get(s[b]),E=C!==void 0?i[C]:null;if(E===null){let A=At(e,i[f]);Ue(A,a[b]),u[b]=A}else u[b]=Ue(E,a[b]),At(e,i[f],E),i[C]=null;b++}else Ir(i[m]),m--;else Ir(i[f]),f++;for(;b<=S;){let C=At(e,u[S+1]);Ue(C,a[b]),u[b++]=C}for(;f<=m;){let C=i[f++];C!==null&&Ir(C)}return this.ut=s,Ji(e,u),Z}});var Lo={};I(Lo,{classMap:()=>Le});var Le=ae(class extends pe{constructor(e){if(super(e),e.type!==Oe.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.st===void 0){this.st=new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in t)t[n]&&!this.nt?.has(n)&&this.st.add(n);return this.render(t)}let o=e.element.classList;for(let n of this.st)n in t||(o.remove(n),this.st.delete(n));for(let n in t){let i=!!t[n];i===this.st.has(n)||this.nt?.has(n)||(i?(o.add(n),this.st.add(n)):(o.remove(n),this.st.delete(n)))}return Z}});var No={};I(No,{styleMap:()=>Vl});var ta="important",Gl=" !"+ta,Vl=ae(class extends pe{constructor(e){if(super(e),e.type!==Oe.ATTRIBUTE||e.name!=="style"||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,o)=>{let n=e[o];return n==null?t:t+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(e,[t]){let{style:o}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let n of this.ft)t[n]==null&&(this.ft.delete(n),n.includes("-")?o.removeProperty(n):o[n]=null);for(let n in t){let i=t[n];if(i!=null){this.ft.add(n);let a=typeof i=="string"&&i.endsWith(Gl);n.includes("-")||a?o.setProperty(n,a?i.slice(0,-11):i,a?ta:""):o[n]=i}}return Z}});var Io={};I(Io,{UnsafeHTMLDirective:()=>Rt,unsafeHTML:()=>Po});var Rt=class extends pe{constructor(t){if(super(t),this.it=U,t.type!==Oe.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===U||t==null)return this._t=void 0,this.it=t;if(t===Z)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;let o=[t];return o.raw=o,this._t={_$litType$:this.constructor.resultType,strings:o,values:[]}}};Rt.directiveName="unsafeHTML",Rt.resultType=1;var Po=ae(Rt);var ko={};I(ko,{splitBreadcrumbForMenu:()=>Wl});function Wl(e,t=0,o=0){if(e.length===0)return{beforeMenu:[],inMenu:[],afterMenu:[]};let n=Math.max(o,1),i=e.slice(n*-1);return t+n>=e.length?{beforeMenu:[],inMenu:[],afterMenu:e}:{beforeMenu:e.slice(0,t),inMenu:e.slice(t,e.length-i.length),afterMenu:i}}var Wo={};I(Wo,{CacheRegistry:()=>Vo,ClearCacheEvent:()=>rr});var Mo={};I(Mo,{CancelablePromise:()=>kr,CanceledPromiseError:()=>Qt,cancelable:()=>Do});var Qt=class extends Error{constructor(t,o,n){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=n}},kr=class extends Promise{constructor(t){super((o,n)=>t(i=>{this.isCanceled?n(new Qt("Promise has been canceled",i)):o(i)},i=>{this.isCanceled?n(new Qt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Do=e=>new kr((t,o)=>e.then(t).catch(o));var Go={};I(Go,{FtNotificationEvent:()=>tr,PostResizeEvent:()=>Ho,PreResizeEvent:()=>zo,WithEventBus:()=>Je,withEventBus:()=>pa});var Bo={};I(Bo,{applyMixinOnce:()=>se,customElements:()=>ye,dateReviver:()=>Yl,deepCopy:()=>_t,deepEqual:()=>me,delay:()=>ia,eventPathContainsMatchingElement:()=>Jl,everyDeep:()=>ql,flatDeep:()=>sa,forEachDeep:()=>ca,getComposedPathTo:()=>$o,groupBy:()=>td,hasChanged:()=>Fe,ignoreComposingEvents:()=>ed,last:()=>Fo,minmax:()=>Xe,parseDate:()=>da,randomId:()=>Ql,someDeep:()=>la,unslotText:()=>ua,waitFor:()=>aa,waitUntil:()=>Zl});var Uo={};I(Uo,{customElement:()=>er,dateProperty:()=>Kl,isNumber:()=>na,jsonProperty:()=>Dr,jsonPropertyConverter:()=>ra,numberProperty:()=>oa,optionalNumberProperty:()=>jl});var er=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)},ra=e=>({fromAttribute:t=>{if(t==null)return _t(e);try{return JSON.parse(t)}catch{return _t(e)}},toAttribute:t=>JSON.stringify(t)});function Dr(e,t){return O({type:Object,converter:ra(e),hasChanged:Fe,...t??{}})}function jl(e){return oa(e)}function oa(e){return O({type:Object,converter:{fromAttribute:t=>{var o,n;if(t==null)return;let i=(o=e?.min)!==null&&o!==void 0?o:-1/0,a=(n=e?.max)!==null&&n!==void 0?n:1/0;return na(t)?Xe(i,+t,a):void 0},toAttribute:t=>t==null?void 0:""+t},useDefault:!0,...e??{}})}function na(e){return!isNaN(parseFloat(e))}function Kl(e){return O({type:Object,converter:{fromAttribute:t=>{if(t==null)return;let o=new Date(Date.parse(t));if(!isNaN(o.valueOf()))return o},toAttribute:t=>t?.toISOString()},useDefault:!0,...e??{}})}var ia=e=>new Promise(t=>setTimeout(t,e));async function Zl(e,t=10,o=2e4){await aa(async()=>await e()||void 0,t,o)}async function aa(e,t=10,o=2e4){let n=await e(),i=performance.now(),a=i;for(;n==null&&(!o||a-i<o);)await ia(t),n=await e(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function sa(e,t){return e.flatMap(o=>[o,...sa(t(o),t)])}function ca(e,t,o){let n=(i,a)=>{var s;for(let l=0;l<i.length;l++){let u=i[l];if(!(((s=o(u,l,i,a))!==null&&s!==void 0?s:!0)&&n(t(u),[...a,u])))return!1}return!0};n(e,[])}function la(e,t,o){let n=!1;return ca(e,t,(i,a,s,l)=>(n=!!o(i,a,s,l),!n)),n}function ql(e,t,o){return!la(e,t,(n,i,a,s)=>!o(n,i,a,s))}function Yl(...e){return(t,o)=>e.includes(t)?da(o):o}function da(e){return e.match(/^\d{4}-\d{2}-\d{2}$/)&&(e=e.replace(/-/g,"/")),e=e.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(t,o,n,i)=>o+n+":"+i),new Date(e)}function Xl(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let o,n;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!me(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!me(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let i=s=>Object.keys(s).filter(l=>s[l]!=null),a=i(e);if(o=a.length,o!==i(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[n]))return!1;for(n=o;n--!==0;){let s=a[n];if(!me(e[s],t[s]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function me(e,t){try{return Xl(e,t)}catch{return!1}}function Fe(e,t){return!me(e,t)}function Jl(e,t,o=window.document.body){if(t.length>0){let n=e.composedPath();for(let i of n){if(i===o)return!1;if(i.matches&&t.some(a=>i.matches(a)))return!0}}return!1}function Xe(e,t,o){return Math.min(Math.max(e,t),o)}function Fo(e){return e[e.length-1]}function ua(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(t=>ua(t)).join(""):e?.textContent||""}function $o(e){let t=[],o=n=>{n.stopPropagation(),t=n.composedPath()};return e.addEventListener("get-composed-path",o),e.dispatchEvent(new Event("get-composed-path",{composed:!0})),e.removeEventListener("get-composed-path",o),t}function _t(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function Ql(e,t){return(t??"")+(""+Math.floor(Math.random()*10**e)).padStart(e,"0")}function se(e,t){let o=n=>n[e]===!0;return n=>{if(o(n))return n;let i=t(n);return i[e]=!0,i}}function ed(){return function(e,t,o){let n=o.value;o.value=function(i,...a){if(i.isComposing||i.keyCode===229){i.stopPropagation();return}return n.apply(this,[i].concat(a))}}}function ye(e){for(let[t,o]of Object.entries(e))er(t)(o)}function td(e,t){var o,n;let i=typeof t=="function"?t:s=>s[t],a={};for(let s of e)((o=a[n=i(s)])!==null&&o!==void 0?o:a[n]=[]).push(s);return a}var tr=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},zo=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Ho=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},pa=se(Symbol("withEventBus"),function(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(o,n,i){this.eventBus.addEventListener(o,n,i)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,i){this.eventBus.removeEventListener(o,n,i)}}}),Je=class extends pa(Object){};var rr=class extends CustomEvent{constructor(t){super("clear-cache",{detail:{clearedKeys:t}})}},Vo=class extends Je{constructor(){super(...arguments),this.content={}}register(t,o,n=!1){var i;let a=this.content[t],s=(i=a?.status)!==null&&i!==void 0?i:"REGISTERED";this.content[t]={...a,loader:o,final:n,status:s}}registerFinal(t,o){this.register(t,o,!0)}clearAll(t=!0){return this.clearMatching(()=>!0,t)}clearMatching(t,o=!0){let n=Object.keys(this.content).filter(t).filter(i=>this.clear(i,!1)!=null);return o&&n.length>0&&this.dispatchEvent(new rr(n)),n}clear(t,o=!0){if(this.content[t]&&!this.content[t].final)return this.forceClear(t),o&&this.dispatchEvent(new rr([t])),t}forceClear(t){var o;let n=this.content[t];n&&(this.clearClearTimeout(t),(o=n.promise)===null||o===void 0||o.cancel(),this.content[t]={loader:n.loader,final:n.final,status:"REGISTERED"})}clearClearTimeout(t){var o,n,i;((o=this.content[t])===null||o===void 0?void 0:o.clearTimeout)!=null&&(window.clearTimeout((n=this.content[t])===null||n===void 0?void 0:n.clearTimeout),(i=this.content[t])===null||i===void 0||delete i.clearTimeout)}set(t,o,n=!1){this.forceClear(t);let i=async()=>o,a="RESOLVED";this.content[t]={loader:i,final:n,status:a,value:o}}setFinal(t,o){return this.set(t,o,!0)}async get(t,o,n){if(!this.isRegistered(t)){if(!o)throw new Error("Unknown cache key "+t);this.register(t,o)}let i=this.content[t];switch(i.status){case"ERROR":throw i.error;case"LOADING":return i.promise;case"RESOLVED":return i.value;case"REGISTERED":return o=o??i.loader,i.status="LOADING",i.promise=Do(o()),i.promise.then(a=>(i.status="RESOLVED",i.value=a,n!=null&&(this.clearClearTimeout(t),i.clearTimeout=window.setTimeout(()=>this.clear(t),n)),a)).catch(a=>{var s;throw!((s=i.promise)===null||s===void 0)&&s.isCanceled||(i.status="ERROR",i.error=a),a})}}isRegistered(t){return this.content[t]!=null}getNow(t){var o;return(o=this.content[t])===null||o===void 0?void 0:o.value}has(t){var o,n;return((o=this.content[t])===null||o===void 0?void 0:o.status)!==void 0&&((n=this.content[t])===null||n===void 0?void 0:n.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(t=>{var o;return((o=this.content[t])===null||o===void 0?void 0:o.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(t=>this.content[t].value)}keys(){return Object.keys(this.content)}};var en={};I(en,{ClusteringHelper:()=>Qo,formatHierarchicalValues:()=>Jo});var Xo={};I(Xo,{accessBreadcrumb:()=>ld,accessResult:()=>Yo,accessResultId:()=>sd,accessResultUrl:()=>cd,enrichReaderUrl:()=>qo});var Zo={};I(Zo,{SearchPlaceConverter:()=>Qe,SearchPlaceQueryParams:()=>L,isSearchPlaceQueryParams:()=>es,serializeRequest:()=>id});var rd=e=>typeof e=="object"&&e!=null;var od=e=>typeof e=="number",Mr=e=>typeof e=="string",Ko=e=>rd(e)&&Mr(e.endpoint)&&Mr(e.method)&&Mr(e.statusText)&&Mr(e.body)&&od(e.status),fa;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(fa||(fa={}));var ha;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(ha||(ha={}));var ma;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(ma||(ma={}));var ya;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(ya||(ya={}));var ga;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(ga||(ga={}));var ba;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(ba||(ba={}));var xa;(function(e){e.OFFICIAL="OFFICIAL",e.AI="AI"})(xa||(xa={}));var Sa;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.CHATBOT__RATE="CHATBOT__RATE",e.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",e.DOCUMENT__ON_DEMAND_TRANSLATE="DOCUMENT__ON_DEMAND_TRANSLATE",e.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",e.DOCUMENT__PRINT="DOCUMENT__PRINT",e.DOCUMENT__PROCESS="DOCUMENT__PROCESS",e.DOCUMENT__RATE="DOCUMENT__RATE",e.DOCUMENT__SEARCH="DOCUMENT__SEARCH",e.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",e.DOCUMENT__UNRATE="DOCUMENT__UNRATE",e.FEEDBACK__SEND="FEEDBACK__SEND",e.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",e.AI__RATE="AI__RATE",e.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",e.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",e.KHUB__PROCESS="KHUB__PROCESS",e.KHUB__SEARCH="KHUB__SEARCH",e.LABELS__DOWNLOAD="LABELS__DOWNLOAD",e.LINK__SHARE="LINK__SHARE",e.PAGE__DISPLAY="PAGE__DISPLAY",e.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",e.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",e.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",e.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",e.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",e.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",e.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",e.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",e.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",e.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",e.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",e.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})(Sa||(Sa={}));var Ea;(function(e){e.STANDARD="STANDARD",e.STRUCTURAL="STRUCTURAL"})(Ea||(Ea={}));var va;(function(e){e.METADATA_FILTER="METADATA_FILTER",e.ACCESS_RIGHTS_FILTER="ACCESS_RIGHTS_FILTER"})(va||(va={}));var Oa;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(Oa||(Oa={}));var Ca;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT",e.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",e.LINK_PREVIEW="LINK_PREVIEW",e.UD_VIEWER="UD_VIEWER",e.ASSET_VIEWER="ASSET_VIEWER"})(Ca||(Ca={}));var Aa;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(Aa||(Aa={}));var wa;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(wa||(wa={}));var Ra;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(Ra||(Ra={}));var _a;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(_a||(_a={}));var Ta;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(Ta||(Ta={}));var Tt;(function(e){e.OPTIONAL="OPTIONAL",e.MANDATORY="MANDATORY"})(Tt||(Tt={}));var La;(function(e){e.ASC="ASC",e.DESC="DESC"})(La||(La={}));var Na;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(Na||(Na={}));var jo;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(jo||(jo={}));var Ba=e=>Object.keys(jo).includes(e);var Pa;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(Pa||(Pa={}));var Ia;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(Ia||(Ia={}));var ka;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(ka||(ka={}));var Lt;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Lt||(Lt={}));var za=e=>Object.keys(Lt).includes(e);var Da;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.HTML_PACKAGE="HTML_PACKAGE",e.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(Da||(Da={}));var Ma;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Ma||(Ma={}));var Ua;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(Ua||(Ua={}));var q;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",e.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(q||(q={}));var Fa;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(Fa||(Fa={}));var $a;(function(e){e.UNAUTHENTICATED="UNAUTHENTICATED",e.USER_INCOMPLETE="USER_INCOMPLETE",e.MFA_REQUIRED="MFA_REQUIRED",e.AUTHENTICATED="AUTHENTICATED"})($a||($a={}));var Ha;(function(e){e.UNREACHABLE="UNREACHABLE",e.UNAUTHORIZED="UNAUTHORIZED",e.FORBIDDEN="FORBIDDEN",e.INCOMPATIBLE="INCOMPATIBLE",e.FAILED="FAILED",e.OK="OK"})(Ha||(Ha={}));var Ga;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(Ga||(Ga={}));var Va;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.SEMANTIC_SEARCH="SEMANTIC_SEARCH",e.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",e.DOCUMENTATION="DOCUMENTATION",e.OTHER="OTHER"})(Va||(Va={}));var Wa;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SLOW="SLOW",e.OTHER="OTHER"})(Wa||(Wa={}));var ja;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(ja||(ja={}));var Ka;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(Ka||(Ka={}));var Za;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(Za||(Za={}));var qa;(function(e){e.IN_PROGRESS="IN_PROGRESS",e.ERROR="ERROR",e.DONE="DONE"})(qa||(qa={}));var Ya;(function(e){e.HTML="HTML",e.MARKDOWN="MARKDOWN"})(Ya||(Ya={}));var Xa;(function(e){e.SOURCES="SOURCES",e.ENRICH_AND_CLEAN="ENRICH_AND_CLEAN",e.VOCABULARIES="VOCABULARIES",e.METADATA="METADATA",e.PRETTY_URL="PRETTY_URL",e.ACCESS_RULE="ACCESS_RULE",e.DESIGNED_PAGES="DESIGNED_PAGES",e.THEME_STUDIO="THEME_STUDIO",e.PORTAL_GENERAL="PORTAL_GENERAL",e.ASSETS="ASSETS",e.CODE_LIBRARY="CODE_LIBRARY",e.THEME="THEME",e.CONTENT_STYLES="CONTENT_STYLES",e.HOMEPAGE="HOMEPAGE",e.CLASSIC_SEARCH_PAGE="CLASSIC_SEARCH_PAGE",e.CLASSIC_READER_PAGE="CLASSIC_READER_PAGE",e.PORTAL_METADATA="PORTAL_METADATA",e.LANGUAGES="LANGUAGES",e.PRINT_TEMPLATES="PRINT_TEMPLATES",e.OFFLINE="OFFLINE",e.CUSTOM_JS="CUSTOM_JS",e.CONFIDENTIALITY="CONFIDENTIALITY",e.NOTIFICATIONS="NOTIFICATIONS"})(Xa||(Xa={}));var Ja;(function(e){e.MAP="MAP",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(Ja||(Ja={}));var bh={[q.PERSONAL_BOOK_SHARE_USER]:[q.PERSONAL_BOOK_USER],[q.HTML_EXPORT_USER]:[q.PERSONAL_BOOK_USER],[q.PDF_EXPORT_USER]:[q.PERSONAL_BOOK_USER],[q.KHUB_ADMIN]:[q.CONTENT_PUBLISHER],[q.ADMIN]:[q.KHUB_ADMIN,q.USERS_ADMIN,q.PORTAL_ADMIN,q.BEHAVIOR_DATA_USER],[q.GENERATIVE_AI_EXPORT_USER]:[q.GENERATIVE_AI_USER]};function nd(e){return`"${e}"`}function Qa(e){return e.startsWith('"')&&e.endsWith('"')?e.replace(/(^"+)|("+$)/g,""):e}function id(e,t){return new Qe(e).serialize(t)}var L;(function(e){e.LOCALE="content-lang",e.QUERY="query",e.SCOPE="scope",e.FILTERS="filters",e.VIRTUAL_FIELD="virtual-field",e.PERIOD="period",e.VALUE_FILTERS="value-filters",e.NEGATIVE_VALUE_FILTERS="negative-value-filters",e.DATE_FILTERS="date-filters",e.RANGE_FILTERS="range-filters",e.SORT="sort",e.PER_PAGE="per-page",e.KEYWORD_MATCH="keyword-match"})(L||(L={}));var ad=new Set(Object.values(L));function es(e){return ad.has(e)}var Qe=class e{constructor(t,o=20,n=!1,i="en-US"){this.baseUrl=t,this.defaultPerPage=o,this.allLanguagesAllowed=n,this.defaultContentLocale=i,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"}}serialize(t,o){return this.serializeToCurrentPageIfPossible(t,o??"/search")}serializeToCurrentPageIfPossible(t,o){let n=o==null||o.trim().length===0,i=new URL(n?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${o}`);return i.search=this.toURLSearchParams(t),i.toString()}toURLSearchParams(t,o=!1){var n,i,a,s,l,u,p,h,f;let m=new URLSearchParams;t.contentLocale?(!o||t.contentLocale!==this.defaultContentLocale)&&m.append(L.LOCALE,t.contentLocale):m.append(L.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=t.query)===null||n===void 0?void 0:n.length)>0&&m.append(L.QUERY,t.query);let b=e.serializeValueFilters(t.metadataFilters);b&&m.append(L.VALUE_FILTERS,b);let S=e.serializeNegativeValueFilters(t.metadataFilters);S&&m.append(L.NEGATIVE_VALUE_FILTERS,S);let C=(u=(i=t.metadataFilters)===null||i===void 0?void 0:i.filter(y=>y.dateFilter))!==null&&u!==void 0?u:[];if(C.length>0){let y=C.map(g=>{var x;return`${g.key}~${(x=g.dateFilter)===null||x===void 0?void 0:x.type.toLowerCase()}`}).join("*");m.append(L.DATE_FILTERS,y)}let E=(p=(a=t.metadataFilters)===null||a===void 0?void 0:a.filter(y=>y.rangeFilter))!==null&&p!==void 0?p:[];if(E.length>0){let y=E.map(g=>{var x,R;return`${g.key}~${(x=g.rangeFilter)===null||x===void 0?void 0:x.from}_${(R=g.rangeFilter)===null||R===void 0?void 0:R.to}`}).join("*");m.append(L.RANGE_FILTERS,y)}t.virtualField&&t.virtualField!=="EVERYWHERE"&&m.append(L.VIRTUAL_FIELD,t.virtualField.toLowerCase()),t.scope&&t.scope!=="DEFAULT"&&m.append(L.SCOPE,t.scope.toLowerCase()),t.sortId!=null&&m.append(L.SORT,t.sortId),!((s=t.paging)===null||s===void 0)&&s.perPage&&((h=(l=t.paging)===null||l===void 0?void 0:l.perPage)!==null&&h!==void 0?h:this.defaultPerPage)!=this.defaultPerPage&&m.append(L.PER_PAGE,String(t.paging.perPage)),t.keywordMatch!=null&&m.append(L.KEYWORD_MATCH,t.keywordMatch.toLowerCase());let A=(f=t.otherQueryParams)!==null&&f!==void 0?f:{};for(let y in A)m.append(y,A[y]);let P=new Array;return m.forEach((y,g)=>{P.push(this.encodeQueryString(g)+"="+this.encodeQueryString(y))}),encodeURI(P.join("&")).replace(/#/g,"%23")}encodeQueryString(t){return encodeURIComponent(t).replace(/%20/g,"+")}parse(t){var o;let n=t.split("?"),i=this.fromURLSearchParams(n.slice(1).join("?")),a=n[0].split("/search/")[1];return a==null?i:{...i,scope:(o=this.scopeMapping[a])!==null&&o!==void 0?o:i.scope}}fromURLSearchParams(t){var o,n,i,a,s,l;try{t=decodeURI(t).replace(/%23/g,"#")}catch(A){console.warn("Could not decode search request query params, fallback on raw value",A)}let u=new URLSearchParams(t),p=u.get(L.LOCALE)==="all"?void 0:u.get(L.LOCALE),h=((n=u.get(L.VIRTUAL_FIELD))!==null&&n!==void 0?n:"EVERYWHERE").toUpperCase(),f=(o=u.get(L.SORT))===null||o===void 0?void 0:o.toLowerCase(),m=(i=u.get(L.SCOPE))!==null&&i!==void 0?i:"default",b=+((a=u.get(L.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),S=u.get(L.KEYWORD_MATCH),C=S?S.toUpperCase()===Tt.MANDATORY?Tt.MANDATORY:Tt.OPTIONAL:void 0,E={};for(let A of u.keys())es(A)||(E[A]=u.get(A));return{contentLocale:p??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=u.get(L.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[m])!==null&&l!==void 0?l:"DEFAULT",virtualField:Ba(h)?h:"EVERYWHERE",sortId:f,metadataFilters:this.parseCompatFilters(u),facets:[],paging:{page:1,perPage:Xe(1,isNaN(b)?this.defaultPerPage:b,1e3)},keywordMatch:C,otherQueryParams:E}}parseCompatFilters(t){var o,n,i,a,s,l,u;let p=[];return t.has(L.FILTERS)&&(p=e.parseValueFilters((o=t.get(L.FILTERS))!==null&&o!==void 0?o:"")),(n=t.has(L.PERIOD))!==null&&n!==void 0&&n&&(p=[...p,...this.parseLegacyPeriodFilter(((i=t.get(L.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...p,...e.parseValueFilters((a=t.get(L.VALUE_FILTERS))!==null&&a!==void 0?a:""),...e.parseValueFilters((s=t.get(L.NEGATIVE_VALUE_FILTERS))!==null&&s!==void 0?s:"",!0),...this.parseDateFilters((l=t.get(L.DATE_FILTERS))!==null&&l!==void 0?l:""),...this.parseRangeFilters((u=t.get(L.RANGE_FILTERS))!==null&&u!==void 0?u:"")]}static splitUnknownFilter(t){return this.superEscapeFilters(t).split("*").map(o=>o.split("~"))}static parseValueFilters(t,o=!1){return t.length===0?[]:this.splitUnknownFilter(t).map(n=>({key:n[0],valueFilter:{values:n[1].split("_").map(Qa).map(i=>this.unescapeFilterValue(i)),negative:o}}))}parseDateFilters(t){return t.length===0?[]:e.splitUnknownFilter(t).map(o=>({key:o[0],dateFilter:{type:Lt[o[1].toUpperCase()]}}))}parseRangeFilters(t){return t.length===0?[]:e.splitUnknownFilter(t).map(o=>({key:o[0],rangeFilter:{from:o[1].split("_")[0],to:o[1].split("_")[1]}}))}static escapeFilters(t){for(let[o,n,i]of this.filtersEscapeMapping)t=t.replaceAll(o,n);return t}static superEscapeFilters(t){for(let[o,n,i]of e.filtersEscapeMapping)t=t.replaceAll(n,i);return t}static unescapeFilterValue(t){for(let[o,n,i]of e.filtersEscapeMapping)t=t.replaceAll(i,o);return t}parseLegacyPeriodFilter(t){if(za(t))return[{key:"ft:lastEdition",dateFilter:{type:Lt[t]}}];if(t.startsWith("CUSTOM_")){let[o,n,i]=t.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}static serializeValueFilter(t){var o,n;let i=((n=(o=t.valueFilter)===null||o===void 0?void 0:o.values)!==null&&n!==void 0?n:[]).map(a=>e.escapeFilters(a)).map(a=>nd(Qa(a))).join("_");return`${t.key}~${i}`}static serializeValueFilters(t){var o;let n=(o=t?.filter(i=>i.valueFilter&&!i.valueFilter.negative))!==null&&o!==void 0?o:[];if(n.length>0)return n.map(e.serializeValueFilter).join("*")}static serializeNegativeValueFilters(t){var o;let n=(o=t?.filter(i=>i.valueFilter&&i.valueFilter.negative))!==null&&o!==void 0?o:[];if(n.length>0)return n.map(e.serializeValueFilter).join("*")}static clearSearchParamsInUrl(t){let o=new URL(t);return[L.LOCALE,L.FILTERS,L.VALUE_FILTERS,L.NEGATIVE_VALUE_FILTERS,L.DATE_FILTERS,L.RANGE_FILTERS].forEach(i=>{o.searchParams.delete(i)}),o.toString()}static updateLocaleParamInUrl(t,o){let n=new URL(t);return n.searchParams.delete(L.LOCALE),o!==void 0&&n.searchParams.append(L.LOCALE,o),n.toString()}};Qe.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]];function Yo(e){var t,o,n,i;return(i=(n=(o=(t=e?.map)!==null&&t!==void 0?t:e?.topic)!==null&&o!==void 0?o:e?.document)!==null&&n!==void 0?n:e?.htmlPackage)!==null&&i!==void 0?i:e?.htmlPackagePage}function sd(e){var t,o,n,i,a,s,l,u,p;return(p=(u=(l=(s=(t=e?.map)===null||t===void 0?void 0:t.mapId)!==null&&s!==void 0?s:(o=e?.topic)===null||o===void 0?void 0:o.tocId)!==null&&l!==void 0?l:(n=e?.document)===null||n===void 0?void 0:n.documentId)!==null&&u!==void 0?u:(i=e?.htmlPackage)===null||i===void 0?void 0:i.packageId)!==null&&p!==void 0?p:(a=e?.htmlPackagePage)===null||a===void 0?void 0:a.contentId}function cd(e,t){var o,n,i,a,s,l,u,p,h;return(h=(p=(u=(l=qo((o=e?.map)===null||o===void 0?void 0:o.readerUrl,t))!==null&&l!==void 0?l:qo((n=e?.topic)===null||n===void 0?void 0:n.readerUrl,t))!==null&&u!==void 0?u:(i=e?.document)===null||i===void 0?void 0:i.viewerUrl)!==null&&p!==void 0?p:(a=e?.htmlPackage)===null||a===void 0?void 0:a.viewerUrl)!==null&&h!==void 0?h:(s=e?.htmlPackagePage)===null||s===void 0?void 0:s.viewerUrl}function ld(e){return e?.topic?[e.topic.mapTitle,...e.topic.breadcrumb]:e?.map?[e.map.title]:e?.document?[e.document.title]:e?.htmlPackage?[e.htmlPackage.title]:e?.htmlPackagePage?[e.htmlPackagePage.packageTitle,e.htmlPackagePage.title]:[]}function qo(e,t){if(t&&e){let o=URL.parse(e),n=Qe.serializeValueFilters(t);if(n&&o?.searchParams.append(L.VALUE_FILTERS,n),o)return o.toString()}return e}function Jo(e,t){return t&&t>1&&e.length>=t?`... > ${e[e.length-1]}`:e.join(" > ")}var Qo=class e{constructor(t,o,n,i){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=i}static findResultWithMetadataValue(t,o,n){return t?.find(i=>{var a;return((a=this.extractResultMetadata({result:i}).find(s=>s.key==o))===null||a===void 0?void 0:a.value)==n})}static extractResultMetadata(t){var o,n;let i=(n=(o=Yo(t.result))===null||o===void 0?void 0:o.metadata)!==null&&n!==void 0?n:[];return t.key==null?e.flattenMetadata(i,t.hierarchicalValueTruncatingLevel,t.dateFormatter):e.flattenMetadata(i.find(a=>a.key===t.key),t.hierarchicalValueTruncatingLevel,t.dateFormatter)}static flattenMetadata(t,o,n){if(Array.isArray(t))return t.map(a=>e.flattenMetadata(a,o,n)).filter(a=>a!=null);let i=t?.hierarchicalValues!=null&&t.hierarchicalValues.length>0;if(!(t==null||t.values.length==0&&!i))if(i){let a=[],s=[];return t.hierarchicalValues.forEach(l=>{a.push(Jo(l)),s.push(Jo(l,o))}),{key:t.key,label:t.label,value:a.join(", "),displayValue:s.join(", "),displayTooltipValue:a.join(", ")}}else{let a=t.values.join(", "),s=t.values.map(l=>n?n(l):l).join(", ");return{key:t.key,label:t.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(t,o,n="No value",i,a){var s,l;let u=e.extractResultMetadata({result:this.selectedResult,key:t,dateFormatter:a}),p=(l=u?.label)!==null&&l!==void 0?l:(s=this.getMetadataDescriptor(t))===null||s===void 0?void 0:s.label;return this.allResults.map(f=>e.extractResultMetadata({result:f,key:t,hierarchicalValueTruncatingLevel:i,dateFormatter:a})).map(f=>f??{key:t,label:p,value:void 0,displayValue:n}).filter(f=>f.value!=u?.value).filter((f,m,b)=>b.findIndex(S=>S.value===f.value)===m).map(f=>({result:this.findBestResultForMetadataValue(t,f.value),metadata:f})).sort((f,m)=>this.compareMetadata(f.metadata.value,m.metadata.value,t,o))}compareMetadata(t,o,n,i){if(t==null)return-1;if(o==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let u=t.localeCompare(o,i,{numeric:!0});return l?u*-1:u}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(o=>t==o.key)}findBestResultForMetadataValue(t,o){let n=this.allResults.filter(u=>{var p;return((p=e.extractResultMetadata({result:u,key:t}))===null||p===void 0?void 0:p.value)==o}),a=[...e.extractResultMetadata({result:this.selectedResult}).filter(u=>this.clusteringMetadata.has(u.key)).filter(u=>u.key!==t)],s,l=-1;for(let u of n){let p=this.countMatchingMetadata(u,a);if(p>l&&(l=p,s=u,p===a.length))break}return s}countMatchingMetadata(t,o){return e.extractResultMetadata({result:t}).filter(n=>o.some(i=>i.key===n.key&&i.value===n.value)).length}};var tn={};I(tn,{Debouncer:()=>$e});var $e=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let i=(t=this.rejectPromise)!==null&&t!==void 0?t:(()=>null),a=(o=this.resolvePromise)!==null&&o!==void 0?o:(()=>null);this.clearPromise();for(let s of n)try{await s()}catch(l){i(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var an={};I(an,{designSystemVariables:()=>B});var nn={};I(nn,{DesignSystemFamily:()=>or,DesignSystemSize:()=>nr,FtCssVariableFactory:()=>r,badge:()=>wd,banner:()=>Ad,button:()=>pd,card:()=>hd,chart:()=>Hd,checkbox:()=>bd,chip:()=>vd,chipChoice:()=>Ed,chipGroup:()=>Od,collapsible:()=>Bd,combobox:()=>Fd,dateRangePicker:()=>Kd,drawer:()=>Id,eventCard:()=>md,floatingMenu:()=>Ud,foundation:()=>c,link:()=>Cd,modal:()=>Nd,notice:()=>Vd,notification:()=>Wd,pageDesigner:()=>Gd,pageFooter:()=>Td,pageHeader:()=>_d,pageLayout:()=>Ld,popover:()=>$d,radio:()=>xd,reorderableList:()=>Pd,resolveFamilyClass:()=>rn,resolveSizeClass:()=>on,semantic:()=>d,setVariable:()=>z,switch_:()=>zd,table:()=>Sd,tabs:()=>kd,textArea:()=>Md,textInput:()=>Dd,titleBreadcrumb:()=>Rd,toc:()=>gd,toggle:()=>fd,tooltip:()=>jd,treeList:()=>yd,typographies:()=>dd,typographyBody1Medium:()=>as,typographyBody1Regular:()=>is,typographyBody1Semibold:()=>ss,typographyBody2Medium:()=>ls,typographyBody2MediumUnderline:()=>ds,typographyBody2Regular:()=>cs,typographyBody2Semibold:()=>us,typographyCaption1Medium:()=>ps,typographyCaption1Semibold:()=>fs,typographyCaption2Bold:()=>ys,typographyCaption2Medium:()=>hs,typographyCaption2Semibold:()=>ms,typographyDisplay:()=>ts,typographyTitle1:()=>rs,typographyTitle2:()=>os,typographyTitle3:()=>ns,typographyVariants:()=>ud});var Be=e=>typeof e=="string"?Wt(e):e,r=class{static create(t,o,n,i){let a=l=>Be(l??i),s=N`var(${Be(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.set=l=>z(s,l??a(i)),s.get=l=>N`var(${Be(t)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,o,n,i){let a=l=>n.get(l??i),s=N`var(${Be(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.set=l=>z(s,l??a(i)),s.get=l=>N`var(${Be(t)}, ${a(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(t,o){let n=a=>t.defaultCssValue(a),i=N`var(${Be(t.name)}, ${n(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=n,i.set=a=>t.set(a),i.get=a=>N`var(${Be(t.name)}, ${n(a)})`,i.breadcrumb=()=>t.breadcrumb(),i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};function z(e,t){return Be(`${e.name}: ${t}`)}var c={colorWhite:r.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:r.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:r.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ftds-icon-size-1","","SIZE","0.5rem"),iconSize2:r.create("--ftds-icon-size-2","","SIZE","0.75rem"),iconSize3:r.create("--ftds-icon-size-3","","SIZE","1rem"),iconSize4:r.create("--ftds-icon-size-4","","SIZE","1.25rem"),iconSize5:r.create("--ftds-icon-size-5","","SIZE","1.5rem"),iconSize6:r.create("--ftds-icon-size-6","","SIZE","2rem"),iconSize7:r.create("--ftds-icon-size-7","","SIZE","3rem"),opacity0:r.create("--ftds-opacity-0","","NUMBER","0"),opacity4:r.create("--ftds-opacity-4","","NUMBER","0.04"),opacity6:r.create("--ftds-opacity-6","","NUMBER","0.06"),opacity8:r.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:r.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:r.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:r.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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)")},ts={fontFamily:r.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:r.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-display-text-case","","UNKNOWN","none")},rs={fontFamily:r.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:r.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},os={fontFamily:r.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:r.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},ns={fontFamily:r.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:r.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},is={fontFamily:r.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},as={fontFamily:r.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},ss={fontFamily:r.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},cs={fontFamily:r.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},ls={fontFamily:r.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},ds={fontFamily:r.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:r.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:r.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},us={fontFamily:r.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},ps={fontFamily:r.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},fs={fontFamily:r.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},hs={fontFamily:r.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},ms={fontFamily:r.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},ys={fontFamily:r.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},dd={display:ts,"title-1":rs,"title-2":os,"title-3":ns,"body-1-regular":is,"body-1-medium":as,"body-1-semibold":ss,"body-2-regular":cs,"body-2-medium":ls,"body-2-medium-underline":ds,"body-2-semibold":us,"caption-1-medium":ps,"caption-1-semibold":fs,"caption-2-medium":hs,"caption-2-semibold":ms,"caption-2-bold":ys},ud=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","caption-1","caption-2"];var d={backgroundActionPrimary:r.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:r.extend("--ftds-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:r.extend("--ftds-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:r.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:r.extend("--ftds-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:r.extend("--ftds-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:r.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:r.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:r.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:r.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:r.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:r.extend("--ftds-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:r.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:r.extend("--ftds-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:r.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:r.extend("--ftds-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:r.extend("--ftds-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:r.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
4
- Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:r.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:r.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:r.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:r.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:r.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:r.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:r.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:r.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:r.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:r.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:r.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:r.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",c.colorGray50),borderGlobalSecondary:r.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",c.colorGray40),borderGlobalSubtle:r.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",c.colorGray30),borderInputPrimary:r.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:r.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var pd={largeHeight:r.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:r.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:r.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:r.extend("--ftds-button-large-icon-size","",c.iconSize3),largeBorderWidth:r.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ftds-button-medium-horizontal-padding","",c.spacing3),mediumGap:r.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:r.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:r.extend("--ftds-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:r.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-button-small-horizontal-padding","",c.spacing2),smallGap:r.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:r.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:r.extend("--ftds-button-small-icon-size","",c.iconSize1),smallBorderWidth:r.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ftds-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:r.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ftds-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ftds-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:r.extend("--ftds-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ftds-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ftds-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ftds-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ftds-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ftds-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ftds-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:r.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ftds-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ftds-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ftds-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:r.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ftds-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ftds-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ftds-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:r.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ftds-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ftds-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ftds-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:r.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ftds-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ftds-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ftds-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:r.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ftds-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ftds-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ftds-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:r.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ftds-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:r.extend("--ftds-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ftds-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:r.extend("--ftds-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:r.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ftds-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ftds-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ftds-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ftds-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:r.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ftds-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:r.extend("--ftds-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ftds-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ftds-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:r.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ftds-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:r.extend("--ftds-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ftds-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ftds-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:r.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ftds-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:r.extend("--ftds-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ftds-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ftds-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:r.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ftds-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:r.extend("--ftds-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ftds-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ftds-button-secondary-error-state-layer-color","",d.contentErrorPrimary)};var fd={iconSize:r.extend("--ftds-toggle-icon-size","",c.iconSize1),offHoverStateLayerOpacity:r.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:r.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:r.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:r.extend("--ftds-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:r.extend("--ftds-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:r.extend("--ftds-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:r.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:r.extend("--ftds-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:r.extend("--ftds-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:r.extend("--ftds-toggle-on-icon-color","",d.contentActionPrimary),color:r.extend("--ftds-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:r.extend("--ftds-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:r.extend("--ftds-toggle-gap","",c.spacing3),width:r.create("--ftds-toggle-width","","SIZE","36px"),height:r.create("--ftds-toggle-height","","SIZE","20px")};var hd={borderRadius:r.extend("--ftds-card-border-radius","",c.borderRadiusS),focusFocusRingColor:r.extend("--ftds-card-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-card-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-card-focus-outline-offset","","SIZE","2px"),headerTitleHorizontalPadding:r.extend("--ftds-card-header-title-horizontal-padding","",c.spacing4),headerTitleVerticalPadding:r.extend("--ftds-card-header-title-vertical-padding","",c.spacing3),headerActionHorizontalPadding:r.extend("--ftds-card-header-action-horizontal-padding","",c.spacing2),headerActionVerticalPadding:r.extend("--ftds-card-header-action-vertical-padding","",c.spacing2),headerActionGap:r.extend("--ftds-card-header-action-gap","",c.spacing1),bodyHorizontalPadding:r.extend("--ftds-card-body-horizontal-padding","",c.spacing4),bodyVerticalPadding:r.extend("--ftds-card-body-vertical-padding","",c.spacing4),footerActionHorizontalPadding:r.extend("--ftds-card-footer-action-horizontal-padding","",c.spacing2),footerActionVerticalPadding:r.extend("--ftds-card-footer-action-vertical-padding","",c.spacing2),footerActionGap:r.extend("--ftds-card-footer-action-gap","",c.spacing1),footerContentHorizontalPadding:r.extend("--ftds-card-footer-content-horizontal-padding","",c.spacing4),footerContentVerticalPadding:r.extend("--ftds-card-footer-content-vertical-padding","",c.spacing3),sideBarHorizontalPadding:r.extend("--ftds-card-side-bar-horizontal-padding","",c.spacing1),sideBarVerticalPadding:r.extend("--ftds-card-side-bar-vertical-padding","",c.spacing1),sideBarGap:r.extend("--ftds-card-side-bar-gap","",c.spacing1),nonSelectableBorderWidth:r.create("--ftds-card-non-selectable-border-width","","SIZE","1px"),nonSelectableStateLayerColor:r.extend("--ftds-card-non-selectable-state-layer-color","",d.contentGlobalPrimary),nonSelectableDefaultBackgroundColor:r.extend("--ftds-card-non-selectable-default-background-color","",d.backgroundGlobalOnSurface),nonSelectableDefaultBorderColor:r.extend("--ftds-card-non-selectable-default-border-color","",d.borderGlobalSecondary),nonSelectableHoverBorderColor:r.extend("--ftds-card-non-selectable-hover-border-color","",d.borderGlobalPrimary),nonSelectableHoverStateLayerOpacity:r.extend("--ftds-card-non-selectable-hover-state-layer-opacity","",c.opacity4),nonSelectableFocusBorderColor:r.extend("--ftds-card-non-selectable-focus-border-color","",d.borderGlobalPrimary),nonSelectableFocusStateLayerOpacity:r.extend("--ftds-card-non-selectable-focus-state-layer-opacity","",c.opacity4),internalBorderColor:r.extend("--ftds-card-internal-border-color","",d.borderGlobalSecondary),selectableUnselectedBorderWidth:r.create("--ftds-card-selectable-unselected-border-width","","SIZE","1px"),selectableUnselectedStateLayerColor:r.extend("--ftds-card-selectable-unselected-state-layer-color","",d.contentGlobalPrimary),selectableUnselectedDefaultBackgroundColor:r.extend("--ftds-card-selectable-unselected-default-background-color","",d.backgroundGlobalOnSurface),selectableUnselectedDefaultBorderColor:r.extend("--ftds-card-selectable-unselected-default-border-color","",d.borderGlobalSecondary),selectableUnselectedHoverBorderColor:r.extend("--ftds-card-selectable-unselected-hover-border-color","",d.borderGlobalPrimary),selectableUnselectedHoverStateLayerOpacity:r.extend("--ftds-card-selectable-unselected-hover-state-layer-opacity","",c.opacity4),selectableUnselectedFocusBorderColor:r.extend("--ftds-card-selectable-unselected-focus-border-color","",d.borderGlobalPrimary),selectableUnselectedFocusStateLayerOpacity:r.extend("--ftds-card-selectable-unselected-focus-state-layer-opacity","",c.opacity4),selectableSelectedBorderColor:r.extend("--ftds-card-selectable-selected-border-color","",d.borderActionPrimary),selectableSelectedBorderWidth:r.create("--ftds-card-selectable-selected-border-width","","SIZE","2px"),selectableSelectedStateLayerColor:r.extend("--ftds-card-selectable-selected-state-layer-color","",d.contentActionPrimary),selectableSelectedBackgroundColor:r.extend("--ftds-card-selectable-selected-background-color","",d.backgroundGlobalSurface),selectableSelectedDefaultStateLayerOpacity:r.extend("--ftds-card-selectable-selected-default-state-layer-opacity","",c.opacity4),selectableSelectedHoverStateLayerOpacity:r.extend("--ftds-card-selectable-selected-hover-state-layer-opacity","",c.opacity4),selectableSelectedFocusStateLayerOpacity:r.extend("--ftds-card-selectable-selected-focus-state-layer-opacity","",c.opacity4),internalBorderWidth:r.create("--ftds-card-internal-border-width","","SIZE","1px")};var md={borderRadius:r.extend("--ftds-event-card-border-radius","",c.borderRadiusS),borderWidth:r.create("--ftds-event-card-border-width","","SIZE","1px"),backgroundColor:r.extend("--ftds-event-card-background-color","",d.backgroundGlobalSurface),thumbnailWidth:r.extend("--ftds-event-card-thumbnail-width","",c.spacing8),thumbnailIconSize:r.extend("--ftds-event-card-thumbnail-icon-size","",c.iconSize3),slotHorizontalPadding:r.extend("--ftds-event-card-slot-horizontal-padding","",c.spacing2),slotVerticalPadding:r.extend("--ftds-event-card-slot-vertical-padding","",c.spacing2),primaryThumbnailIconColor:r.extend("--ftds-event-card-primary-thumbnail-icon-color","",d.contentGlobalOnColor),secondaryThumbnailBackgroundColor:r.extend("--ftds-event-card-secondary-thumbnail-background-color","",d.backgroundGlobalSurface)};var yd={loadMoreIconSize:r.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:r.extend("--ftds-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-unselected-default-border-color","",d.borderGlobalSubtle),loadMoreIconColor:r.extend("--ftds-tree-list-load-more-icon-color","",d.contentActionPrimary),loadMoreLabelColor:r.extend("--ftds-tree-list-load-more-label-color","",d.contentActionPrimary),loadMoreHoverBorderColor:r.extend("--ftds-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:r.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:r.extend("--ftds-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:r.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:r.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:r.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),loadMoreLabelMarginLeft:r.extend("--ftds-tree-list-load-more-label-margin-left","",c.spacing1),nodeIconSize:r.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:r.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:r.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:r.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:r.extend("--ftds-tree-list-node-root-padding-left","",c.spacing6),nodeChildPaddingLeft:r.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:r.extend("--ftds-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-node-unselected-default-border-color","",d.borderGlobalSubtle),nodeUnselectedIconColor:r.extend("--ftds-tree-list-node-unselected-icon-color","",d.contentGlobalSecondary),nodeUnselectedLabelColor:r.extend("--ftds-tree-list-node-unselected-label-color","",d.contentGlobalSecondary),nodeUnselectedCounterColor:r.extend("--ftds-tree-list-node-unselected-counter-color","",d.contentGlobalSecondary),nodeHoverBorderColor:r.extend("--ftds-tree-list-node-hover-border-color","",d.borderActionPrimary),nodeFocusFocusRingColor:r.extend("--ftds-tree-list-node-focus-focus-ring-color","",d.borderActionFocusRing),nodeFocusOutlineWidth:r.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-selected-default-border-color","",d.borderGlobalPrimary),nodeSelectedIconColor:r.extend("--ftds-tree-list-node-selected-icon-color","",d.contentGlobalSecondary),nodeSelectedLabelColor:r.extend("--ftds-tree-list-node-selected-label-color","",d.contentGlobalPrimary),nodeSelectedCounterColor:r.extend("--ftds-tree-list-node-selected-counter-color","",d.contentGlobalSecondary),nodeSelectedBackgroundColor:r.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:r.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:r.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:r.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:r.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:r.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:r.extend("--ftds-tree-list-header-section-padding-left","",c.spacing6),headerSectionPaddingRight:r.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:r.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:r.extend("--ftds-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:r.extend("--ftds-tree-list-header-section-color","",d.contentGlobalPrimary),headerSectionCounterColor:r.extend("--ftds-tree-list-header-section-counter-color","",d.contentGlobalSecondary),listContainerBorderWidth:r.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:r.extend("--ftds-tree-list-list-container-background-color","",d.backgroundGlobalSurface),listContainerBorderColor:r.extend("--ftds-tree-list-list-container-border-color","",d.borderGlobalSubtle),emptyStateIllustrationWidth:r.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:r.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:r.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",c.spacing10),emptyStateContainerPaddingTop:r.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:r.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:r.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.spacing2),emptyStateTitleLabelColor:r.extend("--ftds-tree-list-empty-state-title-label-color","",d.contentGlobalSecondary),emptyStateDescriptionLabelColor:r.extend("--ftds-tree-list-empty-state-description-label-color","",d.contentGlobalSecondary)};var gd={titleColor:r.extend("--ftds-toc-title-color","",d.contentGlobalSubtle),titleGap:r.extend("--ftds-toc-title-gap","",c.spacing2),top:r.create("--ftds-toc-top","","SIZE","160px"),itemGap:r.create("--ftds-toc-item-gap","","SIZE","0px"),itemHorizontalPadding:r.extend("--ftds-toc-item-horizontal-padding","",c.spacing4),itemVerticalPadding:r.extend("--ftds-toc-item-vertical-padding","",c.spacing3),itemBorderRadius:r.extend("--ftds-toc-item-border-radius","",c.borderRadiusS),itemBorderWidth:r.create("--ftds-toc-item-border-width","","SIZE","1px"),itemFocusFocusRingColor:r.extend("--ftds-toc-item-focus-focus-ring-color","",d.borderActionFocusRing),itemFocusFocusRingWidth:r.create("--ftds-toc-item-focus-focus-ring-width","","SIZE","3px"),itemRootDefaultLabelColor:r.extend("--ftds-toc-item-root-default-label-color","",d.contentGlobalSecondary),itemRootDefaultBorderColor:r.extend("--ftds-toc-item-root-default-border-color","",d.borderGlobalSubtle),itemRootHoverLabelColor:r.extend("--ftds-toc-item-root-hover-label-color","",d.contentGlobalSecondary),itemRootHoverBorderColor:r.extend("--ftds-toc-item-root-hover-border-color","",d.borderGlobalSubtle),itemRootHoverStateLayerColor:r.extend("--ftds-toc-item-root-hover-state-layer-color","",d.contentGlobalSecondary),itemRootHoverStateLayerOpacity:r.extend("--ftds-toc-item-root-hover-state-layer-opacity","",c.opacity8),itemRootFocusLabelColor:r.extend("--ftds-toc-item-root-focus-label-color","",d.contentGlobalSecondary),itemRootFocusStateLayerColor:r.extend("--ftds-toc-item-root-focus-state-layer-color","",d.contentGlobalSecondary),itemRootFocusStateLayerOpacity:r.extend("--ftds-toc-item-root-focus-state-layer-opacity","",c.opacity8),itemRootSelectedLabelColor:r.extend("--ftds-toc-item-root-selected-label-color","",d.contentActionPrimary),itemRootSelectedBorderColor:r.extend("--ftds-toc-item-root-selected-border-color","",d.borderActionPrimary),itemRootSelectedBorderWidth:r.create("--ftds-toc-item-root-selected-border-width","","SIZE","3px"),itemRootSelectedStateLayerColor:r.extend("--ftds-toc-item-root-selected-state-layer-color","",d.contentActionPrimary),itemRootSelectedStateLayerOpacity:r.extend("--ftds-toc-item-root-selected-state-layer-opacity","",c.opacity8),itemRootChildrenActiveLabelColor:r.extend("--ftds-toc-item-root-children-active-label-color","",d.contentActionPrimary),itemRootChildrenActiveBorderColor:r.extend("--ftds-toc-item-root-children-active-border-color","",d.borderGlobalSubtle),itemChildDefaultLabelColor:r.extend("--ftds-toc-item-child-default-label-color","",d.contentGlobalSubtle),itemChildDefaultBorderColor:r.extend("--ftds-toc-item-child-default-border-color","",d.borderGlobalSubtle),itemChildHoverLabelColor:r.extend("--ftds-toc-item-child-hover-label-color","",d.contentGlobalSubtle),itemChildHoverBorderColor:r.extend("--ftds-toc-item-child-hover-border-color","",d.borderGlobalSubtle),itemChildHoverStateLayerColor:r.extend("--ftds-toc-item-child-hover-state-layer-color","",d.contentGlobalSecondary),itemChildHoverStateLayerOpacity:r.extend("--ftds-toc-item-child-hover-state-layer-opacity","",c.opacity8),itemChildFocusLabelColor:r.extend("--ftds-toc-item-child-focus-label-color","",d.contentGlobalSubtle),itemChildFocusStateLayerColor:r.extend("--ftds-toc-item-child-focus-state-layer-color","",d.contentGlobalSecondary),itemChildFocusStateLayerOpacity:r.extend("--ftds-toc-item-child-focus-state-layer-opacity","",c.opacity8),itemChildSelectedLabelColor:r.extend("--ftds-toc-item-child-selected-label-color","",d.contentActionPrimary),itemChildSelectedBorderColor:r.extend("--ftds-toc-item-child-selected-border-color","",d.borderActionPrimary),itemChildSelectedBorderWidth:r.create("--ftds-toc-item-child-selected-border-width","","SIZE","3px"),itemChildSelectedStateLayerColor:r.extend("--ftds-toc-item-child-selected-state-layer-color","",d.contentActionPrimary),itemChildSelectedStateLayerOpacity:r.extend("--ftds-toc-item-child-selected-state-layer-opacity","",c.opacity8)};var bd={iconSize:r.extend("--ftds-checkbox-icon-size","",c.iconSize2),boxSize:r.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:r.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:r.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:r.extend("--ftds-checkbox-label-horizontal-gap","",c.spacing2),color:r.extend("--ftds-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ftds-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:r.extend("--ftds-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:r.extend("--ftds-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:r.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:r.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:r.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:r.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:r.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ftds-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:r.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:r.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:r.extend("--ftds-checkbox-horizontal-gap","",c.spacing3),helperPaddingTop:r.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:r.extend("--ftds-checkbox-helper-icon-size","",c.iconSize2),helperHorizontalGap:r.extend("--ftds-checkbox-helper-horizontal-gap","",c.spacing1),errorUncheckedBorderColor:r.extend("--ftds-checkbox-error-unchecked-border-color","",d.borderErrorPrimary),errorStateLayerColor:r.extend("--ftds-checkbox-error-state-layer-color","",d.contentErrorPrimary),errorHelperTextColor:r.extend("--ftds-checkbox-error-helper-text-color","",d.borderErrorPrimary),errorCheckedBackgroundColor:r.extend("--ftds-checkbox-error-checked-background-color","",d.contentErrorPrimary),helperTextColor:r.extend("--ftds-checkbox-helper-text-color","",d.contentGlobalSubtle),groupVerticalGap:r.extend("--ftds-checkbox-group-vertical-gap","",c.spacing3)};var xd={circleSize:r.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:r.create("--ftds-radio-border-width","","SIZE","2px"),color:r.extend("--ftds-radio-color","",d.contentGlobalPrimary),selectedRadioColor:r.extend("--ftds-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:r.extend("--ftds-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ftds-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:r.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:r.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:r.extend("--ftds-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:r.extend("--ftds-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:r.extend("--ftds-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ftds-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:r.extend("--ftds-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ftds-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:r.extend("--ftds-radio-vertical-gap","",c.spacing3),horizontalGap:r.extend("--ftds-radio-horizontal-gap","",c.spacing3)};var Sd={headerRowBorderWidth:r.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:r.extend("--ftds-table-header-row-background-color","",d.backgroundGlobalOnSurfaceDark),headerRowBorderColor:r.extend("--ftds-table-header-row-border-color","",d.borderGlobalPrimary),headerRowColor:r.extend("--ftds-table-header-row-color","",d.contentGlobalPrimary),dataRowBorderWidth:r.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:r.extend("--ftds-table-data-row-background-color","",d.backgroundGlobalOnSurface),dataRowBorderColor:r.extend("--ftds-table-data-row-border-color","",d.borderGlobalSubtle),dataRowColor:r.extend("--ftds-table-data-row-color","",d.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:r.extend("--ftds-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:r.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:r.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:r.extend("--ftds-table-data-row-selectable-selected-color","",d.contentActionPrimary),dataRowClickableHoverBackgroundColor:r.extend("--ftds-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:r.extend("--ftds-table-data-row-clickable-focus-border-color","",d.borderActionFocusRing),dataRowClickableFocusBackgroundColor:r.extend("--ftds-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:r.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:r.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:r.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:r.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:r.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:r.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:r.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)};var Ed={neutralOffHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:r.extend("--ftds-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ftds-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:r.extend("--ftds-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ftds-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:r.extend("--ftds-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ftds-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:r.extend("--ftds-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:r.extend("--ftds-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ftds-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:r.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:r.extend("--ftds-chip-choice-large-gap","",c.spacing1),largeBorderRadius:r.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:r.extend("--ftds-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:r.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-choice-medium-icon-size","",c.iconSize2)};var vd={largeMinHeight:r.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:r.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:r.extend("--ftds-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:r.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:r.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:r.extend("--ftds-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:r.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-medium-icon-size","",c.iconSize2),smallMinHeight:r.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:r.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:r.extend("--ftds-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:r.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ftds-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:r.extend("--ftds-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:r.extend("--ftds-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:r.extend("--ftds-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:r.extend("--ftds-chip-neutral-border-color","",d.borderGlobalSecondary),infoBackgroundColor:r.extend("--ftds-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ftds-chip-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ftds-chip-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ftds-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ftds-chip-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ftds-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ftds-chip-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ftds-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-chip-error-border-color","",d.borderErrorSubtle)};var Od={horizontalGap:r.extend("--ftds-chip-group-horizontal-gap","",c.spacing2),verticalGap:r.extend("--ftds-chip-group-vertical-gap","",c.spacing2),countChipDefaultBackgroundColor:r.extend("--ftds-chip-group-count-chip-default-background-color","",c.colorBrand10),countChipDefaultBorderColor:r.extend("--ftds-chip-group-count-chip-default-border-color","",c.colorBrand60),countChipDefaultContentColor:r.extend("--ftds-chip-group-count-chip-default-content-color","",d.contentActionPrimary),countChipHoverBackgroundColor:r.extend("--ftds-chip-group-count-chip-hover-background-color","",c.colorBrand20),countChipHoverBorderColor:r.extend("--ftds-chip-group-count-chip-hover-border-color","",c.colorBrand70),countChipHoverContentColor:r.extend("--ftds-chip-group-count-chip-hover-content-color","",d.contentActionPrimary),countChipFocusedBackgroundColor:r.extend("--ftds-chip-group-count-chip-focused-background-color","",c.colorBrand20),countChipFocusedBorderColor:r.extend("--ftds-chip-group-count-chip-focused-border-color","",c.colorBrand70),countChipFocusedContentColor:r.extend("--ftds-chip-group-count-chip-focused-content-color","",d.contentActionPrimary)};var Cd={brandHoverOpacity:r.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:r.extend("--ftds-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ftds-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:r.extend("--ftds-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:r.extend("--ftds-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:r.extend("--ftds-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:r.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:r.extend("--ftds-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ftds-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:r.extend("--ftds-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:r.extend("--ftds-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:r.extend("--ftds-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ftds-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:r.extend("--ftds-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:r.extend("--ftds-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:r.extend("--ftds-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:r.extend("--ftds-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:r.extend("--ftds-link-neutral-visited-color","",c.colorBrand100),horizontalGap:r.extend("--ftds-link-horizontal-gap","",c.spacing1)};var Ad={iconSize:r.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:r.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:r.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:r.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:r.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:r.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:r.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:r.extend("--ftds-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:r.extend("--ftds-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ftds-banner-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-banner-info-border-color","",d.borderInfoSubtle)};var wd={horizontalPadding:r.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:r.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:r.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:r.extend("--ftds-badge-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ftds-badge-background-color","",d.contentActionPrimary)};var Rd={horizontalGap:r.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:r.extend("--ftds-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:r.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:r.extend("--ftds-title-breadcrumb-icon-color","",d.contentGlobalSubtle)};var _d={parentHorizontalPadding:r.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:r.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:r.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:r.extend("--ftds-page-header-parent-help-left-margin","",c.spacing2),parentTitleColor:r.extend("--ftds-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:r.extend("--ftds-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ftds-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:r.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:r.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:r.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:r.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:r.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:r.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:r.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:r.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:r.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:r.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:r.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:r.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:r.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:r.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:r.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:r.extend("--ftds-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:r.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var Td={horizontalPadding:r.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:r.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:r.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ftds-page-footer-background-color","",c.colorWhite),topBorderColor:r.extend("--ftds-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:r.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)};var Ld={contentHorizontalPadding:r.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:r.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)};var Nd={smallContainerTargetWidth:r.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ftds-modal-small-container-margin","",c.spacing6),headerIconSize:r.extend("--ftds-modal-header-icon-size","",c.iconSize3),headerBackgroundColor:r.extend("--ftds-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-modal-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ftds-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ftds-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:r.extend("--ftds-modal-header-vertical-padding","",c.spacing1),headerRightPadding:r.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:r.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:r.extend("--ftds-modal-header-gap","",c.spacing2),headerBorderBottomWidth:r.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),mediumContainerTargetWidth:r.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ftds-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:r.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:r.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:r.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:r.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:r.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:r.extend("--ftds-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:r.extend("--ftds-modal-body-vertical-gap","",c.spacing6),borderRadius:r.extend("--ftds-modal-border-radius","",c.borderRadiusM)};var Pd={grabberIconSize:r.extend("--ftds-reorderable-list-grabber-icon-size","",c.iconSize2),verticalPadding:r.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:r.extend("--ftds-reorderable-list-gap","",c.spacing4),itemGap:r.extend("--ftds-reorderable-list-item-gap","",c.spacing2),borderRadius:r.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:r.extend("--ftds-reorderable-list-reorderable-item-title-color","",d.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:r.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",d.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:r.extend("--ftds-reorderable-list-reorderable-item-background-color","",d.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",d.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",d.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ftds-reorderable-list-reorderable-item-grip-color","",d.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:r.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:r.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:r.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:r.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:r.extend("--ftds-reorderable-list-border-color","",d.borderGlobalPrimary),backgroundColor:r.extend("--ftds-reorderable-list-background-color","",d.backgroundGlobalOnSurfaceDark)};var Id={overlayOpacity:r.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:r.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:r.extend("--ftds-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:r.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:r.extend("--ftds-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:r.extend("--ftds-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ftds-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ftds-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:r.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ftds-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:r.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ftds-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:r.extend("--ftds-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ftds-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:r.extend("--ftds-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ftds-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:r.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:r.extend("--ftds-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:r.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ftds-drawer-overlay-background-color","",c.colorGray700)};var kd={offBorderBottomWidth:r.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:r.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:r.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:r.extend("--ftds-tabs-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ftds-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:r.extend("--ftds-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ftds-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:r.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:r.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:r.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:r.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:r.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:r.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:r.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:r.extend("--ftds-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ftds-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ftds-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:r.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:r.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:r.extend("--ftds-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:r.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-tabs-focus-focus-ring-color","",d.borderActionFocusRing),mainIconIconSize:r.extend("--ftds-tabs-main-icon-icon-size","",c.iconSize3),alertIconIconSize:r.extend("--ftds-tabs-alert-icon-icon-size","",c.iconSize2)};var Dd={largeFieldHorizontalPadding:r.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:r.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:r.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:r.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:r.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:r.extend("--ftds-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:r.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ftds-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:r.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:r.extend("--ftds-text-input-background-color","",c.colorWhite),contentValueColor:r.extend("--ftds-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ftds-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:r.extend("--ftds-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderColor:r.extend("--ftds-text-input-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-text-input-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-text-input-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:r.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)};var Md={backgroundColor:r.extend("--ftds-text-area-background-color","",c.colorWhite),contentValueColor:r.extend("--ftds-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:r.extend("--ftds-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-area-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderColor:r.extend("--ftds-text-area-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-text-area-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-text-area-warning-helper-icon-color","",d.contentWarningIconOnly),focusFocusRingColor:r.extend("--ftds-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:r.extend("--ftds-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ftds-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ftds-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:r.create("--ftds-text-area-field-min-height","","SIZE","72px"),fieldMaxHeight:r.create("--ftds-text-area-field-max-height","","SIZE","300px"),helperHorizontalPadding:r.extend("--ftds-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ftds-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ftds-text-area-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ftds-text-area-border-radius","",c.borderRadiusS)};var Ud={height:r.create("--ftds-floating-menu-height","","SIZE","52px"),horizontalPadding:r.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),verticalPadding:r.extend("--ftds-floating-menu-vertical-padding","",c.spacing2),offIconColor:r.extend("--ftds-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:r.extend("--ftds-floating-menu-off-color","",d.contentGlobalPrimary),onColor:r.extend("--ftds-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:r.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:r.extend("--ftds-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ftds-floating-menu-focus-state-layer-opacity","",c.opacity24),hoverStateLayerOpacity:r.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:r.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:r.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:r.extend("--ftds-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:r.extend("--ftds-floating-menu-shadow","",c.shadowElevation02),multiselectCheckedStateLayerColor:r.extend("--ftds-floating-menu-multiselect-checked-state-layer-color","",d.contentActionPrimary),multiselectCheckedColor:r.extend("--ftds-floating-menu-multiselect-checked-color","",d.contentGlobalPrimary),multiselectCheckedIconColor:r.extend("--ftds-floating-menu-multiselect-checked-icon-color","",d.contentActionPrimary),multiselectCheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-checked-default-state-layer-opacity","",c.opacity8),multiselectCheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-checked-hover-state-layer-opacity","",c.opacity16),multiselectCheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-checked-focus-state-layer-opacity","",c.opacity24),multiselectIndeterminatedStateLayerColor:r.extend("--ftds-floating-menu-multiselect-indeterminated-state-layer-color","",d.contentActionPrimary),multiselectIndeterminatedColor:r.extend("--ftds-floating-menu-multiselect-indeterminated-color","",d.contentGlobalPrimary),multiselectIndeterminatedIconColor:r.extend("--ftds-floating-menu-multiselect-indeterminated-icon-color","",d.contentActionPrimary),multiselectIndeterminatedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-indeterminated-default-state-layer-opacity","",c.opacity8),multiselectIndeterminatedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-indeterminated-hover-state-layer-opacity","",c.opacity16),multiselectIndeterminatedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-indeterminated-focus-state-layer-opacity","",c.opacity24),multiselectUncheckedStateLayerColor:r.extend("--ftds-floating-menu-multiselect-unchecked-state-layer-color","",d.contentGlobalPrimary),multiselectUncheckedColor:r.extend("--ftds-floating-menu-multiselect-unchecked-color","",d.contentGlobalPrimary),multiselectUncheckedIconColor:r.extend("--ftds-floating-menu-multiselect-unchecked-icon-color","",d.contentGlobalSubtle),multiselectUncheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-unchecked-default-state-layer-opacity","",c.opacity0),multiselectUncheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-unchecked-hover-state-layer-opacity","",c.opacity8),multiselectUncheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-unchecked-focus-state-layer-opacity","",c.opacity16),selectAllCheckedStateLayerColor:r.extend("--ftds-floating-menu-select-all-checked-state-layer-color","",d.contentActionPrimary),selectAllCheckedColor:r.extend("--ftds-floating-menu-select-all-checked-color","",d.contentGlobalPrimary),selectAllCheckedIconColor:r.extend("--ftds-floating-menu-select-all-checked-icon-color","",d.contentActionPrimary),selectAllCheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-checked-default-state-layer-opacity","",c.opacity0),selectAllCheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-checked-hover-state-layer-opacity","",c.opacity16),selectAllCheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-checked-focus-state-layer-opacity","",c.opacity24),selectAllIndeterminatedStateLayerColor:r.extend("--ftds-floating-menu-select-all-indeterminated-state-layer-color","",d.contentGlobalPrimary),selectAllIndeterminatedColor:r.extend("--ftds-floating-menu-select-all-indeterminated-color","",d.contentGlobalPrimary),selectAllIndeterminatedIconColor:r.extend("--ftds-floating-menu-select-all-indeterminated-icon-color","",d.contentActionPrimary),selectAllIndeterminatedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-indeterminated-default-state-layer-opacity","",c.opacity0),selectAllIndeterminatedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-indeterminated-hover-state-layer-opacity","",c.opacity8),selectAllIndeterminatedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-indeterminated-focus-state-layer-opacity","",c.opacity16),selectAllUncheckedStateLayerColor:r.extend("--ftds-floating-menu-select-all-unchecked-state-layer-color","",d.contentGlobalPrimary),selectAllUncheckedColor:r.extend("--ftds-floating-menu-select-all-unchecked-color","",d.contentGlobalPrimary),selectAllUncheckedIconColor:r.extend("--ftds-floating-menu-select-all-unchecked-icon-color","",d.contentGlobalSubtle),selectAllUncheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-unchecked-default-state-layer-opacity","",c.opacity0),selectAllUncheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-unchecked-hover-state-layer-opacity","",c.opacity8),selectAllUncheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-unchecked-focus-state-layer-opacity","",c.opacity16),defaultUncheckedStateLayerColor:r.extend("--ftds-floating-menu-default-unchecked-state-layer-color","",d.contentGlobalPrimary),defaultUncheckedColor:r.extend("--ftds-floating-menu-default-unchecked-color","",d.contentGlobalPrimary),defaultUncheckedIconColor:r.extend("--ftds-floating-menu-default-unchecked-icon-color","",d.contentGlobalSubtle),defaultUncheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-default-unchecked-default-state-layer-opacity","",c.opacity0),defaultUncheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-default-unchecked-hover-state-layer-opacity","",c.opacity8),defaultUncheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-default-unchecked-focus-state-layer-opacity","",c.opacity16),defaultCheckedStateLayerColor:r.extend("--ftds-floating-menu-default-checked-state-layer-color","",d.contentActionPrimary),defaultCheckedColor:r.extend("--ftds-floating-menu-default-checked-color","",d.contentActionPrimary),defaultCheckedIconColor:r.extend("--ftds-floating-menu-default-checked-icon-color","",d.contentActionPrimary),defaultCheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-default-checked-default-state-layer-opacity","",c.opacity8),defaultCheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-default-checked-hover-state-layer-opacity","",c.opacity16),defaultCheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-default-checked-focus-state-layer-opacity","",c.opacity24)};var Fd={menuVerticalGap:r.extend("--ftds-combobox-menu-vertical-gap","",c.spacing2),menuNewValuePaddingTop:r.extend("--ftds-combobox-menu-new-value-padding-top","",c.spacing4),menuNewValuePaddingBottom:r.extend("--ftds-combobox-menu-new-value-padding-bottom","",c.spacing1),menuNewValueHorizontalPadding:r.extend("--ftds-combobox-menu-new-value-horizontal-padding","",c.spacing4),menuNewValueLabelColor:r.extend("--ftds-combobox-menu-new-value-label-color","",d.contentGlobalSubtle),menuNewValueBorderColor:r.extend("--ftds-combobox-menu-new-value-border-color","",d.borderGlobalPrimary),menuNewValueBorderWidth:r.create("--ftds-combobox-menu-new-value-border-width","","SIZE","1px"),menuNewValueErrorBackgroundColor:r.extend("--ftds-combobox-menu-new-value-error-background-color","",d.backgroundErrorSubtle),menuNewValueErrorBorderColor:r.extend("--ftds-combobox-menu-new-value-error-border-color","",d.borderErrorPrimary),menuNewValueErrorStateLayerColor:r.extend("--ftds-combobox-menu-new-value-error-state-layer-color","",d.contentActionPrimary),menuNewValueErrorHoverStateLayerOpacity:r.extend("--ftds-combobox-menu-new-value-error-hover-state-layer-opacity","",c.opacity4),menuNewValueErrorActiveStateLayerOpacity:r.extend("--ftds-combobox-menu-new-value-error-active-state-layer-opacity","",c.opacity6),menuMessagePaddingTop:r.extend("--ftds-combobox-menu-message-padding-top","",c.spacing2),menuMessagePaddingBottom:r.extend("--ftds-combobox-menu-message-padding-bottom","",c.spacing2),menuMessageHorizontalPadding:r.extend("--ftds-combobox-menu-message-horizontal-padding","",c.spacing4),menuMessageLabelColor:r.extend("--ftds-combobox-menu-message-label-color","",d.contentGlobalSubtle),valuesChipBackgroundColor:r.extend("--ftds-combobox-values-chip-background-color","",d.backgroundGlobalOnSurface),valuesChipBorderColor:r.extend("--ftds-combobox-values-chip-border-color","",d.borderInputPrimary)};var $d={backgroundColor:r.extend("--ftds-popover-background-color","",d.backgroundGlobalOnSurface),titleColor:r.extend("--ftds-popover-title-color","",d.contentGlobalPrimary),bodyColor:r.extend("--ftds-popover-body-color","",d.contentGlobalSecondary),gap:r.extend("--ftds-popover-gap","",c.spacing2),borderRadius:r.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:r.extend("--ftds-popover-shadow","",c.shadowElevation02),maxWidth:r.create("--ftds-popover-max-width","","SIZE","440px"),minWidth:r.create("--ftds-popover-min-width","","SIZE","160px"),maxHeight:r.create("--ftds-popover-max-height","","SIZE","0.16vh"),contentSectionVerticalGap:r.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:r.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6),defaultHorizontalPadding:r.extend("--ftds-popover-default-horizontal-padding","",c.spacing6),defaultVerticalPadding:r.extend("--ftds-popover-default-vertical-padding","",c.spacing6),denseHorizontalPadding:r.extend("--ftds-popover-dense-horizontal-padding","",c.spacing3),denseVerticalPadding:r.extend("--ftds-popover-dense-vertical-padding","",c.spacing3)};var Bd={hoverStateLayerOpacity:r.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:r.extend("--ftds-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:r.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ftds-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ftds-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:r.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:r.extend("--ftds-collapsible-vertical-padding","",c.spacing3),color:r.extend("--ftds-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:r.extend("--ftds-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:r.extend("--ftds-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:r.extend("--ftds-collapsible-border-color","",d.borderGlobalSubtle),iconSize:r.extend("--ftds-collapsible-icon-size","",c.iconSize3)};var zd={groupHorizontalPadding:r.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:r.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:r.extend("--ftds-switch-group-gap","",c.spacing1),groupBackgroundColor:r.extend("--ftds-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:r.extend("--ftds-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:r.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ftds-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:r.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:r.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:r.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:r.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:r.extend("--ftds-switch-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ftds-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:r.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:r.extend("--ftds-switch-on-disabled-component-opacity","",c.opacity40),onColor:r.extend("--ftds-switch-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:r.extend("--ftds-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:r.extend("--ftds-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:r.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:r.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)};var Hd={color1Light:r.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:r.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:r.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:r.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:r.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:r.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:r.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:r.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:r.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:r.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:r.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:r.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:r.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:r.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:r.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:r.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:r.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:r.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:r.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:r.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:r.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:r.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:r.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:r.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:r.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:r.extend("--ftds-chart-monochrome-60","",c.colorBrand200)};var Gd={color1IconColor:r.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:r.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:r.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:r.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:r.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:r.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:r.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:r.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:r.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:r.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:r.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:r.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:r.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:r.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:r.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:r.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var Vd={borderWidth:r.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:r.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:r.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:r.extend("--ftds-notice-gap","",c.spacing2),iconSize:r.extend("--ftds-notice-icon-size","",c.iconSize3),infoBackgroundColor:r.extend("--ftds-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:r.extend("--ftds-notice-info-border-color","",d.borderInfoSubtle),infoColor:r.extend("--ftds-notice-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:r.extend("--ftds-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:r.extend("--ftds-notice-warning-border-color","",d.borderWarningSubtle),warningColor:r.extend("--ftds-notice-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ftds-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:r.extend("--ftds-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:r.extend("--ftds-notice-error-border-color","",d.borderErrorSubtle),errorColor:r.extend("--ftds-notice-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ftds-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:r.extend("--ftds-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:r.extend("--ftds-notice-success-border-color","",d.borderSuccessSubtle),successColor:r.extend("--ftds-notice-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ftds-notice-success-icon-color","",d.contentSuccessIconOnly),denseHorizontalPadding:r.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:r.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:r.extend("--ftds-notice-dense-gap","",c.spacing1),denseIconSize:r.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:r.create("--ftds-notice-dense-border-width","","SIZE","0")};var Wd={iconSize:r.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:r.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:r.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:r.extend("--ftds-notification-vertical-padding","",c.spacing3),infoBackgroundColor:r.extend("--ftds-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ftds-notification-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ftds-notification-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ftds-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ftds-notification-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ftds-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ftds-notification-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ftds-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-notification-error-border-color","",d.borderErrorSubtle),borderRadius:r.extend("--ftds-notification-border-radius","",c.borderRadiusPill),borderWidth:r.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:r.extend("--ftds-notification-trailing-gap","",c.spacing8)};var jd={horizontalPadding:r.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:r.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:r.extend("--ftds-tooltip-border-radius","",c.borderRadiusS),color:r.extend("--ftds-tooltip-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ftds-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:r.extend("--ftds-tooltip-background-opacity","",c.opacity80),shadow:r.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:r.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ftds-tooltip-gap","",c.spacing05)};var Kd={menuHorizontalPadding:r.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:r.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:r.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:r.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)};var or;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(or||(or={}));var nr;(function(e){e.large="large",e.medium="medium",e.small="small"})(nr||(nr={}));function rn(e){return`ftds--family-${e}`}function on(e){return`ftds--size-${e}`}var B={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)"),colorInfo:r.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:r.create("--ft-color-warning","","COLOR","#B74706"),colorError:r.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:r.create("--ft-color-success","","COLOR","#187856"),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","","SHADOW","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","","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)"),elevation02:r.create("--ft-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)"),elevation03:r.create("--ft-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)"),elevation04:r.create("--ft-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)"),elevation06:r.create("--ft-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)"),elevation08:r.create("--ft-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)"),elevation12:r.create("--ft-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)"),elevation16:r.create("--ft-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)"),elevation24:r.create("--ft-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)"),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 sn={};I(sn,{DynamicImporter:()=>Ur,dynamicImporter:()=>Zd});var Ur=class{async import(t){if(t)return import(t)}},Zd=new Ur;var Sn={};I(Sn,{computeOffsetAutoPosition:()=>xn,computeOffsetPosition:()=>bu});var bs=["top","right","bottom","left"],gs=["start","end"],ln=bs.reduce((e,t)=>e.concat(t,t+"-"+gs[0],t+"-"+gs[1]),[]),et=Math.min,Ce=Math.max,ir=Math.round;var Ae=e=>({x:e,y:e}),qd={left:"right",right:"left",bottom:"top",top:"bottom"};function xs(e,t,o){return Ce(e,et(t,o))}function Nt(e,t){return typeof e=="function"?e(t):e}function tt(e){return e.split("-")[0]}function we(e){return e.split("-")[1]}function dn(e){return e==="x"?"y":"x"}function un(e){return e==="y"?"height":"width"}function Pt(e){let t=e[0];return t==="t"||t==="b"?"y":"x"}function pn(e){return dn(Pt(e))}function Ss(e,t,o){o===void 0&&(o=!1);let n=we(e),i=pn(e),a=un(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=cn(s)),[s,cn(s)]}function Es(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}function cn(e){let t=tt(e);return qd[t]+e.slice(t.length)}function Yd(e){var t,o,n,i;return{top:(t=e.top)!=null?t:0,right:(o=e.right)!=null?o:0,bottom:(n=e.bottom)!=null?n:0,left:(i=e.left)!=null?i:0}}function vs(e){return typeof e!="number"?Yd(e):{top:e,right:e,bottom:e,left:e}}function rt(e){let{x:t,y:o,width:n,height:i}=e;return{width:n,height:i,top:o,left:t,right:t+n,bottom:o+i,x:t,y:o}}function Os(e,t,o){let{reference:n,floating:i}=e,a=Pt(t),s=pn(t),l=un(s),u=tt(t),p=a==="y",h=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,m=n[l]/2-i[l]/2,b;switch(u){case"top":b={x:h,y:n.y-i.height};break;case"bottom":b={x:h,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:f};break;case"left":b={x:n.x-i.width,y:f};break;default:b={x:n.x,y:n.y}}let S=we(t);return S&&(b[s]+=m*(S==="end"?1:-1)*(o&&p?-1:1)),b}async function Cs(e,t){var o;t===void 0&&(t={});let{x:n,y:i,platform:a,rects:s,elements:l,strategy:u}=e,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:m=!1,padding:b=0}=Nt(t,e),S=vs(b),E=l[m?f==="floating"?"reference":"floating":f],A=rt(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(E)))==null||o?E:E.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:p,rootBoundary:h,strategy:u})),P=f==="floating"?{x:n,y:i,width:s.floating.width,height:s.floating.height}:s.reference,y=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),g=await(a.isElement==null?void 0:a.isElement(y))&&await(a.getScale==null?void 0:a.getScale(y))||{x:1,y:1},x=rt(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:P,offsetParent:y,strategy:u}):P);return{top:(A.top-x.top+S.top)/g.y,bottom:(x.bottom-A.bottom+S.bottom)/g.y,left:(A.left-x.left+S.left)/g.x,right:(x.right-A.right+S.right)/g.x}}var Xd=50,As=async(e,t,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,l=s.detectOverflow?s:{...s,detectOverflow:Cs},u=await(s.isRTL==null?void 0:s.isRTL(t)),p=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:h,y:f}=Os(p,n,u),m=n,b=0,S={};for(let C=0;C<a.length;C++){let E=a[C];if(!E)continue;let{name:A,fn:P}=E,{x:y,y:g,data:x,reset:R}=await P({x:h,y:f,initialPlacement:n,placement:m,strategy:i,middlewareData:S,rects:p,platform:l,elements:{reference:e,floating:t}});h=y??h,f=g??f,S[A]={...S[A],...x},R&&b<Xd&&(b++,typeof R=="object"&&(R.placement&&(m=R.placement),R.rects&&(p=R.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):R.rects),{x:h,y:f}=Os(p,m,u)),C=-1)}return{x:h,y:f,placement:m,strategy:i,middlewareData:S}};function Jd(e,t,o){return(e?[...o.filter(i=>we(i)===e),...o.filter(i=>we(i)!==e)]:o.filter(i=>tt(i)===i)).filter(i=>e?we(i)===e||(t?Es(i)!==i:!1):!0)}var ws=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,i;let{rects:a,middlewareData:s,placement:l,platform:u,elements:p}=t,{crossAxis:h=!1,alignment:f,allowedPlacements:m=ln,autoAlignment:b=!0,...S}=Nt(e,t),C=f!==void 0||m===ln?Jd(f||null,b,m):m,E=((o=s.autoPlacement)==null?void 0:o.index)||0,A=C[E];if(A==null)return{};if(l!==A)return{reset:{placement:C[0]}};let P=await u.detectOverflow(t,S),y=Ss(A,a,await(u.isRTL==null?void 0:u.isRTL(p.floating))),g=[P[tt(A)],P[y[0]],P[y[1]]],x=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:A,overflows:g}],R=C[E+1];if(R)return{data:{index:E+1,overflows:x},reset:{placement:R}};let _=x.map(T=>{let M=we(T.placement);return[T.placement,M&&h?T.overflows.slice(0,2).reduce((K,ve)=>K+ve,0):T.overflows[0],T.overflows]}).sort((T,M)=>T[1]-M[1]),W=((i=_.filter(T=>T[2].slice(0,we(T[0])?2:3).every(M=>M<=0))[0])==null?void 0:i[0])||_[0][0];return W!==l?{data:{index:E+1,overflows:x},reset:{placement:W}}:{}}}};var Qd=new Set(["left","top"]);async function eu(e,t){let{placement:o,platform:n,elements:i}=e,a=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=tt(o),l=we(o),u=Pt(o)==="y",p=Qd.has(s)?-1:1,h=a&&u?-1:1,f=Nt(t,e),{mainAxis:m,crossAxis:b,alignmentAxis:S}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof S=="number"&&(b=l==="end"?S*-1:S),u?{x:b*h,y:m*p}:{x:m*p,y:b*h}}var Rs=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var o,n;let{x:i,y:a,placement:s,middlewareData:l}=t,u=await eu(t,e);return s===((o=l.offset)==null?void 0:o.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:i+u.x,y:a+u.y,data:{...u,placement:s}}}}},_s=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:n,placement:i,platform:a}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:u={fn:P=>{let{x:y,y:g}=P;return{x:y,y:g}}},...p}=Nt(e,t),h={x:o,y:n},f=await a.detectOverflow(t,p),m=Pt(i),b=dn(m),S=h[b],C=h[m],E=(P,y)=>xs(y+f[P==="y"?"top":"left"],y,y-f[P==="y"?"bottom":"right"]);s&&(S=E(b,S)),l&&(C=E(m,C));let A=u.fn({...t,[b]:S,[m]:C});return{...A,data:{x:A.x-o,y:A.y-n,enabled:{[b]:s,[m]:l}}}}}};var Ts=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){let{placement:o,rects:n,platform:i,elements:a}=t,{apply:s=()=>{},...l}=Nt(e,t),u=await i.detectOverflow(t,l),p=tt(o),h=we(o),f=Pt(o)==="y",{width:m,height:b}=n.floating,S,C;p==="top"||p==="bottom"?(S=p,C=h===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(C=p,S=h==="end"?"top":"bottom");let E=b-u.top-u.bottom,A=m-u.left-u.right,P=et(b-u[S],E),y=et(m-u[C],A),g=t.middlewareData.shift,x=!g,R=P,_=y;g!=null&&g.enabled.x&&(_=A),g!=null&&g.enabled.y&&(R=E),x&&!h&&(f?_=m-2*Ce(u.left,u.right):R=b-2*Ce(u.top,u.bottom)),await s({...t,availableWidth:_,availableHeight:R});let D=await i.getDimensions(a.floating);return m!==D.width||b!==D.height?{reset:{rects:!0}}:{}}}};function $r(){return typeof window<"u"}function nt(e){return Ns(e)?(e.nodeName||"").toLowerCase():"#document"}function ee(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ne(e){var t;return(t=(Ns(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ns(e){return $r()?e instanceof Node||e instanceof ee(e).Node:!1}function ge(e){return $r()?e instanceof Element||e instanceof ee(e).Element:!1}function Pe(e){return $r()?e instanceof HTMLElement||e instanceof ee(e).HTMLElement:!1}function Ls(e){return!$r()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ee(e).ShadowRoot}function ar(e){let{overflow:t,overflowX:o,overflowY:n,display:i}=be(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&i!=="inline"&&i!=="contents"}function Ps(e){return/^(table|td|th)$/.test(nt(e))}function sr(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}var tu=/transform|translate|scale|rotate|perspective|filter/,ru=/paint|layout|strict|content/,ot=e=>!!e&&e!=="none",fn;function It(e){let t=ge(e)?be(e):e;return ot(t.transform)||ot(t.translate)||ot(t.scale)||ot(t.rotate)||ot(t.perspective)||!Br()&&(ot(t.backdropFilter)||ot(t.filter))||tu.test(t.willChange||"")||ru.test(t.contain||"")}function Is(e){let t=ze(e);for(;Pe(t)&&!kt(t);){if(It(t))return t;if(sr(t))return null;t=ze(t)}return null}function Br(){return fn==null&&(fn=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),fn}function kt(e){return/^(html|body|#document)$/.test(nt(e))}function be(e){return ee(e).getComputedStyle(e)}function cr(e){return ge(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ze(e){if(nt(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Ls(e)&&e.host||Ne(e);return Ls(t)?t.host:t}function ks(e){let t=ze(e);return kt(t)?(e.ownerDocument||e).body:Pe(t)&&ar(t)?t:ks(t)}function Fr(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let i=ks(e),a=i===((n=e.ownerDocument)==null?void 0:n.body),s=ee(i);if(a){let l=zr(s);return t.concat(s,s.visualViewport||[],ar(i)?i:[],l&&o?Fr(l):[])}else return t.concat(i,Fr(i,[],o))}function zr(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Us(e){let t=be(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=Pe(e),a=i?e.offsetWidth:o,s=i?e.offsetHeight:n,l=ir(o)!==a||ir(n)!==s;return l&&(o=a,n=s),{width:o,height:n,$:l}}function Fs(e){return ge(e)?e:e.contextElement}function Dt(e){let t=Fs(e);if(!Pe(t))return Ae(1);let o=t.getBoundingClientRect(),{width:n,height:i,$:a}=Us(t),s=(a?ir(o.width):o.width)/n,l=(a?ir(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var ou=Ae(0);function $s(e){let t=ee(e);return!Br()||!t.visualViewport?ou:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function nu(e,t,o){return t===void 0&&(t=!1),!!o&&t&&o===ee(e)}function lr(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let i=e.getBoundingClientRect(),a=Fs(e),s=Ae(1);t&&(n?ge(n)&&(s=Dt(n)):s=Dt(e));let l=nu(a,o,n)?$s(a):Ae(0),u=(i.left+l.x)/s.x,p=(i.top+l.y)/s.y,h=i.width/s.x,f=i.height/s.y;if(a&&n){let m=ee(a),b=ge(n)?ee(n):n,S=m,C=zr(S);for(;C&&b!==S;){let E=Dt(C),A=C.getBoundingClientRect(),P=be(C),y=A.left+(C.clientLeft+parseFloat(P.paddingLeft))*E.x,g=A.top+(C.clientTop+parseFloat(P.paddingTop))*E.y;u*=E.x,p*=E.y,h*=E.x,f*=E.y,u+=y,p+=g,S=ee(C),C=zr(S)}}return rt({width:h,height:f,x:u,y:p})}function Hr(e,t){let o=cr(e).scrollLeft;return t?t.left+o:lr(Ne(e)).left+o}function Bs(e,t){let o=e.getBoundingClientRect(),n=o.left+t.scrollLeft-Hr(e,o),i=o.top+t.scrollTop;return{x:n,y:i}}function iu(e){let{elements:t,rect:o,offsetParent:n,strategy:i}=e,a=i==="fixed",s=Ne(n),l=t?sr(t.floating):!1;if(n===s||l&&a)return o;let u={scrollLeft:0,scrollTop:0},p=Ae(1),h=Ae(0),f=Pe(n);if((f||!a)&&((nt(n)!=="body"||ar(s))&&(u=cr(n)),f)){let b=lr(n);p=Dt(n),h.x=b.x+n.clientLeft,h.y=b.y+n.clientTop}let m=s&&!f&&!a?Bs(s,u):Ae(0);return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-u.scrollLeft*p.x+h.x+m.x,y:o.y*p.y-u.scrollTop*p.y+h.y+m.y}}function au(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function su(e){let t=cr(e),o=e.ownerDocument.body,n=Ce(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),i=Ce(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight),a=-t.scrollLeft+Hr(e),s=-t.scrollTop;return be(o).direction==="rtl"&&(a+=Ce(e.clientWidth,o.clientWidth)-n),{width:n,height:i,x:a,y:s}}var cu=25;function lu(e,t,o){o===void 0&&(o="viewport");let n=o==="layoutViewport",i=ee(e),a=Ne(e),s=i.visualViewport,l=a.clientWidth,u=a.clientHeight,p=0,h=0;if(s){let m=!Br()||t==="fixed";n?m||(p=-s.offsetLeft,h=-s.offsetTop):(l=s.width,u=s.height,m&&(p=s.offsetLeft,h=s.offsetTop))}if(Hr(a)<=0){let m=a.ownerDocument,b=m.body,S=getComputedStyle(b),C=m.compatMode==="CSS1Compat"&&parseFloat(S.marginLeft)+parseFloat(S.marginRight)||0,E=Math.abs(a.clientWidth-b.clientWidth-C),A=getComputedStyle(a).scrollbarGutter==="stable both-edges"?E/2:E;A<=cu&&(l-=A)}return{width:l,height:u,x:p,y:h}}function du(e,t){let o=lr(e,!0,t==="fixed"),n=o.top+e.clientTop,i=o.left+e.clientLeft,a=Dt(e),s=e.clientWidth*a.x,l=e.clientHeight*a.y,u=i*a.x,p=n*a.y;return{width:s,height:l,x:u,y:p}}function Ds(e,t,o){let n;if(t==="viewport"||t==="layoutViewport")n=lu(e,o,t);else if(t==="document")n=su(Ne(e));else if(ge(t))n=du(t,o);else{let i=$s(e);n={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return rt(n)}function uu(e,t){let o=t.get(e);if(o)return o;let n=Fr(e,[],!1).filter(l=>ge(l)&&nt(l)!=="body"),i=null,a=be(e).position==="fixed",s=a?ze(e):e;for(;ge(s)&&!kt(s);){let l=be(s),u=It(s),p=i?i.position:a?"fixed":"";!u&&(p==="fixed"||p==="absolute"&&l.position==="static")?n=n.filter(f=>f!==s):i=l,s=ze(s)}return t.set(e,n),n}function pu(e){let{element:t,boundary:o,rootBoundary:n,strategy:i}=e,s=[...o==="clippingAncestors"?sr(t)?[]:uu(t,this._c):[].concat(o),n],l=Ds(t,s[0],i),u=l.top,p=l.right,h=l.bottom,f=l.left;for(let m=1;m<s.length;m++){let b=Ds(t,s[m],i);u=Ce(b.top,u),p=et(b.right,p),h=et(b.bottom,h),f=Ce(b.left,f)}return{width:p-f,height:h-u,x:f,y:u}}function fu(e){let{width:t,height:o}=Us(e);return{width:t,height:o}}function hu(e,t,o){let n=Pe(t),i=Ne(t),a=o==="fixed",s=lr(e,!0,a,t),l={scrollLeft:0,scrollTop:0},u=Ae(0);if((n||!a)&&((nt(t)!=="body"||ar(i))&&(l=cr(t)),n)){let m=lr(t,!0,a,t);u.x=m.x+t.clientLeft,u.y=m.y+t.clientTop}!n&&i&&(u.x=Hr(i));let p=i&&!n&&!a?Bs(i,l):Ae(0),h=s.left+l.scrollLeft-u.x-p.x,f=s.top+l.scrollTop-u.y-p.y;return{x:h,y:f,width:s.width,height:s.height}}function hn(e){return be(e).position==="static"}function Ms(e,t){if(!Pe(e)||be(e).position==="fixed")return null;if(t)return t(e);let o=e.offsetParent;return Ne(e)===o&&(o=o.ownerDocument.body),o}function zs(e,t){let o=ee(e);if(sr(e))return o;if(!Pe(e)){let i=ze(e);for(;i&&!kt(i);){if(ge(i)&&!hn(i))return i;i=ze(i)}return o}let n=Ms(e,t);for(;n&&Ps(n)&&hn(n);)n=Ms(n,t);return n&&kt(n)&&hn(n)&&!It(n)?o:n||Is(e)||o}var mu=async function(e){let t=this.getOffsetParent||zs,o=this.getDimensions,n=await o(e.floating);return{reference:hu(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function yu(e){return be(e).direction==="rtl"}var Mt={convertOffsetParentRelativeRectToViewportRelativeRect:iu,getDocumentElement:Ne,getClippingRect:pu,getOffsetParent:zs,getElementRects:mu,getClientRects:au,getDimensions:fu,getScale:Dt,isElement:ge,isRTL:yu};var Hs=Rs,mn=ws,Gs=_s;var Vs=Ts;var yn=(e,t,o)=>{let n=new Map,i=o??{},a={...Mt,...i.platform,_c:n};return As(e,t,{...i,platform:a})};function bn(e){return gu(e)}function gn(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function gu(e){for(let t=e;t;t=gn(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=gn(e);t;t=gn(t)){if(!(t instanceof Element))continue;let o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||It(o)||t.tagName==="BODY"))return t}return null}async function bu(e,t,o){let n;return typeof o=="object"?n=o:n={placement:o},yn(e,t,{strategy:n.strategy,platform:{...Mt,getOffsetParent:i=>Mt.getOffsetParent(i,bn)},middleware:[Gs({crossAxis:!0}),mn({allowedPlacements:[n.placement]})]})}async function xn(e,t,o,n,i,a,s){let l,u;return typeof o=="object"?(l=o.placement,n=o.allowedPlacements,i=o.strategy,a=o.maxHeightCssVariable,u=o.maxWidthCssVariable,s=o.offsetValue):l=o,yn(e,t,{placement:l,strategy:i,platform:{...Mt,getOffsetParent:p=>Mt.getOffsetParent(p,bn)},middleware:[Hs(s??4),mn({allowedPlacements:n}),Vs({apply({availableHeight:p,availableWidth:h,elements:f}){typeof a=="string"&&(a=`var(${a})`),a?f.floating.style.maxHeight=`min(${Math.max(0,p)}px, ${a})`:f.floating.style.maxHeight=`${Math.max(0,p)}px`,typeof u=="string"&&(u=`var(${u})`),u?f.floating.style.maxWidth=`min(${Math.max(0,h)}px, ${u})`:f.floating.style.maxWidth=`${Math.max(0,h)}px`}})]})}var En={};I(En,{isSlotEmptyOrWithoutContent:()=>dr});var dr=e=>e?e.assignedNodes({flatten:!0}).filter(n=>{var i;return n.nodeType===Node.TEXT_NODE?((i=n.textContent)!==null&&i!==void 0?i:"").trim().length>0:!0}).length===0:!0;var Rn={};I(Rn,{FtdsBase:()=>wn,toFtdsBase:()=>Xs});var An={};I(An,{ExportpartsUpdatedEvent:()=>it,FtLitElement:()=>H});var vn={};I(vn,{ScopedRegistryLitElement:()=>ur});var ur=class extends fe{get scopedRegistryConstructor(){return this.constructor}createRenderRoot(){let t=this.scopedRegistryConstructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,t.defineScopedElements(t.elementDefinitions));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return jt(n,t.elementStyles),n}static canDefineScopedElement(t){return!!this.registry&&!this.registry.get(t)}static defineScopedElements(t){Object.entries(t).forEach(([o,n])=>this.defineScopedElement(o,n))}static defineScopedElement(t,o){er(t)(o),this.canDefineScopedElement(t)&&this.registry.define(t,o)}canDefineScopedElement(t){return this.scopedRegistryConstructor.canDefineScopedElement(t)}defineScopedElements(t){this.scopedRegistryConstructor.defineScopedElements(t)}defineScopedElement(t,o){this.scopedRegistryConstructor.defineScopedElement(t,o)}};var Cn={};I(Cn,{shadowQuerySelector:()=>On,shadowQuerySelectorAll:()=>xu});function On(e,t,...o){var n;let i=e.querySelector(t);for(let a of o)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}function xu(e,t,...o){let n=[...e.querySelectorAll(t)];for(let i of o)n=n.flatMap(a=>{var s,l;return[...(l=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(i))!==null&&l!==void 0?l:[]]});return n}var Ut=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Zs,Ws=Symbol("constructorPrototype"),js=Symbol("constructorName"),qs=Symbol("exportpartsDebouncer"),Ks=Symbol("dynamicDependenciesLoaded"),it=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};it.eventName="exportparts-updated";var H=class extends ur{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Zs]=new $e(5),this.scheduleExportpartsUpdate=()=>{var t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[qs].run(()=>{var 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)})},this[js]=this.constructor.name,this[Ws]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[js]&&Object.setPrototypeOf(this,this[Ws])}connectedCallback(){var t;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let o=this.constructor;o[Ks]||(o[Ks]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(it.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(it.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.focusElementToFocus(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate(),t.has("exportparts")&&this.dispatchEvent(new it)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:i}=this.elementToFocus;if(n!=null){let a=[...i??[],n];o=On(this.shadowRoot,...a)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var o,n,i;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}setExportpartsAttribute(t){var o,n,i,a,s,l;let u=m=>m!=null&&m.trim().length>0,p=t.filter(u).map(m=>m.trim());if(p.length===0){this.exportparts=void 0;return}let h=new Set;for(let m of(a=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&a!==void 0?a:[]){let b=(s=(n=m.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&s!==void 0?s:[],S=(l=(i=m.getAttribute("exportparts"))===null||i===void 0?void 0:i.split(",").map(E=>E.split(":")[1]))!==null&&l!==void 0?l:[],C=[...b,...S].filter(u).map(E=>E.trim());for(let E of C)h.add(E)}if(h.size===0){this.exportparts=void 0;return}let f=[...h.values()].flatMap(m=>p.map(b=>`${m}:${b}--${m}`));this.exportparts=[...this.part,...f].join(", ")}};Zs=qs;Ut([O()],H.prototype,"exportpartsPrefix",void 0);Ut([Dr([])],H.prototype,"exportpartsPrefixes",void 0);Ut([O({reflect:!0})],H.prototype,"exportparts",void 0);Ut([O()],H.prototype,"customStylesheet",void 0);Ut([O()],H.prototype,"elementToFocus",void 0);Ut([$()],H.prototype,"useAdoptedStyleSheets",void 0);var Ys=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Xs=se(Symbol("toFtdsBase"),function(e){class t extends e{constructor(){super(...arguments),this.size=nr.medium,this.family=or.neutral}getDesignSystemBaseClasses(){return{[rn(this.family)]:!0,[on(this.size)]:!0}}}return Ys([O()],t.prototype,"size",void 0),Ys([O()],t.prototype,"family",void 0),t}),wn=class extends Xs(H){};var Js={};var Tn={};I(Tn,{highlightHtml:()=>vu,highlightHtmlColorCssVariable:()=>Qs,highlightHtmlStyles:()=>Eu});var at=class e{constructor(t,o=!0,n=[],i=5e3){this.ctx=t,this.iframes=o,this.exclude=n,this.iframesTimeout=i}static matches(t,o){let n=typeof o=="string"?[o]:o,i=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(t,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let t,o=[];return typeof this.ctx>"u"||!this.ctx?t=[]:NodeList.prototype.isPrototypeOf(this.ctx)?t=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?t=this.ctx:typeof this.ctx=="string"?t=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):t=[this.ctx],t.forEach(n=>{let i=o.filter(a=>a.contains(n)).length>0;o.indexOf(n)===-1&&!i&&o.push(n)}),o}getIframeContents(t,o,n=()=>{}){let i;try{let a=t.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&o(i)}isIframeBlank(t){let o="about:blank",n=t.getAttribute("src").trim();return t.contentWindow.location.href===o&&n!==o&&n}observeIframeLoad(t,o,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(t)||(t.removeEventListener("load",s),this.getIframeContents(t,o,n))}catch{n()}}};t.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(t,o,n){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,o,n):this.getIframeContents(t,o,n):this.observeIframeLoad(t,o,n)}catch{n()}}waitForIframes(t,o){let n=0;this.forEachIframe(t,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||o()})},i=>{i||o()})}forEachIframe(t,o,n,i=()=>{}){let a=t.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let u=()=>{--s<=0&&i(l)};s||u(),a.forEach(p=>{e.matches(p,this.exclude)?u():this.onIframeReady(p,h=>{o(p)&&(l++,n(h)),u()},u)})}createIterator(t,o,n){return document.createNodeIterator(t,o,n,!1)}createInstanceOnIframe(t){return new e(t.querySelector("html"),this.iframes)}compareNodeIframe(t,o,n){let i=t.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(o!==null){let s=o.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(t){let o=t.previousNode(),n;return o===null?n=t.nextNode():n=t.nextNode()&&t.nextNode(),{prevNode:o,node:n}}checkIframeFilter(t,o,n,i){let a=!1,s=!1;return i.forEach((l,u)=>{l.val===n&&(a=u,s=l.handled)}),this.compareNodeIframe(t,o,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(t,o,n,i){t.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(o,n,i)})})}iterateThroughNodes(t,o,n,i,a){let s=this.createIterator(o,t,i),l=[],u=[],p,h,f=()=>({prevNode:h,node:p}=this.getIteratorNode(s),p);for(;f();)this.iframes&&this.forEachIframe(o,m=>this.checkIframeFilter(p,h,m,l),m=>{this.createInstanceOnIframe(m).forEachNode(t,b=>u.push(b),i)}),u.push(p);u.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(l,t,n,i),a()}forEachNode(t,o,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(l=>{let u=()=>{this.iterateThroughNodes(t,l,o,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(l,u):u()})}};var pr=class{constructor(t){this.ctx=t,this.ie=!1;let o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new at(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,o="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[o]=="function"&&n[o](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return this.opt.wildcards!=="disabled"&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),this.opt.wildcards!=="disabled"&&(t=this.createWildcardsRegExp(t)),t=this.createAccuracyRegExp(t),t}createSynonymsRegExp(t){let o=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in o)if(o.hasOwnProperty(a)){let s=o[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),u=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&u!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(u)})`,`gm${n}`),i+`(${this.processSynomyms(l)}|${this.processSynomyms(u)})`+i))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return t=t.replace(/(?:\\)*\?/g,o=>o.charAt(0)==="\\"?"?":""),t.replace(/(?:\\)*\*/g,o=>o.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(t){let o=this.opt.wildcards==="withSpaces";return t.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,(o,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?o:o+"\0"})}createJoinersRegExp(t){let o=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&o.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?t.split(/\u0000+/).join(`[${o.join("")}]*`):t}createDiacriticsRegExp(t){let o=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return t.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;t=t.replace(new RegExp(`[${s}]`,`gm${o}`),`[${s}]`),i.push(s)}return!0})}),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(t){let o="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),i){case"partially":default:return`()(${t})`;case"complementary":return s="\\s"+(s||this.escapeStr(o)),`()([^${s}]*${t}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${t})(?=$|\\s${s})`}}getSeparatedKeywords(t){let o=[];return t.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&o.indexOf(i)===-1&&o.push(i)}):n.trim()&&o.indexOf(n)===-1&&o.push(n)}),{keywords:o.sort((n,i)=>i.length-n.length),length:o.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||Object.prototype.toString.call(t[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];let o=[],n=0;return t.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(i,n);l&&(i.start=a,i.length=s-a,o.push(i),n=s)}),o}callNoMatchOnInvalidRanges(t,o){let n,i,a=!1;return t&&typeof t.start<"u"?(n=parseInt(t.start,10),i=n+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&i-o>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:n,end:i,valid:a}}checkWhitespaceRanges(t,o,n){let i,a=!0,s=n.length,l=o-s,u=parseInt(t.start,10)-l;return u=u>s?s:u,i=u+parseInt(t.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),u<0||i-u<0||u>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):n.substring(u,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:u,end:i,valid:a}}getTextNodes(t){let o="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:o.length,end:(o+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{t({value:o,nodes:n})})}matchesExclude(t){return at.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,o,n){let i=this.opt.element?this.opt.element:"mark",a=t.splitText(o),s=a.splitText(n-o),l=document.createElement(i);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(t,o,n,i,a){t.nodes.every((s,l)=>{let u=t.nodes[l+1];if(typeof u>"u"||u.start>o){if(!i(s.node))return!1;let p=o-s.start,h=(n>s.end?s.end:n)-s.start,f=t.value.substr(0,s.start),m=t.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,p,h),t.value=f+m,t.nodes.forEach((b,S)=>{S>=l&&(t.nodes[S].start>0&&S!==l&&(t.nodes[S].start-=h),t.nodes[S].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)o=s.end;else return!1}return!0})}wrapMatches(t,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(l=>{l.nodes.forEach(u=>{u=u.node;let p;for(;(p=t.exec(u.textContent))!==null&&p[s]!=="";){if(!n(p[s],u))continue;let h=p.index;if(s!==0)for(let f=1;f<s;f++)h+=p[f].length;u=this.wrapRangeInTextNode(u,h,h+p[s].length),i(u.previousSibling),t.lastIndex=0}}),a()})}wrapMatchesAcrossElements(t,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(l=>{let u;for(;(u=t.exec(l.value))!==null&&u[s]!=="";){let p=u.index;if(s!==0)for(let f=1;f<s;f++)p+=u[f].length;let h=p+u[s].length;this.wrapRangeInMappedTextNode(l,p,h,f=>n(u[s],f),(f,m)=>{t.lastIndex=m,i(f)})}a()})}wrapRangeFromIndex(t,o,n,i){this.getTextNodes(a=>{let s=a.value.length;t.forEach((l,u)=>{let{start:p,end:h,valid:f}=this.checkWhitespaceRanges(l,s,a.value);f&&this.wrapRangeInMappedTextNode(a,p,h,m=>o(m,l,a.value.substring(p,h),u),m=>{n(m,l)})}),i()})}unwrapMatches(t){let o=t.parentNode,n=document.createDocumentFragment();for(;t.firstChild;)n.appendChild(t.removeChild(t.firstChild));o.replaceChild(n,t),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(t){if(t){if(t.nodeType===3)for(;t.nextSibling&&t.nextSibling.nodeType===3;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,o){this.opt=o,this.log(`Searching with expression "${t}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](t,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),a,()=>{n===0&&this.opt.noMatch(t),this.opt.done(n)})}mark(t,o){this.opt=o;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof t=="string"?[t]:t),l=this.opt.caseSensitive?"":"i",u=p=>{let h=new RegExp(this.createRegExp(p),`gm${l}`),f=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,b)=>this.opt.filter(b,p,n,f),m=>{f++,n++,this.opt.each(m)},()=>{f===0&&this.opt.noMatch(p),a[s-1]===p?this.opt.done(n):u(a[a.indexOf(p)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):u(a[0])}markRanges(t,o){this.opt=o;let n=0,i=this.checkRanges(t);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,l,u)=>this.opt.filter(a,s,l,u),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(t){this.opt=t;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=at.matches(n,o),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function _n(e){let t=new pr(e);return this.mark=(o,n)=>(t.mark(o,n),this),this.markRegExp=(o,n)=>(t.markRegExp(o,n),this),this.markRanges=(o,n)=>(t.markRanges(o,n),this),this.unmark=o=>(t.unmark(o),this),this}var Su=_n,Qs=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Eu=N`
1
+ "use strict";(()=>{var Sl=Object.defineProperty;var I=(e,t)=>{for(var o in t)Sl(e,o,{get:t[o],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let e=window.HTMLElement,t=window.customElements.define,o=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(g,y){if(g=g.toLowerCase(),this._getDefinition(g)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${g}" has already been used with this registry`);if(this._definitionsByClass.get(y)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let x=y.prototype.attributeChangedCallback,O=new Set(y.observedAttributes||[]);m(y,O,x);let T={elementClass:y,connectedCallback:y.prototype.connectedCallback,disconnectedCallback:y.prototype.disconnectedCallback,adoptedCallback:y.prototype.adoptedCallback,attributeChangedCallback:x,formAssociated:y.formAssociated,formAssociatedCallback:y.prototype.formAssociatedCallback,formDisabledCallback:y.prototype.formDisabledCallback,formResetCallback:y.prototype.formResetCallback,formStateRestoreCallback:y.prototype.formStateRestoreCallback,observedAttributes:O};this._definitionsByTag.set(g,T),this._definitionsByClass.set(y,T);let F=o.call(n,g);F||(F=f(g),t.call(n,g,F)),this===window.customElements&&(s.set(y,T),T.standInClass=F);let j=this._awaitingUpgrade.get(g);if(j){this._awaitingUpgrade.delete(g);for(let D of j)a.delete(D),S(D,T,!0)}let _=this._whenDefinedPromises.get(g);return _!==void 0&&(_.resolve(y),this._whenDefinedPromises.delete(g)),y}upgrade(){E.push(this),n.upgrade.apply(n,arguments),E.pop()}get(g){return this._definitionsByTag.get(g)?.elementClass}_getDefinition(g){return this._definitionsByTag.get(g)}whenDefined(g){let y=this._getDefinition(g);if(y!==void 0)return Promise.resolve(y.elementClass);let x=this._whenDefinedPromises.get(g);return x===void 0&&(x={},x.promise=new Promise(O=>x.resolve=O),this._whenDefinedPromises.set(g,x)),x.promise}_upgradeWhenDefined(g,y,x){let O=this._awaitingUpgrade.get(y);O||this._awaitingUpgrade.set(y,O=new Set),x?O.add(g):O.delete(g)}};let u;window.HTMLElement=function(){let y=u;if(y)return u=void 0,y;let x=s.get(this.constructor);if(!x)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return y=Reflect.construct(e,[],x.standInClass),Object.setPrototypeOf(y,this.constructor.prototype),i.set(y,x),y},window.HTMLElement.prototype=e.prototype;let p=g=>g===document||g instanceof ShadowRoot,h=g=>{let y=g.getRootNode();if(!p(y)){let x=E[E.length-1];if(x instanceof CustomElementRegistry)return x;y=x.getRootNode(),p(y)||(y=l.get(y)?.getRootNode()||document)}return y.customElements},f=g=>class{static get formAssociated(){return!0}constructor(){let x=Reflect.construct(e,[],this.constructor);Object.setPrototypeOf(x,HTMLElement.prototype);let O=h(x)||window.customElements,T=O._getDefinition(g);return T?S(x,T):a.set(x,O),x}connectedCallback(){let x=i.get(this);x?x.connectedCallback&&x.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,g,!0)}disconnectedCallback(){let x=i.get(this);x?x.disconnectedCallback&&x.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,g,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let x=i.get(this);x&&x.formAssociated&&x?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let x=i.get(this);x?.formAssociated&&x?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let x=i.get(this);x?.formAssociated&&x?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let x=i.get(this);x?.formAssociated&&x?.formStateRestoreCallback?.apply(this,arguments)}},m=(g,y,x)=>{if(y.size===0||x===void 0)return;let O=g.prototype.setAttribute;O&&(g.prototype.setAttribute=function(j,_){let D=j.toLowerCase();if(y.has(D)){let K=this.getAttribute(D);O.call(this,D,_),x.call(this,D,K,_)}else O.call(this,D,_)});let T=g.prototype.removeAttribute;T&&(g.prototype.removeAttribute=function(j){let _=j.toLowerCase();if(y.has(_)){let D=this.getAttribute(_);T.call(this,_),x.call(this,_,D,null)}else T.call(this,_)});let F=g.prototype.toggleAttribute;F&&(g.prototype.toggleAttribute=function(j,_){let D=j.toLowerCase();if(y.has(D)){let K=this.getAttribute(D);F.call(this,D,_);let ve=this.getAttribute(D);x.call(this,D,K,ve)}else F.call(this,D,_)})},b=g=>{let y=Object.getPrototypeOf(g);if(y!==window.HTMLElement)return y===e?Object.setPrototypeOf(g,window.HTMLElement):b(y)},S=(g,y,x=!1)=>{Object.setPrototypeOf(g,y.elementClass.prototype),i.set(g,y),u=g;try{new y.elementClass}catch{b(y.elementClass),new y.elementClass}y.attributeChangedCallback&&y.observedAttributes.forEach(O=>{g.hasAttribute(O)&&y.attributeChangedCallback.call(g,O,null,g.getAttribute(O))}),x&&y.connectedCallback&&g.isConnected&&y.connectedCallback.call(g)},A=Element.prototype.attachShadow;Element.prototype.attachShadow=function(g){let y=A.apply(this,arguments);return g.customElements&&(y.customElements=g.customElements),y};let E=[document],w=(g,y,x=void 0)=>{let O=(x?Object.getPrototypeOf(x):g.prototype)[y];g.prototype[y]=function(){E.push(this);let T=O.apply(x||this,arguments);return T!==void 0&&l.set(T,this),E.pop(),T}};w(ShadowRoot,"createElement",document),w(ShadowRoot,"importNode",document),w(Element,"insertAdjacentHTML");let P=(g,y)=>{let x=Object.getOwnPropertyDescriptor(g.prototype,y);Object.defineProperty(g.prototype,y,{...x,set(O){E.push(this),x.set.call(this,O),E.pop()}})};if(P(Element,"innerHTML"),P(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let g=new WeakMap,y=HTMLElement.prototype.attachInternals,x=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...j){let _=y.call(this,...j);return g.set(_,this),_},x.forEach(j=>{let _=window.ElementInternals.prototype,D=_[j];_[j]=function(...K){let ve=g.get(this);if(i.get(ve).formAssociated===!0)return D?.call(this,...K);throw new DOMException(`Failed to execute ${D} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class O extends Array{constructor(_){super(..._),this._elements=_}get value(){return this._elements.find(_=>_.checked===!0)?.value||""}}class T{constructor(_){let D=new Map;_.forEach((K,ve)=>{let mo=K.getAttribute("name"),ki=D.get(mo)||[];this[+ve]=K,ki.push(K),D.set(mo,ki)}),this.length=_.length,D.forEach((K,ve)=>{K&&(K.length===1?this[ve]=K[0]:this[ve]=new O(K))})}namedItem(_){return this[_]}}let F=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let j=F.get.call(this,[]),_=[];for(let D of j){let K=i.get(D);(!K||K.formAssociated===!0)&&_.push(D)}return new T(_)}})}}try{window.customElements.define("custom-element",null)}catch{let t=window.customElements.define;window.customElements.define=(o,n,i)=>{var a;if(n!==null)try{t.bind(window.customElements)(o,n,i)}catch(s){!((a=s.message)===null||a===void 0)&&a.includes("this constructor has already been used")?window.customElements.define(o,class extends n{},i):console.info(o,n,i,s)}}}var _o={};I(_o,{CSSResult:()=>vt,LitElement:()=>fe,ReactiveElement:()=>ue,_$LE:()=>Pl,_$LH:()=>Ao,adoptStyles:()=>jt,css:()=>N,defaultConverter:()=>Ot,getCompatibleStyle:()=>Ar,html:()=>W,isServer:()=>rf,mathml:()=>Co,noChange:()=>Z,notEqual:()=>Zt,nothing:()=>M,render:()=>wo,supportsAdoptingStyleSheets:()=>Vt,svg:()=>Oo,unsafeCSS:()=>Wt});var Cr=globalThis,Vt=Cr.ShadowRoot&&(Cr.ShadyCSS===void 0||Cr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,yo=Symbol(),Di=new WeakMap,vt=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==yo)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o,o=this.t;if(Vt&&t===void 0){let n=o!==void 0&&o.length===1;n&&(t=Di.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Di.set(o,t))}return t}toString(){return this.cssText}},Wt=e=>new vt(typeof e=="string"?e:e+"",void 0,yo),N=(e,...t)=>{let o=e.length===1?e[0]:t.reduce((n,i,a)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+e[a+1],e[0]);return new vt(o,e,yo)},jt=(e,t)=>{if(Vt)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),i=Cr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)}},Ar=Vt?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return Wt(o)})(e):e;var{is:El,defineProperty:vl,getOwnPropertyDescriptor:Ol,getOwnPropertyNames:Cl,getOwnPropertySymbols:Al,getPrototypeOf:wl}=Object,wr=globalThis,Mi=wr.trustedTypes,Rl=Mi?Mi.emptyScript:"",_l=wr.reactiveElementPolyfillSupport,Kt=(e,t)=>e,Ot={toAttribute(e,t){switch(t){case Boolean:e=e?Rl:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let o=e;switch(t){case Boolean:o=e!==null;break;case Number:o=e===null?null:Number(e);break;case Object:case Array:try{o=JSON.parse(e)}catch{o=null}}return o}},Zt=(e,t)=>!El(e,t),Ui={attribute:!0,type:String,converter:Ot,reflect:!1,useDefault:!1,hasChanged:Zt};Symbol.metadata??=Symbol("metadata"),wr.litPropertyMetadata??=new WeakMap;var ue=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=Ui){if(o.state&&(o.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((o=Object.create(o)).wrapped=!0),this.elementProperties.set(t,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,o);i!==void 0&&vl(this.prototype,t,i)}}static getPropertyDescriptor(t,o,n){let{get:i,set:a}=Ol(this.prototype,t)??{get(){return this[o]},set(s){this[o]=s}};return{get:i,set(s){let l=i?.call(this);a?.call(this,s),this.requestUpdate(t,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Ui}static _$Ei(){if(this.hasOwnProperty(Kt("elementProperties")))return;let t=wl(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Kt("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Kt("properties"))){let o=this.properties,n=[...Cl(o),...Al(o)];for(let i of n)this.createProperty(i,o[i])}let t=this[Symbol.metadata];if(t!==null){let o=litPropertyMetadata.get(t);if(o!==void 0)for(let[n,i]of o)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let i=this._$Eu(o,n);i!==void 0&&this._$Eh.set(i,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let o=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)o.unshift(Ar(i))}else t!==void 0&&o.push(Ar(t));return o}static _$Eu(t,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return jt(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,o,n){this._$AK(t,n)}_$ET(t,o){let n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:Ot).toAttribute(o,n.type);this._$Em=t,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(t,o){let n=this.constructor,i=n._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:Ot;this._$Em=i;let l=s.fromAttribute(o,a.type);this[i]=l??this._$Ej?.get(i)??l,this._$Em=null}}requestUpdate(t,o,n,i=!1,a){if(t!==void 0){let s=this.constructor;if(i===!1&&(a=this[t]),n??=s.getPropertyOptions(t),!((n.hasChanged??Zt)(a,o)||n.useDefault&&n.reflect&&a===this._$Ej?.get(t)&&!this.hasAttribute(s._$Eu(t,n))))return;this.C(t,o,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,o,{useDefault:n,reflect:i,wrapped:a},s){n&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,s??o??this[t]),a!==!0||s!==void 0)||(this._$AL.has(t)||(this.hasUpdated||n||(o=void 0),this._$AL.set(t,o)),i===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(o){Promise.reject(o)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n){let{wrapped:s}=a,l=this[i];s!==!0||this._$AL.has(i)||l===void 0||this.C(i,void 0,a,l)}}let t=!1,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$EO?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$EM()}catch(n){throw t=!1,this._$EM(),n}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$EO?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(o=>this._$ET(o,this[o])),this._$EM()}updated(t){}firstUpdated(t){}};ue.elementStyles=[],ue.shadowRootOptions={mode:"open"},ue[Kt("elementProperties")]=new Map,ue[Kt("finalized")]=new Map,_l?.({ReactiveElement:ue}),(wr.reactiveElementVersions??=[]).push("2.1.2");var bo=globalThis,Fi=e=>e,Rr=bo.trustedTypes,$i=Rr?Rr.createPolicy("lit-html",{createHTML:e=>e}):void 0,xo="$lit$",Le=`lit$${Math.random().toFixed(9).slice(2)}$`,So="?"+Le,Tl=`<${So}>`,Ze=document,Yt=()=>Ze.createComment(""),Xt=e=>e===null||typeof e!="object"&&typeof e!="function",Eo=Array.isArray,Wi=e=>Eo(e)||typeof e?.[Symbol.iterator]=="function",go=`[
2
+ \f\r]`,qt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Bi=/-->/g,zi=/>/g,je=RegExp(`>|${go}(?:([^\\s"'>=/]+)(${go}*=${go}*(?:[^
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Hi=/'/g,Gi=/"/g,ji=/^(?:script|style|textarea|title)$/i,vo=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),W=vo(1),Oo=vo(2),Co=vo(3),Z=Symbol.for("lit-noChange"),M=Symbol.for("lit-nothing"),Vi=new WeakMap,Ke=Ze.createTreeWalker(Ze,129);function Ki(e,t){if(!Eo(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return $i!==void 0?$i.createHTML(t):t}var Zi=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":t===3?"<math>":"",s=qt;for(let l=0;l<o;l++){let u=e[l],p,h,f=-1,m=0;for(;m<u.length&&(s.lastIndex=m,h=s.exec(u),h!==null);)m=s.lastIndex,s===qt?h[1]==="!--"?s=Bi:h[1]!==void 0?s=zi:h[2]!==void 0?(ji.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=je):h[3]!==void 0&&(s=je):s===je?h[0]===">"?(s=i??qt,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?je:h[3]==='"'?Gi:Hi):s===Gi||s===Hi?s=je:s===Bi||s===zi?s=qt:(s=je,i=void 0);let b=s===je&&e[l+1].startsWith("/>")?" ":"";a+=s===qt?u+Tl:f>=0?(n.push(p),u.slice(0,f)+xo+u.slice(f)+Le+b):u+Le+(f===-2?l:b)}return[Ki(e,a+(e[o]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},Jt=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,l=t.length-1,u=this.parts,[p,h]=Zi(t,o);if(this.el=e.createElement(p,n),Ke.currentNode=this.el.content,o===2||o===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=Ke.nextNode())!==null&&u.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(xo)){let m=h[s++],b=i.getAttribute(f).split(Le),S=/([.?@])?(.*)/.exec(m);u.push({type:1,index:a,name:S[2],strings:b,ctor:S[1]==="."?Tr:S[1]==="?"?Lr:S[1]==="@"?Nr:Ye}),i.removeAttribute(f)}else f.startsWith(Le)&&(u.push({type:6,index:a}),i.removeAttribute(f));if(ji.test(i.tagName)){let f=i.textContent.split(Le),m=f.length-1;if(m>0){i.textContent=Rr?Rr.emptyScript:"";for(let b=0;b<m;b++)i.append(f[b],Yt()),Ke.nextNode(),u.push({type:2,index:++a});i.append(f[m],Yt())}}}else if(i.nodeType===8)if(i.data===So)u.push({type:2,index:a});else{let f=-1;for(;(f=i.data.indexOf(Le,f+1))!==-1;)u.push({type:7,index:a}),f+=Le.length-1}a++}}static createElement(t,o){let n=Ze.createElement("template");return n.innerHTML=t,n}};function qe(e,t,o=e,n){if(t===Z)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=Xt(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=qe(e,i._$AS(e,t.values),i,n)),t}var _r=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,i=(t?.creationScope??Ze).importNode(o,!0);Ke.currentNode=i;let a=Ke.nextNode(),s=0,l=0,u=n[0];for(;u!==void 0;){if(s===u.index){let p;u.type===2?p=new Ct(a,a.nextSibling,this,t):u.type===1?p=new u.ctor(a,u.name,u.strings,this,t):u.type===6&&(p=new Pr(a,this,t)),this._$AV.push(p),u=n[++l]}s!==u?.index&&(a=Ke.nextNode(),s++)}return Ke.currentNode=Ze,i}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},Ct=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=M,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=qe(this,t,o),Xt(t)?t===M||t==null||t===""?(this._$AH!==M&&this._$AR(),this._$AH=M):t!==this._$AH&&t!==Z&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Wi(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==M&&Xt(this._$AH)?this._$AA.nextSibling.data=t:this.T(Ze.createTextNode(t)),this._$AH=t}$(t){let{values:o,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=Jt.createElement(Ki(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new _r(i,this),s=a.u(this.options);a.p(o),this.T(s),this._$AH=a}}_$AC(t){let o=Vi.get(t.strings);return o===void 0&&Vi.set(t.strings,o=new Jt(t)),o}k(t){Eo(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of t)i===o.length?o.push(n=new e(this.O(Yt()),this.O(Yt()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t!==this._$AB;){let n=Fi(t).nextSibling;Fi(t).remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},Ye=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,a){this.type=1,this._$AH=M,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=M}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=qe(this,t,o,0),s=!Xt(t)||t!==this._$AH&&t!==Z,s&&(this._$AH=t);else{let l=t,u,p;for(t=a[0],u=0;u<a.length-1;u++)p=qe(this,l[n+u],o,u),p===Z&&(p=this._$AH[u]),s||=!Xt(p)||p!==this._$AH[u],p===M?t=M:t!==M&&(t+=(p??"")+a[u+1]),this._$AH[u]=p}s&&!i&&this.j(t)}j(t){t===M?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Tr=class extends Ye{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===M?void 0:t}},Lr=class extends Ye{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==M)}},Nr=class extends Ye{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=qe(this,t,o,0)??M)===Z)return;let n=this._$AH,i=t===M&&n!==M||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==M&&(n===M||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Pr=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){qe(this,t)}},Ao={M:xo,P:Le,A:So,C:1,L:Zi,R:_r,D:Wi,V:qe,I:Ct,H:Ye,N:Lr,U:Nr,B:Tr,F:Pr},Ll=bo.litHtmlPolyfillSupport;Ll?.(Jt,Ct),(bo.litHtmlVersions??=[]).push("3.3.3");var wo=(e,t,o)=>{let n=o?.renderBefore??t,i=n._$litPart$;if(i===void 0){let a=o?.renderBefore??null;n._$litPart$=i=new Ct(t.insertBefore(Yt(),a),a,void 0,o??{})}return i._$AI(e),i};var Ro=globalThis,fe=class extends ue{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=wo(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Z}};fe._$litElement$=!0,fe.finalized=!0,Ro.litElementHydrateSupport?.({LitElement:fe});var Nl=Ro.litElementPolyfillSupport;Nl?.({LitElement:fe});var Pl={_$AK:(e,t,o)=>{e._$AK(t,o)},_$AL:e=>e._$AL};(Ro.litElementVersions??=[]).push("4.2.2");var rf=!1;var To={};I(To,{customElement:()=>Il,eventOptions:()=>Dl,property:()=>C,query:()=>ie,queryAll:()=>Ul,queryAssignedElements:()=>$l,queryAssignedNodes:()=>Bl,queryAsync:()=>Fl,standardProperty:()=>qi,state:()=>$});var Il=e=>(t,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var kl={attribute:!0,type:String,converter:Ot,reflect:!1,hasChanged:Zt},qi=(e=kl,t,o)=>{let{kind:n,metadata:i}=o,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),n==="setter"&&((e=Object.create(e)).wrapped=!0),a.set(o.name,e),n==="accessor"){let{name:s}=o;return{set(l){let u=t.get.call(this);t.set.call(this,l),this.requestUpdate(s,u,e,!0,l)},init(l){return l!==void 0&&this.C(s,void 0,e,l),l}}}if(n==="setter"){let{name:s}=o;return function(l){let u=this[s];t.call(this,l),this.requestUpdate(s,u,e,!0,l)}}throw Error("Unsupported decorator location: "+n)};function C(e){return(t,o)=>typeof o=="object"?qi(e,t,o):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(e,t,o)}function $(e){return C({...e,state:!0,attribute:!1})}function Dl(e){return(t,o)=>{let n=typeof t=="function"?t:t[o];Object.assign(n,e)}}var he=(e,t,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,o),o);function ie(e,t){return(o,n,i)=>{let a=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:l}=typeof n=="object"?o:i??(()=>{let u=Symbol();return{get(){return this[u]},set(p){this[u]=p}}})();return he(o,n,{get(){let u=s.call(this);return u===void 0&&(u=a(this),(u!==null||this.hasUpdated)&&l.call(this,u)),u}})}return he(o,n,{get(){return a(this)}})}}var Ml;function Ul(e){return(t,o)=>he(t,o,{get(){return(this.renderRoot??(Ml??=document.createDocumentFragment())).querySelectorAll(e)}})}function Fl(e){return(t,o)=>he(t,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function $l(e){return(t,o)=>{let{slot:n,selector:i}=e??{},a="slot"+(n?`[name=${n}]`:":not([name])");return he(t,o,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(e)??[];return i===void 0?l:l.filter(u=>u.matches(i))}})}}function Bl(e){return(t,o)=>{let{slot:n}=e??{},i="slot"+(n?`[name=${n}]`:":not([name])");return he(t,o,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(e)??[]}})}}var Lo={};I(Lo,{repeat:()=>wt});var Oe={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ae=e=>(...t)=>({_$litDirective$:e,values:t}),pe=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,n){this._$Ct=t,this._$AM=o,this._$Ci=n}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};var{I:zl}=Ao,Yi=e=>e;var Ji=e=>e.strings===void 0,Xi=()=>document.createComment(""),At=(e,t,o)=>{let n=e._$AA.parentNode,i=t===void 0?e._$AB:t._$AA;if(o===void 0){let a=n.insertBefore(Xi(),i),s=n.insertBefore(Xi(),i);o=new zl(a,s,e,e.options)}else{let a=o._$AB.nextSibling,s=o._$AM,l=s!==e;if(l){let u;o._$AQ?.(e),o._$AM=e,o._$AP!==void 0&&(u=e._$AU)!==s._$AU&&o._$AP(u)}if(a!==i||l){let u=o._$AA;for(;u!==a;){let p=Yi(u).nextSibling;Yi(n).insertBefore(u,i),u=p}}}return o},Ue=(e,t,o=e)=>(e._$AI(t,o),e),Hl={},Qi=(e,t=Hl)=>e._$AH=t,ea=e=>e._$AH,Ir=e=>{e._$AR(),e._$AA.remove()};var ta=(e,t,o)=>{let n=new Map;for(let i=t;i<=o;i++)n.set(e[i],i);return n},wt=ae(class extends pe{constructor(e){if(super(e),e.type!==Oe.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,t,o){let n;o===void 0?o=t:t!==void 0&&(n=t);let i=[],a=[],s=0;for(let l of e)i[s]=n?n(l,s):s,a[s]=o(l,s),s++;return{values:a,keys:i}}render(e,t,o){return this.dt(e,t,o).values}update(e,[t,o,n]){let i=ea(e),{values:a,keys:s}=this.dt(t,o,n);if(!Array.isArray(i))return this.ut=s,a;let l=this.ut??=[],u=[],p,h,f=0,m=i.length-1,b=0,S=a.length-1;for(;f<=m&&b<=S;)if(i[f]===null)f++;else if(i[m]===null)m--;else if(l[f]===s[b])u[b]=Ue(i[f],a[b]),f++,b++;else if(l[m]===s[S])u[S]=Ue(i[m],a[S]),m--,S--;else if(l[f]===s[S])u[S]=Ue(i[f],a[S]),At(e,u[S+1],i[f]),f++,S--;else if(l[m]===s[b])u[b]=Ue(i[m],a[b]),At(e,i[f],i[m]),m--,b++;else if(p===void 0&&(p=ta(s,b,S),h=ta(l,f,m)),p.has(l[f]))if(p.has(l[m])){let A=h.get(s[b]),E=A!==void 0?i[A]:null;if(E===null){let w=At(e,i[f]);Ue(w,a[b]),u[b]=w}else u[b]=Ue(E,a[b]),At(e,i[f],E),i[A]=null;b++}else Ir(i[m]),m--;else Ir(i[f]),f++;for(;b<=S;){let A=At(e,u[S+1]);Ue(A,a[b]),u[b++]=A}for(;f<=m;){let A=i[f++];A!==null&&Ir(A)}return this.ut=s,Qi(e,u),Z}});var No={};I(No,{classMap:()=>Ne});var Ne=ae(class extends pe{constructor(e){if(super(e),e.type!==Oe.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.st===void 0){this.st=new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in t)t[n]&&!this.nt?.has(n)&&this.st.add(n);return this.render(t)}let o=e.element.classList;for(let n of this.st)n in t||(o.remove(n),this.st.delete(n));for(let n in t){let i=!!t[n];i===this.st.has(n)||this.nt?.has(n)||(i?(o.add(n),this.st.add(n)):(o.remove(n),this.st.delete(n)))}return Z}});var Po={};I(Po,{styleMap:()=>Vl});var ra="important",Gl=" !"+ra,Vl=ae(class extends pe{constructor(e){if(super(e),e.type!==Oe.ATTRIBUTE||e.name!=="style"||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,o)=>{let n=e[o];return n==null?t:t+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(e,[t]){let{style:o}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let n of this.ft)t[n]==null&&(this.ft.delete(n),n.includes("-")?o.removeProperty(n):o[n]=null);for(let n in t){let i=t[n];if(i!=null){this.ft.add(n);let a=typeof i=="string"&&i.endsWith(Gl);n.includes("-")||a?o.setProperty(n,a?i.slice(0,-11):i,a?ra:""):o[n]=i}}return Z}});var ko={};I(ko,{UnsafeHTMLDirective:()=>Rt,unsafeHTML:()=>Io});var Rt=class extends pe{constructor(t){if(super(t),this.it=M,t.type!==Oe.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===M||t==null)return this._t=void 0,this.it=t;if(t===Z)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;let o=[t];return o.raw=o,this._t={_$litType$:this.constructor.resultType,strings:o,values:[]}}};Rt.directiveName="unsafeHTML",Rt.resultType=1;var Io=ae(Rt);var Do={};I(Do,{splitBreadcrumbForMenu:()=>Wl});function Wl(e,t=0,o=0){if(e.length===0)return{beforeMenu:[],inMenu:[],afterMenu:[]};let n=Math.max(o,1),i=e.slice(n*-1);return t+n>=e.length?{beforeMenu:[],inMenu:[],afterMenu:e}:{beforeMenu:e.slice(0,t),inMenu:e.slice(t,e.length-i.length),afterMenu:i}}var jo={};I(jo,{CacheRegistry:()=>Wo,ClearCacheEvent:()=>rr});var Uo={};I(Uo,{CancelablePromise:()=>kr,CanceledPromiseError:()=>Qt,cancelable:()=>Mo});var Qt=class extends Error{constructor(t,o,n){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=n}},kr=class extends Promise{constructor(t){super((o,n)=>t(i=>{this.isCanceled?n(new Qt("Promise has been canceled",i)):o(i)},i=>{this.isCanceled?n(new Qt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Mo=e=>new kr((t,o)=>e.then(t).catch(o));var Vo={};I(Vo,{FtNotificationEvent:()=>tr,PostResizeEvent:()=>Go,PreResizeEvent:()=>Ho,WithEventBus:()=>Je,withEventBus:()=>fa});var zo={};I(zo,{applyMixinOnce:()=>se,customElements:()=>ye,dateReviver:()=>Yl,deepCopy:()=>_t,deepEqual:()=>me,delay:()=>aa,eventPathContainsMatchingElement:()=>Jl,everyDeep:()=>ql,flatDeep:()=>ca,forEachDeep:()=>la,getComposedPathTo:()=>Bo,groupBy:()=>td,hasChanged:()=>Fe,ignoreComposingEvents:()=>ed,last:()=>$o,minmax:()=>Xe,parseDate:()=>ua,randomId:()=>Ql,someDeep:()=>da,unslotText:()=>pa,waitFor:()=>sa,waitUntil:()=>Zl});var Fo={};I(Fo,{customElement:()=>er,dateProperty:()=>Kl,isNumber:()=>ia,jsonProperty:()=>Dr,jsonPropertyConverter:()=>oa,numberProperty:()=>na,optionalNumberProperty:()=>jl});var er=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)},oa=e=>({fromAttribute:t=>{if(t==null)return _t(e);try{return JSON.parse(t)}catch{return _t(e)}},toAttribute:t=>JSON.stringify(t)});function Dr(e,t){return C({type:Object,converter:oa(e),hasChanged:Fe,...t??{}})}function jl(e){return na(e)}function na(e){return C({type:Object,converter:{fromAttribute:t=>{var o,n;if(t==null)return;let i=(o=e?.min)!==null&&o!==void 0?o:-1/0,a=(n=e?.max)!==null&&n!==void 0?n:1/0;return ia(t)?Xe(i,+t,a):void 0},toAttribute:t=>t==null?void 0:""+t},useDefault:!0,...e??{}})}function ia(e){return!isNaN(parseFloat(e))}function Kl(e){return C({type:Object,converter:{fromAttribute:t=>{if(t==null)return;let o=new Date(Date.parse(t));if(!isNaN(o.valueOf()))return o},toAttribute:t=>t?.toISOString()},useDefault:!0,...e??{}})}var aa=e=>new Promise(t=>setTimeout(t,e));async function Zl(e,t=10,o=2e4){await sa(async()=>await e()||void 0,t,o)}async function sa(e,t=10,o=2e4){let n=await e(),i=performance.now(),a=i;for(;n==null&&(!o||a-i<o);)await aa(t),n=await e(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function ca(e,t){return e.flatMap(o=>[o,...ca(t(o),t)])}function la(e,t,o){let n=(i,a)=>{var s;for(let l=0;l<i.length;l++){let u=i[l];if(!(((s=o(u,l,i,a))!==null&&s!==void 0?s:!0)&&n(t(u),[...a,u])))return!1}return!0};n(e,[])}function da(e,t,o){let n=!1;return la(e,t,(i,a,s,l)=>(n=!!o(i,a,s,l),!n)),n}function ql(e,t,o){return!da(e,t,(n,i,a,s)=>!o(n,i,a,s))}function Yl(...e){return(t,o)=>e.includes(t)?ua(o):o}function ua(e){return e.match(/^\d{4}-\d{2}-\d{2}$/)&&(e=e.replace(/-/g,"/")),e=e.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(t,o,n,i)=>o+n+":"+i),new Date(e)}function Xl(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let o,n;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!me(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!me(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let i=s=>Object.keys(s).filter(l=>s[l]!=null),a=i(e);if(o=a.length,o!==i(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[n]))return!1;for(n=o;n--!==0;){let s=a[n];if(!me(e[s],t[s]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function me(e,t){try{return Xl(e,t)}catch{return!1}}function Fe(e,t){return!me(e,t)}function Jl(e,t,o=window.document.body){if(t.length>0){let n=e.composedPath();for(let i of n){if(i===o)return!1;if(i.matches&&t.some(a=>i.matches(a)))return!0}}return!1}function Xe(e,t,o){return Math.min(Math.max(e,t),o)}function $o(e){return e[e.length-1]}function pa(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(t=>pa(t)).join(""):e?.textContent||""}function Bo(e){let t=[],o=n=>{n.stopPropagation(),t=n.composedPath()};return e.addEventListener("get-composed-path",o),e.dispatchEvent(new Event("get-composed-path",{composed:!0})),e.removeEventListener("get-composed-path",o),t}function _t(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function Ql(e,t){return(t??"")+(""+Math.floor(Math.random()*10**e)).padStart(e,"0")}function se(e,t){let o=n=>n[e]===!0;return n=>{if(o(n))return n;let i=t(n);return i[e]=!0,i}}function ed(){return function(e,t,o){let n=o.value;o.value=function(i,...a){if(i.isComposing||i.keyCode===229){i.stopPropagation();return}return n.apply(this,[i].concat(a))}}}function ye(e){for(let[t,o]of Object.entries(e))er(t)(o)}function td(e,t){var o,n;let i=typeof t=="function"?t:s=>s[t],a={};for(let s of e)((o=a[n=i(s)])!==null&&o!==void 0?o:a[n]=[]).push(s);return a}var tr=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},Ho=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Go=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},fa=se(Symbol("withEventBus"),function(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(o,n,i){this.eventBus.addEventListener(o,n,i)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,i){this.eventBus.removeEventListener(o,n,i)}}}),Je=class extends fa(Object){};var rr=class extends CustomEvent{constructor(t){super("clear-cache",{detail:{clearedKeys:t}})}},Wo=class extends Je{constructor(){super(...arguments),this.content={}}register(t,o,n=!1){var i;let a=this.content[t],s=(i=a?.status)!==null&&i!==void 0?i:"REGISTERED";this.content[t]={...a,loader:o,final:n,status:s}}registerFinal(t,o){this.register(t,o,!0)}clearAll(t=!0){return this.clearMatching(()=>!0,t)}clearMatching(t,o=!0){let n=Object.keys(this.content).filter(t).filter(i=>this.clear(i,!1)!=null);return o&&n.length>0&&this.dispatchEvent(new rr(n)),n}clear(t,o=!0){if(this.content[t]&&!this.content[t].final)return this.forceClear(t),o&&this.dispatchEvent(new rr([t])),t}forceClear(t){var o;let n=this.content[t];n&&(this.clearClearTimeout(t),(o=n.promise)===null||o===void 0||o.cancel(),this.content[t]={loader:n.loader,final:n.final,status:"REGISTERED"})}clearClearTimeout(t){var o,n,i;((o=this.content[t])===null||o===void 0?void 0:o.clearTimeout)!=null&&(window.clearTimeout((n=this.content[t])===null||n===void 0?void 0:n.clearTimeout),(i=this.content[t])===null||i===void 0||delete i.clearTimeout)}set(t,o,n=!1){this.forceClear(t);let i=async()=>o,a="RESOLVED";this.content[t]={loader:i,final:n,status:a,value:o}}setFinal(t,o){return this.set(t,o,!0)}async get(t,o,n){if(!this.isRegistered(t)){if(!o)throw new Error("Unknown cache key "+t);this.register(t,o)}let i=this.content[t];switch(i.status){case"ERROR":throw i.error;case"LOADING":return i.promise;case"RESOLVED":return i.value;case"REGISTERED":return o=o??i.loader,i.status="LOADING",i.promise=Mo(o()),i.promise.then(a=>(i.status="RESOLVED",i.value=a,n!=null&&(this.clearClearTimeout(t),i.clearTimeout=window.setTimeout(()=>this.clear(t),n)),a)).catch(a=>{var s;throw!((s=i.promise)===null||s===void 0)&&s.isCanceled||(i.status="ERROR",i.error=a),a})}}isRegistered(t){return this.content[t]!=null}getNow(t){var o;return(o=this.content[t])===null||o===void 0?void 0:o.value}has(t){var o,n;return((o=this.content[t])===null||o===void 0?void 0:o.status)!==void 0&&((n=this.content[t])===null||n===void 0?void 0:n.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(t=>{var o;return((o=this.content[t])===null||o===void 0?void 0:o.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(t=>this.content[t].value)}keys(){return Object.keys(this.content)}};var tn={};I(tn,{ClusteringHelper:()=>en,formatHierarchicalValues:()=>Qo});var Jo={};I(Jo,{accessBreadcrumb:()=>ld,accessResult:()=>Xo,accessResultId:()=>sd,accessResultUrl:()=>cd,enrichReaderUrl:()=>Yo});var qo={};I(qo,{SearchPlaceConverter:()=>Qe,SearchPlaceQueryParams:()=>L,isSearchPlaceQueryParams:()=>ts,serializeRequest:()=>id});var rd=e=>typeof e=="object"&&e!=null;var od=e=>typeof e=="number",Mr=e=>typeof e=="string",Zo=e=>rd(e)&&Mr(e.endpoint)&&Mr(e.method)&&Mr(e.statusText)&&Mr(e.body)&&od(e.status),ha;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(ha||(ha={}));var ma;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(ma||(ma={}));var ya;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(ya||(ya={}));var ga;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(ga||(ga={}));var ba;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(ba||(ba={}));var xa;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(xa||(xa={}));var Sa;(function(e){e.OFFICIAL="OFFICIAL",e.AI="AI"})(Sa||(Sa={}));var Ea;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.CHATBOT__RATE="CHATBOT__RATE",e.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",e.DOCUMENT__ON_DEMAND_TRANSLATE="DOCUMENT__ON_DEMAND_TRANSLATE",e.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",e.DOCUMENT__PRINT="DOCUMENT__PRINT",e.DOCUMENT__PROCESS="DOCUMENT__PROCESS",e.DOCUMENT__RATE="DOCUMENT__RATE",e.DOCUMENT__SEARCH="DOCUMENT__SEARCH",e.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",e.DOCUMENT__UNRATE="DOCUMENT__UNRATE",e.FEEDBACK__SEND="FEEDBACK__SEND",e.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",e.AI__RATE="AI__RATE",e.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",e.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",e.KHUB__PROCESS="KHUB__PROCESS",e.KHUB__SEARCH="KHUB__SEARCH",e.LABELS__DOWNLOAD="LABELS__DOWNLOAD",e.LINK__SHARE="LINK__SHARE",e.PAGE__DISPLAY="PAGE__DISPLAY",e.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",e.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",e.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",e.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",e.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",e.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",e.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",e.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",e.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",e.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",e.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",e.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})(Ea||(Ea={}));var va;(function(e){e.STANDARD="STANDARD",e.STRUCTURAL="STRUCTURAL"})(va||(va={}));var Oa;(function(e){e.METADATA_FILTER="METADATA_FILTER",e.ACCESS_RIGHTS_FILTER="ACCESS_RIGHTS_FILTER"})(Oa||(Oa={}));var Ca;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(Ca||(Ca={}));var Aa;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT",e.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",e.LINK_PREVIEW="LINK_PREVIEW",e.UD_VIEWER="UD_VIEWER",e.ASSET_VIEWER="ASSET_VIEWER"})(Aa||(Aa={}));var wa;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(wa||(wa={}));var Ra;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(Ra||(Ra={}));var _a;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(_a||(_a={}));var Ta;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(Ta||(Ta={}));var La;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(La||(La={}));var Tt;(function(e){e.OPTIONAL="OPTIONAL",e.MANDATORY="MANDATORY"})(Tt||(Tt={}));var Na;(function(e){e.ASC="ASC",e.DESC="DESC"})(Na||(Na={}));var Pa;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(Pa||(Pa={}));var Ko;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Ko||(Ko={}));var za=e=>Object.keys(Ko).includes(e);var Ia;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(Ia||(Ia={}));var ka;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(ka||(ka={}));var Da;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(Da||(Da={}));var Lt;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Lt||(Lt={}));var Ha=e=>Object.keys(Lt).includes(e);var Ma;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.HTML_PACKAGE="HTML_PACKAGE",e.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(Ma||(Ma={}));var Ua;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Ua||(Ua={}));var Fa;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(Fa||(Fa={}));var q;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",e.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(q||(q={}));var $a;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})($a||($a={}));var Ba;(function(e){e.UNAUTHENTICATED="UNAUTHENTICATED",e.USER_INCOMPLETE="USER_INCOMPLETE",e.MFA_REQUIRED="MFA_REQUIRED",e.AUTHENTICATED="AUTHENTICATED"})(Ba||(Ba={}));var Ga;(function(e){e.UNREACHABLE="UNREACHABLE",e.UNAUTHORIZED="UNAUTHORIZED",e.FORBIDDEN="FORBIDDEN",e.INCOMPATIBLE="INCOMPATIBLE",e.FAILED="FAILED",e.OK="OK"})(Ga||(Ga={}));var Va;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(Va||(Va={}));var Wa;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.SEMANTIC_SEARCH="SEMANTIC_SEARCH",e.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",e.DOCUMENTATION="DOCUMENTATION",e.OTHER="OTHER"})(Wa||(Wa={}));var ja;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SLOW="SLOW",e.OTHER="OTHER"})(ja||(ja={}));var Ka;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(Ka||(Ka={}));var Za;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(Za||(Za={}));var qa;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(qa||(qa={}));var Ya;(function(e){e.IN_PROGRESS="IN_PROGRESS",e.ERROR="ERROR",e.DONE="DONE"})(Ya||(Ya={}));var Xa;(function(e){e.HTML="HTML",e.MARKDOWN="MARKDOWN"})(Xa||(Xa={}));var Ja;(function(e){e.SOURCES="SOURCES",e.ENRICH_AND_CLEAN="ENRICH_AND_CLEAN",e.VOCABULARIES="VOCABULARIES",e.METADATA="METADATA",e.PRETTY_URL="PRETTY_URL",e.ACCESS_RULE="ACCESS_RULE",e.DESIGNED_PAGES="DESIGNED_PAGES",e.THEME_STUDIO="THEME_STUDIO",e.PORTAL_GENERAL="PORTAL_GENERAL",e.ASSETS="ASSETS",e.CODE_LIBRARY="CODE_LIBRARY",e.THEME="THEME",e.CONTENT_STYLES="CONTENT_STYLES",e.HOMEPAGE="HOMEPAGE",e.CLASSIC_SEARCH_PAGE="CLASSIC_SEARCH_PAGE",e.CLASSIC_READER_PAGE="CLASSIC_READER_PAGE",e.PORTAL_METADATA="PORTAL_METADATA",e.LANGUAGES="LANGUAGES",e.PRINT_TEMPLATES="PRINT_TEMPLATES",e.OFFLINE="OFFLINE",e.CUSTOM_JS="CUSTOM_JS",e.CONFIDENTIALITY="CONFIDENTIALITY",e.NOTIFICATIONS="NOTIFICATIONS"})(Ja||(Ja={}));var Qa;(function(e){e.MAP="MAP",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(Qa||(Qa={}));var bh={[q.PERSONAL_BOOK_SHARE_USER]:[q.PERSONAL_BOOK_USER],[q.HTML_EXPORT_USER]:[q.PERSONAL_BOOK_USER],[q.PDF_EXPORT_USER]:[q.PERSONAL_BOOK_USER],[q.KHUB_ADMIN]:[q.CONTENT_PUBLISHER],[q.ADMIN]:[q.KHUB_ADMIN,q.USERS_ADMIN,q.PORTAL_ADMIN,q.BEHAVIOR_DATA_USER],[q.GENERATIVE_AI_EXPORT_USER]:[q.GENERATIVE_AI_USER]};function nd(e){return`"${e}"`}function es(e){return e.startsWith('"')&&e.endsWith('"')?e.replace(/(^"+)|("+$)/g,""):e}function id(e,t){return new Qe(e).serialize(t)}var L;(function(e){e.LOCALE="content-lang",e.QUERY="query",e.SCOPE="scope",e.FILTERS="filters",e.VIRTUAL_FIELD="virtual-field",e.PERIOD="period",e.VALUE_FILTERS="value-filters",e.NEGATIVE_VALUE_FILTERS="negative-value-filters",e.DATE_FILTERS="date-filters",e.RANGE_FILTERS="range-filters",e.SORT="sort",e.PER_PAGE="per-page",e.KEYWORD_MATCH="keyword-match"})(L||(L={}));var ad=new Set(Object.values(L));function ts(e){return ad.has(e)}var Qe=class e{constructor(t,o=20,n=!1,i="en-US"){this.baseUrl=t,this.defaultPerPage=o,this.allLanguagesAllowed=n,this.defaultContentLocale=i,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"}}serialize(t,o){return this.serializeToCurrentPageIfPossible(t,o??"/search")}serializeToCurrentPageIfPossible(t,o){let n=o==null||o.trim().length===0,i=new URL(n?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${o}`);return i.search=this.toURLSearchParams(t),i.toString()}toURLSearchParams(t,o=!1){var n,i,a,s,l,u,p,h,f;let m=new URLSearchParams;t.contentLocale?(!o||t.contentLocale!==this.defaultContentLocale)&&m.append(L.LOCALE,t.contentLocale):m.append(L.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=t.query)===null||n===void 0?void 0:n.length)>0&&m.append(L.QUERY,t.query);let b=e.serializeValueFilters(t.metadataFilters);b&&m.append(L.VALUE_FILTERS,b);let S=e.serializeNegativeValueFilters(t.metadataFilters);S&&m.append(L.NEGATIVE_VALUE_FILTERS,S);let A=(u=(i=t.metadataFilters)===null||i===void 0?void 0:i.filter(g=>g.dateFilter))!==null&&u!==void 0?u:[];if(A.length>0){let g=A.map(y=>{var x;return`${y.key}~${(x=y.dateFilter)===null||x===void 0?void 0:x.type.toLowerCase()}`}).join("*");m.append(L.DATE_FILTERS,g)}let E=(p=(a=t.metadataFilters)===null||a===void 0?void 0:a.filter(g=>g.rangeFilter))!==null&&p!==void 0?p:[];if(E.length>0){let g=E.map(y=>{var x,O;return`${y.key}~${(x=y.rangeFilter)===null||x===void 0?void 0:x.from}_${(O=y.rangeFilter)===null||O===void 0?void 0:O.to}`}).join("*");m.append(L.RANGE_FILTERS,g)}t.virtualField&&t.virtualField!=="EVERYWHERE"&&m.append(L.VIRTUAL_FIELD,t.virtualField.toLowerCase()),t.scope&&t.scope!=="DEFAULT"&&m.append(L.SCOPE,t.scope.toLowerCase()),t.sortId!=null&&m.append(L.SORT,t.sortId),!((s=t.paging)===null||s===void 0)&&s.perPage&&((h=(l=t.paging)===null||l===void 0?void 0:l.perPage)!==null&&h!==void 0?h:this.defaultPerPage)!=this.defaultPerPage&&m.append(L.PER_PAGE,String(t.paging.perPage)),t.keywordMatch!=null&&m.append(L.KEYWORD_MATCH,t.keywordMatch.toLowerCase());let w=(f=t.otherQueryParams)!==null&&f!==void 0?f:{};for(let g in w)m.append(g,w[g]);let P=new Array;return m.forEach((g,y)=>{P.push(this.encodeQueryString(y)+"="+this.encodeQueryString(g))}),encodeURI(P.join("&")).replace(/#/g,"%23")}encodeQueryString(t){return encodeURIComponent(t).replace(/%20/g,"+")}parse(t){var o;let n=t.split("?"),i=this.fromURLSearchParams(n.slice(1).join("?")),a=n[0].split("/search/")[1];return a==null?i:{...i,scope:(o=this.scopeMapping[a])!==null&&o!==void 0?o:i.scope}}fromURLSearchParams(t){var o,n,i,a,s,l;try{t=decodeURI(t).replace(/%23/g,"#")}catch(w){console.warn("Could not decode search request query params, fallback on raw value",w)}let u=new URLSearchParams(t),p=u.get(L.LOCALE)==="all"?void 0:u.get(L.LOCALE),h=((n=u.get(L.VIRTUAL_FIELD))!==null&&n!==void 0?n:"EVERYWHERE").toUpperCase(),f=(o=u.get(L.SORT))===null||o===void 0?void 0:o.toLowerCase(),m=(i=u.get(L.SCOPE))!==null&&i!==void 0?i:"default",b=+((a=u.get(L.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),S=u.get(L.KEYWORD_MATCH),A=S?S.toUpperCase()===Tt.MANDATORY?Tt.MANDATORY:Tt.OPTIONAL:void 0,E={};for(let w of u.keys())ts(w)||(E[w]=u.get(w));return{contentLocale:p??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=u.get(L.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[m])!==null&&l!==void 0?l:"DEFAULT",virtualField:za(h)?h:"EVERYWHERE",sortId:f,metadataFilters:this.parseCompatFilters(u),facets:[],paging:{page:1,perPage:Xe(1,isNaN(b)?this.defaultPerPage:b,1e3)},keywordMatch:A,otherQueryParams:E}}parseCompatFilters(t){var o,n,i,a,s,l,u;let p=[];return t.has(L.FILTERS)&&(p=e.parseValueFilters((o=t.get(L.FILTERS))!==null&&o!==void 0?o:"")),(n=t.has(L.PERIOD))!==null&&n!==void 0&&n&&(p=[...p,...this.parseLegacyPeriodFilter(((i=t.get(L.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...p,...e.parseValueFilters((a=t.get(L.VALUE_FILTERS))!==null&&a!==void 0?a:""),...e.parseValueFilters((s=t.get(L.NEGATIVE_VALUE_FILTERS))!==null&&s!==void 0?s:"",!0),...this.parseDateFilters((l=t.get(L.DATE_FILTERS))!==null&&l!==void 0?l:""),...this.parseRangeFilters((u=t.get(L.RANGE_FILTERS))!==null&&u!==void 0?u:"")]}static splitUnknownFilter(t){return this.superEscapeFilters(t).split("*").map(o=>o.split("~"))}static parseValueFilters(t,o=!1){return t.length===0?[]:this.splitUnknownFilter(t).map(n=>({key:n[0],valueFilter:{values:n[1].split("_").map(es).map(i=>this.unescapeFilterValue(i)),negative:o}}))}parseDateFilters(t){return t.length===0?[]:e.splitUnknownFilter(t).map(o=>({key:o[0],dateFilter:{type:Lt[o[1].toUpperCase()]}}))}parseRangeFilters(t){return t.length===0?[]:e.splitUnknownFilter(t).map(o=>({key:o[0],rangeFilter:{from:o[1].split("_")[0],to:o[1].split("_")[1]}}))}static escapeFilters(t){for(let[o,n,i]of this.filtersEscapeMapping)t=t.replaceAll(o,n);return t}static superEscapeFilters(t){for(let[o,n,i]of e.filtersEscapeMapping)t=t.replaceAll(n,i);return t}static unescapeFilterValue(t){for(let[o,n,i]of e.filtersEscapeMapping)t=t.replaceAll(i,o);return t}parseLegacyPeriodFilter(t){if(Ha(t))return[{key:"ft:lastEdition",dateFilter:{type:Lt[t]}}];if(t.startsWith("CUSTOM_")){let[o,n,i]=t.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}static serializeValueFilter(t){var o,n;let i=((n=(o=t.valueFilter)===null||o===void 0?void 0:o.values)!==null&&n!==void 0?n:[]).map(a=>e.escapeFilters(a)).map(a=>nd(es(a))).join("_");return`${t.key}~${i}`}static serializeValueFilters(t){var o;let n=(o=t?.filter(i=>i.valueFilter&&!i.valueFilter.negative))!==null&&o!==void 0?o:[];if(n.length>0)return n.map(e.serializeValueFilter).join("*")}static serializeNegativeValueFilters(t){var o;let n=(o=t?.filter(i=>i.valueFilter&&i.valueFilter.negative))!==null&&o!==void 0?o:[];if(n.length>0)return n.map(e.serializeValueFilter).join("*")}static clearSearchParamsInUrl(t){let o=new URL(t);return[L.LOCALE,L.FILTERS,L.VALUE_FILTERS,L.NEGATIVE_VALUE_FILTERS,L.DATE_FILTERS,L.RANGE_FILTERS].forEach(i=>{o.searchParams.delete(i)}),o.toString()}static updateLocaleParamInUrl(t,o){let n=new URL(t);return n.searchParams.delete(L.LOCALE),o!==void 0&&n.searchParams.append(L.LOCALE,o),n.toString()}};Qe.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]];function Xo(e){var t,o,n,i;return(i=(n=(o=(t=e?.map)!==null&&t!==void 0?t:e?.topic)!==null&&o!==void 0?o:e?.document)!==null&&n!==void 0?n:e?.htmlPackage)!==null&&i!==void 0?i:e?.htmlPackagePage}function sd(e){var t,o,n,i,a,s,l,u,p;return(p=(u=(l=(s=(t=e?.map)===null||t===void 0?void 0:t.mapId)!==null&&s!==void 0?s:(o=e?.topic)===null||o===void 0?void 0:o.tocId)!==null&&l!==void 0?l:(n=e?.document)===null||n===void 0?void 0:n.documentId)!==null&&u!==void 0?u:(i=e?.htmlPackage)===null||i===void 0?void 0:i.packageId)!==null&&p!==void 0?p:(a=e?.htmlPackagePage)===null||a===void 0?void 0:a.contentId}function cd(e,t){var o,n,i,a,s,l,u,p,h;return(h=(p=(u=(l=Yo((o=e?.map)===null||o===void 0?void 0:o.readerUrl,t))!==null&&l!==void 0?l:Yo((n=e?.topic)===null||n===void 0?void 0:n.readerUrl,t))!==null&&u!==void 0?u:(i=e?.document)===null||i===void 0?void 0:i.viewerUrl)!==null&&p!==void 0?p:(a=e?.htmlPackage)===null||a===void 0?void 0:a.viewerUrl)!==null&&h!==void 0?h:(s=e?.htmlPackagePage)===null||s===void 0?void 0:s.viewerUrl}function ld(e){return e?.topic?[e.topic.mapTitle,...e.topic.breadcrumb]:e?.map?[e.map.title]:e?.document?[e.document.title]:e?.htmlPackage?[e.htmlPackage.title]:e?.htmlPackagePage?[e.htmlPackagePage.packageTitle,e.htmlPackagePage.title]:[]}function Yo(e,t){if(t&&e){let o=URL.parse(e),n=Qe.serializeValueFilters(t);if(n&&o?.searchParams.append(L.VALUE_FILTERS,n),o)return o.toString()}return e}function Qo(e,t){return t&&t>1&&e.length>=t?`... > ${e[e.length-1]}`:e.join(" > ")}var en=class e{constructor(t,o,n,i){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=i}static findResultWithMetadataValue(t,o,n){return t?.find(i=>{var a;return((a=this.extractResultMetadata({result:i}).find(s=>s.key==o))===null||a===void 0?void 0:a.value)==n})}static extractResultMetadata(t){var o,n;let i=(n=(o=Xo(t.result))===null||o===void 0?void 0:o.metadata)!==null&&n!==void 0?n:[];return t.key==null?e.flattenMetadata(i,t.hierarchicalValueTruncatingLevel,t.dateFormatter):e.flattenMetadata(i.find(a=>a.key===t.key),t.hierarchicalValueTruncatingLevel,t.dateFormatter)}static flattenMetadata(t,o,n){if(Array.isArray(t))return t.map(a=>e.flattenMetadata(a,o,n)).filter(a=>a!=null);let i=t?.hierarchicalValues!=null&&t.hierarchicalValues.length>0;if(!(t==null||t.values.length==0&&!i))if(i){let a=[],s=[];return t.hierarchicalValues.forEach(l=>{a.push(Qo(l)),s.push(Qo(l,o))}),{key:t.key,label:t.label,value:a.join(", "),displayValue:s.join(", "),displayTooltipValue:a.join(", ")}}else{let a=t.values.join(", "),s=t.values.map(l=>n?n(l):l).join(", ");return{key:t.key,label:t.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(t,o,n="No value",i,a){var s,l;let u=e.extractResultMetadata({result:this.selectedResult,key:t,dateFormatter:a}),p=(l=u?.label)!==null&&l!==void 0?l:(s=this.getMetadataDescriptor(t))===null||s===void 0?void 0:s.label;return this.allResults.map(f=>e.extractResultMetadata({result:f,key:t,hierarchicalValueTruncatingLevel:i,dateFormatter:a})).map(f=>f??{key:t,label:p,value:void 0,displayValue:n}).filter(f=>f.value!=u?.value).filter((f,m,b)=>b.findIndex(S=>S.value===f.value)===m).map(f=>({result:this.findBestResultForMetadataValue(t,f.value),metadata:f})).sort((f,m)=>this.compareMetadata(f.metadata.value,m.metadata.value,t,o))}compareMetadata(t,o,n,i){if(t==null)return-1;if(o==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let u=t.localeCompare(o,i,{numeric:!0});return l?u*-1:u}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(o=>t==o.key)}findBestResultForMetadataValue(t,o){let n=this.allResults.filter(u=>{var p;return((p=e.extractResultMetadata({result:u,key:t}))===null||p===void 0?void 0:p.value)==o}),a=[...e.extractResultMetadata({result:this.selectedResult}).filter(u=>this.clusteringMetadata.has(u.key)).filter(u=>u.key!==t)],s,l=-1;for(let u of n){let p=this.countMatchingMetadata(u,a);if(p>l&&(l=p,s=u,p===a.length))break}return s}countMatchingMetadata(t,o){return e.extractResultMetadata({result:t}).filter(n=>o.some(i=>i.key===n.key&&i.value===n.value)).length}};var rn={};I(rn,{Debouncer:()=>$e});var $e=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let i=(t=this.rejectPromise)!==null&&t!==void 0?t:(()=>null),a=(o=this.resolvePromise)!==null&&o!==void 0?o:(()=>null);this.clearPromise();for(let s of n)try{await s()}catch(l){i(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var sn={};I(sn,{designSystemVariables:()=>B});var an={};I(an,{DesignSystemFamily:()=>or,DesignSystemSize:()=>nr,FtCssVariableFactory:()=>r,badge:()=>wd,banner:()=>Ad,button:()=>pd,card:()=>hd,chart:()=>Hd,checkbox:()=>bd,chip:()=>vd,chipChoice:()=>Ed,chipGroup:()=>Od,collapsible:()=>Bd,combobox:()=>Fd,dateRangePicker:()=>Kd,drawer:()=>Id,eventCard:()=>md,floatingMenu:()=>Ud,foundation:()=>c,link:()=>Cd,modal:()=>Nd,notice:()=>Vd,notification:()=>Wd,pageDesigner:()=>Gd,pageFooter:()=>Td,pageHeader:()=>_d,pageLayout:()=>Ld,popover:()=>$d,radio:()=>xd,reorderableList:()=>Pd,resolveFamilyClass:()=>on,resolveSizeClass:()=>nn,semantic:()=>d,setVariable:()=>z,switch_:()=>zd,table:()=>Sd,tabs:()=>kd,textArea:()=>Md,textInput:()=>Dd,titleBreadcrumb:()=>Rd,toc:()=>gd,toggle:()=>fd,tooltip:()=>jd,treeList:()=>yd,typographies:()=>dd,typographyBody1Medium:()=>ss,typographyBody1Regular:()=>as,typographyBody1Semibold:()=>cs,typographyBody2Medium:()=>ds,typographyBody2MediumUnderline:()=>us,typographyBody2Regular:()=>ls,typographyBody2Semibold:()=>ps,typographyCaption1Medium:()=>fs,typographyCaption1Semibold:()=>hs,typographyCaption2Bold:()=>gs,typographyCaption2Medium:()=>ms,typographyCaption2Semibold:()=>ys,typographyDisplay:()=>rs,typographyTitle1:()=>os,typographyTitle2:()=>ns,typographyTitle3:()=>is,typographyVariants:()=>ud});var Be=e=>typeof e=="string"?Wt(e):e,r=class{static create(t,o,n,i){let a=l=>Be(l??i),s=N`var(${Be(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.set=l=>z(s,l??a(i)),s.get=l=>N`var(${Be(t)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,o,n,i){let a=l=>n.get(l??i),s=N`var(${Be(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.set=l=>z(s,l??a(i)),s.get=l=>N`var(${Be(t)}, ${a(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(t,o){let n=a=>t.defaultCssValue(a),i=N`var(${Be(t.name)}, ${n(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=n,i.set=a=>t.set(a),i.get=a=>N`var(${Be(t.name)}, ${n(a)})`,i.breadcrumb=()=>t.breadcrumb(),i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};function z(e,t){return Be(`${e.name}: ${t}`)}var c={colorWhite:r.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:r.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:r.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ftds-icon-size-1","","SIZE","0.5rem"),iconSize2:r.create("--ftds-icon-size-2","","SIZE","0.75rem"),iconSize3:r.create("--ftds-icon-size-3","","SIZE","1rem"),iconSize4:r.create("--ftds-icon-size-4","","SIZE","1.25rem"),iconSize5:r.create("--ftds-icon-size-5","","SIZE","1.5rem"),iconSize6:r.create("--ftds-icon-size-6","","SIZE","2rem"),iconSize7:r.create("--ftds-icon-size-7","","SIZE","3rem"),opacity0:r.create("--ftds-opacity-0","","NUMBER","0"),opacity4:r.create("--ftds-opacity-4","","NUMBER","0.04"),opacity6:r.create("--ftds-opacity-6","","NUMBER","0.06"),opacity8:r.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:r.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:r.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:r.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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("--ftds-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)")},rs={fontFamily:r.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:r.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-display-text-case","","UNKNOWN","none")},os={fontFamily:r.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:r.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},ns={fontFamily:r.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:r.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},is={fontFamily:r.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:r.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},as={fontFamily:r.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},ss={fontFamily:r.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},cs={fontFamily:r.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},ls={fontFamily:r.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},ds={fontFamily:r.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},us={fontFamily:r.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:r.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:r.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},ps={fontFamily:r.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},fs={fontFamily:r.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},hs={fontFamily:r.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},ms={fontFamily:r.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},ys={fontFamily:r.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},gs={fontFamily:r.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},dd={display:rs,"title-1":os,"title-2":ns,"title-3":is,"body-1-regular":as,"body-1-medium":ss,"body-1-semibold":cs,"body-2-regular":ls,"body-2-medium":ds,"body-2-medium-underline":us,"body-2-semibold":ps,"caption-1-medium":fs,"caption-1-semibold":hs,"caption-2-medium":ms,"caption-2-semibold":ys,"caption-2-bold":gs},ud=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","caption-1","caption-2"];var d={backgroundActionPrimary:r.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:r.extend("--ftds-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:r.extend("--ftds-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:r.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:r.extend("--ftds-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:r.extend("--ftds-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:r.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:r.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:r.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:r.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:r.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:r.extend("--ftds-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:r.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:r.extend("--ftds-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:r.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:r.extend("--ftds-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:r.extend("--ftds-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:r.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
4
+ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:r.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:r.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:r.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:r.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:r.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:r.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:r.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:r.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:r.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:r.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:r.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:r.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",c.colorGray50),borderGlobalSecondary:r.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",c.colorGray40),borderGlobalSubtle:r.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",c.colorGray30),borderInputPrimary:r.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:r.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var pd={largeHeight:r.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:r.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:r.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:r.extend("--ftds-button-large-icon-size","",c.iconSize3),largeBorderWidth:r.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ftds-button-medium-horizontal-padding","",c.spacing3),mediumGap:r.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:r.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:r.extend("--ftds-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:r.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-button-small-horizontal-padding","",c.spacing2),smallGap:r.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:r.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:r.extend("--ftds-button-small-icon-size","",c.iconSize1),smallBorderWidth:r.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ftds-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:r.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ftds-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ftds-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:r.extend("--ftds-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ftds-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ftds-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ftds-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ftds-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ftds-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ftds-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:r.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ftds-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ftds-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ftds-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:r.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ftds-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ftds-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ftds-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:r.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ftds-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ftds-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ftds-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:r.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ftds-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ftds-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ftds-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:r.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ftds-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ftds-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ftds-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:r.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ftds-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:r.extend("--ftds-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ftds-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:r.extend("--ftds-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:r.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ftds-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ftds-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ftds-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ftds-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:r.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ftds-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:r.extend("--ftds-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ftds-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ftds-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:r.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ftds-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:r.extend("--ftds-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ftds-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ftds-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:r.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ftds-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:r.extend("--ftds-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ftds-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ftds-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:r.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ftds-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:r.extend("--ftds-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ftds-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ftds-button-secondary-error-state-layer-color","",d.contentErrorPrimary)};var fd={iconSize:r.extend("--ftds-toggle-icon-size","",c.iconSize1),offHoverStateLayerOpacity:r.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:r.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:r.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:r.extend("--ftds-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:r.extend("--ftds-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:r.extend("--ftds-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:r.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:r.extend("--ftds-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:r.extend("--ftds-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:r.extend("--ftds-toggle-on-icon-color","",d.contentActionPrimary),color:r.extend("--ftds-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:r.extend("--ftds-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:r.extend("--ftds-toggle-gap","",c.spacing3),width:r.create("--ftds-toggle-width","","SIZE","36px"),height:r.create("--ftds-toggle-height","","SIZE","20px")};var hd={borderRadius:r.extend("--ftds-card-border-radius","",c.borderRadiusS),focusFocusRingColor:r.extend("--ftds-card-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-card-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-card-focus-outline-offset","","SIZE","2px"),headerTitleHorizontalPadding:r.extend("--ftds-card-header-title-horizontal-padding","",c.spacing4),headerTitleVerticalPadding:r.extend("--ftds-card-header-title-vertical-padding","",c.spacing3),headerActionHorizontalPadding:r.extend("--ftds-card-header-action-horizontal-padding","",c.spacing2),headerActionVerticalPadding:r.extend("--ftds-card-header-action-vertical-padding","",c.spacing2),headerActionGap:r.extend("--ftds-card-header-action-gap","",c.spacing1),bodyHorizontalPadding:r.extend("--ftds-card-body-horizontal-padding","",c.spacing4),bodyVerticalPadding:r.extend("--ftds-card-body-vertical-padding","",c.spacing4),footerActionHorizontalPadding:r.extend("--ftds-card-footer-action-horizontal-padding","",c.spacing2),footerActionVerticalPadding:r.extend("--ftds-card-footer-action-vertical-padding","",c.spacing2),footerActionGap:r.extend("--ftds-card-footer-action-gap","",c.spacing1),footerContentHorizontalPadding:r.extend("--ftds-card-footer-content-horizontal-padding","",c.spacing4),footerContentVerticalPadding:r.extend("--ftds-card-footer-content-vertical-padding","",c.spacing3),sideBarHorizontalPadding:r.extend("--ftds-card-side-bar-horizontal-padding","",c.spacing1),sideBarVerticalPadding:r.extend("--ftds-card-side-bar-vertical-padding","",c.spacing1),sideBarGap:r.extend("--ftds-card-side-bar-gap","",c.spacing1),nonSelectableBorderWidth:r.create("--ftds-card-non-selectable-border-width","","SIZE","1px"),nonSelectableStateLayerColor:r.extend("--ftds-card-non-selectable-state-layer-color","",d.contentGlobalPrimary),nonSelectableDefaultBackgroundColor:r.extend("--ftds-card-non-selectable-default-background-color","",d.backgroundGlobalOnSurface),nonSelectableDefaultBorderColor:r.extend("--ftds-card-non-selectable-default-border-color","",d.borderGlobalSecondary),nonSelectableHoverBorderColor:r.extend("--ftds-card-non-selectable-hover-border-color","",d.borderGlobalPrimary),nonSelectableHoverStateLayerOpacity:r.extend("--ftds-card-non-selectable-hover-state-layer-opacity","",c.opacity4),nonSelectableFocusBorderColor:r.extend("--ftds-card-non-selectable-focus-border-color","",d.borderGlobalPrimary),nonSelectableFocusStateLayerOpacity:r.extend("--ftds-card-non-selectable-focus-state-layer-opacity","",c.opacity4),internalBorderColor:r.extend("--ftds-card-internal-border-color","",d.borderGlobalSecondary),selectableUnselectedBorderWidth:r.create("--ftds-card-selectable-unselected-border-width","","SIZE","1px"),selectableUnselectedStateLayerColor:r.extend("--ftds-card-selectable-unselected-state-layer-color","",d.contentGlobalPrimary),selectableUnselectedDefaultBackgroundColor:r.extend("--ftds-card-selectable-unselected-default-background-color","",d.backgroundGlobalOnSurface),selectableUnselectedDefaultBorderColor:r.extend("--ftds-card-selectable-unselected-default-border-color","",d.borderGlobalSecondary),selectableUnselectedHoverBorderColor:r.extend("--ftds-card-selectable-unselected-hover-border-color","",d.borderGlobalPrimary),selectableUnselectedHoverStateLayerOpacity:r.extend("--ftds-card-selectable-unselected-hover-state-layer-opacity","",c.opacity4),selectableUnselectedFocusBorderColor:r.extend("--ftds-card-selectable-unselected-focus-border-color","",d.borderGlobalPrimary),selectableUnselectedFocusStateLayerOpacity:r.extend("--ftds-card-selectable-unselected-focus-state-layer-opacity","",c.opacity4),selectableSelectedBorderColor:r.extend("--ftds-card-selectable-selected-border-color","",d.borderActionPrimary),selectableSelectedBorderWidth:r.create("--ftds-card-selectable-selected-border-width","","SIZE","2px"),selectableSelectedStateLayerColor:r.extend("--ftds-card-selectable-selected-state-layer-color","",d.contentActionPrimary),selectableSelectedBackgroundColor:r.extend("--ftds-card-selectable-selected-background-color","",d.backgroundGlobalSurface),selectableSelectedDefaultStateLayerOpacity:r.extend("--ftds-card-selectable-selected-default-state-layer-opacity","",c.opacity4),selectableSelectedHoverStateLayerOpacity:r.extend("--ftds-card-selectable-selected-hover-state-layer-opacity","",c.opacity4),selectableSelectedFocusStateLayerOpacity:r.extend("--ftds-card-selectable-selected-focus-state-layer-opacity","",c.opacity4),internalBorderWidth:r.create("--ftds-card-internal-border-width","","SIZE","1px")};var md={borderRadius:r.extend("--ftds-event-card-border-radius","",c.borderRadiusS),borderWidth:r.create("--ftds-event-card-border-width","","SIZE","1px"),backgroundColor:r.extend("--ftds-event-card-background-color","",d.backgroundGlobalSurface),thumbnailWidth:r.extend("--ftds-event-card-thumbnail-width","",c.spacing8),thumbnailIconSize:r.extend("--ftds-event-card-thumbnail-icon-size","",c.iconSize3),slotHorizontalPadding:r.extend("--ftds-event-card-slot-horizontal-padding","",c.spacing2),slotVerticalPadding:r.extend("--ftds-event-card-slot-vertical-padding","",c.spacing2),primaryThumbnailIconColor:r.extend("--ftds-event-card-primary-thumbnail-icon-color","",d.contentGlobalOnColor),secondaryThumbnailBackgroundColor:r.extend("--ftds-event-card-secondary-thumbnail-background-color","",d.backgroundGlobalSurface)};var yd={loadMoreIconSize:r.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:r.extend("--ftds-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-unselected-default-border-color","",d.borderGlobalSubtle),loadMoreIconColor:r.extend("--ftds-tree-list-load-more-icon-color","",d.contentActionPrimary),loadMoreLabelColor:r.extend("--ftds-tree-list-load-more-label-color","",d.contentActionPrimary),loadMoreHoverBorderColor:r.extend("--ftds-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:r.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:r.extend("--ftds-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:r.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:r.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:r.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),loadMoreLabelMarginLeft:r.extend("--ftds-tree-list-load-more-label-margin-left","",c.spacing1),nodeIconSize:r.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:r.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:r.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:r.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:r.extend("--ftds-tree-list-node-root-padding-left","",c.spacing6),nodeChildPaddingLeft:r.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:r.extend("--ftds-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-node-unselected-default-border-color","",d.borderGlobalSubtle),nodeUnselectedIconColor:r.extend("--ftds-tree-list-node-unselected-icon-color","",d.contentGlobalSecondary),nodeUnselectedLabelColor:r.extend("--ftds-tree-list-node-unselected-label-color","",d.contentGlobalSecondary),nodeUnselectedCounterColor:r.extend("--ftds-tree-list-node-unselected-counter-color","",d.contentGlobalSecondary),nodeHoverBorderColor:r.extend("--ftds-tree-list-node-hover-border-color","",d.borderActionPrimary),nodeFocusFocusRingColor:r.extend("--ftds-tree-list-node-focus-focus-ring-color","",d.borderActionFocusRing),nodeFocusOutlineWidth:r.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-selected-default-border-color","",d.borderGlobalPrimary),nodeSelectedIconColor:r.extend("--ftds-tree-list-node-selected-icon-color","",d.contentGlobalSecondary),nodeSelectedLabelColor:r.extend("--ftds-tree-list-node-selected-label-color","",d.contentGlobalPrimary),nodeSelectedCounterColor:r.extend("--ftds-tree-list-node-selected-counter-color","",d.contentGlobalSecondary),nodeSelectedBackgroundColor:r.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:r.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:r.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:r.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:r.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:r.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:r.extend("--ftds-tree-list-header-section-padding-left","",c.spacing6),headerSectionPaddingRight:r.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:r.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:r.extend("--ftds-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:r.extend("--ftds-tree-list-header-section-color","",d.contentGlobalPrimary),headerSectionCounterColor:r.extend("--ftds-tree-list-header-section-counter-color","",d.contentGlobalSecondary),listContainerBorderWidth:r.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:r.extend("--ftds-tree-list-list-container-background-color","",d.backgroundGlobalSurface),listContainerBorderColor:r.extend("--ftds-tree-list-list-container-border-color","",d.borderGlobalSubtle),emptyStateIllustrationWidth:r.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:r.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:r.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",c.spacing10),emptyStateContainerPaddingTop:r.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:r.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:r.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.spacing2),emptyStateTitleLabelColor:r.extend("--ftds-tree-list-empty-state-title-label-color","",d.contentGlobalSecondary),emptyStateDescriptionLabelColor:r.extend("--ftds-tree-list-empty-state-description-label-color","",d.contentGlobalSecondary)};var gd={titleColor:r.extend("--ftds-toc-title-color","",d.contentGlobalSubtle),titleGap:r.extend("--ftds-toc-title-gap","",c.spacing2),top:r.create("--ftds-toc-top","","SIZE","160px"),itemGap:r.create("--ftds-toc-item-gap","","SIZE","0px"),itemHorizontalPadding:r.extend("--ftds-toc-item-horizontal-padding","",c.spacing4),itemVerticalPadding:r.extend("--ftds-toc-item-vertical-padding","",c.spacing3),itemBorderRadius:r.extend("--ftds-toc-item-border-radius","",c.borderRadiusS),itemBorderWidth:r.create("--ftds-toc-item-border-width","","SIZE","1px"),itemFocusFocusRingColor:r.extend("--ftds-toc-item-focus-focus-ring-color","",d.borderActionFocusRing),itemFocusFocusRingWidth:r.create("--ftds-toc-item-focus-focus-ring-width","","SIZE","3px"),itemRootDefaultLabelColor:r.extend("--ftds-toc-item-root-default-label-color","",d.contentGlobalSecondary),itemRootDefaultBorderColor:r.extend("--ftds-toc-item-root-default-border-color","",d.borderGlobalSubtle),itemRootHoverLabelColor:r.extend("--ftds-toc-item-root-hover-label-color","",d.contentGlobalSecondary),itemRootHoverBorderColor:r.extend("--ftds-toc-item-root-hover-border-color","",d.borderGlobalSubtle),itemRootHoverStateLayerColor:r.extend("--ftds-toc-item-root-hover-state-layer-color","",d.contentGlobalSecondary),itemRootHoverStateLayerOpacity:r.extend("--ftds-toc-item-root-hover-state-layer-opacity","",c.opacity8),itemRootFocusLabelColor:r.extend("--ftds-toc-item-root-focus-label-color","",d.contentGlobalSecondary),itemRootFocusStateLayerColor:r.extend("--ftds-toc-item-root-focus-state-layer-color","",d.contentGlobalSecondary),itemRootFocusStateLayerOpacity:r.extend("--ftds-toc-item-root-focus-state-layer-opacity","",c.opacity8),itemRootSelectedLabelColor:r.extend("--ftds-toc-item-root-selected-label-color","",d.contentActionPrimary),itemRootSelectedBorderColor:r.extend("--ftds-toc-item-root-selected-border-color","",d.borderActionPrimary),itemRootSelectedBorderWidth:r.create("--ftds-toc-item-root-selected-border-width","","SIZE","3px"),itemRootSelectedStateLayerColor:r.extend("--ftds-toc-item-root-selected-state-layer-color","",d.contentActionPrimary),itemRootSelectedStateLayerOpacity:r.extend("--ftds-toc-item-root-selected-state-layer-opacity","",c.opacity8),itemRootChildrenActiveLabelColor:r.extend("--ftds-toc-item-root-children-active-label-color","",d.contentActionPrimary),itemRootChildrenActiveBorderColor:r.extend("--ftds-toc-item-root-children-active-border-color","",d.borderGlobalSubtle),itemChildDefaultLabelColor:r.extend("--ftds-toc-item-child-default-label-color","",d.contentGlobalSubtle),itemChildDefaultBorderColor:r.extend("--ftds-toc-item-child-default-border-color","",d.borderGlobalSubtle),itemChildHoverLabelColor:r.extend("--ftds-toc-item-child-hover-label-color","",d.contentGlobalSubtle),itemChildHoverBorderColor:r.extend("--ftds-toc-item-child-hover-border-color","",d.borderGlobalSubtle),itemChildHoverStateLayerColor:r.extend("--ftds-toc-item-child-hover-state-layer-color","",d.contentGlobalSecondary),itemChildHoverStateLayerOpacity:r.extend("--ftds-toc-item-child-hover-state-layer-opacity","",c.opacity8),itemChildFocusLabelColor:r.extend("--ftds-toc-item-child-focus-label-color","",d.contentGlobalSubtle),itemChildFocusStateLayerColor:r.extend("--ftds-toc-item-child-focus-state-layer-color","",d.contentGlobalSecondary),itemChildFocusStateLayerOpacity:r.extend("--ftds-toc-item-child-focus-state-layer-opacity","",c.opacity8),itemChildSelectedLabelColor:r.extend("--ftds-toc-item-child-selected-label-color","",d.contentActionPrimary),itemChildSelectedBorderColor:r.extend("--ftds-toc-item-child-selected-border-color","",d.borderActionPrimary),itemChildSelectedBorderWidth:r.create("--ftds-toc-item-child-selected-border-width","","SIZE","3px"),itemChildSelectedStateLayerColor:r.extend("--ftds-toc-item-child-selected-state-layer-color","",d.contentActionPrimary),itemChildSelectedStateLayerOpacity:r.extend("--ftds-toc-item-child-selected-state-layer-opacity","",c.opacity8)};var bd={iconSize:r.extend("--ftds-checkbox-icon-size","",c.iconSize2),boxSize:r.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:r.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:r.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:r.extend("--ftds-checkbox-label-horizontal-gap","",c.spacing2),color:r.extend("--ftds-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ftds-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:r.extend("--ftds-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:r.extend("--ftds-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:r.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:r.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:r.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:r.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:r.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ftds-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:r.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:r.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:r.extend("--ftds-checkbox-horizontal-gap","",c.spacing3),helperPaddingTop:r.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:r.extend("--ftds-checkbox-helper-icon-size","",c.iconSize2),helperHorizontalGap:r.extend("--ftds-checkbox-helper-horizontal-gap","",c.spacing1),errorUncheckedBorderColor:r.extend("--ftds-checkbox-error-unchecked-border-color","",d.borderErrorPrimary),errorStateLayerColor:r.extend("--ftds-checkbox-error-state-layer-color","",d.contentErrorPrimary),errorHelperTextColor:r.extend("--ftds-checkbox-error-helper-text-color","",d.borderErrorPrimary),errorCheckedBackgroundColor:r.extend("--ftds-checkbox-error-checked-background-color","",d.contentErrorPrimary),helperTextColor:r.extend("--ftds-checkbox-helper-text-color","",d.contentGlobalSubtle),groupVerticalGap:r.extend("--ftds-checkbox-group-vertical-gap","",c.spacing3)};var xd={circleSize:r.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:r.create("--ftds-radio-border-width","","SIZE","2px"),color:r.extend("--ftds-radio-color","",d.contentGlobalPrimary),selectedRadioColor:r.extend("--ftds-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:r.extend("--ftds-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ftds-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:r.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:r.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:r.extend("--ftds-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:r.extend("--ftds-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:r.extend("--ftds-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ftds-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:r.extend("--ftds-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ftds-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:r.extend("--ftds-radio-vertical-gap","",c.spacing3),horizontalGap:r.extend("--ftds-radio-horizontal-gap","",c.spacing3)};var Sd={headerRowBorderWidth:r.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:r.extend("--ftds-table-header-row-background-color","",d.backgroundGlobalOnSurfaceDark),headerRowBorderColor:r.extend("--ftds-table-header-row-border-color","",d.borderGlobalPrimary),headerRowColor:r.extend("--ftds-table-header-row-color","",d.contentGlobalPrimary),dataRowBorderWidth:r.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:r.extend("--ftds-table-data-row-background-color","",d.backgroundGlobalOnSurface),dataRowBorderColor:r.extend("--ftds-table-data-row-border-color","",d.borderGlobalSubtle),dataRowColor:r.extend("--ftds-table-data-row-color","",d.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:r.extend("--ftds-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:r.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:r.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:r.extend("--ftds-table-data-row-selectable-selected-color","",d.contentActionPrimary),dataRowClickableHoverBackgroundColor:r.extend("--ftds-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:r.extend("--ftds-table-data-row-clickable-focus-border-color","",d.borderActionFocusRing),dataRowClickableFocusBackgroundColor:r.extend("--ftds-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:r.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:r.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:r.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:r.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:r.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:r.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:r.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)};var Ed={neutralOffHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:r.extend("--ftds-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ftds-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:r.extend("--ftds-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ftds-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:r.extend("--ftds-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ftds-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:r.extend("--ftds-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:r.extend("--ftds-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ftds-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:r.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:r.extend("--ftds-chip-choice-large-gap","",c.spacing1),largeBorderRadius:r.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:r.extend("--ftds-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:r.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-choice-medium-icon-size","",c.iconSize2)};var vd={largeMinHeight:r.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:r.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:r.extend("--ftds-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:r.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:r.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:r.extend("--ftds-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:r.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-medium-icon-size","",c.iconSize2),smallMinHeight:r.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:r.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:r.extend("--ftds-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:r.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ftds-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:r.extend("--ftds-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:r.extend("--ftds-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:r.extend("--ftds-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:r.extend("--ftds-chip-neutral-border-color","",d.borderGlobalSecondary),infoBackgroundColor:r.extend("--ftds-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ftds-chip-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ftds-chip-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ftds-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ftds-chip-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ftds-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ftds-chip-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ftds-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-chip-error-border-color","",d.borderErrorSubtle)};var Od={horizontalGap:r.extend("--ftds-chip-group-horizontal-gap","",c.spacing2),verticalGap:r.extend("--ftds-chip-group-vertical-gap","",c.spacing2),countChipDefaultBackgroundColor:r.extend("--ftds-chip-group-count-chip-default-background-color","",c.colorBrand10),countChipDefaultBorderColor:r.extend("--ftds-chip-group-count-chip-default-border-color","",c.colorBrand60),countChipDefaultContentColor:r.extend("--ftds-chip-group-count-chip-default-content-color","",d.contentActionPrimary),countChipHoverBackgroundColor:r.extend("--ftds-chip-group-count-chip-hover-background-color","",c.colorBrand20),countChipHoverBorderColor:r.extend("--ftds-chip-group-count-chip-hover-border-color","",c.colorBrand70),countChipHoverContentColor:r.extend("--ftds-chip-group-count-chip-hover-content-color","",d.contentActionPrimary),countChipFocusedBackgroundColor:r.extend("--ftds-chip-group-count-chip-focused-background-color","",c.colorBrand20),countChipFocusedBorderColor:r.extend("--ftds-chip-group-count-chip-focused-border-color","",c.colorBrand70),countChipFocusedContentColor:r.extend("--ftds-chip-group-count-chip-focused-content-color","",d.contentActionPrimary)};var Cd={brandHoverOpacity:r.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:r.extend("--ftds-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ftds-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:r.extend("--ftds-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:r.extend("--ftds-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:r.extend("--ftds-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:r.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:r.extend("--ftds-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ftds-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:r.extend("--ftds-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:r.extend("--ftds-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:r.extend("--ftds-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ftds-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:r.extend("--ftds-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:r.extend("--ftds-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:r.extend("--ftds-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:r.extend("--ftds-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:r.extend("--ftds-link-neutral-visited-color","",c.colorBrand100),horizontalGap:r.extend("--ftds-link-horizontal-gap","",c.spacing1)};var Ad={iconSize:r.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:r.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:r.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:r.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:r.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:r.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:r.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:r.extend("--ftds-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:r.extend("--ftds-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ftds-banner-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-banner-info-border-color","",d.borderInfoSubtle)};var wd={horizontalPadding:r.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:r.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:r.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:r.extend("--ftds-badge-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ftds-badge-background-color","",d.contentActionPrimary)};var Rd={horizontalGap:r.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:r.extend("--ftds-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:r.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:r.extend("--ftds-title-breadcrumb-icon-color","",d.contentGlobalSubtle)};var _d={parentHorizontalPadding:r.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:r.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:r.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:r.extend("--ftds-page-header-parent-help-left-margin","",c.spacing2),parentTitleColor:r.extend("--ftds-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:r.extend("--ftds-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ftds-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:r.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:r.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:r.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:r.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:r.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:r.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:r.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:r.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:r.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:r.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:r.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:r.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:r.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:r.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:r.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:r.extend("--ftds-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:r.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var Td={horizontalPadding:r.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:r.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:r.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ftds-page-footer-background-color","",c.colorWhite),topBorderColor:r.extend("--ftds-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:r.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)};var Ld={contentHorizontalPadding:r.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:r.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)};var Nd={smallContainerTargetWidth:r.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ftds-modal-small-container-margin","",c.spacing6),headerIconSize:r.extend("--ftds-modal-header-icon-size","",c.iconSize3),headerBackgroundColor:r.extend("--ftds-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-modal-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ftds-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ftds-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:r.extend("--ftds-modal-header-vertical-padding","",c.spacing1),headerRightPadding:r.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:r.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:r.extend("--ftds-modal-header-gap","",c.spacing2),headerBorderBottomWidth:r.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),mediumContainerTargetWidth:r.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ftds-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:r.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:r.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:r.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:r.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:r.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:r.extend("--ftds-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:r.extend("--ftds-modal-body-vertical-gap","",c.spacing6),borderRadius:r.extend("--ftds-modal-border-radius","",c.borderRadiusM)};var Pd={grabberIconSize:r.extend("--ftds-reorderable-list-grabber-icon-size","",c.iconSize2),verticalPadding:r.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:r.extend("--ftds-reorderable-list-gap","",c.spacing4),itemGap:r.extend("--ftds-reorderable-list-item-gap","",c.spacing2),borderRadius:r.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:r.extend("--ftds-reorderable-list-reorderable-item-title-color","",d.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:r.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",d.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:r.extend("--ftds-reorderable-list-reorderable-item-background-color","",d.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",d.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",d.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ftds-reorderable-list-reorderable-item-grip-color","",d.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:r.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:r.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:r.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:r.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:r.extend("--ftds-reorderable-list-border-color","",d.borderGlobalPrimary),backgroundColor:r.extend("--ftds-reorderable-list-background-color","",d.backgroundGlobalOnSurfaceDark)};var Id={overlayOpacity:r.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:r.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:r.extend("--ftds-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:r.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:r.extend("--ftds-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:r.extend("--ftds-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ftds-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ftds-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:r.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ftds-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:r.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ftds-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:r.extend("--ftds-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ftds-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:r.extend("--ftds-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ftds-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:r.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:r.extend("--ftds-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:r.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ftds-drawer-overlay-background-color","",c.colorGray700)};var kd={offBorderBottomWidth:r.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:r.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:r.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:r.extend("--ftds-tabs-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ftds-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:r.extend("--ftds-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ftds-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:r.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:r.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:r.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:r.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:r.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:r.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:r.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:r.extend("--ftds-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ftds-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ftds-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:r.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:r.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:r.extend("--ftds-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:r.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-tabs-focus-focus-ring-color","",d.borderActionFocusRing),mainIconIconSize:r.extend("--ftds-tabs-main-icon-icon-size","",c.iconSize3),alertIconIconSize:r.extend("--ftds-tabs-alert-icon-icon-size","",c.iconSize2)};var Dd={largeFieldHorizontalPadding:r.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:r.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:r.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:r.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:r.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:r.extend("--ftds-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:r.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ftds-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:r.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:r.extend("--ftds-text-input-background-color","",c.colorWhite),contentValueColor:r.extend("--ftds-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ftds-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:r.extend("--ftds-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderColor:r.extend("--ftds-text-input-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-text-input-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-text-input-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:r.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)};var Md={backgroundColor:r.extend("--ftds-text-area-background-color","",c.colorWhite),contentValueColor:r.extend("--ftds-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:r.extend("--ftds-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-area-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderColor:r.extend("--ftds-text-area-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-text-area-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-text-area-warning-helper-icon-color","",d.contentWarningIconOnly),focusFocusRingColor:r.extend("--ftds-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:r.extend("--ftds-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ftds-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ftds-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:r.create("--ftds-text-area-field-min-height","","SIZE","72px"),fieldMaxHeight:r.create("--ftds-text-area-field-max-height","","SIZE","300px"),helperHorizontalPadding:r.extend("--ftds-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ftds-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ftds-text-area-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ftds-text-area-border-radius","",c.borderRadiusS)};var Ud={height:r.create("--ftds-floating-menu-height","","SIZE","52px"),horizontalPadding:r.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),verticalPadding:r.extend("--ftds-floating-menu-vertical-padding","",c.spacing2),offIconColor:r.extend("--ftds-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:r.extend("--ftds-floating-menu-off-color","",d.contentGlobalPrimary),onColor:r.extend("--ftds-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:r.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:r.extend("--ftds-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ftds-floating-menu-focus-state-layer-opacity","",c.opacity24),hoverStateLayerOpacity:r.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:r.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:r.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:r.extend("--ftds-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:r.extend("--ftds-floating-menu-shadow","",c.shadowElevation02),multiselectCheckedStateLayerColor:r.extend("--ftds-floating-menu-multiselect-checked-state-layer-color","",d.contentActionPrimary),multiselectCheckedColor:r.extend("--ftds-floating-menu-multiselect-checked-color","",d.contentGlobalPrimary),multiselectCheckedIconColor:r.extend("--ftds-floating-menu-multiselect-checked-icon-color","",d.contentActionPrimary),multiselectCheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-checked-default-state-layer-opacity","",c.opacity8),multiselectCheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-checked-hover-state-layer-opacity","",c.opacity16),multiselectCheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-checked-focus-state-layer-opacity","",c.opacity24),multiselectIndeterminatedStateLayerColor:r.extend("--ftds-floating-menu-multiselect-indeterminated-state-layer-color","",d.contentActionPrimary),multiselectIndeterminatedColor:r.extend("--ftds-floating-menu-multiselect-indeterminated-color","",d.contentGlobalPrimary),multiselectIndeterminatedIconColor:r.extend("--ftds-floating-menu-multiselect-indeterminated-icon-color","",d.contentActionPrimary),multiselectIndeterminatedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-indeterminated-default-state-layer-opacity","",c.opacity8),multiselectIndeterminatedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-indeterminated-hover-state-layer-opacity","",c.opacity16),multiselectIndeterminatedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-indeterminated-focus-state-layer-opacity","",c.opacity24),multiselectUncheckedStateLayerColor:r.extend("--ftds-floating-menu-multiselect-unchecked-state-layer-color","",d.contentGlobalPrimary),multiselectUncheckedColor:r.extend("--ftds-floating-menu-multiselect-unchecked-color","",d.contentGlobalPrimary),multiselectUncheckedIconColor:r.extend("--ftds-floating-menu-multiselect-unchecked-icon-color","",d.contentGlobalSubtle),multiselectUncheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-unchecked-default-state-layer-opacity","",c.opacity0),multiselectUncheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-unchecked-hover-state-layer-opacity","",c.opacity8),multiselectUncheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-unchecked-focus-state-layer-opacity","",c.opacity16),selectAllCheckedStateLayerColor:r.extend("--ftds-floating-menu-select-all-checked-state-layer-color","",d.contentActionPrimary),selectAllCheckedColor:r.extend("--ftds-floating-menu-select-all-checked-color","",d.contentGlobalPrimary),selectAllCheckedIconColor:r.extend("--ftds-floating-menu-select-all-checked-icon-color","",d.contentActionPrimary),selectAllCheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-checked-default-state-layer-opacity","",c.opacity0),selectAllCheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-checked-hover-state-layer-opacity","",c.opacity16),selectAllCheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-checked-focus-state-layer-opacity","",c.opacity24),selectAllIndeterminatedStateLayerColor:r.extend("--ftds-floating-menu-select-all-indeterminated-state-layer-color","",d.contentGlobalPrimary),selectAllIndeterminatedColor:r.extend("--ftds-floating-menu-select-all-indeterminated-color","",d.contentGlobalPrimary),selectAllIndeterminatedIconColor:r.extend("--ftds-floating-menu-select-all-indeterminated-icon-color","",d.contentActionPrimary),selectAllIndeterminatedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-indeterminated-default-state-layer-opacity","",c.opacity0),selectAllIndeterminatedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-indeterminated-hover-state-layer-opacity","",c.opacity8),selectAllIndeterminatedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-indeterminated-focus-state-layer-opacity","",c.opacity16),selectAllUncheckedStateLayerColor:r.extend("--ftds-floating-menu-select-all-unchecked-state-layer-color","",d.contentGlobalPrimary),selectAllUncheckedColor:r.extend("--ftds-floating-menu-select-all-unchecked-color","",d.contentGlobalPrimary),selectAllUncheckedIconColor:r.extend("--ftds-floating-menu-select-all-unchecked-icon-color","",d.contentGlobalSubtle),selectAllUncheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-unchecked-default-state-layer-opacity","",c.opacity0),selectAllUncheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-unchecked-hover-state-layer-opacity","",c.opacity8),selectAllUncheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-unchecked-focus-state-layer-opacity","",c.opacity16),defaultUncheckedStateLayerColor:r.extend("--ftds-floating-menu-default-unchecked-state-layer-color","",d.contentGlobalPrimary),defaultUncheckedColor:r.extend("--ftds-floating-menu-default-unchecked-color","",d.contentGlobalPrimary),defaultUncheckedIconColor:r.extend("--ftds-floating-menu-default-unchecked-icon-color","",d.contentGlobalSubtle),defaultUncheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-default-unchecked-default-state-layer-opacity","",c.opacity0),defaultUncheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-default-unchecked-hover-state-layer-opacity","",c.opacity8),defaultUncheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-default-unchecked-focus-state-layer-opacity","",c.opacity16),defaultCheckedStateLayerColor:r.extend("--ftds-floating-menu-default-checked-state-layer-color","",d.contentActionPrimary),defaultCheckedColor:r.extend("--ftds-floating-menu-default-checked-color","",d.contentActionPrimary),defaultCheckedIconColor:r.extend("--ftds-floating-menu-default-checked-icon-color","",d.contentActionPrimary),defaultCheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-default-checked-default-state-layer-opacity","",c.opacity8),defaultCheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-default-checked-hover-state-layer-opacity","",c.opacity16),defaultCheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-default-checked-focus-state-layer-opacity","",c.opacity24)};var Fd={menuVerticalGap:r.extend("--ftds-combobox-menu-vertical-gap","",c.spacing2),menuNewValuePaddingTop:r.extend("--ftds-combobox-menu-new-value-padding-top","",c.spacing4),menuNewValuePaddingBottom:r.extend("--ftds-combobox-menu-new-value-padding-bottom","",c.spacing1),menuNewValueHorizontalPadding:r.extend("--ftds-combobox-menu-new-value-horizontal-padding","",c.spacing4),menuNewValueLabelColor:r.extend("--ftds-combobox-menu-new-value-label-color","",d.contentGlobalSubtle),menuNewValueBorderColor:r.extend("--ftds-combobox-menu-new-value-border-color","",d.borderGlobalPrimary),menuNewValueBorderWidth:r.create("--ftds-combobox-menu-new-value-border-width","","SIZE","1px"),menuNewValueErrorBackgroundColor:r.extend("--ftds-combobox-menu-new-value-error-background-color","",d.backgroundErrorSubtle),menuNewValueErrorBorderColor:r.extend("--ftds-combobox-menu-new-value-error-border-color","",d.borderErrorPrimary),menuNewValueErrorStateLayerColor:r.extend("--ftds-combobox-menu-new-value-error-state-layer-color","",d.contentActionPrimary),menuNewValueErrorHoverStateLayerOpacity:r.extend("--ftds-combobox-menu-new-value-error-hover-state-layer-opacity","",c.opacity4),menuNewValueErrorActiveStateLayerOpacity:r.extend("--ftds-combobox-menu-new-value-error-active-state-layer-opacity","",c.opacity6),menuMessagePaddingTop:r.extend("--ftds-combobox-menu-message-padding-top","",c.spacing2),menuMessagePaddingBottom:r.extend("--ftds-combobox-menu-message-padding-bottom","",c.spacing2),menuMessageHorizontalPadding:r.extend("--ftds-combobox-menu-message-horizontal-padding","",c.spacing4),menuMessageLabelColor:r.extend("--ftds-combobox-menu-message-label-color","",d.contentGlobalSubtle),valuesChipBackgroundColor:r.extend("--ftds-combobox-values-chip-background-color","",d.backgroundGlobalOnSurface),valuesChipBorderColor:r.extend("--ftds-combobox-values-chip-border-color","",d.borderInputPrimary)};var $d={backgroundColor:r.extend("--ftds-popover-background-color","",d.backgroundGlobalOnSurface),titleColor:r.extend("--ftds-popover-title-color","",d.contentGlobalPrimary),bodyColor:r.extend("--ftds-popover-body-color","",d.contentGlobalSecondary),gap:r.extend("--ftds-popover-gap","",c.spacing2),borderRadius:r.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:r.extend("--ftds-popover-shadow","",c.shadowElevation02),maxWidth:r.create("--ftds-popover-max-width","","SIZE","440px"),minWidth:r.create("--ftds-popover-min-width","","SIZE","160px"),maxHeight:r.create("--ftds-popover-max-height","","SIZE","0.16vh"),contentSectionVerticalGap:r.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:r.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6),defaultHorizontalPadding:r.extend("--ftds-popover-default-horizontal-padding","",c.spacing6),defaultVerticalPadding:r.extend("--ftds-popover-default-vertical-padding","",c.spacing6),denseHorizontalPadding:r.extend("--ftds-popover-dense-horizontal-padding","",c.spacing3),denseVerticalPadding:r.extend("--ftds-popover-dense-vertical-padding","",c.spacing3)};var Bd={hoverStateLayerOpacity:r.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:r.extend("--ftds-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:r.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ftds-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ftds-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:r.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:r.extend("--ftds-collapsible-vertical-padding","",c.spacing3),color:r.extend("--ftds-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:r.extend("--ftds-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:r.extend("--ftds-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:r.extend("--ftds-collapsible-border-color","",d.borderGlobalSubtle),iconSize:r.extend("--ftds-collapsible-icon-size","",c.iconSize3)};var zd={groupHorizontalPadding:r.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:r.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:r.extend("--ftds-switch-group-gap","",c.spacing1),groupBackgroundColor:r.extend("--ftds-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:r.extend("--ftds-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:r.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ftds-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:r.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:r.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:r.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:r.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:r.extend("--ftds-switch-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ftds-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:r.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:r.extend("--ftds-switch-on-disabled-component-opacity","",c.opacity40),onColor:r.extend("--ftds-switch-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:r.extend("--ftds-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:r.extend("--ftds-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:r.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:r.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)};var Hd={color1Light:r.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:r.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:r.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:r.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:r.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:r.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:r.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:r.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:r.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:r.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:r.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:r.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:r.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:r.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:r.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:r.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:r.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:r.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:r.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:r.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:r.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:r.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:r.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:r.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:r.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:r.extend("--ftds-chart-monochrome-60","",c.colorBrand200)};var Gd={color1IconColor:r.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:r.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:r.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:r.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:r.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:r.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:r.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:r.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:r.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:r.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:r.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:r.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:r.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:r.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:r.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:r.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var Vd={borderWidth:r.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:r.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:r.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:r.extend("--ftds-notice-gap","",c.spacing2),iconSize:r.extend("--ftds-notice-icon-size","",c.iconSize3),infoBackgroundColor:r.extend("--ftds-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:r.extend("--ftds-notice-info-border-color","",d.borderInfoSubtle),infoColor:r.extend("--ftds-notice-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:r.extend("--ftds-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:r.extend("--ftds-notice-warning-border-color","",d.borderWarningSubtle),warningColor:r.extend("--ftds-notice-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ftds-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:r.extend("--ftds-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:r.extend("--ftds-notice-error-border-color","",d.borderErrorSubtle),errorColor:r.extend("--ftds-notice-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ftds-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:r.extend("--ftds-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:r.extend("--ftds-notice-success-border-color","",d.borderSuccessSubtle),successColor:r.extend("--ftds-notice-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ftds-notice-success-icon-color","",d.contentSuccessIconOnly),denseHorizontalPadding:r.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:r.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:r.extend("--ftds-notice-dense-gap","",c.spacing1),denseIconSize:r.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:r.create("--ftds-notice-dense-border-width","","SIZE","0")};var Wd={iconSize:r.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:r.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:r.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:r.extend("--ftds-notification-vertical-padding","",c.spacing3),infoBackgroundColor:r.extend("--ftds-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ftds-notification-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ftds-notification-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ftds-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ftds-notification-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ftds-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ftds-notification-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ftds-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-notification-error-border-color","",d.borderErrorSubtle),borderRadius:r.extend("--ftds-notification-border-radius","",c.borderRadiusPill),borderWidth:r.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:r.extend("--ftds-notification-trailing-gap","",c.spacing8)};var jd={horizontalPadding:r.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:r.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:r.extend("--ftds-tooltip-border-radius","",c.borderRadiusS),color:r.extend("--ftds-tooltip-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ftds-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:r.extend("--ftds-tooltip-background-opacity","",c.opacity80),shadow:r.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:r.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ftds-tooltip-gap","",c.spacing05)};var Kd={menuHorizontalPadding:r.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:r.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:r.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:r.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)};var or;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(or||(or={}));var nr;(function(e){e.large="large",e.medium="medium",e.small="small"})(nr||(nr={}));function on(e){return`ftds--family-${e}`}function nn(e){return`ftds--size-${e}`}var B={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)"),colorInfo:r.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:r.create("--ft-color-warning","","COLOR","#B74706"),colorError:r.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:r.create("--ft-color-success","","COLOR","#187856"),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","","SHADOW","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","","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)"),elevation02:r.create("--ft-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)"),elevation03:r.create("--ft-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)"),elevation04:r.create("--ft-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)"),elevation06:r.create("--ft-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)"),elevation08:r.create("--ft-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)"),elevation12:r.create("--ft-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)"),elevation16:r.create("--ft-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)"),elevation24:r.create("--ft-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)"),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 cn={};I(cn,{DynamicImporter:()=>Ur,dynamicImporter:()=>Zd});var Ur=class{async import(t){if(t)return import(t)}},Zd=new Ur;var En={};I(En,{computeOffsetAutoPosition:()=>Sn,computeOffsetPosition:()=>bu});var xs=["top","right","bottom","left"],bs=["start","end"],dn=xs.reduce((e,t)=>e.concat(t,t+"-"+bs[0],t+"-"+bs[1]),[]),et=Math.min,Ce=Math.max,ir=Math.round;var Ae=e=>({x:e,y:e}),qd={left:"right",right:"left",bottom:"top",top:"bottom"};function Ss(e,t,o){return Ce(e,et(t,o))}function Nt(e,t){return typeof e=="function"?e(t):e}function tt(e){return e.split("-")[0]}function we(e){return e.split("-")[1]}function un(e){return e==="x"?"y":"x"}function pn(e){return e==="y"?"height":"width"}function Pt(e){let t=e[0];return t==="t"||t==="b"?"y":"x"}function fn(e){return un(Pt(e))}function Es(e,t,o){o===void 0&&(o=!1);let n=we(e),i=fn(e),a=pn(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=ln(s)),[s,ln(s)]}function vs(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}function ln(e){let t=tt(e);return qd[t]+e.slice(t.length)}function Yd(e){var t,o,n,i;return{top:(t=e.top)!=null?t:0,right:(o=e.right)!=null?o:0,bottom:(n=e.bottom)!=null?n:0,left:(i=e.left)!=null?i:0}}function Os(e){return typeof e!="number"?Yd(e):{top:e,right:e,bottom:e,left:e}}function rt(e){let{x:t,y:o,width:n,height:i}=e;return{width:n,height:i,top:o,left:t,right:t+n,bottom:o+i,x:t,y:o}}function Cs(e,t,o){let{reference:n,floating:i}=e,a=Pt(t),s=fn(t),l=pn(s),u=tt(t),p=a==="y",h=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,m=n[l]/2-i[l]/2,b;switch(u){case"top":b={x:h,y:n.y-i.height};break;case"bottom":b={x:h,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:f};break;case"left":b={x:n.x-i.width,y:f};break;default:b={x:n.x,y:n.y}}let S=we(t);return S&&(b[s]+=m*(S==="end"?1:-1)*(o&&p?-1:1)),b}async function As(e,t){var o;t===void 0&&(t={});let{x:n,y:i,platform:a,rects:s,elements:l,strategy:u}=e,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:m=!1,padding:b=0}=Nt(t,e),S=Os(b),E=l[m?f==="floating"?"reference":"floating":f],w=rt(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(E)))==null||o?E:E.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:p,rootBoundary:h,strategy:u})),P=f==="floating"?{x:n,y:i,width:s.floating.width,height:s.floating.height}:s.reference,g=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),y=await(a.isElement==null?void 0:a.isElement(g))&&await(a.getScale==null?void 0:a.getScale(g))||{x:1,y:1},x=rt(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:P,offsetParent:g,strategy:u}):P);return{top:(w.top-x.top+S.top)/y.y,bottom:(x.bottom-w.bottom+S.bottom)/y.y,left:(w.left-x.left+S.left)/y.x,right:(x.right-w.right+S.right)/y.x}}var Xd=50,ws=async(e,t,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,l=s.detectOverflow?s:{...s,detectOverflow:As},u=await(s.isRTL==null?void 0:s.isRTL(t)),p=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:h,y:f}=Cs(p,n,u),m=n,b=0,S={};for(let A=0;A<a.length;A++){let E=a[A];if(!E)continue;let{name:w,fn:P}=E,{x:g,y,data:x,reset:O}=await P({x:h,y:f,initialPlacement:n,placement:m,strategy:i,middlewareData:S,rects:p,platform:l,elements:{reference:e,floating:t}});h=g??h,f=y??f,S[w]={...S[w],...x},O&&b<Xd&&(b++,typeof O=="object"&&(O.placement&&(m=O.placement),O.rects&&(p=O.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):O.rects),{x:h,y:f}=Cs(p,m,u)),A=-1)}return{x:h,y:f,placement:m,strategy:i,middlewareData:S}};function Jd(e,t,o){return(e?[...o.filter(i=>we(i)===e),...o.filter(i=>we(i)!==e)]:o.filter(i=>tt(i)===i)).filter(i=>e?we(i)===e||(t?vs(i)!==i:!1):!0)}var Rs=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,i;let{rects:a,middlewareData:s,placement:l,platform:u,elements:p}=t,{crossAxis:h=!1,alignment:f,allowedPlacements:m=dn,autoAlignment:b=!0,...S}=Nt(e,t),A=f!==void 0||m===dn?Jd(f||null,b,m):m,E=((o=s.autoPlacement)==null?void 0:o.index)||0,w=A[E];if(w==null)return{};if(l!==w)return{reset:{placement:A[0]}};let P=await u.detectOverflow(t,S),g=Es(w,a,await(u.isRTL==null?void 0:u.isRTL(p.floating))),y=[P[tt(w)],P[g[0]],P[g[1]]],x=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:w,overflows:y}],O=A[E+1];if(O)return{data:{index:E+1,overflows:x},reset:{placement:O}};let T=x.map(_=>{let D=we(_.placement);return[_.placement,D&&h?_.overflows.slice(0,2).reduce((K,ve)=>K+ve,0):_.overflows[0],_.overflows]}).sort((_,D)=>_[1]-D[1]),j=((i=T.filter(_=>_[2].slice(0,we(_[0])?2:3).every(D=>D<=0))[0])==null?void 0:i[0])||T[0][0];return j!==l?{data:{index:E+1,overflows:x},reset:{placement:j}}:{}}}};var Qd=new Set(["left","top"]);async function eu(e,t){let{placement:o,platform:n,elements:i}=e,a=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=tt(o),l=we(o),u=Pt(o)==="y",p=Qd.has(s)?-1:1,h=a&&u?-1:1,f=Nt(t,e),{mainAxis:m,crossAxis:b,alignmentAxis:S}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof S=="number"&&(b=l==="end"?S*-1:S),u?{x:b*h,y:m*p}:{x:m*p,y:b*h}}var _s=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var o,n;let{x:i,y:a,placement:s,middlewareData:l}=t,u=await eu(t,e);return s===((o=l.offset)==null?void 0:o.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:i+u.x,y:a+u.y,data:{...u,placement:s}}}}},Ts=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:n,placement:i,platform:a}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:u={fn:P=>{let{x:g,y}=P;return{x:g,y}}},...p}=Nt(e,t),h={x:o,y:n},f=await a.detectOverflow(t,p),m=Pt(i),b=un(m),S=h[b],A=h[m],E=(P,g)=>Ss(g+f[P==="y"?"top":"left"],g,g-f[P==="y"?"bottom":"right"]);s&&(S=E(b,S)),l&&(A=E(m,A));let w=u.fn({...t,[b]:S,[m]:A});return{...w,data:{x:w.x-o,y:w.y-n,enabled:{[b]:s,[m]:l}}}}}};var Ls=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){let{placement:o,rects:n,platform:i,elements:a}=t,{apply:s=()=>{},...l}=Nt(e,t),u=await i.detectOverflow(t,l),p=tt(o),h=we(o),f=Pt(o)==="y",{width:m,height:b}=n.floating,S,A;p==="top"||p==="bottom"?(S=p,A=h===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(A=p,S=h==="end"?"top":"bottom");let E=b-u.top-u.bottom,w=m-u.left-u.right,P=et(b-u[S],E),g=et(m-u[A],w),y=t.middlewareData.shift,x=!y,O=P,T=g;y!=null&&y.enabled.x&&(T=w),y!=null&&y.enabled.y&&(O=E),x&&!h&&(f?T=m-2*Ce(u.left,u.right):O=b-2*Ce(u.top,u.bottom)),await s({...t,availableWidth:T,availableHeight:O});let F=await i.getDimensions(a.floating);return m!==F.width||b!==F.height?{reset:{rects:!0}}:{}}}};function $r(){return typeof window<"u"}function nt(e){return Ps(e)?(e.nodeName||"").toLowerCase():"#document"}function ee(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Pe(e){var t;return(t=(Ps(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ps(e){return $r()?e instanceof Node||e instanceof ee(e).Node:!1}function ge(e){return $r()?e instanceof Element||e instanceof ee(e).Element:!1}function Ie(e){return $r()?e instanceof HTMLElement||e instanceof ee(e).HTMLElement:!1}function Ns(e){return!$r()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ee(e).ShadowRoot}function ar(e){let{overflow:t,overflowX:o,overflowY:n,display:i}=be(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&i!=="inline"&&i!=="contents"}function Is(e){return/^(table|td|th)$/.test(nt(e))}function sr(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}var tu=/transform|translate|scale|rotate|perspective|filter/,ru=/paint|layout|strict|content/,ot=e=>!!e&&e!=="none",hn;function It(e){let t=ge(e)?be(e):e;return ot(t.transform)||ot(t.translate)||ot(t.scale)||ot(t.rotate)||ot(t.perspective)||!Br()&&(ot(t.backdropFilter)||ot(t.filter))||tu.test(t.willChange||"")||ru.test(t.contain||"")}function ks(e){let t=ze(e);for(;Ie(t)&&!kt(t);){if(It(t))return t;if(sr(t))return null;t=ze(t)}return null}function Br(){return hn==null&&(hn=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),hn}function kt(e){return/^(html|body|#document)$/.test(nt(e))}function be(e){return ee(e).getComputedStyle(e)}function cr(e){return ge(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ze(e){if(nt(e)==="html")return e;let t=e.assignedSlot||e.parentNode||Ns(e)&&e.host||Pe(e);return Ns(t)?t.host:t}function Ds(e){let t=ze(e);return kt(t)?(e.ownerDocument||e).body:Ie(t)&&ar(t)?t:Ds(t)}function Fr(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let i=Ds(e),a=i===((n=e.ownerDocument)==null?void 0:n.body),s=ee(i);if(a){let l=zr(s);return t.concat(s,s.visualViewport||[],ar(i)?i:[],l&&o?Fr(l):[])}else return t.concat(i,Fr(i,[],o))}function zr(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Fs(e){let t=be(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=Ie(e),a=i?e.offsetWidth:o,s=i?e.offsetHeight:n,l=ir(o)!==a||ir(n)!==s;return l&&(o=a,n=s),{width:o,height:n,$:l}}function $s(e){return ge(e)?e:e.contextElement}function Dt(e){let t=$s(e);if(!Ie(t))return Ae(1);let o=t.getBoundingClientRect(),{width:n,height:i,$:a}=Fs(t),s=(a?ir(o.width):o.width)/n,l=(a?ir(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var ou=Ae(0);function Bs(e){let t=ee(e);return!Br()||!t.visualViewport?ou:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function nu(e,t,o){return t===void 0&&(t=!1),!!o&&t&&o===ee(e)}function lr(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let i=e.getBoundingClientRect(),a=$s(e),s=Ae(1);t&&(n?ge(n)&&(s=Dt(n)):s=Dt(e));let l=nu(a,o,n)?Bs(a):Ae(0),u=(i.left+l.x)/s.x,p=(i.top+l.y)/s.y,h=i.width/s.x,f=i.height/s.y;if(a&&n){let m=ee(a),b=ge(n)?ee(n):n,S=m,A=zr(S);for(;A&&b!==S;){let E=Dt(A),w=A.getBoundingClientRect(),P=be(A),g=w.left+(A.clientLeft+parseFloat(P.paddingLeft))*E.x,y=w.top+(A.clientTop+parseFloat(P.paddingTop))*E.y;u*=E.x,p*=E.y,h*=E.x,f*=E.y,u+=g,p+=y,S=ee(A),A=zr(S)}}return rt({width:h,height:f,x:u,y:p})}function Hr(e,t){let o=cr(e).scrollLeft;return t?t.left+o:lr(Pe(e)).left+o}function zs(e,t){let o=e.getBoundingClientRect(),n=o.left+t.scrollLeft-Hr(e,o),i=o.top+t.scrollTop;return{x:n,y:i}}function iu(e){let{elements:t,rect:o,offsetParent:n,strategy:i}=e,a=i==="fixed",s=Pe(n),l=t?sr(t.floating):!1;if(n===s||l&&a)return o;let u={scrollLeft:0,scrollTop:0},p=Ae(1),h=Ae(0),f=Ie(n);if((f||!a)&&((nt(n)!=="body"||ar(s))&&(u=cr(n)),f)){let b=lr(n);p=Dt(n),h.x=b.x+n.clientLeft,h.y=b.y+n.clientTop}let m=s&&!f&&!a?zs(s,u):Ae(0);return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-u.scrollLeft*p.x+h.x+m.x,y:o.y*p.y-u.scrollTop*p.y+h.y+m.y}}function au(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function su(e){let t=cr(e),o=e.ownerDocument.body,n=Ce(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),i=Ce(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight),a=-t.scrollLeft+Hr(e),s=-t.scrollTop;return be(o).direction==="rtl"&&(a+=Ce(e.clientWidth,o.clientWidth)-n),{width:n,height:i,x:a,y:s}}var cu=25;function lu(e,t,o){o===void 0&&(o="viewport");let n=o==="layoutViewport",i=ee(e),a=Pe(e),s=i.visualViewport,l=a.clientWidth,u=a.clientHeight,p=0,h=0;if(s){let m=!Br()||t==="fixed";n?m||(p=-s.offsetLeft,h=-s.offsetTop):(l=s.width,u=s.height,m&&(p=s.offsetLeft,h=s.offsetTop))}if(Hr(a)<=0){let m=a.ownerDocument,b=m.body,S=getComputedStyle(b),A=m.compatMode==="CSS1Compat"&&parseFloat(S.marginLeft)+parseFloat(S.marginRight)||0,E=Math.abs(a.clientWidth-b.clientWidth-A),w=getComputedStyle(a).scrollbarGutter==="stable both-edges"?E/2:E;w<=cu&&(l-=w)}return{width:l,height:u,x:p,y:h}}function du(e,t){let o=lr(e,!0,t==="fixed"),n=o.top+e.clientTop,i=o.left+e.clientLeft,a=Dt(e),s=e.clientWidth*a.x,l=e.clientHeight*a.y,u=i*a.x,p=n*a.y;return{width:s,height:l,x:u,y:p}}function Ms(e,t,o){let n;if(t==="viewport"||t==="layoutViewport")n=lu(e,o,t);else if(t==="document")n=su(Pe(e));else if(ge(t))n=du(t,o);else{let i=Bs(e);n={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return rt(n)}function uu(e,t){let o=t.get(e);if(o)return o;let n=Fr(e,[],!1).filter(l=>ge(l)&&nt(l)!=="body"),i=null,a=be(e).position==="fixed",s=a?ze(e):e;for(;ge(s)&&!kt(s);){let l=be(s),u=It(s),p=i?i.position:a?"fixed":"";!u&&(p==="fixed"||p==="absolute"&&l.position==="static")?n=n.filter(f=>f!==s):i=l,s=ze(s)}return t.set(e,n),n}function pu(e){let{element:t,boundary:o,rootBoundary:n,strategy:i}=e,s=[...o==="clippingAncestors"?sr(t)?[]:uu(t,this._c):[].concat(o),n],l=Ms(t,s[0],i),u=l.top,p=l.right,h=l.bottom,f=l.left;for(let m=1;m<s.length;m++){let b=Ms(t,s[m],i);u=Ce(b.top,u),p=et(b.right,p),h=et(b.bottom,h),f=Ce(b.left,f)}return{width:p-f,height:h-u,x:f,y:u}}function fu(e){let{width:t,height:o}=Fs(e);return{width:t,height:o}}function hu(e,t,o){let n=Ie(t),i=Pe(t),a=o==="fixed",s=lr(e,!0,a,t),l={scrollLeft:0,scrollTop:0},u=Ae(0);if((n||!a)&&((nt(t)!=="body"||ar(i))&&(l=cr(t)),n)){let m=lr(t,!0,a,t);u.x=m.x+t.clientLeft,u.y=m.y+t.clientTop}!n&&i&&(u.x=Hr(i));let p=i&&!n&&!a?zs(i,l):Ae(0),h=s.left+l.scrollLeft-u.x-p.x,f=s.top+l.scrollTop-u.y-p.y;return{x:h,y:f,width:s.width,height:s.height}}function mn(e){return be(e).position==="static"}function Us(e,t){if(!Ie(e)||be(e).position==="fixed")return null;if(t)return t(e);let o=e.offsetParent;return Pe(e)===o&&(o=o.ownerDocument.body),o}function Hs(e,t){let o=ee(e);if(sr(e))return o;if(!Ie(e)){let i=ze(e);for(;i&&!kt(i);){if(ge(i)&&!mn(i))return i;i=ze(i)}return o}let n=Us(e,t);for(;n&&Is(n)&&mn(n);)n=Us(n,t);return n&&kt(n)&&mn(n)&&!It(n)?o:n||ks(e)||o}var mu=async function(e){let t=this.getOffsetParent||Hs,o=this.getDimensions,n=await o(e.floating);return{reference:hu(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function yu(e){return be(e).direction==="rtl"}var Mt={convertOffsetParentRelativeRectToViewportRelativeRect:iu,getDocumentElement:Pe,getClippingRect:pu,getOffsetParent:Hs,getElementRects:mu,getClientRects:au,getDimensions:fu,getScale:Dt,isElement:ge,isRTL:yu};var Gs=_s,yn=Rs,Vs=Ts;var Ws=Ls;var gn=(e,t,o)=>{let n=new Map,i=o??{},a={...Mt,...i.platform,_c:n};return ws(e,t,{...i,platform:a})};function xn(e){return gu(e)}function bn(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function gu(e){for(let t=e;t;t=bn(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=bn(e);t;t=bn(t)){if(!(t instanceof Element))continue;let o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||It(o)||t.tagName==="BODY"))return t}return null}async function bu(e,t,o){let n;return typeof o=="object"?n=o:n={placement:o},gn(e,t,{strategy:n.strategy,platform:{...Mt,getOffsetParent:i=>Mt.getOffsetParent(i,xn)},middleware:[Vs({crossAxis:!0}),yn({allowedPlacements:[n.placement]})]})}async function Sn(e,t,o,n,i,a,s){let l,u;return typeof o=="object"?(l=o.placement,n=o.allowedPlacements,i=o.strategy,a=o.maxHeightCssVariable,u=o.maxWidthCssVariable,s=o.offsetValue):l=o,gn(e,t,{placement:l,strategy:i,platform:{...Mt,getOffsetParent:p=>Mt.getOffsetParent(p,xn)},middleware:[Gs(s??4),yn({allowedPlacements:n}),Ws({apply({availableHeight:p,availableWidth:h,elements:f}){typeof a=="string"&&(a=`var(${a})`),a?f.floating.style.maxHeight=`min(${Math.max(0,p)}px, ${a})`:f.floating.style.maxHeight=`${Math.max(0,p)}px`,typeof u=="string"&&(u=`var(${u})`),u?f.floating.style.maxWidth=`min(${Math.max(0,h)}px, ${u})`:f.floating.style.maxWidth=`${Math.max(0,h)}px`}})]})}var vn={};I(vn,{isSlotEmptyOrWithoutContent:()=>dr});var dr=e=>e?e.assignedNodes({flatten:!0}).filter(n=>{var i;return n.nodeType===Node.TEXT_NODE?((i=n.textContent)!==null&&i!==void 0?i:"").trim().length>0:!0}).length===0:!0;var _n={};I(_n,{FtdsBase:()=>Rn,toFtdsBase:()=>Js});var wn={};I(wn,{ExportpartsUpdatedEvent:()=>it,FtLitElement:()=>H});var On={};I(On,{ScopedRegistryLitElement:()=>ur});var ur=class extends fe{get scopedRegistryConstructor(){return this.constructor}createRenderRoot(){let t=this.scopedRegistryConstructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,t.defineScopedElements(t.elementDefinitions));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return jt(n,t.elementStyles),n}static canDefineScopedElement(t){return!!this.registry&&!this.registry.get(t)}static defineScopedElements(t){Object.entries(t).forEach(([o,n])=>this.defineScopedElement(o,n))}static defineScopedElement(t,o){er(t)(o),this.canDefineScopedElement(t)&&this.registry.define(t,o)}canDefineScopedElement(t){return this.scopedRegistryConstructor.canDefineScopedElement(t)}defineScopedElements(t){this.scopedRegistryConstructor.defineScopedElements(t)}defineScopedElement(t,o){this.scopedRegistryConstructor.defineScopedElement(t,o)}};var An={};I(An,{shadowQuerySelector:()=>Cn,shadowQuerySelectorAll:()=>xu});function Cn(e,t,...o){var n;let i=e.querySelector(t);for(let a of o)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}function xu(e,t,...o){let n=[...e.querySelectorAll(t)];for(let i of o)n=n.flatMap(a=>{var s,l;return[...(l=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(i))!==null&&l!==void 0?l:[]]});return n}var Ut=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},qs,js=Symbol("constructorPrototype"),Ks=Symbol("constructorName"),Ys=Symbol("exportpartsDebouncer"),Zs=Symbol("dynamicDependenciesLoaded"),it=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};it.eventName="exportparts-updated";var H=class extends ur{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[qs]=new $e(5),this.scheduleExportpartsUpdate=()=>{var t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Ys].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)})},this[Ks]=this.constructor.name,this[js]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Ks]&&Object.setPrototypeOf(this,this[js])}connectedCallback(){var t;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let o=this.constructor;o[Zs]||(o[Zs]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(it.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(it.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.focusElementToFocus(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate(),t.has("exportparts")&&this.dispatchEvent(new it)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:i}=this.elementToFocus;if(n!=null){let a=[...i??[],n];o=Cn(this.shadowRoot,...a)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var o,n,i;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}setExportpartsAttribute(t){var o,n,i,a,s,l;let u=m=>m!=null&&m.trim().length>0,p=t.filter(u).map(m=>m.trim());if(p.length===0){this.exportparts=void 0;return}let h=new Set;for(let m of(a=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&a!==void 0?a:[]){let b=(s=(n=m.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&s!==void 0?s:[],S=(l=(i=m.getAttribute("exportparts"))===null||i===void 0?void 0:i.split(",").map(E=>E.split(":")[1]))!==null&&l!==void 0?l:[],A=[...b,...S].filter(u).map(E=>E.trim());for(let E of A)h.add(E)}if(h.size===0){this.exportparts=void 0;return}let f=[...h.values()].flatMap(m=>p.map(b=>`${m}:${b}--${m}`));this.exportparts=[...this.part,...f].join(", ")}};qs=Ys;Ut([C()],H.prototype,"exportpartsPrefix",void 0);Ut([Dr([])],H.prototype,"exportpartsPrefixes",void 0);Ut([C({reflect:!0})],H.prototype,"exportparts",void 0);Ut([C()],H.prototype,"customStylesheet",void 0);Ut([C()],H.prototype,"elementToFocus",void 0);Ut([$()],H.prototype,"useAdoptedStyleSheets",void 0);var Xs=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Js=se(Symbol("toFtdsBase"),function(e){class t extends e{constructor(){super(...arguments),this.size=nr.medium,this.family=or.neutral}getDesignSystemBaseClasses(){return{[on(this.family)]:!0,[nn(this.size)]:!0}}}return Xs([C()],t.prototype,"size",void 0),Xs([C()],t.prototype,"family",void 0),t}),Rn=class extends Js(H){};var Qs={};var Ln={};I(Ln,{highlightHtml:()=>vu,highlightHtmlColorCssVariable:()=>ec,highlightHtmlStyles:()=>Eu});var at=class e{constructor(t,o=!0,n=[],i=5e3){this.ctx=t,this.iframes=o,this.exclude=n,this.iframesTimeout=i}static matches(t,o){let n=typeof o=="string"?[o]:o,i=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(t,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let t,o=[];return typeof this.ctx>"u"||!this.ctx?t=[]:NodeList.prototype.isPrototypeOf(this.ctx)?t=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?t=this.ctx:typeof this.ctx=="string"?t=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):t=[this.ctx],t.forEach(n=>{let i=o.filter(a=>a.contains(n)).length>0;o.indexOf(n)===-1&&!i&&o.push(n)}),o}getIframeContents(t,o,n=()=>{}){let i;try{let a=t.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&o(i)}isIframeBlank(t){let o="about:blank",n=t.getAttribute("src").trim();return t.contentWindow.location.href===o&&n!==o&&n}observeIframeLoad(t,o,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(t)||(t.removeEventListener("load",s),this.getIframeContents(t,o,n))}catch{n()}}};t.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(t,o,n){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,o,n):this.getIframeContents(t,o,n):this.observeIframeLoad(t,o,n)}catch{n()}}waitForIframes(t,o){let n=0;this.forEachIframe(t,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||o()})},i=>{i||o()})}forEachIframe(t,o,n,i=()=>{}){let a=t.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let u=()=>{--s<=0&&i(l)};s||u(),a.forEach(p=>{e.matches(p,this.exclude)?u():this.onIframeReady(p,h=>{o(p)&&(l++,n(h)),u()},u)})}createIterator(t,o,n){return document.createNodeIterator(t,o,n,!1)}createInstanceOnIframe(t){return new e(t.querySelector("html"),this.iframes)}compareNodeIframe(t,o,n){let i=t.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(o!==null){let s=o.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(t){let o=t.previousNode(),n;return o===null?n=t.nextNode():n=t.nextNode()&&t.nextNode(),{prevNode:o,node:n}}checkIframeFilter(t,o,n,i){let a=!1,s=!1;return i.forEach((l,u)=>{l.val===n&&(a=u,s=l.handled)}),this.compareNodeIframe(t,o,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(t,o,n,i){t.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(o,n,i)})})}iterateThroughNodes(t,o,n,i,a){let s=this.createIterator(o,t,i),l=[],u=[],p,h,f=()=>({prevNode:h,node:p}=this.getIteratorNode(s),p);for(;f();)this.iframes&&this.forEachIframe(o,m=>this.checkIframeFilter(p,h,m,l),m=>{this.createInstanceOnIframe(m).forEachNode(t,b=>u.push(b),i)}),u.push(p);u.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(l,t,n,i),a()}forEachNode(t,o,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(l=>{let u=()=>{this.iterateThroughNodes(t,l,o,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(l,u):u()})}};var pr=class{constructor(t){this.ctx=t,this.ie=!1;let o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new at(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,o="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[o]=="function"&&n[o](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return this.opt.wildcards!=="disabled"&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),this.opt.wildcards!=="disabled"&&(t=this.createWildcardsRegExp(t)),t=this.createAccuracyRegExp(t),t}createSynonymsRegExp(t){let o=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in o)if(o.hasOwnProperty(a)){let s=o[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),u=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&u!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(u)})`,`gm${n}`),i+`(${this.processSynomyms(l)}|${this.processSynomyms(u)})`+i))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return t=t.replace(/(?:\\)*\?/g,o=>o.charAt(0)==="\\"?"?":""),t.replace(/(?:\\)*\*/g,o=>o.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(t){let o=this.opt.wildcards==="withSpaces";return t.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,(o,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?o:o+"\0"})}createJoinersRegExp(t){let o=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&o.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?t.split(/\u0000+/).join(`[${o.join("")}]*`):t}createDiacriticsRegExp(t){let o=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return t.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;t=t.replace(new RegExp(`[${s}]`,`gm${o}`),`[${s}]`),i.push(s)}return!0})}),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(t){let o="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),i){case"partially":default:return`()(${t})`;case"complementary":return s="\\s"+(s||this.escapeStr(o)),`()([^${s}]*${t}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${t})(?=$|\\s${s})`}}getSeparatedKeywords(t){let o=[];return t.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&o.indexOf(i)===-1&&o.push(i)}):n.trim()&&o.indexOf(n)===-1&&o.push(n)}),{keywords:o.sort((n,i)=>i.length-n.length),length:o.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||Object.prototype.toString.call(t[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];let o=[],n=0;return t.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(i,n);l&&(i.start=a,i.length=s-a,o.push(i),n=s)}),o}callNoMatchOnInvalidRanges(t,o){let n,i,a=!1;return t&&typeof t.start<"u"?(n=parseInt(t.start,10),i=n+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&i-o>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:n,end:i,valid:a}}checkWhitespaceRanges(t,o,n){let i,a=!0,s=n.length,l=o-s,u=parseInt(t.start,10)-l;return u=u>s?s:u,i=u+parseInt(t.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),u<0||i-u<0||u>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):n.substring(u,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:u,end:i,valid:a}}getTextNodes(t){let o="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:o.length,end:(o+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{t({value:o,nodes:n})})}matchesExclude(t){return at.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,o,n){let i=this.opt.element?this.opt.element:"mark",a=t.splitText(o),s=a.splitText(n-o),l=document.createElement(i);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(t,o,n,i,a){t.nodes.every((s,l)=>{let u=t.nodes[l+1];if(typeof u>"u"||u.start>o){if(!i(s.node))return!1;let p=o-s.start,h=(n>s.end?s.end:n)-s.start,f=t.value.substr(0,s.start),m=t.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,p,h),t.value=f+m,t.nodes.forEach((b,S)=>{S>=l&&(t.nodes[S].start>0&&S!==l&&(t.nodes[S].start-=h),t.nodes[S].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)o=s.end;else return!1}return!0})}wrapMatches(t,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(l=>{l.nodes.forEach(u=>{u=u.node;let p;for(;(p=t.exec(u.textContent))!==null&&p[s]!=="";){if(!n(p[s],u))continue;let h=p.index;if(s!==0)for(let f=1;f<s;f++)h+=p[f].length;u=this.wrapRangeInTextNode(u,h,h+p[s].length),i(u.previousSibling),t.lastIndex=0}}),a()})}wrapMatchesAcrossElements(t,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(l=>{let u;for(;(u=t.exec(l.value))!==null&&u[s]!=="";){let p=u.index;if(s!==0)for(let f=1;f<s;f++)p+=u[f].length;let h=p+u[s].length;this.wrapRangeInMappedTextNode(l,p,h,f=>n(u[s],f),(f,m)=>{t.lastIndex=m,i(f)})}a()})}wrapRangeFromIndex(t,o,n,i){this.getTextNodes(a=>{let s=a.value.length;t.forEach((l,u)=>{let{start:p,end:h,valid:f}=this.checkWhitespaceRanges(l,s,a.value);f&&this.wrapRangeInMappedTextNode(a,p,h,m=>o(m,l,a.value.substring(p,h),u),m=>{n(m,l)})}),i()})}unwrapMatches(t){let o=t.parentNode,n=document.createDocumentFragment();for(;t.firstChild;)n.appendChild(t.removeChild(t.firstChild));o.replaceChild(n,t),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(t){if(t){if(t.nodeType===3)for(;t.nextSibling&&t.nextSibling.nodeType===3;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,o){this.opt=o,this.log(`Searching with expression "${t}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](t,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),a,()=>{n===0&&this.opt.noMatch(t),this.opt.done(n)})}mark(t,o){this.opt=o;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof t=="string"?[t]:t),l=this.opt.caseSensitive?"":"i",u=p=>{let h=new RegExp(this.createRegExp(p),`gm${l}`),f=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,b)=>this.opt.filter(b,p,n,f),m=>{f++,n++,this.opt.each(m)},()=>{f===0&&this.opt.noMatch(p),a[s-1]===p?this.opt.done(n):u(a[a.indexOf(p)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):u(a[0])}markRanges(t,o){this.opt=o;let n=0,i=this.checkRanges(t);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,l,u)=>this.opt.filter(a,s,l,u),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(t){this.opt=t;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=at.matches(n,o),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Tn(e){let t=new pr(e);return this.mark=(o,n)=>(t.mark(o,n),this),this.markRegExp=(o,n)=>(t.markRegExp(o,n),this),this.markRanges=(o,n)=>(t.markRanges(o,n),this),this.unmark=o=>(t.unmark(o),this),this}var Su=Tn,ec=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Eu=N`
5
5
  .highlight-html-match {
6
- background: ${Qs};
6
+ background: ${ec};
7
7
  }
8
- `;function vu(e,t,o){var n,i;let a=e.getAttribute("data-highlight-html-query");if((a??"")!==(t??"")){let s=new Su(e);if(s.unmark(),t&&t.trim()){let l={className:(n=o?.className)!==null&&n!==void 0?n:"highlight-html-match",acrossElements:!0};o?.attributes!=null&&(l.each=p=>{for(let h in o.attributes)p.setAttribute(h,o.attributes[h])}),s.mark(t.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((i=t.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(p=>s.mark(p.replace(/"/g,""),{...l,separateWordSearch:!1}))}}e.setAttribute("data-highlight-html-query",t??"")}var Nn={};I(Nn,{noTextInputDefaultClearButton:()=>Au,noTextSelect:()=>Ln,safariEllipsisFix:()=>Cu,wordWrap:()=>Ou});var Ln=N`
8
+ `;function vu(e,t,o){var n,i;let a=e.getAttribute("data-highlight-html-query");if((a??"")!==(t??"")){let s=new Su(e);if(s.unmark(),t&&t.trim()){let l={className:(n=o?.className)!==null&&n!==void 0?n:"highlight-html-match",acrossElements:!0};o?.attributes!=null&&(l.each=p=>{for(let h in o.attributes)p.setAttribute(h,o.attributes[h])}),s.mark(t.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((i=t.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(p=>s.mark(p.replace(/"/g,""),{...l,separateWordSearch:!1}))}}e.setAttribute("data-highlight-html-query",t??"")}var Pn={};I(Pn,{noTextInputDefaultClearButton:()=>Au,noTextSelect:()=>Nn,safariEllipsisFix:()=>Cu,wordWrap:()=>Ou});var Nn=N`
9
9
  .ft-no-text-select {
10
10
  -webkit-touch-callout: none;
11
11
  -webkit-user-select: none;
@@ -44,7 +44,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
44
44
  input::-webkit-search-results-decoration {
45
45
  display: none;
46
46
  }
47
- `;var ec={};var In={};I(In,{ParametrizedLabelResolver:()=>Pn});var Pn=class e{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var n,i;t=this.resolvePluralKey(t,o);let a=(i=(n=this.labels[t])!==null&&n!==void 0?n:this.defaultLabels[t])!==null&&i!==void 0?i:"";return e.replaceParameters(a,...o)}static replaceParameters(t,...o){return o.forEach((n,i)=>t=t.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(a,s)=>e.formatValue(n,s))),t}resolvePluralKey(t,o){for(let n of o)if(typeof n=="number"){let i=`${String(t)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return t}static formatValue(t,o){return t instanceof Date?e.formatDate(t,o):t??""}static formatDate(t,o){let n=i=>o?.includes("date")?t.toLocaleDateString(i):o?.includes("time")?t.toLocaleTimeString(i):t.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var ri={};I(ri,{FtCommandQueue:()=>fr,FtLitElementRedux:()=>kn,FtReduxStore:()=>ei,FtStateManager:()=>ti,ReduxWatcher:()=>lo,clearAllStores:()=>Op,isFtReduxStore:()=>Ft,redux:()=>Ru,reduxEventListener:()=>_u,reduxReactive:()=>wu,watch:()=>Cp,withRedux:()=>tc});var wu=()=>(e,t)=>{var o;let n=e.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(t)},Ru=e=>{let t=e??{};return(o,n)=>{var i;let a={hasChanged:Fe,attribute:!1,...t};O(a)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=t.selector)!==null&&i!==void 0?i:(l=>l[n]),store:t.store})}},_u=e=>(t,o)=>{let n=t.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,e)};var fr=class{constructor(){this.queue=[]}add(t,o=!1){o&&this.clear(t.type),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(t){typeof t=="string"?this.queue=this.queue.filter(o=>o.type!==t):this.queue=this.queue.filter(o=>!t.test(o.type))}};function Ft(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var hr=Symbol("internalReduxEventsUnsubscribers"),He=Symbol("internalStoresUnsubscribers"),st=Symbol("internalStores"),tc=se(Symbol("withRedux"),function(e){var t,o,n;class i extends e{constructor(){super(...arguments),this[t]=new Map,this[o]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[st].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[st].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[st].get(s)}addStore(s,l){var u;l=(u=l??s.name)!==null&&u!==void 0?u:"default-store",this.unsubscribeFromStore(l),this[st].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[st].delete(l)}setupStores(){this.unsubscribeFromStores(),this[st].forEach((s,l)=>this.subscribeToStore(l,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,l)=>{let u=this.constructor.getPropertyOptions(l);if(!u?.attribute||!this.hasAttribute(typeof u?.attribute=="string"?u.attribute:l)){let p=this.getStore(s.store);p&&(s.store?this[He].has(s.store):this[He].size>0)&&(this[l]=s.selector(p.getState(),this))}})}subscribeToStore(s,l){var u;this[He].set(s,l.subscribe(()=>this.updateFromStores())),this[hr].set(s,[]),Ft(l)&&l.eventBus&&((u=this.reduxConstructor.reduxEventListeners)===null||u===void 0||u.forEach((p,h)=>{if(typeof this[h]=="function"&&(!p.store||l.name===p.store)){let f=m=>this[h](m);l.addEventListener(p.eventName,f),this[hr].get(s).push(()=>l.removeEventListener(p.eventName,f))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[He].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[He].has(s)&&this[He].get(s)(),this[He].delete(s),(l=this[hr].get(s))===null||l===void 0||l.forEach(u=>u()),this[hr].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=He,o=st,n=hr,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),kn=class extends tc(H){};function X(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var Tu=typeof Symbol=="function"&&Symbol.observable||"@@observable",rc=Tu,Dn=()=>Math.random().toString(36).substring(7).split("").join("."),Lu={INIT:`@@redux/INIT${Dn()}`,REPLACE:`@@redux/REPLACE${Dn()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Dn()}`},Gr=Lu;function Vr(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function Mn(e,t,o){if(typeof e!="function")throw new Error(X(2));if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(X(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(X(1));return o(Mn)(e,t)}let n=e,i=t,a=new Map,s=a,l=0,u=!1;function p(){s===a&&(s=new Map,a.forEach((E,A)=>{s.set(A,E)}))}function h(){if(u)throw new Error(X(3));return i}function f(E){if(typeof E!="function")throw new Error(X(4));if(u)throw new Error(X(5));let A=!0;p();let P=l++;return s.set(P,E),function(){if(A){if(u)throw new Error(X(6));A=!1,p(),s.delete(P),a=null}}}function m(E){if(!Vr(E))throw new Error(X(7));if(typeof E.type>"u")throw new Error(X(8));if(typeof E.type!="string")throw new Error(X(17));if(u)throw new Error(X(9));try{u=!0,i=n(i,E)}finally{u=!1}return(a=s).forEach(P=>{P()}),E}function b(E){if(typeof E!="function")throw new Error(X(10));n=E,m({type:Gr.REPLACE})}function S(){let E=f;return{subscribe(A){if(typeof A!="object"||A===null)throw new Error(X(11));function P(){let g=A;g.next&&g.next(h())}return P(),{unsubscribe:E(P)}},[rc](){return this}}}return m({type:Gr.INIT}),{dispatch:m,subscribe:f,getState:h,replaceReducer:b,[rc]:S}}function Nu(e){Object.keys(e).forEach(t=>{let o=e[t];if(typeof o(void 0,{type:Gr.INIT})>"u")throw new Error(X(12));if(typeof o(void 0,{type:Gr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(X(13))})}function oc(e){let t=Object.keys(e),o={};for(let s=0;s<t.length;s++){let l=t[s];typeof e[l]=="function"&&(o[l]=e[l])}let n=Object.keys(o),i,a;try{Nu(o)}catch(s){a=s}return function(l={},u){if(a)throw a;let p=!1,h={};for(let f=0;f<n.length;f++){let m=n[f],b=o[m],S=l[m],C=b(S,u);if(typeof C>"u"){let E=u&&u.type;throw new Error(X(14))}h[m]=C,p=p||C!==S}return p=p||n.length!==Object.keys(l).length,p?h:l}}function mr(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,o)=>(...n)=>t(o(...n)))}function nc(...e){return t=>(o,n)=>{let i=t(o,n),a=()=>{throw new Error(X(15))},s={getState:i.getState,dispatch:(u,...p)=>a(u,...p)},l=e.map(u=>u(s));return a=mr(...l)(i.dispatch),{...i,dispatch:a}}}function ic(e){return Vr(e)&&"type"in e&&typeof e.type=="string"}var hc=Symbol.for("immer-nothing"),ac=Symbol.for("immer-draftable"),Q=Symbol.for("immer-state");function xe(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var ce=Object,Bt=ce.getPrototypeOf,Zr="constructor",eo="prototype",Bn="configurable",qr="enumerable",jr="writable",yr="value",Re=e=>!!e&&!!e[Q];function le(e){return e?mc(e)||ro(e)||!!e[ac]||!!e[Zr]?.[ac]||oo(e)||no(e):!1}var Pu=ce[eo][Zr].toString(),sc=new WeakMap;function mc(e){if(!e||!Zn(e))return!1;let t=Bt(e);if(t===null||t===ce[eo])return!0;let o=ce.hasOwnProperty.call(t,Zr)&&t[Zr];if(o===Object)return!0;if(!$t(o))return!1;let n=sc.get(o);return n===void 0&&(n=Function.toString.call(o),sc.set(o,n)),n===Pu}function to(e,t,o=!0){xr(e)===0?(o?Reflect.ownKeys(e):ce.keys(e)).forEach(i=>{t(i,e[i],e)}):e.forEach((n,i)=>t(i,n,e))}function xr(e){let t=e[Q];return t?t.type_:ro(e)?1:oo(e)?2:no(e)?3:0}var Un=(e,t,o=xr(e))=>o===2?e.has(t):ce[eo].hasOwnProperty.call(e,t),zn=(e,t,o=xr(e))=>o===2?e.get(t):e[t],Yr=(e,t,o,n=xr(e))=>{n===2?e.set(t,o):n===3?e.add(o):e[t]=o};function Iu(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}var ro=Array.isArray,oo=e=>e instanceof Map,no=e=>e instanceof Set,Zn=e=>typeof e=="object",$t=e=>typeof e=="function",Fn=e=>typeof e=="boolean";function ku(e){let t=+e;return Number.isInteger(t)&&String(t)===e}var Ie=e=>e.copy_||e.base_;var qn=e=>e.modified_?e.copy_:e.base_;function Hn(e,t){if(oo(e))return new Map(e);if(no(e))return new Set(e);if(ro(e))return Array[eo].slice.call(e);let o=mc(e);if(t===!0||t==="class_only"&&!o){let n=ce.getOwnPropertyDescriptors(e);delete n[Q];let i=Reflect.ownKeys(n);for(let a=0;a<i.length;a++){let s=i[a],l=n[s];l[jr]===!1&&(l[jr]=!0,l[Bn]=!0),(l.get||l.set)&&(n[s]={[Bn]:!0,[jr]:!0,[qr]:l[qr],[yr]:e[s]})}return ce.create(Bt(e),n)}else{let n=Bt(e);if(n!==null&&o)return{...e};let i=ce.create(n);return ce.assign(i,e)}}function Yn(e,t=!1){return io(e)||Re(e)||!le(e)||(xr(e)>1&&ce.defineProperties(e,{set:Wr,add:Wr,clear:Wr,delete:Wr}),ce.freeze(e),t&&to(e,(o,n)=>{Yn(n,!0)},!1)),e}function Du(){xe(2)}var Wr={[yr]:Du};function io(e){return e===null||!Zn(e)?!0:ce.isFrozen(e)}var Xr="MapSet",Gn="Patches",cc="ArrayMethods",yc={};function ct(e){let t=yc[e];return t||xe(0,e),t}var lc=e=>!!yc[e];var gr,gc=()=>gr,Mu=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:lc(Xr)?ct(Xr):void 0,arrayMethodsPlugin_:lc(cc)?ct(cc):void 0});function dc(e,t){t&&(e.patchPlugin_=ct(Gn),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function Vn(e){Wn(e),e.drafts_.forEach(Uu),e.drafts_=null}function Wn(e){e===gr&&(gr=e.parent_)}var uc=e=>gr=Mu(gr,e);function Uu(e){let t=e[Q];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function pc(e,t){t.unfinalizedDrafts_=t.drafts_.length;let o=t.drafts_[0];if(e!==void 0&&e!==o){o[Q].modified_&&(Vn(t),xe(4)),le(e)&&(e=fc(t,e));let{patchPlugin_:i}=t;i&&i.generateReplacementPatches_(o[Q].base_,e,t)}else e=fc(t,o);return Fu(t,e,!0),Vn(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==hc?e:void 0}function fc(e,t){if(io(t))return t;let o=t[Q];if(!o)return Jr(t,e.handledSet_,e);if(!ao(o,e))return t;if(!o.modified_)return o.base_;if(!o.finalized_){let{callbacks_:n}=o;if(n)for(;n.length>0;)n.pop()(e);Sc(o,e)}return o.copy_}function Fu(e,t,o=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&Yn(t,o)}function bc(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var ao=(e,t)=>e.scope_===t,$u=[];function xc(e,t,o,n){let i=Ie(e),a=e.type_;if(n!==void 0&&zn(i,n,a)===t){Yr(i,n,o,a);return}if(!e.draftLocations_){let l=e.draftLocations_=new Map;to(i,(u,p)=>{if(Re(p)){let h=l.get(p)||[];h.push(u),l.set(p,h)}})}let s=e.draftLocations_.get(t)??$u;for(let l of s)Yr(i,l,o,a)}function Bu(e,t,o){e.callbacks_.push(function(i){let a=t;if(!a||!ao(a,i))return;i.mapSetPlugin_?.fixSetContents(a);let s=qn(a);xc(e,a.draft_??a,s,o),Sc(a,i)})}function Sc(e,t){if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){let{patchPlugin_:n}=t;if(n){let i=n.getPath(e);i&&n.generatePatches_(e,i,t)}bc(e)}}function zu(e,t,o){let{scope_:n}=e;if(Re(o)){let i=o[Q];ao(i,n)&&i.callbacks_.push(function(){Kr(e);let s=qn(i);xc(e,o,s,t)})}else le(o)&&e.callbacks_.push(function(){let a=Ie(e);e.type_===3?a.has(o)&&Jr(o,n.handledSet_,n):zn(a,t,e.type_)===o&&n.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&Jr(zn(e.copy_,t,e.type_),n.handledSet_,n)})}function Jr(e,t,o){return!o.immer_.autoFreeze_&&o.unfinalizedDrafts_<1||Re(e)||t.has(e)||!le(e)||io(e)||(t.add(e),to(e,(n,i)=>{if(Re(i)){let a=i[Q];if(ao(a,o)){let s=qn(a);Yr(e,n,s,e.type_),bc(a)}}else le(i)&&Jr(i,t,o)})),e}function Hu(e,t){let o=ro(e),n={type_:o?1:0,scope_:t?t.scope_:gc(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},i=n,a=Qr;o&&(i=[n],a=br);let{revoke:s,proxy:l}=Proxy.revocable(i,a);return n.draft_=l,n.revoke_=s,[l,n]}var Qr={get(e,t){if(t===Q)return e;let o=e.scope_.arrayMethodsPlugin_,n=e.type_===1&&typeof t=="string";if(n&&o?.isArrayOperationMethod(t))return o.createMethodInterceptor(e,t);let i=Ie(e);if(!Un(i,t,e.type_))return Vu(e,i,t);let a=i[t];if(e.finalized_||!le(a)||n&&e.operationMethod&&o?.isMutatingArrayMethod(e.operationMethod)&&ku(t))return a;if(a===$n(e.base_,t)||Gu(e,t,a)){Kr(e);let s=e.type_===1?+t:t,l=Kn(e.scope_,a,e,s);return e.copy_[s]=l}return a},has(e,t){return t in Ie(e)},ownKeys(e){return Reflect.ownKeys(Ie(e))},set(e,t,o){let n=Ec(Ie(e),t);if(n?.set)return n.set.call(e.draft_,o),!0;if(!e.modified_){let i=$n(Ie(e),t),a=i?.[Q];if(a&&a.base_===o)return e.copy_[t]=o,e.assigned_.set(t,!1),!0;if(Iu(o,i)&&(o!==void 0||Un(e.base_,t,e.type_)))return!0;Kr(e),jn(e)}return e.copy_[t]===o&&(o!==void 0||Un(e.copy_,t,e.type_))||Number.isNaN(o)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=o,e.assigned_.set(t,!0),zu(e,t,o)),!0},deleteProperty(e,t){return Kr(e),$n(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),jn(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){let o=Ie(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{[jr]:!0,[Bn]:e.type_!==1||t!=="length",[qr]:n[qr],[yr]:o[t]}},defineProperty(){xe(11)},getPrototypeOf(e){return Bt(e.base_)},setPrototypeOf(){xe(12)}},br={};for(let e in Qr){let t=Qr[e];br[e]=function(){let o=arguments;return o[0]=o[0][0],t.apply(this,o)}}br.deleteProperty=function(e,t){return br.set.call(this,e,t,void 0)};br.set=function(e,t,o){return Qr.set.call(this,e[0],t,o,e[0])};function $n(e,t){let o=e[Q];return(o?Ie(o):e)[t]}function Gu(e,t,o){return e.type_!==1||!e.allIndicesReassigned_||e.assigned_?.get(t)||!le(o)||o[Q]?!1:e.baseRefs_.has(o)}function Vu(e,t,o){let n=Ec(t,o);return n?yr in n?n[yr]:n.get?.call(e.draft_):void 0}function Ec(e,t){if(!(t in e))return;let o=Bt(e);for(;o;){let n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Bt(o)}}function jn(e){e.modified_||(e.modified_=!0,e.parent_&&jn(e.parent_))}function Kr(e){e.copy_||(e.assigned_=new Map,e.copy_=Hn(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Wu=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(t,o,n)=>{if($t(t)&&!$t(o)){let a=o;o=t;let s=this;return function(u=a,...p){return s.produce(u,h=>o.call(this,h,...p))}}$t(o)||xe(6),n!==void 0&&!$t(n)&&xe(7);let i;if(le(t)){let a=uc(this),s=Kn(a,t,void 0),l=!0;try{i=o(s),l=!1}finally{l?Vn(a):Wn(a)}return dc(a,n),pc(i,a)}else if(!t||!Zn(t)){if(i=o(t),i===void 0&&(i=t),i===hc&&(i=void 0),this.autoFreeze_&&Yn(i,!0),n){let a=[],s=[];ct(Gn).generateReplacementPatches_(t,i,{patches_:a,inversePatches_:s}),n(a,s)}return i}else xe(1,t)},this.produceWithPatches=(t,o)=>{if($t(t))return(s,...l)=>this.produceWithPatches(s,u=>t(u,...l));let n,i;return[this.produce(t,o,(s,l)=>{n=s,i=l}),n,i]},Fn(e?.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),Fn(e?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),Fn(e?.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){le(e)||xe(8),Re(e)&&(e=vc(e));let t=uc(this),o=Kn(t,e,void 0);return o[Q].isManual_=!0,Wn(t),o}finishDraft(e,t){let o=e&&e[Q];(!o||!o.isManual_)&&xe(9);let{scope_:n}=o;return dc(n,t),pc(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let o;for(o=t.length-1;o>=0;o--){let i=t[o];if(i.path.length===0&&i.op==="replace"){e=i.value;break}}o>-1&&(t=t.slice(o+1));let n=ct(Gn).applyPatches_;return Re(e)?n(e,t):this.produce(e,i=>n(i,t))}};function Kn(e,t,o,n){let[i,a]=oo(t)?ct(Xr).proxyMap_(t,o):no(t)?ct(Xr).proxySet_(t,o):Hu(t,o);return(o?.scope_??gc()).drafts_.push(i),a.callbacks_=o?.callbacks_??[],a.key_=n,o&&n!==void 0?Bu(o,a,n):a.callbacks_.push(function(u){u.mapSetPlugin_?.fixSetContents(a);let{patchPlugin_:p}=u;a.modified_&&p&&p.generatePatches_(a,[],u)}),i}function vc(e){return Re(e)||xe(10,e),Oc(e)}function Oc(e){if(!le(e)||io(e))return e;let t=e[Q],o,n=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,o=Hn(e,t.scope_.immer_.useStrictShallowCopy_),n=t.scope_.immer_.shouldUseStrictIteration()}else o=Hn(e,!0);return to(o,(i,a)=>{Yr(o,i,Oc(a))},n),t&&(t.finalized_=!1),o}var ju=globalThis.Iterator,ax=typeof ju?.from=="function";var Ku=new Wu,Xn=Ku.produce;function Cc(e){return({dispatch:o,getState:n})=>i=>a=>typeof a=="function"?a(o,n,e):i(a)}var Ac=Cc(),wc=Cc;var Zu=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?mr:mr.apply(null,arguments)},fx=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}},qu=e=>e&&typeof e.match=="function";function Ge(e,t){function o(...n){if(t){let i=t(...n);if(!i)throw new Error(ke(0));return{type:e,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:e,payload:n[0]}}return o.toString=()=>`${e}`,o.type=e,o.match=n=>ic(n)&&n.type===e,o}var Nc=class Sr extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,Sr.prototype)}static get[Symbol.species](){return Sr}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new Sr(...t[0].concat(this)):new Sr(...t.concat(this))}};function Rc(e){return le(e)?Xn(e,()=>{}):e}function so(e,t,o){return e.has(t)?e.get(t):e.set(t,o(t)).get(t)}function Yu(e){return typeof e=="boolean"}var Xu=()=>function(t){let{thunk:o=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:a=!0}=t??{},s=new Nc;return o&&(Yu(o)?s.push(Ac):s.push(wc(o.extraArgument))),s},Ju="RTK_autoBatch";var _c=e=>t=>{setTimeout(t,e)},Qu=(e,t)=>o=>{let n=!1,i=()=>{n||(n=!0,cancelAnimationFrame(a),clearTimeout(s),o())},a=e(i),s=setTimeout(i,t)},ep=(e={type:"raf"})=>t=>(...o)=>{let n=t(...o),i=!0,a=!1,s=!1,l=new Set,u=e.type==="tick"?queueMicrotask:e.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?Qu(window.requestAnimationFrame,100):_c(10):e.type==="callback"?e.queueNotification:_c(e.timeout),p=()=>{s=!1,a&&(a=!1,l.forEach(h=>h()))};return Object.assign({},n,{subscribe(h){let f=()=>i&&h(),m=n.subscribe(f);return l.add(h),()=>{m(),l.delete(h)}},dispatch(h){try{return i=!h?.meta?.[Ju],a=!i,a&&(s||(s=!0,u(p))),n.dispatch(h)}finally{i=!0}}})},tp=e=>function(o){let{autoBatch:n=!0}=o??{},i=new Nc(e);return n&&i.push(ep(typeof n=="object"?n:void 0)),i};function Pc(e){let t=Xu(),{reducer:o=void 0,middleware:n,devTools:i=!0,duplicateMiddlewareCheck:a=!0,preloadedState:s=void 0,enhancers:l=void 0}=e||{},u;if(typeof o=="function")u=o;else if(Vr(o))u=oc(o);else throw new Error(ke(1));let p;typeof n=="function"?p=n(t):p=t();let h=mr;i&&(h=Zu({trace:!1,...typeof i=="object"&&i}));let f=nc(...p),m=tp(f),b=typeof l=="function"?l(m):m(),S=h(...b);return Mn(u,s,S)}function Ic(e){let t={},o=[],n,i={addCase(a,s){let l=typeof a=="string"?a:a.type;if(!l)throw new Error(ke(28));if(l in t)throw new Error(ke(29));return t[l]=s,i},addAsyncThunk(a,s){return s.pending&&(t[a.pending.type]=s.pending),s.rejected&&(t[a.rejected.type]=s.rejected),s.fulfilled&&(t[a.fulfilled.type]=s.fulfilled),s.settled&&o.push({matcher:a.settled,reducer:s.settled}),i},addMatcher(a,s){return o.push({matcher:a,reducer:s}),i},addDefaultCase(a){return n=a,i}};return e(i),[t,o,n]}function rp(e){return typeof e=="function"}function op(e,t){let[o,n,i]=Ic(t),a;if(rp(e))a=()=>Rc(e());else{let l=Rc(e);a=()=>l}function s(l=a(),u){let p=[o[u.type],...n.filter(({matcher:h})=>h(u)).map(({reducer:h})=>h)];return p.filter(h=>!!h).length===0&&(p=[i]),p.reduce((h,f)=>{if(f)if(Re(h)){let b=f(h,u);return b===void 0?h:b}else{if(le(h))return Xn(h,m=>f(m,u));{let m=f(h,u);if(m===void 0){if(h===null)return h;throw Error("A case reducer on a non-draftable value must not return undefined")}return m}}return h},l)}return s.getInitialState=a,s}var np=(e,t)=>qu(e)?e.match(t):e(t);function ip(...e){return t=>e.some(o=>np(o,t))}var ap="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",sp=(e=21)=>{let t="",o=e;for(;o--;)t+=ap[Math.random()*64|0];return t},cp=["name","message","stack","code"],Jn=class{constructor(e,t){this.payload=e,this.meta=t}payload;meta;_type},Tc=class{constructor(e,t){this.payload=e,this.meta=t}payload;meta;_type},lp=e=>{if(typeof e=="object"&&e!==null){let t={};for(let o of cp)typeof e[o]=="string"&&(t[o]=e[o]);return t}return{message:String(e)}},Lc="External signal was aborted",dp=(()=>{function e(t,o,n){let i=Ge(t+"/fulfilled",(u,p,h,f)=>({payload:u,meta:{...f||{},arg:h,requestId:p,requestStatus:"fulfilled"}})),a=Ge(t+"/pending",(u,p,h)=>({payload:void 0,meta:{...h||{},arg:p,requestId:u,requestStatus:"pending"}})),s=Ge(t+"/rejected",(u,p,h,f,m)=>({payload:f,error:(n&&n.serializeError||lp)(u||"Rejected"),meta:{...m||{},arg:h,requestId:p,rejectedWithValue:!!f,requestStatus:"rejected",aborted:u?.name==="AbortError",condition:u?.name==="ConditionError"}}));function l(u,{signal:p}={}){return(h,f,m)=>{let b=n?.idGenerator?n.idGenerator(u):sp(),S=new AbortController,C,E;function A(y){E=y,S.abort()}p&&(p.aborted?A(Lc):p.addEventListener("abort",()=>A(Lc),{once:!0}));let P=(async function(){let y;try{let x=n?.condition?.(u,{getState:f,extra:m});if(pp(x)&&(x=await x),x===!1||S.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};let R=new Promise((_,D)=>{C=()=>{D({name:"AbortError",message:E||"Aborted"})},S.signal.addEventListener("abort",C,{once:!0})});h(a(b,u,n?.getPendingMeta?.({requestId:b,arg:u},{getState:f,extra:m}))),y=await Promise.race([R,Promise.resolve(o(u,{dispatch:h,getState:f,extra:m,requestId:b,signal:S.signal,abort:A,rejectWithValue:((_,D)=>new Jn(_,D)),fulfillWithValue:((_,D)=>new Tc(_,D))})).then(_=>{if(_ instanceof Jn)throw _;return _ instanceof Tc?i(_.payload,b,u,_.meta):i(_,b,u)})])}catch(x){y=x instanceof Jn?s(null,b,u,x.payload,x.meta):s(x,b,u)}finally{C&&S.signal.removeEventListener("abort",C)}return n&&!n.dispatchConditionRejection&&s.match(y)&&y.meta.condition||h(y),y})();return Object.assign(P,{abort:A,requestId:b,arg:u,unwrap(){return P.then(up)}})}}return Object.assign(l,{pending:a,rejected:s,fulfilled:i,settled:ip(s,i),typePrefix:t})}return e.withTypes=()=>e,e})();function up(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function pp(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var kc=Symbol.for("rtk-slice-createasyncthunk"),mx={[kc]:dp};function fp(e,t){return`${e}/${t}`}function hp({creators:e}={}){let t=e?.asyncThunk?.[kc];return function(n){let{name:i,reducerPath:a=i}=n;if(!i)throw new Error(ke(11));typeof process<"u";let s=(typeof n.reducers=="function"?n.reducers(yp()):n.reducers)||{},l=Object.keys(s),u={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},p={addCase(y,g){let x=typeof y=="string"?y:y.type;if(!x)throw new Error(ke(12));if(x in u.sliceCaseReducersByType)throw new Error(ke(13));return u.sliceCaseReducersByType[x]=g,p},addMatcher(y,g){return u.sliceMatchers.push({matcher:y,reducer:g}),p},exposeAction(y,g){return u.actionCreators[y]=g,p},exposeCaseReducer(y,g){return u.sliceCaseReducersByName[y]=g,p}};l.forEach(y=>{let g=s[y],x={reducerName:y,type:fp(i,y),createNotation:typeof n.reducers=="function"};bp(g)?Sp(x,g,p,t):gp(x,g,p)});function h(){let[y={},g=[],x=void 0]=typeof n.extraReducers=="function"?Ic(n.extraReducers):[n.extraReducers],R={...y,...u.sliceCaseReducersByType};return op(n.initialState,_=>{for(let D in R)_.addCase(D,R[D]);for(let D of u.sliceMatchers)_.addMatcher(D.matcher,D.reducer);for(let D of g)_.addMatcher(D.matcher,D.reducer);x&&_.addDefaultCase(x)})}let f=y=>y,m=new Map,b=new WeakMap,S;function C(y,g){return S||(S=h()),S(y,g)}function E(){return S||(S=h()),S.getInitialState()}function A(y,g=!1){function x(_){let D=_[y];return typeof D>"u"&&g&&(D=so(b,x,E)),D}function R(_=f){let D=so(m,g,()=>new WeakMap);return so(D,_,()=>{let W={};for(let[T,M]of Object.entries(n.selectors??{}))W[T]=mp(M,_,()=>so(b,_,E),g);return W})}return{reducerPath:y,getSelectors:R,get selectors(){return R(x)},selectSlice:x}}let P={name:i,reducer:C,actions:u.actionCreators,caseReducers:u.sliceCaseReducersByName,getInitialState:E,...A(a),injectInto(y,{reducerPath:g,...x}={}){let R=g??a;return y.inject({reducerPath:R,reducer:C},x),{...P,...A(R,!0)}}};return P}}function mp(e,t,o,n){function i(a,...s){let l=t(a);return typeof l>"u"&&n&&(l=o()),e(l,...s)}return i.unwrapped=e,i}var Dc=hp();function yp(){function e(t,o){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...o}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...o){return t(...o)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,o){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:o}},asyncThunk:e}}function gp({type:e,reducerName:t,createNotation:o},n,i){let a,s;if("reducer"in n){if(o&&!xp(n))throw new Error(ke(17));a=n.reducer,s=n.prepare}else a=n;i.addCase(e,a).exposeCaseReducer(t,a).exposeAction(t,s?Ge(e,s):Ge(e))}function bp(e){return e._reducerDefinitionType==="asyncThunk"}function xp(e){return e._reducerDefinitionType==="reducerWithPrepare"}function Sp({type:e,reducerName:t},o,n,i){if(!i)throw new Error(ke(18));let{payloadCreator:a,fulfilled:s,pending:l,rejected:u,settled:p,options:h}=o,f=i(e,a,h);n.exposeAction(t,f),s&&n.addCase(f.fulfilled,s),l&&n.addCase(f.pending,l),u&&n.addCase(f.rejected,u),p&&n.addMatcher(f.settled,p),n.exposeCaseReducer(t,{fulfilled:s||co,pending:l||co,rejected:u||co,settled:p||co})}function co(){}var Mc="listener",Uc="completed",Fc="cancelled",yx=`task-${Fc}`,gx=`task-${Uc}`,bx=`${Mc}-${Fc}`,xx=`${Mc}-${Uc}`;var{assign:$c}=Object;var Qn="listenerMiddleware";var Ep=$c(Ge(`${Qn}/add`),{withTypes:()=>Ep}),Sx=Ge(`${Qn}/removeAll`),vp=$c(Ge(`${Qn}/remove`),{withTypes:()=>vp});function ke(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}window.ftReduxStores||(window.ftReduxStores={});var ei=class e extends Je{static get(t){var o;let n=typeof t=="string"?t:t.name,i=typeof t=="string"?void 0:t,a=window.ftReduxStores[n];if(Ft(a))return a;if(i==null)return;let s=Dc({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),l=Pc({reducer:(u,p)=>{if(p.type==="CLEAR_FT_REDUX_STORE"){let h=_t(s.getInitialState());for(let f of p.keeping)h[f]=(u??h)[f];return h}else if(typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...u,...p.overwrites};return s.reducer(u,p)}});return window.ftReduxStores[i.name]=new e(s,l,i.eventBus)}constructor(t,o,n){super(),this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new fr,this.injectInto=(a,s)=>this.reduxSlice.injectInto(a,s),this.selectSlice=a=>this.reduxSlice.selectSlice(a);let i=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,l)=>{let u=s,p=a[u];return p?(...h)=>{let f=p(...h.map(i));return this.reduxStore.dispatch(f),f}:h=>{let f=u,m=this.getState()[f];me(m,h)||this.setState({[f]:i(h)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...t){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:t})}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()}get selectors(){return this.reduxSlice.selectors}get reducerPath(){return this.reduxSlice.reducerPath}getSelectors(){return this.reduxSlice.getSelectors()}};function Op(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))Ft(t)&&t.clear()}var lo=class{constructor(t,o,n){this.store=t,this.valueSelector=o,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let t=this.store.getState(),o=this.valueSelector(t);Fe(this.lastValue,o)&&(this.callback(o,t),this.lastValue=o)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function Cp(e,t,o){return new lo(e,t,o).watch()}var ti=class{constructor(){this.requestConsumers=new Map}getOrCreateRequestConsumers(t){var o;return(o=this.requestConsumers.get(t))!==null&&o!==void 0?o:this.requestConsumers.set(t,new Set).get(t)}registerComponent(t,o){for(let n of o)this.getOrCreateRequestConsumers(n).add(t).size==1&&this.onNewNeededRequest(n)}unregisterComponent(t,o){for(let n of o)this.getOrCreateRequestConsumers(n).delete(t)}isRequestNeeded(t){return this.getOrCreateRequestConsumers(t).size>0}};var ii={};I(ii,{scrollHelper:()=>Ap});var oi,uo=new Map,ni=class{lock(t,o){if(o){let n=uo.get(o);if(n==null||n===t)return uo.set(o,t),o}}release(t,o){o&&uo.get(o)===t&&uo.delete(o)}findFirstScrollableParent(t){var o;let n,i;for(let a of $o(t)){let s=a,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){n=s;break}else l&&i==null&&(i=s)}return(o=n??i)!==null&&o!==void 0?o:document.body}elementCanScroll(t){try{return["auto","scroll"].includes(getComputedStyle(t).overflowY)&&!["contents"].includes(getComputedStyle(t).display)}catch{return!1}}getAbsoluteScrollOffset(t,o){var n,i;let a=0;for(;o&&o.offsetParent!==t.offsetParent;)a+=(n=o.offsetTop)!==null&&n!==void 0?n:0,o=o.offsetParent;return a+((i=o?.offsetTop)!==null&&i!==void 0?i:0)-t.offsetTop}computeTopOffsetRatio(t,o){if(typeof t=="number")return t;switch(t){case"end":return 1;case"center":return .5;case"nearest":return o;default:return 0}}scrollIntoViewIfPossible(t,o){let n=this.findFirstScrollableParent(t);if(t&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,t),a=i-n.clientHeight+t.clientHeight,s=i,l=Xe(0,(s-n.scrollTop)/(s-a),1),u=this.computeTopOffsetRatio(o?.position,l)*(a-s)+s;n.scrollTo({behavior:o?.behavior,top:u})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",t,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(oi=window.FluidTopicsScrollHelper)!==null&&oi!==void 0?oi:new ni;var Ap=window.FluidTopicsScrollHelper;var si={};I(si,{toFtFormComponent:()=>wp});var ai=Symbol("elementInternals"),wp=se(Symbol("toFtFormComponent"),function(e){class t extends e{static get formAssociated(){return!0}get form(){return this[ai].form}constructor(...n){super(n),this[ai]=this.attachInternals()}setFormValue(n){this[ai].setFormValue(n)}}return t});var li={};I(li,{DateFormatter:()=>ci});var ci=class{static format(t,o,n,i,a){return window.moment?window.moment(t).locale(o).format(this.getMomentDateFormat(n,i,!!a)):this.getIntlDateTime(t,o,n,i,!!a)}static getMomentDateFormat(t,o,n){return n?"LT":t?o?"lll":"ll":o?"L LT":"L"}static getIntlDateTime(t,o,n,i,a){let s=typeof t=="string"?new Date(t):t,l=new Intl.DateTimeFormat(o,{dateStyle:n?"medium":"short"}).format(s),u=new Intl.DateTimeFormat(o,{timeStyle:"short"}).format(s);return a?u:i?`${l} ${u}`:l}static getTimezoneAsString(){let t=n=>String(Math.floor(n)).padStart(2,"0"),o=new Date().getTimezoneOffset();return`${o<0?"+":"-"}${t(Math.abs(o)/60)}:${t(Math.abs(o)%60)}`}};var ui={};I(ui,{ALL_KEYS_VALUE:()=>di,SameWindowStorageEvent:()=>zt});var di="__all__",zt=class extends CustomEvent{constructor(t,o,n){super("same-window-storage",{detail:{key:t,oldValue:o,newValue:n}})}keyMatch(t){return this.detail.key.includes(t)||this.detail.key==di}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(e,t,o){let n=t.getItem(o[0]);Reflect.apply(e,t,o),window.dispatchEvent(new zt(o[0],n,o[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(e,t,o){let n=t.getItem(o[0]);Reflect.apply(e,t,o),window.dispatchEvent(new zt(o[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(e,t,o){Reflect.apply(e,t,o),window.dispatchEvent(new zt(di))}});var fi={};I(fi,{FocusMainContentEvent:()=>pi});var pi=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var Bc={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function Rp(e){(e.key==="Enter"||e.key===" "||e.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=e.key}function _p(e){window.FluidTopicsA11yHints.isKeyboardNavigation=e.detail==0}document.addEventListener("keydown",Rp);document.addEventListener("click",_p);var zc=N`
47
+ `;var tc={};var kn={};I(kn,{ParametrizedLabelResolver:()=>In});var In=class e{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var n,i;t=this.resolvePluralKey(t,o);let a=(i=(n=this.labels[t])!==null&&n!==void 0?n:this.defaultLabels[t])!==null&&i!==void 0?i:"";return e.replaceParameters(a,...o)}static replaceParameters(t,...o){return o.forEach((n,i)=>t=t.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(a,s)=>e.formatValue(n,s))),t}resolvePluralKey(t,o){for(let n of o)if(typeof n=="number"){let i=`${String(t)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return t}static formatValue(t,o){return t instanceof Date?e.formatDate(t,o):t??""}static formatDate(t,o){let n=i=>o?.includes("date")?t.toLocaleDateString(i):o?.includes("time")?t.toLocaleTimeString(i):t.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var oi={};I(oi,{FtCommandQueue:()=>fr,FtLitElementRedux:()=>Dn,FtReduxStore:()=>ti,FtStateManager:()=>ri,ReduxWatcher:()=>uo,clearAllStores:()=>Op,isFtReduxStore:()=>Ft,redux:()=>Ru,reduxEventListener:()=>_u,reduxReactive:()=>wu,watch:()=>Cp,withRedux:()=>rc});var wu=()=>(e,t)=>{var o;let n=e.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(t)},Ru=e=>{let t=e??{};return(o,n)=>{var i;let a={hasChanged:Fe,attribute:!1,...t};C(a)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=t.selector)!==null&&i!==void 0?i:(l=>l[n]),store:t.store})}},_u=e=>(t,o)=>{let n=t.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,e)};var fr=class{constructor(){this.queue=[]}add(t,o=!1){o&&this.clear(t.type),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(t){typeof t=="string"?this.queue=this.queue.filter(o=>o.type!==t):this.queue=this.queue.filter(o=>!t.test(o.type))}};function Ft(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var hr=Symbol("internalReduxEventsUnsubscribers"),He=Symbol("internalStoresUnsubscribers"),st=Symbol("internalStores"),rc=se(Symbol("withRedux"),function(e){var t,o,n;class i extends e{constructor(){super(...arguments),this[t]=new Map,this[o]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[st].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[st].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[st].get(s)}addStore(s,l){var u;l=(u=l??s.name)!==null&&u!==void 0?u:"default-store",this.unsubscribeFromStore(l),this[st].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[st].delete(l)}setupStores(){this.unsubscribeFromStores(),this[st].forEach((s,l)=>this.subscribeToStore(l,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,l)=>{let u=this.constructor.getPropertyOptions(l);if(!u?.attribute||!this.hasAttribute(typeof u?.attribute=="string"?u.attribute:l)){let p=this.getStore(s.store);p&&(s.store?this[He].has(s.store):this[He].size>0)&&(this[l]=s.selector(p.getState(),this))}})}subscribeToStore(s,l){var u;this[He].set(s,l.subscribe(()=>this.updateFromStores())),this[hr].set(s,[]),Ft(l)&&l.eventBus&&((u=this.reduxConstructor.reduxEventListeners)===null||u===void 0||u.forEach((p,h)=>{if(typeof this[h]=="function"&&(!p.store||l.name===p.store)){let f=m=>this[h](m);l.addEventListener(p.eventName,f),this[hr].get(s).push(()=>l.removeEventListener(p.eventName,f))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[He].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[He].has(s)&&this[He].get(s)(),this[He].delete(s),(l=this[hr].get(s))===null||l===void 0||l.forEach(u=>u()),this[hr].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=He,o=st,n=hr,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),Dn=class extends rc(H){};function X(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var Tu=typeof Symbol=="function"&&Symbol.observable||"@@observable",oc=Tu,Mn=()=>Math.random().toString(36).substring(7).split("").join("."),Lu={INIT:`@@redux/INIT${Mn()}`,REPLACE:`@@redux/REPLACE${Mn()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Mn()}`},Gr=Lu;function Vr(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function Un(e,t,o){if(typeof e!="function")throw new Error(X(2));if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(X(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(X(1));return o(Un)(e,t)}let n=e,i=t,a=new Map,s=a,l=0,u=!1;function p(){s===a&&(s=new Map,a.forEach((E,w)=>{s.set(w,E)}))}function h(){if(u)throw new Error(X(3));return i}function f(E){if(typeof E!="function")throw new Error(X(4));if(u)throw new Error(X(5));let w=!0;p();let P=l++;return s.set(P,E),function(){if(w){if(u)throw new Error(X(6));w=!1,p(),s.delete(P),a=null}}}function m(E){if(!Vr(E))throw new Error(X(7));if(typeof E.type>"u")throw new Error(X(8));if(typeof E.type!="string")throw new Error(X(17));if(u)throw new Error(X(9));try{u=!0,i=n(i,E)}finally{u=!1}return(a=s).forEach(P=>{P()}),E}function b(E){if(typeof E!="function")throw new Error(X(10));n=E,m({type:Gr.REPLACE})}function S(){let E=f;return{subscribe(w){if(typeof w!="object"||w===null)throw new Error(X(11));function P(){let y=w;y.next&&y.next(h())}return P(),{unsubscribe:E(P)}},[oc](){return this}}}return m({type:Gr.INIT}),{dispatch:m,subscribe:f,getState:h,replaceReducer:b,[oc]:S}}function Nu(e){Object.keys(e).forEach(t=>{let o=e[t];if(typeof o(void 0,{type:Gr.INIT})>"u")throw new Error(X(12));if(typeof o(void 0,{type:Gr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(X(13))})}function Fn(e){let t=Object.keys(e),o={};for(let s=0;s<t.length;s++){let l=t[s];typeof e[l]=="function"&&(o[l]=e[l])}let n=Object.keys(o),i,a;try{Nu(o)}catch(s){a=s}return function(l={},u){if(a)throw a;let p=!1,h={};for(let f=0;f<n.length;f++){let m=n[f],b=o[m],S=l[m],A=b(S,u);if(typeof A>"u"){let E=u&&u.type;throw new Error(X(14))}h[m]=A,p=p||A!==S}return p=p||n.length!==Object.keys(l).length,p?h:l}}function mr(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,o)=>(...n)=>t(o(...n)))}function nc(...e){return t=>(o,n)=>{let i=t(o,n),a=()=>{throw new Error(X(15))},s={getState:i.getState,dispatch:(u,...p)=>a(u,...p)},l=e.map(u=>u(s));return a=mr(...l)(i.dispatch),{...i,dispatch:a}}}function ic(e){return Vr(e)&&"type"in e&&typeof e.type=="string"}var hc=Symbol.for("immer-nothing"),ac=Symbol.for("immer-draftable"),Q=Symbol.for("immer-state");function xe(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var ce=Object,Bt=ce.getPrototypeOf,Zr="constructor",eo="prototype",Hn="configurable",qr="enumerable",jr="writable",yr="value",Re=e=>!!e&&!!e[Q];function le(e){return e?mc(e)||ro(e)||!!e[ac]||!!e[Zr]?.[ac]||oo(e)||no(e):!1}var Pu=ce[eo][Zr].toString(),sc=new WeakMap;function mc(e){if(!e||!Yn(e))return!1;let t=Bt(e);if(t===null||t===ce[eo])return!0;let o=ce.hasOwnProperty.call(t,Zr)&&t[Zr];if(o===Object)return!0;if(!$t(o))return!1;let n=sc.get(o);return n===void 0&&(n=Function.toString.call(o),sc.set(o,n)),n===Pu}function to(e,t,o=!0){xr(e)===0?(o?Reflect.ownKeys(e):ce.keys(e)).forEach(i=>{t(i,e[i],e)}):e.forEach((n,i)=>t(i,n,e))}function xr(e){let t=e[Q];return t?t.type_:ro(e)?1:oo(e)?2:no(e)?3:0}var $n=(e,t,o=xr(e))=>o===2?e.has(t):ce[eo].hasOwnProperty.call(e,t),Gn=(e,t,o=xr(e))=>o===2?e.get(t):e[t],Yr=(e,t,o,n=xr(e))=>{n===2?e.set(t,o):n===3?e.add(o):e[t]=o};function Iu(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}var ro=Array.isArray,oo=e=>e instanceof Map,no=e=>e instanceof Set,Yn=e=>typeof e=="object",$t=e=>typeof e=="function",Bn=e=>typeof e=="boolean";function ku(e){let t=+e;return Number.isInteger(t)&&String(t)===e}var ke=e=>e.copy_||e.base_;var Xn=e=>e.modified_?e.copy_:e.base_;function Vn(e,t){if(oo(e))return new Map(e);if(no(e))return new Set(e);if(ro(e))return Array[eo].slice.call(e);let o=mc(e);if(t===!0||t==="class_only"&&!o){let n=ce.getOwnPropertyDescriptors(e);delete n[Q];let i=Reflect.ownKeys(n);for(let a=0;a<i.length;a++){let s=i[a],l=n[s];l[jr]===!1&&(l[jr]=!0,l[Hn]=!0),(l.get||l.set)&&(n[s]={[Hn]:!0,[jr]:!0,[qr]:l[qr],[yr]:e[s]})}return ce.create(Bt(e),n)}else{let n=Bt(e);if(n!==null&&o)return{...e};let i=ce.create(n);return ce.assign(i,e)}}function io(e,t=!1){return ao(e)||Re(e)||!le(e)||(xr(e)>1&&ce.defineProperties(e,{set:Wr,add:Wr,clear:Wr,delete:Wr}),ce.freeze(e),t&&to(e,(o,n)=>{io(n,!0)},!1)),e}function Du(){xe(2)}var Wr={[yr]:Du};function ao(e){return e===null||!Yn(e)?!0:ce.isFrozen(e)}var Xr="MapSet",Wn="Patches",cc="ArrayMethods",yc={};function ct(e){let t=yc[e];return t||xe(0,e),t}var lc=e=>!!yc[e];var gr,gc=()=>gr,Mu=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:lc(Xr)?ct(Xr):void 0,arrayMethodsPlugin_:lc(cc)?ct(cc):void 0});function dc(e,t){t&&(e.patchPlugin_=ct(Wn),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function jn(e){Kn(e),e.drafts_.forEach(Uu),e.drafts_=null}function Kn(e){e===gr&&(gr=e.parent_)}var uc=e=>gr=Mu(gr,e);function Uu(e){let t=e[Q];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function pc(e,t){t.unfinalizedDrafts_=t.drafts_.length;let o=t.drafts_[0];if(e!==void 0&&e!==o){o[Q].modified_&&(jn(t),xe(4)),le(e)&&(e=fc(t,e));let{patchPlugin_:i}=t;i&&i.generateReplacementPatches_(o[Q].base_,e,t)}else e=fc(t,o);return Fu(t,e,!0),jn(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==hc?e:void 0}function fc(e,t){if(ao(t))return t;let o=t[Q];if(!o)return Jr(t,e.handledSet_,e);if(!so(o,e))return t;if(!o.modified_)return o.base_;if(!o.finalized_){let{callbacks_:n}=o;if(n)for(;n.length>0;)n.pop()(e);Sc(o,e)}return o.copy_}function Fu(e,t,o=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&io(t,o)}function bc(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var so=(e,t)=>e.scope_===t,$u=[];function xc(e,t,o,n){let i=ke(e),a=e.type_;if(n!==void 0&&Gn(i,n,a)===t){Yr(i,n,o,a);return}if(!e.draftLocations_){let l=e.draftLocations_=new Map;to(i,(u,p)=>{if(Re(p)){let h=l.get(p)||[];h.push(u),l.set(p,h)}})}let s=e.draftLocations_.get(t)??$u;for(let l of s)Yr(i,l,o,a)}function Bu(e,t,o){e.callbacks_.push(function(i){let a=t;if(!a||!so(a,i))return;i.mapSetPlugin_?.fixSetContents(a);let s=Xn(a);xc(e,a.draft_??a,s,o),Sc(a,i)})}function Sc(e,t){if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){let{patchPlugin_:n}=t;if(n){let i=n.getPath(e);i&&n.generatePatches_(e,i,t)}bc(e)}}function zu(e,t,o){let{scope_:n}=e;if(Re(o)){let i=o[Q];so(i,n)&&i.callbacks_.push(function(){Kr(e);let s=Xn(i);xc(e,o,s,t)})}else le(o)&&e.callbacks_.push(function(){let a=ke(e);e.type_===3?a.has(o)&&Jr(o,n.handledSet_,n):Gn(a,t,e.type_)===o&&n.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&Jr(Gn(e.copy_,t,e.type_),n.handledSet_,n)})}function Jr(e,t,o){return!o.immer_.autoFreeze_&&o.unfinalizedDrafts_<1||Re(e)||t.has(e)||!le(e)||ao(e)||(t.add(e),to(e,(n,i)=>{if(Re(i)){let a=i[Q];if(so(a,o)){let s=Xn(a);Yr(e,n,s,e.type_),bc(a)}}else le(i)&&Jr(i,t,o)})),e}function Hu(e,t){let o=ro(e),n={type_:o?1:0,scope_:t?t.scope_:gc(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},i=n,a=Qr;o&&(i=[n],a=br);let{revoke:s,proxy:l}=Proxy.revocable(i,a);return n.draft_=l,n.revoke_=s,[l,n]}var Qr={get(e,t){if(t===Q)return e;let o=e.scope_.arrayMethodsPlugin_,n=e.type_===1&&typeof t=="string";if(n&&o?.isArrayOperationMethod(t))return o.createMethodInterceptor(e,t);let i=ke(e);if(!$n(i,t,e.type_))return Vu(e,i,t);let a=i[t];if(e.finalized_||!le(a)||n&&e.operationMethod&&o?.isMutatingArrayMethod(e.operationMethod)&&ku(t))return a;if(a===zn(e.base_,t)||Gu(e,t,a)){Kr(e);let s=e.type_===1?+t:t,l=qn(e.scope_,a,e,s);return e.copy_[s]=l}return a},has(e,t){return t in ke(e)},ownKeys(e){return Reflect.ownKeys(ke(e))},set(e,t,o){let n=Ec(ke(e),t);if(n?.set)return n.set.call(e.draft_,o),!0;if(!e.modified_){let i=zn(ke(e),t),a=i?.[Q];if(a&&a.base_===o)return e.copy_[t]=o,e.assigned_.delete(t),!0;if(Iu(o,i)&&(o!==void 0||$n(e.base_,t,e.type_)))return!0;Kr(e),Zn(e)}return e.copy_[t]===o&&(o!==void 0||$n(e.copy_,t,e.type_))||Number.isNaN(o)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=o,e.assigned_.set(t,!0),zu(e,t,o)),!0},deleteProperty(e,t){return Kr(e),zn(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),Zn(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){let o=ke(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{[jr]:!0,[Hn]:e.type_!==1||t!=="length",[qr]:n[qr],[yr]:o[t]}},defineProperty(){xe(11)},getPrototypeOf(e){return Bt(e.base_)},setPrototypeOf(){xe(12)}},br={};for(let e in Qr){let t=Qr[e];br[e]=function(){let o=arguments;return o[0]=o[0][0],t.apply(this,o)}}br.deleteProperty=function(e,t){return br.set.call(this,e,t,void 0)};br.set=function(e,t,o){return Qr.set.call(this,e[0],t,o,e[0])};function zn(e,t){let o=e[Q];return(o?ke(o):e)[t]}function Gu(e,t,o){return e.type_!==1||!e.allIndicesReassigned_||e.assigned_?.get(t)||!le(o)||o[Q]?!1:e.baseRefs_.has(o)}function Vu(e,t,o){let n=Ec(t,o);return n?yr in n?n[yr]:n.get?.call(e.draft_):void 0}function Ec(e,t){if(!(t in e))return;let o=Bt(e);for(;o;){let n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Bt(o)}}function Zn(e){e.modified_||(e.modified_=!0,e.parent_&&Zn(e.parent_))}function Kr(e){e.copy_||(e.assigned_=new Map,e.copy_=Vn(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Wu=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(t,o,n)=>{if($t(t)&&!$t(o)){let a=o;o=t;let s=this;return function(u=a,...p){return s.produce(u,h=>o.call(this,h,...p))}}$t(o)||xe(6),n!==void 0&&!$t(n)&&xe(7);let i;if(le(t)){let a=uc(this),s=qn(a,t,void 0),l=!0;try{i=o(s),l=!1}finally{l?jn(a):Kn(a)}return dc(a,n),pc(i,a)}else if(!t||!Yn(t)){if(i=o(t),i===void 0&&(i=t),i===hc&&(i=void 0),this.autoFreeze_&&io(i,!0),n){let a=[],s=[];ct(Wn).generateReplacementPatches_(t,i,{patches_:a,inversePatches_:s}),n(a,s)}return i}else xe(1,t)},this.produceWithPatches=(t,o)=>{if($t(t))return(s,...l)=>this.produceWithPatches(s,u=>t(u,...l));let n,i;return[this.produce(t,o,(s,l)=>{n=s,i=l}),n,i]},Bn(e?.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),Bn(e?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),Bn(e?.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){le(e)||xe(8),Re(e)&&(e=vc(e));let t=uc(this),o=qn(t,e,void 0);return o[Q].isManual_=!0,Kn(t),o}finishDraft(e,t){let o=e&&e[Q];(!o||!o.isManual_)&&xe(9);let{scope_:n}=o;return dc(n,t),pc(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let o;for(o=t.length-1;o>=0;o--){let i=t[o];if(i.path.length===0&&i.op==="replace"){e=i.value;break}}o>-1&&(t=t.slice(o+1));let n=ct(Wn).applyPatches_;return Re(e)?n(e,t):this.produce(e,i=>n(i,t))}};function qn(e,t,o,n){let[i,a]=oo(t)?ct(Xr).proxyMap_(t,o):no(t)?ct(Xr).proxySet_(t,o):Hu(t,o);return(o?.scope_??gc()).drafts_.push(i),a.callbacks_=o?.callbacks_??[],a.key_=n,o&&n!==void 0?Bu(o,a,n):a.callbacks_.push(function(u){u.mapSetPlugin_?.fixSetContents(a);let{patchPlugin_:p}=u;a.modified_&&p&&p.generatePatches_(a,[],u)}),i}function vc(e){return Re(e)||xe(10,e),Oc(e)}function Oc(e){if(!le(e)||ao(e))return e;let t=e[Q],o,n=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,o=Vn(e,t.scope_.immer_.useStrictShallowCopy_),n=t.scope_.immer_.shouldUseStrictIteration()}else o=Vn(e,!0);return to(o,(i,a)=>{Yr(o,i,Oc(a))},n),t&&(t.finalized_=!1),o}var ju=globalThis.Iterator,ax=typeof ju?.from=="function";var Ku=new Wu,Jn=Ku.produce;function Cc(e){return({dispatch:o,getState:n})=>i=>a=>typeof a=="function"?a(o,n,e):i(a)}var Ac=Cc(),wc=Cc;var Zu=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?mr:mr.apply(null,arguments)};typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;var qu=e=>e&&typeof e.match=="function";function Ge(e,t){function o(...n){if(t){let i=t(...n);if(!i)throw new Error(_e(0));return{type:e,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:e,payload:n[0]}}return o.toString=()=>`${e}`,o.type=e,o.match=n=>ic(n)&&n.type===e,o}var Nc=class Sr extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,Sr.prototype)}static get[Symbol.species](){return Sr}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new Sr(...t[0].concat(this)):new Sr(...t.concat(this))}};function Rc(e){return le(e)?Jn(e,()=>{}):e}function co(e,t,o){return e.has(t)?e.get(t):e.set(t,o(t)).get(t)}function Yu(e){return typeof e=="boolean"}var Xu=()=>function(t){let{thunk:o=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:a=!0}=t??{},s=new Nc;return o&&(Yu(o)?s.push(Ac):s.push(wc(o.extraArgument))),s},Ju="RTK_autoBatch";var _c=e=>t=>{setTimeout(t,e)},Qu=(e,t)=>o=>{let n=!1,i,a,s=()=>{n||(n=!0,cancelAnimationFrame(i),clearTimeout(a),o())};i=e(s),a=setTimeout(s,t)},ep=(e={type:"raf"})=>t=>(...o)=>{let n=t(...o),i=!0,a=!1,s=!1,l=new Set,u=e.type==="tick"?queueMicrotask:e.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?Qu(window.requestAnimationFrame,100):_c(10):e.type==="callback"?e.queueNotification:_c(e.timeout),p=()=>{s=!1,a&&(a=!1,l.forEach(h=>h()))};return Object.assign({},n,{subscribe(h){let f=()=>i&&h(),m=n.subscribe(f);return l.add(h),()=>{m(),l.delete(h)}},dispatch(h){try{return i=!h?.meta?.[Ju],a=!i,a&&(s||(s=!0,u(p))),n.dispatch(h)}finally{i=!0}}})},tp=e=>function(o){let{autoBatch:n=!0}=o??{},i=new Nc(e);return n&&i.push(ep(typeof n=="object"?n:void 0)),i};function Pc(e){let t=Xu(),{reducer:o=void 0,middleware:n,devTools:i=!0,duplicateMiddlewareCheck:a=!0,preloadedState:s=void 0,enhancers:l=void 0}=e||{},u;if(typeof o=="function")u=o;else if(Vr(o))u=Fn(o);else throw new Error(_e(1));let p;typeof n=="function"?p=n(t):p=t();let h=mr;i&&(h=Zu({trace:!1,...typeof i=="object"&&i}));let f=nc(...p),m=tp(f),b=typeof l=="function"?l(m):m(),S=h(...b);return Un(u,s,S)}function Ic(e){let t={},o=[],n,i={addCase(a,s){let l=typeof a=="string"?a:a.type;if(!l)throw new Error(_e(28));if(l in t)throw new Error(_e(29));return t[l]=s,i},addAsyncThunk(a,s){return s.pending&&(t[a.pending.type]=s.pending),s.rejected&&(t[a.rejected.type]=s.rejected),s.fulfilled&&(t[a.fulfilled.type]=s.fulfilled),s.settled&&o.push({matcher:a.settled,reducer:s.settled}),i},addMatcher(a,s){return o.push({matcher:a,reducer:s}),i},addDefaultCase(a){return n=a,i}};return e(i),[t,o,n]}function rp(e){return typeof e=="function"}function op(e,t){let[o,n,i]=Ic(t),a;if(rp(e))a=()=>Rc(e());else{let l=Rc(e);a=()=>l}function s(l=a(),u){let p=[o[u.type],...n.filter(({matcher:h})=>h(u)).map(({reducer:h})=>h)];return p.filter(h=>!!h).length===0&&(p=[i]),p.reduce((h,f)=>{if(f)if(Re(h)){let m=f(h,u);return m===void 0?h:m}else{if(le(h))return Jn(h,m=>f(m,u));{let m=f(h,u);if(m===void 0){if(h===null)return h;throw new Error(_e(9))}return m}}return h},l)}return s.getInitialState=a,s}var np=(e,t)=>qu(e)?e.match(t):e(t);function ip(...e){return t=>e.some(o=>np(o,t))}var ap="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",sp=(e=21)=>{let t="",o=e;for(;o--;)t+=ap[Math.random()*64|0];return t},cp=["name","message","stack","code"],Qn=class{payload;meta;_type;constructor(e,t){this.payload=e,this.meta=t}},Tc=class{payload;meta;_type;constructor(e,t){this.payload=e,this.meta=t}},lp=e=>{if(typeof e=="object"&&e!==null){let t={};for(let o of cp)typeof e[o]=="string"&&(t[o]=e[o]);return t}return{message:String(e)}},Lc="External signal was aborted",dp=(()=>{function e(t,o,n){let i=Ge(t+"/fulfilled",(u,p,h,f)=>({payload:u,meta:{...f||{},arg:h,requestId:p,requestStatus:"fulfilled"}})),a=Ge(t+"/pending",(u,p,h)=>({payload:void 0,meta:{...h||{},arg:p,requestId:u,requestStatus:"pending"}})),s=Ge(t+"/rejected",(u,p,h,f,m)=>({payload:f,error:(n&&n.serializeError||lp)(u||"Rejected"),meta:{...m||{},arg:h,requestId:p,rejectedWithValue:f!==void 0,requestStatus:"rejected",aborted:u?.name==="AbortError",condition:u?.name==="ConditionError"}}));function l(u,{signal:p}={}){return(h,f,m)=>{let b=n?.idGenerator?n.idGenerator(u):sp(),S=new AbortController,A,E;function w(g){E=g,S.abort()}p&&(p.aborted?w(Lc):p.addEventListener("abort",()=>w(Lc),{once:!0}));let P=(async function(){let g;try{let y=n?.condition?.(u,{getState:f,extra:m});if(pp(y)&&(y=await y),y===!1)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};if(S.signal.aborted)throw{name:"AbortError",message:E||"Aborted"};let x=new Promise((O,T)=>{A=()=>{T({name:"AbortError",message:E||"Aborted"})},S.signal.addEventListener("abort",A,{once:!0})});h(a(b,u,n?.getPendingMeta?.({requestId:b,arg:u},{getState:f,extra:m}))),g=await Promise.race([x,Promise.resolve(o(u,{dispatch:h,getState:f,extra:m,requestId:b,signal:S.signal,abort:w,rejectWithValue:((O,T)=>new Qn(O,T)),fulfillWithValue:((O,T)=>new Tc(O,T))})).then(O=>{if(O instanceof Qn)throw O;return O instanceof Tc?i(O.payload,b,u,O.meta):i(O,b,u)})])}catch(y){g=y instanceof Qn?s(null,b,u,y.payload,y.meta):s(y,b,u)}finally{A&&S.signal.removeEventListener("abort",A)}return n&&!n.dispatchConditionRejection&&s.match(g)&&g.meta.condition||h(g),g})();return Object.assign(P,{abort:w,requestId:b,arg:u,unwrap(){return P.then(up)}})}}return Object.assign(l,{pending:a,rejected:s,fulfilled:i,settled:ip(s,i),typePrefix:t})}return e.withTypes=()=>e,e})();function up(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function pp(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var kc=Symbol.for("rtk-slice-createasyncthunk"),hx={[kc]:dp};function fp(e,t){return`${e}/${t}`}function hp({creators:e}={}){let t=e?.asyncThunk?.[kc];return function(n){let{name:i,reducerPath:a=i}=n;if(!i)throw new Error(_e(11));typeof process<"u";let s=(typeof n.reducers=="function"?n.reducers(yp()):n.reducers)||{},l=Object.keys(s),u={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},p={addCase(g,y){let x=typeof g=="string"?g:g.type;if(!x)throw new Error(_e(12));if(x in u.sliceCaseReducersByType)throw new Error(_e(13));return u.sliceCaseReducersByType[x]=y,p},addMatcher(g,y){return u.sliceMatchers.push({matcher:g,reducer:y}),p},exposeAction(g,y){return u.actionCreators[g]=y,p},exposeCaseReducer(g,y){return u.sliceCaseReducersByName[g]=y,p}};l.forEach(g=>{let y=s[g],x={reducerName:g,type:fp(i,g),createNotation:typeof n.reducers=="function"};bp(y)?Sp(x,y,p,t):gp(x,y,p)});function h(){let[g={},y=[],x=void 0]=typeof n.extraReducers=="function"?Ic(n.extraReducers):[n.extraReducers],O={...g,...u.sliceCaseReducersByType};return op(n.initialState,T=>{for(let F in O)T.addCase(F,O[F]);for(let F of u.sliceMatchers)T.addMatcher(F.matcher,F.reducer);for(let F of y)T.addMatcher(F.matcher,F.reducer);x&&T.addDefaultCase(x)})}let f=g=>g,m=new Map,b=new WeakMap,S;function A(g,y){return S||(S=h()),S(g,y)}function E(){return S||(S=h()),S.getInitialState()}function w(g,y=!1){function x(T){let F=T[g];return typeof F>"u"&&y&&(F=co(b,x,E)),F}function O(T=f){return co(co(m,y,()=>new WeakMap),T,()=>{let F={};for(let[j,_]of Object.entries(n.selectors??{}))F[j]=mp(_,T,()=>co(b,T,E),y);return F})}return{reducerPath:g,getSelectors:O,get selectors(){return O(x)},selectSlice:x}}let P={name:i,reducer:A,actions:u.actionCreators,caseReducers:u.sliceCaseReducersByName,getInitialState:E,...w(a),injectInto(g,{reducerPath:y,...x}={}){let O=y??a;return g.inject({reducerPath:O,reducer:A},x),{...P,...w(O,!0)}}};return P}}function mp(e,t,o,n){function i(a,...s){let l=t(a);return typeof l>"u"&&n&&(l=o()),e(l,...s)}return i.unwrapped=e,i}var Dc=hp();function yp(){function e(t,o){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...o}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...o){return t(...o)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,o){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:o}},asyncThunk:e}}function gp({type:e,reducerName:t,createNotation:o},n,i){let a,s;if("reducer"in n){if(o&&!xp(n))throw new Error(_e(17));a=n.reducer,s=n.prepare}else a=n;i.addCase(e,a).exposeCaseReducer(t,a).exposeAction(t,s?Ge(e,s):Ge(e))}function bp(e){return e._reducerDefinitionType==="asyncThunk"}function xp(e){return e._reducerDefinitionType==="reducerWithPrepare"}function Sp({type:e,reducerName:t},o,n,i){if(!i)throw new Error(_e(18));let{payloadCreator:a,fulfilled:s,pending:l,rejected:u,settled:p,options:h}=o,f=i(e,a,h);n.exposeAction(t,f),s&&n.addCase(f.fulfilled,s),l&&n.addCase(f.pending,l),u&&n.addCase(f.rejected,u),p&&n.addMatcher(f.settled,p),n.exposeCaseReducer(t,{fulfilled:s||lo,pending:l||lo,rejected:u||lo,settled:p||lo})}function lo(){}var Mc="listener",Uc="completed",Fc="cancelled",mx=`task-${Fc}`,yx=`task-${Uc}`,gx=`${Mc}-${Fc}`,bx=`${Mc}-${Uc}`;var{assign:$c}=Object;var ei="listenerMiddleware";var Ep=$c(Ge(`${ei}/add`),{withTypes:()=>Ep}),xx=Ge(`${ei}/removeAll`),vp=$c(Ge(`${ei}/remove`),{withTypes:()=>vp});function _e(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}window.ftReduxStores||(window.ftReduxStores={});var ti=class e extends Je{static get(t){var o;let n=typeof t=="string"?t:t.name,i=typeof t=="string"?void 0:t,a=window.ftReduxStores[n];if(Ft(a))return a;if(i==null)return;let s=Dc({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),l=Pc({reducer:(u,p)=>{if(p.type==="CLEAR_FT_REDUX_STORE"){let h=_t(s.getInitialState());for(let f of p.keeping)h[f]=(u??h)[f];return h}else if(typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...u,...p.overwrites};return s.reducer(u,p)}});return window.ftReduxStores[i.name]=new e(s,l,i.eventBus)}constructor(t,o,n){super(),this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new fr,this.injectInto=(a,s)=>this.reduxSlice.injectInto(a,s),this.selectSlice=a=>this.reduxSlice.selectSlice(a);let i=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,l)=>{let u=s,p=a[u];return p?(...h)=>{let f=p(...h.map(i));return this.reduxStore.dispatch(f),f}:h=>{let f=u,m=this.getState()[f];me(m,h)||this.setState({[f]:i(h)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...t){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:t})}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()}get selectors(){return this.reduxSlice.selectors}get reducerPath(){return this.reduxSlice.reducerPath}getSelectors(){return this.reduxSlice.getSelectors()}};function Op(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))Ft(t)&&t.clear()}var uo=class{constructor(t,o,n){this.store=t,this.valueSelector=o,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let t=this.store.getState(),o=this.valueSelector(t);Fe(this.lastValue,o)&&(this.callback(o,t),this.lastValue=o)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function Cp(e,t,o){return new uo(e,t,o).watch()}var ri=class{constructor(){this.requestConsumers=new Map}getOrCreateRequestConsumers(t){var o;return(o=this.requestConsumers.get(t))!==null&&o!==void 0?o:this.requestConsumers.set(t,new Set).get(t)}registerComponent(t,o){for(let n of o)this.getOrCreateRequestConsumers(n).add(t).size==1&&this.onNewNeededRequest(n)}unregisterComponent(t,o){for(let n of o)this.getOrCreateRequestConsumers(n).delete(t)}isRequestNeeded(t){return this.getOrCreateRequestConsumers(t).size>0}};var ai={};I(ai,{scrollHelper:()=>Ap});var ni,po=new Map,ii=class{lock(t,o){if(o){let n=po.get(o);if(n==null||n===t)return po.set(o,t),o}}release(t,o){o&&po.get(o)===t&&po.delete(o)}findFirstScrollableParent(t){var o;let n,i;for(let a of Bo(t)){let s=a,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){n=s;break}else l&&i==null&&(i=s)}return(o=n??i)!==null&&o!==void 0?o:document.body}elementCanScroll(t){try{return["auto","scroll"].includes(getComputedStyle(t).overflowY)&&!["contents"].includes(getComputedStyle(t).display)}catch{return!1}}getAbsoluteScrollOffset(t,o){var n,i;let a=0;for(;o&&o.offsetParent!==t.offsetParent;)a+=(n=o.offsetTop)!==null&&n!==void 0?n:0,o=o.offsetParent;return a+((i=o?.offsetTop)!==null&&i!==void 0?i:0)-t.offsetTop}computeTopOffsetRatio(t,o){if(typeof t=="number")return t;switch(t){case"end":return 1;case"center":return .5;case"nearest":return o;default:return 0}}scrollIntoViewIfPossible(t,o){let n=this.findFirstScrollableParent(t);if(t&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,t),a=i-n.clientHeight+t.clientHeight,s=i,l=Xe(0,(s-n.scrollTop)/(s-a),1),u=this.computeTopOffsetRatio(o?.position,l)*(a-s)+s;n.scrollTo({behavior:o?.behavior,top:u})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",t,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(ni=window.FluidTopicsScrollHelper)!==null&&ni!==void 0?ni:new ii;var Ap=window.FluidTopicsScrollHelper;var ci={};I(ci,{toFtFormComponent:()=>wp});var si=Symbol("elementInternals"),wp=se(Symbol("toFtFormComponent"),function(e){class t extends e{static get formAssociated(){return!0}get form(){return this[si].form}constructor(...n){super(n),this[si]=this.attachInternals()}setFormValue(n){this[si].setFormValue(n)}}return t});var di={};I(di,{DateFormatter:()=>li});var li=class{static format(t,o,n,i,a){return window.moment?window.moment(t).locale(o).format(this.getMomentDateFormat(n,i,!!a)):this.getIntlDateTime(t,o,n,i,!!a)}static getMomentDateFormat(t,o,n){return n?"LT":t?o?"lll":"ll":o?"L LT":"L"}static getIntlDateTime(t,o,n,i,a){let s=typeof t=="string"?new Date(t):t,l=new Intl.DateTimeFormat(o,{dateStyle:n?"medium":"short"}).format(s),u=new Intl.DateTimeFormat(o,{timeStyle:"short"}).format(s);return a?u:i?`${l} ${u}`:l}static getTimezoneAsString(){let t=n=>String(Math.floor(n)).padStart(2,"0"),o=new Date().getTimezoneOffset();return`${o<0?"+":"-"}${t(Math.abs(o)/60)}:${t(Math.abs(o)%60)}`}};var pi={};I(pi,{ALL_KEYS_VALUE:()=>ui,SameWindowStorageEvent:()=>zt});var ui="__all__",zt=class extends CustomEvent{constructor(t,o,n){super("same-window-storage",{detail:{key:t,oldValue:o,newValue:n}})}keyMatch(t){return this.detail.key.includes(t)||this.detail.key==ui}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(e,t,o){let n=t.getItem(o[0]);Reflect.apply(e,t,o),window.dispatchEvent(new zt(o[0],n,o[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(e,t,o){let n=t.getItem(o[0]);Reflect.apply(e,t,o),window.dispatchEvent(new zt(o[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(e,t,o){Reflect.apply(e,t,o),window.dispatchEvent(new zt(ui))}});var hi={};I(hi,{FocusMainContentEvent:()=>fi});var fi=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var Bc={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function Rp(e){(e.key==="Enter"||e.key===" "||e.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=e.key}function _p(e){window.FluidTopicsA11yHints.isKeyboardNavigation=e.detail==0}document.addEventListener("keydown",Rp);document.addEventListener("click",_p);var zc=N`
48
48
  .sr-only {
49
49
  position:absolute;
50
50
  left:-10000px;
@@ -68,20 +68,20 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
68
68
  width:auto;
69
69
  height:auto;
70
70
  }
71
- `;var hi={};I(hi,{withAriaNotification:()=>Lp});var Tp={checkVisibility:!0},Lp=se(Symbol("withAriaNotification"),function(e){class t extends e{sendAriaNotification(n,i){let{checkVisibility:a}={...Tp,...i};setTimeout(()=>{(!a||this.checkVisibility())&&(n=typeof n=="string"?n:n?.message,n&&this.dispatchEvent(new tr({type:"aria",message:n})))},20)}}return t});var mi={};I(mi,{withConditionalVisibility:()=>Np});var Hc=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a};function Np(e){class t extends e{constructor(){super(...arguments),this.forceVisible=!1,this.isVisible=!0,this.isElementWithConditionalVisibility=!0}calculateStyles(n,i){if(n){let a=document.createElement("style");a.classList.add("conditional-visibility-style"),a.innerHTML=i,this.shadowRoot.append(a)}}hideIfNecessary(){let n=!(this.forceVisible||this.isVisible);this.calculateStyles(n,":host { display: none !important; }")}highlightIfForceVisible(){this.calculateStyles(this.forceVisible,":host { box-shadow: 0px 0px 0px 8px rgba(227,119,59,0.4) inset; }")}willUpdate(n){super.willUpdate(n),this.updateComplete.then(()=>{this.shadowRoot.querySelectorAll(".conditional-visibility-style").forEach(i=>i.remove()),this.hideIfNecessary(),this.highlightIfForceVisible()})}}return Hc([O({type:Boolean,attribute:!1})],t.prototype,"forceVisible",void 0),Hc([$()],t.prototype,"isVisible",void 0),t}var gi={};I(gi,{FormController:()=>yi});function Pp(e){let t={};for(let o of Object.keys(e))t[o]=e[o].initial;return t}var yi=class{constructor(t,o){this.host=t,this.config=o,this.errors=new Map,this.submitting=!1,t.addController(this),this.initial=Pp(o),this.data={...this.initial}}hostDisconnected(){this.submitting=!1}get values(){return this.data}get fields(){return Object.keys(this.config)}get isSubmitting(){return this.submitting}get inError(){return this.errors.size>0}value(t){return this.data[t]}hasError(t){return this.errors.has(t)}errorFor(t){return this.errors.get(t)}setValue(t,o){if(this.data[t]===o)return;let n={...this.data};n[t]=o,this.data=n,this.checkValidity()}bind(t){return o=>this.setValue(t,o.detail)}setInitialValues(t){this.initial={...t},this.reset()}reset(){this.data={...this.initial},this.errors.clear(),this.submitting=!1,this.host.requestUpdate()}validateField(t,o){var n,i;let a=(i=(n=this.config[t]).validator)===null||i===void 0?void 0:i.call(n,this.value(t),this.data,o);a!==void 0&&this.errors.set(t,a)}checkValidity(t){return this.errors.clear(),this.fields.forEach(o=>{this.validateField(o,t)}),this.host.requestUpdate(),!this.inError}get firstFieldSelectorInError(){for(let t of this.fields){let o=this.config[t].selector;if(this.errors.has(t)&&o!==void 0)return o}}focusFirstFieldInError(){let t=this.firstFieldSelectorInError;if(t===void 0)return;let o=this.host.renderRoot.querySelector(t);o instanceof HTMLElement&&o.focus()}async submit(t){var o,n,i;if(!this.submitting){this.submitting=!0,this.host.requestUpdate();try{if(!this.checkValidity()){this.focusFirstFieldInError(),(o=t.onInvalid)===null||o===void 0||o.call(t);return}t.onSuccess(await t.request(this.data))}catch(a){let s=Ko(a)?a:void 0;if(!this.checkValidity(s)){this.focusFirstFieldInError(),(n=t.onInvalid)===null||n===void 0||n.call(t);return}(i=t.onFailure)===null||i===void 0||i.call(t,s)}finally{this.submitting=!1,this.host.requestUpdate()}}}};var xi={};I(xi,{MetadataValueLocalizer:()=>bi});var bi=class{constructor(t){this.contentLocales=t}localize(t){var o,n;return t?.key!=="ft:locale"?t:{...t,displayValue:(o=this.findLocaleValue(t))!==null&&o!==void 0?o:t.displayValue,displayTooltipValue:(n=this.findLocaleValue(t))!==null&&n!==void 0?n:t.displayTooltipValue}}findLocaleValue(t){var o;return(o=this.contentLocales.find(n=>n.lang===t.value))===null||o===void 0?void 0:o.label}};function Si(e,t){return t.map(o=>o(e)).filter(o=>o!==!0).map(o=>o)}function lt(e,t,o){return e?t(e):o?.(e)}var Y=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},dt;(function(e){e.blur="blur",e.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",e.input="input"})(dt||(dt={}));var Ve;(function(e){e.default="default",e.warning="warning",e.error="error"})(Ve||(Ve={}));var Ei=class extends CustomEvent{constructor(t){super("input-validated",{detail:{level:t}})}};var i0=se(Symbol("toFtInput"),function(e){class t extends e{constructor(){super(...arguments),this.warningRules=[],this.errorRules=[],this.validateOn=dt.blurWithStatusResolutionOnInput,this.validateAtRender=!1,this.label="",this.hideLabel=!1,this.name="",this.disabled=!1,this.errorMessages=[],this.warningMessages=[],this.status=Ve.default,this.focused=!1,this.additionalWarningRules=[],this.additionalErrorRules=[],this.forceErrorMessages=[]}connectedCallback(){super.connectedCallback(),this.validateAtRender&&this.triggerValidation()}onBlur(){this.focused=!1,(this.validateOn===dt.blur||this.validateOn===dt.blurWithStatusResolutionOnInput)&&this.triggerValidation()}onFocus(){this.focused=!0}onInput(){this.forceErrorMessages.length&&(this.forceErrorMessages=[]),(this.status!==Ve.default&&this.validateOn===dt.blurWithStatusResolutionOnInput||this.validateOn===dt.input)&&this.triggerValidation()}triggerValidation(){this.errorMessages=[...this.forceErrorMessages,...Si(this.value,[...this.errorRules,...this.additionalErrorRules])],this.warningMessages=Si(this.value,[...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new Ei(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return j`
71
+ `;var mi={};I(mi,{withAriaNotification:()=>Lp});var Tp={checkVisibility:!0},Lp=se(Symbol("withAriaNotification"),function(e){class t extends e{sendAriaNotification(n,i){let{checkVisibility:a}={...Tp,...i};setTimeout(()=>{(!a||this.checkVisibility())&&(n=typeof n=="string"?n:n?.message,n&&this.dispatchEvent(new tr({type:"aria",message:n})))},20)}}return t});var yi={};I(yi,{withConditionalVisibility:()=>Np});var Hc=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a};function Np(e){class t extends e{constructor(){super(...arguments),this.forceVisible=!1,this.isVisible=!0,this.isElementWithConditionalVisibility=!0}calculateStyles(n,i){if(n){let a=document.createElement("style");a.classList.add("conditional-visibility-style"),a.innerHTML=i,this.shadowRoot.append(a)}}hideIfNecessary(){let n=!(this.forceVisible||this.isVisible);this.calculateStyles(n,":host { display: none !important; }")}highlightIfForceVisible(){this.calculateStyles(this.forceVisible,":host { box-shadow: 0px 0px 0px 8px rgba(227,119,59,0.4) inset; }")}willUpdate(n){super.willUpdate(n),this.updateComplete.then(()=>{this.shadowRoot.querySelectorAll(".conditional-visibility-style").forEach(i=>i.remove()),this.hideIfNecessary(),this.highlightIfForceVisible()})}}return Hc([C({type:Boolean,attribute:!1})],t.prototype,"forceVisible",void 0),Hc([$()],t.prototype,"isVisible",void 0),t}var bi={};I(bi,{FormController:()=>gi});function Pp(e){let t={};for(let o of Object.keys(e))t[o]=e[o].initial;return t}var gi=class{constructor(t,o){this.host=t,this.config=o,this.errors=new Map,this.submitting=!1,t.addController(this),this.initial=Pp(o),this.data={...this.initial}}hostDisconnected(){this.submitting=!1}get values(){return this.data}get fields(){return Object.keys(this.config)}get isSubmitting(){return this.submitting}get inError(){return this.errors.size>0}value(t){return this.data[t]}hasError(t){return this.errors.has(t)}errorFor(t){return this.errors.get(t)}setValue(t,o){if(this.data[t]===o)return;let n={...this.data};n[t]=o,this.data=n,this.checkValidity()}bind(t){return o=>this.setValue(t,o.detail)}setInitialValues(t){this.initial={...t},this.reset()}reset(){this.data={...this.initial},this.errors.clear(),this.submitting=!1,this.host.requestUpdate()}validateField(t,o){var n,i;let a=(i=(n=this.config[t]).validator)===null||i===void 0?void 0:i.call(n,this.value(t),this.data,o);a!==void 0&&this.errors.set(t,a)}checkValidity(t){return this.errors.clear(),this.fields.forEach(o=>{this.validateField(o,t)}),this.host.requestUpdate(),!this.inError}get firstFieldSelectorInError(){for(let t of this.fields){let o=this.config[t].selector;if(this.errors.has(t)&&o!==void 0)return o}}focusFirstFieldInError(){let t=this.firstFieldSelectorInError;if(t===void 0)return;let o=this.host.renderRoot.querySelector(t);o instanceof HTMLElement&&o.focus()}async submit(t){var o,n,i;if(!this.submitting){this.submitting=!0,this.host.requestUpdate();try{if(!this.checkValidity()){this.focusFirstFieldInError(),(o=t.onInvalid)===null||o===void 0||o.call(t);return}t.onSuccess(await t.request(this.data))}catch(a){let s=Zo(a)?a:void 0;if(!this.checkValidity(s)){this.focusFirstFieldInError(),(n=t.onInvalid)===null||n===void 0||n.call(t);return}(i=t.onFailure)===null||i===void 0||i.call(t,s)}finally{this.submitting=!1,this.host.requestUpdate()}}}};var Si={};I(Si,{MetadataValueLocalizer:()=>xi});var xi=class{constructor(t){this.contentLocales=t}localize(t){var o,n;return t?.key!=="ft:locale"?t:{...t,displayValue:(o=this.findLocaleValue(t))!==null&&o!==void 0?o:t.displayValue,displayTooltipValue:(n=this.findLocaleValue(t))!==null&&n!==void 0?n:t.displayTooltipValue}}findLocaleValue(t){var o;return(o=this.contentLocales.find(n=>n.lang===t.value))===null||o===void 0?void 0:o.label}};function Ei(e,t){return t.map(o=>o(e)).filter(o=>o!==!0).map(o=>o)}function lt(e,t,o){return e?t(e):o?.(e)}var Y=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},dt;(function(e){e.blur="blur",e.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",e.input="input"})(dt||(dt={}));var Ve;(function(e){e.default="default",e.warning="warning",e.error="error"})(Ve||(Ve={}));var vi=class extends CustomEvent{constructor(t){super("input-validated",{detail:{level:t}})}};var n0=se(Symbol("toFtInput"),function(e){class t extends e{constructor(){super(...arguments),this.warningRules=[],this.errorRules=[],this.validateOn=dt.blurWithStatusResolutionOnInput,this.validateAtRender=!1,this.label="",this.hideLabel=!1,this.name="",this.disabled=!1,this.errorMessages=[],this.warningMessages=[],this.status=Ve.default,this.focused=!1,this.additionalWarningRules=[],this.additionalErrorRules=[],this.forceErrorMessages=[]}connectedCallback(){super.connectedCallback(),this.validateAtRender&&this.triggerValidation()}onBlur(){this.focused=!1,(this.validateOn===dt.blur||this.validateOn===dt.blurWithStatusResolutionOnInput)&&this.triggerValidation()}onFocus(){this.focused=!0}onInput(){this.forceErrorMessages.length&&(this.forceErrorMessages=[]),(this.status!==Ve.default&&this.validateOn===dt.blurWithStatusResolutionOnInput||this.validateOn===dt.input)&&this.triggerValidation()}triggerValidation(){this.errorMessages=[...this.forceErrorMessages,...Ei(this.value,[...this.errorRules,...this.additionalErrorRules])],this.warningMessages=Ei(this.value,[...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new vi(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return W`
72
72
  <ul aria-live="polite" id="${this.messagesForScreenReaderElementId}"
73
73
  style="position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden;list-style:none;">
74
- ${wt(this.errorMessages,n=>j`
74
+ ${wt(this.errorMessages,n=>W`
75
75
  <li>${n}</li>
76
76
  `)}
77
- ${wt(this.warningMessages,n=>j`
77
+ ${wt(this.warningMessages,n=>W`
78
78
  <li>${n}</li>
79
79
  `)}
80
- ${lt(!this.errorMessages.length&&!this.warningMessages.length&&this.helperText,()=>j`
80
+ ${lt(!this.errorMessages.length&&!this.warningMessages.length&&this.helperText,()=>W`
81
81
  <li>${this.helperText}</li>
82
82
  `)}
83
83
  </ul>
84
- `}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?Ve.error:this.warningMessages.length?Ve.warning:Ve.default}}return Y([O()],t.prototype,"warningRules",void 0),Y([O()],t.prototype,"errorRules",void 0),Y([O()],t.prototype,"validateOn",void 0),Y([O({type:Boolean})],t.prototype,"validateAtRender",void 0),Y([O()],t.prototype,"label",void 0),Y([O({type:Boolean})],t.prototype,"hideLabel",void 0),Y([O()],t.prototype,"name",void 0),Y([O({type:Boolean})],t.prototype,"disabled",void 0),Y([O()],t.prototype,"helperText",void 0),Y([O()],t.prototype,"forceStatus",void 0),Y([O({reflect:!0})],t.prototype,"value",void 0),Y([$()],t.prototype,"errorMessages",void 0),Y([$()],t.prototype,"warningMessages",void 0),Y([$()],t.prototype,"status",void 0),Y([$()],t.prototype,"focused",void 0),Y([$()],t.prototype,"additionalWarningRules",void 0),Y([$()],t.prototype,"additionalErrorRules",void 0),Y([$()],t.prototype,"forceErrorMessages",void 0),t});var Er=(e,t)=>{let o=e._$AN;if(o===void 0)return!1;for(let n of o)n._$AO?.(t,!1),Er(n,t);return!0},po=e=>{let t,o;do{if((t=e._$AM)===void 0)break;o=t._$AN,o.delete(e),e=t}while(o?.size===0)},Gc=e=>{for(let t;t=e._$AM;e=t){let o=t._$AN;if(o===void 0)t._$AN=o=new Set;else if(o.has(e))break;o.add(e),Mp(t)}};function kp(e){this._$AN!==void 0?(po(this),this._$AM=e,Gc(this)):this._$AM=e}function Dp(e,t=!1,o=0){let n=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(t)if(Array.isArray(n))for(let a=o;a<n.length;a++)Er(n[a],!1),po(n[a]);else n!=null&&(Er(n,!1),po(n));else Er(this,e)}var Mp=e=>{e.type==Oe.CHILD&&(e._$AP??=Dp,e._$AQ??=kp)},Ht=class extends pe{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,o,n){super._$AT(t,o,n),Gc(this),this.isConnected=t._$AU}_$AO(t,o=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),o&&(Er(this,t),po(this))}setValue(t){if(Xi(this._$Ct))this._$Ct._$AI(t,this);else{let o=[...this._$Ct._$AH];o[this._$Ci]=t,this._$Ct._$AI(o,this,0)}}disconnected(){}reconnected(){}};var vi=class extends Ht{get element(){var t;return(t=this.part)===null||t===void 0?void 0:t.element}constructor(t){super(t),this.onFirstTrapFocus=async o=>{if(!this.element||!o.relatedTarget)return;let n=o.relatedTarget;this.isInsideElement(n,this.element)?await this.focusLastDescendant(this.element):await this.focusFirstDescendant(this.element)},this.onLastTrapFocus=async o=>{if(!this.element||!o.relatedTarget)return;let n=o.relatedTarget;this.isInsideElement(n,this.element)?await this.focusFirstDescendant(this.element):await this.focusLastDescendant(this.element)}}render(){return Z}update(t){return this.part=t,this.ensureFocusTrap(t.element),Z}reconnected(){var t;this.ensureFocusTrap((t=this.part)===null||t===void 0?void 0:t.element)}disconnected(){this.removeFocusTrap()}ensureFocusTrap(t){var o,n;this.isElementTrappable(t)&&(((o=this.firstTrap)===null||o===void 0?void 0:o.parentElement)===t&&((n=this.lastTrap)===null||n===void 0?void 0:n.parentElement)===t||(this.removeFocusTrap(),this.createFocusTrap(t)))}removeFocusTrap(){var t,o,n,i;(t=this.firstTrap)===null||t===void 0||t.removeEventListener("focus",this.onFirstTrapFocus),(o=this.lastTrap)===null||o===void 0||o.removeEventListener("focus",this.onLastTrapFocus),(n=this.firstTrap)===null||n===void 0||n.remove(),(i=this.lastTrap)===null||i===void 0||i.remove(),this.firstTrap=void 0,this.lastTrap=void 0}isElementTrappable(t){return!!t&&t instanceof HTMLElement&&t.childElementCount>0}createFocusTrap(t){this.firstTrap=this.createTrap(),this.lastTrap=this.createTrap(),t.insertBefore(this.firstTrap,t.firstChild),t.appendChild(this.lastTrap),this.lastTrap.addEventListener("focus",this.onLastTrapFocus),this.firstTrap.addEventListener("focus",this.onFirstTrapFocus)}createTrap(){let t=document.createElement("div");return t.tabIndex=0,t}getChildren(t){return t instanceof HTMLSlotElement?t.assignedElements():t.shadowRoot?t.shadowRoot.children:t.children}async focusFirstDescendant(t){await this.updateCompleteIfNecessary(t);let o=this.getChildren(t);for(let n=0;n<o.length;n++){let i=o[n];if(i instanceof HTMLElement&&(this.attemptFocus(i)||await this.focusFirstDescendant(i)))return!0}return!1}async focusLastDescendant(t){await this.updateCompleteIfNecessary(t);let o=this.getChildren(t);for(let n=o.length-1;n>=0;n--){let i=o[n];if(i instanceof HTMLElement&&(this.attemptFocus(i)||await this.focusLastDescendant(i)))return!0}return!1}async updateCompleteIfNecessary(t){t instanceof ue&&await t.updateComplete}isInsideElement(t,o){for(let n=t;n;n=n.parentNode){if(n===o)return!0;n instanceof ShadowRoot?n=n.host:n.assignedSlot&&(n=n.assignedSlot)}return!1}attemptFocus(t){return t===this.firstTrap||t===this.lastTrap||!this.isFocusable(t)?!1:(t.focus(),!0)}isFocusable(t){return!t.checkVisibility()||this.isElementDisabled(t)?!1:t instanceof HTMLAnchorElement?!!t.href&&t.rel!=="ignore":t instanceof HTMLInputElement?t.type!=="hidden":t.tabIndex>=0}isElementDisabled(t){return"disabled"in t&&!!t.disabled}},N0=ae(vi);var Vc;(function(e){e.sm="sm",e.md="md",e.lg="lg",e.xl="xl"})(Vc||(Vc={}));var Up={sm:640,md:768,lg:1024,xl:1280},Oi=class extends Ht{constructor(t){super(t),this.size=0,this.onResize=()=>{let o=window.innerWidth;this.size!==o&&(this.size=o,this.lastArgs&&this.setValue(this.render(...this.lastArgs)))},this.size=window.innerWidth,window.addEventListener("resize",this.onResize)}disconnected(){window.removeEventListener("resize",this.onResize)}reconnected(){window.addEventListener("resize",this.onResize)}update(t,[o,n,i]){return this.lastArgs=[o,n,i],this.render(o,n,i)}render(t,o,n){let i=this.resolveThreshold(t),a=n??(()=>U);return this.size>i?o():a()}resolveThreshold(t){return typeof t=="number"?t:Up[t]}},D0=ae(Oi);var Ci,Ai,wi,Ri,Fp=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((wi=(Ai=(Ci=window.safari)===null||Ci===void 0?void 0:Ci.pushNotification)===null||Ai===void 0?void 0:Ai.toString())!==null&&wi!==void 0?wi:"")==="[object SafariRemoteNotification]",$p="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Ri=window.ftGlobals)!==null&&Ri!==void 0?Ri:{lit:Ro,litDecorators:_o,litRepeat:To,litClassMap:Lo,litStyleMap:No,litUnsafeHTML:Io,wcUtils:{...ko,...Wo,...Mo,...en,...li,...tn,...Uo,...an,...Go,...Sn,...fi,...Bc,...ii,...En,...nn,...Rn,...si,...An,...hi,...mi,...Js,...Bo,...Tn,...xi,...sn,...Nn,...zc,...ec,...In,...ri,...ui,...vn,...Cn,...Zo,...Xo,...gi,isSafari:Fp,isTouchScreen:$p,setVariable:z}};var _i=e=>e??U;var jc=Symbol.for(""),Bp=e=>{if(e?.r===jc)return e?._$litStatic$},Ti=e=>({_$litStatic$:e,r:jc});var Wc=new Map,Li=e=>(t,...o)=>{let n=o.length,i,a,s=[],l=[],u,p=0,h=!1;for(;p<n;){for(u=t[p];p<n&&(a=o[p],(i=Bp(a))!==void 0);)u+=i+t[++p],h=!0;p!==n&&l.push(a),s.push(u),p++}if(p===n&&s.push(t[n]),h){let f=s.join("$$lit$$");(t=Wc.get(f))===void 0&&(s.raw=s,Wc.set(f,t=s)),o=l}return e(t,...o)},Ni=Li(j),$S=Li(vo),BS=Li(Oo);var ut;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button"})(ut||(ut={}));var Kc=r.extend("--ft-typography-font-family","",B.titleFont),De=r.extend("--ft-typography-font-family","",B.contentFont),w={fontFamily:De,fontSize:r.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:r.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:r.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:r.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:r.create("--ft-typography-text-transform","","UNKNOWN","inherit"),textDecoration:r.create("--ft-typography-text-decoration","","UNKNOWN","inherit")},pt={fontFamily:r.extend("--ft-typography-title-font-family","",Kc),fontSize:r.extend("--ft-typography-title-font-size","",w.fontSize,"20px"),fontWeight:r.extend("--ft-typography-title-font-weight","",w.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-letter-spacing","",w.letterSpacing,"0.15px"),lineHeight:r.extend("--ft-typography-title-line-height","",w.lineHeight,"1.2"),textTransform:r.extend("--ft-typography-title-text-transform","",w.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-title-text-decoration","",w.textDecoration,"inherit")},ft={fontFamily:r.extend("--ft-typography-title-dense-font-family","",Kc),fontSize:r.extend("--ft-typography-title-dense-font-size","",w.fontSize,"14px"),fontWeight:r.extend("--ft-typography-title-dense-font-weight","",w.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-dense-letter-spacing","",w.letterSpacing,"0.105px"),lineHeight:r.extend("--ft-typography-title-dense-line-height","",w.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-title-dense-text-transform","",w.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-title-dense-text-decoration","",w.textDecoration,"inherit")},ht={fontFamily:r.extend("--ft-typography-subtitle1-font-family","",De),fontSize:r.extend("--ft-typography-subtitle1-font-size","",w.fontSize,"16px"),fontWeight:r.extend("--ft-typography-subtitle1-font-weight","",w.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-subtitle1-letter-spacing","",w.letterSpacing,"0.144px"),lineHeight:r.extend("--ft-typography-subtitle1-line-height","",w.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-subtitle1-text-transform","",w.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-subtitle1-text-decoration","",w.textDecoration,"inherit")},mt={fontFamily:r.extend("--ft-typography-subtitle2-font-family","",De),fontSize:r.extend("--ft-typography-subtitle2-font-size","",w.fontSize,"14px"),fontWeight:r.extend("--ft-typography-subtitle2-font-weight","",w.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-subtitle2-letter-spacing","",w.letterSpacing,"0.098px"),lineHeight:r.extend("--ft-typography-subtitle2-line-height","",w.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-subtitle2-text-transform","",w.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-subtitle2-text-decoration","",w.textDecoration,"inherit")},_e={fontFamily:r.extend("--ft-typography-body1-font-family","",De),fontSize:r.extend("--ft-typography-body1-font-size","",w.fontSize,"16px"),fontWeight:r.extend("--ft-typography-body1-font-weight","",w.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body1-letter-spacing","",w.letterSpacing,"0.496px"),lineHeight:r.extend("--ft-typography-body1-line-height","",w.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-body1-text-transform","",w.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-body1-text-decoration","",w.textDecoration,"inherit")},yt={fontFamily:r.extend("--ft-typography-body2-font-family","",De),fontSize:r.extend("--ft-typography-body2-font-size","",w.fontSize,"14px"),fontWeight:r.extend("--ft-typography-body2-font-weight","",w.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body2-letter-spacing","",w.letterSpacing,"0.252px"),lineHeight:r.extend("--ft-typography-body2-line-height","",w.lineHeight,"1.4"),textTransform:r.extend("--ft-typography-body2-text-transform","",w.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-body2-text-decoration","",w.textDecoration,"inherit")},te={fontFamily:r.extend("--ft-typography-caption-font-family","",De),fontSize:r.extend("--ft-typography-caption-font-size","",w.fontSize,"12px"),fontWeight:r.extend("--ft-typography-caption-font-weight","",w.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-caption-letter-spacing","",w.letterSpacing,"0.396px"),lineHeight:r.extend("--ft-typography-caption-line-height","",w.lineHeight,"1.33"),textTransform:r.extend("--ft-typography-caption-text-transform","",w.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-caption-text-decoration","",w.textDecoration,"inherit")},gt={fontFamily:r.extend("--ft-typography-breadcrumb-font-family","",De),fontSize:r.extend("--ft-typography-breadcrumb-font-size","",w.fontSize,"10px"),fontWeight:r.extend("--ft-typography-breadcrumb-font-weight","",w.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-breadcrumb-letter-spacing","",w.letterSpacing,"0.33px"),lineHeight:r.extend("--ft-typography-breadcrumb-line-height","",w.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-breadcrumb-text-transform","",w.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-breadcrumb-text-decoration","",w.textDecoration,"inherit")},bt={fontFamily:r.extend("--ft-typography-overline-font-family","",De),fontSize:r.extend("--ft-typography-overline-font-size","",w.fontSize,"10px"),fontWeight:r.extend("--ft-typography-overline-font-weight","",w.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-overline-letter-spacing","",w.letterSpacing,"1.5px"),lineHeight:r.extend("--ft-typography-overline-line-height","",w.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-overline-text-transform","",w.textTransform,"uppercase"),textDecoration:r.extend("--ft-typography-overline-text-decoration","",w.textDecoration,"inherit")},xt={fontFamily:r.extend("--ft-typography-button-font-family","",De),fontSize:r.extend("--ft-typography-button-font-size","",w.fontSize,"14px"),fontWeight:r.extend("--ft-typography-button-font-weight","",w.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-button-letter-spacing","",w.letterSpacing,"1.246px"),lineHeight:r.extend("--ft-typography-button-line-height","",w.lineHeight,"1.15"),textTransform:r.extend("--ft-typography-button-text-transform","",w.textTransform,"uppercase"),textDecoration:r.extend("--ft-typography-button-text-decoration","",w.textDecoration,"inherit")},Zc=N`
84
+ `}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?Ve.error:this.warningMessages.length?Ve.warning:Ve.default}}return Y([C()],t.prototype,"warningRules",void 0),Y([C()],t.prototype,"errorRules",void 0),Y([C()],t.prototype,"validateOn",void 0),Y([C({type:Boolean})],t.prototype,"validateAtRender",void 0),Y([C()],t.prototype,"label",void 0),Y([C({type:Boolean})],t.prototype,"hideLabel",void 0),Y([C()],t.prototype,"name",void 0),Y([C({type:Boolean})],t.prototype,"disabled",void 0),Y([C()],t.prototype,"helperText",void 0),Y([C()],t.prototype,"forceStatus",void 0),Y([C({reflect:!0})],t.prototype,"value",void 0),Y([$()],t.prototype,"errorMessages",void 0),Y([$()],t.prototype,"warningMessages",void 0),Y([$()],t.prototype,"status",void 0),Y([$()],t.prototype,"focused",void 0),Y([$()],t.prototype,"additionalWarningRules",void 0),Y([$()],t.prototype,"additionalErrorRules",void 0),Y([$()],t.prototype,"forceErrorMessages",void 0),t});var Er=(e,t)=>{let o=e._$AN;if(o===void 0)return!1;for(let n of o)n._$AO?.(t,!1),Er(n,t);return!0},fo=e=>{let t,o;do{if((t=e._$AM)===void 0)break;o=t._$AN,o.delete(e),e=t}while(o?.size===0)},Gc=e=>{for(let t;t=e._$AM;e=t){let o=t._$AN;if(o===void 0)t._$AN=o=new Set;else if(o.has(e))break;o.add(e),Mp(t)}};function kp(e){this._$AN!==void 0?(fo(this),this._$AM=e,Gc(this)):this._$AM=e}function Dp(e,t=!1,o=0){let n=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(t)if(Array.isArray(n))for(let a=o;a<n.length;a++)Er(n[a],!1),fo(n[a]);else n!=null&&(Er(n,!1),fo(n));else Er(this,e)}var Mp=e=>{e.type==Oe.CHILD&&(e._$AP??=Dp,e._$AQ??=kp)},Ht=class extends pe{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,o,n){super._$AT(t,o,n),Gc(this),this.isConnected=t._$AU}_$AO(t,o=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),o&&(Er(this,t),fo(this))}setValue(t){if(Ji(this._$Ct))this._$Ct._$AI(t,this);else{let o=[...this._$Ct._$AH];o[this._$Ci]=t,this._$Ct._$AI(o,this,0)}}disconnected(){}reconnected(){}};var Oi=class extends Ht{get element(){var t;return(t=this.part)===null||t===void 0?void 0:t.element}constructor(t){super(t),this.onFirstTrapFocus=async o=>{if(!this.element||!o.relatedTarget)return;let n=o.relatedTarget;this.isInsideElement(n,this.element)?await this.focusLastDescendant(this.element):await this.focusFirstDescendant(this.element)},this.onLastTrapFocus=async o=>{if(!this.element||!o.relatedTarget)return;let n=o.relatedTarget;this.isInsideElement(n,this.element)?await this.focusFirstDescendant(this.element):await this.focusLastDescendant(this.element)}}render(){return Z}update(t){return this.part=t,this.ensureFocusTrap(t.element),Z}reconnected(){var t;this.ensureFocusTrap((t=this.part)===null||t===void 0?void 0:t.element)}disconnected(){this.removeFocusTrap()}ensureFocusTrap(t){var o,n;this.isElementTrappable(t)&&(((o=this.firstTrap)===null||o===void 0?void 0:o.parentElement)===t&&((n=this.lastTrap)===null||n===void 0?void 0:n.parentElement)===t||(this.removeFocusTrap(),this.createFocusTrap(t)))}removeFocusTrap(){var t,o,n,i;(t=this.firstTrap)===null||t===void 0||t.removeEventListener("focus",this.onFirstTrapFocus),(o=this.lastTrap)===null||o===void 0||o.removeEventListener("focus",this.onLastTrapFocus),(n=this.firstTrap)===null||n===void 0||n.remove(),(i=this.lastTrap)===null||i===void 0||i.remove(),this.firstTrap=void 0,this.lastTrap=void 0}isElementTrappable(t){return!!t&&t instanceof HTMLElement&&t.childElementCount>0}createFocusTrap(t){this.firstTrap=this.createTrap(),this.lastTrap=this.createTrap(),t.insertBefore(this.firstTrap,t.firstChild),t.appendChild(this.lastTrap),this.lastTrap.addEventListener("focus",this.onLastTrapFocus),this.firstTrap.addEventListener("focus",this.onFirstTrapFocus)}createTrap(){let t=document.createElement("div");return t.tabIndex=0,t}getChildren(t){return t instanceof HTMLSlotElement?t.assignedElements():t.shadowRoot?t.shadowRoot.children:t.children}async focusFirstDescendant(t){await this.updateCompleteIfNecessary(t);let o=this.getChildren(t);for(let n=0;n<o.length;n++){let i=o[n];if(i instanceof HTMLElement&&(this.attemptFocus(i)||await this.focusFirstDescendant(i)))return!0}return!1}async focusLastDescendant(t){await this.updateCompleteIfNecessary(t);let o=this.getChildren(t);for(let n=o.length-1;n>=0;n--){let i=o[n];if(i instanceof HTMLElement&&(this.attemptFocus(i)||await this.focusLastDescendant(i)))return!0}return!1}async updateCompleteIfNecessary(t){t instanceof ue&&await t.updateComplete}isInsideElement(t,o){for(let n=t;n;n=n.parentNode){if(n===o)return!0;n instanceof ShadowRoot?n=n.host:n.assignedSlot&&(n=n.assignedSlot)}return!1}attemptFocus(t){return t===this.firstTrap||t===this.lastTrap||!this.isFocusable(t)?!1:(t.focus(),!0)}isFocusable(t){return!t.checkVisibility()||this.isElementDisabled(t)?!1:t instanceof HTMLAnchorElement?!!t.href&&t.rel!=="ignore":t instanceof HTMLInputElement?t.type!=="hidden":t.tabIndex>=0}isElementDisabled(t){return"disabled"in t&&!!t.disabled}},L0=ae(Oi);var Vc;(function(e){e.sm="sm",e.md="md",e.lg="lg",e.xl="xl"})(Vc||(Vc={}));var Up={sm:640,md:768,lg:1024,xl:1280},Ci=class extends Ht{constructor(t){super(t),this.size=0,this.onResize=()=>{let o=window.innerWidth;this.size!==o&&(this.size=o,this.lastArgs&&this.setValue(this.render(...this.lastArgs)))},this.size=window.innerWidth,window.addEventListener("resize",this.onResize)}disconnected(){window.removeEventListener("resize",this.onResize)}reconnected(){window.addEventListener("resize",this.onResize)}update(t,[o,n,i]){return this.lastArgs=[o,n,i],this.render(o,n,i)}render(t,o,n){let i=this.resolveThreshold(t),a=n??(()=>M);return this.size>i?o():a()}resolveThreshold(t){return typeof t=="number"?t:Up[t]}},k0=ae(Ci);var Ai,wi,Ri,_i,Fp=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Ri=(wi=(Ai=window.safari)===null||Ai===void 0?void 0:Ai.pushNotification)===null||wi===void 0?void 0:wi.toString())!==null&&Ri!==void 0?Ri:"")==="[object SafariRemoteNotification]",$p="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(_i=window.ftGlobals)!==null&&_i!==void 0?_i:{lit:_o,litDecorators:To,litRepeat:Lo,litClassMap:No,litStyleMap:Po,litUnsafeHTML:ko,wcUtils:{...Do,...jo,...Uo,...tn,...di,...rn,...Fo,...sn,...Vo,...En,...hi,...Bc,...ai,...vn,...an,..._n,...ci,...wn,...mi,...yi,...Qs,...zo,...Ln,...Si,...cn,...Pn,...zc,...tc,...kn,...oi,...pi,...On,...An,...qo,...Jo,...bi,isSafari:Fp,isTouchScreen:$p,setVariable:z}};var Ti=e=>e??M;var jc=Symbol.for(""),Bp=e=>{if(e?.r===jc)return e?._$litStatic$},Li=e=>({_$litStatic$:e,r:jc});var Wc=new Map,Ni=e=>(t,...o)=>{let n=o.length,i,a,s=[],l=[],u,p=0,h=!1;for(;p<n;){for(u=t[p];p<n&&(a=o[p],(i=Bp(a))!==void 0);)u+=i+t[++p],h=!0;p!==n&&l.push(a),s.push(u),p++}if(p===n&&s.push(t[n]),h){let f=s.join("$$lit$$");(t=Wc.get(f))===void 0&&(s.raw=s,Wc.set(f,t=s)),o=l}return e(t,...o)},Pi=Ni(W),FS=Ni(Oo),$S=Ni(Co);var ut;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button"})(ut||(ut={}));var Kc=r.extend("--ft-typography-font-family","",B.titleFont),De=r.extend("--ft-typography-font-family","",B.contentFont),R={fontFamily:De,fontSize:r.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:r.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:r.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:r.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:r.create("--ft-typography-text-transform","","UNKNOWN","inherit"),textDecoration:r.create("--ft-typography-text-decoration","","UNKNOWN","inherit")},pt={fontFamily:r.extend("--ft-typography-title-font-family","",Kc),fontSize:r.extend("--ft-typography-title-font-size","",R.fontSize,"20px"),fontWeight:r.extend("--ft-typography-title-font-weight","",R.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-letter-spacing","",R.letterSpacing,"0.15px"),lineHeight:r.extend("--ft-typography-title-line-height","",R.lineHeight,"1.2"),textTransform:r.extend("--ft-typography-title-text-transform","",R.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-title-text-decoration","",R.textDecoration,"inherit")},ft={fontFamily:r.extend("--ft-typography-title-dense-font-family","",Kc),fontSize:r.extend("--ft-typography-title-dense-font-size","",R.fontSize,"14px"),fontWeight:r.extend("--ft-typography-title-dense-font-weight","",R.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-dense-letter-spacing","",R.letterSpacing,"0.105px"),lineHeight:r.extend("--ft-typography-title-dense-line-height","",R.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-title-dense-text-transform","",R.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-title-dense-text-decoration","",R.textDecoration,"inherit")},ht={fontFamily:r.extend("--ft-typography-subtitle1-font-family","",De),fontSize:r.extend("--ft-typography-subtitle1-font-size","",R.fontSize,"16px"),fontWeight:r.extend("--ft-typography-subtitle1-font-weight","",R.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-subtitle1-letter-spacing","",R.letterSpacing,"0.144px"),lineHeight:r.extend("--ft-typography-subtitle1-line-height","",R.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-subtitle1-text-transform","",R.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-subtitle1-text-decoration","",R.textDecoration,"inherit")},mt={fontFamily:r.extend("--ft-typography-subtitle2-font-family","",De),fontSize:r.extend("--ft-typography-subtitle2-font-size","",R.fontSize,"14px"),fontWeight:r.extend("--ft-typography-subtitle2-font-weight","",R.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-subtitle2-letter-spacing","",R.letterSpacing,"0.098px"),lineHeight:r.extend("--ft-typography-subtitle2-line-height","",R.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-subtitle2-text-transform","",R.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-subtitle2-text-decoration","",R.textDecoration,"inherit")},Te={fontFamily:r.extend("--ft-typography-body1-font-family","",De),fontSize:r.extend("--ft-typography-body1-font-size","",R.fontSize,"16px"),fontWeight:r.extend("--ft-typography-body1-font-weight","",R.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body1-letter-spacing","",R.letterSpacing,"0.496px"),lineHeight:r.extend("--ft-typography-body1-line-height","",R.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-body1-text-transform","",R.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-body1-text-decoration","",R.textDecoration,"inherit")},yt={fontFamily:r.extend("--ft-typography-body2-font-family","",De),fontSize:r.extend("--ft-typography-body2-font-size","",R.fontSize,"14px"),fontWeight:r.extend("--ft-typography-body2-font-weight","",R.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body2-letter-spacing","",R.letterSpacing,"0.252px"),lineHeight:r.extend("--ft-typography-body2-line-height","",R.lineHeight,"1.4"),textTransform:r.extend("--ft-typography-body2-text-transform","",R.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-body2-text-decoration","",R.textDecoration,"inherit")},te={fontFamily:r.extend("--ft-typography-caption-font-family","",De),fontSize:r.extend("--ft-typography-caption-font-size","",R.fontSize,"12px"),fontWeight:r.extend("--ft-typography-caption-font-weight","",R.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-caption-letter-spacing","",R.letterSpacing,"0.396px"),lineHeight:r.extend("--ft-typography-caption-line-height","",R.lineHeight,"1.33"),textTransform:r.extend("--ft-typography-caption-text-transform","",R.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-caption-text-decoration","",R.textDecoration,"inherit")},gt={fontFamily:r.extend("--ft-typography-breadcrumb-font-family","",De),fontSize:r.extend("--ft-typography-breadcrumb-font-size","",R.fontSize,"10px"),fontWeight:r.extend("--ft-typography-breadcrumb-font-weight","",R.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-breadcrumb-letter-spacing","",R.letterSpacing,"0.33px"),lineHeight:r.extend("--ft-typography-breadcrumb-line-height","",R.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-breadcrumb-text-transform","",R.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-breadcrumb-text-decoration","",R.textDecoration,"inherit")},bt={fontFamily:r.extend("--ft-typography-overline-font-family","",De),fontSize:r.extend("--ft-typography-overline-font-size","",R.fontSize,"10px"),fontWeight:r.extend("--ft-typography-overline-font-weight","",R.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-overline-letter-spacing","",R.letterSpacing,"1.5px"),lineHeight:r.extend("--ft-typography-overline-line-height","",R.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-overline-text-transform","",R.textTransform,"uppercase"),textDecoration:r.extend("--ft-typography-overline-text-decoration","",R.textDecoration,"inherit")},xt={fontFamily:r.extend("--ft-typography-button-font-family","",De),fontSize:r.extend("--ft-typography-button-font-size","",R.fontSize,"14px"),fontWeight:r.extend("--ft-typography-button-font-weight","",R.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-button-letter-spacing","",R.letterSpacing,"1.246px"),lineHeight:r.extend("--ft-typography-button-line-height","",R.lineHeight,"1.15"),textTransform:r.extend("--ft-typography-button-text-transform","",R.textTransform,"uppercase"),textDecoration:r.extend("--ft-typography-button-text-decoration","",R.textDecoration,"inherit")},Zc=N`
85
85
  .ft-typography--title {
86
86
  font-family: ${pt.fontFamily};
87
87
  font-size: ${pt.fontSize};
@@ -124,15 +124,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
124
124
 
125
125
  `,Jc=N`
126
126
  .ft-typography--body1 {
127
- font-family: ${_e.fontFamily};
128
- font-size: ${_e.fontSize};
129
- font-weight: ${_e.fontWeight};
130
- letter-spacing: ${_e.letterSpacing};
131
- line-height: ${_e.lineHeight};
132
- text-transform: ${_e.textTransform};
133
- text-decoration: ${_e.textDecoration};
134
- }
135
- `,fo=N`
127
+ font-family: ${Te.fontFamily};
128
+ font-size: ${Te.fontSize};
129
+ font-weight: ${Te.fontWeight};
130
+ letter-spacing: ${Te.letterSpacing};
131
+ line-height: ${Te.lineHeight};
132
+ text-transform: ${Te.textTransform};
133
+ text-decoration: ${Te.textDecoration};
134
+ }
135
+ `,ho=N`
136
136
  .ft-typography--body2 {
137
137
  font-family: ${yt.fontFamily};
138
138
  font-size: ${yt.fontSize};
@@ -186,34 +186,34 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
186
186
  .ft-typography {
187
187
  vertical-align: inherit;
188
188
  }
189
- `;var ol=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Me=class extends H{constructor(){super(...arguments),this.variant=ut.body1}render(){return this.element?Ni`
190
- <${Ti(this.element)}
189
+ `;var ol=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Me=class extends H{constructor(){super(...arguments),this.variant=ut.body1}render(){return this.element?Pi`
190
+ <${Li(this.element)}
191
191
  part="text"
192
192
  class="ft-typography ft-typography--${this.variant}">
193
193
  <slot></slot>
194
- </${Ti(this.element)}>
195
- `:Ni`
194
+ </${Li(this.element)}>
195
+ `:Pi`
196
196
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
197
- `}};Me.styles=[Zc,qc,Yc,Xc,Jc,fo,Gt,Qc,el,tl,rl];ol([O()],Me.prototype,"element",void 0);ol([O()],Me.prototype,"variant",void 0);var nl={"ft-typography":Me};ye(nl);var F={fontSize:r.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:r.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:r.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:r.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:r.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:r.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:r.extend("--ft-input-label-border-color","",B.colorOutline),textColor:r.extend("--ft-input-label-text-color","",B.colorOnSurfaceMedium),disabledTextColor:r.extend("--ft-input-label-disabled-text-color","",B.colorOnSurfaceDisabled),backgroundColor:r.extend("--ft-input-label-background-color","",B.colorSurface),borderRadius:r.extend("--ft-input-label-border-radius","",B.borderRadiusS),colorError:r.external(B.colorError,"Design system")},il=N`
197
+ `}};Me.styles=[Zc,qc,Yc,Xc,Jc,ho,Gt,Qc,el,tl,rl];ol([C()],Me.prototype,"element",void 0);ol([C()],Me.prototype,"variant",void 0);var nl={"ft-typography":Me};ye(nl);var U={fontSize:r.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:r.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:r.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:r.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:r.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:r.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:r.extend("--ft-input-label-border-color","",B.colorOutline),textColor:r.extend("--ft-input-label-text-color","",B.colorOnSurfaceMedium),disabledTextColor:r.extend("--ft-input-label-disabled-text-color","",B.colorOnSurfaceDisabled),backgroundColor:r.extend("--ft-input-label-background-color","",B.colorSurface),borderRadius:r.extend("--ft-input-label-border-radius","",B.borderRadiusS),colorError:r.external(B.colorError,"Design system")},il=N`
198
198
  .ft-input-label {
199
199
  position: absolute;
200
200
  inset: 0;
201
201
  display: flex;
202
- background-color: ${F.backgroundColor};
203
- border-radius: ${F.borderRadius} ${F.borderRadius} 0 0;
204
- border-color: ${F.borderColor};
202
+ background-color: ${U.backgroundColor};
203
+ border-radius: ${U.borderRadius} ${U.borderRadius} 0 0;
204
+ border-color: ${U.borderColor};
205
205
  border-bottom-width: 1px;
206
206
  border-bottom-style: solid;
207
207
  }
208
208
 
209
209
  .ft-input-label--outlined {
210
- border-radius: ${F.borderRadius};
210
+ border-radius: ${U.borderRadius};
211
211
  border-width: 1px;
212
212
  border-style: solid;
213
213
  }
214
214
 
215
215
  .ft-input-label.ft-input-label--in-error {
216
- border-color: ${F.colorError}
216
+ border-color: ${U.colorError}
217
217
  }
218
218
 
219
219
  .ft-input-label:before,
@@ -223,7 +223,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
223
223
  }
224
224
 
225
225
  .ft-input-label:before {
226
- width: calc(${F.horizontalSpacing} - 4px);
226
+ width: calc(${U.horizontalSpacing} - 4px);
227
227
  flex-shrink: 0;
228
228
  }
229
229
 
@@ -236,20 +236,20 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
236
236
  display: flex;
237
237
  flex-shrink: 1;
238
238
  position: relative;
239
- color: ${F.textColor};
239
+ color: ${U.textColor};
240
240
  transition: font-size 250ms, line-height 250ms, color 250ms;
241
- max-width: calc(${F.labelMaxWidth} - 2 * (${F.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
241
+ max-width: calc(${U.labelMaxWidth} - 2 * (${U.horizontalSpacing} - 4px)); /* -2px on spacing for label padding */
242
242
  text-overflow: ellipsis;
243
- ${z(te.fontSize,F.fontSize)};
244
- ${z(te.lineHeight,F.fontSize)};
243
+ ${z(te.fontSize,U.fontSize)};
244
+ ${z(te.lineHeight,U.fontSize)};
245
245
  }
246
246
 
247
247
  .ft-input-label--in-error .ft-input-label--text {
248
- color: ${F.colorError}
248
+ color: ${U.colorError}
249
249
  }
250
250
 
251
251
  .ft-input-label--disabled .ft-input-label--text {
252
- color: ${F.disabledTextColor};
252
+ color: ${U.disabledTextColor};
253
253
  }
254
254
 
255
255
  .ft-input-label--hidden-text {
@@ -266,38 +266,38 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
266
266
  overflow: hidden;
267
267
  white-space: nowrap;
268
268
  text-overflow: ellipsis;
269
- padding: ${F.verticalSpacing} 4px;
270
- margin: calc(${F.verticalSpacing} * -1) 0;
269
+ padding: ${U.verticalSpacing} 4px;
270
+ margin: calc(${U.verticalSpacing} * -1) 0;
271
271
  max-width: 100%;
272
272
  box-sizing: border-box;
273
273
  }
274
274
 
275
275
  .ft-input-label--raised .ft-input-label--text {
276
- ${z(te.fontSize,F.raisedFontSize)};
277
- ${z(te.lineHeight,F.raisedFontSize)};
276
+ ${z(te.fontSize,U.raisedFontSize)};
277
+ ${z(te.lineHeight,U.raisedFontSize)};
278
278
  }
279
279
 
280
280
  .ft-input-label--raised .ft-input-label--floating-text {
281
- top: ${F.verticalSpacing};
281
+ top: ${U.verticalSpacing};
282
282
  }
283
283
 
284
284
  .ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
285
285
  padding: 2px 4px;
286
- z-index: ${F.raisedZIndex};
287
- background-color: ${F.backgroundColor};
288
- border-radius: ${F.borderRadius};
286
+ z-index: ${U.raisedZIndex};
287
+ background-color: ${U.backgroundColor};
288
+ border-radius: ${U.borderRadius};
289
289
  top: calc((${te.lineHeight} / -2) + 2px);
290
290
  }
291
- `;var al=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},St=class extends H{constructor(){super(...arguments),this.text="",this.raised=!1}get inputLabelClasses(){return{}}render(){return j`
292
- <div class="${Le(this.inputLabelClasses)}">
293
- ${lt(this.text,()=>j`
291
+ `;var al=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},St=class extends H{constructor(){super(...arguments),this.text="",this.raised=!1}get inputLabelClasses(){return{}}render(){return W`
292
+ <div class="${Ne(this.inputLabelClasses)}">
293
+ ${lt(this.text,()=>W`
294
294
  <div class="ft-input-label--text ft-typography--caption">
295
295
  <label class="ft-input-label--floating-text">${this.text}</label>
296
296
  <span class="ft-input-label--hidden-text" aria-hidden="true">${this.text}</span>
297
297
  </div>
298
298
  `)}
299
299
  </div>
300
- `}};St.elementDefinitions={};al([O({type:String})],St.prototype,"text",void 0);al([O({type:Boolean})],St.prototype,"raised",void 0);var Pi=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Se=class extends St{constructor(){super(...arguments),this.outlined=!1,this.error=!1,this.disabled=!1}get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error}}};Se.elementDefinitions={};Se.styles=[Gt,il];Pi([O({type:Boolean})],Se.prototype,"outlined",void 0);Pi([O({type:Boolean})],Se.prototype,"error",void 0);Pi([O({type:Boolean})],Se.prototype,"disabled",void 0);var sl={"ft-input-label":Se};ye(sl);var cl=r.extend("--ft-ripple-color","",B.colorContent),re={color:cl,backgroundColor:r.extend("--ft-ripple-background-color","",cl),opacityContentOnSurfacePressed:r.external(B.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:r.external(B.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:r.external(B.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:r.external(B.opacityContentOnSurfaceSelected,"Design system"),borderRadius:r.create("--ft-ripple-border-radius","","SIZE","0px")},ll=r.extend("--ft-ripple-color","",B.colorPrimary),dl={color:ll,backgroundColor:r.extend("--ft-ripple-background-color","",ll)},ul=r.extend("--ft-ripple-color","",B.colorSecondary),pl={color:ul,backgroundColor:r.extend("--ft-ripple-background-color","",ul)},fl=N`
300
+ `}};St.elementDefinitions={};al([C({type:String})],St.prototype,"text",void 0);al([C({type:Boolean})],St.prototype,"raised",void 0);var Ii=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Se=class extends St{constructor(){super(...arguments),this.outlined=!1,this.error=!1,this.disabled=!1}get inputLabelClasses(){return{"ft-input-label":!0,"ft-input-label--raised":this.raised,"ft-input-label--outlined":this.outlined,"ft-input-label--disabled":this.disabled,"ft-input-label--in-error":this.error}}};Se.elementDefinitions={};Se.styles=[Gt,il];Ii([C({type:Boolean})],Se.prototype,"outlined",void 0);Ii([C({type:Boolean})],Se.prototype,"error",void 0);Ii([C({type:Boolean})],Se.prototype,"disabled",void 0);var sl={"ft-input-label":Se};ye(sl);var cl=r.extend("--ft-ripple-color","",B.colorContent),re={color:cl,backgroundColor:r.extend("--ft-ripple-background-color","",cl),opacityContentOnSurfacePressed:r.external(B.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:r.external(B.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:r.external(B.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:r.external(B.opacityContentOnSurfaceSelected,"Design system"),borderRadius:r.create("--ft-ripple-border-radius","","SIZE","0px")},ll=r.extend("--ft-ripple-color","",B.colorPrimary),dl={color:ll,backgroundColor:r.extend("--ft-ripple-background-color","",ll)},ul=r.extend("--ft-ripple-color","",B.colorSecondary),pl={color:ul,backgroundColor:r.extend("--ft-ripple-background-color","",ul)},fl=N`
301
301
  :host {
302
302
  display: contents;
303
303
  }
@@ -409,18 +409,18 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
409
409
  opacity: ${re.opacityContentOnSurfacePressed};
410
410
  transform: translate(-50%, -50%) scale(1);
411
411
  }
412
- `;var oe=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},G=class extends H{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new $e(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new $e(10),this.moveRipple=t=>{var o,n;let{x:i,y:a}=this.getCoordinates(t),s=(n=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return j`
412
+ `;var oe=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},G=class extends H{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new $e(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new $e(10),this.moveRipple=t=>{var o,n;let{x:i,y:a}=this.getCoordinates(t),s=(n=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return W`
413
413
  <style>
414
414
  .ft-ripple .ft-ripple--effect {
415
415
  left: ${this.originX}px;
416
416
  top: ${this.originY}px;
417
417
  }
418
418
  </style>
419
- <div class="${Le(t)}">
419
+ <div class="${Ne(t)}">
420
420
  <div class="ft-ripple--background"></div>
421
421
  <div class="ft-ripple--effect"></div>
422
422
  </div>
423
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var t,o;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}forceFocusUpdate(){var t;!((t=this.target)===null||t===void 0)&&t.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let o=(...l)=>u=>{l.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(u)},n=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&o("keyup")(l)},s={passive:!0};t.addEventListener("mouseover",this.startHover,s),t.addEventListener("mousemove",this.moveRipple,s),t.addEventListener("mouseleave",this.endHover,s),t.addEventListener("mousedown",n,s),t.addEventListener("touchstart",i,s),t.addEventListener("touchmove",this.moveRipple,s),t.addEventListener("keydown",a,s),t.addEventListener("focus",this.startFocus,s),t.addEventListener("blur",this.endFocus,s),t.addEventListener("focusin",this.startFocus,s),t.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,s),t.removeEventListener("mousemove",this.moveRipple,s),t.removeEventListener("mouseleave",this.endHover,s),t.removeEventListener("mousedown",n,s),t.removeEventListener("touchstart",i,s),t.removeEventListener("touchmove",this.moveRipple,s),t.removeEventListener("keydown",a,s),t.removeEventListener("focus",this.startFocus,s),t.removeEventListener("blur",this.endFocus,s),t.removeEventListener("focusin",this.startFocus,s),t.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let o=t,n=t,i,a;return o.x!=null?{x:i,y:a}=o:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};G.elementDefinitions={};G.styles=fl;oe([O({type:Boolean})],G.prototype,"primary",void 0);oe([O({type:Boolean})],G.prototype,"secondary",void 0);oe([O({type:Boolean})],G.prototype,"unbounded",void 0);oe([O({type:Boolean})],G.prototype,"activated",void 0);oe([O({type:Boolean})],G.prototype,"selected",void 0);oe([O({type:Boolean})],G.prototype,"disabled",void 0);oe([$()],G.prototype,"hovered",void 0);oe([$()],G.prototype,"focused",void 0);oe([$()],G.prototype,"pressed",void 0);oe([$()],G.prototype,"rippling",void 0);oe([$()],G.prototype,"originX",void 0);oe([$()],G.prototype,"originY",void 0);oe([ie(".ft-ripple")],G.prototype,"ripple",void 0);oe([ie(".ft-ripple--effect")],G.prototype,"rippleEffect",void 0);var hl={"ft-ripple":G};ye(hl);var Ee={size:r.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:r.extend("--ft-icon-fluid-topics-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:r.extend("--ft-icon-file-format-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:r.extend("--ft-icon-material-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:r.create("--ft-icon-vertical-align","","UNKNOWN","unset")},ml=[N`
423
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var t,o;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}forceFocusUpdate(){var t;!((t=this.target)===null||t===void 0)&&t.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let o=(...l)=>u=>{l.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(u)},n=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&o("keyup")(l)},s={passive:!0};t.addEventListener("mouseover",this.startHover,s),t.addEventListener("mousemove",this.moveRipple,s),t.addEventListener("mouseleave",this.endHover,s),t.addEventListener("mousedown",n,s),t.addEventListener("touchstart",i,s),t.addEventListener("touchmove",this.moveRipple,s),t.addEventListener("keydown",a,s),t.addEventListener("focus",this.startFocus,s),t.addEventListener("blur",this.endFocus,s),t.addEventListener("focusin",this.startFocus,s),t.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,s),t.removeEventListener("mousemove",this.moveRipple,s),t.removeEventListener("mouseleave",this.endHover,s),t.removeEventListener("mousedown",n,s),t.removeEventListener("touchstart",i,s),t.removeEventListener("touchmove",this.moveRipple,s),t.removeEventListener("keydown",a,s),t.removeEventListener("focus",this.startFocus,s),t.removeEventListener("blur",this.endFocus,s),t.removeEventListener("focusin",this.startFocus,s),t.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let o=t,n=t,i,a;return o.x!=null?{x:i,y:a}=o:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};G.elementDefinitions={};G.styles=fl;oe([C({type:Boolean})],G.prototype,"primary",void 0);oe([C({type:Boolean})],G.prototype,"secondary",void 0);oe([C({type:Boolean})],G.prototype,"unbounded",void 0);oe([C({type:Boolean})],G.prototype,"activated",void 0);oe([C({type:Boolean})],G.prototype,"selected",void 0);oe([C({type:Boolean})],G.prototype,"disabled",void 0);oe([$()],G.prototype,"hovered",void 0);oe([$()],G.prototype,"focused",void 0);oe([$()],G.prototype,"pressed",void 0);oe([$()],G.prototype,"rippling",void 0);oe([$()],G.prototype,"originX",void 0);oe([$()],G.prototype,"originY",void 0);oe([ie(".ft-ripple")],G.prototype,"ripple",void 0);oe([ie(".ft-ripple--effect")],G.prototype,"rippleEffect",void 0);var hl={"ft-ripple":G};ye(hl);var Ee={size:r.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:r.extend("--ft-icon-fluid-topics-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:r.extend("--ft-icon-file-format-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:r.extend("--ft-icon-material-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:r.create("--ft-icon-vertical-align","","UNKNOWN","unset")},ml=[N`
424
424
  :host, i.ft-icon {
425
425
  display: inline-flex;
426
426
  align-items: center;
@@ -468,12 +468,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
468
468
  .ft-icon--material {
469
469
  font-family: ${Ee.materialFontFamily}, "Material Icons", sans-serif;
470
470
  }
471
- `,Ln];var We;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(We||(We={}));var Et;(function(e){e.ADD_TO_PBK="&#xe800;",e.ALERT="&#xe801;",e.ADD_ALERT="&#xe802;",e.BACK_TO_SEARCH="&#xe803;",e.ADD_BOOKMARK="&#xe804;",e.BOOKMARK="&#xe805;",e.BOOKS="&#xe806;",e.MENU="&#xe807;",e.DOWNLOAD="&#xe808;",e.EDIT="&#xe809;",e.FEEDBACK="&#xe80a;",e.HOME="&#xe80b;",e.MODIFY_PBK="&#xe80c;",e.SCHEDULED="&#xe80d;",e.SEARCH="&#xe80e;",e.EXPORT="&#xe80f;",e.TOC="&#xe810;",e.WRITE_UGC="&#xe811;",e.TRASH="&#xe812;",e.USER="&#xe813;",e.EXTLINK="&#xe814;",e.CALENDAR="&#xe815;",e.OFFLINE="&#xe816;",e.BOOK="&#xe817;",e.DOWNLOAD_PLAIN="&#xe818;",e.CHECK="&#xe819;",e.STAR_PLAIN="&#xe900;",e.TOPICS="&#xe901;",e.DISC="&#xe902;",e.CIRCLE="&#xe903;",e.SHARED="&#xe904;",e.SORT_UNSORTED="&#xe905;",e.SORT_UP="&#xe906;",e.SORT_DOWN="&#xe907;",e.WORKING="&#xe908;",e.CLOSE="&#xe909;",e.ZOOM_OUT="&#xe90a;",e.ZOOM_IN="&#xe90b;",e.ZOOM_REALSIZE="&#xe90c;",e.ZOOM_FULLSCREEN="&#xe90d;",e.ADMIN_RESTRICTED="&#xe90e;",e.ADMIN="&#xe90f;",e.ADMIN_KHUB="&#xe910;",e.ADMIN_THEME="&#xe911;",e.ADMIN_USERS="&#xe912;",e.WARNING="&#xe913;",e.CONTEXT="&#xe914;",e.SEARCH_HOME="&#xe915;",e.STEPS="&#xe916;",e.ICON_EXPAND="&#xe917;",e.ICON_COLLAPSE="&#xe918;",e.INFO="&#xe919;",e.MINUS_PLAIN="&#xe91a;",e.PLUS_PLAIN="&#xe91b;",e.FACET_HAS_DESCENDANT="&#xe91c;",e.TRIANGLE_BOTTOM="&#xe91d;",e.TRIANGLE_LEFT="&#xe91e;",e.TRIANGLE_RIGHT="&#xe91f;",e.TRIANGLE_TOP="&#xe920;",e.THIN_ARROW="&#xe921;",e.SIGN_IN="&#xe922;",e.LOGOUT="&#xe923;",e.TRANSLATE="&#xe924;",e.CLOSE_PLAIN="&#xe925;",e.CHECK_PLAIN="&#xe926;",e.ARTICLE="&#xe927;",e.COLUMNS="&#xe928;",e.ANALYTICS="&#xe929;",e.COLLECTIONS="&#xe92a;",e.ARROW_DOWN="&#xe92b;",e.ARROW_LEFT="&#xe92c;",e.ARROW_RIGHT="&#xe92d;",e.ARROW_UP="&#xe92e;",e.SEARCH_IN_PUBLICATION="&#xe92f;",e.COPY_TO_CLIPBOARD="&#xe930;",e.SHARED_PBK="&#xe931;",e.ATTACHMENTS="&#xe932;",e.STRIPE_ARROW_LEFT="&#xe933;",e.STRIPE_ARROW_RIGHT="&#xe934;",e.FILTERS="&#xe935;",e.DOT="&#xe936;",e.MINUS="&#xe937;",e.PLUS="&#xe938;",e.MAILS_AND_NOTIFICATIONS="&#xe939;",e.SAVE="&#xe93a;",e.LOCKER="&#xe93b;",e.ADMIN_INTEGRATION="&#xe93c;",e.SYNC="&#xe93d;",e.TAG="&#xe93e;",e.BOOK_PLAIN="&#xe93f;",e.UPLOAD="&#xe940;",e.ONLINE="&#xe941;",e.TAG_PLAIN="&#xe942;",e.ACCOUNT_SETTINGS="&#xe943;",e.PRINT="&#xe944;",e.DEFAULT_ROLES="&#xe945;",e.SHORTCUT_MENU="&#xe946;",e.RELATIVES_PLAIN="&#xe947;",e.RELATIVES="&#xe948;",e.PAUSE="&#xe949;",e.PLAY="&#xe94a;",e.ADMIN_PORTAL="&#xe94b;",e.STAR="&#xe94c;",e.THUMBS_DOWN="&#xe94d;",e.THUMBS_DOWN_PLAIN="&#xe94e;",e.THUMBS_UP="&#xe94f;",e.THUMBS_UP_PLAIN="&#xe950;",e.FEEDBACK_PLAIN="&#xe951;",e.RATE_PLAIN="&#xe952;",e.RATE="&#xe953;",e.OFFLINE_SETTINGS="&#xe954;",e.MY_COLLECTIONS="&#xe955;",e.THIN_ARROW_LEFT="&#xe956;",e.THIN_ARROW_RIGHT="&#xe957;",e.RESET="&#xe958;",e.MY_LIBRARY="&#xe959;",e.UNSTRUCTURED_DOC="&#xe95a;",e.CONTEXTUAL="&#xe95b;",e.THIN_ARROW_UP="&#xe95c;",e.ARROW_RIGHT_TO_LINE="&#xe95d;",e.DESKTOP="&#xe95e;",e.TABLET_LANDSCAPE="&#xe95f;",e.TABLET_PORTRAIT="&#xe960;",e.MOBILE_LANDSCAPE="&#xe961;",e.MOBILE_PORTRAIT="&#xe962;",e.DIAGRAM_SUNBURST="&#xe963;",e.DIAGRAM_SANKEY="&#xe964;",e.COMMENT_QUESTION="&#xe965;",e.COMMENT_QUESTION_PLAIN="&#xe966;",e.MESSAGE_BOT="&#xe967;",e.CHART_SIMPLE="&#xe968;",e.BARS_PROGRESS="&#xe969;",e.BOOK_OPEN_GEAR="&#xe96a;",e.BOOK_OPEN_GEAR_SLASH="&#xe96b;",e.LINE_CHART="&#xe96c;",e.STACKED_CHART="&#xe96d;",e.CHART_BAR_STACKED="&#xe96e;",e.CHART_BAR_GROUPED="&#xe96f;",e.EYE_SLASH="&#xe970;",e.X_MARK="&#xe971;",e.EXPAND_WIDE="&#xe972;",e.PIP="&#xe973;",e.PIP_WIDE="&#xe974;",e.LIFE_RING="&#xe975;",e.GLOBE="&#xe976;",e.PIGGY_BANK="&#xe977;",e.EXTLINK_LIGHT="&#xe978;",e.CLONE="&#xe979;",e.CLONE_LINK_SIMPLE="&#xe97a;",e.CHART_BAR_NORMALIZED="&#xe97b;",e.CONSUMER="&#xe97c;",e.OCTAGON_XMARK="&#xe97d;",e.HOURGLASS_HALF="&#xe97e;",e.CLOCK="&#xe97f;",e.CLOCK_THREE="&#xe97f;",e.CALENDAR_DAY="&#xe980;",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",e.WAND_MAGIC_SPARKLES="&#xe982;",e.PAPER_PLANE="&#xe983;",e.CIRCLE_STOP="&#xe984;",e.ARROW_ROTATE_RIGHT="&#xe985;",e.ARROWS_ROTATE="&#xe986;",e.ALIGN_RIGHT="&#xe987;",e.FORMAT_CLEAR="&#xe988;",e.ALIGN_CENTER="&#xe989;",e.ALIGN_LEFT="&#xe98a;",e.PALETTE="&#xe98b;",e.BOLD="&#xe98c;",e.ITALIC="&#xe98d;",e.UNDERLINE="&#xe98e;",e.STRIKETHROUGH="&#xe98f;",e.LINK_SIMPLE_SLASH="&#xe990;",e.LINK_SIMPLE="&#xe991;",e.ROUTE="&#xe992;",e.CIRCLE_USER_SLASH="&#xe993;",e.CIRCLE_USER_CHECK="&#xe994;",e.LIST_MAGNIFYING_GLASS="&#xe995;",e.MEDAL="&#xe996;",e.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",e.ARROW_TURN_DOWN_RIGHT="&#xe998;",e.FLASK="&#xe999;",e.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",e.HOURGLASS_END="&#xe99b;",e.CIRCLE_QUESTION="&#xe99c;",e.GRIP_LINES_SOLID="&#xe99d;",e.TRANSLATE_SPARKLE_SOLID="&#xe99e;",e.CODE="&#xe99f;",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",e.PAPER_PLANE_SLASH="&#xe9a1;",e.COMPRESS="&#xe9a2;",e.EXPAND="&#xe9a3;",e.ARROW_ROTATE_LEFT="&#xe9a4;",e.MOBILE_SMALL="&#xe9a5;",e.SPARKLES="&#xe9a6;",e.HAND_SOLID="&#xe9a7;",e.CLOCK_SOLID="&#xe9a8;",e.CONTEXT_MENU_CURSOR="&#xe9a9;",e.LANGUAGE_SLASH="&#xe9aa;",e.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",e.CABINET_FILING_FLOPPY_DISK="&#xe9ac;",e.BOOKMARK_SLASH="&#xe9ad;",e.CIRCLE_PAUSE="&#xe9ae;",e.CIRCLE_PLAY="&#xe9af;",e.CIRCLE_STOP_PLAIN="&#xe9b0;",e.CIRCLE_ARROW_DOWN="&#xe9b1;",e.SHARE_NODES="&#xe9b2;",e.BELL="&#xe9b3;",e.BELL_SLASH="&#xe9b4;",e.FILE="&#xe9b5;",e.HAND="&#xe9b6;",e.SQUARE_INFO_SOLID="&#xe9b7;",e.FILE_CODE="&#xe9b8;",e.BOX_CODE="&#xe9b9;",e.TOPICS_SOLID="&#xe9ba;",e.PHOTO_FILM="&#xe9bb;",e.HYPHEN_SOLID="&#xe9bc;",e.CROSSHAIRS="&#xe9bd;",e.PERSON_CHALKBOARD="&#xe9be;",e.CIRCLE_ARROW_DOWN_SLASH="&#xe9bf;",e.BOOK_OPEN_COVER="&#xe9c0;",e.LIGHTBULB="&#xe9c1;",e.MESSAGE_BOT_AGENTIC_SOLID="&#xe9c2;",e.CHART_LINE_USER="&#xe9c3;",e.SERVER_CIRCLE_ARROW_DOWN="&#xe9c4;",e.EYE="&#xf06e;",e.SHARE="&#xe80f1;"})(Et||(Et={}));var v;(function(e){e.UNKNOWN="&#xe90a;",e.ABW="&#xe900;",e.AUDIO="&#xe901;",e.AVI="&#xe902;",e.CHM="&#xe904;",e.CODE="&#xe905;",e.CSV="&#xe903;",e.DITA="&#xe906;",e.EPUB="&#xe907;",e.EXCEL="&#xe908;",e.FLAC="&#xe909;",e.GIF="&#xe90b;",e.GZIP="&#xe90c;",e.HTML="&#xe90d;",e.IMAGE="&#xe90e;",e.JPEG="&#xe90f;",e.JSON="&#xe910;",e.M4A="&#xe911;",e.MOV="&#xe912;",e.MP3="&#xe913;",e.MP4="&#xe914;",e.OGG="&#xe915;",e.PDF="&#xe916;",e.PNG="&#xe917;",e.POWERPOINT="&#xe918;",e.RAR="&#xe91a;",e.STP="&#xe91b;",e.TEXT="&#xe91c;",e.VIDEO="&#xe91e;",e.WAV="&#xe91f;",e.WMA="&#xe920;",e.WORD="&#xe921;",e.XML="&#xe922;",e.YAML="&#xe919;",e.ZIP="&#xe923;"})(v||(v={}));var tv=new Map([...["abw"].map(e=>[e,v.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,v.AUDIO]),...["avi"].map(e=>[e,v.AVI]),...["chm","xhs"].map(e=>[e,v.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,v.CODE]),...["csv"].map(e=>[e,v.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,v.DITA]),...["epub"].map(e=>[e,v.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,v.EXCEL]),...["flac"].map(e=>[e,v.FLAC]),...["gif"].map(e=>[e,v.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,v.GZIP]),...["html","htm","xhtml"].map(e=>[e,v.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,v.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,v.JPEG]),...["json"].map(e=>[e,v.JSON]),...["m4a","m4p"].map(e=>[e,v.M4A]),...["mov","qt"].map(e=>[e,v.MOV]),...["mp3"].map(e=>[e,v.MP3]),...["mp4","m4v"].map(e=>[e,v.MP4]),...["ogg","oga"].map(e=>[e,v.OGG]),...["pdf","ps"].map(e=>[e,v.PDF]),...["png"].map(e=>[e,v.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,v.POWERPOINT]),...["rar"].map(e=>[e,v.RAR]),...["stp"].map(e=>[e,v.STP]),...["txt","rtf","md","mdown"].map(e=>[e,v.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,v.VIDEO]),...["wav"].map(e=>[e,v.WAV]),...["wma"].map(e=>[e,v.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,v.WORD]),...["xml","xsl","rdf"].map(e=>[e,v.XML]),...["yaml","yml","x-yaml"].map(e=>[e,v.YAML]),...["zip"].map(e=>[e,v.ZIP])]);var rv={[v.ABW]:"#91ABC6",[v.AUDIO]:"#1795E3",[v.AVI]:"#E63324",[v.CHM]:"#71C3EB",[v.CODE]:"#71C3EB",[v.CSV]:"#1F7345",[v.DITA]:"#71C3EB",[v.EPUB]:"#85B926",[v.EXCEL]:"#1F7345",[v.FLAC]:"#1795E3",[v.GIF]:"#59B031",[v.GZIP]:"#F8AB36",[v.HTML]:"#71C3EB",[v.IMAGE]:"#59B031",[v.JPEG]:"#59B031",[v.JSON]:"#71C3EB",[v.M4A]:"#1795E3",[v.MOV]:"#E63324",[v.MP3]:"#1795E3",[v.MP4]:"#E63324",[v.OGG]:"#1795E3",[v.PDF]:"#E44948",[v.PNG]:"#59B031",[v.POWERPOINT]:"#B54A2B",[v.RAR]:"#F8AB36",[v.STP]:"#3764B1",[v.TEXT]:"#3162AB",[v.UNKNOWN]:"#999999",[v.VIDEO]:"#E63324",[v.WAV]:"#1795E3",[v.WMA]:"#1795E3",[v.WORD]:"#3162AB",[v.XML]:"#71C3EB",[v.YAML]:"#71C3EB",[v.ZIP]:"#F8AB36"};var vr=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},de=class extends H{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=U}render(){let t=this.variant&&Object.values(We).includes(this.variant)?this.variant:We.fluid_topics,o=t!==We.material||!!this.value;return j`
471
+ `,Nn];var We;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(We||(We={}));var Et;(function(e){e.ADD_TO_PBK="&#xe800;",e.ALERT="&#xe801;",e.ADD_ALERT="&#xe802;",e.BACK_TO_SEARCH="&#xe803;",e.ADD_BOOKMARK="&#xe804;",e.BOOKMARK="&#xe805;",e.BOOKS="&#xe806;",e.MENU="&#xe807;",e.DOWNLOAD="&#xe808;",e.EDIT="&#xe809;",e.FEEDBACK="&#xe80a;",e.HOME="&#xe80b;",e.MODIFY_PBK="&#xe80c;",e.SCHEDULED="&#xe80d;",e.SEARCH="&#xe80e;",e.EXPORT="&#xe80f;",e.TOC="&#xe810;",e.WRITE_UGC="&#xe811;",e.TRASH="&#xe812;",e.USER="&#xe813;",e.EXTLINK="&#xe814;",e.CALENDAR="&#xe815;",e.OFFLINE="&#xe816;",e.BOOK="&#xe817;",e.DOWNLOAD_PLAIN="&#xe818;",e.CHECK="&#xe819;",e.STAR_PLAIN="&#xe900;",e.TOPICS="&#xe901;",e.DISC="&#xe902;",e.CIRCLE="&#xe903;",e.SHARED="&#xe904;",e.SORT_UNSORTED="&#xe905;",e.SORT_UP="&#xe906;",e.SORT_DOWN="&#xe907;",e.WORKING="&#xe908;",e.CLOSE="&#xe909;",e.ZOOM_OUT="&#xe90a;",e.ZOOM_IN="&#xe90b;",e.ZOOM_REALSIZE="&#xe90c;",e.ZOOM_FULLSCREEN="&#xe90d;",e.ADMIN_RESTRICTED="&#xe90e;",e.ADMIN="&#xe90f;",e.ADMIN_KHUB="&#xe910;",e.ADMIN_THEME="&#xe911;",e.ADMIN_USERS="&#xe912;",e.WARNING="&#xe913;",e.CONTEXT="&#xe914;",e.SEARCH_HOME="&#xe915;",e.STEPS="&#xe916;",e.ICON_EXPAND="&#xe917;",e.ICON_COLLAPSE="&#xe918;",e.INFO="&#xe919;",e.MINUS_PLAIN="&#xe91a;",e.PLUS_PLAIN="&#xe91b;",e.FACET_HAS_DESCENDANT="&#xe91c;",e.TRIANGLE_BOTTOM="&#xe91d;",e.TRIANGLE_LEFT="&#xe91e;",e.TRIANGLE_RIGHT="&#xe91f;",e.TRIANGLE_TOP="&#xe920;",e.THIN_ARROW="&#xe921;",e.SIGN_IN="&#xe922;",e.LOGOUT="&#xe923;",e.TRANSLATE="&#xe924;",e.CLOSE_PLAIN="&#xe925;",e.CHECK_PLAIN="&#xe926;",e.ARTICLE="&#xe927;",e.COLUMNS="&#xe928;",e.ANALYTICS="&#xe929;",e.COLLECTIONS="&#xe92a;",e.ARROW_DOWN="&#xe92b;",e.ARROW_LEFT="&#xe92c;",e.ARROW_RIGHT="&#xe92d;",e.ARROW_UP="&#xe92e;",e.SEARCH_IN_PUBLICATION="&#xe92f;",e.COPY_TO_CLIPBOARD="&#xe930;",e.SHARED_PBK="&#xe931;",e.ATTACHMENTS="&#xe932;",e.STRIPE_ARROW_LEFT="&#xe933;",e.STRIPE_ARROW_RIGHT="&#xe934;",e.FILTERS="&#xe935;",e.DOT="&#xe936;",e.MINUS="&#xe937;",e.PLUS="&#xe938;",e.MAILS_AND_NOTIFICATIONS="&#xe939;",e.SAVE="&#xe93a;",e.LOCKER="&#xe93b;",e.ADMIN_INTEGRATION="&#xe93c;",e.SYNC="&#xe93d;",e.TAG="&#xe93e;",e.BOOK_PLAIN="&#xe93f;",e.UPLOAD="&#xe940;",e.ONLINE="&#xe941;",e.TAG_PLAIN="&#xe942;",e.ACCOUNT_SETTINGS="&#xe943;",e.PRINT="&#xe944;",e.DEFAULT_ROLES="&#xe945;",e.SHORTCUT_MENU="&#xe946;",e.RELATIVES_PLAIN="&#xe947;",e.RELATIVES="&#xe948;",e.PAUSE="&#xe949;",e.PLAY="&#xe94a;",e.ADMIN_PORTAL="&#xe94b;",e.STAR="&#xe94c;",e.THUMBS_DOWN="&#xe94d;",e.THUMBS_DOWN_PLAIN="&#xe94e;",e.THUMBS_UP="&#xe94f;",e.THUMBS_UP_PLAIN="&#xe950;",e.FEEDBACK_PLAIN="&#xe951;",e.RATE_PLAIN="&#xe952;",e.RATE="&#xe953;",e.OFFLINE_SETTINGS="&#xe954;",e.MY_COLLECTIONS="&#xe955;",e.THIN_ARROW_LEFT="&#xe956;",e.THIN_ARROW_RIGHT="&#xe957;",e.RESET="&#xe958;",e.MY_LIBRARY="&#xe959;",e.UNSTRUCTURED_DOC="&#xe95a;",e.CONTEXTUAL="&#xe95b;",e.THIN_ARROW_UP="&#xe95c;",e.ARROW_RIGHT_TO_LINE="&#xe95d;",e.DESKTOP="&#xe95e;",e.TABLET_LANDSCAPE="&#xe95f;",e.TABLET_PORTRAIT="&#xe960;",e.MOBILE_LANDSCAPE="&#xe961;",e.MOBILE_PORTRAIT="&#xe962;",e.DIAGRAM_SUNBURST="&#xe963;",e.DIAGRAM_SANKEY="&#xe964;",e.COMMENT_QUESTION="&#xe965;",e.COMMENT_QUESTION_PLAIN="&#xe966;",e.MESSAGE_BOT="&#xe967;",e.CHART_SIMPLE="&#xe968;",e.BARS_PROGRESS="&#xe969;",e.BOOK_OPEN_GEAR="&#xe96a;",e.BOOK_OPEN_GEAR_SLASH="&#xe96b;",e.LINE_CHART="&#xe96c;",e.STACKED_CHART="&#xe96d;",e.CHART_BAR_STACKED="&#xe96e;",e.CHART_BAR_GROUPED="&#xe96f;",e.EYE_SLASH="&#xe970;",e.X_MARK="&#xe971;",e.EXPAND_WIDE="&#xe972;",e.PIP="&#xe973;",e.PIP_WIDE="&#xe974;",e.LIFE_RING="&#xe975;",e.GLOBE="&#xe976;",e.PIGGY_BANK="&#xe977;",e.EXTLINK_LIGHT="&#xe978;",e.CLONE="&#xe979;",e.CLONE_LINK_SIMPLE="&#xe97a;",e.CHART_BAR_NORMALIZED="&#xe97b;",e.CONSUMER="&#xe97c;",e.OCTAGON_XMARK="&#xe97d;",e.HOURGLASS_HALF="&#xe97e;",e.CLOCK="&#xe97f;",e.CLOCK_THREE="&#xe97f;",e.CALENDAR_DAY="&#xe980;",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",e.WAND_MAGIC_SPARKLES="&#xe982;",e.PAPER_PLANE="&#xe983;",e.CIRCLE_STOP="&#xe984;",e.ARROW_ROTATE_RIGHT="&#xe985;",e.ARROWS_ROTATE="&#xe986;",e.ALIGN_RIGHT="&#xe987;",e.FORMAT_CLEAR="&#xe988;",e.ALIGN_CENTER="&#xe989;",e.ALIGN_LEFT="&#xe98a;",e.PALETTE="&#xe98b;",e.BOLD="&#xe98c;",e.ITALIC="&#xe98d;",e.UNDERLINE="&#xe98e;",e.STRIKETHROUGH="&#xe98f;",e.LINK_SIMPLE_SLASH="&#xe990;",e.LINK_SIMPLE="&#xe991;",e.ROUTE="&#xe992;",e.CIRCLE_USER_SLASH="&#xe993;",e.CIRCLE_USER_CHECK="&#xe994;",e.LIST_MAGNIFYING_GLASS="&#xe995;",e.MEDAL="&#xe996;",e.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",e.ARROW_TURN_DOWN_RIGHT="&#xe998;",e.FLASK="&#xe999;",e.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",e.HOURGLASS_END="&#xe99b;",e.CIRCLE_QUESTION="&#xe99c;",e.GRIP_LINES_SOLID="&#xe99d;",e.TRANSLATE_SPARKLE_SOLID="&#xe99e;",e.CODE="&#xe99f;",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",e.PAPER_PLANE_SLASH="&#xe9a1;",e.COMPRESS="&#xe9a2;",e.EXPAND="&#xe9a3;",e.ARROW_ROTATE_LEFT="&#xe9a4;",e.MOBILE_SMALL="&#xe9a5;",e.SPARKLES="&#xe9a6;",e.HAND_SOLID="&#xe9a7;",e.CLOCK_SOLID="&#xe9a8;",e.CONTEXT_MENU_CURSOR="&#xe9a9;",e.LANGUAGE_SLASH="&#xe9aa;",e.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",e.CABINET_FILING_FLOPPY_DISK="&#xe9ac;",e.BOOKMARK_SLASH="&#xe9ad;",e.CIRCLE_PAUSE="&#xe9ae;",e.CIRCLE_PLAY="&#xe9af;",e.CIRCLE_STOP_PLAIN="&#xe9b0;",e.CIRCLE_ARROW_DOWN="&#xe9b1;",e.SHARE_NODES="&#xe9b2;",e.BELL="&#xe9b3;",e.BELL_SLASH="&#xe9b4;",e.FILE="&#xe9b5;",e.HAND="&#xe9b6;",e.SQUARE_INFO_SOLID="&#xe9b7;",e.FILE_CODE="&#xe9b8;",e.BOX_CODE="&#xe9b9;",e.TOPICS_SOLID="&#xe9ba;",e.PHOTO_FILM="&#xe9bb;",e.HYPHEN_SOLID="&#xe9bc;",e.CROSSHAIRS="&#xe9bd;",e.PERSON_CHALKBOARD="&#xe9be;",e.CIRCLE_ARROW_DOWN_SLASH="&#xe9bf;",e.BOOK_OPEN_COVER="&#xe9c0;",e.LIGHTBULB="&#xe9c1;",e.MESSAGE_BOT_AGENTIC_SOLID="&#xe9c2;",e.CHART_LINE_USER="&#xe9c3;",e.SERVER_CIRCLE_ARROW_DOWN="&#xe9c4;",e.EYE="&#xf06e;",e.SHARE="&#xe80f1;"})(Et||(Et={}));var v;(function(e){e.UNKNOWN="&#xe90a;",e.ABW="&#xe900;",e.AUDIO="&#xe901;",e.AVI="&#xe902;",e.CHM="&#xe904;",e.CODE="&#xe905;",e.CSV="&#xe903;",e.DITA="&#xe906;",e.EPUB="&#xe907;",e.EXCEL="&#xe908;",e.FLAC="&#xe909;",e.GIF="&#xe90b;",e.GZIP="&#xe90c;",e.HTML="&#xe90d;",e.IMAGE="&#xe90e;",e.JPEG="&#xe90f;",e.JSON="&#xe910;",e.M4A="&#xe911;",e.MOV="&#xe912;",e.MP3="&#xe913;",e.MP4="&#xe914;",e.OGG="&#xe915;",e.PDF="&#xe916;",e.PNG="&#xe917;",e.POWERPOINT="&#xe918;",e.RAR="&#xe91a;",e.STP="&#xe91b;",e.TEXT="&#xe91c;",e.VIDEO="&#xe91e;",e.WAV="&#xe91f;",e.WMA="&#xe920;",e.WORD="&#xe921;",e.XML="&#xe922;",e.YAML="&#xe919;",e.ZIP="&#xe923;"})(v||(v={}));var ev=new Map([...["abw"].map(e=>[e,v.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,v.AUDIO]),...["avi"].map(e=>[e,v.AVI]),...["chm","xhs"].map(e=>[e,v.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,v.CODE]),...["csv"].map(e=>[e,v.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,v.DITA]),...["epub"].map(e=>[e,v.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,v.EXCEL]),...["flac"].map(e=>[e,v.FLAC]),...["gif"].map(e=>[e,v.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,v.GZIP]),...["html","htm","xhtml"].map(e=>[e,v.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,v.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,v.JPEG]),...["json"].map(e=>[e,v.JSON]),...["m4a","m4p"].map(e=>[e,v.M4A]),...["mov","qt"].map(e=>[e,v.MOV]),...["mp3"].map(e=>[e,v.MP3]),...["mp4","m4v"].map(e=>[e,v.MP4]),...["ogg","oga"].map(e=>[e,v.OGG]),...["pdf","ps"].map(e=>[e,v.PDF]),...["png"].map(e=>[e,v.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,v.POWERPOINT]),...["rar"].map(e=>[e,v.RAR]),...["stp"].map(e=>[e,v.STP]),...["txt","rtf","md","mdown"].map(e=>[e,v.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,v.VIDEO]),...["wav"].map(e=>[e,v.WAV]),...["wma"].map(e=>[e,v.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,v.WORD]),...["xml","xsl","rdf"].map(e=>[e,v.XML]),...["yaml","yml","x-yaml"].map(e=>[e,v.YAML]),...["zip"].map(e=>[e,v.ZIP])]);var tv={[v.ABW]:"#91ABC6",[v.AUDIO]:"#1795E3",[v.AVI]:"#E63324",[v.CHM]:"#71C3EB",[v.CODE]:"#71C3EB",[v.CSV]:"#1F7345",[v.DITA]:"#71C3EB",[v.EPUB]:"#85B926",[v.EXCEL]:"#1F7345",[v.FLAC]:"#1795E3",[v.GIF]:"#59B031",[v.GZIP]:"#F8AB36",[v.HTML]:"#71C3EB",[v.IMAGE]:"#59B031",[v.JPEG]:"#59B031",[v.JSON]:"#71C3EB",[v.M4A]:"#1795E3",[v.MOV]:"#E63324",[v.MP3]:"#1795E3",[v.MP4]:"#E63324",[v.OGG]:"#1795E3",[v.PDF]:"#E44948",[v.PNG]:"#59B031",[v.POWERPOINT]:"#B54A2B",[v.RAR]:"#F8AB36",[v.STP]:"#3764B1",[v.TEXT]:"#3162AB",[v.UNKNOWN]:"#999999",[v.VIDEO]:"#E63324",[v.WAV]:"#1795E3",[v.WMA]:"#1795E3",[v.WORD]:"#3162AB",[v.XML]:"#71C3EB",[v.YAML]:"#71C3EB",[v.ZIP]:"#F8AB36"};var vr=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},de=class extends H{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=M}render(){let t=this.variant&&Object.values(We).includes(this.variant)?this.variant:We.fluid_topics,o=t!==We.material||!!this.value;return W`
472
472
  <i class="ft-icon ft-icon--${t} ft-no-text-select" part="icon icon-${t}">
473
- ${Po(this.resolvedIcon)}
473
+ ${Io(this.resolvedIcon)}
474
474
  <slot ?hidden=${o}></slot>
475
475
  </i>
476
- `}getTextContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(t){super.update(t),["value","variant"].some(o=>t.has(o))&&this.resolveIcon()}resolveIcon(){var t,o;let n=this.value||this.getTextContent();switch(this.variant){case We.file_format:this.resolvedIcon=(t=v[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case We.material:this.resolvedIcon=this.value||U;break;default:this.resolvedIcon=(o=Et[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};de.elementDefinitions={};de.styles=ml;vr([O()],de.prototype,"variant",void 0);vr([O()],de.prototype,"value",void 0);vr([O({reflect:!0,attribute:"aria-hidden"})],de.prototype,"ariaHidden",void 0);vr([$()],de.prototype,"resolvedIcon",void 0);vr([ie("slot")],de.prototype,"slottedContent",void 0);var yl={"ft-icon":de};ye(yl);var k={labelSize:r.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:r.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:r.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:r.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:r.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:r.extend("--ft-select-selected-option-color","",B.colorOnSurface),helperColor:r.extend("--ft-select-helper-color","",B.colorOnSurfaceMedium),optionsColor:r.extend("--ft-select-options-color","",B.colorOnSurface),optionsZIndex:r.create("--ft-select-options-z-index","","NUMBER","3"),backgroundColor:r.extend("--ft-select-background-color","",B.colorSurface),colorOnSurfaceDisabled:r.external(B.colorOnSurfaceDisabled,"Design system"),colorPrimary:r.external(B.colorPrimary,"Design system"),borderRadiusS:r.external(B.borderRadiusS,"Design system"),elevation02:r.external(B.elevation02,"Design system"),colorError:r.external(B.colorError,"Design system")},gl=N`
476
+ `}getTextContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(t){super.update(t),["value","variant"].some(o=>t.has(o))&&this.resolveIcon()}resolveIcon(){var t,o;let n=this.value||this.getTextContent();switch(this.variant){case We.file_format:this.resolvedIcon=(t=v[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case We.material:this.resolvedIcon=this.value||M;break;default:this.resolvedIcon=(o=Et[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};de.elementDefinitions={};de.styles=ml;vr([C()],de.prototype,"variant",void 0);vr([C()],de.prototype,"value",void 0);vr([C({reflect:!0,attribute:"aria-hidden"})],de.prototype,"ariaHidden",void 0);vr([$()],de.prototype,"resolvedIcon",void 0);vr([ie("slot")],de.prototype,"slottedContent",void 0);var yl={"ft-icon":de};ye(yl);var k={labelSize:r.create("--ft-select-label-size","","SIZE","11px"),selectedOptionSize:r.create("--ft-select-selected-option-size","","SIZE","14px"),verticalSpacing:r.create("--ft-select-vertical-spacing","","SIZE","4px"),horizontalSpacing:r.create("--ft-select-horizontal-spacing","","SIZE","16px"),optionsHeight:r.create("--ft-select-options-height","","SIZE","70vh"),selectedOptionColor:r.extend("--ft-select-selected-option-color","",B.colorOnSurface),helperColor:r.extend("--ft-select-helper-color","",B.colorOnSurfaceMedium),optionsColor:r.extend("--ft-select-options-color","",B.colorOnSurface),optionsZIndex:r.create("--ft-select-options-z-index","","NUMBER","3"),backgroundColor:r.extend("--ft-select-background-color","",B.colorSurface),colorOnSurfaceDisabled:r.external(B.colorOnSurfaceDisabled,"Design system"),colorPrimary:r.external(B.colorPrimary,"Design system"),borderRadiusS:r.external(B.borderRadiusS,"Design system"),elevation02:r.external(B.elevation02,"Design system"),colorError:r.external(B.colorError,"Design system")},gl=N`
477
477
  *:focus {
478
478
  outline: none;
479
479
  }
@@ -525,12 +525,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
525
525
  }
526
526
 
527
527
  ft-input-label {
528
- ${z(F.fontSize,k.selectedOptionSize)};
529
- ${z(F.raisedFontSize,k.labelSize)};
530
- ${z(F.verticalSpacing,k.verticalSpacing)};
531
- ${z(F.horizontalSpacing,k.horizontalSpacing)};
532
- ${z(F.backgroundColor,k.backgroundColor)};
533
- ${z(F.labelMaxWidth,`calc(100% - ${Ee.size} - 8px)`)};
528
+ ${z(U.fontSize,k.selectedOptionSize)};
529
+ ${z(U.raisedFontSize,k.labelSize)};
530
+ ${z(U.verticalSpacing,k.verticalSpacing)};
531
+ ${z(U.horizontalSpacing,k.horizontalSpacing)};
532
+ ${z(U.backgroundColor,k.backgroundColor)};
533
+ ${z(U.labelMaxWidth,`calc(100% - ${Ee.size} - 8px)`)};
534
534
  }
535
535
 
536
536
  .ft-select:not(.ft-select--disabled):focus-within ft-icon {
@@ -538,8 +538,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
538
538
  }
539
539
 
540
540
  .ft-select:not(.ft-select--disabled):focus-within ft-input-label {
541
- ${z(F.borderColor,k.colorPrimary)};
542
- ${z(F.textColor,k.colorPrimary)};
541
+ ${z(U.borderColor,k.colorPrimary)};
542
+ ${z(U.textColor,k.colorPrimary)};
543
543
  }
544
544
 
545
545
  .ft-select--selected-option {
@@ -549,8 +549,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
549
549
  overflow: hidden;
550
550
  white-space: nowrap;
551
551
  text-overflow: ellipsis;
552
- ${z(_e.fontSize,k.selectedOptionSize)};
553
- ${z(_e.lineHeight,k.selectedOptionSize)};
552
+ ${z(Te.fontSize,k.selectedOptionSize)};
553
+ ${z(Te.lineHeight,k.selectedOptionSize)};
554
554
  }
555
555
 
556
556
  .ft-select--in-error .ft-select--selected-option {
@@ -636,8 +636,8 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
636
636
  overflow: hidden;
637
637
  }
638
638
 
639
- `;var Or=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},ne=class extends H{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.isSlotEmpty=!0}render(){var t,o;let n={"ft-select--option":!0,"ft-select--option-selected":this.selected,"ft-typography--body2":!0};return j`
640
- <div class="${Le(n)}"
639
+ `;var Or=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},ne=class extends H{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.isSlotEmpty=!0}render(){var t,o;let n={"ft-select--option":!0,"ft-select--option-selected":this.selected,"ft-typography--body2":!0};return W`
640
+ <div class="${Ne(n)}"
641
641
  part="option option-${(o=(t=this.value)===null||t===void 0?void 0:t.toString())===null||o===void 0?void 0:o.replace(/[^\w-]/g,"")}"
642
642
  tabindex="0"
643
643
  aria-label="${this.label}"
@@ -646,10 +646,10 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
646
646
  <ft-ripple ?primary=${this.selected} ?activated=${this.selected}></ft-ripple>
647
647
  <slot @slotchange=${this.onSlotChange}>
648
648
  </slot>
649
- ${this.isSlotEmpty?j`<span>${this.label}</span>`:j``}
649
+ ${this.isSlotEmpty?W`<span>${this.label}</span>`:W``}
650
650
  </div>
651
- `}onSlotChange(){this.isSlotEmpty=dr(this.slotElement)}onClick(){this.dispatchEvent(new Event("select-option",{bubbles:!0,composed:!0}))}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};ne.elementDefinitions={"ft-ripple":G};ne.shadowRootOptions={...fe.shadowRootOptions,delegatesFocus:!0};ne.styles=[bl,fo];Or([O({type:String})],ne.prototype,"label",void 0);Or([O({type:Object,converter:e=>e})],ne.prototype,"value",void 0);Or([O({type:Boolean,reflect:!0})],ne.prototype,"selected",void 0);Or([ie("slot")],ne.prototype,"slotElement",void 0);Or([$()],ne.prototype,"isSlotEmpty",void 0);var J=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a};var V=class e extends H{constructor(){super(...arguments),this.label="",this.ariaLabel=null,this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.currentSearch="",this.lastSearchInputDate=new Date("01/01/1970"),this.isSlotEmpty=!0,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}get firstOption(){return this.optionsList[0]}get optionsList(){let t=[...this.querySelectorAll("ft-select-option")];return t.length>0?t:[...this.shadowRoot.querySelectorAll("ft-select-option")]}get focusedOption(){return this.optionsList.find(t=>t.matches(":focus-within"))}get selectedOptionElement(){return this.optionsList.find(t=>t.selected)}get lastOption(){return Fo(this.optionsList)}render(){var t,o,n,i,a;let s=this.hasOptionsMenuOpen,l=this.disabled||!this.hasOptions,u=((t=this.selectedOption)===null||t===void 0?void 0:t.value)!=null||((i=(o=this.selectedOption)===null||o===void 0?void 0:o.label)!==null&&i!==void 0?i:"").length>0,p={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":l,"ft-select--options-displayed":s,"ft-select--has-option-selected":u,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return j`
652
- <div class="${Le(p)}" part="container">
651
+ `}onSlotChange(){this.isSlotEmpty=dr(this.slotElement)}onClick(){this.dispatchEvent(new Event("select-option",{bubbles:!0,composed:!0}))}update(t){super.update(t),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};ne.elementDefinitions={"ft-ripple":G};ne.shadowRootOptions={...fe.shadowRootOptions,delegatesFocus:!0};ne.styles=[bl,ho];Or([C({type:String})],ne.prototype,"label",void 0);Or([C({type:Object,converter:e=>e})],ne.prototype,"value",void 0);Or([C({type:Boolean,reflect:!0})],ne.prototype,"selected",void 0);Or([ie("slot")],ne.prototype,"slotElement",void 0);Or([$()],ne.prototype,"isSlotEmpty",void 0);var J=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a};var V=class e extends H{constructor(){super(...arguments),this.label="",this.ariaLabel=null,this.helper="",this.outlined=!1,this.disabled=!1,this.error=!1,this.fixedMenuPosition=!1,this.options=[],this.optionsDisplayed=!1,this.focusOptions=!1,this.currentSearch="",this.lastSearchInputDate=new Date("01/01/1970"),this.isSlotEmpty=!0,this.hideOptions=t=>this.optionsDisplayed=this.optionsDisplayed&&t.composedPath().includes(this.container)}get firstOption(){return this.optionsList[0]}get optionsList(){let t=[...this.querySelectorAll("ft-select-option")];return t.length>0?t:[...this.shadowRoot.querySelectorAll("ft-select-option")]}get focusedOption(){return this.optionsList.find(t=>t.matches(":focus-within"))}get selectedOptionElement(){return this.optionsList.find(t=>t.selected)}get lastOption(){return $o(this.optionsList)}render(){var t,o,n,i,a;let s=this.hasOptionsMenuOpen,l=this.disabled||!this.hasOptions,u=((t=this.selectedOption)===null||t===void 0?void 0:t.value)!=null||((i=(o=this.selectedOption)===null||o===void 0?void 0:o.label)!==null&&i!==void 0?i:"").length>0,p={"ft-select":!0,"ft-select--filled":!this.outlined,"ft-select--outlined":this.outlined,"ft-select--disabled":l,"ft-select--options-displayed":s,"ft-select--has-option-selected":u,"ft-select--no-label":!this.label,"ft-select--fixed":this.fixedMenuPosition,"ft-select--in-error":this.error};return W`
652
+ <div class="${Ne(p)}" part="container">
653
653
  <div class="ft-select--main-panel" part="main-panel">
654
654
  <ft-input-label text="${this.label}"
655
655
  part="label"
@@ -664,11 +664,11 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
664
664
  tabindex="${l?"-1":"0"}"
665
665
  @click=${()=>{this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=this.optionsDisplayed}}
666
666
  @keydown=${this.onMainPanelKeyDown}
667
- aria-label="${_i(this.ariaLabel)}"
667
+ aria-label="${Ti(this.ariaLabel)}"
668
668
  aria-labelledby="${lt(!this.ariaLabel,()=>"label")}"
669
669
  aria-haspopup="listbox"
670
670
  aria-expanded="${s}"
671
- aria-activedescendant="${_i(this.getOptionId(this.selectedOption))}"
671
+ aria-activedescendant="${Ti(this.getOptionId(this.selectedOption))}"
672
672
  role="combobox">
673
673
  <ft-ripple ?disabled=${l} ?activated=${!this.outlined}></ft-ripple>
674
674
  <slot name="input-value">
@@ -693,18 +693,18 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
693
693
  </div>
694
694
  </div>
695
695
  <slot name="helper" part="helper">
696
- ${this.helper?j`
696
+ ${this.helper?W`
697
697
  <ft-typography class="ft-select--helper-text" variant="${ut.caption}">${this.helper}
698
- </ft-typography>`:U}
698
+ </ft-typography>`:M}
699
699
  </slot>
700
700
  </div>
701
- `}renderOption(t){let o=this.selectedOption===t;return j`
701
+ `}renderOption(t){let o=this.selectedOption===t;return W`
702
702
  <ft-select-option
703
703
  ?selected=${o}
704
704
  label="${t.label}"
705
705
  .value=${t.value}
706
706
  ></ft-select-option>
707
- `}willUpdate(t){super.willUpdate(t),t.has("options")&&(this.selectedOption=this.options.filter(o=>o.selected)[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(t){var o,n;if(super.contentAvailableCallback(t),t.has("focusOptions")&&this.focusOptions&&((o=(n=this.selectedOptionElement)!==null&&n!==void 0?n:this.firstOption)===null||o===void 0||o.focus(),this.focusOptions=!1),t.has("optionsDisplayed")&&(this.optionsDisplayed?document.addEventListener("click",this.hideOptions):document.removeEventListener("click",this.hideOptions)),t.has("optionsDisplayed")&&this.hasOptionsMenuOpen){this.optionsMenu.style.minWidth=this.mainPanel.getBoundingClientRect().width+"px";let i=["bottom","top"];xn(this.mainPanel,this.optionsMenu,"bottom",i,"fixed",k.optionsHeight,0).then(({x:a,y:s})=>{this.optionsMenu.style.left=`${a}px`,this.optionsMenu.style.top=`${s}px`})}}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var o;t.stopPropagation(),this.isSlotEmpty=dr(this.optionsSlot);let n=(o=this.optionsSlot)===null||o===void 0?void 0:o.assignedElements().map(i=>i);n&&n.length>0&&(this.options=n)}onMainPanelKeyDown(t){switch(t.key===" "&&(t.preventDefault(),t.stopPropagation()),t.key){case" ":case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(t){var o,n;let i,a=this.focusedOption?this.optionsList.indexOf(this.focusedOption):0;switch(t.key){case" ":case"Enter":t.preventDefault(),t.stopPropagation(),this.onSelectOption(t),this.optionsDisplayed=!1,(o=this.mainPanel)===null||o===void 0||o.focus();break;case"Escape":this.optionsDisplayed=!1,(n=this.mainPanel)===null||n===void 0||n.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),i=this.optionsList[(a-1+this.optionsList.length)%this.optionsList.length];break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),i=this.optionsList[(a+1)%this.optionsList.length];break;default:if(t.key.length!=1)break;this.isKeyAlphanumeric(t.key)&&(i=this.handleAlphanumericPress(t.key));break}i?.focus()}isKeyAlphanumeric(t){let o=t.charCodeAt(0);return o>47&&o<58||o>64&&o<91||o>96&&o<123}handleAlphanumericPress(t){let o=new Date;o.getTime()-this.lastSearchInputDate.getTime()>e.searchTimeoutMilliseconds&&(this.currentSearch=""),this.currentSearch+=t.toLowerCase();let n=this.options.find(i=>{var a;return((a=i.label)===null||a===void 0?void 0:a.toLowerCase().substring(0,this.currentSearch.length))===this.currentSearch});return this.lastSearchInputDate=o,n&&this.optionsList.find(i=>i.value===n.value)}getOptionId(t){if(!t)return;let o=this.options.findIndex(n=>me(n.value,t.value));if(o!==-1)return`option-${o}`}onSelectOption(t){t.stopPropagation(),this.setValue(t.target.value)}setValue(t,o=!0){let n=this.options.find(i=>me(i.value,t));n&&this.selectOption(n,o)}selectOption(t,o=!0){var n,i;if(!me((n=this.selectedOption)===null||n===void 0?void 0:n.value,t?.value)){this.selectedOption=t;for(let a of this.options)a.selected=a===t;o&&this.dispatchEvent(new CustomEvent("change",{detail:(i=this.selectedOption)===null||i===void 0?void 0:i.value}))}this.optionsDisplayed=!1}};V.elementDefinitions={"ft-input-label":Se,"ft-typography":Me,"ft-ripple":G,"ft-icon":de,"ft-select-option":ne};V.searchTimeoutMilliseconds=2e3;V.styles=[Gt,gl];J([O({type:String})],V.prototype,"label",void 0);J([O({type:String})],V.prototype,"ariaLabel",void 0);J([O({type:String})],V.prototype,"helper",void 0);J([O({type:Boolean})],V.prototype,"outlined",void 0);J([O({type:Boolean})],V.prototype,"disabled",void 0);J([O({type:Boolean})],V.prototype,"error",void 0);J([O({type:Boolean})],V.prototype,"fixedMenuPosition",void 0);J([O({type:Array})],V.prototype,"options",void 0);J([$()],V.prototype,"selectedOption",void 0);J([$()],V.prototype,"optionsDisplayed",void 0);J([$()],V.prototype,"focusOptions",void 0);J([$()],V.prototype,"currentSearch",void 0);J([$()],V.prototype,"lastSearchInputDate",void 0);J([ie(".ft-select")],V.prototype,"container",void 0);J([ie(".ft-select--options")],V.prototype,"optionsMenu",void 0);J([ie(".ft-select--input-panel")],V.prototype,"mainPanel",void 0);J([ie("slot:not([name])")],V.prototype,"optionsSlot",void 0);var xl={"ft-select":V,"ft-select-option":ne};ye(xl);})();
707
+ `}willUpdate(t){super.willUpdate(t),t.has("options")&&(this.selectedOption=this.options.filter(o=>o.selected)[0]),t.has("selectedOption")&&(this.optionsDisplayed=!1)}contentAvailableCallback(t){var o,n;if(super.contentAvailableCallback(t),t.has("focusOptions")&&this.focusOptions&&((o=(n=this.selectedOptionElement)!==null&&n!==void 0?n:this.firstOption)===null||o===void 0||o.focus(),this.focusOptions=!1),t.has("optionsDisplayed")&&(this.optionsDisplayed?document.addEventListener("click",this.hideOptions):document.removeEventListener("click",this.hideOptions)),t.has("optionsDisplayed")&&this.hasOptionsMenuOpen){this.optionsMenu.style.minWidth=this.mainPanel.getBoundingClientRect().width+"px";let i=["bottom","top"];Sn(this.mainPanel,this.optionsMenu,"bottom",i,"fixed",k.optionsHeight,0).then(({x:a,y:s})=>{this.optionsMenu.style.left=`${a}px`,this.optionsMenu.style.top=`${s}px`})}}get hasOptionsMenuOpen(){return!this.disabled&&this.optionsDisplayed&&this.hasOptions}get hasOptions(){return this.options.length>0}updateOptionsFromSlot(t){var o;t.stopPropagation(),this.isSlotEmpty=dr(this.optionsSlot);let n=(o=this.optionsSlot)===null||o===void 0?void 0:o.assignedElements().map(i=>i);n&&n.length>0&&(this.options=n)}onMainPanelKeyDown(t){switch(t.key===" "&&(t.preventDefault(),t.stopPropagation()),t.key){case" ":case"Enter":this.optionsDisplayed=!this.optionsDisplayed,this.focusOptions=!0;break;case"ArrowUp":case"ArrowDown":t.preventDefault(),t.stopPropagation(),this.optionsDisplayed=!0,this.focusOptions=!0;break}}onOptionsKeyDown(t){var o,n;let i,a=this.focusedOption?this.optionsList.indexOf(this.focusedOption):0;switch(t.key){case" ":case"Enter":t.preventDefault(),t.stopPropagation(),this.onSelectOption(t),this.optionsDisplayed=!1,(o=this.mainPanel)===null||o===void 0||o.focus();break;case"Escape":this.optionsDisplayed=!1,(n=this.mainPanel)===null||n===void 0||n.focus();break;case"Tab":this.optionsDisplayed=!1;break;case"ArrowUp":t.preventDefault(),t.stopPropagation(),i=this.optionsList[(a-1+this.optionsList.length)%this.optionsList.length];break;case"ArrowDown":t.preventDefault(),t.stopPropagation(),i=this.optionsList[(a+1)%this.optionsList.length];break;default:if(t.key.length!=1)break;this.isKeyAlphanumeric(t.key)&&(i=this.handleAlphanumericPress(t.key));break}i?.focus()}isKeyAlphanumeric(t){let o=t.charCodeAt(0);return o>47&&o<58||o>64&&o<91||o>96&&o<123}handleAlphanumericPress(t){let o=new Date;o.getTime()-this.lastSearchInputDate.getTime()>e.searchTimeoutMilliseconds&&(this.currentSearch=""),this.currentSearch+=t.toLowerCase();let n=this.options.find(i=>{var a;return((a=i.label)===null||a===void 0?void 0:a.toLowerCase().substring(0,this.currentSearch.length))===this.currentSearch});return this.lastSearchInputDate=o,n&&this.optionsList.find(i=>i.value===n.value)}getOptionId(t){if(!t)return;let o=this.options.findIndex(n=>me(n.value,t.value));if(o!==-1)return`option-${o}`}onSelectOption(t){t.stopPropagation(),this.setValue(t.target.value)}setValue(t,o=!0){let n=this.options.find(i=>me(i.value,t));n&&this.selectOption(n,o)}selectOption(t,o=!0){var n,i;if(!me((n=this.selectedOption)===null||n===void 0?void 0:n.value,t?.value)){this.selectedOption=t;for(let a of this.options)a.selected=a===t;o&&this.dispatchEvent(new CustomEvent("change",{detail:(i=this.selectedOption)===null||i===void 0?void 0:i.value}))}this.optionsDisplayed=!1}};V.elementDefinitions={"ft-input-label":Se,"ft-typography":Me,"ft-ripple":G,"ft-icon":de,"ft-select-option":ne};V.searchTimeoutMilliseconds=2e3;V.styles=[Gt,gl];J([C({type:String})],V.prototype,"label",void 0);J([C({type:String})],V.prototype,"ariaLabel",void 0);J([C({type:String})],V.prototype,"helper",void 0);J([C({type:Boolean})],V.prototype,"outlined",void 0);J([C({type:Boolean})],V.prototype,"disabled",void 0);J([C({type:Boolean})],V.prototype,"error",void 0);J([C({type:Boolean})],V.prototype,"fixedMenuPosition",void 0);J([C({type:Array})],V.prototype,"options",void 0);J([$()],V.prototype,"selectedOption",void 0);J([$()],V.prototype,"optionsDisplayed",void 0);J([$()],V.prototype,"focusOptions",void 0);J([$()],V.prototype,"currentSearch",void 0);J([$()],V.prototype,"lastSearchInputDate",void 0);J([ie(".ft-select")],V.prototype,"container",void 0);J([ie(".ft-select--options")],V.prototype,"optionsMenu",void 0);J([ie(".ft-select--input-panel")],V.prototype,"mainPanel",void 0);J([ie("slot:not([name])")],V.prototype,"optionsSlot",void 0);var xl={"ft-select":V,"ft-select-option":ne};ye(xl);})();
708
708
  /*! Bundled license information:
709
709
 
710
710
  .store/@webcomponents-scoped-custom-element-registry-npm-0.0.9-2bdd05710b/package/src/scoped-custom-element-registry.js: