@fluid-topics/ft-search-quick-filters 2.2.26 → 2.2.27

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 gl=Object.defineProperty;var k=(t,e)=>{for(var r in e)gl(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,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(y,g){if(y=y.toLowerCase(),this._getDefinition(y)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${y}" has already been used with this registry`);if(this._definitionsByClass.get(g)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let x=g.prototype.attributeChangedCallback,E=new Set(g.observedAttributes||[]);m(g,E,x);let _={elementClass:g,connectedCallback:g.prototype.connectedCallback,disconnectedCallback:g.prototype.disconnectedCallback,adoptedCallback:g.prototype.adoptedCallback,attributeChangedCallback:x,formAssociated:g.formAssociated,formAssociatedCallback:g.prototype.formAssociatedCallback,formDisabledCallback:g.prototype.formDisabledCallback,formResetCallback:g.prototype.formResetCallback,formStateRestoreCallback:g.prototype.formStateRestoreCallback,observedAttributes:E};this._definitionsByTag.set(y,_),this._definitionsByClass.set(g,_);let P=r.call(n,y);P||(P=f(y),e.call(n,y,P)),this===window.customElements&&(a.set(g,_),_.standInClass=P);let M=this._awaitingUpgrade.get(y);if(M){this._awaitingUpgrade.delete(y);for(let T of M)s.delete(T),v(T,_,!0)}let A=this._whenDefinedPromises.get(y);return A!==void 0&&(A.resolve(g),this._whenDefinedPromises.delete(y)),g}upgrade(){S.push(this),n.upgrade.apply(n,arguments),S.pop()}get(y){return this._definitionsByTag.get(y)?.elementClass}_getDefinition(y){return this._definitionsByTag.get(y)}whenDefined(y){let g=this._getDefinition(y);if(g!==void 0)return Promise.resolve(g.elementClass);let x=this._whenDefinedPromises.get(y);return x===void 0&&(x={},x.promise=new Promise(E=>x.resolve=E),this._whenDefinedPromises.set(y,x)),x.promise}_upgradeWhenDefined(y,g,x){let E=this._awaitingUpgrade.get(g);E||this._awaitingUpgrade.set(g,E=new Set),x?E.add(y):E.delete(y)}};let d;window.HTMLElement=function(){let g=d;if(g)return d=void 0,g;let x=a.get(this.constructor);if(!x)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return g=Reflect.construct(t,[],x.standInClass),Object.setPrototypeOf(g,this.constructor.prototype),i.set(g,x),g},window.HTMLElement.prototype=t.prototype;let p=y=>y===document||y instanceof ShadowRoot,h=y=>{let g=y.getRootNode();if(!p(g)){let x=S[S.length-1];if(x instanceof CustomElementRegistry)return x;g=x.getRootNode(),p(g)||(g=l.get(g)?.getRootNode()||document)}return g.customElements},f=y=>class{static get formAssociated(){return!0}constructor(){let x=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(x,HTMLElement.prototype);let E=h(x)||window.customElements,_=E._getDefinition(y);return _?v(x,_):s.set(x,E),x}connectedCallback(){let x=i.get(this);x?x.connectedCallback&&x.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,y,!0)}disconnectedCallback(){let x=i.get(this);x?x.disconnectedCallback&&x.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,y,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let x=i.get(this);x&&x.formAssociated&&x?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let x=i.get(this);x?.formAssociated&&x?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let x=i.get(this);x?.formAssociated&&x?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let x=i.get(this);x?.formAssociated&&x?.formStateRestoreCallback?.apply(this,arguments)}},m=(y,g,x)=>{if(g.size===0||x===void 0)return;let E=y.prototype.setAttribute;E&&(y.prototype.setAttribute=function(M,A){let T=M.toLowerCase();if(g.has(T)){let B=this.getAttribute(T);E.call(this,T,A),x.call(this,T,B,A)}else E.call(this,T,A)});let _=y.prototype.removeAttribute;_&&(y.prototype.removeAttribute=function(M){let A=M.toLowerCase();if(g.has(A)){let T=this.getAttribute(A);_.call(this,A),x.call(this,A,T,null)}else _.call(this,A)});let P=y.prototype.toggleAttribute;P&&(y.prototype.toggleAttribute=function(M,A){let T=M.toLowerCase();if(g.has(T)){let B=this.getAttribute(T);P.call(this,T,A);let pe=this.getAttribute(T);x.call(this,T,B,pe)}else P.call(this,T,A)})},b=y=>{let g=Object.getPrototypeOf(y);if(g!==window.HTMLElement)return g===t?Object.setPrototypeOf(y,window.HTMLElement):b(g)},v=(y,g,x=!1)=>{Object.setPrototypeOf(y,g.elementClass.prototype),i.set(y,g),d=y;try{new g.elementClass}catch{b(g.elementClass),new g.elementClass}g.attributeChangedCallback&&g.observedAttributes.forEach(E=>{y.hasAttribute(E)&&g.attributeChangedCallback.call(y,E,null,y.getAttribute(E))}),x&&g.connectedCallback&&y.isConnected&&g.connectedCallback.call(y)},C=Element.prototype.attachShadow;Element.prototype.attachShadow=function(y){let g=C.apply(this,arguments);return y.customElements&&(g.customElements=y.customElements),g};let S=[document],w=(y,g,x=void 0)=>{let E=(x?Object.getPrototypeOf(x):y.prototype)[g];y.prototype[g]=function(){S.push(this);let _=E.apply(x||this,arguments);return _!==void 0&&l.set(_,this),S.pop(),_}};w(ShadowRoot,"createElement",document),w(ShadowRoot,"importNode",document),w(Element,"insertAdjacentHTML");let L=(y,g)=>{let x=Object.getOwnPropertyDescriptor(y.prototype,g);Object.defineProperty(y.prototype,g,{...x,set(E){S.push(this),x.set.call(this,E),S.pop()}})};if(L(Element,"innerHTML"),L(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let y=new WeakMap,g=HTMLElement.prototype.attachInternals,x=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...M){let A=g.call(this,...M);return y.set(A,this),A},x.forEach(M=>{let A=window.ElementInternals.prototype,T=A[M];A[M]=function(...B){let pe=y.get(this);if(i.get(pe).formAssociated===!0)return T?.call(this,...B);throw new DOMException(`Failed to execute ${T} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class E extends Array{constructor(A){super(...A),this._elements=A}get value(){return this._elements.find(A=>A.checked===!0)?.value||""}}class _{constructor(A){let T=new Map;A.forEach((B,pe)=>{let Ao=B.getAttribute("name"),Vi=T.get(Ao)||[];this[+pe]=B,Vi.push(B),T.set(Ao,Vi)}),this.length=A.length,T.forEach((B,pe)=>{B&&(B.length===1?this[pe]=B[0]:this[pe]=new E(B))})}namedItem(A){return this[A]}}let P=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let M=P.get.call(this,[]),A=[];for(let T of M){let B=i.get(T);(!B||B.formAssociated===!0)&&A.push(T)}return new _(A)}})}}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 Do={};k(Do,{CSSResult:()=>lt,LitElement:()=>Ee,ReactiveElement:()=>re,_$LE:()=>Ll,_$LH:()=>No,adoptStyles:()=>Dt,css:()=>D,defaultConverter:()=>dt,getCompatibleStyle:()=>br,html:()=>Y,isServer:()=>vf,mathml:()=>Rl,noChange:()=>$,notEqual:()=>Bt,nothing:()=>N,render:()=>Fo,supportsAdoptingStyleSheets:()=>Ft,svg:()=>Al,unsafeCSS:()=>Mt});var yr=globalThis,Ft=yr.ShadowRoot&&(yr.ShadyCSS===void 0||yr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ro=Symbol(),Gi=new WeakMap,lt=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Ro)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(Ft&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Gi.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Gi.set(r,e))}return e}toString(){return this.cssText}},Mt=t=>new lt(typeof t=="string"?t:t+"",void 0,Ro),D=(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 lt(r,t,Ro)},Dt=(t,e)=>{if(Ft)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=yr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},br=Ft?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Mt(r)})(t):t;var{is:yl,defineProperty:bl,getOwnPropertyDescriptor:xl,getOwnPropertyNames:vl,getOwnPropertySymbols:Sl,getPrototypeOf:El}=Object,xr=globalThis,Wi=xr.trustedTypes,Cl=Wi?Wi.emptyScript:"",wl=xr.reactiveElementPolyfillSupport,Ut=(t,e)=>t,dt={toAttribute(t,e){switch(e){case Boolean:t=t?Cl: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}},Bt=(t,e)=>!yl(t,e),ji={attribute:!0,type:String,converter:dt,reflect:!1,useDefault:!1,hasChanged:Bt};Symbol.metadata??=Symbol("metadata"),xr.litPropertyMetadata??=new WeakMap;var re=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=ji){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&&bl(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:s}=xl(this.prototype,e)??{get(){return this[r]},set(a){this[r]=a}};return{get:i,set(a){let l=i?.call(this);s?.call(this,a),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??ji}static _$Ei(){if(this.hasOwnProperty(Ut("elementProperties")))return;let e=El(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Ut("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ut("properties"))){let r=this.properties,n=[...vl(r),...Sl(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(br(i))}else e!==void 0&&r.push(br(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 Dt(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:dt).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:dt;this._$Em=i;let l=a.fromAttribute(r,s.type);this[i]=l??this._$Ej?.get(i)??l,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??Bt)(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,l=this[i];a!==!0||this._$AL.has(i)||l===void 0||this.C(i,void 0,s,l)}}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){}};re.elementStyles=[],re.shadowRootOptions={mode:"open"},re[Ut("elementProperties")]=new Map,re[Ut("finalized")]=new Map,wl?.({ReactiveElement:re}),(xr.reactiveElementVersions??=[]).push("2.1.2");var Io=globalThis,Ki=t=>t,vr=Io.trustedTypes,qi=vr?vr.createPolicy("lit-html",{createHTML:t=>t}):void 0,Lo="$lit$",Se=`lit$${Math.random().toFixed(9).slice(2)}$`,ko="?"+Se,Ol=`<${ko}>`,Ve=document,Ht=()=>Ve.createComment(""),zt=t=>t===null||typeof t!="object"&&typeof t!="function",To=Array.isArray,es=t=>To(t)||typeof t?.[Symbol.iterator]=="function",_o=`[
1
+ "use strict";(()=>{var gl=Object.defineProperty;var k=(t,e)=>{for(var r in e)gl(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,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(y,g){if(y=y.toLowerCase(),this._getDefinition(y)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${y}" has already been used with this registry`);if(this._definitionsByClass.get(g)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let x=g.prototype.attributeChangedCallback,E=new Set(g.observedAttributes||[]);m(g,E,x);let I={elementClass:g,connectedCallback:g.prototype.connectedCallback,disconnectedCallback:g.prototype.disconnectedCallback,adoptedCallback:g.prototype.adoptedCallback,attributeChangedCallback:x,formAssociated:g.formAssociated,formAssociatedCallback:g.prototype.formAssociatedCallback,formDisabledCallback:g.prototype.formDisabledCallback,formResetCallback:g.prototype.formResetCallback,formStateRestoreCallback:g.prototype.formStateRestoreCallback,observedAttributes:E};this._definitionsByTag.set(y,I),this._definitionsByClass.set(g,I);let P=r.call(n,y);P||(P=f(y),e.call(n,y,P)),this===window.customElements&&(a.set(g,I),I.standInClass=P);let M=this._awaitingUpgrade.get(y);if(M){this._awaitingUpgrade.delete(y);for(let T of M)s.delete(T),v(T,I,!0)}let A=this._whenDefinedPromises.get(y);return A!==void 0&&(A.resolve(g),this._whenDefinedPromises.delete(y)),g}upgrade(){S.push(this),n.upgrade.apply(n,arguments),S.pop()}get(y){return this._definitionsByTag.get(y)?.elementClass}_getDefinition(y){return this._definitionsByTag.get(y)}whenDefined(y){let g=this._getDefinition(y);if(g!==void 0)return Promise.resolve(g.elementClass);let x=this._whenDefinedPromises.get(y);return x===void 0&&(x={},x.promise=new Promise(E=>x.resolve=E),this._whenDefinedPromises.set(y,x)),x.promise}_upgradeWhenDefined(y,g,x){let E=this._awaitingUpgrade.get(g);E||this._awaitingUpgrade.set(g,E=new Set),x?E.add(y):E.delete(y)}};let d;window.HTMLElement=function(){let g=d;if(g)return d=void 0,g;let x=a.get(this.constructor);if(!x)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return g=Reflect.construct(t,[],x.standInClass),Object.setPrototypeOf(g,this.constructor.prototype),i.set(g,x),g},window.HTMLElement.prototype=t.prototype;let p=y=>y===document||y instanceof ShadowRoot,h=y=>{let g=y.getRootNode();if(!p(g)){let x=S[S.length-1];if(x instanceof CustomElementRegistry)return x;g=x.getRootNode(),p(g)||(g=l.get(g)?.getRootNode()||document)}return g.customElements},f=y=>class{static get formAssociated(){return!0}constructor(){let x=Reflect.construct(t,[],this.constructor);Object.setPrototypeOf(x,HTMLElement.prototype);let E=h(x)||window.customElements,I=E._getDefinition(y);return I?v(x,I):s.set(x,E),x}connectedCallback(){let x=i.get(this);x?x.connectedCallback&&x.connectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,y,!0)}disconnectedCallback(){let x=i.get(this);x?x.disconnectedCallback&&x.disconnectedCallback.apply(this,arguments):s.get(this)._upgradeWhenDefined(this,y,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let x=i.get(this);x&&x.formAssociated&&x?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let x=i.get(this);x?.formAssociated&&x?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let x=i.get(this);x?.formAssociated&&x?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let x=i.get(this);x?.formAssociated&&x?.formStateRestoreCallback?.apply(this,arguments)}},m=(y,g,x)=>{if(g.size===0||x===void 0)return;let E=y.prototype.setAttribute;E&&(y.prototype.setAttribute=function(M,A){let T=M.toLowerCase();if(g.has(T)){let B=this.getAttribute(T);E.call(this,T,A),x.call(this,T,B,A)}else E.call(this,T,A)});let I=y.prototype.removeAttribute;I&&(y.prototype.removeAttribute=function(M){let A=M.toLowerCase();if(g.has(A)){let T=this.getAttribute(A);I.call(this,A),x.call(this,A,T,null)}else I.call(this,A)});let P=y.prototype.toggleAttribute;P&&(y.prototype.toggleAttribute=function(M,A){let T=M.toLowerCase();if(g.has(T)){let B=this.getAttribute(T);P.call(this,T,A);let pe=this.getAttribute(T);x.call(this,T,B,pe)}else P.call(this,T,A)})},b=y=>{let g=Object.getPrototypeOf(y);if(g!==window.HTMLElement)return g===t?Object.setPrototypeOf(y,window.HTMLElement):b(g)},v=(y,g,x=!1)=>{Object.setPrototypeOf(y,g.elementClass.prototype),i.set(y,g),d=y;try{new g.elementClass}catch{b(g.elementClass),new g.elementClass}g.attributeChangedCallback&&g.observedAttributes.forEach(E=>{y.hasAttribute(E)&&g.attributeChangedCallback.call(y,E,null,y.getAttribute(E))}),x&&g.connectedCallback&&y.isConnected&&g.connectedCallback.call(y)},C=Element.prototype.attachShadow;Element.prototype.attachShadow=function(y){let g=C.apply(this,arguments);return y.customElements&&(g.customElements=y.customElements),g};let S=[document],O=(y,g,x=void 0)=>{let E=(x?Object.getPrototypeOf(x):y.prototype)[g];y.prototype[g]=function(){S.push(this);let I=E.apply(x||this,arguments);return I!==void 0&&l.set(I,this),S.pop(),I}};O(ShadowRoot,"createElement",document),O(ShadowRoot,"importNode",document),O(Element,"insertAdjacentHTML");let R=(y,g)=>{let x=Object.getOwnPropertyDescriptor(y.prototype,g);Object.defineProperty(y.prototype,g,{...x,set(E){S.push(this),x.set.call(this,E),S.pop()}})};if(R(Element,"innerHTML"),R(ShadowRoot,"innerHTML"),Object.defineProperty(window,"customElements",{value:new CustomElementRegistry,configurable:!0,writable:!0}),window.ElementInternals&&window.ElementInternals.prototype.setFormValue){let y=new WeakMap,g=HTMLElement.prototype.attachInternals,x=["setFormValue","setValidity","checkValidity","reportValidity"];HTMLElement.prototype.attachInternals=function(...M){let A=g.call(this,...M);return y.set(A,this),A},x.forEach(M=>{let A=window.ElementInternals.prototype,T=A[M];A[M]=function(...B){let pe=y.get(this);if(i.get(pe).formAssociated===!0)return T?.call(this,...B);throw new DOMException(`Failed to execute ${T} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class E extends Array{constructor(A){super(...A),this._elements=A}get value(){return this._elements.find(A=>A.checked===!0)?.value||""}}class I{constructor(A){let T=new Map;A.forEach((B,pe)=>{let Ao=B.getAttribute("name"),Vi=T.get(Ao)||[];this[+pe]=B,Vi.push(B),T.set(Ao,Vi)}),this.length=A.length,T.forEach((B,pe)=>{B&&(B.length===1?this[pe]=B[0]:this[pe]=new E(B))})}namedItem(A){return this[A]}}let P=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let M=P.get.call(this,[]),A=[];for(let T of M){let B=i.get(T);(!B||B.formAssociated===!0)&&A.push(T)}return new I(A)}})}}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 Do={};k(Do,{CSSResult:()=>lt,LitElement:()=>Ee,ReactiveElement:()=>re,_$LE:()=>Ll,_$LH:()=>No,adoptStyles:()=>Dt,css:()=>D,defaultConverter:()=>dt,getCompatibleStyle:()=>br,html:()=>Y,isServer:()=>vf,mathml:()=>Rl,noChange:()=>$,notEqual:()=>Bt,nothing:()=>N,render:()=>Fo,supportsAdoptingStyleSheets:()=>Ft,svg:()=>Al,unsafeCSS:()=>Mt});var yr=globalThis,Ft=yr.ShadowRoot&&(yr.ShadyCSS===void 0||yr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ro=Symbol(),Gi=new WeakMap,lt=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==Ro)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(Ft&&e===void 0){let n=r!==void 0&&r.length===1;n&&(e=Gi.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Gi.set(r,e))}return e}toString(){return this.cssText}},Mt=t=>new lt(typeof t=="string"?t:t+"",void 0,Ro),D=(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 lt(r,t,Ro)},Dt=(t,e)=>{if(Ft)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let n=document.createElement("style"),i=yr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},br=Ft?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let n of e.cssRules)r+=n.cssText;return Mt(r)})(t):t;var{is:yl,defineProperty:bl,getOwnPropertyDescriptor:xl,getOwnPropertyNames:vl,getOwnPropertySymbols:Sl,getPrototypeOf:El}=Object,xr=globalThis,Wi=xr.trustedTypes,Cl=Wi?Wi.emptyScript:"",wl=xr.reactiveElementPolyfillSupport,Ut=(t,e)=>t,dt={toAttribute(t,e){switch(e){case Boolean:t=t?Cl: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}},Bt=(t,e)=>!yl(t,e),ji={attribute:!0,type:String,converter:dt,reflect:!1,useDefault:!1,hasChanged:Bt};Symbol.metadata??=Symbol("metadata"),xr.litPropertyMetadata??=new WeakMap;var re=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=ji){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&&bl(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){let{get:i,set:s}=xl(this.prototype,e)??{get(){return this[r]},set(a){this[r]=a}};return{get:i,set(a){let l=i?.call(this);s?.call(this,a),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??ji}static _$Ei(){if(this.hasOwnProperty(Ut("elementProperties")))return;let e=El(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Ut("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ut("properties"))){let r=this.properties,n=[...vl(r),...Sl(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(br(i))}else e!==void 0&&r.push(br(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 Dt(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:dt).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:dt;this._$Em=i;let l=a.fromAttribute(r,s.type);this[i]=l??this._$Ej?.get(i)??l,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??Bt)(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,l=this[i];a!==!0||this._$AL.has(i)||l===void 0||this.C(i,void 0,s,l)}}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){}};re.elementStyles=[],re.shadowRootOptions={mode:"open"},re[Ut("elementProperties")]=new Map,re[Ut("finalized")]=new Map,wl?.({ReactiveElement:re}),(xr.reactiveElementVersions??=[]).push("2.1.2");var Io=globalThis,Ki=t=>t,vr=Io.trustedTypes,qi=vr?vr.createPolicy("lit-html",{createHTML:t=>t}):void 0,Lo="$lit$",Se=`lit$${Math.random().toFixed(9).slice(2)}$`,ko="?"+Se,Ol=`<${ko}>`,Ve=document,Ht=()=>Ve.createComment(""),zt=t=>t===null||typeof t!="object"&&typeof t!="function",To=Array.isArray,es=t=>To(t)||typeof t?.[Symbol.iterator]=="function",_o=`[
2
2
  \f\r]`,$t=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Zi=/-->/g,Yi=/>/g,He=RegExp(`>|${_o}(?:([^\\s"'>=/]+)(${_o}*=${_o}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Qi=/'/g,Ji=/"/g,ts=/^(?:script|style|textarea|title)$/i,Po=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),Y=Po(1),Al=Po(2),Rl=Po(3),$=Symbol.for("lit-noChange"),N=Symbol.for("lit-nothing"),Xi=new WeakMap,ze=Ve.createTreeWalker(Ve,129);function rs(t,e){if(!To(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return qi!==void 0?qi.createHTML(e):e}var os=(t,e)=>{let r=t.length-1,n=[],i,s=e===2?"<svg>":e===3?"<math>":"",a=$t;for(let l=0;l<r;l++){let d=t[l],p,h,f=-1,m=0;for(;m<d.length&&(a.lastIndex=m,h=a.exec(d),h!==null);)m=a.lastIndex,a===$t?h[1]==="!--"?a=Zi:h[1]!==void 0?a=Yi:h[2]!==void 0?(ts.test(h[2])&&(i=RegExp("</"+h[2],"g")),a=He):h[3]!==void 0&&(a=He):a===He?h[0]===">"?(a=i??$t,f=-1):h[1]===void 0?f=-2:(f=a.lastIndex-h[2].length,p=h[1],a=h[3]===void 0?He:h[3]==='"'?Ji:Qi):a===Ji||a===Qi?a=He:a===Zi||a===Yi?a=$t:(a=He,i=void 0);let b=a===He&&t[l+1].startsWith("/>")?" ":"";s+=a===$t?d+Ol:f>=0?(n.push(p),d.slice(0,f)+Lo+d.slice(f)+Se+b):d+Se+(f===-2?l:b)}return[rs(t,s+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},Vt=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let s=0,a=0,l=e.length-1,d=this.parts,[p,h]=os(e,r);if(this.el=t.createElement(p,n),ze.currentNode=this.el.content,r===2||r===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=ze.nextNode())!==null&&d.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(Lo)){let m=h[a++],b=i.getAttribute(f).split(Se),v=/([.?@])?(.*)/.exec(m);d.push({type:1,index:s,name:v[2],strings:b,ctor:v[1]==="."?Er:v[1]==="?"?Cr:v[1]==="@"?wr:We}),i.removeAttribute(f)}else f.startsWith(Se)&&(d.push({type:6,index:s}),i.removeAttribute(f));if(ts.test(i.tagName)){let f=i.textContent.split(Se),m=f.length-1;if(m>0){i.textContent=vr?vr.emptyScript:"";for(let b=0;b<m;b++)i.append(f[b],Ht()),ze.nextNode(),d.push({type:2,index:++s});i.append(f[m],Ht())}}}else if(i.nodeType===8)if(i.data===ko)d.push({type:2,index:s});else{let f=-1;for(;(f=i.data.indexOf(Se,f+1))!==-1;)d.push({type:7,index:s}),f+=Se.length-1}s++}}static createElement(e,r){let n=Ve.createElement("template");return n.innerHTML=e,n}};function Ge(t,e,r=t,n){if(e===$)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,s=zt(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=Ge(t,i._$AS(t,e.values),i,n)),e}var Sr=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??Ve).importNode(r,!0);ze.currentNode=i;let s=ze.nextNode(),a=0,l=0,d=n[0];for(;d!==void 0;){if(a===d.index){let p;d.type===2?p=new ut(s,s.nextSibling,this,e):d.type===1?p=new d.ctor(s,d.name,d.strings,this,e):d.type===6&&(p=new Or(s,this,e)),this._$AV.push(p),d=n[++l]}a!==d?.index&&(s=ze.nextNode(),a++)}return ze.currentNode=Ve,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++}},ut=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=N,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=Ge(this,e,r),zt(e)?e===N||e==null||e===""?(this._$AH!==N&&this._$AR(),this._$AH=N):e!==this._$AH&&e!==$&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):es(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!==N&&zt(this._$AH)?this._$AA.nextSibling.data=e:this.T(Ve.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=Vt.createElement(rs(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let s=new Sr(i,this),a=s.u(this.options);s.p(r),this.T(a),this._$AH=s}}_$AC(e){let r=Xi.get(e.strings);return r===void 0&&Xi.set(e.strings,r=new Vt(e)),r}k(e){To(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(Ht()),this.O(Ht()),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=Ki(e).nextSibling;Ki(e).remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},We=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,s){this.type=1,this._$AH=N,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=N}_$AI(e,r=this,n,i){let s=this.strings,a=!1;if(s===void 0)e=Ge(this,e,r,0),a=!zt(e)||e!==this._$AH&&e!==$,a&&(this._$AH=e);else{let l=e,d,p;for(e=s[0],d=0;d<s.length-1;d++)p=Ge(this,l[n+d],r,d),p===$&&(p=this._$AH[d]),a||=!zt(p)||p!==this._$AH[d],p===N?e=N:e!==N&&(e+=(p??"")+s[d+1]),this._$AH[d]=p}a&&!i&&this.j(e)}j(e){e===N?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Er=class extends We{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===N?void 0:e}},Cr=class extends We{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==N)}},wr=class extends We{constructor(e,r,n,i,s){super(e,r,n,i,s),this.type=5}_$AI(e,r=this){if((e=Ge(this,e,r,0)??N)===$)return;let n=this._$AH,i=e===N&&n!==N||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,s=e!==N&&(n===N||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)}},Or=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){Ge(this,e)}},No={M:Lo,P:Se,A:ko,C:1,L:os,R:Sr,D:es,V:Ge,I:ut,H:We,N:Cr,U:wr,B:Er,F:Or},_l=Io.litHtmlPolyfillSupport;_l?.(Vt,ut),(Io.litHtmlVersions??=[]).push("3.3.3");var Fo=(t,e,r)=>{let n=r?.renderBefore??e,i=n._$litPart$;if(i===void 0){let s=r?.renderBefore??null;n._$litPart$=i=new ut(e.insertBefore(Ht(),s),s,void 0,r??{})}return i._$AI(t),i};var Mo=globalThis,Ee=class extends re{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=Fo(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return $}};Ee._$litElement$=!0,Ee.finalized=!0,Mo.litElementHydrateSupport?.({LitElement:Ee});var Il=Mo.litElementPolyfillSupport;Il?.({LitElement:Ee});var Ll={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(Mo.litElementVersions??=[]).push("4.2.2");var vf=!1;var Uo={};k(Uo,{customElement:()=>kl,eventOptions:()=>Pl,property:()=>O,query:()=>Nl,queryAll:()=>Ml,queryAssignedElements:()=>Ul,queryAssignedNodes:()=>Bl,queryAsync:()=>Dl,standardProperty:()=>ns,state:()=>z});var kl=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var Tl={attribute:!0,type:String,converter:dt,reflect:!1,hasChanged:Bt},ns=(t=Tl,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(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(a,d,t,!0,l)},init(l){return l!==void 0&&this.C(a,void 0,t,l),l}}}if(n==="setter"){let{name:a}=r;return function(l){let d=this[a];e.call(this,l),this.requestUpdate(a,d,t,!0,l)}}throw Error("Unsupported decorator location: "+n)};function O(t){return(e,r)=>typeof r=="object"?ns(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 z(t){return O({...t,state:!0,attribute:!1})}function Pl(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var ae=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function Nl(t,e){return(r,n,i)=>{let s=a=>a.renderRoot?.querySelector(t)??null;if(e){let{get:a,set:l}=typeof n=="object"?r:i??(()=>{let d=Symbol();return{get(){return this[d]},set(p){this[d]=p}}})();return ae(r,n,{get(){let d=a.call(this);return d===void 0&&(d=s(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return ae(r,n,{get(){return s(this)}})}}var Fl;function Ml(t){return(e,r)=>ae(e,r,{get(){return(this.renderRoot??(Fl??=document.createDocumentFragment())).querySelectorAll(t)}})}function Dl(t){return(e,r)=>ae(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function Ul(t){return(e,r)=>{let{slot:n,selector:i}=t??{},s="slot"+(n?`[name=${n}]`:":not([name])");return ae(e,r,{get(){let a=this.renderRoot?.querySelector(s),l=a?.assignedElements(t)??[];return i===void 0?l:l.filter(d=>d.matches(i))}})}}function Bl(t){return(e,r)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return ae(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var Bo={};k(Bo,{repeat:()=>ft});var fe={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},X=t=>(...e)=>({_$litDirective$:t,values:e}),oe=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:$l}=No,is=t=>t;var as=t=>t.strings===void 0,ss=()=>document.createComment(""),pt=(t,e,r)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(r===void 0){let s=n.insertBefore(ss(),i),a=n.insertBefore(ss(),i);r=new $l(s,a,t,t.options)}else{let s=r._$AB.nextSibling,a=r._$AM,l=a!==t;if(l){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==a._$AU&&r._$AP(d)}if(s!==i||l){let d=r._$AA;for(;d!==s;){let p=is(d).nextSibling;is(n).insertBefore(d,i),d=p}}}return r},Le=(t,e,r=t)=>(t._$AI(e,r),t),Hl={},cs=(t,e=Hl)=>t._$AH=e,ls=t=>t._$AH,Ar=t=>{t._$AR(),t._$AA.remove()};var ds=(t,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},ft=X(class extends oe{constructor(t){if(super(t),t.type!==fe.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 l of t)i[a]=n?n(l,a):a,s[a]=r(l,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=ls(t),{values:s,keys:a}=this.dt(e,r,n);if(!Array.isArray(i))return this.ut=a,s;let l=this.ut??=[],d=[],p,h,f=0,m=i.length-1,b=0,v=s.length-1;for(;f<=m&&b<=v;)if(i[f]===null)f++;else if(i[m]===null)m--;else if(l[f]===a[b])d[b]=Le(i[f],s[b]),f++,b++;else if(l[m]===a[v])d[v]=Le(i[m],s[v]),m--,v--;else if(l[f]===a[v])d[v]=Le(i[f],s[v]),pt(t,d[v+1],i[f]),f++,v--;else if(l[m]===a[b])d[b]=Le(i[m],s[b]),pt(t,i[f],i[m]),m--,b++;else if(p===void 0&&(p=ds(a,b,v),h=ds(l,f,m)),p.has(l[f]))if(p.has(l[m])){let C=h.get(a[b]),S=C!==void 0?i[C]:null;if(S===null){let w=pt(t,i[f]);Le(w,s[b]),d[b]=w}else d[b]=Le(S,s[b]),pt(t,i[f],S),i[C]=null;b++}else Ar(i[m]),m--;else Ar(i[f]),f++;for(;b<=v;){let C=pt(t,d[v+1]);Le(C,s[b]),d[b++]=C}for(;f<=m;){let C=i[f++];C!==null&&Ar(C)}return this.ut=a,cs(t,d),$}});var $o={};k($o,{classMap:()=>zl});var zl=X(class extends oe{constructor(t){if(super(t),t.type!==fe.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 $}});var Ho={};k(Ho,{styleMap:()=>Gl});var us="important",Vl=" !"+us,Gl=X(class extends oe{constructor(t){if(super(t),t.type!==fe.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(Vl);n.includes("-")||s?r.setProperty(n,s?i.slice(0,-11):i,s?us:""):r[n]=i}}return $}});var zo={};k(zo,{UnsafeHTMLDirective:()=>ht,unsafeHTML:()=>Wl});var ht=class extends oe{constructor(e){if(super(e),this.it=N,e.type!==fe.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===N||e==null)return this._t=void 0,this.it=e;if(e===$)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:[]}}};ht.directiveName="unsafeHTML",ht.resultType=1;var Wl=X(ht);var Vo={};k(Vo,{splitBreadcrumbForMenu:()=>jl});function jl(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 Qo={};k(Qo,{CacheRegistry:()=>me,ClearCacheEvent:()=>jt});var Go={};k(Go,{CancelablePromise:()=>Rr,CanceledPromiseError:()=>ke,cancelable:()=>_r});var ke=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},Rr=class extends Promise{constructor(e){super((r,n)=>e(i=>{this.isCanceled?n(new ke("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new ke("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},_r=t=>new Rr((e,r)=>t.then(e).catch(r));var Yo={};k(Yo,{FtNotificationEvent:()=>Wt,PostResizeEvent:()=>Zo,PreResizeEvent:()=>qo,WithEventBus:()=>Ce,withEventBus:()=>Lr});var Ko={};k(Ko,{applyMixinOnce:()=>H,customElements:()=>je,dateReviver:()=>Ql,deepCopy:()=>ne,deepEqual:()=>K,delay:()=>Ir,eventPathContainsMatchingElement:()=>Xl,everyDeep:()=>Yl,flatDeep:()=>gs,forEachDeep:()=>ys,getComposedPathTo:()=>jo,groupBy:()=>od,hasChanged:()=>he,ignoreComposingEvents:()=>rd,last:()=>ed,minmax:()=>Te,parseDate:()=>xs,randomId:()=>td,someDeep:()=>bs,unslotText:()=>vs,waitFor:()=>ms,waitUntil:()=>Zl});var Wo={};k(Wo,{customElement:()=>Gt,dateProperty:()=>ql,isNumber:()=>hs,jsonProperty:()=>ce,jsonPropertyConverter:()=>ps,numberProperty:()=>fs,optionalNumberProperty:()=>Kl});var Gt=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)},ps=t=>({fromAttribute:e=>{if(e==null)return ne(t);try{return JSON.parse(e)}catch{return ne(t)}},toAttribute:e=>JSON.stringify(e)});function ce(t,e){return O({type:Object,converter:ps(t),hasChanged:he,...e??{}})}function Kl(t){return fs(t)}function fs(t){return O({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 hs(e)?Te(i,+e,s):void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function hs(t){return!isNaN(parseFloat(t))}function ql(t){return O({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 Ir=t=>new Promise(e=>setTimeout(e,t));async function Zl(t,e=10,r=2e4){await ms(async()=>await t()||void 0,e,r)}async function ms(t,e=10,r=2e4){let n=await t(),i=performance.now(),s=i;for(;n==null&&(!r||s-i<r);)await Ir(e),n=await t(),s=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function gs(t,e){return t.flatMap(r=>[r,...gs(e(r),e)])}function ys(t,e,r){let n=(i,s)=>{var a;for(let l=0;l<i.length;l++){let d=i[l];if(!(((a=r(d,l,i,s))!==null&&a!==void 0?a:!0)&&n(e(d),[...s,d])))return!1}return!0};n(t,[])}function bs(t,e,r){let n=!1;return ys(t,e,(i,s,a,l)=>(n=!!r(i,s,a,l),!n)),n}function Yl(t,e,r){return!bs(t,e,(n,i,s,a)=>!r(n,i,s,a))}function Ql(...t){return(e,r)=>t.includes(e)?xs(r):r}function xs(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 Jl(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(!K(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(!K(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(l=>a[l]!=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(!K(t[a],e[a]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function K(t,e){try{return Jl(t,e)}catch{return!1}}function he(t,e){return!K(t,e)}function Xl(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 Te(t,e,r){return Math.min(Math.max(t,e),r)}function ed(t){return t[t.length-1]}function vs(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>vs(e)).join(""):t?.textContent||""}function jo(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 ne(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function td(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}function H(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 rd(){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 je(t){for(let[e,r]of Object.entries(t))Gt(e)(r)}function od(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 Wt=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},qo=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Zo=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},Lr=H(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)}}}),Ce=class extends Lr(Object){};var jt=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},me=class extends Ce{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 jt(n)),n}clear(e,r=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),r&&this.dispatchEvent(new jt([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=_r(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 an={};k(an,{ClusteringHelper:()=>sn,formatHierarchicalValues:()=>nn});var on={};k(on,{accessBreadcrumb:()=>pd,accessResult:()=>rn,accessResultId:()=>dd,accessResultUrl:()=>ud,enrichReaderUrl:()=>tn});var en={};k(en,{SearchPlaceConverter:()=>we,SearchPlaceQueryParams:()=>I,isSearchPlaceQueryParams:()=>ca,serializeRequest:()=>cd});var nd=t=>typeof t=="object"&&t!=null;var id=t=>typeof t=="number",kr=t=>typeof t=="string",Xo=t=>nd(t)&&kr(t.endpoint)&&kr(t.method)&&kr(t.statusText)&&kr(t.body)&&id(t.status),Ss;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Ss||(Ss={}));var Es;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Es||(Es={}));var Cs;(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"})(Cs||(Cs={}));var ws;(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"})(ws||(ws={}));var Os;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Os||(Os={}));var As;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(As||(As={}));var Rs;(function(t){t.OFFICIAL="OFFICIAL",t.AI="AI"})(Rs||(Rs={}));var _s;(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"})(_s||(_s={}));var Is;(function(t){t.STANDARD="STANDARD",t.STRUCTURAL="STRUCTURAL"})(Is||(Is={}));var Ls;(function(t){t.METADATA_FILTER="METADATA_FILTER",t.ACCESS_RIGHTS_FILTER="ACCESS_RIGHTS_FILTER"})(Ls||(Ls={}));var ks;(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"})(ks||(ks={}));var Ts;(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"})(Ts||(Ts={}));var Ps;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Ps||(Ps={}));var Ns;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Ns||(Ns={}));var Fs;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Fs||(Fs={}));var Ms;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Ms||(Ms={}));var Ds;(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"})(Ds||(Ds={}));var Ke;(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})(Ke||(Ke={}));var Us;(function(t){t.ASC="ASC",t.DESC="DESC"})(Us||(Us={}));var Bs;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Bs||(Bs={}));var Tr;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Tr||(Tr={}));var js=t=>Object.keys(Tr).includes(t);var $s;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})($s||($s={}));var Hs;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Hs||(Hs={}));var zs;(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"})(zs||(zs={}));var mt;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(mt||(mt={}));var Ks=t=>Object.keys(mt).includes(t);var Vs;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.HTML_PACKAGE="HTML_PACKAGE",t.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(Vs||(Vs={}));var Jo;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Jo||(Jo={}));var Gs;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(Gs||(Gs={}));var U;(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"})(U||(U={}));var ie;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(ie||(ie={}));var Ws;(function(t){t.UNAUTHENTICATED="UNAUTHENTICATED",t.USER_INCOMPLETE="USER_INCOMPLETE",t.MFA_REQUIRED="MFA_REQUIRED",t.AUTHENTICATED="AUTHENTICATED"})(Ws||(Ws={}));var qs;(function(t){t.UNREACHABLE="UNREACHABLE",t.UNAUTHORIZED="UNAUTHORIZED",t.FORBIDDEN="FORBIDDEN",t.INCOMPATIBLE="INCOMPATIBLE",t.FAILED="FAILED",t.OK="OK"})(qs||(qs={}));var Zs;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Zs||(Zs={}));var Ys;(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"})(Ys||(Ys={}));var Qs;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SLOW="SLOW",t.OTHER="OTHER"})(Qs||(Qs={}));var Js;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Js||(Js={}));var Xs;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Xs||(Xs={}));var ea;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(ea||(ea={}));var ta;(function(t){t.IN_PROGRESS="IN_PROGRESS",t.ERROR="ERROR",t.DONE="DONE"})(ta||(ta={}));var ra;(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(ra||(ra={}));var oa;(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"})(oa||(oa={}));var na;(function(t){t.MAP="MAP",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(na||(na={}));var sd={[U.PERSONAL_BOOK_SHARE_USER]:[U.PERSONAL_BOOK_USER],[U.HTML_EXPORT_USER]:[U.PERSONAL_BOOK_USER],[U.PDF_EXPORT_USER]:[U.PERSONAL_BOOK_USER],[U.KHUB_ADMIN]:[U.CONTENT_PUBLISHER],[U.ADMIN]:[U.KHUB_ADMIN,U.USERS_ADMIN,U.PORTAL_ADMIN,U.BEHAVIOR_DATA_USER],[U.GENERATIVE_AI_EXPORT_USER]:[U.GENERATIVE_AI_USER]};function ia(t,e){return t===e||(sd[t]??[]).some(r=>ia(r,e))}function Pr(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=>ia(n,e))}function sa(t,...e){return t==null?!1:e.some(r=>Pr(t,r))}function ad(t){return`"${t}"`}function aa(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function cd(t,e){return new we(t).serialize(e)}var I;(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"})(I||(I={}));var ld=new Set(Object.values(I));function ca(t){return ld.has(t)}var we=class t{constructor(e,r=20,n=!1,i="en-US"){this.baseUrl=e,this.defaultPerPage=r,this.allLanguagesAllowed=n,this.defaultContentLocale=i,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,l,d,p,h,f;let m=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&m.append(I.LOCALE,e.contentLocale):m.append(I.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&m.append(I.QUERY,e.query);let b=t.serializeValueFilters(e.metadataFilters);b&&m.append(I.VALUE_FILTERS,b);let v=t.serializeNegativeValueFilters(e.metadataFilters);v&&m.append(I.NEGATIVE_VALUE_FILTERS,v);let C=(d=(i=e.metadataFilters)===null||i===void 0?void 0:i.filter(y=>y.dateFilter))!==null&&d!==void 0?d:[];if(C.length>0){let y=C.map(g=>{var x;return`${g.key}~${(x=g.dateFilter)===null||x===void 0?void 0:x.type.toLowerCase()}`}).join("*");m.append(I.DATE_FILTERS,y)}let S=(p=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(y=>y.rangeFilter))!==null&&p!==void 0?p:[];if(S.length>0){let y=S.map(g=>{var x,E;return`${g.key}~${(x=g.rangeFilter)===null||x===void 0?void 0:x.from}_${(E=g.rangeFilter)===null||E===void 0?void 0:E.to}`}).join("*");m.append(I.RANGE_FILTERS,y)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&m.append(I.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&m.append(I.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&m.append(I.SORT,e.sortId),!((a=e.paging)===null||a===void 0)&&a.perPage&&((h=(l=e.paging)===null||l===void 0?void 0:l.perPage)!==null&&h!==void 0?h:this.defaultPerPage)!=this.defaultPerPage&&m.append(I.PER_PAGE,String(e.paging.perPage)),e.keywordMatch!=null&&m.append(I.KEYWORD_MATCH,e.keywordMatch.toLowerCase());let w=(f=e.otherQueryParams)!==null&&f!==void 0?f:{};for(let y in w)m.append(y,w[y]);let L=new Array;return m.forEach((y,g)=>{L.push(this.encodeQueryString(g)+"="+this.encodeQueryString(y))}),encodeURI(L.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,l;try{e=decodeURI(e).replace(/%23/g,"#")}catch(w){console.warn("Could not decode search request query params, fallback on raw value",w)}let d=new URLSearchParams(e),p=d.get(I.LOCALE)==="all"?void 0:d.get(I.LOCALE),h=((n=d.get(I.VIRTUAL_FIELD))!==null&&n!==void 0?n:"EVERYWHERE").toUpperCase(),f=(r=d.get(I.SORT))===null||r===void 0?void 0:r.toLowerCase(),m=(i=d.get(I.SCOPE))!==null&&i!==void 0?i:"default",b=+((s=d.get(I.PER_PAGE))!==null&&s!==void 0?s:this.defaultPerPage),v=d.get(I.KEYWORD_MATCH),C=v?v.toUpperCase()===Ke.MANDATORY?Ke.MANDATORY:Ke.OPTIONAL:void 0,S={};for(let w of d.keys())ca(w)||(S[w]=d.get(w));return{contentLocale:p??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(a=d.get(I.QUERY))!==null&&a!==void 0?a:"",scope:(l=this.scopeMapping[m])!==null&&l!==void 0?l:"DEFAULT",virtualField:js(h)?h:"EVERYWHERE",sortId:f,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:Te(1,isNaN(b)?this.defaultPerPage:b,1e3)},keywordMatch:C,otherQueryParams:S}}parseCompatFilters(e){var r,n,i,s,a,l,d;let p=[];return e.has(I.FILTERS)&&(p=t.parseValueFilters((r=e.get(I.FILTERS))!==null&&r!==void 0?r:"")),(n=e.has(I.PERIOD))!==null&&n!==void 0&&n&&(p=[...p,...this.parseLegacyPeriodFilter(((i=e.get(I.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...p,...t.parseValueFilters((s=e.get(I.VALUE_FILTERS))!==null&&s!==void 0?s:""),...t.parseValueFilters((a=e.get(I.NEGATIVE_VALUE_FILTERS))!==null&&a!==void 0?a:"",!0),...this.parseDateFilters((l=e.get(I.DATE_FILTERS))!==null&&l!==void 0?l:""),...this.parseRangeFilters((d=e.get(I.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(aa).map(i=>this.unescapeFilterValue(i)),negative:r}}))}parseDateFilters(e){return e.length===0?[]:t.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:mt[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(Ks(e))return[{key:"ft:lastEdition",dateFilter:{type:mt[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=>ad(aa(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[I.LOCALE,I.FILTERS,I.VALUE_FILTERS,I.NEGATIVE_VALUE_FILTERS,I.DATE_FILTERS,I.RANGE_FILTERS].forEach(i=>{r.searchParams.delete(i)}),r.toString()}static updateLocaleParamInUrl(e,r){let n=new URL(e);return n.searchParams.delete(I.LOCALE),r!==void 0&&n.searchParams.append(I.LOCALE,r),n.toString()}};we.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]];function rn(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 dd(t){var e,r,n,i,s,a,l,d,p;return(p=(d=(l=(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&&l!==void 0?l:(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 ud(t,e){var r,n,i,s,a,l,d,p,h;return(h=(p=(d=(l=tn((r=t?.map)===null||r===void 0?void 0:r.readerUrl,e))!==null&&l!==void 0?l:tn((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 pd(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 tn(t,e){if(e&&t){let r=URL.parse(t),n=we.serializeValueFilters(e);if(n&&r?.searchParams.append(I.VALUE_FILTERS,n),r)return r.toString()}return t}function nn(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var sn=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=rn(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(l=>{s.push(nn(l)),a.push(nn(l,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(l=>n?n(l):l).join(", ");return{key:e.key,label:e.label,value:s,displayValue:a,displayTooltipValue:a}}}computeClustersItemsForMetadata(e,r,n="No value",i,s){var a,l;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:s}),p=(l=d?.label)!==null&&l!==void 0?l:(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,b)=>b.findIndex(v=>v.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",l=s?.reverseSort||!1;if(a=="ALPHABET"||a=="VERSION"){let d=e.localeCompare(r,i,{numeric:!0});return l?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,l=-1;for(let d of n){let p=this.countMatchingMetadata(d,s);if(p>l&&(l=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 cn={};k(cn,{Debouncer:()=>Oe});var Oe=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(l){i(l);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 pn={};k(pn,{designSystemVariables:()=>Qd});var un={};k(un,{DesignSystemFamily:()=>Kt,DesignSystemSize:()=>qt,FtCssVariableFactory:()=>o,badge:()=>Id,banner:()=>_d,button:()=>md,card:()=>yd,chart:()=>Wd,checkbox:()=>Sd,chip:()=>Od,chipChoice:()=>wd,chipGroup:()=>Ad,collapsible:()=>Vd,combobox:()=>Hd,dateRangePicker:()=>Yd,drawer:()=>Md,eventCard:()=>bd,floatingMenu:()=>$d,foundation:()=>c,link:()=>Rd,modal:()=>Nd,notice:()=>Kd,notification:()=>qd,pageDesigner:()=>jd,pageFooter:()=>Td,pageHeader:()=>kd,pageLayout:()=>Pd,popover:()=>zd,radio:()=>Ed,reorderableList:()=>Fd,resolveFamilyClass:()=>ln,resolveSizeClass:()=>dn,semantic:()=>u,setVariable:()=>gt,switch_:()=>Gd,table:()=>Cd,tabs:()=>Dd,textArea:()=>Bd,textInput:()=>Ud,titleBreadcrumb:()=>Ld,toc:()=>vd,toggle:()=>gd,tooltip:()=>Zd,treeList:()=>xd,typographies:()=>fd,typographyBody1Medium:()=>ha,typographyBody1Regular:()=>fa,typographyBody1Semibold:()=>ma,typographyBody2Medium:()=>ya,typographyBody2MediumUnderline:()=>ba,typographyBody2Regular:()=>ga,typographyBody2Semibold:()=>xa,typographyCaption1Medium:()=>va,typographyCaption1Semibold:()=>Sa,typographyCaption2Bold:()=>wa,typographyCaption2Medium:()=>Ea,typographyCaption2Semibold:()=>Ca,typographyDisplay:()=>la,typographyTitle1:()=>da,typographyTitle2:()=>ua,typographyTitle3:()=>pa,typographyVariants:()=>hd});var Pe=t=>typeof t=="string"?Mt(t):t,o=class{static create(e,r,n,i){let s=l=>Pe(l??i),a=D`var(${Pe(e)}, ${s(i)})`;return a.name=e,a.description=r,a.category=n,a.defaultValue=i,a.defaultCssValue=s,a.set=l=>gt(a,l??s(i)),a.get=l=>D`var(${Pe(e)}, ${s(l)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>i,a}static extend(e,r,n,i){let s=l=>n.get(l??i),a=D`var(${Pe(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=l=>gt(a,l??s(i)),a.get=l=>D`var(${Pe(e)}, ${s(l)})`,a.breadcrumb=()=>[n.name,...n.breadcrumb()],a.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),a}static external(e,r){let n=s=>e.defaultCssValue(s),i=D`var(${Pe(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=>D`var(${Pe(e.name)}, ${n(s)})`,i.breadcrumb=()=>e.breadcrumb(),i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function gt(t,e){return Pe(`${t.name}: ${e}`)}var c={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)")},la={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")},da={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")},ua={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")},pa={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")},fa={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")},ha={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")},ma={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")},ga={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")},ya={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")},ba={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")},xa={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")},va={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")},Sa={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")},Ea={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")},Ca={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")},wa={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")},fd={display:la,"title-1":da,"title-2":ua,"title-3":pa,"body-1-regular":fa,"body-1-medium":ha,"body-1-semibold":ma,"body-2-regular":ga,"body-2-medium":ya,"body-2-medium-underline":ba,"body-2-semibold":xa,"caption-1-medium":va,"caption-1-semibold":Sa,"caption-2-medium":Ea,"caption-2-semibold":Ca,"caption-2-bold":wa},hd=["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.",c.colorBrand0),backgroundErrorSubtle:o.extend("--ftds-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:o.extend("--ftds-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:o.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:o.extend("--ftds-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:o.extend("--ftds-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:o.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:o.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:o.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:o.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:o.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:o.extend("--ftds-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:o.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:o.extend("--ftds-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:o.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:o.extend("--ftds-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:o.extend("--ftds-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:o.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
4
- Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:o.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:o.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:o.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:o.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:o.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:o.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:o.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:o.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:o.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:o.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:o.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:o.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",c.colorGray50),borderGlobalSecondary:o.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",c.colorGray40),borderGlobalSubtle:o.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",c.colorGray30),borderInputPrimary:o.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:o.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var md={largeHeight:o.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ftds-button-large-icon-size","",c.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","",c.spacing3),mediumGap:o.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ftds-button-medium-icon-size","",c.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","",c.spacing2),smallGap:o.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ftds-button-small-icon-size","",c.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","",c.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","",c.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","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.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","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.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","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.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","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.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","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.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","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.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","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.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","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ftds-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.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","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.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","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.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","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.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","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.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 gd={iconSize:o.extend("--ftds-toggle-icon-size","",c.iconSize1),offHoverStateLayerOpacity:o.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ftds-toggle-off-disabled-component-opacity","",c.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","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ftds-toggle-on-disabled-component-opacity","",c.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","",c.spacing3),width:o.create("--ftds-toggle-width","","SIZE","36px"),height:o.create("--ftds-toggle-height","","SIZE","20px")};var yd={borderRadius:o.extend("--ftds-card-border-radius","",c.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","",c.spacing4),headerTitleVerticalPadding:o.extend("--ftds-card-header-title-vertical-padding","",c.spacing3),headerActionHorizontalPadding:o.extend("--ftds-card-header-action-horizontal-padding","",c.spacing2),headerActionVerticalPadding:o.extend("--ftds-card-header-action-vertical-padding","",c.spacing2),headerActionGap:o.extend("--ftds-card-header-action-gap","",c.spacing1),bodyHorizontalPadding:o.extend("--ftds-card-body-horizontal-padding","",c.spacing4),bodyVerticalPadding:o.extend("--ftds-card-body-vertical-padding","",c.spacing4),footerActionHorizontalPadding:o.extend("--ftds-card-footer-action-horizontal-padding","",c.spacing2),footerActionVerticalPadding:o.extend("--ftds-card-footer-action-vertical-padding","",c.spacing2),footerActionGap:o.extend("--ftds-card-footer-action-gap","",c.spacing1),footerContentHorizontalPadding:o.extend("--ftds-card-footer-content-horizontal-padding","",c.spacing4),footerContentVerticalPadding:o.extend("--ftds-card-footer-content-vertical-padding","",c.spacing3),sideBarHorizontalPadding:o.extend("--ftds-card-side-bar-horizontal-padding","",c.spacing1),sideBarVerticalPadding:o.extend("--ftds-card-side-bar-vertical-padding","",c.spacing1),sideBarGap:o.extend("--ftds-card-side-bar-gap","",c.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","",c.opacity4),nonSelectableFocusBorderColor:o.extend("--ftds-card-non-selectable-focus-border-color","",u.borderGlobalPrimary),nonSelectableFocusStateLayerOpacity:o.extend("--ftds-card-non-selectable-focus-state-layer-opacity","",c.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","",c.opacity4),selectableUnselectedFocusBorderColor:o.extend("--ftds-card-selectable-unselected-focus-border-color","",u.borderGlobalPrimary),selectableUnselectedFocusStateLayerOpacity:o.extend("--ftds-card-selectable-unselected-focus-state-layer-opacity","",c.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","",c.opacity4),selectableSelectedHoverStateLayerOpacity:o.extend("--ftds-card-selectable-selected-hover-state-layer-opacity","",c.opacity4),selectableSelectedFocusStateLayerOpacity:o.extend("--ftds-card-selectable-selected-focus-state-layer-opacity","",c.opacity4),internalBorderWidth:o.create("--ftds-card-internal-border-width","","SIZE","1px")};var bd={borderRadius:o.extend("--ftds-event-card-border-radius","",c.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","",c.spacing8),thumbnailIconSize:o.extend("--ftds-event-card-thumbnail-icon-size","",c.iconSize3),slotHorizontalPadding:o.extend("--ftds-event-card-slot-horizontal-padding","",c.spacing2),slotVerticalPadding:o.extend("--ftds-event-card-slot-vertical-padding","",c.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 xd={loadMoreIconSize:o.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:o.extend("--ftds-tree-list-load-more-padding-left","",c.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","",c.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","",c.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","",c.spacing1),nodeIconSize:o.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:o.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:o.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:o.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:o.extend("--ftds-tree-list-node-root-padding-left","",c.spacing6),nodeChildPaddingLeft:o.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:o.extend("--ftds-tree-list-node-leaf-padding-left","",c.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","",c.spacing6),headerSectionPaddingRight:o.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:o.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:o.extend("--ftds-tree-list-header-section-margin-bottom","",c.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","",c.spacing10),emptyStateContainerPaddingTop:o.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:o.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:o.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.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 vd={titleColor:o.extend("--ftds-toc-title-color","",u.contentGlobalSubtle),titleGap:o.extend("--ftds-toc-title-gap","",c.spacing2),top:o.create("--ftds-toc-top","","SIZE","160px"),itemGap:o.create("--ftds-toc-item-gap","","SIZE","0px"),itemHorizontalPadding:o.extend("--ftds-toc-item-horizontal-padding","",c.spacing4),itemVerticalPadding:o.extend("--ftds-toc-item-vertical-padding","",c.spacing3),itemBorderRadius:o.extend("--ftds-toc-item-border-radius","",c.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","3px"),itemRootDefaultLabelColor:o.extend("--ftds-toc-item-root-default-label-color","",u.contentGlobalSecondary),itemRootDefaultBorderColor:o.extend("--ftds-toc-item-root-default-border-color","",u.borderGlobalSubtle),itemRootHoverLabelColor:o.extend("--ftds-toc-item-root-hover-label-color","",u.contentGlobalSecondary),itemRootHoverBorderColor:o.extend("--ftds-toc-item-root-hover-border-color","",u.borderGlobalSubtle),itemRootHoverStateLayerColor:o.extend("--ftds-toc-item-root-hover-state-layer-color","",u.contentGlobalSecondary),itemRootHoverStateLayerOpacity:o.extend("--ftds-toc-item-root-hover-state-layer-opacity","",c.opacity8),itemRootFocusLabelColor:o.extend("--ftds-toc-item-root-focus-label-color","",u.contentGlobalSecondary),itemRootFocusStateLayerColor:o.extend("--ftds-toc-item-root-focus-state-layer-color","",u.contentGlobalSecondary),itemRootFocusStateLayerOpacity:o.extend("--ftds-toc-item-root-focus-state-layer-opacity","",c.opacity8),itemRootSelectedLabelColor:o.extend("--ftds-toc-item-root-selected-label-color","",u.contentActionPrimary),itemRootSelectedBorderColor:o.extend("--ftds-toc-item-root-selected-border-color","",u.borderActionPrimary),itemRootSelectedBorderWidth:o.create("--ftds-toc-item-root-selected-border-width","","SIZE","3px"),itemRootSelectedStateLayerColor:o.extend("--ftds-toc-item-root-selected-state-layer-color","",u.contentActionPrimary),itemRootSelectedStateLayerOpacity:o.extend("--ftds-toc-item-root-selected-state-layer-opacity","",c.opacity8),itemRootChildrenActiveLabelColor:o.extend("--ftds-toc-item-root-children-active-label-color","",u.contentActionPrimary),itemRootChildrenActiveBorderColor:o.extend("--ftds-toc-item-root-children-active-border-color","",u.borderGlobalSubtle),itemChildDefaultLabelColor:o.extend("--ftds-toc-item-child-default-label-color","",u.contentGlobalSubtle),itemChildDefaultBorderColor:o.extend("--ftds-toc-item-child-default-border-color","",u.borderGlobalSubtle),itemChildHoverLabelColor:o.extend("--ftds-toc-item-child-hover-label-color","",u.contentGlobalSubtle),itemChildHoverBorderColor:o.extend("--ftds-toc-item-child-hover-border-color","",u.borderGlobalSubtle),itemChildHoverStateLayerColor:o.extend("--ftds-toc-item-child-hover-state-layer-color","",u.contentGlobalSecondary),itemChildHoverStateLayerOpacity:o.extend("--ftds-toc-item-child-hover-state-layer-opacity","",c.opacity8),itemChildFocusLabelColor:o.extend("--ftds-toc-item-child-focus-label-color","",u.contentGlobalSubtle),itemChildFocusStateLayerColor:o.extend("--ftds-toc-item-child-focus-state-layer-color","",u.contentGlobalSecondary),itemChildFocusStateLayerOpacity:o.extend("--ftds-toc-item-child-focus-state-layer-opacity","",c.opacity8),itemChildSelectedLabelColor:o.extend("--ftds-toc-item-child-selected-label-color","",u.contentActionPrimary),itemChildSelectedBorderColor:o.extend("--ftds-toc-item-child-selected-border-color","",u.borderActionPrimary),itemChildSelectedBorderWidth:o.create("--ftds-toc-item-child-selected-border-width","","SIZE","3px"),itemChildSelectedStateLayerColor:o.extend("--ftds-toc-item-child-selected-state-layer-color","",u.contentActionPrimary),itemChildSelectedStateLayerOpacity:o.extend("--ftds-toc-item-child-selected-state-layer-opacity","",c.opacity8)};var Sd={iconSize:o.extend("--ftds-checkbox-icon-size","",c.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","",c.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","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.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","",c.spacing3),helperPaddingTop:o.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:o.extend("--ftds-checkbox-helper-icon-size","",c.iconSize2),helperHorizontalGap:o.extend("--ftds-checkbox-helper-horizontal-gap","",c.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","",c.spacing3)};var Ed={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","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ftds-radio-selected-disabled-component-opacity","",c.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","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ftds-radio-unselected-disabled-component-opacity","",c.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","",c.spacing3),horizontalGap:o.extend("--ftds-radio-horizontal-gap","",c.spacing3)};var Cd={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","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ftds-table-data-row-selectable-selected-color","",u.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ftds-table-data-row-clickable-hover-background-color","",c.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","",c.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:o.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:o.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:o.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:o.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:o.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:o.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)};var wd={neutralOffHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.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","",c.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","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.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","",c.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","",c.spacing3),largeGap:o.extend("--ftds-chip-choice-large-gap","",c.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","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ftds-chip-choice-medium-gap","",c.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","",c.iconSize2)};var Od={largeMinHeight:o.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ftds-chip-large-gap","",c.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","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ftds-chip-medium-gap","",c.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","",c.iconSize2),smallMinHeight:o.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ftds-chip-small-gap","",c.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","",c.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 Ad={horizontalGap:o.extend("--ftds-chip-group-horizontal-gap","",c.spacing2),verticalGap:o.extend("--ftds-chip-group-vertical-gap","",c.spacing2),countChipDefaultBackgroundColor:o.extend("--ftds-chip-group-count-chip-default-background-color","",c.colorBrand10),countChipDefaultBorderColor:o.extend("--ftds-chip-group-count-chip-default-border-color","",c.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","",c.colorBrand20),countChipHoverBorderColor:o.extend("--ftds-chip-group-count-chip-hover-border-color","",c.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","",c.colorBrand20),countChipFocusedBorderColor:o.extend("--ftds-chip-group-count-chip-focused-border-color","",c.colorBrand70),countChipFocusedContentColor:o.extend("--ftds-chip-group-count-chip-focused-content-color","",u.contentActionPrimary)};var Rd={brandHoverOpacity:o.extend("--ftds-link-brand-hover-opacity","",c.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","",c.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","",c.colorBrand100),horizontalGap:o.extend("--ftds-link-horizontal-gap","",c.spacing1)};var _d={iconSize:o.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ftds-banner-horizontal-middle-gap","",c.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 Id={horizontalPadding:o.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ftds-badge-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ftds-badge-background-color","",u.contentActionPrimary)};var Ld={horizontalGap:o.extend("--ftds-title-breadcrumb-horizontal-gap","",c.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 kd={parentHorizontalPadding:o.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ftds-page-header-parent-help-left-margin","",c.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","",c.spacing4),parentVerticalGap:o.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ftds-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:o.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var Td={horizontalPadding:o.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ftds-page-footer-background-color","",c.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","",c.spacing4)};var Pd={contentHorizontalPadding:o.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)};var Nd={smallContainerTargetWidth:o.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ftds-modal-small-container-margin","",c.spacing6),headerIconSize:o.extend("--ftds-modal-header-icon-size","",c.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","",c.spacing1),headerRightPadding:o.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ftds-modal-header-gap","",c.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","",c.spacing6),largeContainerTargetWidth:o.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ftds-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ftds-modal-body-vertical-gap","",c.spacing6),borderRadius:o.extend("--ftds-modal-border-radius","",c.borderRadiusM)};var Fd={grabberIconSize:o.extend("--ftds-reorderable-list-grabber-icon-size","",c.iconSize2),verticalPadding:o.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:o.extend("--ftds-reorderable-list-gap","",c.spacing4),itemGap:o.extend("--ftds-reorderable-list-item-gap","",c.spacing2),borderRadius:o.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.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","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.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","",c.spacing6),reorderableItemBackgroundColor:o.extend("--ftds-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.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","",c.opacity48),boxShadow:o.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:o.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:o.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:o.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:o.extend("--ftds-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:o.extend("--ftds-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)};var Md={overlayOpacity:o.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ftds-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ftds-drawer-body-background-color","",c.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","",c.spacing2),headerBorderWidth:o.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ftds-drawer-header-gap","",c.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","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ftds-drawer-buttons-bar-gap","",c.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","",c.colorGray700)};var Dd={offBorderBottomWidth:o.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ftds-tabs-off-disabled-component-opacity","",c.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","",c.borderRadiusS),topRightBorderRadius:o.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-tabs-on-active-state-layer-opacity","",c.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","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ftds-tabs-alert-right-padding","",c.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","",c.iconSize3),alertIconIconSize:o.extend("--ftds-tabs-alert-icon-icon-size","",c.iconSize2)};var Ud={largeFieldHorizontalPadding:o.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ftds-text-input-medium-field-horizontal-gap","",c.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","",c.iconSize3),helperHorizontalPadding:o.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ftds-text-input-background-color","",c.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","",c.opacity40)};var Bd={backgroundColor:o.extend("--ftds-text-area-background-color","",c.colorWhite),contentValueColor:o.extend("--ftds-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:o.extend("--ftds-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:o.extend("--ftds-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:o.extend("--ftds-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:o.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:o.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:o.extend("--ftds-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:o.extend("--ftds-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:o.extend("--ftds-text-area-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderColor:o.extend("--ftds-text-area-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:o.extend("--ftds-text-area-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:o.extend("--ftds-text-area-warning-helper-icon-color","",u.contentWarningIconOnly),focusFocusRingColor:o.extend("--ftds-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:o.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:o.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:o.extend("--ftds-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:o.extend("--ftds-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:o.extend("--ftds-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:o.extend("--ftds-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:o.create("--ftds-text-area-field-min-height","","SIZE","72px"),fieldMaxHeight:o.create("--ftds-text-area-field-max-height","","SIZE","300px"),helperHorizontalPadding:o.extend("--ftds-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:o.extend("--ftds-text-area-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ftds-text-area-border-radius","",c.borderRadiusS)};var $d={height:o.create("--ftds-floating-menu-height","","SIZE","52px"),horizontalPadding:o.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ftds-floating-menu-vertical-padding","",c.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","",c.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","",c.opacity24),hoverStateLayerOpacity:o.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ftds-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:o.extend("--ftds-floating-menu-shadow","",c.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","",c.opacity8),multiselectCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-hover-state-layer-opacity","",c.opacity16),multiselectCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-focus-state-layer-opacity","",c.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","",c.opacity8),multiselectIndeterminatedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-hover-state-layer-opacity","",c.opacity16),multiselectIndeterminatedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-focus-state-layer-opacity","",c.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","",c.opacity0),multiselectUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-hover-state-layer-opacity","",c.opacity8),multiselectUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-focus-state-layer-opacity","",c.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","",c.opacity0),selectAllCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-hover-state-layer-opacity","",c.opacity16),selectAllCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-focus-state-layer-opacity","",c.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","",c.opacity0),selectAllIndeterminatedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-hover-state-layer-opacity","",c.opacity8),selectAllIndeterminatedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-focus-state-layer-opacity","",c.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","",c.opacity0),selectAllUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-hover-state-layer-opacity","",c.opacity8),selectAllUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-focus-state-layer-opacity","",c.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","",c.opacity0),defaultUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-hover-state-layer-opacity","",c.opacity8),defaultUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-focus-state-layer-opacity","",c.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","",c.opacity8),defaultCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-hover-state-layer-opacity","",c.opacity16),defaultCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-focus-state-layer-opacity","",c.opacity24)};var Hd={menuVerticalGap:o.extend("--ftds-combobox-menu-vertical-gap","",c.spacing2),menuNewValuePaddingTop:o.extend("--ftds-combobox-menu-new-value-padding-top","",c.spacing4),menuNewValuePaddingBottom:o.extend("--ftds-combobox-menu-new-value-padding-bottom","",c.spacing1),menuNewValueHorizontalPadding:o.extend("--ftds-combobox-menu-new-value-horizontal-padding","",c.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","",c.opacity4),menuNewValueErrorActiveStateLayerOpacity:o.extend("--ftds-combobox-menu-new-value-error-active-state-layer-opacity","",c.opacity6),menuMessagePaddingTop:o.extend("--ftds-combobox-menu-message-padding-top","",c.spacing2),menuMessagePaddingBottom:o.extend("--ftds-combobox-menu-message-padding-bottom","",c.spacing2),menuMessageHorizontalPadding:o.extend("--ftds-combobox-menu-message-horizontal-padding","",c.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 zd={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","",c.spacing2),borderRadius:o.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:o.extend("--ftds-popover-shadow","",c.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","",c.spacing2),multiSectionVerticalGap:o.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6),defaultHorizontalPadding:o.extend("--ftds-popover-default-horizontal-padding","",c.spacing6),defaultVerticalPadding:o.extend("--ftds-popover-default-vertical-padding","",c.spacing6),denseHorizontalPadding:o.extend("--ftds-popover-dense-horizontal-padding","",c.spacing3),denseVerticalPadding:o.extend("--ftds-popover-dense-vertical-padding","",c.spacing3)};var Vd={hoverStateLayerOpacity:o.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ftds-collapsible-focus-state-layer-opacity","",c.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","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ftds-collapsible-vertical-padding","",c.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","",c.iconSize3)};var Gd={groupHorizontalPadding:o.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ftds-switch-group-gap","",c.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","",c.spacing2),labelVerticalPadding:o.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ftds-switch-off-disabled-component-opacity","",c.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","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ftds-switch-on-disabled-component-opacity","",c.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","",c.spacing1),iconVerticalPadding:o.extend("--ftds-switch-icon-vertical-padding","",c.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","",c.borderRadiusS)};var Wd={color1Light:o.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:o.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:o.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:o.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ftds-chart-monochrome-60","",c.colorBrand200)};var jd={color1IconColor:o.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:o.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:o.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:o.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:o.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:o.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:o.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:o.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:o.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:o.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:o.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:o.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:o.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:o.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:o.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:o.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var Kd={borderWidth:o.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ftds-notice-gap","",c.spacing2),iconSize:o.extend("--ftds-notice-icon-size","",c.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","",c.spacing1),denseIconSize:o.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:o.create("--ftds-notice-dense-border-width","","SIZE","0")};var qd={iconSize:o.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ftds-notification-vertical-padding","",c.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","",c.borderRadiusPill),borderWidth:o.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ftds-notification-trailing-gap","",c.spacing8)};var Zd={horizontalPadding:o.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-tooltip-border-radius","",c.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","",c.opacity80),shadow:o.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ftds-tooltip-gap","",c.spacing05)};var Yd={menuHorizontalPadding:o.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:o.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:o.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:o.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)};var Kt;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Kt||(Kt={}));var qt;(function(t){t.large="large",t.medium="medium",t.small="small"})(qt||(qt={}));function ln(t){return`ftds--family-${t}`}function dn(t){return`ftds--size-${t}`}var Qd={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 fn={};k(fn,{DynamicImporter:()=>Nr,dynamicImporter:()=>Jd});var Nr=class{async import(e){if(e)return import(e)}},Jd=new Nr;var On={};k(On,{computeOffsetAutoPosition:()=>Cu,computeOffsetPosition:()=>Eu});var Aa=["top","right","bottom","left"],Oa=["start","end"],mn=Aa.reduce((t,e)=>t.concat(e,e+"-"+Oa[0],e+"-"+Oa[1]),[]),qe=Math.min,ge=Math.max,Zt=Math.round;var ye=t=>({x:t,y:t}),Xd={left:"right",right:"left",bottom:"top",top:"bottom"};function Ra(t,e,r){return ge(t,qe(e,r))}function yt(t,e){return typeof t=="function"?t(e):t}function Ze(t){return t.split("-")[0]}function be(t){return t.split("-")[1]}function gn(t){return t==="x"?"y":"x"}function yn(t){return t==="y"?"height":"width"}function bt(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function bn(t){return gn(bt(t))}function _a(t,e,r){r===void 0&&(r=!1);let n=be(t),i=bn(t),s=yn(i),a=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(a=hn(a)),[a,hn(a)]}function Ia(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}function hn(t){let e=Ze(t);return Xd[e]+t.slice(e.length)}function eu(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 La(t){return typeof t!="number"?eu(t):{top:t,right:t,bottom:t,left:t}}function Ye(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 ka(t,e,r){let{reference:n,floating:i}=t,s=bt(e),a=bn(e),l=yn(a),d=Ze(e),p=s==="y",h=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,m=n[l]/2-i[l]/2,b;switch(d){case"top":b={x:h,y:n.y-i.height};break;case"bottom":b={x:h,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:f};break;case"left":b={x:n.x-i.width,y:f};break;default:b={x:n.x,y:n.y}}let v=be(e);return v&&(b[a]+=m*(v==="end"?1:-1)*(r&&p?-1:1)),b}async function Ta(t,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:s,rects:a,elements:l,strategy:d}=t,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:m=!1,padding:b=0}=yt(e,t),v=La(b),S=l[m?f==="floating"?"reference":"floating":f],w=Ye(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement(S)))==null||r?S:S.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:p,rootBoundary:h,strategy:d})),L=f==="floating"?{x:n,y:i,width:a.floating.width,height:a.floating.height}:a.reference,y=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),g=await(s.isElement==null?void 0:s.isElement(y))&&await(s.getScale==null?void 0:s.getScale(y))||{x:1,y:1},x=Ye(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:L,offsetParent:y,strategy:d}):L);return{top:(w.top-x.top+v.top)/g.y,bottom:(x.bottom-w.bottom+v.bottom)/g.y,left:(w.left-x.left+v.left)/g.x,right:(x.right-w.right+v.right)/g.x}}var tu=50,Pa=async(t,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:a}=r,l=a.detectOverflow?a:{...a,detectOverflow:Ta},d=await(a.isRTL==null?void 0:a.isRTL(e)),p=await a.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:f}=ka(p,n,d),m=n,b=0,v={};for(let C=0;C<s.length;C++){let S=s[C];if(!S)continue;let{name:w,fn:L}=S,{x:y,y:g,data:x,reset:E}=await L({x:h,y:f,initialPlacement:n,placement:m,strategy:i,middlewareData:v,rects:p,platform:l,elements:{reference:t,floating:e}});h=y??h,f=g??f,v[w]={...v[w],...x},E&&b<tu&&(b++,typeof E=="object"&&(E.placement&&(m=E.placement),E.rects&&(p=E.rects===!0?await a.getElementRects({reference:t,floating:e,strategy:i}):E.rects),{x:h,y:f}=ka(p,m,d)),C=-1)}return{x:h,y:f,placement:m,strategy:i,middlewareData:v}};function ru(t,e,r){return(t?[...r.filter(i=>be(i)===t),...r.filter(i=>be(i)!==t)]:r.filter(i=>Ze(i)===i)).filter(i=>t?be(i)===t||(e?Ia(i)!==i:!1):!0)}var Na=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,i;let{rects:s,middlewareData:a,placement:l,platform:d,elements:p}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:m=mn,autoAlignment:b=!0,...v}=yt(t,e),C=f!==void 0||m===mn?ru(f||null,b,m):m,S=((r=a.autoPlacement)==null?void 0:r.index)||0,w=C[S];if(w==null)return{};if(l!==w)return{reset:{placement:C[0]}};let L=await d.detectOverflow(e,v),y=_a(w,s,await(d.isRTL==null?void 0:d.isRTL(p.floating))),g=[L[Ze(w)],L[y[0]],L[y[1]]],x=[...((n=a.autoPlacement)==null?void 0:n.overflows)||[],{placement:w,overflows:g}],E=C[S+1];if(E)return{data:{index:S+1,overflows:x},reset:{placement:E}};let _=x.map(A=>{let T=be(A.placement);return[A.placement,T&&h?A.overflows.slice(0,2).reduce((B,pe)=>B+pe,0):A.overflows[0],A.overflows]}).sort((A,T)=>A[1]-T[1]),M=((i=_.filter(A=>A[2].slice(0,be(A[0])?2:3).every(T=>T<=0))[0])==null?void 0:i[0])||_[0][0];return M!==l?{data:{index:S+1,overflows:x},reset:{placement:M}}:{}}}};var ou=new Set(["left","top"]);async function nu(t,e){let{placement:r,platform:n,elements:i}=t,s=await(n.isRTL==null?void 0:n.isRTL(i.floating)),a=Ze(r),l=be(r),d=bt(r)==="y",p=ou.has(a)?-1:1,h=s&&d?-1:1,f=yt(e,t),{mainAxis:m,crossAxis:b,alignmentAxis:v}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof v=="number"&&(b=l==="end"?v*-1:v),d?{x:b*h,y:m*p}:{x:m*p,y:b*h}}var Fa=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:l}=e,d=await nu(e,t);return a===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:s+d.y,data:{...d,placement:a}}}}},Ma=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:l=!1,limiter:d={fn:L=>{let{x:y,y:g}=L;return{x:y,y:g}}},...p}=yt(t,e),h={x:r,y:n},f=await s.detectOverflow(e,p),m=bt(i),b=gn(m),v=h[b],C=h[m],S=(L,y)=>Ra(y+f[L==="y"?"top":"left"],y,y-f[L==="y"?"bottom":"right"]);a&&(v=S(b,v)),l&&(C=S(m,C));let w=d.fn({...e,[b]:v,[m]:C});return{...w,data:{x:w.x-r,y:w.y-n,enabled:{[b]:a,[m]:l}}}}}};var Da=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=()=>{},...l}=yt(t,e),d=await i.detectOverflow(e,l),p=Ze(r),h=be(r),f=bt(r)==="y",{width:m,height:b}=n.floating,v,C;p==="top"||p==="bottom"?(v=p,C=h===(await(i.isRTL==null?void 0:i.isRTL(s.floating))?"start":"end")?"left":"right"):(C=p,v=h==="end"?"top":"bottom");let S=b-d.top-d.bottom,w=m-d.left-d.right,L=qe(b-d[v],S),y=qe(m-d[C],w),g=e.middlewareData.shift,x=!g,E=L,_=y;g!=null&&g.enabled.x&&(_=w),g!=null&&g.enabled.y&&(E=S),x&&!h&&(f?_=m-2*ge(d.left,d.right):E=b-2*ge(d.top,d.bottom)),await a({...e,availableWidth:_,availableHeight:E});let P=await i.getDimensions(s.floating);return m!==P.width||b!==P.height?{reset:{rects:!0}}:{}}}};function Mr(){return typeof window<"u"}function Je(t){return Ba(t)?(t.nodeName||"").toLowerCase():"#document"}function Q(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Ae(t){var e;return(e=(Ba(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ba(t){return Mr()?t instanceof Node||t instanceof Q(t).Node:!1}function le(t){return Mr()?t instanceof Element||t instanceof Q(t).Element:!1}function Re(t){return Mr()?t instanceof HTMLElement||t instanceof Q(t).HTMLElement:!1}function Ua(t){return!Mr()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Q(t).ShadowRoot}function Yt(t){let{overflow:e,overflowX:r,overflowY:n,display:i}=de(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&i!=="inline"&&i!=="contents"}function $a(t){return/^(table|td|th)$/.test(Je(t))}function Qt(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}var iu=/transform|translate|scale|rotate|perspective|filter/,su=/paint|layout|strict|content/,Qe=t=>!!t&&t!=="none",xn;function xt(t){let e=le(t)?de(t):t;return Qe(e.transform)||Qe(e.translate)||Qe(e.scale)||Qe(e.rotate)||Qe(e.perspective)||!Dr()&&(Qe(e.backdropFilter)||Qe(e.filter))||iu.test(e.willChange||"")||su.test(e.contain||"")}function Ha(t){let e=Ne(t);for(;Re(e)&&!vt(e);){if(xt(e))return e;if(Qt(e))return null;e=Ne(e)}return null}function Dr(){return xn==null&&(xn=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),xn}function vt(t){return/^(html|body|#document)$/.test(Je(t))}function de(t){return Q(t).getComputedStyle(t)}function Jt(t){return le(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Ne(t){if(Je(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Ua(t)&&t.host||Ae(t);return Ua(e)?e.host:e}function za(t){let e=Ne(t);return vt(e)?(t.ownerDocument||t).body:Re(e)&&Yt(e)?e:za(e)}function Fr(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=za(t),s=i===((n=t.ownerDocument)==null?void 0:n.body),a=Q(i);if(s){let l=Ur(a);return e.concat(a,a.visualViewport||[],Yt(i)?i:[],l&&r?Fr(l):[])}else return e.concat(i,Fr(i,[],r))}function Ur(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Wa(t){let e=de(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=Re(t),s=i?t.offsetWidth:r,a=i?t.offsetHeight:n,l=Zt(r)!==s||Zt(n)!==a;return l&&(r=s,n=a),{width:r,height:n,$:l}}function ja(t){return le(t)?t:t.contextElement}function St(t){let e=ja(t);if(!Re(e))return ye(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:s}=Wa(e),a=(s?Zt(r.width):r.width)/n,l=(s?Zt(r.height):r.height)/i;return(!a||!Number.isFinite(a))&&(a=1),(!l||!Number.isFinite(l))&&(l=1),{x:a,y:l}}var au=ye(0);function Ka(t){let e=Q(t);return!Dr()||!e.visualViewport?au:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function cu(t,e,r){return e===void 0&&(e=!1),!!r&&e&&r===Q(t)}function Xt(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),s=ja(t),a=ye(1);e&&(n?le(n)&&(a=St(n)):a=St(t));let l=cu(s,r,n)?Ka(s):ye(0),d=(i.left+l.x)/a.x,p=(i.top+l.y)/a.y,h=i.width/a.x,f=i.height/a.y;if(s&&n){let m=Q(s),b=le(n)?Q(n):n,v=m,C=Ur(v);for(;C&&b!==v;){let S=St(C),w=C.getBoundingClientRect(),L=de(C),y=w.left+(C.clientLeft+parseFloat(L.paddingLeft))*S.x,g=w.top+(C.clientTop+parseFloat(L.paddingTop))*S.y;d*=S.x,p*=S.y,h*=S.x,f*=S.y,d+=y,p+=g,v=Q(C),C=Ur(v)}}return Ye({width:h,height:f,x:d,y:p})}function Br(t,e){let r=Jt(t).scrollLeft;return e?e.left+r:Xt(Ae(t)).left+r}function qa(t,e){let r=t.getBoundingClientRect(),n=r.left+e.scrollLeft-Br(t,r),i=r.top+e.scrollTop;return{x:n,y:i}}function lu(t){let{elements:e,rect:r,offsetParent:n,strategy:i}=t,s=i==="fixed",a=Ae(n),l=e?Qt(e.floating):!1;if(n===a||l&&s)return r;let d={scrollLeft:0,scrollTop:0},p=ye(1),h=ye(0),f=Re(n);if((f||!s)&&((Je(n)!=="body"||Yt(a))&&(d=Jt(n)),f)){let b=Xt(n);p=St(n),h.x=b.x+n.clientLeft,h.y=b.y+n.clientTop}let m=a&&!f&&!s?qa(a,d):ye(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 du(t){return t.getClientRects?Array.from(t.getClientRects()):[]}function uu(t){let e=Jt(t),r=t.ownerDocument.body,n=ge(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=ge(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),s=-e.scrollLeft+Br(t),a=-e.scrollTop;return de(r).direction==="rtl"&&(s+=ge(t.clientWidth,r.clientWidth)-n),{width:n,height:i,x:s,y:a}}var pu=25;function fu(t,e,r){r===void 0&&(r="viewport");let n=r==="layoutViewport",i=Q(t),s=Ae(t),a=i.visualViewport,l=s.clientWidth,d=s.clientHeight,p=0,h=0;if(a){let m=!Dr()||e==="fixed";n?m||(p=-a.offsetLeft,h=-a.offsetTop):(l=a.width,d=a.height,m&&(p=a.offsetLeft,h=a.offsetTop))}if(Br(s)<=0){let m=s.ownerDocument,b=m.body,v=getComputedStyle(b),C=m.compatMode==="CSS1Compat"&&parseFloat(v.marginLeft)+parseFloat(v.marginRight)||0,S=Math.abs(s.clientWidth-b.clientWidth-C),w=getComputedStyle(s).scrollbarGutter==="stable both-edges"?S/2:S;w<=pu&&(l-=w)}return{width:l,height:d,x:p,y:h}}function hu(t,e){let r=Xt(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,s=St(t),a=t.clientWidth*s.x,l=t.clientHeight*s.y,d=i*s.x,p=n*s.y;return{width:a,height:l,x:d,y:p}}function Va(t,e,r){let n;if(e==="viewport"||e==="layoutViewport")n=fu(t,r,e);else if(e==="document")n=uu(Ae(t));else if(le(e))n=hu(e,r);else{let i=Ka(t);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return Ye(n)}function mu(t,e){let r=e.get(t);if(r)return r;let n=Fr(t,[],!1).filter(l=>le(l)&&Je(l)!=="body"),i=null,s=de(t).position==="fixed",a=s?Ne(t):t;for(;le(a)&&!vt(a);){let l=de(a),d=xt(a),p=i?i.position:s?"fixed":"";!d&&(p==="fixed"||p==="absolute"&&l.position==="static")?n=n.filter(f=>f!==a):i=l,a=Ne(a)}return e.set(t,n),n}function gu(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,a=[...r==="clippingAncestors"?Qt(e)?[]:mu(e,this._c):[].concat(r),n],l=Va(e,a[0],i),d=l.top,p=l.right,h=l.bottom,f=l.left;for(let m=1;m<a.length;m++){let b=Va(e,a[m],i);d=ge(b.top,d),p=qe(b.right,p),h=qe(b.bottom,h),f=ge(b.left,f)}return{width:p-f,height:h-d,x:f,y:d}}function yu(t){let{width:e,height:r}=Wa(t);return{width:e,height:r}}function bu(t,e,r){let n=Re(e),i=Ae(e),s=r==="fixed",a=Xt(t,!0,s,e),l={scrollLeft:0,scrollTop:0},d=ye(0);if((n||!s)&&((Je(e)!=="body"||Yt(i))&&(l=Jt(e)),n)){let m=Xt(e,!0,s,e);d.x=m.x+e.clientLeft,d.y=m.y+e.clientTop}!n&&i&&(d.x=Br(i));let p=i&&!n&&!s?qa(i,l):ye(0),h=a.left+l.scrollLeft-d.x-p.x,f=a.top+l.scrollTop-d.y-p.y;return{x:h,y:f,width:a.width,height:a.height}}function vn(t){return de(t).position==="static"}function Ga(t,e){if(!Re(t)||de(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return Ae(t)===r&&(r=r.ownerDocument.body),r}function Za(t,e){let r=Q(t);if(Qt(t))return r;if(!Re(t)){let i=Ne(t);for(;i&&!vt(i);){if(le(i)&&!vn(i))return i;i=Ne(i)}return r}let n=Ga(t,e);for(;n&&$a(n)&&vn(n);)n=Ga(n,e);return n&&vt(n)&&vn(n)&&!xt(n)?r:n||Ha(t)||r}var xu=async function(t){let e=this.getOffsetParent||Za,r=this.getDimensions,n=await r(t.floating);return{reference:bu(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function vu(t){return de(t).direction==="rtl"}var Et={convertOffsetParentRelativeRectToViewportRelativeRect:lu,getDocumentElement:Ae,getClippingRect:gu,getOffsetParent:Za,getElementRects:xu,getClientRects:du,getDimensions:yu,getScale:St,isElement:le,isRTL:vu};var Ya=Fa,Sn=Na,Qa=Ma;var Ja=Da;var En=(t,e,r)=>{let n=new Map,i=r??{},s={...Et,...i.platform,_c:n};return Pa(t,e,{...i,platform:s})};function wn(t){return Su(t)}function Cn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Su(t){for(let e=t;e;e=Cn(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Cn(t);e;e=Cn(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||xt(r)||e.tagName==="BODY"))return e}return null}async function Eu(t,e,r){let n;return typeof r=="object"?n=r:n={placement:r},En(t,e,{strategy:n.strategy,platform:{...Et,getOffsetParent:i=>Et.getOffsetParent(i,wn)},middleware:[Qa({crossAxis:!0}),Sn({allowedPlacements:[n.placement]})]})}async function Cu(t,e,r,n,i,s,a){let l,d;return typeof r=="object"?(l=r.placement,n=r.allowedPlacements,i=r.strategy,s=r.maxHeightCssVariable,d=r.maxWidthCssVariable,a=r.offsetValue):l=r,En(t,e,{placement:l,strategy:i,platform:{...Et,getOffsetParent:p=>Et.getOffsetParent(p,wn)},middleware:[Ya(a??4),Sn({allowedPlacements:n}),Ja({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 An={};k(An,{isSlotEmptyOrWithoutContent:()=>wu});var wu=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 Tn={};k(Tn,{FtdsBase:()=>kn,toFtdsBase:()=>ic});var Ln={};k(Ln,{ExportpartsUpdatedEvent:()=>Xe,FtLitElement:()=>q});var Rn={};k(Rn,{ScopedRegistryLitElement:()=>er});var er=class extends Ee{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 Dt(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){Gt(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 In={};k(In,{shadowQuerySelector:()=>_n,shadowQuerySelectorAll:()=>Ou});function _n(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 Ou(t,e,...r){let n=[...t.querySelectorAll(e)];for(let i of r)n=n.flatMap(s=>{var a,l;return[...(l=(a=s.shadowRoot)===null||a===void 0?void 0:a.querySelectorAll(i))!==null&&l!==void 0?l:[]]});return n}var Ct=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 l=t.length-1;l>=0;l--)(a=t[l])&&(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},rc,Xa=Symbol("constructorPrototype"),ec=Symbol("constructorName"),oc=Symbol("exportpartsDebouncer"),tc=Symbol("dynamicDependenciesLoaded"),Xe=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};Xe.eventName="exportparts-updated";var q=class extends er{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[rc]=new Oe(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[oc].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[ec]=this.constructor.name,this[Xa]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ec]&&Object.setPrototypeOf(this,this[Xa])}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[tc]||(r[tc]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(Xe.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(Xe.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 Xe)})}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=_n(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,l;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 b=(a=(n=m.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],v=(l=(i=m.getAttribute("exportparts"))===null||i===void 0?void 0:i.split(",").map(S=>S.split(":")[1]))!==null&&l!==void 0?l:[],C=[...b,...v].filter(d).map(S=>S.trim());for(let S of C)h.add(S)}if(h.size===0){this.exportparts=void 0;return}let f=[...h.values()].flatMap(m=>p.map(b=>`${m}:${b}--${m}`));this.exportparts=[...this.part,...f].join(", ")}};rc=oc;Ct([O()],q.prototype,"exportpartsPrefix",void 0);Ct([ce([])],q.prototype,"exportpartsPrefixes",void 0);Ct([O({reflect:!0})],q.prototype,"exportparts",void 0);Ct([O()],q.prototype,"customStylesheet",void 0);Ct([O()],q.prototype,"elementToFocus",void 0);Ct([z()],q.prototype,"useAdoptedStyleSheets",void 0);var nc=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 l=t.length-1;l>=0;l--)(a=t[l])&&(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},ic=H(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=qt.medium,this.family=Kt.neutral}getDesignSystemBaseClasses(){return{[ln(this.family)]:!0,[dn(this.size)]:!0}}}return nc([O()],e.prototype,"size",void 0),nc([O()],e.prototype,"family",void 0),e}),kn=class extends ic(q){};var sc={};var Fn={};k(Fn,{highlightHtml:()=>Nn,highlightHtmlColorCssVariable:()=>ac,highlightHtmlStyles:()=>Ru});var et=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,l=0;s=Array.prototype.slice.call(s);let d=()=>{--a<=0&&i(l)};a||d(),s.forEach(p=>{t.matches(p,this.exclude)?d():this.onIframeReady(p,h=>{r(p)&&(l++,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),l=Node.DOCUMENT_POSITION_FOLLOWING;if(a&l)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((l,d)=>{l.val===n&&(s=d,a=l.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),l=[],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,l),m=>{this.createInstanceOnIframe(m).forEachNode(e,b=>d.push(b),i)}),d.push(p);d.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(l,e,n,i),s()}forEachNode(e,r,n,i=()=>{}){let s=this.getContexts(),a=s.length;a||i(),s.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,r,n,()=>{--a<=0&&i()})};this.iframes?this.waitForIframes(l,d):d()})}};var tr=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 et(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],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a);l!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${n}`),i+`(${this.processSynomyms(l)}|${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(l=>{a+=`|${this.escapeStr(l)}`}),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:l}=this.callNoMatchOnInvalidRanges(i,n);l&&(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,l=r-a,d=parseInt(e.start,10)-l;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 et.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),l=document.createElement(i);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=s.textContent,s.parentNode.replaceChild(l,s),a}wrapRangeInMappedTextNode(e,r,n,i,s){e.nodes.every((a,l)=>{let d=e.nodes[l+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((b,v)=>{v>=l&&(e.nodes[v].start>0&&v!==l&&(e.nodes[v].start-=h),e.nodes[v].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(l=>{l.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(l=>{let d;for(;(d=e.exec(l.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(l,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((l,d)=>{let{start:p,end:h,valid:f}=this.checkWhitespaceRanges(l,a,s.value);f&&this.wrapRangeInMappedTextNode(s,p,h,m=>r(m,l,s.value.substring(p,h),d),m=>{n(m,l)})}),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,l)=>this.opt.filter(l,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),l=this.opt.caseSensitive?"":"i",d=p=>{let h=new RegExp(this.createRegExp(p),`gm${l}`),f=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,b)=>this.opt.filter(b,p,n,f),m=>{f++,n++,this.opt.each(m)},()=>{f===0&&this.opt.noMatch(p),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,l,d)=>this.opt.filter(s,a,l,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=et.matches(n,r),s=this.matchesExclude(n);return!i||s?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Pn(t){let e=new tr(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 Au=Pn,ac=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Ru=D`
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Qi=/'/g,Ji=/"/g,ts=/^(?:script|style|textarea|title)$/i,Po=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),Y=Po(1),Al=Po(2),Rl=Po(3),$=Symbol.for("lit-noChange"),N=Symbol.for("lit-nothing"),Xi=new WeakMap,ze=Ve.createTreeWalker(Ve,129);function rs(t,e){if(!To(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return qi!==void 0?qi.createHTML(e):e}var os=(t,e)=>{let r=t.length-1,n=[],i,s=e===2?"<svg>":e===3?"<math>":"",a=$t;for(let l=0;l<r;l++){let d=t[l],p,h,f=-1,m=0;for(;m<d.length&&(a.lastIndex=m,h=a.exec(d),h!==null);)m=a.lastIndex,a===$t?h[1]==="!--"?a=Zi:h[1]!==void 0?a=Yi:h[2]!==void 0?(ts.test(h[2])&&(i=RegExp("</"+h[2],"g")),a=He):h[3]!==void 0&&(a=He):a===He?h[0]===">"?(a=i??$t,f=-1):h[1]===void 0?f=-2:(f=a.lastIndex-h[2].length,p=h[1],a=h[3]===void 0?He:h[3]==='"'?Ji:Qi):a===Ji||a===Qi?a=He:a===Zi||a===Yi?a=$t:(a=He,i=void 0);let b=a===He&&t[l+1].startsWith("/>")?" ":"";s+=a===$t?d+Ol:f>=0?(n.push(p),d.slice(0,f)+Lo+d.slice(f)+Se+b):d+Se+(f===-2?l:b)}return[rs(t,s+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),n]},Vt=class t{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let s=0,a=0,l=e.length-1,d=this.parts,[p,h]=os(e,r);if(this.el=t.createElement(p,n),ze.currentNode=this.el.content,r===2||r===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=ze.nextNode())!==null&&d.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(Lo)){let m=h[a++],b=i.getAttribute(f).split(Se),v=/([.?@])?(.*)/.exec(m);d.push({type:1,index:s,name:v[2],strings:b,ctor:v[1]==="."?Er:v[1]==="?"?Cr:v[1]==="@"?wr:We}),i.removeAttribute(f)}else f.startsWith(Se)&&(d.push({type:6,index:s}),i.removeAttribute(f));if(ts.test(i.tagName)){let f=i.textContent.split(Se),m=f.length-1;if(m>0){i.textContent=vr?vr.emptyScript:"";for(let b=0;b<m;b++)i.append(f[b],Ht()),ze.nextNode(),d.push({type:2,index:++s});i.append(f[m],Ht())}}}else if(i.nodeType===8)if(i.data===ko)d.push({type:2,index:s});else{let f=-1;for(;(f=i.data.indexOf(Se,f+1))!==-1;)d.push({type:7,index:s}),f+=Se.length-1}s++}}static createElement(e,r){let n=Ve.createElement("template");return n.innerHTML=e,n}};function Ge(t,e,r=t,n){if(e===$)return e;let i=n!==void 0?r._$Co?.[n]:r._$Cl,s=zt(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=Ge(t,i._$AS(t,e.values),i,n)),e}var Sr=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??Ve).importNode(r,!0);ze.currentNode=i;let s=ze.nextNode(),a=0,l=0,d=n[0];for(;d!==void 0;){if(a===d.index){let p;d.type===2?p=new ut(s,s.nextSibling,this,e):d.type===1?p=new d.ctor(s,d.name,d.strings,this,e):d.type===6&&(p=new Or(s,this,e)),this._$AV.push(p),d=n[++l]}a!==d?.index&&(s=ze.nextNode(),a++)}return ze.currentNode=Ve,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++}},ut=class t{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=N,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=Ge(this,e,r),zt(e)?e===N||e==null||e===""?(this._$AH!==N&&this._$AR(),this._$AH=N):e!==this._$AH&&e!==$&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):es(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!==N&&zt(this._$AH)?this._$AA.nextSibling.data=e:this.T(Ve.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=Vt.createElement(rs(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(r);else{let s=new Sr(i,this),a=s.u(this.options);s.p(r),this.T(a),this._$AH=s}}_$AC(e){let r=Xi.get(e.strings);return r===void 0&&Xi.set(e.strings,r=new Vt(e)),r}k(e){To(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(Ht()),this.O(Ht()),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=Ki(e).nextSibling;Ki(e).remove(),e=n}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}},We=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,s){this.type=1,this._$AH=N,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=N}_$AI(e,r=this,n,i){let s=this.strings,a=!1;if(s===void 0)e=Ge(this,e,r,0),a=!zt(e)||e!==this._$AH&&e!==$,a&&(this._$AH=e);else{let l=e,d,p;for(e=s[0],d=0;d<s.length-1;d++)p=Ge(this,l[n+d],r,d),p===$&&(p=this._$AH[d]),a||=!zt(p)||p!==this._$AH[d],p===N?e=N:e!==N&&(e+=(p??"")+s[d+1]),this._$AH[d]=p}a&&!i&&this.j(e)}j(e){e===N?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},Er=class extends We{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===N?void 0:e}},Cr=class extends We{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==N)}},wr=class extends We{constructor(e,r,n,i,s){super(e,r,n,i,s),this.type=5}_$AI(e,r=this){if((e=Ge(this,e,r,0)??N)===$)return;let n=this._$AH,i=e===N&&n!==N||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,s=e!==N&&(n===N||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)}},Or=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){Ge(this,e)}},No={M:Lo,P:Se,A:ko,C:1,L:os,R:Sr,D:es,V:Ge,I:ut,H:We,N:Cr,U:wr,B:Er,F:Or},_l=Io.litHtmlPolyfillSupport;_l?.(Vt,ut),(Io.litHtmlVersions??=[]).push("3.3.3");var Fo=(t,e,r)=>{let n=r?.renderBefore??e,i=n._$litPart$;if(i===void 0){let s=r?.renderBefore??null;n._$litPart$=i=new ut(e.insertBefore(Ht(),s),s,void 0,r??{})}return i._$AI(t),i};var Mo=globalThis,Ee=class extends re{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=Fo(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return $}};Ee._$litElement$=!0,Ee.finalized=!0,Mo.litElementHydrateSupport?.({LitElement:Ee});var Il=Mo.litElementPolyfillSupport;Il?.({LitElement:Ee});var Ll={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(Mo.litElementVersions??=[]).push("4.2.2");var vf=!1;var Uo={};k(Uo,{customElement:()=>kl,eventOptions:()=>Pl,property:()=>w,query:()=>Nl,queryAll:()=>Ml,queryAssignedElements:()=>Ul,queryAssignedNodes:()=>Bl,queryAsync:()=>Dl,standardProperty:()=>ns,state:()=>z});var kl=t=>(e,r)=>{r!==void 0?r.addInitializer(()=>{customElements.define(t,e)}):customElements.define(t,e)};var Tl={attribute:!0,type:String,converter:dt,reflect:!1,hasChanged:Bt},ns=(t=Tl,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(l){let d=e.get.call(this);e.set.call(this,l),this.requestUpdate(a,d,t,!0,l)},init(l){return l!==void 0&&this.C(a,void 0,t,l),l}}}if(n==="setter"){let{name:a}=r;return function(l){let d=this[a];e.call(this,l),this.requestUpdate(a,d,t,!0,l)}}throw Error("Unsupported decorator location: "+n)};function w(t){return(e,r)=>typeof r=="object"?ns(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 z(t){return w({...t,state:!0,attribute:!1})}function Pl(t){return(e,r)=>{let n=typeof e=="function"?e:e[r];Object.assign(n,t)}}var ae=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,r),r);function Nl(t,e){return(r,n,i)=>{let s=a=>a.renderRoot?.querySelector(t)??null;if(e){let{get:a,set:l}=typeof n=="object"?r:i??(()=>{let d=Symbol();return{get(){return this[d]},set(p){this[d]=p}}})();return ae(r,n,{get(){let d=a.call(this);return d===void 0&&(d=s(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return ae(r,n,{get(){return s(this)}})}}var Fl;function Ml(t){return(e,r)=>ae(e,r,{get(){return(this.renderRoot??(Fl??=document.createDocumentFragment())).querySelectorAll(t)}})}function Dl(t){return(e,r)=>ae(e,r,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(t)??null}})}function Ul(t){return(e,r)=>{let{slot:n,selector:i}=t??{},s="slot"+(n?`[name=${n}]`:":not([name])");return ae(e,r,{get(){let a=this.renderRoot?.querySelector(s),l=a?.assignedElements(t)??[];return i===void 0?l:l.filter(d=>d.matches(i))}})}}function Bl(t){return(e,r)=>{let{slot:n}=t??{},i="slot"+(n?`[name=${n}]`:":not([name])");return ae(e,r,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(t)??[]}})}}var Bo={};k(Bo,{repeat:()=>ft});var fe={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},X=t=>(...e)=>({_$litDirective$:t,values:e}),oe=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:$l}=No,is=t=>t;var as=t=>t.strings===void 0,ss=()=>document.createComment(""),pt=(t,e,r)=>{let n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(r===void 0){let s=n.insertBefore(ss(),i),a=n.insertBefore(ss(),i);r=new $l(s,a,t,t.options)}else{let s=r._$AB.nextSibling,a=r._$AM,l=a!==t;if(l){let d;r._$AQ?.(t),r._$AM=t,r._$AP!==void 0&&(d=t._$AU)!==a._$AU&&r._$AP(d)}if(s!==i||l){let d=r._$AA;for(;d!==s;){let p=is(d).nextSibling;is(n).insertBefore(d,i),d=p}}}return r},Le=(t,e,r=t)=>(t._$AI(e,r),t),Hl={},cs=(t,e=Hl)=>t._$AH=e,ls=t=>t._$AH,Ar=t=>{t._$AR(),t._$AA.remove()};var ds=(t,e,r)=>{let n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},ft=X(class extends oe{constructor(t){if(super(t),t.type!==fe.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 l of t)i[a]=n?n(l,a):a,s[a]=r(l,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=ls(t),{values:s,keys:a}=this.dt(e,r,n);if(!Array.isArray(i))return this.ut=a,s;let l=this.ut??=[],d=[],p,h,f=0,m=i.length-1,b=0,v=s.length-1;for(;f<=m&&b<=v;)if(i[f]===null)f++;else if(i[m]===null)m--;else if(l[f]===a[b])d[b]=Le(i[f],s[b]),f++,b++;else if(l[m]===a[v])d[v]=Le(i[m],s[v]),m--,v--;else if(l[f]===a[v])d[v]=Le(i[f],s[v]),pt(t,d[v+1],i[f]),f++,v--;else if(l[m]===a[b])d[b]=Le(i[m],s[b]),pt(t,i[f],i[m]),m--,b++;else if(p===void 0&&(p=ds(a,b,v),h=ds(l,f,m)),p.has(l[f]))if(p.has(l[m])){let C=h.get(a[b]),S=C!==void 0?i[C]:null;if(S===null){let O=pt(t,i[f]);Le(O,s[b]),d[b]=O}else d[b]=Le(S,s[b]),pt(t,i[f],S),i[C]=null;b++}else Ar(i[m]),m--;else Ar(i[f]),f++;for(;b<=v;){let C=pt(t,d[v+1]);Le(C,s[b]),d[b++]=C}for(;f<=m;){let C=i[f++];C!==null&&Ar(C)}return this.ut=a,cs(t,d),$}});var $o={};k($o,{classMap:()=>zl});var zl=X(class extends oe{constructor(t){if(super(t),t.type!==fe.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 $}});var Ho={};k(Ho,{styleMap:()=>Gl});var us="important",Vl=" !"+us,Gl=X(class extends oe{constructor(t){if(super(t),t.type!==fe.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(Vl);n.includes("-")||s?r.setProperty(n,s?i.slice(0,-11):i,s?us:""):r[n]=i}}return $}});var zo={};k(zo,{UnsafeHTMLDirective:()=>ht,unsafeHTML:()=>Wl});var ht=class extends oe{constructor(e){if(super(e),this.it=N,e.type!==fe.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===N||e==null)return this._t=void 0,this.it=e;if(e===$)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:[]}}};ht.directiveName="unsafeHTML",ht.resultType=1;var Wl=X(ht);var Vo={};k(Vo,{splitBreadcrumbForMenu:()=>jl});function jl(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 Qo={};k(Qo,{CacheRegistry:()=>me,ClearCacheEvent:()=>jt});var Go={};k(Go,{CancelablePromise:()=>Rr,CanceledPromiseError:()=>ke,cancelable:()=>_r});var ke=class extends Error{constructor(e,r,n){super(e),this.canceledPromiseResult=r,this.canceledPromiseError=n}},Rr=class extends Promise{constructor(e){super((r,n)=>e(i=>{this.isCanceled?n(new ke("Promise has been canceled",i)):r(i)},i=>{this.isCanceled?n(new ke("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},_r=t=>new Rr((e,r)=>t.then(e).catch(r));var Yo={};k(Yo,{FtNotificationEvent:()=>Wt,PostResizeEvent:()=>Zo,PreResizeEvent:()=>qo,WithEventBus:()=>Ce,withEventBus:()=>Lr});var Ko={};k(Ko,{applyMixinOnce:()=>H,customElements:()=>je,dateReviver:()=>Ql,deepCopy:()=>ne,deepEqual:()=>K,delay:()=>Ir,eventPathContainsMatchingElement:()=>Xl,everyDeep:()=>Yl,flatDeep:()=>gs,forEachDeep:()=>ys,getComposedPathTo:()=>jo,groupBy:()=>od,hasChanged:()=>he,ignoreComposingEvents:()=>rd,last:()=>ed,minmax:()=>Te,parseDate:()=>xs,randomId:()=>td,someDeep:()=>bs,unslotText:()=>vs,waitFor:()=>ms,waitUntil:()=>Zl});var Wo={};k(Wo,{customElement:()=>Gt,dateProperty:()=>ql,isNumber:()=>hs,jsonProperty:()=>ce,jsonPropertyConverter:()=>ps,numberProperty:()=>fs,optionalNumberProperty:()=>Kl});var Gt=t=>e=>{window.customElements.get(t)||window.customElements.define(t,e)},ps=t=>({fromAttribute:e=>{if(e==null)return ne(t);try{return JSON.parse(e)}catch{return ne(t)}},toAttribute:e=>JSON.stringify(e)});function ce(t,e){return w({type:Object,converter:ps(t),hasChanged:he,...e??{}})}function Kl(t){return fs(t)}function fs(t){return w({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 hs(e)?Te(i,+e,s):void 0},toAttribute:e=>e==null?void 0:""+e},useDefault:!0,...t??{}})}function hs(t){return!isNaN(parseFloat(t))}function ql(t){return w({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 Ir=t=>new Promise(e=>setTimeout(e,t));async function Zl(t,e=10,r=2e4){await ms(async()=>await t()||void 0,e,r)}async function ms(t,e=10,r=2e4){let n=await t(),i=performance.now(),s=i;for(;n==null&&(!r||s-i<r);)await Ir(e),n=await t(),s=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function gs(t,e){return t.flatMap(r=>[r,...gs(e(r),e)])}function ys(t,e,r){let n=(i,s)=>{var a;for(let l=0;l<i.length;l++){let d=i[l];if(!(((a=r(d,l,i,s))!==null&&a!==void 0?a:!0)&&n(e(d),[...s,d])))return!1}return!0};n(t,[])}function bs(t,e,r){let n=!1;return ys(t,e,(i,s,a,l)=>(n=!!r(i,s,a,l),!n)),n}function Yl(t,e,r){return!bs(t,e,(n,i,s,a)=>!r(n,i,s,a))}function Ql(...t){return(e,r)=>t.includes(e)?xs(r):r}function xs(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 Jl(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(!K(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(!K(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(l=>a[l]!=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(!K(t[a],e[a]))return!1}return!0}return t!==t&&e!==e||t==null&&e==null}function K(t,e){try{return Jl(t,e)}catch{return!1}}function he(t,e){return!K(t,e)}function Xl(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 Te(t,e,r){return Math.min(Math.max(t,e),r)}function ed(t){return t[t.length-1]}function vs(t){return t instanceof HTMLSlotElement?t.assignedNodes().map(e=>vs(e)).join(""):t?.textContent||""}function jo(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 ne(t){return typeof window.structuredClone=="function"?structuredClone(t):t!=null?JSON.parse(JSON.stringify(t)):t}function td(t,e){return(e??"")+(""+Math.floor(Math.random()*10**t)).padStart(t,"0")}function H(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 rd(){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 je(t){for(let[e,r]of Object.entries(t))Gt(e)(r)}function od(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 Wt=class extends CustomEvent{constructor(e){super("ft-notification",{bubbles:!0,composed:!0,detail:e})}},qo=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Zo=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},Lr=H(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)}}}),Ce=class extends Lr(Object){};var jt=class extends CustomEvent{constructor(e){super("clear-cache",{detail:{clearedKeys:e}})}},me=class extends Ce{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 jt(n)),n}clear(e,r=!0){if(this.content[e]&&!this.content[e].final)return this.forceClear(e),r&&this.dispatchEvent(new jt([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=_r(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 an={};k(an,{ClusteringHelper:()=>sn,formatHierarchicalValues:()=>nn});var on={};k(on,{accessBreadcrumb:()=>pd,accessResult:()=>rn,accessResultId:()=>dd,accessResultUrl:()=>ud,enrichReaderUrl:()=>tn});var en={};k(en,{SearchPlaceConverter:()=>we,SearchPlaceQueryParams:()=>L,isSearchPlaceQueryParams:()=>ca,serializeRequest:()=>cd});var nd=t=>typeof t=="object"&&t!=null;var id=t=>typeof t=="number",kr=t=>typeof t=="string",Xo=t=>nd(t)&&kr(t.endpoint)&&kr(t.method)&&kr(t.statusText)&&kr(t.body)&&id(t.status),Ss;(function(t){t.black="black",t.green="green",t.blue="blue",t.purple="purple",t.red="red",t.orange="orange",t.yellow="yellow"})(Ss||(Ss={}));var Es;(function(t){t.OFFICIAL="OFFICIAL",t.PERSONAL="PERSONAL",t.SHARED="SHARED"})(Es||(Es={}));var Cs;(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"})(Cs||(Cs={}));var ws;(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"})(ws||(ws={}));var Os;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(Os||(Os={}));var As;(function(t){t.VALUE="VALUE",t.DATE="DATE",t.RANGE="RANGE"})(As||(As={}));var Rs;(function(t){t.OFFICIAL="OFFICIAL",t.AI="AI"})(Rs||(Rs={}));var _s;(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"})(_s||(_s={}));var Is;(function(t){t.STANDARD="STANDARD",t.STRUCTURAL="STRUCTURAL"})(Is||(Is={}));var Ls;(function(t){t.METADATA_FILTER="METADATA_FILTER",t.ACCESS_RIGHTS_FILTER="ACCESS_RIGHTS_FILTER"})(Ls||(Ls={}));var ks;(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"})(ks||(ks={}));var Ts;(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"})(Ts||(Ts={}));var Ps;(function(t){t.CLASSIC="CLASSIC",t.CUSTOM="CUSTOM",t.DESIGNER="DESIGNER"})(Ps||(Ps={}));var Ns;(function(t){t.AND="AND",t.OR="OR",t.MONOVALUED="MONOVALUED"})(Ns||(Ns={}));var Fs;(function(t){t.NONE="NONE",t.ALPHABET="ALPHABET",t.VERSION="VERSION"})(Fs||(Fs={}));var Ms;(function(t){t.STARS="STARS",t.LIKE="LIKE",t.DICHOTOMOUS="DICHOTOMOUS",t.NO_RATING="NO_RATING"})(Ms||(Ms={}));var Ds;(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"})(Ds||(Ds={}));var Ke;(function(t){t.OPTIONAL="OPTIONAL",t.MANDATORY="MANDATORY"})(Ke||(Ke={}));var Us;(function(t){t.ASC="ASC",t.DESC="DESC"})(Us||(Us={}));var Bs;(function(t){t.ALPHA="ALPHA",t.NATURAL="NATURAL"})(Bs||(Bs={}));var Tr;(function(t){t.EVERYWHERE="EVERYWHERE",t.TITLE_ONLY="TITLE_ONLY",t.NONE="NONE"})(Tr||(Tr={}));var js=t=>Object.keys(Tr).includes(t);var $s;(function(t){t.ARTICLE="ARTICLE",t.BOOK="BOOK",t.SHARED_BOOK="SHARED_BOOK",t.HTML_PACKAGE="HTML_PACKAGE"})($s||($s={}));var Hs;(function(t){t.FLUIDTOPICS="FLUIDTOPICS",t.EXTERNAL="EXTERNAL"})(Hs||(Hs={}));var zs;(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"})(zs||(zs={}));var mt;(function(t){t.LAST_WEEK="LAST_WEEK",t.LAST_MONTH="LAST_MONTH",t.LAST_QUARTER="LAST_QUARTER",t.LAST_YEAR="LAST_YEAR"})(mt||(mt={}));var Ks=t=>Object.keys(mt).includes(t);var Vs;(function(t){t.MAP="MAP",t.DOCUMENT="DOCUMENT",t.TOPIC="TOPIC",t.HTML_PACKAGE="HTML_PACKAGE",t.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(Vs||(Vs={}));var Jo;(function(t){t.DEFAULT="DEFAULT",t.DOCUMENTS="DOCUMENTS",t.ALL_TOPICS="ALL_TOPICS",t.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Jo||(Jo={}));var Gs;(function(t){t.PLAIN_TEXT="PLAIN_TEXT",t.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",t.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(Gs||(Gs={}));var U;(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"})(U||(U={}));var ie;(function(t){t.SEARCHES="SEARCHES",t.BOOKMARKS="BOOKMARKS",t.BOOKS="BOOKS",t.COLLECTIONS="COLLECTIONS"})(ie||(ie={}));var Ws;(function(t){t.UNAUTHENTICATED="UNAUTHENTICATED",t.USER_INCOMPLETE="USER_INCOMPLETE",t.MFA_REQUIRED="MFA_REQUIRED",t.AUTHENTICATED="AUTHENTICATED"})(Ws||(Ws={}));var qs;(function(t){t.UNREACHABLE="UNREACHABLE",t.UNAUTHORIZED="UNAUTHORIZED",t.FORBIDDEN="FORBIDDEN",t.INCOMPATIBLE="INCOMPATIBLE",t.FAILED="FAILED",t.OK="OK"})(qs||(qs={}));var Zs;(function(t){t.VALID="VALID",t.INVALID="INVALID"})(Zs||(Zs={}));var Ys;(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"})(Ys||(Ys={}));var Qs;(function(t){t.INACCURATE="INACCURATE",t.INCOMPLETE="INCOMPLETE",t.OFF_TOPIC="OFF_TOPIC",t.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",t.SLOW="SLOW",t.OTHER="OTHER"})(Qs||(Qs={}));var Js;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Js||(Js={}));var Xs;(function(t){t.JSON="JSON",t.TEXT="TEXT"})(Xs||(Xs={}));var ea;(function(t){t.TEXT="TEXT",t.HTML="HTML"})(ea||(ea={}));var ta;(function(t){t.IN_PROGRESS="IN_PROGRESS",t.ERROR="ERROR",t.DONE="DONE"})(ta||(ta={}));var ra;(function(t){t.HTML="HTML",t.MARKDOWN="MARKDOWN"})(ra||(ra={}));var oa;(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"})(oa||(oa={}));var na;(function(t){t.MAP="MAP",t.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(na||(na={}));var sd={[U.PERSONAL_BOOK_SHARE_USER]:[U.PERSONAL_BOOK_USER],[U.HTML_EXPORT_USER]:[U.PERSONAL_BOOK_USER],[U.PDF_EXPORT_USER]:[U.PERSONAL_BOOK_USER],[U.KHUB_ADMIN]:[U.CONTENT_PUBLISHER],[U.ADMIN]:[U.KHUB_ADMIN,U.USERS_ADMIN,U.PORTAL_ADMIN,U.BEHAVIOR_DATA_USER],[U.GENERATIVE_AI_EXPORT_USER]:[U.GENERATIVE_AI_USER]};function ia(t,e){return t===e||(sd[t]??[]).some(r=>ia(r,e))}function Pr(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=>ia(n,e))}function sa(t,...e){return t==null?!1:e.some(r=>Pr(t,r))}function ad(t){return`"${t}"`}function aa(t){return t.startsWith('"')&&t.endsWith('"')?t.replace(/(^"+)|("+$)/g,""):t}function cd(t,e){return new we(t).serialize(e)}var L;(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"})(L||(L={}));var ld=new Set(Object.values(L));function ca(t){return ld.has(t)}var we=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,l,d,p,h,f;let m=new URLSearchParams;e.contentLocale?(!r||e.contentLocale!==this.defaultContentLocale)&&m.append(L.LOCALE,e.contentLocale):m.append(L.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=e.query)===null||n===void 0?void 0:n.length)>0&&m.append(L.QUERY,e.query);let b=t.serializeValueFilters(e.metadataFilters);b&&m.append(L.VALUE_FILTERS,b);let v=t.serializeNegativeValueFilters(e.metadataFilters);v&&m.append(L.NEGATIVE_VALUE_FILTERS,v);let C=(d=(i=e.metadataFilters)===null||i===void 0?void 0:i.filter(y=>y.dateFilter))!==null&&d!==void 0?d:[];if(C.length>0){let y=C.map(g=>{var x;return`${g.key}~${(x=g.dateFilter)===null||x===void 0?void 0:x.type.toLowerCase()}`}).join("*");m.append(L.DATE_FILTERS,y)}let S=(p=(s=e.metadataFilters)===null||s===void 0?void 0:s.filter(y=>y.rangeFilter))!==null&&p!==void 0?p:[];if(S.length>0){let y=S.map(g=>{var x,E;return`${g.key}~${(x=g.rangeFilter)===null||x===void 0?void 0:x.from}_${(E=g.rangeFilter)===null||E===void 0?void 0:E.to}`}).join("*");m.append(L.RANGE_FILTERS,y)}e.virtualField&&e.virtualField!=="EVERYWHERE"&&m.append(L.VIRTUAL_FIELD,e.virtualField.toLowerCase()),e.scope&&e.scope!=="DEFAULT"&&m.append(L.SCOPE,e.scope.toLowerCase()),e.sortId!=null&&m.append(L.SORT,e.sortId),!((a=e.paging)===null||a===void 0)&&a.perPage&&((h=(l=e.paging)===null||l===void 0?void 0:l.perPage)!==null&&h!==void 0?h:this.defaultPerPage)!=this.defaultPerPage&&m.append(L.PER_PAGE,String(e.paging.perPage)),e.keywordMatch!=null&&m.append(L.KEYWORD_MATCH,e.keywordMatch.toLowerCase());let O=(f=e.otherQueryParams)!==null&&f!==void 0?f:{};for(let y in O)m.append(y,O[y]);let R=new Array;return m.forEach((y,g)=>{R.push(this.encodeQueryString(g)+"="+this.encodeQueryString(y))}),encodeURI(R.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,l,d;try{e=decodeURI(e).replace(/%23/g,"#")}catch(R){console.warn("Could not decode search request query params, fallback on raw value",R)}let p=new URLSearchParams(e),h=(n=p.get(L.LOCALE))!==null&&n!==void 0?n:void 0,f=((i=p.get(L.VIRTUAL_FIELD))!==null&&i!==void 0?i:"EVERYWHERE").toUpperCase(),m=(r=p.get(L.SORT))===null||r===void 0?void 0:r.toLowerCase(),b=(s=p.get(L.SCOPE))!==null&&s!==void 0?s:"default",v=+((a=p.get(L.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),C=p.get(L.KEYWORD_MATCH),S=C?C.toUpperCase()===Ke.MANDATORY?Ke.MANDATORY:Ke.OPTIONAL:void 0,O={};for(let R of p.keys())ca(R)||(O[R]=p.get(R));return h==="all"?h=this.allLanguagesAllowed?void 0:this.defaultContentLocale:(!h||this.availableContentLocales.length>0&&!this.availableContentLocales.some(R=>R.lang===h))&&(h=this.defaultContentLocale),{contentLocale:h,query:(l=p.get(L.QUERY))!==null&&l!==void 0?l:"",scope:(d=this.scopeMapping[b])!==null&&d!==void 0?d:"DEFAULT",virtualField:js(f)?f:"EVERYWHERE",sortId:m,metadataFilters:this.parseCompatFilters(p),facets:[],paging:{page:1,perPage:Te(1,isNaN(v)?this.defaultPerPage:v,1e3)},keywordMatch:S,otherQueryParams:O}}parseCompatFilters(e){var r,n,i,s,a,l,d;let p=[];return e.has(L.FILTERS)&&(p=t.parseValueFilters((r=e.get(L.FILTERS))!==null&&r!==void 0?r:"")),(n=e.has(L.PERIOD))!==null&&n!==void 0&&n&&(p=[...p,...this.parseLegacyPeriodFilter(((i=e.get(L.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...p,...t.parseValueFilters((s=e.get(L.VALUE_FILTERS))!==null&&s!==void 0?s:""),...t.parseValueFilters((a=e.get(L.NEGATIVE_VALUE_FILTERS))!==null&&a!==void 0?a:"",!0),...this.parseDateFilters((l=e.get(L.DATE_FILTERS))!==null&&l!==void 0?l:""),...this.parseRangeFilters((d=e.get(L.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(aa).map(i=>this.unescapeFilterValue(i)),negative:r}}))}parseDateFilters(e){return e.length===0?[]:t.splitUnknownFilter(e).map(r=>({key:r[0],dateFilter:{type:mt[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(Ks(e))return[{key:"ft:lastEdition",dateFilter:{type:mt[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=>ad(aa(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[L.LOCALE,L.FILTERS,L.VALUE_FILTERS,L.NEGATIVE_VALUE_FILTERS,L.DATE_FILTERS,L.RANGE_FILTERS].forEach(i=>{r.searchParams.delete(i)}),r.toString()}static updateLocaleParamInUrl(e,r){let n=new URL(e);return n.searchParams.delete(L.LOCALE),r!==void 0&&n.searchParams.append(L.LOCALE,r),n.toString()}};we.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]];function rn(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 dd(t){var e,r,n,i,s,a,l,d,p;return(p=(d=(l=(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&&l!==void 0?l:(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 ud(t,e){var r,n,i,s,a,l,d,p,h;return(h=(p=(d=(l=tn((r=t?.map)===null||r===void 0?void 0:r.readerUrl,e))!==null&&l!==void 0?l:tn((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 pd(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 tn(t,e){if(e&&t){let r=URL.parse(t),n=we.serializeValueFilters(e);if(n&&r?.searchParams.append(L.VALUE_FILTERS,n),r)return r.toString()}return t}function nn(t,e){return e&&e>1&&t.length>=e?`... > ${t[t.length-1]}`:t.join(" > ")}var sn=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=rn(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(l=>{s.push(nn(l)),a.push(nn(l,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(l=>n?n(l):l).join(", ");return{key:e.key,label:e.label,value:s,displayValue:a,displayTooltipValue:a}}}computeClustersItemsForMetadata(e,r,n="No value",i,s){var a,l;let d=t.extractResultMetadata({result:this.selectedResult,key:e,dateFormatter:s}),p=(l=d?.label)!==null&&l!==void 0?l:(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,b)=>b.findIndex(v=>v.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",l=s?.reverseSort||!1;if(a=="ALPHABET"||a=="VERSION"){let d=e.localeCompare(r,i,{numeric:!0});return l?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,l=-1;for(let d of n){let p=this.countMatchingMetadata(d,s);if(p>l&&(l=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 cn={};k(cn,{Debouncer:()=>Oe});var Oe=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(l){i(l);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 pn={};k(pn,{designSystemVariables:()=>Qd});var un={};k(un,{DesignSystemFamily:()=>Kt,DesignSystemSize:()=>qt,FtCssVariableFactory:()=>o,badge:()=>Id,banner:()=>_d,button:()=>md,card:()=>yd,chart:()=>Wd,checkbox:()=>Sd,chip:()=>Od,chipChoice:()=>wd,chipGroup:()=>Ad,collapsible:()=>Vd,combobox:()=>Hd,dateRangePicker:()=>Yd,drawer:()=>Md,eventCard:()=>bd,floatingMenu:()=>$d,foundation:()=>c,link:()=>Rd,modal:()=>Nd,notice:()=>Kd,notification:()=>qd,pageDesigner:()=>jd,pageFooter:()=>Td,pageHeader:()=>kd,pageLayout:()=>Pd,popover:()=>zd,radio:()=>Ed,reorderableList:()=>Fd,resolveFamilyClass:()=>ln,resolveSizeClass:()=>dn,semantic:()=>u,setVariable:()=>gt,switch_:()=>Gd,table:()=>Cd,tabs:()=>Dd,textArea:()=>Bd,textInput:()=>Ud,titleBreadcrumb:()=>Ld,toc:()=>vd,toggle:()=>gd,tooltip:()=>Zd,treeList:()=>xd,typographies:()=>fd,typographyBody1Medium:()=>ha,typographyBody1Regular:()=>fa,typographyBody1Semibold:()=>ma,typographyBody2Medium:()=>ya,typographyBody2MediumUnderline:()=>ba,typographyBody2Regular:()=>ga,typographyBody2Semibold:()=>xa,typographyCaption1Medium:()=>va,typographyCaption1Semibold:()=>Sa,typographyCaption2Bold:()=>wa,typographyCaption2Medium:()=>Ea,typographyCaption2Semibold:()=>Ca,typographyDisplay:()=>la,typographyTitle1:()=>da,typographyTitle2:()=>ua,typographyTitle3:()=>pa,typographyVariants:()=>hd});var Pe=t=>typeof t=="string"?Mt(t):t,o=class{static create(e,r,n,i){let s=l=>Pe(l??i),a=D`var(${Pe(e)}, ${s(i)})`;return a.name=e,a.description=r,a.category=n,a.defaultValue=i,a.defaultCssValue=s,a.set=l=>gt(a,l??s(i)),a.get=l=>D`var(${Pe(e)}, ${s(l)})`,a.breadcrumb=()=>[],a.lastResortDefaultValue=()=>i,a}static extend(e,r,n,i){let s=l=>n.get(l??i),a=D`var(${Pe(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=l=>gt(a,l??s(i)),a.get=l=>D`var(${Pe(e)}, ${s(l)})`,a.breadcrumb=()=>[n.name,...n.breadcrumb()],a.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),a}static external(e,r){let n=s=>e.defaultCssValue(s),i=D`var(${Pe(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=>D`var(${Pe(e.name)}, ${n(s)})`,i.breadcrumb=()=>e.breadcrumb(),i.lastResortDefaultValue=()=>e.lastResortDefaultValue(),i}};function gt(t,e){return Pe(`${t.name}: ${e}`)}var c={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)")},la={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")},da={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")},ua={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")},pa={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")},fa={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")},ha={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")},ma={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")},ga={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")},ya={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")},ba={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")},xa={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")},va={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")},Sa={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")},Ea={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")},Ca={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")},wa={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")},fd={display:la,"title-1":da,"title-2":ua,"title-3":pa,"body-1-regular":fa,"body-1-medium":ha,"body-1-semibold":ma,"body-2-regular":ga,"body-2-medium":ya,"body-2-medium-underline":ba,"body-2-semibold":xa,"caption-1-medium":va,"caption-1-semibold":Sa,"caption-2-medium":Ea,"caption-2-semibold":Ca,"caption-2-bold":wa},hd=["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.",c.colorBrand0),backgroundErrorSubtle:o.extend("--ftds-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:o.extend("--ftds-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:o.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:o.extend("--ftds-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:o.extend("--ftds-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:o.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:o.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:o.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:o.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:o.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:o.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:o.extend("--ftds-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:o.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:o.extend("--ftds-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:o.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:o.extend("--ftds-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:o.extend("--ftds-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:o.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
4
+ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:o.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:o.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:o.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:o.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:o.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:o.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:o.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:o.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:o.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:o.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:o.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:o.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",c.colorGray50),borderGlobalSecondary:o.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",c.colorGray40),borderGlobalSubtle:o.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",c.colorGray30),borderInputPrimary:o.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:o.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var md={largeHeight:o.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:o.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:o.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:o.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:o.extend("--ftds-button-large-icon-size","",c.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","",c.spacing3),mediumGap:o.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:o.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:o.extend("--ftds-button-medium-icon-size","",c.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","",c.spacing2),smallGap:o.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:o.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:o.extend("--ftds-button-small-icon-size","",c.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","",c.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","",c.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","",c.opacity16),primaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:o.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.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","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:o.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.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","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:o.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:o.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.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","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:o.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.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","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:o.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.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","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:o.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.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","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.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","",c.opacity8),secondaryBrandFocusStateLayerOpacity:o.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:o.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:o.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:o.extend("--ftds-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:o.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:o.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.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","",c.opacity8),secondaryInfoFocusStateLayerOpacity:o.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:o.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:o.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.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","",c.opacity8),secondarySuccessFocusStateLayerOpacity:o.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:o.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:o.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.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","",c.opacity8),secondaryWarningFocusStateLayerOpacity:o.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:o.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:o.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.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","",c.opacity8),secondaryErrorFocusStateLayerOpacity:o.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:o.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:o.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.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 gd={iconSize:o.extend("--ftds-toggle-icon-size","",c.iconSize1),offHoverStateLayerOpacity:o.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:o.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:o.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:o.extend("--ftds-toggle-off-disabled-component-opacity","",c.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","",c.opacity16),onFocusStateLayerOpacity:o.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:o.extend("--ftds-toggle-on-disabled-component-opacity","",c.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","",c.spacing3),width:o.create("--ftds-toggle-width","","SIZE","36px"),height:o.create("--ftds-toggle-height","","SIZE","20px")};var yd={borderRadius:o.extend("--ftds-card-border-radius","",c.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","",c.spacing4),headerTitleVerticalPadding:o.extend("--ftds-card-header-title-vertical-padding","",c.spacing3),headerActionHorizontalPadding:o.extend("--ftds-card-header-action-horizontal-padding","",c.spacing2),headerActionVerticalPadding:o.extend("--ftds-card-header-action-vertical-padding","",c.spacing2),headerActionGap:o.extend("--ftds-card-header-action-gap","",c.spacing1),bodyHorizontalPadding:o.extend("--ftds-card-body-horizontal-padding","",c.spacing4),bodyVerticalPadding:o.extend("--ftds-card-body-vertical-padding","",c.spacing4),footerActionHorizontalPadding:o.extend("--ftds-card-footer-action-horizontal-padding","",c.spacing2),footerActionVerticalPadding:o.extend("--ftds-card-footer-action-vertical-padding","",c.spacing2),footerActionGap:o.extend("--ftds-card-footer-action-gap","",c.spacing1),footerContentHorizontalPadding:o.extend("--ftds-card-footer-content-horizontal-padding","",c.spacing4),footerContentVerticalPadding:o.extend("--ftds-card-footer-content-vertical-padding","",c.spacing3),sideBarHorizontalPadding:o.extend("--ftds-card-side-bar-horizontal-padding","",c.spacing1),sideBarVerticalPadding:o.extend("--ftds-card-side-bar-vertical-padding","",c.spacing1),sideBarGap:o.extend("--ftds-card-side-bar-gap","",c.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","",c.opacity4),nonSelectableFocusBorderColor:o.extend("--ftds-card-non-selectable-focus-border-color","",u.borderGlobalPrimary),nonSelectableFocusStateLayerOpacity:o.extend("--ftds-card-non-selectable-focus-state-layer-opacity","",c.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","",c.opacity4),selectableUnselectedFocusBorderColor:o.extend("--ftds-card-selectable-unselected-focus-border-color","",u.borderGlobalPrimary),selectableUnselectedFocusStateLayerOpacity:o.extend("--ftds-card-selectable-unselected-focus-state-layer-opacity","",c.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","",c.opacity4),selectableSelectedHoverStateLayerOpacity:o.extend("--ftds-card-selectable-selected-hover-state-layer-opacity","",c.opacity4),selectableSelectedFocusStateLayerOpacity:o.extend("--ftds-card-selectable-selected-focus-state-layer-opacity","",c.opacity4),internalBorderWidth:o.create("--ftds-card-internal-border-width","","SIZE","1px")};var bd={borderRadius:o.extend("--ftds-event-card-border-radius","",c.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","",c.spacing8),thumbnailIconSize:o.extend("--ftds-event-card-thumbnail-icon-size","",c.iconSize3),slotHorizontalPadding:o.extend("--ftds-event-card-slot-horizontal-padding","",c.spacing2),slotVerticalPadding:o.extend("--ftds-event-card-slot-vertical-padding","",c.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 xd={loadMoreIconSize:o.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:o.extend("--ftds-tree-list-load-more-padding-left","",c.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","",c.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","",c.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","",c.spacing1),nodeIconSize:o.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:o.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:o.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:o.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:o.extend("--ftds-tree-list-node-root-padding-left","",c.spacing6),nodeChildPaddingLeft:o.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:o.extend("--ftds-tree-list-node-leaf-padding-left","",c.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","",c.spacing6),headerSectionPaddingRight:o.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:o.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:o.extend("--ftds-tree-list-header-section-margin-bottom","",c.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","",c.spacing10),emptyStateContainerPaddingTop:o.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:o.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:o.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.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 vd={titleColor:o.extend("--ftds-toc-title-color","",u.contentGlobalSubtle),titleGap:o.extend("--ftds-toc-title-gap","",c.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","",c.spacing4),itemVerticalPadding:o.extend("--ftds-toc-item-vertical-padding","",c.spacing3),itemBorderRadius:o.extend("--ftds-toc-item-border-radius","",c.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","",c.opacity8),itemInactiveFocusStateLayerOpacity:o.extend("--ftds-toc-item-inactive-focus-state-layer-opacity","",c.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","",c.opacity8),itemActiveHoverStateLayerOpacity:o.extend("--ftds-toc-item-active-hover-state-layer-opacity","",c.opacity16),itemActiveFocusStateLayerOpacity:o.extend("--ftds-toc-item-active-focus-state-layer-opacity","",c.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","",c.opacity8),itemChildActiveFocusStateLayerOpacity:o.extend("--ftds-toc-item-child-active-focus-state-layer-opacity","",c.opacity8)};var Sd={iconSize:o.extend("--ftds-checkbox-icon-size","",c.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","",c.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","",c.opacity16),checkedFocusStateLayerOpacity:o.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:o.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:o.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:o.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:o.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:o.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:o.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.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","",c.spacing3),helperPaddingTop:o.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:o.extend("--ftds-checkbox-helper-icon-size","",c.iconSize2),helperHorizontalGap:o.extend("--ftds-checkbox-helper-horizontal-gap","",c.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","",c.spacing3)};var Ed={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","",c.opacity16),selectedFocusStateLayerOpacity:o.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:o.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:o.extend("--ftds-radio-selected-disabled-component-opacity","",c.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","",c.opacity16),unselectedFocusStateLayerOpacity:o.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:o.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:o.extend("--ftds-radio-unselected-disabled-component-opacity","",c.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","",c.spacing3),horizontalGap:o.extend("--ftds-radio-horizontal-gap","",c.spacing3)};var Cd={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","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:o.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:o.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:o.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:o.extend("--ftds-table-data-row-selectable-selected-color","",u.contentActionPrimary),dataRowClickableHoverBackgroundColor:o.extend("--ftds-table-data-row-clickable-hover-background-color","",c.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","",c.colorGray30),dataRowClickableActiveBackgroundColor:o.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:o.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:o.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:o.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:o.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:o.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:o.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)};var wd={neutralOffHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.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","",c.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","",c.opacity16),neutralOnHoverStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:o.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.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","",c.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","",c.spacing3),largeGap:o.extend("--ftds-chip-choice-large-gap","",c.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","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:o.extend("--ftds-chip-choice-medium-gap","",c.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","",c.iconSize2)};var Od={largeMinHeight:o.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:o.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:o.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:o.extend("--ftds-chip-large-gap","",c.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","",c.iconSize3),mediumMinHeight:o.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:o.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:o.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:o.extend("--ftds-chip-medium-gap","",c.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","",c.iconSize2),smallMinHeight:o.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:o.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:o.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:o.extend("--ftds-chip-small-gap","",c.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","",c.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 Ad={horizontalGap:o.extend("--ftds-chip-group-horizontal-gap","",c.spacing2),verticalGap:o.extend("--ftds-chip-group-vertical-gap","",c.spacing2),countChipDefaultBackgroundColor:o.extend("--ftds-chip-group-count-chip-default-background-color","",c.colorBrand10),countChipDefaultBorderColor:o.extend("--ftds-chip-group-count-chip-default-border-color","",c.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","",c.colorBrand20),countChipHoverBorderColor:o.extend("--ftds-chip-group-count-chip-hover-border-color","",c.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","",c.colorBrand20),countChipFocusedBorderColor:o.extend("--ftds-chip-group-count-chip-focused-border-color","",c.colorBrand70),countChipFocusedContentColor:o.extend("--ftds-chip-group-count-chip-focused-content-color","",u.contentActionPrimary)};var Rd={brandHoverOpacity:o.extend("--ftds-link-brand-hover-opacity","",c.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","",c.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","",c.colorBrand100),horizontalGap:o.extend("--ftds-link-horizontal-gap","",c.spacing1)};var _d={iconSize:o.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:o.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:o.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:o.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:o.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:o.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:o.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:o.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:o.extend("--ftds-banner-horizontal-middle-gap","",c.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 Id={horizontalPadding:o.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:o.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:o.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:o.extend("--ftds-badge-color","",u.contentGlobalOnColor),backgroundColor:o.extend("--ftds-badge-background-color","",u.contentActionPrimary)};var Ld={horizontalGap:o.extend("--ftds-title-breadcrumb-horizontal-gap","",c.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 kd={parentHorizontalPadding:o.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:o.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:o.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:o.extend("--ftds-page-header-parent-help-left-margin","",c.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","",c.spacing4),parentVerticalGap:o.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:o.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:o.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:o.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:o.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:o.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:o.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:o.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:o.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:o.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:o.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:o.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:o.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:o.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:o.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:o.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:o.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:o.extend("--ftds-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:o.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var Td={horizontalPadding:o.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:o.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:o.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:o.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:o.extend("--ftds-page-footer-background-color","",c.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","",c.spacing4)};var Pd={contentHorizontalPadding:o.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:o.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)};var Nd={smallContainerTargetWidth:o.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:o.extend("--ftds-modal-small-container-margin","",c.spacing6),headerIconSize:o.extend("--ftds-modal-header-icon-size","",c.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","",c.spacing1),headerRightPadding:o.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:o.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:o.extend("--ftds-modal-header-gap","",c.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","",c.spacing6),largeContainerTargetWidth:o.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:o.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:o.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:o.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:o.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:o.extend("--ftds-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:o.extend("--ftds-modal-body-vertical-gap","",c.spacing6),borderRadius:o.extend("--ftds-modal-border-radius","",c.borderRadiusM)};var Fd={grabberIconSize:o.extend("--ftds-reorderable-list-grabber-icon-size","",c.iconSize2),verticalPadding:o.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:o.extend("--ftds-reorderable-list-gap","",c.spacing4),itemGap:o.extend("--ftds-reorderable-list-item-gap","",c.spacing2),borderRadius:o.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:o.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.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","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:o.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.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","",c.spacing6),reorderableItemBackgroundColor:o.extend("--ftds-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:o.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.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","",c.opacity48),boxShadow:o.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:o.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:o.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:o.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:o.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:o.extend("--ftds-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:o.extend("--ftds-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)};var Md={overlayOpacity:o.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:o.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:o.extend("--ftds-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:o.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:o.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:o.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:o.extend("--ftds-drawer-body-background-color","",c.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","",c.spacing2),headerBorderWidth:o.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:o.extend("--ftds-drawer-header-gap","",c.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","",c.spacing6),buttonsBarVerticalPadding:o.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:o.extend("--ftds-drawer-buttons-bar-gap","",c.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","",c.colorGray700)};var Dd={offBorderBottomWidth:o.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:o.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:o.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:o.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:o.extend("--ftds-tabs-off-disabled-component-opacity","",c.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","",c.borderRadiusS),topRightBorderRadius:o.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:o.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:o.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:o.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:o.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:o.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:o.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:o.extend("--ftds-tabs-on-active-state-layer-opacity","",c.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","",c.spacing4),iconOnlyVerticalPadding:o.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:o.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:o.extend("--ftds-tabs-alert-right-padding","",c.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","",c.iconSize3),alertIconIconSize:o.extend("--ftds-tabs-alert-icon-icon-size","",c.iconSize2)};var Ud={largeFieldHorizontalPadding:o.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:o.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:o.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:o.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:o.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:o.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:o.extend("--ftds-text-input-medium-field-horizontal-gap","",c.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","",c.iconSize3),helperHorizontalPadding:o.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:o.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperVerticalGap:o.extend("--ftds-text-input-helper-vertical-gap","",c.spacing1),helperIconSize:o.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:o.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:o.extend("--ftds-text-input-background-color","",c.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","",c.opacity40)};var Bd={fieldPaddingLeft:o.extend("--ftds-text-area-field-padding-left","",c.spacing4),fieldPaddingRight:o.extend("--ftds-text-area-field-padding-right","",c.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","",c.spacing05),resizeRight:o.extend("--ftds-text-area-resize-right","",c.spacing05)};var $d={height:o.create("--ftds-floating-menu-height","","SIZE","52px"),horizontalPadding:o.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ftds-floating-menu-vertical-padding","",c.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","",c.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","",c.opacity24),hoverStateLayerOpacity:o.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:o.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:o.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:o.extend("--ftds-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:o.extend("--ftds-floating-menu-shadow","",c.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","",c.opacity8),multiselectCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-hover-state-layer-opacity","",c.opacity16),multiselectCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-checked-focus-state-layer-opacity","",c.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","",c.opacity8),multiselectIndeterminatedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-hover-state-layer-opacity","",c.opacity16),multiselectIndeterminatedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-indeterminated-focus-state-layer-opacity","",c.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","",c.opacity0),multiselectUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-hover-state-layer-opacity","",c.opacity8),multiselectUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-multiselect-unchecked-focus-state-layer-opacity","",c.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","",c.opacity0),selectAllCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-hover-state-layer-opacity","",c.opacity16),selectAllCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-checked-focus-state-layer-opacity","",c.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","",c.opacity0),selectAllIndeterminatedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-hover-state-layer-opacity","",c.opacity8),selectAllIndeterminatedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-indeterminated-focus-state-layer-opacity","",c.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","",c.opacity0),selectAllUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-hover-state-layer-opacity","",c.opacity8),selectAllUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-select-all-unchecked-focus-state-layer-opacity","",c.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","",c.opacity0),defaultUncheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-hover-state-layer-opacity","",c.opacity8),defaultUncheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-default-unchecked-focus-state-layer-opacity","",c.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","",c.opacity8),defaultCheckedHoverStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-hover-state-layer-opacity","",c.opacity16),defaultCheckedFocusStateLayerOpacity:o.extend("--ftds-floating-menu-default-checked-focus-state-layer-opacity","",c.opacity24)};var Hd={menuVerticalGap:o.extend("--ftds-combobox-menu-vertical-gap","",c.spacing2),menuNewValuePaddingTop:o.extend("--ftds-combobox-menu-new-value-padding-top","",c.spacing4),menuNewValuePaddingBottom:o.extend("--ftds-combobox-menu-new-value-padding-bottom","",c.spacing1),menuNewValueHorizontalPadding:o.extend("--ftds-combobox-menu-new-value-horizontal-padding","",c.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","",c.opacity4),menuNewValueErrorActiveStateLayerOpacity:o.extend("--ftds-combobox-menu-new-value-error-active-state-layer-opacity","",c.opacity6),menuMessagePaddingTop:o.extend("--ftds-combobox-menu-message-padding-top","",c.spacing2),menuMessagePaddingBottom:o.extend("--ftds-combobox-menu-message-padding-bottom","",c.spacing2),menuMessageHorizontalPadding:o.extend("--ftds-combobox-menu-message-horizontal-padding","",c.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 zd={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","",c.spacing2),borderRadius:o.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:o.extend("--ftds-popover-shadow","",c.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","",c.spacing2),multiSectionVerticalGap:o.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6),defaultHorizontalPadding:o.extend("--ftds-popover-default-horizontal-padding","",c.spacing6),defaultVerticalPadding:o.extend("--ftds-popover-default-vertical-padding","",c.spacing6),denseHorizontalPadding:o.extend("--ftds-popover-dense-horizontal-padding","",c.spacing3),denseVerticalPadding:o.extend("--ftds-popover-dense-vertical-padding","",c.spacing3)};var Vd={hoverStateLayerOpacity:o.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:o.extend("--ftds-collapsible-focus-state-layer-opacity","",c.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","",c.opacity16),disabledComponentOpacity:o.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:o.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:o.extend("--ftds-collapsible-vertical-padding","",c.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","",c.iconSize3)};var Gd={groupHorizontalPadding:o.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:o.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:o.extend("--ftds-switch-group-gap","",c.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","",c.spacing2),labelVerticalPadding:o.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:o.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:o.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:o.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:o.extend("--ftds-switch-off-disabled-component-opacity","",c.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","",c.opacity8),onFocusStateLayerOpacity:o.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:o.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:o.extend("--ftds-switch-on-disabled-component-opacity","",c.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","",c.spacing1),iconVerticalPadding:o.extend("--ftds-switch-icon-vertical-padding","",c.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","",c.borderRadiusS)};var Wd={color1Light:o.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:o.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:o.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:o.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:o.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:o.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:o.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:o.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:o.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:o.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:o.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:o.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:o.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:o.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:o.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:o.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:o.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:o.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:o.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:o.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:o.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:o.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:o.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:o.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:o.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:o.extend("--ftds-chart-monochrome-60","",c.colorBrand200)};var jd={color1IconColor:o.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:o.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:o.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:o.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:o.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:o.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:o.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:o.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:o.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:o.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:o.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:o.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:o.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:o.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:o.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:o.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var Kd={borderWidth:o.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:o.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:o.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:o.extend("--ftds-notice-gap","",c.spacing2),iconSize:o.extend("--ftds-notice-icon-size","",c.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","",c.spacing1),denseIconSize:o.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:o.create("--ftds-notice-dense-border-width","","SIZE","0")};var qd={iconSize:o.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:o.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:o.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:o.extend("--ftds-notification-vertical-padding","",c.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","",c.borderRadiusPill),borderWidth:o.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:o.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:o.extend("--ftds-notification-trailing-gap","",c.spacing8)};var Zd={horizontalPadding:o.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:o.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:o.extend("--ftds-tooltip-border-radius","",c.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","",c.opacity80),shadow:o.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:o.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:o.extend("--ftds-tooltip-gap","",c.spacing05)};var Yd={menuHorizontalPadding:o.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:o.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:o.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:o.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)};var Kt;(function(t){t.brand="brand",t.neutral="neutral",t.info="info",t.success="success",t.warning="warning",t.error="error"})(Kt||(Kt={}));var qt;(function(t){t.large="large",t.medium="medium",t.small="small"})(qt||(qt={}));function ln(t){return`ftds--family-${t}`}function dn(t){return`ftds--size-${t}`}var Qd={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 fn={};k(fn,{DynamicImporter:()=>Nr,dynamicImporter:()=>Jd});var Nr=class{async import(e){if(e)return import(e)}},Jd=new Nr;var On={};k(On,{computeOffsetAutoPosition:()=>Cu,computeOffsetPosition:()=>Eu});var Aa=["top","right","bottom","left"],Oa=["start","end"],mn=Aa.reduce((t,e)=>t.concat(e,e+"-"+Oa[0],e+"-"+Oa[1]),[]),qe=Math.min,ge=Math.max,Zt=Math.round;var ye=t=>({x:t,y:t}),Xd={left:"right",right:"left",bottom:"top",top:"bottom"};function Ra(t,e,r){return ge(t,qe(e,r))}function yt(t,e){return typeof t=="function"?t(e):t}function Ze(t){return t.split("-")[0]}function be(t){return t.split("-")[1]}function gn(t){return t==="x"?"y":"x"}function yn(t){return t==="y"?"height":"width"}function bt(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function bn(t){return gn(bt(t))}function _a(t,e,r){r===void 0&&(r=!1);let n=be(t),i=bn(t),s=yn(i),a=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(a=hn(a)),[a,hn(a)]}function Ia(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}function hn(t){let e=Ze(t);return Xd[e]+t.slice(e.length)}function eu(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 La(t){return typeof t!="number"?eu(t):{top:t,right:t,bottom:t,left:t}}function Ye(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 ka(t,e,r){let{reference:n,floating:i}=t,s=bt(e),a=bn(e),l=yn(a),d=Ze(e),p=s==="y",h=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,m=n[l]/2-i[l]/2,b;switch(d){case"top":b={x:h,y:n.y-i.height};break;case"bottom":b={x:h,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:f};break;case"left":b={x:n.x-i.width,y:f};break;default:b={x:n.x,y:n.y}}let v=be(e);return v&&(b[a]+=m*(v==="end"?1:-1)*(r&&p?-1:1)),b}async function Ta(t,e){var r;e===void 0&&(e={});let{x:n,y:i,platform:s,rects:a,elements:l,strategy:d}=t,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:m=!1,padding:b=0}=yt(e,t),v=La(b),S=l[m?f==="floating"?"reference":"floating":f],O=Ye(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement(S)))==null||r?S:S.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:p,rootBoundary:h,strategy:d})),R=f==="floating"?{x:n,y:i,width:a.floating.width,height:a.floating.height}:a.reference,y=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),g=await(s.isElement==null?void 0:s.isElement(y))&&await(s.getScale==null?void 0:s.getScale(y))||{x:1,y:1},x=Ye(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:R,offsetParent:y,strategy:d}):R);return{top:(O.top-x.top+v.top)/g.y,bottom:(x.bottom-O.bottom+v.bottom)/g.y,left:(O.left-x.left+v.left)/g.x,right:(x.right-O.right+v.right)/g.x}}var tu=50,Pa=async(t,e,r)=>{let{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:a}=r,l=a.detectOverflow?a:{...a,detectOverflow:Ta},d=await(a.isRTL==null?void 0:a.isRTL(e)),p=await a.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:f}=ka(p,n,d),m=n,b=0,v={};for(let C=0;C<s.length;C++){let S=s[C];if(!S)continue;let{name:O,fn:R}=S,{x:y,y:g,data:x,reset:E}=await R({x:h,y:f,initialPlacement:n,placement:m,strategy:i,middlewareData:v,rects:p,platform:l,elements:{reference:t,floating:e}});h=y??h,f=g??f,v[O]={...v[O],...x},E&&b<tu&&(b++,typeof E=="object"&&(E.placement&&(m=E.placement),E.rects&&(p=E.rects===!0?await a.getElementRects({reference:t,floating:e,strategy:i}):E.rects),{x:h,y:f}=ka(p,m,d)),C=-1)}return{x:h,y:f,placement:m,strategy:i,middlewareData:v}};function ru(t,e,r){return(t?[...r.filter(i=>be(i)===t),...r.filter(i=>be(i)!==t)]:r.filter(i=>Ze(i)===i)).filter(i=>t?be(i)===t||(e?Ia(i)!==i:!1):!0)}var Na=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(e){var r,n,i;let{rects:s,middlewareData:a,placement:l,platform:d,elements:p}=e,{crossAxis:h=!1,alignment:f,allowedPlacements:m=mn,autoAlignment:b=!0,...v}=yt(t,e),C=f!==void 0||m===mn?ru(f||null,b,m):m,S=((r=a.autoPlacement)==null?void 0:r.index)||0,O=C[S];if(O==null)return{};if(l!==O)return{reset:{placement:C[0]}};let R=await d.detectOverflow(e,v),y=_a(O,s,await(d.isRTL==null?void 0:d.isRTL(p.floating))),g=[R[Ze(O)],R[y[0]],R[y[1]]],x=[...((n=a.autoPlacement)==null?void 0:n.overflows)||[],{placement:O,overflows:g}],E=C[S+1];if(E)return{data:{index:S+1,overflows:x},reset:{placement:E}};let I=x.map(A=>{let T=be(A.placement);return[A.placement,T&&h?A.overflows.slice(0,2).reduce((B,pe)=>B+pe,0):A.overflows[0],A.overflows]}).sort((A,T)=>A[1]-T[1]),M=((i=I.filter(A=>A[2].slice(0,be(A[0])?2:3).every(T=>T<=0))[0])==null?void 0:i[0])||I[0][0];return M!==l?{data:{index:S+1,overflows:x},reset:{placement:M}}:{}}}};var ou=new Set(["left","top"]);async function nu(t,e){let{placement:r,platform:n,elements:i}=t,s=await(n.isRTL==null?void 0:n.isRTL(i.floating)),a=Ze(r),l=be(r),d=bt(r)==="y",p=ou.has(a)?-1:1,h=s&&d?-1:1,f=yt(e,t),{mainAxis:m,crossAxis:b,alignmentAxis:v}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof v=="number"&&(b=l==="end"?v*-1:v),d?{x:b*h,y:m*p}:{x:m*p,y:b*h}}var Fa=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:l}=e,d=await nu(e,t);return a===((r=l.offset)==null?void 0:r.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:s+d.y,data:{...d,placement:a}}}}},Ma=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:l=!1,limiter:d={fn:R=>{let{x:y,y:g}=R;return{x:y,y:g}}},...p}=yt(t,e),h={x:r,y:n},f=await s.detectOverflow(e,p),m=bt(i),b=gn(m),v=h[b],C=h[m],S=(R,y)=>Ra(y+f[R==="y"?"top":"left"],y,y-f[R==="y"?"bottom":"right"]);a&&(v=S(b,v)),l&&(C=S(m,C));let O=d.fn({...e,[b]:v,[m]:C});return{...O,data:{x:O.x-r,y:O.y-n,enabled:{[b]:a,[m]:l}}}}}};var Da=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=()=>{},...l}=yt(t,e),d=await i.detectOverflow(e,l),p=Ze(r),h=be(r),f=bt(r)==="y",{width:m,height:b}=n.floating,v,C;p==="top"||p==="bottom"?(v=p,C=h===(await(i.isRTL==null?void 0:i.isRTL(s.floating))?"start":"end")?"left":"right"):(C=p,v=h==="end"?"top":"bottom");let S=b-d.top-d.bottom,O=m-d.left-d.right,R=qe(b-d[v],S),y=qe(m-d[C],O),g=e.middlewareData.shift,x=!g,E=R,I=y;g!=null&&g.enabled.x&&(I=O),g!=null&&g.enabled.y&&(E=S),x&&!h&&(f?I=m-2*ge(d.left,d.right):E=b-2*ge(d.top,d.bottom)),await a({...e,availableWidth:I,availableHeight:E});let P=await i.getDimensions(s.floating);return m!==P.width||b!==P.height?{reset:{rects:!0}}:{}}}};function Mr(){return typeof window<"u"}function Je(t){return Ba(t)?(t.nodeName||"").toLowerCase():"#document"}function Q(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Ae(t){var e;return(e=(Ba(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ba(t){return Mr()?t instanceof Node||t instanceof Q(t).Node:!1}function le(t){return Mr()?t instanceof Element||t instanceof Q(t).Element:!1}function Re(t){return Mr()?t instanceof HTMLElement||t instanceof Q(t).HTMLElement:!1}function Ua(t){return!Mr()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Q(t).ShadowRoot}function Yt(t){let{overflow:e,overflowX:r,overflowY:n,display:i}=de(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&i!=="inline"&&i!=="contents"}function $a(t){return/^(table|td|th)$/.test(Je(t))}function Qt(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}var iu=/transform|translate|scale|rotate|perspective|filter/,su=/paint|layout|strict|content/,Qe=t=>!!t&&t!=="none",xn;function xt(t){let e=le(t)?de(t):t;return Qe(e.transform)||Qe(e.translate)||Qe(e.scale)||Qe(e.rotate)||Qe(e.perspective)||!Dr()&&(Qe(e.backdropFilter)||Qe(e.filter))||iu.test(e.willChange||"")||su.test(e.contain||"")}function Ha(t){let e=Ne(t);for(;Re(e)&&!vt(e);){if(xt(e))return e;if(Qt(e))return null;e=Ne(e)}return null}function Dr(){return xn==null&&(xn=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),xn}function vt(t){return/^(html|body|#document)$/.test(Je(t))}function de(t){return Q(t).getComputedStyle(t)}function Jt(t){return le(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Ne(t){if(Je(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Ua(t)&&t.host||Ae(t);return Ua(e)?e.host:e}function za(t){let e=Ne(t);return vt(e)?(t.ownerDocument||t).body:Re(e)&&Yt(e)?e:za(e)}function Fr(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);let i=za(t),s=i===((n=t.ownerDocument)==null?void 0:n.body),a=Q(i);if(s){let l=Ur(a);return e.concat(a,a.visualViewport||[],Yt(i)?i:[],l&&r?Fr(l):[])}else return e.concat(i,Fr(i,[],r))}function Ur(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Wa(t){let e=de(t),r=parseFloat(e.width)||0,n=parseFloat(e.height)||0,i=Re(t),s=i?t.offsetWidth:r,a=i?t.offsetHeight:n,l=Zt(r)!==s||Zt(n)!==a;return l&&(r=s,n=a),{width:r,height:n,$:l}}function ja(t){return le(t)?t:t.contextElement}function St(t){let e=ja(t);if(!Re(e))return ye(1);let r=e.getBoundingClientRect(),{width:n,height:i,$:s}=Wa(e),a=(s?Zt(r.width):r.width)/n,l=(s?Zt(r.height):r.height)/i;return(!a||!Number.isFinite(a))&&(a=1),(!l||!Number.isFinite(l))&&(l=1),{x:a,y:l}}var au=ye(0);function Ka(t){let e=Q(t);return!Dr()||!e.visualViewport?au:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function cu(t,e,r){return e===void 0&&(e=!1),!!r&&e&&r===Q(t)}function Xt(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);let i=t.getBoundingClientRect(),s=ja(t),a=ye(1);e&&(n?le(n)&&(a=St(n)):a=St(t));let l=cu(s,r,n)?Ka(s):ye(0),d=(i.left+l.x)/a.x,p=(i.top+l.y)/a.y,h=i.width/a.x,f=i.height/a.y;if(s&&n){let m=Q(s),b=le(n)?Q(n):n,v=m,C=Ur(v);for(;C&&b!==v;){let S=St(C),O=C.getBoundingClientRect(),R=de(C),y=O.left+(C.clientLeft+parseFloat(R.paddingLeft))*S.x,g=O.top+(C.clientTop+parseFloat(R.paddingTop))*S.y;d*=S.x,p*=S.y,h*=S.x,f*=S.y,d+=y,p+=g,v=Q(C),C=Ur(v)}}return Ye({width:h,height:f,x:d,y:p})}function Br(t,e){let r=Jt(t).scrollLeft;return e?e.left+r:Xt(Ae(t)).left+r}function qa(t,e){let r=t.getBoundingClientRect(),n=r.left+e.scrollLeft-Br(t,r),i=r.top+e.scrollTop;return{x:n,y:i}}function lu(t){let{elements:e,rect:r,offsetParent:n,strategy:i}=t,s=i==="fixed",a=Ae(n),l=e?Qt(e.floating):!1;if(n===a||l&&s)return r;let d={scrollLeft:0,scrollTop:0},p=ye(1),h=ye(0),f=Re(n);if((f||!s)&&((Je(n)!=="body"||Yt(a))&&(d=Jt(n)),f)){let b=Xt(n);p=St(n),h.x=b.x+n.clientLeft,h.y=b.y+n.clientTop}let m=a&&!f&&!s?qa(a,d):ye(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 du(t){return t.getClientRects?Array.from(t.getClientRects()):[]}function uu(t){let e=Jt(t),r=t.ownerDocument.body,n=ge(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=ge(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),s=-e.scrollLeft+Br(t),a=-e.scrollTop;return de(r).direction==="rtl"&&(s+=ge(t.clientWidth,r.clientWidth)-n),{width:n,height:i,x:s,y:a}}var pu=25;function fu(t,e,r){r===void 0&&(r="viewport");let n=r==="layoutViewport",i=Q(t),s=Ae(t),a=i.visualViewport,l=s.clientWidth,d=s.clientHeight,p=0,h=0;if(a){let m=!Dr()||e==="fixed";n?m||(p=-a.offsetLeft,h=-a.offsetTop):(l=a.width,d=a.height,m&&(p=a.offsetLeft,h=a.offsetTop))}if(Br(s)<=0){let m=s.ownerDocument,b=m.body,v=getComputedStyle(b),C=m.compatMode==="CSS1Compat"&&parseFloat(v.marginLeft)+parseFloat(v.marginRight)||0,S=Math.abs(s.clientWidth-b.clientWidth-C),O=getComputedStyle(s).scrollbarGutter==="stable both-edges"?S/2:S;O<=pu&&(l-=O)}return{width:l,height:d,x:p,y:h}}function hu(t,e){let r=Xt(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,s=St(t),a=t.clientWidth*s.x,l=t.clientHeight*s.y,d=i*s.x,p=n*s.y;return{width:a,height:l,x:d,y:p}}function Va(t,e,r){let n;if(e==="viewport"||e==="layoutViewport")n=fu(t,r,e);else if(e==="document")n=uu(Ae(t));else if(le(e))n=hu(e,r);else{let i=Ka(t);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return Ye(n)}function mu(t,e){let r=e.get(t);if(r)return r;let n=Fr(t,[],!1).filter(l=>le(l)&&Je(l)!=="body"),i=null,s=de(t).position==="fixed",a=s?Ne(t):t;for(;le(a)&&!vt(a);){let l=de(a),d=xt(a),p=i?i.position:s?"fixed":"";!d&&(p==="fixed"||p==="absolute"&&l.position==="static")?n=n.filter(f=>f!==a):i=l,a=Ne(a)}return e.set(t,n),n}function gu(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t,a=[...r==="clippingAncestors"?Qt(e)?[]:mu(e,this._c):[].concat(r),n],l=Va(e,a[0],i),d=l.top,p=l.right,h=l.bottom,f=l.left;for(let m=1;m<a.length;m++){let b=Va(e,a[m],i);d=ge(b.top,d),p=qe(b.right,p),h=qe(b.bottom,h),f=ge(b.left,f)}return{width:p-f,height:h-d,x:f,y:d}}function yu(t){let{width:e,height:r}=Wa(t);return{width:e,height:r}}function bu(t,e,r){let n=Re(e),i=Ae(e),s=r==="fixed",a=Xt(t,!0,s,e),l={scrollLeft:0,scrollTop:0},d=ye(0);if((n||!s)&&((Je(e)!=="body"||Yt(i))&&(l=Jt(e)),n)){let m=Xt(e,!0,s,e);d.x=m.x+e.clientLeft,d.y=m.y+e.clientTop}!n&&i&&(d.x=Br(i));let p=i&&!n&&!s?qa(i,l):ye(0),h=a.left+l.scrollLeft-d.x-p.x,f=a.top+l.scrollTop-d.y-p.y;return{x:h,y:f,width:a.width,height:a.height}}function vn(t){return de(t).position==="static"}function Ga(t,e){if(!Re(t)||de(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return Ae(t)===r&&(r=r.ownerDocument.body),r}function Za(t,e){let r=Q(t);if(Qt(t))return r;if(!Re(t)){let i=Ne(t);for(;i&&!vt(i);){if(le(i)&&!vn(i))return i;i=Ne(i)}return r}let n=Ga(t,e);for(;n&&$a(n)&&vn(n);)n=Ga(n,e);return n&&vt(n)&&vn(n)&&!xt(n)?r:n||Ha(t)||r}var xu=async function(t){let e=this.getOffsetParent||Za,r=this.getDimensions,n=await r(t.floating);return{reference:bu(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function vu(t){return de(t).direction==="rtl"}var Et={convertOffsetParentRelativeRectToViewportRelativeRect:lu,getDocumentElement:Ae,getClippingRect:gu,getOffsetParent:Za,getElementRects:xu,getClientRects:du,getDimensions:yu,getScale:St,isElement:le,isRTL:vu};var Ya=Fa,Sn=Na,Qa=Ma;var Ja=Da;var En=(t,e,r)=>{let n=new Map,i=r??{},s={...Et,...i.platform,_c:n};return Pa(t,e,{...i,platform:s})};function wn(t){return Su(t)}function Cn(t){return t.assignedSlot?t.assignedSlot:t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}function Su(t){for(let e=t;e;e=Cn(e))if(e instanceof Element&&getComputedStyle(e).display==="none")return null;for(let e=Cn(t);e;e=Cn(e)){if(!(e instanceof Element))continue;let r=getComputedStyle(e);if(r.display!=="contents"&&(r.position!=="static"||xt(r)||e.tagName==="BODY"))return e}return null}async function Eu(t,e,r){let n;return typeof r=="object"?n=r:n={placement:r},En(t,e,{strategy:n.strategy,platform:{...Et,getOffsetParent:i=>Et.getOffsetParent(i,wn)},middleware:[Qa({crossAxis:!0}),Sn({allowedPlacements:[n.placement]})]})}async function Cu(t,e,r,n,i,s,a){let l,d;return typeof r=="object"?(l=r.placement,n=r.allowedPlacements,i=r.strategy,s=r.maxHeightCssVariable,d=r.maxWidthCssVariable,a=r.offsetValue):l=r,En(t,e,{placement:l,strategy:i,platform:{...Et,getOffsetParent:p=>Et.getOffsetParent(p,wn)},middleware:[Ya(a??4),Sn({allowedPlacements:n}),Ja({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 An={};k(An,{isSlotEmptyOrWithoutContent:()=>wu});var wu=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 Tn={};k(Tn,{FtdsBase:()=>kn,toFtdsBase:()=>ic});var Ln={};k(Ln,{ExportpartsUpdatedEvent:()=>Xe,FtLitElement:()=>q});var Rn={};k(Rn,{ScopedRegistryLitElement:()=>er});var er=class extends Ee{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 Dt(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){Gt(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 In={};k(In,{shadowQuerySelector:()=>_n,shadowQuerySelectorAll:()=>Ou});function _n(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 Ou(t,e,...r){let n=[...t.querySelectorAll(e)];for(let i of r)n=n.flatMap(s=>{var a,l;return[...(l=(a=s.shadowRoot)===null||a===void 0?void 0:a.querySelectorAll(i))!==null&&l!==void 0?l:[]]});return n}var Ct=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 l=t.length-1;l>=0;l--)(a=t[l])&&(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},rc,Xa=Symbol("constructorPrototype"),ec=Symbol("constructorName"),oc=Symbol("exportpartsDebouncer"),tc=Symbol("dynamicDependenciesLoaded"),Xe=class t extends CustomEvent{constructor(){super(t.eventName,{bubbles:!0})}};Xe.eventName="exportparts-updated";var q=class extends er{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[rc]=new Oe(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[oc].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[ec]=this.constructor.name,this[Xa]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ec]&&Object.setPrototypeOf(this,this[Xa])}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[tc]||(r[tc]=!0,this.importDynamicDependencies()),(e=this.shadowRoot)===null||e===void 0||e.addEventListener(Xe.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.shadowRoot)===null||e===void 0||e.removeEventListener(Xe.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 Xe)})}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=_n(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,l;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 b=(a=(n=m.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&a!==void 0?a:[],v=(l=(i=m.getAttribute("exportparts"))===null||i===void 0?void 0:i.split(",").map(S=>S.split(":")[1]))!==null&&l!==void 0?l:[],C=[...b,...v].filter(d).map(S=>S.trim());for(let S of C)h.add(S)}if(h.size===0){this.exportparts=void 0;return}let f=[...h.values()].flatMap(m=>p.map(b=>`${m}:${b}--${m}`));this.exportparts=[...this.part,...f].join(", ")}};rc=oc;Ct([w()],q.prototype,"exportpartsPrefix",void 0);Ct([ce([])],q.prototype,"exportpartsPrefixes",void 0);Ct([w({reflect:!0})],q.prototype,"exportparts",void 0);Ct([w()],q.prototype,"customStylesheet",void 0);Ct([w()],q.prototype,"elementToFocus",void 0);Ct([z()],q.prototype,"useAdoptedStyleSheets",void 0);var nc=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 l=t.length-1;l>=0;l--)(a=t[l])&&(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},ic=H(Symbol("toFtdsBase"),function(t){class e extends t{constructor(){super(...arguments),this.size=qt.medium,this.family=Kt.neutral}getDesignSystemBaseClasses(){return{[ln(this.family)]:!0,[dn(this.size)]:!0}}}return nc([w()],e.prototype,"size",void 0),nc([w()],e.prototype,"family",void 0),e}),kn=class extends ic(q){};var sc={};var Fn={};k(Fn,{highlightHtml:()=>Nn,highlightHtmlColorCssVariable:()=>ac,highlightHtmlStyles:()=>Ru});var et=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,l=0;s=Array.prototype.slice.call(s);let d=()=>{--a<=0&&i(l)};a||d(),s.forEach(p=>{t.matches(p,this.exclude)?d():this.onIframeReady(p,h=>{r(p)&&(l++,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),l=Node.DOCUMENT_POSITION_FOLLOWING;if(a&l)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((l,d)=>{l.val===n&&(s=d,a=l.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),l=[],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,l),m=>{this.createInstanceOnIframe(m).forEachNode(e,b=>d.push(b),i)}),d.push(p);d.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(l,e,n,i),s()}forEachNode(e,r,n,i=()=>{}){let s=this.getContexts(),a=s.length;a||i(),s.forEach(l=>{let d=()=>{this.iterateThroughNodes(e,l,r,n,()=>{--a<=0&&i()})};this.iframes?this.waitForIframes(l,d):d()})}};var tr=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 et(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],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a);l!==""&&d!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${n}`),i+`(${this.processSynomyms(l)}|${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(l=>{a+=`|${this.escapeStr(l)}`}),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:l}=this.callNoMatchOnInvalidRanges(i,n);l&&(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,l=r-a,d=parseInt(e.start,10)-l;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 et.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),l=document.createElement(i);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=s.textContent,s.parentNode.replaceChild(l,s),a}wrapRangeInMappedTextNode(e,r,n,i,s){e.nodes.every((a,l)=>{let d=e.nodes[l+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((b,v)=>{v>=l&&(e.nodes[v].start>0&&v!==l&&(e.nodes[v].start-=h),e.nodes[v].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(l=>{l.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(l=>{let d;for(;(d=e.exec(l.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(l,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((l,d)=>{let{start:p,end:h,valid:f}=this.checkWhitespaceRanges(l,a,s.value);f&&this.wrapRangeInMappedTextNode(s,p,h,m=>r(m,l,s.value.substring(p,h),d),m=>{n(m,l)})}),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,l)=>this.opt.filter(l,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),l=this.opt.caseSensitive?"":"i",d=p=>{let h=new RegExp(this.createRegExp(p),`gm${l}`),f=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,b)=>this.opt.filter(b,p,n,f),m=>{f++,n++,this.opt.each(m)},()=>{f===0&&this.opt.noMatch(p),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,l,d)=>this.opt.filter(s,a,l,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=et.matches(n,r),s=this.matchesExclude(n);return!i||s?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function Pn(t){let e=new tr(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 Au=Pn,ac=o.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),Ru=D`
5
5
  .highlight-html-match {
6
6
  background: ${ac};
7
7
  }
@@ -44,7 +44,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
44
44
  input::-webkit-search-results-decoration {
45
45
  display: none;
46
46
  }
47
- `;var cc={};var Dn={};k(Dn,{ParametrizedLabelResolver:()=>rr});var rr=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 oi={};k(oi,{FtCommandQueue:()=>or,FtLitElementRedux:()=>_e,FtReduxStore:()=>Ue,FtStateManager:()=>Rt,ReduxWatcher:()=>ur,clearAllStores:()=>_p,isFtReduxStore:()=>wt,redux:()=>Fe,reduxEventListener:()=>Pu,reduxReactive:()=>Tu,watch:()=>Ip,withRedux:()=>lc});var Tu=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},Fe=t=>{let e=t??{};return(r,n)=>{var i;let s={hasChanged:he,attribute:!1,...e};O(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:(l=>l[n]),store:e.store})}},Pu=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)};var or=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 wt(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var nr=Symbol("internalReduxEventsUnsubscribers"),Me=Symbol("internalStoresUnsubscribers"),tt=Symbol("internalStores"),lc=H(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(l=>a.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[tt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[tt].values()][0]}getStore(a){return a==null?this.getUnnamedStore():this[tt].get(a)}addStore(a,l){var d;l=(d=l??a.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(l),this[tt].set(l,a),this.subscribeToStore(l,a),this.updateFromStores()}removeStore(a){let l=typeof a=="string"?a:a.name;this.unsubscribeFromStore(l),this[tt].delete(l)}setupStores(){this.unsubscribeFromStores(),this[tt].forEach((a,l)=>this.subscribeToStore(l,a)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((a,l)=>{let d=this.constructor.getPropertyOptions(l);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:l)){let p=this.getStore(a.store);p&&(a.store?this[Me].has(a.store):this[Me].size>0)&&(this[l]=a.selector(p.getState(),this))}})}subscribeToStore(a,l){var d;this[Me].set(a,l.subscribe(()=>this.updateFromStores())),this[nr].set(a,[]),wt(l)&&l.eventBus&&((d=this.reduxConstructor.reduxEventListeners)===null||d===void 0||d.forEach((p,h)=>{if(typeof this[h]=="function"&&(!p.store||l.name===p.store)){let f=m=>this[h](m);l.addEventListener(p.eventName,f),this[nr].get(a).push(()=>l.removeEventListener(p.eventName,f))}})),this.onStoreAvailable(a)}unsubscribeFromStores(){this[Me].forEach((a,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(a){var l;this[Me].has(a)&&this[Me].get(a)(),this[Me].delete(a),(l=this[nr].get(a))===null||l===void 0||l.forEach(d=>d()),this[nr].delete(a)}onStoreAvailable(a){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=Me,r=tt,n=nr,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),_e=class extends lc(q){};function W(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 Nu=typeof Symbol=="function"&&Symbol.observable||"@@observable",dc=Nu,Un=()=>Math.random().toString(36).substring(7).split("").join("."),Fu={INIT:`@@redux/INIT${Un()}`,REPLACE:`@@redux/REPLACE${Un()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Un()}`},$r=Fu;function Hr(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 Bn(t,e,r){if(typeof t!="function")throw new Error(W(2));if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(W(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(W(1));return r(Bn)(t,e)}let n=t,i=e,s=new Map,a=s,l=0,d=!1;function p(){a===s&&(a=new Map,s.forEach((S,w)=>{a.set(w,S)}))}function h(){if(d)throw new Error(W(3));return i}function f(S){if(typeof S!="function")throw new Error(W(4));if(d)throw new Error(W(5));let w=!0;p();let L=l++;return a.set(L,S),function(){if(w){if(d)throw new Error(W(6));w=!1,p(),a.delete(L),s=null}}}function m(S){if(!Hr(S))throw new Error(W(7));if(typeof S.type>"u")throw new Error(W(8));if(typeof S.type!="string")throw new Error(W(17));if(d)throw new Error(W(9));try{d=!0,i=n(i,S)}finally{d=!1}return(s=a).forEach(L=>{L()}),S}function b(S){if(typeof S!="function")throw new Error(W(10));n=S,m({type:$r.REPLACE})}function v(){let S=f;return{subscribe(w){if(typeof w!="object"||w===null)throw new Error(W(11));function L(){let g=w;g.next&&g.next(h())}return L(),{unsubscribe:S(L)}},[dc](){return this}}}return m({type:$r.INIT}),{dispatch:m,subscribe:f,getState:h,replaceReducer:b,[dc]:v}}function Mu(t){Object.keys(t).forEach(e=>{let r=t[e];if(typeof r(void 0,{type:$r.INIT})>"u")throw new Error(W(12));if(typeof r(void 0,{type:$r.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(W(13))})}function $n(t){let e=Object.keys(t),r={};for(let a=0;a<e.length;a++){let l=e[a];typeof t[l]=="function"&&(r[l]=t[l])}let n=Object.keys(r),i,s;try{Mu(r)}catch(a){s=a}return function(l={},d){if(s)throw s;let p=!1,h={};for(let f=0;f<n.length;f++){let m=n[f],b=r[m],v=l[m],C=b(v,d);if(typeof C>"u"){let S=d&&d.type;throw new Error(W(14))}h[m]=C,p=p||C!==v}return p=p||n.length!==Object.keys(l).length,p?h:l}}function ir(...t){return t.length===0?e=>e:t.length===1?t[0]:t.reduce((e,r)=>(...n)=>e(r(...n)))}function uc(...t){return e=>(r,n)=>{let i=e(r,n),s=()=>{throw new Error(W(15))},a={getState:i.getState,dispatch:(d,...p)=>s(d,...p)},l=t.map(d=>d(a));return s=ir(...l)(i.dispatch),{...i,dispatch:s}}}function pc(t){return Hr(t)&&"type"in t&&typeof t.type=="string"}var Sc=Symbol.for("immer-nothing"),fc=Symbol.for("immer-draftable"),j=Symbol.for("immer-state");function ue(t,...e){throw new Error(`[Immer] minified error nr: ${t}. Full error at: https://bit.ly/3cXEKWf`)}var ee=Object,At=ee.getPrototypeOf,Wr="constructor",Qr="prototype",Gn="configurable",jr="enumerable",Vr="writable",sr="value",xe=t=>!!t&&!!t[j];function te(t){return t?Ec(t)||Xr(t)||!!t[fc]||!!t[Wr]?.[fc]||eo(t)||to(t):!1}var Du=ee[Qr][Wr].toString(),hc=new WeakMap;function Ec(t){if(!t||!Jn(t))return!1;let e=At(t);if(e===null||e===ee[Qr])return!0;let r=ee.hasOwnProperty.call(e,Wr)&&e[Wr];if(r===Object)return!0;if(!Ot(r))return!1;let n=hc.get(r);return n===void 0&&(n=Function.toString.call(r),hc.set(r,n)),n===Du}function Jr(t,e,r=!0){lr(t)===0?(r?Reflect.ownKeys(t):ee.keys(t)).forEach(i=>{e(i,t[i],t)}):t.forEach((n,i)=>e(i,n,t))}function lr(t){let e=t[j];return e?e.type_:Xr(t)?1:eo(t)?2:to(t)?3:0}var Hn=(t,e,r=lr(t))=>r===2?t.has(e):ee[Qr].hasOwnProperty.call(t,e),Wn=(t,e,r=lr(t))=>r===2?t.get(e):t[e],Kr=(t,e,r,n=lr(t))=>{n===2?t.set(e,r):n===3?t.add(r):t[e]=r};function Uu(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}var Xr=Array.isArray,eo=t=>t instanceof Map,to=t=>t instanceof Set,Jn=t=>typeof t=="object",Ot=t=>typeof t=="function",zn=t=>typeof t=="boolean";function Bu(t){let e=+t;return Number.isInteger(e)&&String(e)===t}var Ie=t=>t.copy_||t.base_;var Xn=t=>t.modified_?t.copy_:t.base_;function jn(t,e){if(eo(t))return new Map(t);if(to(t))return new Set(t);if(Xr(t))return Array[Qr].slice.call(t);let r=Ec(t);if(e===!0||e==="class_only"&&!r){let n=ee.getOwnPropertyDescriptors(t);delete n[j];let i=Reflect.ownKeys(n);for(let s=0;s<i.length;s++){let a=i[s],l=n[a];l[Vr]===!1&&(l[Vr]=!0,l[Gn]=!0),(l.get||l.set)&&(n[a]={[Gn]:!0,[Vr]:!0,[jr]:l[jr],[sr]:t[a]})}return ee.create(At(t),n)}else{let n=At(t);if(n!==null&&r)return{...t};let i=ee.create(n);return ee.assign(i,t)}}function ro(t,e=!1){return oo(t)||xe(t)||!te(t)||(lr(t)>1&&ee.defineProperties(t,{set:zr,add:zr,clear:zr,delete:zr}),ee.freeze(t),e&&Jr(t,(r,n)=>{ro(n,!0)},!1)),t}function $u(){ue(2)}var zr={[sr]:$u};function oo(t){return t===null||!Jn(t)?!0:ee.isFrozen(t)}var qr="MapSet",Kn="Patches",mc="ArrayMethods",Cc={};function rt(t){let e=Cc[t];return e||ue(0,t),e}var gc=t=>!!Cc[t];var ar,wc=()=>ar,Hu=(t,e)=>({drafts_:[],parent_:t,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:gc(qr)?rt(qr):void 0,arrayMethodsPlugin_:gc(mc)?rt(mc):void 0});function yc(t,e){e&&(t.patchPlugin_=rt(Kn),t.patches_=[],t.inversePatches_=[],t.patchListener_=e)}function qn(t){Zn(t),t.drafts_.forEach(zu),t.drafts_=null}function Zn(t){t===ar&&(ar=t.parent_)}var bc=t=>ar=Hu(ar,t);function zu(t){let e=t[j];e.type_===0||e.type_===1?e.revoke_():e.revoked_=!0}function xc(t,e){e.unfinalizedDrafts_=e.drafts_.length;let r=e.drafts_[0];if(t!==void 0&&t!==r){r[j].modified_&&(qn(e),ue(4)),te(t)&&(t=vc(e,t));let{patchPlugin_:i}=e;i&&i.generateReplacementPatches_(r[j].base_,t,e)}else t=vc(e,r);return Vu(e,t,!0),qn(e),e.patches_&&e.patchListener_(e.patches_,e.inversePatches_),t!==Sc?t:void 0}function vc(t,e){if(oo(e))return e;let r=e[j];if(!r)return Zr(e,t.handledSet_,t);if(!no(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);Rc(r,t)}return r.copy_}function Vu(t,e,r=!1){!t.parent_&&t.immer_.autoFreeze_&&t.canAutoFreeze_&&ro(e,r)}function Oc(t){t.finalized_=!0,t.scope_.unfinalizedDrafts_--}var no=(t,e)=>t.scope_===e,Gu=[];function Ac(t,e,r,n){let i=Ie(t),s=t.type_;if(n!==void 0&&Wn(i,n,s)===e){Kr(i,n,r,s);return}if(!t.draftLocations_){let l=t.draftLocations_=new Map;Jr(i,(d,p)=>{if(xe(p)){let h=l.get(p)||[];h.push(d),l.set(p,h)}})}let a=t.draftLocations_.get(e)??Gu;for(let l of a)Kr(i,l,r,s)}function Wu(t,e,r){t.callbacks_.push(function(i){let s=e;if(!s||!no(s,i))return;i.mapSetPlugin_?.fixSetContents(s);let a=Xn(s);Ac(t,s.draft_??s,a,r),Rc(s,i)})}function Rc(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)}Oc(t)}}function ju(t,e,r){let{scope_:n}=t;if(xe(r)){let i=r[j];no(i,n)&&i.callbacks_.push(function(){Gr(t);let a=Xn(i);Ac(t,r,a,e)})}else te(r)&&t.callbacks_.push(function(){let s=Ie(t);t.type_===3?s.has(r)&&Zr(r,n.handledSet_,n):Wn(s,e,t.type_)===r&&n.drafts_.length>1&&(t.assigned_.get(e)??!1)===!0&&t.copy_&&Zr(Wn(t.copy_,e,t.type_),n.handledSet_,n)})}function Zr(t,e,r){return!r.immer_.autoFreeze_&&r.unfinalizedDrafts_<1||xe(t)||e.has(t)||!te(t)||oo(t)||(e.add(t),Jr(t,(n,i)=>{if(xe(i)){let s=i[j];if(no(s,r)){let a=Xn(s);Kr(t,n,a,t.type_),Oc(s)}}else te(i)&&Zr(i,e,r)})),t}function Ku(t,e){let r=Xr(t),n={type_:r?1:0,scope_:e?e.scope_:wc(),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=Yr;r&&(i=[n],s=cr);let{revoke:a,proxy:l}=Proxy.revocable(i,s);return n.draft_=l,n.revoke_=a,[l,n]}var Yr={get(t,e){if(e===j)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=Ie(t);if(!Hn(i,e,t.type_))return Zu(t,i,e);let s=i[e];if(t.finalized_||!te(s)||n&&t.operationMethod&&r?.isMutatingArrayMethod(t.operationMethod)&&Bu(e))return s;if(s===Vn(t.base_,e)||qu(t,e,s)){Gr(t);let a=t.type_===1?+e:e,l=Qn(t.scope_,s,t,a);return t.copy_[a]=l}return s},has(t,e){return e in Ie(t)},ownKeys(t){return Reflect.ownKeys(Ie(t))},set(t,e,r){let n=_c(Ie(t),e);if(n?.set)return n.set.call(t.draft_,r),!0;if(!t.modified_){let i=Vn(Ie(t),e),s=i?.[j];if(s&&s.base_===r)return t.copy_[e]=r,t.assigned_.delete(e),!0;if(Uu(r,i)&&(r!==void 0||Hn(t.base_,e,t.type_)))return!0;Gr(t),Yn(t)}return t.copy_[e]===r&&(r!==void 0||Hn(t.copy_,e,t.type_))||Number.isNaN(r)&&Number.isNaN(t.copy_[e])||(t.copy_[e]=r,t.assigned_.set(e,!0),ju(t,e,r)),!0},deleteProperty(t,e){return Gr(t),Vn(t.base_,e)!==void 0||e in t.base_?(t.assigned_.set(e,!1),Yn(t)):t.assigned_.delete(e),t.copy_&&delete t.copy_[e],!0},getOwnPropertyDescriptor(t,e){let r=Ie(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{[Vr]:!0,[Gn]:t.type_!==1||e!=="length",[jr]:n[jr],[sr]:r[e]}},defineProperty(){ue(11)},getPrototypeOf(t){return At(t.base_)},setPrototypeOf(){ue(12)}},cr={};for(let t in Yr){let e=Yr[t];cr[t]=function(){let r=arguments;return r[0]=r[0][0],e.apply(this,r)}}cr.deleteProperty=function(t,e){return cr.set.call(this,t,e,void 0)};cr.set=function(t,e,r){return Yr.set.call(this,t[0],e,r,t[0])};function Vn(t,e){let r=t[j];return(r?Ie(r):t)[e]}function qu(t,e,r){return t.type_!==1||!t.allIndicesReassigned_||t.assigned_?.get(e)||!te(r)||r[j]?!1:t.baseRefs_.has(r)}function Zu(t,e,r){let n=_c(e,r);return n?sr in n?n[sr]:n.get?.call(t.draft_):void 0}function _c(t,e){if(!(e in t))return;let r=At(t);for(;r;){let n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=At(r)}}function Yn(t){t.modified_||(t.modified_=!0,t.parent_&&Yn(t.parent_))}function Gr(t){t.copy_||(t.assigned_=new Map,t.copy_=jn(t.base_,t.scope_.immer_.useStrictShallowCopy_))}var Yu=class{constructor(t){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,r,n)=>{if(Ot(e)&&!Ot(r)){let s=r;r=e;let a=this;return function(d=s,...p){return a.produce(d,h=>r.call(this,h,...p))}}Ot(r)||ue(6),n!==void 0&&!Ot(n)&&ue(7);let i;if(te(e)){let s=bc(this),a=Qn(s,e,void 0),l=!0;try{i=r(a),l=!1}finally{l?qn(s):Zn(s)}return yc(s,n),xc(i,s)}else if(!e||!Jn(e)){if(i=r(e),i===void 0&&(i=e),i===Sc&&(i=void 0),this.autoFreeze_&&ro(i,!0),n){let s=[],a=[];rt(Kn).generateReplacementPatches_(e,i,{patches_:s,inversePatches_:a}),n(s,a)}return i}else ue(1,e)},this.produceWithPatches=(e,r)=>{if(Ot(e))return(a,...l)=>this.produceWithPatches(a,d=>e(d,...l));let n,i;return[this.produce(e,r,(a,l)=>{n=a,i=l}),n,i]},zn(t?.autoFreeze)&&this.setAutoFreeze(t.autoFreeze),zn(t?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(t.useStrictShallowCopy),zn(t?.useStrictIteration)&&this.setUseStrictIteration(t.useStrictIteration)}createDraft(t){te(t)||ue(8),xe(t)&&(t=Ic(t));let e=bc(this),r=Qn(e,t,void 0);return r[j].isManual_=!0,Zn(e),r}finishDraft(t,e){let r=t&&t[j];(!r||!r.isManual_)&&ue(9);let{scope_:n}=r;return yc(n,e),xc(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=rt(Kn).applyPatches_;return xe(t)?n(t,e):this.produce(t,i=>n(i,e))}};function Qn(t,e,r,n){let[i,s]=eo(e)?rt(qr).proxyMap_(e,r):to(e)?rt(qr).proxySet_(e,r):Ku(e,r);return(r?.scope_??wc()).drafts_.push(i),s.callbacks_=r?.callbacks_??[],s.key_=n,r&&n!==void 0?Wu(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 Ic(t){return xe(t)||ue(10,t),Lc(t)}function Lc(t){if(!te(t)||oo(t))return t;let e=t[j],r,n=!0;if(e){if(!e.modified_)return e.base_;e.finalized_=!0,r=jn(t,e.scope_.immer_.useStrictShallowCopy_),n=e.scope_.immer_.shouldUseStrictIteration()}else r=jn(t,!0);return Jr(r,(i,s)=>{Kr(r,i,Lc(s))},n),e&&(e.finalized_=!1),r}var Qu=globalThis.Iterator,Ex=typeof Qu?.from=="function";var Ju=new Yu,ei=Ju.produce;function kc(t){return({dispatch:r,getState:n})=>i=>s=>typeof s=="function"?s(r,n,t):i(s)}var Tc=kc(),Pc=kc;var Xu=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ir:ir.apply(null,arguments)};typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;var ep=t=>t&&typeof t.match=="function";function De(t,e){function r(...n){if(e){let i=e(...n);if(!i)throw new Error(ve(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=>pc(n)&&n.type===t,r}var Uc=class dr extends Array{constructor(...e){super(...e),Object.setPrototypeOf(this,dr.prototype)}static get[Symbol.species](){return dr}concat(...e){return super.concat.apply(this,e)}prepend(...e){return e.length===1&&Array.isArray(e[0])?new dr(...e[0].concat(this)):new dr(...e.concat(this))}};function Nc(t){return te(t)?ei(t,()=>{}):t}function io(t,e,r){return t.has(e)?t.get(e):t.set(e,r(e)).get(e)}function tp(t){return typeof t=="boolean"}var rp=()=>function(e){let{thunk:r=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:s=!0}=e??{},a=new Uc;return r&&(tp(r)?a.push(Tc):a.push(Pc(r.extraArgument))),a},op="RTK_autoBatch";var Fc=t=>e=>{setTimeout(e,t)},np=(t,e)=>r=>{let n=!1,i,s,a=()=>{n||(n=!0,cancelAnimationFrame(i),clearTimeout(s),r())};i=t(a),s=setTimeout(a,e)},ip=(t={type:"raf"})=>e=>(...r)=>{let n=e(...r),i=!0,s=!1,a=!1,l=new Set,d=t.type==="tick"?queueMicrotask:t.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?np(window.requestAnimationFrame,100):Fc(10):t.type==="callback"?t.queueNotification:Fc(t.timeout),p=()=>{a=!1,s&&(s=!1,l.forEach(h=>h()))};return Object.assign({},n,{subscribe(h){let f=()=>i&&h(),m=n.subscribe(f);return l.add(h),()=>{m(),l.delete(h)}},dispatch(h){try{return i=!h?.meta?.[op],s=!i,s&&(a||(a=!0,d(p))),n.dispatch(h)}finally{i=!0}}})},sp=t=>function(r){let{autoBatch:n=!0}=r??{},i=new Uc(t);return n&&i.push(ip(typeof n=="object"?n:void 0)),i};function Bc(t){let e=rp(),{reducer:r=void 0,middleware:n,devTools:i=!0,duplicateMiddlewareCheck:s=!0,preloadedState:a=void 0,enhancers:l=void 0}=t||{},d;if(typeof r=="function")d=r;else if(Hr(r))d=$n(r);else throw new Error(ve(1));let p;typeof n=="function"?p=n(e):p=e();let h=ir;i&&(h=Xu({trace:!1,...typeof i=="object"&&i}));let f=uc(...p),m=sp(f),b=typeof l=="function"?l(m):m(),v=h(...b);return Bn(d,a,v)}function $c(t){let e={},r=[],n,i={addCase(s,a){let l=typeof s=="string"?s:s.type;if(!l)throw new Error(ve(28));if(l in e)throw new Error(ve(29));return e[l]=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 ap(t){return typeof t=="function"}function cp(t,e){let[r,n,i]=$c(e),s;if(ap(t))s=()=>Nc(t());else{let l=Nc(t);s=()=>l}function a(l=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(xe(h)){let m=f(h,d);return m===void 0?h:m}else{if(te(h))return ei(h,m=>f(m,d));{let m=f(h,d);if(m===void 0){if(h===null)return h;throw new Error(ve(9))}return m}}return h},l)}return a.getInitialState=s,a}var lp=(t,e)=>ep(t)?t.match(e):t(e);function dp(...t){return e=>t.some(r=>lp(r,e))}var up="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",pp=(t=21)=>{let e="",r=t;for(;r--;)e+=up[Math.random()*64|0];return e},fp=["name","message","stack","code"],ti=class{payload;meta;_type;constructor(t,e){this.payload=t,this.meta=e}},Mc=class{payload;meta;_type;constructor(t,e){this.payload=t,this.meta=e}},hp=t=>{if(typeof t=="object"&&t!==null){let e={};for(let r of fp)typeof t[r]=="string"&&(e[r]=t[r]);return e}return{message:String(t)}},Dc="External signal was aborted",mp=(()=>{function t(e,r,n){let i=De(e+"/fulfilled",(d,p,h,f)=>({payload:d,meta:{...f||{},arg:h,requestId:p,requestStatus:"fulfilled"}})),s=De(e+"/pending",(d,p,h)=>({payload:void 0,meta:{...h||{},arg:p,requestId:d,requestStatus:"pending"}})),a=De(e+"/rejected",(d,p,h,f,m)=>({payload:f,error:(n&&n.serializeError||hp)(d||"Rejected"),meta:{...m||{},arg:h,requestId:p,rejectedWithValue:f!==void 0,requestStatus:"rejected",aborted:d?.name==="AbortError",condition:d?.name==="ConditionError"}}));function l(d,{signal:p}={}){return(h,f,m)=>{let b=n?.idGenerator?n.idGenerator(d):pp(),v=new AbortController,C,S;function w(y){S=y,v.abort()}p&&(p.aborted?w(Dc):p.addEventListener("abort",()=>w(Dc),{once:!0}));let L=(async function(){let y;try{let g=n?.condition?.(d,{getState:f,extra:m});if(yp(g)&&(g=await g),g===!1)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};if(v.signal.aborted)throw{name:"AbortError",message:S||"Aborted"};let x=new Promise((E,_)=>{C=()=>{_({name:"AbortError",message:S||"Aborted"})},v.signal.addEventListener("abort",C,{once:!0})});h(s(b,d,n?.getPendingMeta?.({requestId:b,arg:d},{getState:f,extra:m}))),y=await Promise.race([x,Promise.resolve(r(d,{dispatch:h,getState:f,extra:m,requestId:b,signal:v.signal,abort:w,rejectWithValue:((E,_)=>new ti(E,_)),fulfillWithValue:((E,_)=>new Mc(E,_))})).then(E=>{if(E instanceof ti)throw E;return E instanceof Mc?i(E.payload,b,d,E.meta):i(E,b,d)})])}catch(g){y=g instanceof ti?a(null,b,d,g.payload,g.meta):a(g,b,d)}finally{C&&v.signal.removeEventListener("abort",C)}return n&&!n.dispatchConditionRejection&&a.match(y)&&y.meta.condition||h(y),y})();return Object.assign(L,{abort:w,requestId:b,arg:d,unwrap(){return L.then(gp)}})}}return Object.assign(l,{pending:s,rejected:a,fulfilled:i,settled:dp(a,i),typePrefix:e})}return t.withTypes=()=>t,t})();function gp(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function yp(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Hc=Symbol.for("rtk-slice-createasyncthunk"),Lx={[Hc]:mp};function bp(t,e){return`${t}/${e}`}function xp({creators:t}={}){let e=t?.asyncThunk?.[Hc];return function(n){let{name:i,reducerPath:s=i}=n;if(!i)throw new Error(ve(11));typeof process<"u";let a=(typeof n.reducers=="function"?n.reducers(Sp()):n.reducers)||{},l=Object.keys(a),d={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},p={addCase(y,g){let x=typeof y=="string"?y:y.type;if(!x)throw new Error(ve(12));if(x in d.sliceCaseReducersByType)throw new Error(ve(13));return d.sliceCaseReducersByType[x]=g,p},addMatcher(y,g){return d.sliceMatchers.push({matcher:y,reducer:g}),p},exposeAction(y,g){return d.actionCreators[y]=g,p},exposeCaseReducer(y,g){return d.sliceCaseReducersByName[y]=g,p}};l.forEach(y=>{let g=a[y],x={reducerName:y,type:bp(i,y),createNotation:typeof n.reducers=="function"};Cp(g)?Op(x,g,p,e):Ep(x,g,p)});function h(){let[y={},g=[],x=void 0]=typeof n.extraReducers=="function"?$c(n.extraReducers):[n.extraReducers],E={...y,...d.sliceCaseReducersByType};return cp(n.initialState,_=>{for(let P in E)_.addCase(P,E[P]);for(let P of d.sliceMatchers)_.addMatcher(P.matcher,P.reducer);for(let P of g)_.addMatcher(P.matcher,P.reducer);x&&_.addDefaultCase(x)})}let f=y=>y,m=new Map,b=new WeakMap,v;function C(y,g){return v||(v=h()),v(y,g)}function S(){return v||(v=h()),v.getInitialState()}function w(y,g=!1){function x(_){let P=_[y];return typeof P>"u"&&g&&(P=io(b,x,S)),P}function E(_=f){return io(io(m,g,()=>new WeakMap),_,()=>{let P={};for(let[M,A]of Object.entries(n.selectors??{}))P[M]=vp(A,_,()=>io(b,_,S),g);return P})}return{reducerPath:y,getSelectors:E,get selectors(){return E(x)},selectSlice:x}}let L={name:i,reducer:C,actions:d.actionCreators,caseReducers:d.sliceCaseReducersByName,getInitialState:S,...w(s),injectInto(y,{reducerPath:g,...x}={}){let E=g??s;return y.inject({reducerPath:E,reducer:C},x),{...L,...w(E,!0)}}};return L}}function vp(t,e,r,n){function i(s,...a){let l=e(s);return typeof l>"u"&&n&&(l=r()),t(l,...a)}return i.unwrapped=t,i}var zc=xp();function Sp(){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 Ep({type:t,reducerName:e,createNotation:r},n,i){let s,a;if("reducer"in n){if(r&&!wp(n))throw new Error(ve(17));s=n.reducer,a=n.prepare}else s=n;i.addCase(t,s).exposeCaseReducer(e,s).exposeAction(e,a?De(t,a):De(t))}function Cp(t){return t._reducerDefinitionType==="asyncThunk"}function wp(t){return t._reducerDefinitionType==="reducerWithPrepare"}function Op({type:t,reducerName:e},r,n,i){if(!i)throw new Error(ve(18));let{payloadCreator:s,fulfilled:a,pending:l,rejected:d,settled:p,options:h}=r,f=i(t,s,h);n.exposeAction(e,f),a&&n.addCase(f.fulfilled,a),l&&n.addCase(f.pending,l),d&&n.addCase(f.rejected,d),p&&n.addMatcher(f.settled,p),n.exposeCaseReducer(e,{fulfilled:a||so,pending:l||so,rejected:d||so,settled:p||so})}function so(){}var Vc="listener",Gc="completed",Wc="cancelled",kx=`task-${Wc}`,Tx=`task-${Gc}`,Px=`${Vc}-${Wc}`,Nx=`${Vc}-${Gc}`;var{assign:jc}=Object;var ri="listenerMiddleware";var Ap=jc(De(`${ri}/add`),{withTypes:()=>Ap}),Fx=De(`${ri}/removeAll`),Rp=jc(De(`${ri}/remove`),{withTypes:()=>Rp});function ve(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 Ue=class t extends Ce{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(wt(s))return s;if(i==null)return;let a=zc({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),l=Bc({reducer:(d,p)=>{if(p.type==="CLEAR_FT_REDUX_STORE"){let h=ne(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,l,i.eventBus)}constructor(e,r,n){super(),this.reduxSlice=e,this.reduxStore=r,this.isFtReduxStore=!0,this.commands=new or,this.injectInto=(s,a)=>this.reduxSlice.injectInto(s,a),this.selectSlice=s=>this.reduxSlice.selectSlice(s);let i=s=>s!=null?JSON.parse(JSON.stringify(s)):s;this.actions=new Proxy(this.reduxSlice.actions,{get:(s,a,l)=>{let d=a,p=s[d];return p?(...h)=>{let f=p(...h.map(i));return this.reduxStore.dispatch(f),f}:h=>{let f=d,m=this.getState()[f];K(m,h)||this.setState({[f]:i(h)})}}}),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 _p(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))wt(e)&&e.clear()}var ur=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);he(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 Ip(t,e,r){return new ur(t,e,r).watch()}var Rt=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 si={};k(si,{scrollHelper:()=>Lp});var ni,ao=new Map,ii=class{lock(e,r){if(r){let n=ao.get(r);if(n==null||n===e)return ao.set(r,e),r}}release(e,r){r&&ao.get(r)===e&&ao.delete(r)}findFirstScrollableParent(e){var r;let n,i;for(let s of jo(e)){let a=s,l=this.elementCanScroll(a);if(l&&a.clientHeight&&a.clientHeight<a.scrollHeight){n=a;break}else l&&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,l=Te(0,(a-n.scrollTop)/(a-s),1),d=this.computeTopOffsetRatio(r?.position,l)*(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=(ni=window.FluidTopicsScrollHelper)!==null&&ni!==void 0?ni:new ii;var Lp=window.FluidTopicsScrollHelper;var ci={};k(ci,{toFtFormComponent:()=>kp});var ai=Symbol("elementInternals"),kp=H(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[ai].form}constructor(...n){super(n),this[ai]=this.attachInternals()}setFormValue(n){this[ai].setFormValue(n)}}return e});var li={};k(li,{DateFormatter:()=>ot});var ot=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,l=new Intl.DateTimeFormat(r,{dateStyle:n?"medium":"short"}).format(a),d=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(a);return s?d:i?`${l} ${d}`:l}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 ui={};k(ui,{ALL_KEYS_VALUE:()=>di,SameWindowStorageEvent:()=>_t});var di="__all__",_t=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==di}};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 _t(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 _t(r[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,r){Reflect.apply(t,e,r),window.dispatchEvent(new _t(di))}});var fi={};k(fi,{FocusMainContentEvent:()=>pi});var pi=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var Kc={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function Tp(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=t.key}function Pp(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}document.addEventListener("keydown",Tp);document.addEventListener("click",Pp);var qc=D`
47
+ `;var cc={};var Dn={};k(Dn,{ParametrizedLabelResolver:()=>rr});var rr=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 oi={};k(oi,{FtCommandQueue:()=>or,FtLitElementRedux:()=>_e,FtReduxStore:()=>Ue,FtStateManager:()=>Rt,ReduxWatcher:()=>ur,clearAllStores:()=>_p,isFtReduxStore:()=>wt,redux:()=>Fe,reduxEventListener:()=>Pu,reduxReactive:()=>Tu,watch:()=>Ip,withRedux:()=>lc});var Tu=()=>(t,e)=>{var r;let n=t.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(r=n.reduxReactiveProperties)===null||r===void 0||r.add(e)},Fe=t=>{let e=t??{};return(r,n)=>{var i;let s={hasChanged:he,attribute:!1,...e};w(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:(l=>l[n]),store:e.store})}},Pu=t=>(e,r)=>{let n=e.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(r,t)};var or=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 wt(t){var e;return(e=t?.isFtReduxStore)!==null&&e!==void 0?e:!1}var nr=Symbol("internalReduxEventsUnsubscribers"),Me=Symbol("internalStoresUnsubscribers"),tt=Symbol("internalStores"),lc=H(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(l=>a.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[tt].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[tt].values()][0]}getStore(a){return a==null?this.getUnnamedStore():this[tt].get(a)}addStore(a,l){var d;l=(d=l??a.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(l),this[tt].set(l,a),this.subscribeToStore(l,a),this.updateFromStores()}removeStore(a){let l=typeof a=="string"?a:a.name;this.unsubscribeFromStore(l),this[tt].delete(l)}setupStores(){this.unsubscribeFromStores(),this[tt].forEach((a,l)=>this.subscribeToStore(l,a)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((a,l)=>{let d=this.constructor.getPropertyOptions(l);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:l)){let p=this.getStore(a.store);p&&(a.store?this[Me].has(a.store):this[Me].size>0)&&(this[l]=a.selector(p.getState(),this))}})}subscribeToStore(a,l){var d,p;this[Me].set(a,l.subscribe(()=>this.updateFromStores())),this[nr].set(a,[]),wt(l)&&(!((d=l.deprecatedKeys)===null||d===void 0)&&d.length&&this.reduxConstructor.reduxProperties.forEach((h,f)=>{this.getStore(h.store)===l&&l.deprecatedKeys.includes(f)&&console.warn("Element",this,"is subscribed to deprecated key",f,"in store",l.name)}),l.eventBus&&((p=this.reduxConstructor.reduxEventListeners)===null||p===void 0||p.forEach((h,f)=>{if(typeof this[f]=="function"&&(!h.store||l.name===h.store)){let m=b=>this[f](b);l.addEventListener(h.eventName,m),this[nr].get(a).push(()=>l.removeEventListener(h.eventName,m))}}))),this.onStoreAvailable(a)}unsubscribeFromStores(){this[Me].forEach((a,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(a){var l;this[Me].has(a)&&this[Me].get(a)(),this[Me].delete(a),(l=this[nr].get(a))===null||l===void 0||l.forEach(d=>d()),this[nr].delete(a)}onStoreAvailable(a){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return e=Me,r=tt,n=nr,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),_e=class extends lc(q){};function W(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 Nu=typeof Symbol=="function"&&Symbol.observable||"@@observable",dc=Nu,Un=()=>Math.random().toString(36).substring(7).split("").join("."),Fu={INIT:`@@redux/INIT${Un()}`,REPLACE:`@@redux/REPLACE${Un()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${Un()}`},$r=Fu;function Hr(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 Bn(t,e,r){if(typeof t!="function")throw new Error(W(2));if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(W(0));if(typeof e=="function"&&typeof r>"u"&&(r=e,e=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(W(1));return r(Bn)(t,e)}let n=t,i=e,s=new Map,a=s,l=0,d=!1;function p(){a===s&&(a=new Map,s.forEach((S,O)=>{a.set(O,S)}))}function h(){if(d)throw new Error(W(3));return i}function f(S){if(typeof S!="function")throw new Error(W(4));if(d)throw new Error(W(5));let O=!0;p();let R=l++;return a.set(R,S),function(){if(O){if(d)throw new Error(W(6));O=!1,p(),a.delete(R),s=null}}}function m(S){if(!Hr(S))throw new Error(W(7));if(typeof S.type>"u")throw new Error(W(8));if(typeof S.type!="string")throw new Error(W(17));if(d)throw new Error(W(9));try{d=!0,i=n(i,S)}finally{d=!1}return(s=a).forEach(R=>{R()}),S}function b(S){if(typeof S!="function")throw new Error(W(10));n=S,m({type:$r.REPLACE})}function v(){let S=f;return{subscribe(O){if(typeof O!="object"||O===null)throw new Error(W(11));function R(){let g=O;g.next&&g.next(h())}return R(),{unsubscribe:S(R)}},[dc](){return this}}}return m({type:$r.INIT}),{dispatch:m,subscribe:f,getState:h,replaceReducer:b,[dc]:v}}function Mu(t){Object.keys(t).forEach(e=>{let r=t[e];if(typeof r(void 0,{type:$r.INIT})>"u")throw new Error(W(12));if(typeof r(void 0,{type:$r.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(W(13))})}function $n(t){let e=Object.keys(t),r={};for(let a=0;a<e.length;a++){let l=e[a];typeof t[l]=="function"&&(r[l]=t[l])}let n=Object.keys(r),i,s;try{Mu(r)}catch(a){s=a}return function(l={},d){if(s)throw s;let p=!1,h={};for(let f=0;f<n.length;f++){let m=n[f],b=r[m],v=l[m],C=b(v,d);if(typeof C>"u"){let S=d&&d.type;throw new Error(W(14))}h[m]=C,p=p||C!==v}return p=p||n.length!==Object.keys(l).length,p?h:l}}function ir(...t){return t.length===0?e=>e:t.length===1?t[0]:t.reduce((e,r)=>(...n)=>e(r(...n)))}function uc(...t){return e=>(r,n)=>{let i=e(r,n),s=()=>{throw new Error(W(15))},a={getState:i.getState,dispatch:(d,...p)=>s(d,...p)},l=t.map(d=>d(a));return s=ir(...l)(i.dispatch),{...i,dispatch:s}}}function pc(t){return Hr(t)&&"type"in t&&typeof t.type=="string"}var Sc=Symbol.for("immer-nothing"),fc=Symbol.for("immer-draftable"),j=Symbol.for("immer-state");function ue(t,...e){throw new Error(`[Immer] minified error nr: ${t}. Full error at: https://bit.ly/3cXEKWf`)}var ee=Object,At=ee.getPrototypeOf,Wr="constructor",Qr="prototype",Gn="configurable",jr="enumerable",Vr="writable",sr="value",xe=t=>!!t&&!!t[j];function te(t){return t?Ec(t)||Xr(t)||!!t[fc]||!!t[Wr]?.[fc]||eo(t)||to(t):!1}var Du=ee[Qr][Wr].toString(),hc=new WeakMap;function Ec(t){if(!t||!Jn(t))return!1;let e=At(t);if(e===null||e===ee[Qr])return!0;let r=ee.hasOwnProperty.call(e,Wr)&&e[Wr];if(r===Object)return!0;if(!Ot(r))return!1;let n=hc.get(r);return n===void 0&&(n=Function.toString.call(r),hc.set(r,n)),n===Du}function Jr(t,e,r=!0){lr(t)===0?(r?Reflect.ownKeys(t):ee.keys(t)).forEach(i=>{e(i,t[i],t)}):t.forEach((n,i)=>e(i,n,t))}function lr(t){let e=t[j];return e?e.type_:Xr(t)?1:eo(t)?2:to(t)?3:0}var Hn=(t,e,r=lr(t))=>r===2?t.has(e):ee[Qr].hasOwnProperty.call(t,e),Wn=(t,e,r=lr(t))=>r===2?t.get(e):t[e],Kr=(t,e,r,n=lr(t))=>{n===2?t.set(e,r):n===3?t.add(r):t[e]=r};function Uu(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}var Xr=Array.isArray,eo=t=>t instanceof Map,to=t=>t instanceof Set,Jn=t=>typeof t=="object",Ot=t=>typeof t=="function",zn=t=>typeof t=="boolean";function Bu(t){let e=+t;return Number.isInteger(e)&&String(e)===t}var Ie=t=>t.copy_||t.base_;var Xn=t=>t.modified_?t.copy_:t.base_;function jn(t,e){if(eo(t))return new Map(t);if(to(t))return new Set(t);if(Xr(t))return Array[Qr].slice.call(t);let r=Ec(t);if(e===!0||e==="class_only"&&!r){let n=ee.getOwnPropertyDescriptors(t);delete n[j];let i=Reflect.ownKeys(n);for(let s=0;s<i.length;s++){let a=i[s],l=n[a];l[Vr]===!1&&(l[Vr]=!0,l[Gn]=!0),(l.get||l.set)&&(n[a]={[Gn]:!0,[Vr]:!0,[jr]:l[jr],[sr]:t[a]})}return ee.create(At(t),n)}else{let n=At(t);if(n!==null&&r)return{...t};let i=ee.create(n);return ee.assign(i,t)}}function ro(t,e=!1){return oo(t)||xe(t)||!te(t)||(lr(t)>1&&ee.defineProperties(t,{set:zr,add:zr,clear:zr,delete:zr}),ee.freeze(t),e&&Jr(t,(r,n)=>{ro(n,!0)},!1)),t}function $u(){ue(2)}var zr={[sr]:$u};function oo(t){return t===null||!Jn(t)?!0:ee.isFrozen(t)}var qr="MapSet",Kn="Patches",mc="ArrayMethods",Cc={};function rt(t){let e=Cc[t];return e||ue(0,t),e}var gc=t=>!!Cc[t];var ar,wc=()=>ar,Hu=(t,e)=>({drafts_:[],parent_:t,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:gc(qr)?rt(qr):void 0,arrayMethodsPlugin_:gc(mc)?rt(mc):void 0});function yc(t,e){e&&(t.patchPlugin_=rt(Kn),t.patches_=[],t.inversePatches_=[],t.patchListener_=e)}function qn(t){Zn(t),t.drafts_.forEach(zu),t.drafts_=null}function Zn(t){t===ar&&(ar=t.parent_)}var bc=t=>ar=Hu(ar,t);function zu(t){let e=t[j];e.type_===0||e.type_===1?e.revoke_():e.revoked_=!0}function xc(t,e){e.unfinalizedDrafts_=e.drafts_.length;let r=e.drafts_[0];if(t!==void 0&&t!==r){r[j].modified_&&(qn(e),ue(4)),te(t)&&(t=vc(e,t));let{patchPlugin_:i}=e;i&&i.generateReplacementPatches_(r[j].base_,t,e)}else t=vc(e,r);return Vu(e,t,!0),qn(e),e.patches_&&e.patchListener_(e.patches_,e.inversePatches_),t!==Sc?t:void 0}function vc(t,e){if(oo(e))return e;let r=e[j];if(!r)return Zr(e,t.handledSet_,t);if(!no(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);Rc(r,t)}return r.copy_}function Vu(t,e,r=!1){!t.parent_&&t.immer_.autoFreeze_&&t.canAutoFreeze_&&ro(e,r)}function Oc(t){t.finalized_=!0,t.scope_.unfinalizedDrafts_--}var no=(t,e)=>t.scope_===e,Gu=[];function Ac(t,e,r,n){let i=Ie(t),s=t.type_;if(n!==void 0&&Wn(i,n,s)===e){Kr(i,n,r,s);return}if(!t.draftLocations_){let l=t.draftLocations_=new Map;Jr(i,(d,p)=>{if(xe(p)){let h=l.get(p)||[];h.push(d),l.set(p,h)}})}let a=t.draftLocations_.get(e)??Gu;for(let l of a)Kr(i,l,r,s)}function Wu(t,e,r){t.callbacks_.push(function(i){let s=e;if(!s||!no(s,i))return;i.mapSetPlugin_?.fixSetContents(s);let a=Xn(s);Ac(t,s.draft_??s,a,r),Rc(s,i)})}function Rc(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)}Oc(t)}}function ju(t,e,r){let{scope_:n}=t;if(xe(r)){let i=r[j];no(i,n)&&i.callbacks_.push(function(){Gr(t);let a=Xn(i);Ac(t,r,a,e)})}else te(r)&&t.callbacks_.push(function(){let s=Ie(t);t.type_===3?s.has(r)&&Zr(r,n.handledSet_,n):Wn(s,e,t.type_)===r&&n.drafts_.length>1&&(t.assigned_.get(e)??!1)===!0&&t.copy_&&Zr(Wn(t.copy_,e,t.type_),n.handledSet_,n)})}function Zr(t,e,r){return!r.immer_.autoFreeze_&&r.unfinalizedDrafts_<1||xe(t)||e.has(t)||!te(t)||oo(t)||(e.add(t),Jr(t,(n,i)=>{if(xe(i)){let s=i[j];if(no(s,r)){let a=Xn(s);Kr(t,n,a,t.type_),Oc(s)}}else te(i)&&Zr(i,e,r)})),t}function Ku(t,e){let r=Xr(t),n={type_:r?1:0,scope_:e?e.scope_:wc(),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=Yr;r&&(i=[n],s=cr);let{revoke:a,proxy:l}=Proxy.revocable(i,s);return n.draft_=l,n.revoke_=a,[l,n]}var Yr={get(t,e){if(e===j)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=Ie(t);if(!Hn(i,e,t.type_))return Zu(t,i,e);let s=i[e];if(t.finalized_||!te(s)||n&&t.operationMethod&&r?.isMutatingArrayMethod(t.operationMethod)&&Bu(e))return s;if(s===Vn(t.base_,e)||qu(t,e,s)){Gr(t);let a=t.type_===1?+e:e,l=Qn(t.scope_,s,t,a);return t.copy_[a]=l}return s},has(t,e){return e in Ie(t)},ownKeys(t){return Reflect.ownKeys(Ie(t))},set(t,e,r){let n=_c(Ie(t),e);if(n?.set)return n.set.call(t.draft_,r),!0;if(!t.modified_){let i=Vn(Ie(t),e),s=i?.[j];if(s&&s.base_===r)return t.copy_[e]=r,t.assigned_.delete(e),!0;if(Uu(r,i)&&(r!==void 0||Hn(t.base_,e,t.type_)))return!0;Gr(t),Yn(t)}return t.copy_[e]===r&&(r!==void 0||Hn(t.copy_,e,t.type_))||Number.isNaN(r)&&Number.isNaN(t.copy_[e])||(t.copy_[e]=r,t.assigned_.set(e,!0),ju(t,e,r)),!0},deleteProperty(t,e){return Gr(t),Vn(t.base_,e)!==void 0||e in t.base_?(t.assigned_.set(e,!1),Yn(t)):t.assigned_.delete(e),t.copy_&&delete t.copy_[e],!0},getOwnPropertyDescriptor(t,e){let r=Ie(t),n=Reflect.getOwnPropertyDescriptor(r,e);return n&&{[Vr]:!0,[Gn]:t.type_!==1||e!=="length",[jr]:n[jr],[sr]:r[e]}},defineProperty(){ue(11)},getPrototypeOf(t){return At(t.base_)},setPrototypeOf(){ue(12)}},cr={};for(let t in Yr){let e=Yr[t];cr[t]=function(){let r=arguments;return r[0]=r[0][0],e.apply(this,r)}}cr.deleteProperty=function(t,e){return cr.set.call(this,t,e,void 0)};cr.set=function(t,e,r){return Yr.set.call(this,t[0],e,r,t[0])};function Vn(t,e){let r=t[j];return(r?Ie(r):t)[e]}function qu(t,e,r){return t.type_!==1||!t.allIndicesReassigned_||t.assigned_?.get(e)||!te(r)||r[j]?!1:t.baseRefs_.has(r)}function Zu(t,e,r){let n=_c(e,r);return n?sr in n?n[sr]:n.get?.call(t.draft_):void 0}function _c(t,e){if(!(e in t))return;let r=At(t);for(;r;){let n=Object.getOwnPropertyDescriptor(r,e);if(n)return n;r=At(r)}}function Yn(t){t.modified_||(t.modified_=!0,t.parent_&&Yn(t.parent_))}function Gr(t){t.copy_||(t.assigned_=new Map,t.copy_=jn(t.base_,t.scope_.immer_.useStrictShallowCopy_))}var Yu=class{constructor(t){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,r,n)=>{if(Ot(e)&&!Ot(r)){let s=r;r=e;let a=this;return function(d=s,...p){return a.produce(d,h=>r.call(this,h,...p))}}Ot(r)||ue(6),n!==void 0&&!Ot(n)&&ue(7);let i;if(te(e)){let s=bc(this),a=Qn(s,e,void 0),l=!0;try{i=r(a),l=!1}finally{l?qn(s):Zn(s)}return yc(s,n),xc(i,s)}else if(!e||!Jn(e)){if(i=r(e),i===void 0&&(i=e),i===Sc&&(i=void 0),this.autoFreeze_&&ro(i,!0),n){let s=[],a=[];rt(Kn).generateReplacementPatches_(e,i,{patches_:s,inversePatches_:a}),n(s,a)}return i}else ue(1,e)},this.produceWithPatches=(e,r)=>{if(Ot(e))return(a,...l)=>this.produceWithPatches(a,d=>e(d,...l));let n,i;return[this.produce(e,r,(a,l)=>{n=a,i=l}),n,i]},zn(t?.autoFreeze)&&this.setAutoFreeze(t.autoFreeze),zn(t?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(t.useStrictShallowCopy),zn(t?.useStrictIteration)&&this.setUseStrictIteration(t.useStrictIteration)}createDraft(t){te(t)||ue(8),xe(t)&&(t=Ic(t));let e=bc(this),r=Qn(e,t,void 0);return r[j].isManual_=!0,Zn(e),r}finishDraft(t,e){let r=t&&t[j];(!r||!r.isManual_)&&ue(9);let{scope_:n}=r;return yc(n,e),xc(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=rt(Kn).applyPatches_;return xe(t)?n(t,e):this.produce(t,i=>n(i,e))}};function Qn(t,e,r,n){let[i,s]=eo(e)?rt(qr).proxyMap_(e,r):to(e)?rt(qr).proxySet_(e,r):Ku(e,r);return(r?.scope_??wc()).drafts_.push(i),s.callbacks_=r?.callbacks_??[],s.key_=n,r&&n!==void 0?Wu(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 Ic(t){return xe(t)||ue(10,t),Lc(t)}function Lc(t){if(!te(t)||oo(t))return t;let e=t[j],r,n=!0;if(e){if(!e.modified_)return e.base_;e.finalized_=!0,r=jn(t,e.scope_.immer_.useStrictShallowCopy_),n=e.scope_.immer_.shouldUseStrictIteration()}else r=jn(t,!0);return Jr(r,(i,s)=>{Kr(r,i,Lc(s))},n),e&&(e.finalized_=!1),r}var Qu=globalThis.Iterator,Sx=typeof Qu?.from=="function";var Ju=new Yu,ei=Ju.produce;function kc(t){return({dispatch:r,getState:n})=>i=>s=>typeof s=="function"?s(r,n,t):i(s)}var Tc=kc(),Pc=kc;var Xu=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?ir:ir.apply(null,arguments)};typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;var ep=t=>t&&typeof t.match=="function";function De(t,e){function r(...n){if(e){let i=e(...n);if(!i)throw new Error(ve(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=>pc(n)&&n.type===t,r}var Uc=class dr extends Array{constructor(...e){super(...e),Object.setPrototypeOf(this,dr.prototype)}static get[Symbol.species](){return dr}concat(...e){return super.concat.apply(this,e)}prepend(...e){return e.length===1&&Array.isArray(e[0])?new dr(...e[0].concat(this)):new dr(...e.concat(this))}};function Nc(t){return te(t)?ei(t,()=>{}):t}function io(t,e,r){return t.has(e)?t.get(e):t.set(e,r(e)).get(e)}function tp(t){return typeof t=="boolean"}var rp=()=>function(e){let{thunk:r=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:s=!0}=e??{},a=new Uc;return r&&(tp(r)?a.push(Tc):a.push(Pc(r.extraArgument))),a},op="RTK_autoBatch";var Fc=t=>e=>{setTimeout(e,t)},np=(t,e)=>r=>{let n=!1,i,s,a=()=>{n||(n=!0,cancelAnimationFrame(i),clearTimeout(s),r())};i=t(a),s=setTimeout(a,e)},ip=(t={type:"raf"})=>e=>(...r)=>{let n=e(...r),i=!0,s=!1,a=!1,l=new Set,d=t.type==="tick"?queueMicrotask:t.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?np(window.requestAnimationFrame,100):Fc(10):t.type==="callback"?t.queueNotification:Fc(t.timeout),p=()=>{a=!1,s&&(s=!1,l.forEach(h=>h()))};return Object.assign({},n,{subscribe(h){let f=()=>i&&h(),m=n.subscribe(f);return l.add(h),()=>{m(),l.delete(h)}},dispatch(h){try{return i=!h?.meta?.[op],s=!i,s&&(a||(a=!0,d(p))),n.dispatch(h)}finally{i=!0}}})},sp=t=>function(r){let{autoBatch:n=!0}=r??{},i=new Uc(t);return n&&i.push(ip(typeof n=="object"?n:void 0)),i};function Bc(t){let e=rp(),{reducer:r=void 0,middleware:n,devTools:i=!0,duplicateMiddlewareCheck:s=!0,preloadedState:a=void 0,enhancers:l=void 0}=t||{},d;if(typeof r=="function")d=r;else if(Hr(r))d=$n(r);else throw new Error(ve(1));let p;typeof n=="function"?p=n(e):p=e();let h=ir;i&&(h=Xu({trace:!1,...typeof i=="object"&&i}));let f=uc(...p),m=sp(f),b=typeof l=="function"?l(m):m(),v=h(...b);return Bn(d,a,v)}function $c(t){let e={},r=[],n,i={addCase(s,a){let l=typeof s=="string"?s:s.type;if(!l)throw new Error(ve(28));if(l in e)throw new Error(ve(29));return e[l]=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 ap(t){return typeof t=="function"}function cp(t,e){let[r,n,i]=$c(e),s;if(ap(t))s=()=>Nc(t());else{let l=Nc(t);s=()=>l}function a(l=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(xe(h)){let m=f(h,d);return m===void 0?h:m}else{if(te(h))return ei(h,m=>f(m,d));{let m=f(h,d);if(m===void 0){if(h===null)return h;throw new Error(ve(9))}return m}}return h},l)}return a.getInitialState=s,a}var lp=(t,e)=>ep(t)?t.match(e):t(e);function dp(...t){return e=>t.some(r=>lp(r,e))}var up="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",pp=(t=21)=>{let e="",r=t;for(;r--;)e+=up[Math.random()*64|0];return e},fp=["name","message","stack","code"],ti=class{payload;meta;_type;constructor(t,e){this.payload=t,this.meta=e}},Mc=class{payload;meta;_type;constructor(t,e){this.payload=t,this.meta=e}},hp=t=>{if(typeof t=="object"&&t!==null){let e={};for(let r of fp)typeof t[r]=="string"&&(e[r]=t[r]);return e}return{message:String(t)}},Dc="External signal was aborted",mp=(()=>{function t(e,r,n){let i=De(e+"/fulfilled",(d,p,h,f)=>({payload:d,meta:{...f||{},arg:h,requestId:p,requestStatus:"fulfilled"}})),s=De(e+"/pending",(d,p,h)=>({payload:void 0,meta:{...h||{},arg:p,requestId:d,requestStatus:"pending"}})),a=De(e+"/rejected",(d,p,h,f,m)=>({payload:f,error:(n&&n.serializeError||hp)(d||"Rejected"),meta:{...m||{},arg:h,requestId:p,rejectedWithValue:f!==void 0,requestStatus:"rejected",aborted:d?.name==="AbortError",condition:d?.name==="ConditionError"}}));function l(d,{signal:p}={}){return(h,f,m)=>{let b=n?.idGenerator?n.idGenerator(d):pp(),v=new AbortController,C,S;function O(y){S=y,v.abort()}p&&(p.aborted?O(Dc):p.addEventListener("abort",()=>O(Dc),{once:!0}));let R=(async function(){let y;try{let g=n?.condition?.(d,{getState:f,extra:m});if(yp(g)&&(g=await g),g===!1)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};if(v.signal.aborted)throw{name:"AbortError",message:S||"Aborted"};let x=new Promise((E,I)=>{C=()=>{I({name:"AbortError",message:S||"Aborted"})},v.signal.addEventListener("abort",C,{once:!0})});h(s(b,d,n?.getPendingMeta?.({requestId:b,arg:d},{getState:f,extra:m}))),y=await Promise.race([x,Promise.resolve(r(d,{dispatch:h,getState:f,extra:m,requestId:b,signal:v.signal,abort:O,rejectWithValue:((E,I)=>new ti(E,I)),fulfillWithValue:((E,I)=>new Mc(E,I))})).then(E=>{if(E instanceof ti)throw E;return E instanceof Mc?i(E.payload,b,d,E.meta):i(E,b,d)})])}catch(g){y=g instanceof ti?a(null,b,d,g.payload,g.meta):a(g,b,d)}finally{C&&v.signal.removeEventListener("abort",C)}return n&&!n.dispatchConditionRejection&&a.match(y)&&y.meta.condition||h(y),y})();return Object.assign(R,{abort:O,requestId:b,arg:d,unwrap(){return R.then(gp)}})}}return Object.assign(l,{pending:s,rejected:a,fulfilled:i,settled:dp(a,i),typePrefix:e})}return t.withTypes=()=>t,t})();function gp(t){if(t.meta&&t.meta.rejectedWithValue)throw t.payload;if(t.error)throw t.error;return t.payload}function yp(t){return t!==null&&typeof t=="object"&&typeof t.then=="function"}var Hc=Symbol.for("rtk-slice-createasyncthunk"),Ix={[Hc]:mp};function bp(t,e){return`${t}/${e}`}function xp({creators:t}={}){let e=t?.asyncThunk?.[Hc];return function(n){let{name:i,reducerPath:s=i}=n;if(!i)throw new Error(ve(11));typeof process<"u";let a=(typeof n.reducers=="function"?n.reducers(Sp()):n.reducers)||{},l=Object.keys(a),d={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},p={addCase(y,g){let x=typeof y=="string"?y:y.type;if(!x)throw new Error(ve(12));if(x in d.sliceCaseReducersByType)throw new Error(ve(13));return d.sliceCaseReducersByType[x]=g,p},addMatcher(y,g){return d.sliceMatchers.push({matcher:y,reducer:g}),p},exposeAction(y,g){return d.actionCreators[y]=g,p},exposeCaseReducer(y,g){return d.sliceCaseReducersByName[y]=g,p}};l.forEach(y=>{let g=a[y],x={reducerName:y,type:bp(i,y),createNotation:typeof n.reducers=="function"};Cp(g)?Op(x,g,p,e):Ep(x,g,p)});function h(){let[y={},g=[],x=void 0]=typeof n.extraReducers=="function"?$c(n.extraReducers):[n.extraReducers],E={...y,...d.sliceCaseReducersByType};return cp(n.initialState,I=>{for(let P in E)I.addCase(P,E[P]);for(let P of d.sliceMatchers)I.addMatcher(P.matcher,P.reducer);for(let P of g)I.addMatcher(P.matcher,P.reducer);x&&I.addDefaultCase(x)})}let f=y=>y,m=new Map,b=new WeakMap,v;function C(y,g){return v||(v=h()),v(y,g)}function S(){return v||(v=h()),v.getInitialState()}function O(y,g=!1){function x(I){let P=I[y];return typeof P>"u"&&g&&(P=io(b,x,S)),P}function E(I=f){return io(io(m,g,()=>new WeakMap),I,()=>{let P={};for(let[M,A]of Object.entries(n.selectors??{}))P[M]=vp(A,I,()=>io(b,I,S),g);return P})}return{reducerPath:y,getSelectors:E,get selectors(){return E(x)},selectSlice:x}}let R={name:i,reducer:C,actions:d.actionCreators,caseReducers:d.sliceCaseReducersByName,getInitialState:S,...O(s),injectInto(y,{reducerPath:g,...x}={}){let E=g??s;return y.inject({reducerPath:E,reducer:C},x),{...R,...O(E,!0)}}};return R}}function vp(t,e,r,n){function i(s,...a){let l=e(s);return typeof l>"u"&&n&&(l=r()),t(l,...a)}return i.unwrapped=t,i}var zc=xp();function Sp(){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 Ep({type:t,reducerName:e,createNotation:r},n,i){let s,a;if("reducer"in n){if(r&&!wp(n))throw new Error(ve(17));s=n.reducer,a=n.prepare}else s=n;i.addCase(t,s).exposeCaseReducer(e,s).exposeAction(e,a?De(t,a):De(t))}function Cp(t){return t._reducerDefinitionType==="asyncThunk"}function wp(t){return t._reducerDefinitionType==="reducerWithPrepare"}function Op({type:t,reducerName:e},r,n,i){if(!i)throw new Error(ve(18));let{payloadCreator:s,fulfilled:a,pending:l,rejected:d,settled:p,options:h}=r,f=i(t,s,h);n.exposeAction(e,f),a&&n.addCase(f.fulfilled,a),l&&n.addCase(f.pending,l),d&&n.addCase(f.rejected,d),p&&n.addMatcher(f.settled,p),n.exposeCaseReducer(e,{fulfilled:a||so,pending:l||so,rejected:d||so,settled:p||so})}function so(){}var Vc="listener",Gc="completed",Wc="cancelled",Lx=`task-${Wc}`,kx=`task-${Gc}`,Tx=`${Vc}-${Wc}`,Px=`${Vc}-${Gc}`;var{assign:jc}=Object;var ri="listenerMiddleware";var Ap=jc(De(`${ri}/add`),{withTypes:()=>Ap}),Nx=De(`${ri}/removeAll`),Rp=jc(De(`${ri}/remove`),{withTypes:()=>Rp});function ve(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 Ue=class t extends Ce{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(wt(s))return s;if(i==null)return;let a=zc({...i,reducers:(r=i.reducers)!==null&&r!==void 0?r:{}}),l=Bc({reducer:(d,p)=>{if(p.type==="CLEAR_FT_REDUX_STORE"){let h=ne(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,l,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 or,this.injectInto=(a,l)=>this.reduxSlice.injectInto(a,l),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,l,d)=>{let p=l,h=a[p];return h?(...f)=>{let m=h(...f.map(s));return this.reduxStore.dispatch(m),m}:f=>{let m=p,b=this.getState()[m];K(b,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 _p(){var t;for(let e of Object.values((t=window.ftReduxStores)!==null&&t!==void 0?t:{}))wt(e)&&e.clear()}var ur=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);he(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 Ip(t,e,r){return new ur(t,e,r).watch()}var Rt=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 si={};k(si,{scrollHelper:()=>Lp});var ni,ao=new Map,ii=class{lock(e,r){if(r){let n=ao.get(r);if(n==null||n===e)return ao.set(r,e),r}}release(e,r){r&&ao.get(r)===e&&ao.delete(r)}findFirstScrollableParent(e){var r;let n,i;for(let s of jo(e)){let a=s,l=this.elementCanScroll(a);if(l&&a.clientHeight&&a.clientHeight<a.scrollHeight){n=a;break}else l&&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,l=Te(0,(a-n.scrollTop)/(a-s),1),d=this.computeTopOffsetRatio(r?.position,l)*(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=(ni=window.FluidTopicsScrollHelper)!==null&&ni!==void 0?ni:new ii;var Lp=window.FluidTopicsScrollHelper;var ci={};k(ci,{toFtFormComponent:()=>kp});var ai=Symbol("elementInternals"),kp=H(Symbol("toFtFormComponent"),function(t){class e extends t{static get formAssociated(){return!0}get form(){return this[ai].form}constructor(...n){super(n),this[ai]=this.attachInternals()}setFormValue(n){this[ai].setFormValue(n)}}return e});var li={};k(li,{DateFormatter:()=>ot});var ot=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,l=new Intl.DateTimeFormat(r,{dateStyle:n?"medium":"short"}).format(a),d=new Intl.DateTimeFormat(r,{timeStyle:"short"}).format(a);return s?d:i?`${l} ${d}`:l}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 ui={};k(ui,{ALL_KEYS_VALUE:()=>di,SameWindowStorageEvent:()=>_t});var di="__all__",_t=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==di}};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 _t(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 _t(r[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(t,e,r){Reflect.apply(t,e,r),window.dispatchEvent(new _t(di))}});var fi={};k(fi,{FocusMainContentEvent:()=>pi});var pi=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var Kc={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function Tp(t){(t.key==="Enter"||t.key===" "||t.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=t.key}function Pp(t){window.FluidTopicsA11yHints.isKeyboardNavigation=t.detail==0}document.addEventListener("keydown",Tp);document.addEventListener("click",Pp);var qc=D`
48
48
  .sr-only {
49
49
  position:absolute;
50
50
  left:-10000px;
@@ -68,7 +68,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
68
68
  width:auto;
69
69
  height:auto;
70
70
  }
71
- `;var hi={};k(hi,{withAriaNotification:()=>Fp});var Np={checkVisibility:!0},Fp=H(Symbol("withAriaNotification"),function(t){class e extends t{sendAriaNotification(n,i){let{checkVisibility:s}={...Np,...i};setTimeout(()=>{(!s||this.checkVisibility())&&(n=typeof n=="string"?n:n?.message,n&&this.dispatchEvent(new Wt({type:"aria",message:n})))},20)}}return e});var mi={};k(mi,{withConditionalVisibility:()=>Mp});var Zc=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 l=t.length-1;l>=0;l--)(a=t[l])&&(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 Mp(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 Zc([O({type:Boolean,attribute:!1})],e.prototype,"forceVisible",void 0),Zc([z()],e.prototype,"isVisible",void 0),e}var yi={};k(yi,{FormController:()=>gi});function Dp(t){let e={};for(let r of Object.keys(t))e[r]=t[r].initial;return e}var gi=class{constructor(e,r){this.host=e,this.config=r,this.errors=new Map,this.submitting=!1,e.addController(this),this.initial=Dp(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=Xo(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 xi={};k(xi,{MetadataValueLocalizer:()=>bi});var bi=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 vi(t,e){return e.map(r=>r(t)).filter(r=>r!==!0).map(r=>r)}function Yc(t,e,r){return t?e(t):r?.(t)}var V=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 l=t.length-1;l>=0;l--)(a=t[l])&&(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},nt;(function(t){t.blur="blur",t.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",t.input="input"})(nt||(nt={}));var Be;(function(t){t.default="default",t.warning="warning",t.error="error"})(Be||(Be={}));var Si=class extends CustomEvent{constructor(e){super("input-validated",{detail:{level:e}})}};var v0=H(Symbol("toFtInput"),function(t){class e extends t{constructor(){super(...arguments),this.warningRules=[],this.errorRules=[],this.validateOn=nt.blurWithStatusResolutionOnInput,this.validateAtRender=!1,this.label="",this.hideLabel=!1,this.name="",this.disabled=!1,this.errorMessages=[],this.warningMessages=[],this.status=Be.default,this.focused=!1,this.additionalWarningRules=[],this.additionalErrorRules=[],this.forceErrorMessages=[]}connectedCallback(){super.connectedCallback(),this.validateAtRender&&this.triggerValidation()}onBlur(){this.focused=!1,(this.validateOn===nt.blur||this.validateOn===nt.blurWithStatusResolutionOnInput)&&this.triggerValidation()}onFocus(){this.focused=!0}onInput(){this.forceErrorMessages.length&&(this.forceErrorMessages=[]),(this.status!==Be.default&&this.validateOn===nt.blurWithStatusResolutionOnInput||this.validateOn===nt.input)&&this.triggerValidation()}triggerValidation(){this.errorMessages=[...this.forceErrorMessages,...vi(this.value,[...this.errorRules,...this.additionalErrorRules])],this.warningMessages=vi(this.value,[...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new Si(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return Y`
71
+ `;var hi={};k(hi,{withAriaNotification:()=>Fp});var Np={checkVisibility:!0},Fp=H(Symbol("withAriaNotification"),function(t){class e extends t{sendAriaNotification(n,i){let{checkVisibility:s}={...Np,...i};setTimeout(()=>{(!s||this.checkVisibility())&&(n=typeof n=="string"?n:n?.message,n&&this.dispatchEvent(new Wt({type:"aria",message:n})))},20)}}return e});var mi={};k(mi,{withConditionalVisibility:()=>Mp});var Zc=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 l=t.length-1;l>=0;l--)(a=t[l])&&(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 Mp(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 Zc([w({type:Boolean,attribute:!1})],e.prototype,"forceVisible",void 0),Zc([z()],e.prototype,"isVisible",void 0),e}var yi={};k(yi,{FormController:()=>gi});function Dp(t){let e={};for(let r of Object.keys(t))e[r]=t[r].initial;return e}var gi=class{constructor(e,r){this.host=e,this.config=r,this.errors=new Map,this.submitting=!1,e.addController(this),this.initial=Dp(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=Xo(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 xi={};k(xi,{MetadataValueLocalizer:()=>bi});var bi=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 vi(t,e){return e.map(r=>r(t)).filter(r=>r!==!0).map(r=>r)}function Yc(t,e,r){return t?e(t):r?.(t)}var V=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 l=t.length-1;l>=0;l--)(a=t[l])&&(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},nt;(function(t){t.blur="blur",t.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",t.input="input"})(nt||(nt={}));var Be;(function(t){t.default="default",t.warning="warning",t.error="error"})(Be||(Be={}));var Si=class extends CustomEvent{constructor(e){super("input-validated",{detail:{level:e}})}};var x0=H(Symbol("toFtInput"),function(t){class e extends t{constructor(){super(...arguments),this.warningRules=[],this.errorRules=[],this.validateOn=nt.blurWithStatusResolutionOnInput,this.validateAtRender=!1,this.label="",this.hideLabel=!1,this.name="",this.disabled=!1,this.errorMessages=[],this.warningMessages=[],this.status=Be.default,this.focused=!1,this.additionalWarningRules=[],this.additionalErrorRules=[],this.forceErrorMessages=[]}connectedCallback(){super.connectedCallback(),this.validateAtRender&&this.triggerValidation()}onBlur(){this.focused=!1,(this.validateOn===nt.blur||this.validateOn===nt.blurWithStatusResolutionOnInput)&&this.triggerValidation()}onFocus(){this.focused=!0}onInput(){this.forceErrorMessages.length&&(this.forceErrorMessages=[]),(this.status!==Be.default&&this.validateOn===nt.blurWithStatusResolutionOnInput||this.validateOn===nt.input)&&this.triggerValidation()}triggerValidation(){this.errorMessages=[...this.forceErrorMessages,...vi(this.value,[...this.errorRules,...this.additionalErrorRules])],this.warningMessages=vi(this.value,[...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new Si(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return Y`
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
74
  ${ft(this.errorMessages,n=>Y`
@@ -81,15 +81,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
81
81
  <li>${this.helperText}</li>
82
82
  `)}
83
83
  </ul>
84
- `}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?Be.error:this.warningMessages.length?Be.warning:Be.default}}return V([O()],e.prototype,"warningRules",void 0),V([O()],e.prototype,"errorRules",void 0),V([O()],e.prototype,"validateOn",void 0),V([O({type:Boolean})],e.prototype,"validateAtRender",void 0),V([O()],e.prototype,"label",void 0),V([O({type:Boolean})],e.prototype,"hideLabel",void 0),V([O()],e.prototype,"name",void 0),V([O({type:Boolean})],e.prototype,"disabled",void 0),V([O()],e.prototype,"helperText",void 0),V([O()],e.prototype,"forceStatus",void 0),V([O({reflect:!0})],e.prototype,"value",void 0),V([z()],e.prototype,"errorMessages",void 0),V([z()],e.prototype,"warningMessages",void 0),V([z()],e.prototype,"status",void 0),V([z()],e.prototype,"focused",void 0),V([z()],e.prototype,"additionalWarningRules",void 0),V([z()],e.prototype,"additionalErrorRules",void 0),V([z()],e.prototype,"forceErrorMessages",void 0),e});var pr=(t,e)=>{let r=t._$AN;if(r===void 0)return!1;for(let n of r)n._$AO?.(e,!1),pr(n,e);return!0},co=t=>{let e,r;do{if((e=t._$AM)===void 0)break;r=e._$AN,r.delete(t),t=e}while(r?.size===0)},Qc=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),Hp(e)}};function Bp(t){this._$AN!==void 0?(co(this),this._$AM=t,Qc(this)):this._$AM=t}function $p(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++)pr(n[s],!1),co(n[s]);else n!=null&&(pr(n,!1),co(n));else pr(this,t)}var Hp=t=>{t.type==fe.CHILD&&(t._$AP??=$p,t._$AQ??=Bp)},It=class extends oe{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,r,n){super._$AT(e,r,n),Qc(this),this.isConnected=e._$AU}_$AO(e,r=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),r&&(pr(this,e),co(this))}setValue(e){if(as(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 Ei=class extends It{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 $}update(e){return this.part=e,this.ensureFocusTrap(e.element),$}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 re&&await e.updateComplete}isInsideElement(e,r){for(let n=e;n;n=n.parentNode){if(n===r)return!0;n instanceof ShadowRoot?n=n.host:n.assignedSlot&&(n=n.assignedSlot)}return!1}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}},j0=X(Ei);var Jc;(function(t){t.sm="sm",t.md="md",t.lg="lg",t.xl="xl"})(Jc||(Jc={}));var zp={sm:640,md:768,lg:1024,xl:1280},Ci=class extends It{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??(()=>N);return this.size>i?r():s()}resolveThreshold(e){return typeof e=="number"?e:zp[e]}},Y0=X(Ci);var wi,Oi,Ai,Ri,Vp=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Ai=(Oi=(wi=window.safari)===null||wi===void 0?void 0:wi.pushNotification)===null||Oi===void 0?void 0:Oi.toString())!==null&&Ai!==void 0?Ai:"")==="[object SafariRemoteNotification]",Gp="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Ri=window.ftGlobals)!==null&&Ri!==void 0?Ri:{lit:Do,litDecorators:Uo,litRepeat:Bo,litClassMap:$o,litStyleMap:Ho,litUnsafeHTML:zo,wcUtils:{...Vo,...Qo,...Go,...an,...li,...cn,...Wo,...pn,...Yo,...On,...fi,...Kc,...si,...An,...un,...Tn,...ci,...Ln,...hi,...mi,...sc,...Ko,...Fn,...xi,...fn,...Mn,...qc,...cc,...Dn,...oi,...ui,...Rn,...In,...en,...on,...yi,isSafari:Vp,isTouchScreen:Gp,setVariable:gt}};var _i;(function(t){t.CLUSTERED_SEARCH="CLUSTERED_SEARCH"})(_i||(_i={}));var Wp="ft-app-info",$e=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};$e.eventName="authentication-change";var fr=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};fr.eventName="ui-locale-changed";var jp={session:(t,e)=>{K(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>R.dispatchEvent(new $e(e.payload)),0))}},R=Ue.get({name:Wp,reducers:jp,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 lo=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 l=t.length-1;l>=0;l--)(a=t[l])&&(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},iS=H(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(R)}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(l=>l.key===n))===null||i===void 0?void 0:i.date)!==null&&s!==void 0?s:!1)?l=>ot.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return lo([O({type:Boolean})],e.prototype,"useLongDateFormat",void 0),lo([O({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),lo([Fe({store:R.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),lo([Fe({store:R.name})],e.prototype,"uiLocale",void 0),e});var it=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:n}=R.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=R.subscribe(()=>{n=t.get(e),n&&(i(),r(n))})}})}};var Lt=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:it.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):it.await()}};var J=class extends Lt{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(([l],[d])=>l.localeCompare(d)));let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new me,this.cache=e?i.commonCache:new me}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 uo=class extends J{async listMySearches(){let{session:e}=R.getState();return Pr(e,U.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),300*1e3):[]}};var po=class extends J{async listMyBookmarks(){let e=R.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),300*1e3):[]}};var fo=class extends J{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=R.getState().session;return!!e?.sessionAuthenticated}};var ho=class extends J{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=R.getState().session;return!!e?.sessionAuthenticated}};var Kp="ft-user-assets",qp={setAssetCount:(t,e)=>{let{userAssetType:r,count:n}=e.payload.assetCount;t.assetCounts.allAsset[r]=n},clearAssetCount:t=>{Object.values(ie).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;Li(t,r,[...Ii(t,r),i]),Xc(t,r,1,n),el(t,i)},editAsset:(t,e)=>{let{assetType:r,asset:n}=e.payload;Li(t,r,Ii(t,r).map(i=>i.id===n.id?n:i)),el(t,n)},removeAsset:(t,e)=>{let{assetType:r,mapId:n,assetId:i}=e.payload;Li(t,r,Ii(t,r).filter(s=>s.id!==i)),Xc(t,r,-1,n)}},tl={[ie.SEARCHES]:"savedSearches",[ie.BOOKMARKS]:"bookmarks",[ie.BOOKS]:void 0,[ie.COLLECTIONS]:void 0},Ii=(t,e)=>{var r;let n=tl[e];return n?(r=t[n])!==null&&r!==void 0?r:[]:[]},Li=(t,e,r)=>{let n=tl[e];n&&(t[n]=r)},Xc=(t,e,r,n)=>{let i=t.assetCounts.allAsset[e];if(i!==void 0&&(t.assetCounts.allAsset[e]=Math.max(0,i+r),e===ie.BOOKMARKS&&n)){let s=t.assetCounts.bookmarkByMap[n];t.assetCounts.bookmarkByMap[n]=Math.max(0,s+r)}},el=(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)},Z=Ue.get({name:Kp,reducers:qp,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(ie).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),ki=class{constructor(e=new fo,r=new ho){this.assetCountsService=e,this.assetLabelsService=r,this.currentSession=R.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new po,this.savedSearchesService=new uo,R.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=R.getState();K((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(),Z.actions.clearAssetCount(),Z.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Z.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Z.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Z.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();Z.actions.assetLabels(e)}async loadAssetCount(e){let r=await this.assetCountsService.getUserAssetCount(e);r&&Z.getState().assetCounts.allAsset[e]!==r.count&&Z.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(e){let r=await this.assetCountsService.getUserBookmarkCountByMap(e);r&&Z.getState().assetCounts.bookmarkByMap[e]!==r.count&&Z.actions.setBookmarkCountByMap({count:r.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let r=Object.keys(Z.getState().assetCounts.bookmarkByMap).length!==0;e===ie.BOOKMARKS&&r&&Z.actions.clearBookmarkCountByMap(),Z.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;Z.actions.bookmarks(r)}}},Zp=new ki;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=Zp);var Ti=class{addCommand(e,r=!1){R.commands.add(e,r)}consumeCommand(e){return R.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Ti;var rl,kt=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},Yp=Symbol("clearAfterUnitTest"),mo=class extends Lr(J){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[rl]=()=>{this.defaultMessages={},this.cache=new me,this.listeners={}},this.currentUiLocale=R.getState().uiLocale,R.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=R.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};K(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 rr((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 ke)&&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 kt({loadedContexts:e})),this.dispatchEvent(new kt({loadedContexts:e})),await Promise.all(e.map(r=>this.notify(r,!1)))}async notify(e,r=!0){r&&(document.body.dispatchEvent(new kt({loadedContexts:[e]})),this.dispatchEvent(new kt({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(n=>Ir(0).then(()=>n()).catch(()=>null)))}};rl=Yp;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends mo{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends mo{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var Tt=window.FluidTopicsI18nService,go=window.FluidTopicsCustomI18nService;var Pi=class{highlightHtml(e,r,n){Nn(e,r,n)}};window.FluidTopicsHighlightHtmlService=new Pi;var Ni=class{isDate(e){var r,n,i,s;return(s=(n=((i=(r=R.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&i!==void 0?i:[]).find(l=>l.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 ot.format(e,(n=r?.locale)!==null&&n!==void 0?n:R.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(l){throw console.error(`Date ${JSON.stringify(e)} is not valid`,l),l}}};window.FluidTopicsDateService=new Ni;var hr=class{static get(e,r){var n,i,s,a;let l=R.getState(),{lang:d,region:p}=(a=(i=(n=l.localesConfiguration)===null||n===void 0?void 0:n.defaultLocales)===null||i===void 0?void 0:i.defaultContentLocale)!==null&&a!==void 0?a:{lang:"en",region:"US"};return new we(l.baseUrl,e??20,(s=l.localesConfiguration)===null||s===void 0?void 0:s.allLanguagesAllowed,r??`${d}-${p}`)}};var Fi=class{urlToSearchRequest(e){return hr.get().parse(e)}searchRequestToUrl(e){return hr.get().serialize(e)}};window.FluidTopicsUrlService=new Fi;var st=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{nextLocation:e}})}};st.eventName="before-location-change";var at=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};at.eventName="change";var Mi=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))}},ol=new Mi;var yo=class t extends Ce{static build(){return new t(window.history,ol,()=>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),K(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,this.windowLocation().href]),setTimeout(()=>this.dispatchEvent(new at(this.currentItem())),0)}installProxies(){let e=r=>(n,i,[s,a,l])=>{let d=new st(new URL(typeof l=="string"?l:(l??this.windowLocation()).href,window.location.origin));this.dispatchEvent(d);let p=r(),h={...p===this.currentIndex?this.currentState:void 0,...s,index:p,href:d.detail.nextLocation.href};n.apply(i,[h,a,h.href]),this.setCurrentState(h,!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(st.eventName,e)}removeBeforeLocationChangeListener(e){this.removeEventListener(st.eventName,e)}addHistoryChangeListener(e){this.addEventListener(at.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(at.eventName,e)}currentItem(){return ne(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 ne(this.states[this.previousDifferentMajorPosition()])}backwardItemMatching(e){let r=this.states.filter(n=>!!n).filter(n=>n.index<this.currentIndex).reverse();return ne(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 ne(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=yo.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 nl=D`
85
- `;function il(t,e){let{authenticationRequired:r,session:n}=R.getState();return r&&!n?.sessionAuthenticated?Promise.resolve(e):t()}var bo=class extends Lt{async updateUiLocale(e){return(await this.awaitApi).updateUiLocale(e)}};var Di=class t extends Rt{static build(e){return new t(R,e)}constructor(e,r){super(),this.store=e,this.cache=new me,this.withManualResources=!0,this.userLocaleService=new bo,this.cleanSessionDebouncer=new Oe,this.reloadConfiguration=()=>{var n;(n=this.cache)===null||n===void 0||n.clear("availableContentLocales"),this.updateAvailableContentLocales()},this.reloadDebouncer=new Oe(500),this.apiProvider=r??(()=>it.get())}setWithManualResources(e){this.withManualResources=e,this.updateIfNeeded()}addListeners(){this.store.addEventListener($e.eventName,this.reloadConfiguration)}removeListeners(){this.store.removeEventListener($e.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",()=>il(()=>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 fr(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 sa(R.getState().session,...e)}},Ui=Di.build();var ct=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 mr=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(),l=s.deref();a===void 0||l===void 0||a.dispatchEvent(new ct(e.context,a,l,!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 G=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 l=t.length-1;l>=0;l--)(a=t[l])&&(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 extends _e{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=Ui,this.contextRoot=new mr}render(){return Y`
84
+ `}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?Be.error:this.warningMessages.length?Be.warning:Be.default}}return V([w()],e.prototype,"warningRules",void 0),V([w()],e.prototype,"errorRules",void 0),V([w()],e.prototype,"validateOn",void 0),V([w({type:Boolean})],e.prototype,"validateAtRender",void 0),V([w()],e.prototype,"label",void 0),V([w({type:Boolean})],e.prototype,"hideLabel",void 0),V([w()],e.prototype,"name",void 0),V([w({type:Boolean})],e.prototype,"disabled",void 0),V([w()],e.prototype,"helperText",void 0),V([w()],e.prototype,"forceStatus",void 0),V([w({reflect:!0})],e.prototype,"value",void 0),V([z()],e.prototype,"errorMessages",void 0),V([z()],e.prototype,"warningMessages",void 0),V([z()],e.prototype,"status",void 0),V([z()],e.prototype,"focused",void 0),V([z()],e.prototype,"additionalWarningRules",void 0),V([z()],e.prototype,"additionalErrorRules",void 0),V([z()],e.prototype,"forceErrorMessages",void 0),e});var pr=(t,e)=>{let r=t._$AN;if(r===void 0)return!1;for(let n of r)n._$AO?.(e,!1),pr(n,e);return!0},co=t=>{let e,r;do{if((e=t._$AM)===void 0)break;r=e._$AN,r.delete(t),t=e}while(r?.size===0)},Qc=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),Hp(e)}};function Bp(t){this._$AN!==void 0?(co(this),this._$AM=t,Qc(this)):this._$AM=t}function $p(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++)pr(n[s],!1),co(n[s]);else n!=null&&(pr(n,!1),co(n));else pr(this,t)}var Hp=t=>{t.type==fe.CHILD&&(t._$AP??=$p,t._$AQ??=Bp)},It=class extends oe{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,r,n){super._$AT(e,r,n),Qc(this),this.isConnected=e._$AU}_$AO(e,r=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),r&&(pr(this,e),co(this))}setValue(e){if(as(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 Ei=class extends It{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 $}update(e){return this.part=e,this.ensureFocusTrap(e.element),$}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 re&&await e.updateComplete}isInsideElement(e,r){for(let n=e;n;n=n.parentNode){if(n===r)return!0;n instanceof ShadowRoot?n=n.host:n.assignedSlot&&(n=n.assignedSlot)}return!1}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}},W0=X(Ei);var Jc;(function(t){t.sm="sm",t.md="md",t.lg="lg",t.xl="xl"})(Jc||(Jc={}));var zp={sm:640,md:768,lg:1024,xl:1280},Ci=class extends It{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??(()=>N);return this.size>i?r():s()}resolveThreshold(e){return typeof e=="number"?e:zp[e]}},Z0=X(Ci);var wi,Oi,Ai,Ri,Vp=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((Ai=(Oi=(wi=window.safari)===null||wi===void 0?void 0:wi.pushNotification)===null||Oi===void 0?void 0:Oi.toString())!==null&&Ai!==void 0?Ai:"")==="[object SafariRemoteNotification]",Gp="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(Ri=window.ftGlobals)!==null&&Ri!==void 0?Ri:{lit:Do,litDecorators:Uo,litRepeat:Bo,litClassMap:$o,litStyleMap:Ho,litUnsafeHTML:zo,wcUtils:{...Vo,...Qo,...Go,...an,...li,...cn,...Wo,...pn,...Yo,...On,...fi,...Kc,...si,...An,...un,...Tn,...ci,...Ln,...hi,...mi,...sc,...Ko,...Fn,...xi,...fn,...Mn,...qc,...cc,...Dn,...oi,...ui,...Rn,...In,...en,...on,...yi,isSafari:Vp,isTouchScreen:Gp,setVariable:gt}};var _i;(function(t){t.CLUSTERED_SEARCH="CLUSTERED_SEARCH"})(_i||(_i={}));var Wp="ft-app-info",$e=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};$e.eventName="authentication-change";var fr=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:e})}};fr.eventName="ui-locale-changed";var jp={session:(t,e)=>{K(t.session,e.payload)||(t.session=e.payload,setTimeout(()=>_.dispatchEvent(new $e(e.payload)),0))}},_=Ue.get({name:Wp,reducers:jp,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 lo=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 l=t.length-1;l>=0;l--)(a=t[l])&&(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},nS=H(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(_)}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(l=>l.key===n))===null||i===void 0?void 0:i.date)!==null&&s!==void 0?s:!1)?l=>ot.format(l,this.uiLocale,this.useLongDateFormat,this.useDateTimeFormat):void 0}}return lo([w({type:Boolean})],e.prototype,"useLongDateFormat",void 0),lo([w({type:Boolean})],e.prototype,"useDateTimeFormat",void 0),lo([Fe({store:_.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),lo([Fe({store:_.name})],e.prototype,"uiLocale",void 0),e});var it=class t{static get(e){let{baseUrl:r,apiIntegrationIdentifier:n}=_.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=_.subscribe(()=>{n=t.get(e),n&&(i(),r(n))})}})}};var Lt=class{constructor(e){this.overrideApi=e}get api(){var e;return(e=this.overrideApi)!==null&&e!==void 0?e:it.get()}get awaitApi(){return this.overrideApi?Promise.resolve(this.overrideApi):it.await()}};var J=class extends Lt{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(([l],[d])=>l.localeCompare(d)));let i=this.constructor;i.commonCache=(n=i.commonCache)!==null&&n!==void 0?n:new me,this.cache=e?i.commonCache:new me}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 uo=class extends J{async listMySearches(){let{session:e}=_.getState();return Pr(e,U.SAVED_SEARCH_USER)?this.cache.get("my-searches",async()=>(await this.awaitApi).listMySearches(e.profile.userId),300*1e3):[]}};var po=class extends J{async listMyBookmarks(){let e=_.getState().session;return e?.sessionAuthenticated?this.cache.get("my-bookmarks",async()=>(await this.awaitApi).listMyBookmarks(e.profile.userId),300*1e3):[]}};var fo=class extends J{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=_.getState().session;return!!e?.sessionAuthenticated}};var ho=class extends J{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=_.getState().session;return!!e?.sessionAuthenticated}};var Kp="ft-user-assets",qp={setAssetCount:(t,e)=>{let{userAssetType:r,count:n}=e.payload.assetCount;t.assetCounts.allAsset[r]=n},clearAssetCount:t=>{Object.values(ie).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;Li(t,r,[...Ii(t,r),i]),Xc(t,r,1,n),el(t,i)},editAsset:(t,e)=>{let{assetType:r,asset:n}=e.payload;Li(t,r,Ii(t,r).map(i=>i.id===n.id?n:i)),el(t,n)},removeAsset:(t,e)=>{let{assetType:r,mapId:n,assetId:i}=e.payload;Li(t,r,Ii(t,r).filter(s=>s.id!==i)),Xc(t,r,-1,n)}},tl={[ie.SEARCHES]:"savedSearches",[ie.BOOKMARKS]:"bookmarks",[ie.BOOKS]:void 0,[ie.COLLECTIONS]:void 0},Ii=(t,e)=>{var r;let n=tl[e];return n?(r=t[n])!==null&&r!==void 0?r:[]:[]},Li=(t,e,r)=>{let n=tl[e];n&&(t[n]=r)},Xc=(t,e,r,n)=>{let i=t.assetCounts.allAsset[e];if(i!==void 0&&(t.assetCounts.allAsset[e]=Math.max(0,i+r),e===ie.BOOKMARKS&&n)){let s=t.assetCounts.bookmarkByMap[n];t.assetCounts.bookmarkByMap[n]=Math.max(0,s+r)}},el=(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)},Z=Ue.get({name:Kp,reducers:qp,initialState:{savedSearches:void 0,bookmarks:void 0,assetCounts:{allAsset:Object.fromEntries(Object.values(ie).map(t=>[t,void 0])),bookmarkByMap:{}},assetLabels:[]}}),ki=class{constructor(e=new fo,r=new ho){this.assetCountsService=e,this.assetLabelsService=r,this.currentSession=_.getState().session,this.bookmarksAreUsed=!1,this.bookmarksService=new po,this.savedSearchesService=new uo,_.subscribe(()=>this.reloadWhenUserSessionChanges())}reloadWhenUserSessionChanges(){var e;let{session:r}=_.getState();K((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(),Z.actions.clearAssetCount(),Z.actions.clearBookmarkCountByMap()}clear(){this.clearMySearches(),this.clearMyBookmarks()}clearMySearches(){this.savedSearchesService.clearCache(),Z.actions.savedSearches(void 0)}clearMyBookmarks(){this.bookmarksService.clearCache(),Z.actions.bookmarks(void 0)}async reloadMySearches(){this.savedSearchesService.clearCache();let e=await this.savedSearchesService.listMySearches();Z.actions.savedSearches(e)}async reloadBookmarks(){this.bookmarksService.clearCache(),await this.updateBookmarksIfUsed()}async reloadAssetLabels(){this.assetLabelsService.clearCache();let e=await this.assetLabelsService.getUserAssetLabels();Z.actions.assetLabels(e)}async loadAssetCount(e){let r=await this.assetCountsService.getUserAssetCount(e);r&&Z.getState().assetCounts.allAsset[e]!==r.count&&Z.actions.setAssetCount({assetCount:r})}async loadBookmarkByMapId(e){let r=await this.assetCountsService.getUserBookmarkCountByMap(e);r&&Z.getState().assetCounts.bookmarkByMap[e]!==r.count&&Z.actions.setBookmarkCountByMap({count:r.count,mapId:e})}async reloadAssetCount(e){this.assetCountsService.clearCache();let r=Object.keys(Z.getState().assetCounts.bookmarkByMap).length!==0;e===ie.BOOKMARKS&&r&&Z.actions.clearBookmarkCountByMap(),Z.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;Z.actions.bookmarks(r)}}},Zp=new ki;window.FluidTopicsUserAssetsActions==null&&(window.FluidTopicsUserAssetsActions=Zp);var Ti=class{addCommand(e,r=!1){_.commands.add(e,r)}consumeCommand(e){return _.commands.consume(e)}};window.FluidTopicsAppInfoStoreService=new Ti;var rl,kt=class extends CustomEvent{constructor(e){super("ft-i18n-context-loaded",{detail:e})}},Yp=Symbol("clearAfterUnitTest"),mo=class extends Lr(J){constructor(e){super(),this.messageContextProvider=e,this.defaultMessages={},this.listeners={},this.currentUiLocale="",this[rl]=()=>{this.defaultMessages={},this.cache=new me,this.listeners={}},this.currentUiLocale=_.getState().uiLocale,_.subscribe(()=>this.clearWhenUiLocaleChanges())}clearWhenUiLocaleChanges(){let{uiLocale:e}=_.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};K(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 rr((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 ke)&&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 kt({loadedContexts:e})),this.dispatchEvent(new kt({loadedContexts:e})),await Promise.all(e.map(r=>this.notify(r,!1)))}async notify(e,r=!0){r&&(document.body.dispatchEvent(new kt({loadedContexts:[e]})),this.dispatchEvent(new kt({loadedContexts:[e]}))),this.listeners[e]!=null&&await Promise.all([...this.listeners[e].values()].map(n=>Ir(0).then(()=>n()).catch(()=>null)))}};rl=Yp;window.FluidTopicsI18nService==null&&(window.FluidTopicsI18nService=new class extends mo{constructor(){super(async(t,e)=>(await this.awaitApi).getFluidTopicsMessageContext(t,e))}});window.FluidTopicsCustomI18nService==null&&(window.FluidTopicsCustomI18nService=new class extends mo{constructor(){super(async(t,e)=>(await this.awaitApi).getCustomMessageContext(t,e))}});var Tt=window.FluidTopicsI18nService,go=window.FluidTopicsCustomI18nService;var Pi=class{highlightHtml(e,r,n){Nn(e,r,n)}};window.FluidTopicsHighlightHtmlService=new Pi;var Ni=class{isDate(e){var r,n,i,s;return(s=(n=((i=(r=_.getState().metadataConfiguration)===null||r===void 0?void 0:r.descriptors)!==null&&i!==void 0?i:[]).find(l=>l.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 ot.format(e,(n=r?.locale)!==null&&n!==void 0?n:_.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(l){throw console.error(`Date ${JSON.stringify(e)} is not valid`,l),l}}};window.FluidTopicsDateService=new Ni;var hr=class{static get(e,r,{baseUrl:n,localesConfiguration:i,availableContentLocales:s}=_.getState()){var a;if(!r||s.length>0&&!s.some(l=>l.lang===r)){let l=i?.defaultLocales.defaultContentLocale;r=l?`${l.lang}-${l.region}`:(a=s[0])===null||a===void 0?void 0:a.lang}return new we(n,e??20,i?.allLanguagesAllowed,r,s)}};var Fi=class{urlToSearchRequest(e){return hr.get().parse(e)}searchRequestToUrl(e){return hr.get().serialize(e)}};window.FluidTopicsUrlService=new Fi;var st=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{nextLocation:e}})}};st.eventName="before-location-change";var at=class t extends CustomEvent{constructor(e){super(t.eventName,{detail:{currentItem:e}})}};at.eventName="change";var Mi=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))}},ol=new Mi;var yo=class t extends Ce{static build(){return new t(window.history,ol,()=>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),K(this.currentState,this.history.state)||this.realReplaceState.apply(this.history,[this.currentState,this.currentState.title,this.windowLocation().href]),setTimeout(()=>this.dispatchEvent(new at(this.currentItem())),0)}installProxies(){let e=r=>(n,i,[s,a,l])=>{let d=new st(new URL(typeof l=="string"?l:(l??this.windowLocation()).href,window.location.origin));this.dispatchEvent(d);let p=r(),h={...p===this.currentIndex?this.currentState:void 0,...s,index:p,href:d.detail.nextLocation.href};n.apply(i,[h,a,h.href]),this.setCurrentState(h,!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(st.eventName,e)}removeBeforeLocationChangeListener(e){this.removeEventListener(st.eventName,e)}addHistoryChangeListener(e){this.addEventListener(at.eventName,e)}removeHistoryChangeListener(e){this.removeEventListener(at.eventName,e)}currentItem(){return ne(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 ne(this.states[this.previousDifferentMajorPosition()])}backwardItemMatching(e){let r=this.states.filter(n=>!!n).filter(n=>n.index<this.currentIndex).reverse();return ne(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 ne(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=yo.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 nl=D`
85
+ `;function il(t,e){let{authenticationRequired:r,session:n}=_.getState();return r&&!n?.sessionAuthenticated?Promise.resolve(e):t()}var bo=class extends Lt{async updateUiLocale(e){return(await this.awaitApi).updateUiLocale(e)}};var Di=class t extends Rt{static build(e){return new t(_,e)}constructor(e,r){super(),this.store=e,this.cache=new me,this.withManualResources=!0,this.userLocaleService=new bo,this.cleanSessionDebouncer=new Oe,this.reloadConfiguration=()=>{var n;(n=this.cache)===null||n===void 0||n.clear("availableContentLocales"),this.updateAvailableContentLocales()},this.reloadDebouncer=new Oe(500),this.apiProvider=r??(()=>it.get())}setWithManualResources(e){this.withManualResources=e,this.updateIfNeeded()}addListeners(){this.store.addEventListener($e.eventName,this.reloadConfiguration)}removeListeners(){this.store.removeEventListener($e.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",()=>il(()=>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 fr(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 sa(_.getState().session,...e)}},Ui=Di.build();var ct=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 mr=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(),l=s.deref();a===void 0||l===void 0||a.dispatchEvent(new ct(e.context,a,l,!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 G=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 l=t.length-1;l>=0;l--)(a=t[l])&&(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 extends _e{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=Ui,this.contextRoot=new mr}render(){return Y`
86
86
  <slot></slot>
87
- `}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=>Tt.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())}};F.elementDefinitions={};F.styles=nl;G([O()],F.prototype,"baseUrl",void 0);G([O()],F.prototype,"tenantId",void 0);G([O()],F.prototype,"apiIntegrationIdentifier",void 0);G([O()],F.prototype,"apiIntegrationAppVersion",void 0);G([O()],F.prototype,"uiLocale",void 0);G([ce(null)],F.prototype,"availableUiLocales",void 0);G([ce(null)],F.prototype,"metadataConfiguration",void 0);G([O({type:Boolean})],F.prototype,"editorMode",void 0);G([O({type:Boolean})],F.prototype,"noCustom",void 0);G([O({type:Boolean})],F.prototype,"openExternalDocumentInNewTab",void 0);G([O({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],F.prototype,"noCustomComponent",void 0);G([O({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],F.prototype,"noCustomCode",void 0);G([O({type:Boolean})],F.prototype,"withManualResources",void 0);G([O({type:Boolean})],F.prototype,"navigatorOnline",void 0);G([O({type:Boolean})],F.prototype,"forcedOffline",void 0);G([O({type:Boolean})],F.prototype,"authenticationRequired",void 0);G([ce([])],F.prototype,"messageContexts",void 0);G([ce(void 0)],F.prototype,"session",void 0);var sl={"ft-app-context":F};je(sl);var xo=class t extends Event{constructor(){super(t.eventName)}};xo.eventName="search-context-clear-all-filters";var Bi=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 l=t.length-1;l>=0;l--)(a=t[l])&&(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},Hi=class extends CustomEvent{constructor(e){super("register-ft-search-component",{bubbles:!0,composed:!0,detail:{registrationId:e}})}},al=Symbol("registerInterval"),$i=Symbol("registerAttempts"),Xp=40,ef=H(Symbol("toFtSearchComponent"),function(t){class e extends t{constructor(){super(...arguments),this.neededSearchRequests=[]}willUpdate(n){var i,s,a;super.willUpdate(n),n.has("neededSearchRequests")&&((i=this.stateManager)===null||i===void 0||i.unregisterComponent(this,(a=n.get("neededSearchRequests"))!==null&&a!==void 0?a:[]),(s=this.stateManager)===null||s===void 0||s.registerComponent(this,this.neededSearchRequests))}setSearchStateManager(n){this.clearStateManager(),this.stateManager=n,this.stateManager.registerComponent(this,this.neededSearchRequests),this.addStore(n.store,"search")}clearStateManager(){this.stateManager&&(this.stateManager.unregisterComponent(this,this.neededSearchRequests),this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[$i]=0,this.tryToRegisterToContext(),this[al]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[$i]>Xp?window.clearInterval(this[al]):(this[$i]++,this.dispatchEvent(new Hi(this.searchRegistrationId)))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return Bi([z()],e.prototype,"stateManager",void 0),Bi([z({hasChanged:he})],e.prototype,"neededSearchRequests",void 0),Bi([O()],e.prototype,"searchRegistrationId",void 0),e}),vo=class extends ef(_e){};var So=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?go:Tt}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 zi=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-]+$/)}},cl=new zi;var tf=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 l=t.length-1;l>=0;l--)(a=t[l])&&(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},rf=Symbol("i18nAttributes"),of=Symbol("i18nListAttributes"),dl=Symbol("i18nProperties"),Eo=Symbol("i18nContexts"),gr=Symbol("i18nUnsubs"),wo=H(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?go:Tt}i18n(s){let{context:a,key:l,message:d}=s,{custom:p,args:h,argsProvider:f}=s;if(a&&l){this.hasI18nContext(a)||this.addI18nContext(a,void 0,p);let m=h??(f?f(this):[]);return this.getI18nService(p).resolveMessage(a,l,...m)}return d}async awaitI18n(s){let{context:a,custom:l}=s;return a&&await this.getI18nService(l).prepareContext(a),this.i18n(s)}customI18n(s,a){if(cl.isI18nKey(s)){let[l,d]=s.split(".");return this.i18n({custom:!0,context:l,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,l,d)=>s.has(l)||typeof a.argsProvider=="function"),this.updateI18nProperties(a=>typeof a.argsProvider=="function")}onI18nUpdate(s){this.updateI18nAttributes((a,l,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,l;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[rf])===null||a===void 0||a.forEach((h,f)=>d[f]=p(h,f,d[f])),(l=this[of])===null||l===void 0||l.forEach((h,f)=>{var m;return d[f]=(m=d[f])===null||m===void 0?void 0:m.map(b=>p(h,f,b))})}updateI18nProperties(s){var a;(a=this[dl])===null||a===void 0||a.forEach((l,d)=>{s(l,d)&&(this[d]=this.i18n(l))})}addI18nMessages(s,a,l){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(s,a,l)}addI18nContext(s,a,l){let d=(typeof s=="string"?s:s.name).toLowerCase();l=typeof s=="string"?l:s.custom,this[Eo].set(d,{isCustomContext:l}),this[gr].has(d)||this[gr].set(d,this.getI18nService(l).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(l).prepareContext(d,a)}hasI18nContext(s){return this[Eo].has(s.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Eo].forEach((s,a)=>this.addI18nContext(a,void 0,s.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[gr].forEach(s=>s()),this[gr].clear()}}return e=Eo,r=gr,tf([O({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),ll=class extends wo(q){},Co=class extends wo(_e){};var ul=D`
88
- `;var Pt=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 l=t.length-1;l>=0;l--)(a=t[l])&&(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 Co{constructor(){super(),this.editorMode=!1,this.editorMessage="Select a context and a label key.",this.addStore(R)}render(){return!this.key||!this.context?this.editorMode?this.editorMessage:N:Y`
87
+ `}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=>Tt.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())}};F.elementDefinitions={};F.styles=nl;G([w()],F.prototype,"baseUrl",void 0);G([w()],F.prototype,"tenantId",void 0);G([w()],F.prototype,"apiIntegrationIdentifier",void 0);G([w()],F.prototype,"apiIntegrationAppVersion",void 0);G([w()],F.prototype,"uiLocale",void 0);G([ce(null)],F.prototype,"availableUiLocales",void 0);G([ce(null)],F.prototype,"metadataConfiguration",void 0);G([w({type:Boolean})],F.prototype,"editorMode",void 0);G([w({type:Boolean})],F.prototype,"noCustom",void 0);G([w({type:Boolean})],F.prototype,"openExternalDocumentInNewTab",void 0);G([w({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],F.prototype,"noCustomComponent",void 0);G([w({converter:{fromAttribute(t){return t==="false"?!1:t==="true"||(t??!1)}}})],F.prototype,"noCustomCode",void 0);G([w({type:Boolean})],F.prototype,"withManualResources",void 0);G([w({type:Boolean})],F.prototype,"navigatorOnline",void 0);G([w({type:Boolean})],F.prototype,"forcedOffline",void 0);G([w({type:Boolean})],F.prototype,"authenticationRequired",void 0);G([ce([])],F.prototype,"messageContexts",void 0);G([ce(void 0)],F.prototype,"session",void 0);var sl={"ft-app-context":F};je(sl);var xo=class t extends Event{constructor(){super(t.eventName)}};xo.eventName="search-context-clear-all-filters";var Bi=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 l=t.length-1;l>=0;l--)(a=t[l])&&(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},Hi=class extends CustomEvent{constructor(e){super("register-ft-search-component",{bubbles:!0,composed:!0,detail:{registrationId:e}})}},al=Symbol("registerInterval"),$i=Symbol("registerAttempts"),Xp=40,ef=H(Symbol("toFtSearchComponent"),function(t){class e extends t{constructor(){super(...arguments),this.neededSearchRequests=[]}willUpdate(n){var i,s,a;super.willUpdate(n),n.has("neededSearchRequests")&&((i=this.stateManager)===null||i===void 0||i.unregisterComponent(this,(a=n.get("neededSearchRequests"))!==null&&a!==void 0?a:[]),(s=this.stateManager)===null||s===void 0||s.registerComponent(this,this.neededSearchRequests))}setSearchStateManager(n){this.clearStateManager(),this.stateManager=n,this.stateManager.registerComponent(this,this.neededSearchRequests),this.addStore(n.store,"search")}clearStateManager(){this.stateManager&&(this.stateManager.unregisterComponent(this,this.neededSearchRequests),this.removeStore(this.stateManager.store),this.stateManager=void 0)}connectedCallback(){super.connectedCallback(),this[$i]=0,this.tryToRegisterToContext(),this[al]=window.setInterval(()=>this.tryToRegisterToContext(),50)}tryToRegisterToContext(){this.stateManager!=null||this[$i]>Xp?window.clearInterval(this[al]):(this[$i]++,this.dispatchEvent(new Hi(this.searchRegistrationId)))}disconnectedCallback(){super.disconnectedCallback(),this.clearStateManager()}}return Bi([z()],e.prototype,"stateManager",void 0),Bi([z({hasChanged:he})],e.prototype,"neededSearchRequests",void 0),Bi([w()],e.prototype,"searchRegistrationId",void 0),e}),vo=class extends ef(_e){};var So=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?go:Tt}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 zi=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-]+$/)}},cl=new zi;var tf=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 l=t.length-1;l>=0;l--)(a=t[l])&&(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},rf=Symbol("i18nAttributes"),of=Symbol("i18nListAttributes"),dl=Symbol("i18nProperties"),Eo=Symbol("i18nContexts"),gr=Symbol("i18nUnsubs"),wo=H(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?go:Tt}i18n(s){let{context:a,key:l,message:d}=s,{custom:p,args:h,argsProvider:f}=s;if(a&&l){this.hasI18nContext(a)||this.addI18nContext(a,void 0,p);let m=h??(f?f(this):[]);return this.getI18nService(p).resolveMessage(a,l,...m)}return d}async awaitI18n(s){let{context:a,custom:l}=s;return a&&await this.getI18nService(l).prepareContext(a),this.i18n(s)}customI18n(s,a){if(cl.isI18nKey(s)){let[l,d]=s.split(".");return this.i18n({custom:!0,context:l,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,l,d)=>s.has(l)||typeof a.argsProvider=="function"),this.updateI18nProperties(a=>typeof a.argsProvider=="function")}onI18nUpdate(s){this.updateI18nAttributes((a,l,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,l;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[rf])===null||a===void 0||a.forEach((h,f)=>d[f]=p(h,f,d[f])),(l=this[of])===null||l===void 0||l.forEach((h,f)=>{var m;return d[f]=(m=d[f])===null||m===void 0?void 0:m.map(b=>p(h,f,b))})}updateI18nProperties(s){var a;(a=this[dl])===null||a===void 0||a.forEach((l,d)=>{s(l,d)&&(this[d]=this.i18n(l))})}addI18nMessages(s,a,l){console.warn('Deprecated usage of method "addI18nMessages", use "addI18nContext" instead.'),this.addI18nContext(s,a,l)}addI18nContext(s,a,l){let d=(typeof s=="string"?s:s.name).toLowerCase();l=typeof s=="string"?l:s.custom,this[Eo].set(d,{isCustomContext:l}),this[gr].has(d)||this[gr].set(d,this.getI18nService(l).subscribe(d,()=>this.onI18nUpdate(d))),this.getI18nService(l).prepareContext(d,a)}hasI18nContext(s){return this[Eo].has(s.toLowerCase())}connectedCallback(){super.connectedCallback(),this[Eo].forEach((s,a)=>this.addI18nContext(a,void 0,s.isCustomContext))}disconnectedCallback(){super.disconnectedCallback(),this[gr].forEach(s=>s()),this[gr].clear()}}return e=Eo,r=gr,tf([w({type:Boolean})],n.prototype,"useCustomMessageContexts",void 0),n}),ll=class extends wo(q){},Co=class extends wo(_e){};var ul=D`
88
+ `;var Pt=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 l=t.length-1;l>=0;l--)(a=t[l])&&(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 Co{constructor(){super(),this.editorMode=!1,this.editorMessage="Select a context and a label key.",this.addStore(_)}render(){return!this.key||!this.context?this.editorMode?this.editorMessage:N:Y`
89
89
  <span class="ft-i18n">
90
90
  ${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
91
91
  </span>
92
- `}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:""})}};se.elementDefinitions={};se.styles=ul;Pt([Fe()],se.prototype,"editorMode",void 0);Pt([O()],se.prototype,"context",void 0);Pt([O()],se.prototype,"key",void 0);Pt([ce([])],se.prototype,"args",void 0);Pt([O()],se.prototype,"defaultMessage",void 0);Pt([z()],se.prototype,"editorMessage",void 0);var pl={"ft-i18n":se};je(pl);var Oo=So.build("designedSearchQuickFilters"),fl={presetsSelector:"Quick filters",noQuickFilter:"No quick filter selected"};var hl=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 l=t.length-1;l>=0;l--)(a=t[l])&&(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},Nt=class extends wo(vo){constructor(){super(),this.builtPresets=[],this.addI18nContext(Oo,fl),this.addStore(R)}get hasPresets(){return this.builtPresets!=null&&this.builtPresets.length>0}findPreset(e){var r;return((r=this.builtPresets)!==null&&r!==void 0?r:[]).find(n=>n.id===e)}matchesCurrentFilters(e){var r;let n=e.filters.filter(s=>s.values.length>0),i=(r=this.filters)!==null&&r!==void 0?r:[];return n.length!==i.length?!1:n.every(s=>{var a;let l=i.find(h=>h.key===s.key),d=(a=l?.valueFilter)===null||a===void 0?void 0:a.values;if(l?.dateFilter||l?.rangeFilter||d==null)return!1;let p=new Set(s.values);return d.length===p.size&&d.every(h=>p.has(h))})}applySelectedPreset(){let e=this.findPreset(this.selectedPreset);if(e&&this.stateManager&&!this.matchesCurrentFilters(e)){this.stateManager.clearAllFilters();for(let r of e.filters)this.stateManager.setValueFilter(r.key,r.values)}}syncSelectedPresetWithFilters(){var e,r;let n=this.findPreset(this.selectedPreset);(n==null||!this.matchesCurrentFilters(n))&&(this.selectedPreset=(e=((r=this.builtPresets)!==null&&r!==void 0?r:[]).find(i=>this.matchesCurrentFilters(i)))===null||e===void 0?void 0:e.id)}willUpdate(e){super.willUpdate(e),(e.has("selectedPreset")||e.has("stateManager"))&&this.applySelectedPreset(),e.has("filters")&&this.stateManager&&this.syncSelectedPresetWithFilters()}render(){var e;return Y`
92
+ `}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:""})}};se.elementDefinitions={};se.styles=ul;Pt([Fe()],se.prototype,"editorMode",void 0);Pt([w()],se.prototype,"context",void 0);Pt([w()],se.prototype,"key",void 0);Pt([ce([])],se.prototype,"args",void 0);Pt([w()],se.prototype,"defaultMessage",void 0);Pt([z()],se.prototype,"editorMessage",void 0);var pl={"ft-i18n":se};je(pl);var Oo=So.build("designedSearchQuickFilters"),fl={presetsSelector:"Quick filters",noQuickFilter:"No quick filter selected"};var hl=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 l=t.length-1;l>=0;l--)(a=t[l])&&(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},Nt=class extends wo(vo){constructor(){super(),this.builtPresets=[],this.addI18nContext(Oo,fl),this.addStore(_)}get hasPresets(){return this.builtPresets!=null&&this.builtPresets.length>0}findPreset(e){var r;return((r=this.builtPresets)!==null&&r!==void 0?r:[]).find(n=>n.id===e)}matchesCurrentFilters(e){var r;let n=e.filters.filter(s=>s.values.length>0),i=(r=this.filters)!==null&&r!==void 0?r:[];return n.length!==i.length?!1:n.every(s=>{var a;let l=i.find(h=>h.key===s.key),d=(a=l?.valueFilter)===null||a===void 0?void 0:a.values;if(l?.dateFilter||l?.rangeFilter||d==null)return!1;let p=new Set(s.values);return d.length===p.size&&d.every(h=>p.has(h))})}applySelectedPreset(){let e=this.findPreset(this.selectedPreset);if(e&&this.stateManager&&!this.matchesCurrentFilters(e)){this.stateManager.clearAllFilters();for(let r of e.filters)this.stateManager.setValueFilter(r.key,r.values)}}syncSelectedPresetWithFilters(){var e,r;let n=this.findPreset(this.selectedPreset);(n==null||!this.matchesCurrentFilters(n))&&(this.selectedPreset=(e=((r=this.builtPresets)!==null&&r!==void 0?r:[]).find(i=>this.matchesCurrentFilters(i)))===null||e===void 0?void 0:e.id)}willUpdate(e){super.willUpdate(e),(e.has("selectedPreset")||e.has("stateManager"))&&this.applySelectedPreset(),e.has("filters")&&this.stateManager&&this.syncSelectedPresetWithFilters()}render(){var e;return Y`
93
93
  ${this.hasPresets?Y`
94
94
  <ft-select
95
95
  class="ft-search-quick-filters--presets"
@@ -105,7 +105,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:o.extend("--ftds-con
105
105
  `)}
106
106
  </ft-select>
107
107
  `:Oo.messages.noQuickFilter()}
108
- `}};hl([O({type:String,reflect:!0})],Nt.prototype,"selectedPreset",void 0);hl([Fe({store:"search",selector:t=>t.request.metadataFilters})],Nt.prototype,"filters",void 0);var ml={"ft-search-quick-filters":Nt};je(ml);})();
108
+ `}};hl([w({type:String,reflect:!0})],Nt.prototype,"selectedPreset",void 0);hl([Fe({store:"search",selector:t=>t.request.metadataFilters})],Nt.prototype,"filters",void 0);var ml={"ft-search-quick-filters":Nt};je(ml);})();
109
109
  /*! Bundled license information:
110
110
 
111
111
  .store/@webcomponents-scoped-custom-element-registry-npm-0.0.9-2bdd05710b/package/src/scoped-custom-element-registry.js: