@fluid-topics/ft-filter 2.2.38 → 2.2.40

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,7 +1,7 @@
1
- "use strict";(()=>{var Iu=Object.defineProperty;var $=(t,e)=>{for(var r in e)Iu(t,r,{get:e[r],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,n=window.customElements,i=new WeakMap,s=new WeakMap,a=new WeakMap,c=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(b,g){if(b=b.toLowerCase(),this._getDefinition(b)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${b}" 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 v=g.prototype.attributeChangedCallback,A=new Set(g.observedAttributes||[]);m(g,A,v);let P={elementClass:g,connectedCallback:g.prototype.connectedCallback,disconnectedCallback:g.prototype.disconnectedCallback,adoptedCallback:g.prototype.adoptedCallback,attributeChangedCallback:v,formAssociated:g.formAssociated,formAssociatedCallback:g.prototype.formAssociatedCallback,formDisabledCallback:g.prototype.formDisabledCallback,formResetCallback:g.prototype.formResetCallback,formStateRestoreCallback:g.prototype.formStateRestoreCallback,observedAttributes:A};this._definitionsByTag.set(b,P),this._definitionsByClass.set(g,P);let V=r.call(n,b);V||(V=f(b),e.call(n,b,V)),this===window.customElements&&(a.set(g,P),P.standInClass=V);let X=this._awaitingUpgrade.get(b);if(X){this._awaitingUpgrade.delete(b);for(let H of X)s.delete(H),S(H,P,!0)}let k=this._whenDefinedPromises.get(b);return k!==void 0&&(k.resolve(g),this._whenDefinedPromises.delete(b)),g}upgrade(){E.push(this),n.upgrade.apply(n,arguments),E.pop()}get(b){return this._definitionsByTag.get(b)?.elementClass}_getDefinition(b){return this._definitionsByTag.get(b)}whenDefined(b){let g=this._getDefinition(b);if(g!==void 0)return Promise.resolve(g.elementClass);let v=this._whenDefinedPromises.get(b);return v===void 0&&(v={},v.promise=new Promise(A=>v.resolve=A),this._whenDefinedPromises.set(b,v)),v.promise}_upgradeWhenDefined(b,g,v){let A=this._awaitingUpgrade.get(g);A||this._awaitingUpgrade.set(g,A=new Set),v?A.add(b):A.delete(b)}};let d;window.HTMLElement=function(){let g=d;if(g)return d=void 0,g;let v=a.get(this.constructor);if(!v)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return g=Reflect.construct(t,[],v.standInClass),Object.setPrototypeOf(g,this.constructor.prototype),i.set(g,v),g},window.HTMLElement.prototype=t.prototype;let p=b=>b===document||b instanceof ShadowRoot,h=b=>{let g=b.getRootNode();if(!p(g)){let v=E[E.length-1];if(v instanceof CustomElementRegistry)return v;g=v.getRootNode(),p(g)||(g=c.get(g)?.getRootNode()||document)}return g.customElements},f=b=>class{static get formAssociated(){return!0}constructor(){let v=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(v,HTMLElement.prototype);let A=h(v)||window.customElements,P=A._getDefinition(b);return P?S(v,P):s.set(v,A),v}connectedCallback(){let v=i.get(this);v?v.connectedCallback&&v.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,b,!0)}disconnectedCallback(){let v=i.get(this);v?v.disconnectedCallback&&v.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,b,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let v=i.get(this);v&&v.formAssociated&&v?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let v=i.get(this);v?.formAssociated&&v?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let v=i.get(this);v?.formAssociated&&v?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let v=i.get(this);v?.formAssociated&&v?.formStateRestoreCallback?.apply(this,arguments)}},m=(b,g,v)=>{if(g.size===0||v===void 0)return;let A=b.prototype.setAttribute;A&&(b.prototype.setAttribute=function(X,k){let H=X.toLowerCase();if(g.has(H)){let re=this.getAttribute(H);A.call(this,H,k),v.call(this,H,re,k)}else A.call(this,H,k)});let P=b.prototype.removeAttribute;P&&(b.prototype.removeAttribute=function(X){let k=X.toLowerCase();if(g.has(k)){let H=this.getAttribute(k);P.call(this,k),v.call(this,k,H,null)}else P.call(this,k)});let V=b.prototype.toggleAttribute;V&&(b.prototype.toggleAttribute=function(X,k){let H=X.toLowerCase();if(g.has(H)){let re=this.getAttribute(H);V.call(this,H,k);let Ke=this.getAttribute(H);v.call(this,H,re,Ke)}else V.call(this,H,k)})},x=b=>{let g=Object.getPrototypeOf(b);if(g!==window.HTMLElement)return g===t?Object.setPrototypeOf(b,window.HTMLElement):x(g)},S=(b,g,v=!1)=>{Object.setPrototypeOf(b,g.elementClass.prototype),i.set(b,g),d=b;try{new g.elementClass}catch{x(g.elementClass),new g.elementClass}g.attributeChangedCallback&&g.observedAttributes.forEach(A=>{b.hasAttribute(A)&&g.attributeChangedCallback.call(b,A,null,b.getAttribute(A))}),v&&g.connectedCallback&&b.isConnected&&g.connectedCallback.call(b)},w=Element.prototype.attachShadow;Element.prototype.attachShadow=function(b){let g=w.apply(this,arguments);return b.customElements&&(g.customElements=b.customElements),g};let E=[document],T=(b,g,v=void 0)=>{let A=(v?Object.getPrototypeOf(v):b.prototype)[g];b.prototype[g]=function(){E.push(this);let P=A.apply(v||this,arguments);return P!==void 0&&c.set(P,this),E.pop(),P}};T(ShadowRoot,"createElement",document),T(ShadowRoot,"importNode",document),T(Element,"insertAdjacentHTML");let I=(b,g)=>{let v=Object.getOwnPropertyDescriptor(b.prototype,g);Object.defineProperty(b.prototype,g,{...v,set(A){E.push(this),v.set.call(this,A),E.pop()}})};if(I(Element,"innerHTML"),I(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let b=new WeakMap,g=HTMLElement.prototype.attachInternals,v=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...X){let k=g.call(this,...X);return b.set(k,this),k},v.forEach(X=>{let k=window.ElementInternals.prototype,H=k[X];k[X]=function(...re){let Ke=b.get(this);if(i.get(Ke).formAssociated===!0)return H?.call(this,...re);throw new DOMException(`Failed to execute ${H} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class A extends Array{constructor(k){super(...k),this._elements=k}get value(){return this._elements.find(k=>k.checked===!0)?.value||""}}class P{constructor(k){let H=new Map;k.forEach((re,Ke)=>{let Mn=re.getAttribute("name"),va=H.get(Mn)||[];this[+Ke]=re,va.push(re),H.set(Mn,va)}),this.length=k.length,H.forEach((re,Ke)=>{re&&(re.length===1?this[Ke]=re[0]:this[Ke]=new A(re))})}namedItem(k){return this[k]}}let V=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let X=V.get.call(this,[]),k=[];for(let H of X){let re=i.get(H);(!re||re.formAssociated===!0)&&k.push(H)}return new P(k)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,n,i)=>{var s;if(n!==null)try{e.bind(window.customElements)(r,n,i)}catch(a){!((s=a.message)===null||s===void 0)&&s.includes("this constructor has already been used")?window.customElements.define(r,class extends n{},i):console.info(r,n,i,a)}}}var qn={};$(qn,{CSSResult:()=>lr,LitElement:()=>nt,ReactiveElement:()=>Le,_$LE:()=>Gu,_$LH:()=>jn,adoptStyles:()=>Ur,css:()=>R,defaultConverter:()=>cr,getCompatibleStyle:()=>To,html:()=>L,isServer:()=>ym,mathml:()=>Wn,noChange:()=>oe,notEqual:()=>Br,nothing:()=>B,render:()=>Kn,supportsAdoptingStyleSheets:()=>Mr,svg:()=>Gn,unsafeCSS:()=>Fr});var Ro=globalThis,Mr=Ro.ShadowRoot&&(Ro.ShadyCSS===void 0||Ro.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Fn=Symbol(),Sa=new WeakMap,lr=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Fn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(Mr&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Sa.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Sa.set(r,e))}return e}toString(){return this.cssText}},Fr=t=>new lr(typeof t=="string"?t:t+"",void 0,Fn),R=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((n,i,s)=>n+(a=>{if(a._$cssResult$===!0)return a.cssText;if(typeof a=="number")return a;throw Error("Value passed to 'css' function must be a 'css' function result: "+a+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[s+1],t[0]);return new lr(r,t,Fn)},Ur=(t,e)=>{if(Mr)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=Ro.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},To=Mr?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Fr(r)})(t):t;var{is:Nu,defineProperty:Pu,getOwnPropertyDescriptor:Du,getOwnPropertyNames:Mu,getOwnPropertySymbols:Fu,getPrototypeOf:Uu}=Object,Lo=globalThis,Ea=Lo.trustedTypes,$u=Ea?Ea.emptyScript:"",Bu=Lo.reactiveElementPolyfillSupport,$r=(t,e)=>t,cr={toAttribute(t,e){switch(e){case Boolean:t=t?$u:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},Br=(t,e)=>!Nu(t,e),Ca={attribute:!0,type:String,converter:cr,reflect:!1,useDefault:!1,hasChanged:Br};Symbol.metadata??=Symbol("metadata"),Lo.litPropertyMetadata??=new WeakMap;var Le=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=Ca){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&Pu(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:s}=Du(this.prototype,e)??{get(){return this[r]},set(a){this[r]=a}};return{get:i,set(a){let c=i?.call(this);s?.call(this,a),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Ca}static _$Ei(){if(this.hasOwnProperty($r("elementProperties")))return;let e=Uu(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty($r("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty($r("properties"))){let r=this.properties,n=[...Mu(r),...Fu(r)];for(let i of n)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)r.unshift(To(i))}else e!==void 0&&r.push(To(e));return r}static _$Eu(e,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Ur(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$ET(e,r){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let s=(n.converter?.toAttribute!==void 0?n.converter:cr).toAttribute(r,n.type);this._$Em=e,s==null?this.removeAttribute(i):this.setAttribute(i,s),this._$Em=null}}_$AK(e,r){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let s=n.getPropertyOptions(i),a=typeof s.converter=="function"?{fromAttribute:s.converter}:s.converter?.fromAttribute!==void 0?s.converter:cr;this._$Em=i;let c=a.fromAttribute(r,s.type);this[i]=c??this._$Ej?.get(i)??c,this._$Em=null}}requestUpdate(e,r,n,i=!1,s){if(e!==void 0){let a=this.constructor;if(i===!1&&(s=this[e]),n??=a.getPropertyOptions(e),!((n.hasChanged??Br)(s,r)||n.useDefault&&n.reflect&&s===this._$Ej?.get(e)&&!this.hasAttribute(a._$Eu(e,n))))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,r,{useDefault:n,reflect:i,wrapped:s},a){n&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,a??r??this[e]),s!==!0||a!==void 0)||(this._$AL.has(e)||(this.hasUpdated||n||(r=void 0),this._$AL.set(e,r)),i===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,s]of this._$Ep)this[i]=s;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,s]of n){let{wrapped:a}=s,c=this[i];a!==!0||this._$AL.has(i)||c===void 0||this.C(i,void 0,s,c)}}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$EO?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$EM()}catch(n){throw e=!1,this._$EM(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$EO?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(r=>this._$ET(r,this[r])),this._$EM()}updated(e){}firstUpdated(e){}};Le.elementStyles=[],Le.shadowRootOptions={mode:"open"},Le[$r("elementProperties")]=new Map,Le[$r("finalized")]=new Map,Bu?.({ReactiveElement:Le}),(Lo.reactiveElementVersions??=[]).push("2.1.2");var $n=globalThis,Oa=t=>t,ko=$n.trustedTypes,Aa=ko?ko.createPolicy("lit-html",{createHTML:t=>t}):void 0,Bn="$lit$",ot=`lit$${Math.random().toFixed(9).slice(2)}$`,zn="?"+ot,zu=`<${zn}>`,wt=document,Hr=()=>wt.createComment(""),Vr=t=>t===null||typeof t!="object"&&typeof t!="function",Hn=Array.isArray,ka=t=>Hn(t)||typeof t?.[Symbol.iterator]=="function",Un=`[
2
- \f\r]`,zr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,wa=/-->/g,_a=/>/g,Ot=RegExp(`>|${Un}(?:([^\\s"'>=/]+)(${Un}*=${Un}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Ra=/'/g,Ta=/"/g,Ia=/^(?:script|style|textarea|title)$/i,Vn=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),L=Vn(1),Gn=Vn(2),Wn=Vn(3),oe=Symbol.for("lit-noChange"),B=Symbol.for("lit-nothing"),La=new WeakMap,At=wt.createTreeWalker(wt,129);function Na(t,e){if(!Hn(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Aa!==void 0?Aa.createHTML(e):e}var Pa=(t,e)=>{let r=t.length-1,n=[],i,s=e===2?"<svg>":e===3?"<math>":"",a=zr;for(let c=0;c<r;c++){let d=t[c],p,h,f=-1,m=0;for(;m<d.length&&(a.lastIndex=m,h=a.exec(d),h!==null);)m=a.lastIndex,a===zr?h[1]==="!--"?a=wa:h[1]!==void 0?a=_a:h[2]!==void 0?(Ia.test(h[2])&&(i=RegExp("</"+h[2],"g")),a=Ot):h[3]!==void 0&&(a=Ot):a===Ot?h[0]===">"?(a=i??zr,f=-1):h[1]===void 0?f=-2:(f=a.lastIndex-h[2].length,p=h[1],a=h[3]===void 0?Ot:h[3]==='"'?Ta:Ra):a===Ta||a===Ra?a=Ot:a===wa||a===_a?a=zr:(a=Ot,i=void 0);let x=a===Ot&&t[c+1].startsWith("/>")?" ":"";s+=a===zr?d+zu:f>=0?(n.push(p),d.slice(0,f)+Bn+d.slice(f)+ot+x):d+ot+(f===-2?c:x)}return[Na(t,s+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},Gr=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let s=0,a=0,c=e.length-1,d=this.parts,[p,h]=Pa(e,r);if(this.el=t.createElement(p,n),At.currentNode=this.el.content,r===2||r===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=At.nextNode())!==null&&d.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(Bn)){let m=h[a++],x=i.getAttribute(f).split(ot),S=/([.?@])?(.*)/.exec(m);d.push({type:1,index:s,name:S[2],strings:x,ctor:S[1]==="."?No:S[1]==="?"?Po:S[1]==="@"?Do:Rt}),i.removeAttribute(f)}else f.startsWith(ot)&&(d.push({type:6,index:s}),i.removeAttribute(f));if(Ia.test(i.tagName)){let f=i.textContent.split(ot),m=f.length-1;if(m>0){i.textContent=ko?ko.emptyScript:"";for(let x=0;x<m;x++)i.append(f[x],Hr()),At.nextNode(),d.push({type:2,index:++s});i.append(f[m],Hr())}}}else if(i.nodeType===8)if(i.data===zn)d.push({type:2,index:s});else{let f=-1;for(;(f=i.data.indexOf(ot,f+1))!==-1;)d.push({type:7,index:s}),f+=ot.length-1}s++}}static createElement(e,r){let n=wt.createElement("template");return n.innerHTML=e,n}};function _t(t,e,r=t,n){if(e===oe)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,s=Vr(e)?void 0:e._$litDirective$;return i?.constructor!==s&&(i?._$AO?.(!1),s===void 0?i=void 0:(i=new s(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=_t(t,i._$AS(t,e.values),i,n)),e}var Io=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,i=(e?.creationScope??wt).importNode(r,!0);At.currentNode=i;let s=At.nextNode(),a=0,c=0,d=n[0];for(;d!==void 0;){if(a===d.index){let p;d.type===2?p=new dr(s,s.nextSibling,this,e):d.type===1?p=new d.ctor(s,d.name,d.strings,this,e):d.type===6&&(p=new Mo(s,this,e)),this._$AV.push(p),d=n[++c]}a!==d?.index&&(s=At.nextNode(),a++)}return At.currentNode=wt,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},dr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=B,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=_t(this,e,r),Vr(e)?e===B||e==null||e===""?(this._$AH!==B&&this._$AR(),this._$AH=B):e!==this._$AH&&e!==oe&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):ka(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==B&&Vr(this._$AH)?this._$AA.nextSibling.data=e:this.T(wt.createTextNode(e)),this._$AH=e}$(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Gr.createElement(Na(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let s=new Io(i,this),a=s.u(this.options);s.p(r),this.T(a),this._$AH=s}}_$AC(e){let r=La.get(e.strings);return r===void 0&&La.set(e.strings,r=new Gr(e)),r}k(e){Hn(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let s of e)i===r.length?r.push(n=new t(this.O(Hr()),this.O(Hr()),this,this.options)):n=r[i],n._$AI(s),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e!==this._$AB;){let n=Oa(e).nextSibling;Oa(e).remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Rt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,s){this.type=1,this._$AH=B,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=s,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=B}_$AI(e,r=this,n,i){let s=this.strings,a=!1;if(s===void 0)e=_t(this,e,r,0),a=!Vr(e)||e!==this._$AH&&e!==oe,a&&(this._$AH=e);else{let c=e,d,p;for(e=s[0],d=0;d<s.length-1;d++)p=_t(this,c[n+d],r,d),p===oe&&(p=this._$AH[d]),a||=!Vr(p)||p!==this._$AH[d],p===B?e=B:e!==B&&(e+=(p??"")+s[d+1]),this._$AH[d]=p}a&&!i&&this.j(e)}j(e){e===B?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},No=class extends Rt{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===B?void 0:e}},Po=class extends Rt{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==B)}},Do=class extends Rt{constructor(e,r,n,i,s){super(e,r,n,i,s),this.type=5}_$AI(e,r=this){if((e=_t(this,e,r,0)??B)===oe)return;let n=this._$AH,i=e===B&&n!==B||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,s=e!==B&&(n===B||i);i&&this.element.removeEventListener(this.name,this,n),s&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Mo=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){_t(this,e)}},jn={M:Bn,P:ot,A:zn,C:1,L:Pa,R:Io,D:ka,V:_t,I:dr,H:Rt,N:Po,U:Do,B:No,F:Mo},Hu=$n.litHtmlPolyfillSupport;Hu?.(Gr,dr),($n.litHtmlVersions??=[]).push("3.3.3");var Kn=(t,e,r)=>{let n=r?.renderBefore??e,i=n._$litPart$;if(i===void 0){let s=r?.renderBefore??null;n._$litPart$=i=new dr(e.insertBefore(Hr(),s),s,void 0,r??{})}return i._$AI(t),i};var Zn=globalThis,nt=class extends Le{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Kn(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return oe}};nt._$litElement$=!0,nt.finalized=!0,Zn.litElementHydrateSupport?.({LitElement:nt});var Vu=Zn.litElementPolyfillSupport;Vu?.({LitElement:nt});var Gu={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(Zn.litElementVersions??=[]).push("4.2.2");var ym=!1;var Qn={};$(Qn,{customElement:()=>Wu,eventOptions:()=>Ku,property:()=>y,query:()=>z,queryAll:()=>Yn,queryAssignedElements:()=>Xn,queryAssignedNodes:()=>Jn,queryAsync:()=>qu,standardProperty:()=>Da,state:()=>N});var Wu=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var ju={attribute:!0,type:String,converter:cr,reflect:!1,hasChanged:Br},Da=(t=ju,e,r)=>{let{kind:n,metadata:i}=r,s=globalThis.litPropertyMetadata.get(i);if(s===void 0&&globalThis.litPropertyMetadata.set(i,s=new Map),n==="setter"&&((t=Object.create(t)).wrapped=!0),s.set(r.name,t),n==="accessor"){let{name:a}=r;return{set(c){let d=e.get.call(this);e.set.call(this,c),this.requestUpdate(a,d,t,!0,c)},init(c){return c!==void 0&&this.C(a,void 0,t,c),c}}}if(n==="setter"){let{name:a}=r;return function(c){let d=this[a];e.call(this,c),this.requestUpdate(a,d,t,!0,c)}}throw Error("Unsupported decorator location: "+n)};function y(t){return(e,r)=>typeof r=="object"?Da(t,e,r):((n,i,s)=>{let a=i.hasOwnProperty(s);return i.constructor.createProperty(s,n),a?Object.getOwnPropertyDescriptor(i,s):void 0})(t,e,r)}function N(t){return y({...t,state:!0,attribute:!1})}function Ku(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var Me=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function z(t,e){return(r,n,i)=>{let s=a=>a.renderRoot?.querySelector(t)??null;if(e){let{get:a,set:c}=typeof n=="object"?r:i??(()=>{let d=Symbol();return{get(){return this[d]},set(p){this[d]=p}}})();return Me(r,n,{get(){let d=a.call(this);return d===void 0&&(d=s(this),(d!==null||this.hasUpdated)&&c.call(this,d)),d}})}return Me(r,n,{get(){return s(this)}})}}var Zu;function Yn(t){return(e,r)=>Me(e,r,{get(){return(this.renderRoot??(Zu??=document.createDocumentFragment())).querySelectorAll(t)}})}function qu(t){return(e,r)=>Me(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function Xn(t){return(e,r)=>{let{slot:n,selector:i}=t??{},s="slot"+(n?`[name=${n}]`:":not([name])");return Me(e,r,{get(){let a=this.renderRoot?.querySelector(s),c=a?.assignedElements(t)??[];return i===void 0?c:c.filter(d=>d.matches(i))}})}}function Jn(t){return(e,r)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Me(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var ei={};$(ei,{repeat:()=>pr});var Ze={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Oe=t=>(...e)=>({_$litDirective$:t,values:e}),ke=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,n){this._$Ct=e,this._$AM=r,this._$Ci=n}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{I:Yu}=jn,Ma=t=>t;var Ua=t=>t.strings===void 0,Fa=()=>document.createComment(""),ur=(t,e,r)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(r===void 0){let s=n.insertBefore(Fa(),i),a=n.insertBefore(Fa(),i);r=new Yu(s,a,t,t.options)}else{let s=r._$AB.nextSibling,a=r._$AM,c=a!==t;if(c){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==a._$AU&&r._$AP(d)}if(s!==i||c){let d=r._$AA;for(;d!==s;){let p=Ma(d).nextSibling;Ma(n).insertBefore(d,i),d=p}}}return r},ut=(t,e,r=t)=>(t._$AI(e,r),t),Xu={},$a=(t,e=Xu)=>t._$AH=e,Ba=t=>t._$AH,Fo=t=>{t._$AR(),t._$AA.remove()};var za=(t,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},pr=Oe(class extends ke{constructor(t){if(super(t),t.type!==Ze.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,r){let n;r===void 0?r=e:e!==void 0&&(n=e);let i=[],s=[],a=0;for(let c of t)i[a]=n?n(c,a):a,s[a]=r(c,a),a++;return{values:s,keys:i}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,n]){let i=Ba(t),{values:s,keys:a}=this.dt(e,r,n);if(!Array.isArray(i))return this.ut=a,s;let c=this.ut??=[],d=[],p,h,f=0,m=i.length-1,x=0,S=s.length-1;for(;f<=m&&x<=S;)if(i[f]===null)f++;else if(i[m]===null)m--;else if(c[f]===a[x])d[x]=ut(i[f],s[x]),f++,x++;else if(c[m]===a[S])d[S]=ut(i[m],s[S]),m--,S--;else if(c[f]===a[S])d[S]=ut(i[f],s[S]),ur(t,d[S+1],i[f]),f++,S--;else if(c[m]===a[x])d[x]=ut(i[m],s[x]),ur(t,i[f],i[m]),m--,x++;else if(p===void 0&&(p=za(a,x,S),h=za(c,f,m)),p.has(c[f]))if(p.has(c[m])){let w=h.get(a[x]),E=w!==void 0?i[w]:null;if(E===null){let T=ur(t,i[f]);ut(T,s[x]),d[x]=T}else d[x]=ut(E,s[x]),ur(t,i[f],E),i[w]=null;x++}else Fo(i[m]),m--;else Fo(i[f]),f++;for(;x<=S;){let w=ur(t,d[S+1]);ut(w,s[x]),d[x++]=w}for(;f<=m;){let w=i[f++];w!==null&&Fo(w)}return this.ut=a,$a(t,d),oe}});var ti={};$(ti,{classMap:()=>Ae});var Ae=Oe(class extends ke{constructor(t){if(super(t),t.type!==Ze.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.nt?.has(n)&&this.st.add(n);return this.render(e)}let r=t.element.classList;for(let n of this.st)n in e||(r.remove(n),this.st.delete(n));for(let n in e){let i=!!e[n];i===this.st.has(n)||this.nt?.has(n)||(i?(r.add(n),this.st.add(n)):(r.remove(n),this.st.delete(n)))}return oe}});var ri={};$(ri,{styleMap:()=>Qu});var Ha="important",Ju=" !"+Ha,Qu=Oe(class extends ke{constructor(t){if(super(t),t.type!==Ze.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{let n=t[r];return n==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let n of this.ft)e[n]==null&&(this.ft.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in e){let i=e[n];if(i!=null){this.ft.add(n);let s=typeof i=="string"&&i.endsWith(Ju);n.includes("-")||s?r.setProperty(n,s?i.slice(0,-11):i,s?Ha:""):r[n]=i}}return oe}});var ni={};$(ni,{UnsafeHTMLDirective:()=>fr,unsafeHTML:()=>oi});var fr=class extends ke{constructor(e){if(super(e),this.it=B,e.type!==Ze.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===B||e==null)return this._t=void 0,this.it=e;if(e===oe)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let r=[e];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}};fr.directiveName="unsafeHTML",fr.resultType=1;var oi=Oe(fr);var ii={};$(ii,{splitBreadcrumbForMenu:()=>ep});function ep(t,e=0,r=0){if(t.length===0)return{beforeMenu:[],inMenu:[],afterMenu:[]};let n=Math.max(r,1),i=t.slice(n*-1);return e+n>=t.length?{beforeMenu:[],inMenu:[],afterMenu:t}:{beforeMenu:t.slice(0,e),inMenu:t.slice(e,t.length-i.length),afterMenu:i}}var mi={};$(mi,{CacheRegistry:()=>qe,ClearCacheEvent:()=>Zr});var ai={};$(ai,{CancelablePromise:()=>Uo,CanceledPromiseError:()=>Tt,cancelable:()=>si});var Tt=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},Uo=class extends Promise{constructor(e){super((r,n)=>e(i=>{this.isCanceled?n(new Tt("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new Tt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},si=t=>new Uo((e,r)=>t.then(e).catch(r));var hi={};$(hi,{FtContextRegistrationEvent:()=>fi,FtNotificationEvent:()=>Kr,PostResizeEvent:()=>pi,PreResizeEvent:()=>ui,WithEventBus:()=>it,withEventBus:()=>Bo});var di={};$(di,{AbstractRegistry:()=>hr,applyMixinOnce:()=>pe,customElements:()=>q,dateReviver:()=>np,deepCopy:()=>Fe,deepEqual:()=>ue,delay:()=>$o,eventPathContainsMatchingElement:()=>ci,everyDeep:()=>op,flatDeep:()=>kt,forEachDeep:()=>ja,getComposedPathTo:()=>ft,groupBy:()=>cp,hasChanged:()=>Ie,ignoreComposingEvents:()=>lp,last:()=>sp,minmax:()=>Lt,parseDate:()=>Za,randomId:()=>ap,someDeep:()=>Ka,unslotText:()=>qa,waitFor:()=>Wa,waitUntil:()=>jr});var li={};$(li,{customElement:()=>Wr,dateProperty:()=>rp,isNumber:()=>Ga,jsonProperty:()=>ne,jsonPropertyConverter:()=>Va,numberProperty:()=>pt,optionalNumberProperty:()=>tp});var Wr=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)},Va=t=>({fromAttribute:e=>{if(e==null)return Fe(t);try{return JSON.parse(e)}catch{return Fe(t)}},toAttribute:e=>JSON.stringify(e)});function ne(t,e){return y({type:Object,converter:Va(t),hasChanged:Ie,...e??{}})}function tp(t){return pt(t)}function pt(t){return y({type:Object,converter:{fromAttribute:e=>{var r,n;if(e==null)return;let i=(r=t?.min)!==null&&r!==void 0?r:-1/0,s=(n=t?.max)!==null&&n!==void 0?n:1/0;return Ga(e)?Lt(i,+e,s):void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function Ga(t){return!isNaN(parseFloat(t))}function rp(t){return y({type:Object,converter:{fromAttribute:e=>{if(e==null)return;let r=new Date(Date.parse(e));if(!isNaN(r.valueOf()))return r},toAttribute:e=>e?.toISOString()},useDefault:!0,...t??{}})}var $o=t=>new Promise(e=>setTimeout(e,t));async function jr(t,e=10,r=2e4){await Wa(async()=>await t()||void 0,e,r)}async function Wa(t,e=10,r=2e4){let n=await t(),i=performance.now(),s=i;for(;n==null&&(!r||s-i<r);)await $o(e),n=await t(),s=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function kt(t,e){return t.flatMap(r=>[r,...kt(e(r),e)])}function ja(t,e,r){let n=(i,s)=>{var a;for(let c=0;c<i.length;c++){let d=i[c];if(!(((a=r(d,c,i,s))!==null&&a!==void 0?a:!0)&&n(e(d),[...s,d])))return!1}return!0};n(t,[])}function Ka(t,e,r){let n=!1;return ja(t,e,(i,s,a,c)=>(n=!!r(i,s,a,c),!n)),n}function op(t,e,r){return!Ka(t,e,(n,i,s,a)=>!r(n,i,s,a))}function np(...t){return(e,r)=>t.includes(e)?Za(r):r}function Za(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,n,i)=>r+n+":"+i),new Date(t)}function ip(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;let r,n;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!ue(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!ue(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let i=a=>Object.keys(a).filter(c=>a[c]!=null),s=i(t);if(r=s.length,r!==i(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,s[n]))return!1;for(n=r;n--!==0;){let a=s[n];if(!ue(t[a],e[a]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function ue(t,e){try{return ip(t,e)}catch{return!1}}function Ie(t,e){return!ue(t,e)}function ci(t,e,r=window.document.body){if(e.length>0){let n=t.composedPath();for(let i of n){if(i===r)return!1;if(i.matches&&e.some(s=>i.matches(s)))return!0}}return!1}function Lt(t,e,r){return Math.min(Math.max(t,e),r)}function sp(t){return t[t.length-1]}function qa(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>qa(e)).join(""):t?.textContent||""}function ft(t){let e=[],r=n=>{n.stopPropagation(),e=n.composedPath()};return t.addEventListener("get-composed-path",r),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",r),e}function Fe(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function ap(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}function pe(t,e){let r=n=>n[t]===!0;return n=>{if(r(n))return n;let i=e(n);return i[t]=!0,i}}function lp(){return function(t,e,r){let n=r.value;r.value=function(i,...s){if(i.isComposing||i.keyCode===229){i.stopPropagation();return}return n.apply(this,[i].concat(s))}}}function q(t){for(let[e,r]of Object.entries(t))Wr(e)(r)}function cp(t,e){var r,n;let i=typeof e=="function"?e:a=>a[e],s={};for(let a of t)((r=s[n=i(a)])!==null&&r!==void 0?r:s[n]=[]).push(a);return s}var hr=class{constructor(){this.knownElements=new Set}register(e){this.knownElements.add(e)}unregister(e){this.knownElements.delete(e)}list(){return Array.from(this.knownElements)}};var Kr=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},ui=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},pi=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},Bo=pe(Symbol("withEventBus"),function(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,n,i){this.eventBus.addEventListener(r,n,i)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,i){this.eventBus.removeEventListener(r,n,i)}}}),it=class extends Bo(Object){},fi=class extends CustomEvent{constructor(e,r){super(e,{composed:!0,bubbles:!0,detail:r})}};var Zr=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},qe=class extends it{constructor(){super(...arguments),this.content={}}register(e,r,n=!1){var i;let s=this.content[e],a=(i=s?.status)!==null&&i!==void 0?i:"REGISTERED";this.content[e]={...s,loader:r,final:n,status:a}}registerFinal(e,r){this.register(e,r,!0)}clearAll(e=!0){return this.clearMatching(()=>!0,e)}clearMatching(e,r=!0){let n=Object.keys(this.content).filter(e).filter(i=>this.clear(i,!1)!=null);return r&&n.length>0&&this.dispatchEvent(new Zr(n)),n}clear(e,r=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),r&&this.dispatchEvent(new Zr([e])),e}forceClear(e){var r;let n=this.content[e];n&&(this.clearClearTimeout(e),(r=n.promise)===null||r===void 0||r.cancel(),this.content[e]={loader:n.loader,final:n.final,status:"REGISTERED"})}clearClearTimeout(e){var r,n,i;((r=this.content[e])===null||r===void 0?void 0:r.clearTimeout)!=null&&(window.clearTimeout((n=this.content[e])===null||n===void 0?void 0:n.clearTimeout),(i=this.content[e])===null||i===void 0||delete i.clearTimeout)}set(e,r,n=!1){this.forceClear(e);let i=async()=>r,s="RESOLVED";this.content[e]={loader:i,final:n,status:s,value:r}}setFinal(e,r){return this.set(e,r,!0)}async get(e,r,n){if(!this.isRegistered(e)){if(!r)throw new Error("Unknown cache key "+e);this.register(e,r)}let i=this.content[e];switch(i.status){case"ERROR":throw i.error;case"LOADING":return i.promise;case"RESOLVED":return i.value;case"REGISTERED":return r=r??i.loader,i.status="LOADING",i.promise=si(r()),i.promise.then(s=>(i.status="RESOLVED",i.value=s,n!=null&&(this.clearClearTimeout(e),i.clearTimeout=window.setTimeout(()=>this.clear(e),n)),s)).catch(s=>{var a;throw!((a=i.promise)===null||a===void 0)&&a.isCanceled||(i.status="ERROR",i.error=s),s})}}isRegistered(e){return this.content[e]!=null}getNow(e){var r;return(r=this.content[e])===null||r===void 0?void 0:r.value}has(e){var r,n;return((r=this.content[e])===null||r===void 0?void 0:r.status)!==void 0&&((n=this.content[e])===null||n===void 0?void 0:n.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(e=>{var r;return((r=this.content[e])===null||r===void 0?void 0:r.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(e=>this.content[e].value)}keys(){return Object.keys(this.content)}};var Ai={};$(Ai,{ClusteringHelper:()=>Oi,formatHierarchicalValues:()=>Ci});var Ei={};$(Ei,{accessBreadcrumb:()=>bp,accessResult:()=>Si,accessResultId:()=>yp,accessResultUrl:()=>gp,enrichReaderUrl:()=>vi});var xi={};$(xi,{SearchPlaceConverter:()=>st,SearchPlaceQueryParams:()=>D,isSearchPlaceQueryParams:()=>$l,serializeRequest:()=>hp});var dp=t=>typeof t=="object"&&t!=null;var up=t=>typeof t=="number",zo=t=>typeof t=="string",gi=t=>dp(t)&&zo(t.endpoint)&&zo(t.method)&&zo(t.statusText)&&zo(t.body)&&up(t.status),Ya;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Ya||(Ya={}));var Xa;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Xa||(Xa={}));var Ja;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(Ja||(Ja={}));var Qa;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(Qa||(Qa={}));var el;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(el||(el={}));var tl;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(tl||(tl={}));var rl;(function(t){t.PUBLISHED="PUBLISHED",t.AI="AI"})(rl||(rl={}));var ol;(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.CHATBOT__RATE="CHATBOT__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",t.DOCUMENT__ON_DEMAND_TRANSLATE="DOCUMENT__ON_DEMAND_TRANSLATE",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",t.AI__RATE="AI__RATE",t.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",t.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",t.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(ol||(ol={}));var nl;(function(t){t.STANDARD="STANDARD",t.STRUCTURAL="STRUCTURAL"})(nl||(nl={}));var il;(function(t){t.METADATA_FILTER="METADATA_FILTER",t.ACCESS_RIGHTS_FILTER="ACCESS_RIGHTS_FILTER"})(il||(il={}));var sl;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER",t.DOC_DIFF="DOC_DIFF"})(sl||(sl={}));var al;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT",t.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",t.LINK_PREVIEW="LINK_PREVIEW",t.UD_VIEWER="UD_VIEWER",t.ASSET_VIEWER="ASSET_VIEWER"})(al||(al={}));var ll;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(ll||(ll={}));var cl;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(cl||(cl={}));var dl;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(dl||(dl={}));var ul;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(ul||(ul={}));var pl;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(pl||(pl={}));var mr;(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})(mr||(mr={}));var fl;(function(t){t.ASC="ASC",t.DESC="DESC"})(fl||(fl={}));var hl;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(hl||(hl={}));var yi;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(yi||(yi={}));var El=t=>Object.keys(yi).includes(t);var ml;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(ml||(ml={}));var yl;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(yl||(yl={}));var gl;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(gl||(gl={}));var yr;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(yr||(yr={}));var Cl=t=>Object.keys(yr).includes(t);var bl;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.HTML_PACKAGE="HTML_PACKAGE",t.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(bl||(bl={}));var xl;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(xl||(xl={}));var vl;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(vl||(vl={}));var te;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",t.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(te||(te={}));var Ne;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(Ne||(Ne={}));var Sl;(function(t){t.UNAUTHENTICATED="UNAUTHENTICATED",t.USER_INCOMPLETE="USER_INCOMPLETE",t.MFA_REQUIRED="MFA_REQUIRED",t.AUTHENTICATED="AUTHENTICATED"})(Sl||(Sl={}));var Ol;(function(t){t.UNREACHABLE="UNREACHABLE",t.UNAUTHORIZED="UNAUTHORIZED",t.FORBIDDEN="FORBIDDEN",t.INCOMPATIBLE="INCOMPATIBLE",t.FAILED="FAILED",t.OK="OK"})(Ol||(Ol={}));var Al;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Al||(Al={}));var wl;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(wl||(wl={}));var _l;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(_l||(_l={}));var Rl;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.SEMANTIC_SEARCH="SEMANTIC_SEARCH",t.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",t.DOCUMENTATION="DOCUMENTATION",t.OTHER="OTHER"})(Rl||(Rl={}));var Tl;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SLOW="SLOW",t.OTHER="OTHER"})(Tl||(Tl={}));var Ll;(function(t){t.CHAT="CHAT",t.COMPLETION="COMPLETION",t.RAG="RAG",t.AGENT="AGENT"})(Ll||(Ll={}));var kl;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(kl||(kl={}));var Il;(function(t){t.IN_PROGRESS="IN_PROGRESS",t.ERROR="ERROR",t.DONE="DONE"})(Il||(Il={}));var Nl;(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(Nl||(Nl={}));var Pl;(function(t){t.SOURCES="SOURCES",t.ENRICH_AND_CLEAN="ENRICH_AND_CLEAN",t.VOCABULARIES="VOCABULARIES",t.METADATA="METADATA",t.PRETTY_URL="PRETTY_URL",t.ACCESS_RULE="ACCESS_RULE",t.DESIGNED_PAGES="DESIGNED_PAGES",t.THEME_STUDIO="THEME_STUDIO",t.PORTAL_GENERAL="PORTAL_GENERAL",t.ASSETS="ASSETS",t.CODE_LIBRARY="CODE_LIBRARY",t.THEME="THEME",t.CONTENT_STYLES="CONTENT_STYLES",t.HOMEPAGE="HOMEPAGE",t.CLASSIC_SEARCH_PAGE="CLASSIC_SEARCH_PAGE",t.CLASSIC_READER_PAGE="CLASSIC_READER_PAGE",t.PORTAL_METADATA="PORTAL_METADATA",t.LANGUAGES="LANGUAGES",t.PRINT_TEMPLATES="PRINT_TEMPLATES",t.OFFLINE="OFFLINE",t.CUSTOM_JS="CUSTOM_JS",t.CONFIDENTIALITY="CONFIDENTIALITY",t.NOTIFICATIONS="NOTIFICATIONS"})(Pl||(Pl={}));var Dl;(function(t){t.MAP="MAP",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(Dl||(Dl={}));var pp={[te.PERSONAL_BOOK_SHARE_USER]:[te.PERSONAL_BOOK_USER],[te.HTML_EXPORT_USER]:[te.PERSONAL_BOOK_USER],[te.PDF_EXPORT_USER]:[te.PERSONAL_BOOK_USER],[te.KHUB_ADMIN]:[te.CONTENT_PUBLISHER],[te.ADMIN]:[te.KHUB_ADMIN,te.USERS_ADMIN,te.PORTAL_ADMIN,te.BEHAVIOR_DATA_USER],[te.GENERATIVE_AI_EXPORT_USER]:[te.GENERATIVE_AI_USER]};function Ml(t,e){return t===e||(pp[t]??[]).some(r=>Ml(r,e))}function bi(t,e){return t==null?!1:(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some(n=>Ml(n,e))}function Fl(t,...e){return t==null?!1:e.some(r=>bi(t,r))}function fp(t){return`"${t}"`}function Ul(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function hp(t,e){return new st(t).serialize(e)}var D;(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.NEGATIVE_VALUE_FILTERS="negative-value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page",t.KEYWORD_MATCH="keyword-match",t.STICKY_FILTER="sticky-filters"})(D||(D={}));var mp=new Set(Object.values(D));function $l(t){return mp.has(t)}var st=class t{constructor(e,r=20,n=!1,i="en-US",s=[]){this.baseUrl=e,this.defaultPerPage=r,this.allLanguagesAllowed=n,this.defaultContentLocale=i,this.availableContentLocales=s,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"}}serialize(e,r){return this.serializeToCurrentPageIfPossible(e,r??"/search")}serializeToCurrentPageIfPossible(e,r){let n=r==null||r.trim().length===0,i=new URL(n?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return i.search=this.toURLSearchParams(e),i.toString()}toURLSearchParams(e,r=!1){var n,i,s,a,c,d,p,h,f;let m=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&m.append(D.LOCALE,e.contentLocale):m.append(D.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&m.append(D.QUERY,e.query);let x=t.serializeValueFilters(e.metadataFilters);x&&m.append(D.VALUE_FILTERS,x);let S=t.serializeNegativeValueFilters(e.metadataFilters);S&&m.append(D.NEGATIVE_VALUE_FILTERS,S);let w=(d=(i=e.metadataFilters)===null||i===void 0?void 0:i.filter(b=>b.dateFilter))!==null&&d!==void 0?d:[];if(w.length>0){let b=w.map(g=>{var v;return`${g.key}~${(v=g.dateFilter)===null||v===void 0?void 0:v.type.toLowerCase()}`}).join("*");m.append(D.DATE_FILTERS,b)}let E=(p=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(b=>b.rangeFilter))!==null&&p!==void 0?p:[];if(E.length>0){let b=E.map(g=>{var v,A;return`${g.key}~${(v=g.rangeFilter)===null||v===void 0?void 0:v.from}_${(A=g.rangeFilter)===null||A===void 0?void 0:A.to}`}).join("*");m.append(D.RANGE_FILTERS,b)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&m.append(D.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&m.append(D.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&m.append(D.SORT,e.sortId),!((a=e.paging)===null||a===void 0)&&a.perPage&&((h=(c=e.paging)===null||c===void 0?void 0:c.perPage)!==null&&h!==void 0?h:this.defaultPerPage)!=this.defaultPerPage&&m.append(D.PER_PAGE,String(e.paging.perPage)),e.keywordMatch!=null&&m.append(D.KEYWORD_MATCH,e.keywordMatch.toLowerCase());let T=(f=e.otherQueryParams)!==null&&f!==void 0?f:{};for(let b in T)m.append(b,T[b]);let I=new Array;return m.forEach((b,g)=>{I.push(this.encodeQueryString(g)+"="+this.encodeQueryString(b))}),encodeURI(I.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var r;let n=e.split("?"),i=this.fromURLSearchParams(n.slice(1).join("?")),s=n[0].split("/search/")[1];return s==null?i:{...i,scope:(r=this.scopeMapping[s])!==null&&r!==void 0?r:i.scope}}fromURLSearchParams(e){var r,n,i,s,a,c,d;try{e=decodeURI(e).replace(/%23/g,"#")}catch(I){console.warn("Could not decode search request query params, fallback on raw value",I)}let p=new URLSearchParams(e),h=(n=p.get(D.LOCALE))!==null&&n!==void 0?n:void 0,f=((i=p.get(D.VIRTUAL_FIELD))!==null&&i!==void 0?i:"EVERYWHERE").toUpperCase(),m=(r=p.get(D.SORT))===null||r===void 0?void 0:r.toLowerCase(),x=(s=p.get(D.SCOPE))!==null&&s!==void 0?s:"default",S=+((a=p.get(D.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),w=p.get(D.KEYWORD_MATCH),E=w?w.toUpperCase()===mr.MANDATORY?mr.MANDATORY:mr.OPTIONAL:void 0,T={};for(let I of p.keys())$l(I)||(T[I]=p.get(I));return h==="all"?h=this.allLanguagesAllowed?void 0:this.defaultContentLocale:(!h||this.availableContentLocales.length>0&&!this.availableContentLocales.some(I=>I.lang===h))&&(h=this.defaultContentLocale),{contentLocale:h,query:(c=p.get(D.QUERY))!==null&&c!==void 0?c:"",scope:(d=this.scopeMapping[x])!==null&&d!==void 0?d:"DEFAULT",virtualField:El(f)?f:"EVERYWHERE",sortId:m,metadataFilters:this.parseCompatFilters(p),facets:[],paging:{page:1,perPage:Lt(1,isNaN(S)?this.defaultPerPage:S,1e3)},keywordMatch:E,otherQueryParams:T}}parseCompatFilters(e){var r,n,i,s,a,c,d;let p=[];return e.has(D.FILTERS)&&(p=t.parseValueFilters((r=e.get(D.FILTERS))!==null&&r!==void 0?r:"")),(n=e.has(D.PERIOD))!==null&&n!==void 0&&n&&(p=[...p,...this.parseLegacyPeriodFilter(((i=e.get(D.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...p,...t.parseValueFilters((s=e.get(D.VALUE_FILTERS))!==null&&s!==void 0?s:""),...t.parseValueFilters((a=e.get(D.NEGATIVE_VALUE_FILTERS))!==null&&a!==void 0?a:"",!0),...this.parseDateFilters((c=e.get(D.DATE_FILTERS))!==null&&c!==void 0?c:""),...this.parseRangeFilters((d=e.get(D.RANGE_FILTERS))!==null&&d!==void 0?d:"")]}static splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(r=>r.split("~"))}static parseValueFilters(e,r=!1){return e.length===0?[]:this.splitUnknownFilter(e).map(n=>({key:n[0],valueFilter:{values:n[1].split("_").map(Ul).map(i=>this.unescapeFilterValue(i)),negative:r}}))}parseDateFilters(e){return e.length===0?[]:t.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:yr[r[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:t.splitUnknownFilter(e).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}static escapeFilters(e){for(let[r,n,i]of this.filtersEscapeMapping)e=e.replaceAll(r,n);return e}static superEscapeFilters(e){for(let[r,n,i]of t.filtersEscapeMapping)e=e.replaceAll(n,i);return e}static unescapeFilterValue(e){for(let[r,n,i]of t.filtersEscapeMapping)e=e.replaceAll(i,r);return e}parseLegacyPeriodFilter(e){if(Cl(e))return[{key:"ft:lastEdition",dateFilter:{type:yr[e]}}];if(e.startsWith("CUSTOM_")){let[r,n,i]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}static serializeValueFilter(e){var r,n;let i=((n=(r=e.valueFilter)===null||r===void 0?void 0:r.values)!==null&&n!==void 0?n:[]).map(s=>t.escapeFilters(s)).map(s=>fp(Ul(s))).join("_");return`${e.key}~${i}`}static serializeValueFilters(e){var r;let n=(r=e?.filter(i=>i.valueFilter&&!i.valueFilter.negative))!==null&&r!==void 0?r:[];if(n.length>0)return n.map(t.serializeValueFilter).join("*")}static serializeNegativeValueFilters(e){var r;let n=(r=e?.filter(i=>i.valueFilter&&i.valueFilter.negative))!==null&&r!==void 0?r:[];if(n.length>0)return n.map(t.serializeValueFilter).join("*")}static clearSearchParamsInUrl(e){let r=new URL(e);return[D.LOCALE,D.FILTERS,D.VALUE_FILTERS,D.NEGATIVE_VALUE_FILTERS,D.DATE_FILTERS,D.RANGE_FILTERS].forEach(i=>{r.searchParams.delete(i)}),r.toString()}static updateLocaleParamInUrl(e,r){let n=new URL(e);return n.searchParams.delete(D.LOCALE),r!==void 0&&n.searchParams.append(D.LOCALE,r),n.toString()}};st.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]];function Si(t){var e,r,n,i;return(i=(n=(r=(e=t?.map)!==null&&e!==void 0?e:t?.topic)!==null&&r!==void 0?r:t?.document)!==null&&n!==void 0?n:t?.htmlPackage)!==null&&i!==void 0?i:t?.htmlPackagePage}function yp(t){var e,r,n,i,s,a,c,d,p;return(p=(d=(c=(a=(e=t?.map)===null||e===void 0?void 0:e.mapId)!==null&&a!==void 0?a:(r=t?.topic)===null||r===void 0?void 0:r.tocId)!==null&&c!==void 0?c:(n=t?.document)===null||n===void 0?void 0:n.documentId)!==null&&d!==void 0?d:(i=t?.htmlPackage)===null||i===void 0?void 0:i.packageId)!==null&&p!==void 0?p:(s=t?.htmlPackagePage)===null||s===void 0?void 0:s.contentId}function gp(t,e){var r,n,i,s,a,c,d,p,h;return(h=(p=(d=(c=vi((r=t?.map)===null||r===void 0?void 0:r.readerUrl,e))!==null&&c!==void 0?c:vi((n=t?.topic)===null||n===void 0?void 0:n.readerUrl,e))!==null&&d!==void 0?d:(i=t?.document)===null||i===void 0?void 0:i.viewerUrl)!==null&&p!==void 0?p:(s=t?.htmlPackage)===null||s===void 0?void 0:s.viewerUrl)!==null&&h!==void 0?h:(a=t?.htmlPackagePage)===null||a===void 0?void 0:a.viewerUrl}function bp(t){return t?.topic?[t.topic.mapTitle,...t.topic.breadcrumb]:t?.map?[t.map.title]:t?.document?[t.document.title]:t?.htmlPackage?[t.htmlPackage.title]:t?.htmlPackagePage?[t.htmlPackagePage.packageTitle,t.htmlPackagePage.title]:[]}function vi(t,e,r){if(e&&t){let n=URL.parse(t),i=st.serializeValueFilters(e);if(i&&n?.searchParams.append(D.VALUE_FILTERS,i),r&&n?.searchParams.append(D.STICKY_FILTER,r),n)return n.toString()}return t}function Ci(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var Oi=class t{constructor(e,r,n,i){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=i}static findResultWithMetadataValue(e,r,n){return e?.find(i=>{var s;return((s=this.extractResultMetadata({result:i}).find(a=>a.key==r))===null||s===void 0?void 0:s.value)==n})}static extractResultMetadata(e){var r,n;let i=(n=(r=Si(e.result))===null||r===void 0?void 0:r.metadata)!==null&&n!==void 0?n:[];return e.key==null?t.flattenMetadata(i,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(i.find(s=>s.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,r,n){if(Array.isArray(e))return e.map(s=>t.flattenMetadata(s,r,n)).filter(s=>s!=null);let i=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!i))if(i){let s=[],a=[];return e.hierarchicalValues.forEach(c=>{s.push(Ci(c)),a.push(Ci(c,r))}),{key:e.key,label:e.label,value:s.join(", "),displayValue:a.join(", "),displayTooltipValue:s.join(", ")}}else{let s=e.values.join(", "),a=e.values.map(c=>n?n(c):c).join(", ");return{key:e.key,label:e.label,value:s,displayValue:a,displayTooltipValue:a}}}computeClustersItemsForMetadata(e,r,n="No value",i,s){var a,c;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:s}),p=(c=d?.label)!==null&&c!==void 0?c:(a=this.getMetadataDescriptor(e))===null||a===void 0?void 0:a.label;return this.allResults.map(f=>t.extractResultMetadata({result:f,key:e,hierarchicalValueTruncatingLevel:i,dateFormatter:s})).map(f=>f??{key:e,label:p,value:void 0,displayValue:n}).filter(f=>f.value!=d?.value).filter((f,m,x)=>x.findIndex(S=>S.value===f.value)===m).map(f=>({result:this.findBestResultForMetadataValue(e,f.value),metadata:f})).sort((f,m)=>this.compareMetadata(f.metadata.value,m.metadata.value,e,r))}compareMetadata(e,r,n,i){if(e==null)return-1;if(r==null)return 1;let s=this.getMetadataDescriptor(n),a=s?.sortRule||"NONE",c=s?.reverseSort||!1;if(a=="ALPHABET"||a=="VERSION"){let d=e.localeCompare(r,i,{numeric:!0});return c?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let n=this.allResults.filter(d=>{var p;return((p=t.extractResultMetadata({result:d,key:e}))===null||p===void 0?void 0:p.value)==r}),s=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],a,c=-1;for(let d of n){let p=this.countMatchingMetadata(d,s);if(p>c&&(c=p,a=d,p===s.length))break}return a}countMatchingMetadata(e,r){return t.extractResultMetadata({result:e}).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}};var wi={};$(wi,{Debouncer:()=>J});var J=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:(()=>null),s=(r=this.resolvePromise)!==null&&r!==void 0?r:(()=>null);this.clearPromise();for(let a of n)try{await a()}catch(c){i(c);return}s(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Li={};$(Li,{designSystemVariables:()=>_});var Ti={};$(Ti,{DesignSystemFamily:()=>qr,DesignSystemSize:()=>Yr,FtCssVariableFactory:()=>o,badge:()=>Dp,banner:()=>Pp,button:()=>Sp,card:()=>Cp,chart:()=>Xp,checkbox:()=>_p,chip:()=>kp,chipChoice:()=>Lp,chipGroup:()=>Ip,collapsible:()=>qp,combobox:()=>Kp,dateRangePicker:()=>rf,drawer:()=>Hp,eventCard:()=>Op,floatingMenu:()=>jp,foundation:()=>l,link:()=>Np,modal:()=>Bp,notice:()=>Qp,notification:()=>ef,pageDesigner:()=>Jp,pageFooter:()=>Up,pageHeader:()=>Fp,pageLayout:()=>$p,popover:()=>Zp,radio:()=>Rp,reorderableList:()=>zp,resolveFamilyClass:()=>_i,resolveSizeClass:()=>Ri,semantic:()=>u,setVariable:()=>G,switch_:()=>Yp,table:()=>Tp,tabs:()=>Vp,textArea:()=>Wp,textInput:()=>Gp,titleBreadcrumb:()=>Mp,toc:()=>wp,toggle:()=>Ep,tooltip:()=>tf,treeList:()=>Ap,typographies:()=>xp,typographyBody1Medium:()=>Wl,typographyBody1Regular:()=>Gl,typographyBody1Semibold:()=>jl,typographyBody2Medium:()=>Zl,typographyBody2MediumUnderline:()=>ql,typographyBody2Regular:()=>Kl,typographyBody2Semibold:()=>Yl,typographyCaption1Medium:()=>Xl,typographyCaption1Semibold:()=>Jl,typographyCaption2Bold:()=>tc,typographyCaption2Medium:()=>Ql,typographyCaption2Semibold:()=>ec,typographyDisplay:()=>Bl,typographyTitle1:()=>zl,typographyTitle2:()=>Hl,typographyTitle3:()=>Vl,typographyVariants:()=>vp});var ht=t=>typeof t=="string"?Fr(t):t,o=class{static create(e,r,n,i){let s=c=>ht(c??i),a=R`var(${ht(e)}, ${s(i)})`;return a.name=e,a.description=r,a.category=n,a.defaultValue=i,a.defaultCssValue=s,a.set=c=>G(a,c??s(i)),a.get=c=>R`var(${ht(e)}, ${s(c)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>i,a}static extend(e,r,n,i){let s=c=>n.get(c??i),a=R`var(${ht(e)}, ${s(i)})`;return a.name=e,a.description=r,a.category=n.category,a.fallbackVariable=n,a.defaultValue=i,a.defaultCssValue=s,a.set=c=>G(a,c??s(i)),a.get=c=>R`var(${ht(e)}, ${s(c)})`,a.breadcrumb=()=>[n.name,...n.breadcrumb()],a.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),a}static external(e,r){let n=s=>e.defaultCssValue(s),i=R`var(${ht(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=r,i.defaultCssValue=n,i.set=s=>e.set(s),i.get=s=>R`var(${ht(e.name)}, ${n(s)})`,i.breadcrumb=()=>e.breadcrumb(),i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function G(t,e){return ht(`${t.name}: ${e}`)}var l={colorWhite:o.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ftds-icon-size-1","","SIZE","0.5rem"),iconSize2:o.create("--ftds-icon-size-2","","SIZE","0.75rem"),iconSize3:o.create("--ftds-icon-size-3","","SIZE","1rem"),iconSize4:o.create("--ftds-icon-size-4","","SIZE","1.25rem"),iconSize5:o.create("--ftds-icon-size-5","","SIZE","1.5rem"),iconSize6:o.create("--ftds-icon-size-6","","SIZE","2rem"),iconSize7:o.create("--ftds-icon-size-7","","SIZE","3rem"),opacity0:o.create("--ftds-opacity-0","","NUMBER","0"),opacity4:o.create("--ftds-opacity-4","","NUMBER","0.04"),opacity6:o.create("--ftds-opacity-6","","NUMBER","0.06"),opacity8:o.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:o.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:o.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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)")},Bl={fontFamily:o.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:o.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-display-text-case","","UNKNOWN","none")},zl={fontFamily:o.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:o.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},Hl={fontFamily:o.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:o.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},Vl={fontFamily:o.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:o.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},Gl={fontFamily:o.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},Wl={fontFamily:o.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},jl={fontFamily:o.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},Kl={fontFamily:o.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},Zl={fontFamily:o.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},ql={fontFamily:o.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:o.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:o.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Yl={fontFamily:o.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},Xl={fontFamily:o.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},Jl={fontFamily:o.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Ql={fontFamily:o.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},ec={fontFamily:o.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},tc={fontFamily:o.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},xp={display:Bl,"title-1":zl,"title-2":Hl,"title-3":Vl,"body-1-regular":Gl,"body-1-medium":Wl,"body-1-semibold":jl,"body-2-regular":Kl,"body-2-medium":Zl,"body-2-medium-underline":ql,"body-2-semibold":Yl,"caption-1-medium":Xl,"caption-1-semibold":Jl,"caption-2-medium":Ql,"caption-2-semibold":ec,"caption-2-bold":tc},vp=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","caption-1","caption-2"];var u={backgroundActionPrimary:o.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:o.extend("--ftds-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:o.extend("--ftds-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:o.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:o.extend("--ftds-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:o.extend("--ftds-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:o.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:o.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:o.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:o.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:o.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:o.extend("--ftds-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:o.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:o.extend("--ftds-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:o.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:o.extend("--ftds-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:o.extend("--ftds-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:o.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
4
- Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:o.extend("--ftds-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:o.extend("--ftds-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:o.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:o.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:o.extend("--ftds-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:o.extend("--ftds-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:o.extend("--ftds-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:o.extend("--ftds-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:o.extend("--ftds-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:o.extend("--ftds-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:o.extend("--ftds-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:o.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",l.colorGray50),borderGlobalSecondary:o.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",l.colorGray40),borderGlobalSubtle:o.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",l.colorGray30),borderInputPrimary:o.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80),borderNeutralPrimary:o.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",l.colorGray200)};var Sp={largeHeight:o.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ftds-button-large-horizontal-padding","",l.spacing4),largeGap:o.extend("--ftds-button-large-gap","",l.spacing2),largeBorderRadius:o.extend("--ftds-button-large-border-radius","",l.borderRadiusS),largeIconSize:o.extend("--ftds-button-large-icon-size","",l.iconSize3),largeBorderWidth:o.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ftds-button-medium-horizontal-padding","",l.spacing3),mediumGap:o.extend("--ftds-button-medium-gap","",l.spacing2),mediumBorderRadius:o.extend("--ftds-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:o.extend("--ftds-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:o.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-button-small-horizontal-padding","",l.spacing2),smallGap:o.extend("--ftds-button-small-gap","",l.spacing1),smallBorderRadius:o.extend("--ftds-button-small-border-radius","",l.borderRadiusS),smallIconSize:o.extend("--ftds-button-small-icon-size","",l.iconSize1),smallBorderWidth:o.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ftds-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:o.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ftds-button-round-border-radius","",l.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ftds-button-primary-brand-background-color","",u.backgroundActionPrimary),primaryBrandColor:o.extend("--ftds-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ftds-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ftds-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",l.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",l.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-primary-brand-active-state-layer-opacity","",l.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ftds-button-primary-brand-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ftds-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ftds-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ftds-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ftds-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",l.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",l.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",l.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",l.opacity40),tertiaryInfoBackgroundColor:o.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ftds-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ftds-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ftds-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",l.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",l.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",l.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ftds-button-tertiary-info-disabled-component-opacity","",l.opacity40),tertiarySuccessBackgroundColor:o.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ftds-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ftds-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ftds-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",l.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",l.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",l.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ftds-button-tertiary-success-disabled-component-opacity","",l.opacity40),tertiaryWarningBackgroundColor:o.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ftds-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ftds-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ftds-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",l.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",l.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",l.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",l.opacity40),tertiaryErrorBackgroundColor:o.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ftds-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ftds-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ftds-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",l.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",l.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",l.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ftds-button-tertiary-error-disabled-component-opacity","",l.opacity40),tertiaryNeutralBackgroundColor:o.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ftds-button-tertiary-neutral-icon-color","",u.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ftds-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ftds-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",l.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",l.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",l.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",l.opacity40),secondaryBrandBackgroundColor:o.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ftds-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:o.extend("--ftds-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ftds-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",l.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",l.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",l.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ftds-button-secondary-brand-disabled-component-opacity","",l.opacity40),secondaryBrandBorderColor:o.extend("--ftds-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",l.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",l.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",l.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",l.opacity40),secondaryNeutralBackgroundColor:o.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ftds-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ftds-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ftds-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ftds-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",l.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",l.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-secondary-info-active-state-layer-opacity","",l.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ftds-button-secondary-info-disabled-component-opacity","",l.opacity40),secondaryInfoBackgroundColor:o.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ftds-button-secondary-info-border-color","",u.borderInfoPrimary),secondaryInfoColor:o.extend("--ftds-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ftds-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ftds-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",l.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",l.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-secondary-success-active-state-layer-opacity","",l.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ftds-button-secondary-success-disabled-component-opacity","",l.opacity40),secondarySuccessBackgroundColor:o.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ftds-button-secondary-success-border-color","",u.borderSuccessPrimary),secondarySuccessColor:o.extend("--ftds-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ftds-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ftds-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",l.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",l.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",l.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ftds-button-secondary-warning-disabled-component-opacity","",l.opacity40),secondaryWarningBackgroundColor:o.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ftds-button-secondary-warning-border-color","",u.borderWarningPrimary),secondaryWarningColor:o.extend("--ftds-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ftds-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ftds-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",l.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",l.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-secondary-error-active-state-layer-opacity","",l.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ftds-button-secondary-error-disabled-component-opacity","",l.opacity40),secondaryErrorBackgroundColor:o.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ftds-button-secondary-error-border-color","",u.contentErrorPrimary),secondaryErrorColor:o.extend("--ftds-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ftds-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ftds-button-secondary-error-state-layer-color","",u.contentErrorPrimary)};var Ep={iconSize:o.extend("--ftds-toggle-icon-size","",l.iconSize1),offHoverStateLayerOpacity:o.extend("--ftds-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:o.extend("--ftds-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:o.extend("--ftds-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:o.extend("--ftds-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:o.extend("--ftds-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:o.extend("--ftds-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:o.extend("--ftds-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:o.extend("--ftds-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:o.extend("--ftds-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:o.extend("--ftds-toggle-on-icon-color","",u.contentActionPrimary),color:o.extend("--ftds-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:o.extend("--ftds-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:o.extend("--ftds-toggle-gap","",l.spacing3),width:o.create("--ftds-toggle-width","","SIZE","36px"),height:o.create("--ftds-toggle-height","","SIZE","20px")};var Cp={borderRadius:o.extend("--ftds-card-border-radius","",l.borderRadiusS),focusFocusRingColor:o.extend("--ftds-card-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-card-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ftds-card-focus-outline-offset","","SIZE","2px"),headerTitleHorizontalPadding:o.extend("--ftds-card-header-title-horizontal-padding","",l.spacing4),headerTitleVerticalPadding:o.extend("--ftds-card-header-title-vertical-padding","",l.spacing3),headerActionHorizontalPadding:o.extend("--ftds-card-header-action-horizontal-padding","",l.spacing2),headerActionVerticalPadding:o.extend("--ftds-card-header-action-vertical-padding","",l.spacing2),headerActionGap:o.extend("--ftds-card-header-action-gap","",l.spacing1),bodyHorizontalPadding:o.extend("--ftds-card-body-horizontal-padding","",l.spacing4),bodyVerticalPadding:o.extend("--ftds-card-body-vertical-padding","",l.spacing4),footerActionHorizontalPadding:o.extend("--ftds-card-footer-action-horizontal-padding","",l.spacing2),footerActionVerticalPadding:o.extend("--ftds-card-footer-action-vertical-padding","",l.spacing2),footerActionGap:o.extend("--ftds-card-footer-action-gap","",l.spacing1),footerContentHorizontalPadding:o.extend("--ftds-card-footer-content-horizontal-padding","",l.spacing4),footerContentVerticalPadding:o.extend("--ftds-card-footer-content-vertical-padding","",l.spacing3),sideBarHorizontalPadding:o.extend("--ftds-card-side-bar-horizontal-padding","",l.spacing1),sideBarVerticalPadding:o.extend("--ftds-card-side-bar-vertical-padding","",l.spacing1),sideBarGap:o.extend("--ftds-card-side-bar-gap","",l.spacing1),nonSelectableBorderWidth:o.create("--ftds-card-non-selectable-border-width","","SIZE","1px"),nonSelectableStateLayerColor:o.extend("--ftds-card-non-selectable-state-layer-color","",u.contentGlobalPrimary),nonSelectableDefaultBackgroundColor:o.extend("--ftds-card-non-selectable-default-background-color","",u.backgroundGlobalOnSurface),nonSelectableDefaultBorderColor:o.extend("--ftds-card-non-selectable-default-border-color","",u.borderGlobalSecondary),nonSelectableHoverBorderColor:o.extend("--ftds-card-non-selectable-hover-border-color","",u.borderGlobalPrimary),nonSelectableHoverStateLayerOpacity:o.extend("--ftds-card-non-selectable-hover-state-layer-opacity","",l.opacity4),nonSelectableFocusBorderColor:o.extend("--ftds-card-non-selectable-focus-border-color","",u.borderGlobalPrimary),nonSelectableFocusStateLayerOpacity:o.extend("--ftds-card-non-selectable-focus-state-layer-opacity","",l.opacity4),internalBorderColor:o.extend("--ftds-card-internal-border-color","",u.borderGlobalSecondary),selectableUnselectedBorderWidth:o.create("--ftds-card-selectable-unselected-border-width","","SIZE","1px"),selectableUnselectedStateLayerColor:o.extend("--ftds-card-selectable-unselected-state-layer-color","",u.contentGlobalPrimary),selectableUnselectedDefaultBackgroundColor:o.extend("--ftds-card-selectable-unselected-default-background-color","",u.backgroundGlobalOnSurface),selectableUnselectedDefaultBorderColor:o.extend("--ftds-card-selectable-unselected-default-border-color","",u.borderGlobalSecondary),selectableUnselectedHoverBorderColor:o.extend("--ftds-card-selectable-unselected-hover-border-color","",u.borderGlobalPrimary),selectableUnselectedHoverStateLayerOpacity:o.extend("--ftds-card-selectable-unselected-hover-state-layer-opacity","",l.opacity4),selectableUnselectedFocusBorderColor:o.extend("--ftds-card-selectable-unselected-focus-border-color","",u.borderGlobalPrimary),selectableUnselectedFocusStateLayerOpacity:o.extend("--ftds-card-selectable-unselected-focus-state-layer-opacity","",l.opacity4),selectableSelectedBorderColor:o.extend("--ftds-card-selectable-selected-border-color","",u.borderActionPrimary),selectableSelectedBorderWidth:o.create("--ftds-card-selectable-selected-border-width","","SIZE","2px"),selectableSelectedStateLayerColor:o.extend("--ftds-card-selectable-selected-state-layer-color","",u.contentActionPrimary),selectableSelectedBackgroundColor:o.extend("--ftds-card-selectable-selected-background-color","",u.backgroundGlobalSurface),selectableSelectedDefaultStateLayerOpacity:o.extend("--ftds-card-selectable-selected-default-state-layer-opacity","",l.opacity4),selectableSelectedHoverStateLayerOpacity:o.extend("--ftds-card-selectable-selected-hover-state-layer-opacity","",l.opacity4),selectableSelectedFocusStateLayerOpacity:o.extend("--ftds-card-selectable-selected-focus-state-layer-opacity","",l.opacity4),internalBorderWidth:o.create("--ftds-card-internal-border-width","","SIZE","1px")};var Op={borderRadius:o.extend("--ftds-event-card-border-radius","",l.borderRadiusS),borderWidth:o.create("--ftds-event-card-border-width","","SIZE","1px"),backgroundColor:o.extend("--ftds-event-card-background-color","",u.backgroundGlobalSurface),thumbnailWidth:o.extend("--ftds-event-card-thumbnail-width","",l.spacing8),thumbnailIconSize:o.extend("--ftds-event-card-thumbnail-icon-size","",l.iconSize3),slotHorizontalPadding:o.extend("--ftds-event-card-slot-horizontal-padding","",l.spacing2),slotVerticalPadding:o.extend("--ftds-event-card-slot-vertical-padding","",l.spacing2),primaryThumbnailIconColor:o.extend("--ftds-event-card-primary-thumbnail-icon-color","",u.contentGlobalOnColor),secondaryThumbnailBackgroundColor:o.extend("--ftds-event-card-secondary-thumbnail-background-color","",u.backgroundGlobalSurface)};var Ap={loadMoreIconSize:o.extend("--ftds-tree-list-load-more-icon-size","",l.iconSize2),loadMorePaddingLeft:o.extend("--ftds-tree-list-load-more-padding-left","",l.spacing6),loadMoreUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-unselected-default-border-color","",u.borderGlobalSubtle),loadMoreIconColor:o.extend("--ftds-tree-list-load-more-icon-color","",u.contentActionPrimary),loadMoreLabelColor:o.extend("--ftds-tree-list-load-more-label-color","",u.contentActionPrimary),loadMoreHoverBorderColor:o.extend("--ftds-tree-list-load-more-hover-border-color","",l.colorBrand20),loadMoreHoverBackgroundColor:o.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:o.extend("--ftds-tree-list-load-more-active-border-color","",l.colorBrand20),loadMoreActiveBackgroundColor:o.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:o.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:o.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),loadMoreLabelMarginLeft:o.extend("--ftds-tree-list-load-more-label-margin-left","",l.spacing1),nodeIconSize:o.extend("--ftds-tree-list-node-icon-size","",l.iconSize2),nodeHeight:o.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:o.extend("--ftds-tree-list-node-parent-label-margin-left","",l.spacing2),nodeParentLabelMarginRight:o.extend("--ftds-tree-list-node-parent-label-margin-right","",l.spacing2),nodeRootPaddingLeft:o.extend("--ftds-tree-list-node-root-padding-left","",l.spacing6),nodeChildPaddingLeft:o.extend("--ftds-tree-list-node-child-padding-left","",l.spacing5),nodeLeafPaddingLeft:o.extend("--ftds-tree-list-node-leaf-padding-left","",l.spacing6),nodeUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-node-unselected-default-border-color","",u.borderGlobalSubtle),nodeUnselectedIconColor:o.extend("--ftds-tree-list-node-unselected-icon-color","",u.contentGlobalSecondary),nodeUnselectedLabelColor:o.extend("--ftds-tree-list-node-unselected-label-color","",u.contentGlobalSecondary),nodeUnselectedCounterColor:o.extend("--ftds-tree-list-node-unselected-counter-color","",u.contentGlobalSecondary),nodeHoverBorderColor:o.extend("--ftds-tree-list-node-hover-border-color","",u.borderActionPrimary),nodeFocusFocusRingColor:o.extend("--ftds-tree-list-node-focus-focus-ring-color","",u.borderActionFocusRing),nodeFocusOutlineWidth:o.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-selected-default-border-color","",u.borderGlobalPrimary),nodeSelectedIconColor:o.extend("--ftds-tree-list-node-selected-icon-color","",u.contentGlobalSecondary),nodeSelectedLabelColor:o.extend("--ftds-tree-list-node-selected-label-color","",u.contentGlobalPrimary),nodeSelectedCounterColor:o.extend("--ftds-tree-list-node-selected-counter-color","",u.contentGlobalSecondary),nodeSelectedBackgroundColor:o.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:o.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:o.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:o.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:o.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:o.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:o.extend("--ftds-tree-list-header-section-padding-left","",l.spacing6),headerSectionPaddingRight:o.extend("--ftds-tree-list-header-section-padding-right","",l.spacing3),headerSectionHorizontalGap:o.extend("--ftds-tree-list-header-section-horizontal-gap","",l.spacing2),headerSectionMarginBottom:o.extend("--ftds-tree-list-header-section-margin-bottom","",l.spacing2),headerSectionColor:o.extend("--ftds-tree-list-header-section-color","",u.contentGlobalPrimary),headerSectionCounterColor:o.extend("--ftds-tree-list-header-section-counter-color","",u.contentGlobalSecondary),listContainerBorderWidth:o.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:o.extend("--ftds-tree-list-list-container-background-color","",u.backgroundGlobalSurface),listContainerBorderColor:o.extend("--ftds-tree-list-list-container-border-color","",u.borderGlobalSubtle),emptyStateIllustrationWidth:o.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:o.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:o.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",l.spacing10),emptyStateContainerPaddingTop:o.extend("--ftds-tree-list-empty-state-container-padding-top","",l.spacing10),emptyStateContainerPaddingBottom:o.extend("--ftds-tree-list-empty-state-container-padding-bottom","",l.spacing10),emptyStateTitleMarginBottom:o.extend("--ftds-tree-list-empty-state-title-margin-bottom","",l.spacing2),emptyStateTitleLabelColor:o.extend("--ftds-tree-list-empty-state-title-label-color","",u.contentGlobalSecondary),emptyStateDescriptionLabelColor:o.extend("--ftds-tree-list-empty-state-description-label-color","",u.contentGlobalSecondary)};var wp={titleColor:o.extend("--ftds-toc-title-color","",u.contentGlobalSubtle),titleGap:o.extend("--ftds-toc-title-gap","",l.spacing2),offsetTop:o.create("--ftds-toc-offset-top","","SIZE","160px"),itemGap:o.create("--ftds-toc-item-gap","","SIZE","0px"),itemHorizontalPadding:o.extend("--ftds-toc-item-horizontal-padding","",l.spacing4),itemVerticalPadding:o.extend("--ftds-toc-item-vertical-padding","",l.spacing3),itemBorderRadius:o.extend("--ftds-toc-item-border-radius","",l.borderRadiusS),itemBorderWidth:o.create("--ftds-toc-item-border-width","","SIZE","1px"),itemFocusFocusRingColor:o.extend("--ftds-toc-item-focus-focus-ring-color","",u.borderActionFocusRing),itemFocusFocusRingWidth:o.create("--ftds-toc-item-focus-focus-ring-width","","SIZE","2px"),itemInactiveLabelColor:o.extend("--ftds-toc-item-inactive-label-color","",u.contentGlobalSubtle),itemInactiveBorderColor:o.extend("--ftds-toc-item-inactive-border-color","",u.borderGlobalSubtle),itemInactiveStateLayerColor:o.extend("--ftds-toc-item-inactive-state-layer-color","",u.contentGlobalSecondary),itemInactiveHoverStateLayerOpacity:o.extend("--ftds-toc-item-inactive-hover-state-layer-opacity","",l.opacity8),itemInactiveFocusStateLayerOpacity:o.extend("--ftds-toc-item-inactive-focus-state-layer-opacity","",l.opacity8),itemActiveLabelColor:o.extend("--ftds-toc-item-active-label-color","",u.contentActionPrimary),itemActiveBorderColor:o.extend("--ftds-toc-item-active-border-color","",u.borderActionPrimary),itemActiveBorderWidth:o.create("--ftds-toc-item-active-border-width","","SIZE","3px"),itemActiveStateLayerColor:o.extend("--ftds-toc-item-active-state-layer-color","",u.backgroundActionPrimary),itemActiveDefaultStateLayerOpacity:o.extend("--ftds-toc-item-active-default-state-layer-opacity","",l.opacity8),itemActiveHoverStateLayerOpacity:o.extend("--ftds-toc-item-active-hover-state-layer-opacity","",l.opacity16),itemActiveFocusStateLayerOpacity:o.extend("--ftds-toc-item-active-focus-state-layer-opacity","",l.opacity16),itemChildActiveLabelColor:o.extend("--ftds-toc-item-child-active-label-color","",u.contentActionPrimary),itemChildActiveBorderColor:o.extend("--ftds-toc-item-child-active-border-color","",u.borderGlobalSubtle),itemChildActiveStateLayerColor:o.extend("--ftds-toc-item-child-active-state-layer-color","",u.contentGlobalSecondary),itemChildActiveHoverStateLayerOpacity:o.extend("--ftds-toc-item-child-active-hover-state-layer-opacity","",l.opacity8),itemChildActiveFocusStateLayerOpacity:o.extend("--ftds-toc-item-child-active-focus-state-layer-opacity","",l.opacity8)};var _p={iconSize:o.extend("--ftds-checkbox-icon-size","",l.iconSize2),boxSize:o.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:o.extend("--ftds-checkbox-label-horizontal-gap","",l.spacing2),color:o.extend("--ftds-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ftds-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:o.extend("--ftds-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:o.extend("--ftds-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:o.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:o.extend("--ftds-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:o.extend("--ftds-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:o.extend("--ftds-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:o.extend("--ftds-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ftds-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:o.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:o.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ftds-checkbox-horizontal-gap","",l.spacing3),helperPaddingTop:o.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:o.extend("--ftds-checkbox-helper-icon-size","",l.iconSize2),helperHorizontalGap:o.extend("--ftds-checkbox-helper-horizontal-gap","",l.spacing1),errorUncheckedBorderColor:o.extend("--ftds-checkbox-error-unchecked-border-color","",u.borderErrorPrimary),errorStateLayerColor:o.extend("--ftds-checkbox-error-state-layer-color","",u.contentErrorPrimary),errorHelperTextColor:o.extend("--ftds-checkbox-error-helper-text-color","",u.borderErrorPrimary),errorCheckedBackgroundColor:o.extend("--ftds-checkbox-error-checked-background-color","",u.contentErrorPrimary),helperTextColor:o.extend("--ftds-checkbox-helper-text-color","",u.contentGlobalSubtle),groupVerticalGap:o.extend("--ftds-checkbox-group-vertical-gap","",l.spacing3)};var Rp={circleSize:o.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:o.create("--ftds-radio-border-width","","SIZE","2px"),color:o.extend("--ftds-radio-color","",u.contentGlobalPrimary),selectedRadioColor:o.extend("--ftds-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:o.extend("--ftds-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ftds-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:o.extend("--ftds-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:o.extend("--ftds-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:o.extend("--ftds-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:o.extend("--ftds-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:o.extend("--ftds-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ftds-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ftds-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ftds-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:o.extend("--ftds-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ftds-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:o.extend("--ftds-radio-vertical-gap","",l.spacing3),horizontalGap:o.extend("--ftds-radio-horizontal-gap","",l.spacing3)};var Tp={headerRowBorderWidth:o.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ftds-table-header-row-background-color","",u.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ftds-table-header-row-border-color","",u.borderGlobalPrimary),headerRowColor:o.extend("--ftds-table-header-row-color","",u.contentGlobalPrimary),dataRowBorderWidth:o.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ftds-table-data-row-background-color","",u.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ftds-table-data-row-border-color","",u.borderGlobalSubtle),dataRowColor:o.extend("--ftds-table-data-row-color","",u.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ftds-table-data-row-default-hover-background-color","",l.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",l.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-default-background-color","",l.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ftds-table-data-row-selectable-selected-default-border-color","",l.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",l.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",l.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ftds-table-data-row-selectable-selected-color","",u.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ftds-table-data-row-clickable-hover-background-color","",l.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ftds-table-data-row-clickable-focus-border-color","",u.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ftds-table-data-row-clickable-focus-background-color","",l.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ftds-table-data-row-clickable-active-background-color","",l.colorGray40),headerCellHorizontalGap:o.extend("--ftds-table-header-cell-horizontal-gap","",l.spacing1),headerCellVerticalPadding:o.extend("--ftds-table-header-cell-vertical-padding","",l.spacing2),headerCellHorizontalPadding:o.extend("--ftds-table-header-cell-horizontal-padding","",l.spacing3),dataCellVerticalPadding:o.extend("--ftds-table-data-cell-vertical-padding","",l.spacing2),dataCellHorizontalPadding:o.extend("--ftds-table-data-cell-horizontal-padding","",l.spacing3),dataCellVerticalGap:o.extend("--ftds-table-data-cell-vertical-gap","",l.spacing1)};var Lp={neutralOffHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",l.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",l.opacity8),neutralOffFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",l.opacity16),neutralOffBackgroundColor:o.extend("--ftds-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ftds-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:o.extend("--ftds-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ftds-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",l.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",l.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",l.opacity24),neutralOnFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",l.opacity32),neutralOnBackgroundColor:o.extend("--ftds-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ftds-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:o.extend("--ftds-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:o.extend("--ftds-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ftds-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:o.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-choice-large-horizontal-padding","",l.spacing3),largeGap:o.extend("--ftds-chip-choice-large-gap","",l.spacing1),largeBorderRadius:o.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-choice-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-choice-medium-horizontal-padding","",l.spacing2),mediumGap:o.extend("--ftds-chip-choice-medium-gap","",l.spacing1),mediumBorderRadius:o.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-choice-medium-icon-size","",l.iconSize2)};var kp={largeMinHeight:o.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:o.extend("--ftds-chip-large-button-right-padding","",l.spacing1),largeGap:o.extend("--ftds-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:o.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:o.extend("--ftds-chip-medium-button-right-padding","",l.spacing05),mediumGap:o.extend("--ftds-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:o.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-medium-icon-size","",l.iconSize2),smallMinHeight:o.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:o.extend("--ftds-chip-small-button-right-padding","",l.spacing05),smallGap:o.extend("--ftds-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:o.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ftds-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:o.extend("--ftds-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:o.extend("--ftds-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:o.extend("--ftds-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:o.extend("--ftds-chip-neutral-border-color","",u.borderGlobalSecondary),infoBackgroundColor:o.extend("--ftds-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-chip-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ftds-chip-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ftds-chip-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ftds-chip-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-chip-error-border-color","",u.borderErrorSubtle)};var Ip={horizontalGap:o.extend("--ftds-chip-group-horizontal-gap","",l.spacing2),verticalGap:o.extend("--ftds-chip-group-vertical-gap","",l.spacing2),countChipDefaultBackgroundColor:o.extend("--ftds-chip-group-count-chip-default-background-color","",l.colorBrand10),countChipDefaultBorderColor:o.extend("--ftds-chip-group-count-chip-default-border-color","",l.colorBrand60),countChipDefaultContentColor:o.extend("--ftds-chip-group-count-chip-default-content-color","",u.contentActionPrimary),countChipHoverBackgroundColor:o.extend("--ftds-chip-group-count-chip-hover-background-color","",l.colorBrand20),countChipHoverBorderColor:o.extend("--ftds-chip-group-count-chip-hover-border-color","",l.colorBrand70),countChipHoverContentColor:o.extend("--ftds-chip-group-count-chip-hover-content-color","",u.contentActionPrimary),countChipFocusedBackgroundColor:o.extend("--ftds-chip-group-count-chip-focused-background-color","",l.colorBrand20),countChipFocusedBorderColor:o.extend("--ftds-chip-group-count-chip-focused-border-color","",l.colorBrand70),countChipFocusedContentColor:o.extend("--ftds-chip-group-count-chip-focused-content-color","",u.contentActionPrimary)};var Np={brandHoverOpacity:o.extend("--ftds-link-brand-hover-opacity","",l.opacity80),brandHoverColor:o.extend("--ftds-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ftds-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:o.extend("--ftds-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:o.extend("--ftds-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:o.extend("--ftds-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:o.extend("--ftds-link-info-hover-opacity","",l.opacity80),infoHoverColor:o.extend("--ftds-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ftds-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:o.extend("--ftds-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:o.extend("--ftds-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:o.extend("--ftds-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ftds-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:o.extend("--ftds-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:o.extend("--ftds-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:o.extend("--ftds-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:o.extend("--ftds-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:o.extend("--ftds-link-neutral-visited-color","",l.colorBrand100),horizontalGap:o.extend("--ftds-link-horizontal-gap","",l.spacing1)};var Pp={iconSize:o.extend("--ftds-banner-icon-size","",l.iconSize5),borderWidth:o.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ftds-banner-left-padding","",l.spacing6),rightPadding:o.extend("--ftds-banner-right-padding","",l.spacing6),verticalPadding:o.extend("--ftds-banner-vertical-padding","",l.spacing6),horizontalSideGap:o.extend("--ftds-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:o.extend("--ftds-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:o.extend("--ftds-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:o.extend("--ftds-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:o.extend("--ftds-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-banner-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-banner-info-border-color","",u.borderInfoSubtle)};var Dp={horizontalPadding:o.extend("--ftds-badge-horizontal-padding","",l.spacing1),verticalPadding:o.extend("--ftds-badge-vertical-padding","",l.spacing1),borderRadius:o.extend("--ftds-badge-border-radius","",l.borderRadiusPill),color:o.extend("--ftds-badge-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ftds-badge-background-color","",u.contentActionPrimary)};var Mp={horizontalGap:o.extend("--ftds-title-breadcrumb-horizontal-gap","",l.spacing1),currentColor:o.extend("--ftds-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:o.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:o.extend("--ftds-title-breadcrumb-icon-color","",u.contentGlobalSubtle)};var Fp={parentHorizontalPadding:o.extend("--ftds-page-header-parent-horizontal-padding","",l.spacing6),parentTopPadding:o.extend("--ftds-page-header-parent-top-padding","",l.spacing4),parentBottomPadding:o.extend("--ftds-page-header-parent-bottom-padding","",l.spacing6),parentHelpLeftMargin:o.extend("--ftds-page-header-parent-help-left-margin","",l.spacing2),parentTitleColor:o.extend("--ftds-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:o.extend("--ftds-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ftds-page-header-parent-chip-left-margin","",l.spacing4),parentVerticalGap:o.extend("--ftds-page-header-parent-vertical-gap","",l.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",l.spacing4),parentButtonsGroupVerticalGap:o.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",l.spacing4),parentChipsGroupHorizontalGap:o.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",l.spacing2),parentChipsGroupVerticalGap:o.extend("--ftds-page-header-parent-chips-group-vertical-gap","",l.spacing2),childHorizontalPadding:o.extend("--ftds-page-header-child-horizontal-padding","",l.spacing6),childTopPadding:o.extend("--ftds-page-header-child-top-padding","",l.spacing2),childBottomPadding:o.extend("--ftds-page-header-child-bottom-padding","",l.spacing2),childHelpLeftMargin:o.extend("--ftds-page-header-child-help-left-margin","",l.spacing1),childChipLeftMargin:o.extend("--ftds-page-header-child-chip-left-margin","",l.spacing4),childVerticalGap:o.extend("--ftds-page-header-child-vertical-gap","",l.spacing2),childMinHeight:o.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",l.spacing4),childButtonsGroupVerticalGap:o.extend("--ftds-page-header-child-buttons-group-vertical-gap","",l.spacing4),childChipsGroupHorizontalGap:o.extend("--ftds-page-header-child-chips-group-horizontal-gap","",l.spacing2),childChipsGroupVerticalGap:o.extend("--ftds-page-header-child-chips-group-vertical-gap","",l.spacing2),backgroundColor:o.extend("--ftds-page-header-background-color","",l.colorWhite),bottomBorderColor:o.extend("--ftds-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:o.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var Up={horizontalPadding:o.extend("--ftds-page-footer-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ftds-page-footer-vertical-padding","",l.spacing2),verticalGap:o.extend("--ftds-page-footer-vertical-gap","",l.spacing2),minHeight:o.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ftds-page-footer-background-color","",l.colorWhite),topBorderColor:o.extend("--ftds-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:o.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ftds-page-footer-buttons-group-gap","",l.spacing4)};var $p={contentHorizontalPadding:o.extend("--ftds-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:o.extend("--ftds-page-layout-content-vertical-padding","",l.spacing6)};var Bp={smallContainerTargetWidth:o.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ftds-modal-small-container-margin","",l.spacing6),headerIconSize:o.extend("--ftds-modal-header-icon-size","",l.iconSize3),headerBackgroundColor:o.extend("--ftds-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-modal-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ftds-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ftds-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:o.extend("--ftds-modal-header-vertical-padding","",l.spacing1),headerRightPadding:o.extend("--ftds-modal-header-right-padding","",l.spacing1),headerLeftPadding:o.extend("--ftds-modal-header-left-padding","",l.spacing6),headerGap:o.extend("--ftds-modal-header-gap","",l.spacing2),headerBorderBottomWidth:o.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),mediumContainerTargetWidth:o.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ftds-modal-medium-container-margin","",l.spacing6),largeContainerTargetWidth:o.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ftds-modal-large-container-margin","",l.spacing6),overlayBackgroundColor:o.extend("--ftds-modal-overlay-background-color","",l.colorGray700),overlayOpacity:o.extend("--ftds-modal-overlay-opacity","",l.opacity40),shadow:o.extend("--ftds-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:o.extend("--ftds-modal-body-background-color","",l.colorWhite),bodyColor:o.extend("--ftds-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ftds-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:o.extend("--ftds-modal-body-vertical-gap","",l.spacing6),borderRadius:o.extend("--ftds-modal-border-radius","",l.borderRadiusM)};var zp={grabberIconSize:o.extend("--ftds-reorderable-list-grabber-icon-size","",l.iconSize2),verticalPadding:o.extend("--ftds-reorderable-list-vertical-padding","",l.spacing4),gap:o.extend("--ftds-reorderable-list-gap","",l.spacing4),itemGap:o.extend("--ftds-reorderable-list-item-gap","",l.spacing2),borderRadius:o.extend("--ftds-reorderable-list-border-radius","",l.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",l.spacing6),reorderableItemTitleColor:o.extend("--ftds-reorderable-list-reorderable-item-title-color","",u.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",l.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",l.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",l.spacing2),reorderableItemUsersCountColor:o.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",u.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",l.spacing6),reorderableItemBackgroundColor:o.extend("--ftds-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",l.spacing1),reorderableItemWarningMessageColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ftds-reorderable-list-reorderable-item-grip-color","",u.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",l.opacity48),boxShadow:o.extend("--ftds-reorderable-list-box-shadow","",l.shadowElevation01),borderWidth:o.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ftds-reorderable-list-reorderable-items-gap","",l.spacing2),leftPadding:o.extend("--ftds-reorderable-list-left-padding","",l.spacing2),rightPadding:o.extend("--ftds-reorderable-list-right-padding","",l.spacing6),borderColor:o.extend("--ftds-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:o.extend("--ftds-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)};var Hp={overlayOpacity:o.extend("--ftds-drawer-overlay-opacity","",l.opacity40),shadow:o.extend("--ftds-drawer-shadow","",l.shadowElevation03),bodyColor:o.extend("--ftds-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ftds-drawer-body-vertical-padding","",l.spacing6),bodyGap:o.extend("--ftds-drawer-body-gap","",l.spacing6),bodyBackgroundColor:o.extend("--ftds-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:o.extend("--ftds-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ftds-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ftds-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:o.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ftds-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:o.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ftds-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:o.extend("--ftds-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ftds-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:o.extend("--ftds-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ftds-drawer-buttons-bar-horizontal-padding","",l.spacing6),buttonsBarVerticalPadding:o.extend("--ftds-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:o.extend("--ftds-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:o.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ftds-drawer-overlay-background-color","",l.colorGray700)};var Vp={offBorderBottomWidth:o.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ftds-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:o.extend("--ftds-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:o.extend("--ftds-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:o.extend("--ftds-tabs-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ftds-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:o.extend("--ftds-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ftds-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:o.extend("--ftds-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:o.extend("--ftds-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:o.extend("--ftds-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:o.extend("--ftds-tabs-horizontal-gap","",l.spacing1),verticalGap:o.extend("--ftds-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:o.extend("--ftds-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:o.extend("--ftds-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:o.extend("--ftds-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ftds-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ftds-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:o.extend("--ftds-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:o.extend("--ftds-tabs-alert-top-padding","",l.spacing1),alertRightPadding:o.extend("--ftds-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:o.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-tabs-focus-focus-ring-color","",u.borderActionFocusRing),mainIconIconSize:o.extend("--ftds-tabs-main-icon-icon-size","",l.iconSize3),alertIconIconSize:o.extend("--ftds-tabs-alert-icon-icon-size","",l.iconSize2)};var Gp={largeFieldHorizontalPadding:o.extend("--ftds-text-input-large-field-horizontal-padding","",l.spacing4),largeFieldHorizontalGap:o.extend("--ftds-text-input-large-field-horizontal-gap","",l.spacing3),largeFieldVerticalGap:o.extend("--ftds-text-input-large-field-vertical-gap","",l.spacing05),largeFieldHeight:o.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ftds-text-input-large-field-icon-size","",l.iconSize3),mediumFieldHorizontalPadding:o.extend("--ftds-text-input-medium-field-horizontal-padding","",l.spacing4),mediumFieldHorizontalGap:o.extend("--ftds-text-input-medium-field-horizontal-gap","",l.spacing3),mediumFieldVerticalGap:o.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ftds-text-input-medium-field-icon-size","",l.iconSize3),helperHorizontalPadding:o.extend("--ftds-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ftds-text-input-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ftds-text-input-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ftds-text-input-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ftds-text-input-border-radius","",l.borderRadiusS),backgroundColor:o.extend("--ftds-text-input-background-color","",l.colorWhite),contentValueColor:o.extend("--ftds-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ftds-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:o.extend("--ftds-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderColor:o.extend("--ftds-text-input-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-text-input-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-text-input-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:o.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-input-disabled-component-opacity","",l.opacity40)};var Wp={fieldPaddingLeft:o.extend("--ftds-text-area-field-padding-left","",l.spacing4),fieldPaddingRight:o.extend("--ftds-text-area-field-padding-right","",l.spacing6),fieldMinHeight:o.create("--ftds-text-area-field-min-height","","SIZE","72px"),fieldMaxHeight:o.create("--ftds-text-area-field-max-height","","SIZE","300px"),resizeBottom:o.extend("--ftds-text-area-resize-bottom","",l.spacing05),resizeRight:o.extend("--ftds-text-area-resize-right","",l.spacing05)};var jp={height:o.create("--ftds-floating-menu-height","","SIZE","52px"),horizontalPadding:o.extend("--ftds-floating-menu-horizontal-padding","",l.spacing4),verticalPadding:o.extend("--ftds-floating-menu-vertical-padding","",l.spacing2),offIconColor:o.extend("--ftds-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:o.extend("--ftds-floating-menu-off-color","",u.contentGlobalPrimary),onColor:o.extend("--ftds-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:o.extend("--ftds-floating-menu-gap","",l.spacing3),focusFocusRingColor:o.extend("--ftds-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ftds-floating-menu-focus-state-layer-opacity","",l.opacity24),hoverStateLayerOpacity:o.extend("--ftds-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:o.extend("--ftds-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ftds-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:o.extend("--ftds-floating-menu-icon-size","",l.iconSize3),backgroundColor:o.extend("--ftds-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:o.extend("--ftds-floating-menu-shadow","",l.shadowElevation02),multiselectCheckedStateLayerColor:o.extend("--ftds-floating-menu-multiselect-checked-state-layer-color","",u.contentActionPrimary),multiselectCheckedColor:o.extend("--ftds-floating-menu-multiselect-checked-color","",u.contentGlobalPrimary),multiselectCheckedIconColor:o.extend("--ftds-floating-menu-multiselect-checked-icon-color","",u.contentActionPrimary),multiselectCheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-default-state-layer-opacity","",l.opacity8),multiselectCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-hover-state-layer-opacity","",l.opacity16),multiselectCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-focus-state-layer-opacity","",l.opacity24),multiselectIndeterminatedStateLayerColor:o.extend("--ftds-floating-menu-multiselect-indeterminated-state-layer-color","",u.contentActionPrimary),multiselectIndeterminatedColor:o.extend("--ftds-floating-menu-multiselect-indeterminated-color","",u.contentGlobalPrimary),multiselectIndeterminatedIconColor:o.extend("--ftds-floating-menu-multiselect-indeterminated-icon-color","",u.contentActionPrimary),multiselectIndeterminatedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-default-state-layer-opacity","",l.opacity8),multiselectIndeterminatedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-hover-state-layer-opacity","",l.opacity16),multiselectIndeterminatedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-focus-state-layer-opacity","",l.opacity24),multiselectUncheckedStateLayerColor:o.extend("--ftds-floating-menu-multiselect-unchecked-state-layer-color","",u.contentGlobalPrimary),multiselectUncheckedColor:o.extend("--ftds-floating-menu-multiselect-unchecked-color","",u.contentGlobalPrimary),multiselectUncheckedIconColor:o.extend("--ftds-floating-menu-multiselect-unchecked-icon-color","",u.contentGlobalSubtle),multiselectUncheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-default-state-layer-opacity","",l.opacity0),multiselectUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-hover-state-layer-opacity","",l.opacity8),multiselectUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-focus-state-layer-opacity","",l.opacity16),selectAllCheckedStateLayerColor:o.extend("--ftds-floating-menu-select-all-checked-state-layer-color","",u.contentActionPrimary),selectAllCheckedColor:o.extend("--ftds-floating-menu-select-all-checked-color","",u.contentGlobalPrimary),selectAllCheckedIconColor:o.extend("--ftds-floating-menu-select-all-checked-icon-color","",u.contentActionPrimary),selectAllCheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-default-state-layer-opacity","",l.opacity0),selectAllCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-hover-state-layer-opacity","",l.opacity16),selectAllCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-focus-state-layer-opacity","",l.opacity24),selectAllIndeterminatedStateLayerColor:o.extend("--ftds-floating-menu-select-all-indeterminated-state-layer-color","",u.contentGlobalPrimary),selectAllIndeterminatedColor:o.extend("--ftds-floating-menu-select-all-indeterminated-color","",u.contentGlobalPrimary),selectAllIndeterminatedIconColor:o.extend("--ftds-floating-menu-select-all-indeterminated-icon-color","",u.contentActionPrimary),selectAllIndeterminatedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-default-state-layer-opacity","",l.opacity0),selectAllIndeterminatedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-hover-state-layer-opacity","",l.opacity8),selectAllIndeterminatedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-focus-state-layer-opacity","",l.opacity16),selectAllUncheckedStateLayerColor:o.extend("--ftds-floating-menu-select-all-unchecked-state-layer-color","",u.contentGlobalPrimary),selectAllUncheckedColor:o.extend("--ftds-floating-menu-select-all-unchecked-color","",u.contentGlobalPrimary),selectAllUncheckedIconColor:o.extend("--ftds-floating-menu-select-all-unchecked-icon-color","",u.contentGlobalSubtle),selectAllUncheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-default-state-layer-opacity","",l.opacity0),selectAllUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-hover-state-layer-opacity","",l.opacity8),selectAllUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-focus-state-layer-opacity","",l.opacity16),defaultUncheckedStateLayerColor:o.extend("--ftds-floating-menu-default-unchecked-state-layer-color","",u.contentGlobalPrimary),defaultUncheckedColor:o.extend("--ftds-floating-menu-default-unchecked-color","",u.contentGlobalPrimary),defaultUncheckedIconColor:o.extend("--ftds-floating-menu-default-unchecked-icon-color","",u.contentGlobalSubtle),defaultUncheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-default-state-layer-opacity","",l.opacity0),defaultUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-hover-state-layer-opacity","",l.opacity8),defaultUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-focus-state-layer-opacity","",l.opacity16),defaultCheckedStateLayerColor:o.extend("--ftds-floating-menu-default-checked-state-layer-color","",u.contentActionPrimary),defaultCheckedColor:o.extend("--ftds-floating-menu-default-checked-color","",u.contentActionPrimary),defaultCheckedIconColor:o.extend("--ftds-floating-menu-default-checked-icon-color","",u.contentActionPrimary),defaultCheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-default-state-layer-opacity","",l.opacity8),defaultCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-hover-state-layer-opacity","",l.opacity16),defaultCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-focus-state-layer-opacity","",l.opacity24)};var Kp={menuVerticalGap:o.extend("--ftds-combobox-menu-vertical-gap","",l.spacing2),menuNewValuePaddingTop:o.extend("--ftds-combobox-menu-new-value-padding-top","",l.spacing4),menuNewValuePaddingBottom:o.extend("--ftds-combobox-menu-new-value-padding-bottom","",l.spacing1),menuNewValueHorizontalPadding:o.extend("--ftds-combobox-menu-new-value-horizontal-padding","",l.spacing4),menuNewValueLabelColor:o.extend("--ftds-combobox-menu-new-value-label-color","",u.contentGlobalSubtle),menuNewValueBorderColor:o.extend("--ftds-combobox-menu-new-value-border-color","",u.borderGlobalPrimary),menuNewValueBorderWidth:o.create("--ftds-combobox-menu-new-value-border-width","","SIZE","1px"),menuNewValueErrorBackgroundColor:o.extend("--ftds-combobox-menu-new-value-error-background-color","",u.backgroundErrorSubtle),menuNewValueErrorBorderColor:o.extend("--ftds-combobox-menu-new-value-error-border-color","",u.borderErrorPrimary),menuNewValueErrorStateLayerColor:o.extend("--ftds-combobox-menu-new-value-error-state-layer-color","",u.contentActionPrimary),menuNewValueErrorHoverStateLayerOpacity:o.extend("--ftds-combobox-menu-new-value-error-hover-state-layer-opacity","",l.opacity4),menuNewValueErrorActiveStateLayerOpacity:o.extend("--ftds-combobox-menu-new-value-error-active-state-layer-opacity","",l.opacity6),menuMessagePaddingTop:o.extend("--ftds-combobox-menu-message-padding-top","",l.spacing2),menuMessagePaddingBottom:o.extend("--ftds-combobox-menu-message-padding-bottom","",l.spacing2),menuMessageHorizontalPadding:o.extend("--ftds-combobox-menu-message-horizontal-padding","",l.spacing4),menuMessageLabelColor:o.extend("--ftds-combobox-menu-message-label-color","",u.contentGlobalSubtle),valuesChipBackgroundColor:o.extend("--ftds-combobox-values-chip-background-color","",u.backgroundGlobalOnSurface),valuesChipBorderColor:o.extend("--ftds-combobox-values-chip-border-color","",u.borderInputPrimary)};var Zp={backgroundColor:o.extend("--ftds-popover-background-color","",u.backgroundGlobalOnSurface),titleColor:o.extend("--ftds-popover-title-color","",u.contentGlobalPrimary),bodyColor:o.extend("--ftds-popover-body-color","",u.contentGlobalSecondary),gap:o.extend("--ftds-popover-gap","",l.spacing2),borderRadius:o.extend("--ftds-popover-border-radius","",l.borderRadiusM),shadow:o.extend("--ftds-popover-shadow","",l.shadowElevation02),maxWidth:o.create("--ftds-popover-max-width","","SIZE","440px"),minWidth:o.create("--ftds-popover-min-width","","SIZE","160px"),maxHeight:o.create("--ftds-popover-max-height","","SIZE","0.16vh"),contentSectionVerticalGap:o.extend("--ftds-popover-content-section-vertical-gap","",l.spacing2),multiSectionVerticalGap:o.extend("--ftds-popover-multi-section-vertical-gap","",l.spacing6),defaultHorizontalPadding:o.extend("--ftds-popover-default-horizontal-padding","",l.spacing6),defaultVerticalPadding:o.extend("--ftds-popover-default-vertical-padding","",l.spacing6),denseHorizontalPadding:o.extend("--ftds-popover-dense-horizontal-padding","",l.spacing3),denseVerticalPadding:o.extend("--ftds-popover-dense-vertical-padding","",l.spacing3)};var qp={hoverStateLayerOpacity:o.extend("--ftds-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:o.extend("--ftds-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:o.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ftds-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ftds-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ftds-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:o.extend("--ftds-collapsible-horizontal-padding","",l.spacing4),verticalPadding:o.extend("--ftds-collapsible-vertical-padding","",l.spacing3),color:o.extend("--ftds-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:o.extend("--ftds-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:o.extend("--ftds-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:o.extend("--ftds-collapsible-border-color","",u.borderGlobalSubtle),iconSize:o.extend("--ftds-collapsible-icon-size","",l.iconSize3)};var Yp={groupHorizontalPadding:o.extend("--ftds-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:o.extend("--ftds-switch-group-vertical-padding","",l.spacing1),groupGap:o.extend("--ftds-switch-group-gap","",l.spacing1),groupBackgroundColor:o.extend("--ftds-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:o.extend("--ftds-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:o.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ftds-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:o.extend("--ftds-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:o.extend("--ftds-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:o.extend("--ftds-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:o.extend("--ftds-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:o.extend("--ftds-switch-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ftds-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:o.extend("--ftds-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:o.extend("--ftds-switch-on-disabled-component-opacity","",l.opacity40),onColor:o.extend("--ftds-switch-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:o.extend("--ftds-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:o.extend("--ftds-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:o.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:o.extend("--ftds-switch-option-border-radius","",l.borderRadiusS)};var Xp={color1Light:o.extend("--ftds-chart-1-light","for area color charts",l.colorBrand40),color1Base:o.extend("--ftds-chart-1-base","for line charts",l.colorBrand0),color2Light:o.extend("--ftds-chart-2-light","for area color charts",l.colorYellow60),color2Base:o.extend("--ftds-chart-2-base","for line charts",l.colorYellow100),color3Light:o.extend("--ftds-chart-3-light","",l.colorUltramarine40),color3Base:o.extend("--ftds-chart-3-base","",l.colorUltramarine70),color4Light:o.extend("--ftds-chart-4-light","",l.colorCyan50),color4Base:o.extend("--ftds-chart-4-base","",l.colorCyan100),color5Light:o.extend("--ftds-chart-5-light","",l.colorRed40),color5Base:o.extend("--ftds-chart-5-base","",l.colorRed60),color6Light:o.extend("--ftds-chart-6-light","",l.colorGreen40),color6Base:o.extend("--ftds-chart-6-base","",l.colorGreen70),color7Light:o.extend("--ftds-chart-7-light","",l.colorOrange70),color7Base:o.extend("--ftds-chart-7-base","",l.colorOrange100),color8Light:o.extend("--ftds-chart-8-light","",l.colorAvocado70),color8Base:o.extend("--ftds-chart-8-base","",l.colorAvocado200),color9Light:o.extend("--ftds-chart-9-light","",l.colorBrown50),color9Base:o.extend("--ftds-chart-9-base","",l.colorBrown200),color10Light:o.extend("--ftds-chart-10-light","",l.colorGray50),color10Base:o.extend("--ftds-chart-10-base","",l.colorGray80),monochrome10:o.extend("--ftds-chart-monochrome-10","",l.colorBrand10),monochrome20:o.extend("--ftds-chart-monochrome-20","",l.colorBrand20),monochrome30:o.extend("--ftds-chart-monochrome-30","",l.colorBrand40),monochrome40:o.extend("--ftds-chart-monochrome-40","",l.colorBrand60),monochrome50:o.extend("--ftds-chart-monochrome-50","",l.colorBrand0),monochrome60:o.extend("--ftds-chart-monochrome-60","",l.colorBrand200)};var Jp={color1IconColor:o.extend("--ftds-page-designer-1-icon-color","for area color charts",l.colorCyan0),color1ToolbarColor:o.extend("--ftds-page-designer-1-toolbar-color","for area color charts",l.colorCyan0),color2IconColor:o.extend("--ftds-page-designer-2-icon-color","for area color charts",l.colorBrand0),color2ToolbarColor:o.extend("--ftds-page-designer-2-toolbar-color","for area color charts",l.colorBrand0),color3IconColor:o.extend("--ftds-page-designer-3-icon-color","for area color charts",l.colorYellow200),color3ToolbarColor:o.extend("--ftds-page-designer-3-toolbar-color","for area color charts",l.colorYellow200),color4IconColor:o.extend("--ftds-page-designer-4-icon-color","for area color charts",l.colorUltramarine50),color4ToolbarColor:o.extend("--ftds-page-designer-4-toolbar-color","for area color charts",l.colorUltramarine50),color5IconColor:o.extend("--ftds-page-designer-5-icon-color","for area color charts",l.colorGreen0),color5ToolbarColor:o.extend("--ftds-page-designer-5-toolbar-color","for area color charts",l.colorGreen0),color6IconColor:o.extend("--ftds-page-designer-6-icon-color","for area color charts",l.colorOrange0),color6ToolbarColor:o.extend("--ftds-page-designer-6-toolbar-color","for area color charts",l.colorOrange0),color7IconColor:o.extend("--ftds-page-designer-7-icon-color","for area color charts",l.colorAvocado200),color7ToolbarColor:o.extend("--ftds-page-designer-7-toolbar-color","for area color charts",l.colorAvocado200),color8IconColor:o.extend("--ftds-page-designer-8-icon-color","for area color charts",l.colorBrown0),color8ToolbarColor:o.extend("--ftds-page-designer-8-toolbar-color","for area color charts",l.colorBrown0)};var Qp={borderWidth:o.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ftds-notice-horizontal-padding","",l.spacing3),verticalPadding:o.extend("--ftds-notice-vertical-padding","",l.spacing2),borderRadius:o.extend("--ftds-notice-border-radius","",l.borderRadiusS),gap:o.extend("--ftds-notice-gap","",l.spacing2),iconSize:o.extend("--ftds-notice-icon-size","",l.iconSize3),infoBackgroundColor:o.extend("--ftds-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:o.extend("--ftds-notice-info-border-color","",u.borderInfoSubtle),infoColor:o.extend("--ftds-notice-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:o.extend("--ftds-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:o.extend("--ftds-notice-warning-border-color","",u.borderWarningSubtle),warningColor:o.extend("--ftds-notice-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:o.extend("--ftds-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:o.extend("--ftds-notice-error-border-color","",u.borderErrorSubtle),errorColor:o.extend("--ftds-notice-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:o.extend("--ftds-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:o.extend("--ftds-notice-success-border-color","",u.borderSuccessSubtle),successColor:o.extend("--ftds-notice-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-notice-success-icon-color","",u.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ftds-notice-dense-gap","",l.spacing1),denseIconSize:o.extend("--ftds-notice-dense-icon-size","",l.iconSize2),denseBorderWidth:o.create("--ftds-notice-dense-border-width","","SIZE","0")};var ef={iconSize:o.extend("--ftds-notification-icon-size","",l.iconSize4),leftPadding:o.extend("--ftds-notification-left-padding","",l.spacing5),rightPadding:o.extend("--ftds-notification-right-padding","",l.spacing4),verticalPadding:o.extend("--ftds-notification-vertical-padding","",l.spacing3),infoBackgroundColor:o.extend("--ftds-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-notification-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ftds-notification-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ftds-notification-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ftds-notification-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-notification-error-border-color","",u.borderErrorSubtle),borderRadius:o.extend("--ftds-notification-border-radius","",l.borderRadiusPill),borderWidth:o.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ftds-notification-leading-gap","",l.spacing2),trailingGap:o.extend("--ftds-notification-trailing-gap","",l.spacing8)};var tf={horizontalPadding:o.extend("--ftds-tooltip-horizontal-padding","",l.spacing2),verticalPadding:o.extend("--ftds-tooltip-vertical-padding","",l.spacing2),borderRadius:o.extend("--ftds-tooltip-border-radius","",l.borderRadiusS),color:o.extend("--ftds-tooltip-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ftds-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:o.extend("--ftds-tooltip-background-opacity","",l.opacity80),shadow:o.extend("--ftds-tooltip-shadow","",l.shadowElevation02),maxWidth:o.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ftds-tooltip-gap","",l.spacing05)};var rf={menuHorizontalPadding:o.extend("--ftds-date-range-picker-menu-horizontal-padding","",l.spacing4),menuVerticalPadding:o.extend("--ftds-date-range-picker-menu-vertical-padding","",l.spacing4),menuVerticalGap:o.extend("--ftds-date-range-picker-menu-vertical-gap","",l.spacing4),menuButtonsVerticalGap:o.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",l.spacing2)};var qr;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(qr||(qr={}));var Yr;(function(t){t.large="large",t.medium="medium",t.small="small"})(Yr||(Yr={}));function _i(t){return`ftds--family-${t}`}function Ri(t){return`ftds--size-${t}`}var _={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorInfo:o.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:o.create("--ft-color-warning","","COLOR","#B74706"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:o.create("--ft-color-success","","COLOR","#187856"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.create("--ft-elevation-00","","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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-xl","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var ki={};$(ki,{DynamicImporter:()=>Ho,dynamicImporter:()=>of});var Ho=class{async import(e){if(e)return import(e)}},of=new Ho;var Gi={};$(Gi,{computeOffsetAutoPosition:()=>Rf,computeOffsetPosition:()=>Vi});var oc=["top","right","bottom","left"],rc=["start","end"],Ni=oc.reduce((t,e)=>t.concat(e,e+"-"+rc[0],e+"-"+rc[1]),[]),It=Math.min,Ye=Math.max,Xr=Math.round;var Xe=t=>({x:t,y:t}),nf={left:"right",right:"left",bottom:"top",top:"bottom"};function nc(t,e,r){return Ye(t,It(e,r))}function gr(t,e){return typeof t=="function"?t(e):t}function Nt(t){return t.split("-")[0]}function Je(t){return t.split("-")[1]}function Pi(t){return t==="x"?"y":"x"}function Di(t){return t==="y"?"height":"width"}function br(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function Mi(t){return Pi(br(t))}function ic(t,e,r){r===void 0&&(r=!1);let n=Je(t),i=Mi(t),s=Di(i),a=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(a=Ii(a)),[a,Ii(a)]}function sc(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}function Ii(t){let e=Nt(t);return nf[e]+t.slice(e.length)}function sf(t){var e,r,n,i;return{top:(e=t.top)!=null?e:0,right:(r=t.right)!=null?r:0,bottom:(n=t.bottom)!=null?n:0,left:(i=t.left)!=null?i:0}}function ac(t){return typeof t!="number"?sf(t):{top:t,right:t,bottom:t,left:t}}function Pt(t){let{x:e,y:r,width:n,height:i}=t;return{width:n,height:i,top:r,left:e,right:e+n,bottom:r+i,x:e,y:r}}function lc(t,e,r){let{reference:n,floating:i}=t,s=br(e),a=Mi(e),c=Di(a),d=Nt(e),p=s==="y",h=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,m=n[c]/2-i[c]/2,x;switch(d){case"top":x={x:h,y:n.y-i.height};break;case"bottom":x={x:h,y:n.y+n.height};break;case"right":x={x:n.x+n.width,y:f};break;case"left":x={x:n.x-i.width,y:f};break;default:x={x:n.x,y:n.y}}let S=Je(e);return S&&(x[a]+=m*(S==="end"?1:-1)*(r&&p?-1:1)),x}async function cc(t,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:s,rects:a,elements:c,strategy:d}=t,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:m=!1,padding:x=0}=gr(e,t),S=ac(x),E=c[m?f==="floating"?"reference":"floating":f],T=Pt(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement(E)))==null||r?E:E.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:p,rootBoundary:h,strategy:d})),I=f==="floating"?{x:n,y:i,width:a.floating.width,height:a.floating.height}:a.reference,b=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),g=await(s.isElement==null?void 0:s.isElement(b))&&await(s.getScale==null?void 0:s.getScale(b))||{x:1,y:1},v=Pt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:I,offsetParent:b,strategy:d}):I);return{top:(T.top-v.top+S.top)/g.y,bottom:(v.bottom-T.bottom+S.bottom)/g.y,left:(T.left-v.left+S.left)/g.x,right:(v.right-T.right+S.right)/g.x}}var af=50,dc=async(t,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:a}=r,c=a.detectOverflow?a:{...a,detectOverflow:cc},d=await(a.isRTL==null?void 0:a.isRTL(e)),p=await a.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:f}=lc(p,n,d),m=n,x=0,S={};for(let w=0;w<s.length;w++){let E=s[w];if(!E)continue;let{name:T,fn:I}=E,{x:b,y:g,data:v,reset:A}=await I({x:h,y:f,initialPlacement:n,placement:m,strategy:i,middlewareData:S,rects:p,platform:c,elements:{reference:t,floating:e}});h=b??h,f=g??f,S[T]={...S[T],...v},A&&x<af&&(x++,typeof A=="object"&&(A.placement&&(m=A.placement),A.rects&&(p=A.rects===!0?await a.getElementRects({reference:t,floating:e,strategy:i}):A.rects),{x:h,y:f}=lc(p,m,d)),w=-1)}return{x:h,y:f,placement:m,strategy:i,middlewareData:S}};function lf(t,e,r){return(t?[...r.filter(i=>Je(i)===t),...r.filter(i=>Je(i)!==t)]:r.filter(i=>Nt(i)===i)).filter(i=>t?Je(i)===t||(e?sc(i)!==i:!1):!0)}var uc=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,i;let{rects:s,middlewareData:a,placement:c,platform:d,elements:p}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:m=Ni,autoAlignment:x=!0,...S}=gr(t,e),w=f!==void 0||m===Ni?lf(f||null,x,m):m,E=((r=a.autoPlacement)==null?void 0:r.index)||0,T=w[E];if(T==null)return{};if(c!==T)return{reset:{placement:w[0]}};let I=await d.detectOverflow(e,S),b=ic(T,s,await(d.isRTL==null?void 0:d.isRTL(p.floating))),g=[I[Nt(T)],I[b[0]],I[b[1]]],v=[...((n=a.autoPlacement)==null?void 0:n.overflows)||[],{placement:T,overflows:g}],A=w[E+1];if(A)return{data:{index:E+1,overflows:v},reset:{placement:A}};let P=v.map(k=>{let H=Je(k.placement);return[k.placement,H&&h?k.overflows.slice(0,2).reduce((re,Ke)=>re+Ke,0):k.overflows[0],k.overflows]}).sort((k,H)=>k[1]-H[1]),X=((i=P.filter(k=>k[2].slice(0,Je(k[0])?2:3).every(H=>H<=0))[0])==null?void 0:i[0])||P[0][0];return X!==c?{data:{index:E+1,overflows:v},reset:{placement:X}}:{}}}};var cf=new Set(["left","top"]);async function df(t,e){let{placement:r,platform:n,elements:i}=t,s=await(n.isRTL==null?void 0:n.isRTL(i.floating)),a=Nt(r),c=Je(r),d=br(r)==="y",p=cf.has(a)?-1:1,h=s&&d?-1:1,f=gr(e,t),{mainAxis:m,crossAxis:x,alignmentAxis:S}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return c&&typeof S=="number"&&(x=c==="end"?S*-1:S),d?{x:x*h,y:m*p}:{x:m*p,y:x*h}}var pc=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;let{x:i,y:s,placement:a,middlewareData:c}=e,d=await df(e,t);return a===((r=c.offset)==null?void 0:r.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:s+d.y,data:{...d,placement:a}}}}},fc=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:i,platform:s}=e,{mainAxis:a=!0,crossAxis:c=!1,limiter:d={fn:I=>{let{x:b,y:g}=I;return{x:b,y:g}}},...p}=gr(t,e),h={x:r,y:n},f=await s.detectOverflow(e,p),m=br(i),x=Pi(m),S=h[x],w=h[m],E=(I,b)=>nc(b+f[I==="y"?"top":"left"],b,b-f[I==="y"?"bottom":"right"]);a&&(S=E(x,S)),c&&(w=E(m,w));let T=d.fn({...e,[x]:S,[m]:w});return{...T,data:{x:T.x-r,y:T.y-n,enabled:{[x]:a,[m]:c}}}}}};var hc=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){let{placement:r,rects:n,platform:i,elements:s}=e,{apply:a=()=>{},...c}=gr(t,e),d=await i.detectOverflow(e,c),p=Nt(r),h=Je(r),f=br(r)==="y",{width:m,height:x}=n.floating,S,w;p==="top"||p==="bottom"?(S=p,w=h===(await(i.isRTL==null?void 0:i.isRTL(s.floating))?"start":"end")?"left":"right"):(w=p,S=h==="end"?"top":"bottom");let E=x-d.top-d.bottom,T=m-d.left-d.right,I=It(x-d[S],E),b=It(m-d[w],T),g=e.middlewareData.shift,v=!g,A=I,P=b;g!=null&&g.enabled.x&&(P=T),g!=null&&g.enabled.y&&(A=E),v&&!h&&(f?P=m-2*Ye(d.left,d.right):A=x-2*Ye(d.top,d.bottom)),await a({...e,availableWidth:P,availableHeight:A});let V=await i.getDimensions(s.floating);return m!==V.width||x!==V.height?{reset:{rects:!0}}:{}}}};function Go(){return typeof window<"u"}function Mt(t){return yc(t)?(t.nodeName||"").toLowerCase():"#document"}function Se(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function at(t){var e;return(e=(yc(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function yc(t){return Go()?t instanceof Node||t instanceof Se(t).Node:!1}function Ue(t){return Go()?t instanceof Element||t instanceof Se(t).Element:!1}function lt(t){return Go()?t instanceof HTMLElement||t instanceof Se(t).HTMLElement:!1}function mc(t){return!Go()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Se(t).ShadowRoot}function Jr(t){let{overflow:e,overflowX:r,overflowY:n,display:i}=$e(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&i!=="inline"&&i!=="contents"}function gc(t){return/^(table|td|th)$/.test(Mt(t))}function Qr(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}var uf=/transform|translate|scale|rotate|perspective|filter/,pf=/paint|layout|strict|content/,Dt=t=>!!t&&t!=="none",Fi;function xr(t){let e=Ue(t)?$e(t):t;return Dt(e.transform)||Dt(e.translate)||Dt(e.scale)||Dt(e.rotate)||Dt(e.perspective)||!Wo()&&(Dt(e.backdropFilter)||Dt(e.filter))||uf.test(e.willChange||"")||pf.test(e.contain||"")}function bc(t){let e=mt(t);for(;lt(e)&&!vr(e);){if(xr(e))return e;if(Qr(e))return null;e=mt(e)}return null}function Wo(){return Fi==null&&(Fi=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Fi}function vr(t){return/^(html|body|#document)$/.test(Mt(t))}function $e(t){return Se(t).getComputedStyle(t)}function eo(t){return Ue(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function mt(t){if(Mt(t)==="html")return t;let e=t.assignedSlot||t.parentNode||mc(t)&&t.host||at(t);return mc(e)?e.host:e}function xc(t){let e=mt(t);return vr(e)?(t.ownerDocument||t).body:lt(e)&&Jr(e)?e:xc(e)}function Vo(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=xc(t),s=i===((n=t.ownerDocument)==null?void 0:n.body),a=Se(i);if(s){let c=jo(a);return e.concat(a,a.visualViewport||[],Jr(i)?i:[],c&&r?Vo(c):[])}else return e.concat(i,Vo(i,[],r))}function jo(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Ec(t){let e=$e(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=lt(t),s=i?t.offsetWidth:r,a=i?t.offsetHeight:n,c=Xr(r)!==s||Xr(n)!==a;return c&&(r=s,n=a),{width:r,height:n,$:c}}function Cc(t){return Ue(t)?t:t.contextElement}function Sr(t){let e=Cc(t);if(!lt(e))return Xe(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:s}=Ec(e),a=(s?Xr(r.width):r.width)/n,c=(s?Xr(r.height):r.height)/i;return(!a||!Number.isFinite(a))&&(a=1),(!c||!Number.isFinite(c))&&(c=1),{x:a,y:c}}var ff=Xe(0);function Oc(t){let e=Se(t);return!Wo()||!e.visualViewport?ff:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function hf(t,e,r){return e===void 0&&(e=!1),!!r&&e&&r===Se(t)}function to(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),s=Cc(t),a=Xe(1);e&&(n?Ue(n)&&(a=Sr(n)):a=Sr(t));let c=hf(s,r,n)?Oc(s):Xe(0),d=(i.left+c.x)/a.x,p=(i.top+c.y)/a.y,h=i.width/a.x,f=i.height/a.y;if(s&&n){let m=Se(s),x=Ue(n)?Se(n):n,S=m,w=jo(S);for(;w&&x!==S;){let E=Sr(w),T=w.getBoundingClientRect(),I=$e(w),b=T.left+(w.clientLeft+parseFloat(I.paddingLeft))*E.x,g=T.top+(w.clientTop+parseFloat(I.paddingTop))*E.y;d*=E.x,p*=E.y,h*=E.x,f*=E.y,d+=b,p+=g,S=Se(w),w=jo(S)}}return Pt({width:h,height:f,x:d,y:p})}function Ko(t,e){let r=eo(t).scrollLeft;return e?e.left+r:to(at(t)).left+r}function Ac(t,e){let r=t.getBoundingClientRect(),n=r.left+e.scrollLeft-Ko(t,r),i=r.top+e.scrollTop;return{x:n,y:i}}function mf(t){let{elements:e,rect:r,offsetParent:n,strategy:i}=t,s=i==="fixed",a=at(n),c=e?Qr(e.floating):!1;if(n===a||c&&s)return r;let d={scrollLeft:0,scrollTop:0},p=Xe(1),h=Xe(0),f=lt(n);if((f||!s)&&((Mt(n)!=="body"||Jr(a))&&(d=eo(n)),f)){let x=to(n);p=Sr(n),h.x=x.x+n.clientLeft,h.y=x.y+n.clientTop}let m=a&&!f&&!s?Ac(a,d):Xe(0);return{width:r.width*p.x,height:r.height*p.y,x:r.x*p.x-d.scrollLeft*p.x+h.x+m.x,y:r.y*p.y-d.scrollTop*p.y+h.y+m.y}}function yf(t){return t.getClientRects?Array.from(t.getClientRects()):[]}function gf(t){let e=eo(t),r=t.ownerDocument.body,n=Ye(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Ye(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),s=-e.scrollLeft+Ko(t),a=-e.scrollTop;return $e(r).direction==="rtl"&&(s+=Ye(t.clientWidth,r.clientWidth)-n),{width:n,height:i,x:s,y:a}}var bf=25;function xf(t,e,r){r===void 0&&(r="viewport");let n=r==="layoutViewport",i=Se(t),s=at(t),a=i.visualViewport,c=s.clientWidth,d=s.clientHeight,p=0,h=0;if(a){let m=!Wo()||e==="fixed";n?m||(p=-a.offsetLeft,h=-a.offsetTop):(c=a.width,d=a.height,m&&(p=a.offsetLeft,h=a.offsetTop))}if(Ko(s)<=0){let m=s.ownerDocument,x=m.body,S=getComputedStyle(x),w=m.compatMode==="CSS1Compat"&&parseFloat(S.marginLeft)+parseFloat(S.marginRight)||0,E=Math.abs(s.clientWidth-x.clientWidth-w),T=getComputedStyle(s).scrollbarGutter==="stable both-edges"?E/2:E;T<=bf&&(c-=T)}return{width:c,height:d,x:p,y:h}}function vf(t,e){let r=to(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,s=Sr(t),a=t.clientWidth*s.x,c=t.clientHeight*s.y,d=i*s.x,p=n*s.y;return{width:a,height:c,x:d,y:p}}function vc(t,e,r){let n;if(e==="viewport"||e==="layoutViewport")n=xf(t,r,e);else if(e==="document")n=gf(at(t));else if(Ue(e))n=vf(e,r);else{let i=Oc(t);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return Pt(n)}function Sf(t,e){let r=e.get(t);if(r)return r;let n=Vo(t,[],!1).filter(c=>Ue(c)&&Mt(c)!=="body"),i=null,s=$e(t).position==="fixed",a=s?mt(t):t;for(;Ue(a)&&!vr(a);){let c=$e(a),d=xr(a),p=i?i.position:s?"fixed":"";!d&&(p==="fixed"||p==="absolute"&&c.position==="static")?n=n.filter(f=>f!==a):i=c,a=mt(a)}return e.set(t,n),n}function Ef(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,a=[...r==="clippingAncestors"?Qr(e)?[]:Sf(e,this._c):[].concat(r),n],c=vc(e,a[0],i),d=c.top,p=c.right,h=c.bottom,f=c.left;for(let m=1;m<a.length;m++){let x=vc(e,a[m],i);d=Ye(x.top,d),p=It(x.right,p),h=It(x.bottom,h),f=Ye(x.left,f)}return{width:p-f,height:h-d,x:f,y:d}}function Cf(t){let{width:e,height:r}=Ec(t);return{width:e,height:r}}function Of(t,e,r){let n=lt(e),i=at(e),s=r==="fixed",a=to(t,!0,s,e),c={scrollLeft:0,scrollTop:0},d=Xe(0);if((n||!s)&&((Mt(e)!=="body"||Jr(i))&&(c=eo(e)),n)){let m=to(e,!0,s,e);d.x=m.x+e.clientLeft,d.y=m.y+e.clientTop}!n&&i&&(d.x=Ko(i));let p=i&&!n&&!s?Ac(i,c):Xe(0),h=a.left+c.scrollLeft-d.x-p.x,f=a.top+c.scrollTop-d.y-p.y;return{x:h,y:f,width:a.width,height:a.height}}function Ui(t){return $e(t).position==="static"}function Sc(t,e){if(!lt(t)||$e(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return at(t)===r&&(r=r.ownerDocument.body),r}function wc(t,e){let r=Se(t);if(Qr(t))return r;if(!lt(t)){let i=mt(t);for(;i&&!vr(i);){if(Ue(i)&&!Ui(i))return i;i=mt(i)}return r}let n=Sc(t,e);for(;n&&gc(n)&&Ui(n);)n=Sc(n,e);return n&&vr(n)&&Ui(n)&&!xr(n)?r:n||bc(t)||r}var Af=async function(t){let e=this.getOffsetParent||wc,r=this.getDimensions,n=await r(t.floating);return{reference:Of(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function wf(t){return $e(t).direction==="rtl"}var Er={convertOffsetParentRelativeRectToViewportRelativeRect:mf,getDocumentElement:at,getClippingRect:Ef,getOffsetParent:wc,getElementRects:Af,getClientRects:yf,getDimensions:Cf,getScale:Sr,isElement:Ue,isRTL:wf};var _c=pc,$i=uc,Rc=fc;var Tc=hc;var Bi=(t,e,r)=>{let n=new Map,i=r??{},s={...Er,...i.platform,_c:n};return dc(t,e,{...i,platform:s})};function Hi(t){return _f(t)}function zi(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function _f(t){for(let e=t;e;e=zi(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=zi(t);e;e=zi(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||xr(r)||e.tagName==="BODY"))return e}return null}async function Vi(t,e,r){let n;return typeof r=="object"?n=r:n={placement:r},Bi(t,e,{strategy:n.strategy,platform:{...Er,getOffsetParent:i=>Er.getOffsetParent(i,Hi)},middleware:[Rc({crossAxis:!0}),$i({allowedPlacements:[n.placement]})]})}async function Rf(t,e,r,n,i,s,a){let c,d;return typeof r=="object"?(c=r.placement,n=r.allowedPlacements,i=r.strategy,s=r.maxHeightCssVariable,d=r.maxWidthCssVariable,a=r.offsetValue):c=r,Bi(t,e,{placement:c,strategy:i,platform:{...Er,getOffsetParent:p=>Er.getOffsetParent(p,Hi)},middleware:[_c(a??4),$i({allowedPlacements:n}),Tc({apply({availableHeight:p,availableWidth:h,elements:f}){typeof s=="string"&&(s=`var(${s})`),s?f.floating.style.maxHeight=`min(${Math.max(0,p)}px, ${s})`:f.floating.style.maxHeight=`${Math.max(0,p)}px`,typeof d=="string"&&(d=`var(${d})`),d?f.floating.style.maxWidth=`min(${Math.max(0,h)}px, ${d})`:f.floating.style.maxWidth=`${Math.max(0,h)}px`}})]})}var Wi={};$(Wi,{isSlotEmptyOrWithoutContent:()=>Tf});var Tf=t=>t?t.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 Xi={};$(Xi,{FtdsBase:()=>Yi,toFtdsBase:()=>Mc});var qi={};$(qi,{ExportpartsUpdatedEvent:()=>Ft,FtLitElement:()=>U});var ji={};$(ji,{ScopedRegistryLitElement:()=>ro});var ro=class extends nt{get scopedRegistryConstructor(){return this.constructor}createRenderRoot(){let e=this.scopedRegistryConstructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,e.defineScopedElements(e.elementDefinitions));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return Ur(n,e.elementStyles),n}static canDefineScopedElement(e){return!!this.registry&&!this.registry.get(e)}static defineScopedElements(e){Object.entries(e).forEach(([r,n])=>this.defineScopedElement(r,n))}static defineScopedElement(e,r){Wr(e)(r),this.canDefineScopedElement(e)&&this.registry.define(e,r)}canDefineScopedElement(e){return this.scopedRegistryConstructor.canDefineScopedElement(e)}defineScopedElements(e){this.scopedRegistryConstructor.defineScopedElements(e)}defineScopedElement(e,r){this.scopedRegistryConstructor.defineScopedElement(e,r)}};var Zi={};$(Zi,{shadowQuerySelector:()=>Ki,shadowQuerySelectorAll:()=>Lf});function Ki(t,e,...r){var n;let i=t.querySelector(e);for(let s of r)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(s);return i}function Lf(t,e,...r){let n=[...t.querySelectorAll(e)];for(let i of r)n=n.flatMap(s=>{var a,c;return[...(c=(a=s.shadowRoot)===null||a===void 0?void 0:a.querySelectorAll(i))!==null&&c!==void 0?c:[]]});return n}var Cr=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Nc,Lc=Symbol("constructorPrototype"),kc=Symbol("constructorName"),Pc=Symbol("exportpartsDebouncer"),Ic=Symbol("dynamicDependenciesLoaded"),Ft=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};Ft.eventName="exportparts-updated";var U=class extends ro{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Nc]=new J(5),this.scheduleExportpartsUpdate=()=>{var e,r,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[Pc].run(()=>{var i,s;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((s=this.exportpartsPrefixes)===null||s===void 0?void 0:s.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[kc]=this.constructor.name,this[Lc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[kc]&&Object.setPrototypeOf(this,this[Lc])}connectedCallback(){var e;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 r=this.constructor;r[Ic]||(r[Ic]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(Ft.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(Ft.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.focusElementToFocus(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate(),e.has("exportparts")&&this.dispatchEvent(new Ft)})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:n,shadowPath:i}=this.elementToFocus;if(n!=null){let s=[...i??[],n];r=Ki(this.shadowRoot,...s)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var r,n,i;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(s=>s.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(s){console.error(s,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let s=document.createElement("style");s.classList.add("ft-lit-element--custom-stylesheet"),s.innerHTML=this.customStylesheet,this.shadowRoot.append(s)}}setExportpartsAttribute(e){var r,n,i,s,a,c;let d=m=>m!=null&&m.trim().length>0,p=e.filter(d).map(m=>m.trim());if(p.length===0){this.exportparts=void 0;return}let h=new Set;for(let m of(s=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&s!==void 0?s:[]){let x=(a=(n=m.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],S=(c=(i=m.getAttribute("exportparts"))===null||i===void 0?void 0:i.split(",").map(E=>E.split(":")[1]))!==null&&c!==void 0?c:[],w=[...x,...S].filter(d).map(E=>E.trim());for(let E of w)h.add(E)}if(h.size===0){this.exportparts=void 0;return}let f=[...h.values()].flatMap(m=>p.map(x=>`${m}:${x}--${m}`));this.exportparts=[...this.part,...f].join(", ")}};Nc=Pc;Cr([y()],U.prototype,"exportpartsPrefix",void 0);Cr([ne([])],U.prototype,"exportpartsPrefixes",void 0);Cr([y({reflect:!0})],U.prototype,"exportparts",void 0);Cr([y()],U.prototype,"customStylesheet",void 0);Cr([y()],U.prototype,"elementToFocus",void 0);Cr([N()],U.prototype,"useAdoptedStyleSheets",void 0);var Dc=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Mc=pe(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=Yr.medium,this.family=qr.neutral}getDesignSystemBaseClasses(){return{[_i(this.family)]:!0,[Ri(this.size)]:!0}}}return Dc([y()],e.prototype,"size",void 0),Dc([y()],e.prototype,"family",void 0),e}),Yi=class extends Mc(U){};var Fc={};var es={};$(es,{highlightHtml:()=>Qi,highlightHtmlColorCssVariable:()=>Uc,highlightHtmlStyles:()=>If});var Ut=class t{constructor(e,r=!0,n=[],i=5e3){this.ctx=e,this.iframes=r,this.exclude=n,this.iframesTimeout=i}static matches(e,r){let n=typeof r=="string"?[r]:r,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let s=!1;return n.every(a=>i.call(e,a)?(s=!0,!1):!0),s}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let i=r.filter(s=>s.contains(n)).length>0;r.indexOf(n)===-1&&!i&&r.push(n)}),r}getIframeContents(e,r,n=()=>{}){let i;try{let s=e.contentWindow;if(i=s.document,!s||!i)throw new Error("iframe inaccessible")}catch{n()}i&&r(i)}isIframeBlank(e){let r="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(e,r,n){let i=!1,s=null,a=()=>{if(!i){i=!0,clearTimeout(s);try{this.isIframeBlank(e)||(e.removeEventListener("load",a),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",a),s=setTimeout(a,this.iframesTimeout)}onIframeReady(e,r,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,n):this.getIframeContents(e,r,n):this.observeIframeLoad(e,r,n)}catch{n()}}waitForIframes(e,r){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||r()})},i=>{i||r()})}forEachIframe(e,r,n,i=()=>{}){let s=e.querySelectorAll("iframe"),a=s.length,c=0;s=Array.prototype.slice.call(s);let d=()=>{--a<=0&&i(c)};a||d(),s.forEach(p=>{t.matches(p,this.exclude)?d():this.onIframeReady(p,h=>{r(p)&&(c++,n(h)),d()},d)})}createIterator(e,r,n){return document.createNodeIterator(e,r,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,n){let i=e.compareDocumentPosition(n),s=Node.DOCUMENT_POSITION_PRECEDING;if(i&s)if(r!==null){let a=r.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_FOLLOWING;if(a&c)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),n;return r===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:r,node:n}}checkIframeFilter(e,r,n,i){let s=!1,a=!1;return i.forEach((c,d)=>{c.val===n&&(s=d,a=c.handled)}),this.compareNodeIframe(e,r,n)?(s===!1&&!a?i.push({val:n,handled:!0}):s!==!1&&!a&&(i[s].handled=!0),!0):(s===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(e,r,n,i){e.forEach(s=>{s.handled||this.getIframeContents(s.val,a=>{this.createInstanceOnIframe(a).forEachNode(r,n,i)})})}iterateThroughNodes(e,r,n,i,s){let a=this.createIterator(r,e,i),c=[],d=[],p,h,f=()=>({prevNode:h,node:p}=this.getIteratorNode(a),p);for(;f();)this.iframes&&this.forEachIframe(r,m=>this.checkIframeFilter(p,h,m,c),m=>{this.createInstanceOnIframe(m).forEachNode(e,x=>d.push(x),i)}),d.push(p);d.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(c,e,n,i),s()}forEachNode(e,r,n,i=()=>{}){let s=this.getContexts(),a=s.length;a||i(),s.forEach(c=>{let d=()=>{this.iterateThroughNodes(e,c,r,n,()=>{--a<=0&&i()})};this.iframes?this.waitForIframes(c,d):d()})}};var oo=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new Ut(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let s in r)if(r.hasOwnProperty(s)){let a=r[s],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a);c!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(d)})`,`gm${n}`),i+`(${this.processSynomyms(c)}|${this.processSynomyms(d)})`+i))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,n,i)=>{let s=i.charAt(n+1);return/[(|)\\]/.test(s)||s===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return e.split("").forEach(s=>{n.every(a=>{if(a.indexOf(s)!==-1){if(i.indexOf(a)>-1)return!1;e=e.replace(new RegExp(`[${a}]`,`gm${r}`),`[${a}]`),i.push(a)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,s=typeof n=="string"?[]:n.limiters,a="";switch(s.forEach(c=>{a+=`|${this.escapeStr(c)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return a="\\s"+(a||this.escapeStr(r)),`()([^${a}]*${e}[^${a}]*)`;case"exactly":return`(^|\\s${a})(${e})(?=$|\\s${a})`}}getSeparatedKeywords(e){let r=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&r.indexOf(i)===-1&&r.push(i)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,i)=>i.length-n.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],n=0;return e.sort((i,s)=>i.start-s.start).forEach(i=>{let{start:s,end:a,valid:c}=this.callNoMatchOnInvalidRanges(i,n);c&&(i.start=s,i.length=a-s,r.push(i),n=a)}),r}callNoMatchOnInvalidRanges(e,r){let n,i,s=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-r>0&&i-n>0?s=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:i,valid:s}}checkWhitespaceRanges(e,r,n){let i,s=!0,a=n.length,c=r-a,d=parseInt(e.start,10)-c;return d=d>a?a:d,i=d+parseInt(e.length,10),i>a&&(i=a,this.log(`End range automatically set to the max value of ${a}`)),d<0||i-d<0||d>a||i>a?(s=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(d,i).replace(/\s+/g,"")===""&&(s=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:i,valid:s}}getTextNodes(e){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:r.length,end:(r+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:n})})}matchesExclude(e){return Ut.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,n){let i=this.opt.element?this.opt.element:"mark",s=e.splitText(r),a=s.splitText(n-r),c=document.createElement(i);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=s.textContent,s.parentNode.replaceChild(c,s),a}wrapRangeInMappedTextNode(e,r,n,i,s){e.nodes.every((a,c)=>{let d=e.nodes[c+1];if(typeof d>"u"||d.start>r){if(!i(a.node))return!1;let p=r-a.start,h=(n>a.end?a.end:n)-a.start,f=e.value.substr(0,a.start),m=e.value.substr(h+a.start);if(a.node=this.wrapRangeInTextNode(a.node,p,h),e.value=f+m,e.nodes.forEach((x,S)=>{S>=c&&(e.nodes[S].start>0&&S!==c&&(e.nodes[S].start-=h),e.nodes[S].end-=h)}),n-=h,s(a.node.previousSibling,a.start),n>a.end)r=a.end;else return!1}return!0})}wrapMatches(e,r,n,i,s){let a=r===0?0:r+1;this.getTextNodes(c=>{c.nodes.forEach(d=>{d=d.node;let p;for(;(p=e.exec(d.textContent))!==null&&p[a]!=="";){if(!n(p[a],d))continue;let h=p.index;if(a!==0)for(let f=1;f<a;f++)h+=p[f].length;d=this.wrapRangeInTextNode(d,h,h+p[a].length),i(d.previousSibling),e.lastIndex=0}}),s()})}wrapMatchesAcrossElements(e,r,n,i,s){let a=r===0?0:r+1;this.getTextNodes(c=>{let d;for(;(d=e.exec(c.value))!==null&&d[a]!=="";){let p=d.index;if(a!==0)for(let f=1;f<a;f++)p+=d[f].length;let h=p+d[a].length;this.wrapRangeInMappedTextNode(c,p,h,f=>n(d[a],f),(f,m)=>{e.lastIndex=m,i(f)})}s()})}wrapRangeFromIndex(e,r,n,i){this.getTextNodes(s=>{let a=s.value.length;e.forEach((c,d)=>{let{start:p,end:h,valid:f}=this.checkWhitespaceRanges(c,a,s.value);f&&this.wrapRangeInMappedTextNode(s,p,h,m=>r(m,c,s.value.substring(p,h),d),m=>{n(m,c)})}),i()})}unwrapMatches(e){let r=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));r.replaceChild(n,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let n=0,i="wrapMatches",s=a=>{n++,this.opt.each(a)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(a,c)=>this.opt.filter(c,a,n),s,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,r){this.opt=r;let n=0,i="wrapMatches",{keywords:s,length:a}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),c=this.opt.caseSensitive?"":"i",d=p=>{let h=new RegExp(this.createRegExp(p),`gm${c}`),f=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,x)=>this.opt.filter(x,p,n,f),m=>{f++,n++,this.opt.each(m)},()=>{f===0&&this.opt.noMatch(p),s[a-1]===p?this.opt.done(n):d(s[s.indexOf(p)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),a===0?this.opt.done(n):d(s[0])}markRanges(e,r){this.opt=r;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(s,a,c,d)=>this.opt.filter(s,a,c,d),(s,a)=>{n++,this.opt.each(s,a)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=Ut.matches(n,r),s=this.matchesExclude(n);return!i||s?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Ji(t){let e=new oo(t);return this.mark=(r,n)=>(e.mark(r,n),this),this.markRegExp=(r,n)=>(e.markRegExp(r,n),this),this.markRanges=(r,n)=>(e.markRanges(r,n),this),this.unmark=r=>(e.unmark(r),this),this}var kf=Ji,Uc=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),If=R`
1
+ "use strict";(()=>{var Iu=Object.defineProperty;var $=(t,e)=>{for(var r in e)Iu(t,r,{get:e[r],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let t=window.HTMLElement,e=window.customElements.define,r=window.customElements.get,n=window.customElements,i=new WeakMap,s=new WeakMap,a=new WeakMap,c=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(b,g){if(b=b.toLowerCase(),this._getDefinition(b)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${b}" 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 v=g.prototype.attributeChangedCallback,A=new Set(g.observedAttributes||[]);m(g,A,v);let P={elementClass:g,connectedCallback:g.prototype.connectedCallback,disconnectedCallback:g.prototype.disconnectedCallback,adoptedCallback:g.prototype.adoptedCallback,attributeChangedCallback:v,formAssociated:g.formAssociated,formAssociatedCallback:g.prototype.formAssociatedCallback,formDisabledCallback:g.prototype.formDisabledCallback,formResetCallback:g.prototype.formResetCallback,formStateRestoreCallback:g.prototype.formStateRestoreCallback,observedAttributes:A};this._definitionsByTag.set(b,P),this._definitionsByClass.set(g,P);let V=r.call(n,b);V||(V=f(b),e.call(n,b,V)),this===window.customElements&&(a.set(g,P),P.standInClass=V);let X=this._awaitingUpgrade.get(b);if(X){this._awaitingUpgrade.delete(b);for(let H of X)s.delete(H),S(H,P,!0)}let k=this._whenDefinedPromises.get(b);return k!==void 0&&(k.resolve(g),this._whenDefinedPromises.delete(b)),g}upgrade(){E.push(this),n.upgrade.apply(n,arguments),E.pop()}get(b){return this._definitionsByTag.get(b)?.elementClass}_getDefinition(b){return this._definitionsByTag.get(b)}whenDefined(b){let g=this._getDefinition(b);if(g!==void 0)return Promise.resolve(g.elementClass);let v=this._whenDefinedPromises.get(b);return v===void 0&&(v={},v.promise=new Promise(A=>v.resolve=A),this._whenDefinedPromises.set(b,v)),v.promise}_upgradeWhenDefined(b,g,v){let A=this._awaitingUpgrade.get(g);A||this._awaitingUpgrade.set(g,A=new Set),v?A.add(b):A.delete(b)}};let d;window.HTMLElement=function(){let g=d;if(g)return d=void 0,g;let v=a.get(this.constructor);if(!v)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return g=Reflect.construct(t,[],v.standInClass),Object.setPrototypeOf(g,this.constructor.prototype),i.set(g,v),g},window.HTMLElement.prototype=t.prototype;let p=b=>b===document||b instanceof ShadowRoot,h=b=>{let g=b.getRootNode();if(!p(g)){let v=E[E.length-1];if(v instanceof CustomElementRegistry)return v;g=v.getRootNode(),p(g)||(g=c.get(g)?.getRootNode()||document)}return g.customElements},f=b=>class{static get formAssociated(){return!0}constructor(){let v=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(v,HTMLElement.prototype);let A=h(v)||window.customElements,P=A._getDefinition(b);return P?S(v,P):s.set(v,A),v}connectedCallback(){let v=i.get(this);v?v.connectedCallback&&v.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,b,!0)}disconnectedCallback(){let v=i.get(this);v?v.disconnectedCallback&&v.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,b,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let v=i.get(this);v&&v.formAssociated&&v?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let v=i.get(this);v?.formAssociated&&v?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let v=i.get(this);v?.formAssociated&&v?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let v=i.get(this);v?.formAssociated&&v?.formStateRestoreCallback?.apply(this,arguments)}},m=(b,g,v)=>{if(g.size===0||v===void 0)return;let A=b.prototype.setAttribute;A&&(b.prototype.setAttribute=function(X,k){let H=X.toLowerCase();if(g.has(H)){let re=this.getAttribute(H);A.call(this,H,k),v.call(this,H,re,k)}else A.call(this,H,k)});let P=b.prototype.removeAttribute;P&&(b.prototype.removeAttribute=function(X){let k=X.toLowerCase();if(g.has(k)){let H=this.getAttribute(k);P.call(this,k),v.call(this,k,H,null)}else P.call(this,k)});let V=b.prototype.toggleAttribute;V&&(b.prototype.toggleAttribute=function(X,k){let H=X.toLowerCase();if(g.has(H)){let re=this.getAttribute(H);V.call(this,H,k);let Ke=this.getAttribute(H);v.call(this,H,re,Ke)}else V.call(this,H,k)})},x=b=>{let g=Object.getPrototypeOf(b);if(g!==window.HTMLElement)return g===t?Object.setPrototypeOf(b,window.HTMLElement):x(g)},S=(b,g,v=!1)=>{Object.setPrototypeOf(b,g.elementClass.prototype),i.set(b,g),d=b;try{new g.elementClass}catch{x(g.elementClass),new g.elementClass}g.attributeChangedCallback&&g.observedAttributes.forEach(A=>{b.hasAttribute(A)&&g.attributeChangedCallback.call(b,A,null,b.getAttribute(A))}),v&&g.connectedCallback&&b.isConnected&&g.connectedCallback.call(b)},w=Element.prototype.attachShadow;Element.prototype.attachShadow=function(b){let g=w.apply(this,arguments);return b.customElements&&(g.customElements=b.customElements),g};let E=[document],L=(b,g,v=void 0)=>{let A=(v?Object.getPrototypeOf(v):b.prototype)[g];b.prototype[g]=function(){E.push(this);let P=A.apply(v||this,arguments);return P!==void 0&&c.set(P,this),E.pop(),P}};L(ShadowRoot,"createElement",document),L(ShadowRoot,"importNode",document),L(Element,"insertAdjacentHTML");let I=(b,g)=>{let v=Object.getOwnPropertyDescriptor(b.prototype,g);Object.defineProperty(b.prototype,g,{...v,set(A){E.push(this),v.set.call(this,A),E.pop()}})};if(I(Element,"innerHTML"),I(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let b=new WeakMap,g=HTMLElement.prototype.attachInternals,v=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...X){let k=g.call(this,...X);return b.set(k,this),k},v.forEach(X=>{let k=window.ElementInternals.prototype,H=k[X];k[X]=function(...re){let Ke=b.get(this);if(i.get(Ke).formAssociated===!0)return H?.call(this,...re);throw new DOMException(`Failed to execute ${H} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class A extends Array{constructor(k){super(...k),this._elements=k}get value(){return this._elements.find(k=>k.checked===!0)?.value||""}}class P{constructor(k){let H=new Map;k.forEach((re,Ke)=>{let Mn=re.getAttribute("name"),va=H.get(Mn)||[];this[+Ke]=re,va.push(re),H.set(Mn,va)}),this.length=k.length,H.forEach((re,Ke)=>{re&&(re.length===1?this[Ke]=re[0]:this[Ke]=new A(re))})}namedItem(k){return this[k]}}let V=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let X=V.get.call(this,[]),k=[];for(let H of X){let re=i.get(H);(!re||re.formAssociated===!0)&&k.push(H)}return new P(k)}})}}try{window.customElements.define("custom-element",null)}catch{let e=window.customElements.define;window.customElements.define=(r,n,i)=>{var s;if(n!==null)try{e.bind(window.customElements)(r,n,i)}catch(a){!((s=a.message)===null||s===void 0)&&s.includes("this constructor has already been used")?window.customElements.define(r,class extends n{},i):console.info(r,n,i,a)}}}var qn={};$(qn,{CSSResult:()=>lr,LitElement:()=>nt,ReactiveElement:()=>Le,_$LE:()=>Gu,_$LH:()=>jn,adoptStyles:()=>Ur,css:()=>R,defaultConverter:()=>cr,getCompatibleStyle:()=>To,html:()=>T,isServer:()=>ym,mathml:()=>Wn,noChange:()=>oe,notEqual:()=>Br,nothing:()=>B,render:()=>Kn,supportsAdoptingStyleSheets:()=>Mr,svg:()=>Gn,unsafeCSS:()=>Fr});var Ro=globalThis,Mr=Ro.ShadowRoot&&(Ro.ShadyCSS===void 0||Ro.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Fn=Symbol(),Sa=new WeakMap,lr=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Fn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(Mr&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Sa.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Sa.set(r,e))}return e}toString(){return this.cssText}},Fr=t=>new lr(typeof t=="string"?t:t+"",void 0,Fn),R=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((n,i,s)=>n+(a=>{if(a._$cssResult$===!0)return a.cssText;if(typeof a=="number")return a;throw Error("Value passed to 'css' function must be a 'css' function result: "+a+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[s+1],t[0]);return new lr(r,t,Fn)},Ur=(t,e)=>{if(Mr)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=Ro.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},To=Mr?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Fr(r)})(t):t;var{is:Nu,defineProperty:Pu,getOwnPropertyDescriptor:Du,getOwnPropertyNames:Mu,getOwnPropertySymbols:Fu,getPrototypeOf:Uu}=Object,Lo=globalThis,Ea=Lo.trustedTypes,$u=Ea?Ea.emptyScript:"",Bu=Lo.reactiveElementPolyfillSupport,$r=(t,e)=>t,cr={toAttribute(t,e){switch(e){case Boolean:t=t?$u:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},Br=(t,e)=>!Nu(t,e),Ca={attribute:!0,type:String,converter:cr,reflect:!1,useDefault:!1,hasChanged:Br};Symbol.metadata??=Symbol("metadata"),Lo.litPropertyMetadata??=new WeakMap;var Le=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=Ca){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(e,r),!r.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&Pu(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:s}=Du(this.prototype,e)??{get(){return this[r]},set(a){this[r]=a}};return{get:i,set(a){let c=i?.call(this);s?.call(this,a),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Ca}static _$Ei(){if(this.hasOwnProperty($r("elementProperties")))return;let e=Uu(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty($r("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty($r("properties"))){let r=this.properties,n=[...Mu(r),...Fu(r)];for(let i of n)this.createProperty(i,r[i])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[r,n]of this.elementProperties){let i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let n=new Set(e.flat(1/0).reverse());for(let i of n)r.unshift(To(i))}else e!==void 0&&r.push(To(e));return r}static _$Eu(e,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){let e=new Map,r=this.constructor.elementProperties;for(let n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){let e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Ur(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$ET(e,r){let n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){let s=(n.converter?.toAttribute!==void 0?n.converter:cr).toAttribute(r,n.type);this._$Em=e,s==null?this.removeAttribute(i):this.setAttribute(i,s),this._$Em=null}}_$AK(e,r){let n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){let s=n.getPropertyOptions(i),a=typeof s.converter=="function"?{fromAttribute:s.converter}:s.converter?.fromAttribute!==void 0?s.converter:cr;this._$Em=i;let c=a.fromAttribute(r,s.type);this[i]=c??this._$Ej?.get(i)??c,this._$Em=null}}requestUpdate(e,r,n,i=!1,s){if(e!==void 0){let a=this.constructor;if(i===!1&&(s=this[e]),n??=a.getPropertyOptions(e),!((n.hasChanged??Br)(s,r)||n.useDefault&&n.reflect&&s===this._$Ej?.get(e)&&!this.hasAttribute(a._$Eu(e,n))))return;this.C(e,r,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,r,{useDefault:n,reflect:i,wrapped:s},a){n&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,a??r??this[e]),s!==!0||a!==void 0)||(this._$AL.has(e)||(this.hasUpdated||n||(r=void 0),this._$AL.set(e,r)),i===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,s]of this._$Ep)this[i]=s;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,s]of n){let{wrapped:a}=s,c=this[i];a!==!0||this._$AL.has(i)||c===void 0||this.C(i,void 0,s,c)}}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$EO?.forEach(n=>n.hostUpdate?.()),this.update(r)):this._$EM()}catch(n){throw e=!1,this._$EM(),n}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$EO?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(r=>this._$ET(r,this[r])),this._$EM()}updated(e){}firstUpdated(e){}};Le.elementStyles=[],Le.shadowRootOptions={mode:"open"},Le[$r("elementProperties")]=new Map,Le[$r("finalized")]=new Map,Bu?.({ReactiveElement:Le}),(Lo.reactiveElementVersions??=[]).push("2.1.2");var $n=globalThis,Oa=t=>t,ko=$n.trustedTypes,Aa=ko?ko.createPolicy("lit-html",{createHTML:t=>t}):void 0,Bn="$lit$",ot=`lit$${Math.random().toFixed(9).slice(2)}$`,zn="?"+ot,zu=`<${zn}>`,_t=document,Hr=()=>_t.createComment(""),Vr=t=>t===null||typeof t!="object"&&typeof t!="function",Hn=Array.isArray,ka=t=>Hn(t)||typeof t?.[Symbol.iterator]=="function",Un=`[
2
+ \f\r]`,zr=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,wa=/-->/g,_a=/>/g,At=RegExp(`>|${Un}(?:([^\\s"'>=/]+)(${Un}*=${Un}*(?:[^
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Ra=/'/g,Ta=/"/g,Ia=/^(?:script|style|textarea|title)$/i,Vn=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),T=Vn(1),Gn=Vn(2),Wn=Vn(3),oe=Symbol.for("lit-noChange"),B=Symbol.for("lit-nothing"),La=new WeakMap,wt=_t.createTreeWalker(_t,129);function Na(t,e){if(!Hn(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Aa!==void 0?Aa.createHTML(e):e}var Pa=(t,e)=>{let r=t.length-1,n=[],i,s=e===2?"<svg>":e===3?"<math>":"",a=zr;for(let c=0;c<r;c++){let d=t[c],p,h,f=-1,m=0;for(;m<d.length&&(a.lastIndex=m,h=a.exec(d),h!==null);)m=a.lastIndex,a===zr?h[1]==="!--"?a=wa:h[1]!==void 0?a=_a:h[2]!==void 0?(Ia.test(h[2])&&(i=RegExp("</"+h[2],"g")),a=At):h[3]!==void 0&&(a=At):a===At?h[0]===">"?(a=i??zr,f=-1):h[1]===void 0?f=-2:(f=a.lastIndex-h[2].length,p=h[1],a=h[3]===void 0?At:h[3]==='"'?Ta:Ra):a===Ta||a===Ra?a=At:a===wa||a===_a?a=zr:(a=At,i=void 0);let x=a===At&&t[c+1].startsWith("/>")?" ":"";s+=a===zr?d+zu:f>=0?(n.push(p),d.slice(0,f)+Bn+d.slice(f)+ot+x):d+ot+(f===-2?c:x)}return[Na(t,s+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},Gr=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let s=0,a=0,c=e.length-1,d=this.parts,[p,h]=Pa(e,r);if(this.el=t.createElement(p,n),wt.currentNode=this.el.content,r===2||r===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=wt.nextNode())!==null&&d.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(Bn)){let m=h[a++],x=i.getAttribute(f).split(ot),S=/([.?@])?(.*)/.exec(m);d.push({type:1,index:s,name:S[2],strings:x,ctor:S[1]==="."?No:S[1]==="?"?Po:S[1]==="@"?Do:Tt}),i.removeAttribute(f)}else f.startsWith(ot)&&(d.push({type:6,index:s}),i.removeAttribute(f));if(Ia.test(i.tagName)){let f=i.textContent.split(ot),m=f.length-1;if(m>0){i.textContent=ko?ko.emptyScript:"";for(let x=0;x<m;x++)i.append(f[x],Hr()),wt.nextNode(),d.push({type:2,index:++s});i.append(f[m],Hr())}}}else if(i.nodeType===8)if(i.data===zn)d.push({type:2,index:s});else{let f=-1;for(;(f=i.data.indexOf(ot,f+1))!==-1;)d.push({type:7,index:s}),f+=ot.length-1}s++}}static createElement(e,r){let n=_t.createElement("template");return n.innerHTML=e,n}};function Rt(t,e,r=t,n){if(e===oe)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,s=Vr(e)?void 0:e._$litDirective$;return i?.constructor!==s&&(i?._$AO?.(!1),s===void 0?i=void 0:(i=new s(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??=[])[n]=i:r._$Cl=i),i!==void 0&&(e=Rt(t,i._$AS(t,e.values),i,n)),e}var Io=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){let{el:{content:r},parts:n}=this._$AD,i=(e?.creationScope??_t).importNode(r,!0);wt.currentNode=i;let s=wt.nextNode(),a=0,c=0,d=n[0];for(;d!==void 0;){if(a===d.index){let p;d.type===2?p=new dr(s,s.nextSibling,this,e):d.type===1?p=new d.ctor(s,d.name,d.strings,this,e):d.type===6&&(p=new Mo(s,this,e)),this._$AV.push(p),d=n[++c]}a!==d?.index&&(s=wt.nextNode(),a++)}return wt.currentNode=_t,i}p(e){let r=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}},dr=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=B,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=Rt(this,e,r),Vr(e)?e===B||e==null||e===""?(this._$AH!==B&&this._$AR(),this._$AH=B):e!==this._$AH&&e!==oe&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):ka(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==B&&Vr(this._$AH)?this._$AA.nextSibling.data=e:this.T(_t.createTextNode(e)),this._$AH=e}$(e){let{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=Gr.createElement(Na(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let s=new Io(i,this),a=s.u(this.options);s.p(r),this.T(a),this._$AH=s}}_$AC(e){let r=La.get(e.strings);return r===void 0&&La.set(e.strings,r=new Gr(e)),r}k(e){Hn(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,n,i=0;for(let s of e)i===r.length?r.push(n=new t(this.O(Hr()),this.O(Hr()),this,this.options)):n=r[i],n._$AI(s),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e!==this._$AB;){let n=Oa(e).nextSibling;Oa(e).remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},Tt=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,s){this.type=1,this._$AH=B,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=s,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=B}_$AI(e,r=this,n,i){let s=this.strings,a=!1;if(s===void 0)e=Rt(this,e,r,0),a=!Vr(e)||e!==this._$AH&&e!==oe,a&&(this._$AH=e);else{let c=e,d,p;for(e=s[0],d=0;d<s.length-1;d++)p=Rt(this,c[n+d],r,d),p===oe&&(p=this._$AH[d]),a||=!Vr(p)||p!==this._$AH[d],p===B?e=B:e!==B&&(e+=(p??"")+s[d+1]),this._$AH[d]=p}a&&!i&&this.j(e)}j(e){e===B?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},No=class extends Tt{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===B?void 0:e}},Po=class extends Tt{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==B)}},Do=class extends Tt{constructor(e,r,n,i,s){super(e,r,n,i,s),this.type=5}_$AI(e,r=this){if((e=Rt(this,e,r,0)??B)===oe)return;let n=this._$AH,i=e===B&&n!==B||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,s=e!==B&&(n===B||i);i&&this.element.removeEventListener(this.name,this,n),s&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}},Mo=class{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){Rt(this,e)}},jn={M:Bn,P:ot,A:zn,C:1,L:Pa,R:Io,D:ka,V:Rt,I:dr,H:Tt,N:Po,U:Do,B:No,F:Mo},Hu=$n.litHtmlPolyfillSupport;Hu?.(Gr,dr),($n.litHtmlVersions??=[]).push("3.3.3");var Kn=(t,e,r)=>{let n=r?.renderBefore??e,i=n._$litPart$;if(i===void 0){let s=r?.renderBefore??null;n._$litPart$=i=new dr(e.insertBefore(Hr(),s),s,void 0,r??{})}return i._$AI(t),i};var Zn=globalThis,nt=class extends Le{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=Kn(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return oe}};nt._$litElement$=!0,nt.finalized=!0,Zn.litElementHydrateSupport?.({LitElement:nt});var Vu=Zn.litElementPolyfillSupport;Vu?.({LitElement:nt});var Gu={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(Zn.litElementVersions??=[]).push("4.2.2");var ym=!1;var Qn={};$(Qn,{customElement:()=>Wu,eventOptions:()=>Ku,property:()=>y,query:()=>z,queryAll:()=>Yn,queryAssignedElements:()=>Xn,queryAssignedNodes:()=>Jn,queryAsync:()=>qu,standardProperty:()=>Da,state:()=>N});var Wu=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var ju={attribute:!0,type:String,converter:cr,reflect:!1,hasChanged:Br},Da=(t=ju,e,r)=>{let{kind:n,metadata:i}=r,s=globalThis.litPropertyMetadata.get(i);if(s===void 0&&globalThis.litPropertyMetadata.set(i,s=new Map),n==="setter"&&((t=Object.create(t)).wrapped=!0),s.set(r.name,t),n==="accessor"){let{name:a}=r;return{set(c){let d=e.get.call(this);e.set.call(this,c),this.requestUpdate(a,d,t,!0,c)},init(c){return c!==void 0&&this.C(a,void 0,t,c),c}}}if(n==="setter"){let{name:a}=r;return function(c){let d=this[a];e.call(this,c),this.requestUpdate(a,d,t,!0,c)}}throw Error("Unsupported decorator location: "+n)};function y(t){return(e,r)=>typeof r=="object"?Da(t,e,r):((n,i,s)=>{let a=i.hasOwnProperty(s);return i.constructor.createProperty(s,n),a?Object.getOwnPropertyDescriptor(i,s):void 0})(t,e,r)}function N(t){return y({...t,state:!0,attribute:!1})}function Ku(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var Me=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function z(t,e){return(r,n,i)=>{let s=a=>a.renderRoot?.querySelector(t)??null;if(e){let{get:a,set:c}=typeof n=="object"?r:i??(()=>{let d=Symbol();return{get(){return this[d]},set(p){this[d]=p}}})();return Me(r,n,{get(){let d=a.call(this);return d===void 0&&(d=s(this),(d!==null||this.hasUpdated)&&c.call(this,d)),d}})}return Me(r,n,{get(){return s(this)}})}}var Zu;function Yn(t){return(e,r)=>Me(e,r,{get(){return(this.renderRoot??(Zu??=document.createDocumentFragment())).querySelectorAll(t)}})}function qu(t){return(e,r)=>Me(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function Xn(t){return(e,r)=>{let{slot:n,selector:i}=t??{},s="slot"+(n?`[name=${n}]`:":not([name])");return Me(e,r,{get(){let a=this.renderRoot?.querySelector(s),c=a?.assignedElements(t)??[];return i===void 0?c:c.filter(d=>d.matches(i))}})}}function Jn(t){return(e,r)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return Me(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var ei={};$(ei,{repeat:()=>pr});var Ze={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Oe=t=>(...e)=>({_$litDirective$:t,values:e}),ke=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,n){this._$Ct=e,this._$AM=r,this._$Ci=n}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var{I:Yu}=jn,Ma=t=>t;var Ua=t=>t.strings===void 0,Fa=()=>document.createComment(""),ur=(t,e,r)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(r===void 0){let s=n.insertBefore(Fa(),i),a=n.insertBefore(Fa(),i);r=new Yu(s,a,t,t.options)}else{let s=r._$AB.nextSibling,a=r._$AM,c=a!==t;if(c){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==a._$AU&&r._$AP(d)}if(s!==i||c){let d=r._$AA;for(;d!==s;){let p=Ma(d).nextSibling;Ma(n).insertBefore(d,i),d=p}}}return r},ut=(t,e,r=t)=>(t._$AI(e,r),t),Xu={},$a=(t,e=Xu)=>t._$AH=e,Ba=t=>t._$AH,Fo=t=>{t._$AR(),t._$AA.remove()};var za=(t,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},pr=Oe(class extends ke{constructor(t){if(super(t),t.type!==Ze.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,r){let n;r===void 0?r=e:e!==void 0&&(n=e);let i=[],s=[],a=0;for(let c of t)i[a]=n?n(c,a):a,s[a]=r(c,a),a++;return{values:s,keys:i}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,n]){let i=Ba(t),{values:s,keys:a}=this.dt(e,r,n);if(!Array.isArray(i))return this.ut=a,s;let c=this.ut??=[],d=[],p,h,f=0,m=i.length-1,x=0,S=s.length-1;for(;f<=m&&x<=S;)if(i[f]===null)f++;else if(i[m]===null)m--;else if(c[f]===a[x])d[x]=ut(i[f],s[x]),f++,x++;else if(c[m]===a[S])d[S]=ut(i[m],s[S]),m--,S--;else if(c[f]===a[S])d[S]=ut(i[f],s[S]),ur(t,d[S+1],i[f]),f++,S--;else if(c[m]===a[x])d[x]=ut(i[m],s[x]),ur(t,i[f],i[m]),m--,x++;else if(p===void 0&&(p=za(a,x,S),h=za(c,f,m)),p.has(c[f]))if(p.has(c[m])){let w=h.get(a[x]),E=w!==void 0?i[w]:null;if(E===null){let L=ur(t,i[f]);ut(L,s[x]),d[x]=L}else d[x]=ut(E,s[x]),ur(t,i[f],E),i[w]=null;x++}else Fo(i[m]),m--;else Fo(i[f]),f++;for(;x<=S;){let w=ur(t,d[S+1]);ut(w,s[x]),d[x++]=w}for(;f<=m;){let w=i[f++];w!==null&&Fo(w)}return this.ut=a,$a(t,d),oe}});var ti={};$(ti,{classMap:()=>Ae});var Ae=Oe(class extends ke{constructor(t){if(super(t),t.type!==Ze.ATTRIBUTE||t.name!=="class"||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,[e]){if(this.st===void 0){this.st=new Set,t.strings!==void 0&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in e)e[n]&&!this.nt?.has(n)&&this.st.add(n);return this.render(e)}let r=t.element.classList;for(let n of this.st)n in e||(r.remove(n),this.st.delete(n));for(let n in e){let i=!!e[n];i===this.st.has(n)||this.nt?.has(n)||(i?(r.add(n),this.st.add(n)):(r.remove(n),this.st.delete(n)))}return oe}});var ri={};$(ri,{styleMap:()=>Qu});var Ha="important",Ju=" !"+Ha,Qu=Oe(class extends ke{constructor(t){if(super(t),t.type!==Ze.ATTRIBUTE||t.name!=="style"||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce((e,r)=>{let n=t[r];return n==null?e:e+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(t,[e]){let{style:r}=t.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(e)),this.render(e);for(let n of this.ft)e[n]==null&&(this.ft.delete(n),n.includes("-")?r.removeProperty(n):r[n]=null);for(let n in e){let i=e[n];if(i!=null){this.ft.add(n);let s=typeof i=="string"&&i.endsWith(Ju);n.includes("-")||s?r.setProperty(n,s?i.slice(0,-11):i,s?Ha:""):r[n]=i}}return oe}});var ni={};$(ni,{UnsafeHTMLDirective:()=>fr,unsafeHTML:()=>oi});var fr=class extends ke{constructor(e){if(super(e),this.it=B,e.type!==Ze.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===B||e==null)return this._t=void 0,this.it=e;if(e===oe)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let r=[e];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}};fr.directiveName="unsafeHTML",fr.resultType=1;var oi=Oe(fr);var ii={};$(ii,{splitBreadcrumbForMenu:()=>ep});function ep(t,e=0,r=0){if(t.length===0)return{beforeMenu:[],inMenu:[],afterMenu:[]};let n=Math.max(r,1),i=t.slice(n*-1);return e+n>=t.length?{beforeMenu:[],inMenu:[],afterMenu:t}:{beforeMenu:t.slice(0,e),inMenu:t.slice(e,t.length-i.length),afterMenu:i}}var mi={};$(mi,{CacheRegistry:()=>qe,ClearCacheEvent:()=>Zr});var ai={};$(ai,{CancelablePromise:()=>Uo,CanceledPromiseError:()=>Lt,cancelable:()=>si});var Lt=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},Uo=class extends Promise{constructor(e){super((r,n)=>e(i=>{this.isCanceled?n(new Lt("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new Lt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},si=t=>new Uo((e,r)=>t.then(e).catch(r));var hi={};$(hi,{FtContextRegistrationEvent:()=>fi,FtNotificationEvent:()=>Kr,PostResizeEvent:()=>pi,PreResizeEvent:()=>ui,WithEventBus:()=>it,withEventBus:()=>Bo});var di={};$(di,{AbstractRegistry:()=>hr,applyMixinOnce:()=>pe,customElements:()=>q,dateReviver:()=>np,deepCopy:()=>Fe,deepEqual:()=>ue,delay:()=>$o,eventPathContainsMatchingElement:()=>ci,everyDeep:()=>op,flatDeep:()=>It,forEachDeep:()=>ja,getComposedPathTo:()=>ft,groupBy:()=>cp,hasChanged:()=>Ie,ignoreComposingEvents:()=>lp,last:()=>sp,minmax:()=>kt,parseDate:()=>Za,randomId:()=>ap,someDeep:()=>Ka,unslotText:()=>qa,waitFor:()=>Wa,waitUntil:()=>jr});var li={};$(li,{customElement:()=>Wr,dateProperty:()=>rp,isNumber:()=>Ga,jsonProperty:()=>ne,jsonPropertyConverter:()=>Va,numberProperty:()=>pt,optionalNumberProperty:()=>tp});var Wr=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)},Va=t=>({fromAttribute:e=>{if(e==null)return Fe(t);try{return JSON.parse(e)}catch{return Fe(t)}},toAttribute:e=>JSON.stringify(e)});function ne(t,e){return y({type:Object,converter:Va(t),hasChanged:Ie,...e??{}})}function tp(t){return pt(t)}function pt(t){return y({type:Object,converter:{fromAttribute:e=>{var r,n;if(e==null)return;let i=(r=t?.min)!==null&&r!==void 0?r:-1/0,s=(n=t?.max)!==null&&n!==void 0?n:1/0;return Ga(e)?kt(i,+e,s):void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function Ga(t){return!isNaN(parseFloat(t))}function rp(t){return y({type:Object,converter:{fromAttribute:e=>{if(e==null)return;let r=new Date(Date.parse(e));if(!isNaN(r.valueOf()))return r},toAttribute:e=>e?.toISOString()},useDefault:!0,...t??{}})}var $o=t=>new Promise(e=>setTimeout(e,t));async function jr(t,e=10,r=2e4){await Wa(async()=>await t()||void 0,e,r)}async function Wa(t,e=10,r=2e4){let n=await t(),i=performance.now(),s=i;for(;n==null&&(!r||s-i<r);)await $o(e),n=await t(),s=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function It(t,e){return t.flatMap(r=>[r,...It(e(r),e)])}function ja(t,e,r){let n=(i,s)=>{var a;for(let c=0;c<i.length;c++){let d=i[c];if(!(((a=r(d,c,i,s))!==null&&a!==void 0?a:!0)&&n(e(d),[...s,d])))return!1}return!0};n(t,[])}function Ka(t,e,r){let n=!1;return ja(t,e,(i,s,a,c)=>(n=!!r(i,s,a,c),!n)),n}function op(t,e,r){return!Ka(t,e,(n,i,s,a)=>!r(n,i,s,a))}function np(...t){return(e,r)=>t.includes(e)?Za(r):r}function Za(t){return t.match(/^\d{4}-\d{2}-\d{2}$/)&&(t=t.replace(/-/g,"/")),t=t.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(e,r,n,i)=>r+n+":"+i),new Date(t)}function ip(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;let r,n;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!ue(t[n],e[n]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;for(n of t.entries())if(!ue(n[1],e.get(n[0])))return!1;return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(n of t.entries())if(!e.has(n[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();let i=a=>Object.keys(a).filter(c=>a[c]!=null),s=i(t);if(r=s.length,r!==i(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,s[n]))return!1;for(n=r;n--!==0;){let a=s[n];if(!ue(t[a],e[a]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function ue(t,e){try{return ip(t,e)}catch{return!1}}function Ie(t,e){return!ue(t,e)}function ci(t,e,r=window.document.body){if(e.length>0){let n=t.composedPath();for(let i of n){if(i===r)return!1;if(i.matches&&e.some(s=>i.matches(s)))return!0}}return!1}function kt(t,e,r){return Math.min(Math.max(t,e),r)}function sp(t){return t[t.length-1]}function qa(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>qa(e)).join(""):t?.textContent||""}function ft(t){let e=[],r=n=>{n.stopPropagation(),e=n.composedPath()};return t.addEventListener("get-composed-path",r),t.dispatchEvent(new Event("get-composed-path",{composed:!0})),t.removeEventListener("get-composed-path",r),e}function Fe(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function ap(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}function pe(t,e){let r=n=>n[t]===!0;return n=>{if(r(n))return n;let i=e(n);return i[t]=!0,i}}function lp(){return function(t,e,r){let n=r.value;r.value=function(i,...s){if(i.isComposing||i.keyCode===229){i.stopPropagation();return}return n.apply(this,[i].concat(s))}}}function q(t){for(let[e,r]of Object.entries(t))Wr(e)(r)}function cp(t,e){var r,n;let i=typeof e=="function"?e:a=>a[e],s={};for(let a of t)((r=s[n=i(a)])!==null&&r!==void 0?r:s[n]=[]).push(a);return s}var hr=class{constructor(){this.knownElements=new Set}register(e){this.knownElements.add(e)}unregister(e){this.knownElements.delete(e)}list(){return Array.from(this.knownElements)}};var Kr=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},ui=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},pi=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},Bo=pe(Symbol("withEventBus"),function(t,e){return class extends t{constructor(){super(...arguments),this.eventBus=e??document.createElement("span")}addEventListener(r,n,i){this.eventBus.addEventListener(r,n,i)}dispatchEvent(r){return this.eventBus.dispatchEvent(r)}removeEventListener(r,n,i){this.eventBus.removeEventListener(r,n,i)}}}),it=class extends Bo(Object){},fi=class extends CustomEvent{constructor(e,r){super(e,{composed:!0,bubbles:!0,detail:r})}};var Zr=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},qe=class extends it{constructor(){super(...arguments),this.content={}}register(e,r,n=!1){var i;let s=this.content[e],a=(i=s?.status)!==null&&i!==void 0?i:"REGISTERED";this.content[e]={...s,loader:r,final:n,status:a}}registerFinal(e,r){this.register(e,r,!0)}clearAll(e=!0){return this.clearMatching(()=>!0,e)}clearMatching(e,r=!0){let n=Object.keys(this.content).filter(e).filter(i=>this.clear(i,!1)!=null);return r&&n.length>0&&this.dispatchEvent(new Zr(n)),n}clear(e,r=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),r&&this.dispatchEvent(new Zr([e])),e}forceClear(e){var r;let n=this.content[e];n&&(this.clearClearTimeout(e),(r=n.promise)===null||r===void 0||r.cancel(),this.content[e]={loader:n.loader,final:n.final,status:"REGISTERED"})}clearClearTimeout(e){var r,n,i;((r=this.content[e])===null||r===void 0?void 0:r.clearTimeout)!=null&&(window.clearTimeout((n=this.content[e])===null||n===void 0?void 0:n.clearTimeout),(i=this.content[e])===null||i===void 0||delete i.clearTimeout)}set(e,r,n=!1){this.forceClear(e);let i=async()=>r,s="RESOLVED";this.content[e]={loader:i,final:n,status:s,value:r}}setFinal(e,r){return this.set(e,r,!0)}async get(e,r,n){if(!this.isRegistered(e)){if(!r)throw new Error("Unknown cache key "+e);this.register(e,r)}let i=this.content[e];switch(i.status){case"ERROR":throw i.error;case"LOADING":return i.promise;case"RESOLVED":return i.value;case"REGISTERED":return r=r??i.loader,i.status="LOADING",i.promise=si(r()),i.promise.then(s=>(i.status="RESOLVED",i.value=s,n!=null&&(this.clearClearTimeout(e),i.clearTimeout=window.setTimeout(()=>this.clear(e),n)),s)).catch(s=>{var a;throw!((a=i.promise)===null||a===void 0)&&a.isCanceled||(i.status="ERROR",i.error=s),s})}}isRegistered(e){return this.content[e]!=null}getNow(e){var r;return(r=this.content[e])===null||r===void 0?void 0:r.value}has(e){var r,n;return((r=this.content[e])===null||r===void 0?void 0:r.status)!==void 0&&((n=this.content[e])===null||n===void 0?void 0:n.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(e=>{var r;return((r=this.content[e])===null||r===void 0?void 0:r.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(e=>this.content[e].value)}keys(){return Object.keys(this.content)}};var Ai={};$(Ai,{ClusteringHelper:()=>Oi,formatHierarchicalValues:()=>Ci});var Ei={};$(Ei,{accessBreadcrumb:()=>bp,accessResult:()=>Si,accessResultId:()=>yp,accessResultUrl:()=>gp,enrichReaderUrl:()=>vi});var xi={};$(xi,{SearchPlaceConverter:()=>st,SearchPlaceQueryParams:()=>D,isSearchPlaceQueryParams:()=>$l,serializeRequest:()=>hp});var dp=t=>typeof t=="object"&&t!=null;var up=t=>typeof t=="number",zo=t=>typeof t=="string",gi=t=>dp(t)&&zo(t.endpoint)&&zo(t.method)&&zo(t.statusText)&&zo(t.body)&&up(t.status),Ya;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Ya||(Ya={}));var Xa;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Xa||(Xa={}));var Ja;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(Ja||(Ja={}));var Qa;(function(t){t.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",t.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",t.PERSONAL_BOOK="PERSONAL_BOOK",t.ATTACHMENT="ATTACHMENT",t.RESOURCE="RESOURCE",t.HTML_PACKAGE="HTML_PACKAGE"})(Qa||(Qa={}));var el;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(el||(el={}));var tl;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(tl||(tl={}));var rl;(function(t){t.PUBLISHED="PUBLISHED",t.AI="AI"})(rl||(rl={}));var ol;(function(t){t.BOOKMARK__CREATE="BOOKMARK__CREATE",t.BOOKMARK__DELETE="BOOKMARK__DELETE",t.CASE_DEFLECTION__START="CASE_DEFLECTION__START",t.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",t.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",t.CHATBOT__RATE="CHATBOT__RATE",t.COLLECTION__CREATE="COLLECTION__CREATE",t.COLLECTION__UPDATE="COLLECTION__UPDATE",t.COLLECTION__DELETE="COLLECTION__DELETE",t.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",t.DOCUMENT__ON_DEMAND_TRANSLATE="DOCUMENT__ON_DEMAND_TRANSLATE",t.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",t.DOCUMENT__PRINT="DOCUMENT__PRINT",t.DOCUMENT__PROCESS="DOCUMENT__PROCESS",t.DOCUMENT__RATE="DOCUMENT__RATE",t.DOCUMENT__SEARCH="DOCUMENT__SEARCH",t.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",t.DOCUMENT__UNRATE="DOCUMENT__UNRATE",t.FEEDBACK__SEND="FEEDBACK__SEND",t.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",t.AI__RATE="AI__RATE",t.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",t.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",t.KHUB__PROCESS="KHUB__PROCESS",t.KHUB__SEARCH="KHUB__SEARCH",t.LABELS__DOWNLOAD="LABELS__DOWNLOAD",t.LINK__SHARE="LINK__SHARE",t.PAGE__DISPLAY="PAGE__DISPLAY",t.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",t.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",t.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",t.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",t.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",t.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",t.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",t.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",t.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",t.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",t.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",t.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",t.TOPIC__RATE="TOPIC__RATE",t.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",t.TOPIC__UNRATE="TOPIC__UNRATE",t.USER__LOGIN="USER__LOGIN",t.USER__LOGOUT="USER__LOGOUT",t.HEARTBEAT="HEARTBEAT"})(ol||(ol={}));var nl;(function(t){t.STANDARD="STANDARD",t.STRUCTURAL="STRUCTURAL"})(nl||(nl={}));var il;(function(t){t.METADATA_FILTER="METADATA_FILTER",t.ACCESS_RIGHTS_FILTER="ACCESS_RIGHTS_FILTER"})(il||(il={}));var sl;(function(t){t.THIRD_PARTY="THIRD_PARTY",t.OFF_THE_GRID="OFF_THE_GRID",t.CONTENT_PACKAGER="CONTENT_PACKAGER",t.PAGES="PAGES",t.DESIGNED_READER="DESIGNED_READER",t.DOC_DIFF="DOC_DIFF"})(sl||(sl={}));var al;(function(t){t.HOMEPAGE="HOMEPAGE",t.CUSTOM="CUSTOM",t.HEADER="HEADER",t.READER="READER",t.TOPIC_TEMPLATE="TOPIC_TEMPLATE",t.SEARCH="SEARCH",t.SEARCH_RESULT="SEARCH_RESULT",t.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",t.LINK_PREVIEW="LINK_PREVIEW",t.UD_VIEWER="UD_VIEWER",t.ASSET_VIEWER="ASSET_VIEWER"})(al||(al={}));var ll;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(ll||(ll={}));var cl;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(cl||(cl={}));var dl;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(dl||(dl={}));var ul;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(ul||(ul={}));var pl;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR",t.CUSTOM="CUSTOM"})(pl||(pl={}));var mr;(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})(mr||(mr={}));var fl;(function(t){t.ASC="ASC",t.DESC="DESC"})(fl||(fl={}));var hl;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(hl||(hl={}));var yi;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(yi||(yi={}));var El=t=>Object.keys(yi).includes(t);var ml;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(ml||(ml={}));var yl;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(yl||(yl={}));var gl;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.PERSONAL_BOOK="PERSONAL_BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})(gl||(gl={}));var yr;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(yr||(yr={}));var Cl=t=>Object.keys(yr).includes(t);var bl;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.HTML_PACKAGE="HTML_PACKAGE",t.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(bl||(bl={}));var xl;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(xl||(xl={}));var vl;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(vl||(vl={}));var te;(function(t){t.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",t.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",t.HTML_EXPORT_USER="HTML_EXPORT_USER",t.PDF_EXPORT_USER="PDF_EXPORT_USER",t.SAVED_SEARCH_USER="SAVED_SEARCH_USER",t.COLLECTION_USER="COLLECTION_USER",t.OFFLINE_USER="OFFLINE_USER",t.ANALYTICS_USER="ANALYTICS_USER",t.BETA_USER="BETA_USER",t.DEBUG_USER="DEBUG_USER",t.PRINT_USER="PRINT_USER",t.RATING_USER="RATING_USER",t.FEEDBACK_USER="FEEDBACK_USER",t.GENERATIVE_AI_USER="GENERATIVE_AI_USER",t.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",t.CONTENT_PUBLISHER="CONTENT_PUBLISHER",t.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",t.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",t.KHUB_ADMIN="KHUB_ADMIN",t.USERS_ADMIN="USERS_ADMIN",t.PORTAL_ADMIN="PORTAL_ADMIN",t.ADMIN="ADMIN"})(te||(te={}));var Ne;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(Ne||(Ne={}));var Sl;(function(t){t.UNAUTHENTICATED="UNAUTHENTICATED",t.USER_INCOMPLETE="USER_INCOMPLETE",t.MFA_REQUIRED="MFA_REQUIRED",t.AUTHENTICATED="AUTHENTICATED"})(Sl||(Sl={}));var Ol;(function(t){t.UNREACHABLE="UNREACHABLE",t.UNAUTHORIZED="UNAUTHORIZED",t.FORBIDDEN="FORBIDDEN",t.INCOMPATIBLE="INCOMPATIBLE",t.FAILED="FAILED",t.OK="OK"})(Ol||(Ol={}));var Al;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Al||(Al={}));var wl;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(wl||(wl={}));var _l;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(_l||(_l={}));var Rl;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.SEMANTIC_SEARCH="SEMANTIC_SEARCH",t.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",t.DOCUMENTATION="DOCUMENTATION",t.OTHER="OTHER"})(Rl||(Rl={}));var Tl;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SLOW="SLOW",t.OTHER="OTHER"})(Tl||(Tl={}));var Ll;(function(t){t.CHAT="CHAT",t.COMPLETION="COMPLETION",t.RAG="RAG",t.AGENT="AGENT"})(Ll||(Ll={}));var kl;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(kl||(kl={}));var Il;(function(t){t.IN_PROGRESS="IN_PROGRESS",t.ERROR="ERROR",t.DONE="DONE"})(Il||(Il={}));var Nl;(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(Nl||(Nl={}));var Pl;(function(t){t.SOURCES="SOURCES",t.ENRICH_AND_CLEAN="ENRICH_AND_CLEAN",t.VOCABULARIES="VOCABULARIES",t.METADATA="METADATA",t.PRETTY_URL="PRETTY_URL",t.ACCESS_RULE="ACCESS_RULE",t.DESIGNED_PAGES="DESIGNED_PAGES",t.THEME_STUDIO="THEME_STUDIO",t.PORTAL_GENERAL="PORTAL_GENERAL",t.ASSETS="ASSETS",t.CODE_LIBRARY="CODE_LIBRARY",t.THEME="THEME",t.CONTENT_STYLES="CONTENT_STYLES",t.HOMEPAGE="HOMEPAGE",t.CLASSIC_SEARCH_PAGE="CLASSIC_SEARCH_PAGE",t.CLASSIC_READER_PAGE="CLASSIC_READER_PAGE",t.PORTAL_METADATA="PORTAL_METADATA",t.LANGUAGES="LANGUAGES",t.PRINT_TEMPLATES="PRINT_TEMPLATES",t.OFFLINE="OFFLINE",t.CUSTOM_JS="CUSTOM_JS",t.CONFIDENTIALITY="CONFIDENTIALITY",t.NOTIFICATIONS="NOTIFICATIONS"})(Pl||(Pl={}));var Dl;(function(t){t.MAP="MAP",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(Dl||(Dl={}));var pp={[te.PERSONAL_BOOK_SHARE_USER]:[te.PERSONAL_BOOK_USER],[te.HTML_EXPORT_USER]:[te.PERSONAL_BOOK_USER],[te.PDF_EXPORT_USER]:[te.PERSONAL_BOOK_USER],[te.KHUB_ADMIN]:[te.CONTENT_PUBLISHER],[te.ADMIN]:[te.KHUB_ADMIN,te.USERS_ADMIN,te.PORTAL_ADMIN,te.BEHAVIOR_DATA_USER],[te.GENERATIVE_AI_EXPORT_USER]:[te.GENERATIVE_AI_USER]};function Ml(t,e){return t===e||(pp[t]??[]).some(r=>Ml(r,e))}function bi(t,e){return t==null?!1:(Array.isArray(t)?t:Array.isArray(t.roles)?t.roles:Array.isArray(t.profile?.roles)?t.profile.roles:[]).some(n=>Ml(n,e))}function Fl(t,...e){return t==null?!1:e.some(r=>bi(t,r))}function fp(t){return`"${t}"`}function Ul(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function hp(t,e){return new st(t).serialize(e)}var D;(function(t){t.LOCALE="content-lang",t.QUERY="query",t.SCOPE="scope",t.FILTERS="filters",t.VIRTUAL_FIELD="virtual-field",t.PERIOD="period",t.VALUE_FILTERS="value-filters",t.NEGATIVE_VALUE_FILTERS="negative-value-filters",t.DATE_FILTERS="date-filters",t.RANGE_FILTERS="range-filters",t.SORT="sort",t.PER_PAGE="per-page",t.KEYWORD_MATCH="keyword-match",t.STICKY_FILTER="sticky-filters"})(D||(D={}));var mp=new Set(Object.values(D));function $l(t){return mp.has(t)}var st=class t{constructor(e,r=20,n=!1,i="en-US",s=[]){this.baseUrl=e,this.defaultPerPage=r,this.allLanguagesAllowed=n,this.defaultContentLocale=i,this.availableContentLocales=s,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"}}serialize(e,r){return this.serializeToCurrentPageIfPossible(e,r??"/search")}serializeToCurrentPageIfPossible(e,r){let n=r==null||r.trim().length===0,i=new URL(n?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${r}`);return i.search=this.toURLSearchParams(e),i.toString()}toURLSearchParams(e,r=!1){var n,i,s,a,c,d,p,h,f;let m=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&m.append(D.LOCALE,e.contentLocale):m.append(D.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&m.append(D.QUERY,e.query);let x=t.serializeValueFilters(e.metadataFilters);x&&m.append(D.VALUE_FILTERS,x);let S=t.serializeNegativeValueFilters(e.metadataFilters);S&&m.append(D.NEGATIVE_VALUE_FILTERS,S);let w=(d=(i=e.metadataFilters)===null||i===void 0?void 0:i.filter(b=>b.dateFilter))!==null&&d!==void 0?d:[];if(w.length>0){let b=w.map(g=>{var v;return`${g.key}~${(v=g.dateFilter)===null||v===void 0?void 0:v.type.toLowerCase()}`}).join("*");m.append(D.DATE_FILTERS,b)}let E=(p=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(b=>b.rangeFilter))!==null&&p!==void 0?p:[];if(E.length>0){let b=E.map(g=>{var v,A;return`${g.key}~${(v=g.rangeFilter)===null||v===void 0?void 0:v.from}_${(A=g.rangeFilter)===null||A===void 0?void 0:A.to}`}).join("*");m.append(D.RANGE_FILTERS,b)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&m.append(D.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&m.append(D.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&m.append(D.SORT,e.sortId),!((a=e.paging)===null||a===void 0)&&a.perPage&&((h=(c=e.paging)===null||c===void 0?void 0:c.perPage)!==null&&h!==void 0?h:this.defaultPerPage)!=this.defaultPerPage&&m.append(D.PER_PAGE,String(e.paging.perPage)),e.keywordMatch!=null&&m.append(D.KEYWORD_MATCH,e.keywordMatch.toLowerCase());let L=(f=e.otherQueryParams)!==null&&f!==void 0?f:{};for(let b in L)m.append(b,L[b]);let I=new Array;return m.forEach((b,g)=>{I.push(this.encodeQueryString(g)+"="+this.encodeQueryString(b))}),encodeURI(I.join("&")).replace(/#/g,"%23")}encodeQueryString(e){return encodeURIComponent(e).replace(/%20/g,"+")}parse(e){var r;let n=e.split("?"),i=this.fromURLSearchParams(n.slice(1).join("?")),s=n[0].split("/search/")[1];return s==null?i:{...i,scope:(r=this.scopeMapping[s])!==null&&r!==void 0?r:i.scope}}fromURLSearchParams(e){var r,n,i,s,a,c,d;try{e=decodeURI(e).replace(/%23/g,"#")}catch(I){console.warn("Could not decode search request query params, fallback on raw value",I)}let p=new URLSearchParams(e),h=(n=p.get(D.LOCALE))!==null&&n!==void 0?n:void 0,f=((i=p.get(D.VIRTUAL_FIELD))!==null&&i!==void 0?i:"EVERYWHERE").toUpperCase(),m=(r=p.get(D.SORT))===null||r===void 0?void 0:r.toLowerCase(),x=(s=p.get(D.SCOPE))!==null&&s!==void 0?s:"default",S=+((a=p.get(D.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),w=p.get(D.KEYWORD_MATCH),E=w?w.toUpperCase()===mr.MANDATORY?mr.MANDATORY:mr.OPTIONAL:void 0,L={};for(let I of p.keys())$l(I)||(L[I]=p.get(I));return h==="all"?h=this.allLanguagesAllowed?void 0:this.defaultContentLocale:(!h||this.availableContentLocales.length>0&&!this.availableContentLocales.some(I=>I.lang===h))&&(h=this.defaultContentLocale),{contentLocale:h,query:(c=p.get(D.QUERY))!==null&&c!==void 0?c:"",scope:(d=this.scopeMapping[x])!==null&&d!==void 0?d:"DEFAULT",virtualField:El(f)?f:"EVERYWHERE",sortId:m,metadataFilters:this.parseCompatFilters(p),facets:[],paging:{page:1,perPage:kt(1,isNaN(S)?this.defaultPerPage:S,1e3)},keywordMatch:E,otherQueryParams:L}}parseCompatFilters(e){var r,n,i,s,a,c,d;let p=[];return e.has(D.FILTERS)&&(p=t.parseValueFilters((r=e.get(D.FILTERS))!==null&&r!==void 0?r:"")),(n=e.has(D.PERIOD))!==null&&n!==void 0&&n&&(p=[...p,...this.parseLegacyPeriodFilter(((i=e.get(D.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...p,...t.parseValueFilters((s=e.get(D.VALUE_FILTERS))!==null&&s!==void 0?s:""),...t.parseValueFilters((a=e.get(D.NEGATIVE_VALUE_FILTERS))!==null&&a!==void 0?a:"",!0),...this.parseDateFilters((c=e.get(D.DATE_FILTERS))!==null&&c!==void 0?c:""),...this.parseRangeFilters((d=e.get(D.RANGE_FILTERS))!==null&&d!==void 0?d:"")]}static splitUnknownFilter(e){return this.superEscapeFilters(e).split("*").map(r=>r.split("~"))}static parseValueFilters(e,r=!1){return e.length===0?[]:this.splitUnknownFilter(e).map(n=>({key:n[0],valueFilter:{values:n[1].split("_").map(Ul).map(i=>this.unescapeFilterValue(i)),negative:r}}))}parseDateFilters(e){return e.length===0?[]:t.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:yr[r[1].toUpperCase()]}}))}parseRangeFilters(e){return e.length===0?[]:t.splitUnknownFilter(e).map(r=>({key:r[0],rangeFilter:{from:r[1].split("_")[0],to:r[1].split("_")[1]}}))}static escapeFilters(e){for(let[r,n,i]of this.filtersEscapeMapping)e=e.replaceAll(r,n);return e}static superEscapeFilters(e){for(let[r,n,i]of t.filtersEscapeMapping)e=e.replaceAll(n,i);return e}static unescapeFilterValue(e){for(let[r,n,i]of t.filtersEscapeMapping)e=e.replaceAll(i,r);return e}parseLegacyPeriodFilter(e){if(Cl(e))return[{key:"ft:lastEdition",dateFilter:{type:yr[e]}}];if(e.startsWith("CUSTOM_")){let[r,n,i]=e.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}static serializeValueFilter(e){var r,n;let i=((n=(r=e.valueFilter)===null||r===void 0?void 0:r.values)!==null&&n!==void 0?n:[]).map(s=>t.escapeFilters(s)).map(s=>fp(Ul(s))).join("_");return`${e.key}~${i}`}static serializeValueFilters(e){var r;let n=(r=e?.filter(i=>i.valueFilter&&!i.valueFilter.negative))!==null&&r!==void 0?r:[];if(n.length>0)return n.map(t.serializeValueFilter).join("*")}static serializeNegativeValueFilters(e){var r;let n=(r=e?.filter(i=>i.valueFilter&&i.valueFilter.negative))!==null&&r!==void 0?r:[];if(n.length>0)return n.map(t.serializeValueFilter).join("*")}static clearSearchParamsInUrl(e){let r=new URL(e);return[D.LOCALE,D.FILTERS,D.VALUE_FILTERS,D.NEGATIVE_VALUE_FILTERS,D.DATE_FILTERS,D.RANGE_FILTERS].forEach(i=>{r.searchParams.delete(i)}),r.toString()}static updateLocaleParamInUrl(e,r){let n=new URL(e);return n.searchParams.delete(D.LOCALE),r!==void 0&&n.searchParams.append(D.LOCALE,r),n.toString()}};st.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]];function Si(t){var e,r,n,i;return(i=(n=(r=(e=t?.map)!==null&&e!==void 0?e:t?.topic)!==null&&r!==void 0?r:t?.document)!==null&&n!==void 0?n:t?.htmlPackage)!==null&&i!==void 0?i:t?.htmlPackagePage}function yp(t){var e,r,n,i,s,a,c,d,p;return(p=(d=(c=(a=(e=t?.map)===null||e===void 0?void 0:e.mapId)!==null&&a!==void 0?a:(r=t?.topic)===null||r===void 0?void 0:r.tocId)!==null&&c!==void 0?c:(n=t?.document)===null||n===void 0?void 0:n.documentId)!==null&&d!==void 0?d:(i=t?.htmlPackage)===null||i===void 0?void 0:i.packageId)!==null&&p!==void 0?p:(s=t?.htmlPackagePage)===null||s===void 0?void 0:s.contentId}function gp(t,e){var r,n,i,s,a,c,d,p,h;return(h=(p=(d=(c=vi((r=t?.map)===null||r===void 0?void 0:r.readerUrl,e))!==null&&c!==void 0?c:vi((n=t?.topic)===null||n===void 0?void 0:n.readerUrl,e))!==null&&d!==void 0?d:(i=t?.document)===null||i===void 0?void 0:i.viewerUrl)!==null&&p!==void 0?p:(s=t?.htmlPackage)===null||s===void 0?void 0:s.viewerUrl)!==null&&h!==void 0?h:(a=t?.htmlPackagePage)===null||a===void 0?void 0:a.viewerUrl}function bp(t){return t?.topic?[t.topic.mapTitle,...t.topic.breadcrumb]:t?.map?[t.map.title]:t?.document?[t.document.title]:t?.htmlPackage?[t.htmlPackage.title]:t?.htmlPackagePage?[t.htmlPackagePage.packageTitle,t.htmlPackagePage.title]:[]}function vi(t,e,r){if(e&&t){let n=URL.parse(t),i=st.serializeValueFilters(e);if(i&&n?.searchParams.append(D.VALUE_FILTERS,i),r&&n?.searchParams.append(D.STICKY_FILTER,r),n)return n.toString()}return t}function Ci(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var Oi=class t{constructor(e,r,n,i){this.allResults=e,this.selectedResult=r,this.clusteringMetadata=n,this.metadataDescriptors=i}static findResultWithMetadataValue(e,r,n){return e?.find(i=>{var s;return((s=this.extractResultMetadata({result:i}).find(a=>a.key==r))===null||s===void 0?void 0:s.value)==n})}static extractResultMetadata(e){var r,n;let i=(n=(r=Si(e.result))===null||r===void 0?void 0:r.metadata)!==null&&n!==void 0?n:[];return e.key==null?t.flattenMetadata(i,e.hierarchicalValueTruncatingLevel,e.dateFormatter):t.flattenMetadata(i.find(s=>s.key===e.key),e.hierarchicalValueTruncatingLevel,e.dateFormatter)}static flattenMetadata(e,r,n){if(Array.isArray(e))return e.map(s=>t.flattenMetadata(s,r,n)).filter(s=>s!=null);let i=e?.hierarchicalValues!=null&&e.hierarchicalValues.length>0;if(!(e==null||e.values.length==0&&!i))if(i){let s=[],a=[];return e.hierarchicalValues.forEach(c=>{s.push(Ci(c)),a.push(Ci(c,r))}),{key:e.key,label:e.label,value:s.join(", "),displayValue:a.join(", "),displayTooltipValue:s.join(", ")}}else{let s=e.values.join(", "),a=e.values.map(c=>n?n(c):c).join(", ");return{key:e.key,label:e.label,value:s,displayValue:a,displayTooltipValue:a}}}computeClustersItemsForMetadata(e,r,n="No value",i,s){var a,c;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:s}),p=(c=d?.label)!==null&&c!==void 0?c:(a=this.getMetadataDescriptor(e))===null||a===void 0?void 0:a.label;return this.allResults.map(f=>t.extractResultMetadata({result:f,key:e,hierarchicalValueTruncatingLevel:i,dateFormatter:s})).map(f=>f??{key:e,label:p,value:void 0,displayValue:n}).filter(f=>f.value!=d?.value).filter((f,m,x)=>x.findIndex(S=>S.value===f.value)===m).map(f=>({result:this.findBestResultForMetadataValue(e,f.value),metadata:f})).sort((f,m)=>this.compareMetadata(f.metadata.value,m.metadata.value,e,r))}compareMetadata(e,r,n,i){if(e==null)return-1;if(r==null)return 1;let s=this.getMetadataDescriptor(n),a=s?.sortRule||"NONE",c=s?.reverseSort||!1;if(a=="ALPHABET"||a=="VERSION"){let d=e.localeCompare(r,i,{numeric:!0});return c?d*-1:d}return 0}getMetadataDescriptor(e){return this.metadataDescriptors.find(r=>e==r.key)}findBestResultForMetadataValue(e,r){let n=this.allResults.filter(d=>{var p;return((p=t.extractResultMetadata({result:d,key:e}))===null||p===void 0?void 0:p.value)==r}),s=[...t.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==e)],a,c=-1;for(let d of n){let p=this.countMatchingMetadata(d,s);if(p>c&&(c=p,a=d,p===s.length))break}return a}countMatchingMetadata(e,r){return t.extractResultMetadata({result:e}).filter(n=>r.some(i=>i.key===n.key&&i.value===n.value)).length}};var wi={};$(wi,{Debouncer:()=>J});var J=class{constructor(e=0){this.timeout=e,this.callbacks=[]}run(e,r){return this.callbacks=[e],this.debounce(r)}queue(e,r){return this.callbacks.push(e),this.debounce(r)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(e){return this.promise==null&&(this.promise=new Promise((r,n)=>{this.resolvePromise=r,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),e??this.timeout),this.promise}async runCallbacks(){var e,r;let n=[...this.callbacks];this.callbacks=[];let i=(e=this.rejectPromise)!==null&&e!==void 0?e:(()=>null),s=(r=this.resolvePromise)!==null&&r!==void 0?r:(()=>null);this.clearPromise();for(let a of n)try{await a()}catch(c){i(c);return}s(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Li={};$(Li,{designSystemVariables:()=>_});var Ti={};$(Ti,{DesignSystemFamily:()=>qr,DesignSystemSize:()=>Yr,FtCssVariableFactory:()=>o,badge:()=>Dp,banner:()=>Pp,button:()=>Sp,card:()=>Cp,chart:()=>Xp,checkbox:()=>_p,chip:()=>kp,chipChoice:()=>Lp,chipGroup:()=>Ip,collapsible:()=>qp,combobox:()=>Kp,dateRangePicker:()=>rf,drawer:()=>Hp,eventCard:()=>Op,floatingMenu:()=>jp,foundation:()=>l,link:()=>Np,modal:()=>Bp,notice:()=>Qp,notification:()=>ef,pageDesigner:()=>Jp,pageFooter:()=>Up,pageHeader:()=>Fp,pageLayout:()=>$p,popover:()=>Zp,radio:()=>Rp,reorderableList:()=>zp,resolveFamilyClass:()=>_i,resolveSizeClass:()=>Ri,semantic:()=>u,setVariable:()=>G,switch_:()=>Yp,table:()=>Tp,tabs:()=>Vp,textArea:()=>Wp,textInput:()=>Gp,titleBreadcrumb:()=>Mp,toc:()=>wp,toggle:()=>Ep,tooltip:()=>tf,treeList:()=>Ap,typographies:()=>xp,typographyBody1Medium:()=>Wl,typographyBody1Regular:()=>Gl,typographyBody1Semibold:()=>jl,typographyBody2Medium:()=>Zl,typographyBody2MediumUnderline:()=>ql,typographyBody2Regular:()=>Kl,typographyBody2Semibold:()=>Yl,typographyCaption1Medium:()=>Xl,typographyCaption1Semibold:()=>Jl,typographyCaption2Bold:()=>tc,typographyCaption2Medium:()=>Ql,typographyCaption2Semibold:()=>ec,typographyDisplay:()=>Bl,typographyTitle1:()=>zl,typographyTitle2:()=>Hl,typographyTitle3:()=>Vl,typographyVariants:()=>vp});var ht=t=>typeof t=="string"?Fr(t):t,o=class{static create(e,r,n,i){let s=c=>ht(c??i),a=R`var(${ht(e)}, ${s(i)})`;return a.name=e,a.description=r,a.category=n,a.defaultValue=i,a.defaultCssValue=s,a.set=c=>G(a,c??s(i)),a.get=c=>R`var(${ht(e)}, ${s(c)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>i,a}static extend(e,r,n,i){let s=c=>n.get(c??i),a=R`var(${ht(e)}, ${s(i)})`;return a.name=e,a.description=r,a.category=n.category,a.fallbackVariable=n,a.defaultValue=i,a.defaultCssValue=s,a.set=c=>G(a,c??s(i)),a.get=c=>R`var(${ht(e)}, ${s(c)})`,a.breadcrumb=()=>[n.name,...n.breadcrumb()],a.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),a}static external(e,r){let n=s=>e.defaultCssValue(s),i=R`var(${ht(e.name)}, ${n(e.defaultValue)})`;return i.name=e.name,i.category=e.category,i.fallbackVariable=e.fallbackVariable,i.defaultValue=e.defaultValue,i.context=r,i.defaultCssValue=n,i.set=s=>e.set(s),i.get=s=>R`var(${ht(e.name)}, ${n(s)})`,i.breadcrumb=()=>e.breadcrumb(),i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function G(t,e){return ht(`${t.name}: ${e}`)}var l={colorWhite:o.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:o.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:o.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:o.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:o.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:o.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:o.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:o.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:o.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:o.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:o.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:o.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:o.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:o.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:o.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:o.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:o.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:o.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:o.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:o.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:o.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:o.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:o.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:o.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:o.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:o.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:o.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:o.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:o.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:o.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:o.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:o.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:o.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:o.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:o.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:o.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:o.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:o.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:o.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:o.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:o.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:o.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:o.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:o.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:o.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:o.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:o.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:o.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:o.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:o.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:o.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:o.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:o.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:o.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:o.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:o.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:o.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:o.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:o.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:o.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:o.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:o.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:o.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:o.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:o.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:o.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:o.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:o.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:o.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:o.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:o.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:o.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:o.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:o.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:o.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:o.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:o.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:o.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:o.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:o.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:o.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:o.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:o.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:o.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:o.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:o.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:o.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:o.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:o.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:o.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:o.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:o.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:o.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:o.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:o.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:o.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:o.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:o.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:o.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:o.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:o.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:o.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:o.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:o.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:o.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:o.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:o.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:o.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:o.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:o.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:o.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:o.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:o.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:o.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:o.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:o.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:o.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:o.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:o.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:o.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:o.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:o.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:o.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:o.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:o.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:o.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:o.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:o.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:o.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:o.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:o.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:o.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:o.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:o.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:o.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:o.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:o.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:o.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:o.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:o.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:o.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:o.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:o.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:o.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:o.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:o.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:o.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:o.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:o.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:o.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:o.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:o.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:o.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:o.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:o.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:o.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:o.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:o.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:o.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:o.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:o.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:o.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:o.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:o.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:o.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:o.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:o.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:o.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:o.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:o.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:o.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:o.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:o.create("--ftds-icon-size-1","","SIZE","0.5rem"),iconSize2:o.create("--ftds-icon-size-2","","SIZE","0.75rem"),iconSize3:o.create("--ftds-icon-size-3","","SIZE","1rem"),iconSize4:o.create("--ftds-icon-size-4","","SIZE","1.25rem"),iconSize5:o.create("--ftds-icon-size-5","","SIZE","1.5rem"),iconSize6:o.create("--ftds-icon-size-6","","SIZE","2rem"),iconSize7:o.create("--ftds-icon-size-7","","SIZE","3rem"),opacity0:o.create("--ftds-opacity-0","","NUMBER","0"),opacity4:o.create("--ftds-opacity-4","","NUMBER","0.04"),opacity6:o.create("--ftds-opacity-6","","NUMBER","0.06"),opacity8:o.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:o.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:o.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:o.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:o.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:o.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:o.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:o.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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)")},Bl={fontFamily:o.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:o.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-display-text-case","","UNKNOWN","none")},zl={fontFamily:o.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:o.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},Hl={fontFamily:o.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:o.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:o.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},Vl={fontFamily:o.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:o.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:o.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:o.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},Gl={fontFamily:o.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},Wl={fontFamily:o.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},jl={fontFamily:o.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:o.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},Kl={fontFamily:o.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:o.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},Zl={fontFamily:o.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},ql={fontFamily:o.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:o.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:o.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Yl={fontFamily:o.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:o.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:o.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:o.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:o.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},Xl={fontFamily:o.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},Jl={fontFamily:o.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:o.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},Ql={fontFamily:o.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:o.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},ec={fontFamily:o.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:o.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},tc={fontFamily:o.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:o.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:o.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:o.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:o.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:o.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:o.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:o.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:o.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},xp={display:Bl,"title-1":zl,"title-2":Hl,"title-3":Vl,"body-1-regular":Gl,"body-1-medium":Wl,"body-1-semibold":jl,"body-2-regular":Kl,"body-2-medium":Zl,"body-2-medium-underline":ql,"body-2-semibold":Yl,"caption-1-medium":Xl,"caption-1-semibold":Jl,"caption-2-medium":Ql,"caption-2-semibold":ec,"caption-2-bold":tc},vp=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","caption-1","caption-2"];var u={backgroundActionPrimary:o.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",l.colorBrand0),backgroundErrorSubtle:o.extend("--ftds-background-error-subtle","Used as background of subtle error components.",l.colorRed10),backgroundInfoSubtle:o.extend("--ftds-background-info-subtle","Used as background of subtle information components.",l.colorCyan10),backgroundWarningSubtle:o.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",l.colorOrange10),backgroundSuccessSubtle:o.extend("--ftds-background-success-subtle","Used as background of subtle success components.",l.colorGreen10),backgroundGlobalSurface:o.extend("--ftds-background-global-surface","Used as app background.",l.colorWhite),backgroundGlobalOnSurface:o.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",l.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",l.colorGray30),contentActionPrimary:o.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",l.colorBrand0),contentWarningPrimary:o.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",l.colorOrange200),contentWarningIconOnly:o.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",l.colorOrange0),contentErrorPrimary:o.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",l.colorRed0),contentErrorIconOnly:o.extend("--ftds-content-error-icon-only","Used on error status icons alone",l.colorRed70),contentInfoPrimary:o.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",l.colorCyan200),contentInfoIconOnly:o.extend("--ftds-content-info-icon-only","Used on info status icons alone",l.colorCyan0),contentSuccessPrimary:o.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",l.colorGreen200),contentSuccessIconOnly:o.extend("--ftds-content-success-icon-only","Used on success status icons alone",l.colorGreen0),contentGlobalPrimary:o.extend("--ftds-content-global-primary","Used for main content on the page.",l.colorGray500),contentGlobalSecondary:o.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
4
+ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",l.colorGray0),contentGlobalOnColor:o.extend("--ftds-content-global-on-color","Used for content on a dominant color.",l.colorWhite),borderActionPrimary:o.extend("--ftds-border-action-primary","Used as border for primary action components.",l.colorBrand0),borderActionFocusRing:o.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",l.colorCyan0),borderWarningPrimary:o.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",l.colorOrange200),borderWarningSubtle:o.extend("--ftds-border-warning-subtle","Used as border for warning components.",l.colorOrange30),borderSuccessPrimary:o.extend("--ftds-border-success-primary","Used as border for success buttons.",l.colorGreen200),borderSuccessSubtle:o.extend("--ftds-border-success-subtle","Used as border for success components.",l.colorGreen30),borderErrorPrimary:o.extend("--ftds-border-error-primary","Used as border for text fields in error states.",l.colorRed0),borderErrorSubtle:o.extend("--ftds-border-error-subtle","Used as border for error components.",l.colorRed30),borderInfoPrimary:o.extend("--ftds-border-info-primary","Used as border for buttons in info color.",l.colorCyan200),borderInfoSubtle:o.extend("--ftds-border-info-subtle","Used as border for information components.",l.colorCyan30),borderGlobalPrimary:o.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",l.colorGray50),borderGlobalSecondary:o.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",l.colorGray40),borderGlobalSubtle:o.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",l.colorGray30),borderInputPrimary:o.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",l.colorGray80),borderNeutralPrimary:o.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",l.colorGray200)};var Sp={largeHeight:o.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ftds-button-large-horizontal-padding","",l.spacing4),largeGap:o.extend("--ftds-button-large-gap","",l.spacing2),largeBorderRadius:o.extend("--ftds-button-large-border-radius","",l.borderRadiusS),largeIconSize:o.extend("--ftds-button-large-icon-size","",l.iconSize3),largeBorderWidth:o.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:o.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:o.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:o.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:o.extend("--ftds-button-medium-horizontal-padding","",l.spacing3),mediumGap:o.extend("--ftds-button-medium-gap","",l.spacing2),mediumBorderRadius:o.extend("--ftds-button-medium-border-radius","",l.borderRadiusS),mediumIconSize:o.extend("--ftds-button-medium-icon-size","",l.iconSize2),mediumBorderWidth:o.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:o.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:o.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:o.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-button-small-horizontal-padding","",l.spacing2),smallGap:o.extend("--ftds-button-small-gap","",l.spacing1),smallBorderRadius:o.extend("--ftds-button-small-border-radius","",l.borderRadiusS),smallIconSize:o.extend("--ftds-button-small-icon-size","",l.iconSize1),smallBorderWidth:o.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:o.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:o.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:o.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:o.extend("--ftds-button-x-small-icon-size","",l.iconSize1),xSmallFocusOutlineOffset:o.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:o.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:o.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:o.extend("--ftds-button-round-border-radius","",l.borderRadiusPill),primaryBrandBackgroundColor:o.extend("--ftds-button-primary-brand-background-color","",u.backgroundActionPrimary),primaryBrandColor:o.extend("--ftds-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:o.extend("--ftds-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:o.extend("--ftds-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",l.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",l.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-primary-brand-active-state-layer-opacity","",l.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ftds-button-primary-brand-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ftds-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:o.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:o.extend("--ftds-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:o.extend("--ftds-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:o.extend("--ftds-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",l.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",l.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",l.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",l.opacity40),tertiaryInfoBackgroundColor:o.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:o.extend("--ftds-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:o.extend("--ftds-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:o.extend("--ftds-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",l.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",l.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",l.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ftds-button-tertiary-info-disabled-component-opacity","",l.opacity40),tertiarySuccessBackgroundColor:o.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:o.extend("--ftds-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:o.extend("--ftds-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:o.extend("--ftds-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",l.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",l.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",l.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ftds-button-tertiary-success-disabled-component-opacity","",l.opacity40),tertiaryWarningBackgroundColor:o.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:o.extend("--ftds-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:o.extend("--ftds-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:o.extend("--ftds-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",l.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",l.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",l.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",l.opacity40),tertiaryErrorBackgroundColor:o.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:o.extend("--ftds-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:o.extend("--ftds-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:o.extend("--ftds-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",l.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",l.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",l.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ftds-button-tertiary-error-disabled-component-opacity","",l.opacity40),tertiaryNeutralBackgroundColor:o.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:o.extend("--ftds-button-tertiary-neutral-icon-color","",u.contentGlobalSecondary),tertiaryNeutralColor:o.extend("--ftds-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:o.extend("--ftds-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",l.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",l.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",l.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",l.opacity40),secondaryBrandBackgroundColor:o.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:o.extend("--ftds-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:o.extend("--ftds-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:o.extend("--ftds-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:o.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",l.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",l.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",l.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ftds-button-secondary-brand-disabled-component-opacity","",l.opacity40),secondaryBrandBorderColor:o.extend("--ftds-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",l.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",l.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",l.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",l.opacity40),secondaryNeutralBackgroundColor:o.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:o.extend("--ftds-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:o.extend("--ftds-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:o.extend("--ftds-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:o.extend("--ftds-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",l.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",l.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-secondary-info-active-state-layer-opacity","",l.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ftds-button-secondary-info-disabled-component-opacity","",l.opacity40),secondaryInfoBackgroundColor:o.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:o.extend("--ftds-button-secondary-info-border-color","",u.borderInfoPrimary),secondaryInfoColor:o.extend("--ftds-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:o.extend("--ftds-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:o.extend("--ftds-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:o.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",l.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",l.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-secondary-success-active-state-layer-opacity","",l.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ftds-button-secondary-success-disabled-component-opacity","",l.opacity40),secondarySuccessBackgroundColor:o.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:o.extend("--ftds-button-secondary-success-border-color","",u.borderSuccessPrimary),secondarySuccessColor:o.extend("--ftds-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:o.extend("--ftds-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:o.extend("--ftds-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:o.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",l.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",l.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",l.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ftds-button-secondary-warning-disabled-component-opacity","",l.opacity40),secondaryWarningBackgroundColor:o.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:o.extend("--ftds-button-secondary-warning-border-color","",u.borderWarningPrimary),secondaryWarningColor:o.extend("--ftds-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:o.extend("--ftds-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:o.extend("--ftds-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:o.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",l.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",l.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-secondary-error-active-state-layer-opacity","",l.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ftds-button-secondary-error-disabled-component-opacity","",l.opacity40),secondaryErrorBackgroundColor:o.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:o.extend("--ftds-button-secondary-error-border-color","",u.contentErrorPrimary),secondaryErrorColor:o.extend("--ftds-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:o.extend("--ftds-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:o.extend("--ftds-button-secondary-error-state-layer-color","",u.contentErrorPrimary)};var Ep={iconSize:o.extend("--ftds-toggle-icon-size","",l.iconSize1),offHoverStateLayerOpacity:o.extend("--ftds-toggle-off-hover-state-layer-opacity","",l.opacity16),offFocusStateLayerOpacity:o.extend("--ftds-toggle-off-focus-state-layer-opacity","",l.opacity16),offActiveStateLayerOpacity:o.extend("--ftds-toggle-off-active-state-layer-opacity","",l.opacity24),offDisabledComponentOpacity:o.extend("--ftds-toggle-off-disabled-component-opacity","",l.opacity40),offBackgroundColor:o.extend("--ftds-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:o.extend("--ftds-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-toggle-on-hover-state-layer-opacity","",l.opacity16),onFocusStateLayerOpacity:o.extend("--ftds-toggle-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-toggle-on-active-state-layer-opacity","",l.opacity24),onDisabledComponentOpacity:o.extend("--ftds-toggle-on-disabled-component-opacity","",l.opacity40),onBackgroundColor:o.extend("--ftds-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:o.extend("--ftds-toggle-on-icon-color","",u.contentActionPrimary),color:o.extend("--ftds-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:o.extend("--ftds-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:o.extend("--ftds-toggle-gap","",l.spacing3),width:o.create("--ftds-toggle-width","","SIZE","36px"),height:o.create("--ftds-toggle-height","","SIZE","20px")};var Cp={borderRadius:o.extend("--ftds-card-border-radius","",l.borderRadiusS),focusFocusRingColor:o.extend("--ftds-card-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-card-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ftds-card-focus-outline-offset","","SIZE","2px"),headerTitleHorizontalPadding:o.extend("--ftds-card-header-title-horizontal-padding","",l.spacing4),headerTitleVerticalPadding:o.extend("--ftds-card-header-title-vertical-padding","",l.spacing3),headerActionHorizontalPadding:o.extend("--ftds-card-header-action-horizontal-padding","",l.spacing2),headerActionVerticalPadding:o.extend("--ftds-card-header-action-vertical-padding","",l.spacing2),headerActionGap:o.extend("--ftds-card-header-action-gap","",l.spacing1),bodyHorizontalPadding:o.extend("--ftds-card-body-horizontal-padding","",l.spacing4),bodyVerticalPadding:o.extend("--ftds-card-body-vertical-padding","",l.spacing4),footerActionHorizontalPadding:o.extend("--ftds-card-footer-action-horizontal-padding","",l.spacing2),footerActionVerticalPadding:o.extend("--ftds-card-footer-action-vertical-padding","",l.spacing2),footerActionGap:o.extend("--ftds-card-footer-action-gap","",l.spacing1),footerContentHorizontalPadding:o.extend("--ftds-card-footer-content-horizontal-padding","",l.spacing4),footerContentVerticalPadding:o.extend("--ftds-card-footer-content-vertical-padding","",l.spacing3),sideBarHorizontalPadding:o.extend("--ftds-card-side-bar-horizontal-padding","",l.spacing1),sideBarVerticalPadding:o.extend("--ftds-card-side-bar-vertical-padding","",l.spacing1),sideBarGap:o.extend("--ftds-card-side-bar-gap","",l.spacing1),nonSelectableBorderWidth:o.create("--ftds-card-non-selectable-border-width","","SIZE","1px"),nonSelectableStateLayerColor:o.extend("--ftds-card-non-selectable-state-layer-color","",u.contentGlobalPrimary),nonSelectableDefaultBackgroundColor:o.extend("--ftds-card-non-selectable-default-background-color","",u.backgroundGlobalOnSurface),nonSelectableDefaultBorderColor:o.extend("--ftds-card-non-selectable-default-border-color","",u.borderGlobalSecondary),nonSelectableHoverBorderColor:o.extend("--ftds-card-non-selectable-hover-border-color","",u.borderGlobalPrimary),nonSelectableHoverStateLayerOpacity:o.extend("--ftds-card-non-selectable-hover-state-layer-opacity","",l.opacity4),nonSelectableFocusBorderColor:o.extend("--ftds-card-non-selectable-focus-border-color","",u.borderGlobalPrimary),nonSelectableFocusStateLayerOpacity:o.extend("--ftds-card-non-selectable-focus-state-layer-opacity","",l.opacity4),internalBorderColor:o.extend("--ftds-card-internal-border-color","",u.borderGlobalSecondary),selectableUnselectedBorderWidth:o.create("--ftds-card-selectable-unselected-border-width","","SIZE","1px"),selectableUnselectedStateLayerColor:o.extend("--ftds-card-selectable-unselected-state-layer-color","",u.contentGlobalPrimary),selectableUnselectedDefaultBackgroundColor:o.extend("--ftds-card-selectable-unselected-default-background-color","",u.backgroundGlobalOnSurface),selectableUnselectedDefaultBorderColor:o.extend("--ftds-card-selectable-unselected-default-border-color","",u.borderGlobalSecondary),selectableUnselectedHoverBorderColor:o.extend("--ftds-card-selectable-unselected-hover-border-color","",u.borderGlobalPrimary),selectableUnselectedHoverStateLayerOpacity:o.extend("--ftds-card-selectable-unselected-hover-state-layer-opacity","",l.opacity4),selectableUnselectedFocusBorderColor:o.extend("--ftds-card-selectable-unselected-focus-border-color","",u.borderGlobalPrimary),selectableUnselectedFocusStateLayerOpacity:o.extend("--ftds-card-selectable-unselected-focus-state-layer-opacity","",l.opacity4),selectableSelectedBorderColor:o.extend("--ftds-card-selectable-selected-border-color","",u.borderActionPrimary),selectableSelectedBorderWidth:o.create("--ftds-card-selectable-selected-border-width","","SIZE","2px"),selectableSelectedStateLayerColor:o.extend("--ftds-card-selectable-selected-state-layer-color","",u.contentActionPrimary),selectableSelectedBackgroundColor:o.extend("--ftds-card-selectable-selected-background-color","",u.backgroundGlobalSurface),selectableSelectedDefaultStateLayerOpacity:o.extend("--ftds-card-selectable-selected-default-state-layer-opacity","",l.opacity4),selectableSelectedHoverStateLayerOpacity:o.extend("--ftds-card-selectable-selected-hover-state-layer-opacity","",l.opacity4),selectableSelectedFocusStateLayerOpacity:o.extend("--ftds-card-selectable-selected-focus-state-layer-opacity","",l.opacity4),internalBorderWidth:o.create("--ftds-card-internal-border-width","","SIZE","1px")};var Op={borderRadius:o.extend("--ftds-event-card-border-radius","",l.borderRadiusS),borderWidth:o.create("--ftds-event-card-border-width","","SIZE","1px"),backgroundColor:o.extend("--ftds-event-card-background-color","",u.backgroundGlobalSurface),thumbnailWidth:o.extend("--ftds-event-card-thumbnail-width","",l.spacing8),thumbnailIconSize:o.extend("--ftds-event-card-thumbnail-icon-size","",l.iconSize3),slotHorizontalPadding:o.extend("--ftds-event-card-slot-horizontal-padding","",l.spacing2),slotVerticalPadding:o.extend("--ftds-event-card-slot-vertical-padding","",l.spacing2),primaryThumbnailIconColor:o.extend("--ftds-event-card-primary-thumbnail-icon-color","",u.contentGlobalOnColor),secondaryThumbnailBackgroundColor:o.extend("--ftds-event-card-secondary-thumbnail-background-color","",u.backgroundGlobalSurface)};var Ap={loadMoreIconSize:o.extend("--ftds-tree-list-load-more-icon-size","",l.iconSize2),loadMorePaddingLeft:o.extend("--ftds-tree-list-load-more-padding-left","",l.spacing6),loadMoreUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-unselected-default-border-color","",u.borderGlobalSubtle),loadMoreIconColor:o.extend("--ftds-tree-list-load-more-icon-color","",u.contentActionPrimary),loadMoreLabelColor:o.extend("--ftds-tree-list-load-more-label-color","",u.contentActionPrimary),loadMoreHoverBorderColor:o.extend("--ftds-tree-list-load-more-hover-border-color","",l.colorBrand20),loadMoreHoverBackgroundColor:o.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:o.extend("--ftds-tree-list-load-more-active-border-color","",l.colorBrand20),loadMoreActiveBackgroundColor:o.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:o.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:o.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),loadMoreLabelMarginLeft:o.extend("--ftds-tree-list-load-more-label-margin-left","",l.spacing1),nodeIconSize:o.extend("--ftds-tree-list-node-icon-size","",l.iconSize2),nodeHeight:o.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:o.extend("--ftds-tree-list-node-parent-label-margin-left","",l.spacing2),nodeParentLabelMarginRight:o.extend("--ftds-tree-list-node-parent-label-margin-right","",l.spacing2),nodeRootPaddingLeft:o.extend("--ftds-tree-list-node-root-padding-left","",l.spacing6),nodeChildPaddingLeft:o.extend("--ftds-tree-list-node-child-padding-left","",l.spacing5),nodeLeafPaddingLeft:o.extend("--ftds-tree-list-node-leaf-padding-left","",l.spacing6),nodeUnselectedDefaultBorderColor:o.extend("--ftds-tree-list-node-unselected-default-border-color","",u.borderGlobalSubtle),nodeUnselectedIconColor:o.extend("--ftds-tree-list-node-unselected-icon-color","",u.contentGlobalSecondary),nodeUnselectedLabelColor:o.extend("--ftds-tree-list-node-unselected-label-color","",u.contentGlobalSecondary),nodeUnselectedCounterColor:o.extend("--ftds-tree-list-node-unselected-counter-color","",u.contentGlobalSecondary),nodeHoverBorderColor:o.extend("--ftds-tree-list-node-hover-border-color","",u.borderActionPrimary),nodeFocusFocusRingColor:o.extend("--ftds-tree-list-node-focus-focus-ring-color","",u.borderActionFocusRing),nodeFocusOutlineWidth:o.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-selected-default-border-color","",u.borderGlobalPrimary),nodeSelectedIconColor:o.extend("--ftds-tree-list-node-selected-icon-color","",u.contentGlobalSecondary),nodeSelectedLabelColor:o.extend("--ftds-tree-list-node-selected-label-color","",u.contentGlobalPrimary),nodeSelectedCounterColor:o.extend("--ftds-tree-list-node-selected-counter-color","",u.contentGlobalSecondary),nodeSelectedBackgroundColor:o.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:o.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:o.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:o.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:o.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:o.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:o.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:o.extend("--ftds-tree-list-header-section-padding-left","",l.spacing6),headerSectionPaddingRight:o.extend("--ftds-tree-list-header-section-padding-right","",l.spacing3),headerSectionHorizontalGap:o.extend("--ftds-tree-list-header-section-horizontal-gap","",l.spacing2),headerSectionMarginBottom:o.extend("--ftds-tree-list-header-section-margin-bottom","",l.spacing2),headerSectionColor:o.extend("--ftds-tree-list-header-section-color","",u.contentGlobalPrimary),headerSectionCounterColor:o.extend("--ftds-tree-list-header-section-counter-color","",u.contentGlobalSecondary),listContainerBorderWidth:o.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:o.extend("--ftds-tree-list-list-container-background-color","",u.backgroundGlobalSurface),listContainerBorderColor:o.extend("--ftds-tree-list-list-container-border-color","",u.borderGlobalSubtle),emptyStateIllustrationWidth:o.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:o.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:o.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",l.spacing10),emptyStateContainerPaddingTop:o.extend("--ftds-tree-list-empty-state-container-padding-top","",l.spacing10),emptyStateContainerPaddingBottom:o.extend("--ftds-tree-list-empty-state-container-padding-bottom","",l.spacing10),emptyStateTitleMarginBottom:o.extend("--ftds-tree-list-empty-state-title-margin-bottom","",l.spacing2),emptyStateTitleLabelColor:o.extend("--ftds-tree-list-empty-state-title-label-color","",u.contentGlobalSecondary),emptyStateDescriptionLabelColor:o.extend("--ftds-tree-list-empty-state-description-label-color","",u.contentGlobalSecondary)};var wp={titleColor:o.extend("--ftds-toc-title-color","",u.contentGlobalSubtle),titleGap:o.extend("--ftds-toc-title-gap","",l.spacing2),offsetTop:o.create("--ftds-toc-offset-top","","SIZE","160px"),itemGap:o.create("--ftds-toc-item-gap","","SIZE","0px"),itemHorizontalPadding:o.extend("--ftds-toc-item-horizontal-padding","",l.spacing4),itemVerticalPadding:o.extend("--ftds-toc-item-vertical-padding","",l.spacing3),itemBorderRadius:o.extend("--ftds-toc-item-border-radius","",l.borderRadiusS),itemBorderWidth:o.create("--ftds-toc-item-border-width","","SIZE","1px"),itemFocusFocusRingColor:o.extend("--ftds-toc-item-focus-focus-ring-color","",u.borderActionFocusRing),itemFocusFocusRingWidth:o.create("--ftds-toc-item-focus-focus-ring-width","","SIZE","2px"),itemInactiveLabelColor:o.extend("--ftds-toc-item-inactive-label-color","",u.contentGlobalSubtle),itemInactiveBorderColor:o.extend("--ftds-toc-item-inactive-border-color","",u.borderGlobalSubtle),itemInactiveStateLayerColor:o.extend("--ftds-toc-item-inactive-state-layer-color","",u.contentGlobalSecondary),itemInactiveHoverStateLayerOpacity:o.extend("--ftds-toc-item-inactive-hover-state-layer-opacity","",l.opacity8),itemInactiveFocusStateLayerOpacity:o.extend("--ftds-toc-item-inactive-focus-state-layer-opacity","",l.opacity8),itemActiveLabelColor:o.extend("--ftds-toc-item-active-label-color","",u.contentActionPrimary),itemActiveBorderColor:o.extend("--ftds-toc-item-active-border-color","",u.borderActionPrimary),itemActiveBorderWidth:o.create("--ftds-toc-item-active-border-width","","SIZE","3px"),itemActiveStateLayerColor:o.extend("--ftds-toc-item-active-state-layer-color","",u.backgroundActionPrimary),itemActiveDefaultStateLayerOpacity:o.extend("--ftds-toc-item-active-default-state-layer-opacity","",l.opacity8),itemActiveHoverStateLayerOpacity:o.extend("--ftds-toc-item-active-hover-state-layer-opacity","",l.opacity16),itemActiveFocusStateLayerOpacity:o.extend("--ftds-toc-item-active-focus-state-layer-opacity","",l.opacity16),itemChildActiveLabelColor:o.extend("--ftds-toc-item-child-active-label-color","",u.contentActionPrimary),itemChildActiveBorderColor:o.extend("--ftds-toc-item-child-active-border-color","",u.borderGlobalSubtle),itemChildActiveStateLayerColor:o.extend("--ftds-toc-item-child-active-state-layer-color","",u.contentGlobalSecondary),itemChildActiveHoverStateLayerOpacity:o.extend("--ftds-toc-item-child-active-hover-state-layer-opacity","",l.opacity8),itemChildActiveFocusStateLayerOpacity:o.extend("--ftds-toc-item-child-active-focus-state-layer-opacity","",l.opacity8)};var _p={iconSize:o.extend("--ftds-checkbox-icon-size","",l.iconSize2),boxSize:o.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:o.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:o.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:o.extend("--ftds-checkbox-label-horizontal-gap","",l.spacing2),color:o.extend("--ftds-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:o.extend("--ftds-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:o.extend("--ftds-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:o.extend("--ftds-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:o.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",l.opacity16),checkedFocusStateLayerOpacity:o.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",l.opacity16),checkedActiveStateLayerOpacity:o.extend("--ftds-checkbox-checked-active-state-layer-opacity","",l.opacity24),checkedDisabledComponentOpacity:o.extend("--ftds-checkbox-checked-disabled-component-opacity","",l.opacity40),uncheckedBorderColor:o.extend("--ftds-checkbox-unchecked-border-color","",l.colorGray80),uncheckedStateLayerColor:o.extend("--ftds-checkbox-unchecked-state-layer-color","",l.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",l.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",l.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",l.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ftds-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:o.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:o.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:o.extend("--ftds-checkbox-horizontal-gap","",l.spacing3),helperPaddingTop:o.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:o.extend("--ftds-checkbox-helper-icon-size","",l.iconSize2),helperHorizontalGap:o.extend("--ftds-checkbox-helper-horizontal-gap","",l.spacing1),errorUncheckedBorderColor:o.extend("--ftds-checkbox-error-unchecked-border-color","",u.borderErrorPrimary),errorStateLayerColor:o.extend("--ftds-checkbox-error-state-layer-color","",u.contentErrorPrimary),errorHelperTextColor:o.extend("--ftds-checkbox-error-helper-text-color","",u.borderErrorPrimary),errorCheckedBackgroundColor:o.extend("--ftds-checkbox-error-checked-background-color","",u.contentErrorPrimary),helperTextColor:o.extend("--ftds-checkbox-helper-text-color","",u.contentGlobalSubtle),groupVerticalGap:o.extend("--ftds-checkbox-group-vertical-gap","",l.spacing3)};var Rp={circleSize:o.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:o.create("--ftds-radio-border-width","","SIZE","2px"),color:o.extend("--ftds-radio-color","",u.contentGlobalPrimary),selectedRadioColor:o.extend("--ftds-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:o.extend("--ftds-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:o.extend("--ftds-radio-selected-hover-state-layer-opacity","",l.opacity16),selectedFocusStateLayerOpacity:o.extend("--ftds-radio-selected-focus-state-layer-opacity","",l.opacity16),selectedActiveStateLayerOpacity:o.extend("--ftds-radio-selected-active-state-layer-opacity","",l.opacity24),selectedDisabledComponentOpacity:o.extend("--ftds-radio-selected-disabled-component-opacity","",l.opacity40),unselectedStateLayerColor:o.extend("--ftds-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:o.extend("--ftds-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:o.extend("--ftds-radio-unselected-hover-state-layer-opacity","",l.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ftds-radio-unselected-focus-state-layer-opacity","",l.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ftds-radio-unselected-active-state-layer-opacity","",l.opacity24),unselectedDisabledComponentOpacity:o.extend("--ftds-radio-unselected-disabled-component-opacity","",l.opacity40),focusFocusRingColor:o.extend("--ftds-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:o.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:o.extend("--ftds-radio-vertical-gap","",l.spacing3),horizontalGap:o.extend("--ftds-radio-horizontal-gap","",l.spacing3)};var Tp={headerRowBorderWidth:o.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:o.extend("--ftds-table-header-row-background-color","",u.backgroundGlobalOnSurfaceDark),headerRowBorderColor:o.extend("--ftds-table-header-row-border-color","",u.borderGlobalPrimary),headerRowColor:o.extend("--ftds-table-header-row-color","",u.contentGlobalPrimary),dataRowBorderWidth:o.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:o.extend("--ftds-table-data-row-background-color","",u.backgroundGlobalOnSurface),dataRowBorderColor:o.extend("--ftds-table-data-row-border-color","",u.borderGlobalSubtle),dataRowColor:o.extend("--ftds-table-data-row-color","",u.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:o.extend("--ftds-table-data-row-default-hover-background-color","",l.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",l.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-default-background-color","",l.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ftds-table-data-row-selectable-selected-default-border-color","",l.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",l.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",l.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ftds-table-data-row-selectable-selected-color","",u.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ftds-table-data-row-clickable-hover-background-color","",l.colorGray30),dataRowClickableFocusBorderColor:o.extend("--ftds-table-data-row-clickable-focus-border-color","",u.borderActionFocusRing),dataRowClickableFocusBackgroundColor:o.extend("--ftds-table-data-row-clickable-focus-background-color","",l.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ftds-table-data-row-clickable-active-background-color","",l.colorGray40),headerCellHorizontalGap:o.extend("--ftds-table-header-cell-horizontal-gap","",l.spacing1),headerCellVerticalPadding:o.extend("--ftds-table-header-cell-vertical-padding","",l.spacing2),headerCellHorizontalPadding:o.extend("--ftds-table-header-cell-horizontal-padding","",l.spacing3),dataCellVerticalPadding:o.extend("--ftds-table-data-cell-vertical-padding","",l.spacing2),dataCellHorizontalPadding:o.extend("--ftds-table-data-cell-horizontal-padding","",l.spacing3),dataCellVerticalGap:o.extend("--ftds-table-data-cell-vertical-gap","",l.spacing1)};var Lp={neutralOffHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",l.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",l.opacity8),neutralOffFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",l.opacity16),neutralOffBackgroundColor:o.extend("--ftds-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:o.extend("--ftds-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:o.extend("--ftds-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:o.extend("--ftds-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",l.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",l.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",l.opacity24),neutralOnFocusFocusRingColor:o.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",l.opacity32),neutralOnBackgroundColor:o.extend("--ftds-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:o.extend("--ftds-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:o.extend("--ftds-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:o.extend("--ftds-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:o.extend("--ftds-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:o.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-choice-large-horizontal-padding","",l.spacing3),largeGap:o.extend("--ftds-chip-choice-large-gap","",l.spacing1),largeBorderRadius:o.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-choice-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-choice-medium-horizontal-padding","",l.spacing2),mediumGap:o.extend("--ftds-chip-choice-medium-gap","",l.spacing1),mediumBorderRadius:o.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-choice-medium-icon-size","",l.iconSize2)};var kp={largeMinHeight:o.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-large-horizontal-padding","",l.spacing3),largeButtonRightPadding:o.extend("--ftds-chip-large-button-right-padding","",l.spacing1),largeGap:o.extend("--ftds-chip-large-gap","",l.spacing1),largeFocusOutlineOffset:o.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:o.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:o.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:o.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:o.extend("--ftds-chip-large-icon-size","",l.iconSize3),mediumMinHeight:o.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-medium-horizontal-padding","",l.spacing2),mediumButtonRightPadding:o.extend("--ftds-chip-medium-button-right-padding","",l.spacing05),mediumGap:o.extend("--ftds-chip-medium-gap","",l.spacing1),mediumFocusOutlineOffset:o.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:o.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:o.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:o.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:o.extend("--ftds-chip-medium-icon-size","",l.iconSize2),smallMinHeight:o.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-chip-small-horizontal-padding","",l.spacing1),smallButtonRightPadding:o.extend("--ftds-chip-small-button-right-padding","",l.spacing05),smallGap:o.extend("--ftds-chip-small-gap","",l.spacing1),smallFocusOutlineOffset:o.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:o.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:o.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:o.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:o.extend("--ftds-chip-small-icon-size","",l.iconSize1),neutralBackgroundColor:o.extend("--ftds-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:o.extend("--ftds-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:o.extend("--ftds-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:o.extend("--ftds-chip-neutral-border-color","",u.borderGlobalSecondary),infoBackgroundColor:o.extend("--ftds-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-chip-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ftds-chip-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ftds-chip-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ftds-chip-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-chip-error-border-color","",u.borderErrorSubtle)};var Ip={horizontalGap:o.extend("--ftds-chip-group-horizontal-gap","",l.spacing2),verticalGap:o.extend("--ftds-chip-group-vertical-gap","",l.spacing2),countChipDefaultBackgroundColor:o.extend("--ftds-chip-group-count-chip-default-background-color","",l.colorBrand10),countChipDefaultBorderColor:o.extend("--ftds-chip-group-count-chip-default-border-color","",l.colorBrand60),countChipDefaultContentColor:o.extend("--ftds-chip-group-count-chip-default-content-color","",u.contentActionPrimary),countChipHoverBackgroundColor:o.extend("--ftds-chip-group-count-chip-hover-background-color","",l.colorBrand20),countChipHoverBorderColor:o.extend("--ftds-chip-group-count-chip-hover-border-color","",l.colorBrand70),countChipHoverContentColor:o.extend("--ftds-chip-group-count-chip-hover-content-color","",u.contentActionPrimary),countChipFocusedBackgroundColor:o.extend("--ftds-chip-group-count-chip-focused-background-color","",l.colorBrand20),countChipFocusedBorderColor:o.extend("--ftds-chip-group-count-chip-focused-border-color","",l.colorBrand70),countChipFocusedContentColor:o.extend("--ftds-chip-group-count-chip-focused-content-color","",u.contentActionPrimary)};var Np={brandHoverOpacity:o.extend("--ftds-link-brand-hover-opacity","",l.opacity80),brandHoverColor:o.extend("--ftds-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:o.extend("--ftds-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:o.extend("--ftds-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:o.extend("--ftds-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:o.extend("--ftds-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:o.extend("--ftds-link-info-hover-opacity","",l.opacity80),infoHoverColor:o.extend("--ftds-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:o.extend("--ftds-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:o.extend("--ftds-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:o.extend("--ftds-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:o.extend("--ftds-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:o.extend("--ftds-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:o.extend("--ftds-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:o.extend("--ftds-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:o.extend("--ftds-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:o.extend("--ftds-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:o.extend("--ftds-link-neutral-visited-color","",l.colorBrand100),horizontalGap:o.extend("--ftds-link-horizontal-gap","",l.spacing1)};var Pp={iconSize:o.extend("--ftds-banner-icon-size","",l.iconSize5),borderWidth:o.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ftds-banner-left-padding","",l.spacing6),rightPadding:o.extend("--ftds-banner-right-padding","",l.spacing6),verticalPadding:o.extend("--ftds-banner-vertical-padding","",l.spacing6),horizontalSideGap:o.extend("--ftds-banner-horizontal-side-gap","",l.spacing6),horizontalMobileGap:o.extend("--ftds-banner-horizontal-mobile-gap","",l.spacing4),verticalMobileGap:o.extend("--ftds-banner-vertical-mobile-gap","",l.spacing6),horizontalMiddleGap:o.extend("--ftds-banner-horizontal-middle-gap","",l.spacing20),infoBackgroundColor:o.extend("--ftds-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-banner-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-banner-info-border-color","",u.borderInfoSubtle)};var Dp={horizontalPadding:o.extend("--ftds-badge-horizontal-padding","",l.spacing1),verticalPadding:o.extend("--ftds-badge-vertical-padding","",l.spacing1),borderRadius:o.extend("--ftds-badge-border-radius","",l.borderRadiusPill),color:o.extend("--ftds-badge-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ftds-badge-background-color","",u.contentActionPrimary)};var Mp={horizontalGap:o.extend("--ftds-title-breadcrumb-horizontal-gap","",l.spacing1),currentColor:o.extend("--ftds-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:o.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:o.extend("--ftds-title-breadcrumb-icon-color","",u.contentGlobalSubtle)};var Fp={parentHorizontalPadding:o.extend("--ftds-page-header-parent-horizontal-padding","",l.spacing6),parentTopPadding:o.extend("--ftds-page-header-parent-top-padding","",l.spacing4),parentBottomPadding:o.extend("--ftds-page-header-parent-bottom-padding","",l.spacing6),parentHelpLeftMargin:o.extend("--ftds-page-header-parent-help-left-margin","",l.spacing2),parentTitleColor:o.extend("--ftds-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:o.extend("--ftds-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:o.extend("--ftds-page-header-parent-chip-left-margin","",l.spacing4),parentVerticalGap:o.extend("--ftds-page-header-parent-vertical-gap","",l.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",l.spacing4),parentButtonsGroupVerticalGap:o.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",l.spacing4),parentChipsGroupHorizontalGap:o.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",l.spacing2),parentChipsGroupVerticalGap:o.extend("--ftds-page-header-parent-chips-group-vertical-gap","",l.spacing2),childHorizontalPadding:o.extend("--ftds-page-header-child-horizontal-padding","",l.spacing6),childTopPadding:o.extend("--ftds-page-header-child-top-padding","",l.spacing2),childBottomPadding:o.extend("--ftds-page-header-child-bottom-padding","",l.spacing2),childHelpLeftMargin:o.extend("--ftds-page-header-child-help-left-margin","",l.spacing1),childChipLeftMargin:o.extend("--ftds-page-header-child-chip-left-margin","",l.spacing4),childVerticalGap:o.extend("--ftds-page-header-child-vertical-gap","",l.spacing2),childMinHeight:o.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",l.spacing4),childButtonsGroupVerticalGap:o.extend("--ftds-page-header-child-buttons-group-vertical-gap","",l.spacing4),childChipsGroupHorizontalGap:o.extend("--ftds-page-header-child-chips-group-horizontal-gap","",l.spacing2),childChipsGroupVerticalGap:o.extend("--ftds-page-header-child-chips-group-vertical-gap","",l.spacing2),backgroundColor:o.extend("--ftds-page-header-background-color","",l.colorWhite),bottomBorderColor:o.extend("--ftds-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:o.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var Up={horizontalPadding:o.extend("--ftds-page-footer-horizontal-padding","",l.spacing6),verticalPadding:o.extend("--ftds-page-footer-vertical-padding","",l.spacing2),verticalGap:o.extend("--ftds-page-footer-vertical-gap","",l.spacing2),minHeight:o.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ftds-page-footer-background-color","",l.colorWhite),topBorderColor:o.extend("--ftds-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:o.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:o.extend("--ftds-page-footer-buttons-group-gap","",l.spacing4)};var $p={contentHorizontalPadding:o.extend("--ftds-page-layout-content-horizontal-padding","",l.spacing6),contentVerticalPadding:o.extend("--ftds-page-layout-content-vertical-padding","",l.spacing6)};var Bp={smallContainerTargetWidth:o.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ftds-modal-small-container-margin","",l.spacing6),headerIconSize:o.extend("--ftds-modal-header-icon-size","",l.iconSize3),headerBackgroundColor:o.extend("--ftds-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-modal-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ftds-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:o.extend("--ftds-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:o.extend("--ftds-modal-header-vertical-padding","",l.spacing1),headerRightPadding:o.extend("--ftds-modal-header-right-padding","",l.spacing1),headerLeftPadding:o.extend("--ftds-modal-header-left-padding","",l.spacing6),headerGap:o.extend("--ftds-modal-header-gap","",l.spacing2),headerBorderBottomWidth:o.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),mediumContainerTargetWidth:o.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:o.extend("--ftds-modal-medium-container-margin","",l.spacing6),largeContainerTargetWidth:o.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ftds-modal-large-container-margin","",l.spacing6),overlayBackgroundColor:o.extend("--ftds-modal-overlay-background-color","",l.colorGray700),overlayOpacity:o.extend("--ftds-modal-overlay-opacity","",l.opacity40),shadow:o.extend("--ftds-modal-shadow","",l.shadowElevation03),bodyBackgroundColor:o.extend("--ftds-modal-body-background-color","",l.colorWhite),bodyColor:o.extend("--ftds-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-modal-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ftds-modal-body-vertical-padding","",l.spacing6),bodyVerticalGap:o.extend("--ftds-modal-body-vertical-gap","",l.spacing6),borderRadius:o.extend("--ftds-modal-border-radius","",l.borderRadiusM)};var zp={grabberIconSize:o.extend("--ftds-reorderable-list-grabber-icon-size","",l.iconSize2),verticalPadding:o.extend("--ftds-reorderable-list-vertical-padding","",l.spacing4),gap:o.extend("--ftds-reorderable-list-gap","",l.spacing4),itemGap:o.extend("--ftds-reorderable-list-item-gap","",l.spacing2),borderRadius:o.extend("--ftds-reorderable-list-border-radius","",l.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",l.spacing6),reorderableItemTitleColor:o.extend("--ftds-reorderable-list-reorderable-item-title-color","",u.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",l.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",l.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",l.spacing2),reorderableItemUsersCountColor:o.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",u.contentGlobalPrimary),reorderableItemUsersCountMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",l.spacing6),reorderableItemBackgroundColor:o.extend("--ftds-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",l.spacing1),reorderableItemWarningMessageColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:o.extend("--ftds-reorderable-list-reorderable-item-grip-color","",u.contentGlobalSecondary),reorderableItemGripOpacity:o.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",l.opacity48),boxShadow:o.extend("--ftds-reorderable-list-box-shadow","",l.shadowElevation01),borderWidth:o.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ftds-reorderable-list-reorderable-items-gap","",l.spacing2),leftPadding:o.extend("--ftds-reorderable-list-left-padding","",l.spacing2),rightPadding:o.extend("--ftds-reorderable-list-right-padding","",l.spacing6),borderColor:o.extend("--ftds-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:o.extend("--ftds-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)};var Hp={overlayOpacity:o.extend("--ftds-drawer-overlay-opacity","",l.opacity40),shadow:o.extend("--ftds-drawer-shadow","",l.shadowElevation03),bodyColor:o.extend("--ftds-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-drawer-body-horizontal-padding","",l.spacing6),bodyVerticalPadding:o.extend("--ftds-drawer-body-vertical-padding","",l.spacing6),bodyGap:o.extend("--ftds-drawer-body-gap","",l.spacing6),bodyBackgroundColor:o.extend("--ftds-drawer-body-background-color","",l.colorWhite),headerBackgroundColor:o.extend("--ftds-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:o.extend("--ftds-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:o.extend("--ftds-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:o.extend("--ftds-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:o.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:o.extend("--ftds-drawer-header-horizontal-padding","",l.spacing2),headerBorderWidth:o.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ftds-drawer-header-gap","",l.spacing3),buttonsBarBackgroundColor:o.extend("--ftds-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:o.extend("--ftds-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:o.extend("--ftds-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:o.extend("--ftds-drawer-buttons-bar-horizontal-padding","",l.spacing6),buttonsBarVerticalPadding:o.extend("--ftds-drawer-buttons-bar-vertical-padding","",l.spacing4),buttonsBarGap:o.extend("--ftds-drawer-buttons-bar-gap","",l.spacing3),buttonsBarBorderWidth:o.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:o.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:o.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:o.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:o.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:o.extend("--ftds-drawer-overlay-background-color","",l.colorGray700)};var Vp={offBorderBottomWidth:o.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ftds-tabs-off-hover-state-layer-opacity","",l.opacity8),offDefaultStateLayerOpacity:o.extend("--ftds-tabs-off-default-state-layer-opacity","",l.opacity0),offFocusStateLayerOpacity:o.extend("--ftds-tabs-off-focus-state-layer-opacity","",l.opacity8),offDisabledComponentOpacity:o.extend("--ftds-tabs-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ftds-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:o.extend("--ftds-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:o.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:o.extend("--ftds-tabs-top-left-border-radius","",l.borderRadiusS),topRightBorderRadius:o.extend("--ftds-tabs-top-right-border-radius","",l.borderRadiusS),withLabelHorizontalPadding:o.extend("--ftds-tabs-with-label-horizontal-padding","",l.spacing4),withLabelVerticalPadding:o.extend("--ftds-tabs-with-label-vertical-padding","",l.spacing3),horizontalGap:o.extend("--ftds-tabs-horizontal-gap","",l.spacing1),verticalGap:o.extend("--ftds-tabs-vertical-gap","",l.spacing1),onHoverStateLayerOpacity:o.extend("--ftds-tabs-on-hover-state-layer-opacity","",l.opacity16),onDefaultStateLayerOpacity:o.extend("--ftds-tabs-on-default-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-tabs-on-focus-state-layer-opacity","",l.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-tabs-on-active-state-layer-opacity","",l.opacity24),onColor:o.extend("--ftds-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:o.extend("--ftds-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:o.extend("--ftds-tabs-icon-only-horizontal-padding","",l.spacing4),iconOnlyVerticalPadding:o.extend("--ftds-tabs-icon-only-vertical-padding","",l.spacing4),alertTopPadding:o.extend("--ftds-tabs-alert-top-padding","",l.spacing1),alertRightPadding:o.extend("--ftds-tabs-alert-right-padding","",l.spacing05),focusOutlineWidth:o.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-tabs-focus-focus-ring-color","",u.borderActionFocusRing),mainIconIconSize:o.extend("--ftds-tabs-main-icon-icon-size","",l.iconSize3),alertIconIconSize:o.extend("--ftds-tabs-alert-icon-icon-size","",l.iconSize2)};var Gp={largeFieldHorizontalPadding:o.extend("--ftds-text-input-large-field-horizontal-padding","",l.spacing4),largeFieldHorizontalGap:o.extend("--ftds-text-input-large-field-horizontal-gap","",l.spacing3),largeFieldVerticalGap:o.extend("--ftds-text-input-large-field-vertical-gap","",l.spacing05),largeFieldHeight:o.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ftds-text-input-large-field-icon-size","",l.iconSize3),mediumFieldHorizontalPadding:o.extend("--ftds-text-input-medium-field-horizontal-padding","",l.spacing4),mediumFieldHorizontalGap:o.extend("--ftds-text-input-medium-field-horizontal-gap","",l.spacing3),mediumFieldVerticalGap:o.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:o.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:o.extend("--ftds-text-input-medium-field-icon-size","",l.iconSize3),helperHorizontalPadding:o.extend("--ftds-text-input-helper-horizontal-padding","",l.spacing4),helperHorizontalGap:o.extend("--ftds-text-input-helper-horizontal-gap","",l.spacing1),helperVerticalGap:o.extend("--ftds-text-input-helper-vertical-gap","",l.spacing1),helperIconSize:o.extend("--ftds-text-input-helper-icon-size","",l.iconSize2),borderRadius:o.extend("--ftds-text-input-border-radius","",l.borderRadiusS),backgroundColor:o.extend("--ftds-text-input-background-color","",l.colorWhite),contentValueColor:o.extend("--ftds-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:o.extend("--ftds-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:o.extend("--ftds-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderColor:o.extend("--ftds-text-input-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-text-input-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-text-input-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:o.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:o.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:o.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-input-disabled-component-opacity","",l.opacity40)};var Wp={fieldPaddingLeft:o.extend("--ftds-text-area-field-padding-left","",l.spacing4),fieldPaddingRight:o.extend("--ftds-text-area-field-padding-right","",l.spacing6),fieldMinHeight:o.create("--ftds-text-area-field-min-height","","SIZE","72px"),fieldMaxHeight:o.create("--ftds-text-area-field-max-height","","SIZE","300px"),resizeBottom:o.extend("--ftds-text-area-resize-bottom","",l.spacing05),resizeRight:o.extend("--ftds-text-area-resize-right","",l.spacing05)};var jp={height:o.create("--ftds-floating-menu-height","","SIZE","52px"),horizontalPadding:o.extend("--ftds-floating-menu-horizontal-padding","",l.spacing4),verticalPadding:o.extend("--ftds-floating-menu-vertical-padding","",l.spacing2),offIconColor:o.extend("--ftds-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:o.extend("--ftds-floating-menu-off-color","",u.contentGlobalPrimary),onColor:o.extend("--ftds-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:o.extend("--ftds-floating-menu-gap","",l.spacing3),focusFocusRingColor:o.extend("--ftds-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:o.extend("--ftds-floating-menu-focus-state-layer-opacity","",l.opacity24),hoverStateLayerOpacity:o.extend("--ftds-floating-menu-hover-state-layer-opacity","",l.opacity8),activeStateLayerOpacity:o.extend("--ftds-floating-menu-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ftds-floating-menu-disabled-component-opacity","",l.opacity40),iconSize:o.extend("--ftds-floating-menu-icon-size","",l.iconSize3),backgroundColor:o.extend("--ftds-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:o.extend("--ftds-floating-menu-shadow","",l.shadowElevation02),multiselectCheckedStateLayerColor:o.extend("--ftds-floating-menu-multiselect-checked-state-layer-color","",u.contentActionPrimary),multiselectCheckedColor:o.extend("--ftds-floating-menu-multiselect-checked-color","",u.contentGlobalPrimary),multiselectCheckedIconColor:o.extend("--ftds-floating-menu-multiselect-checked-icon-color","",u.contentActionPrimary),multiselectCheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-default-state-layer-opacity","",l.opacity8),multiselectCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-hover-state-layer-opacity","",l.opacity16),multiselectCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-focus-state-layer-opacity","",l.opacity24),multiselectIndeterminatedStateLayerColor:o.extend("--ftds-floating-menu-multiselect-indeterminated-state-layer-color","",u.contentActionPrimary),multiselectIndeterminatedColor:o.extend("--ftds-floating-menu-multiselect-indeterminated-color","",u.contentGlobalPrimary),multiselectIndeterminatedIconColor:o.extend("--ftds-floating-menu-multiselect-indeterminated-icon-color","",u.contentActionPrimary),multiselectIndeterminatedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-default-state-layer-opacity","",l.opacity8),multiselectIndeterminatedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-hover-state-layer-opacity","",l.opacity16),multiselectIndeterminatedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-focus-state-layer-opacity","",l.opacity24),multiselectUncheckedStateLayerColor:o.extend("--ftds-floating-menu-multiselect-unchecked-state-layer-color","",u.contentGlobalPrimary),multiselectUncheckedColor:o.extend("--ftds-floating-menu-multiselect-unchecked-color","",u.contentGlobalPrimary),multiselectUncheckedIconColor:o.extend("--ftds-floating-menu-multiselect-unchecked-icon-color","",u.contentGlobalSubtle),multiselectUncheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-default-state-layer-opacity","",l.opacity0),multiselectUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-hover-state-layer-opacity","",l.opacity8),multiselectUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-focus-state-layer-opacity","",l.opacity16),selectAllCheckedStateLayerColor:o.extend("--ftds-floating-menu-select-all-checked-state-layer-color","",u.contentActionPrimary),selectAllCheckedColor:o.extend("--ftds-floating-menu-select-all-checked-color","",u.contentGlobalPrimary),selectAllCheckedIconColor:o.extend("--ftds-floating-menu-select-all-checked-icon-color","",u.contentActionPrimary),selectAllCheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-default-state-layer-opacity","",l.opacity0),selectAllCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-hover-state-layer-opacity","",l.opacity16),selectAllCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-focus-state-layer-opacity","",l.opacity24),selectAllIndeterminatedStateLayerColor:o.extend("--ftds-floating-menu-select-all-indeterminated-state-layer-color","",u.contentGlobalPrimary),selectAllIndeterminatedColor:o.extend("--ftds-floating-menu-select-all-indeterminated-color","",u.contentGlobalPrimary),selectAllIndeterminatedIconColor:o.extend("--ftds-floating-menu-select-all-indeterminated-icon-color","",u.contentActionPrimary),selectAllIndeterminatedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-default-state-layer-opacity","",l.opacity0),selectAllIndeterminatedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-hover-state-layer-opacity","",l.opacity8),selectAllIndeterminatedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-focus-state-layer-opacity","",l.opacity16),selectAllUncheckedStateLayerColor:o.extend("--ftds-floating-menu-select-all-unchecked-state-layer-color","",u.contentGlobalPrimary),selectAllUncheckedColor:o.extend("--ftds-floating-menu-select-all-unchecked-color","",u.contentGlobalPrimary),selectAllUncheckedIconColor:o.extend("--ftds-floating-menu-select-all-unchecked-icon-color","",u.contentGlobalSubtle),selectAllUncheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-default-state-layer-opacity","",l.opacity0),selectAllUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-hover-state-layer-opacity","",l.opacity8),selectAllUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-focus-state-layer-opacity","",l.opacity16),defaultUncheckedStateLayerColor:o.extend("--ftds-floating-menu-default-unchecked-state-layer-color","",u.contentGlobalPrimary),defaultUncheckedColor:o.extend("--ftds-floating-menu-default-unchecked-color","",u.contentGlobalPrimary),defaultUncheckedIconColor:o.extend("--ftds-floating-menu-default-unchecked-icon-color","",u.contentGlobalSubtle),defaultUncheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-default-state-layer-opacity","",l.opacity0),defaultUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-hover-state-layer-opacity","",l.opacity8),defaultUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-focus-state-layer-opacity","",l.opacity16),defaultCheckedStateLayerColor:o.extend("--ftds-floating-menu-default-checked-state-layer-color","",u.contentActionPrimary),defaultCheckedColor:o.extend("--ftds-floating-menu-default-checked-color","",u.contentActionPrimary),defaultCheckedIconColor:o.extend("--ftds-floating-menu-default-checked-icon-color","",u.contentActionPrimary),defaultCheckedDefaultStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-default-state-layer-opacity","",l.opacity8),defaultCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-hover-state-layer-opacity","",l.opacity16),defaultCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-focus-state-layer-opacity","",l.opacity24)};var Kp={menuVerticalGap:o.extend("--ftds-combobox-menu-vertical-gap","",l.spacing2),menuNewValuePaddingTop:o.extend("--ftds-combobox-menu-new-value-padding-top","",l.spacing4),menuNewValuePaddingBottom:o.extend("--ftds-combobox-menu-new-value-padding-bottom","",l.spacing1),menuNewValueHorizontalPadding:o.extend("--ftds-combobox-menu-new-value-horizontal-padding","",l.spacing4),menuNewValueLabelColor:o.extend("--ftds-combobox-menu-new-value-label-color","",u.contentGlobalSubtle),menuNewValueBorderColor:o.extend("--ftds-combobox-menu-new-value-border-color","",u.borderGlobalPrimary),menuNewValueBorderWidth:o.create("--ftds-combobox-menu-new-value-border-width","","SIZE","1px"),menuNewValueErrorBackgroundColor:o.extend("--ftds-combobox-menu-new-value-error-background-color","",u.backgroundErrorSubtle),menuNewValueErrorBorderColor:o.extend("--ftds-combobox-menu-new-value-error-border-color","",u.borderErrorPrimary),menuNewValueErrorStateLayerColor:o.extend("--ftds-combobox-menu-new-value-error-state-layer-color","",u.contentActionPrimary),menuNewValueErrorHoverStateLayerOpacity:o.extend("--ftds-combobox-menu-new-value-error-hover-state-layer-opacity","",l.opacity4),menuNewValueErrorActiveStateLayerOpacity:o.extend("--ftds-combobox-menu-new-value-error-active-state-layer-opacity","",l.opacity6),menuMessagePaddingTop:o.extend("--ftds-combobox-menu-message-padding-top","",l.spacing2),menuMessagePaddingBottom:o.extend("--ftds-combobox-menu-message-padding-bottom","",l.spacing2),menuMessageHorizontalPadding:o.extend("--ftds-combobox-menu-message-horizontal-padding","",l.spacing4),menuMessageLabelColor:o.extend("--ftds-combobox-menu-message-label-color","",u.contentGlobalSubtle),valuesChipBackgroundColor:o.extend("--ftds-combobox-values-chip-background-color","",u.backgroundGlobalOnSurface),valuesChipBorderColor:o.extend("--ftds-combobox-values-chip-border-color","",u.borderInputPrimary)};var Zp={backgroundColor:o.extend("--ftds-popover-background-color","",u.backgroundGlobalOnSurface),titleColor:o.extend("--ftds-popover-title-color","",u.contentGlobalPrimary),bodyColor:o.extend("--ftds-popover-body-color","",u.contentGlobalSecondary),gap:o.extend("--ftds-popover-gap","",l.spacing2),borderRadius:o.extend("--ftds-popover-border-radius","",l.borderRadiusM),shadow:o.extend("--ftds-popover-shadow","",l.shadowElevation02),maxWidth:o.create("--ftds-popover-max-width","","SIZE","440px"),minWidth:o.create("--ftds-popover-min-width","","SIZE","160px"),maxHeight:o.create("--ftds-popover-max-height","","SIZE","0.16vh"),contentSectionVerticalGap:o.extend("--ftds-popover-content-section-vertical-gap","",l.spacing2),multiSectionVerticalGap:o.extend("--ftds-popover-multi-section-vertical-gap","",l.spacing6),defaultHorizontalPadding:o.extend("--ftds-popover-default-horizontal-padding","",l.spacing6),defaultVerticalPadding:o.extend("--ftds-popover-default-vertical-padding","",l.spacing6),denseHorizontalPadding:o.extend("--ftds-popover-dense-horizontal-padding","",l.spacing3),denseVerticalPadding:o.extend("--ftds-popover-dense-vertical-padding","",l.spacing3)};var qp={hoverStateLayerOpacity:o.extend("--ftds-collapsible-hover-state-layer-opacity","",l.opacity8),focusStateLayerOpacity:o.extend("--ftds-collapsible-focus-state-layer-opacity","",l.opacity8),focusOutlineWidth:o.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:o.extend("--ftds-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:o.extend("--ftds-collapsible-active-state-layer-opacity","",l.opacity16),disabledComponentOpacity:o.extend("--ftds-collapsible-disabled-component-opacity","",l.opacity40),horizontalPadding:o.extend("--ftds-collapsible-horizontal-padding","",l.spacing4),verticalPadding:o.extend("--ftds-collapsible-vertical-padding","",l.spacing3),color:o.extend("--ftds-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:o.extend("--ftds-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:o.extend("--ftds-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:o.extend("--ftds-collapsible-border-color","",u.borderGlobalSubtle),iconSize:o.extend("--ftds-collapsible-icon-size","",l.iconSize3)};var Yp={groupHorizontalPadding:o.extend("--ftds-switch-group-horizontal-padding","",l.spacing1),groupVerticalPadding:o.extend("--ftds-switch-group-vertical-padding","",l.spacing1),groupGap:o.extend("--ftds-switch-group-gap","",l.spacing1),groupBackgroundColor:o.extend("--ftds-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:o.extend("--ftds-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:o.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:o.extend("--ftds-switch-label-horizontal-padding","",l.spacing2),labelVerticalPadding:o.extend("--ftds-switch-label-vertical-padding","",l.spacing1),offHoverStateLayerOpacity:o.extend("--ftds-switch-off-hover-state-layer-opacity","",l.opacity8),offFocusStateLayerOpacity:o.extend("--ftds-switch-off-focus-state-layer-opacity","",l.opacity8),offActiveStateLayerOpacity:o.extend("--ftds-switch-off-active-state-layer-opacity","",l.opacity16),offDisabledComponentOpacity:o.extend("--ftds-switch-off-disabled-component-opacity","",l.opacity40),offColor:o.extend("--ftds-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:o.extend("--ftds-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:o.extend("--ftds-switch-on-hover-state-layer-opacity","",l.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-switch-on-focus-state-layer-opacity","",l.opacity8),onActiveStateLayerOpacity:o.extend("--ftds-switch-on-active-state-layer-opacity","",l.opacity16),onDisabledComponentOpacity:o.extend("--ftds-switch-on-disabled-component-opacity","",l.opacity40),onColor:o.extend("--ftds-switch-on-color","",u.contentActionPrimary),onStateLayerColor:o.extend("--ftds-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:o.extend("--ftds-switch-icon-horizontal-padding","",l.spacing1),iconVerticalPadding:o.extend("--ftds-switch-icon-vertical-padding","",l.spacing1),focusOutlineWidth:o.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:o.extend("--ftds-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:o.extend("--ftds-switch-option-border-radius","",l.borderRadiusS)};var Xp={color1Light:o.extend("--ftds-chart-1-light","for area color charts",l.colorBrand40),color1Base:o.extend("--ftds-chart-1-base","for line charts",l.colorBrand0),color2Light:o.extend("--ftds-chart-2-light","for area color charts",l.colorYellow60),color2Base:o.extend("--ftds-chart-2-base","for line charts",l.colorYellow100),color3Light:o.extend("--ftds-chart-3-light","",l.colorUltramarine40),color3Base:o.extend("--ftds-chart-3-base","",l.colorUltramarine70),color4Light:o.extend("--ftds-chart-4-light","",l.colorCyan50),color4Base:o.extend("--ftds-chart-4-base","",l.colorCyan100),color5Light:o.extend("--ftds-chart-5-light","",l.colorRed40),color5Base:o.extend("--ftds-chart-5-base","",l.colorRed60),color6Light:o.extend("--ftds-chart-6-light","",l.colorGreen40),color6Base:o.extend("--ftds-chart-6-base","",l.colorGreen70),color7Light:o.extend("--ftds-chart-7-light","",l.colorOrange70),color7Base:o.extend("--ftds-chart-7-base","",l.colorOrange100),color8Light:o.extend("--ftds-chart-8-light","",l.colorAvocado70),color8Base:o.extend("--ftds-chart-8-base","",l.colorAvocado200),color9Light:o.extend("--ftds-chart-9-light","",l.colorBrown50),color9Base:o.extend("--ftds-chart-9-base","",l.colorBrown200),color10Light:o.extend("--ftds-chart-10-light","",l.colorGray50),color10Base:o.extend("--ftds-chart-10-base","",l.colorGray80),monochrome10:o.extend("--ftds-chart-monochrome-10","",l.colorBrand10),monochrome20:o.extend("--ftds-chart-monochrome-20","",l.colorBrand20),monochrome30:o.extend("--ftds-chart-monochrome-30","",l.colorBrand40),monochrome40:o.extend("--ftds-chart-monochrome-40","",l.colorBrand60),monochrome50:o.extend("--ftds-chart-monochrome-50","",l.colorBrand0),monochrome60:o.extend("--ftds-chart-monochrome-60","",l.colorBrand200)};var Jp={color1IconColor:o.extend("--ftds-page-designer-1-icon-color","for area color charts",l.colorCyan0),color1ToolbarColor:o.extend("--ftds-page-designer-1-toolbar-color","for area color charts",l.colorCyan0),color2IconColor:o.extend("--ftds-page-designer-2-icon-color","for area color charts",l.colorBrand0),color2ToolbarColor:o.extend("--ftds-page-designer-2-toolbar-color","for area color charts",l.colorBrand0),color3IconColor:o.extend("--ftds-page-designer-3-icon-color","for area color charts",l.colorYellow200),color3ToolbarColor:o.extend("--ftds-page-designer-3-toolbar-color","for area color charts",l.colorYellow200),color4IconColor:o.extend("--ftds-page-designer-4-icon-color","for area color charts",l.colorUltramarine50),color4ToolbarColor:o.extend("--ftds-page-designer-4-toolbar-color","for area color charts",l.colorUltramarine50),color5IconColor:o.extend("--ftds-page-designer-5-icon-color","for area color charts",l.colorGreen0),color5ToolbarColor:o.extend("--ftds-page-designer-5-toolbar-color","for area color charts",l.colorGreen0),color6IconColor:o.extend("--ftds-page-designer-6-icon-color","for area color charts",l.colorOrange0),color6ToolbarColor:o.extend("--ftds-page-designer-6-toolbar-color","for area color charts",l.colorOrange0),color7IconColor:o.extend("--ftds-page-designer-7-icon-color","for area color charts",l.colorAvocado200),color7ToolbarColor:o.extend("--ftds-page-designer-7-toolbar-color","for area color charts",l.colorAvocado200),color8IconColor:o.extend("--ftds-page-designer-8-icon-color","for area color charts",l.colorBrown0),color8ToolbarColor:o.extend("--ftds-page-designer-8-toolbar-color","for area color charts",l.colorBrown0)};var Qp={borderWidth:o.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ftds-notice-horizontal-padding","",l.spacing3),verticalPadding:o.extend("--ftds-notice-vertical-padding","",l.spacing2),borderRadius:o.extend("--ftds-notice-border-radius","",l.borderRadiusS),gap:o.extend("--ftds-notice-gap","",l.spacing2),iconSize:o.extend("--ftds-notice-icon-size","",l.iconSize3),infoBackgroundColor:o.extend("--ftds-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:o.extend("--ftds-notice-info-border-color","",u.borderInfoSubtle),infoColor:o.extend("--ftds-notice-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:o.extend("--ftds-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:o.extend("--ftds-notice-warning-border-color","",u.borderWarningSubtle),warningColor:o.extend("--ftds-notice-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:o.extend("--ftds-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:o.extend("--ftds-notice-error-border-color","",u.borderErrorSubtle),errorColor:o.extend("--ftds-notice-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:o.extend("--ftds-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:o.extend("--ftds-notice-success-border-color","",u.borderSuccessSubtle),successColor:o.extend("--ftds-notice-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-notice-success-icon-color","",u.contentSuccessIconOnly),denseHorizontalPadding:o.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:o.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:o.extend("--ftds-notice-dense-gap","",l.spacing1),denseIconSize:o.extend("--ftds-notice-dense-icon-size","",l.iconSize2),denseBorderWidth:o.create("--ftds-notice-dense-border-width","","SIZE","0")};var ef={iconSize:o.extend("--ftds-notification-icon-size","",l.iconSize4),leftPadding:o.extend("--ftds-notification-left-padding","",l.spacing5),rightPadding:o.extend("--ftds-notification-right-padding","",l.spacing4),verticalPadding:o.extend("--ftds-notification-vertical-padding","",l.spacing3),infoBackgroundColor:o.extend("--ftds-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:o.extend("--ftds-notification-info-color","",u.contentInfoPrimary),infoIconColor:o.extend("--ftds-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:o.extend("--ftds-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:o.extend("--ftds-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:o.extend("--ftds-notification-success-color","",u.contentSuccessPrimary),successIconColor:o.extend("--ftds-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:o.extend("--ftds-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:o.extend("--ftds-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:o.extend("--ftds-notification-warning-color","",u.contentWarningPrimary),warningIconColor:o.extend("--ftds-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:o.extend("--ftds-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:o.extend("--ftds-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:o.extend("--ftds-notification-error-color","",u.contentErrorPrimary),errorIconColor:o.extend("--ftds-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:o.extend("--ftds-notification-error-border-color","",u.borderErrorSubtle),borderRadius:o.extend("--ftds-notification-border-radius","",l.borderRadiusPill),borderWidth:o.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ftds-notification-leading-gap","",l.spacing2),trailingGap:o.extend("--ftds-notification-trailing-gap","",l.spacing8)};var tf={horizontalPadding:o.extend("--ftds-tooltip-horizontal-padding","",l.spacing2),verticalPadding:o.extend("--ftds-tooltip-vertical-padding","",l.spacing2),borderRadius:o.extend("--ftds-tooltip-border-radius","",l.borderRadiusS),color:o.extend("--ftds-tooltip-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ftds-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:o.extend("--ftds-tooltip-background-opacity","",l.opacity80),shadow:o.extend("--ftds-tooltip-shadow","",l.shadowElevation02),maxWidth:o.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ftds-tooltip-gap","",l.spacing05)};var rf={menuHorizontalPadding:o.extend("--ftds-date-range-picker-menu-horizontal-padding","",l.spacing4),menuVerticalPadding:o.extend("--ftds-date-range-picker-menu-vertical-padding","",l.spacing4),menuVerticalGap:o.extend("--ftds-date-range-picker-menu-vertical-gap","",l.spacing4),menuButtonsVerticalGap:o.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",l.spacing2)};var qr;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(qr||(qr={}));var Yr;(function(t){t.large="large",t.medium="medium",t.small="small"})(Yr||(Yr={}));function _i(t){return`ftds--family-${t}`}function Ri(t){return`ftds--size-${t}`}var _={colorPrimary:o.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:o.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:o.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:o.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:o.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:o.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorInfo:o.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:o.create("--ft-color-warning","","COLOR","#B74706"),colorError:o.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:o.create("--ft-color-success","","COLOR","#187856"),colorOutline:o.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:o.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:o.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:o.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:o.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:o.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:o.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:o.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:o.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:o.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:o.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:o.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:o.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:o.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:o.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:o.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:o.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:o.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:o.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:o.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:o.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:o.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:o.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:o.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:o.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:o.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:o.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:o.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:o.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:o.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:o.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:o.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:o.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:o.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:o.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:o.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:o.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:o.create("--ft-elevation-00","","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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.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:o.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:o.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:o.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXL:o.create("--ft-border-radius-xl","","SIZE","16px"),titleFont:o.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:o.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:o.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:o.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var ki={};$(ki,{DynamicImporter:()=>Ho,dynamicImporter:()=>of});var Ho=class{async import(e){if(e)return import(e)}},of=new Ho;var Gi={};$(Gi,{computeOffsetAutoPosition:()=>Rf,computeOffsetPosition:()=>Vi});var oc=["top","right","bottom","left"],rc=["start","end"],Ni=oc.reduce((t,e)=>t.concat(e,e+"-"+rc[0],e+"-"+rc[1]),[]),Nt=Math.min,Ye=Math.max,Xr=Math.round;var Xe=t=>({x:t,y:t}),nf={left:"right",right:"left",bottom:"top",top:"bottom"};function nc(t,e,r){return Ye(t,Nt(e,r))}function gr(t,e){return typeof t=="function"?t(e):t}function Pt(t){return t.split("-")[0]}function Je(t){return t.split("-")[1]}function Pi(t){return t==="x"?"y":"x"}function Di(t){return t==="y"?"height":"width"}function br(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function Mi(t){return Pi(br(t))}function ic(t,e,r){r===void 0&&(r=!1);let n=Je(t),i=Mi(t),s=Di(i),a=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(a=Ii(a)),[a,Ii(a)]}function sc(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}function Ii(t){let e=Pt(t);return nf[e]+t.slice(e.length)}function sf(t){var e,r,n,i;return{top:(e=t.top)!=null?e:0,right:(r=t.right)!=null?r:0,bottom:(n=t.bottom)!=null?n:0,left:(i=t.left)!=null?i:0}}function ac(t){return typeof t!="number"?sf(t):{top:t,right:t,bottom:t,left:t}}function Dt(t){let{x:e,y:r,width:n,height:i}=t;return{width:n,height:i,top:r,left:e,right:e+n,bottom:r+i,x:e,y:r}}function lc(t,e,r){let{reference:n,floating:i}=t,s=br(e),a=Mi(e),c=Di(a),d=Pt(e),p=s==="y",h=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,m=n[c]/2-i[c]/2,x;switch(d){case"top":x={x:h,y:n.y-i.height};break;case"bottom":x={x:h,y:n.y+n.height};break;case"right":x={x:n.x+n.width,y:f};break;case"left":x={x:n.x-i.width,y:f};break;default:x={x:n.x,y:n.y}}let S=Je(e);return S&&(x[a]+=m*(S==="end"?1:-1)*(r&&p?-1:1)),x}async function cc(t,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:s,rects:a,elements:c,strategy:d}=t,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:m=!1,padding:x=0}=gr(e,t),S=ac(x),E=c[m?f==="floating"?"reference":"floating":f],L=Dt(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement(E)))==null||r?E:E.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:p,rootBoundary:h,strategy:d})),I=f==="floating"?{x:n,y:i,width:a.floating.width,height:a.floating.height}:a.reference,b=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),g=await(s.isElement==null?void 0:s.isElement(b))&&await(s.getScale==null?void 0:s.getScale(b))||{x:1,y:1},v=Dt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:I,offsetParent:b,strategy:d}):I);return{top:(L.top-v.top+S.top)/g.y,bottom:(v.bottom-L.bottom+S.bottom)/g.y,left:(L.left-v.left+S.left)/g.x,right:(v.right-L.right+S.right)/g.x}}var af=50,dc=async(t,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:a}=r,c=a.detectOverflow?a:{...a,detectOverflow:cc},d=await(a.isRTL==null?void 0:a.isRTL(e)),p=await a.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:f}=lc(p,n,d),m=n,x=0,S={};for(let w=0;w<s.length;w++){let E=s[w];if(!E)continue;let{name:L,fn:I}=E,{x:b,y:g,data:v,reset:A}=await I({x:h,y:f,initialPlacement:n,placement:m,strategy:i,middlewareData:S,rects:p,platform:c,elements:{reference:t,floating:e}});h=b??h,f=g??f,S[L]={...S[L],...v},A&&x<af&&(x++,typeof A=="object"&&(A.placement&&(m=A.placement),A.rects&&(p=A.rects===!0?await a.getElementRects({reference:t,floating:e,strategy:i}):A.rects),{x:h,y:f}=lc(p,m,d)),w=-1)}return{x:h,y:f,placement:m,strategy:i,middlewareData:S}};function lf(t,e,r){return(t?[...r.filter(i=>Je(i)===t),...r.filter(i=>Je(i)!==t)]:r.filter(i=>Pt(i)===i)).filter(i=>t?Je(i)===t||(e?sc(i)!==i:!1):!0)}var uc=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,i;let{rects:s,middlewareData:a,placement:c,platform:d,elements:p}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:m=Ni,autoAlignment:x=!0,...S}=gr(t,e),w=f!==void 0||m===Ni?lf(f||null,x,m):m,E=((r=a.autoPlacement)==null?void 0:r.index)||0,L=w[E];if(L==null)return{};if(c!==L)return{reset:{placement:w[0]}};let I=await d.detectOverflow(e,S),b=ic(L,s,await(d.isRTL==null?void 0:d.isRTL(p.floating))),g=[I[Pt(L)],I[b[0]],I[b[1]]],v=[...((n=a.autoPlacement)==null?void 0:n.overflows)||[],{placement:L,overflows:g}],A=w[E+1];if(A)return{data:{index:E+1,overflows:v},reset:{placement:A}};let P=v.map(k=>{let H=Je(k.placement);return[k.placement,H&&h?k.overflows.slice(0,2).reduce((re,Ke)=>re+Ke,0):k.overflows[0],k.overflows]}).sort((k,H)=>k[1]-H[1]),X=((i=P.filter(k=>k[2].slice(0,Je(k[0])?2:3).every(H=>H<=0))[0])==null?void 0:i[0])||P[0][0];return X!==c?{data:{index:E+1,overflows:v},reset:{placement:X}}:{}}}};var cf=new Set(["left","top"]);async function df(t,e){let{placement:r,platform:n,elements:i}=t,s=await(n.isRTL==null?void 0:n.isRTL(i.floating)),a=Pt(r),c=Je(r),d=br(r)==="y",p=cf.has(a)?-1:1,h=s&&d?-1:1,f=gr(e,t),{mainAxis:m,crossAxis:x,alignmentAxis:S}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return c&&typeof S=="number"&&(x=c==="end"?S*-1:S),d?{x:x*h,y:m*p}:{x:m*p,y:x*h}}var pc=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var r,n;let{x:i,y:s,placement:a,middlewareData:c}=e,d=await df(e,t);return a===((r=c.offset)==null?void 0:r.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:s+d.y,data:{...d,placement:a}}}}},fc=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:r,y:n,placement:i,platform:s}=e,{mainAxis:a=!0,crossAxis:c=!1,limiter:d={fn:I=>{let{x:b,y:g}=I;return{x:b,y:g}}},...p}=gr(t,e),h={x:r,y:n},f=await s.detectOverflow(e,p),m=br(i),x=Pi(m),S=h[x],w=h[m],E=(I,b)=>nc(b+f[I==="y"?"top":"left"],b,b-f[I==="y"?"bottom":"right"]);a&&(S=E(x,S)),c&&(w=E(m,w));let L=d.fn({...e,[x]:S,[m]:w});return{...L,data:{x:L.x-r,y:L.y-n,enabled:{[x]:a,[m]:c}}}}}};var hc=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){let{placement:r,rects:n,platform:i,elements:s}=e,{apply:a=()=>{},...c}=gr(t,e),d=await i.detectOverflow(e,c),p=Pt(r),h=Je(r),f=br(r)==="y",{width:m,height:x}=n.floating,S,w;p==="top"||p==="bottom"?(S=p,w=h===(await(i.isRTL==null?void 0:i.isRTL(s.floating))?"start":"end")?"left":"right"):(w=p,S=h==="end"?"top":"bottom");let E=x-d.top-d.bottom,L=m-d.left-d.right,I=Nt(x-d[S],E),b=Nt(m-d[w],L),g=e.middlewareData.shift,v=!g,A=I,P=b;g!=null&&g.enabled.x&&(P=L),g!=null&&g.enabled.y&&(A=E),v&&!h&&(f?P=m-2*Ye(d.left,d.right):A=x-2*Ye(d.top,d.bottom)),await a({...e,availableWidth:P,availableHeight:A});let V=await i.getDimensions(s.floating);return m!==V.width||x!==V.height?{reset:{rects:!0}}:{}}}};function Go(){return typeof window<"u"}function Ft(t){return yc(t)?(t.nodeName||"").toLowerCase():"#document"}function Se(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function at(t){var e;return(e=(yc(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function yc(t){return Go()?t instanceof Node||t instanceof Se(t).Node:!1}function Ue(t){return Go()?t instanceof Element||t instanceof Se(t).Element:!1}function lt(t){return Go()?t instanceof HTMLElement||t instanceof Se(t).HTMLElement:!1}function mc(t){return!Go()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Se(t).ShadowRoot}function Jr(t){let{overflow:e,overflowX:r,overflowY:n,display:i}=$e(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&i!=="inline"&&i!=="contents"}function gc(t){return/^(table|td|th)$/.test(Ft(t))}function Qr(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}var uf=/transform|translate|scale|rotate|perspective|filter/,pf=/paint|layout|strict|content/,Mt=t=>!!t&&t!=="none",Fi;function xr(t){let e=Ue(t)?$e(t):t;return Mt(e.transform)||Mt(e.translate)||Mt(e.scale)||Mt(e.rotate)||Mt(e.perspective)||!Wo()&&(Mt(e.backdropFilter)||Mt(e.filter))||uf.test(e.willChange||"")||pf.test(e.contain||"")}function bc(t){let e=mt(t);for(;lt(e)&&!vr(e);){if(xr(e))return e;if(Qr(e))return null;e=mt(e)}return null}function Wo(){return Fi==null&&(Fi=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Fi}function vr(t){return/^(html|body|#document)$/.test(Ft(t))}function $e(t){return Se(t).getComputedStyle(t)}function eo(t){return Ue(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function mt(t){if(Ft(t)==="html")return t;let e=t.assignedSlot||t.parentNode||mc(t)&&t.host||at(t);return mc(e)?e.host:e}function xc(t){let e=mt(t);return vr(e)?(t.ownerDocument||t).body:lt(e)&&Jr(e)?e:xc(e)}function Vo(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=xc(t),s=i===((n=t.ownerDocument)==null?void 0:n.body),a=Se(i);if(s){let c=jo(a);return e.concat(a,a.visualViewport||[],Jr(i)?i:[],c&&r?Vo(c):[])}else return e.concat(i,Vo(i,[],r))}function jo(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Ec(t){let e=$e(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=lt(t),s=i?t.offsetWidth:r,a=i?t.offsetHeight:n,c=Xr(r)!==s||Xr(n)!==a;return c&&(r=s,n=a),{width:r,height:n,$:c}}function Cc(t){return Ue(t)?t:t.contextElement}function Sr(t){let e=Cc(t);if(!lt(e))return Xe(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:s}=Ec(e),a=(s?Xr(r.width):r.width)/n,c=(s?Xr(r.height):r.height)/i;return(!a||!Number.isFinite(a))&&(a=1),(!c||!Number.isFinite(c))&&(c=1),{x:a,y:c}}var ff=Xe(0);function Oc(t){let e=Se(t);return!Wo()||!e.visualViewport?ff:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function hf(t,e,r){return e===void 0&&(e=!1),!!r&&e&&r===Se(t)}function to(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),s=Cc(t),a=Xe(1);e&&(n?Ue(n)&&(a=Sr(n)):a=Sr(t));let c=hf(s,r,n)?Oc(s):Xe(0),d=(i.left+c.x)/a.x,p=(i.top+c.y)/a.y,h=i.width/a.x,f=i.height/a.y;if(s&&n){let m=Se(s),x=Ue(n)?Se(n):n,S=m,w=jo(S);for(;w&&x!==S;){let E=Sr(w),L=w.getBoundingClientRect(),I=$e(w),b=L.left+(w.clientLeft+parseFloat(I.paddingLeft))*E.x,g=L.top+(w.clientTop+parseFloat(I.paddingTop))*E.y;d*=E.x,p*=E.y,h*=E.x,f*=E.y,d+=b,p+=g,S=Se(w),w=jo(S)}}return Dt({width:h,height:f,x:d,y:p})}function Ko(t,e){let r=eo(t).scrollLeft;return e?e.left+r:to(at(t)).left+r}function Ac(t,e){let r=t.getBoundingClientRect(),n=r.left+e.scrollLeft-Ko(t,r),i=r.top+e.scrollTop;return{x:n,y:i}}function mf(t){let{elements:e,rect:r,offsetParent:n,strategy:i}=t,s=i==="fixed",a=at(n),c=e?Qr(e.floating):!1;if(n===a||c&&s)return r;let d={scrollLeft:0,scrollTop:0},p=Xe(1),h=Xe(0),f=lt(n);if((f||!s)&&((Ft(n)!=="body"||Jr(a))&&(d=eo(n)),f)){let x=to(n);p=Sr(n),h.x=x.x+n.clientLeft,h.y=x.y+n.clientTop}let m=a&&!f&&!s?Ac(a,d):Xe(0);return{width:r.width*p.x,height:r.height*p.y,x:r.x*p.x-d.scrollLeft*p.x+h.x+m.x,y:r.y*p.y-d.scrollTop*p.y+h.y+m.y}}function yf(t){return t.getClientRects?Array.from(t.getClientRects()):[]}function gf(t){let e=eo(t),r=t.ownerDocument.body,n=Ye(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Ye(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),s=-e.scrollLeft+Ko(t),a=-e.scrollTop;return $e(r).direction==="rtl"&&(s+=Ye(t.clientWidth,r.clientWidth)-n),{width:n,height:i,x:s,y:a}}var bf=25;function xf(t,e,r){r===void 0&&(r="viewport");let n=r==="layoutViewport",i=Se(t),s=at(t),a=i.visualViewport,c=s.clientWidth,d=s.clientHeight,p=0,h=0;if(a){let m=!Wo()||e==="fixed";n?m||(p=-a.offsetLeft,h=-a.offsetTop):(c=a.width,d=a.height,m&&(p=a.offsetLeft,h=a.offsetTop))}if(Ko(s)<=0){let m=s.ownerDocument,x=m.body,S=getComputedStyle(x),w=m.compatMode==="CSS1Compat"&&parseFloat(S.marginLeft)+parseFloat(S.marginRight)||0,E=Math.abs(s.clientWidth-x.clientWidth-w),L=getComputedStyle(s).scrollbarGutter==="stable both-edges"?E/2:E;L<=bf&&(c-=L)}return{width:c,height:d,x:p,y:h}}function vf(t,e){let r=to(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,s=Sr(t),a=t.clientWidth*s.x,c=t.clientHeight*s.y,d=i*s.x,p=n*s.y;return{width:a,height:c,x:d,y:p}}function vc(t,e,r){let n;if(e==="viewport"||e==="layoutViewport")n=xf(t,r,e);else if(e==="document")n=gf(at(t));else if(Ue(e))n=vf(e,r);else{let i=Oc(t);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return Dt(n)}function Sf(t,e){let r=e.get(t);if(r)return r;let n=Vo(t,[],!1).filter(c=>Ue(c)&&Ft(c)!=="body"),i=null,s=$e(t).position==="fixed",a=s?mt(t):t;for(;Ue(a)&&!vr(a);){let c=$e(a),d=xr(a),p=i?i.position:s?"fixed":"";!d&&(p==="fixed"||p==="absolute"&&c.position==="static")?n=n.filter(f=>f!==a):i=c,a=mt(a)}return e.set(t,n),n}function Ef(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,a=[...r==="clippingAncestors"?Qr(e)?[]:Sf(e,this._c):[].concat(r),n],c=vc(e,a[0],i),d=c.top,p=c.right,h=c.bottom,f=c.left;for(let m=1;m<a.length;m++){let x=vc(e,a[m],i);d=Ye(x.top,d),p=Nt(x.right,p),h=Nt(x.bottom,h),f=Ye(x.left,f)}return{width:p-f,height:h-d,x:f,y:d}}function Cf(t){let{width:e,height:r}=Ec(t);return{width:e,height:r}}function Of(t,e,r){let n=lt(e),i=at(e),s=r==="fixed",a=to(t,!0,s,e),c={scrollLeft:0,scrollTop:0},d=Xe(0);if((n||!s)&&((Ft(e)!=="body"||Jr(i))&&(c=eo(e)),n)){let m=to(e,!0,s,e);d.x=m.x+e.clientLeft,d.y=m.y+e.clientTop}!n&&i&&(d.x=Ko(i));let p=i&&!n&&!s?Ac(i,c):Xe(0),h=a.left+c.scrollLeft-d.x-p.x,f=a.top+c.scrollTop-d.y-p.y;return{x:h,y:f,width:a.width,height:a.height}}function Ui(t){return $e(t).position==="static"}function Sc(t,e){if(!lt(t)||$e(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return at(t)===r&&(r=r.ownerDocument.body),r}function wc(t,e){let r=Se(t);if(Qr(t))return r;if(!lt(t)){let i=mt(t);for(;i&&!vr(i);){if(Ue(i)&&!Ui(i))return i;i=mt(i)}return r}let n=Sc(t,e);for(;n&&gc(n)&&Ui(n);)n=Sc(n,e);return n&&vr(n)&&Ui(n)&&!xr(n)?r:n||bc(t)||r}var Af=async function(t){let e=this.getOffsetParent||wc,r=this.getDimensions,n=await r(t.floating);return{reference:Of(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function wf(t){return $e(t).direction==="rtl"}var Er={convertOffsetParentRelativeRectToViewportRelativeRect:mf,getDocumentElement:at,getClippingRect:Ef,getOffsetParent:wc,getElementRects:Af,getClientRects:yf,getDimensions:Cf,getScale:Sr,isElement:Ue,isRTL:wf};var _c=pc,$i=uc,Rc=fc;var Tc=hc;var Bi=(t,e,r)=>{let n=new Map,i=r??{},s={...Er,...i.platform,_c:n};return dc(t,e,{...i,platform:s})};function Hi(t){return _f(t)}function zi(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function _f(t){for(let e=t;e;e=zi(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=zi(t);e;e=zi(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||xr(r)||e.tagName==="BODY"))return e}return null}async function Vi(t,e,r){let n;return typeof r=="object"?n=r:n={placement:r},Bi(t,e,{strategy:n.strategy,platform:{...Er,getOffsetParent:i=>Er.getOffsetParent(i,Hi)},middleware:[Rc({crossAxis:!0}),$i({allowedPlacements:[n.placement]})]})}async function Rf(t,e,r,n,i,s,a){let c,d;return typeof r=="object"?(c=r.placement,n=r.allowedPlacements,i=r.strategy,s=r.maxHeightCssVariable,d=r.maxWidthCssVariable,a=r.offsetValue):c=r,Bi(t,e,{placement:c,strategy:i,platform:{...Er,getOffsetParent:p=>Er.getOffsetParent(p,Hi)},middleware:[_c(a??4),$i({allowedPlacements:n}),Tc({apply({availableHeight:p,availableWidth:h,elements:f}){typeof s=="string"&&(s=`var(${s})`),s?f.floating.style.maxHeight=`min(${Math.max(0,p)}px, ${s})`:f.floating.style.maxHeight=`${Math.max(0,p)}px`,typeof d=="string"&&(d=`var(${d})`),d?f.floating.style.maxWidth=`min(${Math.max(0,h)}px, ${d})`:f.floating.style.maxWidth=`${Math.max(0,h)}px`}})]})}var Wi={};$(Wi,{isSlotEmptyOrWithoutContent:()=>Tf});var Tf=t=>t?t.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 Xi={};$(Xi,{FtdsBase:()=>Yi,toFtdsBase:()=>Mc});var qi={};$(qi,{ExportpartsUpdatedEvent:()=>Ut,FtLitElement:()=>U});var ji={};$(ji,{ScopedRegistryLitElement:()=>ro});var ro=class extends nt{get scopedRegistryConstructor(){return this.constructor}createRenderRoot(){let e=this.scopedRegistryConstructor;e.elementDefinitions&&!e.registry&&(e.registry=new CustomElementRegistry,e.defineScopedElements(e.elementDefinitions));let r={...e.shadowRootOptions,customElements:e.registry},n=this.renderOptions.creationScope=this.attachShadow(r);return Ur(n,e.elementStyles),n}static canDefineScopedElement(e){return!!this.registry&&!this.registry.get(e)}static defineScopedElements(e){Object.entries(e).forEach(([r,n])=>this.defineScopedElement(r,n))}static defineScopedElement(e,r){Wr(e)(r),this.canDefineScopedElement(e)&&this.registry.define(e,r)}canDefineScopedElement(e){return this.scopedRegistryConstructor.canDefineScopedElement(e)}defineScopedElements(e){this.scopedRegistryConstructor.defineScopedElements(e)}defineScopedElement(e,r){this.scopedRegistryConstructor.defineScopedElement(e,r)}};var Zi={};$(Zi,{shadowQuerySelector:()=>Ki,shadowQuerySelectorAll:()=>Lf});function Ki(t,e,...r){var n;let i=t.querySelector(e);for(let s of r)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(s);return i}function Lf(t,e,...r){let n=[...t.querySelectorAll(e)];for(let i of r)n=n.flatMap(s=>{var a,c;return[...(c=(a=s.shadowRoot)===null||a===void 0?void 0:a.querySelectorAll(i))!==null&&c!==void 0?c:[]]});return n}var Cr=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Nc,Lc=Symbol("constructorPrototype"),kc=Symbol("constructorName"),Pc=Symbol("exportpartsDebouncer"),Ic=Symbol("dynamicDependenciesLoaded"),Ut=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};Ut.eventName="exportparts-updated";var U=class extends ro{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Nc]=new J(5),this.scheduleExportpartsUpdate=()=>{var e,r,n;(!((e=this.exportpartsPrefix)===null||e===void 0)&&e.trim()||(n=(r=this.exportpartsPrefixes)===null||r===void 0?void 0:r.length)!==null&&n!==void 0&&n)&&this[Pc].run(()=>{var i,s;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((s=this.exportpartsPrefixes)===null||s===void 0?void 0:s.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[kc]=this.constructor.name,this[Lc]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[kc]&&Object.setPrototypeOf(this,this[Lc])}connectedCallback(){var e;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 r=this.constructor;r[Ic]||(r[Ic]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(Ut.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(Ut.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(e){super.updated(e),this.updateComplete.then(()=>{this.contentAvailableCallback(e),this.focusElementToFocus(e),this.applyCustomStylesheet(e),this.scheduleExportpartsUpdate(),e.has("exportparts")&&this.dispatchEvent(new Ut)})}contentAvailableCallback(e){}focusElementToFocus(e){if(e.has("elementToFocus")&&this.elementToFocus!=null){let{element:r,selector:n,shadowPath:i}=this.elementToFocus;if(n!=null){let s=[...i??[],n];r=Ki(this.shadowRoot,...s)}r?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||r?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(e){var r,n,i;if(((n=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(s=>s.remove()),this.useAdoptedStyleSheets){if(e.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(s){console.error(s,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let s=document.createElement("style");s.classList.add("ft-lit-element--custom-stylesheet"),s.innerHTML=this.customStylesheet,this.shadowRoot.append(s)}}setExportpartsAttribute(e){var r,n,i,s,a,c;let d=m=>m!=null&&m.trim().length>0,p=e.filter(d).map(m=>m.trim());if(p.length===0){this.exportparts=void 0;return}let h=new Set;for(let m of(s=(r=this.shadowRoot)===null||r===void 0?void 0:r.querySelectorAll("[part],[exportparts]"))!==null&&s!==void 0?s:[]){let x=(a=(n=m.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],S=(c=(i=m.getAttribute("exportparts"))===null||i===void 0?void 0:i.split(",").map(E=>E.split(":")[1]))!==null&&c!==void 0?c:[],w=[...x,...S].filter(d).map(E=>E.trim());for(let E of w)h.add(E)}if(h.size===0){this.exportparts=void 0;return}let f=[...h.values()].flatMap(m=>p.map(x=>`${m}:${x}--${m}`));this.exportparts=[...this.part,...f].join(", ")}};Nc=Pc;Cr([y()],U.prototype,"exportpartsPrefix",void 0);Cr([ne([])],U.prototype,"exportpartsPrefixes",void 0);Cr([y({reflect:!0})],U.prototype,"exportparts",void 0);Cr([y()],U.prototype,"customStylesheet",void 0);Cr([y()],U.prototype,"elementToFocus",void 0);Cr([N()],U.prototype,"useAdoptedStyleSheets",void 0);var Dc=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Mc=pe(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=Yr.medium,this.family=qr.neutral}getDesignSystemBaseClasses(){return{[_i(this.family)]:!0,[Ri(this.size)]:!0}}}return Dc([y()],e.prototype,"size",void 0),Dc([y()],e.prototype,"family",void 0),e}),Yi=class extends Mc(U){};var Fc={};var es={};$(es,{highlightHtml:()=>Qi,highlightHtmlColorCssVariable:()=>Uc,highlightHtmlStyles:()=>If});var $t=class t{constructor(e,r=!0,n=[],i=5e3){this.ctx=e,this.iframes=r,this.exclude=n,this.iframesTimeout=i}static matches(e,r){let n=typeof r=="string"?[r]:r,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let s=!1;return n.every(a=>i.call(e,a)?(s=!0,!1):!0),s}else return!1}getContexts(){let e,r=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{let i=r.filter(s=>s.contains(n)).length>0;r.indexOf(n)===-1&&!i&&r.push(n)}),r}getIframeContents(e,r,n=()=>{}){let i;try{let s=e.contentWindow;if(i=s.document,!s||!i)throw new Error("iframe inaccessible")}catch{n()}i&&r(i)}isIframeBlank(e){let r="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===r&&n!==r&&n}observeIframeLoad(e,r,n){let i=!1,s=null,a=()=>{if(!i){i=!0,clearTimeout(s);try{this.isIframeBlank(e)||(e.removeEventListener("load",a),this.getIframeContents(e,r,n))}catch{n()}}};e.addEventListener("load",a),s=setTimeout(a,this.iframesTimeout)}onIframeReady(e,r,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,r,n):this.getIframeContents(e,r,n):this.observeIframeLoad(e,r,n)}catch{n()}}waitForIframes(e,r){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||r()})},i=>{i||r()})}forEachIframe(e,r,n,i=()=>{}){let s=e.querySelectorAll("iframe"),a=s.length,c=0;s=Array.prototype.slice.call(s);let d=()=>{--a<=0&&i(c)};a||d(),s.forEach(p=>{t.matches(p,this.exclude)?d():this.onIframeReady(p,h=>{r(p)&&(c++,n(h)),d()},d)})}createIterator(e,r,n){return document.createNodeIterator(e,r,n,!1)}createInstanceOnIframe(e){return new t(e.querySelector("html"),this.iframes)}compareNodeIframe(e,r,n){let i=e.compareDocumentPosition(n),s=Node.DOCUMENT_POSITION_PRECEDING;if(i&s)if(r!==null){let a=r.compareDocumentPosition(n),c=Node.DOCUMENT_POSITION_FOLLOWING;if(a&c)return!0}else return!0;return!1}getIteratorNode(e){let r=e.previousNode(),n;return r===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:r,node:n}}checkIframeFilter(e,r,n,i){let s=!1,a=!1;return i.forEach((c,d)=>{c.val===n&&(s=d,a=c.handled)}),this.compareNodeIframe(e,r,n)?(s===!1&&!a?i.push({val:n,handled:!0}):s!==!1&&!a&&(i[s].handled=!0),!0):(s===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(e,r,n,i){e.forEach(s=>{s.handled||this.getIframeContents(s.val,a=>{this.createInstanceOnIframe(a).forEachNode(r,n,i)})})}iterateThroughNodes(e,r,n,i,s){let a=this.createIterator(r,e,i),c=[],d=[],p,h,f=()=>({prevNode:h,node:p}=this.getIteratorNode(a),p);for(;f();)this.iframes&&this.forEachIframe(r,m=>this.checkIframeFilter(p,h,m,c),m=>{this.createInstanceOnIframe(m).forEachNode(e,x=>d.push(x),i)}),d.push(p);d.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(c,e,n,i),s()}forEachNode(e,r,n,i=()=>{}){let s=this.getContexts(),a=s.length;a||i(),s.forEach(c=>{let d=()=>{this.iterateThroughNodes(e,c,r,n,()=>{--a<=0&&i()})};this.iframes?this.waitForIframes(c,d):d()})}};var oo=class{constructor(e){this.ctx=e,this.ie=!1;let r=window.navigator.userAgent;(r.indexOf("MSIE")>-1||r.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new $t(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,r="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[r]=="function"&&n[r](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){let r=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let s in r)if(r.hasOwnProperty(s)){let a=r[s],c=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a);c!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(c)}|${this.escapeStr(d)})`,`gm${n}`),i+`(${this.processSynomyms(c)}|${this.processSynomyms(d)})`+i))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,r=>r.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,r=>r.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let r=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,r?"[\\S\\s]?":"\\S?").replace(/\u0002/g,r?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(r,n,i)=>{let s=i.charAt(n+1);return/[(|)\\]/.test(s)||s===""?r:r+"\0"})}createJoinersRegExp(e){let r=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&r.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&r.push("\\u00ad\\u200b\\u200c\\u200d"),r.length?e.split(/\u0000+/).join(`[${r.join("")}]*`):e}createDiacriticsRegExp(e){let r=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return e.split("").forEach(s=>{n.every(a=>{if(a.indexOf(s)!==-1){if(i.indexOf(a)>-1)return!1;e=e.replace(new RegExp(`[${a}]`,`gm${r}`),`[${a}]`),i.push(a)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){let r="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,s=typeof n=="string"?[]:n.limiters,a="";switch(s.forEach(c=>{a+=`|${this.escapeStr(c)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return a="\\s"+(a||this.escapeStr(r)),`()([^${a}]*${e}[^${a}]*)`;case"exactly":return`(^|\\s${a})(${e})(?=$|\\s${a})`}}getSeparatedKeywords(e){let r=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&r.indexOf(i)===-1&&r.push(i)}):n.trim()&&r.indexOf(n)===-1&&r.push(n)}),{keywords:r.sort((n,i)=>i.length-n.length),length:r.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];let r=[],n=0;return e.sort((i,s)=>i.start-s.start).forEach(i=>{let{start:s,end:a,valid:c}=this.callNoMatchOnInvalidRanges(i,n);c&&(i.start=s,i.length=a-s,r.push(i),n=a)}),r}callNoMatchOnInvalidRanges(e,r){let n,i,s=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-r>0&&i-n>0?s=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:i,valid:s}}checkWhitespaceRanges(e,r,n){let i,s=!0,a=n.length,c=r-a,d=parseInt(e.start,10)-c;return d=d>a?a:d,i=d+parseInt(e.length,10),i>a&&(i=a,this.log(`End range automatically set to the max value of ${a}`)),d<0||i-d<0||d>a||i>a?(s=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(d,i).replace(/\s+/g,"")===""&&(s=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:d,end:i,valid:s}}getTextNodes(e){let r="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:r.length,end:(r+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:r,nodes:n})})}matchesExclude(e){return $t.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,r,n){let i=this.opt.element?this.opt.element:"mark",s=e.splitText(r),a=s.splitText(n-r),c=document.createElement(i);return c.setAttribute("data-markjs","true"),this.opt.className&&c.setAttribute("class",this.opt.className),c.textContent=s.textContent,s.parentNode.replaceChild(c,s),a}wrapRangeInMappedTextNode(e,r,n,i,s){e.nodes.every((a,c)=>{let d=e.nodes[c+1];if(typeof d>"u"||d.start>r){if(!i(a.node))return!1;let p=r-a.start,h=(n>a.end?a.end:n)-a.start,f=e.value.substr(0,a.start),m=e.value.substr(h+a.start);if(a.node=this.wrapRangeInTextNode(a.node,p,h),e.value=f+m,e.nodes.forEach((x,S)=>{S>=c&&(e.nodes[S].start>0&&S!==c&&(e.nodes[S].start-=h),e.nodes[S].end-=h)}),n-=h,s(a.node.previousSibling,a.start),n>a.end)r=a.end;else return!1}return!0})}wrapMatches(e,r,n,i,s){let a=r===0?0:r+1;this.getTextNodes(c=>{c.nodes.forEach(d=>{d=d.node;let p;for(;(p=e.exec(d.textContent))!==null&&p[a]!=="";){if(!n(p[a],d))continue;let h=p.index;if(a!==0)for(let f=1;f<a;f++)h+=p[f].length;d=this.wrapRangeInTextNode(d,h,h+p[a].length),i(d.previousSibling),e.lastIndex=0}}),s()})}wrapMatchesAcrossElements(e,r,n,i,s){let a=r===0?0:r+1;this.getTextNodes(c=>{let d;for(;(d=e.exec(c.value))!==null&&d[a]!=="";){let p=d.index;if(a!==0)for(let f=1;f<a;f++)p+=d[f].length;let h=p+d[a].length;this.wrapRangeInMappedTextNode(c,p,h,f=>n(d[a],f),(f,m)=>{e.lastIndex=m,i(f)})}s()})}wrapRangeFromIndex(e,r,n,i){this.getTextNodes(s=>{let a=s.value.length;e.forEach((c,d)=>{let{start:p,end:h,valid:f}=this.checkWhitespaceRanges(c,a,s.value);f&&this.wrapRangeInMappedTextNode(s,p,h,m=>r(m,c,s.value.substring(p,h),d),m=>{n(m,c)})}),i()})}unwrapMatches(e){let r=e.parentNode,n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));r.replaceChild(n,e),this.ie?this.normalizeTextNode(r):r.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,r){this.opt=r,this.log(`Searching with expression "${e}"`);let n=0,i="wrapMatches",s=a=>{n++,this.opt.each(a)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(a,c)=>this.opt.filter(c,a,n),s,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,r){this.opt=r;let n=0,i="wrapMatches",{keywords:s,length:a}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),c=this.opt.caseSensitive?"":"i",d=p=>{let h=new RegExp(this.createRegExp(p),`gm${c}`),f=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,x)=>this.opt.filter(x,p,n,f),m=>{f++,n++,this.opt.each(m)},()=>{f===0&&this.opt.noMatch(p),s[a-1]===p?this.opt.done(n):d(s[s.indexOf(p)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),a===0?this.opt.done(n):d(s[0])}markRanges(e,r){this.opt=r;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(s,a,c,d)=>this.opt.filter(s,a,c,d),(s,a)=>{n++,this.opt.each(s,a)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let r=this.opt.element?this.opt.element:"*";r+="[data-markjs]",this.opt.className&&(r+=`.${this.opt.className}`),this.log(`Removal selector "${r}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=$t.matches(n,r),s=this.matchesExclude(n);return!i||s?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Ji(t){let e=new oo(t);return this.mark=(r,n)=>(e.mark(r,n),this),this.markRegExp=(r,n)=>(e.markRegExp(r,n),this),this.markRanges=(r,n)=>(e.markRanges(r,n),this),this.unmark=r=>(e.unmark(r),this),this}var kf=Ji,Uc=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),If=R`
5
5
  .highlight-html-match {
6
6
  background: ${Uc};
7
7
  }
@@ -44,7 +44,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
44
44
  input::-webkit-search-results-decoration {
45
45
  display: none;
46
46
  }
47
- `;var $c={};var ns={};$(ns,{ParametrizedLabelResolver:()=>io});var io=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var n,i;e=this.resolvePluralKey(e,r);let s=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return t.replaceParameters(s,...r)}static replaceParameters(e,...r){return r.forEach((n,i)=>e=e.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(s,a)=>t.formatValue(n,a))),e}resolvePluralKey(e,r){for(let n of r)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let n=i=>r?.includes("date")?e.toLocaleDateString(i):r?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var Os={};$(Os,{FtCommandQueue:()=>so,FtLitElementRedux:()=>Bt,FtReduxStore:()=>Ht,FtStateManager:()=>yo,ReduxWatcher:()=>mn,clearAllStores:()=>Lh,isFtReduxStore:()=>Ar,redux:()=>Or,reduxEventListener:()=>Df,reduxReactive:()=>Pf,watch:()=>kh,withRedux:()=>Bc});var Pf=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},Or=t=>{let e=t??{};return(r,n)=>{var i;let s={hasChanged:Ie,attribute:!1,...e};y(s)(r,n);let a=r.constructor;a.reduxProperties=new Map(a.reduxProperties),a.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:(c=>c[n]),store:e.store})}},Df=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)};var so=class{constructor(){this.queue=[]}add(e,r=!1){r&&this.clear(e.type),this.queue.push(e)}consume(e){let r=this.queue.find(n=>n.type===e);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}clear(e){typeof e=="string"?this.queue=this.queue.filter(r=>r.type!==e):this.queue=this.queue.filter(r=>!e.test(r.type))}};function Ar(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var ao=Symbol("internalReduxEventsUnsubscribers"),yt=Symbol("internalStoresUnsubscribers"),$t=Symbol("internalStores"),Bc=pe(Symbol("withRedux"),function(t){var e,r,n;class i extends t{constructor(){super(...arguments),this[e]=new Map,this[r]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(a){super.willUpdate(a),[...this.reduxConstructor.reduxReactiveProperties].some(c=>a.has(c))&&this.updateFromStores()}getUnnamedStore(){if(this[$t].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[$t].values()][0]}getStore(a){return a==null?this.getUnnamedStore():this[$t].get(a)}addStore(a,c){var d;c=(d=c??a.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(c),this[$t].set(c,a),this.subscribeToStore(c,a),this.updateFromStores()}removeStore(a){let c=typeof a=="string"?a:a.name;this.unsubscribeFromStore(c),this[$t].delete(c)}setupStores(){this.unsubscribeFromStores(),this[$t].forEach((a,c)=>this.subscribeToStore(c,a)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((a,c)=>{let d=this.constructor.getPropertyOptions(c);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:c)){let p=this.getStore(a.store);p&&(a.store?this[yt].has(a.store):this[yt].size>0)&&(this[c]=a.selector(p.getState(),this))}})}subscribeToStore(a,c){var d,p;this[yt].set(a,c.subscribe(()=>this.updateFromStores())),this[ao].set(a,[]),Ar(c)&&(!((d=c.deprecatedKeys)===null||d===void 0)&&d.length&&this.reduxConstructor.reduxProperties.forEach((h,f)=>{this.getStore(h.store)===c&&c.deprecatedKeys.includes(f)&&console.warn("Element",this,"is subscribed to deprecated key",f,"in store",c.name)}),c.eventBus&&((p=this.reduxConstructor.reduxEventListeners)===null||p===void 0||p.forEach((h,f)=>{if(typeof this[f]=="function"&&(!h.store||c.name===h.store)){let m=x=>this[f](x);c.addEventListener(h.eventName,m),this[ao].get(a).push(()=>c.removeEventListener(h.eventName,m))}}))),this.onStoreAvailable(a)}unsubscribeFromStores(){this[yt].forEach((a,c)=>this.unsubscribeFromStore(c))}unsubscribeFromStore(a){var c;this[yt].has(a)&&this[yt].get(a)(),this[yt].delete(a),(c=this[ao].get(a))===null||c===void 0||c.forEach(d=>d()),this[ao].delete(a)}onStoreAvailable(a){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=yt,r=$t,n=ao,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),Bt=class extends Bc(U){};function fe(t){return`Minified Redux error #${t}; visit https://redux.js.org/Errors?code=${t} for the full message or use the non-minified dev environment for full errors. `}var Mf=typeof Symbol=="function"&&Symbol.observable||"@@observable",zc=Mf,is=()=>Math.random().toString(36).substring(7).split("").join("."),Ff={INIT:`@@redux/INIT${is()}`,REPLACE:`@@redux/REPLACE${is()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${is()}`},Zo=Ff;function qo(t){if(typeof t!="object"||t===null)return!1;let e=t;for(;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e||Object.getPrototypeOf(t)===null}function ss(t,e,r){if(typeof t!="function")throw new Error(fe(2));if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(fe(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(fe(1));return r(ss)(t,e)}let n=t,i=e,s=new Map,a=s,c=0,d=!1;function p(){a===s&&(a=new Map,s.forEach((E,T)=>{a.set(T,E)}))}function h(){if(d)throw new Error(fe(3));return i}function f(E){if(typeof E!="function")throw new Error(fe(4));if(d)throw new Error(fe(5));let T=!0;p();let I=c++;return a.set(I,E),function(){if(T){if(d)throw new Error(fe(6));T=!1,p(),a.delete(I),s=null}}}function m(E){if(!qo(E))throw new Error(fe(7));if(typeof E.type>"u")throw new Error(fe(8));if(typeof E.type!="string")throw new Error(fe(17));if(d)throw new Error(fe(9));try{d=!0,i=n(i,E)}finally{d=!1}return(s=a).forEach(I=>{I()}),E}function x(E){if(typeof E!="function")throw new Error(fe(10));n=E,m({type:Zo.REPLACE})}function S(){let E=f;return{subscribe(T){if(typeof T!="object"||T===null)throw new Error(fe(11));function I(){let g=T;g.next&&g.next(h())}return I(),{unsubscribe:E(I)}},[zc](){return this}}}return m({type:Zo.INIT}),{dispatch:m,subscribe:f,getState:h,replaceReducer:x,[zc]:S}}function Uf(t){Object.keys(t).forEach(e=>{let r=t[e];if(typeof r(void 0,{type:Zo.INIT})>"u")throw new Error(fe(12));if(typeof r(void 0,{type:Zo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(fe(13))})}function as(t){let e=Object.keys(t),r={};for(let a=0;a<e.length;a++){let c=e[a];typeof t[c]=="function"&&(r[c]=t[c])}let n=Object.keys(r),i,s;try{Uf(r)}catch(a){s=a}return function(c={},d){if(s)throw s;let p=!1,h={};for(let f=0;f<n.length;f++){let m=n[f],x=r[m],S=c[m],w=x(S,d);if(typeof w>"u"){let E=d&&d.type;throw new Error(fe(14))}h[m]=w,p=p||w!==S}return p=p||n.length!==Object.keys(c).length,p?h:c}}function lo(...t){return t.length===0?e=>e:t.length===1?t[0]:t.reduce((e,r)=>(...n)=>e(r(...n)))}function Hc(...t){return e=>(r,n)=>{let i=e(r,n),s=()=>{throw new Error(fe(15))},a={getState:i.getState,dispatch:(d,...p)=>s(d,...p)},c=t.map(d=>d(a));return s=lo(...c)(i.dispatch),{...i,dispatch:s}}}function Vc(t){return qo(t)&&"type"in t&&typeof t.type=="string"}var Jc=Symbol.for("immer-nothing"),Gc=Symbol.for("immer-draftable"),me=Symbol.for("immer-state");function Be(t,...e){throw new Error(`[Immer] minified error nr: ${t}. Full error at: https://bit.ly/3cXEKWf`)}var we=Object,_r=we.getPrototypeOf,Qo="constructor",sn="prototype",us="configurable",en="enumerable",Xo="writable",co="value",Qe=t=>!!t&&!!t[me];function _e(t){return t?Qc(t)||ln(t)||!!t[Gc]||!!t[Qo]?.[Gc]||cn(t)||ho(t):!1}var $f=we[sn][Qo].toString(),Wc=new WeakMap;function Qc(t){if(!t||!xs(t))return!1;let e=_r(t);if(e===null||e===we[sn])return!0;let r=we.hasOwnProperty.call(e,Qo)&&e[Qo];if(r===Object)return!0;if(!wr(r))return!1;let n=Wc.get(r);return n===void 0&&(n=Function.toString.call(r),Wc.set(r,n)),n===$f}function an(t,e,r=!0){fo(t)===0?(r?Reflect.ownKeys(t):we.keys(t)).forEach(i=>{e(i,t[i],t)}):t.forEach((n,i)=>e(i,n,t))}function fo(t){let e=t[me];return e?e.type_:ln(t)?1:cn(t)?2:ho(t)?3:0}var ls=(t,e,r=fo(t))=>r===2?t.has(e):we[sn].hasOwnProperty.call(t,e),ps=(t,e,r=fo(t))=>r===2?t.get(e):t[e],tn=(t,e,r,n=fo(t))=>{n===2?t.set(e,r):n===3?t.add(r):t[e]=r};function Bf(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}var ln=Array.isArray,cn=t=>t instanceof Map,ho=t=>t instanceof Set,xs=t=>typeof t=="object",wr=t=>typeof t=="function",cs=t=>typeof t=="boolean";function zf(t){let e=+t;return Number.isInteger(e)&&String(e)===t}var ct=t=>t.copy_||t.base_;var vs=t=>t.modified_?t.copy_:t.base_;function fs(t,e){if(cn(t))return new Map(t);if(ho(t))return new Set(t);if(ln(t))return Array[sn].slice.call(t);let r=Qc(t);if(e===!0||e==="class_only"&&!r){let n=we.getOwnPropertyDescriptors(t);delete n[me];let i=Reflect.ownKeys(n);for(let s=0;s<i.length;s++){let a=i[s],c=n[a];c[Xo]===!1&&(c[Xo]=!0,c[us]=!0),(c.get||c.set)&&(n[a]={[us]:!0,[Xo]:!0,[en]:c[en],[co]:t[a]})}return we.create(_r(t),n)}else{let n=_r(t);if(n!==null&&r)return{...t};let i=we.create(n);return we.assign(i,t)}}function dn(t,e=!1){return un(t)||Qe(t)||!_e(t)||(fo(t)>1&&we.defineProperties(t,{set:Yo,add:Yo,clear:Yo,delete:Yo}),we.freeze(t),e&&an(t,(r,n)=>{dn(n,!0)},!1)),t}function Hf(){Be(2)}var Yo={[co]:Hf};function un(t){return t===null||!xs(t)?!0:we.isFrozen(t)}var rn="MapSet",hs="Patches",jc="ArrayMethods",ed={};function zt(t){let e=ed[t];return e||Be(0,t),e}var Kc=t=>!!ed[t];var uo,td=()=>uo,Vf=(t,e)=>({drafts_:[],parent_:t,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:Kc(rn)?zt(rn):void 0,arrayMethodsPlugin_:Kc(jc)?zt(jc):void 0});function Zc(t,e){e&&(t.patchPlugin_=zt(hs),t.patches_=[],t.inversePatches_=[],t.patchListener_=e)}function ms(t){ys(t),t.drafts_.forEach(Gf),t.drafts_=null}function ys(t){t===uo&&(uo=t.parent_)}var qc=t=>uo=Vf(uo,t);function Gf(t){let e=t[me];e.type_===0||e.type_===1?e.revoke_():e.revoked_=!0}function Yc(t,e){e.unfinalizedDrafts_=e.drafts_.length;let r=e.drafts_[0];if(t!==void 0&&t!==r){r[me].modified_&&(ms(e),Be(4)),_e(t)&&(t=Xc(e,t));let{patchPlugin_:i}=e;i&&i.generateReplacementPatches_(r[me].base_,t,e)}else t=Xc(e,r);return Wf(e,t,!0),ms(e),e.patches_&&e.patchListener_(e.patches_,e.inversePatches_),t!==Jc?t:void 0}function Xc(t,e){if(un(e))return e;let r=e[me];if(!r)return on(e,t.handledSet_,t);if(!pn(r,t))return e;if(!r.modified_)return r.base_;if(!r.finalized_){let{callbacks_:n}=r;if(n)for(;n.length>0;)n.pop()(t);nd(r,t)}return r.copy_}function Wf(t,e,r=!1){!t.parent_&&t.immer_.autoFreeze_&&t.canAutoFreeze_&&dn(e,r)}function rd(t){t.finalized_=!0,t.scope_.unfinalizedDrafts_--}var pn=(t,e)=>t.scope_===e,jf=[];function od(t,e,r,n){let i=ct(t),s=t.type_;if(n!==void 0&&ps(i,n,s)===e){tn(i,n,r,s);return}if(!t.draftLocations_){let c=t.draftLocations_=new Map;an(i,(d,p)=>{if(Qe(p)){let h=c.get(p)||[];h.push(d),c.set(p,h)}})}let a=t.draftLocations_.get(e)??jf;for(let c of a)tn(i,c,r,s)}function Kf(t,e,r){t.callbacks_.push(function(i){let s=e;if(!s||!pn(s,i))return;i.mapSetPlugin_?.fixSetContents(s);let a=vs(s);od(t,s.draft_??s,a,r),nd(s,i)})}function nd(t,e){if(t.modified_&&!t.finalized_&&(t.type_===3||t.type_===1&&t.allIndicesReassigned_||(t.assigned_?.size??0)>0)){let{patchPlugin_:n}=e;if(n){let i=n.getPath(t);i&&n.generatePatches_(t,i,e)}rd(t)}}function Zf(t,e,r){let{scope_:n}=t;if(Qe(r)){let i=r[me];pn(i,n)&&i.callbacks_.push(function(){Jo(t);let a=vs(i);od(t,r,a,e)})}else _e(r)&&t.callbacks_.push(function(){let s=ct(t);t.type_===3?s.has(r)&&on(r,n.handledSet_,n):ps(s,e,t.type_)===r&&n.drafts_.length>1&&(t.assigned_.get(e)??!1)===!0&&t.copy_&&on(ps(t.copy_,e,t.type_),n.handledSet_,n)})}function on(t,e,r){return!r.immer_.autoFreeze_&&r.unfinalizedDrafts_<1||Qe(t)||e.has(t)||!_e(t)||un(t)||(e.add(t),an(t,(n,i)=>{if(Qe(i)){let s=i[me];if(pn(s,r)){let a=vs(s);tn(t,n,a,t.type_),rd(s)}}else _e(i)&&on(i,e,r)})),t}function qf(t,e){let r=ln(t),n={type_:r?1:0,scope_:e?e.scope_:td(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:e,base_:t,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},i=n,s=nn;r&&(i=[n],s=po);let{revoke:a,proxy:c}=Proxy.revocable(i,s);return n.draft_=c,n.revoke_=a,[c,n]}var nn={get(t,e){if(e===me)return t;let r=t.scope_.arrayMethodsPlugin_,n=t.type_===1&&typeof e=="string";if(n&&r?.isArrayOperationMethod(e))return r.createMethodInterceptor(t,e);let i=ct(t);if(!ls(i,e,t.type_))return Xf(t,i,e);let s=i[e];if(t.finalized_||!_e(s)||n&&t.operationMethod&&r?.isMutatingArrayMethod(t.operationMethod)&&zf(e))return s;if(s===ds(t.base_,e)||Yf(t,e,s)){Jo(t);let a=t.type_===1?+e:e,c=bs(t.scope_,s,t,a);return t.copy_[a]=c}return s},has(t,e){return e in ct(t)},ownKeys(t){return Reflect.ownKeys(ct(t))},set(t,e,r){let n=id(ct(t),e);if(n?.set)return n.set.call(t.draft_,r),!0;if(!t.modified_){let i=ds(ct(t),e),s=i?.[me];if(s&&s.base_===r)return t.copy_[e]=r,t.assigned_.delete(e),!0;if(Bf(r,i)&&(r!==void 0||ls(t.base_,e,t.type_)))return!0;Jo(t),gs(t)}return t.copy_[e]===r&&(r!==void 0||ls(t.copy_,e,t.type_))||Number.isNaN(r)&&Number.isNaN(t.copy_[e])||(t.copy_[e]=r,t.assigned_.set(e,!0),Zf(t,e,r)),!0},deleteProperty(t,e){return Jo(t),ds(t.base_,e)!==void 0||e in t.base_?(t.assigned_.set(e,!1),gs(t)):t.assigned_.delete(e),t.copy_&&delete t.copy_[e],!0},getOwnPropertyDescriptor(t,e){let r=ct(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{[Xo]:!0,[us]:t.type_!==1||e!=="length",[en]:n[en],[co]:r[e]}},defineProperty(){Be(11)},getPrototypeOf(t){return _r(t.base_)},setPrototypeOf(){Be(12)}},po={};for(let t in nn){let e=nn[t];po[t]=function(){let r=arguments;return r[0]=r[0][0],e.apply(this,r)}}po.deleteProperty=function(t,e){return po.set.call(this,t,e,void 0)};po.set=function(t,e,r){return nn.set.call(this,t[0],e,r,t[0])};function ds(t,e){let r=t[me];return(r?ct(r):t)[e]}function Yf(t,e,r){return t.type_!==1||!t.allIndicesReassigned_||!_e(r)||r[me]?!1:t.baseRefs_.has(r)}function Xf(t,e,r){let n=id(e,r);return n?co in n?n[co]:n.get?.call(t.draft_):void 0}function id(t,e){if(!(e in t))return;let r=_r(t);for(;r;){let n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=_r(r)}}function gs(t){t.modified_||(t.modified_=!0,t.parent_&&gs(t.parent_))}function Jo(t){t.copy_||(t.assigned_=new Map,t.copy_=fs(t.base_,t.scope_.immer_.useStrictShallowCopy_))}var Jf=class{constructor(t){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,r,n)=>{if(wr(e)&&!wr(r)){let s=r;r=e;let a=this;return function(d=s,...p){return a.produce(d,h=>r.call(this,h,...p))}}wr(r)||Be(6),n!==void 0&&!wr(n)&&Be(7);let i;if(_e(e)){let s=qc(this),a=bs(s,e,void 0),c=!0;try{i=r(a),c=!1}finally{c?ms(s):ys(s)}return Zc(s,n),Yc(i,s)}else if(!e||!xs(e)){if(i=r(e),i===void 0&&(i=e),i===Jc&&(i=void 0),this.autoFreeze_&&dn(i,!0),n){let s=[],a=[];zt(hs).generateReplacementPatches_(e,i,{patches_:s,inversePatches_:a}),n(s,a)}return i}else Be(1,e)},this.produceWithPatches=(e,r)=>{if(wr(e))return(a,...c)=>this.produceWithPatches(a,d=>e(d,...c));let n,i;return[this.produce(e,r,(a,c)=>{n=a,i=c}),n,i]},cs(t?.autoFreeze)&&this.setAutoFreeze(t.autoFreeze),cs(t?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(t.useStrictShallowCopy),cs(t?.useStrictIteration)&&this.setUseStrictIteration(t.useStrictIteration)}createDraft(t){_e(t)||Be(8),Qe(t)&&(t=sd(t));let e=qc(this),r=bs(e,t,void 0);return r[me].isManual_=!0,ys(e),r}finishDraft(t,e){let r=t&&t[me];(!r||!r.isManual_)&&Be(9);let{scope_:n}=r;return Zc(n,e),Yc(void 0,n)}setAutoFreeze(t){this.autoFreeze_=t}setUseStrictShallowCopy(t){this.useStrictShallowCopy_=t}setUseStrictIteration(t){this.useStrictIteration_=t}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(t,e){let r;for(r=e.length-1;r>=0;r--){let i=e[r];if(i.path.length===0&&i.op==="replace"){t=i.value;break}}r>-1&&(e=e.slice(r+1));let n=zt(hs).applyPatches_;return Qe(t)?n(t,e):this.produce(t,i=>n(i,e))}};function bs(t,e,r,n){let[i,s]=cn(e)?zt(rn).proxyMap_(e,r):ho(e)?zt(rn).proxySet_(e,r):qf(e,r);return(r?.scope_??td()).drafts_.push(i),s.callbacks_=r?.callbacks_??[],s.key_=n,r&&n!==void 0?Kf(r,s,n):s.callbacks_.push(function(d){d.mapSetPlugin_?.fixSetContents(s);let{patchPlugin_:p}=d;s.modified_&&p&&p.generatePatches_(s,[],d)}),i}function sd(t){return Qe(t)||Be(10,t),ad(t)}function ad(t){if(!_e(t)||un(t))return t;let e=t[me],r,n=!0;if(e){if(!e.modified_)return e.base_;e.finalized_=!0,r=fs(t,e.scope_.immer_.useStrictShallowCopy_),n=e.scope_.immer_.shouldUseStrictIteration()}else r=fs(t,!0);let i=r;return ho(r)&&(r=new Set),an(i,(s,a)=>{tn(r,s,ad(a))},n),e&&(e.finalized_=!1),r}var Qf=globalThis.Iterator,g0=typeof Qf?.from=="function";var eh=new Jf,Ss=eh.produce;function ld(t){return({dispatch:r,getState:n})=>i=>s=>typeof s=="function"?s(r,n,t):i(s)}var cd=ld(),dd=ld;var th=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?lo:lo.apply(null,arguments)};typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;var rh=t=>t&&typeof t.match=="function";function gt(t,e){function r(...n){if(e){let i=e(...n);if(!i)throw new Error(et(0));return{type:t,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:t,payload:n[0]}}return r.toString=()=>`${t}`,r.type=t,r.match=n=>Vc(n)&&n.type===t,r}var md=class mo extends Array{constructor(...e){super(...e),Object.setPrototypeOf(this,mo.prototype)}static get[Symbol.species](){return mo}concat(...e){return super.concat.apply(this,e)}prepend(...e){return e.length===1&&Array.isArray(e[0])?new mo(...e[0].concat(this)):new mo(...e.concat(this))}};function ud(t){return _e(t)?Ss(t,()=>{}):t}function fn(t,e,r){return t.has(e)?t.get(e):t.set(e,r(e)).get(e)}function oh(t){return typeof t=="boolean"}var nh=()=>function(e){let{thunk:r=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:s=!0}=e??{},a=new md;return r&&(oh(r)?a.push(cd):a.push(dd(r.extraArgument))),a},ih="RTK_autoBatch";var pd=t=>e=>{setTimeout(e,t)},sh=(t,e)=>r=>{let n=!1,i,s,a=()=>{n||(n=!0,cancelAnimationFrame(i),clearTimeout(s),r())};i=t(a),s=setTimeout(a,e)},ah=(t={type:"raf"})=>e=>(...r)=>{let n=e(...r),i=!0,s=!1,a=!1,c=new Set,d=t.type==="tick"?queueMicrotask:t.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?sh(window.requestAnimationFrame,100):pd(10):t.type==="callback"?t.queueNotification:pd(t.timeout),p=()=>{a=!1,s&&(s=!1,c.forEach(h=>h()))};return Object.assign({},n,{subscribe(h){let f=()=>i&&h(),m=n.subscribe(f);return c.add(h),()=>{m(),c.delete(h)}},dispatch(h){try{return i=!h?.meta?.[ih],s=!i,s&&(a||(a=!0,d(p))),n.dispatch(h)}finally{i=!0}}})},lh=t=>function(r){let{autoBatch:n=!0}=r??{},i=new md(t);return n&&i.push(ah(typeof n=="object"?n:void 0)),i};function yd(t){let e=nh(),{reducer:r=void 0,middleware:n,devTools:i=!0,duplicateMiddlewareCheck:s=!0,preloadedState:a=void 0,enhancers:c=void 0}=t||{},d;if(typeof r=="function")d=r;else if(qo(r))d=as(r);else throw new Error(et(1));let p;typeof n=="function"?p=n(e):p=e();let h=lo;i&&(h=th({trace:!1,...typeof i=="object"&&i}));let f=Hc(...p),m=lh(f),x=typeof c=="function"?c(m):m(),S=h(...x);return ss(d,a,S)}function gd(t){let e={},r=[],n,i={addCase(s,a){let c=typeof s=="string"?s:s.type;if(!c)throw new Error(et(28));if(c in e)throw new Error(et(29));return e[c]=a,i},addAsyncThunk(s,a){return a.pending&&(e[s.pending.type]=a.pending),a.rejected&&(e[s.rejected.type]=a.rejected),a.fulfilled&&(e[s.fulfilled.type]=a.fulfilled),a.settled&&r.push({matcher:s.settled,reducer:a.settled}),i},addMatcher(s,a){return r.push({matcher:s,reducer:a}),i},addDefaultCase(s){return n=s,i}};return t(i),[e,r,n]}function ch(t){return typeof t=="function"}function dh(t,e){let[r,n,i]=gd(e),s;if(ch(t))s=()=>ud(t());else{let c=ud(t);s=()=>c}function a(c=s(),d){let p=[r[d.type],...n.filter(({matcher:h})=>h(d)).map(({reducer:h})=>h)];return p.filter(h=>!!h).length===0&&(p=[i]),p.reduce((h,f)=>{if(f)if(Qe(h)){let m=f(h,d);return m===void 0?h:m}else{if(_e(h))return Ss(h,m=>f(m,d));{let m=f(h,d);if(m===void 0){if(h===null)return h;throw new Error(et(9))}return m}}return h},c)}return a.getInitialState=s,a}var uh=(t,e)=>rh(t)?t.match(e):t(e);function ph(...t){return e=>t.some(r=>uh(r,e))}var fh="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",hh=(t=21)=>{let e="",r=t;for(;r--;)e+=fh[Math.random()*64|0];return e},mh=["name","message","stack","code"],Es=class{payload;meta;_type;constructor(t,e){this.payload=t,this.meta=e}},fd=class{payload;meta;_type;constructor(t,e){this.payload=t,this.meta=e}},yh=t=>{if(typeof t=="object"&&t!==null){let e={};for(let r of mh)typeof t[r]=="string"&&(e[r]=t[r]);return e}return{message:String(t)}},hd="External signal was aborted",gh=(()=>{function t(e,r,n){let i=gt(e+"/fulfilled",(d,p,h,f)=>({payload:d,meta:{...f||{},arg:h,requestId:p,requestStatus:"fulfilled"}})),s=gt(e+"/pending",(d,p,h)=>({payload:void 0,meta:{...h||{},arg:p,requestId:d,requestStatus:"pending"}})),a=gt(e+"/rejected",(d,p,h,f,m)=>({payload:f,error:(n&&n.serializeError||yh)(d||"Rejected"),meta:{...m||{},arg:h,requestId:p,rejectedWithValue:f!==void 0,requestStatus:"rejected",aborted:d?.name==="AbortError",condition:d?.name==="ConditionError"}}));function c(d,{signal:p}={}){return(h,f,m)=>{let x=n?.idGenerator?n.idGenerator(d):hh(),S=new AbortController,w,E;function T(b){E=b,S.abort()}p&&(p.aborted?T(hd):p.addEventListener("abort",()=>T(hd),{once:!0}));let I=(async function(){let b;try{let g=n?.condition?.(d,{getState:f,extra:m});if(xh(g)&&(g=await g),g===!1)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};if(S.signal.aborted)throw{name:"AbortError",message:E||"Aborted"};let v=new Promise((A,P)=>{w=()=>{P({name:"AbortError",message:E||"Aborted"})},S.signal.addEventListener("abort",w,{once:!0})});h(s(x,d,n?.getPendingMeta?.({requestId:x,arg:d},{getState:f,extra:m}))),b=await Promise.race([v,Promise.resolve(r(d,{dispatch:h,getState:f,extra:m,requestId:x,signal:S.signal,abort:T,rejectWithValue:((A,P)=>new Es(A,P)),fulfillWithValue:((A,P)=>new fd(A,P))})).then(A=>{if(A instanceof Es)throw A;return A instanceof fd?i(A.payload,x,d,A.meta):i(A,x,d)})])}catch(g){b=g instanceof Es?a(null,x,d,g.payload,g.meta):a(g,x,d)}finally{w&&S.signal.removeEventListener("abort",w)}return n&&!n.dispatchConditionRejection&&a.match(b)&&b.meta.condition||h(b),b})();return Object.assign(I,{abort:T,requestId:x,arg:d,unwrap(){return I.then(bh)}})}}return Object.assign(c,{pending:s,rejected:a,fulfilled:i,settled:ph(a,i),typePrefix:e})}return t.withTypes=()=>t,t})();function bh(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function xh(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var bd=Symbol.for("rtk-slice-createasyncthunk"),A0={[bd]:gh};function vh(t,e){return`${t}/${e}`}function Sh({creators:t}={}){let e=t?.asyncThunk?.[bd];return function(n){let{name:i,reducerPath:s=i}=n;if(!i)throw new Error(et(11));typeof process<"u";let a=(typeof n.reducers=="function"?n.reducers(Ch()):n.reducers)||{},c=Object.keys(a),d={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},p={addCase(b,g){let v=typeof b=="string"?b:b.type;if(!v)throw new Error(et(12));if(v in d.sliceCaseReducersByType)throw new Error(et(13));return d.sliceCaseReducersByType[v]=g,p},addMatcher(b,g){return d.sliceMatchers.push({matcher:b,reducer:g}),p},exposeAction(b,g){return d.actionCreators[b]=g,p},exposeCaseReducer(b,g){return d.sliceCaseReducersByName[b]=g,p}};c.forEach(b=>{let g=a[b],v={reducerName:b,type:vh(i,b),createNotation:typeof n.reducers=="function"};Ah(g)?_h(v,g,p,e):Oh(v,g,p)});function h(){let[b={},g=[],v=void 0]=typeof n.extraReducers=="function"?gd(n.extraReducers):[n.extraReducers],A={...b,...d.sliceCaseReducersByType};return dh(n.initialState,P=>{for(let V in A)P.addCase(V,A[V]);for(let V of d.sliceMatchers)P.addMatcher(V.matcher,V.reducer);for(let V of g)P.addMatcher(V.matcher,V.reducer);v&&P.addDefaultCase(v)})}let f=b=>b,m=new Map,x=new WeakMap,S;function w(b,g){return S||(S=h()),S(b,g)}function E(){return S||(S=h()),S.getInitialState()}function T(b,g=!1){function v(P){let V=P[b];return typeof V>"u"&&g&&(V=fn(x,v,E)),V}function A(P=f){return fn(fn(m,g,()=>new WeakMap),P,()=>{let V={};for(let[X,k]of Object.entries(n.selectors??{}))V[X]=Eh(k,P,()=>fn(x,P,E),g);return V})}return{reducerPath:b,getSelectors:A,get selectors(){return A(v)},selectSlice:v}}let I={name:i,reducer:w,actions:d.actionCreators,caseReducers:d.sliceCaseReducersByName,getInitialState:E,...T(s),injectInto(b,{reducerPath:g,...v}={}){let A=g??s;return b.inject({reducerPath:A,reducer:w},v),{...I,...T(A,!0)}}};return I}}function Eh(t,e,r,n){function i(s,...a){let c=e(s);return typeof c>"u"&&n&&(c=r()),t(c,...a)}return i.unwrapped=t,i}var xd=Sh();function Ch(){function t(e,r){return{_reducerDefinitionType:"asyncThunk",payloadCreator:e,...r}}return t.withTypes=()=>t,{reducer(e){return Object.assign({[e.name](...r){return e(...r)}}[e.name],{_reducerDefinitionType:"reducer"})},preparedReducer(e,r){return{_reducerDefinitionType:"reducerWithPrepare",prepare:e,reducer:r}},asyncThunk:t}}function Oh({type:t,reducerName:e,createNotation:r},n,i){let s,a;if("reducer"in n){if(r&&!wh(n))throw new Error(et(17));s=n.reducer,a=n.prepare}else s=n;i.addCase(t,s).exposeCaseReducer(e,s).exposeAction(e,a?gt(t,a):gt(t))}function Ah(t){return t._reducerDefinitionType==="asyncThunk"}function wh(t){return t._reducerDefinitionType==="reducerWithPrepare"}function _h({type:t,reducerName:e},r,n,i){if(!i)throw new Error(et(18));let{payloadCreator:s,fulfilled:a,pending:c,rejected:d,settled:p,options:h}=r,f=i(t,s,h);n.exposeAction(e,f),a&&n.addCase(f.fulfilled,a),c&&n.addCase(f.pending,c),d&&n.addCase(f.rejected,d),p&&n.addMatcher(f.settled,p),n.exposeCaseReducer(e,{fulfilled:a||hn,pending:c||hn,rejected:d||hn,settled:p||hn})}function hn(){}var vd="listener",Sd="completed",Ed="cancelled",w0=`task-${Ed}`,_0=`task-${Sd}`,R0=`${vd}-${Ed}`,T0=`${vd}-${Sd}`;var{assign:Cd}=Object;var Cs="listenerMiddleware";var Rh=Cd(gt(`${Cs}/add`),{withTypes:()=>Rh}),L0=gt(`${Cs}/removeAll`),Th=Cd(gt(`${Cs}/remove`),{withTypes:()=>Th});function et(t){return`Minified Redux Toolkit error #${t}; visit https://redux-toolkit.js.org/Errors?code=${t} for the full message or use the non-minified dev environment for full errors. `}window.ftReduxStores||(window.ftReduxStores={});var Ht=class t extends it{static get(e){var r;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,s=window.ftReduxStores[n];if(Ar(s))return s;if(i==null)return;let a=xd({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),c=yd({reducer:(d,p)=>{if(p.type==="CLEAR_FT_REDUX_STORE"){let h=Fe(a.getInitialState());for(let f of p.keeping)h[f]=(d??h)[f];return h}else if(typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...d,...p.overwrites};return a.reducer(d,p)}});return window.ftReduxStores[i.name]=new t(a,c,i.eventBus,i.deprecatedKeys)}constructor(e,r,n,i){super(),this.reduxSlice=e,this.reduxStore=r,this.deprecatedKeys=i,this.isFtReduxStore=!0,this.commands=new so,this.injectInto=(a,c)=>this.reduxSlice.injectInto(a,c),this.selectSlice=a=>this.reduxSlice.selectSlice(a);let s=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,c,d)=>{let p=c,h=a[p];return h?(...f)=>{let m=h(...f.map(s));return this.reduxStore.dispatch(m),m}:f=>{let m=p,x=this.getState()[m];ue(x,f)||this.setState({[m]:s(f)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...e){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:e})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}get selectors(){return this.reduxSlice.selectors}get reducerPath(){return this.reduxSlice.reducerPath}getSelectors(){return this.reduxSlice.getSelectors()}};function Lh(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))Ar(e)&&e.clear()}var mn=class{constructor(e,r,n){this.store=e,this.valueSelector=r,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),r=this.valueSelector(e);Ie(this.lastValue,r)&&(this.callback(r,e),this.lastValue=r)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function kh(t,e,r){return new mn(t,e,r).watch()}var yo=class{constructor(){this.requestConsumers=new Map}getOrCreateRequestConsumers(e){var r;return(r=this.requestConsumers.get(e))!==null&&r!==void 0?r:this.requestConsumers.set(e,new Set).get(e)}registerComponent(e,r){for(let n of r)this.getOrCreateRequestConsumers(n).add(e).size==1&&this.onNewNeededRequest(n)}unregisterComponent(e,r){for(let n of r)this.getOrCreateRequestConsumers(n).delete(e)}isRequestNeeded(e){return this.getOrCreateRequestConsumers(e).size>0}};var _s={};$(_s,{scrollHelper:()=>Ih});var As,yn=new Map,ws=class{lock(e,r){if(r){let n=yn.get(r);if(n==null||n===e)return yn.set(r,e),r}}release(e,r){r&&yn.get(r)===e&&yn.delete(r)}findFirstScrollableParent(e){var r;let n,i;for(let s of ft(e)){let a=s,c=this.elementCanScroll(a);if(c&&a.clientHeight&&a.clientHeight<a.scrollHeight){n=a;break}else c&&i==null&&(i=a)}return(r=n??i)!==null&&r!==void 0?r:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)&&!["contents"].includes(getComputedStyle(e).display)}catch{return!1}}getAbsoluteScrollOffset(e,r){var n,i;let s=0;for(;r&&r.offsetParent!==e.offsetParent;)s+=(n=r.offsetTop)!==null&&n!==void 0?n:0,r=r.offsetParent;return s+((i=r?.offsetTop)!==null&&i!==void 0?i:0)-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,e),s=i-n.clientHeight+e.clientHeight,a=i,c=Lt(0,(a-n.scrollTop)/(a-s),1),d=this.computeTopOffsetRatio(r?.position,c)*(s-a)+a;n.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(As=window.FluidTopicsScrollHelper)!==null&&As!==void 0?As:new ws;var Ih=window.FluidTopicsScrollHelper;var Ls={};$(Ls,{toFtFormComponent:()=>Ts});var Rs=Symbol("elementInternals"),Ts=pe(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[Rs].form}constructor(...n){super(n),this[Rs]=this.attachInternals()}setFormValue(n){this[Rs].setFormValue(n)}}return e});var ks={};$(ks,{DateFormatter:()=>Vt});var Vt=class{static format(e,r,n,i,s){return window.moment?window.moment(e).locale(r).format(this.getMomentDateFormat(n,i,!!s)):this.getIntlDateTime(e,r,n,i,!!s)}static getMomentDateFormat(e,r,n){return n?"LT":e?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(e,r,n,i,s){let a=typeof e=="string"?new Date(e):e,c=new Intl.DateTimeFormat(r,{dateStyle:n?"medium":"short"}).format(a),d=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(a);return s?d:i?`${c} ${d}`:c}static getTimezoneAsString(){let e=n=>String(Math.floor(n)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${e(Math.abs(r)/60)}:${e(Math.abs(r)%60)}`}};var Ns={};$(Ns,{ALL_KEYS_VALUE:()=>Is,SameWindowStorageEvent:()=>Rr});var Is="__all__",Rr=class extends CustomEvent{constructor(e,r,n){super("same-window-storage",{detail:{key:e,oldValue:r,newValue:n}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==Is}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(t,e,r){let n=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new Rr(r[0],n,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(t,e,r){let n=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new Rr(r[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,r){Reflect.apply(t,e,r),window.dispatchEvent(new Rr(Is))}});var Ds={};$(Ds,{FocusMainContentEvent:()=>Ps});var Ps=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var Od={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function Nh(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=t.key}function Ph(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}document.addEventListener("keydown",Nh);document.addEventListener("click",Ph);var Ad=R`
47
+ `;var $c={};var ns={};$(ns,{ParametrizedLabelResolver:()=>io});var io=class t{constructor(e,r){this.defaultLabels=e,this.labels=r}resolve(e,...r){var n,i;e=this.resolvePluralKey(e,r);let s=(i=(n=this.labels[e])!==null&&n!==void 0?n:this.defaultLabels[e])!==null&&i!==void 0?i:"";return t.replaceParameters(s,...r)}static replaceParameters(e,...r){return r.forEach((n,i)=>e=e.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(s,a)=>t.formatValue(n,a))),e}resolvePluralKey(e,r){for(let n of r)if(typeof n=="number"){let i=`${String(e)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return e}static formatValue(e,r){return e instanceof Date?t.formatDate(e,r):e??""}static formatDate(e,r){let n=i=>r?.includes("date")?e.toLocaleDateString(i):r?.includes("time")?e.toLocaleTimeString(i):e.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var Os={};$(Os,{FtCommandQueue:()=>so,FtLitElementRedux:()=>zt,FtReduxStore:()=>Vt,FtStateManager:()=>yo,ReduxWatcher:()=>mn,clearAllStores:()=>Lh,isFtReduxStore:()=>Ar,redux:()=>Or,reduxEventListener:()=>Df,reduxReactive:()=>Pf,watch:()=>kh,withRedux:()=>Bc});var Pf=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},Or=t=>{let e=t??{};return(r,n)=>{var i;let s={hasChanged:Ie,attribute:!1,...e};y(s)(r,n);let a=r.constructor;a.reduxProperties=new Map(a.reduxProperties),a.reduxProperties.set(n,{selector:(i=e.selector)!==null&&i!==void 0?i:(c=>c[n]),store:e.store})}},Df=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)};var so=class{constructor(){this.queue=[]}add(e,r=!1){r&&this.clear(e.type),this.queue.push(e)}consume(e){let r=this.queue.find(n=>n.type===e);return r&&(this.queue=this.queue.filter(n=>n!==r)),r}clear(e){typeof e=="string"?this.queue=this.queue.filter(r=>r.type!==e):this.queue=this.queue.filter(r=>!e.test(r.type))}};function Ar(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var ao=Symbol("internalReduxEventsUnsubscribers"),yt=Symbol("internalStoresUnsubscribers"),Bt=Symbol("internalStores"),Bc=pe(Symbol("withRedux"),function(t){var e,r,n;class i extends t{constructor(){super(...arguments),this[e]=new Map,this[r]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(a){super.willUpdate(a),[...this.reduxConstructor.reduxReactiveProperties].some(c=>a.has(c))&&this.updateFromStores()}getUnnamedStore(){if(this[Bt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Bt].values()][0]}getStore(a){return a==null?this.getUnnamedStore():this[Bt].get(a)}addStore(a,c){var d;c=(d=c??a.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(c),this[Bt].set(c,a),this.subscribeToStore(c,a),this.updateFromStores()}removeStore(a){let c=typeof a=="string"?a:a.name;this.unsubscribeFromStore(c),this[Bt].delete(c)}setupStores(){this.unsubscribeFromStores(),this[Bt].forEach((a,c)=>this.subscribeToStore(c,a)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((a,c)=>{let d=this.constructor.getPropertyOptions(c);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:c)){let p=this.getStore(a.store);p&&(a.store?this[yt].has(a.store):this[yt].size>0)&&(this[c]=a.selector(p.getState(),this))}})}subscribeToStore(a,c){var d,p;this[yt].set(a,c.subscribe(()=>this.updateFromStores())),this[ao].set(a,[]),Ar(c)&&(!((d=c.deprecatedKeys)===null||d===void 0)&&d.length&&this.reduxConstructor.reduxProperties.forEach((h,f)=>{this.getStore(h.store)===c&&c.deprecatedKeys.includes(f)&&console.warn("Element",this,"is subscribed to deprecated key",f,"in store",c.name)}),c.eventBus&&((p=this.reduxConstructor.reduxEventListeners)===null||p===void 0||p.forEach((h,f)=>{if(typeof this[f]=="function"&&(!h.store||c.name===h.store)){let m=x=>this[f](x);c.addEventListener(h.eventName,m),this[ao].get(a).push(()=>c.removeEventListener(h.eventName,m))}}))),this.onStoreAvailable(a)}unsubscribeFromStores(){this[yt].forEach((a,c)=>this.unsubscribeFromStore(c))}unsubscribeFromStore(a){var c;this[yt].has(a)&&this[yt].get(a)(),this[yt].delete(a),(c=this[ao].get(a))===null||c===void 0||c.forEach(d=>d()),this[ao].delete(a)}onStoreAvailable(a){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=yt,r=Bt,n=ao,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),zt=class extends Bc(U){};function fe(t){return`Minified Redux error #${t}; visit https://redux.js.org/Errors?code=${t} for the full message or use the non-minified dev environment for full errors. `}var Mf=typeof Symbol=="function"&&Symbol.observable||"@@observable",zc=Mf,is=()=>Math.random().toString(36).substring(7).split("").join("."),Ff={INIT:`@@redux/INIT${is()}`,REPLACE:`@@redux/REPLACE${is()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${is()}`},Zo=Ff;function qo(t){if(typeof t!="object"||t===null)return!1;let e=t;for(;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e||Object.getPrototypeOf(t)===null}function ss(t,e,r){if(typeof t!="function")throw new Error(fe(2));if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(fe(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(fe(1));return r(ss)(t,e)}let n=t,i=e,s=new Map,a=s,c=0,d=!1;function p(){a===s&&(a=new Map,s.forEach((E,L)=>{a.set(L,E)}))}function h(){if(d)throw new Error(fe(3));return i}function f(E){if(typeof E!="function")throw new Error(fe(4));if(d)throw new Error(fe(5));let L=!0;p();let I=c++;return a.set(I,E),function(){if(L){if(d)throw new Error(fe(6));L=!1,p(),a.delete(I),s=null}}}function m(E){if(!qo(E))throw new Error(fe(7));if(typeof E.type>"u")throw new Error(fe(8));if(typeof E.type!="string")throw new Error(fe(17));if(d)throw new Error(fe(9));try{d=!0,i=n(i,E)}finally{d=!1}return(s=a).forEach(I=>{I()}),E}function x(E){if(typeof E!="function")throw new Error(fe(10));n=E,m({type:Zo.REPLACE})}function S(){let E=f;return{subscribe(L){if(typeof L!="object"||L===null)throw new Error(fe(11));function I(){let g=L;g.next&&g.next(h())}return I(),{unsubscribe:E(I)}},[zc](){return this}}}return m({type:Zo.INIT}),{dispatch:m,subscribe:f,getState:h,replaceReducer:x,[zc]:S}}function Uf(t){Object.keys(t).forEach(e=>{let r=t[e];if(typeof r(void 0,{type:Zo.INIT})>"u")throw new Error(fe(12));if(typeof r(void 0,{type:Zo.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(fe(13))})}function as(t){let e=Object.keys(t),r={};for(let a=0;a<e.length;a++){let c=e[a];typeof t[c]=="function"&&(r[c]=t[c])}let n=Object.keys(r),i,s;try{Uf(r)}catch(a){s=a}return function(c={},d){if(s)throw s;let p=!1,h={};for(let f=0;f<n.length;f++){let m=n[f],x=r[m],S=c[m],w=x(S,d);if(typeof w>"u"){let E=d&&d.type;throw new Error(fe(14))}h[m]=w,p=p||w!==S}return p=p||n.length!==Object.keys(c).length,p?h:c}}function lo(...t){return t.length===0?e=>e:t.length===1?t[0]:t.reduce((e,r)=>(...n)=>e(r(...n)))}function Hc(...t){return e=>(r,n)=>{let i=e(r,n),s=()=>{throw new Error(fe(15))},a={getState:i.getState,dispatch:(d,...p)=>s(d,...p)},c=t.map(d=>d(a));return s=lo(...c)(i.dispatch),{...i,dispatch:s}}}function Vc(t){return qo(t)&&"type"in t&&typeof t.type=="string"}var Jc=Symbol.for("immer-nothing"),Gc=Symbol.for("immer-draftable"),me=Symbol.for("immer-state");function Be(t,...e){throw new Error(`[Immer] minified error nr: ${t}. Full error at: https://bit.ly/3cXEKWf`)}var we=Object,_r=we.getPrototypeOf,Qo="constructor",sn="prototype",us="configurable",en="enumerable",Xo="writable",co="value",Qe=t=>!!t&&!!t[me];function _e(t){return t?Qc(t)||ln(t)||!!t[Gc]||!!t[Qo]?.[Gc]||cn(t)||ho(t):!1}var $f=we[sn][Qo].toString(),Wc=new WeakMap;function Qc(t){if(!t||!xs(t))return!1;let e=_r(t);if(e===null||e===we[sn])return!0;let r=we.hasOwnProperty.call(e,Qo)&&e[Qo];if(r===Object)return!0;if(!wr(r))return!1;let n=Wc.get(r);return n===void 0&&(n=Function.toString.call(r),Wc.set(r,n)),n===$f}function an(t,e,r=!0){fo(t)===0?(r?Reflect.ownKeys(t):we.keys(t)).forEach(i=>{e(i,t[i],t)}):t.forEach((n,i)=>e(i,n,t))}function fo(t){let e=t[me];return e?e.type_:ln(t)?1:cn(t)?2:ho(t)?3:0}var ls=(t,e,r=fo(t))=>r===2?t.has(e):we[sn].hasOwnProperty.call(t,e),ps=(t,e,r=fo(t))=>r===2?t.get(e):t[e],tn=(t,e,r,n=fo(t))=>{n===2?t.set(e,r):n===3?t.add(r):t[e]=r};function Bf(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}var ln=Array.isArray,cn=t=>t instanceof Map,ho=t=>t instanceof Set,xs=t=>typeof t=="object",wr=t=>typeof t=="function",cs=t=>typeof t=="boolean";function zf(t){let e=+t;return Number.isInteger(e)&&String(e)===t}var ct=t=>t.copy_||t.base_;var vs=t=>t.modified_?t.copy_:t.base_;function fs(t,e){if(cn(t))return new Map(t);if(ho(t))return new Set(t);if(ln(t))return Array[sn].slice.call(t);let r=Qc(t);if(e===!0||e==="class_only"&&!r){let n=we.getOwnPropertyDescriptors(t);delete n[me];let i=Reflect.ownKeys(n);for(let s=0;s<i.length;s++){let a=i[s],c=n[a];c[Xo]===!1&&(c[Xo]=!0,c[us]=!0),(c.get||c.set)&&(n[a]={[us]:!0,[Xo]:!0,[en]:c[en],[co]:t[a]})}return we.create(_r(t),n)}else{let n=_r(t);if(n!==null&&r)return{...t};let i=we.create(n);return we.assign(i,t)}}function dn(t,e=!1){return un(t)||Qe(t)||!_e(t)||(fo(t)>1&&we.defineProperties(t,{set:Yo,add:Yo,clear:Yo,delete:Yo}),we.freeze(t),e&&an(t,(r,n)=>{dn(n,!0)},!1)),t}function Hf(){Be(2)}var Yo={[co]:Hf};function un(t){return t===null||!xs(t)?!0:we.isFrozen(t)}var rn="MapSet",hs="Patches",jc="ArrayMethods",ed={};function Ht(t){let e=ed[t];return e||Be(0,t),e}var Kc=t=>!!ed[t];var uo,td=()=>uo,Vf=(t,e)=>({drafts_:[],parent_:t,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:Kc(rn)?Ht(rn):void 0,arrayMethodsPlugin_:Kc(jc)?Ht(jc):void 0});function Zc(t,e){e&&(t.patchPlugin_=Ht(hs),t.patches_=[],t.inversePatches_=[],t.patchListener_=e)}function ms(t){ys(t),t.drafts_.forEach(Gf),t.drafts_=null}function ys(t){t===uo&&(uo=t.parent_)}var qc=t=>uo=Vf(uo,t);function Gf(t){let e=t[me];e.type_===0||e.type_===1?e.revoke_():e.revoked_=!0}function Yc(t,e){e.unfinalizedDrafts_=e.drafts_.length;let r=e.drafts_[0];if(t!==void 0&&t!==r){r[me].modified_&&(ms(e),Be(4)),_e(t)&&(t=Xc(e,t));let{patchPlugin_:i}=e;i&&i.generateReplacementPatches_(r[me].base_,t,e)}else t=Xc(e,r);return Wf(e,t,!0),ms(e),e.patches_&&e.patchListener_(e.patches_,e.inversePatches_),t!==Jc?t:void 0}function Xc(t,e){if(un(e))return e;let r=e[me];if(!r)return on(e,t.handledSet_,t);if(!pn(r,t))return e;if(!r.modified_)return r.base_;if(!r.finalized_){let{callbacks_:n}=r;if(n)for(;n.length>0;)n.pop()(t);nd(r,t)}return r.copy_}function Wf(t,e,r=!1){!t.parent_&&t.immer_.autoFreeze_&&t.canAutoFreeze_&&dn(e,r)}function rd(t){t.finalized_=!0,t.scope_.unfinalizedDrafts_--}var pn=(t,e)=>t.scope_===e,jf=[];function od(t,e,r,n){let i=ct(t),s=t.type_;if(n!==void 0&&ps(i,n,s)===e){tn(i,n,r,s);return}if(!t.draftLocations_){let c=t.draftLocations_=new Map;an(i,(d,p)=>{if(Qe(p)){let h=c.get(p)||[];h.push(d),c.set(p,h)}})}let a=t.draftLocations_.get(e)??jf;for(let c of a)tn(i,c,r,s)}function Kf(t,e,r){t.callbacks_.push(function(i){let s=e;if(!s||!pn(s,i))return;i.mapSetPlugin_?.fixSetContents(s);let a=vs(s);od(t,s.draft_??s,a,r),nd(s,i)})}function nd(t,e){if(t.modified_&&!t.finalized_&&(t.type_===3||t.type_===1&&t.allIndicesReassigned_||(t.assigned_?.size??0)>0)){let{patchPlugin_:n}=e;if(n){let i=n.getPath(t);i&&n.generatePatches_(t,i,e)}rd(t)}}function Zf(t,e,r){let{scope_:n}=t;if(Qe(r)){let i=r[me];pn(i,n)&&i.callbacks_.push(function(){Jo(t);let a=vs(i);od(t,r,a,e)})}else _e(r)&&t.callbacks_.push(function(){let s=ct(t);t.type_===3?s.has(r)&&on(r,n.handledSet_,n):ps(s,e,t.type_)===r&&n.drafts_.length>1&&(t.assigned_.get(e)??!1)===!0&&t.copy_&&on(ps(t.copy_,e,t.type_),n.handledSet_,n)})}function on(t,e,r){return!r.immer_.autoFreeze_&&r.unfinalizedDrafts_<1||Qe(t)||e.has(t)||!_e(t)||un(t)||(e.add(t),an(t,(n,i)=>{if(Qe(i)){let s=i[me];if(pn(s,r)){let a=vs(s);tn(t,n,a,t.type_),rd(s)}}else _e(i)&&on(i,e,r)})),t}function qf(t,e){let r=ln(t),n={type_:r?1:0,scope_:e?e.scope_:td(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:e,base_:t,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},i=n,s=nn;r&&(i=[n],s=po);let{revoke:a,proxy:c}=Proxy.revocable(i,s);return n.draft_=c,n.revoke_=a,[c,n]}var nn={get(t,e){if(e===me)return t;let r=t.scope_.arrayMethodsPlugin_,n=t.type_===1&&typeof e=="string";if(n&&r?.isArrayOperationMethod(e))return r.createMethodInterceptor(t,e);let i=ct(t);if(!ls(i,e,t.type_))return Xf(t,i,e);let s=i[e];if(t.finalized_||!_e(s)||n&&t.operationMethod&&r?.isMutatingArrayMethod(t.operationMethod)&&zf(e))return s;if(s===ds(t.base_,e)||Yf(t,e,s)){Jo(t);let a=t.type_===1?+e:e,c=bs(t.scope_,s,t,a);return t.copy_[a]=c}return s},has(t,e){return e in ct(t)},ownKeys(t){return Reflect.ownKeys(ct(t))},set(t,e,r){let n=id(ct(t),e);if(n?.set)return n.set.call(t.draft_,r),!0;if(!t.modified_){let i=ds(ct(t),e),s=i?.[me];if(s&&s.base_===r)return t.copy_[e]=r,t.assigned_.delete(e),!0;if(Bf(r,i)&&(r!==void 0||ls(t.base_,e,t.type_)))return!0;Jo(t),gs(t)}return t.copy_[e]===r&&(r!==void 0||ls(t.copy_,e,t.type_))||Number.isNaN(r)&&Number.isNaN(t.copy_[e])||(t.copy_[e]=r,t.assigned_.set(e,!0),Zf(t,e,r)),!0},deleteProperty(t,e){return Jo(t),ds(t.base_,e)!==void 0||e in t.base_?(t.assigned_.set(e,!1),gs(t)):t.assigned_.delete(e),t.copy_&&delete t.copy_[e],!0},getOwnPropertyDescriptor(t,e){let r=ct(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{[Xo]:!0,[us]:t.type_!==1||e!=="length",[en]:n[en],[co]:r[e]}},defineProperty(){Be(11)},getPrototypeOf(t){return _r(t.base_)},setPrototypeOf(){Be(12)}},po={};for(let t in nn){let e=nn[t];po[t]=function(){let r=arguments;return r[0]=r[0][0],e.apply(this,r)}}po.deleteProperty=function(t,e){return po.set.call(this,t,e,void 0)};po.set=function(t,e,r){return nn.set.call(this,t[0],e,r,t[0])};function ds(t,e){let r=t[me];return(r?ct(r):t)[e]}function Yf(t,e,r){return t.type_!==1||!t.allIndicesReassigned_||!_e(r)||r[me]?!1:t.baseRefs_.has(r)}function Xf(t,e,r){let n=id(e,r);return n?co in n?n[co]:n.get?.call(t.draft_):void 0}function id(t,e){if(!(e in t))return;let r=_r(t);for(;r;){let n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=_r(r)}}function gs(t){t.modified_||(t.modified_=!0,t.parent_&&gs(t.parent_))}function Jo(t){t.copy_||(t.assigned_=new Map,t.copy_=fs(t.base_,t.scope_.immer_.useStrictShallowCopy_))}var Jf=class{constructor(t){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,r,n)=>{if(wr(e)&&!wr(r)){let s=r;r=e;let a=this;return function(d=s,...p){return a.produce(d,h=>r.call(this,h,...p))}}wr(r)||Be(6),n!==void 0&&!wr(n)&&Be(7);let i;if(_e(e)){let s=qc(this),a=bs(s,e,void 0),c=!0;try{i=r(a),c=!1}finally{c?ms(s):ys(s)}return Zc(s,n),Yc(i,s)}else if(!e||!xs(e)){if(i=r(e),i===void 0&&(i=e),i===Jc&&(i=void 0),this.autoFreeze_&&dn(i,!0),n){let s=[],a=[];Ht(hs).generateReplacementPatches_(e,i,{patches_:s,inversePatches_:a}),n(s,a)}return i}else Be(1,e)},this.produceWithPatches=(e,r)=>{if(wr(e))return(a,...c)=>this.produceWithPatches(a,d=>e(d,...c));let n,i;return[this.produce(e,r,(a,c)=>{n=a,i=c}),n,i]},cs(t?.autoFreeze)&&this.setAutoFreeze(t.autoFreeze),cs(t?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(t.useStrictShallowCopy),cs(t?.useStrictIteration)&&this.setUseStrictIteration(t.useStrictIteration)}createDraft(t){_e(t)||Be(8),Qe(t)&&(t=sd(t));let e=qc(this),r=bs(e,t,void 0);return r[me].isManual_=!0,ys(e),r}finishDraft(t,e){let r=t&&t[me];(!r||!r.isManual_)&&Be(9);let{scope_:n}=r;return Zc(n,e),Yc(void 0,n)}setAutoFreeze(t){this.autoFreeze_=t}setUseStrictShallowCopy(t){this.useStrictShallowCopy_=t}setUseStrictIteration(t){this.useStrictIteration_=t}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(t,e){let r;for(r=e.length-1;r>=0;r--){let i=e[r];if(i.path.length===0&&i.op==="replace"){t=i.value;break}}r>-1&&(e=e.slice(r+1));let n=Ht(hs).applyPatches_;return Qe(t)?n(t,e):this.produce(t,i=>n(i,e))}};function bs(t,e,r,n){let[i,s]=cn(e)?Ht(rn).proxyMap_(e,r):ho(e)?Ht(rn).proxySet_(e,r):qf(e,r);return(r?.scope_??td()).drafts_.push(i),s.callbacks_=r?.callbacks_??[],s.key_=n,r&&n!==void 0?Kf(r,s,n):s.callbacks_.push(function(d){d.mapSetPlugin_?.fixSetContents(s);let{patchPlugin_:p}=d;s.modified_&&p&&p.generatePatches_(s,[],d)}),i}function sd(t){return Qe(t)||Be(10,t),ad(t)}function ad(t){if(!_e(t)||un(t))return t;let e=t[me],r,n=!0;if(e){if(!e.modified_)return e.base_;e.finalized_=!0,r=fs(t,e.scope_.immer_.useStrictShallowCopy_),n=e.scope_.immer_.shouldUseStrictIteration()}else r=fs(t,!0);let i=r;return ho(r)&&(r=new Set),an(i,(s,a)=>{tn(r,s,ad(a))},n),e&&(e.finalized_=!1),r}var Qf=globalThis.Iterator,g0=typeof Qf?.from=="function";var eh=new Jf,Ss=eh.produce;function ld(t){return({dispatch:r,getState:n})=>i=>s=>typeof s=="function"?s(r,n,t):i(s)}var cd=ld(),dd=ld;var th=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?lo:lo.apply(null,arguments)};typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;var rh=t=>t&&typeof t.match=="function";function gt(t,e){function r(...n){if(e){let i=e(...n);if(!i)throw new Error(et(0));return{type:t,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:t,payload:n[0]}}return r.toString=()=>`${t}`,r.type=t,r.match=n=>Vc(n)&&n.type===t,r}var md=class mo extends Array{constructor(...e){super(...e),Object.setPrototypeOf(this,mo.prototype)}static get[Symbol.species](){return mo}concat(...e){return super.concat.apply(this,e)}prepend(...e){return e.length===1&&Array.isArray(e[0])?new mo(...e[0].concat(this)):new mo(...e.concat(this))}};function ud(t){return _e(t)?Ss(t,()=>{}):t}function fn(t,e,r){return t.has(e)?t.get(e):t.set(e,r(e)).get(e)}function oh(t){return typeof t=="boolean"}var nh=()=>function(e){let{thunk:r=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:s=!0}=e??{},a=new md;return r&&(oh(r)?a.push(cd):a.push(dd(r.extraArgument))),a},ih="RTK_autoBatch";var pd=t=>e=>{setTimeout(e,t)},sh=(t,e)=>r=>{let n=!1,i,s,a=()=>{n||(n=!0,cancelAnimationFrame(i),clearTimeout(s),r())};i=t(a),s=setTimeout(a,e)},ah=(t={type:"raf"})=>e=>(...r)=>{let n=e(...r),i=!0,s=!1,a=!1,c=new Set,d=t.type==="tick"?queueMicrotask:t.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?sh(window.requestAnimationFrame,100):pd(10):t.type==="callback"?t.queueNotification:pd(t.timeout),p=()=>{a=!1,s&&(s=!1,c.forEach(h=>h()))};return Object.assign({},n,{subscribe(h){let f=()=>i&&h(),m=n.subscribe(f);return c.add(h),()=>{m(),c.delete(h)}},dispatch(h){try{return i=!h?.meta?.[ih],s=!i,s&&(a||(a=!0,d(p))),n.dispatch(h)}finally{i=!0}}})},lh=t=>function(r){let{autoBatch:n=!0}=r??{},i=new md(t);return n&&i.push(ah(typeof n=="object"?n:void 0)),i};function yd(t){let e=nh(),{reducer:r=void 0,middleware:n,devTools:i=!0,duplicateMiddlewareCheck:s=!0,preloadedState:a=void 0,enhancers:c=void 0}=t||{},d;if(typeof r=="function")d=r;else if(qo(r))d=as(r);else throw new Error(et(1));let p;typeof n=="function"?p=n(e):p=e();let h=lo;i&&(h=th({trace:!1,...typeof i=="object"&&i}));let f=Hc(...p),m=lh(f),x=typeof c=="function"?c(m):m(),S=h(...x);return ss(d,a,S)}function gd(t){let e={},r=[],n,i={addCase(s,a){let c=typeof s=="string"?s:s.type;if(!c)throw new Error(et(28));if(c in e)throw new Error(et(29));return e[c]=a,i},addAsyncThunk(s,a){return a.pending&&(e[s.pending.type]=a.pending),a.rejected&&(e[s.rejected.type]=a.rejected),a.fulfilled&&(e[s.fulfilled.type]=a.fulfilled),a.settled&&r.push({matcher:s.settled,reducer:a.settled}),i},addMatcher(s,a){return r.push({matcher:s,reducer:a}),i},addDefaultCase(s){return n=s,i}};return t(i),[e,r,n]}function ch(t){return typeof t=="function"}function dh(t,e){let[r,n,i]=gd(e),s;if(ch(t))s=()=>ud(t());else{let c=ud(t);s=()=>c}function a(c=s(),d){let p=[r[d.type],...n.filter(({matcher:h})=>h(d)).map(({reducer:h})=>h)];return p.filter(h=>!!h).length===0&&(p=[i]),p.reduce((h,f)=>{if(f)if(Qe(h)){let m=f(h,d);return m===void 0?h:m}else{if(_e(h))return Ss(h,m=>f(m,d));{let m=f(h,d);if(m===void 0){if(h===null)return h;throw new Error(et(9))}return m}}return h},c)}return a.getInitialState=s,a}var uh=(t,e)=>rh(t)?t.match(e):t(e);function ph(...t){return e=>t.some(r=>uh(r,e))}var fh="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",hh=(t=21)=>{let e="",r=t;for(;r--;)e+=fh[Math.random()*64|0];return e},mh=["name","message","stack","code"],Es=class{payload;meta;_type;constructor(t,e){this.payload=t,this.meta=e}},fd=class{payload;meta;_type;constructor(t,e){this.payload=t,this.meta=e}},yh=t=>{if(typeof t=="object"&&t!==null){let e={};for(let r of mh)typeof t[r]=="string"&&(e[r]=t[r]);return e}return{message:String(t)}},hd="External signal was aborted",gh=(()=>{function t(e,r,n){let i=gt(e+"/fulfilled",(d,p,h,f)=>({payload:d,meta:{...f||{},arg:h,requestId:p,requestStatus:"fulfilled"}})),s=gt(e+"/pending",(d,p,h)=>({payload:void 0,meta:{...h||{},arg:p,requestId:d,requestStatus:"pending"}})),a=gt(e+"/rejected",(d,p,h,f,m)=>({payload:f,error:(n&&n.serializeError||yh)(d||"Rejected"),meta:{...m||{},arg:h,requestId:p,rejectedWithValue:f!==void 0,requestStatus:"rejected",aborted:d?.name==="AbortError",condition:d?.name==="ConditionError"}}));function c(d,{signal:p}={}){return(h,f,m)=>{let x=n?.idGenerator?n.idGenerator(d):hh(),S=new AbortController,w,E;function L(b){E=b,S.abort()}p&&(p.aborted?L(hd):p.addEventListener("abort",()=>L(hd),{once:!0}));let I=(async function(){let b;try{let g=n?.condition?.(d,{getState:f,extra:m});if(xh(g)&&(g=await g),g===!1)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};if(S.signal.aborted)throw{name:"AbortError",message:E||"Aborted"};let v=new Promise((A,P)=>{w=()=>{P({name:"AbortError",message:E||"Aborted"})},S.signal.addEventListener("abort",w,{once:!0})});h(s(x,d,n?.getPendingMeta?.({requestId:x,arg:d},{getState:f,extra:m}))),b=await Promise.race([v,Promise.resolve(r(d,{dispatch:h,getState:f,extra:m,requestId:x,signal:S.signal,abort:L,rejectWithValue:((A,P)=>new Es(A,P)),fulfillWithValue:((A,P)=>new fd(A,P))})).then(A=>{if(A instanceof Es)throw A;return A instanceof fd?i(A.payload,x,d,A.meta):i(A,x,d)})])}catch(g){b=g instanceof Es?a(null,x,d,g.payload,g.meta):a(g,x,d)}finally{w&&S.signal.removeEventListener("abort",w)}return n&&!n.dispatchConditionRejection&&a.match(b)&&b.meta.condition||h(b),b})();return Object.assign(I,{abort:L,requestId:x,arg:d,unwrap(){return I.then(bh)}})}}return Object.assign(c,{pending:s,rejected:a,fulfilled:i,settled:ph(a,i),typePrefix:e})}return t.withTypes=()=>t,t})();function bh(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function xh(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var bd=Symbol.for("rtk-slice-createasyncthunk"),A0={[bd]:gh};function vh(t,e){return`${t}/${e}`}function Sh({creators:t}={}){let e=t?.asyncThunk?.[bd];return function(n){let{name:i,reducerPath:s=i}=n;if(!i)throw new Error(et(11));typeof process<"u";let a=(typeof n.reducers=="function"?n.reducers(Ch()):n.reducers)||{},c=Object.keys(a),d={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},p={addCase(b,g){let v=typeof b=="string"?b:b.type;if(!v)throw new Error(et(12));if(v in d.sliceCaseReducersByType)throw new Error(et(13));return d.sliceCaseReducersByType[v]=g,p},addMatcher(b,g){return d.sliceMatchers.push({matcher:b,reducer:g}),p},exposeAction(b,g){return d.actionCreators[b]=g,p},exposeCaseReducer(b,g){return d.sliceCaseReducersByName[b]=g,p}};c.forEach(b=>{let g=a[b],v={reducerName:b,type:vh(i,b),createNotation:typeof n.reducers=="function"};Ah(g)?_h(v,g,p,e):Oh(v,g,p)});function h(){let[b={},g=[],v=void 0]=typeof n.extraReducers=="function"?gd(n.extraReducers):[n.extraReducers],A={...b,...d.sliceCaseReducersByType};return dh(n.initialState,P=>{for(let V in A)P.addCase(V,A[V]);for(let V of d.sliceMatchers)P.addMatcher(V.matcher,V.reducer);for(let V of g)P.addMatcher(V.matcher,V.reducer);v&&P.addDefaultCase(v)})}let f=b=>b,m=new Map,x=new WeakMap,S;function w(b,g){return S||(S=h()),S(b,g)}function E(){return S||(S=h()),S.getInitialState()}function L(b,g=!1){function v(P){let V=P[b];return typeof V>"u"&&g&&(V=fn(x,v,E)),V}function A(P=f){return fn(fn(m,g,()=>new WeakMap),P,()=>{let V={};for(let[X,k]of Object.entries(n.selectors??{}))V[X]=Eh(k,P,()=>fn(x,P,E),g);return V})}return{reducerPath:b,getSelectors:A,get selectors(){return A(v)},selectSlice:v}}let I={name:i,reducer:w,actions:d.actionCreators,caseReducers:d.sliceCaseReducersByName,getInitialState:E,...L(s),injectInto(b,{reducerPath:g,...v}={}){let A=g??s;return b.inject({reducerPath:A,reducer:w},v),{...I,...L(A,!0)}}};return I}}function Eh(t,e,r,n){function i(s,...a){let c=e(s);return typeof c>"u"&&n&&(c=r()),t(c,...a)}return i.unwrapped=t,i}var xd=Sh();function Ch(){function t(e,r){return{_reducerDefinitionType:"asyncThunk",payloadCreator:e,...r}}return t.withTypes=()=>t,{reducer(e){return Object.assign({[e.name](...r){return e(...r)}}[e.name],{_reducerDefinitionType:"reducer"})},preparedReducer(e,r){return{_reducerDefinitionType:"reducerWithPrepare",prepare:e,reducer:r}},asyncThunk:t}}function Oh({type:t,reducerName:e,createNotation:r},n,i){let s,a;if("reducer"in n){if(r&&!wh(n))throw new Error(et(17));s=n.reducer,a=n.prepare}else s=n;i.addCase(t,s).exposeCaseReducer(e,s).exposeAction(e,a?gt(t,a):gt(t))}function Ah(t){return t._reducerDefinitionType==="asyncThunk"}function wh(t){return t._reducerDefinitionType==="reducerWithPrepare"}function _h({type:t,reducerName:e},r,n,i){if(!i)throw new Error(et(18));let{payloadCreator:s,fulfilled:a,pending:c,rejected:d,settled:p,options:h}=r,f=i(t,s,h);n.exposeAction(e,f),a&&n.addCase(f.fulfilled,a),c&&n.addCase(f.pending,c),d&&n.addCase(f.rejected,d),p&&n.addMatcher(f.settled,p),n.exposeCaseReducer(e,{fulfilled:a||hn,pending:c||hn,rejected:d||hn,settled:p||hn})}function hn(){}var vd="listener",Sd="completed",Ed="cancelled",w0=`task-${Ed}`,_0=`task-${Sd}`,R0=`${vd}-${Ed}`,T0=`${vd}-${Sd}`;var{assign:Cd}=Object;var Cs="listenerMiddleware";var Rh=Cd(gt(`${Cs}/add`),{withTypes:()=>Rh}),L0=gt(`${Cs}/removeAll`),Th=Cd(gt(`${Cs}/remove`),{withTypes:()=>Th});function et(t){return`Minified Redux Toolkit error #${t}; visit https://redux-toolkit.js.org/Errors?code=${t} for the full message or use the non-minified dev environment for full errors. `}window.ftReduxStores||(window.ftReduxStores={});var Vt=class t extends it{static get(e){var r;let n=typeof e=="string"?e:e.name,i=typeof e=="string"?void 0:e,s=window.ftReduxStores[n];if(Ar(s))return s;if(i==null)return;let a=xd({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),c=yd({reducer:(d,p)=>{if(p.type==="CLEAR_FT_REDUX_STORE"){let h=Fe(a.getInitialState());for(let f of p.keeping)h[f]=(d??h)[f];return h}else if(typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...d,...p.overwrites};return a.reducer(d,p)}});return window.ftReduxStores[i.name]=new t(a,c,i.eventBus,i.deprecatedKeys)}constructor(e,r,n,i){super(),this.reduxSlice=e,this.reduxStore=r,this.deprecatedKeys=i,this.isFtReduxStore=!0,this.commands=new so,this.injectInto=(a,c)=>this.reduxSlice.injectInto(a,c),this.selectSlice=a=>this.reduxSlice.selectSlice(a);let s=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,c,d)=>{let p=c,h=a[p];return h?(...f)=>{let m=h(...f.map(s));return this.reduxStore.dispatch(m),m}:f=>{let m=p,x=this.getState()[m];ue(x,f)||this.setState({[m]:s(f)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...e){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:e})}setState(e){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(e).join("_"),overwrites:e})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(e){throw new Error("Not implemented yet.")}subscribe(e){return this.reduxStore.subscribe(e)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}get selectors(){return this.reduxSlice.selectors}get reducerPath(){return this.reduxSlice.reducerPath}getSelectors(){return this.reduxSlice.getSelectors()}};function Lh(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))Ar(e)&&e.clear()}var mn=class{constructor(e,r,n){this.store=e,this.valueSelector=r,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let e=this.store.getState(),r=this.valueSelector(e);Ie(this.lastValue,r)&&(this.callback(r,e),this.lastValue=r)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function kh(t,e,r){return new mn(t,e,r).watch()}var yo=class{constructor(){this.requestConsumers=new Map}getOrCreateRequestConsumers(e){var r;return(r=this.requestConsumers.get(e))!==null&&r!==void 0?r:this.requestConsumers.set(e,new Set).get(e)}registerComponent(e,r){for(let n of r)this.getOrCreateRequestConsumers(n).add(e).size==1&&this.onNewNeededRequest(n)}unregisterComponent(e,r){for(let n of r)this.getOrCreateRequestConsumers(n).delete(e)}isRequestNeeded(e){return this.getOrCreateRequestConsumers(e).size>0}};var _s={};$(_s,{scrollHelper:()=>Ih});var As,yn=new Map,ws=class{lock(e,r){if(r){let n=yn.get(r);if(n==null||n===e)return yn.set(r,e),r}}release(e,r){r&&yn.get(r)===e&&yn.delete(r)}findFirstScrollableParent(e){var r;let n,i;for(let s of ft(e)){let a=s,c=this.elementCanScroll(a);if(c&&a.clientHeight&&a.clientHeight<a.scrollHeight){n=a;break}else c&&i==null&&(i=a)}return(r=n??i)!==null&&r!==void 0?r:document.body}elementCanScroll(e){try{return["auto","scroll"].includes(getComputedStyle(e).overflowY)&&!["contents"].includes(getComputedStyle(e).display)}catch{return!1}}getAbsoluteScrollOffset(e,r){var n,i;let s=0;for(;r&&r.offsetParent!==e.offsetParent;)s+=(n=r.offsetTop)!==null&&n!==void 0?n:0,r=r.offsetParent;return s+((i=r?.offsetTop)!==null&&i!==void 0?i:0)-e.offsetTop}computeTopOffsetRatio(e,r){if(typeof e=="number")return e;switch(e){case"end":return 1;case"center":return .5;case"nearest":return r;default:return 0}}scrollIntoViewIfPossible(e,r){let n=this.findFirstScrollableParent(e);if(e&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,e),s=i-n.clientHeight+e.clientHeight,a=i,c=kt(0,(a-n.scrollTop)/(a-s),1),d=this.computeTopOffsetRatio(r?.position,c)*(s-a)+a;n.scrollTo({behavior:r?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",e,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(As=window.FluidTopicsScrollHelper)!==null&&As!==void 0?As:new ws;var Ih=window.FluidTopicsScrollHelper;var Ls={};$(Ls,{toFtFormComponent:()=>Ts});var Rs=Symbol("elementInternals"),Ts=pe(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[Rs].form}constructor(...n){super(n),this[Rs]=this.attachInternals()}setFormValue(n){this[Rs].setFormValue(n)}}return e});var ks={};$(ks,{DateFormatter:()=>Gt});var Gt=class{static format(e,r,n,i,s){return window.moment?window.moment(e).locale(r).format(this.getMomentDateFormat(n,i,!!s)):this.getIntlDateTime(e,r,n,i,!!s)}static getMomentDateFormat(e,r,n){return n?"LT":e?r?"lll":"ll":r?"L LT":"L"}static getIntlDateTime(e,r,n,i,s){let a=typeof e=="string"?new Date(e):e,c=new Intl.DateTimeFormat(r,{dateStyle:n?"medium":"short"}).format(a),d=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(a);return s?d:i?`${c} ${d}`:c}static getTimezoneAsString(){let e=n=>String(Math.floor(n)).padStart(2,"0"),r=new Date().getTimezoneOffset();return`${r<0?"+":"-"}${e(Math.abs(r)/60)}:${e(Math.abs(r)%60)}`}};var Ns={};$(Ns,{ALL_KEYS_VALUE:()=>Is,SameWindowStorageEvent:()=>Rr});var Is="__all__",Rr=class extends CustomEvent{constructor(e,r,n){super("same-window-storage",{detail:{key:e,oldValue:r,newValue:n}})}keyMatch(e){return this.detail.key.includes(e)||this.detail.key==Is}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(t,e,r){let n=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new Rr(r[0],n,r[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(t,e,r){let n=e.getItem(r[0]);Reflect.apply(t,e,r),window.dispatchEvent(new Rr(r[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,r){Reflect.apply(t,e,r),window.dispatchEvent(new Rr(Is))}});var Ds={};$(Ds,{FocusMainContentEvent:()=>Ps});var Ps=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var Od={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function Nh(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=t.key}function Ph(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}document.addEventListener("keydown",Nh);document.addEventListener("click",Ph);var Ad=R`
48
48
  .sr-only {
49
49
  position:absolute;
50
50
  left:-10000px;
@@ -68,31 +68,21 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
68
68
  width:auto;
69
69
  height:auto;
70
70
  }
71
- `;var Fs={};$(Fs,{withAriaNotification:()=>Ms});var Dh={checkVisibility:!0},Ms=pe(Symbol("withAriaNotification"),function(t){class e extends t{sendAriaNotification(n,i){let{checkVisibility:s}={...Dh,...i};setTimeout(()=>{(!s||this.checkVisibility())&&(n=typeof n=="string"?n:n?.message,n&&this.dispatchEvent(new Kr({type:"aria",message:n})))},20)}}return e});var Us={};$(Us,{withConditionalVisibility:()=>Mh});var wd=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};function Mh(t){class e extends t{constructor(){super(...arguments),this.forceVisible=!1,this.isVisible=!0,this.isElementWithConditionalVisibility=!0}calculateStyles(n,i){if(n){let s=document.createElement("style");s.classList.add("conditional-visibility-style"),s.innerHTML=i,this.shadowRoot.append(s)}}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 wd([y({type:Boolean,attribute:!1})],e.prototype,"forceVisible",void 0),wd([N()],e.prototype,"isVisible",void 0),e}var Bs={};$(Bs,{FormController:()=>$s});function Fh(t){let e={};for(let r of Object.keys(t))e[r]=t[r].initial;return e}var $s=class{constructor(e,r){this.host=e,this.config=r,this.errors=new Map,this.submitting=!1,e.addController(this),this.initial=Fh(r),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(e){return this.data[e]}hasError(e){return this.errors.has(e)}errorFor(e){return this.errors.get(e)}setValue(e,r){if(this.data[e]===r)return;let n={...this.data};n[e]=r,this.data=n,this.checkValidity()}bind(e){return r=>this.setValue(e,r.detail)}setInitialValues(e){this.initial={...e},this.reset()}reset(){this.data={...this.initial},this.errors.clear(),this.submitting=!1,this.host.requestUpdate()}validateField(e,r){var n,i;let s=(i=(n=this.config[e]).validator)===null||i===void 0?void 0:i.call(n,this.value(e),this.data,r);s!==void 0&&this.errors.set(e,s)}checkValidity(e){return this.errors.clear(),this.fields.forEach(r=>{this.validateField(r,e)}),this.host.requestUpdate(),!this.inError}get firstFieldSelectorInError(){for(let e of this.fields){let r=this.config[e].selector;if(this.errors.has(e)&&r!==void 0)return r}}focusFirstFieldInError(){let e=this.firstFieldSelectorInError;if(e===void 0)return;let r=this.host.renderRoot.querySelector(e);r instanceof HTMLElement&&r.focus()}async submit(e){var r,n,i;if(!this.submitting){this.submitting=!0,this.host.requestUpdate();try{if(!this.checkValidity()){this.focusFirstFieldInError(),(r=e.onInvalid)===null||r===void 0||r.call(e);return}e.onSuccess(await e.request(this.data))}catch(s){let a=gi(s)?s:void 0;if(!this.checkValidity(a)){this.focusFirstFieldInError(),(n=e.onInvalid)===null||n===void 0||n.call(e);return}(i=e.onFailure)===null||i===void 0||i.call(e,a)}finally{this.submitting=!1,this.host.requestUpdate()}}}};var Hs={};$(Hs,{MetadataValueLocalizer:()=>zs});var zs=class{constructor(e){this.contentLocales=e}localize(e){var r,n;return e?.key!=="ft:locale"?e:{...e,displayValue:(r=this.findLocaleValue(e))!==null&&r!==void 0?r:e.displayValue,displayTooltipValue:(n=this.findLocaleValue(e))!==null&&n!==void 0?n:e.displayTooltipValue}}findLocaleValue(e){var r;return(r=this.contentLocales.find(n=>n.lang===e.value))===null||r===void 0?void 0:r.label}};function Vs(t,e){return e.map(r=>r(t)).filter(r=>r!==!0).map(r=>r)}function _d(t,e,r){return t?e(t):r?.(t)}var ae=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Gt;(function(t){t.blur="blur",t.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",t.input="input"})(Gt||(Gt={}));var bt;(function(t){t.default="default",t.warning="warning",t.error="error"})(bt||(bt={}));var Gs=class extends CustomEvent{constructor(e){super("input-validated",{detail:{level:e}})}};var mS=pe(Symbol("toFtInput"),function(t){class e extends t{constructor(){super(...arguments),this.warningRules=[],this.errorRules=[],this.validateOn=Gt.blurWithStatusResolutionOnInput,this.validateAtRender=!1,this.label="",this.hideLabel=!1,this.name="",this.disabled=!1,this.errorMessages=[],this.warningMessages=[],this.status=bt.default,this.focused=!1,this.additionalWarningRules=[],this.additionalErrorRules=[],this.forceErrorMessages=[]}connectedCallback(){super.connectedCallback(),this.validateAtRender&&this.triggerValidation()}onBlur(){this.focused=!1,(this.validateOn===Gt.blur||this.validateOn===Gt.blurWithStatusResolutionOnInput)&&this.triggerValidation()}onFocus(){this.focused=!0}onInput(){this.forceErrorMessages.length&&(this.forceErrorMessages=[]),(this.status!==bt.default&&this.validateOn===Gt.blurWithStatusResolutionOnInput||this.validateOn===Gt.input)&&this.triggerValidation()}triggerValidation(){this.errorMessages=[...this.forceErrorMessages,...Vs(this.value,[...this.errorRules,...this.additionalErrorRules])],this.warningMessages=Vs(this.value,[...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new Gs(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return L`
71
+ `;var Fs={};$(Fs,{withAriaNotification:()=>Ms});var Dh={checkVisibility:!0},Ms=pe(Symbol("withAriaNotification"),function(t){class e extends t{sendAriaNotification(n,i){let{checkVisibility:s}={...Dh,...i};setTimeout(()=>{(!s||this.checkVisibility())&&(n=typeof n=="string"?n:n?.message,n&&this.dispatchEvent(new Kr({type:"aria",message:n})))},20)}}return e});var Us={};$(Us,{withConditionalVisibility:()=>Mh});var wd=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s};function Mh(t){class e extends t{constructor(){super(...arguments),this.forceVisible=!1,this.isVisible=!0,this.isElementWithConditionalVisibility=!0}calculateStyles(n,i){if(n){let s=document.createElement("style");s.classList.add("conditional-visibility-style"),s.innerHTML=i,this.shadowRoot.append(s)}}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 wd([y({type:Boolean,attribute:!1})],e.prototype,"forceVisible",void 0),wd([N()],e.prototype,"isVisible",void 0),e}var Bs={};$(Bs,{FormController:()=>$s});function Fh(t){let e={};for(let r of Object.keys(t))e[r]=t[r].initial;return e}var $s=class{constructor(e,r){this.host=e,this.config=r,this.errors=new Map,this.submitting=!1,e.addController(this),this.initial=Fh(r),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(e){return this.data[e]}hasError(e){return this.errors.has(e)}errorFor(e){return this.errors.get(e)}setValue(e,r){if(this.data[e]===r)return;let n={...this.data};n[e]=r,this.data=n,this.checkValidity()}bind(e){return r=>this.setValue(e,r.detail)}setInitialValues(e){this.initial={...e},this.reset()}reset(){this.data={...this.initial},this.errors.clear(),this.submitting=!1,this.host.requestUpdate()}validateField(e,r){var n,i;let s=(i=(n=this.config[e]).validator)===null||i===void 0?void 0:i.call(n,this.value(e),this.data,r);s!==void 0&&this.errors.set(e,s)}checkValidity(e){return this.errors.clear(),this.fields.forEach(r=>{this.validateField(r,e)}),this.host.requestUpdate(),!this.inError}get firstFieldSelectorInError(){for(let e of this.fields){let r=this.config[e].selector;if(this.errors.has(e)&&r!==void 0)return r}}focusFirstFieldInError(){let e=this.firstFieldSelectorInError;if(e===void 0)return;let r=this.host.renderRoot.querySelector(e);r instanceof HTMLElement&&r.focus()}async submit(e){var r,n,i;if(!this.submitting){this.submitting=!0,this.host.requestUpdate();try{if(!this.checkValidity()){this.focusFirstFieldInError(),(r=e.onInvalid)===null||r===void 0||r.call(e);return}e.onSuccess(await e.request(this.data))}catch(s){let a=gi(s)?s:void 0;if(!this.checkValidity(a)){this.focusFirstFieldInError(),(n=e.onInvalid)===null||n===void 0||n.call(e);return}(i=e.onFailure)===null||i===void 0||i.call(e,a)}finally{this.submitting=!1,this.host.requestUpdate()}}}};var Hs={};$(Hs,{MetadataValueLocalizer:()=>zs});var zs=class{constructor(e){this.contentLocales=e}localize(e){var r,n;return e?.key!=="ft:locale"?e:{...e,displayValue:(r=this.findLocaleValue(e))!==null&&r!==void 0?r:e.displayValue,displayTooltipValue:(n=this.findLocaleValue(e))!==null&&n!==void 0?n:e.displayTooltipValue}}findLocaleValue(e){var r;return(r=this.contentLocales.find(n=>n.lang===e.value))===null||r===void 0?void 0:r.label}};function Vs(t,e){return e.map(r=>r(t)).filter(r=>r!==!0).map(r=>r)}function _d(t,e,r){return t?e(t):r?.(t)}var ae=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Wt;(function(t){t.blur="blur",t.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",t.input="input"})(Wt||(Wt={}));var bt;(function(t){t.default="default",t.warning="warning",t.error="error"})(bt||(bt={}));var Gs=class extends CustomEvent{constructor(e){super("input-validated",{detail:{level:e}})}};var mS=pe(Symbol("toFtInput"),function(t){class e extends t{constructor(){super(...arguments),this.warningRules=[],this.errorRules=[],this.validateOn=Wt.blurWithStatusResolutionOnInput,this.validateAtRender=!1,this.label="",this.hideLabel=!1,this.name="",this.disabled=!1,this.errorMessages=[],this.warningMessages=[],this.status=bt.default,this.focused=!1,this.additionalWarningRules=[],this.additionalErrorRules=[],this.forceErrorMessages=[]}connectedCallback(){super.connectedCallback(),this.validateAtRender&&this.triggerValidation()}onBlur(){this.focused=!1,(this.validateOn===Wt.blur||this.validateOn===Wt.blurWithStatusResolutionOnInput)&&this.triggerValidation()}onFocus(){this.focused=!0}onInput(){this.forceErrorMessages.length&&(this.forceErrorMessages=[]),(this.status!==bt.default&&this.validateOn===Wt.blurWithStatusResolutionOnInput||this.validateOn===Wt.input)&&this.triggerValidation()}triggerValidation(){this.errorMessages=[...this.forceErrorMessages,...Vs(this.value,[...this.errorRules,...this.additionalErrorRules])],this.warningMessages=Vs(this.value,[...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new Gs(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return T`
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
- ${pr(this.errorMessages,n=>L`
74
+ ${pr(this.errorMessages,n=>T`
75
75
  <li>${n}</li>
76
76
  `)}
77
- ${pr(this.warningMessages,n=>L`
77
+ ${pr(this.warningMessages,n=>T`
78
78
  <li>${n}</li>
79
79
  `)}
80
- ${_d(!this.errorMessages.length&&!this.warningMessages.length&&this.helperText,()=>L`
80
+ ${_d(!this.errorMessages.length&&!this.warningMessages.length&&this.helperText,()=>T`
81
81
  <li>${this.helperText}</li>
82
82
  `)}
83
83
  </ul>
84
- `}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?bt.error:this.warningMessages.length?bt.warning:bt.default}}return ae([y()],e.prototype,"warningRules",void 0),ae([y()],e.prototype,"errorRules",void 0),ae([y()],e.prototype,"validateOn",void 0),ae([y({type:Boolean})],e.prototype,"validateAtRender",void 0),ae([y()],e.prototype,"label",void 0),ae([y({type:Boolean})],e.prototype,"hideLabel",void 0),ae([y()],e.prototype,"name",void 0),ae([y({type:Boolean})],e.prototype,"disabled",void 0),ae([y()],e.prototype,"helperText",void 0),ae([y()],e.prototype,"forceStatus",void 0),ae([y({reflect:!0})],e.prototype,"value",void 0),ae([N()],e.prototype,"errorMessages",void 0),ae([N()],e.prototype,"warningMessages",void 0),ae([N()],e.prototype,"status",void 0),ae([N()],e.prototype,"focused",void 0),ae([N()],e.prototype,"additionalWarningRules",void 0),ae([N()],e.prototype,"additionalErrorRules",void 0),ae([N()],e.prototype,"forceErrorMessages",void 0),e});var go=(t,e)=>{let r=t._$AN;if(r===void 0)return!1;for(let n of r)n._$AO?.(e,!1),go(n,e);return!0},gn=t=>{let e,r;do{if((e=t._$AM)===void 0)break;r=e._$AN,r.delete(t),t=e}while(r?.size===0)},Rd=t=>{for(let e;e=t._$AM;t=e){let r=e._$AN;if(r===void 0)e._$AN=r=new Set;else if(r.has(t))break;r.add(t),zh(e)}};function $h(t){this._$AN!==void 0?(gn(this),this._$AM=t,Rd(this)):this._$AM=t}function Bh(t,e=!1,r=0){let n=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(e)if(Array.isArray(n))for(let s=r;s<n.length;s++)go(n[s],!1),gn(n[s]);else n!=null&&(go(n,!1),gn(n));else go(this,t)}var zh=t=>{t.type==Ze.CHILD&&(t._$AP??=Bh,t._$AQ??=$h)},Tr=class extends ke{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,r,n){super._$AT(e,r,n),Rd(this),this.isConnected=e._$AU}_$AO(e,r=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),r&&(go(this,e),gn(this))}setValue(e){if(Ua(this._$Ct))this._$Ct._$AI(e,this);else{let r=[...this._$Ct._$AH];r[this._$Ci]=e,this._$Ct._$AI(r,this,0)}}disconnected(){}reconnected(){}};var Ws=class extends Tr{get element(){var e;return(e=this.part)===null||e===void 0?void 0:e.element}constructor(e){super(e),this.onFirstTrapFocus=async r=>{if(!this.element||!r.relatedTarget)return;let n=r.relatedTarget;this.isInsideElement(n,this.element)?await this.focusLastDescendant(this.element):await this.focusFirstDescendant(this.element)},this.onLastTrapFocus=async r=>{if(!this.element||!r.relatedTarget)return;let n=r.relatedTarget;this.isInsideElement(n,this.element)?await this.focusFirstDescendant(this.element):await this.focusLastDescendant(this.element)}}render(){return oe}update(e){return this.part=e,this.ensureFocusTrap(e.element),oe}reconnected(){var e;this.ensureFocusTrap((e=this.part)===null||e===void 0?void 0:e.element)}disconnected(){this.removeFocusTrap()}ensureFocusTrap(e){var r,n;this.isElementTrappable(e)&&(((r=this.firstTrap)===null||r===void 0?void 0:r.parentElement)===e&&((n=this.lastTrap)===null||n===void 0?void 0:n.parentElement)===e||(this.removeFocusTrap(),this.createFocusTrap(e)))}removeFocusTrap(){var e,r,n,i;(e=this.firstTrap)===null||e===void 0||e.removeEventListener("focus",this.onFirstTrapFocus),(r=this.lastTrap)===null||r===void 0||r.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(e){return!!e&&e instanceof HTMLElement&&e.childElementCount>0}createFocusTrap(e){this.firstTrap=this.createTrap(),this.lastTrap=this.createTrap(),e.insertBefore(this.firstTrap,e.firstChild),e.appendChild(this.lastTrap),this.lastTrap.addEventListener("focus",this.onLastTrapFocus),this.firstTrap.addEventListener("focus",this.onFirstTrapFocus)}createTrap(){let e=document.createElement("div");return e.tabIndex=0,e}getChildren(e){return e instanceof HTMLSlotElement?e.assignedElements():e.shadowRoot?e.shadowRoot.children:e.children}async focusFirstDescendant(e){await this.updateCompleteIfNecessary(e);let r=this.getChildren(e);for(let n=0;n<r.length;n++){let i=r[n];if(i instanceof HTMLElement&&(this.attemptFocus(i)||await this.focusFirstDescendant(i)))return!0}return!1}async focusLastDescendant(e){await this.updateCompleteIfNecessary(e);let r=this.getChildren(e);for(let n=r.length-1;n>=0;n--){let i=r[n];if(i instanceof HTMLElement&&(this.attemptFocus(i)||await this.focusLastDescendant(i)))return!0}return!1}async updateCompleteIfNecessary(e){e instanceof Le&&await e.updateComplete}isInsideElement(e,r){return ft(e).includes(r)}attemptFocus(e){return e===this.firstTrap||e===this.lastTrap||!this.isFocusable(e)?!1:(e.focus(),!0)}isFocusable(e){return!e.checkVisibility()||this.isElementDisabled(e)?!1:e instanceof HTMLAnchorElement?!!e.href&&e.rel!=="ignore":e instanceof HTMLInputElement?e.type!=="hidden":e.tabIndex>=0}isElementDisabled(e){return"disabled"in e&&!!e.disabled}},WS=Oe(Ws);var Td;(function(t){t.sm="sm",t.md="md",t.lg="lg",t.xl="xl"})(Td||(Td={}));var Hh={sm:640,md:768,lg:1024,xl:1280},js=class extends Tr{constructor(e){super(e),this.size=0,this.onResize=()=>{let r=window.innerWidth;this.size!==r&&(this.size=r,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(e,[r,n,i]){return this.lastArgs=[r,n,i],this.render(r,n,i)}render(e,r,n){let i=this.resolveThreshold(e),s=n??(()=>B);return this.size>i?r():s()}resolveThreshold(e){return typeof e=="number"?e:Hh[e]}},qS=Oe(js);var Vh=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Ks=class extends CustomEvent{constructor(e){super("ft-analytics-action",{composed:!0,bubbles:!0,detail:e})}};function bn(t,e){class r extends t{constructor(){super(...arguments),this.configuredAnalyticsActions={}}emitAnalyticsAction(i,s){var a,c;let d=(c=(a=this.configuredAnalyticsActions)===null||a===void 0?void 0:a[i])===null||c===void 0?void 0:c.eventName;if(!d)return;let p=e[i];this.dispatchEvent(new Ks({eventName:d,actionType:i,componentType:this.tagName.toLowerCase(),componentId:this.id||p?.defaultComponentId||this.tagName.toLowerCase(),data:s}))}}return r.analyticsActions=e,Vh([ne({})],r.prototype,"configuredAnalyticsActions",void 0),r}var Zs,Wt=class{static compareDeepPosition(e,r){if(e===r)return 0;let n=ft(e).reverse(),i=ft(r).reverse();if(n[0]!==i[0])return Node.DOCUMENT_POSITION_DISCONNECTED|Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC|Node.DOCUMENT_POSITION_PRECEDING;let s=0;for(;(n[s]||i[s])&&n[s]===i[s];)s++;return n[s]==null?Node.DOCUMENT_POSITION_CONTAINED_BY|Node.DOCUMENT_POSITION_FOLLOWING:i[s]==null?Node.DOCUMENT_POSITION_CONTAINS|Node.DOCUMENT_POSITION_PRECEDING:n[s].compareDocumentPosition(i[s])}static compareDocumentPosition(e,r){let n=Zs.compareDeepPosition(e,r);return{equal:n===0,disconnected:(n&Node.DOCUMENT_POSITION_DISCONNECTED)!==0,implementationSpecific:(n&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC)!==0,preceding:(n&Node.DOCUMENT_POSITION_PRECEDING)!==0,following:(n&Node.DOCUMENT_POSITION_FOLLOWING)!==0,contains:(n&Node.DOCUMENT_POSITION_CONTAINS)!==0,containedBy:(n&Node.DOCUMENT_POSITION_CONTAINED_BY)!==0}}static findFirstInDOM(e){let r=0;for(let n=1;n<e.length;n++)this.domOrderSorter(e[r],e[n])>0&&(r=n);return e[r]}static getDeepActiveElement(){var e;if(!document.activeElement)return null;let r=document.activeElement;for(;!((e=r.shadowRoot)===null||e===void 0)&&e.activeElement;)r=r.shadowRoot.activeElement;return r}};Zs=Wt;Wt.domOrderSorter=(t,e)=>{if(t===e||!t?.isConnected&&!e?.isConnected)return 0;if(!e?.isConnected)return-1;if(!t?.isConnected)return 1;let{preceding:r,following:n,contains:i,containedBy:s}=Zs.compareDocumentPosition(t,e);return r||i?1:n||s?-1:0};var qs=class t{static autoFocus(e){t.allowAutoFocus(e)&&e.focus()}static allowAutoFocus(e){if(Ys)return!1;let r=Wt.getDeepActiveElement();if(!r)return!0;let n=Wt.compareDocumentPosition(r,e);return n.disconnected||n.implementationSpecific?!1:n.preceding&&!n.contains||n.containedBy}};window.FluidTopicsFocusHelper=qs;var Xs,Js,Qs,ea,bo=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Qs=(Js=(Xs=window.safari)===null||Xs===void 0?void 0:Xs.pushNotification)===null||Js===void 0?void 0:Js.toString())!==null&&Qs!==void 0?Qs:"")==="[object SafariRemoteNotification]",Ys="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(ea=window.ftGlobals)!==null&&ea!==void 0?ea:{lit:qn,litDecorators:Qn,litRepeat:ei,litClassMap:ti,litStyleMap:ri,litUnsafeHTML:ni,wcUtils:{...ii,...mi,...ai,...Ai,...ks,...wi,...li,...Li,...hi,...Gi,...Ds,...Od,..._s,...Wi,...Ti,...Xi,...Ls,...qi,...Fs,...Us,...Fc,...di,...es,...Hs,...ki,...os,...Ad,...$c,...ns,...Os,...Ns,...ji,...Zi,...xi,...Ei,...Bs,isSafari:bo,isTouchScreen:Ys,setVariable:G}};var kd=Symbol.for(""),Gh=t=>{if(t?.r===kd)return t?._$litStatic$},ta=t=>({_$litStatic$:t,r:kd});var Ld=new Map,ra=t=>(e,...r)=>{let n=r.length,i,s,a=[],c=[],d,p=0,h=!1;for(;p<n;){for(d=e[p];p<n&&(s=r[p],(i=Gh(s))!==void 0);)d+=i+e[++p],h=!0;p!==n&&c.push(s),a.push(d),p++}if(p===n&&a.push(e[n]),h){let f=a.join("$$lit$$");(e=Ld.get(f))===void 0&&(a.raw=a,Ld.set(f,e=a)),r=c}return t(e,...r)},oa=ra(L),rC=ra(Gn),oC=ra(Wn);var he;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"})(he||(he={}));var Id=o.extend("--ft-typography-font-family","",_.titleFont),dt=o.extend("--ft-typography-font-family","",_.contentFont),O={fontFamily:dt,fontSize:o.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.create("--ft-typography-text-transform","","UNKNOWN","inherit"),textDecoration:o.create("--ft-typography-text-decoration","","UNKNOWN","inherit")},jt={fontFamily:o.extend("--ft-typography-title-font-family","",Id),fontSize:o.extend("--ft-typography-title-font-size","",O.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",O.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",O.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",O.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",O.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-title-text-decoration","",O.textDecoration,"inherit")},Kt={fontFamily:o.extend("--ft-typography-title-dense-font-family","",Id),fontSize:o.extend("--ft-typography-title-dense-font-size","",O.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",O.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",O.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",O.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",O.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-title-dense-text-decoration","",O.textDecoration,"inherit")},Zt={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",dt),fontSize:o.extend("--ft-typography-subtitle1-font-size","",O.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",O.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",O.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",O.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",O.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-subtitle1-text-decoration","",O.textDecoration,"inherit")},qt={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",dt),fontSize:o.extend("--ft-typography-subtitle2-font-size","",O.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",O.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",O.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",O.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",O.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-subtitle2-text-decoration","",O.textDecoration,"inherit")},Yt={fontFamily:o.extend("--ft-typography-body1-font-family","",dt),fontSize:o.extend("--ft-typography-body1-font-size","",O.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",O.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",O.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",O.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",O.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-body1-text-decoration","",O.textDecoration,"inherit")},Ee={fontFamily:o.extend("--ft-typography-body2-font-family","",dt),fontSize:o.extend("--ft-typography-body2-font-size","",O.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",O.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",O.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",O.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",O.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-body2-text-decoration","",O.textDecoration,"inherit")},Xt={fontFamily:o.extend("--ft-typography-caption-font-family","",dt),fontSize:o.extend("--ft-typography-caption-font-size","",O.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",O.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",O.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",O.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",O.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-caption-text-decoration","",O.textDecoration,"inherit")},Jt={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",dt),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",O.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",O.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",O.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",O.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",O.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-breadcrumb-text-decoration","",O.textDecoration,"inherit")},Qt={fontFamily:o.extend("--ft-typography-overline-font-family","",dt),fontSize:o.extend("--ft-typography-overline-font-size","",O.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",O.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",O.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",O.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",O.textTransform,"uppercase"),textDecoration:o.extend("--ft-typography-overline-text-decoration","",O.textDecoration,"inherit")},ze={fontFamily:o.extend("--ft-typography-button-font-family","",dt),fontSize:o.extend("--ft-typography-button-font-size","",O.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",O.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",O.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",O.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",O.textTransform,"uppercase"),textDecoration:o.extend("--ft-typography-button-text-decoration","",O.textDecoration,"inherit")},Nd=R`
84
+ `}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?bt.error:this.warningMessages.length?bt.warning:bt.default}}return ae([y()],e.prototype,"warningRules",void 0),ae([y()],e.prototype,"errorRules",void 0),ae([y()],e.prototype,"validateOn",void 0),ae([y({type:Boolean})],e.prototype,"validateAtRender",void 0),ae([y()],e.prototype,"label",void 0),ae([y({type:Boolean})],e.prototype,"hideLabel",void 0),ae([y()],e.prototype,"name",void 0),ae([y({type:Boolean})],e.prototype,"disabled",void 0),ae([y()],e.prototype,"helperText",void 0),ae([y()],e.prototype,"forceStatus",void 0),ae([y({reflect:!0})],e.prototype,"value",void 0),ae([N()],e.prototype,"errorMessages",void 0),ae([N()],e.prototype,"warningMessages",void 0),ae([N()],e.prototype,"status",void 0),ae([N()],e.prototype,"focused",void 0),ae([N()],e.prototype,"additionalWarningRules",void 0),ae([N()],e.prototype,"additionalErrorRules",void 0),ae([N()],e.prototype,"forceErrorMessages",void 0),e});var go=(t,e)=>{let r=t._$AN;if(r===void 0)return!1;for(let n of r)n._$AO?.(e,!1),go(n,e);return!0},gn=t=>{let e,r;do{if((e=t._$AM)===void 0)break;r=e._$AN,r.delete(t),t=e}while(r?.size===0)},Rd=t=>{for(let e;e=t._$AM;t=e){let r=e._$AN;if(r===void 0)e._$AN=r=new Set;else if(r.has(t))break;r.add(t),zh(e)}};function $h(t){this._$AN!==void 0?(gn(this),this._$AM=t,Rd(this)):this._$AM=t}function Bh(t,e=!1,r=0){let n=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(e)if(Array.isArray(n))for(let s=r;s<n.length;s++)go(n[s],!1),gn(n[s]);else n!=null&&(go(n,!1),gn(n));else go(this,t)}var zh=t=>{t.type==Ze.CHILD&&(t._$AP??=Bh,t._$AQ??=$h)},Tr=class extends ke{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,r,n){super._$AT(e,r,n),Rd(this),this.isConnected=e._$AU}_$AO(e,r=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),r&&(go(this,e),gn(this))}setValue(e){if(Ua(this._$Ct))this._$Ct._$AI(e,this);else{let r=[...this._$Ct._$AH];r[this._$Ci]=e,this._$Ct._$AI(r,this,0)}}disconnected(){}reconnected(){}};var Ws=class extends Tr{get element(){var e;return(e=this.part)===null||e===void 0?void 0:e.element}constructor(e){super(e),this.onFirstTrapFocus=async r=>{if(!this.element||!r.relatedTarget)return;let n=r.relatedTarget;this.isInsideElement(n,this.element)?await this.focusLastDescendant(this.element):await this.focusFirstDescendant(this.element)},this.onLastTrapFocus=async r=>{if(!this.element||!r.relatedTarget)return;let n=r.relatedTarget;this.isInsideElement(n,this.element)?await this.focusFirstDescendant(this.element):await this.focusLastDescendant(this.element)}}render(){return oe}update(e){return this.part=e,this.ensureFocusTrap(e.element),oe}reconnected(){var e;this.ensureFocusTrap((e=this.part)===null||e===void 0?void 0:e.element)}disconnected(){this.removeFocusTrap()}ensureFocusTrap(e){var r,n;this.isElementTrappable(e)&&(((r=this.firstTrap)===null||r===void 0?void 0:r.parentElement)===e&&((n=this.lastTrap)===null||n===void 0?void 0:n.parentElement)===e||(this.removeFocusTrap(),this.createFocusTrap(e)))}removeFocusTrap(){var e,r,n,i;(e=this.firstTrap)===null||e===void 0||e.removeEventListener("focus",this.onFirstTrapFocus),(r=this.lastTrap)===null||r===void 0||r.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(e){return!!e&&e instanceof HTMLElement&&e.childElementCount>0}createFocusTrap(e){this.firstTrap=this.createTrap(),this.lastTrap=this.createTrap(),e.insertBefore(this.firstTrap,e.firstChild),e.appendChild(this.lastTrap),this.lastTrap.addEventListener("focus",this.onLastTrapFocus),this.firstTrap.addEventListener("focus",this.onFirstTrapFocus)}createTrap(){let e=document.createElement("div");return e.tabIndex=0,e}getChildren(e){return e instanceof HTMLSlotElement?e.assignedElements():e.shadowRoot?e.shadowRoot.children:e.children}async focusFirstDescendant(e){await this.updateCompleteIfNecessary(e);let r=this.getChildren(e);for(let n=0;n<r.length;n++){let i=r[n];if(i instanceof HTMLElement&&(this.attemptFocus(i)||await this.focusFirstDescendant(i)))return!0}return!1}async focusLastDescendant(e){await this.updateCompleteIfNecessary(e);let r=this.getChildren(e);for(let n=r.length-1;n>=0;n--){let i=r[n];if(i instanceof HTMLElement&&(this.attemptFocus(i)||await this.focusLastDescendant(i)))return!0}return!1}async updateCompleteIfNecessary(e){e instanceof Le&&await e.updateComplete}isInsideElement(e,r){return ft(e).includes(r)}attemptFocus(e){return e===this.firstTrap||e===this.lastTrap||!this.isFocusable(e)?!1:(e.focus(),!0)}isFocusable(e){return!e.checkVisibility()||this.isElementDisabled(e)?!1:e instanceof HTMLAnchorElement?!!e.href&&e.rel!=="ignore":e instanceof HTMLInputElement?e.type!=="hidden":e.tabIndex>=0}isElementDisabled(e){return"disabled"in e&&!!e.disabled}},WS=Oe(Ws);var Td;(function(t){t.sm="sm",t.md="md",t.lg="lg",t.xl="xl"})(Td||(Td={}));var Hh={sm:640,md:768,lg:1024,xl:1280},js=class extends Tr{constructor(e){super(e),this.size=0,this.onResize=()=>{let r=window.innerWidth;this.size!==r&&(this.size=r,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(e,[r,n,i]){return this.lastArgs=[r,n,i],this.render(r,n,i)}render(e,r,n){let i=this.resolveThreshold(e),s=n??(()=>B);return this.size>i?r():s()}resolveThreshold(e){return typeof e=="number"?e:Hh[e]}},qS=Oe(js);var Vh=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Ks=class extends CustomEvent{constructor(e){super("ft-analytics-action",{composed:!0,bubbles:!0,detail:e})}};function bn(t,e){class r extends t{constructor(){super(...arguments),this.configuredAnalyticsActions={}}emitAnalyticsAction(i,s){var a,c;let d=(c=(a=this.configuredAnalyticsActions)===null||a===void 0?void 0:a[i])===null||c===void 0?void 0:c.eventName;if(!d)return;let p=e[i];this.dispatchEvent(new Ks({eventName:d,actionType:i,componentType:this.tagName.toLowerCase(),componentId:this.id||p?.defaultComponentId||this.tagName.toLowerCase(),data:s}))}}return r.analyticsActions=e,Vh([ne({})],r.prototype,"configuredAnalyticsActions",void 0),r}var Zs,jt=class{static compareDeepPosition(e,r){if(e===r)return 0;let n=ft(e).reverse(),i=ft(r).reverse();if(n[0]!==i[0])return Node.DOCUMENT_POSITION_DISCONNECTED|Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC|Node.DOCUMENT_POSITION_PRECEDING;let s=0;for(;(n[s]||i[s])&&n[s]===i[s];)s++;return n[s]==null?Node.DOCUMENT_POSITION_CONTAINED_BY|Node.DOCUMENT_POSITION_FOLLOWING:i[s]==null?Node.DOCUMENT_POSITION_CONTAINS|Node.DOCUMENT_POSITION_PRECEDING:n[s].compareDocumentPosition(i[s])}static compareDocumentPosition(e,r){let n=Zs.compareDeepPosition(e,r);return{equal:n===0,disconnected:(n&Node.DOCUMENT_POSITION_DISCONNECTED)!==0,implementationSpecific:(n&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC)!==0,preceding:(n&Node.DOCUMENT_POSITION_PRECEDING)!==0,following:(n&Node.DOCUMENT_POSITION_FOLLOWING)!==0,contains:(n&Node.DOCUMENT_POSITION_CONTAINS)!==0,containedBy:(n&Node.DOCUMENT_POSITION_CONTAINED_BY)!==0}}static findFirstInDOM(e){let r=0;for(let n=1;n<e.length;n++)this.domOrderSorter(e[r],e[n])>0&&(r=n);return e[r]}static getDeepActiveElement(){var e;if(!document.activeElement)return null;let r=document.activeElement;for(;!((e=r.shadowRoot)===null||e===void 0)&&e.activeElement;)r=r.shadowRoot.activeElement;return r}};Zs=jt;jt.domOrderSorter=(t,e)=>{if(t===e||!t?.isConnected&&!e?.isConnected)return 0;if(!e?.isConnected)return-1;if(!t?.isConnected)return 1;let{preceding:r,following:n,contains:i,containedBy:s}=Zs.compareDocumentPosition(t,e);return r||i?1:n||s?-1:0};var qs=class t{static autoFocus(e){t.allowAutoFocus(e)&&e.focus()}static allowAutoFocus(e){if(Ys)return!1;let r=jt.getDeepActiveElement();if(!r)return!0;let n=jt.compareDocumentPosition(r,e);return n.disconnected||n.implementationSpecific?!1:n.preceding&&!n.contains||n.containedBy}};window.FluidTopicsFocusHelper=qs;var Xs,Js,Qs,ea,bo=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Qs=(Js=(Xs=window.safari)===null||Xs===void 0?void 0:Xs.pushNotification)===null||Js===void 0?void 0:Js.toString())!==null&&Qs!==void 0?Qs:"")==="[object SafariRemoteNotification]",Ys="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(ea=window.ftGlobals)!==null&&ea!==void 0?ea:{lit:qn,litDecorators:Qn,litRepeat:ei,litClassMap:ti,litStyleMap:ri,litUnsafeHTML:ni,wcUtils:{...ii,...mi,...ai,...Ai,...ks,...wi,...li,...Li,...hi,...Gi,...Ds,...Od,..._s,...Wi,...Ti,...Xi,...Ls,...qi,...Fs,...Us,...Fc,...di,...es,...Hs,...ki,...os,...Ad,...$c,...ns,...Os,...Ns,...ji,...Zi,...xi,...Ei,...Bs,isSafari:bo,isTouchScreen:Ys,setVariable:G}};var kd=Symbol.for(""),Gh=t=>{if(t?.r===kd)return t?._$litStatic$},ta=t=>({_$litStatic$:t,r:kd});var Ld=new Map,ra=t=>(e,...r)=>{let n=r.length,i,s,a=[],c=[],d,p=0,h=!1;for(;p<n;){for(d=e[p];p<n&&(s=r[p],(i=Gh(s))!==void 0);)d+=i+e[++p],h=!0;p!==n&&c.push(s),a.push(d),p++}if(p===n&&a.push(e[n]),h){let f=a.join("$$lit$$");(e=Ld.get(f))===void 0&&(a.raw=a,Ld.set(f,e=a)),r=c}return t(e,...r)},oa=ra(T),rC=ra(Gn),oC=ra(Wn);var he;(function(t){t.title="title",t.title_dense="title-dense",t.subtitle1="subtitle1",t.subtitle2="subtitle2",t.body1="body1",t.body2="body2",t.caption="caption",t.breadcrumb="breadcrumb",t.overline="overline",t.button="button"})(he||(he={}));var Id=o.extend("--ft-typography-font-family","",_.titleFont),dt=o.extend("--ft-typography-font-family","",_.contentFont),O={fontFamily:dt,fontSize:o.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:o.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:o.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:o.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:o.create("--ft-typography-text-transform","","UNKNOWN","inherit"),textDecoration:o.create("--ft-typography-text-decoration","","UNKNOWN","inherit")},Kt={fontFamily:o.extend("--ft-typography-title-font-family","",Id),fontSize:o.extend("--ft-typography-title-font-size","",O.fontSize,"20px"),fontWeight:o.extend("--ft-typography-title-font-weight","",O.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-letter-spacing","",O.letterSpacing,"0.15px"),lineHeight:o.extend("--ft-typography-title-line-height","",O.lineHeight,"1.2"),textTransform:o.extend("--ft-typography-title-text-transform","",O.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-title-text-decoration","",O.textDecoration,"inherit")},Zt={fontFamily:o.extend("--ft-typography-title-dense-font-family","",Id),fontSize:o.extend("--ft-typography-title-dense-font-size","",O.fontSize,"14px"),fontWeight:o.extend("--ft-typography-title-dense-font-weight","",O.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-title-dense-letter-spacing","",O.letterSpacing,"0.105px"),lineHeight:o.extend("--ft-typography-title-dense-line-height","",O.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-title-dense-text-transform","",O.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-title-dense-text-decoration","",O.textDecoration,"inherit")},qt={fontFamily:o.extend("--ft-typography-subtitle1-font-family","",dt),fontSize:o.extend("--ft-typography-subtitle1-font-size","",O.fontSize,"16px"),fontWeight:o.extend("--ft-typography-subtitle1-font-weight","",O.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-subtitle1-letter-spacing","",O.letterSpacing,"0.144px"),lineHeight:o.extend("--ft-typography-subtitle1-line-height","",O.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-subtitle1-text-transform","",O.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-subtitle1-text-decoration","",O.textDecoration,"inherit")},Yt={fontFamily:o.extend("--ft-typography-subtitle2-font-family","",dt),fontSize:o.extend("--ft-typography-subtitle2-font-size","",O.fontSize,"14px"),fontWeight:o.extend("--ft-typography-subtitle2-font-weight","",O.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-subtitle2-letter-spacing","",O.letterSpacing,"0.098px"),lineHeight:o.extend("--ft-typography-subtitle2-line-height","",O.lineHeight,"1.7"),textTransform:o.extend("--ft-typography-subtitle2-text-transform","",O.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-subtitle2-text-decoration","",O.textDecoration,"inherit")},Xt={fontFamily:o.extend("--ft-typography-body1-font-family","",dt),fontSize:o.extend("--ft-typography-body1-font-size","",O.fontSize,"16px"),fontWeight:o.extend("--ft-typography-body1-font-weight","",O.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body1-letter-spacing","",O.letterSpacing,"0.496px"),lineHeight:o.extend("--ft-typography-body1-line-height","",O.lineHeight,"1.5"),textTransform:o.extend("--ft-typography-body1-text-transform","",O.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-body1-text-decoration","",O.textDecoration,"inherit")},Ee={fontFamily:o.extend("--ft-typography-body2-font-family","",dt),fontSize:o.extend("--ft-typography-body2-font-size","",O.fontSize,"14px"),fontWeight:o.extend("--ft-typography-body2-font-weight","",O.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-body2-letter-spacing","",O.letterSpacing,"0.252px"),lineHeight:o.extend("--ft-typography-body2-line-height","",O.lineHeight,"1.4"),textTransform:o.extend("--ft-typography-body2-text-transform","",O.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-body2-text-decoration","",O.textDecoration,"inherit")},Jt={fontFamily:o.extend("--ft-typography-caption-font-family","",dt),fontSize:o.extend("--ft-typography-caption-font-size","",O.fontSize,"12px"),fontWeight:o.extend("--ft-typography-caption-font-weight","",O.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-caption-letter-spacing","",O.letterSpacing,"0.396px"),lineHeight:o.extend("--ft-typography-caption-line-height","",O.lineHeight,"1.33"),textTransform:o.extend("--ft-typography-caption-text-transform","",O.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-caption-text-decoration","",O.textDecoration,"inherit")},Qt={fontFamily:o.extend("--ft-typography-breadcrumb-font-family","",dt),fontSize:o.extend("--ft-typography-breadcrumb-font-size","",O.fontSize,"10px"),fontWeight:o.extend("--ft-typography-breadcrumb-font-weight","",O.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-breadcrumb-letter-spacing","",O.letterSpacing,"0.33px"),lineHeight:o.extend("--ft-typography-breadcrumb-line-height","",O.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-breadcrumb-text-transform","",O.textTransform,"inherit"),textDecoration:o.extend("--ft-typography-breadcrumb-text-decoration","",O.textDecoration,"inherit")},er={fontFamily:o.extend("--ft-typography-overline-font-family","",dt),fontSize:o.extend("--ft-typography-overline-font-size","",O.fontSize,"10px"),fontWeight:o.extend("--ft-typography-overline-font-weight","",O.fontWeight,"normal"),letterSpacing:o.extend("--ft-typography-overline-letter-spacing","",O.letterSpacing,"1.5px"),lineHeight:o.extend("--ft-typography-overline-line-height","",O.lineHeight,"1.6"),textTransform:o.extend("--ft-typography-overline-text-transform","",O.textTransform,"uppercase"),textDecoration:o.extend("--ft-typography-overline-text-decoration","",O.textDecoration,"inherit")},ze={fontFamily:o.extend("--ft-typography-button-font-family","",dt),fontSize:o.extend("--ft-typography-button-font-size","",O.fontSize,"14px"),fontWeight:o.extend("--ft-typography-button-font-weight","",O.fontWeight,"600"),letterSpacing:o.extend("--ft-typography-button-letter-spacing","",O.letterSpacing,"1.246px"),lineHeight:o.extend("--ft-typography-button-line-height","",O.lineHeight,"1.15"),textTransform:o.extend("--ft-typography-button-text-transform","",O.textTransform,"uppercase"),textDecoration:o.extend("--ft-typography-button-text-decoration","",O.textDecoration,"inherit")},Nd=R`
85
85
  .ft-typography--title {
86
- font-family: ${jt.fontFamily};
87
- font-size: ${jt.fontSize};
88
- font-weight: ${jt.fontWeight};
89
- letter-spacing: ${jt.letterSpacing};
90
- line-height: ${jt.lineHeight};
91
- text-transform: ${jt.textTransform};
92
- text-decoration: ${jt.textDecoration};
93
- }
94
- `,Pd=R`
95
- .ft-typography--title-dense {
96
86
  font-family: ${Kt.fontFamily};
97
87
  font-size: ${Kt.fontSize};
98
88
  font-weight: ${Kt.fontWeight};
@@ -101,8 +91,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
101
91
  text-transform: ${Kt.textTransform};
102
92
  text-decoration: ${Kt.textDecoration};
103
93
  }
104
- `,Dd=R`
105
- .ft-typography--subtitle1 {
94
+ `,Pd=R`
95
+ .ft-typography--title-dense {
106
96
  font-family: ${Zt.fontFamily};
107
97
  font-size: ${Zt.fontSize};
108
98
  font-weight: ${Zt.fontWeight};
@@ -111,8 +101,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
111
101
  text-transform: ${Zt.textTransform};
112
102
  text-decoration: ${Zt.textDecoration};
113
103
  }
114
- `,Md=R`
115
- .ft-typography--subtitle2 {
104
+ `,Dd=R`
105
+ .ft-typography--subtitle1 {
116
106
  font-family: ${qt.fontFamily};
117
107
  font-size: ${qt.fontSize};
118
108
  font-weight: ${qt.fontWeight};
@@ -121,9 +111,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
121
111
  text-transform: ${qt.textTransform};
122
112
  text-decoration: ${qt.textDecoration};
123
113
  }
124
-
125
- `,Fd=R`
126
- .ft-typography--body1 {
114
+ `,Md=R`
115
+ .ft-typography--subtitle2 {
127
116
  font-family: ${Yt.fontFamily};
128
117
  font-size: ${Yt.fontSize};
129
118
  font-weight: ${Yt.fontWeight};
@@ -132,6 +121,17 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
132
121
  text-transform: ${Yt.textTransform};
133
122
  text-decoration: ${Yt.textDecoration};
134
123
  }
124
+
125
+ `,Fd=R`
126
+ .ft-typography--body1 {
127
+ font-family: ${Xt.fontFamily};
128
+ font-size: ${Xt.fontSize};
129
+ font-weight: ${Xt.fontWeight};
130
+ letter-spacing: ${Xt.letterSpacing};
131
+ line-height: ${Xt.lineHeight};
132
+ text-transform: ${Xt.textTransform};
133
+ text-decoration: ${Xt.textDecoration};
134
+ }
135
135
  `,Ud=R`
136
136
  .ft-typography--body2 {
137
137
  font-family: ${Ee.fontFamily};
@@ -144,16 +144,6 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
144
144
  }
145
145
  `,xn=R`
146
146
  .ft-typography--caption {
147
- font-family: ${Xt.fontFamily};
148
- font-size: ${Xt.fontSize};
149
- font-weight: ${Xt.fontWeight};
150
- letter-spacing: ${Xt.letterSpacing};
151
- line-height: ${Xt.lineHeight};
152
- text-transform: ${Xt.textTransform};
153
- text-decoration: ${Xt.textDecoration};
154
- }
155
- `,$d=R`
156
- .ft-typography--breadcrumb {
157
147
  font-family: ${Jt.fontFamily};
158
148
  font-size: ${Jt.fontSize};
159
149
  font-weight: ${Jt.fontWeight};
@@ -162,8 +152,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
162
152
  text-transform: ${Jt.textTransform};
163
153
  text-decoration: ${Jt.textDecoration};
164
154
  }
165
- `,Bd=R`
166
- .ft-typography--overline {
155
+ `,$d=R`
156
+ .ft-typography--breadcrumb {
167
157
  font-family: ${Qt.fontFamily};
168
158
  font-size: ${Qt.fontSize};
169
159
  font-weight: ${Qt.fontWeight};
@@ -172,6 +162,16 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
172
162
  text-transform: ${Qt.textTransform};
173
163
  text-decoration: ${Qt.textDecoration};
174
164
  }
165
+ `,Bd=R`
166
+ .ft-typography--overline {
167
+ font-family: ${er.fontFamily};
168
+ font-size: ${er.fontSize};
169
+ font-weight: ${er.fontWeight};
170
+ letter-spacing: ${er.letterSpacing};
171
+ line-height: ${er.lineHeight};
172
+ text-transform: ${er.textTransform};
173
+ text-decoration: ${er.textDecoration};
174
+ }
175
175
  `,zd=R`
176
176
  .ft-typography--button {
177
177
  font-family: ${ze.fontFamily};
@@ -306,7 +306,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
306
306
  opacity: ${ye.opacityContentOnSurfacePressed};
307
307
  transform: translate(-50%, -50%) scale(1);
308
308
  }
309
- `;var Ce=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},W=class extends U{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 J(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new J(10),this.moveRipple=e=>{var r,n;let{x:i,y:s}=this.getCoordinates(e),a=(n=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-a.x:a.width/2),this.originY=Math.round(s!=null?s-a.y:a.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return L`
309
+ `;var Ce=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},W=class extends U{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 J(1e3),this.onTransitionStart=e=>{e.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=e=>{e.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new J(10),this.moveRipple=e=>{var r,n;let{x:i,y:s}=this.getCoordinates(e),a=(n=(r=this.ripple)===null||r===void 0?void 0:r.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-a.x:a.width/2),this.originY=Math.round(s!=null?s-a.y:a.height/2)},this.startPress=e=>{this.moveRipple(e),this.pressed=!this.isIgnored(e)},this.endPress=()=>{this.pressed=!1},this.startHover=e=>{this.hovered=!this.isIgnored(e)},this.endHover=()=>{this.hovered=!1},this.startFocus=e=>{this.focused=this.isFocusVisible(e?.target)&&!this.isIgnored(e)},this.endFocus=()=>{this.focused=!1}}render(){let e={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return T`
310
310
  <style>
311
311
  .ft-ripple .ft-ripple--effect {
312
312
  left: ${this.originX}px;
@@ -348,15 +348,15 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
348
348
  position: relative;
349
349
  word-break: break-word;
350
350
  }
351
- `;var Wh="ft-app-info",er=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};er.eventName="authentication-change";var vo=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};vo.eventName="ui-locale-changed";var jh={session:(t,e)=>{ue(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>M.dispatchEvent(new er(e.payload)),0))}},M=Ht.get({name:Wh,reducers:jh,initialState:{baseUrl:void 0,tenantId:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableContentLocales:[],localesConfiguration:void 0,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,noCustomCode:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1,stickyFilters:void 0}});var vn=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},eO=pe(Symbol("withDateFormat"),function(t){class e extends t{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(M)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var i,s;return((s=(i=this.metadataDescriptors.find(c=>c.key===n))===null||i===void 0?void 0:i.date)!==null&&s!==void 0?s:!1)?c=>Vt.format(c,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return vn([y({type:Boolean})],e.prototype,"useLongDateFormat",void 0),vn([y({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),vn([Or({store:M.name,selector:r=>{var n,i;return(i=(n=r.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&i!==void 0?i:[]}})],e.prototype,"metadataDescriptors",void 0),vn([Or({store:M.name})],e.prototype,"uiLocale",void 0),e});var tr=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:n}=M.getState(),i=e??n;if(r&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,i,!0)}static await(e){return new Promise(r=>{let n=t.get(e);if(n)r(n);else{let i=M.subscribe(()=>{n=t.get(e),n&&(i(),r(n))})}})}};var Lr=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:tr.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):tr.await()}};var Re=class extends Lr{constructor(e=!0,r){var n;super(r),this.sortObjectFields=(s,a)=>typeof a!="object"||a==null||Array.isArray(a)?a:Object.fromEntries(Object.entries(a).sort(([c],[d])=>c.localeCompare(d)));let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new qe,this.cache=e?i.commonCache:new qe}clearCache(){this.cache.clearAll()}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((r,n)=>0|31*r+n.charCodeAt(0),0))}};var Sn=class extends Re{async listMySearches(){let{session:e}=M.getState();return bi(e,te.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),300*1e3):[]}};var En=class extends Re{async listMyBookmarks(){let e=M.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),300*1e3):[]}};var Cn=class extends Re{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetCount(e){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${e}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(e){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${e}`),this.CACHE_DURATION)}isAuthenticated(){let e=M.getState().session;return!!e?.sessionAuthenticated}};var On=class extends Re{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let e=M.getState().session;return!!e?.sessionAuthenticated}};var Kh="ft-user-assets",Zh={setAssetCount:(t,e)=>{let{userAssetType:r,count:n}=e.payload.assetCount;t.assetCounts.allAsset[r]=n},clearAssetCount:t=>{Object.values(Ne).forEach(e=>{t.assetCounts.allAsset[e]=void 0})},setBookmarkCountByMap:(t,e)=>{let r=e.payload.mapId;t.assetCounts.bookmarkByMap[r]=e.payload.count},clearBookmarkCountByMap:t=>{t.assetCounts.bookmarkByMap={}},addAsset:(t,e)=>{let{assetType:r,mapId:n,asset:i}=e.payload;ia(t,r,[...na(t,r),i]),Qd(t,r,1,n),eu(t,i)},editAsset:(t,e)=>{let{assetType:r,asset:n}=e.payload;ia(t,r,na(t,r).map(i=>i.id===n.id?n:i)),eu(t,n)},removeAsset:(t,e)=>{let{assetType:r,mapId:n,assetId:i}=e.payload;ia(t,r,na(t,r).filter(s=>s.id!==i)),Qd(t,r,-1,n)}},tu={[Ne.SEARCHES]:"savedSearches",[Ne.BOOKMARKS]:"bookmarks",[Ne.BOOKS]:void 0,[Ne.COLLECTIONS]:void 0},na=(t,e)=>{var r;let n=tu[e];return n?(r=t[n])!==null&&r!==void 0?r:[]:[]},ia=(t,e,r)=>{let n=tu[e];n&&(t[n]=r)},Qd=(t,e,r,n)=>{let i=t.assetCounts.allAsset[e];if(i!==void 0&&(t.assetCounts.allAsset[e]=Math.max(0,i+r),e===Ne.BOOKMARKS&&n)){let s=t.assetCounts.bookmarkByMap[n];t.assetCounts.bookmarkByMap[n]=Math.max(0,s+r)}},eu=(t,e)=>{let r=t.assetLabels.map(i=>i.title),n=e.labels.filter(i=>!r.includes(i)).map(i=>({title:i}));t.assetLabels.push(...n)},be=Ht.get({name:Kh,reducers:Zh,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(Ne).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),sa=class{constructor(e=new Cn,r=new On){this.assetCountsService=e,this.assetLabelsService=r,this.currentSession=M.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new En,this.savedSearchesService=new Sn,M.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=M.getState();ue((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),be.actions.clearAssetCount(),be.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),be.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),be.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();be.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();be.actions.assetLabels(e)}async loadAssetCount(e){let r=await this.assetCountsService.getUserAssetCount(e);r&&be.getState().assetCounts.allAsset[e]!==r.count&&be.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(e){let r=await this.assetCountsService.getUserBookmarkCountByMap(e);r&&be.getState().assetCounts.bookmarkByMap[e]!==r.count&&be.actions.setBookmarkCountByMap({count:r.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let r=Object.keys(be.getState().assetCounts.bookmarkByMap).length!==0;e===Ne.BOOKMARKS&&r&&be.actions.clearBookmarkCountByMap(),be.getState().assetCounts.allAsset[e]!==void 0&&await this.loadAssetCount(e)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;be.actions.bookmarks(r)}}},qh=new sa;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=qh);var aa=class{addCommand(e,r=!1){M.commands.add(e,r)}consumeCommand(e){return M.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new aa;var ru,kr=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},Yh=Symbol("clearAfterUnitTest"),An=class extends Bo(Re){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[ru]=()=>{this.defaultMessages={},this.cache=new qe,this.listeners={}},this.currentUiLocale=M.getState().uiLocale,M.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=M.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var n;if(e=e.toLowerCase(),r&&Object.keys(r).length>0){let i={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...r};ue(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var r,n;return this.fetchContext(e),(n=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(e,r){let n=e.toLowerCase();return this.resolveContext(n)[r]}resolveMessage(e,r,...n){var i;let s=e.toLowerCase(),a=this.resolveContext(s);return new io((i=this.defaultMessages[s])!==null&&i!==void 0?i:{},a).resolve(r,...n)}async fetchContext(e){let r=!this.cache.has(e),n;try{n=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),r&&await this.notify(e)}catch(i){!(i instanceof Tt)&&r&&console.error(i)}return n}subscribe(e,r){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(r),()=>{var i;return(i=this.listeners[e])===null||i===void 0?void 0:i.delete(r)}}async notifyAll(){let e=Object.keys(this.listeners);document.body.dispatchEvent(new kr({loadedContexts:e})),this.dispatchEvent(new kr({loadedContexts:e})),await Promise.all(e.map(r=>this.notify(r,!1)))}async notify(e,r=!0){r&&(document.body.dispatchEvent(new kr({loadedContexts:[e]})),this.dispatchEvent(new kr({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(n=>$o(0).then(()=>n()).catch(()=>null)))}};ru=Yh;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends An{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends An{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var Ir=window.FluidTopicsI18nService,wn=window.FluidTopicsCustomI18nService;var la=class{highlightHtml(e,r,n){Qi(e,r,n)}};window.FluidTopicsHighlightHtmlService=new la;var ca=class{isDate(e){var r,n,i,s;return(s=(n=((i=(r=M.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&i!==void 0?i:[]).find(c=>c.key===e))===null||n===void 0?void 0:n.date)!==null&&s!==void 0?s:!1}format(e,r){var n,i,s,a;if(e==null)return"";try{return Vt.format(e,(n=r?.locale)!==null&&n!==void 0?n:M.getState().uiLocale,(i=r?.longFormat)!==null&&i!==void 0?i:!1,(s=r?.withTime)!==null&&s!==void 0?s:!1,(a=r?.onlyTime)!==null&&a!==void 0?a:!1)}catch(c){throw console.error(`Date ${JSON.stringify(e)} is not valid`,c),c}}};window.FluidTopicsDateService=new ca;var So=class{static get(e,r,{baseUrl:n,localesConfiguration:i,availableContentLocales:s}=M.getState()){var a;if(!r||s.length>0&&!s.some(c=>c.lang===r)){let c=i?.defaultLocales.defaultContentLocale;r=c?`${c.lang}-${c.region}`:(a=s[0])===null||a===void 0?void 0:a.lang}return new st(n,e??20,i?.allLanguagesAllowed,r,s)}};var da=class{urlToSearchRequest(e){return So.get().parse(e)}searchRequestToUrl(e){return So.get().serialize(e)}};window.FluidTopicsUrlService=new da;var rr=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{nextLocation:e}})}};rr.eventName="before-location-change";var or=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};or.eventName="change";var ua=class{itemName(e){return`fluid-topics-history-item-${e}`}get(e){let r=sessionStorage.getItem(this.itemName(e));return r?JSON.parse(r):void 0}set(e,r){sessionStorage.setItem(this.itemName(e),JSON.stringify(r))}},ou=new ua;var _n=class t extends it{static build(){return new t(window.history,ou,()=>window.location,!1)}constructor(e,r,n,i){var s,a;super(),this.history=e,this.historyStorage=r,this.windowLocation=n,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(a=(s=e.state)===null||s===void 0?void 0:s.index)!==null&&a!==void 0?a:e.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(i)}setCurrentState(e,r=!1){let n=r&&this.currentIndex===e.index-1;this.currentState={...this.buildCurrentState(),...e},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,n&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),ue(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,this.windowLocation().href]),setTimeout(()=>this.dispatchEvent(new or(this.currentItem())),0)}installProxies(){let e=r=>(n,i,[s,a,c])=>{let d=new URL(typeof c=="string"?c:(c??this.windowLocation()).href,window.location.origin!=="null"?window.location.origin:void 0),p=new rr(d);this.dispatchEvent(p);let h=r(),f={...h===this.currentIndex?this.currentState:void 0,...s,index:h,href:p.detail.nextLocation.href};n.apply(i,[f,a,f.href]),this.setCurrentState(f,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:e(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:e(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",e=>this.setCurrentState(e.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(e){for(let r=this.history.length-1;r>=0;r--)e?this.states[r]=this.historyStorage.get(r):setTimeout(()=>this.states[r]=this.historyStorage.get(r),this.history.length-r)}updateCurrentState(e){var r;let n={...this.buildCurrentState(),...e,index:this.currentIndex,title:(r=e?.title)!==null&&r!==void 0?r:this.currentState.title};this.setCurrentState(n)}addBeforeLocationChangeListener(e){this.addEventListener(rr.eventName,e)}removeBeforeLocationChangeListener(e){this.removeEventListener(rr.eventName,e)}addHistoryChangeListener(e){this.addEventListener(or.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(or.eventName,e)}currentItem(){return Fe(this.currentState)}back(){let e=this.previousDifferentMajorPosition();e>=0?this.history.go(e-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return Fe(this.states[this.previousDifferentMajorPosition()])}backwardItemMatching(e){let r=this.states.filter(n=>!!n).filter(n=>n.index<this.currentIndex).reverse();return Fe(r.find(n=>e(n)))}previousDifferentMajorPosition(){let e=this.currentIndex>0?this.currentIndex-1:0;for(;e>0&&!this.isDifferentMajorState(e);)e--;return e}forward(){let e=this.nextMajorPosition();e&&e<this.states.length?this.history.go(e-this.currentIndex):this.history.forward()}forwardItem(){let e=this.nextMajorPosition();if(e)return Fe(this.states[e])}nextMajorPosition(){let e=this.currentIndex;if(!(e>=this.states.length)){do e++;while(e<this.states.length&&!this.isDifferentMajorState(e));return this.getHigherPositionInTheSameState(e)}}getHigherPositionInTheSameState(e){var r;let n=(r=this.states[e])===null||r===void 0?void 0:r.majorStateId;if(!n)return e;let i=e,s=e+1;for(;this.states.length>s&&!this.isDifferentMajorState(s,n);)this.hasState(s)&&(i=s),s++;return i}buildCurrentState(){var e,r;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(r=(e=this.history.state)===null||e===void 0?void 0:e.title)!==null&&r!==void 0?r:document.title}}hasState(e){return this.states[e]!=null}isDifferentMajorState(e,r){var n;if(!this.hasState(e))return!1;let i=r??this.currentState.majorStateId,s=(n=this.states[e])===null||n===void 0?void 0:n.majorStateId;return s==null||s!=i}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=_n.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),backwardItemMatching:t=>window.FluidTopicsInternalHistoryService.backwardItemMatching(t),addHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(t),removeHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(t),addBeforeLocationChangeListener:t=>window.FluidTopicsInternalHistoryService.addBeforeLocationChangeListener(t),removeBeforeLocationChangeListener:t=>window.FluidTopicsInternalHistoryService.removeBeforeLocationChangeListener(t)});var nu=R`
352
- `;function iu(t,e){let{authenticationRequired:r,session:n}=M.getState();return r&&!n?.sessionAuthenticated?Promise.resolve(e):t()}var Rn=class extends Lr{async updateUiLocale(e){return(await this.awaitApi).updateUiLocale(e)}};var pa=class t extends yo{static build(e){return new t(M,e)}constructor(e,r){super(),this.store=e,this.cache=new qe,this.withManualResources=!0,this.userLocaleService=new Rn,this.knownContexts=new hr,this.knownCustomComponents=new hr,this.cleanSessionDebouncer=new J,this.reloadConfiguration=()=>{var n;(n=this.cache)===null||n===void 0||n.clear("availableContentLocales"),this.updateAvailableContentLocales()},this.reloadDebouncer=new J(500),this.apiProvider=r??(()=>tr.get())}setWithManualResources(e){this.withManualResources=e,this.updateIfNeeded()}addListeners(){this.store.addEventListener(er.eventName,this.reloadConfiguration)}removeListeners(){this.store.removeEventListener(er.eventName,this.reloadConfiguration)}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.store.getState().session==null&&this.updateSession(),this.store.getState().metadataConfiguration==null&&this.updateMetadataConfiguration()),this.store.getState().localesConfiguration==null&&this.updateLocalesConfiguration(),(this.store.getState().availableContentLocales==null||this.store.getState().availableContentLocales.length==0)&&this.updateAvailableContentLocales())}async updateSession(){let e=await this.cache.get("session",async()=>{let r=await this.apiProvider().getCurrentSession();return r.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.setSession(void 0)},r.idleTimeoutInMillis),r});this.setSession(e)}async updateMetadataConfiguration(){this.setMetadataConfiguration(await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration()))}async updateLocalesConfiguration(){this.setLocalesConfiguration(await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration()))}async updateAvailableContentLocales(){var e;let r=await this.cache.get("availableContentLocales",()=>iu(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}));this.setAvailableContentLocales((e=r.contentLocales)!==null&&e!==void 0?e:[])}setStickyFilters(e){this.store.actions.stickyFilters(e)}setBaseUrl(e){this.store.actions.baseUrl(e),window.fluidTopicsBaseUrl=e}setTenantId(e){this.store.actions.tenantId(e)}setApiIntegrationIdentifier(e){this.store.actions.apiIntegrationIdentifier(e)}setApiIntegrationAppVersion(e){this.store.actions.apiIntegrationAppVersion(e)}setUiLocale(e){this.store.actions.uiLocale(e)}setLocalesConfiguration(e){this.store.actions.localesConfiguration(e),setTimeout(()=>this.updateIfNeeded())}setAvailableContentLocales(e){this.store.actions.availableContentLocales(e),setTimeout(()=>this.updateIfNeeded())}stopReloadDebouncer(){this.reloadDebouncer.cancel()}requestUiLocaleUpdate(e,r){this.userLocaleService.updateUiLocale({uiLocale:e,contentLocale:r}).then(n=>{n.uiLocaleChanged&&(this.reloadDebouncer.run(()=>window.location.reload()),this.store.dispatchEvent(new vo(n)))}).catch(()=>{})}setMetadataConfiguration(e){this.store.actions.metadataConfiguration(e),setTimeout(()=>this.updateIfNeeded())}setNoCustom(e){this.store.actions.noCustom(e)}setEditorMode(e){this.store.actions.editorMode(e)}setNoCustomComponent(e){this.store.actions.noCustomComponent(e)}setNoCustomCode(e){this.store.actions.noCustomCode(e)}setSession(e){this.store.actions.session(e),setTimeout(()=>this.updateIfNeeded())}setOpenExternalDocumentInNewTab(e){this.store.actions.openExternalDocumentInNewTab(e)}setNavigatorOnline(e){this.store.actions.navigatorOnline(e)}setForcedOffline(e){this.store.actions.forcedOffline(e)}setAuthenticationRequired(e){this.store.actions.authenticationRequired(e)}userHasAnyRole(...e){return Fl(M.getState().session,...e)}},su=pa.build();var nr=class extends Event{constructor(e,r,n,i){super("context-request",{bubbles:!0,composed:!0}),this.context=e,this.contextTarget=r,this.callback=n,this.subscribe=i??!1}};var Eo=class{constructor(){this.pendingContextRequests=new Map,this.onContextProvider=e=>{let r=this.pendingContextRequests.get(e.context);if(r===void 0)return;this.pendingContextRequests.delete(e.context);let{requests:n}=r;for(let{elementRef:i,callbackRef:s}of n){let a=i.deref(),c=s.deref();a===void 0||c===void 0||a.dispatchEvent(new nr(e.context,a,c,!0))}},this.onContextRequest=e=>{if(e.subscribe!==!0)return;let r=e.contextTarget??e.composedPath()[0],n=e.callback,i=this.pendingContextRequests.get(e.context);i===void 0&&this.pendingContextRequests.set(e.context,i={callbacks:new WeakMap,requests:[]});let s=i.callbacks.get(r);s===void 0&&i.callbacks.set(r,s=new WeakSet),s.has(n)||(s.add(n),i.requests.push({elementRef:new WeakRef(r),callbackRef:new WeakRef(n)}))}}attach(e){e.addEventListener("context-request",this.onContextRequest),e.addEventListener("context-provider",this.onContextProvider)}detach(e){e.removeEventListener("context-request",this.onContextRequest),e.removeEventListener("context-provider",this.onContextProvider)}};var le=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Y=class extends Bt{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.noCustomCode=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.authenticationRequired=!1,this.messageContexts=[],this.stateManager=su,this.contextRoot=new Eo}render(){return L`
351
+ `;var Wh="ft-app-info",tr=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};tr.eventName="authentication-change";var vo=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};vo.eventName="ui-locale-changed";var jh={session:(t,e)=>{ue(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>M.dispatchEvent(new tr(e.payload)),0))}},M=Vt.get({name:Wh,reducers:jh,initialState:{baseUrl:void 0,tenantId:void 0,apiIntegrationIdentifier:void 0,apiIntegrationAppVersion:void 0,uiLocale:document.documentElement.lang||"en-US",availableContentLocales:[],localesConfiguration:void 0,metadataConfiguration:void 0,privacyPolicyConfiguration:void 0,editorMode:!1,noCustom:!1,noCustomComponent:!1,noCustomCode:!1,session:void 0,openExternalDocumentInNewTab:!1,navigatorOnline:!0,forcedOffline:!1,authenticationRequired:!1,stickyFilters:void 0}});var vn=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},eO=pe(Symbol("withDateFormat"),function(t){class e extends t{constructor(...n){super(n),this.useLongDateFormat=!1,this.useDateTimeFormat=!1,this.metadataDescriptors=[],this.uiLocale="en-US",this.addStore(M)}dateFormatOptionsChanged(n){return n.has("metadataDescriptors")||n.has("useLongDateFormat")||n.has("useDateTimeFormat")||n.has("uiLocale")}getDateFormatter(n){var i,s;return((s=(i=this.metadataDescriptors.find(c=>c.key===n))===null||i===void 0?void 0:i.date)!==null&&s!==void 0?s:!1)?c=>Gt.format(c,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return vn([y({type:Boolean})],e.prototype,"useLongDateFormat",void 0),vn([y({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),vn([Or({store:M.name,selector:r=>{var n,i;return(i=(n=r.metadataConfiguration)===null||n===void 0?void 0:n.descriptors)!==null&&i!==void 0?i:[]}})],e.prototype,"metadataDescriptors",void 0),vn([Or({store:M.name})],e.prototype,"uiLocale",void 0),e});var rr=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:n}=M.getState(),i=e??n;if(r&&i&&window.fluidtopics)return new window.fluidtopics.FluidTopicsApi(r,i,!0)}static await(e){return new Promise(r=>{let n=t.get(e);if(n)r(n);else{let i=M.subscribe(()=>{n=t.get(e),n&&(i(),r(n))})}})}};var Lr=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:rr.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):rr.await()}};var Re=class extends Lr{constructor(e=!0,r){var n;super(r),this.sortObjectFields=(s,a)=>typeof a!="object"||a==null||Array.isArray(a)?a:Object.fromEntries(Object.entries(a).sort(([c],[d])=>c.localeCompare(d)));let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new qe,this.cache=e?i.commonCache:new qe}clearCache(){this.cache.clearAll()}hash(e){return String(Array.from(JSON.stringify(e,this.sortObjectFields)).reduce((r,n)=>0|31*r+n.charCodeAt(0),0))}};var Sn=class extends Re{async listMySearches(){let{session:e}=M.getState();return bi(e,te.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),300*1e3):[]}};var En=class extends Re{async listMyBookmarks(){let e=M.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),300*1e3):[]}};var Cn=class extends Re{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetCount(e){if(this.isAuthenticated())return this.cache.get(`user-asset-count-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/${e}`),this.CACHE_DURATION)}async getUserBookmarkCountByMap(e){if(this.isAuthenticated())return this.cache.get(`user-bookmark-count-by-map-${e}`,async()=>(await this.awaitApi).get(`/internal/api/webapp/user/assets/count/BOOKMARKS/${e}`),this.CACHE_DURATION)}isAuthenticated(){let e=M.getState().session;return!!e?.sessionAuthenticated}};var On=class extends Re{constructor(){super(...arguments),this.CACHE_DURATION=180*1e3}async getUserAssetLabels(){return this.isAuthenticated()?this.cache.get("user-asset-labels",async()=>(await this.awaitApi).get("/internal/api/webapp/user/assets/labels"),this.CACHE_DURATION):[]}isAuthenticated(){let e=M.getState().session;return!!e?.sessionAuthenticated}};var Kh="ft-user-assets",Zh={setAssetCount:(t,e)=>{let{userAssetType:r,count:n}=e.payload.assetCount;t.assetCounts.allAsset[r]=n},clearAssetCount:t=>{Object.values(Ne).forEach(e=>{t.assetCounts.allAsset[e]=void 0})},setBookmarkCountByMap:(t,e)=>{let r=e.payload.mapId;t.assetCounts.bookmarkByMap[r]=e.payload.count},clearBookmarkCountByMap:t=>{t.assetCounts.bookmarkByMap={}},addAsset:(t,e)=>{let{assetType:r,mapId:n,asset:i}=e.payload;ia(t,r,[...na(t,r),i]),Qd(t,r,1,n),eu(t,i)},editAsset:(t,e)=>{let{assetType:r,asset:n}=e.payload;ia(t,r,na(t,r).map(i=>i.id===n.id?n:i)),eu(t,n)},removeAsset:(t,e)=>{let{assetType:r,mapId:n,assetId:i}=e.payload;ia(t,r,na(t,r).filter(s=>s.id!==i)),Qd(t,r,-1,n)}},tu={[Ne.SEARCHES]:"savedSearches",[Ne.BOOKMARKS]:"bookmarks",[Ne.BOOKS]:void 0,[Ne.COLLECTIONS]:void 0},na=(t,e)=>{var r;let n=tu[e];return n?(r=t[n])!==null&&r!==void 0?r:[]:[]},ia=(t,e,r)=>{let n=tu[e];n&&(t[n]=r)},Qd=(t,e,r,n)=>{let i=t.assetCounts.allAsset[e];if(i!==void 0&&(t.assetCounts.allAsset[e]=Math.max(0,i+r),e===Ne.BOOKMARKS&&n)){let s=t.assetCounts.bookmarkByMap[n];t.assetCounts.bookmarkByMap[n]=Math.max(0,s+r)}},eu=(t,e)=>{let r=t.assetLabels.map(i=>i.title),n=e.labels.filter(i=>!r.includes(i)).map(i=>({title:i}));t.assetLabels.push(...n)},be=Vt.get({name:Kh,reducers:Zh,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(Ne).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),sa=class{constructor(e=new Cn,r=new On){this.assetCountsService=e,this.assetLabelsService=r,this.currentSession=M.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new En,this.savedSearchesService=new Sn,M.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=M.getState();ue((e=this.currentSession)===null||e===void 0?void 0:e.profile,r?.profile)||(this.currentSession=r,this.clearMySearches(),this.reloadBookmarks(),this.clearUserAssetCounts(),this.reloadAssetLabels())}clearUserAssetCounts(){this.assetCountsService.clearCache(),be.actions.clearAssetCount(),be.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),be.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),be.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();be.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();be.actions.assetLabels(e)}async loadAssetCount(e){let r=await this.assetCountsService.getUserAssetCount(e);r&&be.getState().assetCounts.allAsset[e]!==r.count&&be.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(e){let r=await this.assetCountsService.getUserBookmarkCountByMap(e);r&&be.getState().assetCounts.bookmarkByMap[e]!==r.count&&be.actions.setBookmarkCountByMap({count:r.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let r=Object.keys(be.getState().assetCounts.bookmarkByMap).length!==0;e===Ne.BOOKMARKS&&r&&be.actions.clearBookmarkCountByMap(),be.getState().assetCounts.allAsset[e]!==void 0&&await this.loadAssetCount(e)}async registerBookmarkComponent(){this.bookmarksAreUsed=!0,await this.updateBookmarksIfUsed()}async updateBookmarksIfUsed(){var e;if(this.bookmarksAreUsed){let r=!((e=this.currentSession)===null||e===void 0)&&e.sessionAuthenticated?await this.bookmarksService.listMyBookmarks():void 0;be.actions.bookmarks(r)}}},qh=new sa;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=qh);var aa=class{addCommand(e,r=!1){M.commands.add(e,r)}consumeCommand(e){return M.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new aa;var ru,kr=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},Yh=Symbol("clearAfterUnitTest"),An=class extends Bo(Re){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[ru]=()=>{this.defaultMessages={},this.cache=new qe,this.listeners={}},this.currentUiLocale=M.getState().uiLocale,M.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=M.getState();this.currentUiLocale!==e&&(this.currentUiLocale=e,this.cache.clearAll(),this.notifyAll())}addContext(e){let r=e.name.toLowerCase();this.cache.setFinal(r,e),this.notify(r)}getAllContexts(){return this.cache.resolvedValues()}async prepareContext(e,r){var n;if(e=e.toLowerCase(),r&&Object.keys(r).length>0){let i={...(n=this.defaultMessages[e])!==null&&n!==void 0?n:{},...r};ue(this.defaultMessages[e],i)||(this.defaultMessages[e]=i,await this.notify(e))}return this.fetchContext(e)}resolveContext(e){var r,n;return this.fetchContext(e),(n=(r=this.cache.getNow(e))===null||r===void 0?void 0:r.messages)!==null&&n!==void 0?n:{}}resolveRawMessage(e,r){let n=e.toLowerCase();return this.resolveContext(n)[r]}resolveMessage(e,r,...n){var i;let s=e.toLowerCase(),a=this.resolveContext(s);return new io((i=this.defaultMessages[s])!==null&&i!==void 0?i:{},a).resolve(r,...n)}async fetchContext(e){let r=!this.cache.has(e),n;try{n=await this.cache.get(e,()=>this.messageContextProvider(this.currentUiLocale,e)),r&&await this.notify(e)}catch(i){!(i instanceof Lt)&&r&&console.error(i)}return n}subscribe(e,r){var n;return e=e.toLowerCase(),this.listeners[e]=(n=this.listeners[e])!==null&&n!==void 0?n:new Set,this.listeners[e].add(r),()=>{var i;return(i=this.listeners[e])===null||i===void 0?void 0:i.delete(r)}}async notifyAll(){let e=Object.keys(this.listeners);document.body.dispatchEvent(new kr({loadedContexts:e})),this.dispatchEvent(new kr({loadedContexts:e})),await Promise.all(e.map(r=>this.notify(r,!1)))}async notify(e,r=!0){r&&(document.body.dispatchEvent(new kr({loadedContexts:[e]})),this.dispatchEvent(new kr({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(n=>$o(0).then(()=>n()).catch(()=>null)))}};ru=Yh;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends An{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends An{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var Ir=window.FluidTopicsI18nService,wn=window.FluidTopicsCustomI18nService;var la=class{highlightHtml(e,r,n){Qi(e,r,n)}};window.FluidTopicsHighlightHtmlService=new la;var ca=class{isDate(e){var r,n,i,s;return(s=(n=((i=(r=M.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&i!==void 0?i:[]).find(c=>c.key===e))===null||n===void 0?void 0:n.date)!==null&&s!==void 0?s:!1}format(e,r){var n,i,s,a;if(e==null)return"";try{return Gt.format(e,(n=r?.locale)!==null&&n!==void 0?n:M.getState().uiLocale,(i=r?.longFormat)!==null&&i!==void 0?i:!1,(s=r?.withTime)!==null&&s!==void 0?s:!1,(a=r?.onlyTime)!==null&&a!==void 0?a:!1)}catch(c){throw console.error(`Date ${JSON.stringify(e)} is not valid`,c),c}}};window.FluidTopicsDateService=new ca;var So=class{static get(e,r,{baseUrl:n,localesConfiguration:i,availableContentLocales:s}=M.getState()){var a;if(!r||s.length>0&&!s.some(c=>c.lang===r)){let c=i?.defaultLocales.defaultContentLocale;r=c?`${c.lang}-${c.region}`:(a=s[0])===null||a===void 0?void 0:a.lang}return new st(n,e??20,i?.allLanguagesAllowed,r,s)}};var da=class{urlToSearchRequest(e){return So.get().parse(e)}searchRequestToUrl(e){return So.get().serialize(e)}};window.FluidTopicsUrlService=new da;var or=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{nextLocation:e}})}};or.eventName="before-location-change";var nr=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};nr.eventName="change";var ua=class{itemName(e){return`fluid-topics-history-item-${e}`}get(e){let r=sessionStorage.getItem(this.itemName(e));return r?JSON.parse(r):void 0}set(e,r){sessionStorage.setItem(this.itemName(e),JSON.stringify(r))}},ou=new ua;var _n=class t extends it{static build(){return new t(window.history,ou,()=>window.location,!1)}constructor(e,r,n,i){var s,a;super(),this.history=e,this.historyStorage=r,this.windowLocation=n,this.states=[],this.realPushState=e.pushState,this.realReplaceState=e.replaceState,this.initialIndex=(a=(s=e.state)===null||s===void 0?void 0:s.index)!==null&&a!==void 0?a:e.length-1,this.currentIndex=this.initialIndex,this.setCurrentState(this.buildCurrentState()),this.installProxies(),this.initEventListeners(),this.initData(i)}setCurrentState(e,r=!1){let n=r&&this.currentIndex===e.index-1;this.currentState={...this.buildCurrentState(),...e},this.currentIndex=this.currentState.index,this.states[this.currentIndex]=this.currentState,n&&(this.states=this.states.slice(0,this.currentIndex+1)),this.historyStorage.set(this.currentIndex,this.currentState),ue(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,this.windowLocation().href]),setTimeout(()=>this.dispatchEvent(new nr(this.currentItem())),0)}installProxies(){let e=r=>(n,i,[s,a,c])=>{let d=new URL(typeof c=="string"?c:(c??this.windowLocation()).href,window.location.origin!=="null"?window.location.origin:void 0),p=new or(d);this.dispatchEvent(p);let h=r(),f={...h===this.currentIndex?this.currentState:void 0,...s,index:h,href:p.detail.nextLocation.href};n.apply(i,[f,a,f.href]),this.setCurrentState(f,!0)};this.history.pushState=new Proxy(this.history.pushState,{apply:e(()=>this.currentIndex+1)}),this.history.replaceState=new Proxy(this.history.replaceState,{apply:e(()=>this.currentIndex)})}initEventListeners(){window.addEventListener("popstate",e=>this.setCurrentState(e.state)),document.querySelector("title")==null&&document.head.append(document.createElement("title")),new MutationObserver(()=>this.updateCurrentState({title:document.title})).observe(document.querySelector("title"),{subtree:!0,characterData:!0,childList:!0})}initData(e){for(let r=this.history.length-1;r>=0;r--)e?this.states[r]=this.historyStorage.get(r):setTimeout(()=>this.states[r]=this.historyStorage.get(r),this.history.length-r)}updateCurrentState(e){var r;let n={...this.buildCurrentState(),...e,index:this.currentIndex,title:(r=e?.title)!==null&&r!==void 0?r:this.currentState.title};this.setCurrentState(n)}addBeforeLocationChangeListener(e){this.addEventListener(or.eventName,e)}removeBeforeLocationChangeListener(e){this.removeEventListener(or.eventName,e)}addHistoryChangeListener(e){this.addEventListener(nr.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(nr.eventName,e)}currentItem(){return Fe(this.currentState)}back(){let e=this.previousDifferentMajorPosition();e>=0?this.history.go(e-this.currentIndex):this.currentIndex!==this.initialIndex?this.history.go(this.initialIndex-this.currentIndex):this.history.back()}backwardItem(){return Fe(this.states[this.previousDifferentMajorPosition()])}backwardItemMatching(e){let r=this.states.filter(n=>!!n).filter(n=>n.index<this.currentIndex).reverse();return Fe(r.find(n=>e(n)))}previousDifferentMajorPosition(){let e=this.currentIndex>0?this.currentIndex-1:0;for(;e>0&&!this.isDifferentMajorState(e);)e--;return e}forward(){let e=this.nextMajorPosition();e&&e<this.states.length?this.history.go(e-this.currentIndex):this.history.forward()}forwardItem(){let e=this.nextMajorPosition();if(e)return Fe(this.states[e])}nextMajorPosition(){let e=this.currentIndex;if(!(e>=this.states.length)){do e++;while(e<this.states.length&&!this.isDifferentMajorState(e));return this.getHigherPositionInTheSameState(e)}}getHigherPositionInTheSameState(e){var r;let n=(r=this.states[e])===null||r===void 0?void 0:r.majorStateId;if(!n)return e;let i=e,s=e+1;for(;this.states.length>s&&!this.isDifferentMajorState(s,n);)this.hasState(s)&&(i=s),s++;return i}buildCurrentState(){var e,r;return{...this.history.state,index:this.currentIndex,href:this.windowLocation().href,title:(r=(e=this.history.state)===null||e===void 0?void 0:e.title)!==null&&r!==void 0?r:document.title}}hasState(e){return this.states[e]!=null}isDifferentMajorState(e,r){var n;if(!this.hasState(e))return!1;let i=r??this.currentState.majorStateId,s=(n=this.states[e])===null||n===void 0?void 0:n.majorStateId;return s==null||s!=i}};window.FluidTopicsInternalHistoryService==null&&(window.FluidTopicsInternalHistoryService=_n.build(),window.FluidTopicsHistoryService={currentItem:()=>window.FluidTopicsInternalHistoryService.currentItem(),back:()=>window.FluidTopicsInternalHistoryService.back(),forward:()=>window.FluidTopicsInternalHistoryService.forward(),backwardItem:()=>window.FluidTopicsInternalHistoryService.backwardItem(),forwardItem:()=>window.FluidTopicsInternalHistoryService.forwardItem(),backwardItemMatching:t=>window.FluidTopicsInternalHistoryService.backwardItemMatching(t),addHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.addHistoryChangeListener(t),removeHistoryChangeListener:t=>window.FluidTopicsInternalHistoryService.removeHistoryChangeListener(t),addBeforeLocationChangeListener:t=>window.FluidTopicsInternalHistoryService.addBeforeLocationChangeListener(t),removeBeforeLocationChangeListener:t=>window.FluidTopicsInternalHistoryService.removeBeforeLocationChangeListener(t)});var nu=R`
352
+ `;function iu(t,e){let{authenticationRequired:r,session:n}=M.getState();return r&&!n?.sessionAuthenticated?Promise.resolve(e):t()}var Rn=class extends Lr{async updateUiLocale(e){return(await this.awaitApi).updateUiLocale(e)}};var pa=class t extends yo{static build(e){return new t(M,e)}constructor(e,r){super(),this.store=e,this.cache=new qe,this.withManualResources=!0,this.userLocaleService=new Rn,this.knownContexts=new hr,this.knownCustomComponents=new hr,this.cleanSessionDebouncer=new J,this.reloadConfiguration=()=>{var n;(n=this.cache)===null||n===void 0||n.clear("availableContentLocales"),this.updateAvailableContentLocales()},this.reloadDebouncer=new J(500),this.apiProvider=r??(()=>rr.get())}setWithManualResources(e){this.withManualResources=e,this.updateIfNeeded()}addListeners(){this.store.addEventListener(tr.eventName,this.reloadConfiguration)}removeListeners(){this.store.removeEventListener(tr.eventName,this.reloadConfiguration)}async updateIfNeeded(){this.apiProvider()&&(this.withManualResources||(this.store.getState().session==null&&this.updateSession(),this.store.getState().metadataConfiguration==null&&this.updateMetadataConfiguration()),this.store.getState().localesConfiguration==null&&this.updateLocalesConfiguration(),(this.store.getState().availableContentLocales==null||this.store.getState().availableContentLocales.length==0)&&this.updateAvailableContentLocales())}async updateSession(){let e=await this.cache.get("session",async()=>{let r=await this.apiProvider().getCurrentSession();return r.idleTimeoutInMillis>0&&this.cleanSessionDebouncer.run(()=>{this.cache.clear("session"),this.setSession(void 0)},r.idleTimeoutInMillis),r});this.setSession(e)}async updateMetadataConfiguration(){this.setMetadataConfiguration(await this.cache.get("metadataConfiguration",()=>this.apiProvider().getMetadataConfiguration()))}async updateLocalesConfiguration(){this.setLocalesConfiguration(await this.cache.get("localesConfiguration",()=>this.apiProvider().getLocalesConfiguration()))}async updateAvailableContentLocales(){var e;let r=await this.cache.get("availableContentLocales",()=>iu(()=>this.apiProvider().getAvailableSearchLocales(),{contentLocales:[]}));this.setAvailableContentLocales((e=r.contentLocales)!==null&&e!==void 0?e:[])}setStickyFilters(e){this.store.actions.stickyFilters(e)}setBaseUrl(e){this.store.actions.baseUrl(e),window.fluidTopicsBaseUrl=e}setTenantId(e){this.store.actions.tenantId(e)}setApiIntegrationIdentifier(e){this.store.actions.apiIntegrationIdentifier(e)}setApiIntegrationAppVersion(e){this.store.actions.apiIntegrationAppVersion(e)}setUiLocale(e){this.store.actions.uiLocale(e)}setLocalesConfiguration(e){this.store.actions.localesConfiguration(e),setTimeout(()=>this.updateIfNeeded())}setAvailableContentLocales(e){this.store.actions.availableContentLocales(e),setTimeout(()=>this.updateIfNeeded())}stopReloadDebouncer(){this.reloadDebouncer.cancel()}requestUiLocaleUpdate(e,r){this.userLocaleService.updateUiLocale({uiLocale:e,contentLocale:r}).then(n=>{n.uiLocaleChanged&&(this.reloadDebouncer.run(()=>window.location.reload()),this.store.dispatchEvent(new vo(n)))}).catch(()=>{})}setMetadataConfiguration(e){this.store.actions.metadataConfiguration(e),setTimeout(()=>this.updateIfNeeded())}setNoCustom(e){this.store.actions.noCustom(e)}setEditorMode(e){this.store.actions.editorMode(e)}setNoCustomComponent(e){this.store.actions.noCustomComponent(e)}setNoCustomCode(e){this.store.actions.noCustomCode(e)}setSession(e){this.store.actions.session(e),setTimeout(()=>this.updateIfNeeded())}setOpenExternalDocumentInNewTab(e){this.store.actions.openExternalDocumentInNewTab(e)}setNavigatorOnline(e){this.store.actions.navigatorOnline(e)}setForcedOffline(e){this.store.actions.forcedOffline(e)}setAuthenticationRequired(e){this.store.actions.authenticationRequired(e)}userHasAnyRole(...e){return Fl(M.getState().session,...e)}},su=pa.build();var ir=class extends Event{constructor(e,r,n,i){super("context-request",{bubbles:!0,composed:!0}),this.context=e,this.contextTarget=r,this.callback=n,this.subscribe=i??!1}};var Eo=class{constructor(){this.pendingContextRequests=new Map,this.onContextProvider=e=>{let r=this.pendingContextRequests.get(e.context);if(r===void 0)return;this.pendingContextRequests.delete(e.context);let{requests:n}=r;for(let{elementRef:i,callbackRef:s}of n){let a=i.deref(),c=s.deref();a===void 0||c===void 0||a.dispatchEvent(new ir(e.context,a,c,!0))}},this.onContextRequest=e=>{if(e.subscribe!==!0)return;let r=e.contextTarget??e.composedPath()[0],n=e.callback,i=this.pendingContextRequests.get(e.context);i===void 0&&this.pendingContextRequests.set(e.context,i={callbacks:new WeakMap,requests:[]});let s=i.callbacks.get(r);s===void 0&&i.callbacks.set(r,s=new WeakSet),s.has(n)||(s.add(n),i.requests.push({elementRef:new WeakRef(r),callbackRef:new WeakRef(n)}))}}attach(e){e.addEventListener("context-request",this.onContextRequest),e.addEventListener("context-provider",this.onContextProvider)}detach(e){e.removeEventListener("context-request",this.onContextRequest),e.removeEventListener("context-provider",this.onContextProvider)}};var le=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Y=class extends zt{constructor(){super(...arguments),this.apiIntegrationIdentifier="ft-integration",this.apiIntegrationAppVersion="ft-integration-app-version",this.uiLocale="en-US",this.editorMode=!1,this.noCustom=!1,this.openExternalDocumentInNewTab=!1,this.noCustomComponent=!1,this.noCustomCode=!1,this.withManualResources=!1,this.navigatorOnline=!1,this.forcedOffline=!1,this.authenticationRequired=!1,this.messageContexts=[],this.stateManager=su,this.contextRoot=new Eo}render(){return T`
353
353
  <slot></slot>
354
- `}connectedCallback(){super.connectedCallback(),this.stateManager.addListeners(),this.contextRoot.attach(document.body)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.removeListeners(),this.contextRoot.detach(document.body)}update(e){var r;super.update(e),e.has("baseUrl")&&this.stateManager.setBaseUrl(this.baseUrl),e.has("tenantId")&&this.stateManager.setTenantId(this.tenantId),e.has("apiIntegrationIdentifier")&&this.stateManager.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&this.stateManager.setApiIntegrationAppVersion(this.apiIntegrationAppVersion),e.has("uiLocale")&&this.stateManager.setUiLocale(this.uiLocale),e.has("metadataConfiguration")&&this.stateManager.setMetadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&this.stateManager.setNoCustom(this.noCustom),e.has("editorMode")&&this.stateManager.setEditorMode(this.editorMode),e.has("noCustomComponent")&&this.stateManager.setNoCustomComponent(this.noCustomComponent),e.has("noCustomCode")&&this.stateManager.setNoCustomCode(this.noCustomCode),e.has("session")&&this.stateManager.setSession(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(n=>Ir.addContext(n)),e.has("openExternalDocumentInNewTab")&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&this.stateManager.setNavigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&this.stateManager.setForcedOffline(this.forcedOffline),e.has("authenticationRequired")&&this.stateManager.setAuthenticationRequired(this.authenticationRequired),e.has("withManualResources")&&((r=this.stateManager)===null||r===void 0||r.setWithManualResources(this.withManualResources)),setTimeout(()=>this.stateManager.updateIfNeeded())}};Y.elementDefinitions={};Y.styles=nu;le([y()],Y.prototype,"baseUrl",void 0);le([y()],Y.prototype,"tenantId",void 0);le([y()],Y.prototype,"apiIntegrationIdentifier",void 0);le([y()],Y.prototype,"apiIntegrationAppVersion",void 0);le([y()],Y.prototype,"uiLocale",void 0);le([ne(null)],Y.prototype,"availableUiLocales",void 0);le([ne(null)],Y.prototype,"metadataConfiguration",void 0);le([y({type:Boolean})],Y.prototype,"editorMode",void 0);le([y({type:Boolean})],Y.prototype,"noCustom",void 0);le([y({type:Boolean})],Y.prototype,"openExternalDocumentInNewTab",void 0);le([y({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],Y.prototype,"noCustomComponent",void 0);le([y({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],Y.prototype,"noCustomCode",void 0);le([y({type:Boolean})],Y.prototype,"withManualResources",void 0);le([y({type:Boolean})],Y.prototype,"navigatorOnline",void 0);le([y({type:Boolean})],Y.prototype,"forcedOffline",void 0);le([y({type:Boolean})],Y.prototype,"authenticationRequired",void 0);le([ne([])],Y.prototype,"messageContexts",void 0);le([ne(void 0)],Y.prototype,"session",void 0);var au={"ft-app-context":Y};q(au);var fa=class{fromLocalizableLabel(e){return e.type=="PLAIN_TEXT"?{message:e.text}:{key:e.key,custom:e.type=="LOCALIZED_CUSTOM",context:e.context,message:e.key}}fromAttribute(e){if(e!=null)try{return JSON.parse(e)}catch{if(this.isI18nKey(e)){let[r,n]=e.split(".");return{context:r,key:n,custom:r!=="officialContext",message:""}}return{message:e}}}toAttribute(e){if(e!=null)return JSON.stringify(e)}isI18nKey(e){return e.match(/^[\w-]+\.[\w-]+$/)}},Nr=new fa;var Qh=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Oo=Symbol("i18nAttributes"),lu=Symbol("i18nListAttributes"),cu=Symbol("i18nProperties"),Tn=Symbol("i18nContexts"),Co=Symbol("i18nUnsubs"),In=pe(Symbol("withI18n"),function(t){var e,r;class n extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[r]=new Map}getI18nService(s){return s??this.useCustomMessageContexts?wn:Ir}i18n(s){let{context:a,key:c,message:d}=s,{custom:p,args:h,argsProvider:f}=s;if(a&&c){this.hasI18nContext(a)||this.addI18nContext(a,void 0,p);let m=h??(f?f(this):[]);return this.getI18nService(p).resolveMessage(a,c,...m)}return d}async awaitI18n(s){let{context:a,custom:c}=s;return a&&await this.getI18nService(c).prepareContext(a),this.i18n(s)}customI18n(s,a){if(Nr.isI18nKey(s)){let[c,d]=s.split(".");return this.i18n({custom:!0,context:c,key:d,...a})||s}return s}firstUpdated(s){super.firstUpdated(s),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(s){super.update(s),this.updateI18nAttributes((a,c,d)=>s.has(c)||typeof a.argsProvider=="function"),this.updateI18nProperties(a=>typeof a.argsProvider=="function")}onI18nUpdate(s){this.updateI18nAttributes((a,c,d)=>{var p;return((p=d?.context)===null||p===void 0?void 0:p.toLowerCase())===s}),this.updateI18nProperties(a=>a.context.toLowerCase()===s),this.requestUpdate()}updateI18nAttributes(s){var a,c;let d=this,p=(h,f,m)=>m?.context&&m.key&&s(h,f,m)?{...m,message:this.i18n({context:m.context,key:m.key,custom:m.custom,...h})}:m;(a=this[Oo])===null||a===void 0||a.forEach((h,f)=>d[f]=p(h,f,d[f])),(c=this[lu])===null||c===void 0||c.forEach((h,f)=>{var m;return d[f]=(m=d[f])===null||m===void 0?void 0:m.map(x=>p(h,f,x))})}updateI18nProperties(s){var a;(a=this[cu])===null||a===void 0||a.forEach((c,d)=>{s(c,d)&&(this[d]=this.i18n(c))})}addI18nMessages(s,a,c){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(s,a,c)}addI18nContext(s,a,c){let d=(typeof s=="string"?s:s.name).toLowerCase();c=typeof s=="string"?c:s.custom,this[Tn].set(d,{isCustomContext:c}),this[Co].has(d)||this[Co].set(d,this.getI18nService(c).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(c).prepareContext(d,a)}hasI18nContext(s){return this[Tn].has(s.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Tn].forEach((s,a)=>this.addI18nContext(a,void 0,s.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[Co].forEach(s=>s()),this[Co].clear()}}return e=Tn,r=Co,Qh([y({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),Ln=class extends In(U){},kn=class extends In(Bt){};var ha=class{fromAttribute(e){if(!e)return[];try{let r=JSON.parse(e);return Array.isArray(r)?r.map(n=>typeof n=="string"?Nr.fromAttribute(n):n):[]}catch{return[]}}toAttribute(e){if(e!=null)return JSON.stringify(e)}},em=new ha;var du=(t,e)=>(r,n)=>{var i;r.constructor.createProperty(n,{type:Object,hasChanged:Ie,converter:Nr,...e}),r[Oo]=(i=r[Oo])!==null&&i!==void 0?i:new Map,r[Oo].set(n,t??{})};var Nn=class t{static build(e){return new t(e)}static buildCustom(e){return new t(e,!0)}static fromGwt(e){return new t(e)}get service(){return this.custom?wn:Ir}constructor(e,r=!1){this.name=e,this.custom=r,this.properties=new Proxy({},{get:(n,i)=>{let s=i;return a=>({context:this.name,key:s,custom:this.custom,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(n,i)=>(...s)=>this.service.resolveMessage(this.name,i,...s)}),this.rawMessages=new Proxy({},{get:(n,i)=>this.service.resolveRawMessage(this.name,i)}),this.keys=new Proxy({},{get:(n,i)=>()=>i}),this.attributes=new Proxy({},{get:(n,i)=>()=>({context:this.name,key:i,message:this.service.resolveRawMessage(this.name,i)})})}};var uu=R`
355
- `;var Pr=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Pe=class extends kn{constructor(){super(),this.editorMode=!1,this.editorMessage="Select a context and a label key.",this.addStore(M)}render(){return!this.key||!this.context?this.editorMode?this.editorMessage:B:L`
354
+ `}connectedCallback(){super.connectedCallback(),this.stateManager.addListeners(),this.contextRoot.attach(document.body)}disconnectedCallback(){super.disconnectedCallback(),this.stateManager.removeListeners(),this.contextRoot.detach(document.body)}update(e){var r;super.update(e),e.has("baseUrl")&&this.stateManager.setBaseUrl(this.baseUrl),e.has("tenantId")&&this.stateManager.setTenantId(this.tenantId),e.has("apiIntegrationIdentifier")&&this.stateManager.setApiIntegrationIdentifier(this.apiIntegrationIdentifier),e.has("apiIntegrationAppVersion")&&this.stateManager.setApiIntegrationAppVersion(this.apiIntegrationAppVersion),e.has("uiLocale")&&this.stateManager.setUiLocale(this.uiLocale),e.has("metadataConfiguration")&&this.stateManager.setMetadataConfiguration(this.metadataConfiguration),e.has("noCustom")&&this.stateManager.setNoCustom(this.noCustom),e.has("editorMode")&&this.stateManager.setEditorMode(this.editorMode),e.has("noCustomComponent")&&this.stateManager.setNoCustomComponent(this.noCustomComponent),e.has("noCustomCode")&&this.stateManager.setNoCustomCode(this.noCustomCode),e.has("session")&&this.stateManager.setSession(this.session),e.has("messageContexts")&&this.messageContexts!=null&&this.messageContexts.forEach(n=>Ir.addContext(n)),e.has("openExternalDocumentInNewTab")&&this.stateManager.setOpenExternalDocumentInNewTab(this.openExternalDocumentInNewTab),e.has("navigatorOnline")&&this.stateManager.setNavigatorOnline(this.navigatorOnline),e.has("forcedOffline")&&this.stateManager.setForcedOffline(this.forcedOffline),e.has("authenticationRequired")&&this.stateManager.setAuthenticationRequired(this.authenticationRequired),e.has("withManualResources")&&((r=this.stateManager)===null||r===void 0||r.setWithManualResources(this.withManualResources)),setTimeout(()=>this.stateManager.updateIfNeeded())}};Y.elementDefinitions={};Y.styles=nu;le([y()],Y.prototype,"baseUrl",void 0);le([y()],Y.prototype,"tenantId",void 0);le([y()],Y.prototype,"apiIntegrationIdentifier",void 0);le([y()],Y.prototype,"apiIntegrationAppVersion",void 0);le([y()],Y.prototype,"uiLocale",void 0);le([ne(null)],Y.prototype,"availableUiLocales",void 0);le([ne(null)],Y.prototype,"metadataConfiguration",void 0);le([y({type:Boolean})],Y.prototype,"editorMode",void 0);le([y({type:Boolean})],Y.prototype,"noCustom",void 0);le([y({type:Boolean})],Y.prototype,"openExternalDocumentInNewTab",void 0);le([y({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],Y.prototype,"noCustomComponent",void 0);le([y({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],Y.prototype,"noCustomCode",void 0);le([y({type:Boolean})],Y.prototype,"withManualResources",void 0);le([y({type:Boolean})],Y.prototype,"navigatorOnline",void 0);le([y({type:Boolean})],Y.prototype,"forcedOffline",void 0);le([y({type:Boolean})],Y.prototype,"authenticationRequired",void 0);le([ne([])],Y.prototype,"messageContexts",void 0);le([ne(void 0)],Y.prototype,"session",void 0);var au={"ft-app-context":Y};q(au);var fa=class{fromLocalizableLabel(e){return e.type=="PLAIN_TEXT"?{message:e.text}:{key:e.key,custom:e.type=="LOCALIZED_CUSTOM",context:e.context,message:e.key}}fromAttribute(e){if(e!=null)try{return JSON.parse(e)}catch{if(this.isI18nKey(e)){let[r,n]=e.split(".");return{context:r,key:n,custom:r!=="officialContext",message:""}}return{message:e}}}toAttribute(e){if(e!=null)return JSON.stringify(e)}isI18nKey(e){return e.match(/^[\w-]+\.[\w-]+$/)}},Nr=new fa;var Qh=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Oo=Symbol("i18nAttributes"),lu=Symbol("i18nListAttributes"),cu=Symbol("i18nProperties"),Tn=Symbol("i18nContexts"),Co=Symbol("i18nUnsubs"),In=pe(Symbol("withI18n"),function(t){var e,r;class n extends t{constructor(){super(...arguments),this.useCustomMessageContexts=!1,this[e]=new Map,this[r]=new Map}getI18nService(s){return s??this.useCustomMessageContexts?wn:Ir}i18n(s){let{context:a,key:c,message:d}=s,{custom:p,args:h,argsProvider:f}=s;if(a&&c){this.hasI18nContext(a)||this.addI18nContext(a,void 0,p);let m=h??(f?f(this):[]);return this.getI18nService(p).resolveMessage(a,c,...m)}return d}async awaitI18n(s){let{context:a,custom:c}=s;return a&&await this.getI18nService(c).prepareContext(a),this.i18n(s)}customI18n(s,a){if(Nr.isI18nKey(s)){let[c,d]=s.split(".");return this.i18n({custom:!0,context:c,key:d,...a})||s}return s}firstUpdated(s){super.firstUpdated(s),this.updateI18nAttributes(()=>!0),this.updateI18nProperties(()=>!0)}update(s){super.update(s),this.updateI18nAttributes((a,c,d)=>s.has(c)||typeof a.argsProvider=="function"),this.updateI18nProperties(a=>typeof a.argsProvider=="function")}onI18nUpdate(s){this.updateI18nAttributes((a,c,d)=>{var p;return((p=d?.context)===null||p===void 0?void 0:p.toLowerCase())===s}),this.updateI18nProperties(a=>a.context.toLowerCase()===s),this.requestUpdate()}updateI18nAttributes(s){var a,c;let d=this,p=(h,f,m)=>m?.context&&m.key&&s(h,f,m)?{...m,message:this.i18n({context:m.context,key:m.key,custom:m.custom,...h})}:m;(a=this[Oo])===null||a===void 0||a.forEach((h,f)=>d[f]=p(h,f,d[f])),(c=this[lu])===null||c===void 0||c.forEach((h,f)=>{var m;return d[f]=(m=d[f])===null||m===void 0?void 0:m.map(x=>p(h,f,x))})}updateI18nProperties(s){var a;(a=this[cu])===null||a===void 0||a.forEach((c,d)=>{s(c,d)&&(this[d]=this.i18n(c))})}addI18nMessages(s,a,c){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(s,a,c)}addI18nContext(s,a,c){let d=(typeof s=="string"?s:s.name).toLowerCase();c=typeof s=="string"?c:s.custom,this[Tn].set(d,{isCustomContext:c}),this[Co].has(d)||this[Co].set(d,this.getI18nService(c).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(c).prepareContext(d,a)}hasI18nContext(s){return this[Tn].has(s.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Tn].forEach((s,a)=>this.addI18nContext(a,void 0,s.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[Co].forEach(s=>s()),this[Co].clear()}}return e=Tn,r=Co,Qh([y({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),Ln=class extends In(U){},kn=class extends In(zt){};var ha=class{fromAttribute(e){if(!e)return[];try{let r=JSON.parse(e);return Array.isArray(r)?r.map(n=>typeof n=="string"?Nr.fromAttribute(n):n):[]}catch{return[]}}toAttribute(e){if(e!=null)return JSON.stringify(e)}},em=new ha;var du=(t,e)=>(r,n)=>{var i;r.constructor.createProperty(n,{type:Object,hasChanged:Ie,converter:Nr,...e}),r[Oo]=(i=r[Oo])!==null&&i!==void 0?i:new Map,r[Oo].set(n,t??{})};var Nn=class t{static build(e){return new t(e)}static buildCustom(e){return new t(e,!0)}static fromGwt(e){return new t(e)}get service(){return this.custom?wn:Ir}constructor(e,r=!1){this.name=e,this.custom=r,this.properties=new Proxy({},{get:(n,i)=>{let s=i;return a=>({context:this.name,key:s,custom:this.custom,args:typeof a=="function"?void 0:a,argsProvider:typeof a=="function"?a:void 0})}}),this.messages=new Proxy({},{get:(n,i)=>(...s)=>this.service.resolveMessage(this.name,i,...s)}),this.rawMessages=new Proxy({},{get:(n,i)=>this.service.resolveRawMessage(this.name,i)}),this.keys=new Proxy({},{get:(n,i)=>()=>i}),this.attributes=new Proxy({},{get:(n,i)=>()=>({context:this.name,key:i,message:this.service.resolveRawMessage(this.name,i)})})}};var uu=R`
355
+ `;var Pr=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Pe=class extends kn{constructor(){super(),this.editorMode=!1,this.editorMessage="Select a context and a label key.",this.addStore(M)}render(){return!this.key||!this.context?this.editorMode?this.editorMessage:B:T`
356
356
  <span class="ft-i18n">
357
357
  ${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
358
358
  </span>
359
- `}update(e){var r;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};Pe.elementDefinitions={};Pe.styles=uu;Pr([Or()],Pe.prototype,"editorMode",void 0);Pr([y()],Pe.prototype,"context",void 0);Pr([y()],Pe.prototype,"key",void 0);Pr([ne([])],Pe.prototype,"args",void 0);Pr([y()],Pe.prototype,"defaultMessage",void 0);Pr([N()],Pe.prototype,"editorMessage",void 0);var pu={"ft-i18n":Pe};q(pu);var He=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},se=class extends Ln{constructor(){super(...arguments),this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.ignoreMatchingElements=[],this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new J,this.revealDebouncer=new J,this.onTouch=e=>{this.isIgnored(e)||(this.show(),setTimeout(()=>window.addEventListener("touchstart",r=>{r.composedPath().includes(this.container)||this.onOut(r)},{once:!0}),100))},this.onHover=e=>{this.isIgnored(e)?this.matchesIgnored(e)&&this.hide():this.show()},this.onFocusIn=e=>{!this.isIgnored(e)&&window.FluidTopicsA11yHints.isKeyboardNavigation&&window.FluidTopicsA11yHints.lastPressedKey==="Tab"&&this.show()},this.onOut=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())},this.onClick=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())}}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){var e,r;return L`
359
+ `}update(e){var r;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(r=this.defaultMessage)!==null&&r!==void 0?r:""})}};Pe.elementDefinitions={};Pe.styles=uu;Pr([Or()],Pe.prototype,"editorMode",void 0);Pr([y()],Pe.prototype,"context",void 0);Pr([y()],Pe.prototype,"key",void 0);Pr([ne([])],Pe.prototype,"args",void 0);Pr([y()],Pe.prototype,"defaultMessage",void 0);Pr([N()],Pe.prototype,"editorMessage",void 0);var pu={"ft-i18n":Pe};q(pu);var He=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},se=class extends Ln{constructor(){super(...arguments),this.manual=!1,this.inline=!1,this.delay=500,this.position="bottom",this.ignoreMatchingElements=[],this.visible=!1,this.validPositions=new Set(["top","bottom","left","right"]),this.hideDebounce=new J,this.revealDebouncer=new J,this.onTouch=e=>{this.isIgnored(e)||(this.show(),setTimeout(()=>window.addEventListener("touchstart",r=>{r.composedPath().includes(this.container)||this.onOut(r)},{once:!0}),100))},this.onHover=e=>{this.isIgnored(e)?this.matchesIgnored(e)&&this.hide():this.show()},this.onFocusIn=e=>{!this.isIgnored(e)&&window.FluidTopicsA11yHints.isKeyboardNavigation&&window.FluidTopicsA11yHints.lastPressedKey==="Tab"&&this.show()},this.onOut=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())},this.onClick=e=>{this.isIgnored(e)||(this.revealDebouncer.cancel(),this.hide())}}get validPosition(){return this.validPositions.has(this.position)?this.position:"bottom"}render(){var e,r;return T`
360
360
  <div part="container"
361
361
  class="ft-tooltip--container ${this.inline?"ft-tooltip--inline":""}">
362
362
  <slot part="slot"></slot>
@@ -419,12 +419,12 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
419
419
  .ft-icon--material {
420
420
  font-family: ${Ve.materialFontFamily}, "Material Icons", sans-serif;
421
421
  }
422
- `,no];var xt;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(xt||(xt={}));var Pn;(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.LIST_MAGNIFYING_GLASS="&#xe995;",t.MEDAL="&#xe996;",t.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",t.ARROW_TURN_DOWN_RIGHT="&#xe998;",t.FLASK="&#xe999;",t.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",t.HOURGLASS_END="&#xe99b;",t.CIRCLE_QUESTION="&#xe99c;",t.GRIP_LINES_SOLID="&#xe99d;",t.TRANSLATE_SPARKLE_SOLID="&#xe99e;",t.CODE="&#xe99f;",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",t.PAPER_PLANE_SLASH="&#xe9a1;",t.COMPRESS="&#xe9a2;",t.EXPAND="&#xe9a3;",t.ARROW_ROTATE_LEFT="&#xe9a4;",t.MOBILE_SMALL="&#xe9a5;",t.SPARKLES="&#xe9a6;",t.HAND_SOLID="&#xe9a7;",t.CLOCK_SOLID="&#xe9a8;",t.CONTEXT_MENU_CURSOR="&#xe9a9;",t.LANGUAGE_SLASH="&#xe9aa;",t.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",t.CABINET_FILING_FLOPPY_DISK="&#xe9ac;",t.BOOKMARK_SLASH="&#xe9ad;",t.CIRCLE_PAUSE="&#xe9ae;",t.CIRCLE_PLAY="&#xe9af;",t.CIRCLE_STOP_PLAIN="&#xe9b0;",t.CIRCLE_ARROW_DOWN="&#xe9b1;",t.SHARE_NODES="&#xe9b2;",t.BELL="&#xe9b3;",t.BELL_SLASH="&#xe9b4;",t.FILE="&#xe9b5;",t.HAND="&#xe9b6;",t.SQUARE_INFO_SOLID="&#xe9b7;",t.FILE_CODE="&#xe9b8;",t.BOX_CODE="&#xe9b9;",t.TOPICS_SOLID="&#xe9ba;",t.PHOTO_FILM="&#xe9bb;",t.HYPHEN_SOLID="&#xe9bc;",t.CROSSHAIRS="&#xe9bd;",t.PERSON_CHALKBOARD="&#xe9be;",t.CIRCLE_ARROW_DOWN_SLASH="&#xe9bf;",t.BOOK_OPEN_COVER="&#xe9c0;",t.LIGHTBULB="&#xe9c1;",t.MESSAGE_BOT_AGENTIC_SOLID="&#xe9c2;",t.CHART_LINE_USER="&#xe9c3;",t.SERVER_CIRCLE_ARROW_DOWN="&#xe9c4;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;"})(Pn||(Pn={}));var C;(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(C||(C={}));var M_=new Map([...["abw"].map(t=>[t,C.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,C.AUDIO]),...["avi"].map(t=>[t,C.AVI]),...["chm","xhs"].map(t=>[t,C.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,C.CODE]),...["csv"].map(t=>[t,C.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,C.DITA]),...["epub"].map(t=>[t,C.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,C.EXCEL]),...["flac"].map(t=>[t,C.FLAC]),...["gif"].map(t=>[t,C.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,C.GZIP]),...["html","htm","xhtml"].map(t=>[t,C.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,C.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,C.JPEG]),...["json"].map(t=>[t,C.JSON]),...["m4a","m4p"].map(t=>[t,C.M4A]),...["mov","qt"].map(t=>[t,C.MOV]),...["mp3"].map(t=>[t,C.MP3]),...["mp4","m4v"].map(t=>[t,C.MP4]),...["ogg","oga"].map(t=>[t,C.OGG]),...["pdf","ps"].map(t=>[t,C.PDF]),...["png"].map(t=>[t,C.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,C.POWERPOINT]),...["rar"].map(t=>[t,C.RAR]),...["stp"].map(t=>[t,C.STP]),...["txt","rtf","md","mdown"].map(t=>[t,C.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,C.VIDEO]),...["wav"].map(t=>[t,C.WAV]),...["wma"].map(t=>[t,C.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,C.WORD]),...["xml","xsl","rdf"].map(t=>[t,C.XML]),...["yaml","yml","x-yaml"].map(t=>[t,C.YAML]),...["zip"].map(t=>[t,C.ZIP])]);var F_={[C.ABW]:"#91ABC6",[C.AUDIO]:"#1795E3",[C.AVI]:"#E63324",[C.CHM]:"#71C3EB",[C.CODE]:"#71C3EB",[C.CSV]:"#1F7345",[C.DITA]:"#71C3EB",[C.EPUB]:"#85B926",[C.EXCEL]:"#1F7345",[C.FLAC]:"#1795E3",[C.GIF]:"#59B031",[C.GZIP]:"#F8AB36",[C.HTML]:"#71C3EB",[C.IMAGE]:"#59B031",[C.JPEG]:"#59B031",[C.JSON]:"#71C3EB",[C.M4A]:"#1795E3",[C.MOV]:"#E63324",[C.MP3]:"#1795E3",[C.MP4]:"#E63324",[C.OGG]:"#1795E3",[C.PDF]:"#E44948",[C.PNG]:"#59B031",[C.POWERPOINT]:"#B54A2B",[C.RAR]:"#F8AB36",[C.STP]:"#3764B1",[C.TEXT]:"#3162AB",[C.UNKNOWN]:"#999999",[C.VIDEO]:"#E63324",[C.WAV]:"#1795E3",[C.WMA]:"#1795E3",[C.WORD]:"#3162AB",[C.XML]:"#71C3EB",[C.YAML]:"#71C3EB",[C.ZIP]:"#F8AB36"};var Ao=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},xe=class extends U{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=B}render(){let e=this.variant&&Object.values(xt).includes(this.variant)?this.variant:xt.fluid_topics,r=e!==xt.material||!!this.value;return L`
422
+ `,no];var xt;(function(t){t.fluid_topics="fluid-topics",t.file_format="file-format",t.material="material"})(xt||(xt={}));var Pn;(function(t){t.ADD_TO_PBK="&#xe800;",t.ALERT="&#xe801;",t.ADD_ALERT="&#xe802;",t.BACK_TO_SEARCH="&#xe803;",t.ADD_BOOKMARK="&#xe804;",t.BOOKMARK="&#xe805;",t.BOOKS="&#xe806;",t.MENU="&#xe807;",t.DOWNLOAD="&#xe808;",t.EDIT="&#xe809;",t.FEEDBACK="&#xe80a;",t.HOME="&#xe80b;",t.MODIFY_PBK="&#xe80c;",t.SCHEDULED="&#xe80d;",t.SEARCH="&#xe80e;",t.EXPORT="&#xe80f;",t.TOC="&#xe810;",t.WRITE_UGC="&#xe811;",t.TRASH="&#xe812;",t.USER="&#xe813;",t.EXTLINK="&#xe814;",t.CALENDAR="&#xe815;",t.OFFLINE="&#xe816;",t.BOOK="&#xe817;",t.DOWNLOAD_PLAIN="&#xe818;",t.CHECK="&#xe819;",t.STAR_PLAIN="&#xe900;",t.TOPICS="&#xe901;",t.DISC="&#xe902;",t.CIRCLE="&#xe903;",t.SHARED="&#xe904;",t.SORT_UNSORTED="&#xe905;",t.SORT_UP="&#xe906;",t.SORT_DOWN="&#xe907;",t.WORKING="&#xe908;",t.CLOSE="&#xe909;",t.ZOOM_OUT="&#xe90a;",t.ZOOM_IN="&#xe90b;",t.ZOOM_REALSIZE="&#xe90c;",t.ZOOM_FULLSCREEN="&#xe90d;",t.ADMIN_RESTRICTED="&#xe90e;",t.ADMIN="&#xe90f;",t.ADMIN_KHUB="&#xe910;",t.ADMIN_THEME="&#xe911;",t.ADMIN_USERS="&#xe912;",t.WARNING="&#xe913;",t.CONTEXT="&#xe914;",t.SEARCH_HOME="&#xe915;",t.STEPS="&#xe916;",t.ICON_EXPAND="&#xe917;",t.ICON_COLLAPSE="&#xe918;",t.INFO="&#xe919;",t.MINUS_PLAIN="&#xe91a;",t.PLUS_PLAIN="&#xe91b;",t.FACET_HAS_DESCENDANT="&#xe91c;",t.TRIANGLE_BOTTOM="&#xe91d;",t.TRIANGLE_LEFT="&#xe91e;",t.TRIANGLE_RIGHT="&#xe91f;",t.TRIANGLE_TOP="&#xe920;",t.THIN_ARROW="&#xe921;",t.SIGN_IN="&#xe922;",t.LOGOUT="&#xe923;",t.TRANSLATE="&#xe924;",t.CLOSE_PLAIN="&#xe925;",t.CHECK_PLAIN="&#xe926;",t.ARTICLE="&#xe927;",t.COLUMNS="&#xe928;",t.ANALYTICS="&#xe929;",t.COLLECTIONS="&#xe92a;",t.ARROW_DOWN="&#xe92b;",t.ARROW_LEFT="&#xe92c;",t.ARROW_RIGHT="&#xe92d;",t.ARROW_UP="&#xe92e;",t.SEARCH_IN_PUBLICATION="&#xe92f;",t.COPY_TO_CLIPBOARD="&#xe930;",t.SHARED_PBK="&#xe931;",t.ATTACHMENTS="&#xe932;",t.STRIPE_ARROW_LEFT="&#xe933;",t.STRIPE_ARROW_RIGHT="&#xe934;",t.FILTERS="&#xe935;",t.DOT="&#xe936;",t.MINUS="&#xe937;",t.PLUS="&#xe938;",t.MAILS_AND_NOTIFICATIONS="&#xe939;",t.SAVE="&#xe93a;",t.LOCKER="&#xe93b;",t.ADMIN_INTEGRATION="&#xe93c;",t.SYNC="&#xe93d;",t.TAG="&#xe93e;",t.BOOK_PLAIN="&#xe93f;",t.UPLOAD="&#xe940;",t.ONLINE="&#xe941;",t.TAG_PLAIN="&#xe942;",t.ACCOUNT_SETTINGS="&#xe943;",t.PRINT="&#xe944;",t.DEFAULT_ROLES="&#xe945;",t.SHORTCUT_MENU="&#xe946;",t.RELATIVES_PLAIN="&#xe947;",t.RELATIVES="&#xe948;",t.PAUSE="&#xe949;",t.PLAY="&#xe94a;",t.ADMIN_PORTAL="&#xe94b;",t.STAR="&#xe94c;",t.THUMBS_DOWN="&#xe94d;",t.THUMBS_DOWN_PLAIN="&#xe94e;",t.THUMBS_UP="&#xe94f;",t.THUMBS_UP_PLAIN="&#xe950;",t.FEEDBACK_PLAIN="&#xe951;",t.RATE_PLAIN="&#xe952;",t.RATE="&#xe953;",t.OFFLINE_SETTINGS="&#xe954;",t.MY_COLLECTIONS="&#xe955;",t.THIN_ARROW_LEFT="&#xe956;",t.THIN_ARROW_RIGHT="&#xe957;",t.RESET="&#xe958;",t.MY_LIBRARY="&#xe959;",t.UNSTRUCTURED_DOC="&#xe95a;",t.CONTEXTUAL="&#xe95b;",t.THIN_ARROW_UP="&#xe95c;",t.ARROW_RIGHT_TO_LINE="&#xe95d;",t.DESKTOP="&#xe95e;",t.TABLET_LANDSCAPE="&#xe95f;",t.TABLET_PORTRAIT="&#xe960;",t.MOBILE_LANDSCAPE="&#xe961;",t.MOBILE_PORTRAIT="&#xe962;",t.DIAGRAM_SUNBURST="&#xe963;",t.DIAGRAM_SANKEY="&#xe964;",t.COMMENT_QUESTION="&#xe965;",t.COMMENT_QUESTION_PLAIN="&#xe966;",t.MESSAGE_BOT="&#xe967;",t.CHART_SIMPLE="&#xe968;",t.BARS_PROGRESS="&#xe969;",t.BOOK_OPEN_GEAR="&#xe96a;",t.BOOK_OPEN_GEAR_SLASH="&#xe96b;",t.LINE_CHART="&#xe96c;",t.STACKED_CHART="&#xe96d;",t.CHART_BAR_STACKED="&#xe96e;",t.CHART_BAR_GROUPED="&#xe96f;",t.EYE_SLASH="&#xe970;",t.X_MARK="&#xe971;",t.EXPAND_WIDE="&#xe972;",t.PIP="&#xe973;",t.PIP_WIDE="&#xe974;",t.LIFE_RING="&#xe975;",t.GLOBE="&#xe976;",t.PIGGY_BANK="&#xe977;",t.EXTLINK_LIGHT="&#xe978;",t.CLONE="&#xe979;",t.CLONE_LINK_SIMPLE="&#xe97a;",t.CHART_BAR_NORMALIZED="&#xe97b;",t.CONSUMER="&#xe97c;",t.OCTAGON_XMARK="&#xe97d;",t.HOURGLASS_HALF="&#xe97e;",t.CLOCK="&#xe97f;",t.CLOCK_THREE="&#xe97f;",t.CALENDAR_DAY="&#xe980;",t.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",t.WAND_MAGIC_SPARKLES="&#xe982;",t.PAPER_PLANE="&#xe983;",t.CIRCLE_STOP="&#xe984;",t.ARROW_ROTATE_RIGHT="&#xe985;",t.ARROWS_ROTATE="&#xe986;",t.ALIGN_RIGHT="&#xe987;",t.FORMAT_CLEAR="&#xe988;",t.ALIGN_CENTER="&#xe989;",t.ALIGN_LEFT="&#xe98a;",t.PALETTE="&#xe98b;",t.BOLD="&#xe98c;",t.ITALIC="&#xe98d;",t.UNDERLINE="&#xe98e;",t.STRIKETHROUGH="&#xe98f;",t.LINK_SIMPLE_SLASH="&#xe990;",t.LINK_SIMPLE="&#xe991;",t.ROUTE="&#xe992;",t.CIRCLE_USER_SLASH="&#xe993;",t.CIRCLE_USER_CHECK="&#xe994;",t.LIST_MAGNIFYING_GLASS="&#xe995;",t.MEDAL="&#xe996;",t.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",t.ARROW_TURN_DOWN_RIGHT="&#xe998;",t.FLASK="&#xe999;",t.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",t.HOURGLASS_END="&#xe99b;",t.CIRCLE_QUESTION="&#xe99c;",t.GRIP_LINES_SOLID="&#xe99d;",t.TRANSLATE_SPARKLE_SOLID="&#xe99e;",t.CODE="&#xe99f;",t.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",t.PAPER_PLANE_SLASH="&#xe9a1;",t.COMPRESS="&#xe9a2;",t.EXPAND="&#xe9a3;",t.ARROW_ROTATE_LEFT="&#xe9a4;",t.MOBILE_SMALL="&#xe9a5;",t.SPARKLES="&#xe9a6;",t.HAND_SOLID="&#xe9a7;",t.CLOCK_SOLID="&#xe9a8;",t.CONTEXT_MENU_CURSOR="&#xe9a9;",t.LANGUAGE_SLASH="&#xe9aa;",t.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",t.CABINET_FILING_FLOPPY_DISK="&#xe9ac;",t.BOOKMARK_SLASH="&#xe9ad;",t.CIRCLE_PAUSE="&#xe9ae;",t.CIRCLE_PLAY="&#xe9af;",t.CIRCLE_STOP_PLAIN="&#xe9b0;",t.CIRCLE_ARROW_DOWN="&#xe9b1;",t.SHARE_NODES="&#xe9b2;",t.BELL="&#xe9b3;",t.BELL_SLASH="&#xe9b4;",t.FILE="&#xe9b5;",t.HAND="&#xe9b6;",t.SQUARE_INFO_SOLID="&#xe9b7;",t.FILE_CODE="&#xe9b8;",t.BOX_CODE="&#xe9b9;",t.TOPICS_SOLID="&#xe9ba;",t.PHOTO_FILM="&#xe9bb;",t.HYPHEN_SOLID="&#xe9bc;",t.CROSSHAIRS="&#xe9bd;",t.PERSON_CHALKBOARD="&#xe9be;",t.CIRCLE_ARROW_DOWN_SLASH="&#xe9bf;",t.BOOK_OPEN_COVER="&#xe9c0;",t.LIGHTBULB="&#xe9c1;",t.MESSAGE_BOT_AGENTIC_SOLID="&#xe9c2;",t.CHART_LINE_USER="&#xe9c3;",t.SERVER_CIRCLE_ARROW_DOWN="&#xe9c4;",t.EYE="&#xf06e;",t.SHARE="&#xe80f1;"})(Pn||(Pn={}));var C;(function(t){t.UNKNOWN="&#xe90a;",t.ABW="&#xe900;",t.AUDIO="&#xe901;",t.AVI="&#xe902;",t.CHM="&#xe904;",t.CODE="&#xe905;",t.CSV="&#xe903;",t.DITA="&#xe906;",t.EPUB="&#xe907;",t.EXCEL="&#xe908;",t.FLAC="&#xe909;",t.GIF="&#xe90b;",t.GZIP="&#xe90c;",t.HTML="&#xe90d;",t.IMAGE="&#xe90e;",t.JPEG="&#xe90f;",t.JSON="&#xe910;",t.M4A="&#xe911;",t.MOV="&#xe912;",t.MP3="&#xe913;",t.MP4="&#xe914;",t.OGG="&#xe915;",t.PDF="&#xe916;",t.PNG="&#xe917;",t.POWERPOINT="&#xe918;",t.RAR="&#xe91a;",t.STP="&#xe91b;",t.TEXT="&#xe91c;",t.VIDEO="&#xe91e;",t.WAV="&#xe91f;",t.WMA="&#xe920;",t.WORD="&#xe921;",t.XML="&#xe922;",t.YAML="&#xe919;",t.ZIP="&#xe923;"})(C||(C={}));var M_=new Map([...["abw"].map(t=>[t,C.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(t=>[t,C.AUDIO]),...["avi"].map(t=>[t,C.AVI]),...["chm","xhs"].map(t=>[t,C.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(t=>[t,C.CODE]),...["csv"].map(t=>[t,C.CSV]),...["dita","ditamap","ditaval"].map(t=>[t,C.DITA]),...["epub"].map(t=>[t,C.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(t=>[t,C.EXCEL]),...["flac"].map(t=>[t,C.FLAC]),...["gif"].map(t=>[t,C.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(t=>[t,C.GZIP]),...["html","htm","xhtml"].map(t=>[t,C.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(t=>[t,C.IMAGE]),...["jpeg","jpg","jpe"].map(t=>[t,C.JPEG]),...["json"].map(t=>[t,C.JSON]),...["m4a","m4p"].map(t=>[t,C.M4A]),...["mov","qt"].map(t=>[t,C.MOV]),...["mp3"].map(t=>[t,C.MP3]),...["mp4","m4v"].map(t=>[t,C.MP4]),...["ogg","oga"].map(t=>[t,C.OGG]),...["pdf","ps"].map(t=>[t,C.PDF]),...["png"].map(t=>[t,C.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(t=>[t,C.POWERPOINT]),...["rar"].map(t=>[t,C.RAR]),...["stp"].map(t=>[t,C.STP]),...["txt","rtf","md","mdown"].map(t=>[t,C.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(t=>[t,C.VIDEO]),...["wav"].map(t=>[t,C.WAV]),...["wma"].map(t=>[t,C.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(t=>[t,C.WORD]),...["xml","xsl","rdf"].map(t=>[t,C.XML]),...["yaml","yml","x-yaml"].map(t=>[t,C.YAML]),...["zip"].map(t=>[t,C.ZIP])]);var F_={[C.ABW]:"#91ABC6",[C.AUDIO]:"#1795E3",[C.AVI]:"#E63324",[C.CHM]:"#71C3EB",[C.CODE]:"#71C3EB",[C.CSV]:"#1F7345",[C.DITA]:"#71C3EB",[C.EPUB]:"#85B926",[C.EXCEL]:"#1F7345",[C.FLAC]:"#1795E3",[C.GIF]:"#59B031",[C.GZIP]:"#F8AB36",[C.HTML]:"#71C3EB",[C.IMAGE]:"#59B031",[C.JPEG]:"#59B031",[C.JSON]:"#71C3EB",[C.M4A]:"#1795E3",[C.MOV]:"#E63324",[C.MP3]:"#1795E3",[C.MP4]:"#E63324",[C.OGG]:"#1795E3",[C.PDF]:"#E44948",[C.PNG]:"#59B031",[C.POWERPOINT]:"#B54A2B",[C.RAR]:"#F8AB36",[C.STP]:"#3764B1",[C.TEXT]:"#3162AB",[C.UNKNOWN]:"#999999",[C.VIDEO]:"#E63324",[C.WAV]:"#1795E3",[C.WMA]:"#1795E3",[C.WORD]:"#3162AB",[C.XML]:"#71C3EB",[C.YAML]:"#71C3EB",[C.ZIP]:"#F8AB36"};var Ao=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},xe=class extends U{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=B}render(){let e=this.variant&&Object.values(xt).includes(this.variant)?this.variant:xt.fluid_topics,r=e!==xt.material||!!this.value;return T`
423
423
  <i class="ft-icon ft-icon--${e} ft-no-text-select" part="icon icon-${e}">
424
424
  ${oi(this.resolvedIcon)}
425
425
  <slot ?hidden=${r}></slot>
426
426
  </i>
427
- `}getTextContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let n=this.value||this.getTextContent();switch(this.variant){case xt.file_format:this.resolvedIcon=(e=C[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case xt.material:this.resolvedIcon=this.value||B;break;default:this.resolvedIcon=(r=Pn[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};xe.elementDefinitions={};xe.styles=hu;Ao([y()],xe.prototype,"variant",void 0);Ao([y()],xe.prototype,"value",void 0);Ao([y({reflect:!0,attribute:"aria-hidden"})],xe.prototype,"ariaHidden",void 0);Ao([N()],xe.prototype,"resolvedIcon",void 0);Ao([z("slot")],xe.prototype,"slottedContent",void 0);var mu={"ft-icon":xe};q(mu);var ir={color:o.extend("--ft-loader-color","",_.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},yu=R`
427
+ `}getTextContent(){var e,r;return(r=(e=this.slottedContent)===null||e===void 0?void 0:e.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&r!==void 0?r:""}update(e){super.update(e),["value","variant"].some(r=>e.has(r))&&this.resolveIcon()}resolveIcon(){var e,r;let n=this.value||this.getTextContent();switch(this.variant){case xt.file_format:this.resolvedIcon=(e=C[n.replace("-","_").toUpperCase()])!==null&&e!==void 0?e:n;break;case xt.material:this.resolvedIcon=this.value||B;break;default:this.resolvedIcon=(r=Pn[n.replace("-","_").toUpperCase()])!==null&&r!==void 0?r:n;break}}firstUpdated(e){super.firstUpdated(e),setTimeout(()=>this.resolveIcon())}};xe.elementDefinitions={};xe.styles=hu;Ao([y()],xe.prototype,"variant",void 0);Ao([y()],xe.prototype,"value",void 0);Ao([y({reflect:!0,attribute:"aria-hidden"})],xe.prototype,"ariaHidden",void 0);Ao([N()],xe.prototype,"resolvedIcon",void 0);Ao([z("slot")],xe.prototype,"slottedContent",void 0);var mu={"ft-icon":xe};q(mu);var sr={color:o.extend("--ft-loader-color","",_.colorPrimary),size:o.create("--ft-loader-size","","SIZE","80px")},yu=R`
428
428
  :host {
429
429
  line-height: 0;
430
430
  }
@@ -433,8 +433,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
433
433
  display: inline-block;
434
434
  position: relative;
435
435
 
436
- width: ${ir.size};
437
- height: ${ir.size};
436
+ width: ${sr.size};
437
+ height: ${sr.size};
438
438
  }
439
439
 
440
440
  .ft-loader div {
@@ -443,7 +443,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
443
443
  width: 25%;
444
444
  height: 25%;
445
445
  border-radius: 50%;
446
- background: ${ir.color};
446
+ background: ${sr.color};
447
447
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
448
448
  }
449
449
 
@@ -490,17 +490,17 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
490
490
  transform: translate(0, 0);
491
491
  }
492
492
  100% {
493
- transform: translate(calc(0.35 * ${ir.size}), 0);
493
+ transform: translate(calc(0.35 * ${sr.size}), 0);
494
494
  }
495
495
  }
496
- `;var sr=class extends U{render(){return L`
496
+ `;var ar=class extends U{render(){return T`
497
497
  <div class="ft-loader">
498
498
  <div></div>
499
499
  <div></div>
500
500
  <div></div>
501
501
  <div></div>
502
502
  </div>
503
- `}};sr.styles=yu;var gu={"ft-loader":sr};q(gu);var vt=t=>t??B;var bu=o.extend("--ft-button-color","",_.colorPrimary),j={backgroundColor:o.extend("--ft-button-background-color","",_.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",_.borderRadiusL),color:bu,fontSize:o.extend("--ft-button-font-size","",ze.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",bu),verticalPadding:o.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.external(_.colorOpacityDisabled,"Design system")},xu=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",_.colorOnPrimary)),ma={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",_.colorPrimary)),color:xu,rippleColor:o.extend("--ft-button-primary-ripple-color","",xu)},Ge={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",_.borderRadiusM)),verticalPadding:o.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:o.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:o.create("--ft-button-dense-icon-padding","","SIZE","4px")},vu=R`
503
+ `}};ar.styles=yu;var gu={"ft-loader":ar};q(gu);var vt=t=>t??B;var bu=o.extend("--ft-button-color","",_.colorPrimary),j={backgroundColor:o.extend("--ft-button-background-color","",_.colorSurface),borderRadius:o.extend("--ft-button-border-radius","",_.borderRadiusL),color:bu,fontSize:o.extend("--ft-button-font-size","",ze.fontSize),iconSize:o.create("--ft-button-icon-size","","SIZE","24px"),rippleColor:o.extend("--ft-button-ripple-color","",bu),verticalPadding:o.create("--ft-button-vertical-padding","","SIZE","6px"),horizontalPadding:o.create("--ft-button-horizontal-padding","","SIZE","8px"),iconPadding:o.create("--ft-button-icon-padding","","SIZE","8px"),opacityDisabled:o.external(_.colorOpacityDisabled,"Design system")},xu=o.extend("--ft-button-primary-color","",o.extend("--ft-button-color","",_.colorOnPrimary)),ma={backgroundColor:o.extend("--ft-button-primary-background-color","",o.extend("--ft-button-background-color","",_.colorPrimary)),color:xu,rippleColor:o.extend("--ft-button-primary-ripple-color","",xu)},Ge={borderRadius:o.extend("--ft-button-dense-border-radius","",o.extend("--ft-button-border-radius","",_.borderRadiusM)),verticalPadding:o.create("--ft-button-dense-vertical-padding","","SIZE","2px"),horizontalPadding:o.create("--ft-button-dense-horizontal-padding","","SIZE","4px"),iconPadding:o.create("--ft-button-dense-icon-padding","","SIZE","4px")},vu=R`
504
504
  :host {
505
505
  display: inline-block;
506
506
  max-width: 100%;
@@ -639,10 +639,10 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
639
639
  }
640
640
 
641
641
  ft-loader {
642
- ${G(ir.size,j.iconSize)};
643
- ${G(ir.color,"var(--button-internal-color)")};
642
+ ${G(sr.size,j.iconSize)};
643
+ ${G(sr.color,"var(--button-internal-color)")};
644
644
  }
645
- `;var Z=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},F=class t extends Ts(U){get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-button--no-text":!this.hasTextContent,"ft-no-text-select":!0}}constructor(){super(),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1,this.disabled=!1,this.icon=void 0,this.trailingIcon=!1,this.type="button",this.href=void 0,this.target=void 0,this.loading=!1,this.ariaLabel=null,this.ariaHasPopup=null,this.ariaPressed=null,this.ariaExpanded=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.hasTextContent=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var e,r,n;let i={"ft-button--label":!0,"ft-safari-ellipsis-fix":bo},s=L`
645
+ `;var Z=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},F=class t extends Ts(U){get buttonClasses(){return{"ft-button":!0,"ft-button--primary":this.primary,"ft-button--outlined":this.outlined,"ft-button--dense":this.dense,"ft-button--round":this.round,"ft-button--trailing-icon":this.trailingIcon,"ft-button--loading":this.trailingIcon,"ft-button--no-text":!this.hasTextContent,"ft-no-text-select":!0}}constructor(){super(),this.primary=!1,this.outlined=!1,this.dense=!1,this.round=!1,this.disabled=!1,this.icon=void 0,this.trailingIcon=!1,this.type="button",this.href=void 0,this.target=void 0,this.loading=!1,this.ariaLabel=null,this.ariaHasPopup=null,this.ariaPressed=null,this.ariaExpanded=null,this.tooltipPosition="bottom",this.hideTooltip=!1,this.forceTooltip=!1,this.activated=!1,this.hasTextContent=!1,this.addEventListener("click",e=>{var r;this.isDisabled()?(e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()):this.type=="submit"&&((r=this.form)===null||r===void 0||r.requestSubmit())})}render(){var e,r,n;let i={"ft-button--label":!0,"ft-safari-ellipsis-fix":bo},s=T`
646
646
  <ft-ripple part="ripple"
647
647
  ?disabled=${this.isDisabled()}
648
648
  ?activated=${this.activated}
@@ -654,7 +654,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
654
654
  <slot></slot>
655
655
  </ft-typography>
656
656
  ${this.resolveIcon()}
657
- `,a=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(a?L`
657
+ `,a=this.href!=null&&this.href.trim().length>0?this.href:void 0;return this.addTooltipIfNeeded(a?T`
658
658
  <a href="${a}"
659
659
  target="${(e=this.target)!==null&&e!==void 0?e:"_self"}"
660
660
  part="button"
@@ -663,7 +663,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
663
663
  ?disabled=${this.isDisabled()}>
664
664
  ${s}
665
665
  </a>
666
- `:L`
666
+ `:T`
667
667
  <button part="button"
668
668
  class="${Ae(this.buttonClasses)}"
669
669
  aria-label="${vt((n=this.ariaLabel)!==null&&n!==void 0?n:this.label)}"
@@ -673,18 +673,18 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
673
673
  ?disabled=${this.isDisabled()}>
674
674
  ${s}
675
675
  </button>
676
- `)}addTooltipIfNeeded(e){return this.label&&this.label.trim().length>0&&(this.forceTooltip||!this.hasTextContent&&!this.hideTooltip)?L`
676
+ `)}addTooltipIfNeeded(e){return this.label&&this.label.trim().length>0&&(this.forceTooltip||!this.hasTextContent&&!this.hideTooltip)?T`
677
677
  <ft-tooltip part="tooltip"
678
678
  text="${this.label}"
679
679
  position="${this.tooltipPosition}">
680
680
  ${e}
681
681
  </ft-tooltip>
682
- `:e}resolveIcon(){return this.loading?L`
683
- <ft-loader part="loader icon"></ft-loader> `:this.icon?L`
682
+ `:e}resolveIcon(){return this.loading?T`
683
+ <ft-loader part="loader icon"></ft-loader> `:this.icon?T`
684
684
  <ft-icon part="icon" .variant=${this.iconVariant} .value=${this.icon}></ft-icon>
685
- `:L`
685
+ `:T`
686
686
  <slot part="icon" name="icon"></slot>
687
- `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}showTooltip(){var e;(e=this.tooltip)===null||e===void 0||e.show()}showTemporaryTooltip(e,r){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(e,r)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}isDisabled(){return this.disabled||this.loading}contentAvailableCallback(e){super.contentAvailableCallback(e),this.labelContainer&&t.labelsObserver.observe(this.labelContainer)}disconnectedCallback(){super.disconnectedCallback(),this.labelContainer&&t.labelsObserver.unobserve(this.labelContainer)}};F.elementDefinitions={"ft-ripple":W,"ft-tooltip":se,"ft-icon":xe,"ft-loader":sr,"ft-typography":ie};F.styles=[ts,vu,no];F.labelsObserver=new IntersectionObserver(t=>{for(let e of t){let r=e.target.getRootNode();r instanceof ShadowRoot&&r.host?r.host.hasTextContent=e.boundingClientRect.width>0:F.labelsObserver.unobserve(e.target)}});Z([y({type:Boolean})],F.prototype,"primary",void 0);Z([y({type:Boolean})],F.prototype,"outlined",void 0);Z([y({type:Boolean})],F.prototype,"dense",void 0);Z([y({type:Boolean})],F.prototype,"round",void 0);Z([y({type:Boolean})],F.prototype,"disabled",void 0);Z([y()],F.prototype,"icon",void 0);Z([y()],F.prototype,"iconVariant",void 0);Z([y({type:Boolean})],F.prototype,"trailingIcon",void 0);Z([y()],F.prototype,"label",void 0);Z([y()],F.prototype,"type",void 0);Z([y()],F.prototype,"href",void 0);Z([y()],F.prototype,"target",void 0);Z([y({type:Boolean})],F.prototype,"loading",void 0);Z([y({attribute:"aria-label"})],F.prototype,"ariaLabel",void 0);Z([y()],F.prototype,"ariaHasPopup",void 0);Z([y({attribute:"aria-pressed"})],F.prototype,"ariaPressed",void 0);Z([y({attribute:"aria-expanded"})],F.prototype,"ariaExpanded",void 0);Z([y()],F.prototype,"tooltipPosition",void 0);Z([y({type:Boolean})],F.prototype,"hideTooltip",void 0);Z([y({type:Boolean})],F.prototype,"forceTooltip",void 0);Z([y({type:Boolean})],F.prototype,"activated",void 0);Z([z(".ft-button")],F.prototype,"button",void 0);Z([z(".ft-button--label")],F.prototype,"labelContainer",void 0);Z([N()],F.prototype,"hasTextContent",void 0);Z([z(".ft-button--label slot")],F.prototype,"slottedContent",void 0);Z([z("[part=tooltip]")],F.prototype,"tooltip",void 0);var Su={"ft-button":F};q(Su);var Te={textColor:o.extend("--ft-checkbox-text-color","",_.colorOnSurfaceHigh),fontSize:o.extend("--ft-checkbox-font-size","",O.fontSize),activeColor:o.extend("--ft-checkbox-active-color","",_.colorPrimary),checkColor:o.extend("--ft-checkbox-check-color","",_.colorOnPrimary),borderColor:o.extend("--ft-checkbox-border-color","",_.colorOnSurfaceMedium),disabledColor:o.extend("--ft-checkbox-disabled-color","",_.colorOnSurfaceDisabled),errorColor:o.extend("--ft-checkbox-error-color","",_.colorError)},Eu=R`
687
+ `}focus(){var e;(e=this.button)===null||e===void 0||e.focus()}showTooltip(){var e;(e=this.tooltip)===null||e===void 0||e.show()}showTemporaryTooltip(e,r){var n;return(n=this.tooltip)===null||n===void 0?void 0:n.showTemporaryText(e,r)}setTooltipManual(e){this.tooltip&&(this.tooltip.manual=e)}click(){var e;(e=this.button)===null||e===void 0||e.click()}isDisabled(){return this.disabled||this.loading}contentAvailableCallback(e){super.contentAvailableCallback(e),this.labelContainer&&t.labelsObserver.observe(this.labelContainer)}disconnectedCallback(){super.disconnectedCallback(),this.labelContainer&&t.labelsObserver.unobserve(this.labelContainer)}};F.elementDefinitions={"ft-ripple":W,"ft-tooltip":se,"ft-icon":xe,"ft-loader":ar,"ft-typography":ie};F.styles=[ts,vu,no];F.labelsObserver=new IntersectionObserver(t=>{for(let e of t){let r=e.target.getRootNode();r instanceof ShadowRoot&&r.host?r.host.hasTextContent=e.boundingClientRect.width>0:F.labelsObserver.unobserve(e.target)}});Z([y({type:Boolean})],F.prototype,"primary",void 0);Z([y({type:Boolean})],F.prototype,"outlined",void 0);Z([y({type:Boolean})],F.prototype,"dense",void 0);Z([y({type:Boolean})],F.prototype,"round",void 0);Z([y({type:Boolean})],F.prototype,"disabled",void 0);Z([y()],F.prototype,"icon",void 0);Z([y()],F.prototype,"iconVariant",void 0);Z([y({type:Boolean})],F.prototype,"trailingIcon",void 0);Z([y()],F.prototype,"label",void 0);Z([y()],F.prototype,"type",void 0);Z([y()],F.prototype,"href",void 0);Z([y()],F.prototype,"target",void 0);Z([y({type:Boolean})],F.prototype,"loading",void 0);Z([y({attribute:"aria-label"})],F.prototype,"ariaLabel",void 0);Z([y()],F.prototype,"ariaHasPopup",void 0);Z([y({attribute:"aria-pressed"})],F.prototype,"ariaPressed",void 0);Z([y({attribute:"aria-expanded"})],F.prototype,"ariaExpanded",void 0);Z([y()],F.prototype,"tooltipPosition",void 0);Z([y({type:Boolean})],F.prototype,"hideTooltip",void 0);Z([y({type:Boolean})],F.prototype,"forceTooltip",void 0);Z([y({type:Boolean})],F.prototype,"activated",void 0);Z([z(".ft-button")],F.prototype,"button",void 0);Z([z(".ft-button--label")],F.prototype,"labelContainer",void 0);Z([N()],F.prototype,"hasTextContent",void 0);Z([z(".ft-button--label slot")],F.prototype,"slottedContent",void 0);Z([z("[part=tooltip]")],F.prototype,"tooltip",void 0);var Su={"ft-button":F};q(Su);var Te={textColor:o.extend("--ft-checkbox-text-color","",_.colorOnSurfaceHigh),fontSize:o.extend("--ft-checkbox-font-size","",O.fontSize),activeColor:o.extend("--ft-checkbox-active-color","",_.colorPrimary),checkColor:o.extend("--ft-checkbox-check-color","",_.colorOnPrimary),borderColor:o.extend("--ft-checkbox-border-color","",_.colorOnSurfaceMedium),disabledColor:o.extend("--ft-checkbox-disabled-color","",_.colorOnSurfaceDisabled),errorColor:o.extend("--ft-checkbox-error-color","",_.colorError)},Eu=R`
688
688
  * {
689
689
  box-sizing: border-box;
690
690
  }
@@ -786,7 +786,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
786
786
  .ft-checkbox ft-typography {
787
787
  padding-right: 2px;
788
788
  }
789
- `;var tt=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},ya=class extends CustomEvent{constructor(e){super("change",{detail:e})}},ce=class extends U{constructor(){super(...arguments),this.name="",this.value="",this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.error=!1,this.ariaLabel=null}get checkboxClasses(){return{"ft-checkbox":!0,"ft-checkbox--error":this.error,"ft-checkbox--checked":this.indeterminate?!1:this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled}}renderBoxContainer(){return L`
789
+ `;var tt=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},ya=class extends CustomEvent{constructor(e){super("change",{detail:e})}},ce=class extends U{constructor(){super(...arguments),this.name="",this.value="",this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.error=!1,this.ariaLabel=null}get checkboxClasses(){return{"ft-checkbox":!0,"ft-checkbox--error":this.error,"ft-checkbox--checked":this.indeterminate?!1:this.checked,"ft-checkbox--indeterminate":this.indeterminate,"ft-checkbox--disabled":this.disabled}}renderBoxContainer(){return T`
790
790
  <div class="ft-checkbox--box-container" part="checkbox-box-container">
791
791
  <ft-ripple part="checkbox-ripple"
792
792
  ?disabled=${this.disabled}
@@ -809,14 +809,14 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
809
809
  @change=${this.onChange}
810
810
  >
811
811
  </div>
812
- `}render(){return L`
812
+ `}render(){return T`
813
813
  <label class="${Ae(this.checkboxClasses)}" for="checkbox-input" part="checkbox-label">
814
814
  ${this.renderBoxContainer()}
815
815
  <ft-typography variant="${he.body2}" part="checkbox-body">
816
816
  <slot @slotchange=${this.onSlotchange}></slot>
817
817
  </ft-typography>
818
818
  </label>
819
- `}renderBoxIcon(){return L`
819
+ `}renderBoxIcon(){return T`
820
820
  <svg class="ft-checkbox--checkmark" viewBox="0 0 24 24" part="checkbox-check" aria-hidden="true">
821
821
  <path class="ft-checkbox--checkmark-path" fill="none"
822
822
  d="${this.indeterminate&&!this.checked?"M2,12 22,12":"M1.73,12.91 8.1,19.28 22.79,4.59"}"></path>
@@ -910,7 +910,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
910
910
  .ft-radio ft-typography {
911
911
  padding-right: 2px;
912
912
  }
913
- `;var Et=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Dn=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},ge=class extends U{constructor(){super(...arguments),this.name="",this.value="",this.checked=!1,this.ariaChecked="false",this.disabled=!1}get radioClasses(){return{"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled}}render(){return L`
913
+ `;var Et=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},Dn=class extends CustomEvent{constructor(e,r){super("change",{detail:{value:e,checked:r},bubbles:!0,composed:!0})}},ge=class extends U{constructor(){super(...arguments),this.name="",this.value="",this.checked=!1,this.ariaChecked="false",this.disabled=!1}get radioClasses(){return{"ft-radio":!0,"ft-radio--checked":this.checked,"ft-radio--disabled":this.disabled}}render(){return T`
914
914
  <div class="${Ae(this.radioClasses)}"
915
915
  @click=${this.onClick}>
916
916
  <div class="ft-radio--box-container">
@@ -944,7 +944,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
944
944
  :host(:focus-visible) {
945
945
  outline: none;
946
946
  }
947
- `;var wo=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},We=class extends U{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{setTimeout(()=>this.focusCurrentChecked(),100)}}get radioButtons(){var e,r;return(r=(e=this.assignedElements)===null||e===void 0?void 0:e.flatMap(n=>n.matches("ft-radio,ftds-radio")?[n]:[...n.querySelectorAll("ft-radio,ftds-radio")]))!==null&&r!==void 0?r:[]}render(){return L`
947
+ `;var wo=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},We=class extends U{constructor(){super(...arguments),this.name="",this.role="radiogroup",this.ariaLabelledBy="",this.currentSelectedIndex=0,this.onFocus=()=>{setTimeout(()=>this.focusCurrentChecked(),100)}}get radioButtons(){var e,r;return(r=(e=this.assignedElements)===null||e===void 0?void 0:e.flatMap(n=>n.matches("ft-radio,ftds-radio")?[n]:[...n.querySelectorAll("ft-radio,ftds-radio")]))!==null&&r!==void 0?r:[]}render(){return T`
948
948
  <slot @slotchange=${this.onSlotChange}
949
949
  @change=${this.onChange}
950
950
  @keydown=${this.onKeyDown}
@@ -1003,7 +1003,15 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1003
1003
  ${G(j.color,_o.colorOnSurface)};
1004
1004
  }
1005
1005
 
1006
- ft-button.ft-filter-level--display-more {
1006
+ .ft-filter-level--display-buttons {
1007
+ display: flex;
1008
+ gap: 4px;
1009
+ }
1010
+
1011
+ ft-button.ft-filter-level--display-more,
1012
+ ft-button.ft-filter-level--display-less {
1013
+ flex: 1 1 0;
1014
+ min-width: 0;
1007
1015
  ${G(j.color,_o.buttonMoreColor)};
1008
1016
  }
1009
1017
 
@@ -1020,9 +1028,9 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1020
1028
  margin: 10px 0;
1021
1029
  color: ${_o.colorOnSurfaceMedium};
1022
1030
  }
1023
- `;var ar=Nn.build("designedFilterComponent");var ve=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},ga={"more-filters-button-pressed":{label:"Revealing more filters",defaultEventName:"filters-click_see_more",defaultComponentId:"ft-filter-level"}},Q=class extends bn(In(Ms(U)),ga){constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.displayCount=!1,this.preventNavigation=!1,this.filter="",this.displayedValuesLimit=0,this.displayedPages=1,this.filteredOptions=[],this.ariaNotificationDebouncer=new J(500)}get hasHiddenValues(){let e=this.limit;return e!=null&&e<this.options.length}get limit(){return this.displayedValuesLimit>0?this.displayedPages*this.displayedValuesLimit:void 0}get height(){var e,r;return(r=(e=this.container)===null||e===void 0?void 0:e.scrollHeight)!==null&&r!==void 0?r:0}focusOnBackButton(){this.elementToFocus={selector:".ft-filter-level--go-back"}}focusOnExpandButton(e){this.elementToFocus={selector:`.ft-filter-level--option ft-button[part="controls navigate-hierarchy"][data-value="${e}"]`}}focusOnFirstOption(){this.elementToFocus={selector:'.ft-filter-level--option [part~="option"]'}}willUpdate(e){super.willUpdate(e),(e.has("options")||e.has("hideSelectedOptions")||e.has("filter"))&&this.updateFilteredOptions()}updateFilteredOptions(){let e=[...this.options];this.hideSelectedOptions&&(e=e.filter(r=>!r.selected)),this.filter&&(e=e.filter(r=>r.label.toLowerCase().includes(this.filter.toLowerCase()))),this.filteredOptions=e}render(){let e=this.filteredOptions.slice(0,this.limit);return L`
1031
+ `;var Ct=Nn.build("designedFilterComponent");var ve=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},ga={"more-filters-button-pressed":{label:"Revealing more filters",defaultEventName:"filters-click_see_more",defaultComponentId:"ft-filter-level"},"less-filters-button-pressed":{label:"Revealing less filters",defaultEventName:"filters-click_see_less",defaultComponentId:"ft-filter-level"}},Q=class extends bn(In(Ms(U)),ga){constructor(){super(...arguments),this.filterId="",this.options=[],this.multivalued=!1,this.disabled=!1,this.hideSelectedOptions=!1,this.displayCount=!1,this.preventNavigation=!1,this.filter="",this.displayedValuesMinimum=0,this.displayedPages=1,this.filteredOptions=[],this.ariaNotificationDebouncer=new J(500)}get hasHiddenValues(){let e=this.limit;return e!=null&&e<this.options.length}get limit(){return this.displayedValuesMinimum>0?this.displayedPages*this.displayedValuesMinimum:void 0}get height(){var e,r;return(r=(e=this.container)===null||e===void 0?void 0:e.scrollHeight)!==null&&r!==void 0?r:0}focusOnBackButton(){this.elementToFocus={selector:".ft-filter-level--go-back"}}focusOnExpandButton(e){this.elementToFocus={selector:`.ft-filter-level--option ft-button[part="controls navigate-hierarchy"][data-value="${e}"]`}}focusOnFirstOption(){this.elementToFocus={selector:'.ft-filter-level--option [part~="option"]'}}willUpdate(e){super.willUpdate(e),(e.has("options")||e.has("hideSelectedOptions")||e.has("filter"))&&this.updateFilteredOptions()}updateFilteredOptions(){let e=[...this.options];this.hideSelectedOptions&&(e=e.filter(r=>!r.selected)),this.filter&&(e=e.filter(r=>r.label.toLowerCase().includes(this.filter.toLowerCase()))),this.filteredOptions=e}render(){let e=this.filteredOptions.slice(0,this.limit),r=e.length<this.filteredOptions.length,n=this.displayedValuesMinimum>0&&e.length>this.displayedValuesMinimum;return T`
1024
1032
  <div class="ft-filter-level--container ${this.disabled?"ft-filter--disabled":""}">
1025
- ${this.parent==null?null:L`
1033
+ ${this.parent==null?null:T`
1026
1034
  <div tabindex="0"
1027
1035
  part="controls go-back"
1028
1036
  class="ft-filter-level--go-back"
@@ -1036,48 +1044,62 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1036
1044
  <ft-typography variant="${he.body2}">${this.parent.label}</ft-typography>
1037
1045
  </div>
1038
1046
  `}
1039
- ${this.filteredOptions.length===0?L`
1047
+ ${this.filteredOptions.length===0?T`
1040
1048
  <ft-typography class="ft-filter-level--no-values" element="span" variant="${he.body2}">
1041
- ${ar.messages.noFilterValuesAvailable()}
1049
+ ${Ct.messages.noFilterValuesAvailable()}
1042
1050
  </ft-typography>
1043
1051
  `:B}
1044
- ${pr(e,r=>r.value,r=>{var n;return L`
1052
+ ${pr(e,i=>i.value,i=>{var s;return T`
1045
1053
  <div class="ft-filter-level--option" part="options" tabindex="-1">
1046
- ${this.multivalued?this.buildMultiValuedOption(r):this.buildMonoValuedOption(r)}
1047
- ${this.preventNavigation||r.selected||((n=r.subOptions)!==null&&n!==void 0?n:[]).length===0?B:L`
1054
+ ${this.multivalued?this.buildMultiValuedOption(i):this.buildMonoValuedOption(i)}
1055
+ ${this.preventNavigation||i.selected||((s=i.subOptions)!==null&&s!==void 0?s:[]).length===0?B:T`
1048
1056
  <ft-button icon="thin_arrow_right"
1049
1057
  part="controls navigate-hierarchy"
1050
1058
  aria-label="Expand node"
1051
- data-value="${r.value}"
1059
+ data-value="${i.value}"
1052
1060
  ?disabled=${this.disabled}
1053
1061
  hideTooltip
1054
- @click=${()=>this.displayLevel(r)}></ft-button>
1062
+ @click=${()=>this.displayLevel(i)}></ft-button>
1055
1063
  `}
1056
1064
  </div>
1057
1065
  `})}
1058
- ${e.length<this.filteredOptions.length?L`
1059
- <ft-button
1060
- class="ft-filter-level--display-more"
1061
- icon="thin_arrow"
1062
- dense trailingIcon
1063
- part="controls display-more"
1064
- @click=${()=>{this.emitAnalyticsAction("more-filters-button-pressed",{}),this.displayMore()}}>
1065
- ${ar.messages.displayMoreFilterValuesButton()}
1066
- </ft-button>
1066
+ ${r||n?T`
1067
+ <div class="ft-filter-level--display-buttons" part="controls-container">
1068
+ ${n?T`
1069
+ <ft-button
1070
+ class="ft-filter-level--display-less"
1071
+ icon="thin_arrow_up"
1072
+ dense trailingIcon
1073
+ part="controls display-less"
1074
+ @click=${()=>{this.emitAnalyticsAction("less-filters-button-pressed",{}),this.displayLess()}}>
1075
+ ${Ct.messages.displayLessFilterValuesButton()}
1076
+ </ft-button>
1077
+ `:B}
1078
+ ${r?T`
1079
+ <ft-button
1080
+ class="ft-filter-level--display-more"
1081
+ icon="thin_arrow"
1082
+ dense trailingIcon
1083
+ part="controls display-more"
1084
+ @click=${()=>{this.emitAnalyticsAction("more-filters-button-pressed",{}),this.displayMore()}}>
1085
+ ${Ct.messages.displayMoreFilterValuesButton()}
1086
+ </ft-button>
1087
+ `:B}
1088
+ </div>
1067
1089
  `:B}
1068
1090
  </div>
1069
- `}goBackOnKeyPress(e){(e.key==="Enter"||e.key===" ")&&this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(e){e.stopPropagation(),e.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){var e;let r=(e=this.limit)!==null&&e!==void 0?e:0,n=this.parent!=null;this.displayedPages++,this.elementToFocus={selector:`.ft-filter-level--option:nth-child(${r+(n?2:1)}) [part~="option"]`}}buildMultiValuedOption(e){var r;return L`
1091
+ `}goBackOnKeyPress(e){(e.key==="Enter"||e.key===" ")&&this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}goBackOnClick(e){e.stopPropagation(),e.preventDefault(),this.dispatchEvent(new CustomEvent("go-back",{detail:this.parent}))}displayMore(){var e;let r=(e=this.limit)!==null&&e!==void 0?e:0,n=this.parent!=null;this.displayedPages++,this.elementToFocus={selector:`.ft-filter-level--option:nth-child(${r+(n?2:1)}) [part~="option"]`}}displayLess(){this.displayedPages=1,this.elementToFocus={selector:".ft-filter-level--display-more"}}buildMultiValuedOption(e){var r;return T`
1070
1092
  <ft-checkbox name="${this.filterId}"
1071
1093
  part="multivalued-option option"
1072
1094
  .exportpartsPrefixes=${["multivalued-option","option"]}
1073
1095
  data-value="${e.value}"
1074
1096
  .checked=${e.selected}
1075
1097
  .disabled=${this.disabled}
1076
- .indeterminate=${kt((r=e.subOptions)!==null&&r!==void 0?r:[],n=>{var i;return(i=n.subOptions)!==null&&i!==void 0?i:[]}).some(n=>n.selected)}
1098
+ .indeterminate=${It((r=e.subOptions)!==null&&r!==void 0?r:[],n=>{var i;return(i=n.subOptions)!==null&&i!==void 0?i:[]}).some(n=>n.selected)}
1077
1099
  @change=${n=>this.optionsChanged(n,e)}>
1078
1100
  ${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
1079
1101
  </ft-checkbox>
1080
- `}buildMonoValuedOption(e){return L`
1102
+ `}buildMonoValuedOption(e){return T`
1081
1103
  <ft-radio name="${this.filterId+Math.round(Math.random()*1e6)}"
1082
1104
  part="monovalued-option option"
1083
1105
  data-value="${e.value}"
@@ -1088,7 +1110,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1088
1110
  @change=${r=>this.optionsChanged(r,e)}>
1089
1111
  ${e.renderOption?e.renderOption:e.label}${this.displayCount?` (${e.count})`:""}
1090
1112
  </ft-radio>
1091
- `}onRadioKeyDown(e,r){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,r))}optionsChanged(e,r){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}updated(e){super.updated(e),e.has("filter")&&e.has("filteredOptions")&&e.get("filteredOptions")!==void 0&&e.get("filter")!==void 0&&this.ariaNotificationDebouncer.run(async()=>{if(this.filteredOptionsNumberAriaNotification==null)return;let r=await this.awaitI18n({...this.filteredOptionsNumberAriaNotification,args:[this.filteredOptions.length]});this.sendAriaNotification(r)})}};Q.elementDefinitions={"ft-button":F,"ft-ripple":W,"ft-typography":ie,"ft-checkbox":ce,"ft-icon":xe,"ft-radio":ge};Q.styles=_u;ve([y({type:String})],Q.prototype,"filterId",void 0);ve([y({type:Object})],Q.prototype,"parent",void 0);ve([y({type:Array,hasChanged:Ie})],Q.prototype,"options",void 0);ve([y({type:Boolean})],Q.prototype,"multivalued",void 0);ve([y({type:Boolean})],Q.prototype,"disabled",void 0);ve([y({type:Boolean})],Q.prototype,"hideSelectedOptions",void 0);ve([y({type:Boolean})],Q.prototype,"displayCount",void 0);ve([y({type:Boolean})],Q.prototype,"preventNavigation",void 0);ve([y({type:String})],Q.prototype,"filter",void 0);ve([y()],Q.prototype,"filteredOptionsNumberAriaNotification",void 0);ve([pt()],Q.prototype,"displayedValuesLimit",void 0);ve([z(".ft-filter-level--container")],Q.prototype,"container",void 0);ve([N()],Q.prototype,"radios",void 0);ve([N()],Q.prototype,"displayedPages",void 0);ve([N()],Q.prototype,"filteredOptions",void 0);var Ct={buttonsColor:o.extend("--ft-snap-scroll-buttons-color","",_.colorPrimary),buttonsZIndex:o.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:o.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:o.external(_.colorSurface,"Design system")},Ru=R`
1113
+ `}onRadioKeyDown(e,r){e.stopPropagation(),(e.key===" "||e.key==="Enter")&&(e.preventDefault(),this.optionsChanged(e,r))}optionsChanged(e,r){e.stopPropagation(),this.dispatchEvent(new CustomEvent("change",{detail:r}))}displayLevel(e){this.dispatchEvent(new CustomEvent("display-level",{detail:e}))}updated(e){super.updated(e),e.has("filter")&&e.has("filteredOptions")&&e.get("filteredOptions")!==void 0&&e.get("filter")!==void 0&&this.ariaNotificationDebouncer.run(async()=>{if(this.filteredOptionsNumberAriaNotification==null)return;let r=await this.awaitI18n({...this.filteredOptionsNumberAriaNotification,args:[this.filteredOptions.length]});this.sendAriaNotification(r)})}};Q.elementDefinitions={"ft-button":F,"ft-ripple":W,"ft-typography":ie,"ft-checkbox":ce,"ft-icon":xe,"ft-radio":ge};Q.styles=_u;ve([y({type:String})],Q.prototype,"filterId",void 0);ve([y({type:Object})],Q.prototype,"parent",void 0);ve([y({type:Array,hasChanged:Ie})],Q.prototype,"options",void 0);ve([y({type:Boolean})],Q.prototype,"multivalued",void 0);ve([y({type:Boolean})],Q.prototype,"disabled",void 0);ve([y({type:Boolean})],Q.prototype,"hideSelectedOptions",void 0);ve([y({type:Boolean})],Q.prototype,"displayCount",void 0);ve([y({type:Boolean})],Q.prototype,"preventNavigation",void 0);ve([y({type:String})],Q.prototype,"filter",void 0);ve([y()],Q.prototype,"filteredOptionsNumberAriaNotification",void 0);ve([pt()],Q.prototype,"displayedValuesMinimum",void 0);ve([z(".ft-filter-level--container")],Q.prototype,"container",void 0);ve([N()],Q.prototype,"radios",void 0);ve([N()],Q.prototype,"displayedPages",void 0);ve([N()],Q.prototype,"filteredOptions",void 0);var Ot={buttonsColor:o.extend("--ft-snap-scroll-buttons-color","",_.colorPrimary),buttonsZIndex:o.create("--ft-snap-scroll-buttons-z-index","","NUMBER","1"),gap:o.create("--ft-snap-scroll-gap","","SIZE","0"),colorSurface:o.external(_.colorSurface,"Design system")},Ru=R`
1092
1114
  .ft-snap-scroll {
1093
1115
  box-sizing: border-box;
1094
1116
  position: relative;
@@ -1123,7 +1145,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1123
1145
  flex-wrap: nowrap;
1124
1146
  align-items: flex-start;
1125
1147
  justify-content: flex-start;
1126
- gap: ${Ct.gap};
1148
+ gap: ${Ot.gap};
1127
1149
  }
1128
1150
 
1129
1151
  .ft-snap-scroll--hide-scrollbar .ft-snap-scroll--content::-webkit-scrollbar {
@@ -1166,11 +1188,11 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1166
1188
  .ft-snap-scroll--next {
1167
1189
  position: absolute;
1168
1190
  display: flex;
1169
- z-index: ${Ct.buttonsZIndex};
1191
+ z-index: ${Ot.buttonsZIndex};
1170
1192
  opacity: 1;
1171
1193
  transition: background-color .5s ease-in-out, opacity .5s ease-in-out, z-index .5s ease-in-out;
1172
1194
  ${G(j.backgroundColor,"transparent")};
1173
- ${G(j.color,Ct.buttonsColor)};
1195
+ ${G(j.color,Ot.buttonsColor)};
1174
1196
  }
1175
1197
 
1176
1198
  .ft-snap-scroll--previous[hidden],
@@ -1183,37 +1205,37 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1183
1205
  top: 0;
1184
1206
  left: -1px;
1185
1207
  bottom: 0;
1186
- background: linear-gradient(to right, ${Ct.colorSurface} 50%, var(--snap-scroll-transparent-color));
1208
+ background: linear-gradient(to right, ${Ot.colorSurface} 50%, var(--snap-scroll-transparent-color));
1187
1209
  }
1188
1210
 
1189
1211
  .ft-snap-scroll--vertical .ft-snap-scroll--previous {
1190
1212
  top: -1px;
1191
1213
  left: 0;
1192
1214
  right: 0;
1193
- background: linear-gradient(to bottom, ${Ct.colorSurface} 50%, var(--snap-scroll-transparent-color));
1215
+ background: linear-gradient(to bottom, ${Ot.colorSurface} 50%, var(--snap-scroll-transparent-color));
1194
1216
  }
1195
1217
 
1196
1218
  .ft-snap-scroll--horizontal .ft-snap-scroll--next {
1197
1219
  top: 0;
1198
1220
  right: -1px;
1199
1221
  bottom: 0;
1200
- background: linear-gradient(to left, ${Ct.colorSurface} 50%, var(--snap-scroll-transparent-color));
1222
+ background: linear-gradient(to left, ${Ot.colorSurface} 50%, var(--snap-scroll-transparent-color));
1201
1223
  }
1202
1224
 
1203
1225
  .ft-snap-scroll--vertical .ft-snap-scroll--next {
1204
1226
  left: 0;
1205
1227
  right: 0;
1206
1228
  bottom: -1px;
1207
- background: linear-gradient(to top, ${Ct.colorSurface} 50%, var(--snap-scroll-transparent-color));
1229
+ background: linear-gradient(to top, ${Ot.colorSurface} 50%, var(--snap-scroll-transparent-color));
1208
1230
  }
1209
1231
 
1210
1232
  .ft-snap-scroll--horizontal .ft-snap-scroll--previous:hover,
1211
1233
  .ft-snap-scroll--horizontal .ft-snap-scroll--next:hover,
1212
1234
  .ft-snap-scroll--vertical .ft-snap-scroll--previous:hover,
1213
1235
  .ft-snap-scroll--vertical .ft-snap-scroll--next:hover {
1214
- background-color: ${Ct.colorSurface};
1236
+ background-color: ${Ot.colorSurface};
1215
1237
  }
1216
- `;var rt=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},ba=class extends CustomEvent{constructor(e,r){super("current-element-change",{detail:{index:e,element:r}})}},de=class extends U{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver(()=>this.scheduleUpdateScroll()),this.scrollDebouncer=new J(200),this.updateScrollDebouncer=new J(100)}scrollToIndex(e){this.scrollToElement(this.elements[e])}scrollIndexIntoView(e){let r=this.elements[e];if(r){let n=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,i=this.contentSlot[this.scrollAttribute]+this.prevSize;(r[this.offsetAttribute]<i||r[this.offsetAttribute]+r[this.sizeAttribute]>n)&&this.scrollToElement(r)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){let e=Ae({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":bo}),r=this.controls&&this.withScroll;return L`
1238
+ `;var rt=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},ba=class extends CustomEvent{constructor(e,r){super("current-element-change",{detail:{index:e,element:r}})}},de=class extends U{constructor(){super(...arguments),this.horizontal=!1,this.hideScrollbar=!1,this.controls=!1,this.limitSize=!1,this.elements=[],this.currentElement=0,this.withScroll=!1,this.startReached=!0,this.endReached=!0,this.offsetAttribute="offsetTop",this.scrollAttribute="scrollTop",this.sizeAttribute="clientHeight",this.scrollSizeAttribute="scrollHeight",this.updateScrollCallback=()=>this.onScroll(),this.resizeObserver=new ResizeObserver(()=>this.scheduleUpdateScroll()),this.scrollDebouncer=new J(200),this.updateScrollDebouncer=new J(100)}scrollToIndex(e){this.scrollToElement(this.elements[e])}scrollIndexIntoView(e){let r=this.elements[e];if(r){let n=this.contentSlot[this.scrollAttribute]+this.contentSlot[this.sizeAttribute]-this.nextSize,i=this.contentSlot[this.scrollAttribute]+this.prevSize;(r[this.offsetAttribute]<i||r[this.offsetAttribute]+r[this.sizeAttribute]>n)&&this.scrollToElement(r)}}previous(){this.scrollToElement(this.elements[Math.max(0,this.closestIndexFromStart()-1)])}next(){this.scrollToElement(this.elements[Math.min(this.closestIndexFromStart()+1,this.elements.length-1)])}render(){let e=Ae({"ft-snap-scroll":!0,"ft-snap-scroll--horizontal":this.horizontal,"ft-snap-scroll--vertical":!this.horizontal,"ft-snap-scroll--hide-scrollbar":this.hideScrollbar,"ft-snap-scroll--limit-size":this.limitSize,"ft-snap-scroll--safari-fix":bo}),r=this.controls&&this.withScroll;return T`
1217
1239
  <div part="container" class="${e}">
1218
1240
  <ft-button
1219
1241
  class="ft-snap-scroll--previous"
@@ -1354,10 +1376,10 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1354
1376
  slot:not([name]) {
1355
1377
  display: none;
1356
1378
  }
1357
- `];var ee=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},xa=class extends CustomEvent{constructor(e){super("change",{detail:e})}},K=class extends bn(U,ga){constructor(){super(...arguments),this.id="",this.label="",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayCount=!1,this.displayedValuesLimit=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver(()=>this.updateScroll()),this.levelsScrollDebouncer=new J(300),this.changeDebouncer=new J(10),this.lastDispatchedValues=[]}get flatOptions(){return kt(this.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return kt(this.options,e=>{var r;return e.selected?[]:(r=e.subOptions)!==null&&r!==void 0?r:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(e=>e.selected).map(e=>e.value)}render(){let e=this.flatOptions.some(i=>i.selected),r=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,n=ar.messages.filterInputPlaceHolder(this.label);return L`
1379
+ `];var ee=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},xa=class extends CustomEvent{constructor(e){super("change",{detail:e})}},K=class extends bn(U,ga){constructor(){super(...arguments),this.id="",this.label="",this.options=[],this.multivalued=!1,this.disabled=!1,this.raiseSelectedOptions=!1,this.displayCount=!1,this.displayedValuesMinimum=0,this.hideClearButton=!1,this.lastLevelHasHiddenvalues=!1,this.withScroll=!1,this.filter="",this.displayedLevels=[],this.scrollResizeObserver=new ResizeObserver(()=>this.updateScroll()),this.levelsScrollDebouncer=new J(300),this.changeDebouncer=new J(10),this.lastDispatchedValues=[]}get flatOptions(){return It(this.options,e=>{var r;return(r=e.subOptions)!==null&&r!==void 0?r:[]})}get childrenFilteredFlatOptions(){return It(this.options,e=>{var r;return e.selected?[]:(r=e.subOptions)!==null&&r!==void 0?r:[]})}get selectedValues(){return this.childrenFilteredFlatOptions.filter(e=>e.selected).map(e=>e.value)}render(){let e=this.flatOptions.some(i=>i.selected),r=this.withScroll||this.filter||this.lastLevelHasHiddenvalues,n=Ct.messages.filterInputPlaceHolder(this.label);return T`
1358
1380
  <div class="ft-filter--container ${this.disabled?"ft-filter--disabled":""}"
1359
1381
  part="container">
1360
- ${!this.label&&!e?null:L`
1382
+ ${!this.label&&!e?null:T`
1361
1383
 
1362
1384
  <div class="ft-filter--header" part="header">
1363
1385
  <div class="filter-label" id="id-group-${this.id}">
@@ -1366,13 +1388,13 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1366
1388
  </ft-typography>
1367
1389
  <slot name="label"></slot>
1368
1390
  </div>
1369
- ${e&&!this.hideClearButton?L`
1391
+ ${e&&!this.hideClearButton?T`
1370
1392
  <ft-button icon="close"
1371
- aria-label="${ar.messages.clearFilterButton()+" "+this.label}"
1393
+ aria-label="${Ct.messages.clearFilterButton()+" "+this.label}"
1372
1394
  dense
1373
1395
  @click=${()=>{this.clear(),this.focusOnFirstOption()}}
1374
1396
  part="clear-button">
1375
- ${ar.messages.clearFilterButton()}
1397
+ ${Ct.messages.clearFilterButton()}
1376
1398
  </ft-button>
1377
1399
  `:null}
1378
1400
  </div>
@@ -1394,8 +1416,8 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1394
1416
  @slotchange=${this.updateOptionsFromSlot}
1395
1417
  @option-change=${this.optionsChanged}></slot>
1396
1418
  </div>
1397
- `}update(e){if(super.update(e),e.has("options")){let r=new Set(this.flatOptions.map(n=>n.value));this.displayedLevels=this.displayedLevels.filter(n=>r.has(n)),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(e){var r,n,i,s,a,c;super.contentAvailableCallback(e),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),e.has("options")&&(this.updateScroll(),(r=this.levelsContainer)===null||r===void 0||r.scrollToIndex(this.displayedLevels.length)),e.has("slideIn")&&this.slideIn&&((n=this.levelsContainer)===null||n===void 0||n.next(),setTimeout(()=>{this.slideIn=void 0},300)),e.has("slideOut")&&this.slideOut&&((i=this.levelsContainer)===null||i===void 0||i.previous(),setTimeout(()=>{this.displayedLevels.pop(),this.slideOut=void 0},300)),this.lastLevelHasHiddenvalues=(c=(a=(s=this.shadowRoot)===null||s===void 0?void 0:s.querySelector(".ft-filter--levels ft-filter-level:last-child"))===null||a===void 0?void 0:a.hasHiddenValues)!==null&&c!==void 0?c:!1}renderLevels(){let e=this.flatOptions,r=e.filter(s=>s.selected),n=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,i=n<0?"ft-filter--level-center":"ft-filter--level-left";return L`
1398
- ${this.raiseSelectedOptions&&r.length>0?L`
1419
+ `}update(e){if(super.update(e),e.has("options")){let r=new Set(this.flatOptions.map(n=>n.value));this.displayedLevels=this.displayedLevels.filter(n=>r.has(n)),this.lastDispatchedValues=this.selectedValues}}contentAvailableCallback(e){var r,n,i,s,a,c;super.contentAvailableCallback(e),this.valuesContainer&&this.scrollResizeObserver.observe(this.valuesContainer),this.container&&this.scrollResizeObserver.observe(this.container),e.has("options")&&(this.updateScroll(),(r=this.levelsContainer)===null||r===void 0||r.scrollToIndex(this.displayedLevels.length)),e.has("slideIn")&&this.slideIn&&((n=this.levelsContainer)===null||n===void 0||n.next(),setTimeout(()=>{this.slideIn=void 0},300)),e.has("slideOut")&&this.slideOut&&((i=this.levelsContainer)===null||i===void 0||i.previous(),setTimeout(()=>{this.displayedLevels.pop(),this.slideOut=void 0},300)),this.lastLevelHasHiddenvalues=(c=(a=(s=this.shadowRoot)===null||s===void 0?void 0:s.querySelector(".ft-filter--levels ft-filter-level:last-child"))===null||a===void 0?void 0:a.hasHiddenValues)!==null&&c!==void 0?c:!1}renderLevels(){let e=this.flatOptions,r=e.filter(s=>s.selected),n=this.slideIn||this.slideOut?this.displayedLevels.length-2:this.displayedLevels.length-1,i=n<0?"ft-filter--level-center":"ft-filter--level-left";return T`
1420
+ ${this.raiseSelectedOptions&&r.length>0?T`
1399
1421
  <ft-filter-level
1400
1422
  filterId="${this.id}"
1401
1423
  ?multivalued=${this.multivalued}
@@ -1416,7 +1438,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1416
1438
  ${this.renderLevel(i,this.options)}
1417
1439
  ${this.displayedLevels.map(s=>e.find(a=>a.value===s)).map((s,a)=>{var c;let d=s?.value===this.slideIn||s?.value===this.slideOut?"ft-filter--level-right":a===n?"ft-filter--level-center":"ft-filter--level-left";return this.renderLevel(d,(c=s?.subOptions)!==null&&c!==void 0?c:[],s)})}
1418
1440
  </ft-snap-scroll>
1419
- `}renderLevel(e,r,n){return L`
1441
+ `}renderLevel(e,r,n){return T`
1420
1442
  <ft-filter-level
1421
1443
  class="${e}"
1422
1444
  filterId="${this.id}"
@@ -1428,7 +1450,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1428
1450
  ?displayCount=${this.displayCount}
1429
1451
  .parent=${n}
1430
1452
  .options=${r}
1431
- .displayedValuesLimit=${this.displayedValuesLimit}
1453
+ .displayedValuesMinimum=${this.displayedValuesMinimum}
1432
1454
  @change=${this.onChange}
1433
1455
  @go-back=${this.goBack}
1434
1456
  @display-level=${this.onDisplayLevel}
@@ -1436,7 +1458,7 @@ Also for action icons.`,l.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
1436
1458
  .exportpartsPrefixes=${["values","available-values"]}
1437
1459
  .filteredOptionsNumberAriaNotification=${this.filteredOptionsNumberAriaNotification}
1438
1460
  ></ft-filter-level>
1439
- `}goBack(e){this.slideOut=e.detail.value,jr(()=>this.slideOut===void 0).then(()=>{var r;let n=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");n?.focusOnExpandButton(e.detail.value)})}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value,jr(()=>this.slideIn===void 0).then(()=>{var r;let n=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");n?.focusOnBackButton()})}focusOnFirstOption(){jr(()=>this.slideOut===void 0).then(()=>{var e;let r=(e=this.levelsContainer)===null||e===void 0?void 0:e.querySelector(".ft-filter--level-center");r?.focusOnFirstOption()})}clear(){if(this.flatOptions.forEach(e=>e.selected=!1),this.displayedLevels.length>0){let e=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[e],this.slideOut=e}this.optionsChanged()}onChange(e){var r;e.stopPropagation();let n=this.flatOptions.find(s=>s.value===e.detail.value);n.selected=!n.selected;let i=s=>{var a;s!==n&&(s.selected=!1),(a=s.subOptions)===null||a===void 0||a.forEach(i)};this.multivalued?(r=n.subOptions)===null||r===void 0||r.forEach(i):this.options.forEach(i),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var e;this.sendEventIfValuesChanged(),this.requestUpdate(),(e=this.levels)===null||e===void 0||e.forEach(r=>r.updateFilteredOptions())})}sendEventIfValuesChanged(){let e=this.selectedValues;ue(this.lastDispatchedValues,e)||(this.dispatchEvent(new xa(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(r=>r),this.optionsChanged()}onFilterChange(){var e,r;this.filter=(r=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&r!==void 0?r:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};K.elementDefinitions={"ft-button":F,"ft-filter-level":Q,"ft-snap-scroll":de,"ft-typography":ie};K.styles=Lu;ee([y({type:String})],K.prototype,"id",void 0);ee([y({type:String})],K.prototype,"label",void 0);ee([ne([])],K.prototype,"options",void 0);ee([y({type:Boolean})],K.prototype,"multivalued",void 0);ee([y({type:Boolean})],K.prototype,"disabled",void 0);ee([y({type:Boolean})],K.prototype,"raiseSelectedOptions",void 0);ee([y({type:Boolean})],K.prototype,"displayCount",void 0);ee([pt()],K.prototype,"displayedValuesLimit",void 0);ee([ne(void 0)],K.prototype,"filteredOptionsNumberAriaNotification",void 0);ee([y({type:Boolean})],K.prototype,"hideClearButton",void 0);ee([z(".ft-filter--slot")],K.prototype,"slotElement",void 0);ee([z(".ft-filter--container")],K.prototype,"container",void 0);ee([z(".ft-filter--values")],K.prototype,"valuesContainer",void 0);ee([z(".ft-filter--levels")],K.prototype,"levelsContainer",void 0);ee([N()],K.prototype,"lastLevelHasHiddenvalues",void 0);ee([z(".ft-filter--filter input")],K.prototype,"filterInput",void 0);ee([Yn(".ft-filter--levels ft-filter-level")],K.prototype,"levels",void 0);ee([N()],K.prototype,"withScroll",void 0);ee([N()],K.prototype,"filter",void 0);ee([N()],K.prototype,"slideIn",void 0);ee([N()],K.prototype,"slideOut",void 0);var Dr=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},je=class extends U{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return L`
1461
+ `}goBack(e){this.slideOut=e.detail.value,jr(()=>this.slideOut===void 0).then(()=>{var r;let n=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");n?.focusOnExpandButton(e.detail.value)})}onDisplayLevel(e){this.displayedLevels.push(e.detail.value),this.slideIn=e.detail.value,jr(()=>this.slideIn===void 0).then(()=>{var r;let n=(r=this.levelsContainer)===null||r===void 0?void 0:r.querySelector(".ft-filter--level-center");n?.focusOnBackButton()})}focusOnFirstOption(){jr(()=>this.slideOut===void 0).then(()=>{var e;let r=(e=this.levelsContainer)===null||e===void 0?void 0:e.querySelector(".ft-filter--level-center");r?.focusOnFirstOption()})}clear(){if(this.flatOptions.forEach(e=>e.selected=!1),this.displayedLevels.length>0){let e=this.displayedLevels[this.displayedLevels.length-1];this.displayedLevels=[e],this.slideOut=e}this.optionsChanged()}onChange(e){var r;e.stopPropagation();let n=this.flatOptions.find(s=>s.value===e.detail.value);n.selected=!n.selected;let i=s=>{var a;s!==n&&(s.selected=!1),(a=s.subOptions)===null||a===void 0||a.forEach(i)};this.multivalued?(r=n.subOptions)===null||r===void 0||r.forEach(i):this.options.forEach(i),this.optionsChanged()}optionsChanged(){this.changeDebouncer.run(()=>{var e;this.sendEventIfValuesChanged(),this.requestUpdate(),(e=this.levels)===null||e===void 0||e.forEach(r=>r.updateFilteredOptions())})}sendEventIfValuesChanged(){let e=this.selectedValues;ue(this.lastDispatchedValues,e)||(this.dispatchEvent(new xa(e)),this.lastDispatchedValues=e)}updateOptionsFromSlot(e){e.stopPropagation(),this.options=this.slotElement.assignedElements().map(r=>r),this.optionsChanged()}onFilterChange(){var e,r;this.filter=(r=(e=this.filterInput)===null||e===void 0?void 0:e.value)!==null&&r!==void 0?r:""}updateScroll(){this.valuesContainer&&(this.withScroll=this.valuesContainer.scrollHeight>this.valuesContainer.clientHeight)}};K.elementDefinitions={"ft-button":F,"ft-filter-level":Q,"ft-snap-scroll":de,"ft-typography":ie};K.styles=Lu;ee([y({type:String})],K.prototype,"id",void 0);ee([y({type:String})],K.prototype,"label",void 0);ee([ne([])],K.prototype,"options",void 0);ee([y({type:Boolean})],K.prototype,"multivalued",void 0);ee([y({type:Boolean})],K.prototype,"disabled",void 0);ee([y({type:Boolean})],K.prototype,"raiseSelectedOptions",void 0);ee([y({type:Boolean})],K.prototype,"displayCount",void 0);ee([pt()],K.prototype,"displayedValuesMinimum",void 0);ee([ne(void 0)],K.prototype,"filteredOptionsNumberAriaNotification",void 0);ee([y({type:Boolean})],K.prototype,"hideClearButton",void 0);ee([z(".ft-filter--slot")],K.prototype,"slotElement",void 0);ee([z(".ft-filter--container")],K.prototype,"container",void 0);ee([z(".ft-filter--values")],K.prototype,"valuesContainer",void 0);ee([z(".ft-filter--levels")],K.prototype,"levelsContainer",void 0);ee([N()],K.prototype,"lastLevelHasHiddenvalues",void 0);ee([z(".ft-filter--filter input")],K.prototype,"filterInput",void 0);ee([Yn(".ft-filter--levels ft-filter-level")],K.prototype,"levels",void 0);ee([N()],K.prototype,"withScroll",void 0);ee([N()],K.prototype,"filter",void 0);ee([N()],K.prototype,"slideIn",void 0);ee([N()],K.prototype,"slideOut",void 0);var Dr=function(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(s=(i<3?a(s):i>3?a(e,r,s):a(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s},je=class extends U{constructor(){super(...arguments),this.label="",this.value=null,this.selected=!1,this.subOptions=[]}render(){return T`
1440
1462
  <slot class="ft-filter-option--slot" @slotchange=${this.updateSubOptionsFromSlot}></slot>
1441
1463
  `}updateSubOptionsFromSlot(e){e.stopPropagation(),this.subOptions=this.slotElement.assignedElements().map(r=>r)}update(e){super.update(e),this.dispatchEvent(new CustomEvent("option-change",{detail:this,bubbles:!0}))}};je.elementDefinitions={};Dr([y({type:String})],je.prototype,"label",void 0);Dr([y({type:Object,converter:t=>t})],je.prototype,"value",void 0);Dr([y({type:Boolean,reflect:!0})],je.prototype,"selected",void 0);Dr([y({type:Object})],je.prototype,"subOptions",void 0);Dr([ne({})],je.prototype,"renderOption",void 0);Dr([z(".ft-filter-option--slot")],je.prototype,"slotElement",void 0);var ku={"ft-filter":K,"ft-filter-option":je};q(ku);})();
1442
1464
  /*! Bundled license information: