@fluid-topics/ft-accordion 2.2.20 → 2.2.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,11 @@
1
- "use strict";(()=>{var cl=Object.defineProperty;var I=(e,t)=>{for(var o in t)cl(e,o,{get:t[o],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let e=window.HTMLElement,t=window.customElements.define,o=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(y,g){if(y=y.toLowerCase(),this._getDefinition(y)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${y}" has already been used with this registry`);if(this._definitionsByClass.get(g)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let x=g.prototype.attributeChangedCallback,w=new Set(g.observedAttributes||[]);m(g,w,x);let R={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:w};this._definitionsByTag.set(y,R),this._definitionsByClass.set(g,R);let k=o.call(n,y);k||(k=f(y),t.call(n,y,k)),this===window.customElements&&(s.set(g,R),R.standInClass=k);let U=this._awaitingUpgrade.get(y);if(U){this._awaitingUpgrade.delete(y);for(let D of U)a.delete(D),E(D,R,!0)}let T=this._whenDefinedPromises.get(y);return T!==void 0&&(T.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(w=>x.resolve=w),this._whenDefinedPromises.set(y,x)),x.promise}_upgradeWhenDefined(y,g,x){let w=this._awaitingUpgrade.get(g);w||this._awaitingUpgrade.set(g,w=new Set),x?w.add(y):w.delete(y)}};let d;window.HTMLElement=function(){let g=d;if(g)return d=void 0,g;let x=s.get(this.constructor);if(!x)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return g=Reflect.construct(e,[],x.standInClass),Object.setPrototypeOf(g,this.constructor.prototype),i.set(g,x),g},window.HTMLElement.prototype=e.prototype;let p=y=>y===document||y instanceof ShadowRoot,h=y=>{let g=y.getRootNode();if(!p(g)){let x=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(e,[],this.constructor);Object.setPrototypeOf(x,HTMLElement.prototype);let w=h(x)||window.customElements,R=w._getDefinition(y);return R?E(x,R):a.set(x,w),x}connectedCallback(){let x=i.get(this);x?x.connectedCallback&&x.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,y,!0)}disconnectedCallback(){let x=i.get(this);x?x.disconnectedCallback&&x.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,y,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let x=i.get(this);x&&x.formAssociated&&x?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let x=i.get(this);x?.formAssociated&&x?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let x=i.get(this);x?.formAssociated&&x?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let x=i.get(this);x?.formAssociated&&x?.formStateRestoreCallback?.apply(this,arguments)}},m=(y,g,x)=>{if(g.size===0||x===void 0)return;let w=y.prototype.setAttribute;w&&(y.prototype.setAttribute=function(U,T){let D=U.toLowerCase();if(g.has(D)){let H=this.getAttribute(D);w.call(this,D,T),x.call(this,D,H,T)}else w.call(this,D,T)});let R=y.prototype.removeAttribute;R&&(y.prototype.removeAttribute=function(U){let T=U.toLowerCase();if(g.has(T)){let D=this.getAttribute(T);R.call(this,T),x.call(this,T,D,null)}else R.call(this,T)});let k=y.prototype.toggleAttribute;k&&(y.prototype.toggleAttribute=function(U,T){let D=U.toLowerCase();if(g.has(D)){let H=this.getAttribute(D);k.call(this,D,T);let ce=this.getAttribute(D);x.call(this,D,H,ce)}else k.call(this,D,T)})},b=y=>{let g=Object.getPrototypeOf(y);if(g!==window.HTMLElement)return g===e?Object.setPrototypeOf(y,window.HTMLElement):b(g)},E=(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(w=>{y.hasAttribute(w)&&g.attributeChangedCallback.call(y,w,null,y.getAttribute(w))}),x&&g.connectedCallback&&y.isConnected&&g.connectedCallback.call(y)},O=Element.prototype.attachShadow;Element.prototype.attachShadow=function(y){let g=O.apply(this,arguments);return y.customElements&&(g.customElements=y.customElements),g};let S=[document],C=(y,g,x=void 0)=>{let w=(x?Object.getPrototypeOf(x):y.prototype)[g];y.prototype[g]=function(){S.push(this);let R=w.apply(x||this,arguments);return R!==void 0&&l.set(R,this),S.pop(),R}};C(ShadowRoot,"createElement",document),C(ShadowRoot,"importNode",document),C(Element,"insertAdjacentHTML");let N=(y,g)=>{let x=Object.getOwnPropertyDescriptor(y.prototype,g);Object.defineProperty(y.prototype,g,{...x,set(w){S.push(this),x.set.call(this,w),S.pop()}})};if(N(Element,"innerHTML"),N(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(...U){let T=g.call(this,...U);return y.set(T,this),T},x.forEach(U=>{let T=window.ElementInternals.prototype,D=T[U];T[U]=function(...H){let ce=y.get(this);if(i.get(ce).formAssociated===!0)return D?.call(this,...H);throw new DOMException(`Failed to execute ${D} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class w extends Array{constructor(T){super(...T),this._elements=T}get value(){return this._elements.find(T=>T.checked===!0)?.value||""}}class R{constructor(T){let D=new Map;T.forEach((H,ce)=>{let no=H.getAttribute("name"),xi=D.get(no)||[];this[+ce]=H,xi.push(H),D.set(no,xi)}),this.length=T.length,D.forEach((H,ce)=>{H&&(H.length===1?this[ce]=H[0]:this[ce]=new w(H))})}namedItem(T){return this[T]}}let k=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let U=k.get.call(this,[]),T=[];for(let D of U){let H=i.get(D);(!H||H.formAssociated===!0)&&T.push(D)}return new R(T)}})}}try{window.customElements.define("custom-element",null)}catch{let t=window.customElements.define;window.customElements.define=(o,n,i)=>{var a;if(n!==null)try{t.bind(window.customElements)(o,n,i)}catch(s){!((a=s.message)===null||a===void 0)&&a.includes("this constructor has already been used")?window.customElements.define(o,class extends n{},i):console.info(o,n,i,s)}}}var bo={};I(bo,{CSSResult:()=>ft,LitElement:()=>le,ReactiveElement:()=>re,_$LE:()=>ki,_$LH:()=>mo,adoptStyles:()=>Mt,css:()=>P,defaultConverter:()=>ht,getCompatibleStyle:()=>fr,html:()=>G,isServer:()=>Wp,mathml:()=>ho,noChange:()=>z,notEqual:()=>Ft,nothing:()=>M,render:()=>yo,supportsAdoptingStyleSheets:()=>kt,svg:()=>fo,unsafeCSS:()=>Dt});var pr=globalThis,kt=pr.ShadowRoot&&(pr.ShadyCSS===void 0||pr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,io=Symbol(),Ei=new WeakMap,ft=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==io)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o,o=this.t;if(kt&&t===void 0){let n=o!==void 0&&o.length===1;n&&(t=Ei.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Ei.set(o,t))}return t}toString(){return this.cssText}},Dt=e=>new ft(typeof e=="string"?e:e+"",void 0,io),P=(e,...t)=>{let o=e.length===1?e[0]:t.reduce((n,i,a)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+e[a+1],e[0]);return new ft(o,e,io)},Mt=(e,t)=>{if(kt)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),i=pr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)}},fr=kt?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return Dt(o)})(e):e;var{is:ll,defineProperty:dl,getOwnPropertyDescriptor:ul,getOwnPropertyNames:pl,getOwnPropertySymbols:fl,getPrototypeOf:hl}=Object,hr=globalThis,Si=hr.trustedTypes,ml=Si?Si.emptyScript:"",yl=hr.reactiveElementPolyfillSupport,Ut=(e,t)=>e,ht={toAttribute(e,t){switch(t){case Boolean:e=e?ml:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let o=e;switch(t){case Boolean:o=e!==null;break;case Number:o=e===null?null:Number(e);break;case Object:case Array:try{o=JSON.parse(e)}catch{o=null}}return o}},Ft=(e,t)=>!ll(e,t),vi={attribute:!0,type:String,converter:ht,reflect:!1,useDefault:!1,hasChanged:Ft};Symbol.metadata??=Symbol("metadata"),hr.litPropertyMetadata??=new WeakMap;var re=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=vi){if(o.state&&(o.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((o=Object.create(o)).wrapped=!0),this.elementProperties.set(t,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,o);i!==void 0&&dl(this.prototype,t,i)}}static getPropertyDescriptor(t,o,n){let{get:i,set:a}=ul(this.prototype,t)??{get(){return this[o]},set(s){this[o]=s}};return{get:i,set(s){let l=i?.call(this);a?.call(this,s),this.requestUpdate(t,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??vi}static _$Ei(){if(this.hasOwnProperty(Ut("elementProperties")))return;let t=hl(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Ut("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ut("properties"))){let o=this.properties,n=[...pl(o),...fl(o)];for(let i of n)this.createProperty(i,o[i])}let t=this[Symbol.metadata];if(t!==null){let o=litPropertyMetadata.get(t);if(o!==void 0)for(let[n,i]of o)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let i=this._$Eu(o,n);i!==void 0&&this._$Eh.set(i,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let o=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)o.unshift(fr(i))}else t!==void 0&&o.push(fr(t));return o}static _$Eu(t,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Mt(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,o,n){this._$AK(t,n)}_$ET(t,o){let n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:ht).toAttribute(o,n.type);this._$Em=t,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(t,o){let n=this.constructor,i=n._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:ht;this._$Em=i;let l=s.fromAttribute(o,a.type);this[i]=l??this._$Ej?.get(i)??l,this._$Em=null}}requestUpdate(t,o,n,i=!1,a){if(t!==void 0){let s=this.constructor;if(i===!1&&(a=this[t]),n??=s.getPropertyOptions(t),!((n.hasChanged??Ft)(a,o)||n.useDefault&&n.reflect&&a===this._$Ej?.get(t)&&!this.hasAttribute(s._$Eu(t,n))))return;this.C(t,o,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,o,{useDefault:n,reflect:i,wrapped:a},s){n&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,s??o??this[t]),a!==!0||s!==void 0)||(this._$AL.has(t)||(this.hasUpdated||n||(o=void 0),this._$AL.set(t,o)),i===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(o){Promise.reject(o)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n){let{wrapped:s}=a,l=this[i];s!==!0||this._$AL.has(i)||l===void 0||this.C(i,void 0,a,l)}}let t=!1,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$EO?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$EM()}catch(n){throw t=!1,this._$EM(),n}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$EO?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(o=>this._$ET(o,this[o])),this._$EM()}updated(t){}firstUpdated(t){}};re.elementStyles=[],re.shadowRootOptions={mode:"open"},re[Ut("elementProperties")]=new Map,re[Ut("finalized")]=new Map,yl?.({ReactiveElement:re}),(hr.reactiveElementVersions??=[]).push("2.1.2");var so=globalThis,Oi=e=>e,mr=so.trustedTypes,Ci=mr?mr.createPolicy("lit-html",{createHTML:e=>e}):void 0,co="$lit$",ye=`lit$${Math.random().toFixed(9).slice(2)}$`,lo="?"+ye,gl=`<${lo}>`,Fe=document,$t=()=>Fe.createComment(""),Ht=e=>e===null||typeof e!="object"&&typeof e!="function",uo=Array.isArray,Li=e=>uo(e)||typeof e?.[Symbol.iterator]=="function",ao=`[
1
+ "use strict";(()=>{var cl=Object.defineProperty;var k=(e,t)=>{for(var o in t)cl(e,o,{get:t[o],enumerable:!0})};if(!ShadowRoot.prototype.createElement){let e=window.HTMLElement,t=window.customElements.define,o=window.customElements.get,n=window.customElements,i=new WeakMap,a=new WeakMap,s=new WeakMap,l=new WeakMap;window.CustomElementRegistry=class{constructor(){this._definitionsByTag=new Map,this._definitionsByClass=new Map,this._whenDefinedPromises=new Map,this._awaitingUpgrade=new Map}define(y,g){if(y=y.toLowerCase(),this._getDefinition(y)!==void 0)throw new DOMException(`Failed to execute 'define' on 'CustomElementRegistry': the name "${y}" has already been used with this registry`);if(this._definitionsByClass.get(g)!==void 0)throw new DOMException("Failed to execute 'define' on 'CustomElementRegistry': this constructor has already been used with this registry");let x=g.prototype.attributeChangedCallback,w=new Set(g.observedAttributes||[]);m(g,w,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:w};this._definitionsByTag.set(y,_),this._definitionsByClass.set(g,_);let I=o.call(n,y);I||(I=f(y),t.call(n,y,I)),this===window.customElements&&(s.set(g,_),_.standInClass=I);let U=this._awaitingUpgrade.get(y);if(U){this._awaitingUpgrade.delete(y);for(let D of U)a.delete(D),E(D,_,!0)}let T=this._whenDefinedPromises.get(y);return T!==void 0&&(T.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(w=>x.resolve=w),this._whenDefinedPromises.set(y,x)),x.promise}_upgradeWhenDefined(y,g,x){let w=this._awaitingUpgrade.get(g);w||this._awaitingUpgrade.set(g,w=new Set),x?w.add(y):w.delete(y)}};let u;window.HTMLElement=function(){let g=u;if(g)return u=void 0,g;let x=s.get(this.constructor);if(!x)throw new TypeError("Illegal constructor (custom element class must be registered with global customElements registry to be newable)");return g=Reflect.construct(e,[],x.standInClass),Object.setPrototypeOf(g,this.constructor.prototype),i.set(g,x),g},window.HTMLElement.prototype=e.prototype;let p=y=>y===document||y instanceof ShadowRoot,h=y=>{let g=y.getRootNode();if(!p(g)){let x=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(e,[],this.constructor);Object.setPrototypeOf(x,HTMLElement.prototype);let w=h(x)||window.customElements,_=w._getDefinition(y);return _?E(x,_):a.set(x,w),x}connectedCallback(){let x=i.get(this);x?x.connectedCallback&&x.connectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,y,!0)}disconnectedCallback(){let x=i.get(this);x?x.disconnectedCallback&&x.disconnectedCallback.apply(this,arguments):a.get(this)._upgradeWhenDefined(this,y,!1)}adoptedCallback(){i.get(this)?.adoptedCallback?.apply(this,arguments)}formAssociatedCallback(){let x=i.get(this);x&&x.formAssociated&&x?.formAssociatedCallback?.apply(this,arguments)}formDisabledCallback(){let x=i.get(this);x?.formAssociated&&x?.formDisabledCallback?.apply(this,arguments)}formResetCallback(){let x=i.get(this);x?.formAssociated&&x?.formResetCallback?.apply(this,arguments)}formStateRestoreCallback(){let x=i.get(this);x?.formAssociated&&x?.formStateRestoreCallback?.apply(this,arguments)}},m=(y,g,x)=>{if(g.size===0||x===void 0)return;let w=y.prototype.setAttribute;w&&(y.prototype.setAttribute=function(U,T){let D=U.toLowerCase();if(g.has(D)){let H=this.getAttribute(D);w.call(this,D,T),x.call(this,D,H,T)}else w.call(this,D,T)});let _=y.prototype.removeAttribute;_&&(y.prototype.removeAttribute=function(U){let T=U.toLowerCase();if(g.has(T)){let D=this.getAttribute(T);_.call(this,T),x.call(this,T,D,null)}else _.call(this,T)});let I=y.prototype.toggleAttribute;I&&(y.prototype.toggleAttribute=function(U,T){let D=U.toLowerCase();if(g.has(D)){let H=this.getAttribute(D);I.call(this,D,T);let ce=this.getAttribute(D);x.call(this,D,H,ce)}else I.call(this,D,T)})},b=y=>{let g=Object.getPrototypeOf(y);if(g!==window.HTMLElement)return g===e?Object.setPrototypeOf(y,window.HTMLElement):b(g)},E=(y,g,x=!1)=>{Object.setPrototypeOf(y,g.elementClass.prototype),i.set(y,g),u=y;try{new g.elementClass}catch{b(g.elementClass),new g.elementClass}g.attributeChangedCallback&&g.observedAttributes.forEach(w=>{y.hasAttribute(w)&&g.attributeChangedCallback.call(y,w,null,y.getAttribute(w))}),x&&g.connectedCallback&&y.isConnected&&g.connectedCallback.call(y)},O=Element.prototype.attachShadow;Element.prototype.attachShadow=function(y){let g=O.apply(this,arguments);return y.customElements&&(g.customElements=y.customElements),g};let S=[document],C=(y,g,x=void 0)=>{let w=(x?Object.getPrototypeOf(x):y.prototype)[g];y.prototype[g]=function(){S.push(this);let _=w.apply(x||this,arguments);return _!==void 0&&l.set(_,this),S.pop(),_}};C(ShadowRoot,"createElement",document),C(ShadowRoot,"importNode",document),C(Element,"insertAdjacentHTML");let N=(y,g)=>{let x=Object.getOwnPropertyDescriptor(y.prototype,g);Object.defineProperty(y.prototype,g,{...x,set(w){S.push(this),x.set.call(this,w),S.pop()}})};if(N(Element,"innerHTML"),N(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(...U){let T=g.call(this,...U);return y.set(T,this),T},x.forEach(U=>{let T=window.ElementInternals.prototype,D=T[U];T[U]=function(...H){let ce=y.get(this);if(i.get(ce).formAssociated===!0)return D?.call(this,...H);throw new DOMException(`Failed to execute ${D} on 'ElementInternals': The target element is not a form-associated custom element.`)}});class w extends Array{constructor(T){super(...T),this._elements=T}get value(){return this._elements.find(T=>T.checked===!0)?.value||""}}class _{constructor(T){let D=new Map;T.forEach((H,ce)=>{let no=H.getAttribute("name"),xi=D.get(no)||[];this[+ce]=H,xi.push(H),D.set(no,xi)}),this.length=T.length,D.forEach((H,ce)=>{H&&(H.length===1?this[ce]=H[0]:this[ce]=new w(H))})}namedItem(T){return this[T]}}let I=Object.getOwnPropertyDescriptor(HTMLFormElement.prototype,"elements");Object.defineProperty(HTMLFormElement.prototype,"elements",{get:function(){let U=I.get.call(this,[]),T=[];for(let D of U){let H=i.get(D);(!H||H.formAssociated===!0)&&T.push(D)}return new _(T)}})}}try{window.customElements.define("custom-element",null)}catch{let t=window.customElements.define;window.customElements.define=(o,n,i)=>{var a;if(n!==null)try{t.bind(window.customElements)(o,n,i)}catch(s){!((a=s.message)===null||a===void 0)&&a.includes("this constructor has already been used")?window.customElements.define(o,class extends n{},i):console.info(o,n,i,s)}}}var bo={};k(bo,{CSSResult:()=>ft,LitElement:()=>le,ReactiveElement:()=>re,_$LE:()=>Ii,_$LH:()=>mo,adoptStyles:()=>Mt,css:()=>P,defaultConverter:()=>ht,getCompatibleStyle:()=>fr,html:()=>G,isServer:()=>jp,mathml:()=>ho,noChange:()=>z,notEqual:()=>Ft,nothing:()=>M,render:()=>yo,supportsAdoptingStyleSheets:()=>It,svg:()=>fo,unsafeCSS:()=>Dt});var pr=globalThis,It=pr.ShadowRoot&&(pr.ShadyCSS===void 0||pr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,io=Symbol(),Ei=new WeakMap,ft=class{constructor(t,o,n){if(this._$cssResult$=!0,n!==io)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o,o=this.t;if(It&&t===void 0){let n=o!==void 0&&o.length===1;n&&(t=Ei.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Ei.set(o,t))}return t}toString(){return this.cssText}},Dt=e=>new ft(typeof e=="string"?e:e+"",void 0,io),P=(e,...t)=>{let o=e.length===1?e[0]:t.reduce((n,i,a)=>n+(s=>{if(s._$cssResult$===!0)return s.cssText;if(typeof s=="number")return s;throw Error("Value passed to 'css' function must be a 'css' function result: "+s+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+e[a+1],e[0]);return new ft(o,e,io)},Mt=(e,t)=>{if(It)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let n=document.createElement("style"),i=pr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=o.cssText,e.appendChild(n)}},fr=It?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let n of t.cssRules)o+=n.cssText;return Dt(o)})(e):e;var{is:ll,defineProperty:dl,getOwnPropertyDescriptor:ul,getOwnPropertyNames:pl,getOwnPropertySymbols:fl,getPrototypeOf:hl}=Object,hr=globalThis,Si=hr.trustedTypes,ml=Si?Si.emptyScript:"",yl=hr.reactiveElementPolyfillSupport,Ut=(e,t)=>e,ht={toAttribute(e,t){switch(t){case Boolean:e=e?ml:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let o=e;switch(t){case Boolean:o=e!==null;break;case Number:o=e===null?null:Number(e);break;case Object:case Array:try{o=JSON.parse(e)}catch{o=null}}return o}},Ft=(e,t)=>!ll(e,t),vi={attribute:!0,type:String,converter:ht,reflect:!1,useDefault:!1,hasChanged:Ft};Symbol.metadata??=Symbol("metadata"),hr.litPropertyMetadata??=new WeakMap;var re=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,o=vi){if(o.state&&(o.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((o=Object.create(o)).wrapped=!0),this.elementProperties.set(t,o),!o.noAccessor){let n=Symbol(),i=this.getPropertyDescriptor(t,n,o);i!==void 0&&dl(this.prototype,t,i)}}static getPropertyDescriptor(t,o,n){let{get:i,set:a}=ul(this.prototype,t)??{get(){return this[o]},set(s){this[o]=s}};return{get:i,set(s){let l=i?.call(this);a?.call(this,s),this.requestUpdate(t,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??vi}static _$Ei(){if(this.hasOwnProperty(Ut("elementProperties")))return;let t=hl(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Ut("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ut("properties"))){let o=this.properties,n=[...pl(o),...fl(o)];for(let i of n)this.createProperty(i,o[i])}let t=this[Symbol.metadata];if(t!==null){let o=litPropertyMetadata.get(t);if(o!==void 0)for(let[n,i]of o)this.elementProperties.set(n,i)}this._$Eh=new Map;for(let[o,n]of this.elementProperties){let i=this._$Eu(o,n);i!==void 0&&this._$Eh.set(i,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let o=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)o.unshift(fr(i))}else t!==void 0&&o.push(fr(t));return o}static _$Eu(t,o){let n=o.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,o=this.constructor.elementProperties;for(let n of o.keys())this.hasOwnProperty(n)&&(t.set(n,this[n]),delete this[n]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Mt(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,o,n){this._$AK(t,n)}_$ET(t,o){let n=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,n);if(i!==void 0&&n.reflect===!0){let a=(n.converter?.toAttribute!==void 0?n.converter:ht).toAttribute(o,n.type);this._$Em=t,a==null?this.removeAttribute(i):this.setAttribute(i,a),this._$Em=null}}_$AK(t,o){let n=this.constructor,i=n._$Eh.get(t);if(i!==void 0&&this._$Em!==i){let a=n.getPropertyOptions(i),s=typeof a.converter=="function"?{fromAttribute:a.converter}:a.converter?.fromAttribute!==void 0?a.converter:ht;this._$Em=i;let l=s.fromAttribute(o,a.type);this[i]=l??this._$Ej?.get(i)??l,this._$Em=null}}requestUpdate(t,o,n,i=!1,a){if(t!==void 0){let s=this.constructor;if(i===!1&&(a=this[t]),n??=s.getPropertyOptions(t),!((n.hasChanged??Ft)(a,o)||n.useDefault&&n.reflect&&a===this._$Ej?.get(t)&&!this.hasAttribute(s._$Eu(t,n))))return;this.C(t,o,n)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,o,{useDefault:n,reflect:i,wrapped:a},s){n&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,s??o??this[t]),a!==!0||s!==void 0)||(this._$AL.has(t)||(this.hasUpdated||n||(o=void 0),this._$AL.set(t,o)),i===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(o){Promise.reject(o)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[i,a]of this._$Ep)this[i]=a;this._$Ep=void 0}let n=this.constructor.elementProperties;if(n.size>0)for(let[i,a]of n){let{wrapped:s}=a,l=this[i];s!==!0||this._$AL.has(i)||l===void 0||this.C(i,void 0,a,l)}}let t=!1,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$EO?.forEach(n=>n.hostUpdate?.()),this.update(o)):this._$EM()}catch(n){throw t=!1,this._$EM(),n}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$EO?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(o=>this._$ET(o,this[o])),this._$EM()}updated(t){}firstUpdated(t){}};re.elementStyles=[],re.shadowRootOptions={mode:"open"},re[Ut("elementProperties")]=new Map,re[Ut("finalized")]=new Map,yl?.({ReactiveElement:re}),(hr.reactiveElementVersions??=[]).push("2.1.2");var so=globalThis,Oi=e=>e,mr=so.trustedTypes,Ci=mr?mr.createPolicy("lit-html",{createHTML:e=>e}):void 0,co="$lit$",ye=`lit$${Math.random().toFixed(9).slice(2)}$`,lo="?"+ye,gl=`<${lo}>`,Fe=document,$t=()=>Fe.createComment(""),Ht=e=>e===null||typeof e!="object"&&typeof e!="function",uo=Array.isArray,Li=e=>uo(e)||typeof e?.[Symbol.iterator]=="function",ao=`[
2
2
  \f\r]`,Bt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ai=/-->/g,wi=/>/g,Me=RegExp(`>|${ao}(?:([^\\s"'>=/]+)(${ao}*=${ao}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),_i=/'/g,Ri=/"/g,Ni=/^(?:script|style|textarea|title)$/i,po=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),G=po(1),fo=po(2),ho=po(3),z=Symbol.for("lit-noChange"),M=Symbol.for("lit-nothing"),Ti=new WeakMap,Ue=Fe.createTreeWalker(Fe,129);function Pi(e,t){if(!uo(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ci!==void 0?Ci.createHTML(t):t}var Ii=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":t===3?"<math>":"",s=Bt;for(let l=0;l<o;l++){let d=e[l],p,h,f=-1,m=0;for(;m<d.length&&(s.lastIndex=m,h=s.exec(d),h!==null);)m=s.lastIndex,s===Bt?h[1]==="!--"?s=Ai:h[1]!==void 0?s=wi:h[2]!==void 0?(Ni.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=Me):h[3]!==void 0&&(s=Me):s===Me?h[0]===">"?(s=i??Bt,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?Me:h[3]==='"'?Ri:_i):s===Ri||s===_i?s=Me:s===Ai||s===wi?s=Bt:(s=Me,i=void 0);let b=s===Me&&e[l+1].startsWith("/>")?" ":"";a+=s===Bt?d+gl:f>=0?(n.push(p),d.slice(0,f)+co+d.slice(f)+ye+b):d+ye+(f===-2?l:b)}return[Pi(e,a+(e[o]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},zt=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,l=t.length-1,d=this.parts,[p,h]=Ii(t,o);if(this.el=e.createElement(p,n),Ue.currentNode=this.el.content,o===2||o===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=Ue.nextNode())!==null&&d.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(co)){let m=h[s++],b=i.getAttribute(f).split(ye),E=/([.?@])?(.*)/.exec(m);d.push({type:1,index:a,name:E[2],strings:b,ctor:E[1]==="."?gr:E[1]==="?"?br:E[1]==="@"?xr:$e}),i.removeAttribute(f)}else f.startsWith(ye)&&(d.push({type:6,index:a}),i.removeAttribute(f));if(Ni.test(i.tagName)){let f=i.textContent.split(ye),m=f.length-1;if(m>0){i.textContent=mr?mr.emptyScript:"";for(let b=0;b<m;b++)i.append(f[b],$t()),Ue.nextNode(),d.push({type:2,index:++a});i.append(f[m],$t())}}}else if(i.nodeType===8)if(i.data===lo)d.push({type:2,index:a});else{let f=-1;for(;(f=i.data.indexOf(ye,f+1))!==-1;)d.push({type:7,index:a}),f+=ye.length-1}a++}}static createElement(t,o){let n=Fe.createElement("template");return n.innerHTML=t,n}};function Be(e,t,o=e,n){if(t===z)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=Ht(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=Be(e,i._$AS(e,t.values),i,n)),t}var yr=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,i=(t?.creationScope??Fe).importNode(o,!0);Ue.currentNode=i;let a=Ue.nextNode(),s=0,l=0,d=n[0];for(;d!==void 0;){if(s===d.index){let p;d.type===2?p=new mt(a,a.nextSibling,this,t):d.type===1?p=new d.ctor(a,d.name,d.strings,this,t):d.type===6&&(p=new Er(a,this,t)),this._$AV.push(p),d=n[++l]}s!==d?.index&&(a=Ue.nextNode(),s++)}return Ue.currentNode=Fe,i}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},mt=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=M,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Be(this,t,o),Ht(t)?t===M||t==null||t===""?(this._$AH!==M&&this._$AR(),this._$AH=M):t!==this._$AH&&t!==z&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Li(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==M&&Ht(this._$AH)?this._$AA.nextSibling.data=t:this.T(Fe.createTextNode(t)),this._$AH=t}$(t){let{values:o,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=zt.createElement(Pi(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new yr(i,this),s=a.u(this.options);a.p(o),this.T(s),this._$AH=a}}_$AC(t){let o=Ti.get(t.strings);return o===void 0&&Ti.set(t.strings,o=new zt(t)),o}k(t){uo(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of t)i===o.length?o.push(n=new e(this.O($t()),this.O($t()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t!==this._$AB;){let n=Oi(t).nextSibling;Oi(t).remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},$e=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,a){this.type=1,this._$AH=M,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=M}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=Be(this,t,o,0),s=!Ht(t)||t!==this._$AH&&t!==z,s&&(this._$AH=t);else{let l=t,d,p;for(t=a[0],d=0;d<a.length-1;d++)p=Be(this,l[n+d],o,d),p===z&&(p=this._$AH[d]),s||=!Ht(p)||p!==this._$AH[d],p===M?t=M:t!==M&&(t+=(p??"")+a[d+1]),this._$AH[d]=p}s&&!i&&this.j(t)}j(t){t===M?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},gr=class extends $e{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===M?void 0:t}},br=class extends $e{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==M)}},xr=class extends $e{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=Be(this,t,o,0)??M)===z)return;let n=this._$AH,i=t===M&&n!==M||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==M&&(n===M||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Er=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){Be(this,t)}},mo={M:co,P:ye,A:lo,C:1,L:Ii,R:yr,D:Li,V:Be,I:mt,H:$e,N:br,U:xr,B:gr,F:Er},bl=so.litHtmlPolyfillSupport;bl?.(zt,mt),(so.litHtmlVersions??=[]).push("3.3.3");var yo=(e,t,o)=>{let n=o?.renderBefore??t,i=n._$litPart$;if(i===void 0){let a=o?.renderBefore??null;n._$litPart$=i=new mt(t.insertBefore($t(),a),a,void 0,o??{})}return i._$AI(e),i};var go=globalThis,le=class extends re{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=yo(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return z}};le._$litElement$=!0,le.finalized=!0,go.litElementHydrateSupport?.({LitElement:le});var xl=go.litElementPolyfillSupport;xl?.({LitElement:le});var ki={_$AK:(e,t,o)=>{e._$AK(t,o)},_$AL:e=>e._$AL};(go.litElementVersions??=[]).push("4.2.2");var Wp=!1;var xo={};I(xo,{customElement:()=>El,eventOptions:()=>vl,property:()=>_,query:()=>Ae,queryAll:()=>Cl,queryAssignedElements:()=>wl,queryAssignedNodes:()=>_l,queryAsync:()=>Al,standardProperty:()=>Di,state:()=>B});var El=e=>(t,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var Sl={attribute:!0,type:String,converter:ht,reflect:!1,hasChanged:Ft},Di=(e=Sl,t,o)=>{let{kind:n,metadata:i}=o,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),n==="setter"&&((e=Object.create(e)).wrapped=!0),a.set(o.name,e),n==="accessor"){let{name:s}=o;return{set(l){let d=t.get.call(this);t.set.call(this,l),this.requestUpdate(s,d,e,!0,l)},init(l){return l!==void 0&&this.C(s,void 0,e,l),l}}}if(n==="setter"){let{name:s}=o;return function(l){let d=this[s];t.call(this,l),this.requestUpdate(s,d,e,!0,l)}}throw Error("Unsupported decorator location: "+n)};function _(e){return(t,o)=>typeof o=="object"?Di(e,t,o):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(e,t,o)}function B(e){return _({...e,state:!0,attribute:!1})}function vl(e){return(t,o)=>{let n=typeof t=="function"?t:t[o];Object.assign(n,e)}}var ne=(e,t,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,o),o);function Ae(e,t){return(o,n,i)=>{let a=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:l}=typeof n=="object"?o:i??(()=>{let d=Symbol();return{get(){return this[d]},set(p){this[d]=p}}})();return ne(o,n,{get(){let d=s.call(this);return d===void 0&&(d=a(this),(d!==null||this.hasUpdated)&&l.call(this,d)),d}})}return ne(o,n,{get(){return a(this)}})}}var Ol;function Cl(e){return(t,o)=>ne(t,o,{get(){return(this.renderRoot??(Ol??=document.createDocumentFragment())).querySelectorAll(e)}})}function Al(e){return(t,o)=>ne(t,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function wl(e){return(t,o)=>{let{slot:n,selector:i}=e??{},a="slot"+(n?`[name=${n}]`:":not([name])");return ne(t,o,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(e)??[];return i===void 0?l:l.filter(d=>d.matches(i))}})}}function _l(e){return(t,o)=>{let{slot:n}=e??{},i="slot"+(n?`[name=${n}]`:":not([name])");return ne(t,o,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(e)??[]}})}}var Eo={};I(Eo,{repeat:()=>vr});var de={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},X=e=>(...t)=>({_$litDirective$:e,values:t}),oe=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,n){this._$Ct=t,this._$AM=o,this._$Ci=n}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};var{I:Rl}=mo,Mi=e=>e;var Fi=e=>e.strings===void 0,Ui=()=>document.createComment(""),yt=(e,t,o)=>{let n=e._$AA.parentNode,i=t===void 0?e._$AB:t._$AA;if(o===void 0){let a=n.insertBefore(Ui(),i),s=n.insertBefore(Ui(),i);o=new Rl(a,s,e,e.options)}else{let a=o._$AB.nextSibling,s=o._$AM,l=s!==e;if(l){let d;o._$AQ?.(e),o._$AM=e,o._$AP!==void 0&&(d=e._$AU)!==s._$AU&&o._$AP(d)}if(a!==i||l){let d=o._$AA;for(;d!==a;){let p=Mi(d).nextSibling;Mi(n).insertBefore(d,i),d=p}}}return o},we=(e,t,o=e)=>(e._$AI(t,o),e),Tl={},Bi=(e,t=Tl)=>e._$AH=t,$i=e=>e._$AH,Sr=e=>{e._$AR(),e._$AA.remove()};var Hi=(e,t,o)=>{let n=new Map;for(let i=t;i<=o;i++)n.set(e[i],i);return n},vr=X(class extends oe{constructor(e){if(super(e),e.type!==de.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,t,o){let n;o===void 0?o=t:t!==void 0&&(n=t);let i=[],a=[],s=0;for(let l of e)i[s]=n?n(l,s):s,a[s]=o(l,s),s++;return{values:a,keys:i}}render(e,t,o){return this.dt(e,t,o).values}update(e,[t,o,n]){let i=$i(e),{values:a,keys:s}=this.dt(t,o,n);if(!Array.isArray(i))return this.ut=s,a;let l=this.ut??=[],d=[],p,h,f=0,m=i.length-1,b=0,E=a.length-1;for(;f<=m&&b<=E;)if(i[f]===null)f++;else if(i[m]===null)m--;else if(l[f]===s[b])d[b]=we(i[f],a[b]),f++,b++;else if(l[m]===s[E])d[E]=we(i[m],a[E]),m--,E--;else if(l[f]===s[E])d[E]=we(i[f],a[E]),yt(e,d[E+1],i[f]),f++,E--;else if(l[m]===s[b])d[b]=we(i[m],a[b]),yt(e,i[f],i[m]),m--,b++;else if(p===void 0&&(p=Hi(s,b,E),h=Hi(l,f,m)),p.has(l[f]))if(p.has(l[m])){let O=h.get(s[b]),S=O!==void 0?i[O]:null;if(S===null){let C=yt(e,i[f]);we(C,a[b]),d[b]=C}else d[b]=we(S,a[b]),yt(e,i[f],S),i[O]=null;b++}else Sr(i[m]),m--;else Sr(i[f]),f++;for(;b<=E;){let O=yt(e,d[E+1]);we(O,a[b]),d[b++]=O}for(;f<=m;){let O=i[f++];O!==null&&Sr(O)}return this.ut=s,Bi(e,d),z}});var vo={};I(vo,{classMap:()=>So});var So=X(class extends oe{constructor(e){if(super(e),e.type!==de.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.st===void 0){this.st=new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in t)t[n]&&!this.nt?.has(n)&&this.st.add(n);return this.render(t)}let o=e.element.classList;for(let n of this.st)n in t||(o.remove(n),this.st.delete(n));for(let n in t){let i=!!t[n];i===this.st.has(n)||this.nt?.has(n)||(i?(o.add(n),this.st.add(n)):(o.remove(n),this.st.delete(n)))}return z}});var Oo={};I(Oo,{styleMap:()=>Nl});var zi="important",Ll=" !"+zi,Nl=X(class extends oe{constructor(e){if(super(e),e.type!==de.ATTRIBUTE||e.name!=="style"||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,o)=>{let n=e[o];return n==null?t:t+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(e,[t]){let{style:o}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let n of this.ft)t[n]==null&&(this.ft.delete(n),n.includes("-")?o.removeProperty(n):o[n]=null);for(let n in t){let i=t[n];if(i!=null){this.ft.add(n);let a=typeof i=="string"&&i.endsWith(Ll);n.includes("-")||a?o.setProperty(n,a?i.slice(0,-11):i,a?zi:""):o[n]=i}}return z}});var Ao={};I(Ao,{UnsafeHTMLDirective:()=>gt,unsafeHTML:()=>Co});var gt=class extends oe{constructor(t){if(super(t),this.it=M,t.type!==de.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===M||t==null)return this._t=void 0,this.it=t;if(t===z)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;let o=[t];return o.raw=o,this._t={_$litType$:this.constructor.resultType,strings:o,values:[]}}};gt.directiveName="unsafeHTML",gt.resultType=1;var Co=X(gt);var wo={};I(wo,{splitBreadcrumbForMenu:()=>Pl});function Pl(e,t=0,o=0){if(e.length===0)return{beforeMenu:[],inMenu:[],afterMenu:[]};let n=Math.max(o,1),i=e.slice(n*-1);return t+n>=e.length?{beforeMenu:[],inMenu:[],afterMenu:e}:{beforeMenu:e.slice(0,t),inMenu:e.slice(t,e.length-i.length),afterMenu:i}}var Mo={};I(Mo,{CacheRegistry:()=>Do,ClearCacheEvent:()=>jt});var Ro={};I(Ro,{CancelablePromise:()=>Or,CanceledPromiseError:()=>Gt,cancelable:()=>_o});var Gt=class extends Error{constructor(t,o,n){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=n}},Or=class extends Promise{constructor(t){super((o,n)=>t(i=>{this.isCanceled?n(new Gt("Promise has been canceled",i)):o(i)},i=>{this.isCanceled?n(new Gt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},_o=e=>new Or((t,o)=>e.then(t).catch(o));var ko={};I(ko,{FtNotificationEvent:()=>Wt,PostResizeEvent:()=>Io,PreResizeEvent:()=>Po,WithEventBus:()=>Ge,withEventBus:()=>Ji});var No={};I(No,{applyMixinOnce:()=>Q,customElements:()=>ge,dateReviver:()=>Ul,deepCopy:()=>bt,deepEqual:()=>ze,delay:()=>ji,eventPathContainsMatchingElement:()=>Bl,everyDeep:()=>Ml,flatDeep:()=>Zi,forEachDeep:()=>qi,getComposedPathTo:()=>Lo,groupBy:()=>Gl,hasChanged:()=>_e,ignoreComposingEvents:()=>zl,last:()=>$l,minmax:()=>He,parseDate:()=>Xi,randomId:()=>Hl,someDeep:()=>Yi,unslotText:()=>Qi,waitFor:()=>Ki,waitUntil:()=>Dl});var To={};I(To,{customElement:()=>Vt,dateProperty:()=>kl,isNumber:()=>Wi,jsonProperty:()=>Cr,jsonPropertyConverter:()=>Gi,numberProperty:()=>Vi,optionalNumberProperty:()=>Il});var Vt=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)},Gi=e=>({fromAttribute:t=>{if(t==null)return bt(e);try{return JSON.parse(t)}catch{return bt(e)}},toAttribute:t=>JSON.stringify(t)});function Cr(e,t){return _({type:Object,converter:Gi(e),hasChanged:_e,...t??{}})}function Il(e){return Vi(e)}function Vi(e){return _({type:Object,converter:{fromAttribute:t=>{var o,n;if(t==null)return;let i=(o=e?.min)!==null&&o!==void 0?o:-1/0,a=(n=e?.max)!==null&&n!==void 0?n:1/0;return Wi(t)?He(i,+t,a):void 0},toAttribute:t=>t==null?void 0:""+t},useDefault:!0,...e??{}})}function Wi(e){return!isNaN(parseFloat(e))}function kl(e){return _({type:Object,converter:{fromAttribute:t=>{if(t==null)return;let o=new Date(Date.parse(t));if(!isNaN(o.valueOf()))return o},toAttribute:t=>t?.toISOString()},useDefault:!0,...e??{}})}var ji=e=>new Promise(t=>setTimeout(t,e));async function Dl(e,t=10,o=2e4){await Ki(async()=>await e()||void 0,t,o)}async function Ki(e,t=10,o=2e4){let n=await e(),i=performance.now(),a=i;for(;n==null&&(!o||a-i<o);)await ji(t),n=await e(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Zi(e,t){return e.flatMap(o=>[o,...Zi(t(o),t)])}function qi(e,t,o){let n=(i,a)=>{var s;for(let l=0;l<i.length;l++){let d=i[l];if(!(((s=o(d,l,i,a))!==null&&s!==void 0?s:!0)&&n(t(d),[...a,d])))return!1}return!0};n(e,[])}function Yi(e,t,o){let n=!1;return qi(e,t,(i,a,s,l)=>(n=!!o(i,a,s,l),!n)),n}function Ml(e,t,o){return!Yi(e,t,(n,i,a,s)=>!o(n,i,a,s))}function Ul(...e){return(t,o)=>e.includes(t)?Xi(o):o}function Xi(e){return e.match(/^\d{4}-\d{2}-\d{2}$/)&&(e=e.replace(/-/g,"/")),e=e.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(t,o,n,i)=>o+n+":"+i),new Date(e)}function Fl(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let o,n;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!ze(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!ze(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let i=s=>Object.keys(s).filter(l=>s[l]!=null),a=i(e);if(o=a.length,o!==i(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[n]))return!1;for(n=o;n--!==0;){let s=a[n];if(!ze(e[s],t[s]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function ze(e,t){try{return Fl(e,t)}catch{return!1}}function _e(e,t){return!ze(e,t)}function Bl(e,t,o=window.document.body){if(t.length>0){let n=e.composedPath();for(let i of n){if(i===o)return!1;if(i.matches&&t.some(a=>i.matches(a)))return!0}}return!1}function He(e,t,o){return Math.min(Math.max(e,t),o)}function $l(e){return e[e.length-1]}function Qi(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(t=>Qi(t)).join(""):e?.textContent||""}function Lo(e){let t=[],o=n=>{n.stopPropagation(),t=n.composedPath()};return e.addEventListener("get-composed-path",o),e.dispatchEvent(new Event("get-composed-path",{composed:!0})),e.removeEventListener("get-composed-path",o),t}function bt(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function Hl(e,t){return(t??"")+(""+Math.floor(Math.random()*10**e)).padStart(e,"0")}function Q(e,t){let o=n=>n[e]===!0;return n=>{if(o(n))return n;let i=t(n);return i[e]=!0,i}}function zl(){return function(e,t,o){let n=o.value;o.value=function(i,...a){if(i.isComposing||i.keyCode===229){i.stopPropagation();return}return n.apply(this,[i].concat(a))}}}function ge(e){for(let[t,o]of Object.entries(e))Vt(t)(o)}function Gl(e,t){var o,n;let i=typeof t=="function"?t:s=>s[t],a={};for(let s of e)((o=a[n=i(s)])!==null&&o!==void 0?o:a[n]=[]).push(s);return a}var Wt=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},Po=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},Io=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},Ji=Q(Symbol("withEventBus"),function(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(o,n,i){this.eventBus.addEventListener(o,n,i)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,i){this.eventBus.removeEventListener(o,n,i)}}}),Ge=class extends Ji(Object){};var jt=class extends CustomEvent{constructor(t){super("clear-cache",{detail:{clearedKeys:t}})}},Do=class extends Ge{constructor(){super(...arguments),this.content={}}register(t,o,n=!1){var i;let a=this.content[t],s=(i=a?.status)!==null&&i!==void 0?i:"REGISTERED";this.content[t]={...a,loader:o,final:n,status:s}}registerFinal(t,o){this.register(t,o,!0)}clearAll(t=!0){return this.clearMatching(()=>!0,t)}clearMatching(t,o=!0){let n=Object.keys(this.content).filter(t).filter(i=>this.clear(i,!1)!=null);return o&&n.length>0&&this.dispatchEvent(new jt(n)),n}clear(t,o=!0){if(this.content[t]&&!this.content[t].final)return this.forceClear(t),o&&this.dispatchEvent(new jt([t])),t}forceClear(t){var o;let n=this.content[t];n&&(this.clearClearTimeout(t),(o=n.promise)===null||o===void 0||o.cancel(),this.content[t]={loader:n.loader,final:n.final,status:"REGISTERED"})}clearClearTimeout(t){var o,n,i;((o=this.content[t])===null||o===void 0?void 0:o.clearTimeout)!=null&&(window.clearTimeout((n=this.content[t])===null||n===void 0?void 0:n.clearTimeout),(i=this.content[t])===null||i===void 0||delete i.clearTimeout)}set(t,o,n=!1){this.forceClear(t);let i=async()=>o,a="RESOLVED";this.content[t]={loader:i,final:n,status:a,value:o}}setFinal(t,o){return this.set(t,o,!0)}async get(t,o,n){if(!this.isRegistered(t)){if(!o)throw new Error("Unknown cache key "+t);this.register(t,o)}let i=this.content[t];switch(i.status){case"ERROR":throw i.error;case"LOADING":return i.promise;case"RESOLVED":return i.value;case"REGISTERED":return o=o??i.loader,i.status="LOADING",i.promise=_o(o()),i.promise.then(a=>(i.status="RESOLVED",i.value=a,n!=null&&(this.clearClearTimeout(t),i.clearTimeout=window.setTimeout(()=>this.clear(t),n)),a)).catch(a=>{var s;throw!((s=i.promise)===null||s===void 0)&&s.isCanceled||(i.status="ERROR",i.error=a),a})}}isRegistered(t){return this.content[t]!=null}getNow(t){var o;return(o=this.content[t])===null||o===void 0?void 0:o.value}has(t){var o,n;return((o=this.content[t])===null||o===void 0?void 0:o.status)!==void 0&&((n=this.content[t])===null||n===void 0?void 0:n.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(t=>{var o;return((o=this.content[t])===null||o===void 0?void 0:o.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(t=>this.content[t].value)}keys(){return Object.keys(this.content)}};var Wo={};I(Wo,{ClusteringHelper:()=>Vo,formatHierarchicalValues:()=>Go});var zo={};I(zo,{accessBreadcrumb:()=>Xl,accessResult:()=>Ho,accessResultId:()=>ql,accessResultUrl:()=>Yl,enrichReaderUrl:()=>$o});var Bo={};I(Bo,{SearchPlaceConverter:()=>Ve,SearchPlaceQueryParams:()=>L,isSearchPlaceQueryParams:()=>Ha,serializeRequest:()=>Kl});var Vl=e=>typeof e=="object"&&e!=null;var Wl=e=>typeof e=="number",Ar=e=>typeof e=="string",Fo=e=>Vl(e)&&Ar(e.endpoint)&&Ar(e.method)&&Ar(e.statusText)&&Ar(e.body)&&Wl(e.status),ea;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(ea||(ea={}));var ta;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(ta||(ta={}));var ra;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(ra||(ra={}));var oa;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(oa||(oa={}));var na;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(na||(na={}));var ia;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(ia||(ia={}));var aa;(function(e){e.OFFICIAL="OFFICIAL",e.AI="AI"})(aa||(aa={}));var sa;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.CHATBOT__RATE="CHATBOT__RATE",e.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",e.DOCUMENT__ON_DEMAND_TRANSLATE="DOCUMENT__ON_DEMAND_TRANSLATE",e.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",e.DOCUMENT__PRINT="DOCUMENT__PRINT",e.DOCUMENT__PROCESS="DOCUMENT__PROCESS",e.DOCUMENT__RATE="DOCUMENT__RATE",e.DOCUMENT__SEARCH="DOCUMENT__SEARCH",e.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",e.DOCUMENT__UNRATE="DOCUMENT__UNRATE",e.FEEDBACK__SEND="FEEDBACK__SEND",e.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",e.AI__RATE="AI__RATE",e.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",e.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",e.KHUB__PROCESS="KHUB__PROCESS",e.KHUB__SEARCH="KHUB__SEARCH",e.LABELS__DOWNLOAD="LABELS__DOWNLOAD",e.LINK__SHARE="LINK__SHARE",e.PAGE__DISPLAY="PAGE__DISPLAY",e.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",e.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",e.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",e.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",e.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",e.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",e.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",e.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",e.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",e.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",e.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",e.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})(sa||(sa={}));var ca;(function(e){e.STANDARD="STANDARD",e.STRUCTURAL="STRUCTURAL"})(ca||(ca={}));var la;(function(e){e.METADATA_FILTER="METADATA_FILTER",e.ACCESS_RIGHTS_FILTER="ACCESS_RIGHTS_FILTER"})(la||(la={}));var da;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(da||(da={}));var ua;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT",e.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",e.LINK_PREVIEW="LINK_PREVIEW",e.UD_VIEWER="UD_VIEWER",e.ASSET_VIEWER="ASSET_VIEWER"})(ua||(ua={}));var pa;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(pa||(pa={}));var fa;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(fa||(fa={}));var ha;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(ha||(ha={}));var ma;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(ma||(ma={}));var ya;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(ya||(ya={}));var xt;(function(e){e.OPTIONAL="OPTIONAL",e.MANDATORY="MANDATORY"})(xt||(xt={}));var ga;(function(e){e.ASC="ASC",e.DESC="DESC"})(ga||(ga={}));var ba;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(ba||(ba={}));var Uo;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Uo||(Uo={}));var _a=e=>Object.keys(Uo).includes(e);var xa;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(xa||(xa={}));var Ea;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(Ea||(Ea={}));var Sa;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(Sa||(Sa={}));var Et;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Et||(Et={}));var Ra=e=>Object.keys(Et).includes(e);var va;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.HTML_PACKAGE="HTML_PACKAGE",e.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(va||(va={}));var Oa;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Oa||(Oa={}));var Ca;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(Ca||(Ca={}));var V;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",e.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(V||(V={}));var Aa;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(Aa||(Aa={}));var wa;(function(e){e.UNAUTHENTICATED="UNAUTHENTICATED",e.USER_INCOMPLETE="USER_INCOMPLETE",e.MFA_REQUIRED="MFA_REQUIRED",e.AUTHENTICATED="AUTHENTICATED"})(wa||(wa={}));var Ta;(function(e){e.UNREACHABLE="UNREACHABLE",e.UNAUTHORIZED="UNAUTHORIZED",e.FORBIDDEN="FORBIDDEN",e.INCOMPATIBLE="INCOMPATIBLE",e.FAILED="FAILED",e.OK="OK"})(Ta||(Ta={}));var La;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(La||(La={}));var Na;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.SEMANTIC_SEARCH="SEMANTIC_SEARCH",e.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",e.DOCUMENTATION="DOCUMENTATION",e.OTHER="OTHER"})(Na||(Na={}));var Pa;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SLOW="SLOW",e.OTHER="OTHER"})(Pa||(Pa={}));var Ia;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(Ia||(Ia={}));var ka;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(ka||(ka={}));var Da;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(Da||(Da={}));var Ma;(function(e){e.IN_PROGRESS="IN_PROGRESS",e.ERROR="ERROR",e.DONE="DONE"})(Ma||(Ma={}));var Ua;(function(e){e.HTML="HTML",e.MARKDOWN="MARKDOWN"})(Ua||(Ua={}));var Fa;(function(e){e.SOURCES="SOURCES",e.ENRICH_AND_CLEAN="ENRICH_AND_CLEAN",e.VOCABULARIES="VOCABULARIES",e.METADATA="METADATA",e.PRETTY_URL="PRETTY_URL",e.ACCESS_RULE="ACCESS_RULE",e.DESIGNED_PAGES="DESIGNED_PAGES",e.THEME_STUDIO="THEME_STUDIO",e.PORTAL_GENERAL="PORTAL_GENERAL",e.ASSETS="ASSETS",e.CODE_LIBRARY="CODE_LIBRARY",e.THEME="THEME",e.CONTENT_STYLES="CONTENT_STYLES",e.HOMEPAGE="HOMEPAGE",e.CLASSIC_SEARCH_PAGE="CLASSIC_SEARCH_PAGE",e.CLASSIC_READER_PAGE="CLASSIC_READER_PAGE",e.PORTAL_METADATA="PORTAL_METADATA",e.LANGUAGES="LANGUAGES",e.PRINT_TEMPLATES="PRINT_TEMPLATES",e.OFFLINE="OFFLINE",e.CUSTOM_JS="CUSTOM_JS",e.CONFIDENTIALITY="CONFIDENTIALITY",e.NOTIFICATIONS="NOTIFICATIONS"})(Fa||(Fa={}));var Ba;(function(e){e.MAP="MAP",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(Ba||(Ba={}));var sh={[V.PERSONAL_BOOK_SHARE_USER]:[V.PERSONAL_BOOK_USER],[V.HTML_EXPORT_USER]:[V.PERSONAL_BOOK_USER],[V.PDF_EXPORT_USER]:[V.PERSONAL_BOOK_USER],[V.KHUB_ADMIN]:[V.CONTENT_PUBLISHER],[V.ADMIN]:[V.KHUB_ADMIN,V.USERS_ADMIN,V.PORTAL_ADMIN,V.BEHAVIOR_DATA_USER],[V.GENERATIVE_AI_EXPORT_USER]:[V.GENERATIVE_AI_USER]};function jl(e){return`"${e}"`}function $a(e){return e.startsWith('"')&&e.endsWith('"')?e.replace(/(^"+)|("+$)/g,""):e}function Kl(e,t){return new Ve(e).serialize(t)}var L;(function(e){e.LOCALE="content-lang",e.QUERY="query",e.SCOPE="scope",e.FILTERS="filters",e.VIRTUAL_FIELD="virtual-field",e.PERIOD="period",e.VALUE_FILTERS="value-filters",e.NEGATIVE_VALUE_FILTERS="negative-value-filters",e.DATE_FILTERS="date-filters",e.RANGE_FILTERS="range-filters",e.SORT="sort",e.PER_PAGE="per-page",e.KEYWORD_MATCH="keyword-match"})(L||(L={}));var Zl=new Set(Object.values(L));function Ha(e){return Zl.has(e)}var Ve=class e{constructor(t,o=20,n=!1,i="en-US"){this.baseUrl=t,this.defaultPerPage=o,this.allLanguagesAllowed=n,this.defaultContentLocale=i,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"}}serialize(t,o){return this.serializeToCurrentPageIfPossible(t,o??"/search")}serializeToCurrentPageIfPossible(t,o){let n=o==null||o.trim().length===0,i=new URL(n?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${o}`);return i.search=this.toURLSearchParams(t),i.toString()}toURLSearchParams(t,o=!1){var n,i,a,s,l,d,p,h,f;let m=new URLSearchParams;t.contentLocale?(!o||t.contentLocale!==this.defaultContentLocale)&&m.append(L.LOCALE,t.contentLocale):m.append(L.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=t.query)===null||n===void 0?void 0:n.length)>0&&m.append(L.QUERY,t.query);let b=e.serializeValueFilters(t.metadataFilters);b&&m.append(L.VALUE_FILTERS,b);let E=e.serializeNegativeValueFilters(t.metadataFilters);E&&m.append(L.NEGATIVE_VALUE_FILTERS,E);let O=(d=(i=t.metadataFilters)===null||i===void 0?void 0:i.filter(y=>y.dateFilter))!==null&&d!==void 0?d:[];if(O.length>0){let y=O.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=(a=t.metadataFilters)===null||a===void 0?void 0:a.filter(y=>y.rangeFilter))!==null&&p!==void 0?p:[];if(S.length>0){let y=S.map(g=>{var x,w;return`${g.key}~${(x=g.rangeFilter)===null||x===void 0?void 0:x.from}_${(w=g.rangeFilter)===null||w===void 0?void 0:w.to}`}).join("*");m.append(L.RANGE_FILTERS,y)}t.virtualField&&t.virtualField!=="EVERYWHERE"&&m.append(L.VIRTUAL_FIELD,t.virtualField.toLowerCase()),t.scope&&t.scope!=="DEFAULT"&&m.append(L.SCOPE,t.scope.toLowerCase()),t.sortId!=null&&m.append(L.SORT,t.sortId),!((s=t.paging)===null||s===void 0)&&s.perPage&&((h=(l=t.paging)===null||l===void 0?void 0:l.perPage)!==null&&h!==void 0?h:this.defaultPerPage)!=this.defaultPerPage&&m.append(L.PER_PAGE,String(t.paging.perPage)),t.keywordMatch!=null&&m.append(L.KEYWORD_MATCH,t.keywordMatch.toLowerCase());let C=(f=t.otherQueryParams)!==null&&f!==void 0?f:{};for(let y in C)m.append(y,C[y]);let N=new Array;return m.forEach((y,g)=>{N.push(this.encodeQueryString(g)+"="+this.encodeQueryString(y))}),encodeURI(N.join("&")).replace(/#/g,"%23")}encodeQueryString(t){return encodeURIComponent(t).replace(/%20/g,"+")}parse(t){var o;let n=t.split("?"),i=this.fromURLSearchParams(n.slice(1).join("?")),a=n[0].split("/search/")[1];return a==null?i:{...i,scope:(o=this.scopeMapping[a])!==null&&o!==void 0?o:i.scope}}fromURLSearchParams(t){var o,n,i,a,s,l;try{t=decodeURI(t).replace(/%23/g,"#")}catch(C){console.warn("Could not decode search request query params, fallback on raw value",C)}let d=new URLSearchParams(t),p=d.get(L.LOCALE)==="all"?void 0:d.get(L.LOCALE),h=((n=d.get(L.VIRTUAL_FIELD))!==null&&n!==void 0?n:"EVERYWHERE").toUpperCase(),f=(o=d.get(L.SORT))===null||o===void 0?void 0:o.toLowerCase(),m=(i=d.get(L.SCOPE))!==null&&i!==void 0?i:"default",b=+((a=d.get(L.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),E=d.get(L.KEYWORD_MATCH),O=E?E.toUpperCase()===xt.MANDATORY?xt.MANDATORY:xt.OPTIONAL:void 0,S={};for(let C of d.keys())Ha(C)||(S[C]=d.get(C));return{contentLocale:p??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=d.get(L.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[m])!==null&&l!==void 0?l:"DEFAULT",virtualField:_a(h)?h:"EVERYWHERE",sortId:f,metadataFilters:this.parseCompatFilters(d),facets:[],paging:{page:1,perPage:He(1,isNaN(b)?this.defaultPerPage:b,1e3)},keywordMatch:O,otherQueryParams:S}}parseCompatFilters(t){var o,n,i,a,s,l,d;let p=[];return t.has(L.FILTERS)&&(p=e.parseValueFilters((o=t.get(L.FILTERS))!==null&&o!==void 0?o:"")),(n=t.has(L.PERIOD))!==null&&n!==void 0&&n&&(p=[...p,...this.parseLegacyPeriodFilter(((i=t.get(L.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...p,...e.parseValueFilters((a=t.get(L.VALUE_FILTERS))!==null&&a!==void 0?a:""),...e.parseValueFilters((s=t.get(L.NEGATIVE_VALUE_FILTERS))!==null&&s!==void 0?s:"",!0),...this.parseDateFilters((l=t.get(L.DATE_FILTERS))!==null&&l!==void 0?l:""),...this.parseRangeFilters((d=t.get(L.RANGE_FILTERS))!==null&&d!==void 0?d:"")]}static splitUnknownFilter(t){return this.superEscapeFilters(t).split("*").map(o=>o.split("~"))}static parseValueFilters(t,o=!1){return t.length===0?[]:this.splitUnknownFilter(t).map(n=>({key:n[0],valueFilter:{values:n[1].split("_").map($a).map(i=>this.unescapeFilterValue(i)),negative:o}}))}parseDateFilters(t){return t.length===0?[]:e.splitUnknownFilter(t).map(o=>({key:o[0],dateFilter:{type:Et[o[1].toUpperCase()]}}))}parseRangeFilters(t){return t.length===0?[]:e.splitUnknownFilter(t).map(o=>({key:o[0],rangeFilter:{from:o[1].split("_")[0],to:o[1].split("_")[1]}}))}static escapeFilters(t){for(let[o,n,i]of this.filtersEscapeMapping)t=t.replaceAll(o,n);return t}static superEscapeFilters(t){for(let[o,n,i]of e.filtersEscapeMapping)t=t.replaceAll(n,i);return t}static unescapeFilterValue(t){for(let[o,n,i]of e.filtersEscapeMapping)t=t.replaceAll(i,o);return t}parseLegacyPeriodFilter(t){if(Ra(t))return[{key:"ft:lastEdition",dateFilter:{type:Et[t]}}];if(t.startsWith("CUSTOM_")){let[o,n,i]=t.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}static serializeValueFilter(t){var o,n;let i=((n=(o=t.valueFilter)===null||o===void 0?void 0:o.values)!==null&&n!==void 0?n:[]).map(a=>e.escapeFilters(a)).map(a=>jl($a(a))).join("_");return`${t.key}~${i}`}static serializeValueFilters(t){var o;let n=(o=t?.filter(i=>i.valueFilter&&!i.valueFilter.negative))!==null&&o!==void 0?o:[];if(n.length>0)return n.map(e.serializeValueFilter).join("*")}static serializeNegativeValueFilters(t){var o;let n=(o=t?.filter(i=>i.valueFilter&&i.valueFilter.negative))!==null&&o!==void 0?o:[];if(n.length>0)return n.map(e.serializeValueFilter).join("*")}static clearSearchParamsInUrl(t){let o=new URL(t);return[L.LOCALE,L.FILTERS,L.VALUE_FILTERS,L.NEGATIVE_VALUE_FILTERS,L.DATE_FILTERS,L.RANGE_FILTERS].forEach(i=>{o.searchParams.delete(i)}),o.toString()}static updateLocaleParamInUrl(t,o){let n=new URL(t);return n.searchParams.delete(L.LOCALE),o!==void 0&&n.searchParams.append(L.LOCALE,o),n.toString()}};Ve.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]];function Ho(e){var t,o,n,i;return(i=(n=(o=(t=e?.map)!==null&&t!==void 0?t:e?.topic)!==null&&o!==void 0?o:e?.document)!==null&&n!==void 0?n:e?.htmlPackage)!==null&&i!==void 0?i:e?.htmlPackagePage}function ql(e){var t,o,n,i,a,s,l,d,p;return(p=(d=(l=(s=(t=e?.map)===null||t===void 0?void 0:t.mapId)!==null&&s!==void 0?s:(o=e?.topic)===null||o===void 0?void 0:o.tocId)!==null&&l!==void 0?l:(n=e?.document)===null||n===void 0?void 0:n.documentId)!==null&&d!==void 0?d:(i=e?.htmlPackage)===null||i===void 0?void 0:i.packageId)!==null&&p!==void 0?p:(a=e?.htmlPackagePage)===null||a===void 0?void 0:a.contentId}function Yl(e,t){var o,n,i,a,s,l,d,p,h;return(h=(p=(d=(l=$o((o=e?.map)===null||o===void 0?void 0:o.readerUrl,t))!==null&&l!==void 0?l:$o((n=e?.topic)===null||n===void 0?void 0:n.readerUrl,t))!==null&&d!==void 0?d:(i=e?.document)===null||i===void 0?void 0:i.viewerUrl)!==null&&p!==void 0?p:(a=e?.htmlPackage)===null||a===void 0?void 0:a.viewerUrl)!==null&&h!==void 0?h:(s=e?.htmlPackagePage)===null||s===void 0?void 0:s.viewerUrl}function Xl(e){return e?.topic?[e.topic.mapTitle,...e.topic.breadcrumb]:e?.map?[e.map.title]:e?.document?[e.document.title]:e?.htmlPackage?[e.htmlPackage.title]:e?.htmlPackagePage?[e.htmlPackagePage.packageTitle,e.htmlPackagePage.title]:[]}function $o(e,t){if(t&&e){let o=URL.parse(e),n=Ve.serializeValueFilters(t);if(n&&o?.searchParams.append(L.VALUE_FILTERS,n),o)return o.toString()}return e}function Go(e,t){return t&&t>1&&e.length>=t?`... > ${e[e.length-1]}`:e.join(" > ")}var Vo=class e{constructor(t,o,n,i){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=i}static findResultWithMetadataValue(t,o,n){return t?.find(i=>{var a;return((a=this.extractResultMetadata({result:i}).find(s=>s.key==o))===null||a===void 0?void 0:a.value)==n})}static extractResultMetadata(t){var o,n;let i=(n=(o=Ho(t.result))===null||o===void 0?void 0:o.metadata)!==null&&n!==void 0?n:[];return t.key==null?e.flattenMetadata(i,t.hierarchicalValueTruncatingLevel,t.dateFormatter):e.flattenMetadata(i.find(a=>a.key===t.key),t.hierarchicalValueTruncatingLevel,t.dateFormatter)}static flattenMetadata(t,o,n){if(Array.isArray(t))return t.map(a=>e.flattenMetadata(a,o,n)).filter(a=>a!=null);let i=t?.hierarchicalValues!=null&&t.hierarchicalValues.length>0;if(!(t==null||t.values.length==0&&!i))if(i){let a=[],s=[];return t.hierarchicalValues.forEach(l=>{a.push(Go(l)),s.push(Go(l,o))}),{key:t.key,label:t.label,value:a.join(", "),displayValue:s.join(", "),displayTooltipValue:a.join(", ")}}else{let a=t.values.join(", "),s=t.values.map(l=>n?n(l):l).join(", ");return{key:t.key,label:t.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(t,o,n="No value",i,a){var s,l;let d=e.extractResultMetadata({result:this.selectedResult,key:t,dateFormatter:a}),p=(l=d?.label)!==null&&l!==void 0?l:(s=this.getMetadataDescriptor(t))===null||s===void 0?void 0:s.label;return this.allResults.map(f=>e.extractResultMetadata({result:f,key:t,hierarchicalValueTruncatingLevel:i,dateFormatter:a})).map(f=>f??{key:t,label:p,value:void 0,displayValue:n}).filter(f=>f.value!=d?.value).filter((f,m,b)=>b.findIndex(E=>E.value===f.value)===m).map(f=>({result:this.findBestResultForMetadataValue(t,f.value),metadata:f})).sort((f,m)=>this.compareMetadata(f.metadata.value,m.metadata.value,t,o))}compareMetadata(t,o,n,i){if(t==null)return-1;if(o==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let d=t.localeCompare(o,i,{numeric:!0});return l?d*-1:d}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(o=>t==o.key)}findBestResultForMetadataValue(t,o){let n=this.allResults.filter(d=>{var p;return((p=e.extractResultMetadata({result:d,key:t}))===null||p===void 0?void 0:p.value)==o}),a=[...e.extractResultMetadata({result:this.selectedResult}).filter(d=>this.clusteringMetadata.has(d.key)).filter(d=>d.key!==t)],s,l=-1;for(let d of n){let p=this.countMatchingMetadata(d,a);if(p>l&&(l=p,s=d,p===a.length))break}return s}countMatchingMetadata(t,o){return e.extractResultMetadata({result:t}).filter(n=>o.some(i=>i.key===n.key&&i.value===n.value)).length}};var jo={};I(jo,{Debouncer:()=>Re});var Re=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let i=(t=this.rejectPromise)!==null&&t!==void 0?t:(()=>null),a=(o=this.resolvePromise)!==null&&o!==void 0?o:(()=>null);this.clearPromise();for(let s of n)try{await s()}catch(l){i(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Yo={};I(Yo,{designSystemVariables:()=>Z});var qo={};I(qo,{DesignSystemFamily:()=>Kt,DesignSystemSize:()=>Zt,FtCssVariableFactory:()=>r,badge:()=>pd,banner:()=>ud,button:()=>ed,card:()=>td,chart:()=>Rd,checkbox:()=>nd,chip:()=>cd,chipChoice:()=>sd,chipGroup:()=>ld,collapsible:()=>wd,combobox:()=>Cd,dateRangePicker:()=>kd,drawer:()=>xd,eventCard:()=>rd,floatingMenu:()=>Od,foundation:()=>c,link:()=>dd,modal:()=>gd,notice:()=>Ld,notification:()=>Pd,pageDesigner:()=>Td,pageFooter:()=>md,pageHeader:()=>hd,pageLayout:()=>yd,popover:()=>Ad,radio:()=>id,reorderableList:()=>bd,resolveFamilyClass:()=>Ko,resolveSizeClass:()=>Zo,semantic:()=>u,setVariable:()=>St,switch_:()=>_d,table:()=>ad,tabs:()=>Ed,textArea:()=>vd,textInput:()=>Sd,titleBreadcrumb:()=>fd,toggle:()=>Nd,tooltip:()=>Id,treeList:()=>od,typographies:()=>Ql,typographyBody1Medium:()=>Ka,typographyBody1Regular:()=>ja,typographyBody1Semibold:()=>Za,typographyBody2Medium:()=>Ya,typographyBody2MediumUnderline:()=>Xa,typographyBody2Regular:()=>qa,typographyBody2Semibold:()=>Qa,typographyCaption1Medium:()=>Ja,typographyCaption1Semibold:()=>es,typographyCaption2Bold:()=>os,typographyCaption2Medium:()=>ts,typographyCaption2Semibold:()=>rs,typographyDisplay:()=>za,typographyTitle1:()=>Ga,typographyTitle2:()=>Va,typographyTitle3:()=>Wa,typographyVariants:()=>Jl});var Te=e=>typeof e=="string"?Dt(e):e,r=class{static create(t,o,n,i){let a=l=>Te(l??i),s=P`var(${Te(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.set=l=>St(s,l??a(i)),s.get=l=>P`var(${Te(t)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,o,n,i){let a=l=>n.get(l??i),s=P`var(${Te(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.set=l=>St(s,l??a(i)),s.get=l=>P`var(${Te(t)}, ${a(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(t,o){let n=a=>t.defaultCssValue(a),i=P`var(${Te(t.name)}, ${n(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=n,i.set=a=>t.set(a),i.get=a=>P`var(${Te(t.name)}, ${n(a)})`,i.breadcrumb=()=>t.breadcrumb(),i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};function St(e,t){return Te(`${e.name}: ${t}`)}var c={colorWhite:r.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:r.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:r.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ftds-icon-size-1","","SIZE","0.5rem"),iconSize2:r.create("--ftds-icon-size-2","","SIZE","0.75rem"),iconSize3:r.create("--ftds-icon-size-3","","SIZE","1rem"),iconSize4:r.create("--ftds-icon-size-4","","SIZE","1.25rem"),iconSize5:r.create("--ftds-icon-size-5","","SIZE","1.5rem"),iconSize6:r.create("--ftds-icon-size-6","","SIZE","2rem"),iconSize7:r.create("--ftds-icon-size-7","","SIZE","3rem"),opacity0:r.create("--ftds-opacity-0","","NUMBER","0"),opacity4:r.create("--ftds-opacity-4","","NUMBER","0.04"),opacity6:r.create("--ftds-opacity-6","","NUMBER","0.06"),opacity8:r.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:r.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:r.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:r.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ftds-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:r.create("--ftds-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:r.create("--ftds-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:r.create("--ftds-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:r.create("--ftds-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:r.create("--ftds-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:r.create("--ftds-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:r.create("--ftds-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:r.create("--ftds-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},za={fontFamily:r.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:r.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-display-text-case","","UNKNOWN","none")},Ga={fontFamily:r.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:r.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},Va={fontFamily:r.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:r.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},Wa={fontFamily:r.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:r.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},ja={fontFamily:r.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},Ka={fontFamily:r.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},Za={fontFamily:r.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},qa={fontFamily:r.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},Ya={fontFamily:r.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},Xa={fontFamily:r.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:r.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:r.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Qa={fontFamily:r.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},Ja={fontFamily:r.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},es={fontFamily:r.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},ts={fontFamily:r.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},rs={fontFamily:r.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},os={fontFamily:r.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},Ql={display:za,"title-1":Ga,"title-2":Va,"title-3":Wa,"body-1-regular":ja,"body-1-medium":Ka,"body-1-semibold":Za,"body-2-regular":qa,"body-2-medium":Ya,"body-2-medium-underline":Xa,"body-2-semibold":Qa,"caption-1-medium":Ja,"caption-1-semibold":es,"caption-2-medium":ts,"caption-2-semibold":rs,"caption-2-bold":os},Jl=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","caption-1","caption-2"];var u={backgroundActionPrimary:r.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:r.extend("--ftds-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:r.extend("--ftds-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:r.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:r.extend("--ftds-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:r.extend("--ftds-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:r.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:r.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:r.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:r.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:r.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:r.extend("--ftds-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:r.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:r.extend("--ftds-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:r.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:r.extend("--ftds-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:r.extend("--ftds-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:r.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
4
- Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:r.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:r.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:r.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:r.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:r.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:r.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:r.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:r.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:r.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:r.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:r.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:r.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",c.colorGray50),borderGlobalSecondary:r.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",c.colorGray40),borderGlobalSubtle:r.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",c.colorGray30),borderInputPrimary:r.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:r.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var ed={largeHeight:r.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:r.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:r.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:r.extend("--ftds-button-large-icon-size","",c.iconSize3),largeBorderWidth:r.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ftds-button-medium-horizontal-padding","",c.spacing3),mediumGap:r.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:r.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:r.extend("--ftds-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:r.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-button-small-horizontal-padding","",c.spacing2),smallGap:r.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:r.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:r.extend("--ftds-button-small-icon-size","",c.iconSize1),smallBorderWidth:r.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ftds-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:r.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ftds-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ftds-button-primary-brand-background-color","",u.backgroundActionPrimary),primaryBrandColor:r.extend("--ftds-button-primary-brand-color","",u.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ftds-button-primary-brand-icon-color","",u.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ftds-button-primary-brand-state-layer-color","",u.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ftds-button-focus-focus-ring-color","",u.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ftds-button-tertiary-brand-color","",u.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ftds-button-tertiary-brand-icon-color","",u.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ftds-button-tertiary-brand-state-layer-color","",u.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:r.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ftds-button-tertiary-info-color","",u.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ftds-button-tertiary-info-icon-color","",u.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ftds-button-tertiary-info-state-layer-color","",u.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:r.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ftds-button-tertiary-success-color","",u.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ftds-button-tertiary-success-icon-color","",u.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ftds-button-tertiary-success-state-layer-color","",u.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:r.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ftds-button-tertiary-warning-color","",u.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ftds-button-tertiary-warning-icon-color","",u.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ftds-button-tertiary-warning-state-layer-color","",u.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:r.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ftds-button-tertiary-error-color","",u.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ftds-button-tertiary-error-icon-color","",u.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ftds-button-tertiary-error-state-layer-color","",u.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:r.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ftds-button-tertiary-neutral-icon-color","",u.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ftds-button-tertiary-neutral-color","",u.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ftds-button-tertiary-neutral-state-layer-color","",u.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:r.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ftds-button-secondary-brand-color","",u.contentActionPrimary),secondaryBrandIconColor:r.extend("--ftds-button-secondary-brand-icon-color","",u.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ftds-button-secondary-brand-state-layer-color","",u.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:r.extend("--ftds-button-secondary-brand-border-color","",u.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:r.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ftds-button-secondary-neutral-color","",u.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ftds-button-secondary-neutral-icon-color","",u.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ftds-button-secondary-neutral-state-layer-color","",u.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ftds-button-secondary-neutral-border-color","",u.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:r.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ftds-button-secondary-info-border-color","",u.borderInfoPrimary),secondaryInfoColor:r.extend("--ftds-button-secondary-info-color","",u.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ftds-button-secondary-info-icon-color","",u.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ftds-button-secondary-info-state-layer-color","",u.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:r.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ftds-button-secondary-success-border-color","",u.borderSuccessPrimary),secondarySuccessColor:r.extend("--ftds-button-secondary-success-color","",u.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ftds-button-secondary-success-icon-color","",u.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ftds-button-secondary-success-state-layer-color","",u.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:r.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ftds-button-secondary-warning-border-color","",u.borderWarningPrimary),secondaryWarningColor:r.extend("--ftds-button-secondary-warning-color","",u.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ftds-button-secondary-warning-icon-color","",u.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ftds-button-secondary-warning-state-layer-color","",u.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:r.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ftds-button-secondary-error-border-color","",u.contentErrorPrimary),secondaryErrorColor:r.extend("--ftds-button-secondary-error-color","",u.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ftds-button-secondary-error-icon-color","",u.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ftds-button-secondary-error-state-layer-color","",u.contentErrorPrimary)};var td={borderRadius:r.extend("--ftds-card-border-radius","",c.borderRadiusS),focusFocusRingColor:r.extend("--ftds-card-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-card-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-card-focus-outline-offset","","SIZE","2px"),headerTitleHorizontalPadding:r.extend("--ftds-card-header-title-horizontal-padding","",c.spacing4),headerTitleVerticalPadding:r.extend("--ftds-card-header-title-vertical-padding","",c.spacing3),headerActionHorizontalPadding:r.extend("--ftds-card-header-action-horizontal-padding","",c.spacing2),headerActionVerticalPadding:r.extend("--ftds-card-header-action-vertical-padding","",c.spacing2),headerActionGap:r.extend("--ftds-card-header-action-gap","",c.spacing1),bodyHorizontalPadding:r.extend("--ftds-card-body-horizontal-padding","",c.spacing4),bodyVerticalPadding:r.extend("--ftds-card-body-vertical-padding","",c.spacing4),footerActionHorizontalPadding:r.extend("--ftds-card-footer-action-horizontal-padding","",c.spacing2),footerActionVerticalPadding:r.extend("--ftds-card-footer-action-vertical-padding","",c.spacing2),footerActionGap:r.extend("--ftds-card-footer-action-gap","",c.spacing1),footerContentHorizontalPadding:r.extend("--ftds-card-footer-content-horizontal-padding","",c.spacing4),footerContentVerticalPadding:r.extend("--ftds-card-footer-content-vertical-padding","",c.spacing3),sideBarHorizontalPadding:r.extend("--ftds-card-side-bar-horizontal-padding","",c.spacing1),sideBarVerticalPadding:r.extend("--ftds-card-side-bar-vertical-padding","",c.spacing1),sideBarGap:r.extend("--ftds-card-side-bar-gap","",c.spacing1),nonSelectableBorderWidth:r.create("--ftds-card-non-selectable-border-width","","SIZE","1px"),nonSelectableStateLayerColor:r.extend("--ftds-card-non-selectable-state-layer-color","",u.contentGlobalPrimary),nonSelectableDefaultBackgroundColor:r.extend("--ftds-card-non-selectable-default-background-color","",u.backgroundGlobalOnSurface),nonSelectableDefaultBorderColor:r.extend("--ftds-card-non-selectable-default-border-color","",u.borderGlobalSecondary),nonSelectableHoverBorderColor:r.extend("--ftds-card-non-selectable-hover-border-color","",u.borderGlobalPrimary),nonSelectableHoverStateLayerOpacity:r.extend("--ftds-card-non-selectable-hover-state-layer-opacity","",c.opacity4),nonSelectableFocusBorderColor:r.extend("--ftds-card-non-selectable-focus-border-color","",u.borderGlobalPrimary),nonSelectableFocusStateLayerOpacity:r.extend("--ftds-card-non-selectable-focus-state-layer-opacity","",c.opacity4),internalBorderColor:r.extend("--ftds-card-internal-border-color","",u.borderGlobalSecondary),selectableUnselectedBorderWidth:r.create("--ftds-card-selectable-unselected-border-width","","SIZE","1px"),selectableUnselectedStateLayerColor:r.extend("--ftds-card-selectable-unselected-state-layer-color","",u.contentGlobalPrimary),selectableUnselectedDefaultBackgroundColor:r.extend("--ftds-card-selectable-unselected-default-background-color","",u.backgroundGlobalOnSurface),selectableUnselectedDefaultBorderColor:r.extend("--ftds-card-selectable-unselected-default-border-color","",u.borderGlobalSecondary),selectableUnselectedHoverBorderColor:r.extend("--ftds-card-selectable-unselected-hover-border-color","",u.borderGlobalPrimary),selectableUnselectedHoverStateLayerOpacity:r.extend("--ftds-card-selectable-unselected-hover-state-layer-opacity","",c.opacity4),selectableUnselectedFocusBorderColor:r.extend("--ftds-card-selectable-unselected-focus-border-color","",u.borderGlobalPrimary),selectableUnselectedFocusStateLayerOpacity:r.extend("--ftds-card-selectable-unselected-focus-state-layer-opacity","",c.opacity4),selectableSelectedBorderColor:r.extend("--ftds-card-selectable-selected-border-color","",u.borderActionPrimary),selectableSelectedBorderWidth:r.create("--ftds-card-selectable-selected-border-width","","SIZE","2px"),selectableSelectedStateLayerColor:r.extend("--ftds-card-selectable-selected-state-layer-color","",u.contentActionPrimary),selectableSelectedBackgroundColor:r.extend("--ftds-card-selectable-selected-background-color","",u.backgroundGlobalSurface),selectableSelectedDefaultStateLayerOpacity:r.extend("--ftds-card-selectable-selected-default-state-layer-opacity","",c.opacity4),selectableSelectedHoverStateLayerOpacity:r.extend("--ftds-card-selectable-selected-hover-state-layer-opacity","",c.opacity4),selectableSelectedFocusStateLayerOpacity:r.extend("--ftds-card-selectable-selected-focus-state-layer-opacity","",c.opacity4),internalBorderWidth:r.create("--ftds-card-internal-border-width","","SIZE","1px")};var rd={borderRadius:r.extend("--ftds-event-card-border-radius","",c.borderRadiusS),borderWidth:r.create("--ftds-event-card-border-width","","SIZE","1px"),backgroundColor:r.extend("--ftds-event-card-background-color","",u.backgroundGlobalSurface),thumbnailWidth:r.extend("--ftds-event-card-thumbnail-width","",c.spacing8),thumbnailIconSize:r.extend("--ftds-event-card-thumbnail-icon-size","",c.iconSize4),slotHorizontalPadding:r.extend("--ftds-event-card-slot-horizontal-padding","",c.spacing2),slotVerticalPadding:r.extend("--ftds-event-card-slot-vertical-padding","",c.spacing2),primaryThumbnailIconColor:r.extend("--ftds-event-card-primary-thumbnail-icon-color","",u.contentGlobalOnColor),secondaryThumbnailBackgroundColor:r.extend("--ftds-event-card-secondary-thumbnail-background-color","",u.backgroundGlobalSurface)};var od={loadMoreIconSize:r.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:r.extend("--ftds-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-unselected-default-border-color","",u.borderGlobalSubtle),loadMoreIconColor:r.extend("--ftds-tree-list-load-more-icon-color","",u.contentActionPrimary),loadMoreLabelColor:r.extend("--ftds-tree-list-load-more-label-color","",u.contentActionPrimary),loadMoreHoverBorderColor:r.extend("--ftds-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:r.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:r.extend("--ftds-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:r.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:r.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:r.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),loadMoreLabelMarginLeft:r.extend("--ftds-tree-list-load-more-label-margin-left","",c.spacing1),nodeIconSize:r.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:r.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:r.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:r.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:r.extend("--ftds-tree-list-node-root-padding-left","",c.spacing6),nodeChildPaddingLeft:r.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:r.extend("--ftds-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-node-unselected-default-border-color","",u.borderGlobalSubtle),nodeUnselectedIconColor:r.extend("--ftds-tree-list-node-unselected-icon-color","",u.contentGlobalSecondary),nodeUnselectedLabelColor:r.extend("--ftds-tree-list-node-unselected-label-color","",u.contentGlobalSecondary),nodeUnselectedCounterColor:r.extend("--ftds-tree-list-node-unselected-counter-color","",u.contentGlobalSecondary),nodeHoverBorderColor:r.extend("--ftds-tree-list-node-hover-border-color","",u.borderActionPrimary),nodeFocusFocusRingColor:r.extend("--ftds-tree-list-node-focus-focus-ring-color","",u.borderActionFocusRing),nodeFocusOutlineWidth:r.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-selected-default-border-color","",u.borderGlobalPrimary),nodeSelectedIconColor:r.extend("--ftds-tree-list-node-selected-icon-color","",u.contentGlobalSecondary),nodeSelectedLabelColor:r.extend("--ftds-tree-list-node-selected-label-color","",u.contentGlobalPrimary),nodeSelectedCounterColor:r.extend("--ftds-tree-list-node-selected-counter-color","",u.contentGlobalSecondary),nodeSelectedBackgroundColor:r.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",u.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:r.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:r.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:r.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",u.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:r.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:r.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:r.extend("--ftds-tree-list-header-section-padding-left","",c.spacing6),headerSectionPaddingRight:r.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:r.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:r.extend("--ftds-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:r.extend("--ftds-tree-list-header-section-color","",u.contentGlobalPrimary),headerSectionCounterColor:r.extend("--ftds-tree-list-header-section-counter-color","",u.contentGlobalSecondary),listContainerBorderWidth:r.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:r.extend("--ftds-tree-list-list-container-background-color","",u.backgroundGlobalSurface),listContainerBorderColor:r.extend("--ftds-tree-list-list-container-border-color","",u.borderGlobalSubtle),emptyStateIllustrationWidth:r.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:r.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:r.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",c.spacing10),emptyStateContainerPaddingTop:r.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:r.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:r.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.spacing2),emptyStateTitleLabelColor:r.extend("--ftds-tree-list-empty-state-title-label-color","",u.contentGlobalSecondary),emptyStateDescriptionLabelColor:r.extend("--ftds-tree-list-empty-state-description-label-color","",u.contentGlobalSecondary)};var nd={iconSize:r.extend("--ftds-checkbox-icon-size","",c.iconSize2),boxSize:r.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:r.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:r.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:r.extend("--ftds-checkbox-label-horizontal-gap","",c.spacing2),color:r.extend("--ftds-checkbox-color","",u.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ftds-checkbox-checked-background-color","",u.contentActionPrimary),checkedStateLayerColor:r.extend("--ftds-checkbox-checked-state-layer-color","",u.contentActionPrimary),checkedIconColor:r.extend("--ftds-checkbox-checked-icon-color","",u.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:r.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:r.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:r.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:r.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:r.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ftds-checkbox-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:r.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:r.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:r.extend("--ftds-checkbox-horizontal-gap","",c.spacing3),helperPaddingTop:r.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:r.extend("--ftds-checkbox-helper-icon-size","",c.iconSize2),helperHorizontalGap:r.extend("--ftds-checkbox-helper-horizontal-gap","",c.spacing1),errorUncheckedBorderColor:r.extend("--ftds-checkbox-error-unchecked-border-color","",u.borderErrorPrimary),errorStateLayerColor:r.extend("--ftds-checkbox-error-state-layer-color","",u.contentErrorPrimary),errorHelperTextColor:r.extend("--ftds-checkbox-error-helper-text-color","",u.borderErrorPrimary),errorCheckedBackgroundColor:r.extend("--ftds-checkbox-error-checked-background-color","",u.contentErrorPrimary),helperTextColor:r.extend("--ftds-checkbox-helper-text-color","",u.contentGlobalSubtle),groupVerticalGap:r.extend("--ftds-checkbox-group-vertical-gap","",c.spacing3)};var id={circleSize:r.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:r.create("--ftds-radio-border-width","","SIZE","2px"),color:r.extend("--ftds-radio-color","",u.contentGlobalPrimary),selectedRadioColor:r.extend("--ftds-radio-selected-radio-color","",u.contentActionPrimary),selectedStateLayerColor:r.extend("--ftds-radio-selected-state-layer-color","",u.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ftds-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:r.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:r.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:r.extend("--ftds-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:r.extend("--ftds-radio-unselected-state-layer-color","",u.borderInputPrimary),unselectedBorderColor:r.extend("--ftds-radio-unselected-border-color","",u.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ftds-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:r.extend("--ftds-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ftds-radio-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:r.extend("--ftds-radio-vertical-gap","",c.spacing3),horizontalGap:r.extend("--ftds-radio-horizontal-gap","",c.spacing3)};var ad={headerRowBorderWidth:r.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:r.extend("--ftds-table-header-row-background-color","",u.backgroundGlobalOnSurfaceDark),headerRowBorderColor:r.extend("--ftds-table-header-row-border-color","",u.borderGlobalPrimary),headerRowColor:r.extend("--ftds-table-header-row-color","",u.contentGlobalPrimary),dataRowBorderWidth:r.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:r.extend("--ftds-table-data-row-background-color","",u.backgroundGlobalOnSurface),dataRowBorderColor:r.extend("--ftds-table-data-row-border-color","",u.borderGlobalSubtle),dataRowColor:r.extend("--ftds-table-data-row-color","",u.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:r.extend("--ftds-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:r.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:r.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:r.extend("--ftds-table-data-row-selectable-selected-color","",u.contentActionPrimary),dataRowClickableHoverBackgroundColor:r.extend("--ftds-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:r.extend("--ftds-table-data-row-clickable-focus-border-color","",u.borderActionFocusRing),dataRowClickableFocusBackgroundColor:r.extend("--ftds-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:r.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:r.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:r.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:r.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:r.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:r.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:r.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)};var sd={neutralOffHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",u.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:r.extend("--ftds-chip-choice-neutral-off-background-color","",u.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ftds-chip-choice-neutral-off-border-color","",u.borderGlobalPrimary),neutralOffColor:r.extend("--ftds-chip-choice-neutral-off-color","",u.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ftds-chip-choice-neutral-off-state-layer-color","",u.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",u.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:r.extend("--ftds-chip-choice-neutral-on-background-color","",u.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ftds-chip-choice-neutral-on-border-color","",u.borderGlobalPrimary),neutralOnColor:r.extend("--ftds-chip-choice-neutral-on-color","",u.contentGlobalPrimary),neutralOnIconColor:r.extend("--ftds-chip-choice-neutral-on-icon-color","",u.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ftds-chip-choice-neutral-on-state-layer-color","",u.contentGlobalPrimary),largeMinHeight:r.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:r.extend("--ftds-chip-choice-large-gap","",c.spacing1),largeBorderRadius:r.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:r.extend("--ftds-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:r.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-choice-medium-icon-size","",c.iconSize2)};var cd={largeMinHeight:r.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:r.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:r.extend("--ftds-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:r.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:r.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:r.extend("--ftds-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:r.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-medium-icon-size","",c.iconSize2),smallMinHeight:r.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:r.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:r.extend("--ftds-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:r.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ftds-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:r.extend("--ftds-chip-neutral-background-color","",u.backgroundGlobalOnSurface),neutralColor:r.extend("--ftds-chip-neutral-color","",u.contentGlobalSecondary),neutralIconColor:r.extend("--ftds-chip-neutral-icon-color","",u.contentGlobalSecondary),neutralBorderColor:r.extend("--ftds-chip-neutral-border-color","",u.borderGlobalSecondary),infoBackgroundColor:r.extend("--ftds-chip-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ftds-chip-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ftds-chip-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-chip-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-chip-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ftds-chip-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ftds-chip-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-chip-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-chip-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ftds-chip-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ftds-chip-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-chip-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-chip-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ftds-chip-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ftds-chip-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-chip-error-border-color","",u.borderErrorSubtle)};var ld={horizontalGap:r.extend("--ftds-chip-group-horizontal-gap","",c.spacing2),verticalGap:r.extend("--ftds-chip-group-vertical-gap","",c.spacing2),countChipDefaultBackgroundColor:r.extend("--ftds-chip-group-count-chip-default-background-color","",c.colorBrand10),countChipDefaultBorderColor:r.extend("--ftds-chip-group-count-chip-default-border-color","",c.colorBrand60),countChipDefaultContentColor:r.extend("--ftds-chip-group-count-chip-default-content-color","",u.contentActionPrimary),countChipHoverBackgroundColor:r.extend("--ftds-chip-group-count-chip-hover-background-color","",c.colorBrand20),countChipHoverBorderColor:r.extend("--ftds-chip-group-count-chip-hover-border-color","",c.colorBrand70),countChipHoverContentColor:r.extend("--ftds-chip-group-count-chip-hover-content-color","",u.contentActionPrimary),countChipFocusedBackgroundColor:r.extend("--ftds-chip-group-count-chip-focused-background-color","",c.colorBrand20),countChipFocusedBorderColor:r.extend("--ftds-chip-group-count-chip-focused-border-color","",c.colorBrand70),countChipFocusedContentColor:r.extend("--ftds-chip-group-count-chip-focused-content-color","",u.contentActionPrimary)};var dd={brandHoverOpacity:r.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:r.extend("--ftds-link-brand-hover-color","",u.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ftds-link-brand-focus-focus-ring-color","",u.borderActionFocusRing),brandFocusColor:r.extend("--ftds-link-brand-focus-color","",u.contentActionPrimary),brandDefaultColor:r.extend("--ftds-link-brand-default-color","",u.contentActionPrimary),brandActiveColor:r.extend("--ftds-link-brand-active-color","",u.contentActionPrimary),infoHoverOpacity:r.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:r.extend("--ftds-link-info-hover-color","",u.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ftds-link-info-focus-focus-ring-color","",u.borderActionFocusRing),infoFocusColor:r.extend("--ftds-link-info-focus-color","",u.contentInfoPrimary),infoDefaultColor:r.extend("--ftds-link-info-default-color","",u.contentInfoPrimary),infoActiveColor:r.extend("--ftds-link-info-active-color","",u.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ftds-link-neutral-focus-focus-ring-color","",u.borderActionFocusRing),neutralFocusColor:r.extend("--ftds-link-neutral-focus-color","",u.contentActionPrimary),neutralDefaultColor:r.extend("--ftds-link-neutral-default-color","",u.contentGlobalPrimary),neutralHoverColor:r.extend("--ftds-link-neutral-hover-color","",u.contentActionPrimary),neutralActiveColor:r.extend("--ftds-link-neutral-active-color","",u.contentActionPrimary),neutralVisitedColor:r.extend("--ftds-link-neutral-visited-color","",c.colorBrand100),horizontalGap:r.extend("--ftds-link-horizontal-gap","",c.spacing1)};var ud={iconSize:r.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:r.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:r.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:r.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:r.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:r.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:r.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:r.extend("--ftds-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:r.extend("--ftds-banner-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ftds-banner-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ftds-banner-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-banner-info-border-color","",u.borderInfoSubtle)};var pd={horizontalPadding:r.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:r.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:r.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:r.extend("--ftds-badge-color","",u.contentGlobalOnColor),backgroundColor:r.extend("--ftds-badge-background-color","",u.contentActionPrimary)};var fd={horizontalGap:r.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:r.extend("--ftds-title-breadcrumb-current-color","",u.contentGlobalPrimary),previousNonClickableColor:r.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",u.contentGlobalSecondary),iconColor:r.extend("--ftds-title-breadcrumb-icon-color","",u.contentGlobalSubtle)};var hd={parentHorizontalPadding:r.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:r.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:r.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:r.extend("--ftds-page-header-parent-help-left-margin","",c.spacing2),parentTitleColor:r.extend("--ftds-page-header-parent-title-color","",u.contentGlobalPrimary),parentSubtitleColor:r.extend("--ftds-page-header-parent-subtitle-color","",u.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ftds-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:r.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:r.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:r.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:r.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:r.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:r.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:r.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:r.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:r.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:r.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:r.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:r.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:r.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:r.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:r.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:r.extend("--ftds-page-header-bottom-border-color","",u.borderGlobalSubtle),bottomBorderWidth:r.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var md={horizontalPadding:r.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:r.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:r.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ftds-page-footer-background-color","",c.colorWhite),topBorderColor:r.extend("--ftds-page-footer-top-border-color","",u.borderGlobalSubtle),topBorderWidth:r.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)};var yd={contentHorizontalPadding:r.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:r.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)};var gd={smallContainerTargetWidth:r.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ftds-modal-small-container-margin","",c.spacing6),headerIconSize:r.extend("--ftds-modal-header-icon-size","",c.iconSize3),headerBackgroundColor:r.extend("--ftds-modal-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-modal-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ftds-modal-header-color","",u.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ftds-modal-header-leading-icon-color","",u.contentGlobalPrimary),headerVerticalPadding:r.extend("--ftds-modal-header-vertical-padding","",c.spacing1),headerRightPadding:r.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:r.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:r.extend("--ftds-modal-header-gap","",c.spacing2),headerBorderBottomWidth:r.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),mediumContainerTargetWidth:r.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ftds-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:r.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:r.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:r.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:r.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:r.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:r.extend("--ftds-modal-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:r.extend("--ftds-modal-body-vertical-gap","",c.spacing6),borderRadius:r.extend("--ftds-modal-border-radius","",c.borderRadiusM)};var bd={grabberIconSize:r.extend("--ftds-reorderable-list-grabber-icon-size","",c.iconSize2),verticalPadding:r.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:r.extend("--ftds-reorderable-list-gap","",c.spacing4),itemGap:r.extend("--ftds-reorderable-list-item-gap","",c.spacing2),borderRadius:r.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:r.extend("--ftds-reorderable-list-reorderable-item-title-color","",u.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:r.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",u.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:r.extend("--ftds-reorderable-list-reorderable-item-background-color","",u.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",u.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",u.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ftds-reorderable-list-reorderable-item-grip-color","",u.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:r.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:r.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:r.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:r.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:r.extend("--ftds-reorderable-list-border-color","",u.borderGlobalPrimary),backgroundColor:r.extend("--ftds-reorderable-list-background-color","",u.backgroundGlobalOnSurfaceDark)};var xd={overlayOpacity:r.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:r.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:r.extend("--ftds-drawer-body-color","",u.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:r.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:r.extend("--ftds-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:r.extend("--ftds-drawer-header-background-color","",u.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-drawer-header-border-color","",u.borderGlobalSubtle),headerColor:r.extend("--ftds-drawer-header-color","",u.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ftds-drawer-header-trailing-icon-color","",u.contentGlobalSecondary),headerHeight:r.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ftds-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:r.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ftds-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:r.extend("--ftds-drawer-buttons-bar-background-color","",u.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ftds-drawer-buttons-bar-border-color","",u.borderGlobalSubtle),buttonsBarColor:r.extend("--ftds-drawer-buttons-bar-color","",u.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ftds-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:r.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:r.extend("--ftds-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:r.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ftds-drawer-overlay-background-color","",c.colorGray700)};var Ed={offBorderBottomWidth:r.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:r.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:r.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:r.extend("--ftds-tabs-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ftds-tabs-off-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-tabs-off-state-layer-color","",u.contentGlobalSubtle),offBorderBottomColor:r.extend("--ftds-tabs-off-border-bottom-color","",u.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ftds-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:r.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:r.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:r.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:r.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:r.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:r.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:r.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:r.extend("--ftds-tabs-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ftds-tabs-on-state-layer-color","",u.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ftds-tabs-on-active-tab-indicator-color","",u.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ftds-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:r.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:r.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:r.extend("--ftds-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:r.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-tabs-focus-focus-ring-color","",u.borderActionFocusRing),mainIconIconSize:r.extend("--ftds-tabs-main-icon-icon-size","",c.iconSize3),alertIconIconSize:r.extend("--ftds-tabs-alert-icon-icon-size","",c.iconSize2)};var Sd={largeFieldHorizontalPadding:r.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:r.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:r.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:r.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:r.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:r.extend("--ftds-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:r.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ftds-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:r.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:r.extend("--ftds-text-input-background-color","",c.colorWhite),contentValueColor:r.extend("--ftds-text-input-content-value-color","",u.contentGlobalPrimary),trailingIconColor:r.extend("--ftds-text-input-trailing-icon-color","",u.contentGlobalSubtle),labelColor:r.extend("--ftds-text-input-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-input-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-input-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-input-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-input-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-input-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderColor:r.extend("--ftds-text-input-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-text-input-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-text-input-warning-helper-icon-color","",u.contentWarningIconOnly),warningBorderWidth:r.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-text-input-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)};var vd={backgroundColor:r.extend("--ftds-text-area-background-color","",c.colorWhite),contentValueColor:r.extend("--ftds-text-area-content-value-color","",u.contentGlobalPrimary),labelColor:r.extend("--ftds-text-area-label-color","",u.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-area-default-border-color","",u.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-area-default-helper-text-color","",u.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-area-error-border-color","",u.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-area-error-helper-text-color","",u.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-area-error-helper-icon-color","",u.contentErrorIconOnly),warningBorderColor:r.extend("--ftds-text-area-warning-border-color","",u.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-text-area-warning-helper-text-color","",u.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-text-area-warning-helper-icon-color","",u.contentWarningIconOnly),focusFocusRingColor:r.extend("--ftds-text-area-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:r.extend("--ftds-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ftds-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ftds-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:r.create("--ftds-text-area-field-min-height","","SIZE","72px"),fieldMaxHeight:r.create("--ftds-text-area-field-max-height","","SIZE","300px"),helperHorizontalPadding:r.extend("--ftds-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ftds-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ftds-text-area-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ftds-text-area-border-radius","",c.borderRadiusS)};var Od={height:r.create("--ftds-floating-menu-height","","SIZE","52px"),horizontalPadding:r.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),verticalPadding:r.extend("--ftds-floating-menu-vertical-padding","",c.spacing2),offIconColor:r.extend("--ftds-floating-menu-off-icon-color","",u.contentGlobalPrimary),offColor:r.extend("--ftds-floating-menu-off-color","",u.contentGlobalPrimary),onColor:r.extend("--ftds-floating-menu-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ftds-floating-menu-on-state-layer-color","",u.contentActionPrimary),gap:r.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:r.extend("--ftds-floating-menu-focus-focus-ring-color","",u.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ftds-floating-menu-focus-state-layer-opacity","",c.opacity24),hoverStateLayerOpacity:r.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:r.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:r.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:r.extend("--ftds-floating-menu-background-color","",u.backgroundGlobalOnSurface),shadow:r.extend("--ftds-floating-menu-shadow","",c.shadowElevation02),multiselectCheckedStateLayerColor:r.extend("--ftds-floating-menu-multiselect-checked-state-layer-color","",u.contentActionPrimary),multiselectCheckedColor:r.extend("--ftds-floating-menu-multiselect-checked-color","",u.contentGlobalPrimary),multiselectCheckedIconColor:r.extend("--ftds-floating-menu-multiselect-checked-icon-color","",u.contentActionPrimary),multiselectCheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-checked-default-state-layer-opacity","",c.opacity8),multiselectCheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-checked-hover-state-layer-opacity","",c.opacity16),multiselectCheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-checked-focus-state-layer-opacity","",c.opacity24),multiselectIndeterminatedStateLayerColor:r.extend("--ftds-floating-menu-multiselect-indeterminated-state-layer-color","",u.contentActionPrimary),multiselectIndeterminatedColor:r.extend("--ftds-floating-menu-multiselect-indeterminated-color","",u.contentGlobalPrimary),multiselectIndeterminatedIconColor:r.extend("--ftds-floating-menu-multiselect-indeterminated-icon-color","",u.contentActionPrimary),multiselectIndeterminatedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-indeterminated-default-state-layer-opacity","",c.opacity8),multiselectIndeterminatedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-indeterminated-hover-state-layer-opacity","",c.opacity16),multiselectIndeterminatedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-indeterminated-focus-state-layer-opacity","",c.opacity24),multiselectUncheckedStateLayerColor:r.extend("--ftds-floating-menu-multiselect-unchecked-state-layer-color","",u.contentGlobalPrimary),multiselectUncheckedColor:r.extend("--ftds-floating-menu-multiselect-unchecked-color","",u.contentGlobalPrimary),multiselectUncheckedIconColor:r.extend("--ftds-floating-menu-multiselect-unchecked-icon-color","",u.contentGlobalSubtle),multiselectUncheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-unchecked-default-state-layer-opacity","",c.opacity0),multiselectUncheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-unchecked-hover-state-layer-opacity","",c.opacity8),multiselectUncheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-unchecked-focus-state-layer-opacity","",c.opacity16),selectAllCheckedStateLayerColor:r.extend("--ftds-floating-menu-select-all-checked-state-layer-color","",u.contentActionPrimary),selectAllCheckedColor:r.extend("--ftds-floating-menu-select-all-checked-color","",u.contentGlobalPrimary),selectAllCheckedIconColor:r.extend("--ftds-floating-menu-select-all-checked-icon-color","",u.contentActionPrimary),selectAllCheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-checked-default-state-layer-opacity","",c.opacity0),selectAllCheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-checked-hover-state-layer-opacity","",c.opacity16),selectAllCheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-checked-focus-state-layer-opacity","",c.opacity24),selectAllIndeterminatedStateLayerColor:r.extend("--ftds-floating-menu-select-all-indeterminated-state-layer-color","",u.contentGlobalPrimary),selectAllIndeterminatedColor:r.extend("--ftds-floating-menu-select-all-indeterminated-color","",u.contentGlobalPrimary),selectAllIndeterminatedIconColor:r.extend("--ftds-floating-menu-select-all-indeterminated-icon-color","",u.contentActionPrimary),selectAllIndeterminatedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-indeterminated-default-state-layer-opacity","",c.opacity0),selectAllIndeterminatedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-indeterminated-hover-state-layer-opacity","",c.opacity8),selectAllIndeterminatedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-indeterminated-focus-state-layer-opacity","",c.opacity16),selectAllUncheckedStateLayerColor:r.extend("--ftds-floating-menu-select-all-unchecked-state-layer-color","",u.contentGlobalPrimary),selectAllUncheckedColor:r.extend("--ftds-floating-menu-select-all-unchecked-color","",u.contentGlobalPrimary),selectAllUncheckedIconColor:r.extend("--ftds-floating-menu-select-all-unchecked-icon-color","",u.contentGlobalSubtle),selectAllUncheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-unchecked-default-state-layer-opacity","",c.opacity0),selectAllUncheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-unchecked-hover-state-layer-opacity","",c.opacity8),selectAllUncheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-unchecked-focus-state-layer-opacity","",c.opacity16),defaultUncheckedStateLayerColor:r.extend("--ftds-floating-menu-default-unchecked-state-layer-color","",u.contentGlobalPrimary),defaultUncheckedColor:r.extend("--ftds-floating-menu-default-unchecked-color","",u.contentGlobalPrimary),defaultUncheckedIconColor:r.extend("--ftds-floating-menu-default-unchecked-icon-color","",u.contentGlobalSubtle),defaultUncheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-default-unchecked-default-state-layer-opacity","",c.opacity0),defaultUncheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-default-unchecked-hover-state-layer-opacity","",c.opacity8),defaultUncheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-default-unchecked-focus-state-layer-opacity","",c.opacity16),defaultCheckedStateLayerColor:r.extend("--ftds-floating-menu-default-checked-state-layer-color","",u.contentActionPrimary),defaultCheckedColor:r.extend("--ftds-floating-menu-default-checked-color","",u.contentActionPrimary),defaultCheckedIconColor:r.extend("--ftds-floating-menu-default-checked-icon-color","",u.contentActionPrimary),defaultCheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-default-checked-default-state-layer-opacity","",c.opacity8),defaultCheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-default-checked-hover-state-layer-opacity","",c.opacity16),defaultCheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-default-checked-focus-state-layer-opacity","",c.opacity24)};var Cd={menuVerticalGap:r.extend("--ftds-combobox-menu-vertical-gap","",c.spacing2),menuNewValuePaddingTop:r.extend("--ftds-combobox-menu-new-value-padding-top","",c.spacing4),menuNewValuePaddingBottom:r.extend("--ftds-combobox-menu-new-value-padding-bottom","",c.spacing1),menuNewValueHorizontalPadding:r.extend("--ftds-combobox-menu-new-value-horizontal-padding","",c.spacing4),menuNewValueLabelColor:r.extend("--ftds-combobox-menu-new-value-label-color","",u.contentGlobalSubtle),menuNewValueBorderColor:r.extend("--ftds-combobox-menu-new-value-border-color","",u.borderGlobalPrimary),menuNewValueBorderWidth:r.create("--ftds-combobox-menu-new-value-border-width","","SIZE","1px"),menuNewValueErrorBackgroundColor:r.extend("--ftds-combobox-menu-new-value-error-background-color","",u.backgroundErrorSubtle),menuNewValueErrorBorderColor:r.extend("--ftds-combobox-menu-new-value-error-border-color","",u.borderErrorPrimary),menuNewValueErrorStateLayerColor:r.extend("--ftds-combobox-menu-new-value-error-state-layer-color","",u.contentActionPrimary),menuNewValueErrorHoverStateLayerOpacity:r.extend("--ftds-combobox-menu-new-value-error-hover-state-layer-opacity","",c.opacity4),menuNewValueErrorActiveStateLayerOpacity:r.extend("--ftds-combobox-menu-new-value-error-active-state-layer-opacity","",c.opacity6),menuMessagePaddingTop:r.extend("--ftds-combobox-menu-message-padding-top","",c.spacing2),menuMessagePaddingBottom:r.extend("--ftds-combobox-menu-message-padding-bottom","",c.spacing2),menuMessageHorizontalPadding:r.extend("--ftds-combobox-menu-message-horizontal-padding","",c.spacing4),menuMessageLabelColor:r.extend("--ftds-combobox-menu-message-label-color","",u.contentGlobalSubtle),valuesChipBackgroundColor:r.extend("--ftds-combobox-values-chip-background-color","",u.backgroundGlobalOnSurface),valuesChipBorderColor:r.extend("--ftds-combobox-values-chip-border-color","",u.borderInputPrimary)};var Ad={backgroundColor:r.extend("--ftds-popover-background-color","",u.backgroundGlobalOnSurface),titleColor:r.extend("--ftds-popover-title-color","",u.contentGlobalPrimary),bodyColor:r.extend("--ftds-popover-body-color","",u.contentGlobalSecondary),gap:r.extend("--ftds-popover-gap","",c.spacing2),borderRadius:r.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:r.extend("--ftds-popover-shadow","",c.shadowElevation02),maxWidth:r.create("--ftds-popover-max-width","","SIZE","440px"),minWidth:r.create("--ftds-popover-min-width","","SIZE","160px"),maxHeight:r.create("--ftds-popover-max-height","","SIZE","0.16vh"),contentSectionVerticalGap:r.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:r.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6),defaultHorizontalPadding:r.extend("--ftds-popover-default-horizontal-padding","",c.spacing6),defaultVerticalPadding:r.extend("--ftds-popover-default-vertical-padding","",c.spacing6),denseHorizontalPadding:r.extend("--ftds-popover-dense-horizontal-padding","",c.spacing3),denseVerticalPadding:r.extend("--ftds-popover-dense-vertical-padding","",c.spacing3)};var wd={hoverStateLayerOpacity:r.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:r.extend("--ftds-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:r.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ftds-collapsible-focus-focus-ring-color","",u.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ftds-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:r.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:r.extend("--ftds-collapsible-vertical-padding","",c.spacing3),color:r.extend("--ftds-collapsible-color","",u.contentGlobalPrimary),stateLayerColor:r.extend("--ftds-collapsible-state-layer-color","",u.contentGlobalPrimary),backgroundColor:r.extend("--ftds-collapsible-background-color","",u.backgroundGlobalOnSurface),borderColor:r.extend("--ftds-collapsible-border-color","",u.borderGlobalSubtle),iconSize:r.extend("--ftds-collapsible-icon-size","",c.iconSize3)};var _d={groupHorizontalPadding:r.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:r.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:r.extend("--ftds-switch-group-gap","",c.spacing1),groupBackgroundColor:r.extend("--ftds-switch-group-background-color","",u.backgroundGlobalSurface),groupBorderColor:r.extend("--ftds-switch-group-border-color","",u.borderGlobalSubtle),groupBorderRadius:r.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ftds-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:r.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:r.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:r.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:r.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:r.extend("--ftds-switch-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ftds-switch-off-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-switch-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:r.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:r.extend("--ftds-switch-on-disabled-component-opacity","",c.opacity40),onColor:r.extend("--ftds-switch-on-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ftds-switch-on-state-layer-color","",u.contentActionPrimary),iconHorizontalPadding:r.extend("--ftds-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:r.extend("--ftds-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:r.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-switch-focus-focus-ring-color","",u.borderActionFocusRing),optionBorderRadius:r.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)};var Rd={color1Light:r.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:r.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:r.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:r.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:r.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:r.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:r.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:r.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:r.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:r.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:r.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:r.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:r.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:r.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:r.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:r.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:r.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:r.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:r.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:r.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:r.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:r.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:r.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:r.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:r.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:r.extend("--ftds-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var Td={color1IconColor:r.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:r.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:r.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:r.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:r.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:r.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:r.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:r.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:r.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:r.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:r.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:r.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:r.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:r.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:r.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:r.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var Ld={borderWidth:r.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:r.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:r.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:r.extend("--ftds-notice-gap","",c.spacing2),iconSize:r.extend("--ftds-notice-icon-size","",c.iconSize3),infoBackgroundColor:r.extend("--ftds-notice-info-background-color","",u.backgroundInfoSubtle),infoBorderColor:r.extend("--ftds-notice-info-border-color","",u.borderInfoSubtle),infoColor:r.extend("--ftds-notice-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ftds-notice-info-icon-color","",u.contentInfoIconOnly),warningBackgroundColor:r.extend("--ftds-notice-warning-background-color","",u.backgroundWarningSubtle),warningBorderColor:r.extend("--ftds-notice-warning-border-color","",u.borderWarningSubtle),warningColor:r.extend("--ftds-notice-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ftds-notice-warning-icon-color","",u.contentWarningIconOnly),errorBackgroundColor:r.extend("--ftds-notice-error-background-color","",u.backgroundErrorSubtle),errorBorderColor:r.extend("--ftds-notice-error-border-color","",u.borderErrorSubtle),errorColor:r.extend("--ftds-notice-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ftds-notice-error-icon-color","",u.contentErrorIconOnly),successBackgroundColor:r.extend("--ftds-notice-success-background-color","",u.backgroundSuccessSubtle),successBorderColor:r.extend("--ftds-notice-success-border-color","",u.borderSuccessSubtle),successColor:r.extend("--ftds-notice-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ftds-notice-success-icon-color","",u.contentSuccessIconOnly),denseHorizontalPadding:r.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:r.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:r.extend("--ftds-notice-dense-gap","",c.spacing1),denseIconSize:r.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:r.create("--ftds-notice-dense-border-width","","SIZE","0")};var Nd={offHoverStateLayerOpacity:r.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:r.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:r.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:r.extend("--ftds-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:r.extend("--ftds-toggle-off-background-color","",u.contentGlobalSubtle),offIconColor:r.extend("--ftds-toggle-off-icon-color","",u.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-toggle-off-state-layer-color","",u.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:r.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:r.extend("--ftds-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:r.extend("--ftds-toggle-on-background-color","",u.contentActionPrimary),onStateLayerColor:r.extend("--ftds-toggle-on-state-layer-color","",u.contentActionPrimary),onIconColor:r.extend("--ftds-toggle-on-icon-color","",u.contentActionPrimary),color:r.extend("--ftds-toggle-color","",u.contentGlobalPrimary),focusFocusRingColor:r.extend("--ftds-toggle-focus-focus-ring-color","",u.borderActionFocusRing),gap:r.extend("--ftds-toggle-gap","",c.spacing3)};var Pd={iconSize:r.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:r.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:r.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:r.extend("--ftds-notification-vertical-padding","",c.spacing3),infoBackgroundColor:r.extend("--ftds-notification-info-background-color","",u.backgroundInfoSubtle),infoColor:r.extend("--ftds-notification-info-color","",u.contentInfoPrimary),infoIconColor:r.extend("--ftds-notification-info-icon-color","",u.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-notification-info-border-color","",u.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-notification-success-background-color","",u.backgroundSuccessSubtle),successColor:r.extend("--ftds-notification-success-color","",u.contentSuccessPrimary),successIconColor:r.extend("--ftds-notification-success-icon-color","",u.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-notification-success-border-color","",u.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-notification-warning-background-color","",u.backgroundWarningSubtle),warningColor:r.extend("--ftds-notification-warning-color","",u.contentWarningPrimary),warningIconColor:r.extend("--ftds-notification-warning-icon-color","",u.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-notification-warning-border-color","",u.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-notification-error-background-color","",u.backgroundErrorSubtle),errorColor:r.extend("--ftds-notification-error-color","",u.contentErrorPrimary),errorIconColor:r.extend("--ftds-notification-error-icon-color","",u.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-notification-error-border-color","",u.borderErrorSubtle),borderRadius:r.extend("--ftds-notification-border-radius","",c.borderRadiusPill),borderWidth:r.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:r.extend("--ftds-notification-trailing-gap","",c.spacing8)};var Id={horizontalPadding:r.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:r.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:r.extend("--ftds-tooltip-border-radius","",c.borderRadiusS),color:r.extend("--ftds-tooltip-color","",u.contentGlobalOnColor),backgroundColor:r.extend("--ftds-tooltip-background-color","",u.contentGlobalPrimary),backgroundOpacity:r.extend("--ftds-tooltip-background-opacity","",c.opacity80),shadow:r.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:r.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ftds-tooltip-gap","",c.spacing05)};var kd={menuHorizontalPadding:r.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:r.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:r.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:r.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)};var Kt;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Kt||(Kt={}));var Zt;(function(e){e.large="large",e.medium="medium",e.small="small"})(Zt||(Zt={}));function Ko(e){return`ftds--family-${e}`}function Zo(e){return`ftds--size-${e}`}var Z={colorPrimary:r.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:r.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:r.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:r.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:r.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:r.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorInfo:r.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:r.create("--ft-color-warning","","COLOR","#B74706"),colorError:r.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:r.create("--ft-color-success","","COLOR","#187856"),colorOutline:r.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:r.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:r.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:r.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:r.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:r.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:r.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:r.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:r.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:r.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:r.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:r.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:r.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:r.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:r.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:r.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:r.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:r.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:r.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:r.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:r.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:r.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:r.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:r.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:r.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:r.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:r.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:r.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:r.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:r.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:r.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:r.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:r.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:r.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:r.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:r.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:r.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:r.create("--ft-elevation-00","","SHADOW","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:r.create("--ft-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:r.create("--ft-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:r.create("--ft-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:r.create("--ft-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:r.create("--ft-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:r.create("--ft-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:r.create("--ft-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:r.create("--ft-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:r.create("--ft-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXL:r.create("--ft-border-radius-xl","","SIZE","16px"),titleFont:r.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:r.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:r.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:r.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Xo={};I(Xo,{DynamicImporter:()=>wr,dynamicImporter:()=>Dd});var wr=class{async import(t){if(t)return import(t)}},Dd=new wr;var dn={};I(dn,{computeOffsetAutoPosition:()=>au,computeOffsetPosition:()=>iu});var is=["top","right","bottom","left"],ns=["start","end"],Jo=is.reduce((e,t)=>e.concat(t,t+"-"+ns[0],t+"-"+ns[1]),[]),We=Math.min,ue=Math.max,qt=Math.round;var pe=e=>({x:e,y:e}),Md={left:"right",right:"left",bottom:"top",top:"bottom"};function as(e,t,o){return ue(e,We(t,o))}function vt(e,t){return typeof e=="function"?e(t):e}function je(e){return e.split("-")[0]}function fe(e){return e.split("-")[1]}function en(e){return e==="x"?"y":"x"}function tn(e){return e==="y"?"height":"width"}function Ot(e){let t=e[0];return t==="t"||t==="b"?"y":"x"}function rn(e){return en(Ot(e))}function ss(e,t,o){o===void 0&&(o=!1);let n=fe(e),i=rn(e),a=tn(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=Qo(s)),[s,Qo(s)]}function cs(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}function Qo(e){let t=je(e);return Md[t]+e.slice(t.length)}function Ud(e){var t,o,n,i;return{top:(t=e.top)!=null?t:0,right:(o=e.right)!=null?o:0,bottom:(n=e.bottom)!=null?n:0,left:(i=e.left)!=null?i:0}}function ls(e){return typeof e!="number"?Ud(e):{top:e,right:e,bottom:e,left:e}}function Ke(e){let{x:t,y:o,width:n,height:i}=e;return{width:n,height:i,top:o,left:t,right:t+n,bottom:o+i,x:t,y:o}}function ds(e,t,o){let{reference:n,floating:i}=e,a=Ot(t),s=rn(t),l=tn(s),d=je(t),p=a==="y",h=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,m=n[l]/2-i[l]/2,b;switch(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 E=fe(t);return E&&(b[s]+=m*(E==="end"?1:-1)*(o&&p?-1:1)),b}async function us(e,t){var o;t===void 0&&(t={});let{x:n,y:i,platform:a,rects:s,elements:l,strategy:d}=e,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:m=!1,padding:b=0}=vt(t,e),E=ls(b),S=l[m?f==="floating"?"reference":"floating":f],C=Ke(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(S)))==null||o?S:S.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:p,rootBoundary:h,strategy:d})),N=f==="floating"?{x:n,y:i,width:s.floating.width,height:s.floating.height}:s.reference,y=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),g=await(a.isElement==null?void 0:a.isElement(y))&&await(a.getScale==null?void 0:a.getScale(y))||{x:1,y:1},x=Ke(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:N,offsetParent:y,strategy:d}):N);return{top:(C.top-x.top+E.top)/g.y,bottom:(x.bottom-C.bottom+E.bottom)/g.y,left:(C.left-x.left+E.left)/g.x,right:(x.right-C.right+E.right)/g.x}}var Fd=50,ps=async(e,t,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,l=s.detectOverflow?s:{...s,detectOverflow:us},d=await(s.isRTL==null?void 0:s.isRTL(t)),p=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:h,y:f}=ds(p,n,d),m=n,b=0,E={};for(let O=0;O<a.length;O++){let S=a[O];if(!S)continue;let{name:C,fn:N}=S,{x:y,y:g,data:x,reset:w}=await N({x:h,y:f,initialPlacement:n,placement:m,strategy:i,middlewareData:E,rects:p,platform:l,elements:{reference:e,floating:t}});h=y??h,f=g??f,E[C]={...E[C],...x},w&&b<Fd&&(b++,typeof w=="object"&&(w.placement&&(m=w.placement),w.rects&&(p=w.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):w.rects),{x:h,y:f}=ds(p,m,d)),O=-1)}return{x:h,y:f,placement:m,strategy:i,middlewareData:E}};function Bd(e,t,o){return(e?[...o.filter(i=>fe(i)===e),...o.filter(i=>fe(i)!==e)]:o.filter(i=>je(i)===i)).filter(i=>e?fe(i)===e||(t?cs(i)!==i:!1):!0)}var fs=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,i;let{rects:a,middlewareData:s,placement:l,platform:d,elements:p}=t,{crossAxis:h=!1,alignment:f,allowedPlacements:m=Jo,autoAlignment:b=!0,...E}=vt(e,t),O=f!==void 0||m===Jo?Bd(f||null,b,m):m,S=((o=s.autoPlacement)==null?void 0:o.index)||0,C=O[S];if(C==null)return{};if(l!==C)return{reset:{placement:O[0]}};let N=await d.detectOverflow(t,E),y=ss(C,a,await(d.isRTL==null?void 0:d.isRTL(p.floating))),g=[N[je(C)],N[y[0]],N[y[1]]],x=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:C,overflows:g}],w=O[S+1];if(w)return{data:{index:S+1,overflows:x},reset:{placement:w}};let R=x.map(T=>{let D=fe(T.placement);return[T.placement,D&&h?T.overflows.slice(0,2).reduce((H,ce)=>H+ce,0):T.overflows[0],T.overflows]}).sort((T,D)=>T[1]-D[1]),U=((i=R.filter(T=>T[2].slice(0,fe(T[0])?2:3).every(D=>D<=0))[0])==null?void 0:i[0])||R[0][0];return U!==l?{data:{index:S+1,overflows:x},reset:{placement:U}}:{}}}};var $d=new Set(["left","top"]);async function Hd(e,t){let{placement:o,platform:n,elements:i}=e,a=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=je(o),l=fe(o),d=Ot(o)==="y",p=$d.has(s)?-1:1,h=a&&d?-1:1,f=vt(t,e),{mainAxis:m,crossAxis:b,alignmentAxis:E}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof E=="number"&&(b=l==="end"?E*-1:E),d?{x:b*h,y:m*p}:{x:m*p,y:b*h}}var hs=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var o,n;let{x:i,y:a,placement:s,middlewareData:l}=t,d=await Hd(t,e);return s===((o=l.offset)==null?void 0:o.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:a+d.y,data:{...d,placement:s}}}}},ms=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:n,placement:i,platform:a}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:d={fn:N=>{let{x:y,y:g}=N;return{x:y,y:g}}},...p}=vt(e,t),h={x:o,y:n},f=await a.detectOverflow(t,p),m=Ot(i),b=en(m),E=h[b],O=h[m],S=(N,y)=>as(y+f[N==="y"?"top":"left"],y,y-f[N==="y"?"bottom":"right"]);s&&(E=S(b,E)),l&&(O=S(m,O));let C=d.fn({...t,[b]:E,[m]:O});return{...C,data:{x:C.x-o,y:C.y-n,enabled:{[b]:s,[m]:l}}}}}};var ys=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){let{placement:o,rects:n,platform:i,elements:a}=t,{apply:s=()=>{},...l}=vt(e,t),d=await i.detectOverflow(t,l),p=je(o),h=fe(o),f=Ot(o)==="y",{width:m,height:b}=n.floating,E,O;p==="top"||p==="bottom"?(E=p,O=h===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(O=p,E=h==="end"?"top":"bottom");let S=b-d.top-d.bottom,C=m-d.left-d.right,N=We(b-d[E],S),y=We(m-d[O],C),g=t.middlewareData.shift,x=!g,w=N,R=y;g!=null&&g.enabled.x&&(R=C),g!=null&&g.enabled.y&&(w=S),x&&!h&&(f?R=m-2*ue(d.left,d.right):w=b-2*ue(d.top,d.bottom)),await s({...t,availableWidth:R,availableHeight:w});let k=await i.getDimensions(a.floating);return m!==k.width||b!==k.height?{reset:{rects:!0}}:{}}}};function Rr(){return typeof window<"u"}function qe(e){return bs(e)?(e.nodeName||"").toLowerCase():"#document"}function q(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function be(e){var t;return(t=(bs(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function bs(e){return Rr()?e instanceof Node||e instanceof q(e).Node:!1}function ie(e){return Rr()?e instanceof Element||e instanceof q(e).Element:!1}function xe(e){return Rr()?e instanceof HTMLElement||e instanceof q(e).HTMLElement:!1}function gs(e){return!Rr()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof q(e).ShadowRoot}function Yt(e){let{overflow:t,overflowX:o,overflowY:n,display:i}=ae(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&i!=="inline"&&i!=="contents"}function xs(e){return/^(table|td|th)$/.test(qe(e))}function Xt(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}var zd=/transform|translate|scale|rotate|perspective|filter/,Gd=/paint|layout|strict|content/,Ze=e=>!!e&&e!=="none",on;function Ct(e){let t=ie(e)?ae(e):e;return Ze(t.transform)||Ze(t.translate)||Ze(t.scale)||Ze(t.rotate)||Ze(t.perspective)||!Tr()&&(Ze(t.backdropFilter)||Ze(t.filter))||zd.test(t.willChange||"")||Gd.test(t.contain||"")}function Es(e){let t=Le(e);for(;xe(t)&&!At(t);){if(Ct(t))return t;if(Xt(t))return null;t=Le(t)}return null}function Tr(){return on==null&&(on=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),on}function At(e){return/^(html|body|#document)$/.test(qe(e))}function ae(e){return q(e).getComputedStyle(e)}function Qt(e){return ie(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Le(e){if(qe(e)==="html")return e;let t=e.assignedSlot||e.parentNode||gs(e)&&e.host||be(e);return gs(t)?t.host:t}function Ss(e){let t=Le(e);return At(t)?(e.ownerDocument||e).body:xe(t)&&Yt(t)?t:Ss(t)}function _r(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let i=Ss(e),a=i===((n=e.ownerDocument)==null?void 0:n.body),s=q(i);if(a){let l=Lr(s);return t.concat(s,s.visualViewport||[],Yt(i)?i:[],l&&o?_r(l):[])}else return t.concat(i,_r(i,[],o))}function Lr(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Cs(e){let t=ae(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=xe(e),a=i?e.offsetWidth:o,s=i?e.offsetHeight:n,l=qt(o)!==a||qt(n)!==s;return l&&(o=a,n=s),{width:o,height:n,$:l}}function As(e){return ie(e)?e:e.contextElement}function wt(e){let t=As(e);if(!xe(t))return pe(1);let o=t.getBoundingClientRect(),{width:n,height:i,$:a}=Cs(t),s=(a?qt(o.width):o.width)/n,l=(a?qt(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Vd=pe(0);function ws(e){let t=q(e);return!Tr()||!t.visualViewport?Vd:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Wd(e,t,o){return t===void 0&&(t=!1),!!o&&t&&o===q(e)}function Jt(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let i=e.getBoundingClientRect(),a=As(e),s=pe(1);t&&(n?ie(n)&&(s=wt(n)):s=wt(e));let l=Wd(a,o,n)?ws(a):pe(0),d=(i.left+l.x)/s.x,p=(i.top+l.y)/s.y,h=i.width/s.x,f=i.height/s.y;if(a&&n){let m=q(a),b=ie(n)?q(n):n,E=m,O=Lr(E);for(;O&&b!==E;){let S=wt(O),C=O.getBoundingClientRect(),N=ae(O),y=C.left+(O.clientLeft+parseFloat(N.paddingLeft))*S.x,g=C.top+(O.clientTop+parseFloat(N.paddingTop))*S.y;d*=S.x,p*=S.y,h*=S.x,f*=S.y,d+=y,p+=g,E=q(O),O=Lr(E)}}return Ke({width:h,height:f,x:d,y:p})}function Nr(e,t){let o=Qt(e).scrollLeft;return t?t.left+o:Jt(be(e)).left+o}function _s(e,t){let o=e.getBoundingClientRect(),n=o.left+t.scrollLeft-Nr(e,o),i=o.top+t.scrollTop;return{x:n,y:i}}function jd(e){let{elements:t,rect:o,offsetParent:n,strategy:i}=e,a=i==="fixed",s=be(n),l=t?Xt(t.floating):!1;if(n===s||l&&a)return o;let d={scrollLeft:0,scrollTop:0},p=pe(1),h=pe(0),f=xe(n);if((f||!a)&&((qe(n)!=="body"||Yt(s))&&(d=Qt(n)),f)){let b=Jt(n);p=wt(n),h.x=b.x+n.clientLeft,h.y=b.y+n.clientTop}let m=s&&!f&&!a?_s(s,d):pe(0);return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-d.scrollLeft*p.x+h.x+m.x,y:o.y*p.y-d.scrollTop*p.y+h.y+m.y}}function Kd(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function Zd(e){let t=Qt(e),o=e.ownerDocument.body,n=ue(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),i=ue(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight),a=-t.scrollLeft+Nr(e),s=-t.scrollTop;return ae(o).direction==="rtl"&&(a+=ue(e.clientWidth,o.clientWidth)-n),{width:n,height:i,x:a,y:s}}var qd=25;function Yd(e,t,o){o===void 0&&(o="viewport");let n=o==="layoutViewport",i=q(e),a=be(e),s=i.visualViewport,l=a.clientWidth,d=a.clientHeight,p=0,h=0;if(s){let m=!Tr()||t==="fixed";n?m||(p=-s.offsetLeft,h=-s.offsetTop):(l=s.width,d=s.height,m&&(p=s.offsetLeft,h=s.offsetTop))}if(Nr(a)<=0){let m=a.ownerDocument,b=m.body,E=getComputedStyle(b),O=m.compatMode==="CSS1Compat"&&parseFloat(E.marginLeft)+parseFloat(E.marginRight)||0,S=Math.abs(a.clientWidth-b.clientWidth-O),C=getComputedStyle(a).scrollbarGutter==="stable both-edges"?S/2:S;C<=qd&&(l-=C)}return{width:l,height:d,x:p,y:h}}function Xd(e,t){let o=Jt(e,!0,t==="fixed"),n=o.top+e.clientTop,i=o.left+e.clientLeft,a=wt(e),s=e.clientWidth*a.x,l=e.clientHeight*a.y,d=i*a.x,p=n*a.y;return{width:s,height:l,x:d,y:p}}function vs(e,t,o){let n;if(t==="viewport"||t==="layoutViewport")n=Yd(e,o,t);else if(t==="document")n=Zd(be(e));else if(ie(t))n=Xd(t,o);else{let i=ws(e);n={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Ke(n)}function Qd(e,t){let o=t.get(e);if(o)return o;let n=_r(e,[],!1).filter(l=>ie(l)&&qe(l)!=="body"),i=null,a=ae(e).position==="fixed",s=a?Le(e):e;for(;ie(s)&&!At(s);){let l=ae(s),d=Ct(s),p=i?i.position:a?"fixed":"";!d&&(p==="fixed"||p==="absolute"&&l.position==="static")?n=n.filter(f=>f!==s):i=l,s=Le(s)}return t.set(e,n),n}function Jd(e){let{element:t,boundary:o,rootBoundary:n,strategy:i}=e,s=[...o==="clippingAncestors"?Xt(t)?[]:Qd(t,this._c):[].concat(o),n],l=vs(t,s[0],i),d=l.top,p=l.right,h=l.bottom,f=l.left;for(let m=1;m<s.length;m++){let b=vs(t,s[m],i);d=ue(b.top,d),p=We(b.right,p),h=We(b.bottom,h),f=ue(b.left,f)}return{width:p-f,height:h-d,x:f,y:d}}function eu(e){let{width:t,height:o}=Cs(e);return{width:t,height:o}}function tu(e,t,o){let n=xe(t),i=be(t),a=o==="fixed",s=Jt(e,!0,a,t),l={scrollLeft:0,scrollTop:0},d=pe(0);if((n||!a)&&((qe(t)!=="body"||Yt(i))&&(l=Qt(t)),n)){let m=Jt(t,!0,a,t);d.x=m.x+t.clientLeft,d.y=m.y+t.clientTop}!n&&i&&(d.x=Nr(i));let p=i&&!n&&!a?_s(i,l):pe(0),h=s.left+l.scrollLeft-d.x-p.x,f=s.top+l.scrollTop-d.y-p.y;return{x:h,y:f,width:s.width,height:s.height}}function nn(e){return ae(e).position==="static"}function Os(e,t){if(!xe(e)||ae(e).position==="fixed")return null;if(t)return t(e);let o=e.offsetParent;return be(e)===o&&(o=o.ownerDocument.body),o}function Rs(e,t){let o=q(e);if(Xt(e))return o;if(!xe(e)){let i=Le(e);for(;i&&!At(i);){if(ie(i)&&!nn(i))return i;i=Le(i)}return o}let n=Os(e,t);for(;n&&xs(n)&&nn(n);)n=Os(n,t);return n&&At(n)&&nn(n)&&!Ct(n)?o:n||Es(e)||o}var ru=async function(e){let t=this.getOffsetParent||Rs,o=this.getDimensions,n=await o(e.floating);return{reference:tu(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function ou(e){return ae(e).direction==="rtl"}var _t={convertOffsetParentRelativeRectToViewportRelativeRect:jd,getDocumentElement:be,getClippingRect:Jd,getOffsetParent:Rs,getElementRects:ru,getClientRects:Kd,getDimensions:eu,getScale:wt,isElement:ie,isRTL:ou};var Ts=hs,an=fs,Ls=ms;var Ns=ys;var sn=(e,t,o)=>{let n=new Map,i=o??{},a={..._t,...i.platform,_c:n};return ps(e,t,{...i,platform:a})};function ln(e){return nu(e)}function cn(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function nu(e){for(let t=e;t;t=cn(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=cn(e);t;t=cn(t)){if(!(t instanceof Element))continue;let o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||Ct(o)||t.tagName==="BODY"))return t}return null}async function iu(e,t,o){let n;return typeof o=="object"?n=o:n={placement:o},sn(e,t,{strategy:n.strategy,platform:{..._t,getOffsetParent:i=>_t.getOffsetParent(i,ln)},middleware:[Ls({crossAxis:!0}),an({allowedPlacements:[n.placement]})]})}async function au(e,t,o,n,i,a,s){let l,d;return typeof o=="object"?(l=o.placement,n=o.allowedPlacements,i=o.strategy,a=o.maxHeightCssVariable,d=o.maxWidthCssVariable,s=o.offsetValue):l=o,sn(e,t,{placement:l,strategy:i,platform:{..._t,getOffsetParent:p=>_t.getOffsetParent(p,ln)},middleware:[Ts(s??4),an({allowedPlacements:n}),Ns({apply({availableHeight:p,availableWidth:h,elements:f}){typeof a=="string"&&(a=`var(${a})`),a?f.floating.style.maxHeight=`min(${Math.max(0,p)}px, ${a})`:f.floating.style.maxHeight=`${Math.max(0,p)}px`,typeof 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 un={};I(un,{isSlotEmptyOrWithoutContent:()=>su});var su=e=>e?e.assignedNodes({flatten:!0}).filter(n=>{var i;return n.nodeType===Node.TEXT_NODE?((i=n.textContent)!==null&&i!==void 0?i:"").trim().length>0:!0}).length===0:!0;var gn={};I(gn,{FtdsBase:()=>yn,toFtdsBase:()=>Fs});var mn={};I(mn,{ExportpartsUpdatedEvent:()=>Ye,FtLitElement:()=>F});var pn={};I(pn,{ScopedRegistryLitElement:()=>er});var er=class extends le{get scopedRegistryConstructor(){return this.constructor}createRenderRoot(){let t=this.scopedRegistryConstructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,t.defineScopedElements(t.elementDefinitions));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Mt(n,t.elementStyles),n}static canDefineScopedElement(t){return!!this.registry&&!this.registry.get(t)}static defineScopedElements(t){Object.entries(t).forEach(([o,n])=>this.defineScopedElement(o,n))}static defineScopedElement(t,o){Vt(t)(o),this.canDefineScopedElement(t)&&this.registry.define(t,o)}canDefineScopedElement(t){return this.scopedRegistryConstructor.canDefineScopedElement(t)}defineScopedElements(t){this.scopedRegistryConstructor.defineScopedElements(t)}defineScopedElement(t,o){this.scopedRegistryConstructor.defineScopedElement(t,o)}};var hn={};I(hn,{shadowQuerySelector:()=>fn,shadowQuerySelectorAll:()=>cu});function fn(e,t,...o){var n;let i=e.querySelector(t);for(let a of o)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}function cu(e,t,...o){let n=[...e.querySelectorAll(t)];for(let i of o)n=n.flatMap(a=>{var s,l;return[...(l=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(i))!==null&&l!==void 0?l:[]]});return n}var Rt=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Ds,Ps=Symbol("constructorPrototype"),Is=Symbol("constructorName"),Ms=Symbol("exportpartsDebouncer"),ks=Symbol("dynamicDependenciesLoaded"),Ye=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};Ye.eventName="exportparts-updated";var F=class extends er{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Ds]=new Re(5),this.scheduleExportpartsUpdate=()=>{var t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Ms].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[Is]=this.constructor.name,this[Ps]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[Is]&&Object.setPrototypeOf(this,this[Ps])}connectedCallback(){var t;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let o=this.constructor;o[ks]||(o[ks]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(Ye.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(Ye.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.focusElementToFocus(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate(),t.has("exportparts")&&this.dispatchEvent(new Ye)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:i}=this.elementToFocus;if(n!=null){let a=[...i??[],n];o=fn(this.shadowRoot,...a)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var o,n,i;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}setExportpartsAttribute(t){var o,n,i,a,s,l;let d=m=>m!=null&&m.trim().length>0,p=t.filter(d).map(m=>m.trim());if(p.length===0){this.exportparts=void 0;return}let h=new Set;for(let m of(a=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&a!==void 0?a:[]){let b=(s=(n=m.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&s!==void 0?s:[],E=(l=(i=m.getAttribute("exportparts"))===null||i===void 0?void 0:i.split(",").map(S=>S.split(":")[1]))!==null&&l!==void 0?l:[],O=[...b,...E].filter(d).map(S=>S.trim());for(let S of O)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(", ")}};Ds=Ms;Rt([_()],F.prototype,"exportpartsPrefix",void 0);Rt([Cr([])],F.prototype,"exportpartsPrefixes",void 0);Rt([_({reflect:!0})],F.prototype,"exportparts",void 0);Rt([_()],F.prototype,"customStylesheet",void 0);Rt([_()],F.prototype,"elementToFocus",void 0);Rt([B()],F.prototype,"useAdoptedStyleSheets",void 0);var Us=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Fs=Q(Symbol("toFtdsBase"),function(e){class t extends e{constructor(){super(...arguments),this.size=Zt.medium,this.family=Kt.neutral}getDesignSystemBaseClasses(){return{[Ko(this.family)]:!0,[Zo(this.size)]:!0}}}return Us([_()],t.prototype,"size",void 0),Us([_()],t.prototype,"family",void 0),t}),yn=class extends Fs(F){};var Bs={};var xn={};I(xn,{highlightHtml:()=>uu,highlightHtmlColorCssVariable:()=>$s,highlightHtmlStyles:()=>du});var Xe=class e{constructor(t,o=!0,n=[],i=5e3){this.ctx=t,this.iframes=o,this.exclude=n,this.iframesTimeout=i}static matches(t,o){let n=typeof o=="string"?[o]:o,i=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(t,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let t,o=[];return typeof this.ctx>"u"||!this.ctx?t=[]:NodeList.prototype.isPrototypeOf(this.ctx)?t=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?t=this.ctx:typeof this.ctx=="string"?t=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):t=[this.ctx],t.forEach(n=>{let i=o.filter(a=>a.contains(n)).length>0;o.indexOf(n)===-1&&!i&&o.push(n)}),o}getIframeContents(t,o,n=()=>{}){let i;try{let a=t.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&o(i)}isIframeBlank(t){let o="about:blank",n=t.getAttribute("src").trim();return t.contentWindow.location.href===o&&n!==o&&n}observeIframeLoad(t,o,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(t)||(t.removeEventListener("load",s),this.getIframeContents(t,o,n))}catch{n()}}};t.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(t,o,n){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,o,n):this.getIframeContents(t,o,n):this.observeIframeLoad(t,o,n)}catch{n()}}waitForIframes(t,o){let n=0;this.forEachIframe(t,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||o()})},i=>{i||o()})}forEachIframe(t,o,n,i=()=>{}){let a=t.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let d=()=>{--s<=0&&i(l)};s||d(),a.forEach(p=>{e.matches(p,this.exclude)?d():this.onIframeReady(p,h=>{o(p)&&(l++,n(h)),d()},d)})}createIterator(t,o,n){return document.createNodeIterator(t,o,n,!1)}createInstanceOnIframe(t){return new e(t.querySelector("html"),this.iframes)}compareNodeIframe(t,o,n){let i=t.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(o!==null){let s=o.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(t){let o=t.previousNode(),n;return o===null?n=t.nextNode():n=t.nextNode()&&t.nextNode(),{prevNode:o,node:n}}checkIframeFilter(t,o,n,i){let a=!1,s=!1;return i.forEach((l,d)=>{l.val===n&&(a=d,s=l.handled)}),this.compareNodeIframe(t,o,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(t,o,n,i){t.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(o,n,i)})})}iterateThroughNodes(t,o,n,i,a){let s=this.createIterator(o,t,i),l=[],d=[],p,h,f=()=>({prevNode:h,node:p}=this.getIteratorNode(s),p);for(;f();)this.iframes&&this.forEachIframe(o,m=>this.checkIframeFilter(p,h,m,l),m=>{this.createInstanceOnIframe(m).forEachNode(t,b=>d.push(b),i)}),d.push(p);d.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(l,t,n,i),a()}forEachNode(t,o,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(l=>{let d=()=>{this.iterateThroughNodes(t,l,o,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(l,d):d()})}};var tr=class{constructor(t){this.ctx=t,this.ie=!1;let o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new Xe(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,o="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[o]=="function"&&n[o](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return this.opt.wildcards!=="disabled"&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),this.opt.wildcards!=="disabled"&&(t=this.createWildcardsRegExp(t)),t=this.createAccuracyRegExp(t),t}createSynonymsRegExp(t){let o=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in o)if(o.hasOwnProperty(a)){let s=o[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),d=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&d!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(d)})`,`gm${n}`),i+`(${this.processSynomyms(l)}|${this.processSynomyms(d)})`+i))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return t=t.replace(/(?:\\)*\?/g,o=>o.charAt(0)==="\\"?"?":""),t.replace(/(?:\\)*\*/g,o=>o.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(t){let o=this.opt.wildcards==="withSpaces";return t.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,(o,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?o:o+"\0"})}createJoinersRegExp(t){let o=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&o.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?t.split(/\u0000+/).join(`[${o.join("")}]*`):t}createDiacriticsRegExp(t){let o=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return t.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;t=t.replace(new RegExp(`[${s}]`,`gm${o}`),`[${s}]`),i.push(s)}return!0})}),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(t){let o="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),i){case"partially":default:return`()(${t})`;case"complementary":return s="\\s"+(s||this.escapeStr(o)),`()([^${s}]*${t}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${t})(?=$|\\s${s})`}}getSeparatedKeywords(t){let o=[];return t.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&o.indexOf(i)===-1&&o.push(i)}):n.trim()&&o.indexOf(n)===-1&&o.push(n)}),{keywords:o.sort((n,i)=>i.length-n.length),length:o.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||Object.prototype.toString.call(t[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];let o=[],n=0;return t.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(i,n);l&&(i.start=a,i.length=s-a,o.push(i),n=s)}),o}callNoMatchOnInvalidRanges(t,o){let n,i,a=!1;return t&&typeof t.start<"u"?(n=parseInt(t.start,10),i=n+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&i-o>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:n,end:i,valid:a}}checkWhitespaceRanges(t,o,n){let i,a=!0,s=n.length,l=o-s,d=parseInt(t.start,10)-l;return d=d>s?s:d,i=d+parseInt(t.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),d<0||i-d<0||d>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):n.substring(d,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:d,end:i,valid:a}}getTextNodes(t){let o="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:o.length,end:(o+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{t({value:o,nodes:n})})}matchesExclude(t){return Xe.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,o,n){let i=this.opt.element?this.opt.element:"mark",a=t.splitText(o),s=a.splitText(n-o),l=document.createElement(i);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(t,o,n,i,a){t.nodes.every((s,l)=>{let d=t.nodes[l+1];if(typeof d>"u"||d.start>o){if(!i(s.node))return!1;let p=o-s.start,h=(n>s.end?s.end:n)-s.start,f=t.value.substr(0,s.start),m=t.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,p,h),t.value=f+m,t.nodes.forEach((b,E)=>{E>=l&&(t.nodes[E].start>0&&E!==l&&(t.nodes[E].start-=h),t.nodes[E].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)o=s.end;else return!1}return!0})}wrapMatches(t,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(l=>{l.nodes.forEach(d=>{d=d.node;let p;for(;(p=t.exec(d.textContent))!==null&&p[s]!=="";){if(!n(p[s],d))continue;let h=p.index;if(s!==0)for(let f=1;f<s;f++)h+=p[f].length;d=this.wrapRangeInTextNode(d,h,h+p[s].length),i(d.previousSibling),t.lastIndex=0}}),a()})}wrapMatchesAcrossElements(t,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(l=>{let d;for(;(d=t.exec(l.value))!==null&&d[s]!=="";){let p=d.index;if(s!==0)for(let f=1;f<s;f++)p+=d[f].length;let h=p+d[s].length;this.wrapRangeInMappedTextNode(l,p,h,f=>n(d[s],f),(f,m)=>{t.lastIndex=m,i(f)})}a()})}wrapRangeFromIndex(t,o,n,i){this.getTextNodes(a=>{let s=a.value.length;t.forEach((l,d)=>{let{start:p,end:h,valid:f}=this.checkWhitespaceRanges(l,s,a.value);f&&this.wrapRangeInMappedTextNode(a,p,h,m=>o(m,l,a.value.substring(p,h),d),m=>{n(m,l)})}),i()})}unwrapMatches(t){let o=t.parentNode,n=document.createDocumentFragment();for(;t.firstChild;)n.appendChild(t.removeChild(t.firstChild));o.replaceChild(n,t),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(t){if(t){if(t.nodeType===3)for(;t.nextSibling&&t.nextSibling.nodeType===3;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,o){this.opt=o,this.log(`Searching with expression "${t}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](t,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),a,()=>{n===0&&this.opt.noMatch(t),this.opt.done(n)})}mark(t,o){this.opt=o;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof t=="string"?[t]:t),l=this.opt.caseSensitive?"":"i",d=p=>{let h=new RegExp(this.createRegExp(p),`gm${l}`),f=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,b)=>this.opt.filter(b,p,n,f),m=>{f++,n++,this.opt.each(m)},()=>{f===0&&this.opt.noMatch(p),a[s-1]===p?this.opt.done(n):d(a[a.indexOf(p)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):d(a[0])}markRanges(t,o){this.opt=o;let n=0,i=this.checkRanges(t);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,l,d)=>this.opt.filter(a,s,l,d),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(t){this.opt=t;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=Xe.matches(n,o),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function bn(e){let t=new tr(e);return this.mark=(o,n)=>(t.mark(o,n),this),this.markRegExp=(o,n)=>(t.markRegExp(o,n),this),this.markRanges=(o,n)=>(t.markRanges(o,n),this),this.unmark=o=>(t.unmark(o),this),this}var lu=bn,$s=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),du=P`
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Ri=/'/g,_i=/"/g,Ni=/^(?:script|style|textarea|title)$/i,po=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),G=po(1),fo=po(2),ho=po(3),z=Symbol.for("lit-noChange"),M=Symbol.for("lit-nothing"),Ti=new WeakMap,Ue=Fe.createTreeWalker(Fe,129);function Pi(e,t){if(!uo(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ci!==void 0?Ci.createHTML(t):t}var ki=(e,t)=>{let o=e.length-1,n=[],i,a=t===2?"<svg>":t===3?"<math>":"",s=Bt;for(let l=0;l<o;l++){let u=e[l],p,h,f=-1,m=0;for(;m<u.length&&(s.lastIndex=m,h=s.exec(u),h!==null);)m=s.lastIndex,s===Bt?h[1]==="!--"?s=Ai:h[1]!==void 0?s=wi:h[2]!==void 0?(Ni.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=Me):h[3]!==void 0&&(s=Me):s===Me?h[0]===">"?(s=i??Bt,f=-1):h[1]===void 0?f=-2:(f=s.lastIndex-h[2].length,p=h[1],s=h[3]===void 0?Me:h[3]==='"'?_i:Ri):s===_i||s===Ri?s=Me:s===Ai||s===wi?s=Bt:(s=Me,i=void 0);let b=s===Me&&e[l+1].startsWith("/>")?" ":"";a+=s===Bt?u+gl:f>=0?(n.push(p),u.slice(0,f)+co+u.slice(f)+ye+b):u+ye+(f===-2?l:b)}return[Pi(e,a+(e[o]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),n]},zt=class e{constructor({strings:t,_$litType$:o},n){let i;this.parts=[];let a=0,s=0,l=t.length-1,u=this.parts,[p,h]=ki(t,o);if(this.el=e.createElement(p,n),Ue.currentNode=this.el.content,o===2||o===3){let f=this.el.content.firstChild;f.replaceWith(...f.childNodes)}for(;(i=Ue.nextNode())!==null&&u.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(let f of i.getAttributeNames())if(f.endsWith(co)){let m=h[s++],b=i.getAttribute(f).split(ye),E=/([.?@])?(.*)/.exec(m);u.push({type:1,index:a,name:E[2],strings:b,ctor:E[1]==="."?gr:E[1]==="?"?br:E[1]==="@"?xr:$e}),i.removeAttribute(f)}else f.startsWith(ye)&&(u.push({type:6,index:a}),i.removeAttribute(f));if(Ni.test(i.tagName)){let f=i.textContent.split(ye),m=f.length-1;if(m>0){i.textContent=mr?mr.emptyScript:"";for(let b=0;b<m;b++)i.append(f[b],$t()),Ue.nextNode(),u.push({type:2,index:++a});i.append(f[m],$t())}}}else if(i.nodeType===8)if(i.data===lo)u.push({type:2,index:a});else{let f=-1;for(;(f=i.data.indexOf(ye,f+1))!==-1;)u.push({type:7,index:a}),f+=ye.length-1}a++}}static createElement(t,o){let n=Fe.createElement("template");return n.innerHTML=t,n}};function Be(e,t,o=e,n){if(t===z)return t;let i=n!==void 0?o._$Co?.[n]:o._$Cl,a=Ht(t)?void 0:t._$litDirective$;return i?.constructor!==a&&(i?._$AO?.(!1),a===void 0?i=void 0:(i=new a(e),i._$AT(e,o,n)),n!==void 0?(o._$Co??=[])[n]=i:o._$Cl=i),i!==void 0&&(t=Be(e,i._$AS(e,t.values),i,n)),t}var yr=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:n}=this._$AD,i=(t?.creationScope??Fe).importNode(o,!0);Ue.currentNode=i;let a=Ue.nextNode(),s=0,l=0,u=n[0];for(;u!==void 0;){if(s===u.index){let p;u.type===2?p=new mt(a,a.nextSibling,this,t):u.type===1?p=new u.ctor(a,u.name,u.strings,this,t):u.type===6&&(p=new Er(a,this,t)),this._$AV.push(p),u=n[++l]}s!==u?.index&&(a=Ue.nextNode(),s++)}return Ue.currentNode=Fe,i}p(t){let o=0;for(let n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(t,n,o),o+=n.strings.length-2):n._$AI(t[o])),o++}},mt=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,n,i){this.type=2,this._$AH=M,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=n,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=Be(this,t,o),Ht(t)?t===M||t==null||t===""?(this._$AH!==M&&this._$AR(),this._$AH=M):t!==this._$AH&&t!==z&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Li(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==M&&Ht(this._$AH)?this._$AA.nextSibling.data=t:this.T(Fe.createTextNode(t)),this._$AH=t}$(t){let{values:o,_$litType$:n}=t,i=typeof n=="number"?this._$AC(t):(n.el===void 0&&(n.el=zt.createElement(Pi(n.h,n.h[0]),this.options)),n);if(this._$AH?._$AD===i)this._$AH.p(o);else{let a=new yr(i,this),s=a.u(this.options);a.p(o),this.T(s),this._$AH=a}}_$AC(t){let o=Ti.get(t.strings);return o===void 0&&Ti.set(t.strings,o=new zt(t)),o}k(t){uo(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,n,i=0;for(let a of t)i===o.length?o.push(n=new e(this.O($t()),this.O($t()),this,this.options)):n=o[i],n._$AI(a),i++;i<o.length&&(this._$AR(n&&n._$AB.nextSibling,i),o.length=i)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t!==this._$AB;){let n=Oi(t).nextSibling;Oi(t).remove(),t=n}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},$e=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,n,i,a){this.type=1,this._$AH=M,this._$AN=void 0,this.element=t,this.name=o,this._$AM=i,this.options=a,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=M}_$AI(t,o=this,n,i){let a=this.strings,s=!1;if(a===void 0)t=Be(this,t,o,0),s=!Ht(t)||t!==this._$AH&&t!==z,s&&(this._$AH=t);else{let l=t,u,p;for(t=a[0],u=0;u<a.length-1;u++)p=Be(this,l[n+u],o,u),p===z&&(p=this._$AH[u]),s||=!Ht(p)||p!==this._$AH[u],p===M?t=M:t!==M&&(t+=(p??"")+a[u+1]),this._$AH[u]=p}s&&!i&&this.j(t)}j(t){t===M?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},gr=class extends $e{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===M?void 0:t}},br=class extends $e{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==M)}},xr=class extends $e{constructor(t,o,n,i,a){super(t,o,n,i,a),this.type=5}_$AI(t,o=this){if((t=Be(this,t,o,0)??M)===z)return;let n=this._$AH,i=t===M&&n!==M||t.capture!==n.capture||t.once!==n.once||t.passive!==n.passive,a=t!==M&&(n===M||i);i&&this.element.removeEventListener(this.name,this,n),a&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},Er=class{constructor(t,o,n){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(t){Be(this,t)}},mo={M:co,P:ye,A:lo,C:1,L:ki,R:yr,D:Li,V:Be,I:mt,H:$e,N:br,U:xr,B:gr,F:Er},bl=so.litHtmlPolyfillSupport;bl?.(zt,mt),(so.litHtmlVersions??=[]).push("3.3.3");var yo=(e,t,o)=>{let n=o?.renderBefore??t,i=n._$litPart$;if(i===void 0){let a=o?.renderBefore??null;n._$litPart$=i=new mt(t.insertBefore($t(),a),a,void 0,o??{})}return i._$AI(e),i};var go=globalThis,le=class extends re{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=yo(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return z}};le._$litElement$=!0,le.finalized=!0,go.litElementHydrateSupport?.({LitElement:le});var xl=go.litElementPolyfillSupport;xl?.({LitElement:le});var Ii={_$AK:(e,t,o)=>{e._$AK(t,o)},_$AL:e=>e._$AL};(go.litElementVersions??=[]).push("4.2.2");var jp=!1;var xo={};k(xo,{customElement:()=>El,eventOptions:()=>vl,property:()=>R,query:()=>Ae,queryAll:()=>Cl,queryAssignedElements:()=>wl,queryAssignedNodes:()=>Rl,queryAsync:()=>Al,standardProperty:()=>Di,state:()=>B});var El=e=>(t,o)=>{o!==void 0?o.addInitializer(()=>{customElements.define(e,t)}):customElements.define(e,t)};var Sl={attribute:!0,type:String,converter:ht,reflect:!1,hasChanged:Ft},Di=(e=Sl,t,o)=>{let{kind:n,metadata:i}=o,a=globalThis.litPropertyMetadata.get(i);if(a===void 0&&globalThis.litPropertyMetadata.set(i,a=new Map),n==="setter"&&((e=Object.create(e)).wrapped=!0),a.set(o.name,e),n==="accessor"){let{name:s}=o;return{set(l){let u=t.get.call(this);t.set.call(this,l),this.requestUpdate(s,u,e,!0,l)},init(l){return l!==void 0&&this.C(s,void 0,e,l),l}}}if(n==="setter"){let{name:s}=o;return function(l){let u=this[s];t.call(this,l),this.requestUpdate(s,u,e,!0,l)}}throw Error("Unsupported decorator location: "+n)};function R(e){return(t,o)=>typeof o=="object"?Di(e,t,o):((n,i,a)=>{let s=i.hasOwnProperty(a);return i.constructor.createProperty(a,n),s?Object.getOwnPropertyDescriptor(i,a):void 0})(e,t,o)}function B(e){return R({...e,state:!0,attribute:!1})}function vl(e){return(t,o)=>{let n=typeof t=="function"?t:t[o];Object.assign(n,e)}}var ne=(e,t,o)=>(o.configurable=!0,o.enumerable=!0,Reflect.decorate&&typeof t!="object"&&Object.defineProperty(e,t,o),o);function Ae(e,t){return(o,n,i)=>{let a=s=>s.renderRoot?.querySelector(e)??null;if(t){let{get:s,set:l}=typeof n=="object"?o:i??(()=>{let u=Symbol();return{get(){return this[u]},set(p){this[u]=p}}})();return ne(o,n,{get(){let u=s.call(this);return u===void 0&&(u=a(this),(u!==null||this.hasUpdated)&&l.call(this,u)),u}})}return ne(o,n,{get(){return a(this)}})}}var Ol;function Cl(e){return(t,o)=>ne(t,o,{get(){return(this.renderRoot??(Ol??=document.createDocumentFragment())).querySelectorAll(e)}})}function Al(e){return(t,o)=>ne(t,o,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(e)??null}})}function wl(e){return(t,o)=>{let{slot:n,selector:i}=e??{},a="slot"+(n?`[name=${n}]`:":not([name])");return ne(t,o,{get(){let s=this.renderRoot?.querySelector(a),l=s?.assignedElements(e)??[];return i===void 0?l:l.filter(u=>u.matches(i))}})}}function Rl(e){return(t,o)=>{let{slot:n}=e??{},i="slot"+(n?`[name=${n}]`:":not([name])");return ne(t,o,{get(){return this.renderRoot?.querySelector(i)?.assignedNodes(e)??[]}})}}var Eo={};k(Eo,{repeat:()=>vr});var de={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},X=e=>(...t)=>({_$litDirective$:e,values:t}),oe=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,n){this._$Ct=t,this._$AM=o,this._$Ci=n}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};var{I:_l}=mo,Mi=e=>e;var Fi=e=>e.strings===void 0,Ui=()=>document.createComment(""),yt=(e,t,o)=>{let n=e._$AA.parentNode,i=t===void 0?e._$AB:t._$AA;if(o===void 0){let a=n.insertBefore(Ui(),i),s=n.insertBefore(Ui(),i);o=new _l(a,s,e,e.options)}else{let a=o._$AB.nextSibling,s=o._$AM,l=s!==e;if(l){let u;o._$AQ?.(e),o._$AM=e,o._$AP!==void 0&&(u=e._$AU)!==s._$AU&&o._$AP(u)}if(a!==i||l){let u=o._$AA;for(;u!==a;){let p=Mi(u).nextSibling;Mi(n).insertBefore(u,i),u=p}}}return o},we=(e,t,o=e)=>(e._$AI(t,o),e),Tl={},Bi=(e,t=Tl)=>e._$AH=t,$i=e=>e._$AH,Sr=e=>{e._$AR(),e._$AA.remove()};var Hi=(e,t,o)=>{let n=new Map;for(let i=t;i<=o;i++)n.set(e[i],i);return n},vr=X(class extends oe{constructor(e){if(super(e),e.type!==de.CHILD)throw Error("repeat() can only be used in text expressions")}dt(e,t,o){let n;o===void 0?o=t:t!==void 0&&(n=t);let i=[],a=[],s=0;for(let l of e)i[s]=n?n(l,s):s,a[s]=o(l,s),s++;return{values:a,keys:i}}render(e,t,o){return this.dt(e,t,o).values}update(e,[t,o,n]){let i=$i(e),{values:a,keys:s}=this.dt(t,o,n);if(!Array.isArray(i))return this.ut=s,a;let l=this.ut??=[],u=[],p,h,f=0,m=i.length-1,b=0,E=a.length-1;for(;f<=m&&b<=E;)if(i[f]===null)f++;else if(i[m]===null)m--;else if(l[f]===s[b])u[b]=we(i[f],a[b]),f++,b++;else if(l[m]===s[E])u[E]=we(i[m],a[E]),m--,E--;else if(l[f]===s[E])u[E]=we(i[f],a[E]),yt(e,u[E+1],i[f]),f++,E--;else if(l[m]===s[b])u[b]=we(i[m],a[b]),yt(e,i[f],i[m]),m--,b++;else if(p===void 0&&(p=Hi(s,b,E),h=Hi(l,f,m)),p.has(l[f]))if(p.has(l[m])){let O=h.get(s[b]),S=O!==void 0?i[O]:null;if(S===null){let C=yt(e,i[f]);we(C,a[b]),u[b]=C}else u[b]=we(S,a[b]),yt(e,i[f],S),i[O]=null;b++}else Sr(i[m]),m--;else Sr(i[f]),f++;for(;b<=E;){let O=yt(e,u[E+1]);we(O,a[b]),u[b++]=O}for(;f<=m;){let O=i[f++];O!==null&&Sr(O)}return this.ut=s,Bi(e,u),z}});var vo={};k(vo,{classMap:()=>So});var So=X(class extends oe{constructor(e){if(super(e),e.type!==de.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.st===void 0){this.st=new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(let n in t)t[n]&&!this.nt?.has(n)&&this.st.add(n);return this.render(t)}let o=e.element.classList;for(let n of this.st)n in t||(o.remove(n),this.st.delete(n));for(let n in t){let i=!!t[n];i===this.st.has(n)||this.nt?.has(n)||(i?(o.add(n),this.st.add(n)):(o.remove(n),this.st.delete(n)))}return z}});var Oo={};k(Oo,{styleMap:()=>Nl});var zi="important",Ll=" !"+zi,Nl=X(class extends oe{constructor(e){if(super(e),e.type!==de.ATTRIBUTE||e.name!=="style"||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,o)=>{let n=e[o];return n==null?t:t+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${n};`},"")}update(e,[t]){let{style:o}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let n of this.ft)t[n]==null&&(this.ft.delete(n),n.includes("-")?o.removeProperty(n):o[n]=null);for(let n in t){let i=t[n];if(i!=null){this.ft.add(n);let a=typeof i=="string"&&i.endsWith(Ll);n.includes("-")||a?o.setProperty(n,a?i.slice(0,-11):i,a?zi:""):o[n]=i}}return z}});var Ao={};k(Ao,{UnsafeHTMLDirective:()=>gt,unsafeHTML:()=>Co});var gt=class extends oe{constructor(t){if(super(t),this.it=M,t.type!==de.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===M||t==null)return this._t=void 0,this.it=t;if(t===z)return t;if(typeof t!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;let o=[t];return o.raw=o,this._t={_$litType$:this.constructor.resultType,strings:o,values:[]}}};gt.directiveName="unsafeHTML",gt.resultType=1;var Co=X(gt);var wo={};k(wo,{splitBreadcrumbForMenu:()=>Pl});function Pl(e,t=0,o=0){if(e.length===0)return{beforeMenu:[],inMenu:[],afterMenu:[]};let n=Math.max(o,1),i=e.slice(n*-1);return t+n>=e.length?{beforeMenu:[],inMenu:[],afterMenu:e}:{beforeMenu:e.slice(0,t),inMenu:e.slice(t,e.length-i.length),afterMenu:i}}var Mo={};k(Mo,{CacheRegistry:()=>Do,ClearCacheEvent:()=>jt});var _o={};k(_o,{CancelablePromise:()=>Or,CanceledPromiseError:()=>Gt,cancelable:()=>Ro});var Gt=class extends Error{constructor(t,o,n){super(t),this.canceledPromiseResult=o,this.canceledPromiseError=n}},Or=class extends Promise{constructor(t){super((o,n)=>t(i=>{this.isCanceled?n(new Gt("Promise has been canceled",i)):o(i)},i=>{this.isCanceled?n(new Gt("Promise has been canceled",void 0,i)):n(i)})),this.isCanceled=!1}cancel(){this.isCanceled=!0}},Ro=e=>new Or((t,o)=>e.then(t).catch(o));var Io={};k(Io,{FtNotificationEvent:()=>Vt,PostResizeEvent:()=>ko,PreResizeEvent:()=>Po,WithEventBus:()=>Ge,withEventBus:()=>Ji});var No={};k(No,{applyMixinOnce:()=>Q,customElements:()=>ge,dateReviver:()=>Ul,deepCopy:()=>bt,deepEqual:()=>ze,delay:()=>ji,eventPathContainsMatchingElement:()=>Bl,everyDeep:()=>Ml,flatDeep:()=>Zi,forEachDeep:()=>qi,getComposedPathTo:()=>Lo,groupBy:()=>Gl,hasChanged:()=>Re,ignoreComposingEvents:()=>zl,last:()=>$l,minmax:()=>He,parseDate:()=>Xi,randomId:()=>Hl,someDeep:()=>Yi,unslotText:()=>Qi,waitFor:()=>Ki,waitUntil:()=>Dl});var To={};k(To,{customElement:()=>Wt,dateProperty:()=>Il,isNumber:()=>Vi,jsonProperty:()=>Cr,jsonPropertyConverter:()=>Gi,numberProperty:()=>Wi,optionalNumberProperty:()=>kl});var Wt=e=>t=>{window.customElements.get(e)||window.customElements.define(e,t)},Gi=e=>({fromAttribute:t=>{if(t==null)return bt(e);try{return JSON.parse(t)}catch{return bt(e)}},toAttribute:t=>JSON.stringify(t)});function Cr(e,t){return R({type:Object,converter:Gi(e),hasChanged:Re,...t??{}})}function kl(e){return Wi(e)}function Wi(e){return R({type:Object,converter:{fromAttribute:t=>{var o,n;if(t==null)return;let i=(o=e?.min)!==null&&o!==void 0?o:-1/0,a=(n=e?.max)!==null&&n!==void 0?n:1/0;return Vi(t)?He(i,+t,a):void 0},toAttribute:t=>t==null?void 0:""+t},useDefault:!0,...e??{}})}function Vi(e){return!isNaN(parseFloat(e))}function Il(e){return R({type:Object,converter:{fromAttribute:t=>{if(t==null)return;let o=new Date(Date.parse(t));if(!isNaN(o.valueOf()))return o},toAttribute:t=>t?.toISOString()},useDefault:!0,...e??{}})}var ji=e=>new Promise(t=>setTimeout(t,e));async function Dl(e,t=10,o=2e4){await Ki(async()=>await e()||void 0,t,o)}async function Ki(e,t=10,o=2e4){let n=await e(),i=performance.now(),a=i;for(;n==null&&(!o||a-i<o);)await ji(t),n=await e(),a=performance.now();if(n==null)throw new Error("Timeout exceeded");return n}function Zi(e,t){return e.flatMap(o=>[o,...Zi(t(o),t)])}function qi(e,t,o){let n=(i,a)=>{var s;for(let l=0;l<i.length;l++){let u=i[l];if(!(((s=o(u,l,i,a))!==null&&s!==void 0?s:!0)&&n(t(u),[...a,u])))return!1}return!0};n(e,[])}function Yi(e,t,o){let n=!1;return qi(e,t,(i,a,s,l)=>(n=!!o(i,a,s,l),!n)),n}function Ml(e,t,o){return!Yi(e,t,(n,i,a,s)=>!o(n,i,a,s))}function Ul(...e){return(t,o)=>e.includes(t)?Xi(o):o}function Xi(e){return e.match(/^\d{4}-\d{2}-\d{2}$/)&&(e=e.replace(/-/g,"/")),e=e.replace(" ","T").replace(/^(.+)(\+\d{2})(\d{2})$/,(t,o,n,i)=>o+n+":"+i),new Date(e)}function Fl(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let o,n;if(Array.isArray(e)){if(o=e.length,o!=t.length)return!1;for(n=o;n--!==0;)if(!ze(e[n],t[n]))return!1;return!0}if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;for(n of e.entries())if(!ze(n[1],t.get(n[0])))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(n of e.entries())if(!t.has(n[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();let i=s=>Object.keys(s).filter(l=>s[l]!=null),a=i(e);if(o=a.length,o!==i(t).length)return!1;for(n=o;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,a[n]))return!1;for(n=o;n--!==0;){let s=a[n];if(!ze(e[s],t[s]))return!1}return!0}return e!==e&&t!==t||e==null&&t==null}function ze(e,t){try{return Fl(e,t)}catch{return!1}}function Re(e,t){return!ze(e,t)}function Bl(e,t,o=window.document.body){if(t.length>0){let n=e.composedPath();for(let i of n){if(i===o)return!1;if(i.matches&&t.some(a=>i.matches(a)))return!0}}return!1}function He(e,t,o){return Math.min(Math.max(e,t),o)}function $l(e){return e[e.length-1]}function Qi(e){return e instanceof HTMLSlotElement?e.assignedNodes().map(t=>Qi(t)).join(""):e?.textContent||""}function Lo(e){let t=[],o=n=>{n.stopPropagation(),t=n.composedPath()};return e.addEventListener("get-composed-path",o),e.dispatchEvent(new Event("get-composed-path",{composed:!0})),e.removeEventListener("get-composed-path",o),t}function bt(e){return typeof window.structuredClone=="function"?structuredClone(e):e!=null?JSON.parse(JSON.stringify(e)):e}function Hl(e,t){return(t??"")+(""+Math.floor(Math.random()*10**e)).padStart(e,"0")}function Q(e,t){let o=n=>n[e]===!0;return n=>{if(o(n))return n;let i=t(n);return i[e]=!0,i}}function zl(){return function(e,t,o){let n=o.value;o.value=function(i,...a){if(i.isComposing||i.keyCode===229){i.stopPropagation();return}return n.apply(this,[i].concat(a))}}}function ge(e){for(let[t,o]of Object.entries(e))Wt(t)(o)}function Gl(e,t){var o,n;let i=typeof t=="function"?t:s=>s[t],a={};for(let s of e)((o=a[n=i(s)])!==null&&o!==void 0?o:a[n]=[]).push(s);return a}var Vt=class extends CustomEvent{constructor(t){super("ft-notification",{bubbles:!0,composed:!0,detail:t})}},Po=class extends Event{constructor(){super("ft-pre-resize",{composed:!0,bubbles:!0})}},ko=class extends Event{constructor(){super("ft-post-resize",{composed:!0,bubbles:!0})}},Ji=Q(Symbol("withEventBus"),function(e,t){return class extends e{constructor(){super(...arguments),this.eventBus=t??document.createElement("span")}addEventListener(o,n,i){this.eventBus.addEventListener(o,n,i)}dispatchEvent(o){return this.eventBus.dispatchEvent(o)}removeEventListener(o,n,i){this.eventBus.removeEventListener(o,n,i)}}}),Ge=class extends Ji(Object){};var jt=class extends CustomEvent{constructor(t){super("clear-cache",{detail:{clearedKeys:t}})}},Do=class extends Ge{constructor(){super(...arguments),this.content={}}register(t,o,n=!1){var i;let a=this.content[t],s=(i=a?.status)!==null&&i!==void 0?i:"REGISTERED";this.content[t]={...a,loader:o,final:n,status:s}}registerFinal(t,o){this.register(t,o,!0)}clearAll(t=!0){return this.clearMatching(()=>!0,t)}clearMatching(t,o=!0){let n=Object.keys(this.content).filter(t).filter(i=>this.clear(i,!1)!=null);return o&&n.length>0&&this.dispatchEvent(new jt(n)),n}clear(t,o=!0){if(this.content[t]&&!this.content[t].final)return this.forceClear(t),o&&this.dispatchEvent(new jt([t])),t}forceClear(t){var o;let n=this.content[t];n&&(this.clearClearTimeout(t),(o=n.promise)===null||o===void 0||o.cancel(),this.content[t]={loader:n.loader,final:n.final,status:"REGISTERED"})}clearClearTimeout(t){var o,n,i;((o=this.content[t])===null||o===void 0?void 0:o.clearTimeout)!=null&&(window.clearTimeout((n=this.content[t])===null||n===void 0?void 0:n.clearTimeout),(i=this.content[t])===null||i===void 0||delete i.clearTimeout)}set(t,o,n=!1){this.forceClear(t);let i=async()=>o,a="RESOLVED";this.content[t]={loader:i,final:n,status:a,value:o}}setFinal(t,o){return this.set(t,o,!0)}async get(t,o,n){if(!this.isRegistered(t)){if(!o)throw new Error("Unknown cache key "+t);this.register(t,o)}let i=this.content[t];switch(i.status){case"ERROR":throw i.error;case"LOADING":return i.promise;case"RESOLVED":return i.value;case"REGISTERED":return o=o??i.loader,i.status="LOADING",i.promise=Ro(o()),i.promise.then(a=>(i.status="RESOLVED",i.value=a,n!=null&&(this.clearClearTimeout(t),i.clearTimeout=window.setTimeout(()=>this.clear(t),n)),a)).catch(a=>{var s;throw!((s=i.promise)===null||s===void 0)&&s.isCanceled||(i.status="ERROR",i.error=a),a})}}isRegistered(t){return this.content[t]!=null}getNow(t){var o;return(o=this.content[t])===null||o===void 0?void 0:o.value}has(t){var o,n;return((o=this.content[t])===null||o===void 0?void 0:o.status)!==void 0&&((n=this.content[t])===null||n===void 0?void 0:n.status)!=="REGISTERED"}resolvedKeys(){return Object.keys(this.content).filter(t=>{var o;return((o=this.content[t])===null||o===void 0?void 0:o.status)==="RESOLVED"})}resolvedValues(){return this.resolvedKeys().map(t=>this.content[t].value)}keys(){return Object.keys(this.content)}};var Vo={};k(Vo,{ClusteringHelper:()=>Wo,formatHierarchicalValues:()=>Go});var zo={};k(zo,{accessBreadcrumb:()=>Xl,accessResult:()=>Ho,accessResultId:()=>ql,accessResultUrl:()=>Yl,enrichReaderUrl:()=>$o});var Bo={};k(Bo,{SearchPlaceConverter:()=>We,SearchPlaceQueryParams:()=>L,isSearchPlaceQueryParams:()=>Ha,serializeRequest:()=>Kl});var Wl=e=>typeof e=="object"&&e!=null;var Vl=e=>typeof e=="number",Ar=e=>typeof e=="string",Fo=e=>Wl(e)&&Ar(e.endpoint)&&Ar(e.method)&&Ar(e.statusText)&&Ar(e.body)&&Vl(e.status),ea;(function(e){e.black="black",e.green="green",e.blue="blue",e.purple="purple",e.red="red",e.orange="orange",e.yellow="yellow"})(ea||(ea={}));var ta;(function(e){e.OFFICIAL="OFFICIAL",e.PERSONAL="PERSONAL",e.SHARED="SHARED"})(ta||(ta={}));var ra;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(ra||(ra={}));var oa;(function(e){e.STRUCTURED_DOCUMENT="STRUCTURED_DOCUMENT",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT",e.SHARED_PERSONAL_BOOK="SHARED_PERSONAL_BOOK",e.PERSONAL_BOOK="PERSONAL_BOOK",e.ATTACHMENT="ATTACHMENT",e.RESOURCE="RESOURCE",e.HTML_PACKAGE="HTML_PACKAGE"})(oa||(oa={}));var na;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(na||(na={}));var ia;(function(e){e.VALUE="VALUE",e.DATE="DATE",e.RANGE="RANGE"})(ia||(ia={}));var aa;(function(e){e.OFFICIAL="OFFICIAL",e.AI="AI"})(aa||(aa={}));var sa;(function(e){e.BOOKMARK__CREATE="BOOKMARK__CREATE",e.BOOKMARK__DELETE="BOOKMARK__DELETE",e.CASE_DEFLECTION__START="CASE_DEFLECTION__START",e.CASE_DEFLECTION__OPEN_TICKET="CASE_DEFLECTION__OPEN_TICKET",e.CASE_DEFLECTION__RATE="CASE_DEFLECTION__RATE",e.CHATBOT__RATE="CHATBOT__RATE",e.COLLECTION__CREATE="COLLECTION__CREATE",e.COLLECTION__UPDATE="COLLECTION__UPDATE",e.COLLECTION__DELETE="COLLECTION__DELETE",e.CUSTOM_EVENT__TRIGGER="CUSTOM_EVENT__TRIGGER",e.DOCUMENT__ON_DEMAND_TRANSLATE="DOCUMENT__ON_DEMAND_TRANSLATE",e.DOCUMENT__DOWNLOAD="DOCUMENT__DOWNLOAD",e.DOCUMENT__PRINT="DOCUMENT__PRINT",e.DOCUMENT__PROCESS="DOCUMENT__PROCESS",e.DOCUMENT__RATE="DOCUMENT__RATE",e.DOCUMENT__SEARCH="DOCUMENT__SEARCH",e.DOCUMENT__START_DISPLAY="DOCUMENT__START_DISPLAY",e.DOCUMENT__UNRATE="DOCUMENT__UNRATE",e.FEEDBACK__SEND="FEEDBACK__SEND",e.AI__COMPLETED_QUERY="AI__COMPLETED_QUERY",e.AI__RATE="AI__RATE",e.AI_CASE_DEFLECTION__START="AI_CASE_DEFLECTION__START",e.AI_CASE_DEFLECTION__OPEN_TICKET="AI_CASE_DEFLECTION__OPEN_TICKET",e.KHUB__PROCESS="KHUB__PROCESS",e.KHUB__SEARCH="KHUB__SEARCH",e.LABELS__DOWNLOAD="LABELS__DOWNLOAD",e.LINK__SHARE="LINK__SHARE",e.PAGE__DISPLAY="PAGE__DISPLAY",e.PERSONAL_BOOK__CREATE="PERSONAL_BOOK__CREATE",e.PERSONAL_BOOK__DELETE="PERSONAL_BOOK__DELETE",e.PERSONAL_BOOK__UPDATE="PERSONAL_BOOK__UPDATE",e.PERSONAL_TOPIC__CREATE="PERSONAL_TOPIC__CREATE",e.PERSONAL_TOPIC__UPDATE="PERSONAL_TOPIC__UPDATE",e.PERSONAL_TOPIC__DELETE="PERSONAL_TOPIC__DELETE",e.SAVED_SEARCH__CREATE="SAVED_SEARCH__CREATE",e.SAVED_SEARCH__DELETE="SAVED_SEARCH__DELETE",e.SAVED_SEARCH__UPDATE="SAVED_SEARCH__UPDATE",e.SEARCH_PAGE__SELECT="SEARCH_PAGE__SELECT",e.SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU="SEARCH_RESULT__OPEN_BROWSER_CONTEXT_MENU",e.TOPIC__AI_TRANSLATE="TOPIC__AI_TRANSLATE",e.TOPIC__RATE="TOPIC__RATE",e.TOPIC__START_DISPLAY="TOPIC__START_DISPLAY",e.TOPIC__UNRATE="TOPIC__UNRATE",e.USER__LOGIN="USER__LOGIN",e.USER__LOGOUT="USER__LOGOUT",e.HEARTBEAT="HEARTBEAT"})(sa||(sa={}));var ca;(function(e){e.STANDARD="STANDARD",e.STRUCTURAL="STRUCTURAL"})(ca||(ca={}));var la;(function(e){e.METADATA_FILTER="METADATA_FILTER",e.ACCESS_RIGHTS_FILTER="ACCESS_RIGHTS_FILTER"})(la||(la={}));var da;(function(e){e.THIRD_PARTY="THIRD_PARTY",e.OFF_THE_GRID="OFF_THE_GRID",e.CONTENT_PACKAGER="CONTENT_PACKAGER",e.PAGES="PAGES",e.DESIGNED_READER="DESIGNED_READER"})(da||(da={}));var ua;(function(e){e.HOMEPAGE="HOMEPAGE",e.CUSTOM="CUSTOM",e.HEADER="HEADER",e.READER="READER",e.TOPIC_TEMPLATE="TOPIC_TEMPLATE",e.SEARCH="SEARCH",e.SEARCH_RESULT="SEARCH_RESULT",e.SEARCH_ANNOUNCEMENT="SEARCH_ANNOUNCEMENT",e.LINK_PREVIEW="LINK_PREVIEW",e.UD_VIEWER="UD_VIEWER",e.ASSET_VIEWER="ASSET_VIEWER"})(ua||(ua={}));var pa;(function(e){e.CLASSIC="CLASSIC",e.CUSTOM="CUSTOM",e.DESIGNER="DESIGNER"})(pa||(pa={}));var fa;(function(e){e.AND="AND",e.OR="OR",e.MONOVALUED="MONOVALUED"})(fa||(fa={}));var ha;(function(e){e.NONE="NONE",e.ALPHABET="ALPHABET",e.VERSION="VERSION"})(ha||(ha={}));var ma;(function(e){e.STARS="STARS",e.LIKE="LIKE",e.DICHOTOMOUS="DICHOTOMOUS",e.NO_RATING="NO_RATING"})(ma||(ma={}));var ya;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR",e.CUSTOM="CUSTOM"})(ya||(ya={}));var xt;(function(e){e.OPTIONAL="OPTIONAL",e.MANDATORY="MANDATORY"})(xt||(xt={}));var ga;(function(e){e.ASC="ASC",e.DESC="DESC"})(ga||(ga={}));var ba;(function(e){e.ALPHA="ALPHA",e.NATURAL="NATURAL"})(ba||(ba={}));var Uo;(function(e){e.EVERYWHERE="EVERYWHERE",e.TITLE_ONLY="TITLE_ONLY",e.NONE="NONE"})(Uo||(Uo={}));var Ra=e=>Object.keys(Uo).includes(e);var xa;(function(e){e.ARTICLE="ARTICLE",e.BOOK="BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(xa||(xa={}));var Ea;(function(e){e.FLUIDTOPICS="FLUIDTOPICS",e.EXTERNAL="EXTERNAL"})(Ea||(Ea={}));var Sa;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.PERSONAL_BOOK="PERSONAL_BOOK",e.SHARED_BOOK="SHARED_BOOK",e.HTML_PACKAGE="HTML_PACKAGE"})(Sa||(Sa={}));var Et;(function(e){e.LAST_WEEK="LAST_WEEK",e.LAST_MONTH="LAST_MONTH",e.LAST_QUARTER="LAST_QUARTER",e.LAST_YEAR="LAST_YEAR"})(Et||(Et={}));var _a=e=>Object.keys(Et).includes(e);var va;(function(e){e.MAP="MAP",e.DOCUMENT="DOCUMENT",e.TOPIC="TOPIC",e.HTML_PACKAGE="HTML_PACKAGE",e.HTML_PACKAGE_PAGE="HTML_PACKAGE_PAGE"})(va||(va={}));var Oa;(function(e){e.DEFAULT="DEFAULT",e.DOCUMENTS="DOCUMENTS",e.ALL_TOPICS="ALL_TOPICS",e.TOPICS_AND_UNSTRUCTURED_DOCUMENTS="TOPICS_AND_UNSTRUCTURED_DOCUMENTS"})(Oa||(Oa={}));var Ca;(function(e){e.PLAIN_TEXT="PLAIN_TEXT",e.LOCALIZED_OFFICIAL="LOCALIZED_OFFICIAL",e.LOCALIZED_CUSTOM="LOCALIZED_CUSTOM"})(Ca||(Ca={}));var W;(function(e){e.PERSONAL_BOOK_USER="PERSONAL_BOOK_USER",e.PERSONAL_BOOK_SHARE_USER="PERSONAL_BOOK_SHARE_USER",e.HTML_EXPORT_USER="HTML_EXPORT_USER",e.PDF_EXPORT_USER="PDF_EXPORT_USER",e.SAVED_SEARCH_USER="SAVED_SEARCH_USER",e.COLLECTION_USER="COLLECTION_USER",e.OFFLINE_USER="OFFLINE_USER",e.ANALYTICS_USER="ANALYTICS_USER",e.BETA_USER="BETA_USER",e.DEBUG_USER="DEBUG_USER",e.PRINT_USER="PRINT_USER",e.RATING_USER="RATING_USER",e.FEEDBACK_USER="FEEDBACK_USER",e.GENERATIVE_AI_USER="GENERATIVE_AI_USER",e.GENERATIVE_AI_EXPORT_USER="GENERATIVE_AI_EXPORT_USER",e.CONTENT_PUBLISHER="CONTENT_PUBLISHER",e.BEHAVIOR_DATA_USER="BEHAVIOR_DATA_USER",e.ANNOUNCEMENT_ADMIN="ANNOUNCEMENT_ADMIN",e.KHUB_ADMIN="KHUB_ADMIN",e.USERS_ADMIN="USERS_ADMIN",e.PORTAL_ADMIN="PORTAL_ADMIN",e.ADMIN="ADMIN"})(W||(W={}));var Aa;(function(e){e.SEARCHES="SEARCHES",e.BOOKMARKS="BOOKMARKS",e.BOOKS="BOOKS",e.COLLECTIONS="COLLECTIONS"})(Aa||(Aa={}));var wa;(function(e){e.UNAUTHENTICATED="UNAUTHENTICATED",e.USER_INCOMPLETE="USER_INCOMPLETE",e.MFA_REQUIRED="MFA_REQUIRED",e.AUTHENTICATED="AUTHENTICATED"})(wa||(wa={}));var Ta;(function(e){e.UNREACHABLE="UNREACHABLE",e.UNAUTHORIZED="UNAUTHORIZED",e.FORBIDDEN="FORBIDDEN",e.INCOMPATIBLE="INCOMPATIBLE",e.FAILED="FAILED",e.OK="OK"})(Ta||(Ta={}));var La;(function(e){e.VALID="VALID",e.INVALID="INVALID"})(La||(La={}));var Na;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.SEMANTIC_SEARCH="SEMANTIC_SEARCH",e.CHATBOT_INSTRUCTIONS="CHATBOT_INSTRUCTIONS",e.DOCUMENTATION="DOCUMENTATION",e.OTHER="OTHER"})(Na||(Na={}));var Pa;(function(e){e.INACCURATE="INACCURATE",e.INCOMPLETE="INCOMPLETE",e.OFF_TOPIC="OFF_TOPIC",e.IRRELEVANT_SOURCES="IRRELEVANT_SOURCES",e.SLOW="SLOW",e.OTHER="OTHER"})(Pa||(Pa={}));var ka;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(ka||(ka={}));var Ia;(function(e){e.JSON="JSON",e.TEXT="TEXT"})(Ia||(Ia={}));var Da;(function(e){e.TEXT="TEXT",e.HTML="HTML"})(Da||(Da={}));var Ma;(function(e){e.IN_PROGRESS="IN_PROGRESS",e.ERROR="ERROR",e.DONE="DONE"})(Ma||(Ma={}));var Ua;(function(e){e.HTML="HTML",e.MARKDOWN="MARKDOWN"})(Ua||(Ua={}));var Fa;(function(e){e.SOURCES="SOURCES",e.ENRICH_AND_CLEAN="ENRICH_AND_CLEAN",e.VOCABULARIES="VOCABULARIES",e.METADATA="METADATA",e.PRETTY_URL="PRETTY_URL",e.ACCESS_RULE="ACCESS_RULE",e.DESIGNED_PAGES="DESIGNED_PAGES",e.THEME_STUDIO="THEME_STUDIO",e.PORTAL_GENERAL="PORTAL_GENERAL",e.ASSETS="ASSETS",e.CODE_LIBRARY="CODE_LIBRARY",e.THEME="THEME",e.CONTENT_STYLES="CONTENT_STYLES",e.HOMEPAGE="HOMEPAGE",e.CLASSIC_SEARCH_PAGE="CLASSIC_SEARCH_PAGE",e.CLASSIC_READER_PAGE="CLASSIC_READER_PAGE",e.PORTAL_METADATA="PORTAL_METADATA",e.LANGUAGES="LANGUAGES",e.PRINT_TEMPLATES="PRINT_TEMPLATES",e.OFFLINE="OFFLINE",e.CUSTOM_JS="CUSTOM_JS",e.CONFIDENTIALITY="CONFIDENTIALITY",e.NOTIFICATIONS="NOTIFICATIONS"})(Fa||(Fa={}));var Ba;(function(e){e.MAP="MAP",e.UNSTRUCTURED_DOCUMENT="UNSTRUCTURED_DOCUMENT"})(Ba||(Ba={}));var ch={[W.PERSONAL_BOOK_SHARE_USER]:[W.PERSONAL_BOOK_USER],[W.HTML_EXPORT_USER]:[W.PERSONAL_BOOK_USER],[W.PDF_EXPORT_USER]:[W.PERSONAL_BOOK_USER],[W.KHUB_ADMIN]:[W.CONTENT_PUBLISHER],[W.ADMIN]:[W.KHUB_ADMIN,W.USERS_ADMIN,W.PORTAL_ADMIN,W.BEHAVIOR_DATA_USER],[W.GENERATIVE_AI_EXPORT_USER]:[W.GENERATIVE_AI_USER]};function jl(e){return`"${e}"`}function $a(e){return e.startsWith('"')&&e.endsWith('"')?e.replace(/(^"+)|("+$)/g,""):e}function Kl(e,t){return new We(e).serialize(t)}var L;(function(e){e.LOCALE="content-lang",e.QUERY="query",e.SCOPE="scope",e.FILTERS="filters",e.VIRTUAL_FIELD="virtual-field",e.PERIOD="period",e.VALUE_FILTERS="value-filters",e.NEGATIVE_VALUE_FILTERS="negative-value-filters",e.DATE_FILTERS="date-filters",e.RANGE_FILTERS="range-filters",e.SORT="sort",e.PER_PAGE="per-page",e.KEYWORD_MATCH="keyword-match"})(L||(L={}));var Zl=new Set(Object.values(L));function Ha(e){return Zl.has(e)}var We=class e{constructor(t,o=20,n=!1,i="en-US"){this.baseUrl=t,this.defaultPerPage=o,this.allLanguagesAllowed=n,this.defaultContentLocale=i,this.scopeMapping={documents:"DOCUMENTS",topics:"ALL_TOPICS"}}serialize(t,o){return this.serializeToCurrentPageIfPossible(t,o??"/search")}serializeToCurrentPageIfPossible(t,o){let n=o==null||o.trim().length===0,i=new URL(n?window.location.href:`${this.baseUrl.replace(/\/+$/,"")}${o}`);return i.search=this.toURLSearchParams(t),i.toString()}toURLSearchParams(t,o=!1){var n,i,a,s,l,u,p,h,f;let m=new URLSearchParams;t.contentLocale?(!o||t.contentLocale!==this.defaultContentLocale)&&m.append(L.LOCALE,t.contentLocale):m.append(L.LOCALE,this.allLanguagesAllowed?"all":this.defaultContentLocale),((n=t.query)===null||n===void 0?void 0:n.length)>0&&m.append(L.QUERY,t.query);let b=e.serializeValueFilters(t.metadataFilters);b&&m.append(L.VALUE_FILTERS,b);let E=e.serializeNegativeValueFilters(t.metadataFilters);E&&m.append(L.NEGATIVE_VALUE_FILTERS,E);let O=(u=(i=t.metadataFilters)===null||i===void 0?void 0:i.filter(y=>y.dateFilter))!==null&&u!==void 0?u:[];if(O.length>0){let y=O.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=(a=t.metadataFilters)===null||a===void 0?void 0:a.filter(y=>y.rangeFilter))!==null&&p!==void 0?p:[];if(S.length>0){let y=S.map(g=>{var x,w;return`${g.key}~${(x=g.rangeFilter)===null||x===void 0?void 0:x.from}_${(w=g.rangeFilter)===null||w===void 0?void 0:w.to}`}).join("*");m.append(L.RANGE_FILTERS,y)}t.virtualField&&t.virtualField!=="EVERYWHERE"&&m.append(L.VIRTUAL_FIELD,t.virtualField.toLowerCase()),t.scope&&t.scope!=="DEFAULT"&&m.append(L.SCOPE,t.scope.toLowerCase()),t.sortId!=null&&m.append(L.SORT,t.sortId),!((s=t.paging)===null||s===void 0)&&s.perPage&&((h=(l=t.paging)===null||l===void 0?void 0:l.perPage)!==null&&h!==void 0?h:this.defaultPerPage)!=this.defaultPerPage&&m.append(L.PER_PAGE,String(t.paging.perPage)),t.keywordMatch!=null&&m.append(L.KEYWORD_MATCH,t.keywordMatch.toLowerCase());let C=(f=t.otherQueryParams)!==null&&f!==void 0?f:{};for(let y in C)m.append(y,C[y]);let N=new Array;return m.forEach((y,g)=>{N.push(this.encodeQueryString(g)+"="+this.encodeQueryString(y))}),encodeURI(N.join("&")).replace(/#/g,"%23")}encodeQueryString(t){return encodeURIComponent(t).replace(/%20/g,"+")}parse(t){var o;let n=t.split("?"),i=this.fromURLSearchParams(n.slice(1).join("?")),a=n[0].split("/search/")[1];return a==null?i:{...i,scope:(o=this.scopeMapping[a])!==null&&o!==void 0?o:i.scope}}fromURLSearchParams(t){var o,n,i,a,s,l;try{t=decodeURI(t).replace(/%23/g,"#")}catch(C){console.warn("Could not decode search request query params, fallback on raw value",C)}let u=new URLSearchParams(t),p=u.get(L.LOCALE)==="all"?void 0:u.get(L.LOCALE),h=((n=u.get(L.VIRTUAL_FIELD))!==null&&n!==void 0?n:"EVERYWHERE").toUpperCase(),f=(o=u.get(L.SORT))===null||o===void 0?void 0:o.toLowerCase(),m=(i=u.get(L.SCOPE))!==null&&i!==void 0?i:"default",b=+((a=u.get(L.PER_PAGE))!==null&&a!==void 0?a:this.defaultPerPage),E=u.get(L.KEYWORD_MATCH),O=E?E.toUpperCase()===xt.MANDATORY?xt.MANDATORY:xt.OPTIONAL:void 0,S={};for(let C of u.keys())Ha(C)||(S[C]=u.get(C));return{contentLocale:p??(this.allLanguagesAllowed?void 0:this.defaultContentLocale),query:(s=u.get(L.QUERY))!==null&&s!==void 0?s:"",scope:(l=this.scopeMapping[m])!==null&&l!==void 0?l:"DEFAULT",virtualField:Ra(h)?h:"EVERYWHERE",sortId:f,metadataFilters:this.parseCompatFilters(u),facets:[],paging:{page:1,perPage:He(1,isNaN(b)?this.defaultPerPage:b,1e3)},keywordMatch:O,otherQueryParams:S}}parseCompatFilters(t){var o,n,i,a,s,l,u;let p=[];return t.has(L.FILTERS)&&(p=e.parseValueFilters((o=t.get(L.FILTERS))!==null&&o!==void 0?o:"")),(n=t.has(L.PERIOD))!==null&&n!==void 0&&n&&(p=[...p,...this.parseLegacyPeriodFilter(((i=t.get(L.PERIOD))!==null&&i!==void 0?i:"").toUpperCase())]),[...p,...e.parseValueFilters((a=t.get(L.VALUE_FILTERS))!==null&&a!==void 0?a:""),...e.parseValueFilters((s=t.get(L.NEGATIVE_VALUE_FILTERS))!==null&&s!==void 0?s:"",!0),...this.parseDateFilters((l=t.get(L.DATE_FILTERS))!==null&&l!==void 0?l:""),...this.parseRangeFilters((u=t.get(L.RANGE_FILTERS))!==null&&u!==void 0?u:"")]}static splitUnknownFilter(t){return this.superEscapeFilters(t).split("*").map(o=>o.split("~"))}static parseValueFilters(t,o=!1){return t.length===0?[]:this.splitUnknownFilter(t).map(n=>({key:n[0],valueFilter:{values:n[1].split("_").map($a).map(i=>this.unescapeFilterValue(i)),negative:o}}))}parseDateFilters(t){return t.length===0?[]:e.splitUnknownFilter(t).map(o=>({key:o[0],dateFilter:{type:Et[o[1].toUpperCase()]}}))}parseRangeFilters(t){return t.length===0?[]:e.splitUnknownFilter(t).map(o=>({key:o[0],rangeFilter:{from:o[1].split("_")[0],to:o[1].split("_")[1]}}))}static escapeFilters(t){for(let[o,n,i]of this.filtersEscapeMapping)t=t.replaceAll(o,n);return t}static superEscapeFilters(t){for(let[o,n,i]of e.filtersEscapeMapping)t=t.replaceAll(n,i);return t}static unescapeFilterValue(t){for(let[o,n,i]of e.filtersEscapeMapping)t=t.replaceAll(i,o);return t}parseLegacyPeriodFilter(t){if(_a(t))return[{key:"ft:lastEdition",dateFilter:{type:Et[t]}}];if(t.startsWith("CUSTOM_")){let[o,n,i]=t.split("_");return[{key:"ft:lastEdition",rangeFilter:{from:n,to:i}}]}return[]}static serializeValueFilter(t){var o,n;let i=((n=(o=t.valueFilter)===null||o===void 0?void 0:o.values)!==null&&n!==void 0?n:[]).map(a=>e.escapeFilters(a)).map(a=>jl($a(a))).join("_");return`${t.key}~${i}`}static serializeValueFilters(t){var o;let n=(o=t?.filter(i=>i.valueFilter&&!i.valueFilter.negative))!==null&&o!==void 0?o:[];if(n.length>0)return n.map(e.serializeValueFilter).join("*")}static serializeNegativeValueFilters(t){var o;let n=(o=t?.filter(i=>i.valueFilter&&i.valueFilter.negative))!==null&&o!==void 0?o:[];if(n.length>0)return n.map(e.serializeValueFilter).join("*")}static clearSearchParamsInUrl(t){let o=new URL(t);return[L.LOCALE,L.FILTERS,L.VALUE_FILTERS,L.NEGATIVE_VALUE_FILTERS,L.DATE_FILTERS,L.RANGE_FILTERS].forEach(i=>{o.searchParams.delete(i)}),o.toString()}static updateLocaleParamInUrl(t,o){let n=new URL(t);return n.searchParams.delete(L.LOCALE),o!==void 0&&n.searchParams.append(L.LOCALE,o),n.toString()}};We.filtersEscapeMapping=[["*","\\*","[ft-escaped-star-character]"],["~","\\\\~","[ft-escaped-tilde-character]"],["_","\\\\\\\\_","[ft-escaped-underscore-character]"]];function Ho(e){var t,o,n,i;return(i=(n=(o=(t=e?.map)!==null&&t!==void 0?t:e?.topic)!==null&&o!==void 0?o:e?.document)!==null&&n!==void 0?n:e?.htmlPackage)!==null&&i!==void 0?i:e?.htmlPackagePage}function ql(e){var t,o,n,i,a,s,l,u,p;return(p=(u=(l=(s=(t=e?.map)===null||t===void 0?void 0:t.mapId)!==null&&s!==void 0?s:(o=e?.topic)===null||o===void 0?void 0:o.tocId)!==null&&l!==void 0?l:(n=e?.document)===null||n===void 0?void 0:n.documentId)!==null&&u!==void 0?u:(i=e?.htmlPackage)===null||i===void 0?void 0:i.packageId)!==null&&p!==void 0?p:(a=e?.htmlPackagePage)===null||a===void 0?void 0:a.contentId}function Yl(e,t){var o,n,i,a,s,l,u,p,h;return(h=(p=(u=(l=$o((o=e?.map)===null||o===void 0?void 0:o.readerUrl,t))!==null&&l!==void 0?l:$o((n=e?.topic)===null||n===void 0?void 0:n.readerUrl,t))!==null&&u!==void 0?u:(i=e?.document)===null||i===void 0?void 0:i.viewerUrl)!==null&&p!==void 0?p:(a=e?.htmlPackage)===null||a===void 0?void 0:a.viewerUrl)!==null&&h!==void 0?h:(s=e?.htmlPackagePage)===null||s===void 0?void 0:s.viewerUrl}function Xl(e){return e?.topic?[e.topic.mapTitle,...e.topic.breadcrumb]:e?.map?[e.map.title]:e?.document?[e.document.title]:e?.htmlPackage?[e.htmlPackage.title]:e?.htmlPackagePage?[e.htmlPackagePage.packageTitle,e.htmlPackagePage.title]:[]}function $o(e,t){if(t&&e){let o=URL.parse(e),n=We.serializeValueFilters(t);if(n&&o?.searchParams.append(L.VALUE_FILTERS,n),o)return o.toString()}return e}function Go(e,t){return t&&t>1&&e.length>=t?`... > ${e[e.length-1]}`:e.join(" > ")}var Wo=class e{constructor(t,o,n,i){this.allResults=t,this.selectedResult=o,this.clusteringMetadata=n,this.metadataDescriptors=i}static findResultWithMetadataValue(t,o,n){return t?.find(i=>{var a;return((a=this.extractResultMetadata({result:i}).find(s=>s.key==o))===null||a===void 0?void 0:a.value)==n})}static extractResultMetadata(t){var o,n;let i=(n=(o=Ho(t.result))===null||o===void 0?void 0:o.metadata)!==null&&n!==void 0?n:[];return t.key==null?e.flattenMetadata(i,t.hierarchicalValueTruncatingLevel,t.dateFormatter):e.flattenMetadata(i.find(a=>a.key===t.key),t.hierarchicalValueTruncatingLevel,t.dateFormatter)}static flattenMetadata(t,o,n){if(Array.isArray(t))return t.map(a=>e.flattenMetadata(a,o,n)).filter(a=>a!=null);let i=t?.hierarchicalValues!=null&&t.hierarchicalValues.length>0;if(!(t==null||t.values.length==0&&!i))if(i){let a=[],s=[];return t.hierarchicalValues.forEach(l=>{a.push(Go(l)),s.push(Go(l,o))}),{key:t.key,label:t.label,value:a.join(", "),displayValue:s.join(", "),displayTooltipValue:a.join(", ")}}else{let a=t.values.join(", "),s=t.values.map(l=>n?n(l):l).join(", ");return{key:t.key,label:t.label,value:a,displayValue:s,displayTooltipValue:s}}}computeClustersItemsForMetadata(t,o,n="No value",i,a){var s,l;let u=e.extractResultMetadata({result:this.selectedResult,key:t,dateFormatter:a}),p=(l=u?.label)!==null&&l!==void 0?l:(s=this.getMetadataDescriptor(t))===null||s===void 0?void 0:s.label;return this.allResults.map(f=>e.extractResultMetadata({result:f,key:t,hierarchicalValueTruncatingLevel:i,dateFormatter:a})).map(f=>f??{key:t,label:p,value:void 0,displayValue:n}).filter(f=>f.value!=u?.value).filter((f,m,b)=>b.findIndex(E=>E.value===f.value)===m).map(f=>({result:this.findBestResultForMetadataValue(t,f.value),metadata:f})).sort((f,m)=>this.compareMetadata(f.metadata.value,m.metadata.value,t,o))}compareMetadata(t,o,n,i){if(t==null)return-1;if(o==null)return 1;let a=this.getMetadataDescriptor(n),s=a?.sortRule||"NONE",l=a?.reverseSort||!1;if(s=="ALPHABET"||s=="VERSION"){let u=t.localeCompare(o,i,{numeric:!0});return l?u*-1:u}return 0}getMetadataDescriptor(t){return this.metadataDescriptors.find(o=>t==o.key)}findBestResultForMetadataValue(t,o){let n=this.allResults.filter(u=>{var p;return((p=e.extractResultMetadata({result:u,key:t}))===null||p===void 0?void 0:p.value)==o}),a=[...e.extractResultMetadata({result:this.selectedResult}).filter(u=>this.clusteringMetadata.has(u.key)).filter(u=>u.key!==t)],s,l=-1;for(let u of n){let p=this.countMatchingMetadata(u,a);if(p>l&&(l=p,s=u,p===a.length))break}return s}countMatchingMetadata(t,o){return e.extractResultMetadata({result:t}).filter(n=>o.some(i=>i.key===n.key&&i.value===n.value)).length}};var jo={};k(jo,{Debouncer:()=>_e});var _e=class{constructor(t=0){this.timeout=t,this.callbacks=[]}run(t,o){return this.callbacks=[t],this.debounce(o)}queue(t,o){return this.callbacks.push(t),this.debounce(o)}cancel(){this.clearTimeout(),this.resolvePromise&&this.resolvePromise(!1),this.clearPromise()}debounce(t){return this.promise==null&&(this.promise=new Promise((o,n)=>{this.resolvePromise=o,this.rejectPromise=n})),this.clearTimeout(),this._debounce=window.setTimeout(()=>this.runCallbacks(),t??this.timeout),this.promise}async runCallbacks(){var t,o;let n=[...this.callbacks];this.callbacks=[];let i=(t=this.rejectPromise)!==null&&t!==void 0?t:(()=>null),a=(o=this.resolvePromise)!==null&&o!==void 0?o:(()=>null);this.clearPromise();for(let s of n)try{await s()}catch(l){i(l);return}a(!0)}clearTimeout(){this._debounce!=null&&window.clearTimeout(this._debounce)}clearPromise(){this.promise=void 0,this.resolvePromise=void 0,this.rejectPromise=void 0}};var Yo={};k(Yo,{designSystemVariables:()=>Z});var qo={};k(qo,{DesignSystemFamily:()=>Kt,DesignSystemSize:()=>Zt,FtCssVariableFactory:()=>r,badge:()=>fd,banner:()=>pd,button:()=>ed,card:()=>td,chart:()=>Td,checkbox:()=>id,chip:()=>ld,chipChoice:()=>cd,chipGroup:()=>dd,collapsible:()=>Rd,combobox:()=>Ad,dateRangePicker:()=>Dd,drawer:()=>Ed,eventCard:()=>rd,floatingMenu:()=>Cd,foundation:()=>c,link:()=>ud,modal:()=>bd,notice:()=>Nd,notification:()=>kd,pageDesigner:()=>Ld,pageFooter:()=>yd,pageHeader:()=>md,pageLayout:()=>gd,popover:()=>wd,radio:()=>ad,reorderableList:()=>xd,resolveFamilyClass:()=>Ko,resolveSizeClass:()=>Zo,semantic:()=>d,setVariable:()=>St,stickyToc:()=>nd,switch_:()=>_d,table:()=>sd,tabs:()=>Sd,textArea:()=>Od,textInput:()=>vd,titleBreadcrumb:()=>hd,toggle:()=>Pd,tooltip:()=>Id,treeList:()=>od,typographies:()=>Ql,typographyBody1Medium:()=>Ka,typographyBody1Regular:()=>ja,typographyBody1Semibold:()=>Za,typographyBody2Medium:()=>Ya,typographyBody2MediumUnderline:()=>Xa,typographyBody2Regular:()=>qa,typographyBody2Semibold:()=>Qa,typographyCaption1Medium:()=>Ja,typographyCaption1Semibold:()=>es,typographyCaption2Bold:()=>os,typographyCaption2Medium:()=>ts,typographyCaption2Semibold:()=>rs,typographyDisplay:()=>za,typographyTitle1:()=>Ga,typographyTitle2:()=>Wa,typographyTitle3:()=>Va,typographyVariants:()=>Jl});var Te=e=>typeof e=="string"?Dt(e):e,r=class{static create(t,o,n,i){let a=l=>Te(l??i),s=P`var(${Te(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n,s.defaultValue=i,s.defaultCssValue=a,s.set=l=>St(s,l??a(i)),s.get=l=>P`var(${Te(t)}, ${a(l)})`,s.breadcrumb=()=>[],s.lastResortDefaultValue=()=>i,s}static extend(t,o,n,i){let a=l=>n.get(l??i),s=P`var(${Te(t)}, ${a(i)})`;return s.name=t,s.description=o,s.category=n.category,s.fallbackVariable=n,s.defaultValue=i,s.defaultCssValue=a,s.set=l=>St(s,l??a(i)),s.get=l=>P`var(${Te(t)}, ${a(l)})`,s.breadcrumb=()=>[n.name,...n.breadcrumb()],s.lastResortDefaultValue=()=>i??n.lastResortDefaultValue(),s}static external(t,o){let n=a=>t.defaultCssValue(a),i=P`var(${Te(t.name)}, ${n(t.defaultValue)})`;return i.name=t.name,i.category=t.category,i.fallbackVariable=t.fallbackVariable,i.defaultValue=t.defaultValue,i.context=o,i.defaultCssValue=n,i.set=a=>t.set(a),i.get=a=>P`var(${Te(t.name)}, ${n(a)})`,i.breadcrumb=()=>t.breadcrumb(),i.lastResortDefaultValue=()=>t.lastResortDefaultValue(),i}};function St(e,t){return Te(`${e.name}: ${t}`)}var c={colorWhite:r.create("--ftds-color-white","","COLOR","#ffffff"),colorGray0:r.create("--ftds-color-gray-0","","COLOR","#71718e"),colorGray10:r.create("--ftds-color-gray-10","","COLOR","#fbfbfc"),colorGray20:r.create("--ftds-color-gray-20","","COLOR","#f2f2f5"),colorGray30:r.create("--ftds-color-gray-30","","COLOR","#e9e9ed"),colorGray40:r.create("--ftds-color-gray-40","","COLOR","#e0e0e6"),colorGray50:r.create("--ftds-color-gray-50","","COLOR","#cdcdd7"),colorGray60:r.create("--ftds-color-gray-60","","COLOR","#bbbbc9"),colorGray70:r.create("--ftds-color-gray-70","","COLOR","#a8a8ba"),colorGray80:r.create("--ftds-color-gray-80","","COLOR","#9696ab"),colorGray90:r.create("--ftds-color-gray-90","","COLOR","#83839d"),colorGray100:r.create("--ftds-color-gray-100","","COLOR","#62627c"),colorGray200:r.create("--ftds-color-gray-200","","COLOR","#545469"),colorGray300:r.create("--ftds-color-gray-300","","COLOR","#454557"),colorGray400:r.create("--ftds-color-gray-400","","COLOR","#363644"),colorGray500:r.create("--ftds-color-gray-500","","COLOR","#282832"),colorGray600:r.create("--ftds-color-gray-600","","COLOR","#19191f"),colorGray700:r.create("--ftds-color-gray-700","","COLOR","#0a0a0d"),colorBrand0:r.create("--ftds-color-brand-0","","COLOR","#9d207b"),colorBrand10:r.create("--ftds-color-brand-10","","COLOR","#f7edf4"),colorBrand20:r.create("--ftds-color-brand-20","","COLOR","#ebcfe4"),colorBrand30:r.create("--ftds-color-brand-30","","COLOR","#dfb2d3"),colorBrand40:r.create("--ftds-color-brand-40","","COLOR","#d395c2"),colorBrand50:r.create("--ftds-color-brand-50","","COLOR","#c778b1"),colorBrand60:r.create("--ftds-color-brand-60","","COLOR","#ba5ba1"),colorBrand70:r.create("--ftds-color-brand-70","","COLOR","#ae3e90"),colorBrand100:r.create("--ftds-color-brand-100","","COLOR","#8d1d6e"),colorBrand200:r.create("--ftds-color-brand-200","","COLOR","#78185e"),colorBrand300:r.create("--ftds-color-brand-300","","COLOR","#62144d"),colorBrand400:r.create("--ftds-color-brand-400","","COLOR","#4d103c"),colorBrand500:r.create("--ftds-color-brand-500","","COLOR","#380b2c"),colorBrand600:r.create("--ftds-color-brand-600","","COLOR","#23071b"),colorBrand700:r.create("--ftds-color-brand-700","","COLOR","#0d030b"),colorCyan0:r.create("--ftds-color-cyan-0","","COLOR","#0e98b4"),colorCyan10:r.create("--ftds-color-cyan-10","","COLOR","#ebf6f9"),colorCyan20:r.create("--ftds-color-cyan-20","","COLOR","#cbe9ef"),colorCyan30:r.create("--ftds-color-cyan-30","","COLOR","#acdbe5"),colorCyan40:r.create("--ftds-color-cyan-40","","COLOR","#8ccedb"),colorCyan50:r.create("--ftds-color-cyan-50","","COLOR","#6dc0d1"),colorCyan60:r.create("--ftds-color-cyan-60","","COLOR","#4db3c8"),colorCyan70:r.create("--ftds-color-cyan-70","","COLOR","#2ea5be"),colorCyan100:r.create("--ftds-color-cyan-100","","COLOR","#0c849c"),colorCyan200:r.create("--ftds-color-cyan-200","","COLOR","#0a7085"),colorCyan300:r.create("--ftds-color-cyan-300","","COLOR","#085c6d"),colorCyan400:r.create("--ftds-color-cyan-400","","COLOR","#074856"),colorCyan500:r.create("--ftds-color-cyan-500","","COLOR","#05343e"),colorCyan600:r.create("--ftds-color-cyan-600","","COLOR","#032127"),colorCyan700:r.create("--ftds-color-cyan-700","","COLOR","#010d0f"),colorGreen0:r.create("--ftds-color-green-0","","COLOR","#21a274"),colorGreen10:r.create("--ftds-color-green-10","","COLOR","#edf7f3"),colorGreen20:r.create("--ftds-color-green-20","","COLOR","#cfebe1"),colorGreen30:r.create("--ftds-color-green-30","","COLOR","#b2dfcf"),colorGreen40:r.create("--ftds-color-green-40","","COLOR","#95d3bd"),colorGreen50:r.create("--ftds-color-green-50","","COLOR","#78c7ab"),colorGreen60:r.create("--ftds-color-green-60","","COLOR","#5bba98"),colorGreen70:r.create("--ftds-color-green-70","","COLOR","#3eae86"),colorGreen100:r.create("--ftds-color-green-100","","COLOR","#1d8d65"),colorGreen200:r.create("--ftds-color-green-200","","COLOR","#187856"),colorGreen300:r.create("--ftds-color-green-300","","COLOR","#146246"),colorGreen400:r.create("--ftds-color-green-400","","COLOR","#104d37"),colorGreen500:r.create("--ftds-color-green-500","","COLOR","#0b3828"),colorGreen600:r.create("--ftds-color-green-600","","COLOR","#072319"),colorGreen700:r.create("--ftds-color-green-700","","COLOR","#030d0a"),colorOrange0:r.create("--ftds-color-orange-0","","COLOR","#F2700D"),colorOrange10:r.create("--ftds-color-orange-10","","COLOR","#FFF7EB"),colorOrange20:r.create("--ftds-color-orange-20","","COLOR","#FFEDD6"),colorOrange30:r.create("--ftds-color-orange-30","","COLOR","#FFDDB2"),colorOrange40:r.create("--ftds-color-orange-40","","COLOR","#FECB90"),colorOrange50:r.create("--ftds-color-orange-50","","COLOR","#FCB76E"),colorOrange60:r.create("--ftds-color-orange-60","","COLOR","#F9A34D"),colorOrange70:r.create("--ftds-color-orange-70","","COLOR","#F68B2C"),colorOrange100:r.create("--ftds-color-orange-100","","COLOR","#D35909"),colorOrange200:r.create("--ftds-color-orange-200","","COLOR","#B74706"),colorOrange300:r.create("--ftds-color-orange-300","","COLOR","#913503"),colorOrange400:r.create("--ftds-color-orange-400","","COLOR","#6F2601"),colorOrange500:r.create("--ftds-color-orange-500","","COLOR","#4D1800"),colorOrange600:r.create("--ftds-color-orange-600","","COLOR","#330F00"),colorOrange700:r.create("--ftds-color-orange-700","","COLOR","#140600"),colorRed0:r.create("--ftds-color-red-0","","COLOR","#b40e2c"),colorRed10:r.create("--ftds-color-red-10","","COLOR","#f9ebed"),colorRed20:r.create("--ftds-color-red-20","","COLOR","#efcbd2"),colorRed30:r.create("--ftds-color-red-30","","COLOR","#e5acb6"),colorRed40:r.create("--ftds-color-red-40","","COLOR","#db8c9b"),colorRed50:r.create("--ftds-color-red-50","","COLOR","#d16d7f"),colorRed60:r.create("--ftds-color-red-60","","COLOR","#c84d63"),colorRed70:r.create("--ftds-color-red-70","","COLOR","#be2e48"),colorRed100:r.create("--ftds-color-red-100","","COLOR","#9c0c26"),colorRed200:r.create("--ftds-color-red-200","","COLOR","#850a20"),colorRed300:r.create("--ftds-color-red-300","","COLOR","#6d081b"),colorRed400:r.create("--ftds-color-red-400","","COLOR","#560715"),colorRed500:r.create("--ftds-color-red-500","","COLOR","#3e050f"),colorRed600:r.create("--ftds-color-red-600","","COLOR","#270309"),colorRed700:r.create("--ftds-color-red-700","","COLOR","#0f0104"),colorYellow0:r.create("--ftds-color-yellow-0","","COLOR","#E4C00C"),colorYellow10:r.create("--ftds-color-yellow-10","","COLOR","#fefae9"),colorYellow20:r.create("--ftds-color-yellow-20","","COLOR","#fcf4ca"),colorYellow30:r.create("--ftds-color-yellow-30","","COLOR","#faedaa"),colorYellow40:r.create("--ftds-color-yellow-40","","COLOR","#f9e78b"),colorYellow50:r.create("--ftds-color-yellow-50","","COLOR","#f7e06b"),colorYellow60:r.create("--ftds-color-yellow-60","","COLOR","#F4D63E"),colorYellow70:r.create("--ftds-color-yellow-70","","COLOR","#F3CE16"),colorYellow100:r.create("--ftds-color-yellow-100","","COLOR","#d3b10b"),colorYellow200:r.create("--ftds-color-yellow-200","","COLOR","#b3970a"),colorYellow300:r.create("--ftds-color-yellow-300","","COLOR","#947c08"),colorYellow400:r.create("--ftds-color-yellow-400","","COLOR","#746206"),colorYellow500:r.create("--ftds-color-yellow-500","","COLOR","#554705"),colorYellow600:r.create("--ftds-color-yellow-600","","COLOR","#352d03"),colorYellow700:r.create("--ftds-color-yellow-700","","COLOR","#161201"),colorUltramarine0:r.create("--ftds-color-ultramarine-0","","COLOR","#3C19E5"),colorUltramarine10:r.create("--ftds-color-ultramarine-10","","COLOR","#EDEAFD"),colorUltramarine20:r.create("--ftds-color-ultramarine-20","","COLOR","#D4CCF9"),colorUltramarine30:r.create("--ftds-color-ultramarine-30","","COLOR","#BBAFF6"),colorUltramarine40:r.create("--ftds-color-ultramarine-40","","COLOR","#A191F3"),colorUltramarine50:r.create("--ftds-color-ultramarine-50","","COLOR","#8873EF"),colorUltramarine60:r.create("--ftds-color-ultramarine-60","","COLOR","#6F55EC"),colorUltramarine70:r.create("--ftds-color-ultramarine-70","","COLOR","#5537E8"),colorUltramarine100:r.create("--ftds-color-ultramarine-100","","COLOR","#3416C7"),colorUltramarine200:r.create("--ftds-color-ultramarine-200","","COLOR","#2C13A9"),colorUltramarine300:r.create("--ftds-color-ultramarine-300","","COLOR","#250F8C"),colorUltramarine400:r.create("--ftds-color-ultramarine-400","","COLOR","#1D0C6E"),colorUltramarine500:r.create("--ftds-color-ultramarine-500","","COLOR","#150950"),colorUltramarine600:r.create("--ftds-color-ultramarine-600","","COLOR","#0D0532"),colorUltramarine700:r.create("--ftds-color-ultramarine-700","","COLOR","#050215"),colorAvocado0:r.create("--ftds-color-avocado-0","","COLOR","#98BD28"),colorAvocado10:r.create("--ftds-color-avocado-10","","COLOR","#F6F9EC"),colorAvocado20:r.create("--ftds-color-avocado-20","","COLOR","#E8F0D0"),colorAvocado30:r.create("--ftds-color-avocado-30","","COLOR","#DBE8B4"),colorAvocado40:r.create("--ftds-color-avocado-40","","COLOR","#CEDF98"),colorAvocado50:r.create("--ftds-color-avocado-50","","COLOR","#C0D77C"),colorAvocado60:r.create("--ftds-color-avocado-60","","COLOR","#B3CE60"),colorAvocado70:r.create("--ftds-color-avocado-70","","COLOR","#A5C644"),colorAvocado100:r.create("--ftds-color-avocado-100","","COLOR","#84A423"),colorAvocado200:r.create("--ftds-color-avocado-200","","COLOR","#708C1E"),colorAvocado300:r.create("--ftds-color-avocado-300","","COLOR","#5D7318"),colorAvocado400:r.create("--ftds-color-avocado-400","","COLOR","#495B13"),colorAvocado500:r.create("--ftds-color-avocado-500","","COLOR","#35420E"),colorAvocado600:r.create("--ftds-color-avocado-600","","COLOR","#212A09"),colorAvocado700:r.create("--ftds-color-avocado-700","","COLOR","#0E1104"),colorBrown0:r.create("--ftds-color-brown-0","","COLOR","#B26F4D"),colorBrown10:r.create("--ftds-color-brown-10","","COLOR","#F8F2EF"),colorBrown20:r.create("--ftds-color-brown-20","","COLOR","#EEDFD8"),colorBrown30:r.create("--ftds-color-brown-30","","COLOR","#E4CDC1"),colorBrown40:r.create("--ftds-color-brown-40","","COLOR","#DABAAA"),colorBrown50:r.create("--ftds-color-brown-50","","COLOR","#D0A792"),colorBrown60:r.create("--ftds-color-brown-60","","COLOR","#C6947B"),colorBrown70:r.create("--ftds-color-brown-70","","COLOR","#BC8264"),colorBrown100:r.create("--ftds-color-brown-100","","COLOR","#9B6143"),colorBrown200:r.create("--ftds-color-brown-200","","COLOR","#845239"),colorBrown300:r.create("--ftds-color-brown-300","","COLOR","#6D442F"),colorBrown400:r.create("--ftds-color-brown-400","","COLOR","#553525"),colorBrown500:r.create("--ftds-color-brown-500","","COLOR","#3E271B"),colorBrown600:r.create("--ftds-color-brown-600","","COLOR","#271811"),colorBrown700:r.create("--ftds-color-brown-700","","COLOR","#100A07"),spacing1:r.create("--ftds-spacing-1","","SIZE","0.25rem"),spacing2:r.create("--ftds-spacing-2","","SIZE","calc(0.25rem*2)"),spacing3:r.create("--ftds-spacing-3","","SIZE","calc(0.25rem*3)"),spacing4:r.create("--ftds-spacing-4","","SIZE","calc(0.25rem*4)"),spacing5:r.create("--ftds-spacing-5","","SIZE","calc(0.25rem*5)"),spacing6:r.create("--ftds-spacing-6","","SIZE","calc(0.25rem*6)"),spacing8:r.create("--ftds-spacing-8","","SIZE","calc(0.25rem*8)"),spacing10:r.create("--ftds-spacing-10","","SIZE","calc(0.25rem*10)"),spacing12:r.create("--ftds-spacing-12","","SIZE","calc(0.25rem*12)"),spacing16:r.create("--ftds-spacing-16","","SIZE","calc(0.25rem*16)"),spacing20:r.create("--ftds-spacing-20","","SIZE","calc(0.25rem*20)"),spacing24:r.create("--ftds-spacing-24","","SIZE","calc(0.25rem*24)"),spacing28:r.create("--ftds-spacing-28","","SIZE","calc(0.25rem*28)"),spacing32:r.create("--ftds-spacing-32","","SIZE","calc(0.25rem*32)"),spacing05:r.create("--ftds-spacing-0-5","","SIZE","calc(0.25rem*0.5)"),borderRadiusS:r.create("--ftds-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ftds-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ftds-border-radius-l","","SIZE","12px"),borderRadiusXl:r.create("--ftds-border-radius-xl","","SIZE","16px"),borderRadiusPill:r.create("--ftds-border-radius-pill","","SIZE","999px"),borderRadiusRound:r.create("--ftds-border-radius-round","","SIZE","50%"),iconSize1:r.create("--ftds-icon-size-1","","SIZE","0.5rem"),iconSize2:r.create("--ftds-icon-size-2","","SIZE","0.75rem"),iconSize3:r.create("--ftds-icon-size-3","","SIZE","1rem"),iconSize4:r.create("--ftds-icon-size-4","","SIZE","1.25rem"),iconSize5:r.create("--ftds-icon-size-5","","SIZE","1.5rem"),iconSize6:r.create("--ftds-icon-size-6","","SIZE","2rem"),iconSize7:r.create("--ftds-icon-size-7","","SIZE","3rem"),opacity0:r.create("--ftds-opacity-0","","NUMBER","0"),opacity4:r.create("--ftds-opacity-4","","NUMBER","0.04"),opacity6:r.create("--ftds-opacity-6","","NUMBER","0.06"),opacity8:r.create("--ftds-opacity-8","","NUMBER","0.08"),opacity12:r.create("--ftds-opacity-12","","NUMBER","0.12"),opacity16:r.create("--ftds-opacity-16","","NUMBER","0.16"),opacity24:r.create("--ftds-opacity-24","","NUMBER","0.24"),opacity32:r.create("--ftds-opacity-32","","NUMBER","0.32"),opacity40:r.create("--ftds-opacity-40","","NUMBER","0.4"),opacity48:r.create("--ftds-opacity-48","","NUMBER","0.48"),opacity80:r.create("--ftds-opacity-80","","NUMBER","0.8"),shadowElevation01:r.create("--ftds-shadow-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0,0,0,0.06), 0px 1px 2px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation02:r.create("--ftds-shadow-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0,0,0,0.06), 0px 2px 5px 0px rgba(0,0,0,0.14), 0px 0px 1px 0px rgba(0,0,0,0.06)"),shadowElevation03:r.create("--ftds-shadow-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0,0,0,0.06), 0px 3px 7px 0px rgba(0,0,0,0.14), 0px 1px 2px 0px rgba(0,0,0,0.06)"),shadowElevation04:r.create("--ftds-shadow-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0,0,0,0.06), 0px 4px 9px 0px rgba(0,0,0,0.14), 0px 2px 3px 0px rgba(0,0,0,0.06)"),shadowElevation06:r.create("--ftds-shadow-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0,0,0,0.06), 0px 6px 13px 0px rgba(0,0,0,0.14), 0px 4px 5px 0px rgba(0,0,0,0.06)"),shadowElevation08:r.create("--ftds-shadow-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0,0,0,0.06), 0px 8px 17px 0px rgba(0,0,0,0.14), 0px 6px 7px 0px rgba(0,0,0,0.06)"),shadowElevation12:r.create("--ftds-shadow-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0,0,0,0.06), 0px 12px 23px 0px rgba(0,0,0,0.14), 0px 10px 11px 0px rgba(0,0,0,0.06)"),shadowElevation16:r.create("--ftds-shadow-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0,0,0,0.06), 0px 16px 29px 0px rgba(0,0,0,0.14), 0px 14px 15px 0px rgba(0,0,0,0.06)"),shadowElevation24:r.create("--ftds-shadow-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0,0,0,0.06), 0px 24px 41px 0px rgba(0,0,0,0.14), 0px 22px 23px 0px rgba(0,0,0,0.06)")},za={fontFamily:r.create("--ftds-typography-display-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-display-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-display-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-display-font-size","","SIZE","2.5rem"),letterSpacing:r.create("--ftds-typography-display-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-display-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-display-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-display-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-display-text-case","","UNKNOWN","none")},Ga={fontFamily:r.create("--ftds-typography-title-1-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-1-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-title-1-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-1-font-size","","SIZE","1.5rem"),letterSpacing:r.create("--ftds-typography-title-1-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-1-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-1-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-1-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-1-text-case","","UNKNOWN","none")},Wa={fontFamily:r.create("--ftds-typography-title-2-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-2-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-2-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-2-font-size","","SIZE","1.25rem"),letterSpacing:r.create("--ftds-typography-title-2-letter-spacing","","SIZE","-0.02em"),paragraphSpacing:r.create("--ftds-typography-title-2-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-2-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-2-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-2-text-case","","UNKNOWN","none")},Va={fontFamily:r.create("--ftds-typography-title-3-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-title-3-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-title-3-line-height","","SIZE","1.2"),fontSize:r.create("--ftds-typography-title-3-font-size","","SIZE","1.125rem"),letterSpacing:r.create("--ftds-typography-title-3-letter-spacing","","SIZE","-0.01em"),paragraphSpacing:r.create("--ftds-typography-title-3-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-title-3-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-title-3-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-title-3-text-case","","UNKNOWN","none")},ja={fontFamily:r.create("--ftds-typography-body-1-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-1-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-regular-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-regular-text-case","","UNKNOWN","none")},Ka={fontFamily:r.create("--ftds-typography-body-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-1-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-medium-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-medium-text-case","","UNKNOWN","none")},Za={fontFamily:r.create("--ftds-typography-body-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-1-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-1-semibold-font-size","","SIZE","1rem"),letterSpacing:r.create("--ftds-typography-body-1-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-1-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-1-semibold-text-case","","UNKNOWN","none")},qa={fontFamily:r.create("--ftds-typography-body-2-regular-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-regular-font-weight","","UNKNOWN","400"),lineHeight:r.create("--ftds-typography-body-2-regular-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-regular-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-regular-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-regular-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-regular-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-regular-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-regular-text-case","","UNKNOWN","none")},Ya={fontFamily:r.create("--ftds-typography-body-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-medium-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-medium-text-case","","UNKNOWN","none")},Xa={fontFamily:r.create("--ftds-typography-body-2-medium-underline-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-medium-underline-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-body-2-medium-underline-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-medium-underline-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-medium-underline-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-medium-underline-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-medium-underline-paragraph-indent","","UNKNOWN","0"),textCase:r.create("--ftds-typography-body-2-medium-underline-text-case","","UNKNOWN","none"),textDecoration:r.create("--ftds-typography-body-2-medium-underline-text-decoration","","UNKNOWN","underline")},Qa={fontFamily:r.create("--ftds-typography-body-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-body-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-body-2-semibold-line-height","","SIZE","1.35"),fontSize:r.create("--ftds-typography-body-2-semibold-font-size","","SIZE","0.875rem"),letterSpacing:r.create("--ftds-typography-body-2-semibold-letter-spacing","","SIZE","normal"),paragraphSpacing:r.create("--ftds-typography-body-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-body-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-body-2-semibold-text-decoration","","UNKNOWN","none"),textCase:r.create("--ftds-typography-body-2-semibold-text-case","","UNKNOWN","none")},Ja={fontFamily:r.create("--ftds-typography-caption-1-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-1-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-medium-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-medium-text-decoration","","UNKNOWN","none")},es={fontFamily:r.create("--ftds-typography-caption-1-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-1-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-1-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-1-semibold-font-size","","SIZE","0.75rem"),letterSpacing:r.create("--ftds-typography-caption-1-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-1-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-1-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-1-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-1-semibold-text-decoration","","UNKNOWN","none")},ts={fontFamily:r.create("--ftds-typography-caption-2-medium-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-medium-font-weight","","UNKNOWN","500"),lineHeight:r.create("--ftds-typography-caption-2-medium-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-medium-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-medium-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-medium-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-medium-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-medium-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-medium-text-decoration","","UNKNOWN","none")},rs={fontFamily:r.create("--ftds-typography-caption-2-semibold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-semibold-font-weight","","UNKNOWN","600"),lineHeight:r.create("--ftds-typography-caption-2-semibold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-semibold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-semibold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-semibold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-semibold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-semibold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-semibold-text-decoration","","UNKNOWN","none")},os={fontFamily:r.create("--ftds-typography-caption-2-bold-font-family","","UNKNOWN","Inter"),fontWeight:r.create("--ftds-typography-caption-2-bold-font-weight","","UNKNOWN","700"),lineHeight:r.create("--ftds-typography-caption-2-bold-line-height","","SIZE","1.3"),fontSize:r.create("--ftds-typography-caption-2-bold-font-size","","SIZE","0.6875rem"),letterSpacing:r.create("--ftds-typography-caption-2-bold-letter-spacing","","SIZE","normal"),textCase:r.create("--ftds-typography-caption-2-bold-text-case","","UNKNOWN","none"),paragraphSpacing:r.create("--ftds-typography-caption-2-bold-paragraph-spacing","","UNKNOWN","normal"),paragraphIndent:r.create("--ftds-typography-caption-2-bold-paragraph-indent","","UNKNOWN","0"),textDecoration:r.create("--ftds-typography-caption-2-bold-text-decoration","","UNKNOWN","none")},Ql={display:za,"title-1":Ga,"title-2":Wa,"title-3":Va,"body-1-regular":ja,"body-1-medium":Ka,"body-1-semibold":Za,"body-2-regular":qa,"body-2-medium":Ya,"body-2-medium-underline":Xa,"body-2-semibold":Qa,"caption-1-medium":Ja,"caption-1-semibold":es,"caption-2-medium":ts,"caption-2-semibold":rs,"caption-2-bold":os},Jl=["display","title-1","title-2","title-3","body-1","body-2","body-2-underline","caption-1","caption-2"];var d={backgroundActionPrimary:r.extend("--ftds-background-action-primary","Used as backgorund of primary action components.",c.colorBrand0),backgroundErrorSubtle:r.extend("--ftds-background-error-subtle","Used as background of subtle error components.",c.colorRed10),backgroundInfoSubtle:r.extend("--ftds-background-info-subtle","Used as background of subtle information components.",c.colorCyan10),backgroundWarningSubtle:r.extend("--ftds-background-warning-subtle","Used as background of subtle information components.",c.colorOrange10),backgroundSuccessSubtle:r.extend("--ftds-background-success-subtle","Used as background of subtle success components.",c.colorGreen10),backgroundGlobalSurface:r.extend("--ftds-background-global-surface","Used as app background.",c.colorWhite),backgroundGlobalOnSurface:r.extend("--ftds-background-global-on-surface","Used as background on element on the base background, like cards.",c.colorGray10),backgroundGlobalOnSurfaceDark:r.extend("--ftds-background-global-on-surface-dark","Used as background on element that need background separation.",c.colorGray30),contentActionPrimary:r.extend("--ftds-content-action-primary","Used on label of primary action on light surface.",c.colorBrand0),contentWarningPrimary:r.extend("--ftds-content-warning-primary","Used on label of warning messages on light surface.",c.colorOrange200),contentWarningIconOnly:r.extend("--ftds-content-warning-icon-only","Used on warning status icons alone",c.colorOrange0),contentErrorPrimary:r.extend("--ftds-content-error-primary","Used on label of error messages on light surface.",c.colorRed0),contentErrorIconOnly:r.extend("--ftds-content-error-icon-only","Used on error status icons alone",c.colorRed70),contentInfoPrimary:r.extend("--ftds-content-info-primary","Used on label of information messages on light surface.",c.colorCyan200),contentInfoIconOnly:r.extend("--ftds-content-info-icon-only","Used on info status icons alone",c.colorCyan0),contentSuccessPrimary:r.extend("--ftds-content-success-primary","Used on label of success messages on light surface.",c.colorGreen200),contentSuccessIconOnly:r.extend("--ftds-content-success-icon-only","Used on success status icons alone",c.colorGreen0),contentGlobalPrimary:r.extend("--ftds-content-global-primary","Used for main content on the page.",c.colorGray500),contentGlobalSecondary:r.extend("--ftds-content-global-secondary",`Used for secondary content, often paired with primary content.
4
+ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-content-global-subtle","Used for placeholder, unselected items in a tab component or breadcrumb.",c.colorGray0),contentGlobalOnColor:r.extend("--ftds-content-global-on-color","Used for content on a dominant color.",c.colorWhite),borderActionPrimary:r.extend("--ftds-border-action-primary","Used as border for primary action components.",c.colorBrand0),borderActionFocusRing:r.extend("--ftds-border-action-focus-ring","Focus ring is an additional border to indicate focus-visible state.",c.colorCyan0),borderWarningPrimary:r.extend("--ftds-border-warning-primary","Used as border for text fields in warning state and for buttons in warning color",c.colorOrange200),borderWarningSubtle:r.extend("--ftds-border-warning-subtle","Used as border for warning components.",c.colorOrange30),borderSuccessPrimary:r.extend("--ftds-border-success-primary","Used as border for success buttons.",c.colorGreen200),borderSuccessSubtle:r.extend("--ftds-border-success-subtle","Used as border for success components.",c.colorGreen30),borderErrorPrimary:r.extend("--ftds-border-error-primary","Used as border for text fields in error states.",c.colorRed0),borderErrorSubtle:r.extend("--ftds-border-error-subtle","Used as border for error components.",c.colorRed30),borderInfoPrimary:r.extend("--ftds-border-info-primary","Used as border for buttons in info color.",c.colorCyan200),borderInfoSubtle:r.extend("--ftds-border-info-subtle","Used as border for information components.",c.colorCyan30),borderGlobalPrimary:r.extend("--ftds-border-global-primary","Used as border for elements/areas filled with background.global.on-surface-dark",c.colorGray50),borderGlobalSecondary:r.extend("--ftds-border-global-secondary","Used as border for elements/areas filled with background.global.on-surface",c.colorGray40),borderGlobalSubtle:r.extend("--ftds-border-global-subtle","Used as border to deliminate an area/element filled with background.global.surface and separators.",c.colorGray30),borderInputPrimary:r.extend("--ftds-border-input-primary","Used as border for checkboxes and radio buttons",c.colorGray80),borderNeutralPrimary:r.extend("--ftds-border-neutral-primary","Used as border for neutral secondary buttons",c.colorGray200)};var ed={largeHeight:r.create("--ftds-button-large-height","","SIZE","40px"),largeHorizontalPadding:r.extend("--ftds-button-large-horizontal-padding","",c.spacing4),largeGap:r.extend("--ftds-button-large-gap","",c.spacing2),largeBorderRadius:r.extend("--ftds-button-large-border-radius","",c.borderRadiusS),largeIconSize:r.extend("--ftds-button-large-icon-size","",c.iconSize3),largeBorderWidth:r.create("--ftds-button-large-border-width","","SIZE","1px"),largeFocusOutlineOffset:r.create("--ftds-button-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-button-large-focus-outline-width","","SIZE","2px"),largeIconOnlyWidth:r.create("--ftds-button-large-icon-only-width","","SIZE","40px"),mediumHeight:r.create("--ftds-button-medium-height","","SIZE","30px"),mediumHorizontalPadding:r.extend("--ftds-button-medium-horizontal-padding","",c.spacing3),mediumGap:r.extend("--ftds-button-medium-gap","",c.spacing2),mediumBorderRadius:r.extend("--ftds-button-medium-border-radius","",c.borderRadiusS),mediumIconSize:r.extend("--ftds-button-medium-icon-size","",c.iconSize2),mediumBorderWidth:r.create("--ftds-button-medium-border-width","","SIZE","1px"),mediumFocusOutlineOffset:r.create("--ftds-button-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-button-medium-focus-outline-width","","SIZE","2px"),mediumIconOnlyWidth:r.create("--ftds-button-medium-icon-only-width","","SIZE","30px"),smallHeight:r.create("--ftds-button-small-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-button-small-horizontal-padding","",c.spacing2),smallGap:r.extend("--ftds-button-small-gap","",c.spacing1),smallBorderRadius:r.extend("--ftds-button-small-border-radius","",c.borderRadiusS),smallIconSize:r.extend("--ftds-button-small-icon-size","",c.iconSize1),smallBorderWidth:r.create("--ftds-button-small-border-width","","SIZE","1px"),smallFocusOutlineOffset:r.create("--ftds-button-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-button-small-focus-outline-width","","SIZE","2px"),smallIconOnlyWidth:r.create("--ftds-button-small-icon-only-width","","SIZE","20px"),xSmallHeight:r.create("--ftds-button-x-small-height","","SIZE","16px"),xSmallIconSize:r.extend("--ftds-button-x-small-icon-size","",c.iconSize1),xSmallFocusOutlineOffset:r.create("--ftds-button-x-small-focus-outline-offset","","SIZE","2px"),xSmallFocusOutlineWidth:r.create("--ftds-button-x-small-focus-outline-width","","SIZE","2px"),xSmallIconOnlyWidth:r.create("--ftds-button-x-small-icon-only-width","","SIZE","16px"),roundBorderRadius:r.extend("--ftds-button-round-border-radius","",c.borderRadiusPill),primaryBrandBackgroundColor:r.extend("--ftds-button-primary-brand-background-color","",d.backgroundActionPrimary),primaryBrandColor:r.extend("--ftds-button-primary-brand-color","",d.contentGlobalOnColor),primaryBrandIconColor:r.extend("--ftds-button-primary-brand-icon-color","",d.contentGlobalOnColor),primaryBrandStateLayerColor:r.extend("--ftds-button-primary-brand-state-layer-color","",d.contentGlobalOnColor),primaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-primary-brand-hover-state-layer-opacity","",c.opacity16),primaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-primary-brand-focus-state-layer-opacity","",c.opacity16),primaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-primary-brand-active-state-layer-opacity","",c.opacity24),primaryBrandDisabledComponentOpacity:r.extend("--ftds-button-primary-brand-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ftds-button-focus-focus-ring-color","",d.borderActionFocusRing),tertiaryBrandBackgroundColor:r.create("--ftds-button-tertiary-brand-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryBrandColor:r.extend("--ftds-button-tertiary-brand-color","",d.contentActionPrimary),tertiaryBrandIconColor:r.extend("--ftds-button-tertiary-brand-icon-color","",d.contentActionPrimary),tertiaryBrandStateLayerColor:r.extend("--ftds-button-tertiary-brand-state-layer-color","",d.contentActionPrimary),tertiaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-hover-state-layer-opacity","",c.opacity8),tertiaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-focus-state-layer-opacity","",c.opacity8),tertiaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-brand-active-state-layer-opacity","",c.opacity16),tertiaryBrandDisabledComponentOpacity:r.extend("--ftds-button-tertiary-brand-disabled-component-opacity","",c.opacity40),tertiaryInfoBackgroundColor:r.create("--ftds-button-tertiary-info-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryInfoColor:r.extend("--ftds-button-tertiary-info-color","",d.contentInfoPrimary),tertiaryInfoIconColor:r.extend("--ftds-button-tertiary-info-icon-color","",d.contentInfoPrimary),tertiaryInfoStateLayerColor:r.extend("--ftds-button-tertiary-info-state-layer-color","",d.contentInfoPrimary),tertiaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-info-focus-state-layer-opacity","",c.opacity8),tertiaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-info-hover-state-layer-opacity","",c.opacity8),tertiaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-info-active-state-layer-opacity","",c.opacity16),tertiaryInfoDisabledComponentOpacity:r.extend("--ftds-button-tertiary-info-disabled-component-opacity","",c.opacity40),tertiarySuccessBackgroundColor:r.create("--ftds-button-tertiary-success-background-color","","COLOR","rgba(0,0,0,0)"),tertiarySuccessColor:r.extend("--ftds-button-tertiary-success-color","",d.contentSuccessPrimary),tertiarySuccessIconColor:r.extend("--ftds-button-tertiary-success-icon-color","",d.contentSuccessPrimary),tertiarySuccessStateLayerColor:r.extend("--ftds-button-tertiary-success-state-layer-color","",d.contentSuccessPrimary),tertiarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-success-hover-state-layer-opacity","",c.opacity8),tertiarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-success-focus-state-layer-opacity","",c.opacity8),tertiarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-success-active-state-layer-opacity","",c.opacity16),tertiarySuccessDisabledComponentOpacity:r.extend("--ftds-button-tertiary-success-disabled-component-opacity","",c.opacity40),tertiaryWarningBackgroundColor:r.create("--ftds-button-tertiary-warning-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryWarningColor:r.extend("--ftds-button-tertiary-warning-color","",d.contentWarningPrimary),tertiaryWarningIconColor:r.extend("--ftds-button-tertiary-warning-icon-color","",d.contentWarningPrimary),tertiaryWarningStateLayerColor:r.extend("--ftds-button-tertiary-warning-state-layer-color","",d.contentWarningPrimary),tertiaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-hover-state-layer-opacity","",c.opacity8),tertiaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-focus-state-layer-opacity","",c.opacity8),tertiaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-warning-active-state-layer-opacity","",c.opacity16),tertiaryWarningDisabledComponentOpacity:r.extend("--ftds-button-tertiary-warning-disabled-component-opacity","",c.opacity40),tertiaryErrorBackgroundColor:r.create("--ftds-button-tertiary-error-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryErrorColor:r.extend("--ftds-button-tertiary-error-color","",d.contentErrorPrimary),tertiaryErrorIconColor:r.extend("--ftds-button-tertiary-error-icon-color","",d.contentErrorPrimary),tertiaryErrorStateLayerColor:r.extend("--ftds-button-tertiary-error-state-layer-color","",d.contentErrorPrimary),tertiaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-error-hover-state-layer-opacity","",c.opacity8),tertiaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-error-focus-state-layer-opacity","",c.opacity8),tertiaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-error-active-state-layer-opacity","",c.opacity16),tertiaryErrorDisabledComponentOpacity:r.extend("--ftds-button-tertiary-error-disabled-component-opacity","",c.opacity40),tertiaryNeutralBackgroundColor:r.create("--ftds-button-tertiary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),tertiaryNeutralIconColor:r.extend("--ftds-button-tertiary-neutral-icon-color","",d.contentGlobalSecondary),tertiaryNeutralColor:r.extend("--ftds-button-tertiary-neutral-color","",d.contentGlobalSecondary),tertiaryNeutralStateLayerColor:r.extend("--ftds-button-tertiary-neutral-state-layer-color","",d.contentGlobalSecondary),tertiaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-hover-state-layer-opacity","",c.opacity8),tertiaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-focus-state-layer-opacity","",c.opacity8),tertiaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-tertiary-neutral-active-state-layer-opacity","",c.opacity16),tertiaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-tertiary-neutral-disabled-component-opacity","",c.opacity40),secondaryBrandBackgroundColor:r.create("--ftds-button-secondary-brand-background-color","","COLOR","rgba(0,0,0,0)"),secondaryBrandColor:r.extend("--ftds-button-secondary-brand-color","",d.contentActionPrimary),secondaryBrandIconColor:r.extend("--ftds-button-secondary-brand-icon-color","",d.contentActionPrimary),secondaryBrandStateLayerColor:r.extend("--ftds-button-secondary-brand-state-layer-color","",d.contentActionPrimary),secondaryBrandHoverStateLayerOpacity:r.extend("--ftds-button-secondary-brand-hover-state-layer-opacity","",c.opacity8),secondaryBrandFocusStateLayerOpacity:r.extend("--ftds-button-secondary-brand-focus-state-layer-opacity","",c.opacity8),secondaryBrandActiveStateLayerOpacity:r.extend("--ftds-button-secondary-brand-active-state-layer-opacity","",c.opacity16),secondaryBrandDisabledComponentOpacity:r.extend("--ftds-button-secondary-brand-disabled-component-opacity","",c.opacity40),secondaryBrandBorderColor:r.extend("--ftds-button-secondary-brand-border-color","",d.borderActionPrimary),secondaryNeutralHoverStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-hover-state-layer-opacity","",c.opacity8),secondaryNeutralFocusStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-focus-state-layer-opacity","",c.opacity8),secondaryNeutralActiveStateLayerOpacity:r.extend("--ftds-button-secondary-neutral-active-state-layer-opacity","",c.opacity16),secondaryNeutralDisabledComponentOpacity:r.extend("--ftds-button-secondary-neutral-disabled-component-opacity","",c.opacity40),secondaryNeutralBackgroundColor:r.create("--ftds-button-secondary-neutral-background-color","","COLOR","rgba(0,0,0,0)"),secondaryNeutralColor:r.extend("--ftds-button-secondary-neutral-color","",d.contentGlobalSecondary),secondaryNeutralIconColor:r.extend("--ftds-button-secondary-neutral-icon-color","",d.contentGlobalSecondary),secondaryNeutralStateLayerColor:r.extend("--ftds-button-secondary-neutral-state-layer-color","",d.contentGlobalSecondary),secondaryNeutralBorderColor:r.extend("--ftds-button-secondary-neutral-border-color","",d.borderNeutralPrimary),secondaryInfoHoverStateLayerOpacity:r.extend("--ftds-button-secondary-info-hover-state-layer-opacity","",c.opacity8),secondaryInfoFocusStateLayerOpacity:r.extend("--ftds-button-secondary-info-focus-state-layer-opacity","",c.opacity8),secondaryInfoActiveStateLayerOpacity:r.extend("--ftds-button-secondary-info-active-state-layer-opacity","",c.opacity16),secondaryInfoDisabledComponentOpacity:r.extend("--ftds-button-secondary-info-disabled-component-opacity","",c.opacity40),secondaryInfoBackgroundColor:r.create("--ftds-button-secondary-info-background-color","","COLOR","rgba(0,0,0,0)"),secondaryInfoBorderColor:r.extend("--ftds-button-secondary-info-border-color","",d.borderInfoPrimary),secondaryInfoColor:r.extend("--ftds-button-secondary-info-color","",d.contentInfoPrimary),secondaryInfoIconColor:r.extend("--ftds-button-secondary-info-icon-color","",d.contentInfoPrimary),secondaryInfoStateLayerColor:r.extend("--ftds-button-secondary-info-state-layer-color","",d.contentInfoPrimary),secondarySuccessHoverStateLayerOpacity:r.extend("--ftds-button-secondary-success-hover-state-layer-opacity","",c.opacity8),secondarySuccessFocusStateLayerOpacity:r.extend("--ftds-button-secondary-success-focus-state-layer-opacity","",c.opacity8),secondarySuccessActiveStateLayerOpacity:r.extend("--ftds-button-secondary-success-active-state-layer-opacity","",c.opacity16),secondarySuccessDisabledComponentOpacity:r.extend("--ftds-button-secondary-success-disabled-component-opacity","",c.opacity40),secondarySuccessBackgroundColor:r.create("--ftds-button-secondary-success-background-color","","COLOR","rgba(0,0,0,0)"),secondarySuccessBorderColor:r.extend("--ftds-button-secondary-success-border-color","",d.borderSuccessPrimary),secondarySuccessColor:r.extend("--ftds-button-secondary-success-color","",d.contentSuccessPrimary),secondarySuccessIconColor:r.extend("--ftds-button-secondary-success-icon-color","",d.contentSuccessPrimary),secondarySuccessStateLayerColor:r.extend("--ftds-button-secondary-success-state-layer-color","",d.contentSuccessPrimary),secondaryWarningHoverStateLayerOpacity:r.extend("--ftds-button-secondary-warning-hover-state-layer-opacity","",c.opacity8),secondaryWarningFocusStateLayerOpacity:r.extend("--ftds-button-secondary-warning-focus-state-layer-opacity","",c.opacity8),secondaryWarningActiveStateLayerOpacity:r.extend("--ftds-button-secondary-warning-active-state-layer-opacity","",c.opacity16),secondaryWarningDisabledComponentOpacity:r.extend("--ftds-button-secondary-warning-disabled-component-opacity","",c.opacity40),secondaryWarningBackgroundColor:r.create("--ftds-button-secondary-warning-background-color","","COLOR","rgba(0,0,0,0)"),secondaryWarningBorderColor:r.extend("--ftds-button-secondary-warning-border-color","",d.borderWarningPrimary),secondaryWarningColor:r.extend("--ftds-button-secondary-warning-color","",d.contentWarningPrimary),secondaryWarningIconColor:r.extend("--ftds-button-secondary-warning-icon-color","",d.contentWarningPrimary),secondaryWarningStateLayerColor:r.extend("--ftds-button-secondary-warning-state-layer-color","",d.contentWarningPrimary),secondaryErrorHoverStateLayerOpacity:r.extend("--ftds-button-secondary-error-hover-state-layer-opacity","",c.opacity8),secondaryErrorFocusStateLayerOpacity:r.extend("--ftds-button-secondary-error-focus-state-layer-opacity","",c.opacity8),secondaryErrorActiveStateLayerOpacity:r.extend("--ftds-button-secondary-error-active-state-layer-opacity","",c.opacity16),secondaryErrorDisabledComponentOpacity:r.extend("--ftds-button-secondary-error-disabled-component-opacity","",c.opacity40),secondaryErrorBackgroundColor:r.create("--ftds-button-secondary-error-background-color","","COLOR","rgba(0,0,0,0)"),secondaryErrorBorderColor:r.extend("--ftds-button-secondary-error-border-color","",d.contentErrorPrimary),secondaryErrorColor:r.extend("--ftds-button-secondary-error-color","",d.contentErrorPrimary),secondaryErrorIconColor:r.extend("--ftds-button-secondary-error-icon-color","",d.contentErrorPrimary),secondaryErrorStateLayerColor:r.extend("--ftds-button-secondary-error-state-layer-color","",d.contentErrorPrimary)};var td={borderRadius:r.extend("--ftds-card-border-radius","",c.borderRadiusS),focusFocusRingColor:r.extend("--ftds-card-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-card-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-card-focus-outline-offset","","SIZE","2px"),headerTitleHorizontalPadding:r.extend("--ftds-card-header-title-horizontal-padding","",c.spacing4),headerTitleVerticalPadding:r.extend("--ftds-card-header-title-vertical-padding","",c.spacing3),headerActionHorizontalPadding:r.extend("--ftds-card-header-action-horizontal-padding","",c.spacing2),headerActionVerticalPadding:r.extend("--ftds-card-header-action-vertical-padding","",c.spacing2),headerActionGap:r.extend("--ftds-card-header-action-gap","",c.spacing1),bodyHorizontalPadding:r.extend("--ftds-card-body-horizontal-padding","",c.spacing4),bodyVerticalPadding:r.extend("--ftds-card-body-vertical-padding","",c.spacing4),footerActionHorizontalPadding:r.extend("--ftds-card-footer-action-horizontal-padding","",c.spacing2),footerActionVerticalPadding:r.extend("--ftds-card-footer-action-vertical-padding","",c.spacing2),footerActionGap:r.extend("--ftds-card-footer-action-gap","",c.spacing1),footerContentHorizontalPadding:r.extend("--ftds-card-footer-content-horizontal-padding","",c.spacing4),footerContentVerticalPadding:r.extend("--ftds-card-footer-content-vertical-padding","",c.spacing3),sideBarHorizontalPadding:r.extend("--ftds-card-side-bar-horizontal-padding","",c.spacing1),sideBarVerticalPadding:r.extend("--ftds-card-side-bar-vertical-padding","",c.spacing1),sideBarGap:r.extend("--ftds-card-side-bar-gap","",c.spacing1),nonSelectableBorderWidth:r.create("--ftds-card-non-selectable-border-width","","SIZE","1px"),nonSelectableStateLayerColor:r.extend("--ftds-card-non-selectable-state-layer-color","",d.contentGlobalPrimary),nonSelectableDefaultBackgroundColor:r.extend("--ftds-card-non-selectable-default-background-color","",d.backgroundGlobalOnSurface),nonSelectableDefaultBorderColor:r.extend("--ftds-card-non-selectable-default-border-color","",d.borderGlobalSecondary),nonSelectableHoverBorderColor:r.extend("--ftds-card-non-selectable-hover-border-color","",d.borderGlobalPrimary),nonSelectableHoverStateLayerOpacity:r.extend("--ftds-card-non-selectable-hover-state-layer-opacity","",c.opacity4),nonSelectableFocusBorderColor:r.extend("--ftds-card-non-selectable-focus-border-color","",d.borderGlobalPrimary),nonSelectableFocusStateLayerOpacity:r.extend("--ftds-card-non-selectable-focus-state-layer-opacity","",c.opacity4),internalBorderColor:r.extend("--ftds-card-internal-border-color","",d.borderGlobalSecondary),selectableUnselectedBorderWidth:r.create("--ftds-card-selectable-unselected-border-width","","SIZE","1px"),selectableUnselectedStateLayerColor:r.extend("--ftds-card-selectable-unselected-state-layer-color","",d.contentGlobalPrimary),selectableUnselectedDefaultBackgroundColor:r.extend("--ftds-card-selectable-unselected-default-background-color","",d.backgroundGlobalOnSurface),selectableUnselectedDefaultBorderColor:r.extend("--ftds-card-selectable-unselected-default-border-color","",d.borderGlobalSecondary),selectableUnselectedHoverBorderColor:r.extend("--ftds-card-selectable-unselected-hover-border-color","",d.borderGlobalPrimary),selectableUnselectedHoverStateLayerOpacity:r.extend("--ftds-card-selectable-unselected-hover-state-layer-opacity","",c.opacity4),selectableUnselectedFocusBorderColor:r.extend("--ftds-card-selectable-unselected-focus-border-color","",d.borderGlobalPrimary),selectableUnselectedFocusStateLayerOpacity:r.extend("--ftds-card-selectable-unselected-focus-state-layer-opacity","",c.opacity4),selectableSelectedBorderColor:r.extend("--ftds-card-selectable-selected-border-color","",d.borderActionPrimary),selectableSelectedBorderWidth:r.create("--ftds-card-selectable-selected-border-width","","SIZE","2px"),selectableSelectedStateLayerColor:r.extend("--ftds-card-selectable-selected-state-layer-color","",d.contentActionPrimary),selectableSelectedBackgroundColor:r.extend("--ftds-card-selectable-selected-background-color","",d.backgroundGlobalSurface),selectableSelectedDefaultStateLayerOpacity:r.extend("--ftds-card-selectable-selected-default-state-layer-opacity","",c.opacity4),selectableSelectedHoverStateLayerOpacity:r.extend("--ftds-card-selectable-selected-hover-state-layer-opacity","",c.opacity4),selectableSelectedFocusStateLayerOpacity:r.extend("--ftds-card-selectable-selected-focus-state-layer-opacity","",c.opacity4),internalBorderWidth:r.create("--ftds-card-internal-border-width","","SIZE","1px")};var rd={borderRadius:r.extend("--ftds-event-card-border-radius","",c.borderRadiusS),borderWidth:r.create("--ftds-event-card-border-width","","SIZE","1px"),backgroundColor:r.extend("--ftds-event-card-background-color","",d.backgroundGlobalSurface),thumbnailWidth:r.extend("--ftds-event-card-thumbnail-width","",c.spacing8),thumbnailIconSize:r.extend("--ftds-event-card-thumbnail-icon-size","",c.iconSize4),slotHorizontalPadding:r.extend("--ftds-event-card-slot-horizontal-padding","",c.spacing2),slotVerticalPadding:r.extend("--ftds-event-card-slot-vertical-padding","",c.spacing2),primaryThumbnailIconColor:r.extend("--ftds-event-card-primary-thumbnail-icon-color","",d.contentGlobalOnColor),secondaryThumbnailBackgroundColor:r.extend("--ftds-event-card-secondary-thumbnail-background-color","",d.backgroundGlobalSurface)};var od={loadMoreIconSize:r.extend("--ftds-tree-list-load-more-icon-size","",c.iconSize2),loadMorePaddingLeft:r.extend("--ftds-tree-list-load-more-padding-left","",c.spacing6),loadMoreUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-unselected-default-border-color","",d.borderGlobalSubtle),loadMoreIconColor:r.extend("--ftds-tree-list-load-more-icon-color","",d.contentActionPrimary),loadMoreLabelColor:r.extend("--ftds-tree-list-load-more-label-color","",d.contentActionPrimary),loadMoreHoverBorderColor:r.extend("--ftds-tree-list-load-more-hover-border-color","",c.colorBrand20),loadMoreHoverBackgroundColor:r.create("--ftds-tree-list-load-more-hover-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreActiveBorderColor:r.extend("--ftds-tree-list-load-more-active-border-color","",c.colorBrand20),loadMoreActiveBackgroundColor:r.create("--ftds-tree-list-load-more-active-background-color","","COLOR","rgba(157,32,123,0.16)"),loadMoreFocusBackgroundColor:r.create("--ftds-tree-list-load-more-focus-background-color","","COLOR","rgba(157,32,123,0.08)"),loadMoreDescendantOfSelectedDefaultBackgroundColor:r.create("--ftds-tree-list-load-more-descendant-of-selected-default-background-color","","COLOR","rgba(113,113,142,0.08)"),loadMoreDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-load-more-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),loadMoreLabelMarginLeft:r.extend("--ftds-tree-list-load-more-label-margin-left","",c.spacing1),nodeIconSize:r.extend("--ftds-tree-list-node-icon-size","",c.iconSize2),nodeHeight:r.create("--ftds-tree-list-node-height","","SIZE","36px"),nodeParentLabelMarginLeft:r.extend("--ftds-tree-list-node-parent-label-margin-left","",c.spacing2),nodeParentLabelMarginRight:r.extend("--ftds-tree-list-node-parent-label-margin-right","",c.spacing2),nodeRootPaddingLeft:r.extend("--ftds-tree-list-node-root-padding-left","",c.spacing6),nodeChildPaddingLeft:r.extend("--ftds-tree-list-node-child-padding-left","",c.spacing5),nodeLeafPaddingLeft:r.extend("--ftds-tree-list-node-leaf-padding-left","",c.spacing6),nodeUnselectedDefaultBorderColor:r.extend("--ftds-tree-list-node-unselected-default-border-color","",d.borderGlobalSubtle),nodeUnselectedIconColor:r.extend("--ftds-tree-list-node-unselected-icon-color","",d.contentGlobalSecondary),nodeUnselectedLabelColor:r.extend("--ftds-tree-list-node-unselected-label-color","",d.contentGlobalSecondary),nodeUnselectedCounterColor:r.extend("--ftds-tree-list-node-unselected-counter-color","",d.contentGlobalSecondary),nodeHoverBorderColor:r.extend("--ftds-tree-list-node-hover-border-color","",d.borderActionPrimary),nodeFocusFocusRingColor:r.extend("--ftds-tree-list-node-focus-focus-ring-color","",d.borderActionFocusRing),nodeFocusOutlineWidth:r.create("--ftds-tree-list-node-focus-outline-width","","SIZE","2px"),nodeSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-selected-default-border-color","",d.borderGlobalPrimary),nodeSelectedIconColor:r.extend("--ftds-tree-list-node-selected-icon-color","",d.contentGlobalSecondary),nodeSelectedLabelColor:r.extend("--ftds-tree-list-node-selected-label-color","",d.contentGlobalPrimary),nodeSelectedCounterColor:r.extend("--ftds-tree-list-node-selected-counter-color","",d.contentGlobalSecondary),nodeSelectedBackgroundColor:r.create("--ftds-tree-list-node-selected-background-color","","COLOR","rgba(113,113,142,0.24)"),nodeDescendantOfSelectedDefaultBorderColor:r.extend("--ftds-tree-list-node-descendant-of-selected-default-border-color","",d.borderGlobalPrimary),nodeDescendantOfSelectedIconColor:r.extend("--ftds-tree-list-node-descendant-of-selected-icon-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedLabelColor:r.extend("--ftds-tree-list-node-descendant-of-selected-label-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedCounterColor:r.extend("--ftds-tree-list-node-descendant-of-selected-counter-color","",d.contentGlobalSecondary),nodeDescendantOfSelectedBackgroundColor:r.create("--ftds-tree-list-node-descendant-of-selected-background-color","","COLOR","rgba(113,113,142,0.08)"),nodeBorderWidth:r.create("--ftds-tree-list-node-border-width","","SIZE","1px"),headerSectionPaddingLeft:r.extend("--ftds-tree-list-header-section-padding-left","",c.spacing6),headerSectionPaddingRight:r.extend("--ftds-tree-list-header-section-padding-right","",c.spacing3),headerSectionHorizontalGap:r.extend("--ftds-tree-list-header-section-horizontal-gap","",c.spacing2),headerSectionMarginBottom:r.extend("--ftds-tree-list-header-section-margin-bottom","",c.spacing2),headerSectionColor:r.extend("--ftds-tree-list-header-section-color","",d.contentGlobalPrimary),headerSectionCounterColor:r.extend("--ftds-tree-list-header-section-counter-color","",d.contentGlobalSecondary),listContainerBorderWidth:r.create("--ftds-tree-list-list-container-border-width","","SIZE","1px"),listContainerBackgroundColor:r.extend("--ftds-tree-list-list-container-background-color","",d.backgroundGlobalSurface),listContainerBorderColor:r.extend("--ftds-tree-list-list-container-border-color","",d.borderGlobalSubtle),emptyStateIllustrationWidth:r.create("--ftds-tree-list-empty-state-illustration-width","","SIZE","192px"),emptyStateIllustrationHeight:r.create("--ftds-tree-list-empty-state-illustration-height","","SIZE","192px"),emptyStateIllustrationMarginBottom:r.extend("--ftds-tree-list-empty-state-illustration-margin-bottom","",c.spacing10),emptyStateContainerPaddingTop:r.extend("--ftds-tree-list-empty-state-container-padding-top","",c.spacing10),emptyStateContainerPaddingBottom:r.extend("--ftds-tree-list-empty-state-container-padding-bottom","",c.spacing10),emptyStateTitleMarginBottom:r.extend("--ftds-tree-list-empty-state-title-margin-bottom","",c.spacing2),emptyStateTitleLabelColor:r.extend("--ftds-tree-list-empty-state-title-label-color","",d.contentGlobalSecondary),emptyStateDescriptionLabelColor:r.extend("--ftds-tree-list-empty-state-description-label-color","",d.contentGlobalSecondary)};var nd={titleColor:r.extend("--ftds-sticky-toc-title-color","",d.contentGlobalSubtle),titleGap:r.extend("--ftds-sticky-toc-title-gap","",c.spacing2),itemGap:r.create("--ftds-sticky-toc-item-gap","","SIZE","0px"),itemHorizontalPadding:r.extend("--ftds-sticky-toc-item-horizontal-padding","",c.spacing4),itemVerticalPadding:r.extend("--ftds-sticky-toc-item-vertical-padding","",c.spacing3),itemBorderRadius:r.extend("--ftds-sticky-toc-item-border-radius","",c.borderRadiusS),itemBorderWidth:r.create("--ftds-sticky-toc-item-border-width","","SIZE","1px"),itemFocusFocusRingColor:r.extend("--ftds-sticky-toc-item-focus-focus-ring-color","",d.borderActionFocusRing),itemFocusFocusRingWidth:r.create("--ftds-sticky-toc-item-focus-focus-ring-width","","SIZE","3px"),itemRootDefaultLabelColor:r.extend("--ftds-sticky-toc-item-root-default-label-color","",d.contentGlobalSecondary),itemRootDefaultBorderColor:r.extend("--ftds-sticky-toc-item-root-default-border-color","",d.borderGlobalSubtle),itemRootHoverLabelColor:r.extend("--ftds-sticky-toc-item-root-hover-label-color","",d.contentGlobalSecondary),itemRootHoverBorderColor:r.extend("--ftds-sticky-toc-item-root-hover-border-color","",d.borderGlobalSubtle),itemRootHoverStateLayerColor:r.extend("--ftds-sticky-toc-item-root-hover-state-layer-color","",d.contentGlobalSecondary),itemRootHoverStateLayerOpacity:r.extend("--ftds-sticky-toc-item-root-hover-state-layer-opacity","",c.opacity8),itemRootFocusLabelColor:r.extend("--ftds-sticky-toc-item-root-focus-label-color","",d.contentGlobalSecondary),itemRootFocusStateLayerColor:r.extend("--ftds-sticky-toc-item-root-focus-state-layer-color","",d.contentGlobalSecondary),itemRootFocusStateLayerOpacity:r.extend("--ftds-sticky-toc-item-root-focus-state-layer-opacity","",c.opacity8),itemRootSelectedLabelColor:r.extend("--ftds-sticky-toc-item-root-selected-label-color","",d.contentActionPrimary),itemRootSelectedBorderColor:r.extend("--ftds-sticky-toc-item-root-selected-border-color","",d.borderActionPrimary),itemRootSelectedBorderWidth:r.create("--ftds-sticky-toc-item-root-selected-border-width","","SIZE","3px"),itemRootSelectedStateLayerColor:r.extend("--ftds-sticky-toc-item-root-selected-state-layer-color","",d.contentActionPrimary),itemRootSelectedStateLayerOpacity:r.extend("--ftds-sticky-toc-item-root-selected-state-layer-opacity","",c.opacity8),itemRootChildrenActiveLabelColor:r.extend("--ftds-sticky-toc-item-root-children-active-label-color","",d.contentActionPrimary),itemRootChildrenActiveBorderColor:r.extend("--ftds-sticky-toc-item-root-children-active-border-color","",d.borderGlobalSubtle),itemChildDefaultLabelColor:r.extend("--ftds-sticky-toc-item-child-default-label-color","",d.contentGlobalSubtle),itemChildDefaultBorderColor:r.extend("--ftds-sticky-toc-item-child-default-border-color","",d.borderGlobalSubtle),itemChildHoverLabelColor:r.extend("--ftds-sticky-toc-item-child-hover-label-color","",d.contentGlobalSubtle),itemChildHoverBorderColor:r.extend("--ftds-sticky-toc-item-child-hover-border-color","",d.borderGlobalSubtle),itemChildHoverStateLayerColor:r.extend("--ftds-sticky-toc-item-child-hover-state-layer-color","",d.contentGlobalSecondary),itemChildHoverStateLayerOpacity:r.extend("--ftds-sticky-toc-item-child-hover-state-layer-opacity","",c.opacity8),itemChildFocusLabelColor:r.extend("--ftds-sticky-toc-item-child-focus-label-color","",d.contentGlobalSubtle),itemChildFocusStateLayerColor:r.extend("--ftds-sticky-toc-item-child-focus-state-layer-color","",d.contentGlobalSecondary),itemChildFocusStateLayerOpacity:r.extend("--ftds-sticky-toc-item-child-focus-state-layer-opacity","",c.opacity8),itemChildSelectedLabelColor:r.extend("--ftds-sticky-toc-item-child-selected-label-color","",d.contentActionPrimary),itemChildSelectedBorderColor:r.extend("--ftds-sticky-toc-item-child-selected-border-color","",d.borderActionPrimary),itemChildSelectedBorderWidth:r.create("--ftds-sticky-toc-item-child-selected-border-width","","SIZE","3px"),itemChildSelectedStateLayerColor:r.extend("--ftds-sticky-toc-item-child-selected-state-layer-color","",d.contentActionPrimary),itemChildSelectedStateLayerOpacity:r.extend("--ftds-sticky-toc-item-child-selected-state-layer-opacity","",c.opacity8)};var id={iconSize:r.extend("--ftds-checkbox-icon-size","",c.iconSize2),boxSize:r.create("--ftds-checkbox-box-size","","SIZE","18px"),colorLegendSize:r.create("--ftds-checkbox-color-legend-size","","SIZE","16px"),borderRadius:r.create("--ftds-checkbox-border-radius","","SIZE","1px"),labelHorizontalGap:r.extend("--ftds-checkbox-label-horizontal-gap","",c.spacing2),color:r.extend("--ftds-checkbox-color","",d.contentGlobalPrimary),checkedBackgroundColor:r.extend("--ftds-checkbox-checked-background-color","",d.contentActionPrimary),checkedStateLayerColor:r.extend("--ftds-checkbox-checked-state-layer-color","",d.contentActionPrimary),checkedIconColor:r.extend("--ftds-checkbox-checked-icon-color","",d.contentGlobalOnColor),checkedHoverStateLayerOpacity:r.extend("--ftds-checkbox-checked-hover-state-layer-opacity","",c.opacity16),checkedFocusStateLayerOpacity:r.extend("--ftds-checkbox-checked-focus-state-layer-opacity","",c.opacity16),checkedActiveStateLayerOpacity:r.extend("--ftds-checkbox-checked-active-state-layer-opacity","",c.opacity24),checkedDisabledComponentOpacity:r.extend("--ftds-checkbox-checked-disabled-component-opacity","",c.opacity40),uncheckedBorderColor:r.extend("--ftds-checkbox-unchecked-border-color","",c.colorGray80),uncheckedStateLayerColor:r.extend("--ftds-checkbox-unchecked-state-layer-color","",c.colorGray80),uncheckedHoverStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-hover-state-layer-opacity","",c.opacity16),uncheckedFocusStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-focus-state-layer-opacity","",c.opacity16),uncheckedActiveStateLayerOpacity:r.extend("--ftds-checkbox-unchecked-active-state-layer-opacity","",c.opacity24),uncheckedDisabledComponentOpacity:r.extend("--ftds-checkbox-unchecked-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ftds-checkbox-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-checkbox-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-checkbox-focus-outline-width","","SIZE","2px"),focusOutlineBorderRadius:r.create("--ftds-checkbox-focus-outline-border-radius","","SIZE","2px"),borderWidth:r.create("--ftds-checkbox-border-width","","SIZE","2px"),horizontalGap:r.extend("--ftds-checkbox-horizontal-gap","",c.spacing3),helperPaddingTop:r.create("--ftds-checkbox-helper-padding-top","","SIZE","0px"),helperIconSize:r.extend("--ftds-checkbox-helper-icon-size","",c.iconSize2),helperHorizontalGap:r.extend("--ftds-checkbox-helper-horizontal-gap","",c.spacing1),errorUncheckedBorderColor:r.extend("--ftds-checkbox-error-unchecked-border-color","",d.borderErrorPrimary),errorStateLayerColor:r.extend("--ftds-checkbox-error-state-layer-color","",d.contentErrorPrimary),errorHelperTextColor:r.extend("--ftds-checkbox-error-helper-text-color","",d.borderErrorPrimary),errorCheckedBackgroundColor:r.extend("--ftds-checkbox-error-checked-background-color","",d.contentErrorPrimary),helperTextColor:r.extend("--ftds-checkbox-helper-text-color","",d.contentGlobalSubtle),groupVerticalGap:r.extend("--ftds-checkbox-group-vertical-gap","",c.spacing3)};var ad={circleSize:r.create("--ftds-radio-circle-size","","SIZE","18px"),borderWidth:r.create("--ftds-radio-border-width","","SIZE","2px"),color:r.extend("--ftds-radio-color","",d.contentGlobalPrimary),selectedRadioColor:r.extend("--ftds-radio-selected-radio-color","",d.contentActionPrimary),selectedStateLayerColor:r.extend("--ftds-radio-selected-state-layer-color","",d.contentActionPrimary),selectedHoverStateLayerOpacity:r.extend("--ftds-radio-selected-hover-state-layer-opacity","",c.opacity16),selectedFocusStateLayerOpacity:r.extend("--ftds-radio-selected-focus-state-layer-opacity","",c.opacity16),selectedActiveStateLayerOpacity:r.extend("--ftds-radio-selected-active-state-layer-opacity","",c.opacity24),selectedDisabledComponentOpacity:r.extend("--ftds-radio-selected-disabled-component-opacity","",c.opacity40),unselectedStateLayerColor:r.extend("--ftds-radio-unselected-state-layer-color","",d.borderInputPrimary),unselectedBorderColor:r.extend("--ftds-radio-unselected-border-color","",d.borderInputPrimary),unselectedHoverStateLayerOpacity:r.extend("--ftds-radio-unselected-hover-state-layer-opacity","",c.opacity16),unselectedFocusStateLayerOpacity:r.extend("--ftds-radio-unselected-focus-state-layer-opacity","",c.opacity16),unselectedActiveStateLayerOpacity:r.extend("--ftds-radio-unselected-active-state-layer-opacity","",c.opacity24),unselectedDisabledComponentOpacity:r.extend("--ftds-radio-unselected-disabled-component-opacity","",c.opacity40),focusFocusRingColor:r.extend("--ftds-radio-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-radio-focus-outline-offset","","SIZE","3px"),focusOutlineWidth:r.create("--ftds-radio-focus-outline-width","","SIZE","2px"),verticalGap:r.extend("--ftds-radio-vertical-gap","",c.spacing3),horizontalGap:r.extend("--ftds-radio-horizontal-gap","",c.spacing3)};var sd={headerRowBorderWidth:r.create("--ftds-table-header-row-border-width","","SIZE","1px"),headerRowBackgroundColor:r.extend("--ftds-table-header-row-background-color","",d.backgroundGlobalOnSurfaceDark),headerRowBorderColor:r.extend("--ftds-table-header-row-border-color","",d.borderGlobalPrimary),headerRowColor:r.extend("--ftds-table-header-row-color","",d.contentGlobalPrimary),dataRowBorderWidth:r.create("--ftds-table-data-row-border-width","","SIZE","1px"),dataRowBackgroundColor:r.extend("--ftds-table-data-row-background-color","",d.backgroundGlobalOnSurface),dataRowBorderColor:r.extend("--ftds-table-data-row-border-color","",d.borderGlobalSubtle),dataRowColor:r.extend("--ftds-table-data-row-color","",d.contentGlobalSecondary),dataRowDefaultHoverBackgroundColor:r.extend("--ftds-table-data-row-default-hover-background-color","",c.colorGray20),dataRowSelectableUnselectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-unselected-hover-background-color","",c.colorGray20),dataRowSelectableSelectedDefaultBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-default-background-color","",c.colorBrand10),dataRowSelectableSelectedDefaultBorderColor:r.extend("--ftds-table-data-row-selectable-selected-default-border-color","",c.colorBrand20),dataRowSelectableSelectedHoverBackgroundColor:r.extend("--ftds-table-data-row-selectable-selected-hover-background-color","",c.colorBrand20),dataRowSelectableSelectedHoverBorderColor:r.extend("--ftds-table-data-row-selectable-selected-hover-border-color","",c.colorBrand30),dataRowSelectableSelectedColor:r.extend("--ftds-table-data-row-selectable-selected-color","",d.contentActionPrimary),dataRowClickableHoverBackgroundColor:r.extend("--ftds-table-data-row-clickable-hover-background-color","",c.colorGray30),dataRowClickableFocusBorderColor:r.extend("--ftds-table-data-row-clickable-focus-border-color","",d.borderActionFocusRing),dataRowClickableFocusBackgroundColor:r.extend("--ftds-table-data-row-clickable-focus-background-color","",c.colorGray30),dataRowClickableActiveBackgroundColor:r.extend("--ftds-table-data-row-clickable-active-background-color","",c.colorGray40),headerCellHorizontalGap:r.extend("--ftds-table-header-cell-horizontal-gap","",c.spacing1),headerCellVerticalPadding:r.extend("--ftds-table-header-cell-vertical-padding","",c.spacing2),headerCellHorizontalPadding:r.extend("--ftds-table-header-cell-horizontal-padding","",c.spacing3),dataCellVerticalPadding:r.extend("--ftds-table-data-cell-vertical-padding","",c.spacing2),dataCellHorizontalPadding:r.extend("--ftds-table-data-cell-horizontal-padding","",c.spacing3),dataCellVerticalGap:r.extend("--ftds-table-data-cell-vertical-gap","",c.spacing1)};var cd={neutralOffHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-hover-state-layer-opacity","",c.opacity8),neutralOffFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-focus-state-layer-opacity","",c.opacity8),neutralOffFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-off-focus-focus-ring-color","",d.borderActionFocusRing),neutralOffActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-off-active-state-layer-opacity","",c.opacity16),neutralOffBackgroundColor:r.extend("--ftds-chip-choice-neutral-off-background-color","",d.backgroundGlobalOnSurface),neutralOffBorderColor:r.extend("--ftds-chip-choice-neutral-off-border-color","",d.borderGlobalPrimary),neutralOffColor:r.extend("--ftds-chip-choice-neutral-off-color","",d.contentGlobalSecondary),neutralOffStateLayerColor:r.extend("--ftds-chip-choice-neutral-off-state-layer-color","",d.contentGlobalSecondary),neutralOnDefaultStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-default-state-layer-opacity","",c.opacity16),neutralOnHoverStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-hover-state-layer-opacity","",c.opacity24),neutralOnFocusStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-focus-state-layer-opacity","",c.opacity24),neutralOnFocusFocusRingColor:r.extend("--ftds-chip-choice-neutral-on-focus-focus-ring-color","",d.borderActionFocusRing),neutralOnActiveStateLayerOpacity:r.extend("--ftds-chip-choice-neutral-on-active-state-layer-opacity","",c.opacity32),neutralOnBackgroundColor:r.extend("--ftds-chip-choice-neutral-on-background-color","",d.backgroundGlobalOnSurface),neutralOnBorderColor:r.extend("--ftds-chip-choice-neutral-on-border-color","",d.borderGlobalPrimary),neutralOnColor:r.extend("--ftds-chip-choice-neutral-on-color","",d.contentGlobalPrimary),neutralOnIconColor:r.extend("--ftds-chip-choice-neutral-on-icon-color","",d.contentGlobalPrimary),neutralOnStateLayerColor:r.extend("--ftds-chip-choice-neutral-on-state-layer-color","",d.contentGlobalPrimary),largeMinHeight:r.create("--ftds-chip-choice-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-choice-large-horizontal-padding","",c.spacing3),largeGap:r.extend("--ftds-chip-choice-large-gap","",c.spacing1),largeBorderRadius:r.create("--ftds-chip-choice-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-choice-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-choice-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ftds-chip-choice-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-choice-medium-horizontal-padding","",c.spacing2),mediumGap:r.extend("--ftds-chip-choice-medium-gap","",c.spacing1),mediumBorderRadius:r.create("--ftds-chip-choice-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-choice-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-choice-medium-icon-size","",c.iconSize2)};var ld={largeMinHeight:r.create("--ftds-chip-large-min-height","","SIZE","36px"),largeHorizontalPadding:r.extend("--ftds-chip-large-horizontal-padding","",c.spacing3),largeButtonRightPadding:r.extend("--ftds-chip-large-button-right-padding","",c.spacing1),largeGap:r.extend("--ftds-chip-large-gap","",c.spacing1),largeFocusOutlineOffset:r.create("--ftds-chip-large-focus-outline-offset","","SIZE","2px"),largeFocusOutlineWidth:r.create("--ftds-chip-large-focus-outline-width","","SIZE","2px"),largeBorderRadius:r.create("--ftds-chip-large-border-radius","","SIZE","18px"),largeBorderWidth:r.create("--ftds-chip-large-border-width","","SIZE","1px"),largeIconSize:r.extend("--ftds-chip-large-icon-size","",c.iconSize3),mediumMinHeight:r.create("--ftds-chip-medium-min-height","","SIZE","24px"),mediumHorizontalPadding:r.extend("--ftds-chip-medium-horizontal-padding","",c.spacing2),mediumButtonRightPadding:r.extend("--ftds-chip-medium-button-right-padding","",c.spacing05),mediumGap:r.extend("--ftds-chip-medium-gap","",c.spacing1),mediumFocusOutlineOffset:r.create("--ftds-chip-medium-focus-outline-offset","","SIZE","2px"),mediumFocusOutlineWidth:r.create("--ftds-chip-medium-focus-outline-width","","SIZE","2px"),mediumBorderRadius:r.create("--ftds-chip-medium-border-radius","","SIZE","12px"),mediumBorderWidth:r.create("--ftds-chip-medium-border-width","","SIZE","1px"),mediumIconSize:r.extend("--ftds-chip-medium-icon-size","",c.iconSize2),smallMinHeight:r.create("--ftds-chip-small-min-height","","SIZE","20px"),smallHorizontalPadding:r.extend("--ftds-chip-small-horizontal-padding","",c.spacing1),smallButtonRightPadding:r.extend("--ftds-chip-small-button-right-padding","",c.spacing05),smallGap:r.extend("--ftds-chip-small-gap","",c.spacing1),smallFocusOutlineOffset:r.create("--ftds-chip-small-focus-outline-offset","","SIZE","2px"),smallFocusOutlineWidth:r.create("--ftds-chip-small-focus-outline-width","","SIZE","2px"),smallBorderRadius:r.create("--ftds-chip-small-border-radius","","SIZE","10px"),smallBorderWidth:r.create("--ftds-chip-small-border-width","","SIZE","1px"),smallIconSize:r.extend("--ftds-chip-small-icon-size","",c.iconSize1),neutralBackgroundColor:r.extend("--ftds-chip-neutral-background-color","",d.backgroundGlobalOnSurface),neutralColor:r.extend("--ftds-chip-neutral-color","",d.contentGlobalSecondary),neutralIconColor:r.extend("--ftds-chip-neutral-icon-color","",d.contentGlobalSecondary),neutralBorderColor:r.extend("--ftds-chip-neutral-border-color","",d.borderGlobalSecondary),infoBackgroundColor:r.extend("--ftds-chip-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ftds-chip-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-chip-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-chip-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-chip-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ftds-chip-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ftds-chip-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-chip-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-chip-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ftds-chip-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ftds-chip-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-chip-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-chip-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ftds-chip-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ftds-chip-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-chip-error-border-color","",d.borderErrorSubtle)};var dd={horizontalGap:r.extend("--ftds-chip-group-horizontal-gap","",c.spacing2),verticalGap:r.extend("--ftds-chip-group-vertical-gap","",c.spacing2),countChipDefaultBackgroundColor:r.extend("--ftds-chip-group-count-chip-default-background-color","",c.colorBrand10),countChipDefaultBorderColor:r.extend("--ftds-chip-group-count-chip-default-border-color","",c.colorBrand60),countChipDefaultContentColor:r.extend("--ftds-chip-group-count-chip-default-content-color","",d.contentActionPrimary),countChipHoverBackgroundColor:r.extend("--ftds-chip-group-count-chip-hover-background-color","",c.colorBrand20),countChipHoverBorderColor:r.extend("--ftds-chip-group-count-chip-hover-border-color","",c.colorBrand70),countChipHoverContentColor:r.extend("--ftds-chip-group-count-chip-hover-content-color","",d.contentActionPrimary),countChipFocusedBackgroundColor:r.extend("--ftds-chip-group-count-chip-focused-background-color","",c.colorBrand20),countChipFocusedBorderColor:r.extend("--ftds-chip-group-count-chip-focused-border-color","",c.colorBrand70),countChipFocusedContentColor:r.extend("--ftds-chip-group-count-chip-focused-content-color","",d.contentActionPrimary)};var ud={brandHoverOpacity:r.extend("--ftds-link-brand-hover-opacity","",c.opacity80),brandHoverColor:r.extend("--ftds-link-brand-hover-color","",d.contentActionPrimary),brandFocusFocusRingColor:r.extend("--ftds-link-brand-focus-focus-ring-color","",d.borderActionFocusRing),brandFocusColor:r.extend("--ftds-link-brand-focus-color","",d.contentActionPrimary),brandDefaultColor:r.extend("--ftds-link-brand-default-color","",d.contentActionPrimary),brandActiveColor:r.extend("--ftds-link-brand-active-color","",d.contentActionPrimary),infoHoverOpacity:r.extend("--ftds-link-info-hover-opacity","",c.opacity80),infoHoverColor:r.extend("--ftds-link-info-hover-color","",d.contentInfoPrimary),infoFocusFocusRingColor:r.extend("--ftds-link-info-focus-focus-ring-color","",d.borderActionFocusRing),infoFocusColor:r.extend("--ftds-link-info-focus-color","",d.contentInfoPrimary),infoDefaultColor:r.extend("--ftds-link-info-default-color","",d.contentInfoPrimary),infoActiveColor:r.extend("--ftds-link-info-active-color","",d.contentInfoPrimary),neutralFocusFocusRingColor:r.extend("--ftds-link-neutral-focus-focus-ring-color","",d.borderActionFocusRing),neutralFocusColor:r.extend("--ftds-link-neutral-focus-color","",d.contentActionPrimary),neutralDefaultColor:r.extend("--ftds-link-neutral-default-color","",d.contentGlobalPrimary),neutralHoverColor:r.extend("--ftds-link-neutral-hover-color","",d.contentActionPrimary),neutralActiveColor:r.extend("--ftds-link-neutral-active-color","",d.contentActionPrimary),neutralVisitedColor:r.extend("--ftds-link-neutral-visited-color","",c.colorBrand100),horizontalGap:r.extend("--ftds-link-horizontal-gap","",c.spacing1)};var pd={iconSize:r.extend("--ftds-banner-icon-size","",c.iconSize5),borderWidth:r.create("--ftds-banner-border-width","","SIZE","1px"),leftPadding:r.extend("--ftds-banner-left-padding","",c.spacing6),rightPadding:r.extend("--ftds-banner-right-padding","",c.spacing6),verticalPadding:r.extend("--ftds-banner-vertical-padding","",c.spacing6),horizontalSideGap:r.extend("--ftds-banner-horizontal-side-gap","",c.spacing6),horizontalMobileGap:r.extend("--ftds-banner-horizontal-mobile-gap","",c.spacing4),verticalMobileGap:r.extend("--ftds-banner-vertical-mobile-gap","",c.spacing6),horizontalMiddleGap:r.extend("--ftds-banner-horizontal-middle-gap","",c.spacing20),infoBackgroundColor:r.extend("--ftds-banner-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ftds-banner-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-banner-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-banner-info-border-color","",d.borderInfoSubtle)};var fd={horizontalPadding:r.extend("--ftds-badge-horizontal-padding","",c.spacing1),verticalPadding:r.extend("--ftds-badge-vertical-padding","",c.spacing1),borderRadius:r.extend("--ftds-badge-border-radius","",c.borderRadiusPill),color:r.extend("--ftds-badge-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ftds-badge-background-color","",d.contentActionPrimary)};var hd={horizontalGap:r.extend("--ftds-title-breadcrumb-horizontal-gap","",c.spacing1),currentColor:r.extend("--ftds-title-breadcrumb-current-color","",d.contentGlobalPrimary),previousNonClickableColor:r.extend("--ftds-title-breadcrumb-previous-non-clickable-color","",d.contentGlobalSecondary),iconColor:r.extend("--ftds-title-breadcrumb-icon-color","",d.contentGlobalSubtle)};var md={parentHorizontalPadding:r.extend("--ftds-page-header-parent-horizontal-padding","",c.spacing6),parentTopPadding:r.extend("--ftds-page-header-parent-top-padding","",c.spacing4),parentBottomPadding:r.extend("--ftds-page-header-parent-bottom-padding","",c.spacing6),parentHelpLeftMargin:r.extend("--ftds-page-header-parent-help-left-margin","",c.spacing2),parentTitleColor:r.extend("--ftds-page-header-parent-title-color","",d.contentGlobalPrimary),parentSubtitleColor:r.extend("--ftds-page-header-parent-subtitle-color","",d.contentGlobalSecondary),parentChipLeftMargin:r.extend("--ftds-page-header-parent-chip-left-margin","",c.spacing4),parentVerticalGap:r.extend("--ftds-page-header-parent-vertical-gap","",c.spacing2),parentButtonsGroupHorizontalGap:r.extend("--ftds-page-header-parent-buttons-group-horizontal-gap","",c.spacing4),parentButtonsGroupVerticalGap:r.extend("--ftds-page-header-parent-buttons-group-vertical-gap","",c.spacing4),parentChipsGroupHorizontalGap:r.extend("--ftds-page-header-parent-chips-group-horizontal-gap","",c.spacing2),parentChipsGroupVerticalGap:r.extend("--ftds-page-header-parent-chips-group-vertical-gap","",c.spacing2),childHorizontalPadding:r.extend("--ftds-page-header-child-horizontal-padding","",c.spacing6),childTopPadding:r.extend("--ftds-page-header-child-top-padding","",c.spacing2),childBottomPadding:r.extend("--ftds-page-header-child-bottom-padding","",c.spacing2),childHelpLeftMargin:r.extend("--ftds-page-header-child-help-left-margin","",c.spacing1),childChipLeftMargin:r.extend("--ftds-page-header-child-chip-left-margin","",c.spacing4),childVerticalGap:r.extend("--ftds-page-header-child-vertical-gap","",c.spacing2),childMinHeight:r.create("--ftds-page-header-child-min-height","","SIZE","40px"),childButtonsGroupHorizontalGap:r.extend("--ftds-page-header-child-buttons-group-horizontal-gap","",c.spacing4),childButtonsGroupVerticalGap:r.extend("--ftds-page-header-child-buttons-group-vertical-gap","",c.spacing4),childChipsGroupHorizontalGap:r.extend("--ftds-page-header-child-chips-group-horizontal-gap","",c.spacing2),childChipsGroupVerticalGap:r.extend("--ftds-page-header-child-chips-group-vertical-gap","",c.spacing2),backgroundColor:r.extend("--ftds-page-header-background-color","",c.colorWhite),bottomBorderColor:r.extend("--ftds-page-header-bottom-border-color","",d.borderGlobalSubtle),bottomBorderWidth:r.create("--ftds-page-header-bottom-border-width","","SIZE","1px")};var yd={horizontalPadding:r.extend("--ftds-page-footer-horizontal-padding","",c.spacing6),verticalPadding:r.extend("--ftds-page-footer-vertical-padding","",c.spacing2),verticalGap:r.extend("--ftds-page-footer-vertical-gap","",c.spacing2),minHeight:r.create("--ftds-page-footer-min-height","","SIZE","40px"),backgroundColor:r.extend("--ftds-page-footer-background-color","",c.colorWhite),topBorderColor:r.extend("--ftds-page-footer-top-border-color","",d.borderGlobalSubtle),topBorderWidth:r.create("--ftds-page-footer-top-border-width","","SIZE","1px"),buttonsGroupGap:r.extend("--ftds-page-footer-buttons-group-gap","",c.spacing4)};var gd={contentHorizontalPadding:r.extend("--ftds-page-layout-content-horizontal-padding","",c.spacing6),contentVerticalPadding:r.extend("--ftds-page-layout-content-vertical-padding","",c.spacing6)};var bd={smallContainerTargetWidth:r.create("--ftds-modal-small-container-target-width","","SIZE","560px"),smallContainerMargin:r.extend("--ftds-modal-small-container-margin","",c.spacing6),headerIconSize:r.extend("--ftds-modal-header-icon-size","",c.iconSize3),headerBackgroundColor:r.extend("--ftds-modal-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-modal-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ftds-modal-header-color","",d.contentGlobalPrimary),headerLeadingIconColor:r.extend("--ftds-modal-header-leading-icon-color","",d.contentGlobalPrimary),headerVerticalPadding:r.extend("--ftds-modal-header-vertical-padding","",c.spacing1),headerRightPadding:r.extend("--ftds-modal-header-right-padding","",c.spacing1),headerLeftPadding:r.extend("--ftds-modal-header-left-padding","",c.spacing6),headerGap:r.extend("--ftds-modal-header-gap","",c.spacing2),headerBorderBottomWidth:r.create("--ftds-modal-header-border-bottom-width","","SIZE","1px"),mediumContainerTargetWidth:r.create("--ftds-modal-medium-container-target-width","","SIZE","800px"),mediumContainerMargin:r.extend("--ftds-modal-medium-container-margin","",c.spacing6),largeContainerTargetWidth:r.create("--ftds-modal-large-container-target-width","","SIZE","1040px"),largeContainerMargin:r.extend("--ftds-modal-large-container-margin","",c.spacing6),overlayBackgroundColor:r.extend("--ftds-modal-overlay-background-color","",c.colorGray700),overlayOpacity:r.extend("--ftds-modal-overlay-opacity","",c.opacity40),shadow:r.extend("--ftds-modal-shadow","",c.shadowElevation03),bodyBackgroundColor:r.extend("--ftds-modal-body-background-color","",c.colorWhite),bodyColor:r.extend("--ftds-modal-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-modal-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ftds-modal-body-vertical-padding","",c.spacing6),bodyVerticalGap:r.extend("--ftds-modal-body-vertical-gap","",c.spacing6),borderRadius:r.extend("--ftds-modal-border-radius","",c.borderRadiusM)};var xd={grabberIconSize:r.extend("--ftds-reorderable-list-grabber-icon-size","",c.iconSize2),verticalPadding:r.extend("--ftds-reorderable-list-vertical-padding","",c.spacing4),gap:r.extend("--ftds-reorderable-list-gap","",c.spacing4),itemGap:r.extend("--ftds-reorderable-list-item-gap","",c.spacing2),borderRadius:r.extend("--ftds-reorderable-list-border-radius","",c.borderRadiusM),reorderableItemTitleMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-title-margin-right","",c.spacing6),reorderableItemTitleColor:r.extend("--ftds-reorderable-list-reorderable-item-title-color","",d.contentGlobalPrimary),reorderableItemLeftButtonsGroupMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-margin-right","",c.spacing6),reorderableItemLeftButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-left-buttons-group-horizontal-gap","",c.spacing2),reorderableItemRightButtonsGroupHorizontalGap:r.extend("--ftds-reorderable-list-reorderable-item-right-buttons-group-horizontal-gap","",c.spacing2),reorderableItemUsersCountColor:r.extend("--ftds-reorderable-list-reorderable-item-users-count-color","",d.contentGlobalPrimary),reorderableItemUsersCountMarginRight:r.extend("--ftds-reorderable-list-reorderable-item-users-count-margin-right","",c.spacing6),reorderableItemBackgroundColor:r.extend("--ftds-reorderable-list-reorderable-item-background-color","",d.backgroundGlobalOnSurface),reorderableItemWarningMessageGap:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-gap","",c.spacing1),reorderableItemWarningMessageColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-color","",d.contentWarningPrimary),reorderableItemWarningMessageIconColor:r.extend("--ftds-reorderable-list-reorderable-item-warning-message-icon-color","",d.contentWarningIconOnly),reorderableItemGripColor:r.extend("--ftds-reorderable-list-reorderable-item-grip-color","",d.contentGlobalSecondary),reorderableItemGripOpacity:r.extend("--ftds-reorderable-list-reorderable-item-grip-opacity","",c.opacity48),boxShadow:r.extend("--ftds-reorderable-list-box-shadow","",c.shadowElevation01),borderWidth:r.create("--ftds-reorderable-list-border-width","","SIZE","1px"),reorderableItemsGap:r.extend("--ftds-reorderable-list-reorderable-items-gap","",c.spacing2),leftPadding:r.extend("--ftds-reorderable-list-left-padding","",c.spacing2),rightPadding:r.extend("--ftds-reorderable-list-right-padding","",c.spacing6),borderColor:r.extend("--ftds-reorderable-list-border-color","",d.borderGlobalPrimary),backgroundColor:r.extend("--ftds-reorderable-list-background-color","",d.backgroundGlobalOnSurfaceDark)};var Ed={overlayOpacity:r.extend("--ftds-drawer-overlay-opacity","",c.opacity40),shadow:r.extend("--ftds-drawer-shadow","",c.shadowElevation03),bodyColor:r.extend("--ftds-drawer-body-color","",d.contentGlobalPrimary),bodyHorizontalPadding:r.extend("--ftds-drawer-body-horizontal-padding","",c.spacing6),bodyVerticalPadding:r.extend("--ftds-drawer-body-vertical-padding","",c.spacing6),bodyGap:r.extend("--ftds-drawer-body-gap","",c.spacing6),bodyBackgroundColor:r.extend("--ftds-drawer-body-background-color","",c.colorWhite),headerBackgroundColor:r.extend("--ftds-drawer-header-background-color","",d.backgroundGlobalOnSurface),headerBorderColor:r.extend("--ftds-drawer-header-border-color","",d.borderGlobalSubtle),headerColor:r.extend("--ftds-drawer-header-color","",d.contentGlobalPrimary),headerTrailingIconColor:r.extend("--ftds-drawer-header-trailing-icon-color","",d.contentGlobalSecondary),headerHeight:r.create("--ftds-drawer-header-height","","SIZE","50px"),headerHorizontalPadding:r.extend("--ftds-drawer-header-horizontal-padding","",c.spacing2),headerBorderWidth:r.create("--ftds-drawer-header-border-width","","SIZE","1px"),headerGap:r.extend("--ftds-drawer-header-gap","",c.spacing3),buttonsBarBackgroundColor:r.extend("--ftds-drawer-buttons-bar-background-color","",d.backgroundGlobalOnSurface),buttonsBarBorderColor:r.extend("--ftds-drawer-buttons-bar-border-color","",d.borderGlobalSubtle),buttonsBarColor:r.extend("--ftds-drawer-buttons-bar-color","",d.contentGlobalPrimary),buttonsBarHorizontalPadding:r.extend("--ftds-drawer-buttons-bar-horizontal-padding","",c.spacing6),buttonsBarVerticalPadding:r.extend("--ftds-drawer-buttons-bar-vertical-padding","",c.spacing4),buttonsBarGap:r.extend("--ftds-drawer-buttons-bar-gap","",c.spacing3),buttonsBarBorderWidth:r.create("--ftds-drawer-buttons-bar-border-width","","SIZE","1px"),containerWidth:r.create("--ftds-drawer-container-width","","SIZE","66%"),containerMinWidth:r.create("--ftds-drawer-container-min-width","","SIZE","500px"),containerMaxWidth:r.create("--ftds-drawer-container-max-width","","SIZE","1000px"),containerHeight:r.create("--ftds-drawer-container-height","","SIZE","100%"),overlayBackgroundColor:r.extend("--ftds-drawer-overlay-background-color","",c.colorGray700)};var Sd={offBorderBottomWidth:r.create("--ftds-tabs-off-border-bottom-width","","SIZE","1px"),offHoverStateLayerOpacity:r.extend("--ftds-tabs-off-hover-state-layer-opacity","",c.opacity8),offDefaultStateLayerOpacity:r.extend("--ftds-tabs-off-default-state-layer-opacity","",c.opacity0),offFocusStateLayerOpacity:r.extend("--ftds-tabs-off-focus-state-layer-opacity","",c.opacity8),offDisabledComponentOpacity:r.extend("--ftds-tabs-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ftds-tabs-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-tabs-off-state-layer-color","",d.contentGlobalSubtle),offBorderBottomColor:r.extend("--ftds-tabs-off-border-bottom-color","",d.borderGlobalSubtle),activeTabIndicatorHeight:r.create("--ftds-tabs-active-tab-indicator-height","","SIZE","3px"),topLeftBorderRadius:r.extend("--ftds-tabs-top-left-border-radius","",c.borderRadiusS),topRightBorderRadius:r.extend("--ftds-tabs-top-right-border-radius","",c.borderRadiusS),withLabelHorizontalPadding:r.extend("--ftds-tabs-with-label-horizontal-padding","",c.spacing4),withLabelVerticalPadding:r.extend("--ftds-tabs-with-label-vertical-padding","",c.spacing3),horizontalGap:r.extend("--ftds-tabs-horizontal-gap","",c.spacing1),verticalGap:r.extend("--ftds-tabs-vertical-gap","",c.spacing1),onHoverStateLayerOpacity:r.extend("--ftds-tabs-on-hover-state-layer-opacity","",c.opacity16),onDefaultStateLayerOpacity:r.extend("--ftds-tabs-on-default-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-tabs-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-tabs-on-active-state-layer-opacity","",c.opacity24),onColor:r.extend("--ftds-tabs-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-tabs-on-state-layer-color","",d.contentActionPrimary),onActiveTabIndicatorColor:r.extend("--ftds-tabs-on-active-tab-indicator-color","",d.contentActionPrimary),iconOnlyHorizontalPadding:r.extend("--ftds-tabs-icon-only-horizontal-padding","",c.spacing4),iconOnlyVerticalPadding:r.extend("--ftds-tabs-icon-only-vertical-padding","",c.spacing4),alertTopPadding:r.extend("--ftds-tabs-alert-top-padding","",c.spacing1),alertRightPadding:r.extend("--ftds-tabs-alert-right-padding","",c.spacing05),focusOutlineWidth:r.create("--ftds-tabs-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-tabs-focus-focus-ring-color","",d.borderActionFocusRing),mainIconIconSize:r.extend("--ftds-tabs-main-icon-icon-size","",c.iconSize3),alertIconIconSize:r.extend("--ftds-tabs-alert-icon-icon-size","",c.iconSize2)};var vd={largeFieldHorizontalPadding:r.extend("--ftds-text-input-large-field-horizontal-padding","",c.spacing4),largeFieldHorizontalGap:r.extend("--ftds-text-input-large-field-horizontal-gap","",c.spacing3),largeFieldVerticalGap:r.extend("--ftds-text-input-large-field-vertical-gap","",c.spacing05),largeFieldHeight:r.create("--ftds-text-input-large-field-height","","SIZE","50px"),largeFieldIconSize:r.extend("--ftds-text-input-large-field-icon-size","",c.iconSize3),mediumFieldHorizontalPadding:r.extend("--ftds-text-input-medium-field-horizontal-padding","",c.spacing4),mediumFieldHorizontalGap:r.extend("--ftds-text-input-medium-field-horizontal-gap","",c.spacing3),mediumFieldVerticalGap:r.create("--ftds-text-input-medium-field-vertical-gap","","SIZE","0px"),mediumFieldHeight:r.create("--ftds-text-input-medium-field-height","","SIZE","40px"),mediumFieldIconSize:r.extend("--ftds-text-input-medium-field-icon-size","",c.iconSize3),helperHorizontalPadding:r.extend("--ftds-text-input-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ftds-text-input-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ftds-text-input-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ftds-text-input-border-radius","",c.borderRadiusS),backgroundColor:r.extend("--ftds-text-input-background-color","",c.colorWhite),contentValueColor:r.extend("--ftds-text-input-content-value-color","",d.contentGlobalPrimary),trailingIconColor:r.extend("--ftds-text-input-trailing-icon-color","",d.contentGlobalSubtle),labelColor:r.extend("--ftds-text-input-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-input-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-input-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-input-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-input-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-input-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-input-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-input-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderColor:r.extend("--ftds-text-input-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-text-input-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-text-input-warning-helper-icon-color","",d.contentWarningIconOnly),warningBorderWidth:r.create("--ftds-text-input-warning-border-width","","SIZE","2px"),focusOutlineWidth:r.create("--ftds-text-input-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-text-input-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineOffset:r.create("--ftds-text-input-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-input-disabled-component-opacity","",c.opacity40)};var Od={backgroundColor:r.extend("--ftds-text-area-background-color","",c.colorWhite),contentValueColor:r.extend("--ftds-text-area-content-value-color","",d.contentGlobalPrimary),labelColor:r.extend("--ftds-text-area-label-color","",d.contentGlobalSubtle),defaultBorderColor:r.extend("--ftds-text-area-default-border-color","",d.borderInputPrimary),defaultHelperTextColor:r.extend("--ftds-text-area-default-helper-text-color","",d.contentGlobalSubtle),defaultBorderWidth:r.create("--ftds-text-area-default-border-width","","SIZE","1px"),errorBorderWidth:r.create("--ftds-text-area-error-border-width","","SIZE","2px"),errorBorderColor:r.extend("--ftds-text-area-error-border-color","",d.borderErrorPrimary),errorHelperTextColor:r.extend("--ftds-text-area-error-helper-text-color","",d.contentErrorPrimary),errorHelperIconColor:r.extend("--ftds-text-area-error-helper-icon-color","",d.contentErrorIconOnly),warningBorderColor:r.extend("--ftds-text-area-warning-border-color","",d.borderWarningPrimary),warningHelperTextColor:r.extend("--ftds-text-area-warning-helper-text-color","",d.contentWarningPrimary),warningHelperIconColor:r.extend("--ftds-text-area-warning-helper-icon-color","",d.contentWarningIconOnly),focusFocusRingColor:r.extend("--ftds-text-area-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-text-area-focus-outline-width","","SIZE","2px"),focusOutlineOffset:r.create("--ftds-text-area-focus-outline-offset","","SIZE","3px"),disabledComponentOpacity:r.extend("--ftds-text-area-disabled-component-opacity","",c.opacity40),fieldHorizontalLeftPadding:r.extend("--ftds-text-area-field-horizontal-left-padding","",c.spacing4),fieldHorizontalGap:r.extend("--ftds-text-area-field-horizontal-gap","",c.spacing3),fieldVerticalGap:r.extend("--ftds-text-area-field-vertical-gap","",c.spacing05),fieldMinHeight:r.create("--ftds-text-area-field-min-height","","SIZE","72px"),fieldMaxHeight:r.create("--ftds-text-area-field-max-height","","SIZE","300px"),helperHorizontalPadding:r.extend("--ftds-text-area-helper-horizontal-padding","",c.spacing4),helperHorizontalGap:r.extend("--ftds-text-area-helper-horizontal-gap","",c.spacing1),helperIconSize:r.extend("--ftds-text-area-helper-icon-size","",c.iconSize2),borderRadius:r.extend("--ftds-text-area-border-radius","",c.borderRadiusS)};var Cd={height:r.create("--ftds-floating-menu-height","","SIZE","52px"),horizontalPadding:r.extend("--ftds-floating-menu-horizontal-padding","",c.spacing4),verticalPadding:r.extend("--ftds-floating-menu-vertical-padding","",c.spacing2),offIconColor:r.extend("--ftds-floating-menu-off-icon-color","",d.contentGlobalPrimary),offColor:r.extend("--ftds-floating-menu-off-color","",d.contentGlobalPrimary),onColor:r.extend("--ftds-floating-menu-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-floating-menu-on-state-layer-color","",d.contentActionPrimary),gap:r.extend("--ftds-floating-menu-gap","",c.spacing3),focusFocusRingColor:r.extend("--ftds-floating-menu-focus-focus-ring-color","",d.borderActionFocusRing),focusOutlineWidth:r.create("--ftds-floating-menu-focus-outline-width","","SIZE","3px"),focusStateLayerOpacity:r.extend("--ftds-floating-menu-focus-state-layer-opacity","",c.opacity24),hoverStateLayerOpacity:r.extend("--ftds-floating-menu-hover-state-layer-opacity","",c.opacity8),activeStateLayerOpacity:r.extend("--ftds-floating-menu-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ftds-floating-menu-disabled-component-opacity","",c.opacity40),iconSize:r.extend("--ftds-floating-menu-icon-size","",c.iconSize3),backgroundColor:r.extend("--ftds-floating-menu-background-color","",d.backgroundGlobalOnSurface),shadow:r.extend("--ftds-floating-menu-shadow","",c.shadowElevation02),multiselectCheckedStateLayerColor:r.extend("--ftds-floating-menu-multiselect-checked-state-layer-color","",d.contentActionPrimary),multiselectCheckedColor:r.extend("--ftds-floating-menu-multiselect-checked-color","",d.contentGlobalPrimary),multiselectCheckedIconColor:r.extend("--ftds-floating-menu-multiselect-checked-icon-color","",d.contentActionPrimary),multiselectCheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-checked-default-state-layer-opacity","",c.opacity8),multiselectCheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-checked-hover-state-layer-opacity","",c.opacity16),multiselectCheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-checked-focus-state-layer-opacity","",c.opacity24),multiselectIndeterminatedStateLayerColor:r.extend("--ftds-floating-menu-multiselect-indeterminated-state-layer-color","",d.contentActionPrimary),multiselectIndeterminatedColor:r.extend("--ftds-floating-menu-multiselect-indeterminated-color","",d.contentGlobalPrimary),multiselectIndeterminatedIconColor:r.extend("--ftds-floating-menu-multiselect-indeterminated-icon-color","",d.contentActionPrimary),multiselectIndeterminatedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-indeterminated-default-state-layer-opacity","",c.opacity8),multiselectIndeterminatedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-indeterminated-hover-state-layer-opacity","",c.opacity16),multiselectIndeterminatedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-indeterminated-focus-state-layer-opacity","",c.opacity24),multiselectUncheckedStateLayerColor:r.extend("--ftds-floating-menu-multiselect-unchecked-state-layer-color","",d.contentGlobalPrimary),multiselectUncheckedColor:r.extend("--ftds-floating-menu-multiselect-unchecked-color","",d.contentGlobalPrimary),multiselectUncheckedIconColor:r.extend("--ftds-floating-menu-multiselect-unchecked-icon-color","",d.contentGlobalSubtle),multiselectUncheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-unchecked-default-state-layer-opacity","",c.opacity0),multiselectUncheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-unchecked-hover-state-layer-opacity","",c.opacity8),multiselectUncheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-multiselect-unchecked-focus-state-layer-opacity","",c.opacity16),selectAllCheckedStateLayerColor:r.extend("--ftds-floating-menu-select-all-checked-state-layer-color","",d.contentActionPrimary),selectAllCheckedColor:r.extend("--ftds-floating-menu-select-all-checked-color","",d.contentGlobalPrimary),selectAllCheckedIconColor:r.extend("--ftds-floating-menu-select-all-checked-icon-color","",d.contentActionPrimary),selectAllCheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-checked-default-state-layer-opacity","",c.opacity0),selectAllCheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-checked-hover-state-layer-opacity","",c.opacity16),selectAllCheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-checked-focus-state-layer-opacity","",c.opacity24),selectAllIndeterminatedStateLayerColor:r.extend("--ftds-floating-menu-select-all-indeterminated-state-layer-color","",d.contentGlobalPrimary),selectAllIndeterminatedColor:r.extend("--ftds-floating-menu-select-all-indeterminated-color","",d.contentGlobalPrimary),selectAllIndeterminatedIconColor:r.extend("--ftds-floating-menu-select-all-indeterminated-icon-color","",d.contentActionPrimary),selectAllIndeterminatedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-indeterminated-default-state-layer-opacity","",c.opacity0),selectAllIndeterminatedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-indeterminated-hover-state-layer-opacity","",c.opacity8),selectAllIndeterminatedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-indeterminated-focus-state-layer-opacity","",c.opacity16),selectAllUncheckedStateLayerColor:r.extend("--ftds-floating-menu-select-all-unchecked-state-layer-color","",d.contentGlobalPrimary),selectAllUncheckedColor:r.extend("--ftds-floating-menu-select-all-unchecked-color","",d.contentGlobalPrimary),selectAllUncheckedIconColor:r.extend("--ftds-floating-menu-select-all-unchecked-icon-color","",d.contentGlobalSubtle),selectAllUncheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-unchecked-default-state-layer-opacity","",c.opacity0),selectAllUncheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-unchecked-hover-state-layer-opacity","",c.opacity8),selectAllUncheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-select-all-unchecked-focus-state-layer-opacity","",c.opacity16),defaultUncheckedStateLayerColor:r.extend("--ftds-floating-menu-default-unchecked-state-layer-color","",d.contentGlobalPrimary),defaultUncheckedColor:r.extend("--ftds-floating-menu-default-unchecked-color","",d.contentGlobalPrimary),defaultUncheckedIconColor:r.extend("--ftds-floating-menu-default-unchecked-icon-color","",d.contentGlobalSubtle),defaultUncheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-default-unchecked-default-state-layer-opacity","",c.opacity0),defaultUncheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-default-unchecked-hover-state-layer-opacity","",c.opacity8),defaultUncheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-default-unchecked-focus-state-layer-opacity","",c.opacity16),defaultCheckedStateLayerColor:r.extend("--ftds-floating-menu-default-checked-state-layer-color","",d.contentActionPrimary),defaultCheckedColor:r.extend("--ftds-floating-menu-default-checked-color","",d.contentActionPrimary),defaultCheckedIconColor:r.extend("--ftds-floating-menu-default-checked-icon-color","",d.contentActionPrimary),defaultCheckedDefaultStateLayerOpacity:r.extend("--ftds-floating-menu-default-checked-default-state-layer-opacity","",c.opacity8),defaultCheckedHoverStateLayerOpacity:r.extend("--ftds-floating-menu-default-checked-hover-state-layer-opacity","",c.opacity16),defaultCheckedFocusStateLayerOpacity:r.extend("--ftds-floating-menu-default-checked-focus-state-layer-opacity","",c.opacity24)};var Ad={menuVerticalGap:r.extend("--ftds-combobox-menu-vertical-gap","",c.spacing2),menuNewValuePaddingTop:r.extend("--ftds-combobox-menu-new-value-padding-top","",c.spacing4),menuNewValuePaddingBottom:r.extend("--ftds-combobox-menu-new-value-padding-bottom","",c.spacing1),menuNewValueHorizontalPadding:r.extend("--ftds-combobox-menu-new-value-horizontal-padding","",c.spacing4),menuNewValueLabelColor:r.extend("--ftds-combobox-menu-new-value-label-color","",d.contentGlobalSubtle),menuNewValueBorderColor:r.extend("--ftds-combobox-menu-new-value-border-color","",d.borderGlobalPrimary),menuNewValueBorderWidth:r.create("--ftds-combobox-menu-new-value-border-width","","SIZE","1px"),menuNewValueErrorBackgroundColor:r.extend("--ftds-combobox-menu-new-value-error-background-color","",d.backgroundErrorSubtle),menuNewValueErrorBorderColor:r.extend("--ftds-combobox-menu-new-value-error-border-color","",d.borderErrorPrimary),menuNewValueErrorStateLayerColor:r.extend("--ftds-combobox-menu-new-value-error-state-layer-color","",d.contentActionPrimary),menuNewValueErrorHoverStateLayerOpacity:r.extend("--ftds-combobox-menu-new-value-error-hover-state-layer-opacity","",c.opacity4),menuNewValueErrorActiveStateLayerOpacity:r.extend("--ftds-combobox-menu-new-value-error-active-state-layer-opacity","",c.opacity6),menuMessagePaddingTop:r.extend("--ftds-combobox-menu-message-padding-top","",c.spacing2),menuMessagePaddingBottom:r.extend("--ftds-combobox-menu-message-padding-bottom","",c.spacing2),menuMessageHorizontalPadding:r.extend("--ftds-combobox-menu-message-horizontal-padding","",c.spacing4),menuMessageLabelColor:r.extend("--ftds-combobox-menu-message-label-color","",d.contentGlobalSubtle),valuesChipBackgroundColor:r.extend("--ftds-combobox-values-chip-background-color","",d.backgroundGlobalOnSurface),valuesChipBorderColor:r.extend("--ftds-combobox-values-chip-border-color","",d.borderInputPrimary)};var wd={backgroundColor:r.extend("--ftds-popover-background-color","",d.backgroundGlobalOnSurface),titleColor:r.extend("--ftds-popover-title-color","",d.contentGlobalPrimary),bodyColor:r.extend("--ftds-popover-body-color","",d.contentGlobalSecondary),gap:r.extend("--ftds-popover-gap","",c.spacing2),borderRadius:r.extend("--ftds-popover-border-radius","",c.borderRadiusM),shadow:r.extend("--ftds-popover-shadow","",c.shadowElevation02),maxWidth:r.create("--ftds-popover-max-width","","SIZE","440px"),minWidth:r.create("--ftds-popover-min-width","","SIZE","160px"),maxHeight:r.create("--ftds-popover-max-height","","SIZE","0.16vh"),contentSectionVerticalGap:r.extend("--ftds-popover-content-section-vertical-gap","",c.spacing2),multiSectionVerticalGap:r.extend("--ftds-popover-multi-section-vertical-gap","",c.spacing6),defaultHorizontalPadding:r.extend("--ftds-popover-default-horizontal-padding","",c.spacing6),defaultVerticalPadding:r.extend("--ftds-popover-default-vertical-padding","",c.spacing6),denseHorizontalPadding:r.extend("--ftds-popover-dense-horizontal-padding","",c.spacing3),denseVerticalPadding:r.extend("--ftds-popover-dense-vertical-padding","",c.spacing3)};var Rd={hoverStateLayerOpacity:r.extend("--ftds-collapsible-hover-state-layer-opacity","",c.opacity8),focusStateLayerOpacity:r.extend("--ftds-collapsible-focus-state-layer-opacity","",c.opacity8),focusOutlineWidth:r.create("--ftds-collapsible-focus-outline-width","","SIZE","3px"),focusFocusRingColor:r.extend("--ftds-collapsible-focus-focus-ring-color","",d.borderActionFocusRing),activeStateLayerOpacity:r.extend("--ftds-collapsible-active-state-layer-opacity","",c.opacity16),disabledComponentOpacity:r.extend("--ftds-collapsible-disabled-component-opacity","",c.opacity40),horizontalPadding:r.extend("--ftds-collapsible-horizontal-padding","",c.spacing4),verticalPadding:r.extend("--ftds-collapsible-vertical-padding","",c.spacing3),color:r.extend("--ftds-collapsible-color","",d.contentGlobalPrimary),stateLayerColor:r.extend("--ftds-collapsible-state-layer-color","",d.contentGlobalPrimary),backgroundColor:r.extend("--ftds-collapsible-background-color","",d.backgroundGlobalOnSurface),borderColor:r.extend("--ftds-collapsible-border-color","",d.borderGlobalSubtle),iconSize:r.extend("--ftds-collapsible-icon-size","",c.iconSize3)};var _d={groupHorizontalPadding:r.extend("--ftds-switch-group-horizontal-padding","",c.spacing1),groupVerticalPadding:r.extend("--ftds-switch-group-vertical-padding","",c.spacing1),groupGap:r.extend("--ftds-switch-group-gap","",c.spacing1),groupBackgroundColor:r.extend("--ftds-switch-group-background-color","",d.backgroundGlobalSurface),groupBorderColor:r.extend("--ftds-switch-group-border-color","",d.borderGlobalSubtle),groupBorderRadius:r.create("--ftds-switch-group-border-radius","","SIZE","6px"),labelHorizontalPadding:r.extend("--ftds-switch-label-horizontal-padding","",c.spacing2),labelVerticalPadding:r.extend("--ftds-switch-label-vertical-padding","",c.spacing1),offHoverStateLayerOpacity:r.extend("--ftds-switch-off-hover-state-layer-opacity","",c.opacity8),offFocusStateLayerOpacity:r.extend("--ftds-switch-off-focus-state-layer-opacity","",c.opacity8),offActiveStateLayerOpacity:r.extend("--ftds-switch-off-active-state-layer-opacity","",c.opacity16),offDisabledComponentOpacity:r.extend("--ftds-switch-off-disabled-component-opacity","",c.opacity40),offColor:r.extend("--ftds-switch-off-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-switch-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-switch-on-hover-state-layer-opacity","",c.opacity8),onFocusStateLayerOpacity:r.extend("--ftds-switch-on-focus-state-layer-opacity","",c.opacity8),onActiveStateLayerOpacity:r.extend("--ftds-switch-on-active-state-layer-opacity","",c.opacity16),onDisabledComponentOpacity:r.extend("--ftds-switch-on-disabled-component-opacity","",c.opacity40),onColor:r.extend("--ftds-switch-on-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-switch-on-state-layer-color","",d.contentActionPrimary),iconHorizontalPadding:r.extend("--ftds-switch-icon-horizontal-padding","",c.spacing1),iconVerticalPadding:r.extend("--ftds-switch-icon-vertical-padding","",c.spacing1),focusOutlineWidth:r.create("--ftds-switch-focus-outline-width","","SIZE","2px"),focusFocusRingColor:r.extend("--ftds-switch-focus-focus-ring-color","",d.borderActionFocusRing),optionBorderRadius:r.extend("--ftds-switch-option-border-radius","",c.borderRadiusS)};var Td={color1Light:r.extend("--ftds-chart-1-light","for area color charts",c.colorBrand40),color1Base:r.extend("--ftds-chart-1-base","for line charts",c.colorBrand0),color2Light:r.extend("--ftds-chart-2-light","for area color charts",c.colorYellow60),color2Base:r.extend("--ftds-chart-2-base","for line charts",c.colorYellow100),color3Light:r.extend("--ftds-chart-3-light","",c.colorUltramarine40),color3Base:r.extend("--ftds-chart-3-base","",c.colorUltramarine70),color4Light:r.extend("--ftds-chart-4-light","",c.colorCyan50),color4Base:r.extend("--ftds-chart-4-base","",c.colorCyan100),color5Light:r.extend("--ftds-chart-5-light","",c.colorRed40),color5Base:r.extend("--ftds-chart-5-base","",c.colorRed60),color6Light:r.extend("--ftds-chart-6-light","",c.colorGreen40),color6Base:r.extend("--ftds-chart-6-base","",c.colorGreen70),color7Light:r.extend("--ftds-chart-7-light","",c.colorOrange70),color7Base:r.extend("--ftds-chart-7-base","",c.colorOrange100),color8Light:r.extend("--ftds-chart-8-light","",c.colorAvocado70),color8Base:r.extend("--ftds-chart-8-base","",c.colorAvocado200),color9Light:r.extend("--ftds-chart-9-light","",c.colorBrown50),color9Base:r.extend("--ftds-chart-9-base","",c.colorBrown200),color10Light:r.extend("--ftds-chart-10-light","",c.colorGray50),color10Base:r.extend("--ftds-chart-10-base","",c.colorGray80),monochrome10:r.extend("--ftds-chart-monochrome-10","",c.colorBrand10),monochrome20:r.extend("--ftds-chart-monochrome-20","",c.colorBrand20),monochrome30:r.extend("--ftds-chart-monochrome-30","",c.colorBrand40),monochrome40:r.extend("--ftds-chart-monochrome-40","",c.colorBrand60),monochrome50:r.extend("--ftds-chart-monochrome-50","",c.colorBrand0),monochrome60:r.extend("--ftds-chart-monochrome-60","",c.colorBrand200),scatterplotQuadrantPopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-old-background-color","",c.colorYellow10),scatterplotQuadrantPopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-popular-new-background-color","",c.colorAvocado10),scatterplotQuadrantUnpopularOldBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-old-background-color","",c.colorRed10),scatterplotQuadrantUnpopularNewBackgroundColor:r.extend("--ftds-chart-scatterplot-quadrant-unpopular-new-background-color","",c.colorCyan10),scatterplotDatapointInitialDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-color","",c.colorBrand70),scatterplotDatapointInitialDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-initial-default-background-opacity","",c.opacity48),scatterplotDatapointInitialHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-initial-hover-background-color","",c.colorBrand0),scatterplotDatapointSelectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-default-background-color","",c.colorBrand100),scatterplotDatapointSelectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-selected-hover-background-color","",c.colorBrand200),scatterplotDatapointUnselectedDefaultBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-color","",c.colorGray60),scatterplotDatapointUnselectedDefaultBackgroundOpacity:r.extend("--ftds-chart-scatterplot-datapoint-unselected-default-background-opacity","",c.opacity48),scatterplotDatapointUnselectedHoverBackgroundColor:r.extend("--ftds-chart-scatterplot-datapoint-unselected-hover-background-color","",c.colorGray70),scatterplotDatapointHoverHoverRingColor:r.extend("--ftds-chart-scatterplot-datapoint-hover-hover-ring-color","",c.colorCyan200)};var Ld={color1IconColor:r.extend("--ftds-page-designer-1-icon-color","for area color charts",c.colorCyan0),color1ToolbarColor:r.extend("--ftds-page-designer-1-toolbar-color","for area color charts",c.colorCyan0),color2IconColor:r.extend("--ftds-page-designer-2-icon-color","for area color charts",c.colorBrand0),color2ToolbarColor:r.extend("--ftds-page-designer-2-toolbar-color","for area color charts",c.colorBrand0),color3IconColor:r.extend("--ftds-page-designer-3-icon-color","for area color charts",c.colorYellow200),color3ToolbarColor:r.extend("--ftds-page-designer-3-toolbar-color","for area color charts",c.colorYellow200),color4IconColor:r.extend("--ftds-page-designer-4-icon-color","for area color charts",c.colorUltramarine50),color4ToolbarColor:r.extend("--ftds-page-designer-4-toolbar-color","for area color charts",c.colorUltramarine50),color5IconColor:r.extend("--ftds-page-designer-5-icon-color","for area color charts",c.colorGreen0),color5ToolbarColor:r.extend("--ftds-page-designer-5-toolbar-color","for area color charts",c.colorGreen0),color6IconColor:r.extend("--ftds-page-designer-6-icon-color","for area color charts",c.colorOrange0),color6ToolbarColor:r.extend("--ftds-page-designer-6-toolbar-color","for area color charts",c.colorOrange0),color7IconColor:r.extend("--ftds-page-designer-7-icon-color","for area color charts",c.colorAvocado200),color7ToolbarColor:r.extend("--ftds-page-designer-7-toolbar-color","for area color charts",c.colorAvocado200),color8IconColor:r.extend("--ftds-page-designer-8-icon-color","for area color charts",c.colorBrown0),color8ToolbarColor:r.extend("--ftds-page-designer-8-toolbar-color","for area color charts",c.colorBrown0)};var Nd={borderWidth:r.create("--ftds-notice-border-width","","SIZE","1px"),horizontalPadding:r.extend("--ftds-notice-horizontal-padding","",c.spacing3),verticalPadding:r.extend("--ftds-notice-vertical-padding","",c.spacing2),borderRadius:r.extend("--ftds-notice-border-radius","",c.borderRadiusS),gap:r.extend("--ftds-notice-gap","",c.spacing2),iconSize:r.extend("--ftds-notice-icon-size","",c.iconSize3),infoBackgroundColor:r.extend("--ftds-notice-info-background-color","",d.backgroundInfoSubtle),infoBorderColor:r.extend("--ftds-notice-info-border-color","",d.borderInfoSubtle),infoColor:r.extend("--ftds-notice-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-notice-info-icon-color","",d.contentInfoIconOnly),warningBackgroundColor:r.extend("--ftds-notice-warning-background-color","",d.backgroundWarningSubtle),warningBorderColor:r.extend("--ftds-notice-warning-border-color","",d.borderWarningSubtle),warningColor:r.extend("--ftds-notice-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ftds-notice-warning-icon-color","",d.contentWarningIconOnly),errorBackgroundColor:r.extend("--ftds-notice-error-background-color","",d.backgroundErrorSubtle),errorBorderColor:r.extend("--ftds-notice-error-border-color","",d.borderErrorSubtle),errorColor:r.extend("--ftds-notice-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ftds-notice-error-icon-color","",d.contentErrorIconOnly),successBackgroundColor:r.extend("--ftds-notice-success-background-color","",d.backgroundSuccessSubtle),successBorderColor:r.extend("--ftds-notice-success-border-color","",d.borderSuccessSubtle),successColor:r.extend("--ftds-notice-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ftds-notice-success-icon-color","",d.contentSuccessIconOnly),denseHorizontalPadding:r.create("--ftds-notice-dense-horizontal-padding","","SIZE","0px"),denseVerticalPadding:r.create("--ftds-notice-dense-vertical-padding","","SIZE","0px"),denseGap:r.extend("--ftds-notice-dense-gap","",c.spacing1),denseIconSize:r.extend("--ftds-notice-dense-icon-size","",c.iconSize2),denseBorderWidth:r.create("--ftds-notice-dense-border-width","","SIZE","0")};var Pd={offHoverStateLayerOpacity:r.extend("--ftds-toggle-off-hover-state-layer-opacity","",c.opacity16),offFocusStateLayerOpacity:r.extend("--ftds-toggle-off-focus-state-layer-opacity","",c.opacity16),offActiveStateLayerOpacity:r.extend("--ftds-toggle-off-active-state-layer-opacity","",c.opacity24),offDisabledComponentOpacity:r.extend("--ftds-toggle-off-disabled-component-opacity","",c.opacity40),offBackgroundColor:r.extend("--ftds-toggle-off-background-color","",d.contentGlobalSubtle),offIconColor:r.extend("--ftds-toggle-off-icon-color","",d.contentGlobalSubtle),offStateLayerColor:r.extend("--ftds-toggle-off-state-layer-color","",d.contentGlobalSubtle),onHoverStateLayerOpacity:r.extend("--ftds-toggle-on-hover-state-layer-opacity","",c.opacity16),onFocusStateLayerOpacity:r.extend("--ftds-toggle-on-focus-state-layer-opacity","",c.opacity16),onActiveStateLayerOpacity:r.extend("--ftds-toggle-on-active-state-layer-opacity","",c.opacity24),onDisabledComponentOpacity:r.extend("--ftds-toggle-on-disabled-component-opacity","",c.opacity40),onBackgroundColor:r.extend("--ftds-toggle-on-background-color","",d.contentActionPrimary),onStateLayerColor:r.extend("--ftds-toggle-on-state-layer-color","",d.contentActionPrimary),onIconColor:r.extend("--ftds-toggle-on-icon-color","",d.contentActionPrimary),color:r.extend("--ftds-toggle-color","",d.contentGlobalPrimary),focusFocusRingColor:r.extend("--ftds-toggle-focus-focus-ring-color","",d.borderActionFocusRing),gap:r.extend("--ftds-toggle-gap","",c.spacing3)};var kd={iconSize:r.extend("--ftds-notification-icon-size","",c.iconSize4),leftPadding:r.extend("--ftds-notification-left-padding","",c.spacing5),rightPadding:r.extend("--ftds-notification-right-padding","",c.spacing4),verticalPadding:r.extend("--ftds-notification-vertical-padding","",c.spacing3),infoBackgroundColor:r.extend("--ftds-notification-info-background-color","",d.backgroundInfoSubtle),infoColor:r.extend("--ftds-notification-info-color","",d.contentInfoPrimary),infoIconColor:r.extend("--ftds-notification-info-icon-color","",d.contentInfoIconOnly),infoBorderColor:r.extend("--ftds-notification-info-border-color","",d.borderInfoSubtle),successBackgroundColor:r.extend("--ftds-notification-success-background-color","",d.backgroundSuccessSubtle),successColor:r.extend("--ftds-notification-success-color","",d.contentSuccessPrimary),successIconColor:r.extend("--ftds-notification-success-icon-color","",d.contentSuccessIconOnly),successBorderColor:r.extend("--ftds-notification-success-border-color","",d.borderSuccessSubtle),warningBackgroundColor:r.extend("--ftds-notification-warning-background-color","",d.backgroundWarningSubtle),warningColor:r.extend("--ftds-notification-warning-color","",d.contentWarningPrimary),warningIconColor:r.extend("--ftds-notification-warning-icon-color","",d.contentWarningIconOnly),warningBorderColor:r.extend("--ftds-notification-warning-border-color","",d.borderWarningSubtle),errorBackgroundColor:r.extend("--ftds-notification-error-background-color","",d.backgroundErrorSubtle),errorColor:r.extend("--ftds-notification-error-color","",d.contentErrorPrimary),errorIconColor:r.extend("--ftds-notification-error-icon-color","",d.contentErrorIconOnly),errorBorderColor:r.extend("--ftds-notification-error-border-color","",d.borderErrorSubtle),borderRadius:r.extend("--ftds-notification-border-radius","",c.borderRadiusPill),borderWidth:r.create("--ftds-notification-border-width","","SIZE","1px"),leadingGap:r.extend("--ftds-notification-leading-gap","",c.spacing2),trailingGap:r.extend("--ftds-notification-trailing-gap","",c.spacing8)};var Id={horizontalPadding:r.extend("--ftds-tooltip-horizontal-padding","",c.spacing2),verticalPadding:r.extend("--ftds-tooltip-vertical-padding","",c.spacing2),borderRadius:r.extend("--ftds-tooltip-border-radius","",c.borderRadiusS),color:r.extend("--ftds-tooltip-color","",d.contentGlobalOnColor),backgroundColor:r.extend("--ftds-tooltip-background-color","",d.contentGlobalPrimary),backgroundOpacity:r.extend("--ftds-tooltip-background-opacity","",c.opacity80),shadow:r.extend("--ftds-tooltip-shadow","",c.shadowElevation02),maxWidth:r.create("--ftds-tooltip-max-width","","SIZE","256px"),gap:r.extend("--ftds-tooltip-gap","",c.spacing05)};var Dd={menuHorizontalPadding:r.extend("--ftds-date-range-picker-menu-horizontal-padding","",c.spacing4),menuVerticalPadding:r.extend("--ftds-date-range-picker-menu-vertical-padding","",c.spacing4),menuVerticalGap:r.extend("--ftds-date-range-picker-menu-vertical-gap","",c.spacing4),menuButtonsVerticalGap:r.extend("--ftds-date-range-picker-menu-buttons-vertical-gap","",c.spacing2)};var Kt;(function(e){e.brand="brand",e.neutral="neutral",e.info="info",e.success="success",e.warning="warning",e.error="error"})(Kt||(Kt={}));var Zt;(function(e){e.large="large",e.medium="medium",e.small="small"})(Zt||(Zt={}));function Ko(e){return`ftds--family-${e}`}function Zo(e){return`ftds--size-${e}`}var Z={colorPrimary:r.create("--ft-color-primary","","COLOR","#2196F3"),colorPrimaryVariant:r.create("--ft-color-primary-variant","","COLOR","#1976D2"),colorSecondary:r.create("--ft-color-secondary","","COLOR","#FFCC80"),colorSecondaryVariant:r.create("--ft-color-secondary-variant","","COLOR","#F57C00"),colorSurface:r.create("--ft-color-surface","","COLOR","#FFFFFF"),colorContent:r.create("--ft-color-content","","COLOR","rgba(0, 0, 0, 0.87)"),colorInfo:r.create("--ft-color-info","","COLOR","#0F6BC5"),colorWarning:r.create("--ft-color-warning","","COLOR","#B74706"),colorError:r.create("--ft-color-error","","COLOR","#B00020"),colorSuccess:r.create("--ft-color-success","","COLOR","#187856"),colorOutline:r.create("--ft-color-outline","","COLOR","rgba(0, 0, 0, 0.14)"),colorOpacityHigh:r.create("--ft-color-opacity-high","","NUMBER","1"),colorOpacityMedium:r.create("--ft-color-opacity-medium","","NUMBER","0.74"),colorOpacityDisabled:r.create("--ft-color-opacity-disabled","","NUMBER","0.38"),colorOnPrimary:r.create("--ft-color-on-primary","","COLOR","#FFFFFF"),colorOnPrimaryHigh:r.create("--ft-color-on-primary-high","","COLOR","#FFFFFF"),colorOnPrimaryMedium:r.create("--ft-color-on-primary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnPrimaryDisabled:r.create("--ft-color-on-primary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSecondary:r.create("--ft-color-on-secondary","","COLOR","#FFFFFF"),colorOnSecondaryHigh:r.create("--ft-color-on-secondary-high","","COLOR","#FFFFFF"),colorOnSecondaryMedium:r.create("--ft-color-on-secondary-medium","","COLOR","rgba(255, 255, 255, 0.74)"),colorOnSecondaryDisabled:r.create("--ft-color-on-secondary-disabled","","COLOR","rgba(255, 255, 255, 0.38)"),colorOnSurface:r.create("--ft-color-on-surface","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceHigh:r.create("--ft-color-on-surface-high","","COLOR","rgba(0, 0, 0, 0.87)"),colorOnSurfaceMedium:r.create("--ft-color-on-surface-medium","","COLOR","rgba(0, 0, 0, 0.60)"),colorOnSurfaceDisabled:r.create("--ft-color-on-surface-disabled","","COLOR","rgba(0, 0, 0, 0.38)"),opacityContentOnSurfaceDisabled:r.create("--ft-opacity-content-on-surface-disabled","","NUMBER","0"),opacityContentOnSurfaceEnable:r.create("--ft-opacity-content-on-surface-enable","","NUMBER","0"),opacityContentOnSurfaceHover:r.create("--ft-opacity-content-on-surface-hover","","NUMBER","0.04"),opacityContentOnSurfaceFocused:r.create("--ft-opacity-content-on-surface-focused","","NUMBER","0.12"),opacityContentOnSurfacePressed:r.create("--ft-opacity-content-on-surface-pressed","","NUMBER","0.10"),opacityContentOnSurfaceSelected:r.create("--ft-opacity-content-on-surface-selected","","NUMBER","0.08"),opacityContentOnSurfaceDragged:r.create("--ft-opacity-content-on-surface-dragged","","NUMBER","0.08"),opacityPrimaryOnSurfaceDisabled:r.create("--ft-opacity-primary-on-surface-disabled","","NUMBER","0"),opacityPrimaryOnSurfaceEnable:r.create("--ft-opacity-primary-on-surface-enable","","NUMBER","0"),opacityPrimaryOnSurfaceHover:r.create("--ft-opacity-primary-on-surface-hover","","NUMBER","0.04"),opacityPrimaryOnSurfaceFocused:r.create("--ft-opacity-primary-on-surface-focused","","NUMBER","0.12"),opacityPrimaryOnSurfacePressed:r.create("--ft-opacity-primary-on-surface-pressed","","NUMBER","0.10"),opacityPrimaryOnSurfaceSelected:r.create("--ft-opacity-primary-on-surface-selected","","NUMBER","0.08"),opacityPrimaryOnSurfaceDragged:r.create("--ft-opacity-primary-on-surface-dragged","","NUMBER","0.08"),opacitySurfaceOnPrimaryDisabled:r.create("--ft-opacity-surface-on-primary-disabled","","NUMBER","0"),opacitySurfaceOnPrimaryEnable:r.create("--ft-opacity-surface-on-primary-enable","","NUMBER","0"),opacitySurfaceOnPrimaryHover:r.create("--ft-opacity-surface-on-primary-hover","","NUMBER","0.04"),opacitySurfaceOnPrimaryFocused:r.create("--ft-opacity-surface-on-primary-focused","","NUMBER","0.12"),opacitySurfaceOnPrimaryPressed:r.create("--ft-opacity-surface-on-primary-pressed","","NUMBER","0.10"),opacitySurfaceOnPrimarySelected:r.create("--ft-opacity-surface-on-primary-selected","","NUMBER","0.08"),opacitySurfaceOnPrimaryDragged:r.create("--ft-opacity-surface-on-primary-dragged","","NUMBER","0.08"),elevation00:r.create("--ft-elevation-00","","SHADOW","0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)"),elevation01:r.create("--ft-elevation-01","","SHADOW","0px 1px 4px 0px rgba(0, 0, 0, 0.06), 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation02:r.create("--ft-elevation-02","","SHADOW","0px 4px 10px 0px rgba(0, 0, 0, 0.06), 0px 2px 5px 0px rgba(0, 0, 0, 0.14), 0px 0px 1px 0px rgba(0, 0, 0, 0.06)"),elevation03:r.create("--ft-elevation-03","","SHADOW","0px 6px 13px 0px rgba(0, 0, 0, 0.06), 0px 3px 7px 0px rgba(0, 0, 0, 0.14), 0px 1px 2px 0px rgba(0, 0, 0, 0.06)"),elevation04:r.create("--ft-elevation-04","","SHADOW","0px 8px 16px 0px rgba(0, 0, 0, 0.06), 0px 4px 9px 0px rgba(0, 0, 0, 0.14), 0px 2px 3px 0px rgba(0, 0, 0, 0.06)"),elevation06:r.create("--ft-elevation-06","","SHADOW","0px 12px 22px 0px rgba(0, 0, 0, 0.06), 0px 6px 13px 0px rgba(0, 0, 0, 0.14), 0px 4px 5px 0px rgba(0, 0, 0, 0.06)"),elevation08:r.create("--ft-elevation-08","","SHADOW","0px 16px 28px 0px rgba(0, 0, 0, 0.06), 0px 8px 17px 0px rgba(0, 0, 0, 0.14), 0px 6px 7px 0px rgba(0, 0, 0, 0.06)"),elevation12:r.create("--ft-elevation-12","","SHADOW","0px 22px 40px 0px rgba(0, 0, 0, 0.06), 0px 12px 23px 0px rgba(0, 0, 0, 0.14), 0px 10px 11px 0px rgba(0, 0, 0, 0.06)"),elevation16:r.create("--ft-elevation-16","","SHADOW","0px 28px 52px 0px rgba(0, 0, 0, 0.06), 0px 16px 29px 0px rgba(0, 0, 0, 0.14), 0px 14px 15px 0px rgba(0, 0, 0, 0.06)"),elevation24:r.create("--ft-elevation-24","","SHADOW","0px 40px 76px 0px rgba(0, 0, 0, 0.06), 0px 24px 41px 0px rgba(0, 0, 0, 0.14), 0px 22px 23px 0px rgba(0, 0, 0, 0.06)"),borderRadiusS:r.create("--ft-border-radius-s","","SIZE","4px"),borderRadiusM:r.create("--ft-border-radius-m","","SIZE","8px"),borderRadiusL:r.create("--ft-border-radius-l","","SIZE","12px"),borderRadiusXL:r.create("--ft-border-radius-xl","","SIZE","16px"),titleFont:r.create("--ft-title-font","","UNKNOWN","Ubuntu, system-ui, sans-serif"),contentFont:r.create("--ft-content-font","","UNKNOWN","'Open Sans', system-ui, sans-serif"),transitionDuration:r.create("--ft-transition-duration","","UNKNOWN","250ms"),transitionTimingFunction:r.create("--ft-transition-timing-function","","UNKNOWN","ease-in-out")};var Xo={};k(Xo,{DynamicImporter:()=>wr,dynamicImporter:()=>Md});var wr=class{async import(t){if(t)return import(t)}},Md=new wr;var dn={};k(dn,{computeOffsetAutoPosition:()=>su,computeOffsetPosition:()=>au});var is=["top","right","bottom","left"],ns=["start","end"],Jo=is.reduce((e,t)=>e.concat(t,t+"-"+ns[0],t+"-"+ns[1]),[]),Ve=Math.min,ue=Math.max,qt=Math.round;var pe=e=>({x:e,y:e}),Ud={left:"right",right:"left",bottom:"top",top:"bottom"};function as(e,t,o){return ue(e,Ve(t,o))}function vt(e,t){return typeof e=="function"?e(t):e}function je(e){return e.split("-")[0]}function fe(e){return e.split("-")[1]}function en(e){return e==="x"?"y":"x"}function tn(e){return e==="y"?"height":"width"}function Ot(e){let t=e[0];return t==="t"||t==="b"?"y":"x"}function rn(e){return en(Ot(e))}function ss(e,t,o){o===void 0&&(o=!1);let n=fe(e),i=rn(e),a=tn(i),s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(s=Qo(s)),[s,Qo(s)]}function cs(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}function Qo(e){let t=je(e);return Ud[t]+e.slice(t.length)}function Fd(e){var t,o,n,i;return{top:(t=e.top)!=null?t:0,right:(o=e.right)!=null?o:0,bottom:(n=e.bottom)!=null?n:0,left:(i=e.left)!=null?i:0}}function ls(e){return typeof e!="number"?Fd(e):{top:e,right:e,bottom:e,left:e}}function Ke(e){let{x:t,y:o,width:n,height:i}=e;return{width:n,height:i,top:o,left:t,right:t+n,bottom:o+i,x:t,y:o}}function ds(e,t,o){let{reference:n,floating:i}=e,a=Ot(t),s=rn(t),l=tn(s),u=je(t),p=a==="y",h=n.x+n.width/2-i.width/2,f=n.y+n.height/2-i.height/2,m=n[l]/2-i[l]/2,b;switch(u){case"top":b={x:h,y:n.y-i.height};break;case"bottom":b={x:h,y:n.y+n.height};break;case"right":b={x:n.x+n.width,y:f};break;case"left":b={x:n.x-i.width,y:f};break;default:b={x:n.x,y:n.y}}let E=fe(t);return E&&(b[s]+=m*(E==="end"?1:-1)*(o&&p?-1:1)),b}async function us(e,t){var o;t===void 0&&(t={});let{x:n,y:i,platform:a,rects:s,elements:l,strategy:u}=e,{boundary:p="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:m=!1,padding:b=0}=vt(t,e),E=ls(b),S=l[m?f==="floating"?"reference":"floating":f],C=Ke(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(S)))==null||o?S:S.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:p,rootBoundary:h,strategy:u})),N=f==="floating"?{x:n,y:i,width:s.floating.width,height:s.floating.height}:s.reference,y=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),g=await(a.isElement==null?void 0:a.isElement(y))&&await(a.getScale==null?void 0:a.getScale(y))||{x:1,y:1},x=Ke(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:N,offsetParent:y,strategy:u}):N);return{top:(C.top-x.top+E.top)/g.y,bottom:(x.bottom-C.bottom+E.bottom)/g.y,left:(C.left-x.left+E.left)/g.x,right:(x.right-C.right+E.right)/g.x}}var Bd=50,ps=async(e,t,o)=>{let{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,l=s.detectOverflow?s:{...s,detectOverflow:us},u=await(s.isRTL==null?void 0:s.isRTL(t)),p=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:h,y:f}=ds(p,n,u),m=n,b=0,E={};for(let O=0;O<a.length;O++){let S=a[O];if(!S)continue;let{name:C,fn:N}=S,{x:y,y:g,data:x,reset:w}=await N({x:h,y:f,initialPlacement:n,placement:m,strategy:i,middlewareData:E,rects:p,platform:l,elements:{reference:e,floating:t}});h=y??h,f=g??f,E[C]={...E[C],...x},w&&b<Bd&&(b++,typeof w=="object"&&(w.placement&&(m=w.placement),w.rects&&(p=w.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:i}):w.rects),{x:h,y:f}=ds(p,m,u)),O=-1)}return{x:h,y:f,placement:m,strategy:i,middlewareData:E}};function $d(e,t,o){return(e?[...o.filter(i=>fe(i)===e),...o.filter(i=>fe(i)!==e)]:o.filter(i=>je(i)===i)).filter(i=>e?fe(i)===e||(t?cs(i)!==i:!1):!0)}var fs=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var o,n,i;let{rects:a,middlewareData:s,placement:l,platform:u,elements:p}=t,{crossAxis:h=!1,alignment:f,allowedPlacements:m=Jo,autoAlignment:b=!0,...E}=vt(e,t),O=f!==void 0||m===Jo?$d(f||null,b,m):m,S=((o=s.autoPlacement)==null?void 0:o.index)||0,C=O[S];if(C==null)return{};if(l!==C)return{reset:{placement:O[0]}};let N=await u.detectOverflow(t,E),y=ss(C,a,await(u.isRTL==null?void 0:u.isRTL(p.floating))),g=[N[je(C)],N[y[0]],N[y[1]]],x=[...((n=s.autoPlacement)==null?void 0:n.overflows)||[],{placement:C,overflows:g}],w=O[S+1];if(w)return{data:{index:S+1,overflows:x},reset:{placement:w}};let _=x.map(T=>{let D=fe(T.placement);return[T.placement,D&&h?T.overflows.slice(0,2).reduce((H,ce)=>H+ce,0):T.overflows[0],T.overflows]}).sort((T,D)=>T[1]-D[1]),U=((i=_.filter(T=>T[2].slice(0,fe(T[0])?2:3).every(D=>D<=0))[0])==null?void 0:i[0])||_[0][0];return U!==l?{data:{index:S+1,overflows:x},reset:{placement:U}}:{}}}};var Hd=new Set(["left","top"]);async function zd(e,t){let{placement:o,platform:n,elements:i}=e,a=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=je(o),l=fe(o),u=Ot(o)==="y",p=Hd.has(s)?-1:1,h=a&&u?-1:1,f=vt(t,e),{mainAxis:m,crossAxis:b,alignmentAxis:E}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof E=="number"&&(b=l==="end"?E*-1:E),u?{x:b*h,y:m*p}:{x:m*p,y:b*h}}var hs=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var o,n;let{x:i,y:a,placement:s,middlewareData:l}=t,u=await zd(t,e);return s===((o=l.offset)==null?void 0:o.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:i+u.x,y:a+u.y,data:{...u,placement:s}}}}},ms=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){let{x:o,y:n,placement:i,platform:a}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:u={fn:N=>{let{x:y,y:g}=N;return{x:y,y:g}}},...p}=vt(e,t),h={x:o,y:n},f=await a.detectOverflow(t,p),m=Ot(i),b=en(m),E=h[b],O=h[m],S=(N,y)=>as(y+f[N==="y"?"top":"left"],y,y-f[N==="y"?"bottom":"right"]);s&&(E=S(b,E)),l&&(O=S(m,O));let C=u.fn({...t,[b]:E,[m]:O});return{...C,data:{x:C.x-o,y:C.y-n,enabled:{[b]:s,[m]:l}}}}}};var ys=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){let{placement:o,rects:n,platform:i,elements:a}=t,{apply:s=()=>{},...l}=vt(e,t),u=await i.detectOverflow(t,l),p=je(o),h=fe(o),f=Ot(o)==="y",{width:m,height:b}=n.floating,E,O;p==="top"||p==="bottom"?(E=p,O=h===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(O=p,E=h==="end"?"top":"bottom");let S=b-u.top-u.bottom,C=m-u.left-u.right,N=Ve(b-u[E],S),y=Ve(m-u[O],C),g=t.middlewareData.shift,x=!g,w=N,_=y;g!=null&&g.enabled.x&&(_=C),g!=null&&g.enabled.y&&(w=S),x&&!h&&(f?_=m-2*ue(u.left,u.right):w=b-2*ue(u.top,u.bottom)),await s({...t,availableWidth:_,availableHeight:w});let I=await i.getDimensions(a.floating);return m!==I.width||b!==I.height?{reset:{rects:!0}}:{}}}};function _r(){return typeof window<"u"}function qe(e){return bs(e)?(e.nodeName||"").toLowerCase():"#document"}function q(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function be(e){var t;return(t=(bs(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function bs(e){return _r()?e instanceof Node||e instanceof q(e).Node:!1}function ie(e){return _r()?e instanceof Element||e instanceof q(e).Element:!1}function xe(e){return _r()?e instanceof HTMLElement||e instanceof q(e).HTMLElement:!1}function gs(e){return!_r()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof q(e).ShadowRoot}function Yt(e){let{overflow:t,overflowX:o,overflowY:n,display:i}=ae(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&i!=="inline"&&i!=="contents"}function xs(e){return/^(table|td|th)$/.test(qe(e))}function Xt(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}var Gd=/transform|translate|scale|rotate|perspective|filter/,Wd=/paint|layout|strict|content/,Ze=e=>!!e&&e!=="none",on;function Ct(e){let t=ie(e)?ae(e):e;return Ze(t.transform)||Ze(t.translate)||Ze(t.scale)||Ze(t.rotate)||Ze(t.perspective)||!Tr()&&(Ze(t.backdropFilter)||Ze(t.filter))||Gd.test(t.willChange||"")||Wd.test(t.contain||"")}function Es(e){let t=Le(e);for(;xe(t)&&!At(t);){if(Ct(t))return t;if(Xt(t))return null;t=Le(t)}return null}function Tr(){return on==null&&(on=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),on}function At(e){return/^(html|body|#document)$/.test(qe(e))}function ae(e){return q(e).getComputedStyle(e)}function Qt(e){return ie(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Le(e){if(qe(e)==="html")return e;let t=e.assignedSlot||e.parentNode||gs(e)&&e.host||be(e);return gs(t)?t.host:t}function Ss(e){let t=Le(e);return At(t)?(e.ownerDocument||e).body:xe(t)&&Yt(t)?t:Ss(t)}function Rr(e,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);let i=Ss(e),a=i===((n=e.ownerDocument)==null?void 0:n.body),s=q(i);if(a){let l=Lr(s);return t.concat(s,s.visualViewport||[],Yt(i)?i:[],l&&o?Rr(l):[])}else return t.concat(i,Rr(i,[],o))}function Lr(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Cs(e){let t=ae(e),o=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=xe(e),a=i?e.offsetWidth:o,s=i?e.offsetHeight:n,l=qt(o)!==a||qt(n)!==s;return l&&(o=a,n=s),{width:o,height:n,$:l}}function As(e){return ie(e)?e:e.contextElement}function wt(e){let t=As(e);if(!xe(t))return pe(1);let o=t.getBoundingClientRect(),{width:n,height:i,$:a}=Cs(t),s=(a?qt(o.width):o.width)/n,l=(a?qt(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Vd=pe(0);function ws(e){let t=q(e);return!Tr()||!t.visualViewport?Vd:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function jd(e,t,o){return t===void 0&&(t=!1),!!o&&t&&o===q(e)}function Jt(e,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);let i=e.getBoundingClientRect(),a=As(e),s=pe(1);t&&(n?ie(n)&&(s=wt(n)):s=wt(e));let l=jd(a,o,n)?ws(a):pe(0),u=(i.left+l.x)/s.x,p=(i.top+l.y)/s.y,h=i.width/s.x,f=i.height/s.y;if(a&&n){let m=q(a),b=ie(n)?q(n):n,E=m,O=Lr(E);for(;O&&b!==E;){let S=wt(O),C=O.getBoundingClientRect(),N=ae(O),y=C.left+(O.clientLeft+parseFloat(N.paddingLeft))*S.x,g=C.top+(O.clientTop+parseFloat(N.paddingTop))*S.y;u*=S.x,p*=S.y,h*=S.x,f*=S.y,u+=y,p+=g,E=q(O),O=Lr(E)}}return Ke({width:h,height:f,x:u,y:p})}function Nr(e,t){let o=Qt(e).scrollLeft;return t?t.left+o:Jt(be(e)).left+o}function Rs(e,t){let o=e.getBoundingClientRect(),n=o.left+t.scrollLeft-Nr(e,o),i=o.top+t.scrollTop;return{x:n,y:i}}function Kd(e){let{elements:t,rect:o,offsetParent:n,strategy:i}=e,a=i==="fixed",s=be(n),l=t?Xt(t.floating):!1;if(n===s||l&&a)return o;let u={scrollLeft:0,scrollTop:0},p=pe(1),h=pe(0),f=xe(n);if((f||!a)&&((qe(n)!=="body"||Yt(s))&&(u=Qt(n)),f)){let b=Jt(n);p=wt(n),h.x=b.x+n.clientLeft,h.y=b.y+n.clientTop}let m=s&&!f&&!a?Rs(s,u):pe(0);return{width:o.width*p.x,height:o.height*p.y,x:o.x*p.x-u.scrollLeft*p.x+h.x+m.x,y:o.y*p.y-u.scrollTop*p.y+h.y+m.y}}function Zd(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function qd(e){let t=Qt(e),o=e.ownerDocument.body,n=ue(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),i=ue(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight),a=-t.scrollLeft+Nr(e),s=-t.scrollTop;return ae(o).direction==="rtl"&&(a+=ue(e.clientWidth,o.clientWidth)-n),{width:n,height:i,x:a,y:s}}var Yd=25;function Xd(e,t,o){o===void 0&&(o="viewport");let n=o==="layoutViewport",i=q(e),a=be(e),s=i.visualViewport,l=a.clientWidth,u=a.clientHeight,p=0,h=0;if(s){let m=!Tr()||t==="fixed";n?m||(p=-s.offsetLeft,h=-s.offsetTop):(l=s.width,u=s.height,m&&(p=s.offsetLeft,h=s.offsetTop))}if(Nr(a)<=0){let m=a.ownerDocument,b=m.body,E=getComputedStyle(b),O=m.compatMode==="CSS1Compat"&&parseFloat(E.marginLeft)+parseFloat(E.marginRight)||0,S=Math.abs(a.clientWidth-b.clientWidth-O),C=getComputedStyle(a).scrollbarGutter==="stable both-edges"?S/2:S;C<=Yd&&(l-=C)}return{width:l,height:u,x:p,y:h}}function Qd(e,t){let o=Jt(e,!0,t==="fixed"),n=o.top+e.clientTop,i=o.left+e.clientLeft,a=wt(e),s=e.clientWidth*a.x,l=e.clientHeight*a.y,u=i*a.x,p=n*a.y;return{width:s,height:l,x:u,y:p}}function vs(e,t,o){let n;if(t==="viewport"||t==="layoutViewport")n=Xd(e,o,t);else if(t==="document")n=qd(be(e));else if(ie(t))n=Qd(t,o);else{let i=ws(e);n={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Ke(n)}function Jd(e,t){let o=t.get(e);if(o)return o;let n=Rr(e,[],!1).filter(l=>ie(l)&&qe(l)!=="body"),i=null,a=ae(e).position==="fixed",s=a?Le(e):e;for(;ie(s)&&!At(s);){let l=ae(s),u=Ct(s),p=i?i.position:a?"fixed":"";!u&&(p==="fixed"||p==="absolute"&&l.position==="static")?n=n.filter(f=>f!==s):i=l,s=Le(s)}return t.set(e,n),n}function eu(e){let{element:t,boundary:o,rootBoundary:n,strategy:i}=e,s=[...o==="clippingAncestors"?Xt(t)?[]:Jd(t,this._c):[].concat(o),n],l=vs(t,s[0],i),u=l.top,p=l.right,h=l.bottom,f=l.left;for(let m=1;m<s.length;m++){let b=vs(t,s[m],i);u=ue(b.top,u),p=Ve(b.right,p),h=Ve(b.bottom,h),f=ue(b.left,f)}return{width:p-f,height:h-u,x:f,y:u}}function tu(e){let{width:t,height:o}=Cs(e);return{width:t,height:o}}function ru(e,t,o){let n=xe(t),i=be(t),a=o==="fixed",s=Jt(e,!0,a,t),l={scrollLeft:0,scrollTop:0},u=pe(0);if((n||!a)&&((qe(t)!=="body"||Yt(i))&&(l=Qt(t)),n)){let m=Jt(t,!0,a,t);u.x=m.x+t.clientLeft,u.y=m.y+t.clientTop}!n&&i&&(u.x=Nr(i));let p=i&&!n&&!a?Rs(i,l):pe(0),h=s.left+l.scrollLeft-u.x-p.x,f=s.top+l.scrollTop-u.y-p.y;return{x:h,y:f,width:s.width,height:s.height}}function nn(e){return ae(e).position==="static"}function Os(e,t){if(!xe(e)||ae(e).position==="fixed")return null;if(t)return t(e);let o=e.offsetParent;return be(e)===o&&(o=o.ownerDocument.body),o}function _s(e,t){let o=q(e);if(Xt(e))return o;if(!xe(e)){let i=Le(e);for(;i&&!At(i);){if(ie(i)&&!nn(i))return i;i=Le(i)}return o}let n=Os(e,t);for(;n&&xs(n)&&nn(n);)n=Os(n,t);return n&&At(n)&&nn(n)&&!Ct(n)?o:n||Es(e)||o}var ou=async function(e){let t=this.getOffsetParent||_s,o=this.getDimensions,n=await o(e.floating);return{reference:ru(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function nu(e){return ae(e).direction==="rtl"}var Rt={convertOffsetParentRelativeRectToViewportRelativeRect:Kd,getDocumentElement:be,getClippingRect:eu,getOffsetParent:_s,getElementRects:ou,getClientRects:Zd,getDimensions:tu,getScale:wt,isElement:ie,isRTL:nu};var Ts=hs,an=fs,Ls=ms;var Ns=ys;var sn=(e,t,o)=>{let n=new Map,i=o??{},a={...Rt,...i.platform,_c:n};return ps(e,t,{...i,platform:a})};function ln(e){return iu(e)}function cn(e){return e.assignedSlot?e.assignedSlot:e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}function iu(e){for(let t=e;t;t=cn(t))if(t instanceof Element&&getComputedStyle(t).display==="none")return null;for(let t=cn(e);t;t=cn(t)){if(!(t instanceof Element))continue;let o=getComputedStyle(t);if(o.display!=="contents"&&(o.position!=="static"||Ct(o)||t.tagName==="BODY"))return t}return null}async function au(e,t,o){let n;return typeof o=="object"?n=o:n={placement:o},sn(e,t,{strategy:n.strategy,platform:{...Rt,getOffsetParent:i=>Rt.getOffsetParent(i,ln)},middleware:[Ls({crossAxis:!0}),an({allowedPlacements:[n.placement]})]})}async function su(e,t,o,n,i,a,s){let l,u;return typeof o=="object"?(l=o.placement,n=o.allowedPlacements,i=o.strategy,a=o.maxHeightCssVariable,u=o.maxWidthCssVariable,s=o.offsetValue):l=o,sn(e,t,{placement:l,strategy:i,platform:{...Rt,getOffsetParent:p=>Rt.getOffsetParent(p,ln)},middleware:[Ts(s??4),an({allowedPlacements:n}),Ns({apply({availableHeight:p,availableWidth:h,elements:f}){typeof a=="string"&&(a=`var(${a})`),a?f.floating.style.maxHeight=`min(${Math.max(0,p)}px, ${a})`:f.floating.style.maxHeight=`${Math.max(0,p)}px`,typeof u=="string"&&(u=`var(${u})`),u?f.floating.style.maxWidth=`min(${Math.max(0,h)}px, ${u})`:f.floating.style.maxWidth=`${Math.max(0,h)}px`}})]})}var un={};k(un,{isSlotEmptyOrWithoutContent:()=>cu});var cu=e=>e?e.assignedNodes({flatten:!0}).filter(n=>{var i;return n.nodeType===Node.TEXT_NODE?((i=n.textContent)!==null&&i!==void 0?i:"").trim().length>0:!0}).length===0:!0;var gn={};k(gn,{FtdsBase:()=>yn,toFtdsBase:()=>Fs});var mn={};k(mn,{ExportpartsUpdatedEvent:()=>Ye,FtLitElement:()=>F});var pn={};k(pn,{ScopedRegistryLitElement:()=>er});var er=class extends le{get scopedRegistryConstructor(){return this.constructor}createRenderRoot(){let t=this.scopedRegistryConstructor;t.elementDefinitions&&!t.registry&&(t.registry=new CustomElementRegistry,t.defineScopedElements(t.elementDefinitions));let o={...t.shadowRootOptions,customElements:t.registry},n=this.renderOptions.creationScope=this.attachShadow(o);return Mt(n,t.elementStyles),n}static canDefineScopedElement(t){return!!this.registry&&!this.registry.get(t)}static defineScopedElements(t){Object.entries(t).forEach(([o,n])=>this.defineScopedElement(o,n))}static defineScopedElement(t,o){Wt(t)(o),this.canDefineScopedElement(t)&&this.registry.define(t,o)}canDefineScopedElement(t){return this.scopedRegistryConstructor.canDefineScopedElement(t)}defineScopedElements(t){this.scopedRegistryConstructor.defineScopedElements(t)}defineScopedElement(t,o){this.scopedRegistryConstructor.defineScopedElement(t,o)}};var hn={};k(hn,{shadowQuerySelector:()=>fn,shadowQuerySelectorAll:()=>lu});function fn(e,t,...o){var n;let i=e.querySelector(t);for(let a of o)i=(n=i?.shadowRoot)===null||n===void 0?void 0:n.querySelector(a);return i}function lu(e,t,...o){let n=[...e.querySelectorAll(t)];for(let i of o)n=n.flatMap(a=>{var s,l;return[...(l=(s=a.shadowRoot)===null||s===void 0?void 0:s.querySelectorAll(i))!==null&&l!==void 0?l:[]]});return n}var _t=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Ds,Ps=Symbol("constructorPrototype"),ks=Symbol("constructorName"),Ms=Symbol("exportpartsDebouncer"),Is=Symbol("dynamicDependenciesLoaded"),Ye=class e extends CustomEvent{constructor(){super(e.eventName,{bubbles:!0})}};Ye.eventName="exportparts-updated";var F=class extends er{constructor(){super(),this.useAdoptedStyleSheets=!0,this.adoptedCustomStyleSheet=new CSSStyleSheet,this[Ds]=new _e(5),this.scheduleExportpartsUpdate=()=>{var t,o,n;(!((t=this.exportpartsPrefix)===null||t===void 0)&&t.trim()||(n=(o=this.exportpartsPrefixes)===null||o===void 0?void 0:o.length)!==null&&n!==void 0&&n)&&this[Ms].run(()=>{var i,a;!((i=this.exportpartsPrefix)===null||i===void 0)&&i.trim()?this.setExportpartsAttribute([this.exportpartsPrefix]):this.exportpartsPrefixes!=null&&((a=this.exportpartsPrefixes)===null||a===void 0?void 0:a.length)>0&&this.setExportpartsAttribute(this.exportpartsPrefixes)})},this[ks]=this.constructor.name,this[Ps]=this.constructor.prototype}adoptedCallback(){this.constructor.name!==this[ks]&&Object.setPrototypeOf(this,this[Ps])}connectedCallback(){var t;super.connectedCallback();try{this.shadowRoot&&!this.shadowRoot.adoptedStyleSheets.includes(this.adoptedCustomStyleSheet)&&(this.shadowRoot.adoptedStyleSheets=[...this.shadowRoot.adoptedStyleSheets,this.adoptedCustomStyleSheet]),this.useAdoptedStyleSheets=!0}catch(n){this.useAdoptedStyleSheets=!1,console.error("Cannot use adopted stylesheets",n)}let o=this.constructor;o[Is]||(o[Is]=!0,this.importDynamicDependencies()),(t=this.shadowRoot)===null||t===void 0||t.addEventListener(Ye.eventName,this.scheduleExportpartsUpdate)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.shadowRoot)===null||t===void 0||t.removeEventListener(Ye.eventName,this.scheduleExportpartsUpdate)}importDynamicDependencies(){}updated(t){super.updated(t),this.updateComplete.then(()=>{this.contentAvailableCallback(t),this.focusElementToFocus(t),this.applyCustomStylesheet(t),this.scheduleExportpartsUpdate(),t.has("exportparts")&&this.dispatchEvent(new Ye)})}contentAvailableCallback(t){}focusElementToFocus(t){if(t.has("elementToFocus")&&this.elementToFocus!=null){let{element:o,selector:n,shadowPath:i}=this.elementToFocus;if(n!=null){let a=[...i??[],n];o=fn(this.shadowRoot,...a)}o?.focus(),window.FluidTopicsA11yHints.isKeyboardNavigation||o?.blur(),this.elementToFocus=void 0}}applyCustomStylesheet(t){var o,n,i;if(((n=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll(".ft-lit-element--custom-stylesheet"))!==null&&n!==void 0?n:[]).forEach(a=>a.remove()),this.useAdoptedStyleSheets){if(t.has("customStylesheet"))try{this.adoptedCustomStyleSheet.replaceSync((i=this.customStylesheet)!==null&&i!==void 0?i:"")}catch(a){console.error(a,this.customStylesheet),this.useAdoptedStyleSheets=!1}}else if(this.customStylesheet){let a=document.createElement("style");a.classList.add("ft-lit-element--custom-stylesheet"),a.innerHTML=this.customStylesheet,this.shadowRoot.append(a)}}setExportpartsAttribute(t){var o,n,i,a,s,l;let u=m=>m!=null&&m.trim().length>0,p=t.filter(u).map(m=>m.trim());if(p.length===0){this.exportparts=void 0;return}let h=new Set;for(let m of(a=(o=this.shadowRoot)===null||o===void 0?void 0:o.querySelectorAll("[part],[exportparts]"))!==null&&a!==void 0?a:[]){let b=(s=(n=m.getAttribute("part"))===null||n===void 0?void 0:n.split(" "))!==null&&s!==void 0?s:[],E=(l=(i=m.getAttribute("exportparts"))===null||i===void 0?void 0:i.split(",").map(S=>S.split(":")[1]))!==null&&l!==void 0?l:[],O=[...b,...E].filter(u).map(S=>S.trim());for(let S of O)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(", ")}};Ds=Ms;_t([R()],F.prototype,"exportpartsPrefix",void 0);_t([Cr([])],F.prototype,"exportpartsPrefixes",void 0);_t([R({reflect:!0})],F.prototype,"exportparts",void 0);_t([R()],F.prototype,"customStylesheet",void 0);_t([R()],F.prototype,"elementToFocus",void 0);_t([B()],F.prototype,"useAdoptedStyleSheets",void 0);var Us=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Fs=Q(Symbol("toFtdsBase"),function(e){class t extends e{constructor(){super(...arguments),this.size=Zt.medium,this.family=Kt.neutral}getDesignSystemBaseClasses(){return{[Ko(this.family)]:!0,[Zo(this.size)]:!0}}}return Us([R()],t.prototype,"size",void 0),Us([R()],t.prototype,"family",void 0),t}),yn=class extends Fs(F){};var Bs={};var xn={};k(xn,{highlightHtml:()=>pu,highlightHtmlColorCssVariable:()=>$s,highlightHtmlStyles:()=>uu});var Xe=class e{constructor(t,o=!0,n=[],i=5e3){this.ctx=t,this.iframes=o,this.exclude=n,this.iframesTimeout=i}static matches(t,o){let n=typeof o=="string"?[o]:o,i=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;if(i){let a=!1;return n.every(s=>i.call(t,s)?(a=!0,!1):!0),a}else return!1}getContexts(){let t,o=[];return typeof this.ctx>"u"||!this.ctx?t=[]:NodeList.prototype.isPrototypeOf(this.ctx)?t=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?t=this.ctx:typeof this.ctx=="string"?t=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):t=[this.ctx],t.forEach(n=>{let i=o.filter(a=>a.contains(n)).length>0;o.indexOf(n)===-1&&!i&&o.push(n)}),o}getIframeContents(t,o,n=()=>{}){let i;try{let a=t.contentWindow;if(i=a.document,!a||!i)throw new Error("iframe inaccessible")}catch{n()}i&&o(i)}isIframeBlank(t){let o="about:blank",n=t.getAttribute("src").trim();return t.contentWindow.location.href===o&&n!==o&&n}observeIframeLoad(t,o,n){let i=!1,a=null,s=()=>{if(!i){i=!0,clearTimeout(a);try{this.isIframeBlank(t)||(t.removeEventListener("load",s),this.getIframeContents(t,o,n))}catch{n()}}};t.addEventListener("load",s),a=setTimeout(s,this.iframesTimeout)}onIframeReady(t,o,n){try{t.contentWindow.document.readyState==="complete"?this.isIframeBlank(t)?this.observeIframeLoad(t,o,n):this.getIframeContents(t,o,n):this.observeIframeLoad(t,o,n)}catch{n()}}waitForIframes(t,o){let n=0;this.forEachIframe(t,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||o()})},i=>{i||o()})}forEachIframe(t,o,n,i=()=>{}){let a=t.querySelectorAll("iframe"),s=a.length,l=0;a=Array.prototype.slice.call(a);let u=()=>{--s<=0&&i(l)};s||u(),a.forEach(p=>{e.matches(p,this.exclude)?u():this.onIframeReady(p,h=>{o(p)&&(l++,n(h)),u()},u)})}createIterator(t,o,n){return document.createNodeIterator(t,o,n,!1)}createInstanceOnIframe(t){return new e(t.querySelector("html"),this.iframes)}compareNodeIframe(t,o,n){let i=t.compareDocumentPosition(n),a=Node.DOCUMENT_POSITION_PRECEDING;if(i&a)if(o!==null){let s=o.compareDocumentPosition(n),l=Node.DOCUMENT_POSITION_FOLLOWING;if(s&l)return!0}else return!0;return!1}getIteratorNode(t){let o=t.previousNode(),n;return o===null?n=t.nextNode():n=t.nextNode()&&t.nextNode(),{prevNode:o,node:n}}checkIframeFilter(t,o,n,i){let a=!1,s=!1;return i.forEach((l,u)=>{l.val===n&&(a=u,s=l.handled)}),this.compareNodeIframe(t,o,n)?(a===!1&&!s?i.push({val:n,handled:!0}):a!==!1&&!s&&(i[a].handled=!0),!0):(a===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(t,o,n,i){t.forEach(a=>{a.handled||this.getIframeContents(a.val,s=>{this.createInstanceOnIframe(s).forEachNode(o,n,i)})})}iterateThroughNodes(t,o,n,i,a){let s=this.createIterator(o,t,i),l=[],u=[],p,h,f=()=>({prevNode:h,node:p}=this.getIteratorNode(s),p);for(;f();)this.iframes&&this.forEachIframe(o,m=>this.checkIframeFilter(p,h,m,l),m=>{this.createInstanceOnIframe(m).forEachNode(t,b=>u.push(b),i)}),u.push(p);u.forEach(m=>{n(m)}),this.iframes&&this.handleOpenIframes(l,t,n,i),a()}forEachNode(t,o,n,i=()=>{}){let a=this.getContexts(),s=a.length;s||i(),a.forEach(l=>{let u=()=>{this.iterateThroughNodes(t,l,o,n,()=>{--s<=0&&i()})};this.iframes?this.waitForIframes(l,u):u()})}};var tr=class{constructor(t){this.ctx=t,this.ie=!1;let o=window.navigator.userAgent;(o.indexOf("MSIE")>-1||o.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(t){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},t)}get opt(){return this._opt}get iterator(){return new Xe(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(t,o="debug"){let n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[o]=="function"&&n[o](`mark.js: ${t}`)}escapeStr(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(t){return this.opt.wildcards!=="disabled"&&(t=this.setupWildcardsRegExp(t)),t=this.escapeStr(t),Object.keys(this.opt.synonyms).length&&(t=this.createSynonymsRegExp(t)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),this.opt.diacritics&&(t=this.createDiacriticsRegExp(t)),t=this.createMergedBlanksRegExp(t),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.createJoinersRegExp(t)),this.opt.wildcards!=="disabled"&&(t=this.createWildcardsRegExp(t)),t=this.createAccuracyRegExp(t),t}createSynonymsRegExp(t){let o=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in o)if(o.hasOwnProperty(a)){let s=o[a],l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),u=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s);l!==""&&u!==""&&(t=t.replace(new RegExp(`(${this.escapeStr(l)}|${this.escapeStr(u)})`,`gm${n}`),i+`(${this.processSynomyms(l)}|${this.processSynomyms(u)})`+i))}return t}processSynomyms(t){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(t=this.setupIgnoreJoinersRegExp(t)),t}setupWildcardsRegExp(t){return t=t.replace(/(?:\\)*\?/g,o=>o.charAt(0)==="\\"?"?":""),t.replace(/(?:\\)*\*/g,o=>o.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(t){let o=this.opt.wildcards==="withSpaces";return t.replace(/\u0001/g,o?"[\\S\\s]?":"\\S?").replace(/\u0002/g,o?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(t){return t.replace(/[^(|)\\]/g,(o,n,i)=>{let a=i.charAt(n+1);return/[(|)\\]/.test(a)||a===""?o:o+"\0"})}createJoinersRegExp(t){let o=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&o.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&o.push("\\u00ad\\u200b\\u200c\\u200d"),o.length?t.split(/\u0000+/).join(`[${o.join("")}]*`):t}createDiacriticsRegExp(t){let o=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105","A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010D","C\xC7\u0106\u010C","d\u0111\u010F","D\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119","E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012B","I\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142","L\u0141","n\xF1\u0148\u0144","N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014D","O\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159","R\u0158","s\u0161\u015B\u0219\u015F","S\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163","T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016B","U\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFF","Y\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017A","Z\u017D\u017B\u0179"]:["a\xE0\xE1\u1EA3\xE3\u1EA1\u0103\u1EB1\u1EAF\u1EB3\u1EB5\u1EB7\xE2\u1EA7\u1EA5\u1EA9\u1EAB\u1EAD\xE4\xE5\u0101\u0105A\xC0\xC1\u1EA2\xC3\u1EA0\u0102\u1EB0\u1EAE\u1EB2\u1EB4\u1EB6\xC2\u1EA6\u1EA4\u1EA8\u1EAA\u1EAC\xC4\xC5\u0100\u0104","c\xE7\u0107\u010DC\xC7\u0106\u010C","d\u0111\u010FD\u0110\u010E","e\xE8\xE9\u1EBB\u1EBD\u1EB9\xEA\u1EC1\u1EBF\u1EC3\u1EC5\u1EC7\xEB\u011B\u0113\u0119E\xC8\xC9\u1EBA\u1EBC\u1EB8\xCA\u1EC0\u1EBE\u1EC2\u1EC4\u1EC6\xCB\u011A\u0112\u0118","i\xEC\xED\u1EC9\u0129\u1ECB\xEE\xEF\u012BI\xCC\xCD\u1EC8\u0128\u1ECA\xCE\xCF\u012A","l\u0142L\u0141","n\xF1\u0148\u0144N\xD1\u0147\u0143","o\xF2\xF3\u1ECF\xF5\u1ECD\xF4\u1ED3\u1ED1\u1ED5\u1ED7\u1ED9\u01A1\u1EDF\u1EE1\u1EDB\u1EDD\u1EE3\xF6\xF8\u014DO\xD2\xD3\u1ECE\xD5\u1ECC\xD4\u1ED2\u1ED0\u1ED4\u1ED6\u1ED8\u01A0\u1EDE\u1EE0\u1EDA\u1EDC\u1EE2\xD6\xD8\u014C","r\u0159R\u0158","s\u0161\u015B\u0219\u015FS\u0160\u015A\u0218\u015E","t\u0165\u021B\u0163T\u0164\u021A\u0162","u\xF9\xFA\u1EE7\u0169\u1EE5\u01B0\u1EEB\u1EE9\u1EED\u1EEF\u1EF1\xFB\xFC\u016F\u016BU\xD9\xDA\u1EE6\u0168\u1EE4\u01AF\u1EEA\u1EE8\u1EEC\u1EEE\u1EF0\xDB\xDC\u016E\u016A","y\xFD\u1EF3\u1EF7\u1EF9\u1EF5\xFFY\xDD\u1EF2\u1EF6\u1EF8\u1EF4\u0178","z\u017E\u017C\u017AZ\u017D\u017B\u0179"],i=[];return t.split("").forEach(a=>{n.every(s=>{if(s.indexOf(a)!==-1){if(i.indexOf(s)>-1)return!1;t=t.replace(new RegExp(`[${s}]`,`gm${o}`),`[${s}]`),i.push(s)}return!0})}),t}createMergedBlanksRegExp(t){return t.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(t){let o="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xA1\xBF",n=this.opt.accuracy,i=typeof n=="string"?n:n.value,a=typeof n=="string"?[]:n.limiters,s="";switch(a.forEach(l=>{s+=`|${this.escapeStr(l)}`}),i){case"partially":default:return`()(${t})`;case"complementary":return s="\\s"+(s||this.escapeStr(o)),`()([^${s}]*${t}[^${s}]*)`;case"exactly":return`(^|\\s${s})(${t})(?=$|\\s${s})`}}getSeparatedKeywords(t){let o=[];return t.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&o.indexOf(i)===-1&&o.push(i)}):n.trim()&&o.indexOf(n)===-1&&o.push(n)}),{keywords:o.sort((n,i)=>i.length-n.length),length:o.length}}isNumeric(t){return Number(parseFloat(t))==t}checkRanges(t){if(!Array.isArray(t)||Object.prototype.toString.call(t[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(t),[];let o=[],n=0;return t.sort((i,a)=>i.start-a.start).forEach(i=>{let{start:a,end:s,valid:l}=this.callNoMatchOnInvalidRanges(i,n);l&&(i.start=a,i.length=s-a,o.push(i),n=s)}),o}callNoMatchOnInvalidRanges(t,o){let n,i,a=!1;return t&&typeof t.start<"u"?(n=parseInt(t.start,10),i=n+parseInt(t.length,10),this.isNumeric(t.start)&&this.isNumeric(t.length)&&i-o>0&&i-n>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(t)}`),this.opt.noMatch(t))):(this.log(`Ignoring invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)),{start:n,end:i,valid:a}}checkWhitespaceRanges(t,o,n){let i,a=!0,s=n.length,l=o-s,u=parseInt(t.start,10)-l;return u=u>s?s:u,i=u+parseInt(t.length,10),i>s&&(i=s,this.log(`End range automatically set to the max value of ${s}`)),u<0||i-u<0||u>s||i>s?(a=!1,this.log(`Invalid range: ${JSON.stringify(t)}`),this.opt.noMatch(t)):n.substring(u,i).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(t)),this.opt.noMatch(t)),{start:u,end:i,valid:a}}getTextNodes(t){let o="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:o.length,end:(o+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{t({value:o,nodes:n})})}matchesExclude(t){return Xe.matches(t,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(t,o,n){let i=this.opt.element?this.opt.element:"mark",a=t.splitText(o),s=a.splitText(n-o),l=document.createElement(i);return l.setAttribute("data-markjs","true"),this.opt.className&&l.setAttribute("class",this.opt.className),l.textContent=a.textContent,a.parentNode.replaceChild(l,a),s}wrapRangeInMappedTextNode(t,o,n,i,a){t.nodes.every((s,l)=>{let u=t.nodes[l+1];if(typeof u>"u"||u.start>o){if(!i(s.node))return!1;let p=o-s.start,h=(n>s.end?s.end:n)-s.start,f=t.value.substr(0,s.start),m=t.value.substr(h+s.start);if(s.node=this.wrapRangeInTextNode(s.node,p,h),t.value=f+m,t.nodes.forEach((b,E)=>{E>=l&&(t.nodes[E].start>0&&E!==l&&(t.nodes[E].start-=h),t.nodes[E].end-=h)}),n-=h,a(s.node.previousSibling,s.start),n>s.end)o=s.end;else return!1}return!0})}wrapMatches(t,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(l=>{l.nodes.forEach(u=>{u=u.node;let p;for(;(p=t.exec(u.textContent))!==null&&p[s]!=="";){if(!n(p[s],u))continue;let h=p.index;if(s!==0)for(let f=1;f<s;f++)h+=p[f].length;u=this.wrapRangeInTextNode(u,h,h+p[s].length),i(u.previousSibling),t.lastIndex=0}}),a()})}wrapMatchesAcrossElements(t,o,n,i,a){let s=o===0?0:o+1;this.getTextNodes(l=>{let u;for(;(u=t.exec(l.value))!==null&&u[s]!=="";){let p=u.index;if(s!==0)for(let f=1;f<s;f++)p+=u[f].length;let h=p+u[s].length;this.wrapRangeInMappedTextNode(l,p,h,f=>n(u[s],f),(f,m)=>{t.lastIndex=m,i(f)})}a()})}wrapRangeFromIndex(t,o,n,i){this.getTextNodes(a=>{let s=a.value.length;t.forEach((l,u)=>{let{start:p,end:h,valid:f}=this.checkWhitespaceRanges(l,s,a.value);f&&this.wrapRangeInMappedTextNode(a,p,h,m=>o(m,l,a.value.substring(p,h),u),m=>{n(m,l)})}),i()})}unwrapMatches(t){let o=t.parentNode,n=document.createDocumentFragment();for(;t.firstChild;)n.appendChild(t.removeChild(t.firstChild));o.replaceChild(n,t),this.ie?this.normalizeTextNode(o):o.normalize()}normalizeTextNode(t){if(t){if(t.nodeType===3)for(;t.nextSibling&&t.nextSibling.nodeType===3;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);else this.normalizeTextNode(t.firstChild);this.normalizeTextNode(t.nextSibling)}}markRegExp(t,o){this.opt=o,this.log(`Searching with expression "${t}"`);let n=0,i="wrapMatches",a=s=>{n++,this.opt.each(s)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](t,this.opt.ignoreGroups,(s,l)=>this.opt.filter(l,s,n),a,()=>{n===0&&this.opt.noMatch(t),this.opt.done(n)})}mark(t,o){this.opt=o;let n=0,i="wrapMatches",{keywords:a,length:s}=this.getSeparatedKeywords(typeof t=="string"?[t]:t),l=this.opt.caseSensitive?"":"i",u=p=>{let h=new RegExp(this.createRegExp(p),`gm${l}`),f=0;this.log(`Searching with expression "${h}"`),this[i](h,1,(m,b)=>this.opt.filter(b,p,n,f),m=>{f++,n++,this.opt.each(m)},()=>{f===0&&this.opt.noMatch(p),a[s-1]===p?this.opt.done(n):u(a[a.indexOf(p)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),s===0?this.opt.done(n):u(a[0])}markRanges(t,o){this.opt=o;let n=0,i=this.checkRanges(t);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(a,s,l,u)=>this.opt.filter(a,s,l,u),(a,s)=>{n++,this.opt.each(a,s)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(t){this.opt=t;let o=this.opt.element?this.opt.element:"*";o+="[data-markjs]",this.opt.className&&(o+=`.${this.opt.className}`),this.log(`Removal selector "${o}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{let i=Xe.matches(n,o),a=this.matchesExclude(n);return!i||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function bn(e){let t=new tr(e);return this.mark=(o,n)=>(t.mark(o,n),this),this.markRegExp=(o,n)=>(t.markRegExp(o,n),this),this.markRanges=(o,n)=>(t.markRanges(o,n),this),this.unmark=o=>(t.unmark(o),this),this}var du=bn,$s=r.create("--ft-utils-highlight-html-background-color","","COLOR","#FFF26E"),uu=P`
5
5
  .highlight-html-match {
6
6
  background: ${$s};
7
7
  }
8
- `;function uu(e,t,o){var n,i;let a=e.getAttribute("data-highlight-html-query");if((a??"")!==(t??"")){let s=new lu(e);if(s.unmark(),t&&t.trim()){let l={className:(n=o?.className)!==null&&n!==void 0?n:"highlight-html-match",acrossElements:!0};o?.attributes!=null&&(l.each=p=>{for(let h in o.attributes)p.setAttribute(h,o.attributes[h])}),s.mark(t.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((i=t.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(p=>s.mark(p.replace(/"/g,""),{...l,separateWordSearch:!1}))}}e.setAttribute("data-highlight-html-query",t??"")}var Sn={};I(Sn,{noTextInputDefaultClearButton:()=>hu,noTextSelect:()=>En,safariEllipsisFix:()=>fu,wordWrap:()=>pu});var En=P`
8
+ `;function pu(e,t,o){var n,i;let a=e.getAttribute("data-highlight-html-query");if((a??"")!==(t??"")){let s=new du(e);if(s.unmark(),t&&t.trim()){let l={className:(n=o?.className)!==null&&n!==void 0?n:"highlight-html-match",acrossElements:!0};o?.attributes!=null&&(l.each=p=>{for(let h in o.attributes)p.setAttribute(h,o.attributes[h])}),s.mark(t.replace(/"[^"]+"/g,""),{...l,separateWordSearch:!0}),((i=t.match(/"[^"]+"/g))!==null&&i!==void 0?i:[]).forEach(p=>s.mark(p.replace(/"/g,""),{...l,separateWordSearch:!1}))}}e.setAttribute("data-highlight-html-query",t??"")}var Sn={};k(Sn,{noTextInputDefaultClearButton:()=>mu,noTextSelect:()=>En,safariEllipsisFix:()=>hu,wordWrap:()=>fu});var En=P`
9
9
  .ft-no-text-select {
10
10
  -webkit-touch-callout: none;
11
11
  -webkit-user-select: none;
@@ -14,7 +14,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
14
14
  -ms-user-select: none;
15
15
  user-select: none;
16
16
  }
17
- `,pu=P`
17
+ `,fu=P`
18
18
  .ft-word-wrap {
19
19
  white-space: normal;
20
20
  word-wrap: break-word;
@@ -26,7 +26,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
26
26
  -webkit-hyphens: auto;
27
27
  hyphens: auto
28
28
  }
29
- `,fu=P`
29
+ `,hu=P`
30
30
  .ft-safari-ellipsis-fix {
31
31
  margin-right: 0;
32
32
 
@@ -37,14 +37,14 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
37
37
  display: inline-block;
38
38
  width: 0;
39
39
  }
40
- `,hu=P`
40
+ `,mu=P`
41
41
  input::-webkit-search-cancel-button,
42
42
  input::-webkit-search-decoration,
43
43
  input::-webkit-search-results-button,
44
44
  input::-webkit-search-results-decoration {
45
45
  display: none;
46
46
  }
47
- `;var Hs={};var On={};I(On,{ParametrizedLabelResolver:()=>vn});var vn=class e{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var n,i;t=this.resolvePluralKey(t,o);let a=(i=(n=this.labels[t])!==null&&n!==void 0?n:this.defaultLabels[t])!==null&&i!==void 0?i:"";return e.replaceParameters(a,...o)}static replaceParameters(t,...o){return o.forEach((n,i)=>t=t.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(a,s)=>e.formatValue(n,s))),t}resolvePluralKey(t,o){for(let n of o)if(typeof n=="number"){let i=`${String(t)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return t}static formatValue(t,o){return t instanceof Date?e.formatDate(t,o):t??""}static formatDate(t,o){let n=i=>o?.includes("date")?t.toLocaleDateString(i):o?.includes("time")?t.toLocaleTimeString(i):t.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var jn={};I(jn,{FtCommandQueue:()=>rr,FtLitElementRedux:()=>Cn,FtReduxStore:()=>Vn,FtStateManager:()=>Wn,ReduxWatcher:()=>Qr,clearAllStores:()=>pp,isFtReduxStore:()=>Tt,redux:()=>yu,reduxEventListener:()=>gu,reduxReactive:()=>mu,watch:()=>fp,withRedux:()=>zs});var mu=()=>(e,t)=>{var o;let n=e.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(t)},yu=e=>{let t=e??{};return(o,n)=>{var i;let a={hasChanged:_e,attribute:!1,...t};_(a)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=t.selector)!==null&&i!==void 0?i:(l=>l[n]),store:t.store})}},gu=e=>(t,o)=>{let n=t.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,e)};var rr=class{constructor(){this.queue=[]}add(t,o=!1){o&&this.clear(t.type),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(t){typeof t=="string"?this.queue=this.queue.filter(o=>o.type!==t):this.queue=this.queue.filter(o=>!t.test(o.type))}};function Tt(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var or=Symbol("internalReduxEventsUnsubscribers"),Ne=Symbol("internalStoresUnsubscribers"),Qe=Symbol("internalStores"),zs=Q(Symbol("withRedux"),function(e){var t,o,n;class i extends e{constructor(){super(...arguments),this[t]=new Map,this[o]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[Qe].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Qe].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Qe].get(s)}addStore(s,l){var d;l=(d=l??s.name)!==null&&d!==void 0?d:"default-store",this.unsubscribeFromStore(l),this[Qe].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[Qe].delete(l)}setupStores(){this.unsubscribeFromStores(),this[Qe].forEach((s,l)=>this.subscribeToStore(l,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,l)=>{let d=this.constructor.getPropertyOptions(l);if(!d?.attribute||!this.hasAttribute(typeof d?.attribute=="string"?d.attribute:l)){let p=this.getStore(s.store);p&&(s.store?this[Ne].has(s.store):this[Ne].size>0)&&(this[l]=s.selector(p.getState(),this))}})}subscribeToStore(s,l){var d;this[Ne].set(s,l.subscribe(()=>this.updateFromStores())),this[or].set(s,[]),Tt(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[or].get(s).push(()=>l.removeEventListener(p.eventName,f))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[Ne].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[Ne].has(s)&&this[Ne].get(s)(),this[Ne].delete(s),(l=this[or].get(s))===null||l===void 0||l.forEach(d=>d()),this[or].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=Ne,o=Qe,n=or,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),Cn=class extends zs(F){};function j(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var bu=typeof Symbol=="function"&&Symbol.observable||"@@observable",Gs=bu,An=()=>Math.random().toString(36).substring(7).split("").join("."),xu={INIT:`@@redux/INIT${An()}`,REPLACE:`@@redux/REPLACE${An()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${An()}`},Pr=xu;function Ir(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function wn(e,t,o){if(typeof e!="function")throw new Error(j(2));if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(j(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(j(1));return o(wn)(e,t)}let n=e,i=t,a=new Map,s=a,l=0,d=!1;function p(){s===a&&(s=new Map,a.forEach((S,C)=>{s.set(C,S)}))}function h(){if(d)throw new Error(j(3));return i}function f(S){if(typeof S!="function")throw new Error(j(4));if(d)throw new Error(j(5));let C=!0;p();let N=l++;return s.set(N,S),function(){if(C){if(d)throw new Error(j(6));C=!1,p(),s.delete(N),a=null}}}function m(S){if(!Ir(S))throw new Error(j(7));if(typeof S.type>"u")throw new Error(j(8));if(typeof S.type!="string")throw new Error(j(17));if(d)throw new Error(j(9));try{d=!0,i=n(i,S)}finally{d=!1}return(a=s).forEach(N=>{N()}),S}function b(S){if(typeof S!="function")throw new Error(j(10));n=S,m({type:Pr.REPLACE})}function E(){let S=f;return{subscribe(C){if(typeof C!="object"||C===null)throw new Error(j(11));function N(){let g=C;g.next&&g.next(h())}return N(),{unsubscribe:S(N)}},[Gs](){return this}}}return m({type:Pr.INIT}),{dispatch:m,subscribe:f,getState:h,replaceReducer:b,[Gs]:E}}function Eu(e){Object.keys(e).forEach(t=>{let o=e[t];if(typeof o(void 0,{type:Pr.INIT})>"u")throw new Error(j(12));if(typeof o(void 0,{type:Pr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(j(13))})}function Vs(e){let t=Object.keys(e),o={};for(let s=0;s<t.length;s++){let l=t[s];typeof e[l]=="function"&&(o[l]=e[l])}let n=Object.keys(o),i,a;try{Eu(o)}catch(s){a=s}return function(l={},d){if(a)throw a;let p=!1,h={};for(let f=0;f<n.length;f++){let m=n[f],b=o[m],E=l[m],O=b(E,d);if(typeof O>"u"){let S=d&&d.type;throw new Error(j(14))}h[m]=O,p=p||O!==E}return p=p||n.length!==Object.keys(l).length,p?h:l}}function nr(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,o)=>(...n)=>t(o(...n)))}function Ws(...e){return t=>(o,n)=>{let i=t(o,n),a=()=>{throw new Error(j(15))},s={getState:i.getState,dispatch:(d,...p)=>a(d,...p)},l=e.map(d=>d(s));return a=nr(...l)(i.dispatch),{...i,dispatch:a}}}function js(e){return Ir(e)&&"type"in e&&typeof e.type=="string"}var tc=Symbol.for("immer-nothing"),Ks=Symbol.for("immer-draftable"),K=Symbol.for("immer-state");function se(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var J=Object,Nt=J.getPrototypeOf,Ur="constructor",Gr="prototype",Ln="configurable",Fr="enumerable",Dr="writable",ir="value",he=e=>!!e&&!!e[K];function ee(e){return e?rc(e)||Wr(e)||!!e[Ks]||!!e[Ur]?.[Ks]||jr(e)||Kr(e):!1}var Su=J[Gr][Ur].toString(),Zs=new WeakMap;function rc(e){if(!e||!Fn(e))return!1;let t=Nt(e);if(t===null||t===J[Gr])return!0;let o=J.hasOwnProperty.call(t,Ur)&&t[Ur];if(o===Object)return!0;if(!Lt(o))return!1;let n=Zs.get(o);return n===void 0&&(n=Function.toString.call(o),Zs.set(o,n)),n===Su}function Vr(e,t,o=!0){cr(e)===0?(o?Reflect.ownKeys(e):J.keys(e)).forEach(i=>{t(i,e[i],e)}):e.forEach((n,i)=>t(i,n,e))}function cr(e){let t=e[K];return t?t.type_:Wr(e)?1:jr(e)?2:Kr(e)?3:0}var _n=(e,t,o=cr(e))=>o===2?e.has(t):J[Gr].hasOwnProperty.call(e,t),Nn=(e,t,o=cr(e))=>o===2?e.get(t):e[t],Br=(e,t,o,n=cr(e))=>{n===2?e.set(t,o):n===3?e.add(o):e[t]=o};function vu(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}var Wr=Array.isArray,jr=e=>e instanceof Map,Kr=e=>e instanceof Set,Fn=e=>typeof e=="object",Lt=e=>typeof e=="function",Rn=e=>typeof e=="boolean";function Ou(e){let t=+e;return Number.isInteger(t)&&String(t)===e}var Ee=e=>e.copy_||e.base_;var Bn=e=>e.modified_?e.copy_:e.base_;function Pn(e,t){if(jr(e))return new Map(e);if(Kr(e))return new Set(e);if(Wr(e))return Array[Gr].slice.call(e);let o=rc(e);if(t===!0||t==="class_only"&&!o){let n=J.getOwnPropertyDescriptors(e);delete n[K];let i=Reflect.ownKeys(n);for(let a=0;a<i.length;a++){let s=i[a],l=n[s];l[Dr]===!1&&(l[Dr]=!0,l[Ln]=!0),(l.get||l.set)&&(n[s]={[Ln]:!0,[Dr]:!0,[Fr]:l[Fr],[ir]:e[s]})}return J.create(Nt(e),n)}else{let n=Nt(e);if(n!==null&&o)return{...e};let i=J.create(n);return J.assign(i,e)}}function $n(e,t=!1){return Zr(e)||he(e)||!ee(e)||(cr(e)>1&&J.defineProperties(e,{set:kr,add:kr,clear:kr,delete:kr}),J.freeze(e),t&&Vr(e,(o,n)=>{$n(n,!0)},!1)),e}function Cu(){se(2)}var kr={[ir]:Cu};function Zr(e){return e===null||!Fn(e)?!0:J.isFrozen(e)}var $r="MapSet",In="Patches",qs="ArrayMethods",oc={};function Je(e){let t=oc[e];return t||se(0,e),t}var Ys=e=>!!oc[e];var ar,nc=()=>ar,Au=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:Ys($r)?Je($r):void 0,arrayMethodsPlugin_:Ys(qs)?Je(qs):void 0});function Xs(e,t){t&&(e.patchPlugin_=Je(In),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function kn(e){Dn(e),e.drafts_.forEach(wu),e.drafts_=null}function Dn(e){e===ar&&(ar=e.parent_)}var Qs=e=>ar=Au(ar,e);function wu(e){let t=e[K];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function Js(e,t){t.unfinalizedDrafts_=t.drafts_.length;let o=t.drafts_[0];if(e!==void 0&&e!==o){o[K].modified_&&(kn(t),se(4)),ee(e)&&(e=ec(t,e));let{patchPlugin_:i}=t;i&&i.generateReplacementPatches_(o[K].base_,e,t)}else e=ec(t,o);return _u(t,e,!0),kn(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==tc?e:void 0}function ec(e,t){if(Zr(t))return t;let o=t[K];if(!o)return Hr(t,e.handledSet_,e);if(!qr(o,e))return t;if(!o.modified_)return o.base_;if(!o.finalized_){let{callbacks_:n}=o;if(n)for(;n.length>0;)n.pop()(e);sc(o,e)}return o.copy_}function _u(e,t,o=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&$n(t,o)}function ic(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var qr=(e,t)=>e.scope_===t,Ru=[];function ac(e,t,o,n){let i=Ee(e),a=e.type_;if(n!==void 0&&Nn(i,n,a)===t){Br(i,n,o,a);return}if(!e.draftLocations_){let l=e.draftLocations_=new Map;Vr(i,(d,p)=>{if(he(p)){let h=l.get(p)||[];h.push(d),l.set(p,h)}})}let s=e.draftLocations_.get(t)??Ru;for(let l of s)Br(i,l,o,a)}function Tu(e,t,o){e.callbacks_.push(function(i){let a=t;if(!a||!qr(a,i))return;i.mapSetPlugin_?.fixSetContents(a);let s=Bn(a);ac(e,a.draft_??a,s,o),sc(a,i)})}function sc(e,t){if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){let{patchPlugin_:n}=t;if(n){let i=n.getPath(e);i&&n.generatePatches_(e,i,t)}ic(e)}}function Lu(e,t,o){let{scope_:n}=e;if(he(o)){let i=o[K];qr(i,n)&&i.callbacks_.push(function(){Mr(e);let s=Bn(i);ac(e,o,s,t)})}else ee(o)&&e.callbacks_.push(function(){let a=Ee(e);e.type_===3?a.has(o)&&Hr(o,n.handledSet_,n):Nn(a,t,e.type_)===o&&n.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&Hr(Nn(e.copy_,t,e.type_),n.handledSet_,n)})}function Hr(e,t,o){return!o.immer_.autoFreeze_&&o.unfinalizedDrafts_<1||he(e)||t.has(e)||!ee(e)||Zr(e)||(t.add(e),Vr(e,(n,i)=>{if(he(i)){let a=i[K];if(qr(a,o)){let s=Bn(a);Br(e,n,s,e.type_),ic(a)}}else ee(i)&&Hr(i,t,o)})),e}function Nu(e,t){let o=Wr(e),n={type_:o?1:0,scope_:t?t.scope_:nc(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},i=n,a=zr;o&&(i=[n],a=sr);let{revoke:s,proxy:l}=Proxy.revocable(i,a);return n.draft_=l,n.revoke_=s,[l,n]}var zr={get(e,t){if(t===K)return e;let o=e.scope_.arrayMethodsPlugin_,n=e.type_===1&&typeof t=="string";if(n&&o?.isArrayOperationMethod(t))return o.createMethodInterceptor(e,t);let i=Ee(e);if(!_n(i,t,e.type_))return Iu(e,i,t);let a=i[t];if(e.finalized_||!ee(a)||n&&e.operationMethod&&o?.isMutatingArrayMethod(e.operationMethod)&&Ou(t))return a;if(a===Tn(e.base_,t)||Pu(e,t,a)){Mr(e);let s=e.type_===1?+t:t,l=Un(e.scope_,a,e,s);return e.copy_[s]=l}return a},has(e,t){return t in Ee(e)},ownKeys(e){return Reflect.ownKeys(Ee(e))},set(e,t,o){let n=cc(Ee(e),t);if(n?.set)return n.set.call(e.draft_,o),!0;if(!e.modified_){let i=Tn(Ee(e),t),a=i?.[K];if(a&&a.base_===o)return e.copy_[t]=o,e.assigned_.set(t,!1),!0;if(vu(o,i)&&(o!==void 0||_n(e.base_,t,e.type_)))return!0;Mr(e),Mn(e)}return e.copy_[t]===o&&(o!==void 0||_n(e.copy_,t,e.type_))||Number.isNaN(o)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=o,e.assigned_.set(t,!0),Lu(e,t,o)),!0},deleteProperty(e,t){return Mr(e),Tn(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),Mn(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){let o=Ee(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{[Dr]:!0,[Ln]:e.type_!==1||t!=="length",[Fr]:n[Fr],[ir]:o[t]}},defineProperty(){se(11)},getPrototypeOf(e){return Nt(e.base_)},setPrototypeOf(){se(12)}},sr={};for(let e in zr){let t=zr[e];sr[e]=function(){let o=arguments;return o[0]=o[0][0],t.apply(this,o)}}sr.deleteProperty=function(e,t){return sr.set.call(this,e,t,void 0)};sr.set=function(e,t,o){return zr.set.call(this,e[0],t,o,e[0])};function Tn(e,t){let o=e[K];return(o?Ee(o):e)[t]}function Pu(e,t,o){return e.type_!==1||!e.allIndicesReassigned_||e.assigned_?.get(t)||!ee(o)||o[K]?!1:e.baseRefs_.has(o)}function Iu(e,t,o){let n=cc(t,o);return n?ir in n?n[ir]:n.get?.call(e.draft_):void 0}function cc(e,t){if(!(t in e))return;let o=Nt(e);for(;o;){let n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Nt(o)}}function Mn(e){e.modified_||(e.modified_=!0,e.parent_&&Mn(e.parent_))}function Mr(e){e.copy_||(e.assigned_=new Map,e.copy_=Pn(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var ku=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(t,o,n)=>{if(Lt(t)&&!Lt(o)){let a=o;o=t;let s=this;return function(d=a,...p){return s.produce(d,h=>o.call(this,h,...p))}}Lt(o)||se(6),n!==void 0&&!Lt(n)&&se(7);let i;if(ee(t)){let a=Qs(this),s=Un(a,t,void 0),l=!0;try{i=o(s),l=!1}finally{l?kn(a):Dn(a)}return Xs(a,n),Js(i,a)}else if(!t||!Fn(t)){if(i=o(t),i===void 0&&(i=t),i===tc&&(i=void 0),this.autoFreeze_&&$n(i,!0),n){let a=[],s=[];Je(In).generateReplacementPatches_(t,i,{patches_:a,inversePatches_:s}),n(a,s)}return i}else se(1,t)},this.produceWithPatches=(t,o)=>{if(Lt(t))return(s,...l)=>this.produceWithPatches(s,d=>t(d,...l));let n,i;return[this.produce(t,o,(s,l)=>{n=s,i=l}),n,i]},Rn(e?.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),Rn(e?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),Rn(e?.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){ee(e)||se(8),he(e)&&(e=lc(e));let t=Qs(this),o=Un(t,e,void 0);return o[K].isManual_=!0,Dn(t),o}finishDraft(e,t){let o=e&&e[K];(!o||!o.isManual_)&&se(9);let{scope_:n}=o;return Xs(n,t),Js(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let o;for(o=t.length-1;o>=0;o--){let i=t[o];if(i.path.length===0&&i.op==="replace"){e=i.value;break}}o>-1&&(t=t.slice(o+1));let n=Je(In).applyPatches_;return he(e)?n(e,t):this.produce(e,i=>n(i,t))}};function Un(e,t,o,n){let[i,a]=jr(t)?Je($r).proxyMap_(t,o):Kr(t)?Je($r).proxySet_(t,o):Nu(t,o);return(o?.scope_??nc()).drafts_.push(i),a.callbacks_=o?.callbacks_??[],a.key_=n,o&&n!==void 0?Tu(o,a,n):a.callbacks_.push(function(d){d.mapSetPlugin_?.fixSetContents(a);let{patchPlugin_:p}=d;a.modified_&&p&&p.generatePatches_(a,[],d)}),i}function lc(e){return he(e)||se(10,e),dc(e)}function dc(e){if(!ee(e)||Zr(e))return e;let t=e[K],o,n=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,o=Pn(e,t.scope_.immer_.useStrictShallowCopy_),n=t.scope_.immer_.shouldUseStrictIteration()}else o=Pn(e,!0);return Vr(o,(i,a)=>{Br(o,i,dc(a))},n),t&&(t.finalized_=!1),o}var Du=globalThis.Iterator,Wb=typeof Du?.from=="function";var Mu=new ku,Hn=Mu.produce;function uc(e){return({dispatch:o,getState:n})=>i=>a=>typeof a=="function"?a(o,n,e):i(a)}var pc=uc(),fc=uc;var Uu=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?nr:nr.apply(null,arguments)},Qb=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}},Fu=e=>e&&typeof e.match=="function";function Pe(e,t){function o(...n){if(t){let i=t(...n);if(!i)throw new Error(Se(0));return{type:e,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:e,payload:n[0]}}return o.toString=()=>`${e}`,o.type=e,o.match=n=>js(n)&&n.type===e,o}var bc=class lr extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,lr.prototype)}static get[Symbol.species](){return lr}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new lr(...t[0].concat(this)):new lr(...t.concat(this))}};function hc(e){return ee(e)?Hn(e,()=>{}):e}function Yr(e,t,o){return e.has(t)?e.get(t):e.set(t,o(t)).get(t)}function Bu(e){return typeof e=="boolean"}var $u=()=>function(t){let{thunk:o=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:a=!0}=t??{},s=new bc;return o&&(Bu(o)?s.push(pc):s.push(fc(o.extraArgument))),s},Hu="RTK_autoBatch";var mc=e=>t=>{setTimeout(t,e)},zu=(e,t)=>o=>{let n=!1,i=()=>{n||(n=!0,cancelAnimationFrame(a),clearTimeout(s),o())},a=e(i),s=setTimeout(i,t)},Gu=(e={type:"raf"})=>t=>(...o)=>{let n=t(...o),i=!0,a=!1,s=!1,l=new Set,d=e.type==="tick"?queueMicrotask:e.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?zu(window.requestAnimationFrame,100):mc(10):e.type==="callback"?e.queueNotification:mc(e.timeout),p=()=>{s=!1,a&&(a=!1,l.forEach(h=>h()))};return Object.assign({},n,{subscribe(h){let f=()=>i&&h(),m=n.subscribe(f);return l.add(h),()=>{m(),l.delete(h)}},dispatch(h){try{return i=!h?.meta?.[Hu],a=!i,a&&(s||(s=!0,d(p))),n.dispatch(h)}finally{i=!0}}})},Vu=e=>function(o){let{autoBatch:n=!0}=o??{},i=new bc(e);return n&&i.push(Gu(typeof n=="object"?n:void 0)),i};function xc(e){let t=$u(),{reducer:o=void 0,middleware:n,devTools:i=!0,duplicateMiddlewareCheck:a=!0,preloadedState:s=void 0,enhancers:l=void 0}=e||{},d;if(typeof o=="function")d=o;else if(Ir(o))d=Vs(o);else throw new Error(Se(1));let p;typeof n=="function"?p=n(t):p=t();let h=nr;i&&(h=Uu({trace:!1,...typeof i=="object"&&i}));let f=Ws(...p),m=Vu(f),b=typeof l=="function"?l(m):m(),E=h(...b);return wn(d,s,E)}function Ec(e){let t={},o=[],n,i={addCase(a,s){let l=typeof a=="string"?a:a.type;if(!l)throw new Error(Se(28));if(l in t)throw new Error(Se(29));return t[l]=s,i},addAsyncThunk(a,s){return s.pending&&(t[a.pending.type]=s.pending),s.rejected&&(t[a.rejected.type]=s.rejected),s.fulfilled&&(t[a.fulfilled.type]=s.fulfilled),s.settled&&o.push({matcher:a.settled,reducer:s.settled}),i},addMatcher(a,s){return o.push({matcher:a,reducer:s}),i},addDefaultCase(a){return n=a,i}};return e(i),[t,o,n]}function Wu(e){return typeof e=="function"}function ju(e,t){let[o,n,i]=Ec(t),a;if(Wu(e))a=()=>hc(e());else{let l=hc(e);a=()=>l}function s(l=a(),d){let p=[o[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(he(h)){let b=f(h,d);return b===void 0?h:b}else{if(ee(h))return Hn(h,m=>f(m,d));{let m=f(h,d);if(m===void 0){if(h===null)return h;throw Error("A case reducer on a non-draftable value must not return undefined")}return m}}return h},l)}return s.getInitialState=a,s}var Ku=(e,t)=>Fu(e)?e.match(t):e(t);function Zu(...e){return t=>e.some(o=>Ku(o,t))}var qu="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Yu=(e=21)=>{let t="",o=e;for(;o--;)t+=qu[Math.random()*64|0];return t},Xu=["name","message","stack","code"],zn=class{constructor(e,t){this.payload=e,this.meta=t}payload;meta;_type},yc=class{constructor(e,t){this.payload=e,this.meta=t}payload;meta;_type},Qu=e=>{if(typeof e=="object"&&e!==null){let t={};for(let o of Xu)typeof e[o]=="string"&&(t[o]=e[o]);return t}return{message:String(e)}},gc="External signal was aborted",Ju=(()=>{function e(t,o,n){let i=Pe(t+"/fulfilled",(d,p,h,f)=>({payload:d,meta:{...f||{},arg:h,requestId:p,requestStatus:"fulfilled"}})),a=Pe(t+"/pending",(d,p,h)=>({payload:void 0,meta:{...h||{},arg:p,requestId:d,requestStatus:"pending"}})),s=Pe(t+"/rejected",(d,p,h,f,m)=>({payload:f,error:(n&&n.serializeError||Qu)(d||"Rejected"),meta:{...m||{},arg:h,requestId:p,rejectedWithValue:!!f,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):Yu(),E=new AbortController,O,S;function C(y){S=y,E.abort()}p&&(p.aborted?C(gc):p.addEventListener("abort",()=>C(gc),{once:!0}));let N=(async function(){let y;try{let x=n?.condition?.(d,{getState:f,extra:m});if(tp(x)&&(x=await x),x===!1||E.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};let w=new Promise((R,k)=>{O=()=>{k({name:"AbortError",message:S||"Aborted"})},E.signal.addEventListener("abort",O,{once:!0})});h(a(b,d,n?.getPendingMeta?.({requestId:b,arg:d},{getState:f,extra:m}))),y=await Promise.race([w,Promise.resolve(o(d,{dispatch:h,getState:f,extra:m,requestId:b,signal:E.signal,abort:C,rejectWithValue:((R,k)=>new zn(R,k)),fulfillWithValue:((R,k)=>new yc(R,k))})).then(R=>{if(R instanceof zn)throw R;return R instanceof yc?i(R.payload,b,d,R.meta):i(R,b,d)})])}catch(x){y=x instanceof zn?s(null,b,d,x.payload,x.meta):s(x,b,d)}finally{O&&E.signal.removeEventListener("abort",O)}return n&&!n.dispatchConditionRejection&&s.match(y)&&y.meta.condition||h(y),y})();return Object.assign(N,{abort:C,requestId:b,arg:d,unwrap(){return N.then(ep)}})}}return Object.assign(l,{pending:a,rejected:s,fulfilled:i,settled:Zu(s,i),typePrefix:t})}return e.withTypes=()=>e,e})();function ep(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function tp(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Sc=Symbol.for("rtk-slice-createasyncthunk"),ex={[Sc]:Ju};function rp(e,t){return`${e}/${t}`}function op({creators:e}={}){let t=e?.asyncThunk?.[Sc];return function(n){let{name:i,reducerPath:a=i}=n;if(!i)throw new Error(Se(11));typeof process<"u";let s=(typeof n.reducers=="function"?n.reducers(ip()):n.reducers)||{},l=Object.keys(s),d={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},p={addCase(y,g){let x=typeof y=="string"?y:y.type;if(!x)throw new Error(Se(12));if(x in d.sliceCaseReducersByType)throw new Error(Se(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=s[y],x={reducerName:y,type:rp(i,y),createNotation:typeof n.reducers=="function"};sp(g)?lp(x,g,p,t):ap(x,g,p)});function h(){let[y={},g=[],x=void 0]=typeof n.extraReducers=="function"?Ec(n.extraReducers):[n.extraReducers],w={...y,...d.sliceCaseReducersByType};return ju(n.initialState,R=>{for(let k in w)R.addCase(k,w[k]);for(let k of d.sliceMatchers)R.addMatcher(k.matcher,k.reducer);for(let k of g)R.addMatcher(k.matcher,k.reducer);x&&R.addDefaultCase(x)})}let f=y=>y,m=new Map,b=new WeakMap,E;function O(y,g){return E||(E=h()),E(y,g)}function S(){return E||(E=h()),E.getInitialState()}function C(y,g=!1){function x(R){let k=R[y];return typeof k>"u"&&g&&(k=Yr(b,x,S)),k}function w(R=f){let k=Yr(m,g,()=>new WeakMap);return Yr(k,R,()=>{let U={};for(let[T,D]of Object.entries(n.selectors??{}))U[T]=np(D,R,()=>Yr(b,R,S),g);return U})}return{reducerPath:y,getSelectors:w,get selectors(){return w(x)},selectSlice:x}}let N={name:i,reducer:O,actions:d.actionCreators,caseReducers:d.sliceCaseReducersByName,getInitialState:S,...C(a),injectInto(y,{reducerPath:g,...x}={}){let w=g??a;return y.inject({reducerPath:w,reducer:O},x),{...N,...C(w,!0)}}};return N}}function np(e,t,o,n){function i(a,...s){let l=t(a);return typeof l>"u"&&n&&(l=o()),e(l,...s)}return i.unwrapped=e,i}var vc=op();function ip(){function e(t,o){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...o}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...o){return t(...o)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,o){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:o}},asyncThunk:e}}function ap({type:e,reducerName:t,createNotation:o},n,i){let a,s;if("reducer"in n){if(o&&!cp(n))throw new Error(Se(17));a=n.reducer,s=n.prepare}else a=n;i.addCase(e,a).exposeCaseReducer(t,a).exposeAction(t,s?Pe(e,s):Pe(e))}function sp(e){return e._reducerDefinitionType==="asyncThunk"}function cp(e){return e._reducerDefinitionType==="reducerWithPrepare"}function lp({type:e,reducerName:t},o,n,i){if(!i)throw new Error(Se(18));let{payloadCreator:a,fulfilled:s,pending:l,rejected:d,settled:p,options:h}=o,f=i(e,a,h);n.exposeAction(t,f),s&&n.addCase(f.fulfilled,s),l&&n.addCase(f.pending,l),d&&n.addCase(f.rejected,d),p&&n.addMatcher(f.settled,p),n.exposeCaseReducer(t,{fulfilled:s||Xr,pending:l||Xr,rejected:d||Xr,settled:p||Xr})}function Xr(){}var Oc="listener",Cc="completed",Ac="cancelled",tx=`task-${Ac}`,rx=`task-${Cc}`,ox=`${Oc}-${Ac}`,nx=`${Oc}-${Cc}`;var{assign:wc}=Object;var Gn="listenerMiddleware";var dp=wc(Pe(`${Gn}/add`),{withTypes:()=>dp}),ix=Pe(`${Gn}/removeAll`),up=wc(Pe(`${Gn}/remove`),{withTypes:()=>up});function Se(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}window.ftReduxStores||(window.ftReduxStores={});var Vn=class e extends Ge{static get(t){var o;let n=typeof t=="string"?t:t.name,i=typeof t=="string"?void 0:t,a=window.ftReduxStores[n];if(Tt(a))return a;if(i==null)return;let s=vc({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),l=xc({reducer:(d,p)=>{if(p.type==="CLEAR_FT_REDUX_STORE"){let h=bt(s.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 s.reducer(d,p)}});return window.ftReduxStores[i.name]=new e(s,l,i.eventBus)}constructor(t,o,n){super(),this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new rr,this.injectInto=(a,s)=>this.reduxSlice.injectInto(a,s),this.selectSlice=a=>this.reduxSlice.selectSlice(a);let i=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,l)=>{let d=s,p=a[d];return p?(...h)=>{let f=p(...h.map(i));return this.reduxStore.dispatch(f),f}:h=>{let f=d,m=this.getState()[f];ze(m,h)||this.setState({[f]:i(h)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...t){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:t})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}get selectors(){return this.reduxSlice.selectors}get reducerPath(){return this.reduxSlice.reducerPath}getSelectors(){return this.reduxSlice.getSelectors()}};function pp(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))Tt(t)&&t.clear()}var Qr=class{constructor(t,o,n){this.store=t,this.valueSelector=o,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let t=this.store.getState(),o=this.valueSelector(t);_e(this.lastValue,o)&&(this.callback(o,t),this.lastValue=o)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function fp(e,t,o){return new Qr(e,t,o).watch()}var Wn=class{constructor(){this.requestConsumers=new Map}getOrCreateRequestConsumers(t){var o;return(o=this.requestConsumers.get(t))!==null&&o!==void 0?o:this.requestConsumers.set(t,new Set).get(t)}registerComponent(t,o){for(let n of o)this.getOrCreateRequestConsumers(n).add(t).size==1&&this.onNewNeededRequest(n)}unregisterComponent(t,o){for(let n of o)this.getOrCreateRequestConsumers(n).delete(t)}isRequestNeeded(t){return this.getOrCreateRequestConsumers(t).size>0}};var qn={};I(qn,{scrollHelper:()=>hp});var Kn,Jr=new Map,Zn=class{lock(t,o){if(o){let n=Jr.get(o);if(n==null||n===t)return Jr.set(o,t),o}}release(t,o){o&&Jr.get(o)===t&&Jr.delete(o)}findFirstScrollableParent(t){var o;let n,i;for(let a of Lo(t)){let s=a,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){n=s;break}else l&&i==null&&(i=s)}return(o=n??i)!==null&&o!==void 0?o:document.body}elementCanScroll(t){try{return["auto","scroll"].includes(getComputedStyle(t).overflowY)&&!["contents"].includes(getComputedStyle(t).display)}catch{return!1}}getAbsoluteScrollOffset(t,o){var n,i;let a=0;for(;o&&o.offsetParent!==t.offsetParent;)a+=(n=o.offsetTop)!==null&&n!==void 0?n:0,o=o.offsetParent;return a+((i=o?.offsetTop)!==null&&i!==void 0?i:0)-t.offsetTop}computeTopOffsetRatio(t,o){if(typeof t=="number")return t;switch(t){case"end":return 1;case"center":return .5;case"nearest":return o;default:return 0}}scrollIntoViewIfPossible(t,o){let n=this.findFirstScrollableParent(t);if(t&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,t),a=i-n.clientHeight+t.clientHeight,s=i,l=He(0,(s-n.scrollTop)/(s-a),1),d=this.computeTopOffsetRatio(o?.position,l)*(a-s)+s;n.scrollTo({behavior:o?.behavior,top:d})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",t,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(Kn=window.FluidTopicsScrollHelper)!==null&&Kn!==void 0?Kn:new Zn;var hp=window.FluidTopicsScrollHelper;var Xn={};I(Xn,{toFtFormComponent:()=>mp});var Yn=Symbol("elementInternals"),mp=Q(Symbol("toFtFormComponent"),function(e){class t extends e{static get formAssociated(){return!0}get form(){return this[Yn].form}constructor(...n){super(n),this[Yn]=this.attachInternals()}setFormValue(n){this[Yn].setFormValue(n)}}return t});var Jn={};I(Jn,{DateFormatter:()=>Qn});var Qn=class{static format(t,o,n,i,a){return window.moment?window.moment(t).locale(o).format(this.getMomentDateFormat(n,i,!!a)):this.getIntlDateTime(t,o,n,i,!!a)}static getMomentDateFormat(t,o,n){return n?"LT":t?o?"lll":"ll":o?"L LT":"L"}static getIntlDateTime(t,o,n,i,a){let s=typeof t=="string"?new Date(t):t,l=new Intl.DateTimeFormat(o,{dateStyle:n?"medium":"short"}).format(s),d=new Intl.DateTimeFormat(o,{timeStyle:"short"}).format(s);return a?d:i?`${l} ${d}`:l}static getTimezoneAsString(){let t=n=>String(Math.floor(n)).padStart(2,"0"),o=new Date().getTimezoneOffset();return`${o<0?"+":"-"}${t(Math.abs(o)/60)}:${t(Math.abs(o)%60)}`}};var ti={};I(ti,{ALL_KEYS_VALUE:()=>ei,SameWindowStorageEvent:()=>Pt});var ei="__all__",Pt=class extends CustomEvent{constructor(t,o,n){super("same-window-storage",{detail:{key:t,oldValue:o,newValue:n}})}keyMatch(t){return this.detail.key.includes(t)||this.detail.key==ei}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(e,t,o){let n=t.getItem(o[0]);Reflect.apply(e,t,o),window.dispatchEvent(new Pt(o[0],n,o[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(e,t,o){let n=t.getItem(o[0]);Reflect.apply(e,t,o),window.dispatchEvent(new Pt(o[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(e,t,o){Reflect.apply(e,t,o),window.dispatchEvent(new Pt(ei))}});var oi={};I(oi,{FocusMainContentEvent:()=>ri});var ri=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var _c={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function yp(e){(e.key==="Enter"||e.key===" "||e.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=e.key}function gp(e){window.FluidTopicsA11yHints.isKeyboardNavigation=e.detail==0}document.addEventListener("keydown",yp);document.addEventListener("click",gp);var Rc=P`
47
+ `;var Hs={};var On={};k(On,{ParametrizedLabelResolver:()=>vn});var vn=class e{constructor(t,o){this.defaultLabels=t,this.labels=o}resolve(t,...o){var n,i;t=this.resolvePluralKey(t,o);let a=(i=(n=this.labels[t])!==null&&n!==void 0?n:this.defaultLabels[t])!==null&&i!==void 0?i:"";return e.replaceParameters(a,...o)}static replaceParameters(t,...o){return o.forEach((n,i)=>t=t.replace(new RegExp(`\\{${i}([^}]*)\\}`,"g"),(a,s)=>e.formatValue(n,s))),t}resolvePluralKey(t,o){for(let n of o)if(typeof n=="number"){let i=`${String(t)}[\\=${n}]`;if(i in this.labels||i in this.defaultLabels)return i}return t}static formatValue(t,o){return t instanceof Date?e.formatDate(t,o):t??""}static formatDate(t,o){let n=i=>o?.includes("date")?t.toLocaleDateString(i):o?.includes("time")?t.toLocaleTimeString(i):t.toLocaleString(i);try{return n(document.documentElement.lang)}catch{return n()}}};var jn={};k(jn,{FtCommandQueue:()=>rr,FtLitElementRedux:()=>Cn,FtReduxStore:()=>Wn,FtStateManager:()=>Vn,ReduxWatcher:()=>Qr,clearAllStores:()=>fp,isFtReduxStore:()=>Tt,redux:()=>gu,reduxEventListener:()=>bu,reduxReactive:()=>yu,watch:()=>hp,withRedux:()=>zs});var yu=()=>(e,t)=>{var o;let n=e.constructor;n.reduxReactiveProperties=new Set(n.reduxReactiveProperties),(o=n.reduxReactiveProperties)===null||o===void 0||o.add(t)},gu=e=>{let t=e??{};return(o,n)=>{var i;let a={hasChanged:Re,attribute:!1,...t};R(a)(o,n);let s=o.constructor;s.reduxProperties=new Map(s.reduxProperties),s.reduxProperties.set(n,{selector:(i=t.selector)!==null&&i!==void 0?i:(l=>l[n]),store:t.store})}},bu=e=>(t,o)=>{let n=t.constructor;n.reduxEventListeners=new Map(n.reduxEventListeners),n.reduxEventListeners.set(o,e)};var rr=class{constructor(){this.queue=[]}add(t,o=!1){o&&this.clear(t.type),this.queue.push(t)}consume(t){let o=this.queue.find(n=>n.type===t);return o&&(this.queue=this.queue.filter(n=>n!==o)),o}clear(t){typeof t=="string"?this.queue=this.queue.filter(o=>o.type!==t):this.queue=this.queue.filter(o=>!t.test(o.type))}};function Tt(e){var t;return(t=e?.isFtReduxStore)!==null&&t!==void 0?t:!1}var or=Symbol("internalReduxEventsUnsubscribers"),Ne=Symbol("internalStoresUnsubscribers"),Qe=Symbol("internalStores"),zs=Q(Symbol("withRedux"),function(e){var t,o,n;class i extends e{constructor(){super(...arguments),this[t]=new Map,this[o]=new Map,this[n]=new Map}get reduxConstructor(){return this.constructor}willUpdate(s){super.willUpdate(s),[...this.reduxConstructor.reduxReactiveProperties].some(l=>s.has(l))&&this.updateFromStores()}getUnnamedStore(){if(this[Qe].size>1)throw new Error("Cannot resolve unnamed store when multiple stores are configured.");return[...this[Qe].values()][0]}getStore(s){return s==null?this.getUnnamedStore():this[Qe].get(s)}addStore(s,l){var u;l=(u=l??s.name)!==null&&u!==void 0?u:"default-store",this.unsubscribeFromStore(l),this[Qe].set(l,s),this.subscribeToStore(l,s),this.updateFromStores()}removeStore(s){let l=typeof s=="string"?s:s.name;this.unsubscribeFromStore(l),this[Qe].delete(l)}setupStores(){this.unsubscribeFromStores(),this[Qe].forEach((s,l)=>this.subscribeToStore(l,s)),this.updateFromStores()}updateFromStores(){this.reduxConstructor.reduxProperties.forEach((s,l)=>{let u=this.constructor.getPropertyOptions(l);if(!u?.attribute||!this.hasAttribute(typeof u?.attribute=="string"?u.attribute:l)){let p=this.getStore(s.store);p&&(s.store?this[Ne].has(s.store):this[Ne].size>0)&&(this[l]=s.selector(p.getState(),this))}})}subscribeToStore(s,l){var u;this[Ne].set(s,l.subscribe(()=>this.updateFromStores())),this[or].set(s,[]),Tt(l)&&l.eventBus&&((u=this.reduxConstructor.reduxEventListeners)===null||u===void 0||u.forEach((p,h)=>{if(typeof this[h]=="function"&&(!p.store||l.name===p.store)){let f=m=>this[h](m);l.addEventListener(p.eventName,f),this[or].get(s).push(()=>l.removeEventListener(p.eventName,f))}})),this.onStoreAvailable(s)}unsubscribeFromStores(){this[Ne].forEach((s,l)=>this.unsubscribeFromStore(l))}unsubscribeFromStore(s){var l;this[Ne].has(s)&&this[Ne].get(s)(),this[Ne].delete(s),(l=this[or].get(s))===null||l===void 0||l.forEach(u=>u()),this[or].delete(s)}onStoreAvailable(s){}connectedCallback(){super.connectedCallback(),this.setupStores()}disconnectedCallback(){super.disconnectedCallback(),this.unsubscribeFromStores()}}return t=Ne,o=Qe,n=or,i.reduxProperties=new Map,i.reduxReactiveProperties=new Set,i.reduxEventListeners=new Map,i}),Cn=class extends zs(F){};function j(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var xu=typeof Symbol=="function"&&Symbol.observable||"@@observable",Gs=xu,An=()=>Math.random().toString(36).substring(7).split("").join("."),Eu={INIT:`@@redux/INIT${An()}`,REPLACE:`@@redux/REPLACE${An()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${An()}`},Pr=Eu;function kr(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function wn(e,t,o){if(typeof e!="function")throw new Error(j(2));if(typeof t=="function"&&typeof o=="function"||typeof o=="function"&&typeof arguments[3]=="function")throw new Error(j(0));if(typeof t=="function"&&typeof o>"u"&&(o=t,t=void 0),typeof o<"u"){if(typeof o!="function")throw new Error(j(1));return o(wn)(e,t)}let n=e,i=t,a=new Map,s=a,l=0,u=!1;function p(){s===a&&(s=new Map,a.forEach((S,C)=>{s.set(C,S)}))}function h(){if(u)throw new Error(j(3));return i}function f(S){if(typeof S!="function")throw new Error(j(4));if(u)throw new Error(j(5));let C=!0;p();let N=l++;return s.set(N,S),function(){if(C){if(u)throw new Error(j(6));C=!1,p(),s.delete(N),a=null}}}function m(S){if(!kr(S))throw new Error(j(7));if(typeof S.type>"u")throw new Error(j(8));if(typeof S.type!="string")throw new Error(j(17));if(u)throw new Error(j(9));try{u=!0,i=n(i,S)}finally{u=!1}return(a=s).forEach(N=>{N()}),S}function b(S){if(typeof S!="function")throw new Error(j(10));n=S,m({type:Pr.REPLACE})}function E(){let S=f;return{subscribe(C){if(typeof C!="object"||C===null)throw new Error(j(11));function N(){let g=C;g.next&&g.next(h())}return N(),{unsubscribe:S(N)}},[Gs](){return this}}}return m({type:Pr.INIT}),{dispatch:m,subscribe:f,getState:h,replaceReducer:b,[Gs]:E}}function Su(e){Object.keys(e).forEach(t=>{let o=e[t];if(typeof o(void 0,{type:Pr.INIT})>"u")throw new Error(j(12));if(typeof o(void 0,{type:Pr.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(j(13))})}function Ws(e){let t=Object.keys(e),o={};for(let s=0;s<t.length;s++){let l=t[s];typeof e[l]=="function"&&(o[l]=e[l])}let n=Object.keys(o),i,a;try{Su(o)}catch(s){a=s}return function(l={},u){if(a)throw a;let p=!1,h={};for(let f=0;f<n.length;f++){let m=n[f],b=o[m],E=l[m],O=b(E,u);if(typeof O>"u"){let S=u&&u.type;throw new Error(j(14))}h[m]=O,p=p||O!==E}return p=p||n.length!==Object.keys(l).length,p?h:l}}function nr(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,o)=>(...n)=>t(o(...n)))}function Vs(...e){return t=>(o,n)=>{let i=t(o,n),a=()=>{throw new Error(j(15))},s={getState:i.getState,dispatch:(u,...p)=>a(u,...p)},l=e.map(u=>u(s));return a=nr(...l)(i.dispatch),{...i,dispatch:a}}}function js(e){return kr(e)&&"type"in e&&typeof e.type=="string"}var tc=Symbol.for("immer-nothing"),Ks=Symbol.for("immer-draftable"),K=Symbol.for("immer-state");function se(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var J=Object,Nt=J.getPrototypeOf,Ur="constructor",Gr="prototype",Ln="configurable",Fr="enumerable",Dr="writable",ir="value",he=e=>!!e&&!!e[K];function ee(e){return e?rc(e)||Vr(e)||!!e[Ks]||!!e[Ur]?.[Ks]||jr(e)||Kr(e):!1}var vu=J[Gr][Ur].toString(),Zs=new WeakMap;function rc(e){if(!e||!Fn(e))return!1;let t=Nt(e);if(t===null||t===J[Gr])return!0;let o=J.hasOwnProperty.call(t,Ur)&&t[Ur];if(o===Object)return!0;if(!Lt(o))return!1;let n=Zs.get(o);return n===void 0&&(n=Function.toString.call(o),Zs.set(o,n)),n===vu}function Wr(e,t,o=!0){cr(e)===0?(o?Reflect.ownKeys(e):J.keys(e)).forEach(i=>{t(i,e[i],e)}):e.forEach((n,i)=>t(i,n,e))}function cr(e){let t=e[K];return t?t.type_:Vr(e)?1:jr(e)?2:Kr(e)?3:0}var Rn=(e,t,o=cr(e))=>o===2?e.has(t):J[Gr].hasOwnProperty.call(e,t),Nn=(e,t,o=cr(e))=>o===2?e.get(t):e[t],Br=(e,t,o,n=cr(e))=>{n===2?e.set(t,o):n===3?e.add(o):e[t]=o};function Ou(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}var Vr=Array.isArray,jr=e=>e instanceof Map,Kr=e=>e instanceof Set,Fn=e=>typeof e=="object",Lt=e=>typeof e=="function",_n=e=>typeof e=="boolean";function Cu(e){let t=+e;return Number.isInteger(t)&&String(t)===e}var Ee=e=>e.copy_||e.base_;var Bn=e=>e.modified_?e.copy_:e.base_;function Pn(e,t){if(jr(e))return new Map(e);if(Kr(e))return new Set(e);if(Vr(e))return Array[Gr].slice.call(e);let o=rc(e);if(t===!0||t==="class_only"&&!o){let n=J.getOwnPropertyDescriptors(e);delete n[K];let i=Reflect.ownKeys(n);for(let a=0;a<i.length;a++){let s=i[a],l=n[s];l[Dr]===!1&&(l[Dr]=!0,l[Ln]=!0),(l.get||l.set)&&(n[s]={[Ln]:!0,[Dr]:!0,[Fr]:l[Fr],[ir]:e[s]})}return J.create(Nt(e),n)}else{let n=Nt(e);if(n!==null&&o)return{...e};let i=J.create(n);return J.assign(i,e)}}function $n(e,t=!1){return Zr(e)||he(e)||!ee(e)||(cr(e)>1&&J.defineProperties(e,{set:Ir,add:Ir,clear:Ir,delete:Ir}),J.freeze(e),t&&Wr(e,(o,n)=>{$n(n,!0)},!1)),e}function Au(){se(2)}var Ir={[ir]:Au};function Zr(e){return e===null||!Fn(e)?!0:J.isFrozen(e)}var $r="MapSet",kn="Patches",qs="ArrayMethods",oc={};function Je(e){let t=oc[e];return t||se(0,e),t}var Ys=e=>!!oc[e];var ar,nc=()=>ar,wu=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:Ys($r)?Je($r):void 0,arrayMethodsPlugin_:Ys(qs)?Je(qs):void 0});function Xs(e,t){t&&(e.patchPlugin_=Je(kn),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function In(e){Dn(e),e.drafts_.forEach(Ru),e.drafts_=null}function Dn(e){e===ar&&(ar=e.parent_)}var Qs=e=>ar=wu(ar,e);function Ru(e){let t=e[K];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function Js(e,t){t.unfinalizedDrafts_=t.drafts_.length;let o=t.drafts_[0];if(e!==void 0&&e!==o){o[K].modified_&&(In(t),se(4)),ee(e)&&(e=ec(t,e));let{patchPlugin_:i}=t;i&&i.generateReplacementPatches_(o[K].base_,e,t)}else e=ec(t,o);return _u(t,e,!0),In(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==tc?e:void 0}function ec(e,t){if(Zr(t))return t;let o=t[K];if(!o)return Hr(t,e.handledSet_,e);if(!qr(o,e))return t;if(!o.modified_)return o.base_;if(!o.finalized_){let{callbacks_:n}=o;if(n)for(;n.length>0;)n.pop()(e);sc(o,e)}return o.copy_}function _u(e,t,o=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&$n(t,o)}function ic(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var qr=(e,t)=>e.scope_===t,Tu=[];function ac(e,t,o,n){let i=Ee(e),a=e.type_;if(n!==void 0&&Nn(i,n,a)===t){Br(i,n,o,a);return}if(!e.draftLocations_){let l=e.draftLocations_=new Map;Wr(i,(u,p)=>{if(he(p)){let h=l.get(p)||[];h.push(u),l.set(p,h)}})}let s=e.draftLocations_.get(t)??Tu;for(let l of s)Br(i,l,o,a)}function Lu(e,t,o){e.callbacks_.push(function(i){let a=t;if(!a||!qr(a,i))return;i.mapSetPlugin_?.fixSetContents(a);let s=Bn(a);ac(e,a.draft_??a,s,o),sc(a,i)})}function sc(e,t){if(e.modified_&&!e.finalized_&&(e.type_===3||e.type_===1&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){let{patchPlugin_:n}=t;if(n){let i=n.getPath(e);i&&n.generatePatches_(e,i,t)}ic(e)}}function Nu(e,t,o){let{scope_:n}=e;if(he(o)){let i=o[K];qr(i,n)&&i.callbacks_.push(function(){Mr(e);let s=Bn(i);ac(e,o,s,t)})}else ee(o)&&e.callbacks_.push(function(){let a=Ee(e);e.type_===3?a.has(o)&&Hr(o,n.handledSet_,n):Nn(a,t,e.type_)===o&&n.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&Hr(Nn(e.copy_,t,e.type_),n.handledSet_,n)})}function Hr(e,t,o){return!o.immer_.autoFreeze_&&o.unfinalizedDrafts_<1||he(e)||t.has(e)||!ee(e)||Zr(e)||(t.add(e),Wr(e,(n,i)=>{if(he(i)){let a=i[K];if(qr(a,o)){let s=Bn(a);Br(e,n,s,e.type_),ic(a)}}else ee(i)&&Hr(i,t,o)})),e}function Pu(e,t){let o=Vr(e),n={type_:o?1:0,scope_:t?t.scope_:nc(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},i=n,a=zr;o&&(i=[n],a=sr);let{revoke:s,proxy:l}=Proxy.revocable(i,a);return n.draft_=l,n.revoke_=s,[l,n]}var zr={get(e,t){if(t===K)return e;let o=e.scope_.arrayMethodsPlugin_,n=e.type_===1&&typeof t=="string";if(n&&o?.isArrayOperationMethod(t))return o.createMethodInterceptor(e,t);let i=Ee(e);if(!Rn(i,t,e.type_))return Iu(e,i,t);let a=i[t];if(e.finalized_||!ee(a)||n&&e.operationMethod&&o?.isMutatingArrayMethod(e.operationMethod)&&Cu(t))return a;if(a===Tn(e.base_,t)||ku(e,t,a)){Mr(e);let s=e.type_===1?+t:t,l=Un(e.scope_,a,e,s);return e.copy_[s]=l}return a},has(e,t){return t in Ee(e)},ownKeys(e){return Reflect.ownKeys(Ee(e))},set(e,t,o){let n=cc(Ee(e),t);if(n?.set)return n.set.call(e.draft_,o),!0;if(!e.modified_){let i=Tn(Ee(e),t),a=i?.[K];if(a&&a.base_===o)return e.copy_[t]=o,e.assigned_.set(t,!1),!0;if(Ou(o,i)&&(o!==void 0||Rn(e.base_,t,e.type_)))return!0;Mr(e),Mn(e)}return e.copy_[t]===o&&(o!==void 0||Rn(e.copy_,t,e.type_))||Number.isNaN(o)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=o,e.assigned_.set(t,!0),Nu(e,t,o)),!0},deleteProperty(e,t){return Mr(e),Tn(e.base_,t)!==void 0||t in e.base_?(e.assigned_.set(t,!1),Mn(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){let o=Ee(e),n=Reflect.getOwnPropertyDescriptor(o,t);return n&&{[Dr]:!0,[Ln]:e.type_!==1||t!=="length",[Fr]:n[Fr],[ir]:o[t]}},defineProperty(){se(11)},getPrototypeOf(e){return Nt(e.base_)},setPrototypeOf(){se(12)}},sr={};for(let e in zr){let t=zr[e];sr[e]=function(){let o=arguments;return o[0]=o[0][0],t.apply(this,o)}}sr.deleteProperty=function(e,t){return sr.set.call(this,e,t,void 0)};sr.set=function(e,t,o){return zr.set.call(this,e[0],t,o,e[0])};function Tn(e,t){let o=e[K];return(o?Ee(o):e)[t]}function ku(e,t,o){return e.type_!==1||!e.allIndicesReassigned_||e.assigned_?.get(t)||!ee(o)||o[K]?!1:e.baseRefs_.has(o)}function Iu(e,t,o){let n=cc(t,o);return n?ir in n?n[ir]:n.get?.call(e.draft_):void 0}function cc(e,t){if(!(t in e))return;let o=Nt(e);for(;o;){let n=Object.getOwnPropertyDescriptor(o,t);if(n)return n;o=Nt(o)}}function Mn(e){e.modified_||(e.modified_=!0,e.parent_&&Mn(e.parent_))}function Mr(e){e.copy_||(e.assigned_=new Map,e.copy_=Pn(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var Du=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(t,o,n)=>{if(Lt(t)&&!Lt(o)){let a=o;o=t;let s=this;return function(u=a,...p){return s.produce(u,h=>o.call(this,h,...p))}}Lt(o)||se(6),n!==void 0&&!Lt(n)&&se(7);let i;if(ee(t)){let a=Qs(this),s=Un(a,t,void 0),l=!0;try{i=o(s),l=!1}finally{l?In(a):Dn(a)}return Xs(a,n),Js(i,a)}else if(!t||!Fn(t)){if(i=o(t),i===void 0&&(i=t),i===tc&&(i=void 0),this.autoFreeze_&&$n(i,!0),n){let a=[],s=[];Je(kn).generateReplacementPatches_(t,i,{patches_:a,inversePatches_:s}),n(a,s)}return i}else se(1,t)},this.produceWithPatches=(t,o)=>{if(Lt(t))return(s,...l)=>this.produceWithPatches(s,u=>t(u,...l));let n,i;return[this.produce(t,o,(s,l)=>{n=s,i=l}),n,i]},_n(e?.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),_n(e?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),_n(e?.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){ee(e)||se(8),he(e)&&(e=lc(e));let t=Qs(this),o=Un(t,e,void 0);return o[K].isManual_=!0,Dn(t),o}finishDraft(e,t){let o=e&&e[K];(!o||!o.isManual_)&&se(9);let{scope_:n}=o;return Xs(n,t),Js(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let o;for(o=t.length-1;o>=0;o--){let i=t[o];if(i.path.length===0&&i.op==="replace"){e=i.value;break}}o>-1&&(t=t.slice(o+1));let n=Je(kn).applyPatches_;return he(e)?n(e,t):this.produce(e,i=>n(i,t))}};function Un(e,t,o,n){let[i,a]=jr(t)?Je($r).proxyMap_(t,o):Kr(t)?Je($r).proxySet_(t,o):Pu(t,o);return(o?.scope_??nc()).drafts_.push(i),a.callbacks_=o?.callbacks_??[],a.key_=n,o&&n!==void 0?Lu(o,a,n):a.callbacks_.push(function(u){u.mapSetPlugin_?.fixSetContents(a);let{patchPlugin_:p}=u;a.modified_&&p&&p.generatePatches_(a,[],u)}),i}function lc(e){return he(e)||se(10,e),dc(e)}function dc(e){if(!ee(e)||Zr(e))return e;let t=e[K],o,n=!0;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,o=Pn(e,t.scope_.immer_.useStrictShallowCopy_),n=t.scope_.immer_.shouldUseStrictIteration()}else o=Pn(e,!0);return Wr(o,(i,a)=>{Br(o,i,dc(a))},n),t&&(t.finalized_=!1),o}var Mu=globalThis.Iterator,Xb=typeof Mu?.from=="function";var Uu=new Du,Hn=Uu.produce;function uc(e){return({dispatch:o,getState:n})=>i=>a=>typeof a=="function"?a(o,n,e):i(a)}var pc=uc(),fc=uc;var Fu=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?nr:nr.apply(null,arguments)},nx=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(e){return e}},Bu=e=>e&&typeof e.match=="function";function Pe(e,t){function o(...n){if(t){let i=t(...n);if(!i)throw new Error(Se(0));return{type:e,payload:i.payload,..."meta"in i&&{meta:i.meta},..."error"in i&&{error:i.error}}}return{type:e,payload:n[0]}}return o.toString=()=>`${e}`,o.type=e,o.match=n=>js(n)&&n.type===e,o}var bc=class lr extends Array{constructor(...t){super(...t),Object.setPrototypeOf(this,lr.prototype)}static get[Symbol.species](){return lr}concat(...t){return super.concat.apply(this,t)}prepend(...t){return t.length===1&&Array.isArray(t[0])?new lr(...t[0].concat(this)):new lr(...t.concat(this))}};function hc(e){return ee(e)?Hn(e,()=>{}):e}function Yr(e,t,o){return e.has(t)?e.get(t):e.set(t,o(t)).get(t)}function $u(e){return typeof e=="boolean"}var Hu=()=>function(t){let{thunk:o=!0,immutableCheck:n=!0,serializableCheck:i=!0,actionCreatorCheck:a=!0}=t??{},s=new bc;return o&&($u(o)?s.push(pc):s.push(fc(o.extraArgument))),s},zu="RTK_autoBatch";var mc=e=>t=>{setTimeout(t,e)},Gu=(e,t)=>o=>{let n=!1,i=()=>{n||(n=!0,cancelAnimationFrame(a),clearTimeout(s),o())},a=e(i),s=setTimeout(i,t)},Wu=(e={type:"raf"})=>t=>(...o)=>{let n=t(...o),i=!0,a=!1,s=!1,l=new Set,u=e.type==="tick"?queueMicrotask:e.type==="raf"?typeof window<"u"&&window.requestAnimationFrame?Gu(window.requestAnimationFrame,100):mc(10):e.type==="callback"?e.queueNotification:mc(e.timeout),p=()=>{s=!1,a&&(a=!1,l.forEach(h=>h()))};return Object.assign({},n,{subscribe(h){let f=()=>i&&h(),m=n.subscribe(f);return l.add(h),()=>{m(),l.delete(h)}},dispatch(h){try{return i=!h?.meta?.[zu],a=!i,a&&(s||(s=!0,u(p))),n.dispatch(h)}finally{i=!0}}})},Vu=e=>function(o){let{autoBatch:n=!0}=o??{},i=new bc(e);return n&&i.push(Wu(typeof n=="object"?n:void 0)),i};function xc(e){let t=Hu(),{reducer:o=void 0,middleware:n,devTools:i=!0,duplicateMiddlewareCheck:a=!0,preloadedState:s=void 0,enhancers:l=void 0}=e||{},u;if(typeof o=="function")u=o;else if(kr(o))u=Ws(o);else throw new Error(Se(1));let p;typeof n=="function"?p=n(t):p=t();let h=nr;i&&(h=Fu({trace:!1,...typeof i=="object"&&i}));let f=Vs(...p),m=Vu(f),b=typeof l=="function"?l(m):m(),E=h(...b);return wn(u,s,E)}function Ec(e){let t={},o=[],n,i={addCase(a,s){let l=typeof a=="string"?a:a.type;if(!l)throw new Error(Se(28));if(l in t)throw new Error(Se(29));return t[l]=s,i},addAsyncThunk(a,s){return s.pending&&(t[a.pending.type]=s.pending),s.rejected&&(t[a.rejected.type]=s.rejected),s.fulfilled&&(t[a.fulfilled.type]=s.fulfilled),s.settled&&o.push({matcher:a.settled,reducer:s.settled}),i},addMatcher(a,s){return o.push({matcher:a,reducer:s}),i},addDefaultCase(a){return n=a,i}};return e(i),[t,o,n]}function ju(e){return typeof e=="function"}function Ku(e,t){let[o,n,i]=Ec(t),a;if(ju(e))a=()=>hc(e());else{let l=hc(e);a=()=>l}function s(l=a(),u){let p=[o[u.type],...n.filter(({matcher:h})=>h(u)).map(({reducer:h})=>h)];return p.filter(h=>!!h).length===0&&(p=[i]),p.reduce((h,f)=>{if(f)if(he(h)){let b=f(h,u);return b===void 0?h:b}else{if(ee(h))return Hn(h,m=>f(m,u));{let m=f(h,u);if(m===void 0){if(h===null)return h;throw Error("A case reducer on a non-draftable value must not return undefined")}return m}}return h},l)}return s.getInitialState=a,s}var Zu=(e,t)=>Bu(e)?e.match(t):e(t);function qu(...e){return t=>e.some(o=>Zu(o,t))}var Yu="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",Xu=(e=21)=>{let t="",o=e;for(;o--;)t+=Yu[Math.random()*64|0];return t},Qu=["name","message","stack","code"],zn=class{constructor(e,t){this.payload=e,this.meta=t}payload;meta;_type},yc=class{constructor(e,t){this.payload=e,this.meta=t}payload;meta;_type},Ju=e=>{if(typeof e=="object"&&e!==null){let t={};for(let o of Qu)typeof e[o]=="string"&&(t[o]=e[o]);return t}return{message:String(e)}},gc="External signal was aborted",ep=(()=>{function e(t,o,n){let i=Pe(t+"/fulfilled",(u,p,h,f)=>({payload:u,meta:{...f||{},arg:h,requestId:p,requestStatus:"fulfilled"}})),a=Pe(t+"/pending",(u,p,h)=>({payload:void 0,meta:{...h||{},arg:p,requestId:u,requestStatus:"pending"}})),s=Pe(t+"/rejected",(u,p,h,f,m)=>({payload:f,error:(n&&n.serializeError||Ju)(u||"Rejected"),meta:{...m||{},arg:h,requestId:p,rejectedWithValue:!!f,requestStatus:"rejected",aborted:u?.name==="AbortError",condition:u?.name==="ConditionError"}}));function l(u,{signal:p}={}){return(h,f,m)=>{let b=n?.idGenerator?n.idGenerator(u):Xu(),E=new AbortController,O,S;function C(y){S=y,E.abort()}p&&(p.aborted?C(gc):p.addEventListener("abort",()=>C(gc),{once:!0}));let N=(async function(){let y;try{let x=n?.condition?.(u,{getState:f,extra:m});if(rp(x)&&(x=await x),x===!1||E.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};let w=new Promise((_,I)=>{O=()=>{I({name:"AbortError",message:S||"Aborted"})},E.signal.addEventListener("abort",O,{once:!0})});h(a(b,u,n?.getPendingMeta?.({requestId:b,arg:u},{getState:f,extra:m}))),y=await Promise.race([w,Promise.resolve(o(u,{dispatch:h,getState:f,extra:m,requestId:b,signal:E.signal,abort:C,rejectWithValue:((_,I)=>new zn(_,I)),fulfillWithValue:((_,I)=>new yc(_,I))})).then(_=>{if(_ instanceof zn)throw _;return _ instanceof yc?i(_.payload,b,u,_.meta):i(_,b,u)})])}catch(x){y=x instanceof zn?s(null,b,u,x.payload,x.meta):s(x,b,u)}finally{O&&E.signal.removeEventListener("abort",O)}return n&&!n.dispatchConditionRejection&&s.match(y)&&y.meta.condition||h(y),y})();return Object.assign(N,{abort:C,requestId:b,arg:u,unwrap(){return N.then(tp)}})}}return Object.assign(l,{pending:a,rejected:s,fulfilled:i,settled:qu(s,i),typePrefix:t})}return e.withTypes=()=>e,e})();function tp(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function rp(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var Sc=Symbol.for("rtk-slice-createasyncthunk"),ax={[Sc]:ep};function op(e,t){return`${e}/${t}`}function np({creators:e}={}){let t=e?.asyncThunk?.[Sc];return function(n){let{name:i,reducerPath:a=i}=n;if(!i)throw new Error(Se(11));typeof process<"u";let s=(typeof n.reducers=="function"?n.reducers(ap()):n.reducers)||{},l=Object.keys(s),u={sliceCaseReducersByName:{},sliceCaseReducersByType:{},actionCreators:{},sliceMatchers:[]},p={addCase(y,g){let x=typeof y=="string"?y:y.type;if(!x)throw new Error(Se(12));if(x in u.sliceCaseReducersByType)throw new Error(Se(13));return u.sliceCaseReducersByType[x]=g,p},addMatcher(y,g){return u.sliceMatchers.push({matcher:y,reducer:g}),p},exposeAction(y,g){return u.actionCreators[y]=g,p},exposeCaseReducer(y,g){return u.sliceCaseReducersByName[y]=g,p}};l.forEach(y=>{let g=s[y],x={reducerName:y,type:op(i,y),createNotation:typeof n.reducers=="function"};cp(g)?dp(x,g,p,t):sp(x,g,p)});function h(){let[y={},g=[],x=void 0]=typeof n.extraReducers=="function"?Ec(n.extraReducers):[n.extraReducers],w={...y,...u.sliceCaseReducersByType};return Ku(n.initialState,_=>{for(let I in w)_.addCase(I,w[I]);for(let I of u.sliceMatchers)_.addMatcher(I.matcher,I.reducer);for(let I of g)_.addMatcher(I.matcher,I.reducer);x&&_.addDefaultCase(x)})}let f=y=>y,m=new Map,b=new WeakMap,E;function O(y,g){return E||(E=h()),E(y,g)}function S(){return E||(E=h()),E.getInitialState()}function C(y,g=!1){function x(_){let I=_[y];return typeof I>"u"&&g&&(I=Yr(b,x,S)),I}function w(_=f){let I=Yr(m,g,()=>new WeakMap);return Yr(I,_,()=>{let U={};for(let[T,D]of Object.entries(n.selectors??{}))U[T]=ip(D,_,()=>Yr(b,_,S),g);return U})}return{reducerPath:y,getSelectors:w,get selectors(){return w(x)},selectSlice:x}}let N={name:i,reducer:O,actions:u.actionCreators,caseReducers:u.sliceCaseReducersByName,getInitialState:S,...C(a),injectInto(y,{reducerPath:g,...x}={}){let w=g??a;return y.inject({reducerPath:w,reducer:O},x),{...N,...C(w,!0)}}};return N}}function ip(e,t,o,n){function i(a,...s){let l=t(a);return typeof l>"u"&&n&&(l=o()),e(l,...s)}return i.unwrapped=e,i}var vc=np();function ap(){function e(t,o){return{_reducerDefinitionType:"asyncThunk",payloadCreator:t,...o}}return e.withTypes=()=>e,{reducer(t){return Object.assign({[t.name](...o){return t(...o)}}[t.name],{_reducerDefinitionType:"reducer"})},preparedReducer(t,o){return{_reducerDefinitionType:"reducerWithPrepare",prepare:t,reducer:o}},asyncThunk:e}}function sp({type:e,reducerName:t,createNotation:o},n,i){let a,s;if("reducer"in n){if(o&&!lp(n))throw new Error(Se(17));a=n.reducer,s=n.prepare}else a=n;i.addCase(e,a).exposeCaseReducer(t,a).exposeAction(t,s?Pe(e,s):Pe(e))}function cp(e){return e._reducerDefinitionType==="asyncThunk"}function lp(e){return e._reducerDefinitionType==="reducerWithPrepare"}function dp({type:e,reducerName:t},o,n,i){if(!i)throw new Error(Se(18));let{payloadCreator:a,fulfilled:s,pending:l,rejected:u,settled:p,options:h}=o,f=i(e,a,h);n.exposeAction(t,f),s&&n.addCase(f.fulfilled,s),l&&n.addCase(f.pending,l),u&&n.addCase(f.rejected,u),p&&n.addMatcher(f.settled,p),n.exposeCaseReducer(t,{fulfilled:s||Xr,pending:l||Xr,rejected:u||Xr,settled:p||Xr})}function Xr(){}var Oc="listener",Cc="completed",Ac="cancelled",sx=`task-${Ac}`,cx=`task-${Cc}`,lx=`${Oc}-${Ac}`,dx=`${Oc}-${Cc}`;var{assign:wc}=Object;var Gn="listenerMiddleware";var up=wc(Pe(`${Gn}/add`),{withTypes:()=>up}),ux=Pe(`${Gn}/removeAll`),pp=wc(Pe(`${Gn}/remove`),{withTypes:()=>pp});function Se(e){return`Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}window.ftReduxStores||(window.ftReduxStores={});var Wn=class e extends Ge{static get(t){var o;let n=typeof t=="string"?t:t.name,i=typeof t=="string"?void 0:t,a=window.ftReduxStores[n];if(Tt(a))return a;if(i==null)return;let s=vc({...i,reducers:(o=i.reducers)!==null&&o!==void 0?o:{}}),l=xc({reducer:(u,p)=>{if(p.type==="CLEAR_FT_REDUX_STORE"){let h=bt(s.getInitialState());for(let f of p.keeping)h[f]=(u??h)[f];return h}else if(typeof p.type=="string"&&p.type.startsWith("DEFAULT_VALUE_SETTER__"))return{...u,...p.overwrites};return s.reducer(u,p)}});return window.ftReduxStores[i.name]=new e(s,l,i.eventBus)}constructor(t,o,n){super(),this.reduxSlice=t,this.reduxStore=o,this.isFtReduxStore=!0,this.commands=new rr,this.injectInto=(a,s)=>this.reduxSlice.injectInto(a,s),this.selectSlice=a=>this.reduxSlice.selectSlice(a);let i=a=>a!=null?JSON.parse(JSON.stringify(a)):a;this.actions=new Proxy(this.reduxSlice.actions,{get:(a,s,l)=>{let u=s,p=a[u];return p?(...h)=>{let f=p(...h.map(i));return this.reduxStore.dispatch(f),f}:h=>{let f=u,m=this.getState()[f];ze(m,h)||this.setState({[f]:i(h)})}}}),this.eventBus=n??this.eventBus}clear(){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:[]})}clearKeeping(...t){this.reduxStore.dispatch({type:"CLEAR_FT_REDUX_STORE",keeping:t})}setState(t){this.reduxStore.dispatch({type:"DEFAULT_VALUE_SETTER__"+Object.keys(t).join("_"),overwrites:t})}get dispatch(){throw new Error("Don't use this method, actions are automatically dispatched when called.")}[Symbol.observable](){return this.reduxStore[Symbol.observable]()}getState(){return this.reduxStore.getState()}replaceReducer(t){throw new Error("Not implemented yet.")}subscribe(t){return this.reduxStore.subscribe(t)}get name(){return this.reduxSlice.name}get reducer(){return this.reduxSlice.reducer}get caseReducers(){return this.reduxSlice.caseReducers}getInitialState(){return this.reduxSlice.getInitialState()}get selectors(){return this.reduxSlice.selectors}get reducerPath(){return this.reduxSlice.reducerPath}getSelectors(){return this.reduxSlice.getSelectors()}};function fp(){var e;for(let t of Object.values((e=window.ftReduxStores)!==null&&e!==void 0?e:{}))Tt(t)&&t.clear()}var Qr=class{constructor(t,o,n){this.store=t,this.valueSelector=o,this.callback=n}watch(){return this.stop(),this.lastValue=this.valueSelector(this.store.getState()),this.unsubscribe=this.store.subscribe(()=>{let t=this.store.getState(),o=this.valueSelector(t);Re(this.lastValue,o)&&(this.callback(o,t),this.lastValue=o)}),this}stop(){return this.unsubscribe!=null&&(this.unsubscribe(),this.unsubscribe=void 0),this.lastValue=void 0,this}};function hp(e,t,o){return new Qr(e,t,o).watch()}var Vn=class{constructor(){this.requestConsumers=new Map}getOrCreateRequestConsumers(t){var o;return(o=this.requestConsumers.get(t))!==null&&o!==void 0?o:this.requestConsumers.set(t,new Set).get(t)}registerComponent(t,o){for(let n of o)this.getOrCreateRequestConsumers(n).add(t).size==1&&this.onNewNeededRequest(n)}unregisterComponent(t,o){for(let n of o)this.getOrCreateRequestConsumers(n).delete(t)}isRequestNeeded(t){return this.getOrCreateRequestConsumers(t).size>0}};var qn={};k(qn,{scrollHelper:()=>mp});var Kn,Jr=new Map,Zn=class{lock(t,o){if(o){let n=Jr.get(o);if(n==null||n===t)return Jr.set(o,t),o}}release(t,o){o&&Jr.get(o)===t&&Jr.delete(o)}findFirstScrollableParent(t){var o;let n,i;for(let a of Lo(t)){let s=a,l=this.elementCanScroll(s);if(l&&s.clientHeight&&s.clientHeight<s.scrollHeight){n=s;break}else l&&i==null&&(i=s)}return(o=n??i)!==null&&o!==void 0?o:document.body}elementCanScroll(t){try{return["auto","scroll"].includes(getComputedStyle(t).overflowY)&&!["contents"].includes(getComputedStyle(t).display)}catch{return!1}}getAbsoluteScrollOffset(t,o){var n,i;let a=0;for(;o&&o.offsetParent!==t.offsetParent;)a+=(n=o.offsetTop)!==null&&n!==void 0?n:0,o=o.offsetParent;return a+((i=o?.offsetTop)!==null&&i!==void 0?i:0)-t.offsetTop}computeTopOffsetRatio(t,o){if(typeof t=="number")return t;switch(t){case"end":return 1;case"center":return .5;case"nearest":return o;default:return 0}}scrollIntoViewIfPossible(t,o){let n=this.findFirstScrollableParent(t);if(t&&this.lock(this,n)){let i=this.getAbsoluteScrollOffset(n,t),a=i-n.clientHeight+t.clientHeight,s=i,l=He(0,(s-n.scrollTop)/(s-a),1),u=this.computeTopOffsetRatio(o?.position,l)*(a-s)+s;n.scrollTo({behavior:o?.behavior,top:u})}else console.warn("Could not scroll element into view because the scrollable parent is already locked",t,n);this.release(this,n)}};window.FluidTopicsScrollHelper=(Kn=window.FluidTopicsScrollHelper)!==null&&Kn!==void 0?Kn:new Zn;var mp=window.FluidTopicsScrollHelper;var Xn={};k(Xn,{toFtFormComponent:()=>yp});var Yn=Symbol("elementInternals"),yp=Q(Symbol("toFtFormComponent"),function(e){class t extends e{static get formAssociated(){return!0}get form(){return this[Yn].form}constructor(...n){super(n),this[Yn]=this.attachInternals()}setFormValue(n){this[Yn].setFormValue(n)}}return t});var Jn={};k(Jn,{DateFormatter:()=>Qn});var Qn=class{static format(t,o,n,i,a){return window.moment?window.moment(t).locale(o).format(this.getMomentDateFormat(n,i,!!a)):this.getIntlDateTime(t,o,n,i,!!a)}static getMomentDateFormat(t,o,n){return n?"LT":t?o?"lll":"ll":o?"L LT":"L"}static getIntlDateTime(t,o,n,i,a){let s=typeof t=="string"?new Date(t):t,l=new Intl.DateTimeFormat(o,{dateStyle:n?"medium":"short"}).format(s),u=new Intl.DateTimeFormat(o,{timeStyle:"short"}).format(s);return a?u:i?`${l} ${u}`:l}static getTimezoneAsString(){let t=n=>String(Math.floor(n)).padStart(2,"0"),o=new Date().getTimezoneOffset();return`${o<0?"+":"-"}${t(Math.abs(o)/60)}:${t(Math.abs(o)%60)}`}};var ti={};k(ti,{ALL_KEYS_VALUE:()=>ei,SameWindowStorageEvent:()=>Pt});var ei="__all__",Pt=class extends CustomEvent{constructor(t,o,n){super("same-window-storage",{detail:{key:t,oldValue:o,newValue:n}})}keyMatch(t){return this.detail.key.includes(t)||this.detail.key==ei}};Storage.prototype.setItem=new Proxy(Storage.prototype.setItem,{apply(e,t,o){let n=t.getItem(o[0]);Reflect.apply(e,t,o),window.dispatchEvent(new Pt(o[0],n,o[1]))}});Storage.prototype.removeItem=new Proxy(Storage.prototype.removeItem,{apply(e,t,o){let n=t.getItem(o[0]);Reflect.apply(e,t,o),window.dispatchEvent(new Pt(o[0],n))}});Storage.prototype.clear=new Proxy(Storage.prototype.clear,{apply(e,t,o){Reflect.apply(e,t,o),window.dispatchEvent(new Pt(ei))}});var oi={};k(oi,{FocusMainContentEvent:()=>ri});var ri=class extends Event{constructor(){super("ft-focus-main-content",{composed:!0,bubbles:!0})}};var Rc={};window.FluidTopicsA11yHints={isKeyboardNavigation:!1,lastPressedKey:""};function gp(e){(e.key==="Enter"||e.key===" "||e.key==="Tab")&&(window.FluidTopicsA11yHints.isKeyboardNavigation=!0),window.FluidTopicsA11yHints.lastPressedKey=e.key}function bp(e){window.FluidTopicsA11yHints.isKeyboardNavigation=e.detail==0}document.addEventListener("keydown",gp);document.addEventListener("click",bp);var _c=P`
48
48
  .sr-only {
49
49
  position:absolute;
50
50
  left:-10000px;
@@ -68,7 +68,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
68
68
  width:auto;
69
69
  height:auto;
70
70
  }
71
- `;var ni={};I(ni,{withAriaNotification:()=>xp});var bp={checkVisibility:!0},xp=Q(Symbol("withAriaNotification"),function(e){class t extends e{sendAriaNotification(n,i){let{checkVisibility:a}={...bp,...i};setTimeout(()=>{(!a||this.checkVisibility())&&(n=typeof n=="string"?n:n?.message,n&&this.dispatchEvent(new Wt({type:"aria",message:n})))},20)}}return t});var ii={};I(ii,{withConditionalVisibility:()=>Ep});var Tc=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a};function Ep(e){class t extends e{constructor(){super(...arguments),this.forceVisible=!1,this.isVisible=!0,this.isElementWithConditionalVisibility=!0}calculateStyles(n,i){if(n){let a=document.createElement("style");a.classList.add("conditional-visibility-style"),a.innerHTML=i,this.shadowRoot.append(a)}}hideIfNecessary(){let n=!(this.forceVisible||this.isVisible);this.calculateStyles(n,":host { display: none !important; }")}highlightIfForceVisible(){this.calculateStyles(this.forceVisible,":host { box-shadow: 0px 0px 0px 8px rgba(227,119,59,0.4) inset; }")}willUpdate(n){super.willUpdate(n),this.updateComplete.then(()=>{this.shadowRoot.querySelectorAll(".conditional-visibility-style").forEach(i=>i.remove()),this.hideIfNecessary(),this.highlightIfForceVisible()})}}return Tc([_({type:Boolean,attribute:!1})],t.prototype,"forceVisible",void 0),Tc([B()],t.prototype,"isVisible",void 0),t}var si={};I(si,{FormController:()=>ai});function Sp(e){let t={};for(let o of Object.keys(e))t[o]=e[o].initial;return t}var ai=class{constructor(t,o){this.host=t,this.config=o,this.errors=new Map,this.submitting=!1,t.addController(this),this.initial=Sp(o),this.data={...this.initial}}hostDisconnected(){this.submitting=!1}get values(){return this.data}get fields(){return Object.keys(this.config)}get isSubmitting(){return this.submitting}get inError(){return this.errors.size>0}value(t){return this.data[t]}hasError(t){return this.errors.has(t)}errorFor(t){return this.errors.get(t)}setValue(t,o){if(this.data[t]===o)return;let n={...this.data};n[t]=o,this.data=n,this.checkValidity()}bind(t){return o=>this.setValue(t,o.detail)}setInitialValues(t){this.initial={...t},this.reset()}reset(){this.data={...this.initial},this.errors.clear(),this.submitting=!1,this.host.requestUpdate()}validateField(t,o){var n,i;let a=(i=(n=this.config[t]).validator)===null||i===void 0?void 0:i.call(n,this.value(t),this.data,o);a!==void 0&&this.errors.set(t,a)}checkValidity(t){return this.errors.clear(),this.fields.forEach(o=>{this.validateField(o,t)}),this.host.requestUpdate(),!this.inError}get firstFieldSelectorInError(){for(let t of this.fields){let o=this.config[t].selector;if(this.errors.has(t)&&o!==void 0)return o}}focusFirstFieldInError(){let t=this.firstFieldSelectorInError;if(t===void 0)return;let o=this.host.renderRoot.querySelector(t);o instanceof HTMLElement&&o.focus()}async submit(t){var o,n,i;if(!this.submitting){this.submitting=!0,this.host.requestUpdate();try{if(!this.checkValidity()){this.focusFirstFieldInError(),(o=t.onInvalid)===null||o===void 0||o.call(t);return}t.onSuccess(await t.request(this.data))}catch(a){let s=Fo(a)?a:void 0;if(!this.checkValidity(s)){this.focusFirstFieldInError(),(n=t.onInvalid)===null||n===void 0||n.call(t);return}(i=t.onFailure)===null||i===void 0||i.call(t,s)}finally{this.submitting=!1,this.host.requestUpdate()}}}};function ci(e,t){return t.map(o=>o(e)).filter(o=>o!==!0).map(o=>o)}function Lc(e,t,o){return e?t(e):o?.(e)}var W=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},et;(function(e){e.blur="blur",e.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",e.input="input"})(et||(et={}));var Ie;(function(e){e.default="default",e.warning="warning",e.error="error"})(Ie||(Ie={}));var li=class extends CustomEvent{constructor(t){super("input-validated",{detail:{level:t}})}};var Vx=Q(Symbol("toFtInput"),function(e){class t extends e{constructor(){super(...arguments),this.warningRules=[],this.errorRules=[],this.validateOn=et.blurWithStatusResolutionOnInput,this.validateAtRender=!1,this.label="",this.hideLabel=!1,this.name="",this.disabled=!1,this.errorMessages=[],this.warningMessages=[],this.status=Ie.default,this.focused=!1,this.additionalWarningRules=[],this.additionalErrorRules=[],this.forceErrorMessages=[]}connectedCallback(){super.connectedCallback(),this.validateAtRender&&this.triggerValidation()}onBlur(){this.focused=!1,(this.validateOn===et.blur||this.validateOn===et.blurWithStatusResolutionOnInput)&&this.triggerValidation()}onFocus(){this.focused=!0}onInput(){this.forceErrorMessages.length&&(this.forceErrorMessages=[]),(this.status!==Ie.default&&this.validateOn===et.blurWithStatusResolutionOnInput||this.validateOn===et.input)&&this.triggerValidation()}triggerValidation(){this.errorMessages=[...this.forceErrorMessages,...ci(this.value,[...this.errorRules,...this.additionalErrorRules])],this.warningMessages=ci(this.value,[...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new li(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return G`
71
+ `;var ni={};k(ni,{withAriaNotification:()=>Ep});var xp={checkVisibility:!0},Ep=Q(Symbol("withAriaNotification"),function(e){class t extends e{sendAriaNotification(n,i){let{checkVisibility:a}={...xp,...i};setTimeout(()=>{(!a||this.checkVisibility())&&(n=typeof n=="string"?n:n?.message,n&&this.dispatchEvent(new Vt({type:"aria",message:n})))},20)}}return t});var ii={};k(ii,{withConditionalVisibility:()=>Sp});var Tc=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a};function Sp(e){class t extends e{constructor(){super(...arguments),this.forceVisible=!1,this.isVisible=!0,this.isElementWithConditionalVisibility=!0}calculateStyles(n,i){if(n){let a=document.createElement("style");a.classList.add("conditional-visibility-style"),a.innerHTML=i,this.shadowRoot.append(a)}}hideIfNecessary(){let n=!(this.forceVisible||this.isVisible);this.calculateStyles(n,":host { display: none !important; }")}highlightIfForceVisible(){this.calculateStyles(this.forceVisible,":host { box-shadow: 0px 0px 0px 8px rgba(227,119,59,0.4) inset; }")}willUpdate(n){super.willUpdate(n),this.updateComplete.then(()=>{this.shadowRoot.querySelectorAll(".conditional-visibility-style").forEach(i=>i.remove()),this.hideIfNecessary(),this.highlightIfForceVisible()})}}return Tc([R({type:Boolean,attribute:!1})],t.prototype,"forceVisible",void 0),Tc([B()],t.prototype,"isVisible",void 0),t}var si={};k(si,{FormController:()=>ai});function vp(e){let t={};for(let o of Object.keys(e))t[o]=e[o].initial;return t}var ai=class{constructor(t,o){this.host=t,this.config=o,this.errors=new Map,this.submitting=!1,t.addController(this),this.initial=vp(o),this.data={...this.initial}}hostDisconnected(){this.submitting=!1}get values(){return this.data}get fields(){return Object.keys(this.config)}get isSubmitting(){return this.submitting}get inError(){return this.errors.size>0}value(t){return this.data[t]}hasError(t){return this.errors.has(t)}errorFor(t){return this.errors.get(t)}setValue(t,o){if(this.data[t]===o)return;let n={...this.data};n[t]=o,this.data=n,this.checkValidity()}bind(t){return o=>this.setValue(t,o.detail)}setInitialValues(t){this.initial={...t},this.reset()}reset(){this.data={...this.initial},this.errors.clear(),this.submitting=!1,this.host.requestUpdate()}validateField(t,o){var n,i;let a=(i=(n=this.config[t]).validator)===null||i===void 0?void 0:i.call(n,this.value(t),this.data,o);a!==void 0&&this.errors.set(t,a)}checkValidity(t){return this.errors.clear(),this.fields.forEach(o=>{this.validateField(o,t)}),this.host.requestUpdate(),!this.inError}get firstFieldSelectorInError(){for(let t of this.fields){let o=this.config[t].selector;if(this.errors.has(t)&&o!==void 0)return o}}focusFirstFieldInError(){let t=this.firstFieldSelectorInError;if(t===void 0)return;let o=this.host.renderRoot.querySelector(t);o instanceof HTMLElement&&o.focus()}async submit(t){var o,n,i;if(!this.submitting){this.submitting=!0,this.host.requestUpdate();try{if(!this.checkValidity()){this.focusFirstFieldInError(),(o=t.onInvalid)===null||o===void 0||o.call(t);return}t.onSuccess(await t.request(this.data))}catch(a){let s=Fo(a)?a:void 0;if(!this.checkValidity(s)){this.focusFirstFieldInError(),(n=t.onInvalid)===null||n===void 0||n.call(t);return}(i=t.onFailure)===null||i===void 0||i.call(t,s)}finally{this.submitting=!1,this.host.requestUpdate()}}}};function ci(e,t){return t.map(o=>o(e)).filter(o=>o!==!0).map(o=>o)}function Lc(e,t,o){return e?t(e):o?.(e)}var V=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},et;(function(e){e.blur="blur",e.blurWithStatusResolutionOnInput="blurWithStatusResolutionOnInput",e.input="input"})(et||(et={}));var ke;(function(e){e.default="default",e.warning="warning",e.error="error"})(ke||(ke={}));var li=class extends CustomEvent{constructor(t){super("input-validated",{detail:{level:t}})}};var Yx=Q(Symbol("toFtInput"),function(e){class t extends e{constructor(){super(...arguments),this.warningRules=[],this.errorRules=[],this.validateOn=et.blurWithStatusResolutionOnInput,this.validateAtRender=!1,this.label="",this.hideLabel=!1,this.name="",this.disabled=!1,this.errorMessages=[],this.warningMessages=[],this.status=ke.default,this.focused=!1,this.additionalWarningRules=[],this.additionalErrorRules=[],this.forceErrorMessages=[]}connectedCallback(){super.connectedCallback(),this.validateAtRender&&this.triggerValidation()}onBlur(){this.focused=!1,(this.validateOn===et.blur||this.validateOn===et.blurWithStatusResolutionOnInput)&&this.triggerValidation()}onFocus(){this.focused=!0}onInput(){this.forceErrorMessages.length&&(this.forceErrorMessages=[]),(this.status!==ke.default&&this.validateOn===et.blurWithStatusResolutionOnInput||this.validateOn===et.input)&&this.triggerValidation()}triggerValidation(){this.errorMessages=[...this.forceErrorMessages,...ci(this.value,[...this.errorRules,...this.additionalErrorRules])],this.warningMessages=ci(this.value,[...this.warningRules,...this.additionalWarningRules]),this.status=this.resolveStatus(),this.dispatchEvent(new li(this.status))}get messagesForScreenReaderElementId(){return"sr-helper-text-list"}renderMessagesForScreenReader(){return G`
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
  ${vr(this.errorMessages,n=>G`
@@ -81,15 +81,15 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
81
81
  <li>${this.helperText}</li>
82
82
  `)}
83
83
  </ul>
84
- `}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?Ie.error:this.warningMessages.length?Ie.warning:Ie.default}}return W([_()],t.prototype,"warningRules",void 0),W([_()],t.prototype,"errorRules",void 0),W([_()],t.prototype,"validateOn",void 0),W([_({type:Boolean})],t.prototype,"validateAtRender",void 0),W([_()],t.prototype,"label",void 0),W([_({type:Boolean})],t.prototype,"hideLabel",void 0),W([_()],t.prototype,"name",void 0),W([_({type:Boolean})],t.prototype,"disabled",void 0),W([_()],t.prototype,"helperText",void 0),W([_()],t.prototype,"forceStatus",void 0),W([_({reflect:!0})],t.prototype,"value",void 0),W([B()],t.prototype,"errorMessages",void 0),W([B()],t.prototype,"warningMessages",void 0),W([B()],t.prototype,"status",void 0),W([B()],t.prototype,"focused",void 0),W([B()],t.prototype,"additionalWarningRules",void 0),W([B()],t.prototype,"additionalErrorRules",void 0),W([B()],t.prototype,"forceErrorMessages",void 0),t});var dr=(e,t)=>{let o=e._$AN;if(o===void 0)return!1;for(let n of o)n._$AO?.(t,!1),dr(n,t);return!0},eo=e=>{let t,o;do{if((t=e._$AM)===void 0)break;o=t._$AN,o.delete(e),e=t}while(o?.size===0)},Nc=e=>{for(let t;t=e._$AM;e=t){let o=t._$AN;if(o===void 0)t._$AN=o=new Set;else if(o.has(e))break;o.add(e),Ap(t)}};function Op(e){this._$AN!==void 0?(eo(this),this._$AM=e,Nc(this)):this._$AM=e}function Cp(e,t=!1,o=0){let n=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(t)if(Array.isArray(n))for(let a=o;a<n.length;a++)dr(n[a],!1),eo(n[a]);else n!=null&&(dr(n,!1),eo(n));else dr(this,e)}var Ap=e=>{e.type==de.CHILD&&(e._$AP??=Cp,e._$AQ??=Op)},It=class extends oe{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,o,n){super._$AT(t,o,n),Nc(this),this.isConnected=t._$AU}_$AO(t,o=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),o&&(dr(this,t),eo(this))}setValue(t){if(Fi(this._$Ct))this._$Ct._$AI(t,this);else{let o=[...this._$Ct._$AH];o[this._$Ci]=t,this._$Ct._$AI(o,this,0)}}disconnected(){}reconnected(){}};var di=class extends It{get element(){var t;return(t=this.part)===null||t===void 0?void 0:t.element}constructor(t){super(t),this.onFirstTrapFocus=async o=>{if(!this.element||!o.relatedTarget)return;let n=o.relatedTarget;this.isInsideElement(n,this.element)?await this.focusLastDescendant(this.element):await this.focusFirstDescendant(this.element)},this.onLastTrapFocus=async o=>{if(!this.element||!o.relatedTarget)return;let n=o.relatedTarget;this.isInsideElement(n,this.element)?await this.focusFirstDescendant(this.element):await this.focusLastDescendant(this.element)}}render(){return z}update(t){return this.part=t,this.ensureFocusTrap(t.element),z}reconnected(){var t;this.ensureFocusTrap((t=this.part)===null||t===void 0?void 0:t.element)}disconnected(){this.removeFocusTrap()}ensureFocusTrap(t){var o,n;this.isElementTrappable(t)&&(((o=this.firstTrap)===null||o===void 0?void 0:o.parentElement)===t&&((n=this.lastTrap)===null||n===void 0?void 0:n.parentElement)===t||(this.removeFocusTrap(),this.createFocusTrap(t)))}removeFocusTrap(){var t,o,n,i;(t=this.firstTrap)===null||t===void 0||t.removeEventListener("focus",this.onFirstTrapFocus),(o=this.lastTrap)===null||o===void 0||o.removeEventListener("focus",this.onLastTrapFocus),(n=this.firstTrap)===null||n===void 0||n.remove(),(i=this.lastTrap)===null||i===void 0||i.remove(),this.firstTrap=void 0,this.lastTrap=void 0}isElementTrappable(t){return!!t&&t instanceof HTMLElement&&t.childElementCount>0}createFocusTrap(t){this.firstTrap=this.createTrap(),this.lastTrap=this.createTrap(),t.insertBefore(this.firstTrap,t.firstChild),t.appendChild(this.lastTrap),this.lastTrap.addEventListener("focus",this.onLastTrapFocus),this.firstTrap.addEventListener("focus",this.onFirstTrapFocus)}createTrap(){let t=document.createElement("div");return t.tabIndex=0,t}getChildren(t){return t instanceof HTMLSlotElement?t.assignedElements():t.shadowRoot?t.shadowRoot.children:t.children}async focusFirstDescendant(t){await this.updateCompleteIfNecessary(t);let o=this.getChildren(t);for(let n=0;n<o.length;n++){let i=o[n];if(i instanceof HTMLElement&&(this.attemptFocus(i)||await this.focusFirstDescendant(i)))return!0}return!1}async focusLastDescendant(t){await this.updateCompleteIfNecessary(t);let o=this.getChildren(t);for(let n=o.length-1;n>=0;n--){let i=o[n];if(i instanceof HTMLElement&&(this.attemptFocus(i)||await this.focusLastDescendant(i)))return!0}return!1}async updateCompleteIfNecessary(t){t instanceof re&&await t.updateComplete}isInsideElement(t,o){for(let n=t;n;n=n.parentNode){if(n===o)return!0;n instanceof ShadowRoot?n=n.host:n.assignedSlot&&(n=n.assignedSlot)}return!1}attemptFocus(t){return t===this.firstTrap||t===this.lastTrap||!this.isFocusable(t)?!1:(t.focus(),!0)}isFocusable(t){return!t.checkVisibility()||this.isElementDisabled(t)?!1:t instanceof HTMLAnchorElement?!!t.href&&t.rel!=="ignore":t instanceof HTMLInputElement?t.type!=="hidden":t.tabIndex>=0}isElementDisabled(t){return"disabled"in t&&!!t.disabled}},S0=X(di);var Pc;(function(e){e.sm="sm",e.md="md",e.lg="lg",e.xl="xl"})(Pc||(Pc={}));var wp={sm:640,md:768,lg:1024,xl:1280},ui=class extends It{constructor(t){super(t),this.size=0,this.onResize=()=>{let o=window.innerWidth;this.size!==o&&(this.size=o,this.lastArgs&&this.setValue(this.render(...this.lastArgs)))},this.size=window.innerWidth,window.addEventListener("resize",this.onResize)}disconnected(){window.removeEventListener("resize",this.onResize)}reconnected(){window.addEventListener("resize",this.onResize)}update(t,[o,n,i]){return this.lastArgs=[o,n,i],this.render(o,n,i)}render(t,o,n){let i=this.resolveThreshold(t),a=n??(()=>M);return this.size>i?o():a()}resolveThreshold(t){return typeof t=="number"?t:wp[t]}},A0=X(ui);var pi,fi,hi,mi,_p=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((hi=(fi=(pi=window.safari)===null||pi===void 0?void 0:pi.pushNotification)===null||fi===void 0?void 0:fi.toString())!==null&&hi!==void 0?hi:"")==="[object SafariRemoteNotification]",Rp="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(mi=window.ftGlobals)!==null&&mi!==void 0?mi:{lit:bo,litDecorators:xo,litRepeat:Eo,litClassMap:vo,litStyleMap:Oo,litUnsafeHTML:Ao,wcUtils:{...wo,...Mo,...Ro,...Wo,...Jn,...jo,...To,...Yo,...ko,...dn,...oi,..._c,...qn,...un,...qo,...gn,...Xn,...mn,...ni,...ii,...Bs,...No,...xn,...Xo,...Sn,...Rc,...Hs,...On,...jn,...ti,...pn,...hn,...Bo,...zo,...si,isSafari:_p,isTouchScreen:Rp,setVariable:St}};var Ic=P`
84
+ `}resolveStatus(){return this.forceStatus?this.forceStatus:this.errorMessages.length?ke.error:this.warningMessages.length?ke.warning:ke.default}}return V([R()],t.prototype,"warningRules",void 0),V([R()],t.prototype,"errorRules",void 0),V([R()],t.prototype,"validateOn",void 0),V([R({type:Boolean})],t.prototype,"validateAtRender",void 0),V([R()],t.prototype,"label",void 0),V([R({type:Boolean})],t.prototype,"hideLabel",void 0),V([R()],t.prototype,"name",void 0),V([R({type:Boolean})],t.prototype,"disabled",void 0),V([R()],t.prototype,"helperText",void 0),V([R()],t.prototype,"forceStatus",void 0),V([R({reflect:!0})],t.prototype,"value",void 0),V([B()],t.prototype,"errorMessages",void 0),V([B()],t.prototype,"warningMessages",void 0),V([B()],t.prototype,"status",void 0),V([B()],t.prototype,"focused",void 0),V([B()],t.prototype,"additionalWarningRules",void 0),V([B()],t.prototype,"additionalErrorRules",void 0),V([B()],t.prototype,"forceErrorMessages",void 0),t});var dr=(e,t)=>{let o=e._$AN;if(o===void 0)return!1;for(let n of o)n._$AO?.(t,!1),dr(n,t);return!0},eo=e=>{let t,o;do{if((t=e._$AM)===void 0)break;o=t._$AN,o.delete(e),e=t}while(o?.size===0)},Nc=e=>{for(let t;t=e._$AM;e=t){let o=t._$AN;if(o===void 0)t._$AN=o=new Set;else if(o.has(e))break;o.add(e),wp(t)}};function Cp(e){this._$AN!==void 0?(eo(this),this._$AM=e,Nc(this)):this._$AM=e}function Ap(e,t=!1,o=0){let n=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(t)if(Array.isArray(n))for(let a=o;a<n.length;a++)dr(n[a],!1),eo(n[a]);else n!=null&&(dr(n,!1),eo(n));else dr(this,e)}var wp=e=>{e.type==de.CHILD&&(e._$AP??=Ap,e._$AQ??=Cp)},kt=class extends oe{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,o,n){super._$AT(t,o,n),Nc(this),this.isConnected=t._$AU}_$AO(t,o=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),o&&(dr(this,t),eo(this))}setValue(t){if(Fi(this._$Ct))this._$Ct._$AI(t,this);else{let o=[...this._$Ct._$AH];o[this._$Ci]=t,this._$Ct._$AI(o,this,0)}}disconnected(){}reconnected(){}};var di=class extends kt{get element(){var t;return(t=this.part)===null||t===void 0?void 0:t.element}constructor(t){super(t),this.onFirstTrapFocus=async o=>{if(!this.element||!o.relatedTarget)return;let n=o.relatedTarget;this.isInsideElement(n,this.element)?await this.focusLastDescendant(this.element):await this.focusFirstDescendant(this.element)},this.onLastTrapFocus=async o=>{if(!this.element||!o.relatedTarget)return;let n=o.relatedTarget;this.isInsideElement(n,this.element)?await this.focusFirstDescendant(this.element):await this.focusLastDescendant(this.element)}}render(){return z}update(t){return this.part=t,this.ensureFocusTrap(t.element),z}reconnected(){var t;this.ensureFocusTrap((t=this.part)===null||t===void 0?void 0:t.element)}disconnected(){this.removeFocusTrap()}ensureFocusTrap(t){var o,n;this.isElementTrappable(t)&&(((o=this.firstTrap)===null||o===void 0?void 0:o.parentElement)===t&&((n=this.lastTrap)===null||n===void 0?void 0:n.parentElement)===t||(this.removeFocusTrap(),this.createFocusTrap(t)))}removeFocusTrap(){var t,o,n,i;(t=this.firstTrap)===null||t===void 0||t.removeEventListener("focus",this.onFirstTrapFocus),(o=this.lastTrap)===null||o===void 0||o.removeEventListener("focus",this.onLastTrapFocus),(n=this.firstTrap)===null||n===void 0||n.remove(),(i=this.lastTrap)===null||i===void 0||i.remove(),this.firstTrap=void 0,this.lastTrap=void 0}isElementTrappable(t){return!!t&&t instanceof HTMLElement&&t.childElementCount>0}createFocusTrap(t){this.firstTrap=this.createTrap(),this.lastTrap=this.createTrap(),t.insertBefore(this.firstTrap,t.firstChild),t.appendChild(this.lastTrap),this.lastTrap.addEventListener("focus",this.onLastTrapFocus),this.firstTrap.addEventListener("focus",this.onFirstTrapFocus)}createTrap(){let t=document.createElement("div");return t.tabIndex=0,t}getChildren(t){return t instanceof HTMLSlotElement?t.assignedElements():t.shadowRoot?t.shadowRoot.children:t.children}async focusFirstDescendant(t){await this.updateCompleteIfNecessary(t);let o=this.getChildren(t);for(let n=0;n<o.length;n++){let i=o[n];if(i instanceof HTMLElement&&(this.attemptFocus(i)||await this.focusFirstDescendant(i)))return!0}return!1}async focusLastDescendant(t){await this.updateCompleteIfNecessary(t);let o=this.getChildren(t);for(let n=o.length-1;n>=0;n--){let i=o[n];if(i instanceof HTMLElement&&(this.attemptFocus(i)||await this.focusLastDescendant(i)))return!0}return!1}async updateCompleteIfNecessary(t){t instanceof re&&await t.updateComplete}isInsideElement(t,o){for(let n=t;n;n=n.parentNode){if(n===o)return!0;n instanceof ShadowRoot?n=n.host:n.assignedSlot&&(n=n.assignedSlot)}return!1}attemptFocus(t){return t===this.firstTrap||t===this.lastTrap||!this.isFocusable(t)?!1:(t.focus(),!0)}isFocusable(t){return!t.checkVisibility()||this.isElementDisabled(t)?!1:t instanceof HTMLAnchorElement?!!t.href&&t.rel!=="ignore":t instanceof HTMLInputElement?t.type!=="hidden":t.tabIndex>=0}isElementDisabled(t){return"disabled"in t&&!!t.disabled}},R0=X(di);var Pc;(function(e){e.sm="sm",e.md="md",e.lg="lg",e.xl="xl"})(Pc||(Pc={}));var Rp={sm:640,md:768,lg:1024,xl:1280},ui=class extends kt{constructor(t){super(t),this.size=0,this.onResize=()=>{let o=window.innerWidth;this.size!==o&&(this.size=o,this.lastArgs&&this.setValue(this.render(...this.lastArgs)))},this.size=window.innerWidth,window.addEventListener("resize",this.onResize)}disconnected(){window.removeEventListener("resize",this.onResize)}reconnected(){window.addEventListener("resize",this.onResize)}update(t,[o,n,i]){return this.lastArgs=[o,n,i],this.render(o,n,i)}render(t,o,n){let i=this.resolveThreshold(t),a=n??(()=>M);return this.size>i?o():a()}resolveThreshold(t){return typeof t=="number"?t:Rp[t]}},N0=X(ui);var pi,fi,hi,mi,_p=navigator.vendor&&!!navigator.vendor.match(/apple/i)||((hi=(fi=(pi=window.safari)===null||pi===void 0?void 0:pi.pushNotification)===null||fi===void 0?void 0:fi.toString())!==null&&hi!==void 0?hi:"")==="[object SafariRemoteNotification]",Tp="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;window.ftGlobals=(mi=window.ftGlobals)!==null&&mi!==void 0?mi:{lit:bo,litDecorators:xo,litRepeat:Eo,litClassMap:vo,litStyleMap:Oo,litUnsafeHTML:Ao,wcUtils:{...wo,...Mo,..._o,...Vo,...Jn,...jo,...To,...Yo,...Io,...dn,...oi,...Rc,...qn,...un,...qo,...gn,...Xn,...mn,...ni,...ii,...Bs,...No,...xn,...Xo,...Sn,..._c,...Hs,...On,...jn,...ti,...pn,...hn,...Bo,...zo,...si,isSafari:_p,isTouchScreen:Tp,setVariable:St}};var kc=P`
85
85
  .ft-accordion {
86
86
  box-sizing: border-box;
87
87
  }
88
- `;var kc=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},ke=class extends F{constructor(){super(...arguments),this.multi=!1}render(){return G`
88
+ `;var Ic=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},Ie=class extends F{constructor(){super(...arguments),this.multi=!1}render(){return G`
89
89
  <div class="ft-accordion">
90
90
  <slot @activated=${this.onChange}></slot>
91
91
  </div>
92
- `}onChange(t){t.stopPropagation(),this.multi||this.content.assignedElements().forEach(o=>o.active=o===t.target)}};ke.elementDefinitions={};ke.styles=Ic;kc([_({type:Boolean})],ke.prototype,"multi",void 0);kc([Ae("slot")],ke.prototype,"content",void 0);var Dc=r.extend("--ft-ripple-color","",Z.colorContent),tt={color:Dc,backgroundColor:r.extend("--ft-ripple-background-color","",Dc),opacityContentOnSurfacePressed:r.external(Z.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:r.external(Z.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:r.external(Z.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:r.external(Z.opacityContentOnSurfaceSelected,"Design system"),borderRadius:r.create("--ft-ripple-border-radius","","SIZE","0px")},Mc=r.extend("--ft-ripple-color","",Z.colorPrimary),Uc={color:Mc,backgroundColor:r.extend("--ft-ripple-background-color","",Mc)},Fc=r.extend("--ft-ripple-color","",Z.colorSecondary),Bc={color:Fc,backgroundColor:r.extend("--ft-ripple-background-color","",Fc)},$c=P`
92
+ `}onChange(t){t.stopPropagation(),this.multi||this.content.assignedElements().forEach(o=>o.active=o===t.target)}};Ie.elementDefinitions={};Ie.styles=kc;Ic([R({type:Boolean})],Ie.prototype,"multi",void 0);Ic([Ae("slot")],Ie.prototype,"content",void 0);var Dc=r.extend("--ft-ripple-color","",Z.colorContent),tt={color:Dc,backgroundColor:r.extend("--ft-ripple-background-color","",Dc),opacityContentOnSurfacePressed:r.external(Z.opacityContentOnSurfacePressed,"Design system"),opacityContentOnSurfaceHover:r.external(Z.opacityContentOnSurfaceHover,"Design system"),opacityContentOnSurfaceFocused:r.external(Z.opacityContentOnSurfaceFocused,"Design system"),opacityContentOnSurfaceSelected:r.external(Z.opacityContentOnSurfaceSelected,"Design system"),borderRadius:r.create("--ft-ripple-border-radius","","SIZE","0px")},Mc=r.extend("--ft-ripple-color","",Z.colorPrimary),Uc={color:Mc,backgroundColor:r.extend("--ft-ripple-background-color","",Mc)},Fc=r.extend("--ft-ripple-color","",Z.colorSecondary),Bc={color:Fc,backgroundColor:r.extend("--ft-ripple-background-color","",Fc)},$c=P`
93
93
  :host {
94
94
  display: contents;
95
95
  }
@@ -201,7 +201,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
201
201
  opacity: ${tt.opacityContentOnSurfacePressed};
202
202
  transform: translate(-50%, -50%) scale(1);
203
203
  }
204
- `;var Y=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},$=class extends F{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new Re(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new Re(10),this.moveRipple=t=>{var o,n;let{x:i,y:a}=this.getCoordinates(t),s=(n=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return G`
204
+ `;var Y=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},$=class extends F{constructor(){super(...arguments),this.primary=!1,this.secondary=!1,this.unbounded=!1,this.activated=!1,this.selected=!1,this.disabled=!1,this.hovered=!1,this.focused=!1,this.pressed=!1,this.rippling=!1,this.originX=0,this.originY=0,this.debouncer=new _e(1e3),this.onTransitionStart=t=>{t.propertyName==="transform"&&(this.rippling=this.pressed,this.debouncer.run(()=>this.rippling=!1))},this.onTransitionEnd=t=>{t.propertyName==="transform"&&(this.rippling=!1)},this.setupDebouncer=new _e(10),this.moveRipple=t=>{var o,n;let{x:i,y:a}=this.getCoordinates(t),s=(n=(o=this.ripple)===null||o===void 0?void 0:o.getBoundingClientRect())!==null&&n!==void 0?n:{x:0,y:0,width:0,height:0};this.originX=Math.round(i!=null?i-s.x:s.width/2),this.originY=Math.round(a!=null?a-s.y:s.height/2)},this.startPress=t=>{this.moveRipple(t),this.pressed=!this.isIgnored(t)},this.endPress=()=>{this.pressed=!1},this.startHover=t=>{this.hovered=!this.isIgnored(t)},this.endHover=()=>{this.hovered=!1},this.startFocus=t=>{this.focused=this.isFocusVisible(t?.target)&&!this.isIgnored(t)},this.endFocus=()=>{this.focused=!1}}render(){let t={"ft-ripple":!0,"ft-ripple--primary":this.primary,"ft-ripple--secondary":this.secondary,"ft-ripple--unbounded":this.unbounded,"ft-ripple--selected":(this.selected||this.activated)&&!this.disabled,"ft-ripple--pressed":(this.pressed||this.rippling)&&!this.disabled,"ft-ripple--hovered":this.hovered&&!this.disabled,"ft-ripple--focused":this.focused&&!this.disabled};return G`
205
205
  <style>
206
206
  .ft-ripple .ft-ripple--effect {
207
207
  left: ${this.originX}px;
@@ -212,7 +212,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
212
212
  <div class="ft-ripple--background"></div>
213
213
  <div class="ft-ripple--effect"></div>
214
214
  </div>
215
- `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var t,o;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}forceFocusUpdate(){var t;!((t=this.target)===null||t===void 0)&&t.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let o=(...l)=>d=>{l.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(d)},n=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&o("keyup")(l)},s={passive:!0};t.addEventListener("mouseover",this.startHover,s),t.addEventListener("mousemove",this.moveRipple,s),t.addEventListener("mouseleave",this.endHover,s),t.addEventListener("mousedown",n,s),t.addEventListener("touchstart",i,s),t.addEventListener("touchmove",this.moveRipple,s),t.addEventListener("keydown",a,s),t.addEventListener("focus",this.startFocus,s),t.addEventListener("blur",this.endFocus,s),t.addEventListener("focusin",this.startFocus,s),t.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,s),t.removeEventListener("mousemove",this.moveRipple,s),t.removeEventListener("mouseleave",this.endHover,s),t.removeEventListener("mousedown",n,s),t.removeEventListener("touchstart",i,s),t.removeEventListener("touchmove",this.moveRipple,s),t.removeEventListener("keydown",a,s),t.removeEventListener("focus",this.startFocus,s),t.removeEventListener("blur",this.endFocus,s),t.removeEventListener("focusin",this.startFocus,s),t.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let o=t,n=t,i,a;return o.x!=null?{x:i,y:a}=o:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};$.elementDefinitions={};$.styles=$c;Y([_({type:Boolean})],$.prototype,"primary",void 0);Y([_({type:Boolean})],$.prototype,"secondary",void 0);Y([_({type:Boolean})],$.prototype,"unbounded",void 0);Y([_({type:Boolean})],$.prototype,"activated",void 0);Y([_({type:Boolean})],$.prototype,"selected",void 0);Y([_({type:Boolean})],$.prototype,"disabled",void 0);Y([B()],$.prototype,"hovered",void 0);Y([B()],$.prototype,"focused",void 0);Y([B()],$.prototype,"pressed",void 0);Y([B()],$.prototype,"rippling",void 0);Y([B()],$.prototype,"originX",void 0);Y([B()],$.prototype,"originY",void 0);Y([Ae(".ft-ripple")],$.prototype,"ripple",void 0);Y([Ae(".ft-ripple--effect")],$.prototype,"rippleEffect",void 0);var Hc={"ft-ripple":$};ge(Hc);var Gc=Symbol.for(""),Tp=e=>{if(e?.r===Gc)return e?._$litStatic$},yi=e=>({_$litStatic$:e,r:Gc});var zc=new Map,gi=e=>(t,...o)=>{let n=o.length,i,a,s=[],l=[],d,p=0,h=!1;for(;p<n;){for(d=t[p];p<n&&(a=o[p],(i=Tp(a))!==void 0);)d+=i+t[++p],h=!0;p!==n&&l.push(a),s.push(d),p++}if(p===n&&s.push(t[n]),h){let f=s.join("$$lit$$");(t=zc.get(f))===void 0&&(s.raw=s,zc.set(f,t=s)),o=l}return e(t,...o)},bi=gi(G),qE=gi(fo),YE=gi(ho);var to;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button"})(to||(to={}));var Vc=r.extend("--ft-typography-font-family","",Z.titleFont),ve=r.extend("--ft-typography-font-family","",Z.contentFont),A={fontFamily:ve,fontSize:r.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:r.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:r.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:r.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:r.create("--ft-typography-text-transform","","UNKNOWN","inherit"),textDecoration:r.create("--ft-typography-text-decoration","","UNKNOWN","inherit")},rt={fontFamily:r.extend("--ft-typography-title-font-family","",Vc),fontSize:r.extend("--ft-typography-title-font-size","",A.fontSize,"20px"),fontWeight:r.extend("--ft-typography-title-font-weight","",A.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-letter-spacing","",A.letterSpacing,"0.15px"),lineHeight:r.extend("--ft-typography-title-line-height","",A.lineHeight,"1.2"),textTransform:r.extend("--ft-typography-title-text-transform","",A.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-title-text-decoration","",A.textDecoration,"inherit")},ot={fontFamily:r.extend("--ft-typography-title-dense-font-family","",Vc),fontSize:r.extend("--ft-typography-title-dense-font-size","",A.fontSize,"14px"),fontWeight:r.extend("--ft-typography-title-dense-font-weight","",A.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-dense-letter-spacing","",A.letterSpacing,"0.105px"),lineHeight:r.extend("--ft-typography-title-dense-line-height","",A.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-title-dense-text-transform","",A.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-title-dense-text-decoration","",A.textDecoration,"inherit")},nt={fontFamily:r.extend("--ft-typography-subtitle1-font-family","",ve),fontSize:r.extend("--ft-typography-subtitle1-font-size","",A.fontSize,"16px"),fontWeight:r.extend("--ft-typography-subtitle1-font-weight","",A.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-subtitle1-letter-spacing","",A.letterSpacing,"0.144px"),lineHeight:r.extend("--ft-typography-subtitle1-line-height","",A.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-subtitle1-text-transform","",A.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-subtitle1-text-decoration","",A.textDecoration,"inherit")},it={fontFamily:r.extend("--ft-typography-subtitle2-font-family","",ve),fontSize:r.extend("--ft-typography-subtitle2-font-size","",A.fontSize,"14px"),fontWeight:r.extend("--ft-typography-subtitle2-font-weight","",A.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-subtitle2-letter-spacing","",A.letterSpacing,"0.098px"),lineHeight:r.extend("--ft-typography-subtitle2-line-height","",A.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-subtitle2-text-transform","",A.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-subtitle2-text-decoration","",A.textDecoration,"inherit")},at={fontFamily:r.extend("--ft-typography-body1-font-family","",ve),fontSize:r.extend("--ft-typography-body1-font-size","",A.fontSize,"16px"),fontWeight:r.extend("--ft-typography-body1-font-weight","",A.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body1-letter-spacing","",A.letterSpacing,"0.496px"),lineHeight:r.extend("--ft-typography-body1-line-height","",A.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-body1-text-transform","",A.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-body1-text-decoration","",A.textDecoration,"inherit")},st={fontFamily:r.extend("--ft-typography-body2-font-family","",ve),fontSize:r.extend("--ft-typography-body2-font-size","",A.fontSize,"14px"),fontWeight:r.extend("--ft-typography-body2-font-weight","",A.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body2-letter-spacing","",A.letterSpacing,"0.252px"),lineHeight:r.extend("--ft-typography-body2-line-height","",A.lineHeight,"1.4"),textTransform:r.extend("--ft-typography-body2-text-transform","",A.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-body2-text-decoration","",A.textDecoration,"inherit")},ct={fontFamily:r.extend("--ft-typography-caption-font-family","",ve),fontSize:r.extend("--ft-typography-caption-font-size","",A.fontSize,"12px"),fontWeight:r.extend("--ft-typography-caption-font-weight","",A.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-caption-letter-spacing","",A.letterSpacing,"0.396px"),lineHeight:r.extend("--ft-typography-caption-line-height","",A.lineHeight,"1.33"),textTransform:r.extend("--ft-typography-caption-text-transform","",A.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-caption-text-decoration","",A.textDecoration,"inherit")},lt={fontFamily:r.extend("--ft-typography-breadcrumb-font-family","",ve),fontSize:r.extend("--ft-typography-breadcrumb-font-size","",A.fontSize,"10px"),fontWeight:r.extend("--ft-typography-breadcrumb-font-weight","",A.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-breadcrumb-letter-spacing","",A.letterSpacing,"0.33px"),lineHeight:r.extend("--ft-typography-breadcrumb-line-height","",A.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-breadcrumb-text-transform","",A.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-breadcrumb-text-decoration","",A.textDecoration,"inherit")},dt={fontFamily:r.extend("--ft-typography-overline-font-family","",ve),fontSize:r.extend("--ft-typography-overline-font-size","",A.fontSize,"10px"),fontWeight:r.extend("--ft-typography-overline-font-weight","",A.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-overline-letter-spacing","",A.letterSpacing,"1.5px"),lineHeight:r.extend("--ft-typography-overline-line-height","",A.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-overline-text-transform","",A.textTransform,"uppercase"),textDecoration:r.extend("--ft-typography-overline-text-decoration","",A.textDecoration,"inherit")},ut={fontFamily:r.extend("--ft-typography-button-font-family","",ve),fontSize:r.extend("--ft-typography-button-font-size","",A.fontSize,"14px"),fontWeight:r.extend("--ft-typography-button-font-weight","",A.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-button-letter-spacing","",A.letterSpacing,"1.246px"),lineHeight:r.extend("--ft-typography-button-line-height","",A.lineHeight,"1.15"),textTransform:r.extend("--ft-typography-button-text-transform","",A.textTransform,"uppercase"),textDecoration:r.extend("--ft-typography-button-text-decoration","",A.textDecoration,"inherit")},Wc=P`
215
+ `}contentAvailableCallback(t){super.contentAvailableCallback(t),this.rippleEffect&&this.rippleEffect.ontransitionstart!==this.onTransitionStart&&(this.rippleEffect.ontransitionstart=this.onTransitionStart,this.rippleEffect.ontransitionend=this.onTransitionEnd)}update(t){var o,n;super.update(t),t.has("disabled")&&(this.disabled?(this.endRipple(),(o=this.target)===null||o===void 0||o.removeAttribute("data-is-ft-ripple-target")):(n=this.target)===null||n===void 0||n.setAttribute("data-is-ft-ripple-target","true"))}endRipple(){this.endHover(),this.endFocus(),this.endPress(),this.rippling=!1}connectedCallback(){super.connectedCallback(),this.setupDebouncer.run(()=>this.defaultSetup())}defaultSetup(){var t,o;let n=(t=this.shadowRoot)===null||t===void 0?void 0:t.host.parentElement;n&&this.setupFor((o=this.target)!==null&&o!==void 0?o:n)}forceFocusUpdate(){var t;!((t=this.target)===null||t===void 0)&&t.matches(":focus-within")?this.startFocus():this.endFocus()}setupFor(t){if(this.setupDebouncer.cancel(),this.target===t)return;this.onDisconnect&&this.onDisconnect(),this.target=t,t.setAttribute("data-is-ft-ripple-target","true");let o=(...l)=>u=>{l.forEach(p=>window.addEventListener(p,this.endPress,{once:!0})),this.startPress(u)},n=o("mouseup","contextmenu"),i=o("touchend","touchcancel"),a=l=>{["Enter"," "].includes(l.key)&&o("keyup")(l)},s={passive:!0};t.addEventListener("mouseover",this.startHover,s),t.addEventListener("mousemove",this.moveRipple,s),t.addEventListener("mouseleave",this.endHover,s),t.addEventListener("mousedown",n,s),t.addEventListener("touchstart",i,s),t.addEventListener("touchmove",this.moveRipple,s),t.addEventListener("keydown",a,s),t.addEventListener("focus",this.startFocus,s),t.addEventListener("blur",this.endFocus,s),t.addEventListener("focusin",this.startFocus,s),t.addEventListener("focusout",this.endFocus,s),this.onDisconnect=()=>{t.removeAttribute("data-is-ft-ripple-target"),t.removeEventListener("mouseover",this.startHover,s),t.removeEventListener("mousemove",this.moveRipple,s),t.removeEventListener("mouseleave",this.endHover,s),t.removeEventListener("mousedown",n,s),t.removeEventListener("touchstart",i,s),t.removeEventListener("touchmove",this.moveRipple,s),t.removeEventListener("keydown",a,s),t.removeEventListener("focus",this.startFocus,s),t.removeEventListener("blur",this.endFocus,s),t.removeEventListener("focusin",this.startFocus,s),t.removeEventListener("focusout",this.endFocus,s),this.onDisconnect=void 0,this.target=void 0}}getCoordinates(t){let o=t,n=t,i,a;return o.x!=null?{x:i,y:a}=o:n.touches!=null&&(i=n.touches[0].clientX,a=n.touches[0].clientY),{x:i,y:a}}isFocusVisible(t){return t instanceof HTMLElement?t.matches(":focus-visible"):!0}isIgnored(t){if(this.disabled)return!0;if(t!=null)for(let o of t.composedPath()){if(o===this.target)break;if("hasAttribute"in o&&o.hasAttribute("data-is-ft-ripple-target"))return!0}return!1}disconnectedCallback(){super.disconnectedCallback(),this.onDisconnect&&this.onDisconnect(),this.endRipple()}};$.elementDefinitions={};$.styles=$c;Y([R({type:Boolean})],$.prototype,"primary",void 0);Y([R({type:Boolean})],$.prototype,"secondary",void 0);Y([R({type:Boolean})],$.prototype,"unbounded",void 0);Y([R({type:Boolean})],$.prototype,"activated",void 0);Y([R({type:Boolean})],$.prototype,"selected",void 0);Y([R({type:Boolean})],$.prototype,"disabled",void 0);Y([B()],$.prototype,"hovered",void 0);Y([B()],$.prototype,"focused",void 0);Y([B()],$.prototype,"pressed",void 0);Y([B()],$.prototype,"rippling",void 0);Y([B()],$.prototype,"originX",void 0);Y([B()],$.prototype,"originY",void 0);Y([Ae(".ft-ripple")],$.prototype,"ripple",void 0);Y([Ae(".ft-ripple--effect")],$.prototype,"rippleEffect",void 0);var Hc={"ft-ripple":$};ge(Hc);var Gc=Symbol.for(""),Lp=e=>{if(e?.r===Gc)return e?._$litStatic$},yi=e=>({_$litStatic$:e,r:Gc});var zc=new Map,gi=e=>(t,...o)=>{let n=o.length,i,a,s=[],l=[],u,p=0,h=!1;for(;p<n;){for(u=t[p];p<n&&(a=o[p],(i=Lp(a))!==void 0);)u+=i+t[++p],h=!0;p!==n&&l.push(a),s.push(u),p++}if(p===n&&s.push(t[n]),h){let f=s.join("$$lit$$");(t=zc.get(f))===void 0&&(s.raw=s,zc.set(f,t=s)),o=l}return e(t,...o)},bi=gi(G),tS=gi(fo),rS=gi(ho);var to;(function(e){e.title="title",e.title_dense="title-dense",e.subtitle1="subtitle1",e.subtitle2="subtitle2",e.body1="body1",e.body2="body2",e.caption="caption",e.breadcrumb="breadcrumb",e.overline="overline",e.button="button"})(to||(to={}));var Wc=r.extend("--ft-typography-font-family","",Z.titleFont),ve=r.extend("--ft-typography-font-family","",Z.contentFont),A={fontFamily:ve,fontSize:r.create("--ft-typography-font-size","","SIZE","16px"),fontWeight:r.create("--ft-typography-font-weight","","UNKNOWN","normal"),letterSpacing:r.create("--ft-typography-letter-spacing","","SIZE","0.496px"),lineHeight:r.create("--ft-typography-line-height","","NUMBER","1.5"),textTransform:r.create("--ft-typography-text-transform","","UNKNOWN","inherit"),textDecoration:r.create("--ft-typography-text-decoration","","UNKNOWN","inherit")},rt={fontFamily:r.extend("--ft-typography-title-font-family","",Wc),fontSize:r.extend("--ft-typography-title-font-size","",A.fontSize,"20px"),fontWeight:r.extend("--ft-typography-title-font-weight","",A.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-letter-spacing","",A.letterSpacing,"0.15px"),lineHeight:r.extend("--ft-typography-title-line-height","",A.lineHeight,"1.2"),textTransform:r.extend("--ft-typography-title-text-transform","",A.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-title-text-decoration","",A.textDecoration,"inherit")},ot={fontFamily:r.extend("--ft-typography-title-dense-font-family","",Wc),fontSize:r.extend("--ft-typography-title-dense-font-size","",A.fontSize,"14px"),fontWeight:r.extend("--ft-typography-title-dense-font-weight","",A.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-title-dense-letter-spacing","",A.letterSpacing,"0.105px"),lineHeight:r.extend("--ft-typography-title-dense-line-height","",A.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-title-dense-text-transform","",A.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-title-dense-text-decoration","",A.textDecoration,"inherit")},nt={fontFamily:r.extend("--ft-typography-subtitle1-font-family","",ve),fontSize:r.extend("--ft-typography-subtitle1-font-size","",A.fontSize,"16px"),fontWeight:r.extend("--ft-typography-subtitle1-font-weight","",A.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-subtitle1-letter-spacing","",A.letterSpacing,"0.144px"),lineHeight:r.extend("--ft-typography-subtitle1-line-height","",A.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-subtitle1-text-transform","",A.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-subtitle1-text-decoration","",A.textDecoration,"inherit")},it={fontFamily:r.extend("--ft-typography-subtitle2-font-family","",ve),fontSize:r.extend("--ft-typography-subtitle2-font-size","",A.fontSize,"14px"),fontWeight:r.extend("--ft-typography-subtitle2-font-weight","",A.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-subtitle2-letter-spacing","",A.letterSpacing,"0.098px"),lineHeight:r.extend("--ft-typography-subtitle2-line-height","",A.lineHeight,"1.7"),textTransform:r.extend("--ft-typography-subtitle2-text-transform","",A.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-subtitle2-text-decoration","",A.textDecoration,"inherit")},at={fontFamily:r.extend("--ft-typography-body1-font-family","",ve),fontSize:r.extend("--ft-typography-body1-font-size","",A.fontSize,"16px"),fontWeight:r.extend("--ft-typography-body1-font-weight","",A.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body1-letter-spacing","",A.letterSpacing,"0.496px"),lineHeight:r.extend("--ft-typography-body1-line-height","",A.lineHeight,"1.5"),textTransform:r.extend("--ft-typography-body1-text-transform","",A.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-body1-text-decoration","",A.textDecoration,"inherit")},st={fontFamily:r.extend("--ft-typography-body2-font-family","",ve),fontSize:r.extend("--ft-typography-body2-font-size","",A.fontSize,"14px"),fontWeight:r.extend("--ft-typography-body2-font-weight","",A.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-body2-letter-spacing","",A.letterSpacing,"0.252px"),lineHeight:r.extend("--ft-typography-body2-line-height","",A.lineHeight,"1.4"),textTransform:r.extend("--ft-typography-body2-text-transform","",A.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-body2-text-decoration","",A.textDecoration,"inherit")},ct={fontFamily:r.extend("--ft-typography-caption-font-family","",ve),fontSize:r.extend("--ft-typography-caption-font-size","",A.fontSize,"12px"),fontWeight:r.extend("--ft-typography-caption-font-weight","",A.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-caption-letter-spacing","",A.letterSpacing,"0.396px"),lineHeight:r.extend("--ft-typography-caption-line-height","",A.lineHeight,"1.33"),textTransform:r.extend("--ft-typography-caption-text-transform","",A.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-caption-text-decoration","",A.textDecoration,"inherit")},lt={fontFamily:r.extend("--ft-typography-breadcrumb-font-family","",ve),fontSize:r.extend("--ft-typography-breadcrumb-font-size","",A.fontSize,"10px"),fontWeight:r.extend("--ft-typography-breadcrumb-font-weight","",A.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-breadcrumb-letter-spacing","",A.letterSpacing,"0.33px"),lineHeight:r.extend("--ft-typography-breadcrumb-line-height","",A.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-breadcrumb-text-transform","",A.textTransform,"inherit"),textDecoration:r.extend("--ft-typography-breadcrumb-text-decoration","",A.textDecoration,"inherit")},dt={fontFamily:r.extend("--ft-typography-overline-font-family","",ve),fontSize:r.extend("--ft-typography-overline-font-size","",A.fontSize,"10px"),fontWeight:r.extend("--ft-typography-overline-font-weight","",A.fontWeight,"normal"),letterSpacing:r.extend("--ft-typography-overline-letter-spacing","",A.letterSpacing,"1.5px"),lineHeight:r.extend("--ft-typography-overline-line-height","",A.lineHeight,"1.6"),textTransform:r.extend("--ft-typography-overline-text-transform","",A.textTransform,"uppercase"),textDecoration:r.extend("--ft-typography-overline-text-decoration","",A.textDecoration,"inherit")},ut={fontFamily:r.extend("--ft-typography-button-font-family","",ve),fontSize:r.extend("--ft-typography-button-font-size","",A.fontSize,"14px"),fontWeight:r.extend("--ft-typography-button-font-weight","",A.fontWeight,"600"),letterSpacing:r.extend("--ft-typography-button-letter-spacing","",A.letterSpacing,"1.246px"),lineHeight:r.extend("--ft-typography-button-line-height","",A.lineHeight,"1.15"),textTransform:r.extend("--ft-typography-button-text-transform","",A.textTransform,"uppercase"),textDecoration:r.extend("--ft-typography-button-text-decoration","",A.textDecoration,"inherit")},Vc=P`
216
216
  .ft-typography--title {
217
217
  font-family: ${rt.fontFamily};
218
218
  font-size: ${rt.fontSize};
@@ -325,7 +325,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
325
325
  </${yi(this.element)}>
326
326
  `:bi`
327
327
  <slot part="text" class="ft-typography ft-typography--${this.variant}"></slot>
328
- `}};Oe.styles=[Wc,jc,Kc,Zc,qc,Yc,Xc,Qc,Jc,el,tl];rl([_()],Oe.prototype,"element",void 0);rl([_()],Oe.prototype,"variant",void 0);var ol={"ft-typography":Oe};ge(ol);var Ce={size:r.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:r.extend("--ft-icon-fluid-topics-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:r.extend("--ft-icon-file-format-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:r.extend("--ft-icon-material-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:r.create("--ft-icon-vertical-align","","UNKNOWN","unset")},nl=[P`
328
+ `}};Oe.styles=[Vc,jc,Kc,Zc,qc,Yc,Xc,Qc,Jc,el,tl];rl([R()],Oe.prototype,"element",void 0);rl([R()],Oe.prototype,"variant",void 0);var ol={"ft-typography":Oe};ge(ol);var Ce={size:r.create("--ft-icon-font-size","","SIZE","24px"),fluidTopicsFontFamily:r.extend("--ft-icon-fluid-topics-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-icons")),fileFormatFontFamily:r.extend("--ft-icon-file-format-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","ft-mime")),materialFontFamily:r.extend("--ft-icon-material-font-family","",r.create("--ft-icon-font-family","","UNKNOWN","Material Icons")),verticalAlign:r.create("--ft-icon-vertical-align","","UNKNOWN","unset")},nl=[P`
329
329
  :host, i.ft-icon {
330
330
  display: inline-flex;
331
331
  align-items: center;
@@ -373,12 +373,12 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
373
373
  .ft-icon--material {
374
374
  font-family: ${Ce.materialFontFamily}, "Material Icons", sans-serif;
375
375
  }
376
- `,En];var De;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(De||(De={}));var ro;(function(e){e.ADD_TO_PBK="&#xe800;",e.ALERT="&#xe801;",e.ADD_ALERT="&#xe802;",e.BACK_TO_SEARCH="&#xe803;",e.ADD_BOOKMARK="&#xe804;",e.BOOKMARK="&#xe805;",e.BOOKS="&#xe806;",e.MENU="&#xe807;",e.DOWNLOAD="&#xe808;",e.EDIT="&#xe809;",e.FEEDBACK="&#xe80a;",e.HOME="&#xe80b;",e.MODIFY_PBK="&#xe80c;",e.SCHEDULED="&#xe80d;",e.SEARCH="&#xe80e;",e.EXPORT="&#xe80f;",e.TOC="&#xe810;",e.WRITE_UGC="&#xe811;",e.TRASH="&#xe812;",e.USER="&#xe813;",e.EXTLINK="&#xe814;",e.CALENDAR="&#xe815;",e.OFFLINE="&#xe816;",e.BOOK="&#xe817;",e.DOWNLOAD_PLAIN="&#xe818;",e.CHECK="&#xe819;",e.STAR_PLAIN="&#xe900;",e.TOPICS="&#xe901;",e.DISC="&#xe902;",e.CIRCLE="&#xe903;",e.SHARED="&#xe904;",e.SORT_UNSORTED="&#xe905;",e.SORT_UP="&#xe906;",e.SORT_DOWN="&#xe907;",e.WORKING="&#xe908;",e.CLOSE="&#xe909;",e.ZOOM_OUT="&#xe90a;",e.ZOOM_IN="&#xe90b;",e.ZOOM_REALSIZE="&#xe90c;",e.ZOOM_FULLSCREEN="&#xe90d;",e.ADMIN_RESTRICTED="&#xe90e;",e.ADMIN="&#xe90f;",e.ADMIN_KHUB="&#xe910;",e.ADMIN_THEME="&#xe911;",e.ADMIN_USERS="&#xe912;",e.WARNING="&#xe913;",e.CONTEXT="&#xe914;",e.SEARCH_HOME="&#xe915;",e.STEPS="&#xe916;",e.ICON_EXPAND="&#xe917;",e.ICON_COLLAPSE="&#xe918;",e.INFO="&#xe919;",e.MINUS_PLAIN="&#xe91a;",e.PLUS_PLAIN="&#xe91b;",e.FACET_HAS_DESCENDANT="&#xe91c;",e.TRIANGLE_BOTTOM="&#xe91d;",e.TRIANGLE_LEFT="&#xe91e;",e.TRIANGLE_RIGHT="&#xe91f;",e.TRIANGLE_TOP="&#xe920;",e.THIN_ARROW="&#xe921;",e.SIGN_IN="&#xe922;",e.LOGOUT="&#xe923;",e.TRANSLATE="&#xe924;",e.CLOSE_PLAIN="&#xe925;",e.CHECK_PLAIN="&#xe926;",e.ARTICLE="&#xe927;",e.COLUMNS="&#xe928;",e.ANALYTICS="&#xe929;",e.COLLECTIONS="&#xe92a;",e.ARROW_DOWN="&#xe92b;",e.ARROW_LEFT="&#xe92c;",e.ARROW_RIGHT="&#xe92d;",e.ARROW_UP="&#xe92e;",e.SEARCH_IN_PUBLICATION="&#xe92f;",e.COPY_TO_CLIPBOARD="&#xe930;",e.SHARED_PBK="&#xe931;",e.ATTACHMENTS="&#xe932;",e.STRIPE_ARROW_LEFT="&#xe933;",e.STRIPE_ARROW_RIGHT="&#xe934;",e.FILTERS="&#xe935;",e.DOT="&#xe936;",e.MINUS="&#xe937;",e.PLUS="&#xe938;",e.MAILS_AND_NOTIFICATIONS="&#xe939;",e.SAVE="&#xe93a;",e.LOCKER="&#xe93b;",e.ADMIN_INTEGRATION="&#xe93c;",e.SYNC="&#xe93d;",e.TAG="&#xe93e;",e.BOOK_PLAIN="&#xe93f;",e.UPLOAD="&#xe940;",e.ONLINE="&#xe941;",e.TAG_PLAIN="&#xe942;",e.ACCOUNT_SETTINGS="&#xe943;",e.PRINT="&#xe944;",e.DEFAULT_ROLES="&#xe945;",e.SHORTCUT_MENU="&#xe946;",e.RELATIVES_PLAIN="&#xe947;",e.RELATIVES="&#xe948;",e.PAUSE="&#xe949;",e.PLAY="&#xe94a;",e.ADMIN_PORTAL="&#xe94b;",e.STAR="&#xe94c;",e.THUMBS_DOWN="&#xe94d;",e.THUMBS_DOWN_PLAIN="&#xe94e;",e.THUMBS_UP="&#xe94f;",e.THUMBS_UP_PLAIN="&#xe950;",e.FEEDBACK_PLAIN="&#xe951;",e.RATE_PLAIN="&#xe952;",e.RATE="&#xe953;",e.OFFLINE_SETTINGS="&#xe954;",e.MY_COLLECTIONS="&#xe955;",e.THIN_ARROW_LEFT="&#xe956;",e.THIN_ARROW_RIGHT="&#xe957;",e.RESET="&#xe958;",e.MY_LIBRARY="&#xe959;",e.UNSTRUCTURED_DOC="&#xe95a;",e.CONTEXTUAL="&#xe95b;",e.THIN_ARROW_UP="&#xe95c;",e.ARROW_RIGHT_TO_LINE="&#xe95d;",e.DESKTOP="&#xe95e;",e.TABLET_LANDSCAPE="&#xe95f;",e.TABLET_PORTRAIT="&#xe960;",e.MOBILE_LANDSCAPE="&#xe961;",e.MOBILE_PORTRAIT="&#xe962;",e.DIAGRAM_SUNBURST="&#xe963;",e.DIAGRAM_SANKEY="&#xe964;",e.COMMENT_QUESTION="&#xe965;",e.COMMENT_QUESTION_PLAIN="&#xe966;",e.MESSAGE_BOT="&#xe967;",e.CHART_SIMPLE="&#xe968;",e.BARS_PROGRESS="&#xe969;",e.BOOK_OPEN_GEAR="&#xe96a;",e.BOOK_OPEN_GEAR_SLASH="&#xe96b;",e.LINE_CHART="&#xe96c;",e.STACKED_CHART="&#xe96d;",e.CHART_BAR_STACKED="&#xe96e;",e.CHART_BAR_GROUPED="&#xe96f;",e.EYE_SLASH="&#xe970;",e.X_MARK="&#xe971;",e.EXPAND_WIDE="&#xe972;",e.PIP="&#xe973;",e.PIP_WIDE="&#xe974;",e.LIFE_RING="&#xe975;",e.GLOBE="&#xe976;",e.PIGGY_BANK="&#xe977;",e.EXTLINK_LIGHT="&#xe978;",e.CLONE="&#xe979;",e.CLONE_LINK_SIMPLE="&#xe97a;",e.CHART_BAR_NORMALIZED="&#xe97b;",e.CONSUMER="&#xe97c;",e.OCTAGON_XMARK="&#xe97d;",e.HOURGLASS_HALF="&#xe97e;",e.CLOCK="&#xe97f;",e.CLOCK_THREE="&#xe97f;",e.CALENDAR_DAY="&#xe980;",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",e.WAND_MAGIC_SPARKLES="&#xe982;",e.PAPER_PLANE="&#xe983;",e.CIRCLE_STOP="&#xe984;",e.ARROW_ROTATE_RIGHT="&#xe985;",e.ARROWS_ROTATE="&#xe986;",e.ALIGN_RIGHT="&#xe987;",e.FORMAT_CLEAR="&#xe988;",e.ALIGN_CENTER="&#xe989;",e.ALIGN_LEFT="&#xe98a;",e.PALETTE="&#xe98b;",e.BOLD="&#xe98c;",e.ITALIC="&#xe98d;",e.UNDERLINE="&#xe98e;",e.STRIKETHROUGH="&#xe98f;",e.LINK_SIMPLE_SLASH="&#xe990;",e.LINK_SIMPLE="&#xe991;",e.ROUTE="&#xe992;",e.CIRCLE_USER_SLASH="&#xe993;",e.CIRCLE_USER_CHECK="&#xe994;",e.LIST_MAGNIFYING_GLASS="&#xe995;",e.MEDAL="&#xe996;",e.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",e.ARROW_TURN_DOWN_RIGHT="&#xe998;",e.FLASK="&#xe999;",e.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",e.HOURGLASS_END="&#xe99b;",e.CIRCLE_QUESTION="&#xe99c;",e.GRIP_LINES_SOLID="&#xe99d;",e.TRANSLATE_SPARKLE_SOLID="&#xe99e;",e.CODE="&#xe99f;",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",e.PAPER_PLANE_SLASH="&#xe9a1;",e.COMPRESS="&#xe9a2;",e.EXPAND="&#xe9a3;",e.ARROW_ROTATE_LEFT="&#xe9a4;",e.MOBILE_SMALL="&#xe9a5;",e.SPARKLES="&#xe9a6;",e.HAND_SOLID="&#xe9a7;",e.CLOCK_SOLID="&#xe9a8;",e.CONTEXT_MENU_CURSOR="&#xe9a9;",e.LANGUAGE_SLASH="&#xe9aa;",e.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",e.CABINET_FILING_FLOPPY_DISK="&#xe9ac;",e.BOOKMARK_SLASH="&#xe9ad;",e.CIRCLE_PAUSE="&#xe9ae;",e.CIRCLE_PLAY="&#xe9af;",e.CIRCLE_STOP_PLAIN="&#xe9b0;",e.CIRCLE_ARROW_DOWN="&#xe9b1;",e.SHARE_NODES="&#xe9b2;",e.BELL="&#xe9b3;",e.BELL_SLASH="&#xe9b4;",e.FILE="&#xe9b5;",e.HAND="&#xe9b6;",e.SQUARE_INFO_SOLID="&#xe9b7;",e.FILE_CODE="&#xe9b8;",e.BOX_CODE="&#xe9b9;",e.TOPICS_SOLID="&#xe9ba;",e.PHOTO_FILM="&#xe9bb;",e.HYPHEN_SOLID="&#xe9bc;",e.CROSSHAIRS="&#xe9bd;",e.PERSON_CHALKBOARD="&#xe9be;",e.CIRCLE_ARROW_DOWN_SLASH="&#xe9bf;",e.BOOK_OPEN_COVER="&#xe9c0;",e.LIGHTBULB="&#xe9c1;",e.MESSAGE_BOT_AGENTIC_SOLID="&#xe9c2;",e.CHART_LINE_USER="&#xe9c3;",e.SERVER_CIRCLE_ARROW_DOWN="&#xe9c4;",e.EYE="&#xf06e;",e.SHARE="&#xe80f1;"})(ro||(ro={}));var v;(function(e){e.UNKNOWN="&#xe90a;",e.ABW="&#xe900;",e.AUDIO="&#xe901;",e.AVI="&#xe902;",e.CHM="&#xe904;",e.CODE="&#xe905;",e.CSV="&#xe903;",e.DITA="&#xe906;",e.EPUB="&#xe907;",e.EXCEL="&#xe908;",e.FLAC="&#xe909;",e.GIF="&#xe90b;",e.GZIP="&#xe90c;",e.HTML="&#xe90d;",e.IMAGE="&#xe90e;",e.JPEG="&#xe90f;",e.JSON="&#xe910;",e.M4A="&#xe911;",e.MOV="&#xe912;",e.MP3="&#xe913;",e.MP4="&#xe914;",e.OGG="&#xe915;",e.PDF="&#xe916;",e.PNG="&#xe917;",e.POWERPOINT="&#xe918;",e.RAR="&#xe91a;",e.STP="&#xe91b;",e.TEXT="&#xe91c;",e.VIDEO="&#xe91e;",e.WAV="&#xe91f;",e.WMA="&#xe920;",e.WORD="&#xe921;",e.XML="&#xe922;",e.YAML="&#xe919;",e.ZIP="&#xe923;"})(v||(v={}));var OS=new Map([...["abw"].map(e=>[e,v.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,v.AUDIO]),...["avi"].map(e=>[e,v.AVI]),...["chm","xhs"].map(e=>[e,v.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,v.CODE]),...["csv"].map(e=>[e,v.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,v.DITA]),...["epub"].map(e=>[e,v.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,v.EXCEL]),...["flac"].map(e=>[e,v.FLAC]),...["gif"].map(e=>[e,v.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,v.GZIP]),...["html","htm","xhtml"].map(e=>[e,v.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,v.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,v.JPEG]),...["json"].map(e=>[e,v.JSON]),...["m4a","m4p"].map(e=>[e,v.M4A]),...["mov","qt"].map(e=>[e,v.MOV]),...["mp3"].map(e=>[e,v.MP3]),...["mp4","m4v"].map(e=>[e,v.MP4]),...["ogg","oga"].map(e=>[e,v.OGG]),...["pdf","ps"].map(e=>[e,v.PDF]),...["png"].map(e=>[e,v.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,v.POWERPOINT]),...["rar"].map(e=>[e,v.RAR]),...["stp"].map(e=>[e,v.STP]),...["txt","rtf","md","mdown"].map(e=>[e,v.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,v.VIDEO]),...["wav"].map(e=>[e,v.WAV]),...["wma"].map(e=>[e,v.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,v.WORD]),...["xml","xsl","rdf"].map(e=>[e,v.XML]),...["yaml","yml","x-yaml"].map(e=>[e,v.YAML]),...["zip"].map(e=>[e,v.ZIP])]);var CS={[v.ABW]:"#91ABC6",[v.AUDIO]:"#1795E3",[v.AVI]:"#E63324",[v.CHM]:"#71C3EB",[v.CODE]:"#71C3EB",[v.CSV]:"#1F7345",[v.DITA]:"#71C3EB",[v.EPUB]:"#85B926",[v.EXCEL]:"#1F7345",[v.FLAC]:"#1795E3",[v.GIF]:"#59B031",[v.GZIP]:"#F8AB36",[v.HTML]:"#71C3EB",[v.IMAGE]:"#59B031",[v.JPEG]:"#59B031",[v.JSON]:"#71C3EB",[v.M4A]:"#1795E3",[v.MOV]:"#E63324",[v.MP3]:"#1795E3",[v.MP4]:"#E63324",[v.OGG]:"#1795E3",[v.PDF]:"#E44948",[v.PNG]:"#59B031",[v.POWERPOINT]:"#B54A2B",[v.RAR]:"#F8AB36",[v.STP]:"#3764B1",[v.TEXT]:"#3162AB",[v.UNKNOWN]:"#999999",[v.VIDEO]:"#E63324",[v.WAV]:"#1795E3",[v.WMA]:"#1795E3",[v.WORD]:"#3162AB",[v.XML]:"#71C3EB",[v.YAML]:"#71C3EB",[v.ZIP]:"#F8AB36"};var ur=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},te=class extends F{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=M}render(){let t=this.variant&&Object.values(De).includes(this.variant)?this.variant:De.fluid_topics,o=t!==De.material||!!this.value;return G`
376
+ `,En];var De;(function(e){e.fluid_topics="fluid-topics",e.file_format="file-format",e.material="material"})(De||(De={}));var ro;(function(e){e.ADD_TO_PBK="&#xe800;",e.ALERT="&#xe801;",e.ADD_ALERT="&#xe802;",e.BACK_TO_SEARCH="&#xe803;",e.ADD_BOOKMARK="&#xe804;",e.BOOKMARK="&#xe805;",e.BOOKS="&#xe806;",e.MENU="&#xe807;",e.DOWNLOAD="&#xe808;",e.EDIT="&#xe809;",e.FEEDBACK="&#xe80a;",e.HOME="&#xe80b;",e.MODIFY_PBK="&#xe80c;",e.SCHEDULED="&#xe80d;",e.SEARCH="&#xe80e;",e.EXPORT="&#xe80f;",e.TOC="&#xe810;",e.WRITE_UGC="&#xe811;",e.TRASH="&#xe812;",e.USER="&#xe813;",e.EXTLINK="&#xe814;",e.CALENDAR="&#xe815;",e.OFFLINE="&#xe816;",e.BOOK="&#xe817;",e.DOWNLOAD_PLAIN="&#xe818;",e.CHECK="&#xe819;",e.STAR_PLAIN="&#xe900;",e.TOPICS="&#xe901;",e.DISC="&#xe902;",e.CIRCLE="&#xe903;",e.SHARED="&#xe904;",e.SORT_UNSORTED="&#xe905;",e.SORT_UP="&#xe906;",e.SORT_DOWN="&#xe907;",e.WORKING="&#xe908;",e.CLOSE="&#xe909;",e.ZOOM_OUT="&#xe90a;",e.ZOOM_IN="&#xe90b;",e.ZOOM_REALSIZE="&#xe90c;",e.ZOOM_FULLSCREEN="&#xe90d;",e.ADMIN_RESTRICTED="&#xe90e;",e.ADMIN="&#xe90f;",e.ADMIN_KHUB="&#xe910;",e.ADMIN_THEME="&#xe911;",e.ADMIN_USERS="&#xe912;",e.WARNING="&#xe913;",e.CONTEXT="&#xe914;",e.SEARCH_HOME="&#xe915;",e.STEPS="&#xe916;",e.ICON_EXPAND="&#xe917;",e.ICON_COLLAPSE="&#xe918;",e.INFO="&#xe919;",e.MINUS_PLAIN="&#xe91a;",e.PLUS_PLAIN="&#xe91b;",e.FACET_HAS_DESCENDANT="&#xe91c;",e.TRIANGLE_BOTTOM="&#xe91d;",e.TRIANGLE_LEFT="&#xe91e;",e.TRIANGLE_RIGHT="&#xe91f;",e.TRIANGLE_TOP="&#xe920;",e.THIN_ARROW="&#xe921;",e.SIGN_IN="&#xe922;",e.LOGOUT="&#xe923;",e.TRANSLATE="&#xe924;",e.CLOSE_PLAIN="&#xe925;",e.CHECK_PLAIN="&#xe926;",e.ARTICLE="&#xe927;",e.COLUMNS="&#xe928;",e.ANALYTICS="&#xe929;",e.COLLECTIONS="&#xe92a;",e.ARROW_DOWN="&#xe92b;",e.ARROW_LEFT="&#xe92c;",e.ARROW_RIGHT="&#xe92d;",e.ARROW_UP="&#xe92e;",e.SEARCH_IN_PUBLICATION="&#xe92f;",e.COPY_TO_CLIPBOARD="&#xe930;",e.SHARED_PBK="&#xe931;",e.ATTACHMENTS="&#xe932;",e.STRIPE_ARROW_LEFT="&#xe933;",e.STRIPE_ARROW_RIGHT="&#xe934;",e.FILTERS="&#xe935;",e.DOT="&#xe936;",e.MINUS="&#xe937;",e.PLUS="&#xe938;",e.MAILS_AND_NOTIFICATIONS="&#xe939;",e.SAVE="&#xe93a;",e.LOCKER="&#xe93b;",e.ADMIN_INTEGRATION="&#xe93c;",e.SYNC="&#xe93d;",e.TAG="&#xe93e;",e.BOOK_PLAIN="&#xe93f;",e.UPLOAD="&#xe940;",e.ONLINE="&#xe941;",e.TAG_PLAIN="&#xe942;",e.ACCOUNT_SETTINGS="&#xe943;",e.PRINT="&#xe944;",e.DEFAULT_ROLES="&#xe945;",e.SHORTCUT_MENU="&#xe946;",e.RELATIVES_PLAIN="&#xe947;",e.RELATIVES="&#xe948;",e.PAUSE="&#xe949;",e.PLAY="&#xe94a;",e.ADMIN_PORTAL="&#xe94b;",e.STAR="&#xe94c;",e.THUMBS_DOWN="&#xe94d;",e.THUMBS_DOWN_PLAIN="&#xe94e;",e.THUMBS_UP="&#xe94f;",e.THUMBS_UP_PLAIN="&#xe950;",e.FEEDBACK_PLAIN="&#xe951;",e.RATE_PLAIN="&#xe952;",e.RATE="&#xe953;",e.OFFLINE_SETTINGS="&#xe954;",e.MY_COLLECTIONS="&#xe955;",e.THIN_ARROW_LEFT="&#xe956;",e.THIN_ARROW_RIGHT="&#xe957;",e.RESET="&#xe958;",e.MY_LIBRARY="&#xe959;",e.UNSTRUCTURED_DOC="&#xe95a;",e.CONTEXTUAL="&#xe95b;",e.THIN_ARROW_UP="&#xe95c;",e.ARROW_RIGHT_TO_LINE="&#xe95d;",e.DESKTOP="&#xe95e;",e.TABLET_LANDSCAPE="&#xe95f;",e.TABLET_PORTRAIT="&#xe960;",e.MOBILE_LANDSCAPE="&#xe961;",e.MOBILE_PORTRAIT="&#xe962;",e.DIAGRAM_SUNBURST="&#xe963;",e.DIAGRAM_SANKEY="&#xe964;",e.COMMENT_QUESTION="&#xe965;",e.COMMENT_QUESTION_PLAIN="&#xe966;",e.MESSAGE_BOT="&#xe967;",e.CHART_SIMPLE="&#xe968;",e.BARS_PROGRESS="&#xe969;",e.BOOK_OPEN_GEAR="&#xe96a;",e.BOOK_OPEN_GEAR_SLASH="&#xe96b;",e.LINE_CHART="&#xe96c;",e.STACKED_CHART="&#xe96d;",e.CHART_BAR_STACKED="&#xe96e;",e.CHART_BAR_GROUPED="&#xe96f;",e.EYE_SLASH="&#xe970;",e.X_MARK="&#xe971;",e.EXPAND_WIDE="&#xe972;",e.PIP="&#xe973;",e.PIP_WIDE="&#xe974;",e.LIFE_RING="&#xe975;",e.GLOBE="&#xe976;",e.PIGGY_BANK="&#xe977;",e.EXTLINK_LIGHT="&#xe978;",e.CLONE="&#xe979;",e.CLONE_LINK_SIMPLE="&#xe97a;",e.CHART_BAR_NORMALIZED="&#xe97b;",e.CONSUMER="&#xe97c;",e.OCTAGON_XMARK="&#xe97d;",e.HOURGLASS_HALF="&#xe97e;",e.CLOCK="&#xe97f;",e.CLOCK_THREE="&#xe97f;",e.CALENDAR_DAY="&#xe980;",e.COMPUTER_MOUSE_MAGNIFYING_GLASS="&#xe981;",e.WAND_MAGIC_SPARKLES="&#xe982;",e.PAPER_PLANE="&#xe983;",e.CIRCLE_STOP="&#xe984;",e.ARROW_ROTATE_RIGHT="&#xe985;",e.ARROWS_ROTATE="&#xe986;",e.ALIGN_RIGHT="&#xe987;",e.FORMAT_CLEAR="&#xe988;",e.ALIGN_CENTER="&#xe989;",e.ALIGN_LEFT="&#xe98a;",e.PALETTE="&#xe98b;",e.BOLD="&#xe98c;",e.ITALIC="&#xe98d;",e.UNDERLINE="&#xe98e;",e.STRIKETHROUGH="&#xe98f;",e.LINK_SIMPLE_SLASH="&#xe990;",e.LINK_SIMPLE="&#xe991;",e.ROUTE="&#xe992;",e.CIRCLE_USER_SLASH="&#xe993;",e.CIRCLE_USER_CHECK="&#xe994;",e.LIST_MAGNIFYING_GLASS="&#xe995;",e.MEDAL="&#xe996;",e.THUMBS_UP_THUMBS_DOWN_SOLID="&#xe997;",e.ARROW_TURN_DOWN_RIGHT="&#xe998;",e.FLASK="&#xe999;",e.LOCK_KEYHOLE_OPEN_SOLID="&#xe99a;",e.HOURGLASS_END="&#xe99b;",e.CIRCLE_QUESTION="&#xe99c;",e.GRIP_LINES_SOLID="&#xe99d;",e.TRANSLATE_SPARKLE_SOLID="&#xe99e;",e.CODE="&#xe99f;",e.ARROW_UP_RIGHT_AND_ARROW_DOWN_LEFT_FROM_CENTER="&#xe9a0;",e.PAPER_PLANE_SLASH="&#xe9a1;",e.COMPRESS="&#xe9a2;",e.EXPAND="&#xe9a3;",e.ARROW_ROTATE_LEFT="&#xe9a4;",e.MOBILE_SMALL="&#xe9a5;",e.SPARKLES="&#xe9a6;",e.HAND_SOLID="&#xe9a7;",e.CLOCK_SOLID="&#xe9a8;",e.CONTEXT_MENU_CURSOR="&#xe9a9;",e.LANGUAGE_SLASH="&#xe9aa;",e.MAGNIFYING_GLASS_FLOPPY_DISK="&#xe9ab;",e.CABINET_FILING_FLOPPY_DISK="&#xe9ac;",e.BOOKMARK_SLASH="&#xe9ad;",e.CIRCLE_PAUSE="&#xe9ae;",e.CIRCLE_PLAY="&#xe9af;",e.CIRCLE_STOP_PLAIN="&#xe9b0;",e.CIRCLE_ARROW_DOWN="&#xe9b1;",e.SHARE_NODES="&#xe9b2;",e.BELL="&#xe9b3;",e.BELL_SLASH="&#xe9b4;",e.FILE="&#xe9b5;",e.HAND="&#xe9b6;",e.SQUARE_INFO_SOLID="&#xe9b7;",e.FILE_CODE="&#xe9b8;",e.BOX_CODE="&#xe9b9;",e.TOPICS_SOLID="&#xe9ba;",e.PHOTO_FILM="&#xe9bb;",e.HYPHEN_SOLID="&#xe9bc;",e.CROSSHAIRS="&#xe9bd;",e.PERSON_CHALKBOARD="&#xe9be;",e.CIRCLE_ARROW_DOWN_SLASH="&#xe9bf;",e.BOOK_OPEN_COVER="&#xe9c0;",e.LIGHTBULB="&#xe9c1;",e.MESSAGE_BOT_AGENTIC_SOLID="&#xe9c2;",e.CHART_LINE_USER="&#xe9c3;",e.SERVER_CIRCLE_ARROW_DOWN="&#xe9c4;",e.EYE="&#xf06e;",e.SHARE="&#xe80f1;"})(ro||(ro={}));var v;(function(e){e.UNKNOWN="&#xe90a;",e.ABW="&#xe900;",e.AUDIO="&#xe901;",e.AVI="&#xe902;",e.CHM="&#xe904;",e.CODE="&#xe905;",e.CSV="&#xe903;",e.DITA="&#xe906;",e.EPUB="&#xe907;",e.EXCEL="&#xe908;",e.FLAC="&#xe909;",e.GIF="&#xe90b;",e.GZIP="&#xe90c;",e.HTML="&#xe90d;",e.IMAGE="&#xe90e;",e.JPEG="&#xe90f;",e.JSON="&#xe910;",e.M4A="&#xe911;",e.MOV="&#xe912;",e.MP3="&#xe913;",e.MP4="&#xe914;",e.OGG="&#xe915;",e.PDF="&#xe916;",e.PNG="&#xe917;",e.POWERPOINT="&#xe918;",e.RAR="&#xe91a;",e.STP="&#xe91b;",e.TEXT="&#xe91c;",e.VIDEO="&#xe91e;",e.WAV="&#xe91f;",e.WMA="&#xe920;",e.WORD="&#xe921;",e.XML="&#xe922;",e.YAML="&#xe919;",e.ZIP="&#xe923;"})(v||(v={}));var TS=new Map([...["abw"].map(e=>[e,v.ABW]),...["3gp","act","aiff","aac","amr","au","awb","dct","dss","dvf","gsm","iklax","ivs","mmf","mpc","msv","opus","ra","rm","raw","sln","tta","vox","wv"].map(e=>[e,v.AUDIO]),...["avi"].map(e=>[e,v.AVI]),...["chm","xhs"].map(e=>[e,v.CHM]),...["java","py","php","php3","php4","php5","js","javascript","rb","rbw","c","cpp","cxx","h","hh","hpp","hxx","sh","bash","zsh","tcsh","ksh","csh","vb","scala","pl","prl","perl","groovy","ceylon","aspx","jsp","scpt","applescript","bas","bat","lua","jsp","mk","cmake","css","sass","less","m","mm","xcodeproj"].map(e=>[e,v.CODE]),...["csv"].map(e=>[e,v.CSV]),...["dita","ditamap","ditaval"].map(e=>[e,v.DITA]),...["epub"].map(e=>[e,v.EPUB]),...["xls","xlt","xlm","xlsx","xlsm","xltx","xltm","xlsb","xla","xlam","xll","xlw"].map(e=>[e,v.EXCEL]),...["flac"].map(e=>[e,v.FLAC]),...["gif"].map(e=>[e,v.GIF]),...["gzip","x-gzip","giz","gz","tgz"].map(e=>[e,v.GZIP]),...["html","htm","xhtml"].map(e=>[e,v.HTML]),...["ai","vml","xps","img","cpt","psd","psp","xcf","svg","svg+xml","bmp","bpg","ppm","pgm","pbm","pnm","rif","tif","tiff","webp","wmf","ico"].map(e=>[e,v.IMAGE]),...["jpeg","jpg","jpe"].map(e=>[e,v.JPEG]),...["json"].map(e=>[e,v.JSON]),...["m4a","m4p"].map(e=>[e,v.M4A]),...["mov","qt"].map(e=>[e,v.MOV]),...["mp3"].map(e=>[e,v.MP3]),...["mp4","m4v"].map(e=>[e,v.MP4]),...["ogg","oga"].map(e=>[e,v.OGG]),...["pdf","ps"].map(e=>[e,v.PDF]),...["png"].map(e=>[e,v.PNG]),...["ppt","pot","pps","pptx","pptm","potx","potm","ppam","ppsx","ppsm","sldx","sldm"].map(e=>[e,v.POWERPOINT]),...["rar"].map(e=>[e,v.RAR]),...["stp"].map(e=>[e,v.STP]),...["txt","rtf","md","mdown"].map(e=>[e,v.TEXT]),...["webm","mkv","flv","vob","ogv","ogg","drc","mng","wmv","yuv","rm","rmvb","asf","mpg","mp2","mpeg","mpe","mpv","m2v","svi","3gp","3g2","mxf","roq","nsv"].map(e=>[e,v.VIDEO]),...["wav"].map(e=>[e,v.WAV]),...["wma"].map(e=>[e,v.WMA]),...["doc","dot","docx","docm","dotx","dotm","docb"].map(e=>[e,v.WORD]),...["xml","xsl","rdf"].map(e=>[e,v.XML]),...["yaml","yml","x-yaml"].map(e=>[e,v.YAML]),...["zip"].map(e=>[e,v.ZIP])]);var LS={[v.ABW]:"#91ABC6",[v.AUDIO]:"#1795E3",[v.AVI]:"#E63324",[v.CHM]:"#71C3EB",[v.CODE]:"#71C3EB",[v.CSV]:"#1F7345",[v.DITA]:"#71C3EB",[v.EPUB]:"#85B926",[v.EXCEL]:"#1F7345",[v.FLAC]:"#1795E3",[v.GIF]:"#59B031",[v.GZIP]:"#F8AB36",[v.HTML]:"#71C3EB",[v.IMAGE]:"#59B031",[v.JPEG]:"#59B031",[v.JSON]:"#71C3EB",[v.M4A]:"#1795E3",[v.MOV]:"#E63324",[v.MP3]:"#1795E3",[v.MP4]:"#E63324",[v.OGG]:"#1795E3",[v.PDF]:"#E44948",[v.PNG]:"#59B031",[v.POWERPOINT]:"#B54A2B",[v.RAR]:"#F8AB36",[v.STP]:"#3764B1",[v.TEXT]:"#3162AB",[v.UNKNOWN]:"#999999",[v.VIDEO]:"#E63324",[v.WAV]:"#1795E3",[v.WMA]:"#1795E3",[v.WORD]:"#3162AB",[v.XML]:"#71C3EB",[v.YAML]:"#71C3EB",[v.ZIP]:"#F8AB36"};var ur=function(e,t,o,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(e,t,o,n);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(a=(i<3?s(a):i>3?s(t,o,a):s(t,o))||a);return i>3&&a&&Object.defineProperty(t,o,a),a},te=class extends F{constructor(){super(...arguments),this.ariaHidden="true",this.resolvedIcon=M}render(){let t=this.variant&&Object.values(De).includes(this.variant)?this.variant:De.fluid_topics,o=t!==De.material||!!this.value;return G`
377
377
  <i class="ft-icon ft-icon--${t} ft-no-text-select" part="icon icon-${t}">
378
378
  ${Co(this.resolvedIcon)}
379
379
  <slot ?hidden=${o}></slot>
380
380
  </i>
381
- `}getTextContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(t){super.update(t),["value","variant"].some(o=>t.has(o))&&this.resolveIcon()}resolveIcon(){var t,o;let n=this.value||this.getTextContent();switch(this.variant){case De.file_format:this.resolvedIcon=(t=v[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case De.material:this.resolvedIcon=this.value||M;break;default:this.resolvedIcon=(o=ro[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};te.elementDefinitions={};te.styles=nl;ur([_()],te.prototype,"variant",void 0);ur([_()],te.prototype,"value",void 0);ur([_({reflect:!0,attribute:"aria-hidden"})],te.prototype,"ariaHidden",void 0);ur([B()],te.prototype,"resolvedIcon",void 0);ur([Ae("slot")],te.prototype,"slottedContent",void 0);var il={"ft-icon":te};ge(il);var pt={horizontalSpacing:r.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),verticalSpacing:r.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),colorOutline:r.external(Z.colorOutline,"Design system"),backgroundColor:r.create("--ft-accordion-item-background-color","","COLOR","#FFFFFF")},al=P`
381
+ `}getTextContent(){var t,o;return(o=(t=this.slottedContent)===null||t===void 0?void 0:t.assignedNodes().map(n=>n.textContent).join("").trim())!==null&&o!==void 0?o:""}update(t){super.update(t),["value","variant"].some(o=>t.has(o))&&this.resolveIcon()}resolveIcon(){var t,o;let n=this.value||this.getTextContent();switch(this.variant){case De.file_format:this.resolvedIcon=(t=v[n.replace("-","_").toUpperCase()])!==null&&t!==void 0?t:n;break;case De.material:this.resolvedIcon=this.value||M;break;default:this.resolvedIcon=(o=ro[n.replace("-","_").toUpperCase()])!==null&&o!==void 0?o:n;break}}firstUpdated(t){super.firstUpdated(t),setTimeout(()=>this.resolveIcon())}};te.elementDefinitions={};te.styles=nl;ur([R()],te.prototype,"variant",void 0);ur([R()],te.prototype,"value",void 0);ur([R({reflect:!0,attribute:"aria-hidden"})],te.prototype,"ariaHidden",void 0);ur([B()],te.prototype,"resolvedIcon",void 0);ur([Ae("slot")],te.prototype,"slottedContent",void 0);var il={"ft-icon":te};ge(il);var pt={horizontalSpacing:r.create("--ft-accordion-toggle-horizontal-spacing","","SIZE","16px"),verticalSpacing:r.create("--ft-accordion-toggle-vertical-spacing","","SIZE","16px"),colorOutline:r.external(Z.colorOutline,"Design system"),backgroundColor:r.create("--ft-accordion-item-background-color","","COLOR","#FFFFFF")},al=P`
382
382
  .ft-accordion-item {
383
383
  display: flex;
384
384
  flex-direction: column;
@@ -454,7 +454,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ftds-con
454
454
  </div>
455
455
  <div class="ft-accordion-item--separator" part="separator"></div>
456
456
  </div>
457
- `}update(t){super.update(t),t.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(t){(t.key==="Enter"||t.key===" ")&&(t.preventDefault(),this.active=!this.active)}};me.elementDefinitions={"ft-ripple":$,"ft-typography":Oe,"ft-icon":te};me.styles=al;oo([_()],me.prototype,"icon",void 0);oo([_()],me.prototype,"iconVariant",void 0);oo([_()],me.prototype,"label",void 0);oo([_({type:Boolean,reflect:!0})],me.prototype,"active",void 0);var sl={"ft-accordion":ke,"ft-accordion-item":me};ge(sl);})();
457
+ `}update(t){super.update(t),t.has("active")&&this.active&&this.dispatchEvent(new Event("activated",{composed:!0,bubbles:!0}))}onToggleKeyDown(t){(t.key==="Enter"||t.key===" ")&&(t.preventDefault(),this.active=!this.active)}};me.elementDefinitions={"ft-ripple":$,"ft-typography":Oe,"ft-icon":te};me.styles=al;oo([R()],me.prototype,"icon",void 0);oo([R()],me.prototype,"iconVariant",void 0);oo([R()],me.prototype,"label",void 0);oo([R({type:Boolean,reflect:!0})],me.prototype,"active",void 0);var sl={"ft-accordion":Ie,"ft-accordion-item":me};ge(sl);})();
458
458
  /*! Bundled license information:
459
459
 
460
460
  @webcomponents/scoped-custom-element-registry/src/scoped-custom-element-registry.js: